paper-with-me

홈 › Papers

MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?

2026-03-12 · Xingze Zou, Jing Wang, Yuhua Zheng, Xueyi Chen, Haolei Bai, Lingcheng Kong, Syed A. R. Abu-Bakar, Zhaode Wang, Chengfei Lv, Haoji Hu, Huan Wang arxiv

Large language models (LLMs) have demonstrated remarkable capabilities in code generation, yet their potential for generating kernels specifically for mobile devices remains largely unexplored. In this work, we extend the scope of automated kernel generation to the mobile domain to investigate the central question: Can LLMs write efficient kernels for mobile devices? To enable systematic investigation, we introduce MobileKernelBench, a comprehensive evaluation framework comprising a benchmark prioritizing operator diversity and cross-framework interoperability, coupled with an automated pipeline that bridges the host-device gap for on-device verification. Leveraging this framework, we conduct extensive evaluation on the CPU backend of Mobile Neural Network (MNN), revealing that current LLMs struggle with the engineering complexity and data scarcity inherent to mobile frameworks; standard models and even fine-tuned variants exhibit high compilation failure rates (over 54%) and negligible performance gains due to hallucinations and a lack of domain-specific grounding. To overcome these limitations, we propose the Mobile Kernel Agent (MoKA), a multi-agent system equipped with repository-aware reasoning and a plan-and-execute paradigm. Validated on MobileKernelBench, MoKA achieves state-of-the-art performance, boosting compilation success to 93.7% and enabling 27.4% of generated kernels to deliver measurable speedups over native libraries.

📄 PDF Abstract BibTeX arXiv:2603.11935

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

QUICK: Quantization-aware Interleaving and Conflict-free Kernel for efficient LLM inference

2024-02-15 · Taesu Kim, Jongho Lee, Daehyun Ahn, Sarang Kim 외

We introduce QUICK, a group of novel optimized CUDA kernels for the efficient inference of quantized Large Language Models (LLMs). QUICK addresses the shared memory bank-conflict problem of state-of-the-art mixed precisi…

GPUQuantization

MobileInst: Video Instance Segmentation on the Mobile

2023-03-30 · Renhong Zhang, Tianheng Cheng, Shusheng Yang, Haoyi Jiang 외

Video instance segmentation on mobile devices is an important yet very challenging edge AI problem. It mainly suffers from (1) heavy computation and memory costs for frame-by-frame pixel-level instance perception and (2)…

CPUDecoderInstance SegmentationSegmentation+2

Computer Vision Accelerators for Mobile Systems based on OpenCL GPGPU Co-Processing

2014-03-17 · Guohui Wang, Yingen Xiong, Jay Yun, Joseph R. Cavallaro

In this paper, we present an OpenCL-based heterogeneous implementation of a computer vision algorithm -- image inpainting-based object removal algorithm -- on mobile devices. To take advantage of the computation power of…

CPUGPUImage Inpainting

Realizing Unaligned Block-wise Pruning for DNN Acceleration on Mobile Devices

2024-07-29 · Hayun Lee, Dongkun Shin

With the recent proliferation of on-device AI, there is an increasing need to run computationally intensive DNNs directly on mobile devices. However, the limited computing and memory resources of these devices necessitat…

MobileAIBench: Benchmarking LLMs and LMMs for On-Device Use Cases

2024-06-12 · Rithesh Murthy, Liangwei Yang, Juntao Tan, Tulika Manoj Awalgaonkar 외

The deployment of Large Language Models (LLMs) and Large Multimodal Models (LMMs) on mobile devices has gained significant attention due to the benefits of enhanced privacy, stability, and personalization. However, the h…

BenchmarkingModel CompressionQuantization