DESBench: when does hierarchy help?

DESBench runs four coordination protocols for LLM agents on the same simulated factory, and shows that each protocol fails in a different way.

Wang, Yang, Ling, Qian, Zhao · Zhejiang University · arXiv:2605.13172v1 [cs.MA] · 13 May 2026
Key idea

DESBench keeps the factory simulator, the jobs, the breakdowns and the budgets the same. Only the coordination protocol Γ changes: who decides, who may refuse work, and where a failed assignment goes.

The protocol moves the results more than the LLM or the agent framework does. No protocol wins on all four dimensions: centralized is robust but slow, hierarchical is fast but violates budgets, heterarchical is flexible but sends the most messages, and holonic keeps budgets but leaves work unfinished.

To copy text into Obsidian, select it and press Ctrl+C (⌘C on Mac). The page copies it as Obsidian Markdown with callouts, tags, highlights, tables and math. Each figure also has two buttons. Copy DataviewJS copies an interactive block for Obsidian (Dataview plugin, JavaScript queries on). Copy HTML copies a static snapshot of the figure as it looks now.

One job, four protocols core figure

The factory is a tree of agents. One Plant agent sits at the top. Five Area agents sit under it. Twelve Cell agents execute the work. A Cell is a group of machines. This figure follows one work item through each protocol. Select "Commitment fails" to see what happens when the chosen Cell cannot take the work.

Protocol
Case
Steps
Topology A5C12: 5 Areas and 12 Cells, partitioned 4–3–2–2–1. Solid arrows are assignments. Red dashed arrows are rejections or failures that move up. Gray dashed arrows are bid-round messages. The four switches under the tree are the protocol settings from Table 4 of the paper. The figure simplifies the message objects. The fallback targets (Area 4, C10, C7) are examples, not rules from the paper.

What DESBench is

DESBench (Distributed Event-driven Scheduling Benchmark) is a test bed for coordination in a multi-agent system (MAS). A MAS is a team of agents that share one environment and make decisions that affect each other. Here, the agents are LLM controllers that schedule jobs in a simulated factory.

Why it matters

Most agent benchmarks use weakly coupled tasks. An action has a short, local effect. In a factory, an action changes queues, machine setups, transport load and energy use. The effect can show up much later, at a different agent. The authors argue that this coupling is where coordination design starts to matter. Classic scheduling benchmarks assume one central solver, so they cannot compare coordination structures.

The question

The paper asks: when do different coordination paradigms succeed or fail? A paradigm is a pattern for three things: how information flows, who has decision authority, and how conflicts get resolved. The paper tests four paradigms:

  • Centralized: the Plant picks the Cell directly. Cells must accept.
  • Hierarchical: the Plant picks an Area, the Area picks a Cell, and the Cell must accept. A failure goes up to the Plant.
  • Heterarchical: Cells bid for work in a mediated contract-net round. A contract net is a protocol where a manager announces a task, contractors bid, and the manager awards it. Cells may reject.
  • Holonic: the tree stays, but Cells may reject, and the Area first tries a sibling Cell. The Plant acts only when local recovery fails. A holon is a unit that is both a whole and a part of a larger unit.

The model

The world is a discrete-event simulation (DES). A DES changes state only when an event occurs, for example a job release, an operation completion or a machine breakdown. There is no fixed time step. Three runtime parts control the process.

1. Event engine G. It takes the state after the last decisions, x⁺, and runs the simulator until the next point where a decision is necessary:

Here, τk is decision epoch k, and Ek+1 is the set of world events that occurred in between.

2. Event interpreter I. It reads the new events and the new protocol objects Mk+1 (messages, commitments, settlements). Then it selects the agents U that must act and gives each one a protocol context κi:

3. Legal action mask. Each active agent sees only a local observation ωi, never the full state. The protocol Γ sets a mask mΓi that defines which actions are legal:

This mask is how one physical state gives different choices under different protocols. For example, "reject" is a legal Cell action under heterarchical and holonic coordination, but not under centralized or hierarchical coordination.

How the tests work

This section describes how a test instance is built, how one episode runs, what the LLM sees, and what the benchmark measures. The details come from Section 3, Section 4 and Appendices A to F of the paper.

1. Fixed instances

