Using AI to Streamline Molecular Pathology Workflows

Using AI to Streamline Molecular Pathology Workflows

Tumour region 72% cellularity AI score: 0.94 Stroma Necrosis
Sharing Knowledge

Using AI to Streamline Molecular Pathology Workflows

Dr Paul O'Reilly
Dr Paul O'Reilly, VP of Innovation
12 min read · October 2024

Key Takeaways

  • Interobserver variation in tumour cell estimation ranges from 20% to 80% in manual molecular pathology workflows - AI-based tumour quantification directly addresses this by providing consistent, automated annotations
  • AI triage of molecular tests can save approximately £150 per MSI test, with potential NHS savings of up to £3.2m per year - reducing cost without compromising on test quality
  • The most practical near-term value from AI in molecular labs is as a complement to current practice - augmenting rather than replacing wet lab workflows to improve quality, consistency, and throughput

AI and Computational Pathology

Artificial Intelligence (AI) is a set of computational technologies that uses machine learning (ML) to derive information and insights from data based mainly on its characteristics alone. Although there has been a recent surge of interest in generative AI, so-called narrow AI still has the potential to add value in a range of domains, from time series analysis to image analysis.

With the digitisation of pathology through scanning of Whole Slide Images (WSI), AI and ML are increasingly being applied to pathology tasks - encompassing IHC biomarker quantification, tumour detection and grading, H&E-based biomarker inference, and prognostic and predictive models. These capabilities sit at the intersection of imaging and molecular data modalities and are increasingly central to translational research programmes.

Much of the emphasis has been on using pathology AI to assist pathologists with primary diagnostics. However, there are many opportunities for AI to assist in other aspects of pathology, including molecular testing laboratories. This whitepaper outlines some of the challenges molecular testing laboratories face, and describes how AI may be used to assist and augment workflows, increasing efficiencies, reducing costs and improving performance.

Challenges of Molecular Pathology Workflows

Sample Quality Control

In the molecular laboratory, tissue samples are processed in wet lab workflows to determine a genetic or molecular result, through a range of techniques from qPCR through to Next Generation Sequencing (NGS). There are a number of QC steps at various stages to ensure the accuracy, precision and fidelity of results. Given the many manual steps in a typical process, optimising the quality of any particular one is important. Effective QC is also fundamental to biomarker validation - poor sample quality at the input stage compromises everything downstream.

Macrodissection Annotation

A necessary step in the molecular workflow is histological review of a H&E-stained tissue section to understand tissue composition at a cellular level. Because tissue samples are typically heterogeneous, pathologists mark up an area enriched with tumour cells for macrodissection by lab technicians before downstream molecular processing.

This process has typically been manual. Being a manual process, in the current era of pathology digitisation, there are opportunities to provide tools which operate on digital WSIs to streamline it. A significant issue is the notable interobserver variation in estimating the percentage of tumour cells, with discrepancies ranging from 20% to 80%. This variation increases the risk of false-negative molecular tests due to inaccurate sample quality assessment, potentially impacting patient care.

Turnaround Time

Although the time to carry out a particular wet lab test may only be hours or at most days, the delay between the arrival of physical material and the report of the result is often up to two weeks. AI solutions can help make this more efficient, saving resources and speeding up end-to-end workflows.

Cost

Saving time and resources offers the potential for cost savings in a typical high-throughput lab. If a wet lab step can be wholly or partially replaced with a digital AI step, there is obvious potential for reduction in reagent and other test costs. In contrast to lab analyses which cannot reuse tests, digital AI tests can be rerun without such costs. Approximately £150 can be saved per MSI test using AI, with potential NHS savings of up to £3.2m per year.

Limited Availability of Tissue

With the growing trend towards the use of biopsies and other less invasive tests, there may be limited material available for the array of tests required. If AI can improve the quality of downstream testing (necessitating less retesting), better target which tests are required, and replace some downstream testing completely, this will allow better management of limited tissue resources. Inadequate or poor-quality tissue samples can also lead to failures in wet lab pathways, in which case a salvage pathway using another modality is used to ensure patient care is not compromised.

How AI can Accelerate Molecular Pathology Workflows

Automated QC

A number of AI algorithms can be used to ensure the quality of samples and slides used in molecular workflows. Determining the quality of sample preparation (fixation, staining, amount of tissue) can be done automatically, with deviations flagged as early as possible to minimise the delays and wastage associated with discovering problems later in the process.

H&E
Image

→

Image-Based
QC

→

QC
Result

→

Accept

↓

Reject

Figure 1. AI-based sample QC - H&E image assessed automatically, with accept/reject output flagging deviations before downstream molecular processing.

Tumour Identification and Quantification

Identification of areas for macrodissection and quantifying the tumour content require the tissue to be analysed at a cellular level. This may involve a combination of higher and lower power algorithms (segmentation and tissue compartment classification, respectively) applied to the WSI. The algorithm can be embedded in a workflow, with pathology review/sign-off steps and the ability to manually override the proposed annotation. The quantitative tumour content may also be used as input for further lab-specific models for estimating DNA/RNA yield.

