mlsanityData to 7 Oct 2026

Medication counseling with large language models: balancing flexibility and rigidity

arXiv 2601.11544 ↗First posted 2 Dec 2025cs.HC cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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, remains the same for a narrow and wide system: it needs to strike a balance between adherence to conversational requirements and flexibility. In an effort to strike such a balance, we present a prototype system meant to provide medication counseling while juggling these two extremes. We also cover our design in constructing such a system, with a focus on methods aiming to fulfill conversation requirements, reduce hallucinations and promote high-quality responses. The methods used have the potential to increase the determinism of the system, while simultaneously not removing the dynamic conversational abilities granted by the usage of LLMs. However, a great deal of work remains ahead, and the development of this kind of system needs to involve continuous testing and a human-in-the-loop. It should also be evaluated outside of commonly used benchmarks for LLMs, as these do not adequately capture the complexities of this kind of conversational system.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 44 references that are in the map. First posted on arXiv 2 Dec 2025.

Builds on

18 of 44 references.

References · 18

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  6. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  7. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  8. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  9. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
  10. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  11. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  12. 2024EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instructioncited by 153
6 more
  1. 2024LLM-based NLG Evaluation: Current Status and Challengescited by 71
  2. 2020The Three Ghosts of Medical AI: Can the Black-Box Present Deliver?cited by 16
  3. 2025Inherent and emergent liability issues in LLM-based agentic systems: a principal-agent perspectivecited by 12
  4. 2024A review of faithfulness metrics for hallucination assessment in Large Language Modelscited by 9
  5. 2024Rx Strategist: Prescription Verification using LLM Agents Systemcited by 7
  6. 2025Using role-play and Hierarchical Task Analysis for designing human-robot interactioncited by 1

Built on by

Not cited yet.