OncoTrack: LLM-based Structured Extraction and Progression Summarization from Longitudinal Oral Cancer Records
The paper introduces "OncoTrack," an AI-powered pipeline utilizing fine-tuned LLMs (Meta-Llama-3.1-8B and Gemma 3) to automatically extract clinical features and generate progression summaries from longitudinal oral cancer records, achieving high accuracy in a curated cohort while demonstrating the need for further validation on heterogeneous data and specific temporal fields.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the high-stakes world of cancer care, a doctor's ability to make the right decision often depends on piecing together a patient's entire medical history. For oral cancer, this history is not stored in neat, digital spreadsheets but scattered across decades of handwritten notes, typed reports, and discharge summaries. These documents are written by different doctors, using different styles and abbreviations, creating a chaotic landscape of information. To understand how a tumor has changed over time, a clinician must manually read through pages of text to find specific details: the size of the tumor, the type of cells involved, the dates of surgeries, and the outcomes of follow-up visits. This process is slow, exhausting, and prone to human error, often delaying the insights needed to save a life. The field of medical informatics has long sought a way to automate this reading, moving from rigid computer rules that fail when language varies, to newer, more flexible artificial intelligence systems that can understand the nuance of human writing.
Researchers at Amrita Vishwa Vidyapeetham in India have developed a new system called OncoTrack to tackle this specific challenge. Their goal was to build a tool that could automatically read long, unstructured medical records for oral cancer patients and pull out twenty-four specific, critical facts, such as the patient's age, the location of the tumor, and the dates of key medical events. They then wanted the system to weave these facts into a clear, readable summary of the patient's journey. To do this, they used a type of advanced computer program known as a large language model, which is a system trained on vast amounts of text to understand and generate human language. However, because these general models can sometimes make up facts or miss specific medical details, the team had to teach their system specifically how to handle oral cancer records. They used a method called fine-tuning, which is like giving a generalist student a specialized textbook and a series of practice exams until they become an expert in that single subject.
The team started by gathering one hundred historical patient documents from the Amrita Institute of Medical Sciences. They cleaned these documents, removing personal names and numbers to protect privacy, and then manually created the correct answers for the twenty-four target facts to serve as a guide for the computer. They chose a specific open-source model, Meta-Llama-3.1-8B, and trained it on ninety percent of these documents, letting it learn the patterns of how doctors write about cancer. They tested the model on the remaining ten percent of the documents. The results were promising: the system correctly identified the facts in about eighty-eight percent of the cases it was tested on. It performed exceptionally well on clear, straightforward details like the patient's sex or whether the cancer had spread to the skin. However, it struggled with more complex tasks, such as figuring out the date of the very last follow-up visit when that date was not explicitly stated in a single sentence but had to be guessed by piecing together clues from different parts of the record. In these difficult cases, the system often failed to find the correct answer.
To see if the system could handle the messiness of the real world, the researchers expanded their test to include six hundred and seventy-four documents from a wider variety of sources. They found that while the system worked well on the documents where the information was clearly written, it faced significant trouble when the records were incomplete or when the text did not match the labels the researchers had prepared. In fact, nearly half of these new documents had to be set aside because the information in the text was so inconsistent with the expected answers that a fair comparison was impossible. Among the documents that were evaluated, the system achieved an average accuracy of about eighty percent for the facts that were clearly present, but this dropped to roughly seventy percent when all twenty-four fields were counted together. The weakest link remained the ability to infer the date of the last follow-up, which the system got right less than ten percent of the time in this larger group. This failure highlighted a key limitation: the system is excellent at finding facts that are explicitly written down, but it is not yet reliable at making the logical leaps required to find dates that are hidden in the narrative.
Despite these hurdles, the project revealed something unexpected and potentially valuable. In several instances, the computer's answer differed from the human-created "correct" answer, but when the researchers looked back at the original text, the computer's answer actually matched the text better than the human label did. This suggests that the system might not just be a tool for reading records, but also a way to spot errors in how medical data is currently recorded. The researchers built a working prototype of the system as a web application where a user could upload a document and see the extracted facts and a generated summary. They also included a chat feature that could answer questions about the patient's history, though this part was not rigorously tested for safety or accuracy. The team is clear that this is a research prototype, not a finished product ready for hospitals. Before it can be used to guide patient care, it needs to be tested in real clinical settings, secured against data breaches, and validated by doctors to ensure it does not miss critical details. The work demonstrates that artificial intelligence can successfully extract structured data from the chaotic world of medical notes, but it also shows that the technology is not yet perfect enough to replace human judgment, especially when the records themselves are incomplete or contradictory.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.