Filed 2026-11-25. Source: Yan, Wang, Chen, Kan, Tan, Chen, Sun, Shao, Chen and Wang, "Neural Agent Compiler: Learning to Schedule Soft Dependencies", arXiv 2611.29262, submitted 22 November 2026.
The idea
Agent orchestration literature is mostly about hard dependencies: operation B cannot legally start until operation A returns, so the scheduler's job is to respect the graph. This paper names the thing that graph leaves out. A soft dependency is information that is not required for an operation to execute, but that would improve it if it arrived first.
Concretely: the agent is about to draft a reply, and a lookup is in flight that might change the draft. Nothing stops it drafting now. The question is whether waiting is worth it.
Current harnesses answer that question with a fixed policy baked into the loop — always proceed (the reactive default), or always wait for everything pending (the plan-and-execute default). The paper's claim is that this is a decision, it has measurable consequences in both quality and resource terms, and it can be learned.
Mechanism
At a designated point in the task — the scheduling boundary — the controller chooses among three execution modes:
ACT — proceed now on what is already known.
WAIT — hold the continuation until the pending information arrives, then proceed.
SPEC — speculate: start the work that stays useful regardless, and reconcile after the observation lands.
For each legal mode the controller predicts a consequence vector: one coordinate for native task quality, plus four describing delay, work and revision consequences in the units of the task interface. Observation masks mark which coordinates are actually measured in each task family, so the model is not asked to predict what the interface cannot report.
Selection is a linear utility over that vector, with non-negative weights on the resource coordinates. The practical payoff of this shape is that the same trained controller serves different deployments: reweight the resource coordinates and a latency-sensitive service gets a different release policy from a cost-sensitive batch job, without retraining.
The value of waiting is priced as the difference between the continuation under WAIT and the continuation under ACT, including the cost of acquiring the information and the delay it imposes. That is the part worth stealing conceptually: waiting is not free patience, it is a purchase, and the thing being bought is the change in the work that follows.
SPEC exists because the ACT/WAIT pair is a false binary whenever part of the downstream work is invariant to the pending fact. The paper treats it as a third comparison rather than a fallback.
Results
The controller is small and cheaply fitted: 90 AppWorld training tasks, 6,000 WebShop training states, 178 tau-squared-bench training tasks. The generative actor is Gemma 4 31B IT, with a second AppWorld panel on GPT-OSS-20B.
AppWorld (417 challenge tasks, 139 scenarios, native assertions; TGC = task goal completion, SGC = scenario goal completion), Gemma 4 31B IT panel:
| Method | TGC /417 | SGC /139 | Tokens (M) |
|---|---|---|---|
| ReAct | 191 | 48 | 64.6 |
| Full-Code-Reflexion | 97 | 20 | 13.7 |
| Plan-and-Execute | 50 | 4 | 30.4 |
| CodeAct | 14 | 0 | 42.9 |
| IPFunCall | 1 | 0 | 38.6 |
| LLMCompiler | 0 | 0 | 2.9 |
| NAC | 276 | 64 | 68.3 |
That is a 44% relative gain in completions over the strongest baseline at roughly comparable token spend. On the GPT-OSS-20B panel the ordering holds but the absolute numbers collapse for everyone (NAC 67, ReAct 55), which is a reminder that the scheduler does not rescue a weak actor.
WebShop (all 500 test tasks):
| Method | Score | Tokens (M) | Calls (k) |
|---|---|---|---|
| LATS | 77.98 | 1,076.4 | 222.8 |
| NAC | 74.69 | 0.222 | 0.377 |
| PG-RNN | 51.26 | 0.681 | 1.5 |
| Rule | 45.29 | 0 | 0 |
Read this one carefully, because it is the more interesting result and it is not a win on score. LATS beats NAC by 3.3 points while spending about 4,850 times the tokens and 590 times the calls. The claim NAC can support is quality per unit of resource, not best quality.
tau-squared-bench (100 held-out tasks: 20 airline, 40 retail, 40 telecom): NAC 59 successes against LLMAgent 41 and ReAct 36 — but at a 200-step allowance where the baselines ran at 30. The paper states the budgets plainly; it is not a matched comparison, and it should not be quoted as one.
Ablations compare adaptive release against fixed-mode controls and against a direct-utility controller fitted without full consequence-coordinate supervision. On TravelPlanner, adaptive release holds the completion rate while using less time than always-speculate. On WebShop, consequence-coordinate supervision improves utility over fixed SPEC and reduces the work actually selected. So both halves earn their place: choosing the release time matters, and predicting the consequence coordinates explicitly beats predicting utility directly.
Tradeoffs
One decision, one boundary. The measured instances make a single learned scheduling decision per task, at a designated soft dependency. This is not a general scheduler. Dependency discovery, ordering multiple pending sources, and jointly scheduling arbitrary executable operations all stay with the interface or a higher-level planner. The paper is explicit about this, and it is the single most important thing to carry forward: the result is evidence that the decision is worth making, not a drop-in scheduler.
SPEC needs a holdable prefix. Speculation is only safe where the executable prefix's externally visible effects can be held until the observation lands. In the benchmark interfaces that holds by construction. Against real external services it means authorized state changes, a reliable commit boundary and outcome feedback to learn from — which is to say, speculation is cheap in a sandbox and an architectural commitment in production.
Actor-specific fitting. The controller is fitted to the consequence distribution of the model that executes the decisions. Swap the actor and the predictions are no longer calibrated. The GPT-OSS-20B panel shows how much the underlying distribution moves between actors.
Repeated boundaries need new data. Extending to successive release points requires training trajectories covering successive observations and commitments, which the measured setup does not provide.
Cheap to fit, if you can measure. 90 tasks and 6,000 states is a remarkably small training cost. The precondition is an interface that reports the consequence coordinates at all — quality, delay, work, revision. A harness with no per-operation accounting cannot fit this controller, which makes instrumentation the real prerequisite.
Failure modes
Quoting the step-allowance result as a matched win. The tau-squared-bench numbers come from 200 steps against 30. Anyone citing "59 vs 36" without that is reporting a budget difference as a method difference.
Reading WebShop as a score win. It is a cost result. The score is lower than LATS.
Speculating against a service that commits. SPEC without a holdable prefix means side effects you cannot retract when the observation contradicts the speculation.
Stale calibration after an actor upgrade. The utility weights stay fixed while the consequence distribution moves, so the policy silently drifts toward the wrong mode.
Mistaking the waiting price for latency. The value of waiting here is the change in the continuation, including acquisition cost. A scheduler that prices only the delay will wait too often for information that would not have changed the next step.
Fitting on an interface that reports one coordinate. With only quality observable, the utility collapses to "always wait for anything that might help", which is the behaviour the paper is trying to improve on.
Assuming the scheduler compensates for the actor. Both AppWorld panels show the gain riding on the actor's baseline competence.
Review checklist
Does the harness distinguish required from merely helpful pending information anywhere in its loop, or is the policy implicitly always-proceed?
Can it report, per operation, the four resource coordinates — delay, work, revision, and acquisition cost — or only total tokens?
Is there a commit boundary that makes holding a speculative prefix safe, and is it authorized for the external services in play?
Who re-fits or re-calibrates when the actor model changes, and what signal tells you the calibration has gone stale?
When comparing a new loop against the incumbent, are the step allowances, execution budgets and information access actually matched? (Both the paper's own strongest-sounding result and its weakest fail this in opposite directions.)
Are the resource weights set per deployment, or inherited from whatever the benchmark optimised?
Related entries
R054 — a source-code study of eleven coding harnesses, for what production loops actually do at these decision points today, as against what the orchestration literature assumes.
R284 — one fixed framework with each memory mechanism ablated separately. The methodological sibling: both papers isolate one harness decision instead of shipping a bundle, and both are more useful for it.
R019 — swarm agents that learn their own coordination, i.e. the same "learn the orchestration rather than hand-write it" move at the multi-agent level.
R121 — self-improving harnesses without a ground-truth verifier, the harder version of the calibration problem that actor-specific fitting raises here.