用上下文集成统一共形语言任务

·

研究论文 · 2026/09/09

许多NLP任务,如摘要和抽取式问答,可归结为在覆盖率和简洁性两个约束下从文档中检索相关内容。共形预测方法用于保证覆盖率,并通过设计评分函数来优化简洁性。最先进的评分函数使用手工设计的LLM提示,但手动提示工程劳动密集且特定于任务。我们提出了共形相关性框架,利用上下文学习示例策展和集成来创建评分函数,在保持覆盖率的同时以最少的人工输入提高简洁性。我们在七个NLP任务上展示了该框架的应用,并从理论上研究了集成共形分数多样性的影响,给出了互补性条件和饱和界限。

该文提出一种减少人工提示工程的新框架,并在多个任务上验证有效性,同时提供理论分析,对NLP中的共形预测研究有重要贡献。

Many NLP tasks, such as summarization and extractive question answering, reduce to retrieving relevant content from documents under two constraints: coverage, retaining enough pertinent information to achieve some goal, and conciseness, removing as much irrelevant information as possible. Conformal prediction methods have been used to guarantee coverage, and must be optimized for conciseness through design of a score function. State-of-the-art scoring functions use hand-engineered LLM prompts asking the model to rate the importance of content, but manual prompt engineering is labor-intensive and task-specific. We introduce the Conformal Relevance framework which uses in-context learning example curation and ensembling to create a score function which maintains coverage while improving conciseness with minimal manual input. We demonstrate this framework's application on seven NLP tasks, and also theoretically study the impact of diversity for ensembled conformal scores, giving a complementarity condition that characterizes when ensembling improves worst-case sentence scores, and a saturation bound on ensemble improvement.

阅读原文

参与讨论