NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RIZZ: Routing Interactions to Near Zero-Interference Zones for Continual Adaptation of Black-Box Agents

Sonali Goel, Pranav Vaidhyanathan, Lucas Schorling, Natalia Ares, M. A. OsborneNeurIPS 2026

TL;DR

How do you make an AI agent learn from its mistakes on the fly when its underlying neural network weights are locked behind an API? RIZZ solves this by ditching the messy, single "global notebook" approach to agent memory and instead dynamically routing interactions into specialized, isolated memory "branches." By letting a task verifier act as a strict bouncer for what gets remembered, RIZZ allows black-box models to continually adapt across diverse tasks without blowing up token costs or letting lessons from one domain corrupt another.

What Problem Does This Paper Address?

Today’s frontier language models are frequently deployed as compound agents—surrounded by tools, prompts, and memory stores—expected to adapt to shifting user needs over long periods. Because these models are often black-box APIs, we can't fine-tune their weights online; learning has to happen in the external memory and prompts.

Existing methods typically optimize a single master prompt or dump all experiences into one undifferentiated memory bank. On a non-stationary stream of tasks, this causes two major headaches: cross-task interference (aclever shortcut learned for conversational summarization might actively ruin Python code generation) and context collapse (an ever-growing playbook eventually overflows the model's context window and bankrupts your API budget). Complete isolation of every interaction is wasteful, while a single global memory is brittle. We need a middle ground that organizes experience dynamically.

Methods

Inspired by biological memory—which absorbs sparse experiences, specializes when patterns recur, and stabilizes validated habits—the authors introduce RIZZ (Routing Interactions to Near Zero-interference Zones). Instead of rewriting parameters, RIZZ treats memory organization and routing as the core learning problem.

Figure 1: Simplified schematic of RIZZ. RIZZ adapts a frozen black-box language model through external routed memory rather than parameter updates. Each incoming input is assigned to a separated branch by lightweight routing. The selected branch supplies episodic examples, procedural rules, common mistakes, and routing statistics to a bounded prompt compiler. Routing selects or creates branches. A task verifier scores the model output, and its feedback governs response-derived memory updates, rule credit, and subsequent merge or prune decisions.

Here is what happens when a new query arrives:

  1. Task-Agnostic Hierarchical Routing: Without needing ground-truth task IDs, a lightweight router uses an LLM judge to assign a hierarchical label (function/application, like complete-code-snippet/numpy-array). Using embedding similarity and token overlap (Jaccard de-duplication), it snaps the query to an existing specialist branch—or spawns a new one if the query is genuinely novel.
  2. Multi-Substrate Branch Memory: Each branch acts as a tiny expert zone holding three things: episodic memory (verified input/output examples), procedural memory (compact IF–THEN rules distilled from successes), and failure memory (concrete "common mistakes"). Crucially, RIZZ decouples read and write locality: positive rules can be read across branches, while failures stay strictly local so negative lessons don't overgeneralize.
  3. Budget-Aware Prompt Compilation: A compiler packs retrieved context, examples, and mistakes into a prompt under a strict 64K-token cap, dropping lower-priority blocks first so costs never explode.
  4. Verifier-Gated Evolution: After the frozen LLM answers, a task verifier (like an exact-match check or LLM judge) scores the output. Only verified successes enter episodic memory; helpful rules get promoted, harmful rules get demoted, and periodic sweeps merge redundant branches or prune stale ones.

Datasets

The authors evaluate RIZZ across four existing benchmarks (no new datasets are introduced) that test different angles of continual adaptation:

  • TRACE: Sequential continual learning across heterogeneous tasks (code, math, multilingual, summarization).
  • StreamBench: Online adaptation on interleaved streams of input-feedback pairs.
  • LongMemEval-S: Long-term conversational recall, temporal reasoning, and preference tracking across sessions.
  • $\tau$-Bench: Realistic retail and airline customer-service conversations requiring policy-compliant API tool use.

Key Insights and Ideas

  • Concentrated memory beats bigger memory: Competing playbooks (like ACE) grow beyond 130K–200K tokens and suffer catastrophic context-window crashes. RIZZ playbooks stabilize around 10K–15K tokens. On StreamBench, RIZZ actually ran cheaper than the no-memory baseline ($7.37 vs. $7.99) because cleaner, specialized context helped the LLM generate tighter, shorter answers.
  • Self-discovering task geometry: Even without task labels, RIZZ’s router naturally mirrors the underlying structure of the work. Uniform tasks collapse into a single high-volume specialist branch, while compositional tasks fan out into dozens of micro-specialists.
Figure 2: Branch routing on TRACE. Each row is one TRACE sub-task; segments are branches that received routes from that sub-task, sized by query count and coloured by branch success rate. Routing patterns vary systematically with task structure: sub-tasks with intrinsic compositional structure (SCIENCEQA, NUMGLUE-CM) fan out into many specialist branches at near- perfect accuracy; sub-tasks with a single coherent task signature (C-STANCE) collapse into a single high-volume specialist; sub-tasks without exploitable structure (MEETINGBANK, 20MINUTEN) accumulate into a dominant branch that fails to specialize. The pattern is the empirical signature of when RIZZ’s routing finds reusable memory and when it does not.
  • Verify before you remember: Ablating verified procedural memory rendering caused the largest performance drop (-6.6 percentage points on TRACE), proving that curating what enters memory via reward signals is just as vital as routing it.

Key Results

Using Claude Haiku 4.5 as the frozen base model ("Frozen"), RIZZ consistently outperforms both Frozen and state-of-the-art memory baselines (AMem and ACE) while keeping token budgets flat:

  • LongMemEval-S: RIZZ more than doubles Frozen's average reward (0.4836 vs. 0.2022, +28.1 pp), beating AMem (0.3224) at roughly one-tenth the API cost ($12.43 vs. $128.10).
  • TRACE: RIZZ hits 0.7058 average reward (+6.9 pp over Frozen's 0.6369), stabilizing at just 31 active branches, whereas ACE collapses to 0.0472 due to context-window exhaustion.
  • StreamBench: Under demanding round-robin task interleaving, RIZZ achieves 0.6339 (+3.3 pp over Frozen) at $7.37 total cost, compared to AMem's $57.75 and ACE's $292.23.
  • $\tau$-Bench: Paired with a ReAct agent, RIZZ boosts overall pass@1 from 0.352 to 0.400 (+4.8 pp) with virtually identical cost to Frozen ($14.48 vs. $14.57).

Limitations and Future Work

  • Need for recurrence: RIZZ thrives on recurring local structure. On sparse, highly fragmented tasks—like DS-1000 code queries spread thinly across 40+ niche library branches—branches don't accumulate enough examples to distill useful rules, causing RIZZ to slightly underperform the frozen baseline.
  • Frozen ceiling: Because weights never change, RIZZ can only steer capabilities the base model can already express via in-context prompting.
  • Governance & Security: Storing durable user interactions introduces privacy and memory-poisoning risks (e.g., adversarially injected instructions). Future deployments will need encryption, retention limits, user deletion controls, and theoretical foundations for auditable memory-level learning.

Summary updated

BibTeX
@inproceedings{goel2026rizz,
  author = {Sonali Goel and Pranav Vaidhyanathan and Lucas Schorling and Natalia Ares and M. A. Osborne},
  title = {{RIZZ: Routing Interactions to Near Zero-Interference Zones for Continual Adaptation of Black-Box Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=laAYDZ8VQG},
}
Figure