Skip to content

Modular Dialogue Architectures: Routing, Arbitration and Fusion

Part of Dialogue systems.

A modular dialogue system has a central dialogue manager that coordinates several specialist modules: response generators, sub-dialogue systems or agents. The alternative is a monolithic system in which one model handles everything. This note follows the modular design from the Alexa Prize socialbots to LLM systems, and collects the evidence on when it pays off. The frame-based pipeline it builds on is in Frame-based dialogue. The question of where an LLM goes inside it is in LLMs as components.

Provenance. The starting point was a ChatGPT research conversation, Research continuation (2026-11-11). Claims marked checked were verified against the papers. The rest come from that conversation and are marked unchecked.

The Alexa Prize design: many generators, one selector

In the fourth Alexa Prize SocialBot Grand Challenge (2020-21), “most teams have continued to use the overall socialbot framework of NLU, dialog manager, response generators, and ranking multiple candidate responses in order to select the bot’s response”. (Hu et al. 2021, §3.1; checked)

user utterance → NLU → dialogue manager → response generators (several, in parallel)
                                         → candidate responses → ranker / selector → reply
  • Response generators mix templates, rules, retrieval and neural models. Teams added neural generators (DialoGPT, GPT-2 or BlenderBot variants) mainly for the long tail: out-of-domain utterances that their other generators didn’t cover. (Hu et al. 2021, §3.1.4)
  • Response selection was each team’s own job, because Amazon’s CoBot toolkit didn’t provide one. (Hu et al. 2021, §3.1.5)
    • Athena: a BERT-based ranker trained on Alexa Prize data
    • DREAM: rule-based selection
    • Chirpy Cardinal, Genuine, Alquist and Proto: DialogRPT
    • Viola and Proto: a poly-encoder. Viola’s fine-tuned poly-encoder beat CoBot’s evaluator.
  • Symbolic understanding was tried as well. Emora parsed utterances into predicate-argument logical forms and grew a knowledge graph of the conversation turn by turn. Being hand-crafted, it was precise where it had coverage but “lacks robustness”. (Hu et al. 2021, §3.1.1)

This is open-domain chat, but the structure carries over to closed task sets. A booking assistant can have generators for the booking flow, clarification, knowledge questions, corrections and recovery, with a policy choosing among their proposals.

LLM-era continuations

All unchecked, from the conversation:

  • Alquist 5.0 (Czech Technical University, 2023) keeps its dialogue trees and topic selector and adds a neural generator (Barista). It describes four ways to mix authored and generated dialogue, including LLM turns inserted into the trees. (Kobza et al. 2023)
  • Chirpy Cardinal, Dialogue Distillery (Stanford, 2023) uses an LLM to generate structured conversation graphs. CAMEL is the graph language, Goldfinch generates nodes, and Kingfisher precomputes replies to likely next user turns. (Chi et al. 2023)
  • Athena 3.0 (UC Santa Cruz, 2023) and HOKIEBOT (Virginia Tech, 2023) combine LLM generators with existing strategies, rankers and long-term user state. (Fan et al. 2023; Shen et al. 2023)
  • Information State Update + Harel statecharts + LLMs is classical dialogue management with the LLM inside, kept for control. (Maraev et al. 2025)
  • Rasa CALM: the LLM turns messages into commands, and predefined flows execute the business logic (see Frame-based dialogue). (Rasa)

Three ways to combine modules

ApproachHow it worksMain research problem
Early routing (module selection)Pick one module before anything is generatedSelection accuracy, given the dialogue context
Late arbitrationSeveral modules propose responses or actions, and an arbiter picks oneRanking candidates, keeping them consistent
FusionCombine responses, actions or dialogue flowsKeeping state coherent and transitions valid

The Alexa Prize ranker designs are late arbitration. The conversation notes that most recent module-selection research studies early routing, so it doesn’t test the Chirpy-style design (unchecked). The taxonomy itself is the conversation’s framing, not a standard one.

A design rule that follows for task systems: generators propose, the policy disposes. Any module may propose an action, but only a validated policy decides what executes. This is the same split as in the action policy and execution gates of the draft pipeline.

Evidence

Modular vs monolithic LLM systems: clem:todd

clem:todd runs three architectures in one evaluation framework, with the same model inside each. (Kranti et al. 2025; checked)

  • Monolithic: one LLM does everything.
  • Modular-Prog: a programmed dialogue manager calls LLM-powered modules for intent detection, slot extraction, the dialogue manager’s sub-steps and generation.
  • Modular-LLM: the same modules under an LLM dialogue manager.

