TL;DR
INTERLOCK is a new framework for training long-horizon LLM agents by synthesizing complex tasks using "typed completion graphs." By explicitly modeling the relationships between evidence, decisions, and downstream consequences, it bridges the "completion gap" where agents perform individual actions correctly but fail to finish the overall job.
What Problem Does This Paper Address?
Building reliable agents for "long-horizon" tasks—multi-step workflows like managing a travel request or closing a payroll cycle—is notoriously difficult. Current agents often suffer from a lack of global coherence. They might successfully "book a flight" (local correctness) but forget to "update the budget" or "notify the manager" (global completion).
The authors identify this as a failure to maintain dependencies across fragmented evidence and partially completed states. Most existing training methods focus on tool-use accuracy or short-term planning, which doesn't teach an agent how to carry earlier evidence and decisions through to every affected result in a complex environment.
Methods
The core of the paper is INTERLOCK, a system that uses a Typed Completion Graph to synthesize training data. This graph acts as a blueprint for a task, defining three critical types of relationships:
- Grounding: Connecting environmental evidence (like a travel policy) to the decisions they support.
- Coupling: Imposing joint constraints across different components (e.g., ensuring a schedule and a budget are consistent).
- Realization: Connecting a decision to all the downstream artifacts it must change (e.g., a flight booking must trigger a calendar update).
The workflow, illustrated in Figure 2, involves three specialized agent roles that compile this graph into a resettable workspace, a public request, and a private evaluation rubric.
To ensure high-quality training data, the framework uses a dual-review process:
- Source-coverage review: Checks if the original requirements survived the generation process.
- Public-input review: Ensures the task is actually solvable using only the information provided to the agent.
- Agent-as-Judge: Unlike standard "text-only" judges, this judge has terminal access to run verification scripts and inspect execution artifacts, ensuring that only truly successful trajectories are used for Rejection-Sampling Fine-Tuning (RFT).
Datasets
The authors synthesized a massive corpus of 3,278 tasks spanning 128 domains (e.g., finance, legal, engineering) and 484 task families.
For evaluation, they tested the fine-tuned models on three rigorous, independently authored benchmarks to measure "out-of-distribution" transfer:
- AutomationBench: 600 tasks involving cross-application API orchestration.
- JobBench (Main and Easy): 130 tasks requiring professional deliverable creation.
- Harvey LAB: 1,251 tasks focused on complex legal analysis and document work.
Key Insights and Ideas
- The "Completion Gap" is Structural: The authors argue that failures in long-horizon tasks aren't just about "forgetting" but about a lack of structural constraints during training. By using graphs to force these dependencies, they create "transferable completion experience."
- Agentic Verification is Non-Negotiable: One of the most striking findings is that a judge capable of running code and inspecting files is significantly more effective at filtering training data than a standard LLM-as-judge. This "agentic" filtering led to much higher performance gains on downstream benchmarks.
- Domain Breadth Trumps Raw Volume: The research shows that increasing the number of professional domains in the training set consistently improves performance across all metrics, even when the total number of training trajectories remains the same.
Key Results
The authors fine-tuned two backbones, Qwen3.6-27B and Qwen3.6-35B-A3B, using Interlock-RFT. The results showed significant improvements over the base models and other state-of-the-art baselines like ClawGym:
- AutomationBench: Task pass rates improved by 4.00–4.50 percentage points.
- JobBench: Weighted scores increased by 3.20–6.64 points.
- Harvey LAB: Criterion pass rates rose by 3.89–4.16 percentage points.
Qualitatively, case studies showed that INTERLOCK-trained models were much better at reconciling conflicting evidence (like supply vs. order commitments) and maintaining consistency across multiple ledgers or schedules.
Limitations and Future Work
While INTERLOCK significantly improves task completion, the authors note some limitations:
- Execution Anomalies: About 1.25% of attempts still terminate abnormally due to environment or execution issues.
- Judge Dependency: The quality of the training data is heavily dependent on the "Agent-as-Judge." If the judge misses a subtle logical error in a complex script, that error could be baked into the training set.
- Future Directions: The authors suggest extending this graph-based approach to even more diverse environments and exploring how these completion constraints might be used in online reinforcement learning rather than just offline fine-tuning.
Summary updated