arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.16393cs.AIcs.CLcs.LG
收藏

并发语言错误检测(CLED):一种大型语言模型错误检测的新方法

Concurrent Linguistic Error Detection (CLED): a New Methodology for Error Detection in Large Language Models

Tianjin University of Technology(天津理工大学);Tianjin University(天津大学);University of Electronic Science and Technology of China(电子科技大学);Northeastern University(东北大学)

Jinhua Zhu, Javier Conde, Zhen Gao, Pedro Reviriego, Shanshan Liu, Fabrizio Lombardi

AI总结:

本文提出并发语言错误检测(CLED)方法,通过提取LLM输出文本的语言特征并输入并发分类器,在无需访问模型内部节点的情况下高效检测错误,并在T5和OPUS-MT模型上验证了其低开销与高适用性。

摘要:

大型语言模型(LLMs)的广泛采用使其可靠性成为一个紧迫的问题。错误检测是减轻其对系统影响的第一步,因此,针对LLMs的高效错误检测是一个重要问题。在许多场景中,LLM被视为一个黑盒,无法访问其内部节点;这阻碍了许多需要访问模型内部节点的错误检测方案的使用。一个有趣的观察是,LLMs在无错误操作下的输出应该是有效且正常的文本。因此,当文本无效或与正常文本差异显著时,很可能存在错误。基于这一观察,我们提出执行并发语言错误检测(CLED);该方案提取LLM生成文本的一些语言特征,并将其输入到一个并发分类器中以检测错误。由于所提出的错误检测机制仅依赖于模型的输出,因此它可以应用于无法访问内部节点的LLMs。所提出的CLED方案在用于新闻摘要的T5模型和用于翻译的OPUS-MT模型上进行了评估。在两种情况下,均使用同一组语言特征进行错误检测,以说明该方案在特定案例之外的适用性。结果表明,CLED能够以较低的开销代价检测出大多数错误。并发分类器的使用还在错误检测效果与其相关开销之间实现了权衡,从而为设计者提供了灵活性。

英文摘要:

The wide adoption of Large language models (LLMs) makes their dependability a pressing concern. Detection of errors is the first step to mitigating their impact on a system and thus, efficient error detection for LLMs is an important issue. In many settings, the LLM is considered as a black box with no access to the internal nodes; this prevents the use of many error detection schemes that need access to the model's internal nodes. An interesting observation is that the output of LLMs in error-free operation should be valid and normal text. Therefore, when the text is not valid or differs significantly from normal text, it is likely that there is an error. Based on this observation we propose to perform Concurrent Linguistic Error Detection (CLED); this scheme extracts some linguistic features of the text generated by the LLM and feeds them to a concurrent classifier that detects errors. Since the proposed error detection mechanism only relies on the outputs of the model, then it can be used on LLMs in which there is no access to the internal nodes. The proposed CLED scheme has been evaluated on the T5 model when used for news summarization and on the OPUS-MT model when used for translation. In both cases, the same set of linguistic features has been used for error detection to illustrate the applicability of the proposed scheme beyond a specific case. The results show that CLED can detect most of the errors at a low overhead penalty. The use of the concurrent classifier also enables a trade-off between error detection effectiveness and its associated overhead, so providing flexibility to a designer.

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

↑