用图结构整合多个模型回复,提升事实准确性和拒答率
Sample, Align, Synthesize: Graph-Based Response Synthesis with ConGrs
- 构建共识图(ConGrs)表示多个回复的共性与差异
- 生物信息学对齐算法+小模型判别器,高效生成图结构
- 适用于长文本生成、拒答任务,显著减少对大模型判别的依赖
语言模型可通过多次采样获取响应分布,但现有方法难以高效融合长文本回复中的丰富认知信号。本文提出共识图(ConGrs),一种基于有向无环图(DAG)的数据结构,用于表征同一提示下多个采样回复的共享信息与语义差异。ConGrs通过轻量级词序列比对算法(源自生物信息学)构建,并辅以小规模语言模型判别器进行优化。进一步设计任务相关的解码策略,从ConGrs中合成单一最终响应。实验表明,在两项传记生成任务中,相比平均响应,事实精度提升最高达31%;相较其他方法,对语言模型判别器的依赖降低超过80%。在三个拒绝类任务中,拒答率最高提升56%。应用于MATH和AIME推理任务时,较自验证与多数投票基线,准确率提升最高达6个百分点。结果表明,ConGrs能灵活捕捉语言模型响应间的变异,并利用这些认知信号生成更优响应。
原文摘要 · Abstract (English)
Language models can be sampled multiple times to access the distribution underlying their responses, but existing methods cannot efficiently synthesize rich epistemic signals across different long-form responses. We introduce Consensus Graphs (ConGrs), a flexible DAG-based data structure that represents shared information, as well as semantic variation in a set of sampled LM responses to the same prompt. We construct ConGrs using a light-weight lexical sequence alignment algorithm from bioinformatics, supplemented by the targeted usage of a secondary LM judge. Further, we design task-dependent decoding methods to synthesize a single, final response from our ConGr data structure. Our experiments show that synthesizing responses from ConGrs improves factual precision on two biography generation tasks by up to 31% over an average response and reduces reliance on LM judges by more than 80% compared to other methods. We also use ConGrs for three refusal-based tasks requiring abstention on unanswerable queries and find that abstention rate is increased by up to 56%. We apply our approach to the MATH and AIME reasoning tasks and find an improvement over self-verification and majority vote baselines by up to 6 points of accuracy. We show that ConGrs provide a flexible method for capturing variation in LM responses and using the epistemic signals provided by response variation to synthesize more effective responses.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。