Figure 2: AI identification of tumour areas for macrodissection on whole slide image with automated tumour cell percentage quantification

Figure 2. AI identification of tumour areas for macrodissection, with automated quantification of tumour cell percentage.

The AI-assisted macrodissection annotation workflow integrates digital pathology tools with laboratory sign-off procedures, ensuring human oversight is maintained at every step:

H&E
Image

→

Image-Based
Algorithm

→

Pathology
Sign-Off

→

Macro-
Dissection

→

Extracted
Material

→

Molecular
Test

→

Result

Figure 3. AI-assisted workflow for macrodissection annotation - from H&E image through algorithm, pathology sign-off, macrodissection, molecular test to result.

AI-based Triage

The use of pathology AI to predict molecular status has been of increasing interest, with many publications showing the ability of algorithms to make predictions for a number of biomarkers. The ultimate goal could be to replace molecular tests completely, but until that is proven, there is a clear use case for AI as a triage step - augmenting fully wet lab-based testing to add value while maintaining gold-standard confirmation where needed.

H&E Image

→

Image-Based
Algorithm

→

Triage
Result

→

Result

↓

Extracted
Material

→

Molecular
Test

→

Molecular
Result

→

Result

Figure 4. Using AI algorithms to triage molecular testing - high-confidence triage results go directly to report; uncertain cases proceed through wet lab confirmation.

Sonrai's AI annotation of tumour cells and the resulting molecular status are shown below - demonstrating how H&E-based AI predictions map to MSI test results:

Figure 5. Left: Sonrai's AI annotation of tumour cells on H&E. Right: Resulting MSI molecular status from AI-predicted annotation.

AI-based Salvage Pathway

Salvage pathway testing enables broader use of targeted treatments in cases where tissue quality or quantity is low. AI provides another modality for biomarker testing that can be used as a fallback when standard testing is unavailable - ensuring patient care is not compromised due to a lack of tissue or failed wet lab pathway.

Extracted
Material

→

Molecular
Test

→

Failed
Test

↓

H&E Image

→

Image-Based
Algorithm

→

Salvage
Result

Figure 6. AI-based Salvage Pathway - when the molecular test fails, the H&E image is analysed by an AI algorithm to provide a salvage result.

Multi-Modal Fusion

It is common for multiple modalities to be available to test for a given condition. Each mode has strengths and deficiencies which affect the sensitivity and specificity of the result. Combining results from different modalities, using techniques from Bayesian modelling to AI fusion, has been shown to improve the performance of the combined result. Given the essential orthogonality between standard expression analysis and H&E image modalities, creating an ensemble classifier based on fusion of such results can improve molecular testing performance for patients.

H&E Image

→

Image-Based
Algorithm

→

Algo
Result

↘

Result
Fusion

→

Result

Extracted
Material

→

Molecular
Test

→

Test
Result

↗

Figure 7. Fusing results of independent tests - H&E-based algorithm result and molecular test result combined via Result Fusion to produce an improved overall result.

Conclusion

Although much of the focus in AI algorithms has been in providing alternatives to and replacements for current standard wet lab molecular tests, this is not the only role AI can play. Given the time, expense and difficulty of creating standalone IVD algorithms, a more fruitful approach to realising value from AI within a molecular lab is likely to be as an assistant to current practice - complementing rather than replacing the workflows and standard operating procedures of a lab.

Taking this approach can help improve quality, consistency and efficiency, particularly in high throughput scenarios, where scaling operations in tandem with selected AI solutions can significantly improve productivity. The audit trail and versioning these AI systems generate also directly addresses the reproducibility challenges that have historically affected molecular pathology reporting. See also how AI is applied in the broader digital pathology context in our AI single-cell analysis and patient stratification workflow use cases.

References

  1. Hamilton PW, et al. Automated tumor analysis for molecular profiling in lung cancer. Oncotarget. (2015) 6:27938-52.
  2. Viray H, et al. A prospective, multi-institutional diagnostic trial to determine pathologist accuracy in estimation of percentage of malignant cells. Arch Pathol Lab Med. (2013) 137:1545-9.
  3. Viray H, et al. Automated objective determination of percentage of malignant nuclei for mutation testing. Appl Immunohistochem Mol Morphol. (2014) 22:363-71.
  4. Smits AJJ, et al. The estimation of tumor cell percentage for molecular testing by pathologists is not accurate. Mod Pathol. (2014) 27:168-74.
  5. The Royal College of Pathologists. Cancer genomic testing and the pathologist. Bulletin October 2021.
  6. Steven H Kroft. A Different Kind of Laboratory Stewardship. AJCP. (2021) 156(4):493-494.
  7. Cary Chisholm, et al. Dermatopathology Laboratory Green Initiatives. AJCP. (2022) 158(3):372-377.
  8. Broemeling LD. Bayesian Methods for Medical Test Accuracy. Diagnostics. 2011;1(1):1-35.

Related Reading

Talk to our team

Sonrai acts as an extension of your team, combining scientific expertise, transparent and reproducible analysis, and a governed research environment to generate decision-ready evidence that can be revisited, reproduced, and built upon throughout the life of a programme.

Book a demo
Related Posts
Leave a Reply