In this issue
17 papers, 2 technical notes and 1 community reading. Publication dates in source records are separate from this reading date.
01 · Matching Workloads to Blackwell: Power-Resolved Benchmarking of NVIDIA B200 and B300 across HPC and AI Workloads
Matching Workloads to Blackwell: Power-Resolved Benchmarking of NVIDIA B200 and B300 across HPC and AI Workloads
Mohsen Zand、Trung Dac Nguyen、H. Birali Runesha
This B200/B300 study resolves performance by workload and board power, finding no uniform successor advantage. A development vLLM build alone changes TTFT by 2.1× between otherwise identical B300 nodes.
Drivers and host conditions differ between clusters, so not all gaps are silicon effects. Resident inputs exclude real data-pipeline costs.
02 · ARK: Source-Port Path Reservation for Disaggregated KV Transfers
ARK: Avoiding Routing Collisions for KV Cache Transfer in Disaggregated LLM Inference (v1 PDF · HTML · ACM DOI)
Hung-Chun Lin*, Ting-Wei Hsu*, Chung-En Ho, Ahmed Saeed (Georgia Institute of Technology; *equal contribution) · arXiv:2610.41160v1 [cs.NI] · ACM SIGCOMM 2026 Workshop on Networks for AI Computing (NAIC ‘26, pp. 2067–2073) · Submitted 2026-10-30 (v1 only at verification time, with no revision or withdrawal; no public code repository is linked in the paper)
Prefill–decode (PD) disaggregation physically separates prompt ingestion from token generation across GPU pools, turning key–value (KV) cache migration into a critical-path network bottleneck where multi-gigabyte transfers run for hundreds of milliseconds to seconds before the first decoded token can appear. Under commodity Equal-Cost Multi-Path (ECMP) routing, size-oblivious 5-tuple hashing frequently collapses concurrent KV mega-flows onto the same spine link while sibling spines stay idle, inflating flow completion time (FCT) and user-visible time-to-first-token (TTFT). ARK avoids switch upgrades and receiver-side packet reordering by exploiting two structural traits of KV transfers—known flow identity at admission and lifetimes long enough to amortize millisecond-scale sync—to pick source ports whose ECMP hashes steer concurrent flows onto disjoint spines. Every metric and boundary below traces directly to arXiv:2610.41160v1, keeping author-reported simulation results strictly separate from protocol audit findings and deployment boundaries.
1. Why KV-Cache Mega-Flows Break Stateless ECMP and Prior Load Balancers
Modern LLM serving alternates between compute-bound prefill (Θ(L²) attention FLOPs) and HBM-bandwidth-bound autoregressive decode, prompting DistServe, Splitwise, vLLM, SGLang, NVIDIA Dynamo, and llm-d—as well as production stacks such as Moonshot AI’s Mooncake and SGLang’s 96-H100 DeepSeek-V3 deployment—to decouple prefill and decode pools so each scales to its own SLO axis. That separation creates a radically heavier traffic regime:
- Orders-of-magnitude larger elephant flows: Per-token KV footprint scales as
2 · L_h · H_kv · d_h · s. OnLLaMA-3.1-405B(126layers,8KV heads,d_h = 128, FP16), each token requires504 KB, so a100K-token KV cache reaches48 GBand saturates a400 Gbpslink for960 ms. Even on the evaluatedLLaMA-3-8B(128 KB/token), a1.6 GBmean KV flow occupies a100 Gbpsspine for at least128 ms(~137 mssimulated reference)—3–4orders of magnitude longer than traditional tens-of-megabyte datacenter elephant flows and millisecond-class TCP flows. - Oversubscribed Clos fabrics magnify stateless ECMP collisions: Production AI clusters (including Meta’s RoCE training fabric and Alibaba HPN) retain commodity 5-tuple ECMP (
k_i = H(q_i) mod K) and routinely oversubscribe the leaf–spine tier for cost (2:1in §4.1). BecauseHignores flow size, colliding mega-flows split one spine’s bandwidth for their multi-second lifetimes while sibling spines sit idle, filling switch buffers faster and triggering RDMA retransmissions on buffer overflow. - Orthogonality to application-layer KV optimizations: Multi-tier KV pools (
MemServe,LMCache) and byte-reduction/rerouting techniques (CacheGen,DualPath, Yue et al.) shrink or shift transferred bytes above the fabric, yet never decide which equal-cost spine path admitted bytes traverse;ARKcompounds directly with those reductions. - Mismatch with in-network and reactive host load balancers: Custom-switch schemes add significant hardware or operational burden—custom congestion-aware leaf ASICs (
CONGA), programmable ToRs with per-flow reordering buffers (ConWeave), switch flowlet detection (LetFlow), or packet spraying whose out-of-order delivery imposes heavy CPU reassembly overhead for multi-GB flows. Host-sidePLBavoids switch changes but is reactive: it reroutes only afterMconsecutive ECN-marked rounds and only during idle gaps (because mid-flow IPv6 Flow Label changes induce reordering that RoCEv2 RNICs misread as packet loss). Hardware-paced RDMA KV transfers leave virtually no idle gaps, preventingPLBfrom safely repathing within a flow’s lifetime.
KV transfers simultaneously unlock two preconditions that prior schemes could not assume: (1) a ≥128 ms lifetime easily amortizes sub-millisecond admission coordination below 1%, and (2) the destination GPU, byte count, and start time are fixed the moment prefill completes, removing any need for runtime elephant detection (Hedera) or centralized arbiters/traffic matrices (Fastpass, Flowtune, FAST, Crux).
2. ARK Design: Boot-Time Hash Inversion, Control/Data Split, and Race Resolution
ARK formalizes a two-tier spine-leaf Clos with N_S spine switches V_S = {s₁, ..., s_{N_S}} fully connected to N_L leaf (ToR) switches, where each GPU host has one uplink to its leaf, giving every cross-leaf host pair (h_{i,m}, h_{j,n}) exactly K = N_S equal-cost paths p_k = (h_{i,m} → ℓ_i → s_k → ℓ_j → h_{j,n}) (and extends to deeper multi-tier Clos fabrics such as Meta’s RoCE network by inverting ECMP decisions per hop along the path). Two explicit assumptions underpin the protocol: (1) the KV transfer service uses a single well-known dstPort across peers so srcIP, dstIP, dstPort, and proto remain fixed per peer pair (multi-dport deployments extend via a per-(peer, dport) table), and (2) host clocks stay synchronized within the broadcast delay—a few microseconds in ARK’s deployment, readily met via PTP, Sundial, or Huygens.
Each server runs a user-space controller maintaining an eventually consistent replica of the reservation table R(t) ⊆ P mapping occupied paths p_k ↦ (t, id) through four steps (Algorithm 1):
- Boot-time precomputation (
Initialize): Once at boot, for every peerh_j ∈ Vand source-port offsetδ = 0, 1, ..., δ_max(δ_max = 2¹⁶in §4.4), the controller evaluatesk ← H(q^δ) mod Kand appendsδto bucketM_{h_j}[p_k], reducing runtime port lookup to anO(1)static array dereference. - Admission-time reservation and fallback (
OnFlowArrival): When flowf_iarrives at timestampt_i, the controller scans at mostKentries inR. If free spines remain, it picksk_i* = min{k : p_k ∉ R}, draws anyδ_i* ∈ M_{dst_i}[p_{k_i*}], recordsR[p_{k_i*}] ← (t_i, id), and broadcasts(p_{k_i*}, RESERVE, t_i, id)to all peers. When allKpaths are occupied,ARKfalls back to ECMP by picking a uniform randomk_i* ∈ {1, ..., K}and correspondingδ_i*. It then creates the RDMA queue pair (QP) usingsrcPort = δ_i*and registersOnFlowCompletion. - Control/data plane separation and release (
OnFlowCompletion): The data plane ships KV bytes single-path over commodity ECMP switches with zero receiver reordering. The control plane routes tiny, latency-sensitiveRESERVEandRELEASEbroadcasts over a separate low-bandwidth or management channel so sync latency stays propagation-bound rather than queued behind elephant data flows (sharing the data fabric still works algorithmically, at the cost of a wider race window under load). Upon flow completion, the host removesp_{k_i*}fromRand broadcastsRELEASE. - Deterministic race resolution (
OnRemoteUpdate): Two hosts reserving the same spine within one broadcast delay trigger a conflict resolved by lexicographic comparison of(t, id)keys: if incoming(t_p, id_p) < R[p_k], the smaller timestamp key winsp_k, and the losing host updatesR[p_k]and re-invokesOnFlowArrival(f)to re-hash its local flow onto another path.
3. Packet-Level Evaluation, Spine Utilization, and Controller Microbenchmarks
The authors couple SimAI’s Vidur serving simulator (RandomForest regressors trained on per-layer NVIDIA H100 profiles of LLaMA-3-8B across token counts, batch sizes, and prefill chunks) with AstraSim’s ECMP-enabled NS-3 packet-level RDMA simulator hosting the ARK controller. The topology mirrors Alibaba HPN’s two-tier Clos: 16 GPUs across two 8-GPU servers (Server 1 GPU 1–8 for prefill; Server 2 GPU 9–16 for decode), 2 leaf switches, and 4 spines (K = 4) connected by 100 Gbps links, yielding 800 Gbps leaf ingress against 400 Gbps spine egress (2:1 oversubscription). Each 1,000-request experiment draws prompt lengths from Zipf(α = 0.7) (mean ~13,300 tokens → 125 MB to 6.7 GB, mean 1.6 GB at 128 KB/token), assigns random prefill–decode pairs, and sweeps Poisson arrival rates from QPS = 1 to 30.
| Arrival Rate (QPS) | Mean FCT vs. ECMP | P95 FCT vs. ECMP | Mean TTFT vs. ECMP | P95 TTFT vs. ECMP | Regime & Source Attribution |
|---|---|---|---|---|---|
| QPS = 1 | -1.9% (§4.2 text) | -1.2% (§4.2 text) | Curves overlap (Fig. 4a) | Curves overlap (Fig. 4b) | Flows rarely overlap; negligible ECMP collisions |
| QPS = 5 | -12.2% (Fig. 2a label) | -15.1% (Fig. 2b label) | -2.2% (~2% in §4.3) | -0.7% (Fig. 4b label) | Sparse concurrent flows begin colliding |
| QPS = 10 | -21.7% (Fig. 2a label) | -26.2% (Fig. 2b label) | -4.9% (Fig. 4a label) | -4.2% (Fig. 4b label) | Collisions grow; TTFT share expands with T_KV |
| QPS = 15 | -24.8% (Fig. 2a label) | -26.5% (Fig. 2b label) | -7.1% (Fig. 4a label) | -6.7% (Fig. 4b label) | Rising spine contention amplifies P95 relief |
| QPS = 20 | -28.9% (Fig. 2a curve label) | -32.0% (Fig. 2b label) | -10.6% (Fig. 4a label) | -10.3% (Fig. 4b label) | Larger % mean FCT drop on plot than QPS=25, smaller ms delta |
| QPS = 25 (Peak) | -27.3% (headline peak) | -34.0% (headline peak) | -12.9% (headline peak) | -10.5% (Fig. 4b label) | Congested pre-saturation; ECMP hits 18 flows vs. ARK < ~8 |
| QPS = 30 | -13.8% (§4.2 text) | -12.4% (§4.2 text) | -8.5% (Fig. 4a label) | -11.5% (~12% in §4.3) | Leaf–spine fabric approaches saturation; headroom shrinks |
Table 1 · Mean and P95 FCT and end-to-end TTFT reductions over vanilla ECMP across the Poisson QPS sweep (combining arXiv:2610.41160v1 §4.2–§4.3 text with direct Fig. 2 and Fig. 4 annotations; note that Fig. 2a labels -28.9% at QPS = 20 while the paper highlights QPS = 25 as peak where absolute millisecond savings, P95 FCT -34.0%, and mean TTFT -12.9% all peak).
The QPS = 25 active-flow heatmap (Fig. 3) directly explains the tail speedup: stateless ECMP pins persistent hotspots of up to 18 concurrent flows onto Spine 2 and Spine 3 while leaving Spine 1 and Spine 4 intermittently idle, inflicting queueing delays proportional to competing flows per 100 Gbps link. ARK spreads active flows evenly across all four spines, keeping peaks < ~8 concurrent flows everywhere and delivering -34.0% P95 FCT. Mapping FCT into TTFT = T_prefill(L) + T_KV + T_decode-1(L) explains why TTFT percentage gains trail FCT gains at low load: GPU prefill (~840 ms) and the first decode step (~10 ms) form a fixed ~850 ms compute offset, while only T_KV grows with QPS—pushing mean TTFT savings from ~2% (-2.2%) at QPS = 5 up to -12.9% at QPS = 25 (and P95 TTFT to -11.5%, reported as ~12%, at QPS = 30), leaving GPU-local TPOT untouched.
| Controller Phase / Setup Parameter (Table 1 & §4.1) | Measured Latency / Spec | Engineering Significance vs. KV Transfer |
|---|---|---|
| Hash computation (Intel i9 CPU, 1 thread / 1 core, Table 1) | 4.10 µs per call |
Executed offline at boot or on re-hash, off the fast array lookup path |
| Reservation-table lookup (Intel i9 CPU, 1 thread / 1 core, Table 1) | 0.87 µs per probe |
Scans R linearly; bucket M access is a static array dereference |
Boot phase Initialize (δ_max = 2¹⁶, Table 1) |
~326 ms per peer |
One-time startup cost per peer host |
Runtime worst-case OnFlowArrival (K = 4 paths, Table 1) |
≤ 3.48 µs |
Equals 4 × 0.87 µs for the evaluated 4-spine Clos |
Runtime worst-case OnFlowArrival (K = 1000 paths, Table 1) |
≤ 870 µs |
Linear scan stays sub-millisecond even at K = 1000 |
Reference 1.6 GB KV transfer & K = 4 overhead ratio (Table 1) |
~137 ms / ≈ 0.0025% |
Admission compute is orders of magnitude below 1% of flow duration |
| Joint simulation testbed & workload (§4.1) | 16 GPUs, 2 leaves, 4 spines, 100 Gbps (2:1) |
LLaMA-3-8B H100 Zipf(α=0.7) mean ~13.3K tok (125 MB–6.7 GB), 1000 reqs |
Table 2 · Intel i9 single-core controller microbenchmarks and SimAI/NS-3 simulation baseline parameters (verbatim from arXiv:2610.41160v1 Table 1 and §4.1).
4. Scientific Boundaries, Protocol Audit, and Engineering Takeaways
Translating ARK from workshop simulation into production inference clusters requires respecting four explicit boundaries verified against the paper text and Algorithm 1:
- Simulation-only scope and absent head-to-head baselines: All FCT, heatmap, and TTFT results come from
SimAI/Vidur+AstraSim/NS-3on a single small topology (16GPUs,2leaves,4spines,2:1oversubscription,100 Gbps), a single model (LLaMA-3-8B), and1,000synthetic PoissonZipfrequests per sweep point. The paper reports no physical RoCEv2/InfiniBand cluster deployment, no in-simulator baseline comparison againstCONGA,ConWeave,LetFlow,PLB, or packet spraying, and no sensitivity runs across bursty traffic, alternative oversubscription ratios, or multi-tier Clos depths. - Algorithm 1 state granularity and lifecycle edge cases: Line-by-line inspection of Algorithm 1 surfaces four implementation gaps not evaluated in the paper: (a)
Rtracks only aK-element set of occupied spine paths rather than per-spine active flow counts or remaining bytes—onceK = 4flows are active (Rreaches sizeK, whereas Fig. 3 reaches~8concurrent flows per spine), subsequent arrivals fall back to uniform random spine selection (which still breaks deterministic 5-tuple polarization, yet cannot see whether Spine 1 holds2flows while Spine 2 holds7); (b)OnFlowCompletionremovesp_{k_i*}without a flow-ID guard, so if a random-fallback flow sharesp_kand completes first, naive removal clearsp_kprematurely; (c)OnRemoteUpdate’s loser re-hash (OnFlowArrival(f)) presupposes the flow has not yet transmitted packets onto an active RDMA QP; and (d) Algorithm 1 includes no lease TTL or failure detector to reclaimp_kif a sender crashes before broadcastingRELEASE. - Unmeasured control-plane and hash-inversion failure modes: Although
ARKassumes a known/invertible switch ECMP hashH(·)(requiring hash-seed alignment across vendor switches and multi-hop inversion in deeper Clos), sub-broadcast-delay PTP/Sundial clock sync, a single well-knowndstPort(or(peer, dport)expansion), and preferably a separate low-bandwidth control network, the evaluation does not measure degradation under control-packet loss, clock skew exceeding broadcast latency, or elephant-queued shared control channels. - Actionable engineering takeaways: (1) Exploit admission knowledge before adding switch complexity: on commodity ECMP fabrics carrying multi-hundred-millisecond KV transfers, precomputing source-port buckets (
~326 msat boot,≤ 3.48 µsper flow) captures substantial tail relief (-34.0%P95 FCT) and compounds orthogonally withCacheGencompression orLMCache/MemServeprefix reuse; (2) UpgradeRfrom binary occupancy to byte-weighted leases: because prefill already knows KV size at admission, tracking(flow_id, spine_idx, remaining_bytes, lease_ttl)extends collision avoidance smoothly beyondKconcurrent flows and prevents zombie reservations after host crashes; (3) Gate first WQE posting past the broadcast race window: holding RDMA QP creation or first packet emission by one propagation window lets(t_i, id)conflicts settle cleanly before bytes hit the wire, preserving zero receiver reordering.
Source: ARK: Avoiding Routing Collisions for KV Cache Transfer in Disaggregated LLM Inference
03 · TraceSpec: Understanding and Improving Speculative Decoding for LLM Agents
TraceSpec: Understanding and Improving Speculative Decoding for LLM Agents
Jihao Zhao、Shuaishuai Zu、Pengfei Li、Biao Qin、Guanghuan Fang、Ben Feng、Baochuan Yang
TraceSpec resolves agent trajectories by phase and progress: aggregate acceptance growth can hide declining acceptance in late actions. State-conditioned allocation of a fixed drafting-training budget improves replay throughput by 12.5–22.6% over DSpark.
Fixed-prefix replay excludes full tool/search execution and task completion time; gains are not end-to-end agent speedups.
04 · HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads
HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads
Zaifeng Pan、Lucas Wang、Xinwei Qiang、Yanbo Zhou、Chang Chen、Zhengding Hu、Yue Guan、Yufei Ding
HiState exploits hybrid-cache asymmetry: a prefix hit needs all matching KV entries but only one recurrent checkpoint. It retains historical checkpoints on SSD, prioritizes fast memory for KV and jointly controls checkpoint spacing and eviction.
Peak ratios concern p99 TTFT on one model/H100 and fixed budgets, not equal reductions in mean latency for all requests.
05 · LEAP: Generalizable Length Prediction via Prefill Readout and CPU RLS
LEAP: Efficient LLM Inference Scheduling with Generalizable Length Prediction (v1 PDF · HTML · Anonymous Code)
Kwan Yan (Beijing Normal University), Jialun Zhong (Peking University), Yanzeng Li* (Beijing Normal University; *corresponding author) · arXiv:2610.41359v1 [cs.AI] · Submitted 2026-10-30 (v1 only at verification time, with no v2 revision or withdrawal)
Length-aware scheduling reduces head-of-line blocking in LLM serving by prioritizing shorter jobs, yet practical deployments collide with a two-sided bottleneck: heavy auxiliary text encoders or neural prediction heads consume scarce GPU cycles while still degrading when prompt styles, tasks, or languages shift, whereas refreshing predictions during decoding cuts token MAE at the expense of higher end-to-end response latency. LEAP addresses both constraints with a single-layer square-root linear readout over prefill hidden states, gradient-free Recursive Least Squares (RLS) adaptation on CPU from completed requests, and asynchronous CPU execution overlapping the remaining GPU prefill. Under a cross-lingual shift from LMSYS to Aya, updating only the 4,097-parameter readout raises Spearman ρ by 64.7% (0.498 → 0.820); in live vLLM ShareGPT serving, LEAP cuts mean per-token latency (PTL) by 15.9%–40.8% against all evaluated predictors while raising throughput by 1.9% over the strongest baseline (LTR) using 30,569× fewer predictor parameters. All metrics and caveats below trace directly to arXiv:2610.41359v1, keeping reported results separate from runtime accounting boundaries.
1. Why prior predictors stall in practice: the Q1–Q4 diagnosis
Section 2 frames four coupled failure modes behind existing length-prediction pipelines:
- Q1 (Domain shift and offline retraining cost): Mapping prompts to output lengths changes across tasks, prompt templates, and user populations (most sharply when transferring from English
LMSYSto non-EnglishAya). Collecting fresh labeled corpora and retraining hundred-million-parameter encoders is operationally slow, even though every completed serving request naturally yields its observed served output length with zero manual labeling. - Q2 (Lower token MAE does not imply lower serving latency): In iteration-level continuous batching, scheduling only needs reliable relative orderings—separating a
50-token job from a500-token job matters far more than shaving error from53to50tokens. Table 2 confirms this directly in paired serving runs: refreshing hidden-state estimates during decoding (-D) cuts MAE by8.2%–36.2%across ShareGPT and LMSYS, yet increases mean response time by8.37%–12.89%due to prediction overhead. - Q3 (Why encode the prompt twice): Text-based predictors—
TIE(DeBERTa),SSJF(BERT), andLTR(separate ranker)—run a separate encoder over raw prompt text prior to prefill. For post-prefill decode scheduling, however, the serving LLM has already computed prefill states conditioned on both the exact prompt and the model generating the response. - Q4 (Why spend GPU resources to save GPU resources): GPU-resident predictors compete directly with decode batches for compute and memory. Offloading to CPU helps only if transfer, prediction, and publication keep up:
TRAILpools every prompt-token state through an8.47 MBMLP that exceeds a CPU core’s private L2 cache, andEGTP-Pmust reconstruct2.49 GBof vocabulary logits on CPU to compute token entropy, stalling score delivery under load.
2. System mechanism: single-layer square-root readout, CPU RLS, and prefill overlap
Integrated into vLLM 0.8.5.post1 (V0 eager mode) via a native C++ CPU worker, LEAP coordinates three lightweight primitives:
- Mapped single-layer linear readout (§3.2, Appendix A.1): LEAP captures only the final prompt token’s hidden state
h_i ∈ R^dfrom one late, non-final decoder block (Qwen3-8Buses block 30 withd = 4,096;Mistral-7B-Instruct-v0.3uses block 28; Qwen3 scale models0.6B/1.7B/4B/8B/14B/32Buse blocks24/24/32/30/36/60). Coordinatewise source meansμand scalessare fitted on2,880training requests and frozen (x_i = (h_i - μ)/s). Ridge regression fitsg(L) = √Lwith an unpenalized intercept and validation-selected L2 penaltyλ_0 ∈ {10⁻⁴..10}(1.0on ShareGPT,0.1on LMSYS for Qwen3-8B). At inference under output budgetM(2,048tokens), LEAP clips before squaring—L̂_0(x) = [ clip(w_0ᵀ x + b_0, 1, √M) ]²—so large negative scores cannot invert into huge positive lengths. Folding source normalization into deployed weights yields4,097parameters (16.39 KBFP32) that stay resident inside a single CPU core’s private L2 cache. Square-root mapping balances tail compression against long-job separation: for small relative errore,(log(L+e)-log L)² ≈ e²/L²downweights errors as1/L²(collapsing long differences), whereas(√(L+e)-√L)² ≈ e²/(4L)scales as1/Lwhile avoiding the extreme-tail dominance of unscaledL. - Source-anchored, gradient-free online RLS (§3.3, Appendix A.2–A.3): Deployed folded coefficients convert back to standardized coordinates via
θ_0 = [w̄_0 ⊙ s; b̄_0 + μᵀ w̄_0], anchored to an offline inverse source-feature precisionA_0 = U_sᵀ U_s + λ_p D,P_0 = A_0⁻¹(λ_p = αdwithα = 1,d = 4,096,D = diag(1,...,1,0)). Completed requests join their observed served length√L_jby request ID to cached featuresu_j = [x_j; 1], minimizing(θ - θ_0)ᵀ A_0 (θ - θ_0) + Σ (u_jᵀ θ - √L_j)²incrementally without backpropagation or replaying historical samples. Wheneverq = 8completions finish, a separate CPU update thread storesPin FP32 (~64 MiB), solves an8 × 8linear system in FP64 (O(qd² + q²d + q³)), and updatesV = PUᵀ,G = V(I_q + UV)⁻¹,θ⁺ = θ + G(y - Uθ),P⁺ = P - GVᵀ. In exact arithmetic this matches joint anchored Ridge refitting identically regardless ofq; Appendix A.3 verifies< 10⁻¹²coefficient discrepancy against an independent FP64 solver and maximum token-prediction drift of0.00024and0.00160tokens across two4,240-request FP32/FP64 streams. - Asynchronous CPU scoring, versioning, and GPU prefill overlap (§3.4, Algorithm 1): Arriving requests initialize at budget
M. Once prefill reaches block 30,ASYNCD2Hcopiesh_i(16 KiBFP32 or8 KiBFP16) once per request while the GPU executes blocks31..36and final RMSNorm. The CPU prediction worker cachesu_iinC[i], publishes initial and snapshot predictions tagged with(request_id, predictor_version)so stale results never alter unrelated jobs, and between jobs pulls updatedθ_pubsnapshots to rescore active cached requests inCwithout touching the GPU. At decode stept, eligible KV-resident jobs witha_i(t)generated tokens rank by remaining-length countdowns_i(t) = max{1, L̂_i(t) - a_i(t)}under starvation protection (128-step guard in livevLLM; TIE’s exponential Aging rules̃_i(t) = s_i(t) · γ^{W_i(t)/τ}withγ = 0.9,τ = 30 sin replay/LMSYS sweeps), falling back toFCFSif no accepted score is ready.
3. Empirical evaluation: quality, domain shift, serving latency, and ablations
All serving experiments run on one NVIDIA A800 80GB PCIe GPU and 8 Xeon Gold 6348 logical CPUs in vLLM 0.8.5.post1 eager mode (512 resident requests, 64 decode slots, 20,592 KV blocks of size 16, 4,096-token batch cap, 0.8 GPU memory fraction). Splits exclude normalized-prompt and conversation-parent overlap; test labels are first-rollout lengths capped at 2,048 tokens (LEAP/TIE train on repeated rollouts; LTR/SSJF/EGTP on first rollouts; budgets are 20K for TIE, 10K for LTR/SSJF, 2,880 for LEAP/TRAIL/EGTP—and Appendix C.4 Table 9 shows standardizing SSJF training targets dramatically repairs that baseline from 779.39/517.79 to 308.89/240.90 MAE and 0.0845/0.1658 to 0.6716/0.7844 ρ on Qwen3-8B).
| Model & Dataset (360 val / 1,000 test) | LEAP (ours) MAE ↓ / ρ ↑ | TIE (DeBERTa) MAE ↓ / ρ ↑ | TRAIL-I (MLP) MAE ↓ / ρ ↑ | LTR (ordinal) ρ ↑ | SSJF (BERT) MAE ↓ / ρ ↑ | EGTP (prefix MLP) MAE ↓ / ρ ↑ |
|---|---|---|---|---|---|---|
| Qwen3-8B · Alpaca | 71.5 / 0.955 | 161.8 / 0.875 | 114.0 / 0.887 | 0.863 | 139.6 / 0.847 | 241.9 / 0.482 |
| Qwen3-8B · ShareGPT | 171.6 / 0.900 | 316.1 / 0.675 | 278.8 / 0.719 | 0.733 | 280.4 / 0.726 | 428.7 / 0.142 |
| Qwen3-8B · LMSYS | 127.5 / 0.932 | 193.7 / 0.848 | 213.1 / 0.791 | 0.817 | 210.2 / 0.811 | 395.5 / 0.448 |
| Llama-3.1-8B-Instruct · Alpaca | 63.0 / 0.942 | 130.7 / 0.821 | 67.9 / 0.933 | 0.862 | 98.1 / 0.865 | 202.2 / 0.462 |
| Llama-3.1-8B-Instruct · ShareGPT | 145.7 / 0.850 | 214.3 / 0.672 | 160.2 / 0.808 | 0.691 | 196.0 / 0.699 | 276.2 / 0.101 |
| Llama-3.1-8B-Instruct · LMSYS | 105.0 / 0.922 | 177.3 / 0.768 | 135.1 / 0.841 | 0.782 | 149.6 / 0.785 | 287.8 / 0.268 |
| Mistral-7B-Instruct-v0.3 · Alpaca | 65.4 / 0.931 | 105.5 / 0.833 | 81.5 / 0.884 | 0.833 | 90.5 / 0.852 | 145.2 / 0.550 |
| Mistral-7B-Instruct-v0.3 · ShareGPT | 143.9 / 0.784 | 193.4 / 0.618 | 173.9 / 0.667 | 0.640 | 178.3 / 0.646 | 243.1 / 0.243 |
| Mistral-7B-Instruct-v0.3 · LMSYS | 106.9 / 0.896 | 163.5 / 0.792 | 139.7 / 0.808 | 0.805 | 131.9 / 0.808 | 198.9 / 0.500 |
Table 1 · Initial length prediction across three serving models and three datasets (from arXiv:2610.41359v1 Table 1; LTR outputs signed ordinal scores without token MAE; LEAP attains lowest MAE and highest Spearman ρ in all 9/9 settings, cutting MAE by 7%–39% over the best baseline in each).
| Scheduler / Predictor | Static Params / FP32 Weights (Table 8) | Live ShareGPT Mean / P90 PTL (ms/tok, Table 3) | Live ShareGPT Mean / P90 TTFT (ms) · Tok/s | Aya Transfer Replay Mean Resp (1.2 / 1.5, s, Table 4) | MATH Transfer Replay Mean Resp (1.2 / 1.5, s, Table 4) |
|---|---|---|---|---|---|
| FCFS (no predictor) | 0 (no head) | 250.97 / 359.96 | 55.10 / 74.85 · 1094.03 | 138.40 / 226.71 | 91.66 / 148.90 |
| EGTP (prefix-entropy MLP) | 8,435,732 (33.74 MB†) | — (not in Table 3) | — | 136.62 / 223.09 | 96.54 / 157.83 |
| TRAIL (full multi-head+filter) | 2,118,184 (8.47 MB) | 107.42 / 189.32 | 67.18 / 90.28 · 944.71 | 125.02 / 201.67 | 77.52 / 123.67 |
| SSJF (BERT proxy) | 109,597,313 (0.438 GB) | 76.07 / 154.50 | 62.27 / 80.34 · 1108.46 | 154.83 / 253.29 | 80.30 / 126.83 |
| LTR (ListMLE ranker) | 125,240,064 (0.501 GB) | 75.62 / 151.95 | 60.40 / 80.17 · 1120.88 | 123.32 / 197.28 | 75.12 / 118.93 |
| TIE (DeBERTa expectation) | 185,211,394 (0.741 GB) | 78.48 / 152.33 | 66.50 / 85.22 · 1089.84 | 119.56 / 190.06 | 75.05 / 118.34 |
| LEAP (frozen head, ours) | 4,097 (16.39 KB) | 63.58 / 127.47 | 55.27 / 73.43 · 1141.93 | 115.18 / 180.59 | 67.39 / 100.94 |
| LEAP+RLS (online adapt) | 4,097 + ~64 MiB P |
— (Table 4 transfer only) | — | 108.07 / 161.18 | 64.83 / 94.36 |
Table 2 · Predictor weight storage (Table 8, excluding serving LLM, activations, cached features, and solver state; † EGTP-P adds 2.49 GB CPU projection), live full-cost ShareGPT serving (Table 3: 500 requests at 2.65 req/s, single host run), and LMSYS-to-Aya/MATH simulated mean response time under matched Aging (γ=0.9, τ=30 s; Table 4: 4,200 requests, excluding predictor runtime cost).
Across Figures 5–8 and ablation Tables 2, 5, 6, and 7, four empirical takeaways stand out:
- Full-cost ShareGPT serving and rising-load scaling (Table 3 & Fig. 6): On ShareGPT (
2.65 req/s),LEAPachieves63.58 ms/tokMean PTL—reducing Mean PTL by15.9%vs.LTR(75.62),19.0%vs.TIE(78.48), and40.8%vs.TRAIL(107.42)—while raising throughput by1.9%overLTR(1141.93vs.1120.88 tok/s) and keeping Mean TTFT close toFCFS(55.27vs.55.10 ms). Across20–100 req/son1,024held-out LMSYS requests (544,047output tokens, Fig. 6), CPULEAPstays lowest in all four latency panels, holding Mean PTL at roughly half that of the better GPU baseline as load rises (note that this single-run control bundles LEAP’s superior accuracy with GPU offloading, and the60/80/100 req/sruns shared the machine with another job on GPU 1 and cores 12–15 while serving held GPU 0 and cores 0–7). - Domain-shift resilience and tail-latency tradeoffs (Fig. 5 & Table 4): Frozen
LMSYSLEAP retains top ranking onAlpacaandMATH(100.94 svs.TIE118.34 sat1.5×MATH load,-14.7%), whereas shifting to non-EnglishAyadrops Spearmanρto0.498. Batch-8 completion RLS restoresAyaρto0.820(+64.7%relative gain) and cuts1.5×simulated mean response to161.18 swithout touching the LLM backbone. Crucially, lower mean response does not ensure better tails: RLS raises P95 onMATH, andLEAP,LEAP+RLS, andTIEall keep higher P95 thanFCFS. - Static-vs-dynamic, target-map, and single-layer ablations (Tables 2, 5, 6, 7): (1) In
128-request paired serving (Table 2), dynamic hidden-state refreshes (-D) reduce MAE (154.60→141.96ShareGPT /111.92→103.82LMSYS for LEAP) yet worsen mean response (+9.42%/+8.37%;+12.89%/+9.16%forTRAIL-D; note LEAP-Svs.-Dalso differed in repeated vs. round-0 training targets); (2) across Table 6,√Loutperformslog L(149.6 / 0.9161vs.155.9 / 0.9122, cutting long-job error310.4 → 279.3) and rawL(162.7 / 0.8984, avoiding105.4short-job error); (3) concatenating all36blocks plus embeddings (Table 7) lowers MAE by only3.3%(149.53 → 144.63,ρ 0.9160 → 0.9204) with negligible zero-cost replay gain (1,000-req P95 ranges-10.36%to+8.23%) while inflating FP32 feature payloads37×(16 KiB → 592 KiB); (4) across denseQwen30.6B–32B(Table 5, own single-rollout outputs),ρremains0.836–0.938, though0.6Bdegrades on long outputs and output differences prevent isolating checkpoint scale. - Single-core CPU delivery and prefill-overlap readiness (Figs. 7 & 8): On one dedicated CPU prediction core (
batch = 8), text encoders (TIE/LTR/SSJF) deliver only a few scores/s with tens-of-seconds P95 queues and hidden-state MLPs saturate between~10and a few thousand scores/s, whereasLEAPtracks offered rates through10,000 pred/s, saturates near58,000 pred/s, and holds P95 delay< 3 msthroughout. OnQwen3-8B(Fig. 8), all144/144asynchronous trials (24/24across batch sizes1, 8, 32in FP32 and FP16) finish D2H transfer, scoring, and initial batch ordering before GPU prefill reaches final RMSNorm, while0/72post-prefill controls are ready (this binary probe establishes readiness, not remaining slack margin).
4. Scientific boundaries, prototype constraints, and engineering takeaways
Deploying LEAP into production LLM serving requires respecting four explicit empirical and architectural boundaries:
- First-rollout
2,048-token cap and decoding-policy blindness: Evaluation labels reflect first rollouts capped atM = 2,048tokens, and the prefill readout takes no decoding hyperparameters (temperature,top-k). Stochastic generation variance is absorbed only on average, and capped completions enter RLS at their served≤ 2,048length rather than revealing latent uncapped lengths. - Equal-weight RLS dynamics and asynchronous lag: Per Appendix A.2, RLS assigns equal weight to every incorporated completion without a forgetting factor or sliding window, so sequential multi-regime shifts can eventually dilute adaptation responsiveness. Updates fire only on full
q = 8batches (incomplete tail batches drop on shutdown), and pending batches leave in-flight or newly arrived requests onMor staleθ_pubuntil transfer and publication complete. 30,569×fewer predictor weights ≠ proportional total system savings: Table 8’s4,097parameters (16.39 KB) exclude the~64 MiBFP32Pmatrix (O(d²)atd = 4,096),O(Nd)cached live-request features (16 KiB/req),O(qd² + q²d + q³)FP64 RLS updates, and PCIe D2H traffic.- Tail fairness and
vLLM V0 eagersingle-GPU scope: Section 7 stresses that prioritizing short jobs degrades tail fairness (LEAPandLEAP+RLSraise P95 overFCFS, and RLS raises P95 onMATH). All prototype measurements cover single-A800 eager mode only; multi-GPU parallelism, prefix caching, and chunked prefill remain unverified—a critical caveat because prefix reuse and chunked prefill directly alter when the final prompt token executes and shrink the remaining-prefill window available to hide CPU transfer. Note also that Table 3/Fig. 6 are single-host measurements, Table 4 omits predictor runtime cost, and the p.12 AI Usage Disclosure reports OpenAI Codex assistance checked by the authors. - Transferable engineering lessons: (1) Read once from late prefill states into CPU L2: replacing auxiliary prompt encoders or multi-layer pools with a single-state
√Llinear readout keeps inference inside private L2 cache (< 3 msP95 at58k/s); (2) Use source-anchored Woodbury RLS for scalar operational feedback: completion lengths allow millisecond, replay-free domain recovery on CPU (+64.7%ρon Aya) with zero GPU interference; (3) Re-validate prefill overlap under prefix caching and chunked prefill: before relying onASYNCD2Hhiding, re-probe readiness whenever chunking or prefix hits truncate post-layer prefill depth.
Source: LEAP: Efficient LLM Inference Scheduling with Generalizable Length Prediction (v1 PDF · HTML · Anonymous Code)
06 · bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix
bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix
Andrew Gao、William Gao
Fair Cast identifies small FP32 updates lost during nearest-BF16 export, creating sampler lag. It requires both unbiased export and loss computation on the actual served weights; changing one export line is not the full integration.
Paired small-model results at specified learning rates do not cover all RL. Error feedback adds residual storage, and unbiasedness does not guarantee per-step improvement.
07 · On the Origin and Evolution of Training-Inference Mismatch in LLM Reinforcement Learning
On the Origin and Evolution of Training-Inference Mismatch in LLM Reinforcement Learning
Yu Li、Yufa Zhou、Tian Lan
DLC separates engine numerical discrepancy from policy lag, centering the former and clipping lag importance ratios while resynchronizing when effective sample size falls. It addresses asynchronous weight feedback, beyond same-weight forward consistency.
Evidence centers on small Qwen models, Countdown and specified optimization settings; the half-ESS threshold is not a universal RL constant.
08 · MemX: Memory-Aware Automatic Parallelism for Cross-Vendor Heterogeneous GPU Training
MemX: Memory-Aware Automatic Parallelism for Cross-Vendor Heterogeneous GPU Training
Lin Meng、Yuzhong Sun、Jie Zhu
MemX jointly optimizes iteration time, peak memory and memory balance, using a small profiling set and a predictor to reduce heterogeneous-parallelism search cost. The measured cluster has 20 GPUs; larger scales are simulated.
The 17-day profiling baseline is extrapolated and 26.5 seconds excludes full data collection; two anonymous vendors limit reproducibility.
09 · Provisioning Networks for AI Supercomputers: A Trace-Driven Study of Performance Sensitivity at Unprecedented Scale
Provisioning Networks for AI Supercomputers: A Trace-Driven Study of Performance Sensitivity at Unprecedented Scale
Tommaso Bonato、Amirreza Rastegari、Daniele De Sensi、Timo Schneider、Siyuan Shen、Ales Kubicek、Prabhat Ram、Torsten Hoefler
This study decomposes communication traces and uses linear programming to sweep latency, bandwidth and jitter, identifying workload-specific sensitivity regions and cliffs while preserving recorded collective schedules.
Results are runtime lower bounds under LogGP. The 4,096-GPU analysis is not hardware measurement of every configuration or adaptive schedule behavior.
10 · AIFaultBench: Packaging real AI software faults and reproduction evidence
AIFaultBench: A Reproducible Benchmark of Real-World Faults in AI Software Systems
Mehil B Shah, Mohammad Masudur Rahman, Foutse Khomh · 2026-10-30
The dataset contains 770 faults from 105 repositories across six system classes, including deep learning, LLMs and agents. Each record connects an original report and revision to environment setup, a trigger and execution evidence. The authors allowed up to three hours per fault and required all three executions to meet matching criteria. They report 652 reproduced and 118 not reproduced; obstacles include unavailable hardware or data, version drift and nondeterminism.
It complements ReplayRCA: AIFaultBench provides real software defects and reproduction materials, while ReplayRCA evaluates interventions in a restorable agent environment. Its sample favors active, popular public Python repositories; the reproduction rate is not the prevalence of faults across AI systems. Individual cases can still require external data, hardware or credentials. The paper has no suitable architecture figure to explain the dataset mechanism.
11 · LLM Serving: The gap between detecting and mitigating incidents
An Empirical Study of Automation Gaps in LLM Serving Systems
Bhala Ranganathan, Minghua Ma, Mickey Zhang, Klein Hu, Rakesh Kelkar, Chetan Bansal · AIOps 2026
Why does recovery still need people after detection?
The authors study 156 high-severity incidents at one large LLM serving platform during April–June 2025, combining incident records, postmortems, runtime logs and engineers’ experience. They assign each incident one primary root-cause category—infrastructure, model configuration, inference engine or operations—and its first effective mitigation. The resulting categories expose primary signals rather than a complete causal chain.
Automated monitoring detected 115 incidents, about 74%, before customer reports. Mitigation still often required human judgment: 44 incidents used manual hotfixes, 15 required added capacity, and 75 involved human verification and monitoring without a technical change. The last group shows why even waiting for a transient problem to clear requires evidence. The detection percentage is not an automatic repair success rate.
Turning incident categories into recovery opportunities
The authors attribute 94 incidents to the inference engine, predominantly timeouts and resource exhaustion. Cross-tabulating root causes and mitigations highlights candidates for automation, including connection-liveness recovery, traffic failover and node restarts. In a separate February–May 2025 validation period, normalized HTTP 408 errors for one affected customer fell from 2.72% to 0.01% alongside the rollout of a connection-liveness strategy. This is an observational association and a single-customer example, not a randomized comparison or proof that all incidents can be recovered automatically.
Reading judgment: useful production evidence for Ops4LLM. The study distinguishes detection from safe mitigation and maps concrete incident types to recovery opportunities. Its limits include a single platform, a high-severity sample, and simplified single-label and first-effective-action coding; distributions, human decision costs and mitigation effects require validation in other services.
12 · Dittany: Repairing multi-agent workflows while retaining valid work
Dittany: Contribution-Guided Repair Framework for MAS Applications
Hanqi Sun et al. · arXiv · 2026-10-30
Repair missing contributions without restarting everything
A multi-agent application can produce useful intermediate results yet leave user requirements unmet. Dittany derives a task contract from the request and application methods, builds a contribution graph connecting expected results and dependencies, and derives acceptance conditions. When one action fails and sufficient inputs remain, it repairs locally. When prerequisites are missing or the plan cannot satisfy the requirements, it revises the unfinished part of the graph. Validated results can be retained for later use.
Separate detection, recovery and cost
The authors prepare 9,000 application–task instances across 30 open-source applications using six frameworks. Among 8,758 executions with resolved detection labels, reported failure-detection precision is 88.28% and recall is 79.18%. Across all tasks, reported task accuracy is 84.76%, compared with 58.01% for native execution and 63.48% for Reflexion, the strongest aggregate recovery baseline. These results depend on the evaluated applications, tasks, validators and remote-model configuration.
Reported deployment token consumption is 17.92% above native execution, with missing usage partly estimated from comparable calls. Applications can supply domain-specific validators and scenario templates, so the result is not a configuration-free guarantee of general self-healing. Unlike ReplayRCA in this issue, which asks whether an intervention changes an outcome, Dittany focuses on retaining valid work while satisfying unmet task constraints.
13 · ReplayRCA: Counterfactual replay for diagnosis and oversight
ReplayRCA: Measuring Post-hoc Diagnosis and Live Oversight of Agent Failures by Counterfactual Replay
Jeremy Canale, Fabien Soulis · 2026-10-29
From agreement with labels to intervention outcomes
A long failed task can have multiple effective repair points. A benchmark that compares a selected step with one annotation can mark another successful intervention wrong. ReplayRCA does not claim to invent counterfactual replay; it makes replay the evaluation protocol. A diagnoser chooses a step and replacement tool action, the system restores the prior state, and the original worker continues until a final-state checker judges success.
Reading the diagram: both branches restore the state before the same action. The left executes a replacement; the right replays the original. The original worker continues in both, and their success-rate difference measures intervention benefit.
The control matters because a stochastic continuation may recover on its own, and restarting can also change the outcome. The authors sample five continuations per branch and subtract the original-action success rate from the replacement-action success rate, calling the difference causal repair. OpsWorld is deterministic: the system re-executes recorded actions from the initial state and checks observations byte for byte before intervening. This is not an experiment that rolls back an irreversible production service.
Explaining and preventing failure differ
The post-hoc diagnoser sees the entire failed trajectory and knows it failed; it can replace any one action. The live supervisor sees only the trajectory so far and decides before irreversible actions such as refunds or cancellations. It does not know the final outcome, may intervene once, and pays a five-percentage-point interruption cost in the score. Successful runs are included, so unnecessary intervention has consequences.
On 62 calibrated systematic failures, the highest post-hoc causal repair among 13 models was +51.3 percentage points. None of the 78 pairwise differences survived multiple-comparison correction, so the ordering is not a reliable ranking. Forcing a strong model to intervene at the last step cost 17.1 points, showing why intervention location matters. Live oversight covered 87 runs; a supervisor that performed well post hoc was weakest live, with a 14.5-point gap on the same runs.
Reading judgment: a useful evaluation protocol. It measures whether one replacement changes the outcome, not necessarily the earliest root cause, and does not show that multi-step repairs cannot work. The tasks use a synthetic, verifiably restorable back-office environment; external side effects, complex production services and longer time horizons require further study. Limited samples and differing model reasoning settings also constrain model comparisons.
14 · Evidence-Guided Recovery: Safely continuing after a tool timeout
Evidence-Guided Recovery for AI Agents with Ambiguous Tool Outcomes and Partial Execution
Genliang Zhu et al. · arXiv · 2026-10-30
A timed-out tool call may already have created an invoice or may still be in flight. Retrying blindly can duplicate effects; stopping can leave an obligation incomplete. The authors track states compatible with visible evidence, authorized obligations and provider capabilities, then check authorization expiry, dependencies and residual effects before each action. Completion distinguishes the actual outcome from what the available evidence can safely certify; uncertain cases may be handed off.
In a finite-model study of 37 synthetic assignments, the planner and three strong rule-based controls each certified 28 safe completions. Planning saved a few synthetic fee units while adding decision computation; it did not improve completion count against these controls. In a separate preregistered paired local-model comparison, planning advice certified 30 of 58 cases versus 9 of 58 under evidence prompting. Both conditions shared a safety shield, and the comparison does not isolate search depth.
This complements Dittany’s treatment of intermediate work by asking whether an external effect has happened and can be evidenced. The evaluation assumes declared provider capabilities and controlled synthetic scenarios; it does not guarantee exactly-once execution across arbitrary third-party services.
15 · Hybrid Computer Use: Unifying Code, Semantic AX, and Visual GUI
Hybrid Computer Use: A Unified Programmatic, Semantic, and Visual Interface for General Agents (v1 PDF · HTML · Project · Code)
Haoqing Wang*, Xiaoyi Zhang†, Sicheng Fan, Zhexin Zhang, Xinjie Zhang, Jiahao Li, Bin Li, Yan Lu (Microsoft Research, Fudan University, Tsinghua University; *work done during an internship at MSRA, †project lead xiaoyizhang@microsoft.com) · arXiv:2610.41432v1 [cs.HC] · Submitted 2026-10-30 (v1 only at verification time; no v2 revision or withdrawal)
Most computer-use agents still operate exclusively through screenshots and mouse-and-keyboard inputs—imposing a human-interaction prior on frontier LLMs that forces repeated pixel localization even when files can be edited via CLI or controls can be read and triggered through OS accessibility (AX) APIs. Hybrid Computer Use (HCU) exposes programmatic (Code/CLI/files), semantic (AX), and visual (GUI) channels side by side inside a single general agent’s existing loop via MCP, pairing a shared Go state service with composable batched AX actions and diffs, cross-channel action guards, and a supplementary HCU skill, while leaving channel allocation to the model itself. On OSWorld 2.0 (108 tasks, 0808 release, 500-step cap), HCU achieves the highest Partial score (72.37% with GPT-6 Astra) at $10.03 per task and the highest Binary score (35.19% with Claude Opus 5) at 20.26% lower cost than the official leaderboard entry (72.06% Partial, $22.67 vs. $28.43). Every claim and limitation below is strictly grounded in arXiv:2610.41432v1, keeping author-reported metrics separate from version differences and harness-confounding boundaries.
1. Problem Framing: The Human-Interaction Prior and Three Obstacles in AX Control
Modern operating systems natively expose three complementary surfaces: Code / CLI tools for direct file and program access, accessibility (AX) APIs (AT-SPI on Linux, AXUIElement on macOS, UIA3 on Windows) for structured UI control trees, and pixel GUI interaction where semantic abstractions fall short. Earlier hybrid designs leave critical gaps across these channels:
- Cost of pixel-only loops and dual-channel omissions: Standard OSWorld loops—as well as
ALE’s GUI-as-Tool andWeaveBench’s desktop plugin—omit semantic AX entirely, whereas multi-agent hybrids likeCoAct-1andStateActroute subtasks to separate Programmer or GUI subagents, fragmenting context. - Three practical failure modes in AX computer control (§3.1): (1) Incomplete app coverage: custom-drawn canvases (e.g., GIMP) lack accessible elements, widgets do not always map 1:1 to AX nodes, and virtualized items remain absent until scrolled; meanwhile, returning both the full AX tree and a screenshot on every step (as
CUA Driverdoes by default) bloats prompts (2.181Minput tokens/task inOSWorld 1.0, while stockOSWorld 2.0Obsidian/accessibilityXML reaches30,526tokens). (2) Changing targets: controls share labels, shift, rebuild, or godefunct, breaking line-number or label-based addressing across steps. (3) Invocation vs. verified effect:Atspi.Action.do_actionreports dispatch rather than resulting UI state, so delegating postcondition checks and fresh reads to separate tool calls (CUA Driver) multiplies LLM round trips. - Execution priority vs. background preservation: Whereas
CUA Driverprioritizes best-effort background interaction to leave a user’s active desktop undisturbed,HCUoptimizes for reliable automation completion (native AX operations or focused input) while collapsing observation, batched execution, wait conditions, and diffs into single calls.
2. System Architecture: Composable AX, Cross-Channel Action Guards, and HCU Skill
HCU preserves the agent’s native harness (Codex, Claude Code, Gemini CLI, or Grok Build) for programmatic shell, code, and file tools, while exposing AX and GUI over stdio MCP, CLI, or Python SDK backed by a shared Go service (Appendix E.1 / E.5, Figs. 13 & 19); the evaluation runner remains strictly external. Three mechanisms govern reliability and efficiency:
- Pre-projection reference binding and composable single-call AX (§3.1.1 & Appendix E.2–E.3):
- Bind before pruning: From platform-provider records (roles, names, values, states, actions, geometry, relations),
HCUconstructs an internal typed tree and binds short references—appsaN, top-level windowswN, elementsrN—before projecting the compact AX view shown to the model. Projection strips empty structural wrappers, merges adjacent unreferenced text, deduplicates relation-backed labels, preserves disambiguating context for same-name controls, and summarizes repetitive siblings. Omitted nodes remain intact in acquired state and searchable viaAX find. On same-capture comparisons (o200k_base, Figs. 14–15), projection cuts view tokens by44.1%in Chrome (1,817 → 1,016,53/53refs kept),14.1%in Audacity (439 → 377,11/11), and12.6%in Obsidian (1,374 → 1,201,48/48), dropping from30,526stock XML tokens down to1,237HCU tokens. - Batched actions, wait steps, and default AX diffs:
AX actexecutes up to64ordered actions and wait steps in the released version (32in the evaluated build) within one window, supportingwindow,query,ref(expected value/state/text),text, invertedgone, and prediction-freesettlewaits alongsideselect(ref..to_refspans). Execution halts immediately on the first action error, timeout, or window change, reporting completed steps. By default (observe=diff), calls return per-targeteffect:lines,windows:opened/closed/focused transitions, a structuredAX diffagainst the last eligible snapshot, and a leading JSON evidence line carrying public error codes (invalid_argument,stale_ref,gui_frame_stale,wait_timeout,window_changed,effect_unknown), recovery hints,input_emitted, andretry_same_request.
- Bind before pruning: From platform-provider records (roles, names, values, states, actions, geometry, relations),
- Cross-channel invalidation ledger and dual action guards (§3.2 Algorithm 1 & Appendix E.4 Figs. 17–18):
- Because all three channels mutate one shared desktop, an AX action can dismiss a dialog beneath earlier GUI coordinates, while a GUI click can replace an AX target.
HCUinvalidates working AX snapshots, hidden-element caches, andfindcursors on any mutating GUI input while preservingaN/wN/rNregistries and diff baselines; full-desktop screenshots (GUI screenshotorAX observe:"full") register the active frame and itsGUI layout lease. - AX target guard: Before every step inside an
AXbatch,LiveTarget(a.ref)verifies live identity andCanExecute(a, t). Missing, ambiguous, or replaced targets are rejected asstale_refwith zero input emitted and no name-similarity fallback. - GUI layout guard: Before coordinate input,
LiveLayout()compares current desktop bounds, visible top-level windows, z-stacking order, active window, and target-point window ownership against the frame lease. On mismatch (illustrated in Fig. 18 on LibreOffice Writer after an AX click closes the Character dialog),HCUaborts the entire 7-action GUI batch (gui_frame_stale,0dispatched) and returns a fresh screenshot—enabling the agent to adjust(628,289)/(224,95)to(626,292)/(232,93)and succeed on retry. If focus or pointer preparation fails ambiguously where an OS event might still fire, desktop automation stops rather than replaying.
- Because all three channels mutate one shared desktop, an AX action can dismiss a dialog beneath earlier GUI coordinates, while a GUI click can replace an AX target.
- Trajectory-distilled HCU skill (§3.3 & Appendix F.2):
- Split into
instructions/base.mdandinstructions/hybrid.mdwith zero task-specific answers, the skill encodes routing by where state lives (unopened files via Shell format-aware libraries + file parsing; open documents/settings inside the owning app via AX/GUI; browser endpoints probed once else AX/GUI; canvases via GUI pixels + AX menus), Linuxsetsid -f/ macOSopen -alaunch hygiene, result-type verification rules, and per-error-code recovery rules. - Evaluated vs. Released build boundary (Appendix B.1): Section 4’s main experiments and ablations ran the evaluated build (
32-step batch cap,assert_ax, postconditions,observation_target), later unified into the released build documented in Appendices A, E, and F (64-step cap, unifiedwait/settle,apps, JSON evidence prefix, GUIzoom, AXselect, per-targeteffect:, and per-target-point Linux layout checks).
- Split into
3. Empirical Evaluation: OSWorld 2.0 Frontier, Ablations, Cross-Model Routing, and Cross-Platform Transfer
On the full OSWorld 2.0 set (108 tasks, 0808 release, 500-step budget), HCU advances both accuracy and the cost–performance frontier against matched CUA Driver and published leaderboard entries:
| System (Harness) | Model (Effort) | Partial (%) ↑ | Binary (%) ↑ | Out / 1k ↓ | Cost / Task ↓ | Protocol & Matched Resource Notes (Tables 1 & 9) |
|---|---|---|---|---|---|---|
| HCU (Codex, Code Mode) | GPT-6 Astra (xhigh) | 72.37 | 32.40 | 25.4 | $10.03 |
0808 full set; 85 Steps, 78.4 tool calls, 6.9M input, 38.25 min mean (32.95 median); Pareto frontier with StateAct |
| HCU (Claude Code) | Claude Opus 5 (max) | 72.06 | 35.19 | 118.29 | $22.67 |
0808 full set; 75.8 turns, 88.0 Steps, 81.6 calls, 8.16M input, 113.95 min; -20.26% cost vs. official Opus 5 |
| CUA Driver (Codex, Code Mode) | GPT-6 Astra (xhigh) | 68.82 | 31.50 | 25.8 | $10.05 |
Matched baseline; 94 Steps, 111.7 calls, 6.9M input, 48.42 min (36.80 median); HCU cuts calls by 29.81% |
| Computer-use loop (Official) | Claude Opus 5 | 68.31 | 31.43 | 102.87 | $28.43 |
Official 0808 leaderboard; HCU adds +3.75 pp Partial & +3.76 pp Binary |
| Computer-use loop (Official) | Muse Spark 1.3 | 66.90 | 32.00 | — | — | 0808 record; output tokens and cost unreported |
| Computer-use loop (Official) | GPT-5.6 Sol | 62.72 | 27.34 | 36.14 | $13.94 |
Official 0808 leaderboard record |
| StateAct (§ Pre-0808) | Claude Opus 4.8 | 61.60 | 26.90 | ∼100.00 | ∼$7.80 |
Uses 0624 release; lowest-cost frontier anchor (~$2.23 below HCU Astra) |
| Computer-use loop (§ Pre-0808) | Gemini 3.8 Flash / Kimi K3 | 59.00 / 58.30 | — | — | — | Pre-0808 vendor reports; evaluated task counts unspecified |
| Computer-use loop (* Subset) | GPT-6 Astra* | 72.60 | — | — | — | OpenAI internal offline-subset result; grayed out & unranked on full set |
Table 1 · OSWorld 2.0 main comparison (arXiv:2610.41432v1 Tables 1 & 9; aside from the matched Codex Astra arm, rows combine different models, harnesses, and releases).
To isolate component contributions and test generality across backbones and OS backends, the authors evaluate OSWorld 1.0 (361 tasks excluding 8 Google Drive items, 100-step / 1,800 s cap; 360 paired tasks for Claude Opus 5.5 after one provider cybersecurity refusal) plus four cross-platform suites:
| Study Axis / Model (Native Harness) | Arm / Comparison (Tasks × Runs) | Score (%) ↑ | Steps ↓ | Input / Time | Cost ↓ | Channel Allocation & Attribution (Tables 2–3 & 10–11) |
|---|---|---|---|---|---|---|
| Ablation · GPT-5.4 (xhigh, Codex) | HCU Full (361 × 3) |
65.59 ± 0.61 | 28.60 | 0.941M / 351.3 s |
$2.52 |
80.3% AX desktop calls; -29.80% Steps, -56.85% Input, -29.85% Time, -55.36% Cost vs. CUA Driver |
| Ablation · GPT-5.4 (xhigh, Codex) | HCU w/o GUI (361 × 3) |
66.08 ± 1.66 | 32.16 | 0.909M / 352.4 s |
$2.45 |
Per-run deltas flip (+0.52 / +0.95 / -2.97), within noise; removes visual savings (+12.45% Steps) |
| Ablation · GPT-5.4 (xhigh, Codex) | HCU w/o Skill (361 × 3) |
64.00 ± 1.25 | 33.47 | 0.962M / 385.5 s |
$2.57 |
Malformed-arg rejections surge to 17.37% (vs. 1.36%) and repeat chains to 44.69% (vs. 0.37%) |
| Ablation · GPT-5.4 (xhigh, Codex) | HCU w/o AX (361 × 3) |
62.79 ± 0.65 | 33.28 | 1.051M / 401.8 s |
$2.82 |
Dropping AX loses -2.79 pp Score and raises Cost +11.9%; AX drives accuracy & token savings |
| Ablation · GPT-5.4 (xhigh, Codex) | CUA Driver (361 × 3) |
62.30 ± 1.12 | 40.74 | 2.181M / 500.8 s |
$5.65 |
Even w/o GUI beats CUA by +3.79 pp at -58.33% input tokens & -56.70% Cost |
| Model · Claude Opus 5.5 (low, C.Code) | HCU (2 runs) vs. CUA (360) |
71.62 vs. 68.68 (+2.94) | -1% | Input -32% / Time +6% |
-8% | 94.1% GUI (58% batched), only 2% post-error switch; +7.64 pp on 78.5 HCU-only desktop tasks offsets -0.73 savings |
| Model · Gemini 3.8 Flash (high, G.CLI) | HCU vs. CUA (361) |
67.57 vs. 54.67 (+12.90) | -17% | Input -39% / Time -29% |
-44% | 51.3% AX / 48.7% GUI; 100-step limit hits drop 148 → 93, driving Writer +43.5, Impress +38.3, Calc +29.8 |
| Model · Grok 4.7 (xhigh, G.Build) | HCU vs. CUA (361) |
74.71 vs. 67.90 (+6.81) | -22% | Input -18% / Time -13% |
-13% | 67.6% AX / 32.3% GUI; limit hits drop 27 → 6, GIMP +26.9, Impress +14.2; +4.59 pp from below-limit tasks |
Table 2 · OSWorld 1.0 component ablations (GPT-5.4, 3-run mean ± SD) and 4-model HCU vs. CUA Driver comparison (arXiv:2610.41432v1 Tables 2, 3, 10 & Appendices C–D).
Trace-level diagnostics explain where the gains originate:
- Skill eliminates schema retry spirals (
2,166pooled traces,1,083per arm, Table 11 & Fig. 7): Adding the skill cuts malformed-argument rejections from17.37%(2,460/14,160) to1.36%(147/10,783), collapses task-runs suffering consecutive schema failures from44.69%(484/1,083) to0.37%(4/1,083), and drops same-tool retry failure rates from64.0%to3.0%. Behaviorally, multi-action AX batching doubles (10.8% → 21.2%of task-runs;233/4,241 → 495/3,496calls),assert_axrises from2to290task-runs, calls omittingobserveto use defaultAX diffsurge from0.2%to87.0%(total diff selection81.25% → 96.02%), and GUI inputs fall from4.96to1.97/task (-14.55%Steps,+1.59 ppScore). - Models allocate channels differently yet gain from desktop calls (Figs. 4–5, 8–12):
GPT-5.4(80.3%),Grok 4.7(67.6%), andGemini 3.8 Flash(51.3%) route most desktop calls through AX, whereasClaude Opus 5.5routes94.1%through GUI (35.1%obs,59.0%exec), batches58%of acting calls (vs.11–21%), and switches channels after only1/55errors (2%vs.25–37%for the others). Yet on tasks where both interfaces invoke desktop tools,HCUcuts Steps by19.1%–40.4%across all four models; conversely, tasks without any AX/GUI calls contribute only-0.7to+0.1 ppof the overall Score gain (vs.+3.4to+12.8 ppfrom AX/GUI tasks). On29–31%of GUI-using tasks for GPT, Gemini, and Grok, all GUI calls are read-only screenshots followed by AX actions (e.g., Fig. 9 GIMP layer naming). - GUI vocabulary must fit model conventions (Table 12, Appendix C.3): Swapping HCU’s default
GPT-styleGUI primitives forClaude-styleactions while fixing AX, code, batching, and guards liftsClaude Opus 5.5by+0.82 pp(71.70% → 72.51%, convention errors92.49 → 48.14per1kcalls including eliminating27unsupportedtriple_clicks) but dropsGPT-5.4by-2.03 pp(65.59% → 63.56%, errors10.44 → 41.48per1k). - Cross-platform transfer of the Released HCU build (Appendix A, GPT-5.4, Tables 4–7 & Fig. 6): Across all four suites, Released HCU outperforms
CUA Driver: OSWorld 1.0 (360tasks,xhigh) reaches70.13%(vs.65.77%Evaluated HCU and62.47%CUA Driver), cutting Steps-38.6%(24.92) and Shell commands-60.7%(21.66 → 8.52) while raising desktop calls to13.10(-59.1%cost from$0.983to$0.402under Table 4 pricing vs. Table 2’s$5.65 / $2.52at comparable2.17M / 0.93Minput tokens); WeaveBench (114tasks,medium) hits53.25%(24/114≥ 0.8) vs. CUA Driver (46.37%,12/114) and Official OpenClaw (43.84%,23/114) at-46.3%to-48.6%cost ($1.889vs.$3.518/$3.672, though OpenClaw runs faster at21.19vs.32.59 min); MacAgentBench (28-task UI-dependent macOS subset,xhigh) reaches25/28(89.3%vs.24/2885.7%) with-37.8%Time and-51.4%Cost ($0.7245vs.$1.4899;49.8%AX calls); Windows Agent Arena (111tasks) scores80.86%(88vs.78full solves,+8.97 pp; still80.68%vs.72.54%on the110tasks excluding one CUA Calc OOM deadlock) with-36.0%Time and-50.6%Cost ($0.325vs.$0.664).
4. Scientific Boundaries, Methodological Caveats, and Engineering Takeaways
Adopting HCU in production agent harnesses requires distinguishing validated interface gains from uncontrolled confounders and domain caveats:
- Per-model harness confounding & mixed baseline versions (§4.1 & Table 1): Each model always runs inside its native CLI harness (Codex, Claude Code, Gemini CLI, Grok Build). Even with web search, memory, subagents, and planning disabled, harness token and turn mechanics diverge sharply (e.g., Codex Code Mode
25.4koutput tokens /$10.03vs. Claude Code118.29k/$22.67on OSWorld 2.0). Cross-model rows therefore measure(interface, model, harness)tuples rather than pure backbone capability. Table 1 also mixes0808runs withStateActon0624, pre-0808vendor numbers with unspecified counts (Gemini,Kimi), and OpenAI’s unranked offline subset (72.60%). - Benchmark size, per-app regressions, and build-version split: The main
OSWorld 2.0(0808) benchmark contains only108tasks (single-run main scores without multi-seed variance), andMacAgentBenchevaluates a28-task UI-dependent subset rather than all macOS tasks solvable via AppleScript/CLI. Even onOSWorld 1.0, VS Code (23tasks) regresses on 3 of 4 models (-10.1 ppGPT-5.4,-13.0 ppGemini,-2.2 ppOpus 5.5; Grok+8.7 pp), andThunderbirddrops on Opus (-10.7 pp) and Grok (-6.7 pp), showing that exposing extra GUI/AX pathways can hurt IDE-heavy workflows without better routing. Moreover, main OSWorld 2.0 and ablation runs used the evaluated HCU build rather than the upgraded released build tested only withGPT-5.4in Appendix A, cross-channel prompt-injection security across shared shell/AX/GUI state is untested, and this close reading relies strictly on primary artifacts without locally re-executing the VM suites. - Transferable engineering takeaways: (1) Bind references before compacting UI trees: keeping
aN/wN/rNaddresses bound to acquired state prior to structural pruning cuts12.6%–44.1%view tokens (30,526 → 1,237vs. stock XML) without breakingfindor action targeting; (2) Co-locate wait assertions, diffs, and delivery evidence inside single calls: unifyingwait/settle, defaultAX diff, andinput_emittedflags shrinks round trips (-19%to-40%Steps on shared-desktop tasks) and prevents duplicate blind retries; (3) Enforce pre-input cross-channel guards and native GUI vocabularies: always verifyLiveTargetandGUI layout leaseimmediately before OS input emission, and match GUI action schemas to the target model’s pretraining conventions to avoid silent0.8–2.0 pplosses.
Source: Hybrid Computer Use: A Unified Programmatic, Semantic, and Visual Interface for General Agents
16 · Mage-VL-Cowork: A Full Training Recipe to Learn Hybrid Computer Use From Evolved Harnesses
- Paper: Mage-VL-Cowork: A Full Training Recipe to Learn Hybrid Computer Use From Evolved Harnesses (v1 PDF · HTML · Project · Code · Models)
- Authors: Xiaoyi Zhang*†, Haoqing Wang*, Xinjie Zhang, Xiang Ming, Xing Wang, Senqiao Yang, Kaichen Zhang, Zhaoyang Jia, Andong Tan, Xinjiang Wang, Jinghao Guo, Yifei Shen, Xiao Li, Peng Zhang, Xun Guo, Jiahao Li, Shicheng Zheng, Jinglu Wang, Zongyu Guo, Wenxuan Xie, Bin Li, Yan Lu (Microsoft Mage Team; *equal contribution, †project lead
xiaoyizhang@microsoft.com) - Venue & Status: arXiv:2610.40747v1
[cs.CL]· Submitted 2026-10-29 (onlyv1exists at verification time; nov2revision or withdrawal)
Mage-VL-Cowork addresses a core bottleneck for compact desktop agents: how to train a single 4B multimodal policy that fluidly combines visual screen interaction with persistent terminal code execution rather than isolating GUI and CLI agents. Under a 50-step interaction budget, Mage-VL-Cowork-4B achieves 66.0% on OSWorld-Verified (361 tasks excluding Google Drive, 2-run average), surpassing multiple 9B–72B open-weight peers and approaching GPT-5.4-mini (69.57%). All primary claims below trace directly to arXiv:2610.40747v1, with reported scopes and verification boundaries separated explicitly.
1. Problem Formulation, Hybrid Action Space & Evolved Teacher Harnesses (α → ε)
Desktop knowledge work mixes two incompatible signal regimes: rendered canvases, live in-memory application state (such as cached browser preferences), and custom UI widgets are observable only in pixels, whereas bulk spreadsheet aggregation, structured document or slide editing, and exact file validation are slow and brittle when executed through raw mouse clicks. The authors therefore unify a single 4B model across two complementary channels:
- Visual GUI Channel: observes full-desktop screenshots and outputs
[0, 999]normalizedcomputer_usecoordinates and actions (8primitives evaluated in Single Step Cowork Bench:click,double_click,triple_click,drag,scroll,type,keypress,terminate;10GUI actions in the full agent prompt). - Persistent Docker Terminal Channel: executes Python, shell commands, and domain libraries (for example modifying PowerPoint slides, shapes, and text runs directly via
python-pptxrather than unpacking raw OOXML). Across the final retained hybrid SFT corpusD, tool invocations split68.19%GUI vs.31.81%terminal.
Formally, the teacher agent is modeled as with harness comprising the scaffold F, tool interface T, system prompt P, and terminal execution environment E. Crucially, harness evolution in Mage-VL-Cowork favors channel pruning over accumulation:
- Five-stage harness trajectory (α → ε): On the dev benchmark, a GUI-only baseline
αreaches75.6%in32.19turns; adding code/terminal (β₁, GUI + Code) jumps to92.0%in25.00turns, whereas keeping accessibility-tree primitives (β₂, GUI + Code + AX) regresses to89.6%across35.33turns. Subsequent scaffold refinement (γ₁92.4%/24.40vs.γ₂89.0%/55.05calls), teacher model updates (δ₁92.8%/23.80vs.δ₂92.0%/25.20), and hybrid routing prompt guidance (ε₁93.2%/23.20vs.ε₂92.5%/24.50) tighten efficiency while pruning redundant tools such asxdotooland the AX tree. - Compact students amplify tool ambiguity (Table 5): Evaluating
672held-out multi-app tasks under a fixedGPT-5.4teacher shows removing AX (β₁vs.β₂) yields+2.4 ppaccuracy (92.0%vs.89.6%) and-29.2%steps (25.0vs.35.3) for the frontier teacher, but expands to+12.5 pp(37.6%vs.25.1%) and-21.5%steps (30.91vs.39.4) when distilled into a4BSFT student. Small models suffer much sharper routing oscillation whenever overlapping channels express the same intent.
2. Mage-CUA-Forge Skill Workflows, WebHarbor Sandboxes & 5-Stage Training Recipe
Rather than prompting an LLM to write bespoke setup and verification scripts from scratch per task, Mage-CUA-Forge organizes generation around an atomic skill taxonomy S expanded and refined across 3 rounds from student evaluation feedback to 6,915 atomic skills. An authoring agent compiles one reusable workflow W per skill, coupling LLM nodes with reusable application/file preparers (such as LibreOffice Calc workbook builders and Thunderbird mail profiles/stores) and setup utilities to emit (Instruction, Env Setup Script, Rubric), filtered by file-level and package-level verification gates.
For web and cross-app workflows, the team built self-hosted deterministic web replicas combining InfiniteWeb (17,542 tasks) and an extended WebHarbor (Flask + SQLite reset before every episode from a read-only seed D₀), enforcing strict prompt/oracle asymmetry and judging completion directly on traces plus final SQLite database state. In total, offline synthesis spans 293,806 tasks (61.76% single-app, 38.24% multi-app; 419,505 app-task incidences across 9 apps: OS 81,974, Calc 77,665, Impress 56,962, Writer 49,540, VS Code 44,505, GIMP 38,727, Chrome 28,162, VLC 23,423, Thunderbird 18,547; plus 17,542 InfiniteWeb tasks) with 877,608 task-file references across 266,030 tasks (90.5%, mean 2.99/task, 278 extensions led by coding 15.6%/136,736, spreadsheets 15.5%/135,805, text/MD 15.3%/134,050, images 15.0%, presentations 10.7%/93,784, docs 8.4%/74,052, PDF 6.2%/53,996). From the same task pool, specialized teacher harnesses produce pure-GUI rollouts (Stage 2), terminal-only desktop rollouts (Stage 3), and 318,837 retained hybrid trajectories (GPT-5.4-mini reasoning synthesis, gpt-5.6-terra rubric judge).
Across training, Stages 1–4 use a 32,768 sequence window for 2 epochs, totaling 7.787 × 10²¹ FLOPs (7.79 ZFLOPs) in nominal LM compute estimated via :
- Asymmetric sliding context & structured turns (Figure 12): Every assistant step follows
<think>+Action:+<tool_call>. The prompt retains only the 3 most recent screenshots (t-3, t-2, t-1) and4responses so the policy can verify pre/post UI transitions and break click loops, while earlier steps1..t-4drop images and collapse into one-line imperativeAction:summaries. - Stage 1 (GUI Midtraining) counters answer-machine bias: By decoupling prompt schemas (
"enum":["click"]vs. the10-action agent prompt), deduplicating repeated same-screenshot targets (A_k = A_j), and selectively masking verbose<think>tokens (33vs.575tokens where69%=397lie inside<think>), Stage 1 lifts grounding from30.6% → 56.9%onOSWorld-G(vs.Qwen3.5-4B54.5%,Qwen3-VL-4B60.6%) and78.8% → 87.2%onScreenSpot-v2(vs.Qwen3-VL-4B85.3%,Qwen3.5-4B91.4%), alongside evaluation on the342-stepSingle Step Cowork Bench(8primitives). - Stages 2 → 3 → 4 SFT & Stage 5 Async RaaS RL: Stage 2 pure-GUI SFT reaches
45.56%; Stage 3 adds563.7kcode/terminal trajectories (Terminal-Bench/SWE-bench plus terminal-only desktop rollouts on Stage 2 tasks); Stage 4 hybrid CUA SFT (3.988 ZFLOPsor51.2%across Stages 2–4) pushesMage-VL-Cowork-SFTto55.84%(+10.28 pp) on OSWorld-Verified and58.6%(377/643) on WebVoyager-Static. Finally, Stage 5 runs online hybridGRPO+vanilla TIS(clip cap2.0) on1,988ScaleCUA tasks using frontier sampling and a50-step budget to reach66.0%(+10.16 pp). The RaaS infrastructure pairs PoLar + Slime + SGLang over Azure Relay (separating Control, Inference, and Bulk trajectory streams while keeping weights intra-cluster), running96groups ×8slots =768rollout slots across a4-batch window with staleness bounded to≤ 3updates (observed mean2.71over408updates, range0.0–3.0;11post-init updates averaged570.3 sor6.31/hr; per-update footprint:18,437.56turn seqs,34,973.68image occurrences,136.49Mtokens,2.44 GBgzipped,408.25 GiBCPU pixel tensors).
| Stage | Corpus & Configuration | Sequences / Tokens per Epoch | Nominal LM Compute | OSWorld-Verified (Mean Calls / Out / Think Tokens) |
|---|---|---|---|---|
| Stage 1 · GUI Midtraining | Grounding, schema decoupling & <think> masking |
751,346 seqs · 24.6B tok/ep |
1.18 ZFLOPs (15.2%) |
OSWorld-G 30.6% → 56.9%; ScreenSpot-v2 78.8% → 87.2% |
| Stage 2 · GUI Agent SFT | 156.7k pure-GUI desktop trajectories (2 epochs) |
983,462 seqs · 32.2B tok/ep |
1.55 ZFLOPs (19.9%) |
45.56% (25.36 mean / 19 med / 50 P90; 6,401.2 / 4,549.4) |
| Stage 3 · Code & Term SFT | 563.7k trajs (Terminal/SWE + terminal desktop) |
174,029 seqs · 5.7B tok/ep |
0.27 ZFLOPs (3.5%) |
Builds Python/CLI and direct file editing reliability |
| Stage 4 · Hybrid CUA SFT | 318,837 hybrid trajs (68.19% GUI / 31.81% term) |
1,377,805 bins · 45.1B tok/ep |
2.17 ZFLOPs (27.9%) |
55.84% (21.57 mean / 15 med / 50 P90; 7,374.4 / 3,327.6) |
| Stage 5 · Online Hybrid RL | 1,988 ScaleCUA tasks · GRPO + vanilla TIS (clip 2.0) |
768 slots · 32 B200 + 70 D64d_v5 |
2.618 ZFLOPs (33.6%) |
66.0% (18.77 mean / 14 med / 42 P90; 5,498.6 / 2,482.4) |
3. Quantitative Benchmarks, Ablations & Cost / Latency / Evaluation Caveats
On OSWorld-Verified (361 tasks excluding Google Drive, 50-step budget, 2-run average), Mage-VL-Cowork-4B reaches 66.0% overall with domain breakdowns of OS 87.5% (highest in Table 2), Office 64.9%, Daily 65.0%, Professional 66.3%, and Workflow 62.7% (+14.6 pp ahead of ScaleCUA-Qwen3.5-9B at 48.1%). Moving from Stage 4 Hybrid SFT to Stage 5 Hybrid RL improves accuracy by +10.16 pp while reducing mean tool calls by 13.0% (21.57 → 18.77; P90 50 → 42) and trimming both output tokens (7,374.4 → 5,498.6) and thinking tokens (3,327.6 → 2,482.4) by 25.4% (Table 6). For frontier context, GPT-5.4-mini (xhigh) achieves 69.57% (18.24 calls) on a single 50-step run, emitting 12,397.4 API output tokens (11,630.6 thinking).
On WebVoyager-Static (643 tasks, Table 4), the authors evaluate the SFT checkpoint Mage-VL-Cowork-SFT, scoring 58.6% (377/643) — above Qwen3-VL-8B-Thinking (53.7%), Qwen3.5-9B (53.3%), OpenWebRL-4B (47.1%), MolmoWeb-8B (46.8%), Fara-7B (40.4%), and Qwen3.5-4B (37.3%), and behind web-specialized Fara1.5-4B (68.0%). Crucially, comparing deterministic static checks against common live-judge pipelines exposes 12.8–33.1 pp of false-positive inflation caused by three failure modes: shortcut guessing, missed multi-constraint filters, and uncommitted stateful edits.
| Evaluation / Ablation Axis | Baselines or Configurations (Source) | Reported Quantitative Results | Scope & Audit Notes |
|---|---|---|---|
| OSWorld-Verified Open-Weight Peers (Table 2) | Fara1.5-4B / Qwen3.5-9B / OpenCUA-32B / DART-GUI-7B / OpenCUA-72B / ProCUA-SFT / ComputerRL-9B / Qwen3.5-27B / EvoCUA-32B / Qwen3.6-27B / Muse Glimmer-30B / ScaleCUA-Qwen3.5-9B |
13.9% / 41.8% / 35.1% / 42.1% / 44.9% / 45.0% / 48.0% / 56.2% / 56.7% / 63.9% / 65.9% / 68.7% vs. 4B 66.0% |
Mage-VL-Cowork-4B uses 50 steps (2-run avg); DART-GUI-7B uses 30 steps; Table 2 also includes 100-step refs UI-TARS-2 (53.1%), Seed-1.8 (61.9%), Claude Sonnet 4.5 (62.9%) |
| OSWorld-Verified Frontier & Human Refs (Table 2) | Claude Sonnet 4 / Agent S2.5 w/ o3 / GPT-5.4-mini / Human / Kimi-K2.6 / GPT-5.4 / Claude Opus 4.7 / GPT-5.5 |
43.9% / 54.2% / 69.6% (69.57%) / 72.4% / 73.1% / 75.0% / 78.0% / 78.7% |
Paper explicitly notes GPT-5.4-mini reflects 1 run; all OSWorld-Verified numbers exclude Google Drive |
Channel Pruning Ablation (672 Tasks, Table 5) |
β₁ (GUI+Code) vs. β₂ (GUI+Code+AX) |
GPT-5.4 teacher: 92.0% (25.0 steps) vs. 89.6% (35.3 steps); 4B student: 37.6% (30.91 steps) vs. 25.1% (39.4 steps) |
Holding the teacher fixed, pruning AX boosts 4B student accuracy by +12.5 pp (>5× the teacher’s +2.4 pp delta) |
WebVoyager-Static (643 Tasks, Table 4) |
Qwen3.5-4B / Fara-7B / MolmoWeb-8B / OpenWebRL-4B / Qwen3.5-9B / Qwen3-VL-8B-Thinking / Mage-VL-Cowork-SFT / Fara1.5-4B |
37.3% / 40.4% / 46.8% / 47.1% / 53.3% / 53.7% / 58.6% (377/643) / 68.0% |
Evaluates the SFT checkpoint rather than the RL model; live-judge inflates scores by 12.8–33.1 pp |
Recurring Synthesis Expenditure (gpt-5.6-terra, Table 3) |
Per-task scratch authoring vs. Mage-CUA-Forge reusable workflows |
Cost $0.906 → $0.158/task (-82.6%); tokens 1,276K → 85K (-93.3%) |
Measures recurring per-task generation only; excludes one-time workflow authoring/debugging, teacher rollout/judge API spend, and GPU/VM training costs |
Four verification and engineering caveats bound interpretation of these results:
- Cost & compute scope: Both the
-82.6%cost /-93.3%token savings (Table 3) and the7.79 ZFLOPsnominal LM figure (estimated via ) exclude major real-world infrastructure bills — specifically upfront workflow authoring, teacher trajectory generation and rubric judging, base pretraining, vision-encoder compute, gradient recomputation, and VM rollout hosting. - Unmeasured on-device latency: Although positioned as a compact
4Bpolicy suitable for lightweight deployment, the paper provides no consumer laptop/desktop tok/s or wall-clock task latency measurements; Stage 5 RL trained on32 B200GPUs (24 train / 8 inf, also28/4tested) plus70AzureStandard_D64d_v5hosts (1,120GUI slots,8 vCPU / 4 GiBguests, host capsINIT=4 / RUN=16 / POSTRUN=8), with VM episodes observed exceeding40 min. - Token accounting asymmetry: Table 6 compares MAGE’s counted text output tokens against
GPT-5.4-mini’s API output accounting; readers should inspect tool-call counts (18.77vs.18.24) alongside token totals. - Local verification scope: This reading faithfully synthesizes and cross-checks
arXiv:2610.40747v1text and tables; OSWorld-Verified benchmarks and4Bconsumer-hardware latency were not independently re-executed here.
4. Engineering Takeaways for AgentOps & Coding Agents
- Prune overlapping tools before scaling SFT: Table 5 proves that adding extra overlapping channels (
xdotoolor AX selectors alongside GUI clicks and shell code) degrades a4Bstudent by12.5 pp(+27%extra steps) even when a frontier teacher absorbs most of the ambiguity. AgentOps stacks serving compact models should consolidate redundant MCP/CLI wrappers early. - Split pixel observation from structured mutation:
Mage-VL-Coworkhits87.5%on OS and62.7%on multi-app Workflow tasks (+14.6 ppover a9Bbaseline) by letting screenshots verify live UI/runtime state while delegating bulk data manipulation and self-checks to a shell runningpython-pptxand file assertions. Coding and browser agents benefit from the same clean separation. - Treat hybrid shell access as a prompt-injection boundary: Giving a visual CUA persistent Docker shell access bridges untrusted screen/email/web inputs directly to local execution. Production deployments must adopt
WebHarbor-style read-only seed resets (D₀), strict credential/egress isolation, and explicit write authorization gates. - Pair asymmetric context folding with state-based verifiers: Retaining the latest
3screenshots while compressing older turns toAction:summaries controls multi-modal context bloat without losing transition verification, while deterministic SQLite/filesystem checks eliminate the12.8–33.1 ppjudge inflation endemic to LLM-as-a-judge loops.
Source: Mage-VL-Cowork: A Full Training Recipe to Learn Hybrid Computer Use From Evolved Harnesses
17 · Specula: Agent-built formal models for system code
Specula: Scaling formal specifications for autonomous model checking of system code
Qian Cheng et al. · arXiv · First submitted 2026-07-28, revised 2026-08-03
Specula uses coding agents to read concurrent and distributed system code, derive correctness properties, generate TLA+ models and run model checking. It decomposes work into scenarios to limit the state space, checks execution traces for model–code conformance and attempts to reproduce counterexamples in the actual code. Feedback loops refine models, properties and scenarios.
The authors report 249 bugs across 48 open-source systems: 207 newly found and 42 known but unfixed. Of 89 reported, developers confirmed 68 and fixed 24. Model checking surfaced 200 of the 249; the remainder emerged while understanding and modeling code. Found, reported, confirmed and fixed are distinct stages: the total is not the number of confirmed new bugs.
The work makes the cost of applying formal methods to system code an iterative problem of modeling, trace validation and code-level reproduction. Most generated invariants are safety properties; model abstraction, state space, reproduction conditions and compute cost still limit which bugs can be found. The paper was first submitted in July; this is a later reading rather than a new publication.
Community
Community note
vLLM prefill/decode separation: Inter-token latency versus KV transfer and TTFT
Yuval Mehta highlights a prefill/decode tradeoff on a two-L40S PCIe setup: separating phases improved tail inter-token latency but worsened TTFT when KV transfer lacked GPU peer-to-peer copies. The post identifies Qwen2.5-7B and different request rates. It is a configuration-specific diagnostic example; verify the transfer path and compare both latency metrics before generalizing.
