用捕获-再捕获法估算 agent 日志中未记录的行为:六项成立条件
Estimating the agent actions that no log recorded: six conditions for capture-recapture over incomplete logs
做 agent 审计的人应该看看这篇:它用流行病学里的捕获-再捕获方法,从几份不完整的日志推算 agent 到底有多少行为没被记录。论文用五项预注册实验告诉你什么时候这个估计可信、什么时候会静默失败,最后给了一份可以直接对照自家部署检查的六条件清单。
arXiv 论文《Estimating the agent actions that no log recorded》提出用捕获-再捕获(capture-recapture)方法,从多份互不完整的 agent 日志中估算未被任何日志记录的行为数量。核心前提是:防篡改证明只能证明日志未被改动,不能证明日志完整,因此在没有可信计数器的情况下,多份独立不完整日志的交集可以推断缺失量。
五项预注册研究验证了该估计何时可靠。在主实验条件下——双独立来源的实时测试装置、遥测中继被反复中断重启、无人工模拟丢包——预注册的单一估计器在 277 次运行中的 269 次将真实计数覆盖在 95% 区间内(Wilson 0.944 至 0.985);另有 23 次运行因完整性问题被剔除。在 223 次运行中,该估计比序列间隙基线更接近真实值;移除终态见证机制后区间覆盖率降至 10。
论文同时给出四种失败模式及其失败时的覆盖率:不精确的记录关联(0.893,未达 0.90 门槛)、无日志记录的通道(0.759)、与行为相关的丢包(0.187)和块状丢包(0.559),且这些失败在输出中均无任何征兆。最终结论是六项可通过审查部署设计(而非依赖估计结果本身)验证的成立条件。对做 agent 审计与安全评估的团队,这提供了一套判断日志完整性可否量化的操作清单。
Estimating the agent actions that no log recorded: six conditions for capture-recapture over incomplete logs
An audit of an AI agent starts from its log, and tamper evidence shows that a log was not altered, not that it is complete. Where no trusted counter numbers every action, the actions missing from every log can still be counted, by capture-recapture over several incomplete logs. Five pre-registered studies establish when that count can be relied on. In a live rig with two uncoordinated originators, whose telemetry relays are killed and restarted and where no loss is simulated, one estimator named in advance held the true count inside its 95% interval in 269 of the 277 runs of the primary condition (Wilson 0.944 to 0.985; the criterion as registered is met). 23 of the 300 planned runs were set aside on integrity: with those counted as not covered it is 269 of 300 (0.857 to 0.926, "not shown"), and post hoc, with the 20 that left a full record scored as they were, it is 288 of 300 (0.931 to 0.977). The point was closer to the true count than a sequence-gap baseline in 223 of the 277 runs, and without the end-state witness the interval covered 10. The bound takes runs as independent although they replay shared sessions, an interval with no upper end would have counted as covering (none occurred), and this is one rig. Four studies on recorded agent episodes with simulated loss show how the estimate fails, each time with no sign in its output: with inexact record linkage (coverage 0.893 against a bar of 0.90), with a channel that no log itemises (0.759), and, post hoc, with loss that depends on the action (0.187) and loss in blocks (0.559). The result is six conditions, checked by reviewing a deployment's design and not by the estimate, under which the actions an agent's logs missed can be counted.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include AI safety, Agent, arXiv, capture-recapture.
Source attribution: curated from arXiv cs.AI (@Caio Theodoro).