arXiv Science⌕ Search

arXiv · 2611.32264

Mayfly: Lifecycle-Aware High-Bandwidth Flash for Recursive Self-Improvement

Abstract

Recursive self-improvement (RSI) lets an LLM improve its agent system by proposing and evaluating candidate variants across tasks. A generation's sessions grow their KV caches together and release them as they finish, creating a burst followed by a decline. At high concurrency, even the KV of sessions ready to run exceeds the GPU's HBM. Offloading that KV to host DRAM or SSDs adds capacity but leaves ready sessions waiting for HBM space before execution. High-Bandwidth Flash (HBF) can serve the overflow in place, but excessive reads lengthen decode steps and repeated writes consume flash endurance. Our key insight is that where ready KV is read should follow the burst and its decline: from HBF in place while the burst overflows HBM, as much as each step's bandwidth allows, and from HBM again as the decline frees it. A switch between ready and parked decides only whether a block is read, so its flash copy stays valid, and a session's end, which the orchestrator announces, decides when its private KV dies. We present Mayfly, lifecycle-guided HBF management for RSI. Mayfly bounds per-step HBF reads during overflow and returns KV to HBM as sessions finish and free space. It retains a valid backing copy of each block evicted from HBM to avoid rewrites across state transitions, and forwards session-end signals to the controller to avoid copying dead KV during garbage collection. Experimental results show that, at 128 sessions per generation on four added HBF sites, Mayfly finishes 34% sooner than parking the same KV on HBF and 23% sooner than reading it from HBF whenever HBM is full; its gain over parking grows with concurrency, to 55% at 256 sessions on eight sites. Keeping one flash copy per block and trimming at announced session ends avoid write amplification.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Chunlin Tian, Mingjia Fan, Feng Yu, Qingyun Zou, Wenju Zhao, Weng-Fai Wong, Bingsheng He. 2026-11-24. Mayfly: Lifecycle-Aware High-Bandwidth Flash for Recursive Self-Improvement. https://arxiv.science/abs/2611.32264

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 arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

An Empirical Framework for Quantifying DRAM Read-Disturbance-Induced System Failure Probability (QRD): Methodology, Experimental Results, and New Techniques

State-of-the-art DRAM read disturbance mitigation techniques rely on a read disturbance threshold (RDT) value to prevent read disturbance bitflips. We develop QRD, a framework that pairs a practical RDT estimation approach with an empirical read disturbance bitflip model to quantitatively reason about read-disturbance-induced system failure probability, building on the key results of a new extensive characterization study using 212 real DDR4 chips. Our characterization results show that many DRAM rows exhibit read disturbance bitflips if each row's RDT is measured once and the smallest of these values (RDTmin) is used as the read disturbance threshold for all rows. Therefore, a practical and secure approach to mitigating read disturbance bitflips requires error tolerance and a means for quantitatively evaluating the robustness guarantees provided by such error tolerance. We evaluate the probability of read-disturbance-induced uncorrectable errors that can lead to system failures. We conduct two case studies. First, when a read disturbance mitigation technique is configured using a single RDTmin measurement, relying solely on an error-correcting code (ECC) yields a low Mean Time to Uncorrectable Error (MTTUE). Combining ECC with infrequent memory scrubbing and configurable read disturbance thresholds increases this MTTUE by 1296X. Second, we propose Spatial- and Temporal-variation-Aware Read disturbance mitigation (STAR), a new hardware-software cooperative technique that makes spatial-variation-aware read disturbance mitigation VRD-aware. STAR exploits spatial variation and tolerates temporal variation in RDT. Using QRD, we show that a low-error-probability configuration of STAR combined with state-of-the-art read disturbance mitigation techniques (Chronus and PARA) improves system performance by 8%-32% compared to using the mitigation techniques in isolation.

cs.AR↗

ArchEval v0.5: Measuring AI Agents as Computer Architects

Computer architecture has long used benchmarks to make progress measurable. LLM agents create a different measurement problem: success is not merely writing code or tuning parameters. The agent must interpret workloads, choose mechanisms, use simulators, predict performance, satisfy hard constraints, and decide which feasible design is worth evaluating. This paper introduces ArchEval, a benchmark and platform for evaluating LLM agents on computer architecture design and optimization. It contains 20 challenges across CPU core mechanisms, system architecture, memory systems, accelerators, and compute-in-memory, backed by eight simulators. Each challenge is posed under three settings: L1 full harness, with repeated simulator feedback; L2 simulator-code container, where simulator source is available but the agent must assemble its own workflow; and L3 agent-only, with no runnable feedback before submission. Each run reports baseline-normalized verifier performance and records the full trajectory, connecting results to workload analysis, simulator-tool use, prediction, constraint handling, and artifact integrity. Initial results show a sharp boundary in current agents. With L1 support, all four evaluated agents reach or exceed baseline and improve real designs across diverse simulators. Removing support exposes weaknesses: many agents fail to turn simulator source into useful experiments, and L3 predictions often disagree with verifier results. In L3, only GPT-5.5 + Codex remains above baseline, reaching 1.21x geomean performance and a 65% win rate; the other three fall below baseline. Even GPT-5.5 + Codex has only a 15% performance-modeling pass rate. ArchEval frames today's agents as useful optimization assistants rather than autonomous architects, and identifies capabilities needed next: simulator-tool use, calibrated prediction, pre-feedback judgment, and useful mechanism discovery.

cs.AR↗

VeSGA: Microsecond, Microjoule Hyperdimensional Graph Classification through Algorithm-Hardware Co-Design

Deploying graph classification at the edge requires pairing high predictive accuracy with ultra-low latency and energy consumption. While message-passing hyperdimensional computing (HDC) closes the accuracy gap with graph neural networks (GNNs), existing formulations remain designed for software and map poorly onto resource-constrained hardware. We present VeSGA, an FPGA accelerator co-designed with its algorithm that adapts every stage of HDC graph classification to hardware. It is implemented on the ZCU104 FPGA board and evaluated across six benchmarks. Including data transfer, it runs up to 25x faster than GPU computation alone, achieves up to 42x lower latency than the closest prior accelerator, and consumes up to 3,900x less dynamic energy than the Nvidia RTX3090 GPU.

cs.AR↗