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

Researchers Find Telemedicine may Help R…

Low-value care - medical tests and procedures that provide little to no benefit to patients - contributes to excess medical spending and both direct and cascading harms to patients. A...

AI may Help Clinicians Personalize Treat…

Individuals with generalized anxiety disorder (GAD), a condition characterized by daily excessive worry lasting at least six months, have a high relapse rate even after receiving treatment. Artificial intelligence (AI)...

Accelerating NHS Digital Maturity: Paper…

Digitised clinical noting at South Tees Hospitals NHS Foundation Trust is creating efficiencies for busy doctors and nurses. The trust’s CCIO Dr Andrew Adair, deputy CCIO Dr John Greenaway, and...

Mobile App Tracking Blood Pressure Helps…

The AHOMKA platform, an innovative mobile app for patient-to-provider communication that developed through a collaboration between the School of Engineering and leading medical institutions in Ghana, has yielded positive results...

Can AI Help Detect Cognitive Impairment?

Mild cognitive impairment (MCI) can be an early indicator of Alzheimer's disease or dementia, so identifying those with cognitive issues early could lead to interventions and better outcomes. But diagnosing...

AI can Open Up Beds in the ICU

At the height of the COVID-19 pandemic, hospitals frequently ran short of beds in intensive care units. But even earlier, ICUs faced challenges in keeping beds available. With an aging...

Customized Smartphone App Shows Promise …

A growing body of research indicates that older adults in assisted living facilities can delay or even prevent cognitive decline through interventions that combine multiple activities, such as improving diet...

New Study Shows Promise for Gamified mHe…

A new study published in Multiple Sclerosis and Related Disorders highlights the potential of More Stamina, a gamified mobile health (mHealth) app designed to help people with Multiple Sclerosis (MS)...

AI Model Predicting Two-Year Risk of Com…

AFib (short for atrial fibrillation), a common heart rhythm disorder in adults, can have disastrous consequences including life-threatening blood clots and stroke if left undetected or untreated. A new study...

Patients' Affinity for AI Messages …

In a Duke Health-led survey, patients who were shown messages written either by artificial intelligence (AI) or human clinicians indicated a preference for responses drafted by AI over a human...

New Research Explores How AI can Build T…

In today’s economy, many workers have transitioned from manual labor toward knowledge work, a move driven primarily by technological advances, and workers in this domain face challenges around managing non-routine...

AI Tool Helps Predict Who will Benefit f…

A study led by UCLA investigators shows that artificial intelligence (AI) could play a key role in improving treatment outcomes for men with prostate cancer by helping physicians determine who...