金融审计智能体如何交代判断依据,Fieldguide 的四项控制
原题Your Financial Agent Needs to Show Its Work - Anirudh Veeraragavan, Fieldguide
推荐理由Fieldguide用对账任务串联授权、可重放执行和版本化证据,适合审计类Agent设计者建立判断可追溯框架。
看前速览
Fieldguide 的安全负责人用一个虚构的银行对账案例,说明团队怎样让审计智能体的每一项判断经得起复核。
授权取决于记录状态
即使重跑拿到有效的新证据,也未必有权替换人工已复核并签核的结果。
让单项判断可以重建
给每一步分配稳定 ID,记录输入和输出。复核者可以单步重跑,并区分确定性的匹配与模型的提取或判断。
记清证据身份,复查评估基准
仅有银行对账单页码远远不够,应保留文件 ID、版本和哈希,并检查基准标签是否受旧判断、差证据或规则变化影响。
交给人工时说明疑点
只有出现新旧结果冲突或证据不合规等例外才打断人工,并说清要调查什么,比如一笔用了 11 个工作日才结清的存款。
完整摘要
审计检查员问的是某一笔业务为何可以通过,整体评估分数回答不了这个问题。Anirudh Veeraragavan 用银行对账串起四项控制:智能体可以提出修改,但已签核的记录不能被覆盖。每一步要可回放,以区分确定性代码与模型判断。引用要能定位到证据的具体版本和内容,连人工复核过的评估基准也要检查是否过时。新旧运行结论冲突或证据不合规时,把具体疑点交给人工。
章节
文字稿
简要说明Brief Description
Fieldguide 首席安全工程师 Anirudh Veeraragavan 通过银行对账的示例,展示审计员如何重建 AI 代理的决策过程。Fieldguide lead security engineer Anirudh Veeraragavan uses a bank reconciliation example to show how an auditor can reconstruct an AI agent’s decisions.
目录Table of Contents
- 简介Intro
- 构建财务审计智能体Building a financial audit agent
- 当有人问为什么When someone asks why
- 为何这很重要:佩里格林欺诈案Why it matters: the Peregrine fraud
- 审计员能跟踪该代理吗?Can an auditor follow the agent?
- 示例:银行对账Example: a bank reconciliation
- 控制项 1:授权Control 1: Authorization
- 控制措施 2:执行控制Control 2: Execution control
- 控制 3:证据来源信息Control 3: Evidence provenance
- 控制措施 4:评估完整性Control 4: Evaluation integrity
- 代理何时应停止并询问When the agent should stop and ask
- 你需要全部四个。You need all four
- 超越审计:信用与反洗钱Beyond audit: credit and AML
简介Intro
我叫阿尼鲁德,是 Fieldguide 的首席安全工程师。我们正在界定智能体审计意味着什么。在审计中,审计意见就是最终成果,而意见的质量取决于其背后的依据。因此,关键不在于你是对还是错,而在于你提出这些结论时所遵循的决策过程。这就引出了一个问题:智能体的决策过程是什么样的?My name is Anirudh, and I’m lead security engineer at Fieldguide, where we’re defining what agentic audit means. So in audit the opinion is the product and opinion is only as good as the basis behind it. So it's not so much whether you're correct or wrong. It's really about the decision-making process behind what you're putting forward. And so this raises the question, what does an agentic decision-making process look like?
构建财务审计智能体Building a financial audit agent
让我们来构建一个财务智能体。我们以财务审计为例,具体来看一项审计程序:测试银行对账。呃,如果在座有审计师,请包涵我这里做的简化说明。银行对账就是把客户账簿上的现金余额与银行记录的现金余额进行比较。任何差异都应该用在途存款、未兑现支票之类的项目来解释。基本上,你要确保客户所说的财务状况确实与实际情况相符。那么,如果你想为这项工作构建一个智能体,要怎么做呢?因为这类工作可能既繁琐,工作量也很大。你要做的就是先取得客户的账簿。Let’s build a financial agent. So we'll take a financial audit use case and we'll take this specific audit procedure where we're testing a bank reconciliation. uh to any auditors in the room, please bear with me on the simplification. But bank reconciliation is where you take the client's book and the cash balance that they have on those books and you compare it to the cash balance that their bank has. And any differences should be explained by things like deposits in transit, outstanding checks. Basically, you want to make sure that whatever the client is saying is their financial reality actually matches the truth. So, how would you kind of build this out if you wanted to build an agent for this? because this can be kind of tedious high volume work. So what you would do is you would take your client's book.
你可以拿到调节项目清单,收集证据,然后交给你的智能体,让它根据某种审计方法进行匹配。你甚至可以提供往年审计作为示例,也可以根据之前审核过的审计构建评估集,然后把所有结果呈现给人工审核员,最终由其签字确认。这完全合理,是个很棒的方法。于是你知道,我们把这一套构建起来,评估效果出色、指标表现优异、用户满意、皆大欢喜;我们将它正式发布,然后故事就到此为止了。You would take the list of reconciling items. You would take evidence. You would give it to your agent which has some audit methodology for doing the matching. You can even have some prior year audits as examples. You can even build an eval from previously reviewed audits and then you kind of surface everything to a human reviewer to finally sign off. This is totally reasonable. Great approach. So you know we build this out. We have great evals, great metrics, users are happy, everyone wins, we ship this to GA and the story ends there.
当有人问为什么时When someone asks why
直到你的审计被选中接受检查,有人问:“为什么这就足够了?”我不在乎你的评估结果怎么说,也不在乎你的指标怎么说,甚至不在乎你的用户怎么说。针对这次特定的审计、这套特定的测试程序和这份特定的证据,你是如何得出这个决定的?Until your audit is selected for inspection and someone asks, “Why was this sufficient?” I don’t care what your evals say. I don't care what your metrics say. I don’t even care what your users say. For this specific audit, for this specific test procedure, for this specific piece of evidence, how did you arrive at this decision?
为何重要:Peregrine 欺诈案Why it matters: the Peregrine fraud
你可能会想,这是不是有点小题大做了?毕竟,这种事在现实中可能不太常发生。但问题是,金融欺诈确实是真实存在的。Peregrine Financial Group 是一家位于爱荷华州的经纪公司——准确地说,曾经是。二十多年来,他们一直在进行银行账户欺诈。账面上,他们声称自己有超过 2 亿美元。可实际上,银行账户里只有 500 万美元。等到这场欺诈曝光时,2 亿美元几乎就这么凭空消失了。我不是要在这里追究这件事究竟是谁干的、是什么原因,或者为什么会发生。但这件事告诉我们,在金融行业,犯错的后果相当严重。因此,我们需要对自己做出的决策有充分的信心,也需要能够为这些决策负责,以防将来真的出了问题。You may be wondering whether this is overkill. You know, this is maybe not going to happen that much in practice. But the thing is, financial fraud is very much real. Peregrine Financial Group is, or I guess I should say, was a brokerage firm that was uh based in Iowa. And for over 20 years, they committed bank account fraud. On paper, they claimed they had over $200 million. And in reality, at the bank, there was only $5 million. And when this fraud came to light, $200 million basically just vanished. And I'm not here to litigate who or what or why this happened. But what this shows us is that in the financial industry, the consequences of being wrong are quite severe. So we need to have confidence behind the decisions that we make and we need to be able to stand behind them in case things do go awry in the future.
审计人员能否跟踪该代理的操作?Can an auditor follow the agent?
审计行业有一个定义,我们可以从中汲取灵感。他们认为,一位此前没有做过这项工作的资深审计师,应当能够理解你执行了什么测试、收集了哪些证据,以及得出了什么结论。换句话说,一位初次接触这项工作的资深审计师也能循着线索理解整个过程。我们可以将这个理念应用到智能体领域:一位初次接触这项工作的资深审计师,也应当能够跟进智能体的工作。要做到这一点,就需要在授权、执行控制、证据溯源和评估完整性方面建立相应的控制措施。归根结底,这一切都取决于能否判断何时应让智能体停止,由人来做决定。这就是决策保障的一种模式。The audit industry has a definition we can take some inspiration from. They say that an experienced auditor who hasn't done the work before should be able to understand the test you performed, the evidence you collected, the decision that was reached. In other words, an experienced auditor new to the work can follow it. And we can adopt this to the agent world where we say an experienced auditor new to the work can follow the agent. And in order to follow the agent, you need these different controls in place around authorization, execution control, evidence provenance, and evaluation integrity. And ultimately, all of this rests upon knowing when the agent should stop and the human should decide instead. So this is a pattern for decision assurance.
我会再大致讲一遍这个财务审计示例,不过它其实适用于远不止这一领域的许多其他场景。And I'll kind of walk through this financial audit example again, but it really applies to many more domains than just this one.
示例:银行对账Example: a bank reconciliation
我们正在为一家虚构的货运公司结算 2026 年的账目。根据银行账面,他们有大约 290 万美元;而公司账面上有 270 万美元。这一差额由 41 项调节项目解释。我们就拿这四项——两张支票、两笔存款——来看看我们的智能体会怎么处理,并逐一走查这些不同的控制措施,确保我们的决策经得起推敲。We’re closing the books for 2026 for a fictional freight company. So, as per their bank, they have around $2.9 million. On their books, they have $2.7 million. And the difference is explained by 41 reconciling items. So, we'll take these four, two checks, two deposits, and let's kind of see what our agent does and let's walk through these different controls to ensure we're making defensible decisions.
控制 1:授权Control 1: Authorization
那么,第一个问题与授权有关。你可以想象,有一位人工审核员正在逐项审查这些对账项目。他们把其中一项检查标记出来,说:“嘿,我觉得这里可能有问题。”几天后,我们收到了一些补充背景信息,也获得了更多关于为什么这并不属于例外情况的信息。这些信息触发了代理运行,随后代理将其改写为“不属于例外情况”。人工已经审核并签字确认,但审核所依据的内容现在变了。代理并没有做错任何事。它拥有相应权限,也掌握了证据,并得出了正确结论。但在这个特定情况下,它不应该覆盖任何内容,因为审核员声称自己审查过的内容,已经和他们实际审查的内容不一致。So, the first one is around authorization. So you can imagine that a human reviewer is kind of going through these reconciling items. They flag one of these checks as hey I think there may be something wrong here and a few days later we get some additional context. We get some more additional information around why that is not an exception which triggers the agent run and then it rewrites that to no exception. A human already reviewed and signed it, but the content behind the review has now changed. The agent didn't do anything wrong. It had the permission. It had the evidence. And it arrived at the right conclusion. But in this specific instance, it shouldn't have overwritten anything because now what the reviewer has claimed to review doesn't match what they actually looked at.
授权要判断的是:在当前状态和时间点,是否允许对这个对象进行这次工具调用。智能体应该可以以自身身份起草尚未审核的行,但不能覆盖人工审核过的内容,也不能取代人工所做的操作。它必须以独立建议的形式存在,而不能成为具有权威性的事实。Authorization asks whether this tool call is allowed for this object, in this state, at this point in time. The agent should be allowed to draft unreviewed rows as itself, but it cannot overwrite what a human reviewed. It cannot replace what a human did. It has to kind of exist as its own suggestion as opposed to its own authoritative truth.
控制项 2:执行控制Control 2: Execution control
下一个控制点围绕执行控制。嗯,你可以想象一下,到了 2027 年,我们做了这项工作,没有发现任何异常;然后也许一两年后,我们被选中接受审查。我们重新运行一遍,结果却完全不同。于是问题就来了:发生了什么?这怎么会发生?我们有日志,知道智能体获取了证据,进行了一些推理,并输出了最终答案。但这些还不足以重现 2027 年发生的情况,并与 2028 年的情况进行比较,找出差异。我们真正需要的是一份记录,记录当时发生的每一个步骤。这就是这次运行的完整记录,而且你可以逐一检查过程中的每个环节。因此,这次运行是一连串记录下来的步骤,每个步骤都有一个 ID,帮助你了解这里具体执行了什么。The next control is around execution control. Uh so you can imagine you know in 2027 we kind of go through this exercise, we have no exception and then maybe a year or two later we're selected for review. We rerun it and we get a completely different result. So now the question arises like what happened, and how could it have happened? So we have logs. We know that the agent fetched evidence. It did some reasoning. It output its final answer. But that's not enough to reconstruct what happened in 2027 against what happened in 2028 and identify the gap. So really what we need is a record. We need a record of these were the steps that happened. This is the culmination of the run and you can interrogate each point along the way. So this run is a chain of recorded steps where each step has an ID that kind of lets you understand what is being done here.
输入是什么?输出是什么?你可以清楚地区分确定性步骤——比如用代码获取某个条目或进行匹配——和使用智能体从 PDF 中提取某个字段,或者得出最终结论的步骤。有了这条记录下来的步骤链,你就可以单独重新运行某个步骤,而不必重跑整个流程并观察结果。这样一来,你就能更有把握地比较不同时点的运行结果,因为我们现在可以将新运行与旧运行进行比较,找出具体是哪一步出了问题。在这个例子中,我们看到原来的运行实际上是正确的,尽管这次较新的运行结果是错的。不过,关键其实不在于你是否正确。What are the inputs? What are the outputs? And you can clearly delineate between deterministic steps where you're using code to fetch an item or to do a match versus where you're using the agent to extract, you know, a field from a PDF or to arrive at the final conclusion. And given this chain of recorded steps, you can then rerun individual steps as opposed to the whole thing and seeing what happens. And this gives you much stronger assurance around being able to compare runs against different points in time because now we can kind of compare our new run against our old run, identify the exact step where something went wrong. And in this example, we're seeing that our original run was actually correct, even though the run of this newer run is wrong. But again, it's not so much about whether you're correct or not.
关键在于能够有十足把握地证明你知道自己是对的。模型选对答案并不只是碰巧。你可以清楚地展示自己执行了哪些步骤;重新运行这一步时,也能说明为什么结果现在与最初运行时有所不同,而模型当时确实得出了正确答案。It's about being able to demonstrate with a high level of conviction that you know you were right. You didn't just get lucky that the model picked the right answer. You can clearly show that you had these steps and when you rerun this step, this is why there's now a difference compared to when we originally ran it, the model did arrive at the right answer.
控制项 3:证据溯源Control 3: Evidence provenance
接下来,我们来看证据溯源。在这个例子中,模型得出了错误结论。它说这项内容有效,但实际上它指向了错误的账户。嗯,如果你看这条引文,模型声称它在一月份银行对账单的第二页找到了这条证据。问题是,这条引文并没有什么用,因为你可以想象,在一个大型项目中,可能有很多同名的文档。即使文档名称是唯一的,模型查看的是哪个版本?是谁上传的?它到底来自哪里?这甚至与幻觉无关。它可能是一份真实的文档,但我们需要进一步了解这份文档背后的上下文。引文代表的是身份,而不只是一串字符。Next, we have evidence provenance. So in this example, the model arrived at the wrong conclusion. It said that this was valid, but it actually pointed to the wrong account. Um, and if you look at the citation, the model claims that it found this piece of evidence from January bank statement page two. And the thing is this citation isn't useful because you can imagine if you have a big engagement, you could have many such documents with the same name. Even if this is a unique document name, what version did the model look at? Who uploaded this? Like where did this even come from? And this isn't even related to hallucination. It can be a real document but we need to understand more about the context behind that document. A citation is identity. It’s not just a string.
它需要一个特定的 ID、文档的特定版本,以及该文档内容的哈希值。能够明确追溯智能体从何处获取某项内容,就可以据此制定规则,规定允许使用哪些证据,或对证据设定任何你希望施加的质量要求。例如,我们可能只希望使用直接来自银行的证据,而不是客户上传的材料,因为客户可能会以某种方式篡改这些材料。It needs a specific ID, a specific version of the document, and a hash of its contents. And being able to concretely tie where an agent picks something from allows you to then assert rules around the evidence that's allowed or any kind of um quality constraints you want around it. For example, we may only want evidence that's sourced directly from the bank as opposed to something that the client uploaded where they may be able to tamper with it in some sort of way.
控制项 4:评估完整性Control 4: Evaluation integrity
最后,我们来谈谈评估的完整性。我们声称自己有一套评测数据,也就是基于去年经过复核的审计结果整理出的黄金数据。但审计经过复核,并不一定就意味着结果正确。因此,审查这套数据也很重要,因为其中的错误可能会惩罚正确的智能体,也可能会奖励错误的智能体。这里有一些例子,说明经过复核的审计中可能存在后来被推翻的案例;可能有些决定是基于不可靠的证据作出的;甚至评估方法也可能发生变化。这些都说明,你的底层黄金数据可能并没有你以为的那么可靠。实际情况可能是,一个看起来相当不错的总体得分,掩盖了许多底层问题。And finally, we arrive at evaluation integrity. So, we claimed we have this eval, this gold data that was based on last year's reviewed audits. But just because the audit was reviewed doesn't necessarily mean it's correct. So it's important to audit that data set as well because mistakes in it could punish a right agent or it could reward a wrong agent. So there's some examples here of how in the reviewed audit you could have examples that were then superseded. You could have decisions based on bad evidence or you could even have changes in methodology. And all of these are examples of how your underlying gold data may not be as gold as you thought it was. And what this can kind of look like in practice is that this kind of headline great overall score can hide a lot of underlying failures.
所以在这个案例中,我们的得分是 97%,但九个未通过的案例中,有四个是因为评估本身就错了。也就是说,我们的智能体实际上比预期表现得更好。但还有 12 个案例,评估结果认为这些案例不应有例外。由于一些业务规则或审计方法发生了变化,这些评估结果现在是错的。也就是说,在这些案例中,智能体确实漏掉了问题,表现不正确。因此,我们无法从分数中判断智能体的表现究竟比预期更好还是更差。这个分数掩盖了许多有关智能体实际表现有多有效的重要背景信息。So in this case we have 97% but out of nine misses, four were because the eval itself was just wrong. So our agent is actually doing better than expected. But there are 12 examples where our eval said this should be no exception. But because of some business rule changes or because of some audit methodology changes these are now wrong. So these are examples where the agent actually missed and was incorrect. So what we see is we don’t know from the score whether our agent is doing better or worse than expected. The score is hiding a lot of important context behind how effective our agent actually is.
代理应何时停止并询问 When the agent should stop and ask
最终,智能体总有需要停下来向人类求助的时候。这些情况都与我们在前面几个控制措施中讨论过的例子有关:如果它试图修改人类已经审核过的工作;如果新一轮运行的结果与之前一轮不一致;如果证据不符合这些不同的规则——这些都是出了问题、需要人类介入判断究竟发生了什么的例子。关键在于,这些升级处理的情况应该很容易核实,但不一定要让人轻易批准。我们知道,自动化偏见确实存在。如果你不断向人类发出提醒,他们最终就会开始逢事都点“是”。因此,我们只希望标记特殊情况,而且这些情况应该明确指出问题是什么,以及需要有人在哪里介入。And you know ultimately there is a point where the agent has to stop and ask a human. And all of this ties back to kind of examples we've already covered through these past few controls. If it's trying to change work a human has already reviewed. If a new run is disagreeing with a previous run, if evidence is not conforming with these different rules, all of these are examples where something has gone awry and a human needs to step in to determine what's happening. And the key thing here is that these escalations, they should be easy to verify, but not necessarily easy to approve. We know automation bias is real. If you continually ping the human, they'll just start hitting yes to everything. So, we only want to flag exceptional cases. And those exceptional cases should very clearly call out like what is wrong and where does someone need to step in.
这里的例子是,我们有一笔存款。它在 11 个工作日内完成了清算,同时系统指出了差异所在以及需要调查的事项。人工完成审核并最终做出批准决定可能需要一些时间。不过没关系,因为我们知道,在 80% 的情况下,智能体都能完成所需的工作。对于剩下 20% 需要人工介入的情况,我们要确保他们在关键环节介入,并且掌握做出正确决定所需的背景信息。So the example here is we have this deposit. It was cleared in 11 business days but it's calling out what is the discrepancy and what needs to be investigated. It may take some time for the human to do this review and to eventually arrive at an approval decision. But that's okay because we know 80% of the time the agent will do what it needs to do. And for those 20% of cases when we want the human to step in, we want to make sure they're stepping in where it counts and they have the context they need to arrive at the right decision.
这四项你都需要。You need all four
所以,如果我们退一步来看,我们已经介绍了这四项控制措施,而由此得出的结论是:要确保结果经得起审查,四项控制措施缺一不可。否则,就可能出现疏漏。如果跳过授权环节,就可能出现这样的情况:有人审查过某项内容,但之后答案却在他们毫不知情的情况下发生了变化。如果跳过执行控制,你或许能得出正确答案,却无法说明是怎么得出的。这时候,还不如说是碰巧猜对了。如果跳过证据溯源,你可能会得到错误答案,却不知道错误从何而来,因为无法将引文追溯到具体来源。而如果跳过评估完整性,你可能会得到一个亮眼的旗舰指标,比如 97%,却完全不知道实际情况如何。So if we kind of take a step back, we've covered these four controls and what we arrive at is defensibility requires all four controls. Otherwise, things can slip through the cracks. If you skip authorization, then you could have uh a scenario where someone reviewed something, but then the answer changes out underneath them. If you skip execution control, you can arrive at the right answer, but you can't show how. You may as well attribute it to luck at that point. If you skip evidence provenance, you can have the wrong answer, but you don't know where the wrong answer came from because you can’t tie the citation back to a concrete source. And if you skip evaluation integrity, you can arrive at a great flagship number of 97%. But you have no idea what the reality is.
你的表现比那个好吗?比那个差吗?你所知道的只是可以参考这个数字。Are you doing better than that? Are you doing worse than that? All you know is you have this number to go off of.
超越审计:信贷与反洗钱Beyond audit: credit and AML
这种模式不仅适用于审计,也适用于许多其他领域。在信贷领域,如果你要批准或拒绝一笔贷款,就可以追问:你为什么做出这个决定?在反洗钱领域,如果你要关闭或升级处理一条警报,依据是什么?这四个问题同样适用于不同领域。变化的是名词,不变的是原则。当你做出可能产生重大影响的财务决策时,就必须能够说明自己是如何得出结论的。“模型这么说的”可不能作为理由。感谢各位抽出时间。This pattern scales beyond audit into many other domains. In credit, if you're approving or declining a loan, you can interrogate that. You know, why did you make that decision? In AML, if you’re closing or escalating an alert, what was the evidence? These same four questions apply in different domains. The nouns change, but the principles are the same. When you’re making a financial decision with potentially large consequences, you need to be able to defend how you arrived at it. “The model said so” won’t cut it. So thank you all for your time.
嗯,这些就是我们在 Fieldguide 正在做的一些事情。如果你感兴趣,我们正在招聘。如果你想进一步聊聊,欢迎在会议上来找我。最后,感谢大家抽出时间,希望大家今天接下来的时间过得愉快。Uh these are some of the things we're working on at Fieldguide. So if you're interested, we are hiring. If you want to talk more about this, feel free to find me at the conference. But yeah thank you all for your time and hope you enjoy the rest of today.