Enhancing Question Answering Precision of Black Box LLMs Using Response Refinement and Relevant Keyword Incorporation
摘要
Large language models (LLMs) like GPT and PaLM have transformed natural language processing, excelling in tasks from creative writing to scientific reasoning. However, in high-stakes domains like healthcare, LLMs face limitations such as hallucinations, overconfidence, and difficulty with nuanced reasoning, especially in question answering (QA). They often struggle with datasets requiring deep reasoning or do main expertise, like in medical and legal applications, resulting in high latency and suboptimal accuracy. In this work, we propose a novel method combining iterative response refinement with relevant keyword augmentation to enhance context comprehension and output precision. Evaluations on MedQA and PubMedQA show improvements over baselines, with accuracy gains of up to 9.59%.