The tasks are 117 booking tasks from MultiWOZ 2.2. The paper also re-evaluates two earlier systems, Xu et al. 2024 and Hudeček & Dušek 2023. (Kranti et al. 2025) Booking accuracy (Kranti et al. 2025, Table 3):

ModelMonolithicModular-ProgModular-LLM
GPT-4o0.810.650.84
Qwen2.5-32B0.710.410.68
Llama-3.3-70B0.690.430.52
Llama-3.2-3B0.050.000.02

There is no single winner, and the authors’ explanations point in two directions:

  • Modular helps GPT-4o. Most of its monolithic failures are wrong output formats on train-domain constraints (“leave after”, “arrive by”), which then cause database failures. The modular decomposition “helps the model reliably follow schema-specific outputs”.
  • Monolithic helps open-weight models. Their modules “operate without access to the full dialogue history”, which hurts their ability to satisfy goal constraints. As monolithic systems they reach up to 0.95 booking accuracy on single-domain dialogues (Qwen2.5-32B) and drop on multi-domain ones.
  • Small models fail at the format. Most conversations are aborted early because the model doesn’t follow the expected response format.

The paper also reports token and FLOP cost per dialogue (Table 4) and latency (Table 5). The Modular-Prog configuration with GPT-4o is by far the most expensive in tokens. (Kranti et al. 2025)

For LLMs as components this means the per-stage pattern can help, but mainly when it constrains output formats. It can also hurt, when splitting the work cuts modules off from the dialogue history.

Routing between modules

  • Context matters for module selection (checked). Nehring, Berk and Hillmann build a modular system from MultiWOZ 2.2, with one module per domain. (Nehring et al. 2023b) Selecting the module from the current utterance alone gives 92.6% micro-F1. Adding the last four turns gives 99.1%. (Nehring et al. 2023b, Table 1) The paper motivates this by noting that distributing a system across several dialogue systems “often results in a decreased performance”, citing the IWSDS paper below. (Nehring et al. 2023b; Nehring et al. 2023a)
  • Modularization costs accuracy (checked). Module Selection: A New Task for Dialog Systems combines Rasa, Dialogflow and IBM Watson Assistant agents under a central selector. (Nehring et al. 2023a) Intent-detection F1 falls by 2.98% to 17.34% against a non-modular system, depending on the models used. The authors trace the large drops to IBM Watson Assistant, which fails on a few subsets. With the two strong modules alone, the drop is 2.98% to 6.79%. (Nehring et al. 2023a, §6.3, Table 3)
  • Accurate routing isn’t enough (unchecked). A 2026 Scientific Reports study of a swarm-style orchestrator over specialist agents with shared state reports that a system can route accurately and still fail to update slots or maintain state. (Khan et al. 2026)

Evaluating dialogue flows

These matter when flows are generated by an LLM, as in Dialogue Distillery, or merged from several sources (unchecked):

  • FuDGE (2024 preprint) scores a dialogue graph by how well it covers observed conversations and how complex it is. (Mirtaheri et al. 2024)
  • TD-EVAL (SIGDIAL 2025) adds turn-level checks of state consistency and policy compliance. (Acikgoz et al. 2025)

Open questions

  • No study in hand compares early routing, late arbitration and fusion with the same LLMs, tasks and conditions. The conversation proposes comparing:

    1. a single LLM with tools
    2. an LLM with an explicit state machine
    3. several generators with shared state and a late arbiter
    4. the same with an LLM arbiter

    The comparison would measure task success, recovery from interruptions, slot preservation, policy violations, latency and cost. clem:todd’s framework is a ready harness for it. (Kranti et al. 2025)

  • Does late arbitration beat early routing when users change goals mid-conversation? Example: “Book a flight to London. Actually, make it Paris, and what’s the baggage policy?”

  • clem:todd’s open-weight results suggest the cost of modularity is lost context. Would modules that share the full dialogue state close that gap? (Kranti et al. 2025)

Further reading

  • Elizabeth 2024, Conversational Agents for Task-Oriented Dialogue – discusses the per-stage prompting of Hudeček & Dušek 2023, which clem:todd re-evaluates
  • Wang et al. 2023, A Survey of the Evolution of Language Model-Based Dialogue Systems (arXiv:2311.16789) – the fusion of task-oriented and open-domain systems (§4.2), background to the LLM-era continuations

References