paper-with-me

Papers

Tuning LLM-based Code Optimization via Meta-Prompting: An Industrial Perspective

2025-08-02 · Jingzhi Gong, Rafail Giavrimis, Paul Brookes, Vardan Voskanyan, Fan Wu, Mari Ashiga, Matthew Truscott, Mike Basios, Leslie Kanthan, Jie Xu, Zheng Wang arxiv

There is a growing interest in leveraging multiple large language models (LLMs) for automated code optimization. However, industrial platforms deploying multiple LLMs face a critical challenge: prompts optimized for one LLM often fail with others, requiring expensive model-specific prompt engineering. This cross-model prompt engineering bottleneck severely limits the practical deployment of multi-LLM systems in production environments. We introduce Meta-Prompted Code Optimization (MPCO), a framework that automatically generates high-quality, task-specific prompts across diverse LLMs while maintaining industrial efficiency requirements. MPCO leverages metaprompting to dynamically synthesize context-aware optimization prompts by integrating project metadata, task requirements, and LLM-specific contexts. It is an essential part of the ARTEMIS code optimization platform for automated validation and scaling. Our comprehensive evaluation on five real-world codebases with 366 hours of runtime benchmarking demonstrates MPCO's effectiveness: it achieves overall performance improvements up to 19.06% with the best statistical rank across all systems compared to baseline methods. Analysis shows that 96% of the top-performing optimizations stem from meaningful edits. Through systematic ablation studies and meta-prompter sensitivity analysis, we identify that comprehensive context integration is essential for effective meta-prompting and that major LLMs can serve effectively as meta-prompters, providing actionable insights for industrial practitioners.

📄 PDF Abstract BibTeX arXiv:2508.01443

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Retrieval-Augmented Fine-Tuning With Preference Optimization For Visual Program Generation

2025-02-23 · Deokhyung Kang, Jeonghun Cho, Yejin Jeon, Sunbin Jang 외

Visual programming languages (VPLs) allow users to create programs through graphical interfaces, which results in easier accessibility and their widespread usage in various domains. To further enhance this accessibility,…

Retrieval

Towards Specification-Driven LLM-Based Generation of Embedded Automotive Software

2024-11-20 · Minal Suresh Patil, Gustav Ung, Mattias Nyberg

The paper studies how code generation by LLMs can be combined with formal verification to produce critical embedded software. The first contribution is a general framework, spec2code, in which LLMs are combined with diff…

Code Generation

Understanding Prompt Tuning and In-Context Learning via Meta-Learning

2025-05-22 · Tim Genewein, Kevin Wenliang Li, Jordi Grau-Moya, Anian Ruoss 외

Prompting is one of the main ways to adapt a pretrained model to target tasks. Besides manually constructing prompts, many prompt optimization methods have been proposed in the literature. Method development is mainly em…

In-Context LearningMeta-Learning

Meta Prompting for AI Systems

2023-11-20 · Yifan Zhang, Yang Yuan, Andrew Chi-Chih Yao

In this work, we present a comprehensive study of Meta Prompting (MP), an innovative technique reshaping the utilization of language models (LMs) and AI systems in problem-solving and data interaction. Grounded in type t…

Data InteractionGSM8KLanguage ModelingLanguage Modelling+1

Active Control Points-based 6DoF Pose Tracking for Industrial Metal Objects

2025-07-02 · Chentao Shen, Ding Pan, Mingyu Mei, Zaixing He 외 arxiv

Visual pose tracking is playing an increasingly vital role in industrial contexts in recent years. However, the pose tracking for industrial metal objects remains a challenging task especially in the real world-environme…

Pose Tracking