Predicting survival from colorectal cancer histology slides using deep learningA retrospective multicenter study

Jakob Nikolas Kather, Johannes Krisam, Pornpimol Charoentong, Tom Luedde, Esther Herpel, Cleo‐Aron Weis, Timo Gaiser, Alexander Marx, Nektarios A. Valous, Dyke Ferber, Lina Jansen, Constantino Carlos Reyes‐Aldasoro, Inka Zörnig, Dirk Jäger, Hermann Brenner, Jenny Chang‐Claude, Michael Hoffmeister, Niels HalamaView original
OverviewBalancedmaya voice
A glass slide under a microscope shows a thin slice of tissue stained pink and purple using hematoxylin and eosin, the same two dyes that pathologists have used for over a century. A trained eye scans the slide, makes a judgment, and writes a report. After that, the slide goes into an archive drawer. For every colorectal cancer patient who has ever been diagnosed, one of these slides exists. Kather and colleagues decided to read them computationally, at scale, in a way no human eye could. The problem they were solving is one of clinical uncertainty. Colorectal cancer, or CRC, is staged using the Union for International Cancer Control Tumor Node Metastasis system — a classification based on tumor size, lymph node involvement, and whether the cancer has spread. That system is useful, but it leaves enormous room for error. Two patients at the same stage can have completely different outcomes. Clinicians have known for years that something important is being missed. What Kather and colleagues argued is that the missing information might already be sitting in the archive, encoded in the tissue architecture of those routine slides, waiting to be extracted by the right tool. To build that tool, the team started with raw material: eighty-six CRC tissue slides, hand-delineated by researchers who labeled individual tissue regions by type. From those slides, they extracted more than one hundred thousand image patches, each assigned to one of nine tissue classes — cancer epithelium, cancer-associated stroma, lymphocytes, smooth muscle, adipose tissue, normal colon mucosa, mucus, debris, and background. That is a painstaking dataset to assemble. But it provided something valuable: a large, carefully labeled training set for a convolutional neural network. They evaluated five network architectures, all pretrained on ImageNet — the massive database of everyday photographs used to teach networks basic visual features. Transfer learning means you start with a network that already knows what a curve looks like and what a texture looks like, then you fine-tune it on your specific problem. Of the five candidates, VGG-Nineteen came out on top, achieving ninety-eight point seven percent accuracy on the internal test split. When applied to a completely independent set of seven thousand one hundred eighty images from twenty-five patients — images the network had never seen — it maintained above ninety-four percent nine-class accuracy. That is a strong number for a problem with nine categories, some of which look genuinely similar under a microscope. The team didn't just trust the accuracy number. They used two visualization techniques to confirm the network was learning biology, not artifacts. The first was t-SNE — t-distributed stochastic neighbor embedding — which plots high-dimensional activation patterns in two dimensions to show how the network organizes what it sees. Dense stroma clustered separately from loose stroma. Well-differentiated tumor patches clustered apart from poorly differentiated ones. The network had learned a visual vocabulary that matched biological reality. The second technique, DeepDream, made the network's internal logic visible to human eyes: fibrous textures for stroma and muscle, regular glandular rings for normal mucosa, small round aggregates for lymphocytes, and distinct appearances for dense versus loose stroma. These weren't abstractions — they were recognizable tissue features. Now came the central question. The network could classify tissue. But could that classification predict whether a patient lived or died? To find out, Kather and colleagues applied the trained VGG-Nineteen to eight hundred sixty-two image regions drawn from slides of five hundred stage I through stage IV CRC patients in The Cancer Genome Atlas, or TCGA, a large international multicenter collection. For each image region, they computed the mean activation of each of the nine output neurons — essentially, how confident the network was about each tissue class being present. When multiple images were available for a patient, they used the maximum activation per class across images. Then they ran Cox proportional hazards models — a statistical approach that estimates survival risk while controlling for other factors — to see which tissue classes predicted shorter overall survival. The results pointed strongly toward the stroma. Classes with hazard ratios greater than one — meaning higher activation was associated with worse outcomes — included cancer-associated stroma, smooth muscle, debris, and lymphocytes. The team combined these classes into a single composite measure, weighting each by its univariable hazard ratio. They called it the deep stroma score. In the TCGA cohort, after adjusting for UICC stage, sex, and age, the deep stroma score was an independent prognostic factor for overall survival, with a hazard ratio of one point ninety-nine — a confidence interval of one point twenty-seven to three point twelve, and a p-value of zero point zero zero two eight. Patients with a high deep stroma score had roughly double the risk of dying during the study period compared to patients with a low score, even after accounting for their tumor stage. What makes this striking is the comparison. The same TCGA cohort contained two alternative stromal measures: a pathologist's manual estimate of stromal percentage and a gene expression signature of cancer-associated fibroblasts, or CAFs — cells in the tumor microenvironment known to suppress immune responses and promote invasion. The CAF gene signature was independently prognostic only in stage II and stage III patients. The pathologist's annotation wasn't prognostic at any stage. The convolutional neural network-derived score worked across the full stage I through IV population. The network was capturing something that neither human estimation nor molecular profiling could consistently detect when looking at all patients together. The deep stroma score's correlation with the CAF gene signature was modest — a Pearson correlation coefficient of zero point twenty-six — which suggests the convolutional neural network isn't simply a noisier version of a gene expression test. It's picking up spatial and textural features of tissue architecture that bulk molecular measures can't see. The visualization results supported this: the network's stroma and lymphocyte activations aligned with known cancer molecular subtypes — stroma activation was significantly elevated in CMS4 tumors, the desmoplastic subtype, and lymphocyte activation was elevated in CMS1 tumors, the immune-active subtype. A finding in one dataset is a hypothesis. Kather and colleagues tested theirs in a completely independent cohort consisting of four hundred nine stage I through IV CRC patients from the DACHS study — Darmkrebs: Chancen der Verhütung durch Screening — recruited between two thousand three and two thousand seven across multiple institutions in Germany. The DACHS slides were formalin-fixed and paraffin-embedded, a different preparation from the TCGA material. Only one slide per patient was available. Different hospitals, different era, and different processing. The authors applied the same cutoff values derived from TCGA, without adjustment. The score held. For overall survival, the adjusted hazard ratio was one point sixty-three, with a confidence interval of one point fourteen to two point thirty-three and a p-value of zero point zero zero eight. For CRC-specific survival, the hazard ratio was two point twenty-nine, with a p-value of zero point zero zero four. For relapse-free survival, it was one point ninety-two, with a p-value of zero point zero zero four. Three independent survival endpoints. Three significant results. All from a score calculated using weights and cutoffs derived in a different country, from different tissue preparation, years earlier. Kather and colleagues note explicitly that complex biomarkers often fail when applied to external cohorts, partly because of variability in tissue samples. This one didn't fail. That preservation of effect across institutions is what separates a promising research finding from a candidate biomarker. What remains is the prospective step — the study that follows new patients forward in time rather than looking backward at records where outcomes are already known. The authors are clear about this: retrospective validation, even across two large multicenter cohorts, is not sufficient for clinical implementation. Prospective validation is required before this score enters clinical workflows. But the practical case is already visible. Hematoxylin and eosin slides are made for virtually every CRC patient as a matter of routine. No additional tissue, no additional test. Running the algorithm costs time measured in seconds. The team released all data and source code publicly. The infrastructure for adoption, should prospective validation succeed, is already in place. The deeper implication of this work sits underneath the specific score. For decades, pathologists have looked at these slides and extracted what human perception can reliably extract — staging information, tumor grade, and qualitative impressions. What Kather and colleagues showed is that the same images contain a second layer of prognostic signal, one that is invisible to the eye but legible to a neural network. The information was always there. We just didn't have the tool to read it. This lecture was created by ennepō. Go to https://ennepo.ai to Discover, Create and Follow the latest research in your field. Read when you can. Listen when you want to.

