关系学习作为世界建模

·

研究论文 · 2026/10/19

关系学习通常从数据库状态进行预测,但决策需要回答不同的问题:状态在动作下会如何变化?在操作系统中,答案取决于可能不在数据库中可见的系统特定动态。我们将每个此类系统视为一个关系“世界”,并探究模型能否从观察到的执行中推断其行为。我们引入了TabWM(表格世界模型)和WorldRel,一个用于预训练的可执行关系世界生成器。给定来自未见世界的执行,TabWM将其作为上下文,无需参数更新即可预测新动作引起的稀疏结构化编辑。在512个保留世界上的实验表明,完整编辑F1从无观察执行时的0.016上升到有64个执行时的0.685,其中正确的编辑必须匹配其操作、关系位置和值。由于这些预测是显式的关系编辑,它们可以被递归应用以想象候选未来,并在采取行动前比较动作。对这些预测未来的更广泛搜索提高了所选动作序列的实际回报。这些结果表明,关系动态可以在上下文中学习,将关系学习从建模系统状态扩展到建模状态在动作下如何变化。

该研究将关系学习从状态建模扩展到动作下的动态建模,提出了无需参数更新的上下文学习方法,并在大量世界上验证了有效性,对决策制定和世界模型研究有重要意义。

Relational learning typically predicts from a database state, but decision making asks a different question: how will that state change under an action? In operational systems, the answer depends on system-specific dynamics that may not be visible in the database itself. We view each such system as a relational "world" and ask whether a model can infer how it behaves from observed executions. We introduce TabWM (Tabular World Model) and WorldRel, a generator of executable relational worlds for pretraining. Given executions from an unseen world, TabWM uses them as context to predict the sparse structured edits caused by a new action without parameter updates. Across 512 held-out worlds, complete-edit F1 rises from 0.016 with no observed executions to 0.685 with 64, where a correct edit must match its operation, relational location, and value. Because these predictions are explicit relational edits, they can be applied recursively to imagine candidate futures and compare actions before they are taken. Broader search over these predicted futures improves the realized return of selected action sequences. Together, these results suggest that relational dynamics can be learned in context, broadening relational learning from modeling system state to modeling how that state changes under action.

阅读原文

参与讨论