arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.18649cs.LGcs.AI
收藏

小型递归消息传递

Tiny Recursive Message Passing

Tommaso Salvatori, Matteo Forasassi, Alexis Toumi, Giovanni de Felice

AI总结:

本研究将递归变换器的深度监督与截断递归方法应用于消息传递网络,构建参数高效模型,在极端数独上达约99%测试准确率,且可零样本迁移至更大实例,在N皇后与布尔可满足性问题上优于基线模型。

摘要:

消息传递神经网络因能在架构中直接编码任务结构,在算法与约束推理领域展现出卓越性能。近期研究表明,采用深度监督与截断递归训练的递归变换器可取得更优结果,这类方法能让极深循环的训练保持稳定,并配备离散演绎格等测试阶段程序。本研究将上述程序应用于消息传递网络,证实两类方法具有互补性,可构建参数高效的模型:我们采用含1.6万个参数的模型,在H100上训练约10分钟、在CPU上训练约9小时,即可在极端数独(Sudoku-Extreme)上达到约99%的测试准确率。我们进一步发现,截断梯度的成本随信息在图中需跨越的轮数增加而上升,因此连接方式的选择需在截断鲁棒性与跨问题规模迁移能力间权衡。最后,我们证实所提模型可零样本迁移至训练时未见过的更大实例,在N皇后问题与布尔可满足性问题上,其参数仅为流行神经基线模型的一小部分,却表现更优。

英文摘要:

Message passing neural networks have shown remarkable performance in algorithmic and constraint reasoning, due to their ability to encode the structure of the task directly in the architecture. Recent work has shown that better results can be achieved using recursive transformers trained with deep supervision and truncated recursions, which make extremely deep loops stable to train, and equipped with test-time procedures such as discrete deduction lattices. In this work, we apply the same procedures to message passing networks, and show that the two ingredients are complementary, and lead to parameter efficient models: we obtain about $99\%$ test accuracy on Sudoku-Extreme with a model of $16$k parameters that trains in about $10$ minutes on an H100, or in $9$ hours on a CPU. We further show that the cost of truncating gradients grows with the number of rounds information needs to cross the graph, making the choice of wiring a trade-off between robustness to truncation and transfer across problem sizes. We conclude by showing that our models transfer zero-shot to larger instances than those seen during training, outperforming popular neural baselines on N-queens and Boolean satisfiability with a fraction of their parameters.

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

↑