arXiv:2608.02611v1 cs.DC

KernelBrain: 에이전트 기반 GPU 커널 최적화를 위한 거친 수준에서 세밀한 수준으로의 예산 인식 탐색

KernelBrain: Coarse-to-Fine, Budget-Aware Search for Agentic GPU Kernel Optimization

Shuai Che, Gang Peng

제출 2026-05-19

한국어 초록

실제 환경에서 GPU 커널(kernel) 최적화를 자동화하는 것은 여전히 까다롭습니다. 생성된 변형들이 정확성 제약 조건을 위반할 수 있고, 실행 시간 측정이 노이즈에 취약하며, 탐색이 조기에 정체되는 경우가 흔하기 때문입니다. 본 논문에서는 대규모 언어 모델(LLM) 유도 변이, 적응형 자원 할당, 정책 기반 게이팅 평가(policy-gated evaluation), 프로파일러 기반 진단을 결합한 실용적인 최적화 에이전트(agent)를 제시합니다. 이 시스템은 저비용 평가를 통해 수많은 후보군을 선별하고, 유망한 생존 후보에만 고충실도 예산을 할당하여 GPU 커널을 최적화하고 진화시킵니다. 주요 Triton 커널 생성 작업에서 이러한 설계는 커널 품질과 탐색 효율성을 모두 향상시켜, PyTorch 대비 0.88배~6.72배 속도 향상 및 최신(SOTA) 커널 에이전트 대비 최대 1.4배 속도 향상을 달성하는 동시에 최적화 시간을 최대 48% 단축했습니다.

원문 초록

Automating GPU kernel optimization remains difficult in practice: generated variants can violate correctness constraints, runtime measurements are noisy, and search often stalls early. We present a practical optimization agent that combines LLM-guided mutation, adaptive resource allocation, policy-gated evaluation, and profiler-informed diagnosis. The system screens many candidates with low-cost evaluation and allocates higher-fidelity budget only to promising survivors to optimize and evolve GPU kernels. On important Triton kernel generation tasks, this design improves both kernel quality and search efficiency, reaching 0.88x-6.72x speedup over PyTorch and up to 1.4x speedup over the state-of-the-art kernel agent, with up to 48% lower optimization time.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.02611v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.