arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17305cs.AIcs.CL
收藏

CyberCorrect: 一种基于闭环自修正的大型语言模型框架

CyberCorrect: A Cybernetic Framework for Closed-Loop Self-Correction in Large Language Models

School of Software, Henan University, Kaifeng, China(河南大学软件学院,开封,中国);Zhejiang University, Hangzhou, China(浙江大学,杭州,中国)

Yuning Wu, Yingmin Liu, Yang Shu

AI总结:

本文提出CyberCorrect框架,将大型语言模型的自我修正建模为闭环控制系统,通过三模态错误检测器、类型导向的修正控制器和收敛判断器,提升模型的自我修正能力和准确性。

摘要:

大型语言模型(LLM)的自我修正能力——即检测并修复生成输出中的错误——仍然主要依赖于通用提示,如'请重新考虑你的答案',缺乏系统性的错误分析和收敛保证。我们提出了CyberCorrect,一种将LLM自我修正建模为闭环控制系统的方法,基于控制论理论。该框架将LLM生成器视为被控对象,并引入三模态错误检测器(结合自一致性、口头化信心和逻辑链验证)作为传感器。类型导向的修正控制器根据诊断的错误类别生成针对性的修复指令,而收敛判断器利用控制理论适应的稳定性标准确定迭代终止。我们进一步引入了三个控制理论评估指标——收敛率、超调率和振荡率——以捕捉修正动态,而不仅仅是最终准确性。在我们构建的CyberCorrect-Bench(440个带有标注错误类型和修正路径的推理任务)上的实验表明,CyberCorrect实现了79.8%的最终准确性,比现有最佳自我修正方法提高了6.2个百分点,同时通过其收敛控制机制将超调(错误的过度修正)减少了41%。

英文摘要:

Large language model (LLM) self-correction -- the ability to detect and fix errors in generated outputs -- remains largely ad hoc, relying on generic prompts such as "please reconsider your answer" without systematic error analysis or convergence guarantees. We propose CyberCorrect, a framework that formalizes LLM self-correction as a closed-loop control system grounded in cybernetic theory. The framework models the LLM generator as the plant and introduces a tri-modal Error Detector (combining self-consistency, verbalized confidence, and logic-chain verification) as the sensor. A type-directed Correction Controller generates targeted repair instructions based on diagnosed error categories, while a Convergence Judge determines iteration termination using stability criteria adapted from control theory. We further introduce three control-theoretic evaluation metrics -- convergence rate, overshoot rate, and oscillation rate -- that capture correction dynamics beyond final accuracy. Experiments on our constructed CyberCorrect-Bench (440 reasoning tasks with annotated error types and correction paths) show that CyberCorrect achieves 79.8% final accuracy, improving upon the best existing self-correction method by 6.2 percentage points, while reducing overshoot (erroneous over-correction) by 41% through its convergence control mechanism.

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

↑