arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.10047cs.SEcs.AIcs.HC
收藏

迈向认知稳定性:为工业大语言模型幻觉减少设计一致的程序

Toward Epistemic Stability: Engineering Consistent Procedures for Industrial LLM Hallucination Reduction

Trane Technologies(特纳技术公司)

Brian Freeman, Adam Kicklighter, Matt Erdman, Zach Gordon

AI总结:

本文提出并比较了五种提示工程策略,旨在减少模型输出的方差,实现可重复、基于事实的结果。通过LLM-as-Judge框架评估,M4在100次试验中均表现最佳,M2在v2版本中提升显著。

摘要:

大型语言模型(LLM)中的幻觉是指语法上连贯但事实错误或上下文不一致的输出。它们在高风险工业应用中持续存在,如工程设计、企业资源计划和物联网 telemetry 平台。本文提出并比较了五种提示工程策略,旨在减少模型输出的方差,以获得可重复、基于事实的结果,而无需修改模型权重或创建复杂验证模型。这些方法包括:(M1)迭代相似性收敛,(M2)分解模型无关提示,(M3)单任务代理专业化,(M4)增强数据注册,以及(M5)领域术语库注入。每种方法均使用LLM-as-Judge框架在100次重复运行中评估(相同固定任务提示,随机解码,tau=0.7)。在该评估设置下,M4(增强数据注册)在所有100次试验中均获得“更好”评价;M3和M5分别达到80%和77%;M1达到75%;而M2相比单次提示在现代基础模型上净负34%。随后,我们开发了增强版本2(v2)实现,并在10次验证批次上评估;M2从34%提升到80%,是四个修订方法中最大的提升。我们讨论了这些策略如何帮助克服LLM结果的非确定性,即使绝对正确性无法保证。我们提供了伪代码、原文提示和批次日志以支持独立评估。

英文摘要:

Hallucinations in large language models (LLMs) are outputs that are syntactically coherent but factually incorrect or contextually inconsistent. They are persistent obstacles in high-stakes industrial settings such as engineering design, enterprise resource planning, and IoT telemetry platforms. We present and compare five prompt engineering strategies intended to reduce the variance of model outputs and move toward repeatable, grounded results without modifying model weights or creating complex validation models. These methods include: (M1) Iterative Similarity Convergence, (M2) Decomposed Model-Agnostic Prompting, (M3) Single-Task Agent Specialization, (M4) Enhanced Data Registry, and (M5) Domain Glossary Injection. Each method is evaluated against an internal baseline using an LLM-as-Judge framework over 100 repeated runs per method (same fixed task prompt, stochastic decoding at tau = 0.7. Under this evaluation setup, M4 (Enhanced Data Registry) received ``Better'' verdicts in all 100 trials; M3 and M5 reached 80% and 77% respectively; M1 reached 75%; and M2 was net negative at 34% when compared to single shot prompting with a modern foundation model. We then developed enhanced version 2 (v2) implementations and assessed them on a 10-trial verification batch; M2 recovered from 34% to 80%, the largest gain among the four revised methods. We discuss how these strategies help overcome the non-deterministic nature of LLM results for industrial procedures, even when absolute correctness cannot be guaranteed. We provide pseudocode, verbatim prompts, and batch logs to support independent assessment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