An instance fixes the topology, the route grammar (which stages a job must pass), the arrival process, the failure model, the budgets and the seeds. Only the protocol changes inside one instance. The paper reports four instances. The event trajectories come from real operational datasets that earlier manufacturing benchmarks published (references 26 to 28 of the paper).

InstanceTopologyCoordination stressFailure model
A3C9-13 Areas, 9 Cells, 3-stage routesCross-area trade-off; transport ×1.15Weibull aging
A5C12-15 Areas, 12 Cells (4–3–2–2–1), 4-stage routesBranch pressure: many routing choices; Cells 3, 6, 8, 10, 11 slowed; transport ×1.15Exponential
A5C12-2Same as A5C12-1Cluster pull: Cells 0, 1, 4 fast and 7, 9, 11 slow, which tempts greedy routing; transport ×1.20Weibull aging
A5C12-3Same as A5C12-1Late commitment: late-stage Cells 2, 6, 8, 10, 11 slowed, so early choices cost more later; transport ×1.25Load-dependent
From Table 11 of the paper. All instances allow at most 4 jobs in flight and use fixed WIP, energy and carbon budgets. WIP (work in process) is the number of unfinished jobs inside the factory.

2. One episode

An episode is one full simulation run with one seed. The loop below repeats until all jobs finish or the run stops early.

Event engine G runs the factory until a decision is due Event interpreter I (uses Γ) selects active agents U and context κ Active agents (LLM) see ω, κ and the legal mask Validate and commit illegal reply → fallback controller events E activate action index state x⁺
The decision loop (Section 3.2 and Appendix A). Cyan is the shared simulator, purple is the part that the protocol Γ controls. The simulator code is the same for all four protocols. Agents act only when an event or a protocol message makes a decision necessary, so the loop is asynchronous.
  1. Advance. The event engine runs the simulator: jobs arrive, operations finish, machines break down and get repaired, energy and carbon accumulate.
  2. Activate. The event interpreter selects which agents must act. A world event (a release window, a completion, a budget alarm, a breakdown) or a protocol object (an assignment, a rejection, an escalation) can trigger an activation.
  3. Decide. Each active agent receives a compact JSON payload and returns one action index. Depending on the level and protocol, the action is a backlog selection, an Area or Cell selection, a local dispatch, a rejection, a reroute, a bid or an escalation.
  4. Validate. The runtime checks the action against the legal mask. If the reply is not a legal index, the runtime discards it and uses a contract-safe fallback controller. It records the source of each decision.
  5. Stop. The episode ends when the work is done, or it is truncated because of a deadlock or no progress.

3. What the LLM sees

All frameworks use the same two-message prompt. The system instruction tells the model to return exactly one legal action index as JSON, with no reasoning. Decoding is deterministic, with a short output budget. Below is the paper's example payload for a Plant decision in A5C12 (Appendix B.1):

{ "agent": "plant", "role": "plant", "kind": "area_selection",
  "legal_actions": [0, 1, 2],
  "decision_factors": [
    "Use current context, visible feedback, and working_memory only.",
    "Prefer feasible actions that reduce congestion and future reroute pressure." ],
  "options": [
    {"action": 0, "area_id": 0, "summary": {"active_jobs": 0, "backlog_jobs": 10, "energy_kwh": 0.0}},
    {"action": 1, "area_id": 1, "summary": {"active_jobs": 0, "backlog_jobs": 10, "energy_kwh": 0.0}},
    {"action": 2, "area_id": 2, "summary": {"active_jobs": 0, "backlog_jobs": 10, "energy_kwh": 0.0}} ],
  "context": { "feedback": { "progress": {"released_jobs_total": 0, "completed_jobs_total": 0, "backlog_jobs_total": 10},
               "capacity": {"admissible_for_new_work": true, "busy_machines_total": 0, "down_machines_total": 0} },
               "recent_event_types": ["release_area_selection_window"],
               "selected_job_id": 0, "selected_stage_id": 0 } }
Reply: {"action": 1}

4. Disruptions and budgets

The paper does not inject faults by hand during a run. Disruptions come from the instance's failure model: exponential failures, Weibull aging (the failure rate rises with machine age) or load-dependent failures. Each instance also sets WIP, energy and carbon budgets. A budget violation can appear long after the decision that caused it, because queues and setups carry the effect forward.

