arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.00692cs.LG
收藏

神经网络推理任务的更好分布外泛化

Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Tasks

University of British Columbia(不列颠哥伦比亚大学);Google Research(谷歌研究院)

Sadegh Mahdavi, Kevin Swersky, Thomas Kipf, Milad Hashemi, Christos Thrampoulidis, Renjie Liao

摘要:

在本文中,我们研究了神经算法推理任务的OOD泛化,其目标是学习算法(例如,排序、广度优先搜索和深度优先搜索)。首先,我们认为,在这种情况下,面向对象的泛化是显着不同的普通OOD设置。例如,在OOD的图像分类,如\emph{accuracy on the line}一般化的一些现象,这里没有观察到,和技术,如数据增强方法没有帮助的假设,许多增强技术往往被违反。其次,我们分析了主要挑战(例如,输入分布偏移、非代表性数据生成和无信息的验证度量),即,CLRS \citep{deepmind2021clrs},包含30个算法推理任务。我们提出了几种解决方案,包括一个简单而有效的修复输入分布偏移和改进的数据生成。最后,我们提出了一个基于注意力的2 WL-图神经网络(GNN)处理器,它补充了消息传递GNN,因此它们的组合在所有算法上平均优于最先进的模型3%。我们的代码可在:\url{https://github.com/smahdavi4/clrs} .

英文摘要:

In this paper, we study the OOD generalization of neural algorithmic reasoning tasks, where the goal is to learn an algorithm (e.g., sorting, breadth-first search, and depth-first search) from input-output pairs using deep neural networks. First, we argue that OOD generalization in this setting is significantly different than common OOD settings. For example, some phenomena in OOD generalization of image classifications such as \emph{accuracy on the line} are not observed here, and techniques such as data augmentation methods do not help as assumptions underlying many augmentation techniques are often violated. Second, we analyze the main challenges (e.g., input distribution shift, non-representative data generation, and uninformative validation metrics) of the current leading benchmark, i.e., CLRS \citep{deepmind2021clrs}, which contains 30 algorithmic reasoning tasks. We propose several solutions, including a simple-yet-effective fix to the input distribution shift and improved data generation. Finally, we propose an attention-based 2WL-graph neural network (GNN) processor which complements message-passing GNNs so their combination outperforms the state-of-the-art model by a 3% margin averaged over all algorithms. Our code is available at: \url{https://github.com/smahdavi4/clrs}.

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

↑