Medication counseling with large language models: balancing flexibility and rigidity
Joar Sabel, Mattias Wingren, Andreas Lundell, S\"oren Andersson, Sara Rosenberg, Susanne H\"agglund, Linda Estman, Malin Andtfolk

TL;DR
This paper explores designing a medication counseling system using large language models that balances flexibility and rigidity, focusing on long, detailed interactions to improve accuracy and safety in pharmacy contexts.
Contribution
It introduces a prototype system for medication counseling that emphasizes balancing conversational flexibility with adherence to requirements, along with design methods to reduce hallucinations and improve response quality.
Findings
Prototype demonstrates potential for balanced flexibility and rigidity.
Methods can increase system determinism without losing conversational dynamics.
Highlights need for specialized evaluation beyond standard benchmarks.
Abstract
The introduction of large language models (LLMs) has greatly enhanced the capabilities of software agents. Instead of relying on rule-based interactions, agents can now interact in flexible ways akin to humans. However, this flexibility quickly becomes a problem in fields where errors can be disastrous, such as in a pharmacy context, but the opposite also holds true; a system that is too inflexible will also lead to errors, as it can become too rigid to handle situations that are not accounted for. Work using LLMs in a pharmacy context have adopted a wide scope, accounting for many different medications in brief interactions -- our strategy is the opposite: focus on a more narrow and long task. This not only enables a greater understanding of the task at hand, but also provides insight into what challenges are present in an interaction of longer nature. The main challenge, however,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Artificial Intelligence in Healthcare and Education · Text Readability and Simplification
