跳到正文
InfoWorld·· 53 分鐘前AI 評分68

AI Agent 不應自行評定工作成果

Your AI agent shouldn’t get to grade its own work

AI 導讀

作者主張 AI Agent 不應自行評定工作成果,業務人員應制定測試規則,並以代理模型未接觸過的案例驗證軟件。Claude Opus 4.8 將發票檢查器的自評分數由略高於 45/100 提升至 100,但新舊版本在研究者提供的同一批 60 張發票上都作出 60 次正確判斷。文中另舉 GPT-5.5 銀行助理自行加入索取內部 ID 的要求,指出測試雖達 100%,卻令兩段測試對話中的客戶放棄查詢。

正文

In a recent experiment, Claude Opus 4.8 built an invoice checker, revised it, and raised its score from just over 45 out of 100 to a perfect 100. That’s roughly a 122% improvement.

Banish the humans! The robots have won.

Well, maybe not. Remember that math teacher in eighth grade who let you grade your own tests? I do. Turns out there’s too much opportunity to cheat in that scenario, just as there is here, though it’s perhaps a different form of cheating. Here, Claude wrote the test. The researchers had 60 invoices of their own, and the original checker correctly flagged every bill that needed review and let the rest through. The revised checker? Same 60 invoices, same 60 correct calls. Claude deserves credit for building a good invoice checker. The thing is, it already had a good invoice checker before it made the “upgrade.”

Hence, I’ll happily let an agent write the code and the tests. What would make me less happy is having the agent pick the only evidence we look at before we ship. If the agent misunderstands what the business wants, which is largely a human matter, its tests can reward it for getting the software wrong.

Perfectly… wrong

Consider the banking assistant in the same study. GPT-5.5 played the developer here: It built and tested the assistant that would talk to the simulated bank’s customers. The bank provided a way to look up a customer by email. GPT-5.5 missed that and instead wrote a test that rewarded the assistant for asking the customer for an internal ID. What?

To get the test to pass, GPT-5.5 programmed the assistant to insist on an internal ID. The assistant eventually scored 100% on GPT-5.5’s tests, and the optimizer reported “nothing_to_fix.” In two of the researchers’ test conversations, the assistant refused the lookup and the customer gave up.

Imagine fixing the assistant so it can find the customer by email, only to have a test complain that it should have asked for an ID. A developer would quite reasonably want to know where that requirement came from. Not the bank. The bank never asked for that restriction. GPT-5.5 wrote it into the test.

Whose idea of success?

Before we get too smug about machines, remember that humans were making similar mistakes far longer. Indeed, developers have been writing passing tests for software that users don’t want for longer than we’ve had LLMs. Nor do I think it’s especially scandalous that a researcher can come up with a harder test than the developer who wrote the code. What’s new is how little effort it takes to produce both a plausible implementation and a pile of reassuring evidence for the same bad assumption. Imagine opening a pull request and finding the new feature, a thoughtful explanation, and 37 green checks. I suspect I’m not the only one inclined to spend my limited review time on a change that looks a little less thoroughly tested.

I ran into a version of this in 2023 when I tried using ChatGPT to help my team answer questions in our developer forums. The answers read well, but it took more time to correct them than to write an answer without AI help in the first place. Today’s models are much better, but I’d still want to know whether the developer who asked the question could use the answer. It wouldn’t occur to me to settle that by asking the author to admire her prose a second time.

There’s a nice example from Honeycomb’s experience with its Query Assistant. The company could tell whether a generated query was valid and whether it ran. It also asked users whether they’d gotten the query they wanted. One user said no. Looking at the request alongside the query that actually ran, the team could see why: The user had specifically asked about something that had failed, and the query omitted the very thing they’d asked about. You could run that query a thousand times without finding a syntax error. The (human) customer spotted a problem the query engine had no reason to see.

This is why I like a detail from Bridgewater’s account of building search for its investors. When people complained about the results, the team collected roughly 200 questions and identified useful documents by hand. They also identified documents that looked useful but weren’t. As I wrote last month, this approach requires people who understand the business. Those judgments gave the engineers an answer key. They could change the search software, run the same questions again, and count how many of the top 10 results people had marked useful. By Bridgewater’s count, that went from about six to nine or more, on average. The search engine got better by a standard that “robots” didn’t get to set.

Give the agent a better assignment

So what would I do with that invoice checker? Or, more important, how should we apply this to business? Well, before asking engineering for a demo, I’d ask someone in accounts payable for two invoices: one they paid and one they stopped. Preferably, I’d ask for invoices that look much the same to an outsider. Suppose both suppliers billed more than the purchase order allowed. One had a signed amendment authorizing the increase, while the other had an email saying an amendment was on its way. I have no idea whether your company treats those as equivalent, but, tellingly, neither does the agent. Someone at your company does, though, and their answer is the beginning of a useful test.

Give the rule and some examples to the agent writing the invoice checker, then let it go looking for trouble. What if the amendment covers a different shipment? What if the buyer signed it after the invoice arrived? An agent that comes back with a question finance hasn’t considered has done something considerably more valuable than earning 100% on a quiz of its own devising. It’s given the company (read: a human) a decision to make.

Could you have a second model do the checking? Sure. Give it the two invoices and finance’s reasoning, then see whether it agrees with finance on cases it hasn’t seen. Give it only the first model’s explanation, however, and you may simply have bought yourself a second opinion from someone who’s read the same bad memo. That’s not helpful.

I’d keep some past invoices, along with finance’s reasons for paying or stopping them, out of reach of the agent writing the checker and run those before release. If a new version gets a different answer, the developer can investigate. Maybe the software got worse, or maybe finance changed the policy last month and the test is now wrong. Either way, somebody has to account for the difference before the change goes live. Once that rule is settled, you can automate the check and let the people in accounts payable get back to paying bills.

Back in 2024, I argued that speed is the killer app. I still think so. The point of doing this work up front is that developers can move a lot faster once they have a test worth passing. In other words, yes, let the agent write the invoice checker. Not only that, let it also write a hundred tests for the invoice checker. But also keep humans in the loop, and before you buy into the results, check how it does on a few invoices that accounts payable picked.

來源:InfoWorld · infoworld.com