arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.27009cs.AIcs.LGstat.ML
收藏

空间数据上的因果掩码:基于信息论视角的学习具有单模态语言模型的空间数据集的案例

Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Models

Department of Electrical and Computer Engineering(电气与计算机工程系);Johns Hopkins University(约翰霍普金斯大学);Whiting School of Engineering(工程学院)

Jared Junkin, Samuel Nathanson

AI总结:

本文以国际象棋为研究对象,探讨因果掩码在空间数据上的可行性,发现基于空间棋盘状态训练的因果掩码语言模型棋力优于序列数据模型,证明因果掩码是训练空间单模态LLM的可行甚至更优方法。

摘要:

语言模型传统上是围绕因果掩码设计的。在具有空间或关系结构的领域中,因果掩码通常被认为是不合适的,取而代之的是使用序列线性化。然而,对于接受因果掩码在非序列数据上引入的信息损失是否可行这一问题,几乎没有得到直接研究,部分原因是很少有领域能够同时提供同一数据集的空间和序列表示。在这项工作中,我们在国际象棋领域研究这个问题,该领域自然支持这两种表示。我们在空间(基于棋盘)和序列(基于走法)数据上训练具有双向和因果自注意力机制的语言模型。我们的结果表明,在空间棋盘状态上训练的模型——即使使用因果掩码——在棋力上始终比在序列数据上训练的模型更强。虽然我们的实验是在国际象棋上进行的,但我们的结果具有方法论意义,并可能具有更广泛的影响:将因果掩码应用于空间数据是在空间数据上训练单模态LLM的可行程序,并且在某些领域甚至比序列化更可取。

英文摘要:

Language models are traditionally designed around causal masking. In domains with spatial or relational structure, causal masking is often viewed as inappropriate, and sequential linearizations are instead used. Yet the question of whether it is viable to accept the information loss introduced by causal masking on nonsequential data has received little direct study, in part because few domains offer both spatial and sequential representations of the same dataset. In this work, we investigate this issue in the domain of chess, which naturally supports both representations. We train language models with bidirectional and causal self-attention mechanisms on both spatial (board-based) and sequential (move-based) data. Our results show that models trained on spatial board states - \textit{even with causal masking} - consistently achieve stronger playing strength than models trained on sequential data. While our experiments are conducted on chess, our results are methodological and may have broader implications: applying causal masking to spatial data is a viable procedure for training unimodal LLMs on spatial data, and in some domains is even preferable to sequentialization.

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

↑