arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.10583cs.AI
收藏

动态跨度的流动:通过GFlowNets泛化语言模型到动态跨度词典

Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets

LUMIA Lab(LUMIA实验室);School of Artificial Intelligence(人工智能学院);Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Innovation Institute(上海创新研究院)

Bo Xue, Yunchong Song, Fanghao Shao, Xuekai Zhu, Lin Chen, Luoyi Fu, Xinbing Wang, Zhouhan Lin

AI总结:

本文提出FOSS,一种基于GFlowNets的跨度生成框架,通过动态跨度词典和DAG结构状态空间提升语言模型的生成能力与泛化性能。

摘要:

标准的自回归语言模型从固定词汇生成文本,将token采样视为动作时诱导出树状结构的状态空间,这限制了灵活性和表达性。近期工作通过采样检索的文本跨度引入动态词汇,但忽略了同一句子可以由不同长度的跨度组成,缺乏对有向无环图(DAG)状态空间的显式建模。这导致组合路径的探索受限,并偏向于所选路径。生成流网络(GFlowNets)在高效探索和泛化状态空间方面很有力量,特别是那些具有DAG结构的状态空间。然而,先前基于GFlowNets的语言模型仍停留在token层面,局限于树状结构的空间,限制了其潜力。在本工作中,我们提出Flow of SpanS(FOSS),一种基于GFlowNets的跨度生成框架。FoSS通过灵活分割检索文本构建动态跨度词典,确保DAG结构的状态空间,使GFlowNets能够探索多样化的组合路径并提高泛化能力。通过专门的奖励模型,FoSS生成多样且高质量的文本。实验表明,FoSS在文本生成上比Transformer的MAUVE分数提高高达12.5%,在知识密集型任务上获得3.5%的提升,始终优于最先进的方法。扩展实验进一步证明,FoSS从更大模型、更多数据和更丰富的检索语料中受益,保持其在强基线上的优势。

英文摘要:

Standard autoregressive language models generate text token-by-token from a fixed vocabulary, inducing a tree-structured state space when viewing token sampling as an action, which limits flexibility and expressiveness. Recent work introduces dynamic vocabulary by sampling retrieved text spans but overlooks that the same sentence can be composed of spans of varying lengths, lacking explicit modeling of the directed acyclic graph (DAG) state space. This leads to restricted exploration of compositional paths and is biased toward the chosen path. Generative Flow Networks (GFlowNets) are powerful for efficient exploring and generalizing over state spaces, particularly those with a DAG structure. However, prior GFlowNets-based language models operate at the token level and remain confined to tree-structured spaces, limiting their potential. In this work, we propose Flow of SpanS (FOSS), a principled GFlowNets framework for span generation. FoSS constructs a dynamic span vocabulary by segmenting the retrieved text flexibly, ensuring a DAG-structured state space, which allows GFlowNets to explore diverse compositional paths and improve generalization. With specialized reward models, FoSS generates diverse, high-quality text. Empirically, FoSS improves MAUVE scores by up to 12.5% over Transformer on text generation and achieves 3.5% gains on knowledge-intensive tasks, consistently outperforming state-of-the-art methods. Scaling experiments further demonstrate FoSS benefits from larger models, more data, and richer retrieval corpora, retaining its advantage over strong baselines.

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

↑