paper-with-me

홈 › Papers

Backpack Language Models

2023-05-26 · John Hewitt, John Thickstun, Christopher D. Manning, Percy Liang

We present Backpacks: a new neural architecture that marries strong modeling performance with an interface for interpretability and control. Backpacks learn multiple non-contextual sense vectors for each word in a vocabulary, and represent a word in a sequence as a context-dependent, non-negative linear combination of sense vectors in this sequence. We find that, after training, sense vectors specialize, each encoding a different aspect of a word. We can interpret a sense vector by inspecting its (non-contextual, linear) projection onto the output space, and intervene on these interpretable hooks to change the model's behavior in predictable ways. We train a 170M-parameter Backpack language model on OpenWebText, matching the loss of a GPT-2 small (124Mparameter) Transformer. On lexical similarity evaluations, we find that Backpack sense vectors outperform even a 6B-parameter Transformer LM's word embeddings. Finally, we present simple algorithms that intervene on sense vectors to perform controllable text generation and debiasing. For example, we can edit the sense vocabulary to tend more towards a topic, or localize a source of gender bias to a sense vector and globally suppress that sense.

📄 PDF Abstract BibTeX arXiv:2305.16765

Code (1)

swordelucidator/nanobackpacklm pytorch

Tasks

Language ModelingLanguage ModellingText GenerationWord Embeddings

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
Weight Decay 설명 없음
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

Character-level Chinese Backpack Language Models

2023-10-19 · Hao Sun, John Hewitt

The Backpack is a Transformer alternative shown to improve interpretability in English language modeling by decomposing predictions into a weighted sum of token sense components. However, Backpacks' reliance on token-def…

Language ModelingLanguage Modelling

Controlling Gender Bias in Retrieval via a Backpack Architecture

2025-11-02 · Amirabbas Afzali, Amirreza Velae, Iman Ahmadi, Mohammad Aliannejadi arxiv

The presence of social biases in large language models (LLMs) has become a significant concern in AI research. These biases, often embedded in training data, can perpetuate harmful stereotypes and distort decision-making…

Recommendation SystemsText Retrieval

Model Editing with Canonical Examples

2024-02-09 · John Hewitt, Sarah Chen, Lanruo Lora Xie, Edward Adams 외

We introduce model editing with canonical examples, a setting in which (1) a single learning example is provided per desired behavior, (2) evaluation is performed exclusively out-of-distribution, and (3) deviation from a…

Language ModellingmodelModel Editing

PolyU-BPCoMa: A Dataset and Benchmark Towards Mobile Colorized Mapping Using a Backpack Multisensorial System

2022-06-15 · Wenzhong Shi, Pengxin Chen, Muyang Wang, Sheng Bao 외

Constructing colorized point clouds from mobile laser scanning and images is a fundamental work in surveying and mapping. It is also an essential prerequisite for building digital twins for smart cities. However, existin…

Colorization

A Backpack Full of Skills: Egocentric Video Understanding with Diverse Task Perspectives

2024-03-05 · CVPR 2024 1 · Simone Alberto Peirone, Francesca Pistilli, Antonio Alliegro, Giuseppe Averta

Human comprehension of a video stream is naturally broad: in a few instants, we are able to understand what is happening, the relevance and relationship of objects, and forecast what will follow in the near future, every…

Video Understanding