ARTFEED — Contemporary Art Intelligence

VRAM Forecasting in Code-Synthesis Agents: Analytical Models vs. Learned Baselines

ai-technology · 2026-08-18

A recent paper on arXiv (2608.15117) investigates peak VRAM usage during LLM inference for code-synthesis agents. The research breaks down memory into weight-storage, KV-cache, and activation components, influenced by step count, tool invocations, and context expansion. Utilizing a LangGraph-based CUDA-kernel-synthesis agent (AgentK), a 4-bit quantization family (Q4_K_M), and a single NVIDIA H100 GPU, the study analyzes four LLM backbones across 1,920 trajectories. Notably, closed-form analytical models, when supplied with two empirical constants (loaded-weight VRAM and fixed activation-memory overhead), demonstrate competitive accuracy against learned baselines. For three of the four backbones, the closed-form model either matches or surpasses the best learned baseline, achieving a test MAPE of 2.2-4.4% compared to 3.4-6.5% (p=0.76). The only exception is the smallest backbone, where the learned baseline excels. This research underscores the promise of analytical models for predicting peak memory in agentic tasks, offering advantages in interpretability and reduced computational demands compared to learned methods. The paper is officially submitted to arXiv as 2608.15117v1.

Key facts

  • The paper is arXiv:2608.15117v1, announced as a new submission.
  • The study focuses on peak VRAM consumption in LLM inference for code-synthesis agents.
  • Memory is decomposed into weight-storage, KV-cache, and activation terms.
  • The evaluation uses LangGraph-based agent AgentK, 4-bit quantization Q4_K_M, and a single NVIDIA H100 GPU.
  • Four LLM backbones are tested across 1,920 trajectories.
  • Closed-form analytical models achieve competitive accuracy with two empirical constants.
  • On three of four backbones, the closed-form model matches or outperforms learned baselines.
  • Test MAPE for the closed-form model is 2.2-4.4% vs. 3.4-6.5% for learned baselines (p=0.76).
  • The exception is the smallest backbone, where the learned baseline performs better.

Entities

Institutions

  • arXiv
  • LangGraph
  • NVIDIA

Sources