arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.24933cs.CLcs.LG
收藏

ADOPT: 适应性依赖引导的多步骤LLM流水线联合提示优化

ADOPT: Adaptive Dependency-Guided Joint Prompt Optimization for Multi-Step LLM Pipelines

Huawei Poisson Lab(华为泊松实验室)

Minjun Zhao, Xinyu Zhang, Shuai Zhang, Deyang Li, Ruifeng Shi

AI总结:

ADOPT通过分析步骤间依赖关系和最终输出误差,构建全局文本梯度并分解为步骤级局部梯度,实现多步骤LLM流水线的高效联合提示优化,优于现有基线方法。

摘要:

多步骤LLM流水线能解决复杂任务,但跨步骤联合优化因缺乏步骤级监督和跨步骤依赖而具有挑战性。我们提出ADOPT,一种适应性依赖引导的多步骤LLM流水线联合提示优化框架。ADOPT分析每个LLM步骤与最终输出之间的依赖关系,构建从最终任务误差出发的全局文本梯度,并将其分解为步骤级局部文本梯度,为局部提示更新提供更精确的优化信号。它进一步将信号估计与提示更新解耦,使单提示优化器能够灵活集成,并使用基于Shapley的策略适应性地将优化资源分配给高影响步骤。在真实世界数据集和结构多样化的流水线上的实验表明,ADOPT是有效且稳健的,一致优于强大的提示优化基线方法。

英文摘要:

Multi-step LLM pipelines can solve complex tasks, but jointly optimizing prompts across steps remains challenging due to missing step-level supervision and inter-step dependency. We propose ADOPT, an adaptive dependency-guided joint prompt optimization framework for multi-step LLM pipelines. ADOPT analyzes the dependency between each LLM step and the final output, constructs a global textual gradient from final-task errors, and decomposes it into step-level local textual gradients, providing more precise optimization signals for local prompt updates. It further decouples signal estimation from prompt updating, enabling flexible integration of single-prompt optimizers, and uses a Shapley-based strategy to adaptively allocate optimization resources to high-impact steps. Experiments on real-world datasets and structurally diverse pipelines demonstrate that ADOPT is effective and robust, consistently outperforming strong prompt optimization baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