SCOPE: 用于LLM服务中可靠OOD拒绝的顺序共形探测
SCOPE: Sequential Conformal Probing for Reliable OOD Rejection in LLM Services
AI总结:
提出SCOPE框架,通过选择可读隐藏层、构建共形门控和超鞅e过程,在LLM服务中实现带理论保证的OOD拒绝,实验表明优于标准最终层检测器。
摘要:
拒绝定义的在分布(IND)服务范围之外的输入对于大语言模型(LLM)服务至关重要,其中不受支持的请求应在完全生成之前被过滤。现有的分布外(OOD)检测器通常依赖于最终输出或最终层表示,导致不清楚服务边界信号在模型内部最清晰的编码位置;它们也缺乏对保留输入的理论保证。在本文中,我们介绍了SCOPE(顺序共形OOD探测与评估),这是一个框架,它选择一个可读的隐藏层,使用IND校准构建一个共形门控,并利用超鞅e过程来证明持续的服务边界证据。跨多个LLM骨干和六个精心设计的边界条件的实验表明,SCOPE在门控级别拒绝上优于标准的最终层检测器,同时揭示了不同OOD边界在隐藏空间中如何呈现不同的几何形式。
英文摘要:
Rejecting inputs outside the defined in-distribution (IND) service scope is critical for large language model (LLM) services, where unsupported requests should be filtered before full generation. Existing out-of-distribution (OOD) detectors often rely on final outputs or final-layer representations, leaving unclear where service-boundary signals are most clearly encoded inside the model; they also lack a theoretical guarantee for held-out inputs. In this paper, we introduce SCOPE (Sequential Conformal OOD Probing and Evaluation), a framework that selects a readable hidden layer, constructs a conformal gate with IND calibration, and uses a supermartingale e-process to certify persistent service-boundary evidence. Experiments across multiple LLM backbones and six carefully designed boundary conditions show that SCOPE improves gate-level rejection over standard final-layer detectors, while revealing how different OOD boundaries take different geometric forms in hidden space.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。