← Latest papers
🤖 AI

CDR-Bench: Evaluating Faithful Execution of Compositional, Order-Sensitive Data Refinement Recipes

The paper introduces CDR-Bench, a comprehensive benchmark for evaluating LLMs on compositional, order-sensitive data refinement tasks, revealing that current models consistently fail to faithfully execute complex, multi-step recipes due to a lack of procedural reliability.

Original authors: Yuchen Huang, Xiang Li, Zhenqing Ling, Sijia Li, Qianli Shen, Daoyuan Chen, Yi R. Fung, Yaliang Li

Published 2026-07-01
📖 4 min read☕ Coffee break read

Original authors: Yuchen Huang, Xiang Li, Zhenqing Ling, Sijia Li, Qianli Shen, Daoyuan Chen, Yi R. Fung, Yaliang Li

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 have a very smart, well-read assistant (an AI) who is great at following simple instructions. If you ask them to "remove the red ink from this page," they do it perfectly. If you ask them to "fix the spelling," they do that too.

But what happens if you give them a complex, multi-step recipe? Like: "First, remove the red ink, then fix the spelling, then check if the page is longer than 10 lines, and if it is, keep it; if not, throw it away."

This paper, CDR-Bench, is like a giant, rigorous test kitchen designed to see if these AI assistants can actually follow such complex, multi-step recipes without messing up the order or skipping a step.

The Problem: The "Recipe" vs. The "Result"

The authors found that while AI models are good at looking like they followed a recipe, they often fail at faithfully executing the specific order of steps.

Think of it like baking a cake.

  • Atomic Task: "Add sugar." (The AI does this perfectly).
  • Compositional Task: "Add sugar, then mix, then add flour, then mix again." (The AI might add the flour before mixing the sugar, or forget to mix the second time).
  • Order-Sensitive Task: This is where it gets tricky. Imagine a rule that says: "If the batter is too thin, throw it away."
    • Order A: Add flour (makes it thick) -> Check thickness -> Keep.
    • Order B: Check thickness (it's thin) -> Throw away -> (You never get to add the flour).

The AI often gets the final look of the cake right, but it messed up the process of making it. It might keep the cake when it should have thrown it away, or vice versa, simply because it didn't follow the steps in the exact order you asked.

The Test Kitchen: CDR-Bench

The researchers built a massive test called CDR-Bench with over 3,400 different "recipes" covering four real-world scenarios:

  1. Web Refinement: Cleaning up messy web pages.
  2. LaTeX Refinement: Fixing scientific documents.
  3. RAG Preparation: Preparing data for search engines.
  4. Privacy Redaction: Hiding names, emails, and phone numbers.

They created 29 different "tools" (like a tool to remove emails, a tool to fix punctuation, a tool to count words) and mixed them into thousands of different recipes.

What They Discovered

When they tested over 10 of the smartest AI models available today, the results were surprising and a bit worrying:

  1. The "Composition Gap": When the AI had to do just one thing, it was great (around 30-80% success). But as soon as you chained 3 or 4 steps together, its success rate crashed. It's like a musician who can play a single note perfectly but falls apart when asked to play a whole song.
  2. Order Matters More Than You Think: If you swapped the order of two steps (e.g., "hide the name" then "check length" vs. "check length" then "hide the name"), the AI often failed completely. In some tests, fewer than 5% of the models could get the order right every single time.
  3. The "Stop" Button Failure: Many recipes include a step that says, "If the text is too short, stop and delete it." The AI often ignored this stop sign, kept processing, and produced a result it wasn't supposed to.
  4. Thinking Doesn't Always Help: Even when the researchers told the AI to "think step-by-step" or "plan before acting," the models still struggled with the strict order of operations. They could write a good plan, but they couldn't always execute it perfectly.

The Analogy of the "Plausible Lie"

The paper suggests that current AIs are like actors who are very good at improvising a plausible ending.

  • The Goal: You want the actor to follow a strict script.
  • The Reality: The actor reads the script, sees the general vibe, and then makes up the middle parts to get to a happy ending that looks right.
  • The Problem: In data refinement, the "middle parts" (the exact order of cleaning, filtering, and checking) are critical. If the actor skips a step or changes the order, the final "clean" data might look okay, but it's actually broken or unsafe.

The Bottom Line

The paper concludes that we cannot just assume AI is ready to handle complex data cleaning jobs on its own. While they are excellent at single tasks, they lack procedural faithfulness—the ability to stick rigidly to a sequence of instructions without drifting, skipping, or reordering steps.

Until AI can be trusted to follow a recipe exactly as written, humans will likely need to keep a close eye on the "cooking process" rather than just checking the final dish.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →