PoLi-RL: 一种用于条件语义文本相似度的点到列表强化学习框架
PoLi-RL: A Point-to-List Reinforcement Learning Framework for Conditional Semantic Textual Similarity
AI总结:
PoLi-RL通过点到列表强化学习框架,解决条件语义文本相似度中的优化难题,实现Spearman相关系数达48.18,为复杂条件判断任务提供新范式。
摘要:
条件语义文本相似度(C-STS)衡量在特定条件下文本片段之间的语义接近程度,从而克服传统STS中的模糊性。然而,现有方法大多局限于判别模型,未能充分利用NLP社区最近在大型语言模型(LLMs)和强化学习(RL)方面的突破。RL是一个特别适合此任务的范式,因为它可以直接优化非可微的Spearman排名度量,并指导C-STS所需的原因推理过程。然而,我们发现直接应用列表式RL无法产生有意义的改进,因为模型难以处理复杂的、粗粒度的奖励信号,导致优化困难。为了解决这一挑战,我们引入了PoLi-RL,一种新的点到列表强化学习框架。PoLi-RL采用两阶段课程:首先用简单的点状奖励训练模型以建立基本评分能力,然后过渡到结合点状、成对和列表式目标的混合奖励,以细化模型区分细微语义差异的能力。关键的是,我们提出了一种创新的并行切片排名奖励(PSRR)机制,该机制在并行切片中计算排名奖励,每个切片由不同样本中相同索引的完成组成。这为每个单独的完成提供了精确、区分性的学习信号,使细粒度信用分配和有效的优化成为可能。在官方C-STS基准上,PoLi-RL实现了Spearman相关系数为48.18,建立了交叉编码器架构的新SOTA。作为首次成功将RL应用于C-STS的工作,我们的研究引入了一种强大的范式,用于对复杂、基于排名的条件判断任务进行LLM对齐。
英文摘要:
Conditional Semantic Textual Similarity (C-STS) measures the semantic proximity between text segments under a specific condition, thereby overcoming the ambiguity inherent in traditional STS. However, existing methods are largely confined to discriminative models, failing to fully leverage recent breakthroughs in the NLP community involving Large Language Models (LLMs) and Reinforcement Learning (RL). RL is a particularly well-suited paradigm for this task, as it can directly optimize the non-differentiable Spearman ranking metric and guide the reasoning process required by C-STS. Nevertheless, we find that naively applying listwise RL fails to produce meaningful improvements, as the model struggles with complex, coarse-grained reward signals, leading to optimization difficulties. To address this challenge, we introduce PoLi-RL, a novel Point-to-List Reinforcement Learning framework. PoLi-RL employs a two-stage curriculum: it first trains the model with a simple pointwise reward to establish fundamental scoring capabilities, then transitions to a hybrid reward that combines pointwise, pairwise, and listwise objectives to refine the model's ability to discern subtle semantic distinctions. Crucially, we propose an innovative Parallel Slice Ranking Reward (PSRR) mechanism that computes ranking rewards in parallel slices, where each slice consists of completions with the same index from different samples. This provides a precise, differentiated learning signal for each individual completion, enabling granular credit assignment and effective optimization. On the official C-STS benchmark, PoLi-RL achieves a Spearman correlation coefficient of 48.18, establishing a new SOTA for the cross-encoder architecture. As the first work to successfully apply RL to C-STS, our study introduces a powerful paradigm for aligning LLMs for complex, ranking-based conditional judgment tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。