ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2502.02534
49
0

Adaptive Self-improvement LLM Agentic System for ML Library Development

4 February 2025
Genghan Zhang
Weixin Liang
Olivia Hsu
K. Olukotun
ArXivPDFHTML
Abstract

ML libraries, often written in architecture-specific programming languages (ASPLs) that target domain-specific architectures, are key to efficient ML systems. However, writing these high-performance ML libraries is challenging because it requires expert knowledge of ML algorithms and the ASPL. Large language models (LLMs), on the other hand, have shown general coding capabilities. However, challenges remain when using LLMs for generating ML libraries using ASPLs because 1) this task is complicated even for experienced human programmers and 2) there are limited code examples because of the esoteric and evolving nature of ASPLs. Therefore, LLMs need complex reasoning with limited data in order to complete this task. To address these challenges, we introduce an adaptive self-improvement agentic system. In order to evaluate the effectiveness of our system, we construct a benchmark of a typical ML library and generate ASPL code with both open and closed-source LLMs on this benchmark. Our results show improvements of up to 3.9×3.9\times3.9× over a baseline single LLM.

View on arXiv
@article{zhang2025_2502.02534,
  title={ Adaptive Self-improvement LLM Agentic System for ML Library Development },
  author={ Genghan Zhang and Weixin Liang and Olivia Hsu and Kunle Olukotun },
  journal={arXiv preprint arXiv:2502.02534},
  year={ 2025 }
}
Comments on this paper