Researchers Customize AI Tools for Digital Pathology

Scientists from Weill Cornell Medicine and the Dana-Farber Cancer Institute in Boston have developed and tested new artificial intelligence (AI) tools tailored to digital pathology - a rapidly growing field that uses high-resolution digital images created from tissue samples to help diagnose disease and guide treatment.

Their paper, published in The Lancet Digital Health on July 9, demonstrates that ChatGPT, an AI language model developed to understand and generate text, can be tailored to provide accurate responses to questions about digital pathology and compile detailed results. The authors also found that ChatGPT can help pathologists without extensive coding experience use complex software that analyzes tissue samples, helping bridge the gap between pathology and digital pathology skills.

ChatGPT is a large language model (LLM), meaning it generates text on a wide range of topics using extensive amounts of data. "LLMs are good for general tasks, but they aren't the best tools for getting useful information for specialized fields, said the study's lead author Dr. Mohamed Omar, assistant professor of research in pathology and laboratory medicine and a member of the Division of Computational and Systems Pathology at Weill Cornell Medicine. Dr. Luigi Marchionni, associate professor in pathology and laboratory medicine and head of the Division of Computational and Systems Pathology, is also a co-author on this study.

To create AI tools that could increase the efficiency and accuracy needed for the nuanced decision-making necessary in digital pathology, corresponding author Dr. Renato Umeton, director of Artificial Intelligence Operations and Data Science Services, Informatics & Analytics Department at Dana-Farber, spearheaded the effort to customize ChatGPT.

"General LLMs have two major problems. First, they often provide lengthy generic responses that don’t contain useful information," Dr. Omar said. "Second, these models can hallucinate and make things up out of nowhere, including literature citations. This is especially bad in specialized fields like digital pathology and cancer biology, for example."

To address the glitches, Dr. Umeton started with a safe, private and secure ChatGPT version implemented at Dana-Farber Cancer Institute (GPT4DFCI). The researchers augmented GPT4DFCI with access to a comprehensive and curated database of the latest developments in digital pathology, consisting of 650 publications from 2022 onward, which added over 10,000 pages of literature.

"We could ask this new system to catch us up on many specific topics or techniques in digital pathology and get results in seconds, with a level of detail, depth and summarization that doesn't exist in current scientific literature tools or search engines," Dr. Umeton said.

They used a technique called retrieval-augmented generation (RAG), which enabled GPT4DFCI to access relevant documents or information from this specialized database and generate accurate responses to user prompts about digital pathology, but nothing outside of that realm.

Dr. Omar and his colleagues compared the responses from GTP4DFCI to those provided with the more general GPT-4 model. By requiring GTP4DFCI to provide links to the specific publications it used to generate responses, they determined that the answers were accurate and grounded. The refined model provided more precise and relevant answers than GPT-4 and did not hallucinate even once.

"My hope is that this will be a catalyst for more domain-specific tools in other fields of medicine or medical research," Dr. Omar said.

The second AI program the team developed helps pathologists use PathML, a specialized software library that requires familiarity with the programming language Python for analyzing vast and complex histopathology image datasets. "Pathologists or scientists without prior coding experience often find PathML very challenging to use for image analysis tasks," said Dr. Omar.

The researchers integrated PathML with ChatGPT, allowing users to simply type in their questions about running histopathology analyses with PathML. The tool then provides step-by-step, accurate instructions on coding for their samples.

"Our research shows that, when combined with the proper information retrieval techniques, ChatGPT and safeguarded AI tools, like GPT4DFCI, can be extremely effective in supporting basic researchers," Dr. Umeton said. "These tools are helpful even across very complex topics that need extremely precise answers, like digital pathology."

Omar M, Ullanat V, Loda M, Marchionni L, Umeton R.
ChatGPT for digital pathology research.
Lancet Digit Health. 2024 Jul 9:S2589-7500(24)00114-6. doi: 10.1016/S2589-7500(24)00114-6

Most Popular Now

Stepping Hill Hospital Announced as SPAR…

Stepping Hill Hospital, part of Stockport NHS Foundation Trust, has replaced its bedside units with state-of-the art devices running a full range of information, engagement, communications and productivity apps, to...

DMEA 2025: Digital Health Worldwide in B…

8 - 10 April 2025, Berlin, Germany. From the AI Act, to the potential of the European Health Data Space, to the power of patient data in Scandinavia - DMEA 2025...

Is AI in Medicine Playing Fair?

As artificial intelligence (AI) rapidly integrates into health care, a new study by researchers at the Icahn School of Medicine at Mount Sinai reveals that all generative AI models may...

New System for the Early Detection of Au…

A team from the Human-Tech Institute-Universitat Politècnica de València has developed a new system for the early detection of Autism Spectrum Disorder (ASD) using virtual reality and artificial intelligence. The...

Generative AI's Diagnostic Capabili…

The use of generative AI for diagnostics has attracted attention in the medical field and many research papers have been published on this topic. However, because the evaluation criteria were...

Diagnoses and Treatment Recommendations …

A new study led by Prof. Dan Zeltzer, a digital health expert from the Berglas School of Economics at Tel Aviv University, compared the quality of diagnostic and treatment recommendations...

AI Tool can Track Effectiveness of Multi…

A new artificial intelligence (AI) tool that can help interpret and assess how well treatments are working for patients with multiple sclerosis (MS) has been developed by UCL researchers. AI uses...

Surrey and Sussex Healthcare NHS Trust g…

Surrey and Sussex Healthcare NHS Trust has marked an important milestone in connecting busy radiologists across large parts of South East England, following the successful go live of Sectra's enterprise...

Dr Jason Broch Joins the Highland Market…

The Highland Marketing advisory board has welcomed a new member - Dr Jason Broch, a GP and director with a strong track record in the NHS and IT-enabled transformation. Dr Broch...

DMEA 2025 Ends with Record Attendance an…

8 - 10 April 2025, Berlin, Germany. DMEA 2025 came to a successful close with record attendance and an impressive program. 20,500 participants attended Europe's leading digital health event over the...

Multi-Resistance in Bacteria Predicted b…

An AI model trained on large amounts of genetic data can predict whether bacteria will become antibiotic-resistant. The new study shows that antibiotic resistance is more easily transmitted between genetically...

AI-Driven Smart Devices to Transform Hea…

AI-powered, internet-connected medical devices have the potential to revolutionise healthcare by enabling early disease detection, real-time patient monitoring, and personalised treatments, a new study suggests. They are already saving lives...