Author: Denis Avetisyan
New research demonstrates how analyzing doctor’s notes with advanced AI can forecast patient response to chemotherapy, potentially personalizing cancer treatment.

Large language models combined with survival analysis effectively predict chemotherapy outcomes by extracting key phenotype information from unstructured clinical text.
Predicting chemotherapy success remains a significant clinical challenge due to the complexity of cancer and limitations in leveraging comprehensive patient data. This research, ‘Leveraging Large Language Models and Survival Analysis for Early Prediction of Chemotherapy Outcomes’, addresses this gap by demonstrating that large language models can effectively extract predictive features from unstructured clinical notes, coupled with survival analysis techniques. The approach achieved a C-index of 73% in predicting time-to-failure for breast cancer and extended to other cancer types, significantly improving predictive accuracy beyond traditional methods. Could this LLM-driven approach pave the way for truly personalized, proactive cancer treatment plans and improved patient outcomes?
The Inherent Uncertainty of Chemotherapeutic Intervention
Chemotherapy remains a cornerstone in the treatment of breast cancer, yet its efficacy is notably variable and often accompanied by substantial challenges for patients. While capable of inducing remission or extending life, the treatment frequently causes debilitating side effects – nausea, fatigue, and immunosuppression being common – which severely impact quality of life. This inconsistency arises from the complex interplay between tumor biology, individual patient characteristics, and the specific chemotherapy regimen employed. Moreover, a significant proportion of patients do not respond adequately to initial treatment, necessitating further interventions and contributing to increased morbidity. The considerable patient burden associated with chemotherapy underscores the urgent need for strategies to personalize treatment approaches and mitigate adverse effects, ultimately striving for more predictable and positive outcomes.
The ability to foresee chemotherapy failure in breast cancer patients represents a critical, yet remarkably difficult, step towards truly personalized medicine. Early identification of non-responders allows clinicians to shift away from ineffective treatments, minimizing debilitating side effects and promptly exploring alternative strategies – potentially including more aggressive therapies or participation in clinical trials. However, predicting treatment outcomes is inherently complex, influenced by a multitude of interacting factors ranging from tumor genetics and patient health to the specifics of the administered chemotherapy regimen. This intricacy demands sophisticated analytical approaches capable of disentangling these influences and accurately assessing individual patient risk, a task that continues to challenge current methodologies and necessitates ongoing research into innovative predictive models.
Current approaches to predicting chemotherapy response in breast cancer often fall short due to an inability to fully utilize the extensive details within a patient’s oncological notes. These notes, containing nuanced observations about disease progression, patient history, and treatment response, represent a rich source of predictive information largely untapped by traditional statistical models. This limitation is particularly concerning given the substantial rate of treatment failure – over half, or 50.3%, of patients in the studied cohort do not respond favorably to initial chemotherapy regimens. Consequently, innovative methods capable of extracting and integrating this unstructured data are urgently needed to move beyond reactive treatment adjustments and enable truly personalized, proactive cancer care.
Automated Phenotype Extraction via Large Language Models
The LLM Annotation System utilizes large language models, specifically LLaMA-3 8B and Mistral v0.2, to identify and extract clinically relevant phenotypes directly from oncological notes. These models are employed to process unstructured text and pinpoint key characteristics describing a patient’s cancer, such as tumor size, location, stage, and genetic mutations. The selection of LLaMA-3 8B and Mistral v0.2 is based on their demonstrated performance in natural language understanding and their ability to accurately discern medical terminology within the context of oncology, enabling automated extraction of vital patient data.
The annotation system utilizes mxbai Embeddings to transform oncological note text into vector representations, enabling the identification of semantically similar text segments. These embeddings are then used in conjunction with Cosine Similarity and BM25 scoring functions to efficiently retrieve relevant information. Cosine Similarity measures the angle between embedding vectors, identifying passages with high semantic overlap, while BM25, a ranking function based on term frequency and inverse document frequency, provides a complementary retrieval mechanism based on keyword relevance. This combined approach allows for rapid and accurate identification of phenotype-related text within clinical notes, even when expressed using varied terminology.
The annotation system utilizes a Jsonschema to enforce a standardized output format for extracted phenotypes, which is critical for reliable downstream processing and predictive modeling. This schema defines the expected data types and structure, ensuring consistency across all annotations. Evaluation demonstrates the system achieves 97% coverage of phenotypes documented by oncologists within clinical notes, indicating a high degree of comprehensive information extraction from unstructured text. This coverage metric is calculated by comparing the phenotypes identified by the system to a manually curated gold standard dataset of oncologist notes.

