paper-with-me

Papers

The Correctness Illusion in LLM-Generated GPU Kernels

2026-06-18 · Dipankar Sarkar arxiv

Benchmarks for LLM-generated GPU kernels (KernelBench, TritonBench, GEAK) score correctness through fixed-shape, small-sample allclose-style checks. The number of inputs varies between benchmarks. The shape, dtype, and tolerance are fixed for each kernel. We test that oracle empirically. We construct a controlled corpus of 24 Triton and CPU stand-in kernels (15 correct controls and 9 LLM-style buggy variants seeded with documented transcription errors) and re-evaluate it under op-schema-aware seeded fuzzing with a high-precision (fp64) CPU reference and per-(op, dtype) absolute tolerances. The seeded oracle flags 9 of 9 buggy kernels and passes 15 of 15 correct controls, at zero precision cost on controls. We extend the corpus to 26 ops (adding a flash-attention pair) and re-run the same protocol on five GPU classes (RTX 3060, A10, L40S, A100 SXM4, H100 NVL). The verdicts are identical across all five GPUs: 10 of 10 illusions caught and 16 of 16 controls clean. The corpus result is about LLM-style transcription bugs that the allclose-on-one-shape oracle certifies as correct, not about the bug rate of any specific deployed LLM. Every flagged failure replays byte-for-byte from a stored seed.

📄 PDF Abstract BibTeX arXiv:2606.20128

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilation

2026-01-30 · Zhongzhen Wen, Shudi Shao, Zhong Li, Yu Ge 외 arxiv

The performance of deep learning models critically depends on efficient kernel implementations, yet developing high-performance kernels for specialized accelerators remains time-consuming and expertise-intensive. While r…

KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels

2026-05-06 · Han Wang, Jintao Zhang, Kai Jiang, Haoxu Wang 외 arxiv

LLM-based Triton kernel generation has attracted significant interest, yet a fundamental empirical question remains unanswered: where does this capability break down, and why? We present KernelBenchX, a benchmark designe…

The Art of Deception: Color Visual Illusions and Diffusion Models

2024-12-13 · CVPR 2025 1 · Alex Gomez-Villa, Kai Wang, Alejandro C. Parraga, Bartlomiej Twardowski 외

Visual illusions in humans arise when interpreting out-of-distribution stimuli: if the observer is adapted to certain statistics, perception of outliers deviates from reality. Recent studies have shown that artificial ne…

Kevin: Multi-Turn RL for Generating CUDA Kernels

2025-07-16 · Carlo Baronio, Pietro Marsella, Ben Pan, Simon Guo 외

Writing GPU kernels is a challenging task and critical for AI systems' efficiency. It is also highly iterative: domain experts write code and improve performance through execution feedback. Moreover, it presents verifiab…

GPUReinforcement Learning (RL)

Illusion3D: 3D Multiview Illusion with 2D Diffusion Priors

2024-12-12 · Yue Feng, Vaibhav Sanjay, Spencer Lutz, Badour AlBahar 외

Automatically generating multiview illusions is a compelling challenge, where a single piece of visual content offers distinct interpretations from different viewing perspectives. Traditional methods, such as shadow art …