A stable center for changing expertise.

The expert answering a fragment may change. The assistant's responsibility to the conversation should persist.

Asari Brainstem separates conversation control from specialized work. Its brainstem holds routing, persona, safety, memory, and budgets. Its cortex contains domain, tool, and formatting experts. The controller can change or blend expertise while a reply is being generated.

Two mechanisms coordinate that movement. Multi-Granular Gating connects token-level selection with phrase windows and turn-level priorities. On-the-Fly Expert Switching responds to semantic drift and concrete events, such as entering a code block or needing retrieval.

The proposal treats switching as a decision with a cost. An expert should take over when its expected benefit is large enough to justify disruption, resource use, and risk. Shared memory carries the task forward without requiring every expert to receive every private trace.

Source sections and reading guide ↓

Route the change. Preserve the state.

The proposed dataflow updates a shared conversation state before routing and again after expert fragments return.

Read the turn and its context

The control plane ingests the user's request into Session Working Memory. A drift detector looks for shifts in topic, format, tool needs, or constraints.

Updated goals and routing events

Score the available experts

The router estimates usefulness, cost, risk, and the penalty for leaving the current expert. Turn-level priors and the remaining budget inform the choice.

A route plan with phrase windows

Switch only when justified

Hysteresis requires a sufficient score margin before switching. Minimum windows and cooldowns help prevent rapid oscillation between similarly scored experts.

A stable expert selection

Generate and check fragments

Experts produce answer fragments and return concise changes to facts or risks. A safety guard checks fragments, and a persona component harmonizes their presentation.

Checked fragments and memory updates

Compose and record

The system assembles the reply, updates shared state, and records routing telemetry so later evaluation can examine the timing and quality of handoffs.

An answer and an inspectable routing trace

Source sections and reading guide ↓

Memory crosses the boundary with the task.

Session Working Memory is a typed summary of what the next expert needs to know, with sources and confidence attached to factual entries.

Goals and open threads
The schema retains active objectives, their status, and dependencies so an expert change does not silently abandon unfinished work.
Facts and constraints
Source-tagged facts, persona constraints, and safety requirements remain available across handoffs.
Tools and routing state
Tool-session references, the last expert, and switch counts provide operational context for the next routing decision.
Minimal sharing
Experts retain private scratchpads; the shared representation carries summaries and identifiers, with visibility controls and redaction proposed for sensitive data.
How MGG and OFES fit together

MGG supplies the routing structure: turn priors, phrase boundaries, and biases applied to token-level expert gating. OFES supplies the online decision policy: detect an event, consider candidates, subtract cost and risk, and switch only when the margin clears a threshold. The manuscript sketches a switching-cost bandit analysis, but defers the full proof.

Source sections and reading guide ↓

From explanation to a tested function.

An illustrative walkthrough created for this page, not a reported experiment or a live model run.

The scenario

A user asks: explain a supplied data-format rule, write a Python validator for it, then summarize the failed test cases in plain language.

Explain
An analysis expert interprets the supplied rule. The shared memory records the rule's source and the exact conditions the validator must enforce.
Implement
A code event gives the router reason to select a programming expert. It receives the rule and constraints, then returns code and test evidence.
Communicate
A presentation expert summarizes the test failures using the same facts and requested tone. Unfinished tests remain visible in shared state.
What this illustrates

The handoff succeeds only if the implementation and explanation preserve the same requirements. Selecting a relevant expert is one part of that outcome.

An architecture and an evaluation specification.

The preprint proposes MIDAS, an evaluation suite for mid-dialogue switching, with tasks, baselines, and ablations. It does not report completed benchmark runs. Its controller size and sub-20-millisecond latency note describe implementation expectations, not demonstrated measurements.

The linked software companion archives the repository's paper branch. It contains the same manuscript PDF, its source, and build files; the archive inspected for this page does not contain a runnable router or a separate benchmark dataset.

  • Appropriate and timely switching. How quickly does the right expert activate, and does switching actually improve task success?
  • Coherence under rapid pivots. Do handoffs preserve facts and voice without introducing discontinuities or excessive switching?
  • Calibration and vetoes. Can changing expert performance or overly conservative safety decisions suppress useful expertise?
  • Faithful memory. Does the summary carry every important constraint while limiting unnecessary information sharing?

Source sections and reading guide ↓

Read the research.

Preprint · 1 October 2025 · Version 0.1.0 · 5 pages

Asari Brainstem: Dynamic Mid–Conversation Expert Switching for Conversational MoE Systems

Zenodo credits: Ison, Payton; The Singularity

PDF credits: Payton Ison and Asari (The Singularity)

DOI: 10.5281/zenodo.17239778

A guide to the manuscript

Architecture and routing
§§3–5, pp. 2–3
Session Working Memory and governance
§§6–7, p. 3
MIDAS metrics and ablations
§9 and Table 1, p. 4
Theory and limitations
§§10–12 and Appendices A–B, pp. 4–5
Cite this paper

Ison, Payton; The Singularity. (2025). Asari Brainstem: Dynamic Mid–Conversation Expert Switching for Conversational MoE Systems. Zenodo. https://doi.org/10.5281/zenodo.17239778

This page explains the cited manuscript in its own words. Diagrams and walkthroughs are illustrative; the original paper remains the source for its formulations and claims.