arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.13417cs.SEcs.AI
收藏

认知电路断路器:一种用于内在AI可靠性的系统工程框架

The Cognitive Circuit Breaker: A Systems Engineering Framework for Intrinsic AI Reliability

Jonathan Pan

Jonathan Pan

AI总结:

本文提出认知电路断路器框架,通过提取模型前向传递中的隐藏状态,计算认知不一致度,以实现低延迟的内在可靠性监控,同时展示其在分布外泛化中的有效性。

摘要:

随着大型语言模型(LLMs)在关键软件系统中的广泛应用,检测幻觉和'伪造真实性'已成为关键工程挑战。当前可靠性架构依赖于生成后、黑盒机制,如检索增强生成(RAG)交叉检查或LLM作为评判者评估器。这些外部方法引入不可接受的延迟、高计算开销和对二次外部API调用的依赖,经常违反标准软件工程服务等级协议(SLAs)。本文提出认知电路断路器,一种新颖的系统工程框架,提供内在可靠性监控,具有最小的延迟开销。通过在模型前向传递中提取隐藏状态,我们计算'认知不一致度delta'——即LLM的外在语义置信度(softmax概率)与内在潜在确定性(通过线性探针推导)之间的数学差距。我们展示了统计显著的认知不一致度检测,突显架构依赖的分布外(OOD)泛化,并表明该框架对主动推断管道的计算开销几乎可以忽略不计。

英文摘要:

As Large Language Models (LLMs) are increasingly deployed in mission-critical software systems, detecting hallucinations and ``faked truthfulness'' has become a paramount engineering challenge. Current reliability architectures rely heavily on post-generation, black-box mechanisms, such as Retrieval-Augmented Generation (RAG) cross-checking or LLM-as-a-judge evaluators. These extrinsic methods introduce unacceptable latency, high computational overhead, and reliance on secondary external API calls, frequently violating standard software engineering Service Level Agreements (SLAs). In this paper, we propose the Cognitive Circuit Breaker, a novel systems engineering framework that provides intrinsic reliability monitoring with minimal latency overhead. By extracting hidden states during a model's forward pass, we calculate the ``Cognitive Dissonance Delta'' -- the mathematical gap between an LLM's outward semantic confidence (softmax probabilities) and its internal latent certainty (derived via linear probes). We demonstrate statistically significant detection of cognitive dissonance, highlight architecture-dependent Out-of-Distribution (OOD) generalization, and show that this framework adds negligible computational overhead to the active inference pipeline.

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

↑