Almanac: Retrieval-Augmented Language Models for Clinical Medicine

Cyril Zakka,Akash Chaurasia,Rohan Shad,Alex R. Dalal,Jennifer L. Kim,Michael Moor,Kevin Alexander,Euan Ashley,Jack Boyd,Kathleen Boyd,Karen Hirsch,Curt Langlotz,Joanna Nelson,William Hiesinger
2023-06-01
Abstract:Large-language models have recently demonstrated impressive zero-shot capabilities in a variety of natural language tasks such as summarization, dialogue generation, and question-answering. Despite many promising applications in clinical medicine, adoption of these models in real-world settings has been largely limited by their tendency to generate incorrect and sometimes even toxic statements. In this study, we develop Almanac, a large language model framework augmented with retrieval capabilities for medical guideline and treatment recommendations. Performance on a novel dataset of clinical scenarios (n = 130) evaluated by a panel of 5 board-certified and resident physicians demonstrates significant increases in factuality (mean of 18% at p-value < 0.05) across all specialties, with improvements in completeness and safety. Our results demonstrate the potential for large language models to be effective tools in the clinical decision-making process, while also emphasizing the importance of careful testing and deployment to mitigate their shortcomings.
Computation and Language,Artificial Intelligence
What problem does this paper attempt to address?
The paper aims to address the limitations of large language models in clinical medicine applications, particularly the factual errors and potential safety risks that may arise when these models generate medical information. The paper introduces a framework called Almanac, which enhances the retrieval capabilities of large language models to improve their accuracy in providing medical guidelines and treatment recommendations. Specifically, the main objectives of the Almanac framework include: 1. **Improving factuality**: Ensuring that the text generated by the model is consistent with established medical knowledge and practices, and providing accurate citations for further independent verification. 2. **Improving completeness**: Ensuring that the model can comprehensively and accurately represent the proposed clinical situation or problem, including contraindications when necessary. 3. **Improving safety**: Reducing the likelihood of harmful outputs from the model due to malicious or non-malicious reasons. To evaluate the effectiveness of Almanac, the researchers created a new dataset called ClinicalQA, which includes real clinical scenarios from different medical specialties. They also used a group of experienced doctors to assess the performance of Almanac compared to another benchmark model (ChatGPT). The results showed that Almanac significantly outperformed ChatGPT in terms of factuality and safety, but both models performed similarly in terms of completeness. Additionally, despite Almanac's better accuracy, doctors still preferred ChatGPT's answers, possibly because ChatGPT has undergone reinforcement learning from human feedback, making its answers sound more natural and human-like. In summary, the paper proposes a method to improve large language models by enhancing their retrieval capabilities, thereby increasing their practicality and safety in clinical decision support systems.