通过约束实现可操控性:编码智能体可扩展监督的基础
Steerability via constraints: a substrate for scalable oversight of coding agents
AI总结:
提出通过访问控制、网络策略和工具强制编码规范等传统工程管理方法约束编码智能体,以降低人类监督成本并提升安全性;实验表明约束基板使后门检测召回率从54.5%提升至90.9%。
摘要:
编码智能体能力强大,但人类监督成为瓶颈。不受约束的智能体会引入安全风险,损害代码库的可扩展性,并增加人工审查成本。我们认为,数十年来用于管理大型人类工程团队的相同方法:访问控制、网络策略、通过工具强制执行的严格编码规范;可以直接迁移到编码智能体上,并且(在token消耗上)比最近的智能体脚手架更便宜。我们基于这一原则勾勒了一个端到端系统,并报告了一项关于可扩展监督的受控实验:一个小型审查者(Gemma 4 e4b)检查一个包含11个后门的Python代码库。召回率从54.5%(无约束,无工具)上升到90.9%(约束基板加上一个约200行代码的`docs` CLI),基板和工具各自独立贡献。我们特意选择Python:在默认保证最少的语言中,基板级别的监督收益最大;这些原则可扩展到Rust等语言。
英文摘要:
Coding agents are capable; human oversight is the bottleneck. Unconstrained agents introduce security risks, erode codebase scalability, and make human review increasingly costly. We argue that the same methods used for decades to manage large human engineering teams: access control, network policies, strict coding conventions enforced by tooling; transfer directly to coding agents, and are cheaper (in token) than recent agentic scaffolding. We sketch a start-to-end system on this principle, and report a controlled experiment in scalable oversight: a small reviewer (Gemma 4 e4b) inspects a Python codebase containing 11 inserted backdoors. Recall rises from 54.5% (unconstrained, no tools) to 90.9% (constrained substrate plus a ~200-LoC `docs` CLI), with substrate and tools contributing independently. We choose Python deliberately: substrate-level oversight gains are largest where the language gives the fewest guarantees by default; the principles extend to languages like Rust.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。