synodic-ai™ ML SYSTEMS
ML Systems Desk · Inference Systems

Read it once: broadcast weights, shared-document decoding and cache-aware scheduling for agent batches

Three papers posted on 2026-11-11 and 2026-11-12 go after the same waste in LLM serving: reading or recomputing bytes that many requests share. One streams read-only weights to every accelerator over optical fiber instead of storing a copy in each, one decodes many questions about one document in a single pass over its cache, and one schedules batches of agent tasks so that cached context survives between turns and the longest chains finish sooner.

Weights are identical everywhere, so stop storing them everywhere

Model weights are read-only and identical across every instance that serves a model, yet datacenters replicate them in the local memory of tens of thousands of accelerators, paying for the capacity, its static power and the energy of reading the same bytes again on each one. An earlier proposal used a recirculating optical fiber loop as delay-line memory that accelerators tap as the weights pass. The first paper names its limits: the loop must hold the whole model, so its length grows with model size; its slack is fixed when the ring is built; and the layouts that serve mixture-of-experts models efficiently would make the loop longer still.

Optical Broadcast Memory replaces the ring with an open-ended, hierarchical tap-and-amplify fiber line. A central server broadcasts weights continuously, and accelerators receive them through receive-only co-packaged optics straight into their compute units without buffering, while activations and the KV cache stay in local memory. The line's length depends on how many accelerators it reaches, not on the model. Slack between layers, needed because attention time grows with context, is sized per broadcast for the most loaded accelerator, and KV-aware request placement kept that accelerator at 1.010 to 1.015 times the mean load in simulation. For mixture-of-experts models a split-port layout keeps shared weights arriving below the compute knee.

The evaluation is a model of an 80,000-accelerator cluster of H100-class parts, with each accelerator fed by one fiber cable at 3.2 TB/s, against an HBM3e baseline holding equal KV capacity. For a dense model and a coarse-grained mixture-of-experts model, split-port OBM delivered 0.96 and 0.97 times the baseline's throughput at 0.90 times its energy per token while removing about 4 petabytes of cluster HBM, roughly 40%. For a fine-grained mixture-of-experts model whose weights crowd out KV space on the baseline, it reached 1.57 times the throughput at 0.58 times the energy and removed 8.44 petabytes, 82%. The results assume corrected cross-cable skew and good load balancing: random placement would cut the dense model's relative throughput to 0.77, and skewed expert routing, which would need dynamic replication of hot experts, was not studied.

Many questions, one pass over the document

Document question answering, data labeling and LLM-based evaluation often ask tens to hundreds of independent questions about the same long document. Prefix caching already prefills the document once, but each decode step of each question still reads the document's whole KV cache from GPU memory, so memory traffic grows with the number of questions. Batch prompting reads the document once by putting every question into one sequence, but later answers then attend to earlier ones and quality can suffer.

Parallel Prompting places P questions in one request and decodes them as P streams. Each step adds one token per stream, and a stream-id mask, evaluated inside the attention kernel from two fixed-size index tensors, lets a token attend only to the document and its own stream, with positions restarting after the document as if each question were alone. The document's KV is read once per request per step, turning P matrix-vector products into one matrix-matrix product, and every decode step keeps a fixed shape that can be captured as a CUDA graph. The change is about 80 lines across three files of an open-source serving engine plus a small package.

With a 7-billion-parameter multi-head attention model, 8,000- to 16,000-token documents and 64 to 256 questions each, it was 3.7 times faster than the stock engine with its FlashInfer attention backend on an A100 and 5.9 to 6.0 times faster on an RTX A6000, and faster in all 144 paired runs. The gain is smaller elsewhere: 1.3 to 1.9 times on grouped-query attention models, falling from 3.6 to 1.9 times on the A100 as answers grow from 128 to 1,024 tokens, and on a long-answer benchmark with 20,000-token documents it was slower than one stock backend. Accuracy matched stock serving within 0.36 points on two public benchmarks.

Agent batches finish when the longest chain finishes

Benchmark evaluation, synthetic data generation and reinforcement learning rollouts run agent tasks in batches, and the next stage waits for the whole batch. The third paper therefore optimizes batch makespan, the time to finish every task, rather than per-request latency. Its targets are hybrid models that need both a KV cache and a fixed-size recurrent state to reuse context across turns. A workload-based capacity model splits GPU memory between the two pools so that neither runs out while the other sits idle, and suggests how many tasks to run at once. A shared trajectory label lets the router keep a task's turns on one worker through load-bounded consistent hashing, and lets the worker prioritize recently served trajectories before their cached state is evicted.

When the environment side has less capacity than inference, a single concurrency limit couples the two. The authors separate task admission from environment execution and add chain-advancing action scheduling, which gives queued environment jobs from trajectories that have already run deep priority, so the longest chains are not left for the end. In live runs with two mixture-of-experts hybrid models, makespan fell by 10.4% to 37.5% on three benchmarks where environment capacity was ample. On a tool-use benchmark with constrained environment capacity, inference optimizations and capacity separation cut mean makespan from 466.1 to 168.2 minutes and from 333.5 to 140.5 minutes for the two models, and chain-advancing scheduling took a further 3.1% and 8.5%. Evaluation scores stayed aligned with the baselines. The authors also show that raising concurrency alone is not the answer: on one workload it dropped cache reuse from 98.3% to 87.5%, adding recomputation.

What to check before adopting any of this

The three designs remove redundancy at different layers, the cluster's memory, the attention kernel and the batch scheduler, and each pays off only under conditions its authors spell out. That makes the conditions the first thing to verify against a real workload.

Sources