EGG: An Expert-Guided Agent Framework for Kernel Generation

13d ago · Global · primary source: export.arxiv.org

A new framework called EGG aims to automate the creation of high-performance GPU kernels for large language models, a task that currently depends on manual work by domain experts, according to a preprint submitted on 25 Jun 2026 [1]. The framework, detailed in a paper on the arXiv preprint server, uses expert optimization principles to guide the decisions of large language models (LLMs) during kernel generation [1]. The work addresses a bottleneck in artificial intelligence, where the computational cost of training and running neural networks has grown exponentially. Training these networks is a compute-intensive process accelerated by graphics processing units (GPUs) and large datasets [3]. Transformer architectures, which introduced attention mechanisms, now form the basis of large language models [3]. EGG decomposes the kernel generation process into two hierarchical stages, mirroring the workflow of human experts [1]. The first stage, algorithmic structure design, establishes a high-quality computational foundation. The second stage, hardware-specific tuning, performs targeted adjustments through parallel mapping, tensor tiling, and memory optimization [1]. A stage-aware multi-agent collaboration mechanism manages context between and within these stages to maintain stable optimization trajectories [1]. In experiments on the KernelBench benchmark and real-world workloads, EGG achieved a 2.13x average speedup over PyTorch [1]. The paper states the framework outperformed existing agent-based and reinforcement learning-based approaches [1]. The preprint was posted on arXiv, an open-access repository for electronic preprints that are moderated but not peer reviewed [7]. As of November 2024, the submission rate to arXiv was about 24,000 articles per month [7].

applicationtool-releaseresearch-paperinfrastructure

Background sources we checked (8)
  • arxiv.org ↗ High-performance GPU kernels are critical for reducing the exponentially growing computational costs of large language models (LLMs), but their development heavily relies on manual tuning by domain experts. While recent advances in LLM-based approaches show promise for automating…
  • en.wikipedia.org ↗ In machine learning, a neural network (NN) or neural net, is a computational model inspired by the structure and functions of biological neural networks. A neural network consists of connected units or nodes called artificial neurons, which loosely model the neurons in the brain.…
  • en.wikipedia.org ↗ This glossary of agriculture is a list of definitions of terms and concepts used in agriculture, its sub-disciplines, and related fields, including horticulture, animal husbandry, agribusiness, and agricultural policy. For other glossaries relevant to agricultural science, see Gl…
  • en.wikipedia.org ↗ The brown rat (Rattus norvegicus), also known as the common rat, street rat, sewer rat, wharf rat, Hanover rat, Norway rat and Norwegian rat, is a widespread, common species of rat. One of the largest muroids, it is a brown or grey rodent with a body length of up to 28 cm (11 in)…
  • en.wikipedia.org ↗ The following scientific events occurred in 2022.…
  • en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
  • en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…
  • en.wikipedia.org ↗ LK-99 also called PCPOSOS, is a gray–black, polycrystalline compound, identified as a copper-doped lead‒oxyapatite. A team from Korea University led by Lee Sukbae (이석배) and Kim Ji-Hoon (김지훈) began studying this material as a potential superconductor in 1999, and in July 2023 publ…

Sources covering this (3)

Spot something wrong? Report an issue