A glass slide under a microscope shows a thin slice of tissue stained pink and purple using hematoxylin and eosin, the same two dyes that pathologists have used for over a century. A trained eye scans the slide, makes a judgment, and writes a report. After that, the slide goes into an archive drawer. For every colorectal cancer patient who has ever been diagnosed, one of these slides exists. Kather and colleagues decided to read them computationally, at scale, in a way no human eye could. The problem they were solving is one of clinical uncertainty. Colorectal cancer, or CRC, is staged using the Union for International Cancer Control Tumor Node Metastasis system — a classification based on tumor size, lymph node involvement, and whether the cancer has spread. That system is useful, but it leaves enormous room for error. Two patients at the same stage can have completely different outcomes. Clinicians have known for years that something important is being missed. What Kather and colleagues argued is that the missing information might already be sitting in the archive, encoded in the tissue architecture of those routine slides, waiting to be extracted by the right tool.

To build that tool, the team started with raw material: eighty-six CRC tissue slides, hand-delineated by researchers who labeled individual tissue regions by type. From those slides, they extracted more than one hundred thousand image patches, each assigned to one of nine tissue classes — cancer epithelium, cancer-associated stroma, lymphocytes, smooth muscle, adipose tissue, normal colon mucosa, mucus, debris, and background. That is a painstaking dataset to assemble. But it provided something valuable: a large, carefully labeled training set for a convolutional neural network. They evaluated five network architectures, all pretrained on ImageNet — the massive database of everyday photographs used to teach networks basic visual features. Transfer learning means you start with a network that already knows what a curve looks like and what a texture looks like, then you fine-tune it on your specific problem. Of the five candidates, VGG-Nineteen came out on top, achieving ninety-eight point seven percent accuracy on the internal test split. When applied to a completely independent set of seven thousand one hundred eighty images from twenty-five patients — images the network had never seen — it maintained above ninety-four percent nine-class accuracy. That is a strong number for a problem with nine categories, some of which look genuinely similar under a microscope.

