paper-with-me

Papers

Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solving

2019-10-15 · Imanol Schlag, Paul Smolensky, Roland Fernandez, Nebojsa Jojic, Jürgen Schmidhuber, Jianfeng Gao

We incorporate Tensor-Product Representations within the Transformer in order to better support the explicit representation of relation structure. Our Tensor-Product Transformer (TP-Transformer) sets a new state of the art on the recently-introduced Mathematics Dataset containing 56 categories of free-form math word-problems. The essential component of the model is a novel attention mechanism, called TP-Attention, which explicitly encodes the relations between each Transformer cell and the other cells from which values have been retrieved by attention. TP-Attention goes beyond linear combination of retrieved values, strengthening representation-building and resolving ambiguities introduced by multiple layers of standard attention. The TP-Transformer's attention maps give better insights into how it is capable of solving the Mathematics Dataset's challenging problems. Pretrained models and code will be made available after publication.

📄 PDF Abstract BibTeX arXiv:1910.06611

Code (3)

ischlag/TP-Transformer 공식 구현 pytorch
andrear632/ProjectDeepLearning
jlrussin/interpret-math-transformer pytorch

Tasks

MathQuestion Answering

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
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…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers

2023-04-01 · Awni Altabaa, Taylor Webb, Jonathan Cohen, John Lafferty

An extension of Transformers is proposed that enables explicit relational reasoning through a novel module called the Abstractor. At the core of the Abstractor is a variant of attention called relational cross-attention.…

Inductive BiasMathematical Problem-SolvingRelational Reasoning

GeoReFormer: Geometry-Aware Refinement for Lane Segment Detection and Topology Reasoning

2026-03-27 · Danny Abraham, Nikhil Kamalkumar Advani, Arun Das, Nikil Dutt arxiv

Accurate 3D lane segment detection and topology reasoning are critical for structured online map construction in autonomous driving. Recent transformer-based approaches formulate this task as query-based set prediction, …

Autonomous DrivingObject Detection

Relational Graph Transformer

2025-05-16 · Vijay Prakash Dwivedi, Sri Jaladi, Yangyi Shen, Federico López 외

Relational Deep Learning (RDL) is a promising approach for building state-of-the-art predictive models on multi-table relational data by representing it as a heterogeneous temporal graph. However, commonly used Graph Neu…

Graph Neural Network

Disentangling and Integrating Relational and Sensory Information in Transformer Architectures

2024-05-26 · Awni Altabaa, John Lafferty

Relational reasoning is a central component of generally intelligent systems, enabling robust and data-efficient inductive generalization. Recent empirical evidence shows that many existing neural architectures, includin…

Information RetrievalLanguage ModelingLanguage ModellingRelational Reasoning+1

The Impact of Positional Encoding on Length Generalization in Transformers

2023-05-31 · NeurIPS 2023 11 · Amirhossein Kazemnejad, Inkit Padhi, Karthikeyan Natesan Ramamurthy, Payel Das 외

Length generalization, the ability to generalize from small training context sizes to larger ones, is a critical challenge in the development of Transformer-based language models. Positional encoding (PE) has been identi…

DecoderPosition