HTAM: Hierarchical Transition-Attended Memory for Operator Optimization
Not on the map. Why?
Abstract (arXiv)
High-performance GPU kernels are essential for efficient LLM deployment, yet optimizing them remains expertise-intensive. Recent LLM-based code generation makes automatic GPU operator generation promising, but operator optimization remains a hardware-aware search problem. Existing LLM-based methods face a granularity mismatch: coarse hints are reusable but hard to execute, whereas detailed memories are actionable but enlarge the search space and obscure optimization bottlenecks. The key challenge is therefore to organize optimization experience at an appropriate granularity. To address this issue, this paper proposes HTAM (Hierarchical Transition-Attended Memory), a coarse-to-fine framework for LLM-based operator optimization. HTAM builds a two-level Hierarchical Transition Graph (HTG) to organize coarse global directions, detailed local strategies, and transition experience between optimization steps. During each evolution step, HTAM selects a global direction from the current state and recent optimization history, retrieves the corresponding local strategy memory, and uses it to guide concrete CUDA code generation. Experiments on the full KernelBench suite demonstrate that HTAM consistently improves correctness, fast-solution rate, and speedup over LLM-based baselines, while backend and Robust-KBench studies indicate transferable benefits from structured memory.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 39 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
28 of 39 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2025s1: Simple test-time scalingcited by 1,311
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2023A Comprehensive Overview of Large Language Modelscited by 639
16 more
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 52
- 2025TileLang: A Composable Tiled Programming Model for AI Systemscited by 42
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
- 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generationcited by 41
- 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 33
- 2025The Best of N Worlds: Aligning Reinforcement Learning with Best-of-N Sampling via max@k Optimisationcited by 16
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuningcited by 15
- 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learningcited by 10
- 2025From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graphcited by 9
- 2020Flexible Performant GEMM Kernels on GPUscited by 4
- 2026ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignmentcited by 3
- 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Expertscited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.