paper-with-me

Papers

Linear Recency Bias During Training Improves Transformers' Fit to Reading Times

2024-09-17 · Christian Clark, Byung-Doh Oh, William Schuler

Recent psycholinguistic research has compared human reading times to surprisal estimates from language models to study the factors shaping human sentence processing difficulty. Previous studies have shown a strong fit between surprisal values from Transformers and reading times. However, standard Transformers work with a lossless representation of the entire previous linguistic context, unlike models of human language processing that include memory decay. To bridge this gap, this paper evaluates a modification of the Transformer model that uses ALiBi (Press et al., 2022), a recency bias added to attention scores. Surprisal estimates with ALiBi show an improved fit to human reading times compared to a standard Transformer baseline. A subsequent analysis of attention heads suggests that ALiBi's mixture of slopes -- which determine the rate of memory decay in each attention head -- may play a role in the improvement by helping models with ALiBi to track different kinds of linguistic dependencies.

📄 PDF Abstract BibTeX arXiv:2409.11250

Code (0)

등록된 구현이 없습니다.

Tasks

Sentence

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
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…
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…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
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…

Similar Papers 제목 키워드 기반

Carpe Diem, Seize the Samples Uncertain "At the Moment" for Adaptive Batch Selection

2019-11-19 · Hwanjun Song, Minseok Kim, Sundong Kim, Jae-Gil Lee

The accuracy of deep neural networks is significantly affected by how well mini-batches are constructed during the training step. In this paper, we propose a novel adaptive batch selection algorithm called Recency Bias t…

Task-recency bias strikes back: Adapting covariances in Exemplar-Free Class Incremental Learning

2024-09-26 · Grzegorz Rypeść, Sebastian Cygert, Tomasz Trzciński, Bartłomiej Twardowski

Exemplar-Free Class Incremental Learning (EFCIL) tackles the problem of training a model on a sequence of tasks without access to past data. Existing state-of-the-art methods represent classes as Gaussian distributions i…

class-incremental learningClass Incremental LearningExemplar-FreeIncremental Learning

Measuring Recency Bias In Sequential Recommendation Systems

2024-09-15 · Jeonglyul Oh, Sungzoon Cho

Recency bias in a sequential recommendation system refers to the overly high emphasis placed on recent items within a user session. This bias can diminish the serendipity of recommendations and hinder the system's abilit…

Recommendation SystemsSequential Recommendation

Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation

2021-08-27 · ICLR 2022 4 · Ofir Press, Noah A. Smith, Mike Lewis

Since the introduction of the transformer model by Vaswani et al. (2017), a fundamental question has yet to be answered: how does a model achieve extrapolation at inference time for sequences that are longer than it saw …

Inductive BiasPlaying the Game of 2048PositionWord Embeddings

Attention Sorting Combats Recency Bias In Long Context Language Models

2023-09-28 · Alexander Peysakhovich, Adam Lerer

Current language models often fail to incorporate long contexts efficiently during generation. We show that a major contributor to this issue are attention priors that are likely learned during pre-training: relevant inf…

PositionRetrievalRetrieval-augmented Generation