Search arXiv⌕ Search

arXiv · 2612.04978

Agent Memory Scaling Laws for Verified Trainium Kernel Generation

Abstract

Coding agents, while powerful, exhibit the tendency to produce voluminous code artifacts that lead to a lack of trust and reliability. Formal verification methods mitigate this by enforcing that the agent's code satisfy a set of predetermined "contracts", where the code must pass a proof-of-correctness check to be admissible. In the limit, any language model with full support will produce a verified solution given unbounded time. Thus, time-to-solution is the principal metric that distinguishes the quality of agents in the verified setting. We study how this search cost, measured in output tokens, scales with the size of an in-context curriculum and depends on its composition. Our testbed is iterative Trainium kernel generation, using a formal verifier on Rust representations and fixed acceptance checks. Across held-out targets, task-relevant curricula exhibit an approximate power law between curriculum size and log-speedup over the measured range, and outperform generic verified code. According to the theory of stochastic dynamical systems, the power-law exponent provides an empirical estimate of the growth rate of algorithmic mutual information between curriculum and target task as the curriculum grows. Curated curricula reach about a 2.9x output-token speedup over no curriculum; the lowest measured solve cost is 52% lower, including curriculum prefill. To select examples before running the search, we evaluate a score based on how they change the likelihood of the unfinished target program, which strongly predicts downstream speedup. Curriculum also improves solve rates for weaker agents and yields faster executable kernels at a fixed search budget.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Simran Kaur, Evan Becker, Benjamin Bowman, Aditya Golatkar, Alessandro Achille, Wei Xia, Stefano Soatto. 2026-12-03. Agent Memory Scaling Laws for Verified Trainium Kernel Generation. https://searcharxiv.org/abs/2612.04978

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

LEMMA-RCA: A Large Multi-modal Multi-domain Dataset for Root Cause Analysis

Root cause analysis (RCA) is crucial for enhancing the reliability and performance of complex systems. However, progress in this field has been hindered by the lack of large-scale, open-source datasets tailored for RCA. To bridge this gap, we introduce LEMMA-RCA, a large dataset designed for diverse RCA tasks across multiple domains and modalities. LEMMA-RCA features various real-world fault scenarios from Information Technology (IT) and Operational Technology (OT) systems, including microservices, water distribution, and water treatment systems, with hundreds of system entities involved. We evaluate the performance of six baseline methods on LEMMA-RCA across various settings, including offline and online models, as well as single and multi-modal settings. Our study demonstrates the utility of LEMMA-RCA in facilitating fair evaluation and promoting the development of more robust RCA techniques. The dataset is publicly available at https://lemma-rca.github.io/, with archival metadata and access instructions deposited under DOI: https://doi.org/10.5281/zenodo.20516735.

cs.AI↗

Graph-to-Vision: Benchmarking Multi-Graph Visual Reasoning with Vision-Language Models

Recent advances in Vision-Language Models (VLMs) have shown promising capabilities in interpreting visualized graph data, offering a perspective on graph-structured reasoning that complements traditional Graph Neural Networks (GNNs) by dispensing with explicit graph construction. However, existing studies focus primarily on single-graph reasoning, leaving the critical challenge of multi-graph visual reasoning (MGVR) underexplored. In this work, we introduce the first comprehensive benchmark designed to evaluate and enhance the MGVR abilities of VLMs. Our benchmark covers four common graph types - knowledge graphs, flowcharts, mind maps, and route maps - and supports both homogeneous and heterogeneous graph groupings with tasks of increasing complexity. We evaluate several state-of-the-art VLMs under a multi-dimensional scoring framework that assesses graph parsing, reasoning consistency, and instruction-following accuracy. Additionally, we fine-tune multiple open-source models and observe improvements in 17 of the 18 model-dimension combinations, confirming the effectiveness of our dataset. This work provides a principled step toward advancing MGVR and reveals new opportunities for cross-modal graph intelligence.

cs.AI↗

Executable Epistemology: The Structured Cognitive Loop as an Architecture of Intentional Understanding (Extended Version)

Large language models exhibit intelligence without genuine epistemic understanding, revealing a philosophical gap: the absence of epistemic architecture. This paper introduces the Structured Cognitive Loop (SCL) as an executable epistemological framework. Rather than asking what intelligence is, SCL asks under what structural conditions cognition emerges. Drawing on process philosophy, enactive cognition, extended mind theory, and cognitive phenomenology, we reconceive intelligence as a performed process: a continuous loop of cognition, control, action, and memory governed by explicit normative regulation. SCL operationalizes philosophical claims as computationally interpretable structures ("executable epistemology"), shows that functional separation yields more coherent and traceable behavior than monolithic prompt-based agents, and redefines intelligence as the capacity to reconstruct one's own epistemic state. This extended version carries the framework from understanding to accountability. We show that SCL implements three structurally distinct paths of justified acceptance - Memory Fact (causal tool observation), Contextual Human-in-the-Loop (authoritative human judgment), and Pool-Gated Retrieval (threshold-governed evidential selection) - unified by a Grounding Principle that fixes the evidential basis of each reasoning episode at turn onset. Their analysis yields a tripartite framework of Epistemic Horizon, Warrant, and Commitment, which we argue is a general condition: any epistemic input can be incorporated into an accountable artificial agent if and only if these three conditions can be structurally specified. We conclude that the intelligence appropriate for accountable agents is normative rather than descriptive: a matter not of what an agent can produce, but of what it is entitled to produce.

cs.AI↗