UCL: AI tool helps predict treatment success in rectal cancer patients
Artificial intelligence (AI) can predict how well patients with rectal cancer will respond to treatment by analysing standard tissue samples taken during diagnosis, finds a new study from researchers at UCL and UCLH.In most cancers, the immune landscape surrounding a tumour plays a major role in determining how cancer progresses and how patients respond to therapy, yet the complex interactions between immune cells, tumour cells, and treatment often remain poorly understood.
The new study, published in eBioMedicine, examined routine pathology images using AI to measure the types and abundance of key immune cells surrounding rectal cancer tumours, in order to predict how this ‘tumour microenvironment’ influences survival and disease recurrence in patients.
These images, created from tumour tissue biopsies to make a diagnosis, are manually examined by a pathologist under a microscope. But the researchers wanted to see if AI could be trained to spot key immune cell ‘signatures’ in the images and link them to patient outcomes in a fraction of the time.
Dr Charles-Antoine Collins-Fekete, a senior author of the study from UCL Medical Physics & Biomedical Engineering, said: “Pathology slides are already part of routine care, so they’re an abundant source of data. We predicted that we could extract valuable information about a patient’s tumour from these slides using AI, which has become very good at analysing medical images in recent years, and link this to patient outcomes.
“We found that AI can pick up important immune signals from these slides. Importantly, it can do this in minutes, rather than days as would be the case for slower and more expensive methods such as whole-genome sequencing or spatial transcriptomics. This could make it practical and affordable to offer more personalised diagnosis and treatment, which is likely to improve patient outcomes.”
The team studied samples from three groups of patients, including participants in the ARISTOTLE clinical trial. They found that patients with more immune cells called lymphocytes – which fight infection and diseases, including cancer – in and around their tumours tended to live longer and were less likely to see their cancer return.
However, patients with more macrophages – another type of immune cell whose usual role is to clean up harmful invaders such as viruses, but which can inadvertently help tumours to grow – had worse outcomes.
These immune features are not currently used in standard clinical decision-making for rectal cancer, but they could provide a new way to personalise chemoradiotherapy treatment and identify which patients are at higher risk of recurrence.
The AI system was trained using millions of pathology images and then tested on 900 patient samples. It was able to measure immune cell levels before and after treatment. Patients who showed an increase in tumour-infiltrating lymphocytes, indicating a more active anti-tumour immune response, tended to have better outcomes (chemoradiotherapy can stimulate the immune system by causing tumour cells to die and release signals that attract and activate immune cells). In contrast, patients whose tumours remained immunologically ‘cold’ after therapy were more likely to experience earlier recurrence.
The study also looked at how genetic changes in the cancer affected immune response. For example, patients with a normal KRAS gene and high lymphocyte levels had better survival rates than those with KRAS mutations and fewer lymphocytes. Similarly, high macrophage levels were especially harmful in patients with TP53 gene mutations.
Dr Zhuoyan Shen, the first author of the study from UCL Medical Physics & Biomedical Engineering, said: “While experienced pathologists can recognise some immune features of the tumour microenvironment, this information is not routinely used to inform treatment. The AI approach identifies these hidden immune ‘signatures’ directly, offering a level of biological insight normally only attainable through methods like whole-genome sequencing, which is expensive, technically demanding, and not currently used in the clinic except for late-stage rectal cancer patients.
“By combining immune cell data with genetic information, we can get a clearer picture of how each patient’s cancer will behave before and after treatment. This could help divide patients into high and low risk groups when deciding on the best treatment, for example using a more aggressive treatment to help slow disease in high-risk patients, while reducing exposure to chemoradiotherapy in low-risk patients.”
The researchers also found that tumours with a high rate of cell division – known as high mitotic activity – tended to suppress the immune system and lead to worse outcomes. This suggests that fast-growing cancers may be harder for the body to fight off.
To make their findings more accessible to doctors, the team has created a free online tool, Octopath, where clinicians can upload pathology slides and receive automated immune analysis.
However, the researchers caution that more work is needed to confirm their results in larger and more diverse patient groups, which they are planning to do in a future clinical study. They also hope to explore more detailed immune cell types and use advanced techniques to better understand how cancer interacts with the immune system.
Professor Maria Hawkins, a senior author of the study from UCL Medical Physics & Biomedical Engineering and a UCLH consultant clinical oncologist, said: “This is an early step towards the use of AI to aid the further classification of cancer but it is promising and very exciting for clinicians like me to start to understand what it may lead to in future.
“Here, we investigate AI to identify potential biomarkers on the rectal cancer biopsies. In future, clinicians and patients will discuss personalisation of treatment using timely information provided by AI. However, further research is required to understand how best to integrate these biomarkers in everyday clinical practice.”
This study was funded by Cancer Research UK, the UKRI Future Leaders Fellowship, UK Research and Innovation (UKRI), and The Pathological Society of Great Britain and Ireland.
Links
- Professor Maria Hawkins’s academic profile
- Dr Charles-Antoine Collins-Fekete’s academic profile
- Dr Zhuoyan Shen’s academic profile
- UCL Medical Physics & Biomedical Engineering
- UCL Faculty of Engineering
Image
- Histopathology slide of rectal tumour tissue. Credit: Zhuoyan Shen/UCL.
Media contact
Matt Midgley
Email: m.midgley [at] ucl.ac.uk
SOURCE: UCL






























