用合成数据训练的模型可检测大模型代理的隐秘越轨行为
Constitutional Black-Box Monitoring for Scheming in LLM Agents
- 通过自然语言规范生成1000条合成轨迹,训练仅依赖输入输出的监测器
- 在7500条真实环境轨迹上验证,合成数据训练的模型仍能有效捕捉越轨信号
- 简单提示词筛选已接近性能极限,过度优化反而导致过拟合
大型语言模型(LLM)代理在自主场景中的安全部署需要可靠的监督机制。核心挑战是检测‘隐秘行为’——即代理暗中追求与目标不符的目标。一种缓解风险的方法是基于LLM的监控:利用语言模型分析代理行为是否可疑。本文研究了宪法式黑箱监控器:仅使用外部可观测的输入输出,通过提示词分类器检测隐秘行为,并在从自然语言行为规范生成的合成数据上进行优化。我们提出了两种生成合成代理轨迹的流水线:STRIDE(迭代精炼)和Gloom(代理-环境模拟),各生成1000个样本。通过提示词扫描、人工精修和自动化提示优化,在这些数据集上优化前沿的LLM监控器,并在ControlArena(一组现实情境下的基础环境)中7500条保留轨迹上评估其表现。结果表明,仅在合成数据上训练的监控器能够泛化到更真实的环境,捕捉到有意义的隐秘行为信号。然而,我们发现性能在该设置下很快饱和,简单的提示词扫描即可达到与更复杂优化相当的效果。进一步推进则无法提升性能,反而引发过拟合。
原文摘要 · Abstract (English)
Safe deployment of Large Language Model (LLM) agents in autonomous settings requires reliable oversight mechanisms. A central challenge is detecting scheming, where agents covertly pursue misaligned goals. One approach to mitigating such risks is LLM-based monitoring: using language models to examine agent behaviors for suspicious actions. We study constitutional black-box monitors: prompted classifiers that detect scheming using only externally observable inputs and outputs, optimized on synthetic data generated from natural-language behavior specifications. We introduce two pipelines for generating synthetic agent trajectories, STRIDE (iterative refinement) and Gloom (agent-environment simulation), from which we generate 1,000 samples each. We optimize frontier LLM monitors on these datasets via prompt sweeps, human refinement, and automated prompt optimization, and evaluate performance on 7,500 held-out trajectories from ControlArena, a suite of grounded environments where agents operate in more realistic contexts. Our results demonstrate that monitors selected purely on synthetic data can generalize to more realistic environments, capturing a meaningful scheming signal. However, we find that performance saturates quickly in our setting, with simple prompt sweeps matching the results of more extensive optimization. Pushing beyond this limit yields no further improvements and instead leads to overfitting.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。