Integrating Biomarkers for Refined Predictive Accuracy
The system’s predictive capability is enhanced through the incorporation of established biomarkers – Estrogen Receptor (ER) status, Progesterone Receptor (PR) status, and TNM staging – which provide crucial data regarding tumor characteristics and disease progression. ER and PR assessments indicate the presence of hormone receptors, influencing response to endocrine therapies, while TNM staging – encompassing Tumor size, Node involvement, and Metastasis – defines the anatomical extent of the cancer. Integrating these factors allows for a more nuanced risk assessment than relying solely on clinical notes, enabling improved prediction of treatment outcomes and facilitating personalized therapeutic strategies.
The integration of biomarker data – including Estrogen Receptor (ER), Progesterone Receptor (PR), and TNM staging – with unstructured clinical notes enables a more nuanced prediction of treatment outcomes. Analyzing these combined data sources allows the system to identify complex relationships beyond what is revealed by biomarkers alone. Specifically, information contained within notes – such as patient history, comorbidities, and response to prior therapies – can refine risk stratification and improve the accuracy of anticipating chemotherapy success or failure. This combined analysis provides a more holistic patient profile, leading to more informed clinical decision-making.
The Large Language Model (LLM) Annotation System employs a Critic Agent to validate extracted insights and mitigate the risk of hallucinated information, thereby enhancing reliability. This validation process contributes to a C-index of 0.731 achieved in breast cancer chemotherapy outcome prediction, indicating effective discrimination between patients likely to respond favorably versus those at higher risk of treatment failure. The C-index, a measure of model performance ranging from 0.5 to 1.0, demonstrates the system’s ability to stratify patients based on predicted chemotherapy response, with values above 0.7 generally considered clinically useful.
Beyond Binary Outcomes: Mapping the Spectrum of Patient Trajectories
Rather than simply predicting whether a treatment will succeed or fail, this system offers a detailed mapping of potential patient journeys. It identifies a spectrum of possible outcomes extending beyond basic success, encompassing trajectories such as disease progression, treatment-related toxicity, and ultimately, transitions to death or hospice care. This granular approach moves beyond a binary assessment, acknowledging the complex and varied ways in which patients respond to treatment. By outlining these multiple potential paths, clinicians gain a more comprehensive understanding of each patient’s risk profile and can proactively adapt care strategies to mitigate adverse events or optimize therapeutic benefit, ultimately leading to more personalized and effective interventions.
The capacity to anticipate not simply treatment success or failure, but the range of possible outcomes, fundamentally shifts clinical practice. Rather than reacting to complications as they arise, clinicians can leverage predicted trajectories – encompassing progression, toxicity, or end-of-life care – to implement preventative measures. This proactive approach allows for personalized treatment plans, adjusting dosages or modalities based on an individual’s projected risk profile. For instance, anticipating potential toxicity enables timely interventions to mitigate side effects, maintaining quality of life, while recognizing likely progression facilitates discussions around palliative care options and patient preferences. Ultimately, this nuanced understanding empowers clinicians to move beyond a one-size-fits-all approach and deliver truly patient-centered care, optimizing outcomes and enhancing the overall treatment experience.
The system’s predictive capabilities are significantly enhanced through the incorporation of imaging-based insights, allowing for a more refined mapping of individual patient trajectories. Analysis of a breast cancer cohort demonstrated an accuracy of 0.723 and a corresponding F1 score of 0.724 at the 431-day mark, indicating a robust ability to not only predict outcomes, but also to maintain a balance between precision and recall. This level of performance suggests that the integration of imaging data provides crucial information for discerning subtle patterns indicative of disease progression or treatment response, ultimately leading to more accurate and personalized predictions of patient pathways.
The pursuit of predictive accuracy, as demonstrated by this research leveraging Large Language Models and survival analysis, echoes a fundamental tenet of computational elegance. The study’s focus on extracting phenotype information from unstructured clinical notes, and combining it with rigorous survival analysis, isn’t merely about achieving a higher AUC score; it’s about building a demonstrably correct model. As Marvin Minsky observed, “You can’t always get what you want, but you can get what you need.” This research doesn’t settle for simply ‘working’ prediction; it strives for a mathematically grounded understanding of chemotherapy outcomes, offering a provable link between clinical details and patient prognosis – a pursuit of necessity, rather than convenience.
What Remains to be Proven?
The demonstrated confluence of Large Language Models and survival analysis, while promising, merely shifts the locus of uncertainty. The predictive power derived from unstructured clinical notes hinges on the fidelity of phenotype extraction – a process inherently susceptible to the ambiguities of natural language. One must ask: is the model truly discerning prognostic factors, or simply mirroring the biases and inconsistencies present within the documentation itself? The elegance of a Kaplan-Meier curve offers little solace if the underlying data is built on shifting sands.
Future work must move beyond empirical validation and embrace formal verification. The current approach, focused on ‘performance’ metrics, resembles applied heuristics – convenient, perhaps, but lacking the rigor demanded by a truly scientific endeavor. A provable link between extracted features and biological mechanisms remains elusive. The field should prioritize methods to quantify and minimize the impact of linguistic noise, and explore techniques to ensure the robustness of predictions across diverse patient populations and documentation styles.
Ultimately, the true test lies not in predicting when a patient might succumb to disease, but in understanding why. Large Language Models can serve as powerful tools for hypothesis generation, but they cannot replace the need for meticulous experimentation and a deep grounding in fundamental biological principles. A model that merely correlates data points, however accurately, offers little lasting value.
Original article: https://arxiv.org/pdf/2603.11594.pdf
Contact the author: https://www.linkedin.com/in/avetisyan/
See also:
- United Airlines can now kick passengers off flights and ban them for not using headphones
- All Golden Ball Locations in Yakuza Kiwami 3 & Dark Ties
- How To Find All Jade Gate Pass Cat Play Locations In Where Winds Meet
- Best Zombie Movies (October 2025)
- How To Find The Uxantis Buried Treasure In GreedFall: The Dying World
- Every Major Assassin’s Creed DLC, Ranked
- 15 Lost Disney Movies That Will Never Be Released
- Gold Rate Forecast
- 9 TV Shows You Didn’t Know Were Based on Comic Books
- What are the Minecraft Far Lands & how to get there
2026-03-15 21:06