arXiv:2410.02959cs.CL2024-10被引 2

用提示工程提升大模型在煤矿问答中的准确率与相关性

Coal Mining Question Answering with LLMs

  • 设计多轮提示框架,分解复杂问题提升模型理解力
  • 在500个真实场景问题上实现15%-18%的准确率提升
  • 适合高风险工业领域需要精准问答的场景使用

本文提出一种结合大语言模型(LLMs)与定制提示工程的新方法,用于解决煤炭开采领域的问答任务。煤矿作业环境复杂且风险高,对信息的准确性与上下文敏感性要求极高,现有问答系统难以应对采矿相关查询的技术性与动态性。为此,我们设计了一种多轮提示工程框架,引导GPT-4等模型更精准地回答技术性强的采矿问题。通过将复杂问题拆解为结构化组件,提升模型对专业信息的处理能力。我们人工构建了包含500个真实矿井场景问题的数据集,并采用准确率(ACC)和基于GPT-4的评分指标进行评估。实验对比ChatGPT、Claude2与GPT-4在基础提示、思维链(CoT)及多轮提示下的表现,结果表明本方法显著提升准确率与上下文相关性,平均准确率提高15%-18%,且GPT-4评分明显上升。结果证明该提示工程方法可为高风险工业场景提供稳健、可适应的领域专用问答解决方案。

原文摘要 · Abstract (English)

In this paper, we present a novel approach to coal mining question answering (QA) using large language models (LLMs) combined with tailored prompt engineering techniques. Coal mining is a complex, high-risk industry where accurate, context-aware information is critical for safe and efficient operations. Current QA systems struggle to handle the technical and dynamic nature of mining-related queries. To address these challenges, we propose a multi-turn prompt engineering framework designed to guide LLMs, such as GPT-4, in answering coal mining questions with higher precision and relevance. By breaking down complex queries into structured components, our approach allows LLMs to process nuanced technical information more effectively. We manually curated a dataset of 500 questions from real-world mining scenarios and evaluated the system's performance using both accuracy (ACC) and GPT-4-based scoring metrics. Experiments comparing ChatGPT, Claude2, and GPT-4 across baseline, chain-of-thought (CoT), and multi-turn prompting methods demonstrate that our method significantly improves both accuracy and contextual relevance, with an average accuracy improvement of 15-18\% and a notable increase in GPT-4 scores. The results show that our prompt-engineering approach provides a robust, adaptable solution for domain-specific question answering in high-stakes environments like coal mining.

煤矿问答提示工程大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。