5. The experiment grid

The main experiment uses topology A5C12 and its three scenarios. Each of the 4 protocols runs in 2 frameworks (LangGraph and AgentScope) with 3 LLMs (GPT-5.4, Gemini-3-Flash, Qwen-3.5). Each protocol–framework–LLM combination gets 10 seeds per scenario, so 30 episodes. Table 3 of the paper reports the mean over the three scenarios. A3C9-1 is reported separately in Appendix E. All runs used one Windows workstation (Intel i7-12700K, 32 GB RAM).

6. What the benchmark measures

The paper reports 15 primary metrics in four dimensions. The appendix lists many more for diagnosis.

DimensionMetricMeaning
EffectivenessGmk ↓Makespan: final simulation time at the end of the episode
Gtd ↓Tardiness: total lateness of completed jobs with due dates
Gcj ↑Completed jobs per episode
Constraint alignmentGvc ↓Violation count: recorded budget overshoots
Geo ↓Energy overshoot magnitude above the budget, summed
Ged ↓Energy overshoot duration
Gen ↓Total energy use per episode
Coordination efficiencyGds ↓Decision steps per episode
Gcm ↓Protocol-level coordination messages
Gfb ↓Decisions from the fallback controller
Gllm ↓Decisions from the LLM
RobustnessGtr ↓Truncation rate: share of episodes stopped by deadlock or no progress
Gdj ↓Completion debt: unfinished jobs at the end
Gut ↓Overdue tardiness of the unfinished jobs
Gdo ↓Completion debt: unprocessed operations at the end
Table 2 of the paper. ↓ means lower is better, ↑ means higher is better.

Results: each protocol fails differently

Select a metric. Each row is one protocol. Each dot is one framework–LLM pair, and the vertical bar is the mean of the six dots. When the dots of one row stay close together and the rows stay apart, the protocol explains more of the result than the model does.

Instance
Effectiveness
Constraints
Coordination
Robustness
Values from Table 3 (A5C12, mean of three scenarios, 30 episodes per dot) and Table 12 (A3C9-1). Circle = LangGraph, square = AgentScope. Hover a dot for its LLM. The paper reports means only, with no spread or confidence interval.

The paper reads the A5C12 results as follows:

  • Centralized has almost no truncation and the fewest decision steps (about 118 per episode), but the highest makespan (about 76) and tardiness (about 250).
  • Hierarchical cuts makespan to about 62 and tardiness to about 141. Its violation count rises to about 52, against about 32 for centralized. The paper explains this with delays and misalignment between levels.
  • Heterarchical has low truncation and completes many jobs. It sends the most messages: up to 471 per episode with GPT-5.4 in LangGraph, about 4 times the centralized count.
  • Holonic has the fewest violations and the least energy. But it has the highest truncation rate (up to 1.00 with GPT-5.4 in AgentScope) and leaves the most work unfinished. Gemini-3-Flash behaves very differently from the other two models here.

The makespan trap

Makespan is the time when the episode ends. A run that stops early, with jobs unfinished, also ends early. Thus, a low makespan can mean "fast" or "gave up". This plot puts makespan against completed jobs, so that you can see the difference.

Instance
Each mark is one protocol–framework–LLM row of Table 3 or Table 12. Circle = LangGraph, square = AgentScope. Episodes have about 10 jobs, so the right edge is "all work done".

In A5C12, four holonic rows sit in the lower-left corner: short episodes with only 3 to 4 of 10 jobs done. The paper names this effect itself and concludes that single-metric comparisons are misleading. In A3C9-1 the picture flips: holonic rows have the highest makespan (79 on average, against 42 for hierarchical). So the holonic result depends on the instance, not only on the protocol.

