Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Dongyu, Ma, Jian, Zhang, Xianpeng, Zhang, Lei, Lu, Haonan, Chen, Chen, Wang, Chuangchuang, Tang, Kai
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:https://arxiv.org/abs/2601.02683
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912804625186816
author Chen, Dongyu
Ma, Jian
Zhang, Xianpeng
Zhang, Lei
Lu, Haonan
Chen, Chen
Wang, Chuangchuang
Tang, Kai
author_facet Chen, Dongyu
Ma, Jian
Zhang, Xianpeng
Zhang, Lei
Lu, Haonan
Chen, Chen
Wang, Chuangchuang
Tang, Kai
contents Optimization is fundamental across numerous disciplines, typically following an iterative process of refining an initial solution to enhance performance. This principle is equally critical in prompt engineering, where designing effective prompts for large language models constitutes a complex optimization challenge. A structured optimization approach requires automated or semi-automated procedures to develop improved prompts, thereby reducing manual effort, improving performance, and yielding an interpretable process. However, current prompt optimization methods often induce prompt drift, where new prompts fix prior failures but impair performance on previously successful tasks. Additionally, generating prompts from scratch can compromise interpretability. To address these limitations, this study proposes the Hierarchical Attribution Prompt Optimization (HAPO) framework, which introduces three innovations: (1) a dynamic attribution mechanism targeting error patterns in training data and prompting history, (2) semantic-unit optimization for editing functional prompt segments, and (3) multimodal-friendly progression supporting both end-to-end LLM and LLM-MLLM workflows. Applied in contexts like single/multi-image QA (e.g., OCRV2) and complex task analysis (e.g., BBH), HAPO demonstrates enhanced optimization efficiency, outperforming comparable automated prompt optimization methods and establishing an extensible paradigm for scalable prompt engineering.
format Preprint
id arxiv_https___arxiv_org_abs_2601_02683
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learning from Prompt itself: the Hierarchical Attribution Prompt Optimization
Chen, Dongyu
Ma, Jian
Zhang, Xianpeng
Zhang, Lei
Lu, Haonan
Chen, Chen
Wang, Chuangchuang
Tang, Kai
Artificial Intelligence
Optimization is fundamental across numerous disciplines, typically following an iterative process of refining an initial solution to enhance performance. This principle is equally critical in prompt engineering, where designing effective prompts for large language models constitutes a complex optimization challenge. A structured optimization approach requires automated or semi-automated procedures to develop improved prompts, thereby reducing manual effort, improving performance, and yielding an interpretable process. However, current prompt optimization methods often induce prompt drift, where new prompts fix prior failures but impair performance on previously successful tasks. Additionally, generating prompts from scratch can compromise interpretability. To address these limitations, this study proposes the Hierarchical Attribution Prompt Optimization (HAPO) framework, which introduces three innovations: (1) a dynamic attribution mechanism targeting error patterns in training data and prompting history, (2) semantic-unit optimization for editing functional prompt segments, and (3) multimodal-friendly progression supporting both end-to-end LLM and LLM-MLLM workflows. Applied in contexts like single/multi-image QA (e.g., OCRV2) and complex task analysis (e.g., BBH), HAPO demonstrates enhanced optimization efficiency, outperforming comparable automated prompt optimization methods and establishing an extensible paradigm for scalable prompt engineering.
title Learning from Prompt itself: the Hierarchical Attribution Prompt Optimization
topic Artificial Intelligence
url https://arxiv.org/abs/2601.02683