ProcBench: Evaluating Process-Level Defects and Control Preservation in LLM Coding Agents
This paper introduces ProcBench, a framework that evaluates LLM coding agents by analyzing process-level defects and control preservation through a standardized ontology and risk-based scorecards, offering deeper diagnostic insights than traditional outcome-only benchmarks across multiple datasets.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are hiring a robot assistant to fix a complex leak in your house.
The Old Way (Current Benchmarks):
Right now, if you ask a robot to fix the leak, you only look at the result: Did the water stop? If the water stops, you give the robot a gold star. If the water keeps dripping, you give it a thumbs down.
But this misses a lot of the story. What if the robot:
- Drank your entire water supply before fixing the leak?
- Poked the same hole in the wall 50 times before finally finding the pipe?
- Forgot where it left its tools halfway through?
- Got stuck in a loop, spinning in circles for an hour before finally succeeding?
If the water stops, the old system says, "Great job!" But in reality, the robot was chaotic, wasteful, and hard to control.
The New Way (ProcBench):
The authors of this paper, ProcBench, say: "We need to grade the robot on how it did the job, not just if it finished."
They built a new scoring system that watches the robot's entire journey, like a referee watching a soccer game, not just the final score.
How ProcBench Works (The Analogy)
Think of a coding agent (the robot) as a chef trying to cook a complicated meal.
1. The "Process Defects" (The Kitchen Mess)
ProcBench looks for specific ways the chef might mess up the process, even if the meal eventually tastes okay. They categorize these messes into four main areas:
Context Management (The Cluttered Counter):
- Ghost Context: The chef keeps staring at an old recipe page that's already been summarized, wasting mental space.
- Oversized Rules: The chef is carrying a 50-page manual of rules in their apron that they don't actually need, slowing them down.
- Thrashing: The chef keeps flipping through the fridge, grabbing ingredients, putting them back, and grabbing them again, never settling on a plan.
Tool-Use Efficiency (The Wasted Movements):
- Duplicate Steps: The chef chops an onion, checks if it's chopped, chops it again, checks again, and chops it a third time.
- Dead Steps: The chef opens the oven, looks inside, closes it, and never actually puts the cake in. The action happened, but it changed nothing.
- Long Chains: The chef takes 50 tiny steps to do something that could have been done in 5.
Workflow Architecture (The Bad Kitchen Layout):
- Wrapper Workflow: The chef has a helper who just passes the salt from the chef's hand to the chef's other hand without doing anything useful.
- Context Coupling: The chef and the sous-chef are so tangled up in each other's tasks that if one sneezes, the whole kitchen collapses.
Tool-Ecosystem Consistency (The Confusing Utensils):
- Inconsistent Interfaces: One spoon is labeled "Soup," another is labeled "Liquid," and a third is labeled "Soup (Hot)." The chef gets confused and uses the wrong one.
- Weak Tools: There's a great electric whisk in the drawer, but the chef never finds it and keeps using a fork because the whisk was hidden.
2. The "Control Preservation" (The Safety Switch)
This is the most important part. Even if the robot is making mistakes, can you (the human) still take over?
- Interpretability: Can you understand what the robot is doing?
- Interruptibility: Can you hit "Pause" without the robot crashing?
- Correctability: If the robot makes a mistake, can you fix it without starting the whole meal over?
- Reversibility: Can the robot undo a bad step?
- Authority Handoff: Can the robot say, "I'm stuck, you take over," and actually let you?
The "Calibrated Scorecard" (The Report Card)
Instead of just saying "Pass" or "Fail," ProcBench gives a detailed report card.
- It doesn't just count mistakes; it calculates the risk.
- It uses a "calibration" system (like a weather forecast). Instead of saying "It might rain," it says, "There is a 70% chance of rain." This helps you understand how serious a mistake really is.
- It gives a score for the Process (how messy the kitchen was) and a score for Control (how safe the kitchen felt).
What They Found
The authors tested this on 200 real-world coding tasks (like fixing bugs in software or building apps) using different AI robots.
- It Works: They found that they could reliably spot these "messy kitchen" behaviors.
- It Reveals Hidden Flaws: Two robots might both finish the task (Pass), but one did it efficiently and safely, while the other was chaotic and risky. The old system would give them both gold stars. ProcBench gives the chaotic one a lower score.
- It's Not Just About the Model: A powerful AI brain (the model) doesn't guarantee a good process. If the robot's "body" (the agent framework) is clumsy, the whole system fails, even with a smart brain.
The Bottom Line
ProcBench is a new way to grade AI coders. It stops us from just looking at the final result and forces us to look at the journey. It asks: "Did the robot solve the problem, or did it just stumble its way to a solution while creating a mess and losing control?"
This helps developers build AI that isn't just smart, but also reliable, safe, and easy to manage.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.