paper-with-me

Papers

Transformers meet Neural Algorithmic Reasoners

2024-06-13 · Wilfried Bounsi, Borja Ibarz, Andrew Dudzik, Jessica B. Hamrick, Larisa Markeeva, Alex Vitvitskyi, Razvan Pascanu, Petar Veličković

Transformers have revolutionized machine learning with their simple yet effective architecture. Pre-training Transformers on massive text datasets from the Internet has led to unmatched generalization for natural language understanding (NLU) tasks. However, such language models remain fragile when tasked with algorithmic forms of reasoning, where computations must be precise and robust. To address this limitation, we propose a novel approach that combines the Transformer's language understanding with the robustness of graph neural network (GNN)-based neural algorithmic reasoners (NARs). Such NARs proved effective as generic solvers for algorithmic tasks, when specified in graph form. To make their embeddings accessible to a Transformer, we propose a hybrid architecture with a two-phase training procedure, allowing the tokens in the language model to cross-attend to the node embeddings from the NAR. We evaluate our resulting TransNAR model on CLRS-Text, the text-based version of the CLRS-30 benchmark, and demonstrate significant gains over Transformer-only models for algorithmic reasoning, both in and out of distribution.

📄 PDF Abstract BibTeX arXiv:2406.09308

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Neural NetworkLanguage ModelingLanguage ModellingNatural Language Understanding

Methods 이 논문이 사용한 방법론

Residual Connection 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Graph Neural Network 설명 없음
Attention 설명 없음

Similar Papers 제목 키워드 기반

Recurrent Aggregators in Neural Algorithmic Reasoning

2024-09-11 · Kaijia Xu, Petar Veličković

Neural algorithmic reasoning (NAR) is an emerging field that seeks to design neural networks that mimic classical algorithmic computations. Today, graph neural networks (GNNs) are widely used in neural algorithmic reason…

Neural Algorithmic Reasoners informed Large Language Model for Multi-Agent Path Finding

2025-08-25 · Pu Feng, Size Wang, Yuhong Cao, Junkang Liang 외 arxiv

The development and application of large language models (LLM) have demonstrated that foundational models can be utilized to solve a wide array of tasks. However, their performance in multi-agent path finding (MAPF) task…

Graph Neural Network

Discrete Neural Algorithmic Reasoning

2024-02-18 · Gleb Rodionov, Liudmila Prokhorenkova

Neural algorithmic reasoning aims to capture computations with neural networks via learning the models to imitate the execution of classic algorithms. While common architectures are expressive enough to contain the corre…

KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems

2025-09-17 · Stjepan Požgaj, Dobrik Georgiev, Marin Šilić, Petar Veličković arxiv

Neural algorithmic reasoning (NAR) is a growing field that aims to embed algorithmic logic into neural networks by imitating classical algorithms. In this extended abstract, we detail our attempt to build a neural algori…

Thinking Slow, Fast: Scaling Inference Compute with Distilled Reasoners

2025-02-27 · Daniele Paliotta, Junxiong Wang, Matteo Pagliardini, Kevin Y. Li 외

Recent advancements have demonstrated that the performance of large language models (LLMs) can be significantly enhanced by scaling computational resources at test time. A common strategy involves generating multiple Cha…

MambaMathematical Reasoning