2026-12-01
2026-12-01
TRACE calibrates whole-tool-schema KV-cache eviction to task-success risk
Tool-Relevance-Aware Cache Eviction with Conformal Guarantees for Agentic Inference
Tool-using agents can spend most of their KV cache on tool schemas, making the schema-dominated portion a practical compression ceiling. On the Berkeley Function Calling benchmark (BFCL), a turn exposes about 28 tools, while its reference calls invoke an average of 1.7; schemas for uninvoked tools occupy 77–86% of the prefix. Removing those schemas at prefill leaves task success essentially unchanged, whereas same-count random removal is catastrophic.
This targets a limitation in proxy-driven compression: existing methods are commonly tuned against cheap metrics such as perplexity, while the amount of schema cache a turn needs for task success is not known. TRACE changes the unit of eviction from arbitrary tokens to whole tool schemas. A relevance predictor ranks tools for the current turn, the keep rule retains the top-k schemas, and the system constructs a compacted prefix at prefill. A conformal risk-control layer then calibrates the keep size against a task-success-loss budget.
The relevance effect is clearest in the hindsight experiment. Across the reported Qwen2.5-7B/14B base and long-context settings, an oracle removes 77–86% of the prefix with point-estimate regret between −3.2 and −1.3 percentage points; matched-count random eviction instead costs 35.5–43.5 points. This shows that removed volume alone is a poor policy signal when the relevant tools are known, but it does not make the oracle deployable.
The practical predictor reaches aggressive best-effort points: the small instruction model retains 17% of the base prefix at 4.7 points of regret and 25% of the long-context prefix at 3.2 points. These points are not certificates. At risk budget α=0.10, the CRC procedure selects a compressed member of the deployed keep-size family in all four model–context settings, reporting a 3.9–6.2× eviction-only reduction.
The guarantee is narrower than the compression result: it bounds marginal expected compression-induced task-success loss for a fresh exchangeable instance under the stated calibration construction, not loss on every instance or every held-out split. The practical predictor and CRC results are benchmark-limited; the paper reports its quantitative results on BFCL, so the supplied evidence does not establish performance across independent agent benchmarks. The evaluated serving mechanism is compacted prefill rather than editing an already-populated cache, and projected memory savings for practical predictors should not be read as measured physical-cache savings.
The transferable research operation is to define compression as a downstream-risk decision: identify structured context regions that appear irrelevant, evaluate removal with a task-level checker, and calibrate the smallest safe action over a nested family. The key follow-up question is whether the same risk budget remains valid after changing the model, tool catalog, or workload—and how quickly recalibration detects when it does not.
Read this if you design agent inference systems: TRACE turns tool-schema cache eviction into a task-risk decision and makes the exchangeability and deployment boundaries explicit.
CED-MoE makes frozen-router expert prefixes into calibrated MoE service tiers
CED-MoE: Reversible Service Tiers from Frozen Expert Routers
Reducing expert count in a frozen MoE is not only a selection problem: survivor renormalization also changes the expert branch’s gain. CED-MoE reports that this renormalization raises perplexity more than six times as much as changing which experts are skipped under NAEE and ACE. A related k1/k2 method had already separated the number of executed experts from the normalization reference, so coefficient preservation alone should not be treated as the whole novelty claim.
CED instead orders each token’s experts by the frozen router’s native selected scores, always retains the first, and admits later experts only while their prefix-relative scores exceed a shared threshold; retained experts keep native mixture coefficients. That threshold is calibrated on unlabeled router traces to target average depth, while a positive threshold caps every token’s depth. A service tier can therefore change by threshold rather than reloading model weights.
Decisive evidence comes from the coefficient/selection ablation. In the matched-depth Qwen C4 comparison, native-weight CED had 17.5% lower perplexity than renormalized NAEE and ACE; the comparison used approximately 3.15 experts per routed token-layer and thresholds fitted on evaluation inputs. The paper’s broader frozen-threshold test found lower perplexity in all 18 reported family, corpus, and budget comparisons. On GSM8K, CED scored 91.43% versus 94.54% for full-budget grouped execution, retaining 96.7% of that accuracy with 60.8% fewer routed expert calls. Grouped execution converted the reduced assignments into up to 1.44× prefill throughput in the reported Qwen setup.
The C4-calibrated threshold approximately preserved target average depth across held-out C4, WikiText-2, and GSM8K prefill/decode workloads, with reported depths from 3.10 to 3.25 at target B=3.2.
The boundaries matter. Calibration used full-budget router traces from 128 distinct C4 training documents, and the score-stability bound depends on distribution change between calibration and deployment. Thus the fixed threshold is not a guarantee for arbitrary workloads. The reasoning result is demonstrated on one math benchmark with a particular prompt and decoding setup, and the runtime record reports software/execution settings but not the accelerator model, limiting throughput replication and comparison.
A useful research operation is to hold achieved depth fixed while crossing the two axes separately: native coefficients versus survivor renormalization, and native-order prefixes versus another selection rule. Then stress the same threshold on held-out domains and report quality, achieved depth, and hardware-specific throughput.
Read this to inspect the paper’s ablation separating coefficient scaling from expert selection, then test whether that separation survives workload and hardware changes.
abstract; Section 2.2, Prefix Deferral with Native Weights; Section 3.4, Native Coefficients Outweigh Selection; Table 2; Section 3.3, Quality across Calibrated Budgets; Figure 4 caption; Section 3.2, Reasoning with 60.8% Fewer Expert Calls; Appendix A.1, Table 4; Section 3.5, A Shared Threshold Transfers the Compute Budget; Table 1; Section 3.7, Executing the Calibrated Budget; Appendix E, Table 11; Section 2.3, From score stability to budget stability; Section 3.1, Calibration and language modeling; Section 3.1, Reasoning and runtime; Appendix E.1, vLLM Integration · Background and Setup, Method: decouple the reference set
AFRA Uses Proof-Graph Search to Build Helper Assertions for Unbounded RTL Proofs
From Bounded to Unbounded RTL Proofs via Agentic Construction of Helper Assertions
A target RTL property may remain unresolved even after the proof engine runs for months. CIll addresses a related bottleneck with CTI-guided helper generation, but its candidate-helper correctness screen is bounded. Its reported evaluation leaves the original M-extension and SERV cases unsolved. Large Lemma Miners searches ordered prefixes rather than all candidate subsets, so it can miss a valid strengthening whose lemmas do not form a prefix.
AFRA treats helper-assertion construction as a proof-graph search problem, representing dependencies among target properties and helper assertions. The paper identifies three recurring failure modes of LLM agents. Its method combines behavioral modeling and spurious-loop search, then defines a proof-graph progress measure as a dense reward for training a customized model. In 389 agent-found proofs, 59% of upper-layer helpers related several module instances, versus 35% in lower layers; AFRA responds by letting agents add sound auxiliary behavioral state. The paper says this state neither drives nor constrains the RTL, and each helper must still be proven.
In the reported production-family ablation, adding behavioral modeling and then spurious-loop search increased the mean solve rate from 14.0% to 36.7% and then to 74.2%. Across 587 targets in 13 design families, AFRA with GPT-6.1-sol achieved an 80.5% family-mean target solve rate, compared with 36.4% for the same model in Codex without AFRA. The study gives each task a four-hour budget, except P5, which receives 24 hours. Among the evaluated methods, AFRA with GPT-6.1-sol was the only one to prove all five P5 targets. For the production tasks AFRA fully proved, its helper assertions enabled Jasper to check each task’s targets in 1.6–21 minutes, while Jasper alone did not complete those proofs within 12 hours. The trained 27B model improved its same-harness family-mean solve rate from 22.8% to 32.7%, but this remains distinct from the 80.5% GPT-6.1-sol result.
The benchmark contains safety properties; deadlock-freedom and fairness targets take the form of bounded waits. The authors do not claim automated sign-off or bug hunting. Some customized baseline results were rebuilt from papers because the original implementations were not released. For a new verification agent, the concrete research operation is to expose intermediate proof structure—dependencies, short-loop diagnostics, and distance-to-closure—instead of rewarding only a final proved-or-unproved outcome.
Read it to learn how to turn sparse formal-verifier feedback into structured search state and a training reward, while keeping proof closure separate from model-generated suggestions.
abstract; §III-C; §IV-B, Table II; §IV-D, Table III · §4.2, paragraph 2; §5.2, paragraphs 2–3 · §5.2, [S5.SS2.p4]
SWAP Audits Paid Reasoning Effort with Randomized Within-Relay Comparisons
Reasoning effort is a metered API term: higher effort increases reasoning-token counts and charges, while a third-party relay can rewrite the effort parameter and usage fields. Users may therefore pay for a tier they cannot verify from relay metadata alone. Existing audits verify model identity, but the paper frames effort fulfillment as a separate, unexplored audit target.
SWAP changes the audit unit from a reported usage field to a paired outcome. For each newly generated problem, it sends one request at the paid effort and one at a lower control effort to the same relay, in randomized order with independently generated identifiers, then scores the two responses. The test takes cheating as its null: if both requests receive the same treatment, paid and control wins should be exchangeable. A paid-response advantage is instead evidence supporting certification.
The sequential e-process accumulates evidence pair by pair and permits stopping once the evidence reaches the certification threshold. At alpha = 0.05, the paper’s procedure uses an e-value of 20, with the stated false-certification guarantee applying under its exchangeability null and sequential-analysis assumptions. This replaces a fixed, preselected sample size with an anytime-valid stopping rule, but does not remove the need for a probe whose scorer separates the two effort levels.
The controlled evaluation certified all honest services and falsely certified 3.7% of downgraded services; the downgrade-plus-delay group was never certified. Across 27 models from 11 providers, usable probes were found for 20, conditional on sufficient paid/control separability and acceptable request cost. In the field sample, seven anonymized relays produced 89 audits: six relays had at least one non-certification, with both downgrade- and upgrade-labeled outcomes.
The boundary is important. Downgrade versus upgrade is a score-based diagnosis using validated effort means and a midpoint, not a direct observation of internal routing or the relay’s exact rewritten effort. The sequential analysis assumes independent, identically distributed pair outcomes and the specified exchangeability null. The authors also note that objective, consistent scoring for open-ended probes remains unresolved.
A useful research operation is therefore to make probe validation the first stage of an audit: measure whether a chosen problem family produces a stable paid/control gap, then randomize paired requests and predeclare the stopping rule. Table 6’s measured Gemini 3 Flash gap varied from 0.07 to 0.26 across four dates, motivating a further question: how should effort audits adapt when the discriminative gap changes over time without weakening their error guarantee?
Read it for a concrete design pattern for auditing hidden API behavior: randomized paired controls plus sequential evidence, with probe separability and non-certification treated as explicit boundaries.
A-Train co-designs learning algorithms and systems implementation, but transfer remains bounded by validation coverage
A-Train: Agentic End-to-End Optimization for Efficient ML Training
The paper targets a concrete limitation: general-purpose ML training frameworks separate systems engineering from the learning algorithm, while manual specialization across shifting models, devices, and datasets does not scale.
One supplied prior, ATTUNE, searches framework-exposed configuration options while leaving framework code, kernels, and the training image unchanged. A-Train moves the editable boundary: a single coding agent co-designs the learning algorithm and systems implementation to minimize time to a fixed quality target.
Its control mechanism is evaluator-owned recipe tuning. The evaluator sets designated recipe parameters and verifies that the candidate honors them, allowing a searched program to be reused while the recipe is refit on new data. Search also combines hidden validation traces with an asynchronous, layered evaluator. After search, the program is frozen and its recipe can be refitted for a new workload.
Across four fixed-model, fixed-device searches, frozen trainers met all main held-out quality targets after recipe refitting and achieved 3.77–14.10× speedups over tuned PyTorch references. On Scenario A’s held-out code test, A-Train was 3.51× faster than tuned torchtitan. The co-design comparison was hardware-dependent: it reported 1.05–1.59× faster training on HBM3 and 3.09–5.59× on a consumer GPU relative to systems-only search. The agent also produced local algorithmic discoveries; in an NVFP4 weight-gradient test, token permutation reduced reported local gradient error from 25% to 9.3% while preserving the exact product algebraically.
Transfer is the important boundary. The authors interpret the model-transfer results as showing that runtime correctness guards can extend robustness, while useful speed transfer remains limited when validation misses relevant architectural differences. On unseen hybrid Granite-4.0-H, a guard disabled unsafe packing and the resulting trainer reached only 0.36×. On hardware transfer from 80 GB to a 32 GB consumer GPU, the trainer ran out of memory and required a manual BF16 optimizer-moment change. Baseline coverage is also incomplete: the paper reports no suitable production baseline for Qwen3 on the consumer GPU, Whisper on the Xeon CPU, or Granite on the HBM3 GPU.
Research operation: separate reusable program edits from evaluator-controlled recipes, hide enough validation to expose overfitting, and report time-to-quality rather than throughput alone. Then deliberately test transfer outside the search envelope, recording whether a guard preserves correctness, speed, both, or neither. The practical question is not only whether an agent finds a faster trainer, but which validation dimensions make that trainer reusable.
Read it for a concrete evaluator design that turns agentic code search into a time-to-quality experiment, while the transfer failures show how to test whether an optimization is reusable rather than merely correct on the search setting.
abstract; Section 3.2, “Structural regularization,” PDF page 5; Section 1, contribution summary, PDF page 2; detailed results in Section 4.2, PDF pages 7–8; Section 4.2, “Scenario A: Dense LLM SFT on an HBM3 GPU,” PDF page 7; Section 4.2, “Co design versus systems only search,” PDF page 8; Section 4.4, “Permutation sorted FP4 weight gradients,” PDF page 10; Section 4.3, “Scenario F: Model adaptation across dense and hybrid architectures,” PDF page 9; Section 4.3, Scenario E, PDF page 9; Section 4.1, “Baselines and implementations,” PDF page 6 · §6.2, [S6.SS2.SSS0.Px3.p1]