Limits and points to check

  1. The constraint totals reward less work. Energy and violation metrics are totals per episode, not per completed job. Holonic runs finish fewer jobs, so their totals are low. This page divided Table 3 energy by completed jobs: in A5C12, holonic uses about 1,285 energy units per completed job, the highest of the four protocols (centralized 1,216, hierarchical 1,129, heterarchical 1,080). Thus, "best constraint satisfaction" is partly an effect of less work. This is this page's own calculation.
  2. Holonic equals hierarchical when no Cell rejects. The two protocols differ only after a rejection. In A3C9-1, the holonic Gemini-3-Flash rows are identical to the hierarchical Gemini-3-Flash LangGraph row in all 15 metrics. A likely reason, which this page infers, is that Gemini never rejected there. This also explains why holonic results depend so much on the LLM: the model's readiness to reject decides which protocol actually runs.
  3. The "centralized scales poorly" claim is hard to see in the tables. From A3C9-1 to A5C12, centralized makespan rises from 55 to 76 (+39 %), and hierarchical from 42 to 62 (+47 %). Centralized tardiness rises 2.2 times, hierarchical 4.0 times. The paper points to Appendix E for this claim, but Appendix E has only the per-instance tables. With only two topology sizes, a scaling trend is weak evidence.
  4. The LLM is a one-shot picker. The prompt forbids reasoning and asks for one action index, with deterministic decoding. Thus, the benchmark tests protocols with a reactive choice model, not agents that plan or talk freely. Results for deliberative agents can differ.
  5. The framework barely matters by design. Both frameworks use the same prompt contract. Many Gemini rows are nearly identical across LangGraph and AgentScope (for example, centralized: 75.4 / 247.9 / 10.0 in both). The "framework" variable is close to an adapter here.
  6. Small episodes, no spread. An episode has about 10 jobs. Table 3 gives means only, with no standard deviation or confidence interval, so small differences between rows can be noise.
  7. "Coordination cost" mixes two counts. The text says hierarchical costs more than centralized. That is true for decision steps (186 against 118) but not for messages (112 against 118).
  8. Simulation only. The plant is simulated on one workstation. The event data come from published manufacturing datasets, but no real line was controlled.

Glossary

Terms used on this page
MAS (multi-agent system)
A team of agents that share one environment and affect each other's decisions.
Plant, Area, Cell
The three decision levels. The Plant is the whole factory, an Area is a group of Cells, and a Cell is a group of machines that executes operations.
A5C12, A3C9
Topology names: 5 Areas with 12 Cells, and 3 Areas with 9 Cells.
Discrete-event simulation (DES)
A simulation that changes state only when an event occurs, not at fixed time steps.
Decision epoch (τk)
A time point where at least one agent must make a decision.
Event engine (G)
The shared simulator that advances the factory and produces world events. It is the same for all protocols.
Event interpreter (I)
The component that selects which agents act at each epoch and what context they get, based on the protocol.
Coordination protocol (Γ)
The rules for authority, information flow and conflict handling. It is the only variable that changes inside an instance.
Protocol context (κ)
The information that the protocol gives an active agent, for example the triggering event or a parent's message.
Local observation (ω)
The part of the world state that one agent can see.
Legal action mask (mΓ)
A filter that marks which actions are allowed for an agent under the current protocol.
Commitment, settlement
A commitment is a Cell's contract to execute a work item. Settlement closes the contract, as accepted or failed.
Contract net
A protocol where a manager announces a task, contractors bid, and the manager awards the task to one bidder.
Escalation
Moving a failed decision up to a higher level.
Reroute
Sending a work item to a different Cell after a rejection or failure.
Holon, holarchy
A holon is a unit that is a whole and also a part of a larger unit. A holarchy is a hierarchy of holons.
Fallback controller
A rule-based path that makes a safe legal decision when the LLM reply is not legal.
Makespan
The simulation time when the episode ends.
Tardiness
The total time by which completed jobs miss their due dates.
Truncation
Early termination of an episode because of a deadlock or no progress.
Completion debt
The work that is still unfinished at the end of an episode, counted in jobs or operations.
WIP (work in process)
The number of jobs inside the factory that are not finished.
Weibull aging
A failure model where the failure rate of a machine increases with its age.

Sources

  • Wang, Yang, Ling, Qian, Zhao (2026), "When Does Hierarchy Help? Benchmarking Agent Coordination in Event-Driven Industrial Scheduling", arXiv:2605.13172v1. Numbers come from Tables 1 to 4, 11 and 12, and Appendices A, B and F.
  • Code link as given in the abstract: github.com/Mr-lander/DESBenchmark.
  • Energy per job, the cross-instance changes and the identical-row check are this page's own calculations from Tables 3 and 12.