跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2502.14211 · v2

Decomposing Prompts into Reusable Scaffolds and Task-Specific Residuals

首次提交 2025-02-20 10:47
版本更新 2026-11-30 16:04
雷达观测 2026-12-02 23:14
arXiv ↗PDF ↗

摘要

Automatic prompt optimization typically treats each prompt as a monolithic text string, requiring task-specific search from scratch and limiting reuse across related tasks. We study a more structured view in which a prompt is decomposed into two components: a reusable Instructional Scaffold that captures shared domain-level instructions, and a concise Task-specific Residual that introduces task-level refinements. Based on this view, we propose DiSR (Discovering instructional Scaffolds and Residuals), a two-stage framework motivated by the intuition that related tasks may share a compact instructional core while differing in a small amount of task-specific information. DiSR first discovers a scaffold from source tasks within a coherent domain and then adapts it to a target task by learning a residual. Across multiple benchmarks, DiSR provides a stronger starting point than manual instructions and monolithic prompt optimization, yielding competitive or improved task performance and often better-calibrated confidence estimates. Additional analyses examine scaffold generalization, residual sparsity, and cross-domain portability, supporting the view that prompt reuse can be studied through scaffold-residual decomposition. Overall, the results suggest a practical and analyzable alternative to optimizing each prompt independently.

作者备注:16 pages. Accepted to Findings of ACL: EACL 2027. Substantially revised from v1 (Transfer-Prompting), with a new title, reformulated methodology, and updated experiments and analyses

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-30 16:04 · 最新观测版本

Decomposing Prompts into Reusable Scaffolds and Task-Specific Residuals

Automatic prompt optimization typically treats each prompt as a monolithic text string, requiring task-specific search from scratch and limiting reuse across related tasks. We study a more structured view in which a prompt is decomposed into two components: a reusable Instructional Scaffold that captures shared domain-level instructions, and a concise Task-specific Residual that introduces task-level refinements. Based on this view, we propose DiSR (Discovering instructional Scaffolds and Residuals), a two-stage framework motivated by the intuition that related tasks may share a compact instructional core while differing in a small amount of task-specific information. DiSR first discovers a scaffold from source tasks within a coherent domain and then adapts it to a target task by learning a residual. Across multiple benchmarks, DiSR provides a stronger starting point than manual instructions and monolithic prompt optimization, yielding competitive or improved task performance and often better-calibrated confidence estimates. Additional analyses examine scaffold generalization, residual sparsity, and cross-domain portability, supporting the view that prompt reuse can be studied through scaffold-residual decomposition. Overall, the results suggest a practical and analyzable alternative to optimizing each prompt independently.

查看此版本解读 →查看此版本原文 ↗