The team didn't just trust the accuracy number. They used two visualization techniques to confirm the network was learning biology, not artifacts. The first was t-SNE — t-distributed stochastic neighbor embedding — which plots high-dimensional activation patterns in two dimensions to show how the network organizes what it sees. Dense stroma clustered separately from loose stroma. Well-differentiated tumor patches clustered apart from poorly differentiated ones. The network had learned a visual vocabulary that matched biological reality. The second technique, DeepDream, made the network's internal logic visible to human eyes: fibrous textures for stroma and muscle, regular glandular rings for normal mucosa, small round aggregates for lymphocytes, and distinct appearances for dense versus loose stroma. These weren't abstractions — they were recognizable tissue features. Now came the central question. The network could classify tissue. But could that classification predict whether a patient lived or died?

To find out, Kather and colleagues applied the trained VGG-Nineteen to eight hundred sixty-two image regions drawn from slides of five hundred stage I through stage IV CRC patients in The Cancer Genome Atlas, or TCGA, a large international multicenter collection. For each image region, they computed the mean activation of each of the nine output neurons — essentially, how confident the network was about each tissue class being present. When multiple images were available for a patient, they used the maximum activation per class across images. Then they ran Cox proportional hazards models — a statistical approach that estimates survival risk while controlling for other factors — to see which tissue classes predicted shorter overall survival. The results pointed strongly toward the stroma. Classes with hazard ratios greater than one — meaning higher activation was associated with worse outcomes — included cancer-associated stroma, smooth muscle, debris, and lymphocytes. The team combined these classes into a single composite measure, weighting each by its univariable hazard ratio. They called it the deep stroma score.

In the TCGA cohort, after adjusting for UICC stage, sex, and age, the deep stroma score was an independent prognostic factor for overall survival, with a hazard ratio of one point ninety-nine — a confidence interval of one point twenty-seven to three point twelve, and a p-value of zero point zero zero two eight. Patients with a high deep stroma score had roughly double the risk of dying during the study period compared to patients with a low score, even after accounting for their tumor stage. What makes this striking is the comparison. The same TCGA cohort contained two alternative stromal measures: a pathologist's manual estimate of stromal percentage and a gene expression signature of cancer-associated fibroblasts, or CAFs — cells in the tumor microenvironment known to suppress immune responses and promote invasion. The CAF gene signature was independently prognostic only in stage II and stage III patients. The pathologist's annotation wasn't prognostic at any stage. The convolutional neural network-derived score worked across the full stage I through IV population. The network was capturing something that neither human estimation nor molecular profiling could consistently detect when looking at all patients together.

The deep stroma score's correlation with the CAF gene signature was modest — a Pearson correlation coefficient of zero point twenty-six — which suggests the convolutional neural network isn't simply a noisier version of a gene expression test. It's picking up spatial and textural features of tissue architecture that bulk molecular measures can't see. The visualization results supported this: the network's stroma and lymphocyte activations aligned with known cancer molecular subtypes — stroma activation was significantly elevated in CMS4 tumors, the desmoplastic subtype, and lymphocyte activation was elevated in CMS1 tumors, the immune-active subtype. A finding in one dataset is a hypothesis. Kather and colleagues tested theirs in a completely independent cohort consisting of four hundred nine stage I through IV CRC patients from the DACHS study — Darmkrebs: Chancen der Verhütung durch Screening — recruited between two thousand three and two thousand seven across multiple institutions in Germany. The DACHS slides were formalin-fixed and paraffin-embedded, a different preparation from the TCGA material. Only one slide per patient was available. Different hospitals, different era, and different processing. The authors applied the same cutoff values derived from TCGA, without adjustment.

The score held. For overall survival, the adjusted hazard ratio was one point sixty-three, with a confidence interval of one point fourteen to two point thirty-three and a p-value of zero point zero zero eight. For CRC-specific survival, the hazard ratio was two point twenty-nine, with a p-value of zero point zero zero four. For relapse-free survival, it was one point ninety-two, with a p-value of zero point zero zero four. Three independent survival endpoints. Three significant results. All from a score calculated using weights and cutoffs derived in a different country, from different tissue preparation, years earlier. Kather and colleagues note explicitly that complex biomarkers often fail when applied to external cohorts, partly because of variability in tissue samples. This one didn't fail. That preservation of effect across institutions is what separates a promising research finding from a candidate biomarker. What remains is the prospective step — the study that follows new patients forward in time rather than looking backward at records where outcomes are already known. The authors are clear about this: retrospective validation, even across two large multicenter cohorts, is not sufficient for clinical implementation. Prospective validation is required before this score enters clinical workflows.

But the practical case is already visible. Hematoxylin and eosin slides are made for virtually every CRC patient as a matter of routine. No additional tissue, no additional test. Running the algorithm costs time measured in seconds. The team released all data and source code publicly. The infrastructure for adoption, should prospective validation succeed, is already in place. The deeper implication of this work sits underneath the specific score. For decades, pathologists have looked at these slides and extracted what human perception can reliably extract — staging information, tumor grade, and qualitative impressions. What Kather and colleagues showed is that the same images contain a second layer of prognostic signal, one that is invisible to the eye but legible to a neural network. The information was always there. We just didn't have the tool to read it. This lecture was created by ennepō. Go to https://ennepo.ai to Discover, Create and Follow the latest research in your field. Read when you can. Listen when you want to.

More in Computer Science