高效学习用于多任务算法推理的分支网络
Efficiently Learning Branching Networks for Multitask Algorithmic Reasoning
AI总结:
研究旨在实现多任务算法推理,提出分支神经网络架构,通过递归树状划分任务,利用基于梯度的亲和度聚类,降低搜索复杂度。经实验验证,在多个基准测试中性能优于现有方法,减少运行时和内存使用,还可用于重叠社区检测。
摘要:
算法推理是评估多步推理能力的综合基准,此前工作多评估单一算法任务执行,而同时执行多个算法推理任务更具挑战性。本文引入分支神经网络用于多任务算法推理,其主要思想是将n个算法任务递归树状划分成k叉树。朴素搜索复杂度高,本文算法通过每层求解凸松弛近似最优划分将其降至O(nL)。该方法用基于梯度的亲和度聚类任务,可用于任何基础模型。在算法推理基准测试及其扩展上验证,基于梯度的亲和度分数能以小于5%误差估计真实性能,在CLRS基准测试上,该方法性能优于现有图神经网络和基线,减少运行时48%和内存使用26%,在三个基于文本的图推理基准测试上比基线方法提高3.2%,还验证了其用于重叠社区检测的有效性。
英文摘要:
Algorithmic reasoning---the ability to perform step-by-step logical inference---is a synthetic benchmark for evaluating multi-step reasoning abilities, designed for graph neural networks and also for transformer models. Prior work has evaluated reasoning for executing a single algorithmic task, whereas a more desirable objective is to perform multiple algorithmic reasoning tasks simultaneously. We start by noting that this is inherently difficult due to differences arising from the execution traces of the algorithms (such as depth- vs. breadth-first search), which cause interference when they are trained together. In this paper, we introduce branching neural networks, a new architecture for multitask algorithmic reasoning. The main idea is to search for a recursive tree-structured partition of $n$ algorithmic tasks into a $k$-ary tree (divided into $L$ layers). Naive search requires $O(k^{nL})$ complexity; we develop an algorithm that reduces this to $O(nL)$ by solving a convex relaxation at each layer to approximate an optimal partition. Our approach clusters these tasks using gradient-based affinity and can be used on top of any base model. We validate our approach on algorithmic reasoning benchmarks and extensions with text descriptions. We show that gradient-based affinity scores help estimate true performance with less than 5% error, measured across eight architectures with up to 34 billion parameters. On the CLRS benchmark, our approach outperforms existing graph neural networks by 3.7% and baselines by 1.2%, while reducing runtime by 48% and memory usage by 26%. The learned branching structure shows a hierarchical clustering of related algorithms. On three text-based graph reasoning benchmarks, our approach improves over baseline methods by 3.2%. Finally, on a graph with 21 million edges and 500 labelings, we show a 28% accuracy gain and 4.5$times$ runtime reduction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。