paper-with-me

Papers

Racing Thoughts: Explaining Contextualization Errors in Large Language Models

2024-10-02 · Michael A. Lepori, Michael C. Mozer, Asma Ghandeharioun

The profound success of transformer-based language models can largely be attributed to their ability to integrate relevant contextual information from an input sequence in order to generate a response or complete a task. However, we know very little about the algorithms that a model employs to implement this capability, nor do we understand their failure modes. For example, given the prompt "John is going fishing, so he walks over to the bank. Can he make an ATM transaction?", a model may incorrectly respond "Yes" if it has not properly contextualized "bank" as a geographical feature, rather than a financial institution. We propose the LLM Race Conditions Hypothesis as an explanation of contextualization errors of this form. This hypothesis identifies dependencies between tokens (e.g., "bank" must be properly contextualized before the final token, "?", integrates information from "bank"), and claims that contextualization errors are a result of violating these dependencies. Using a variety of techniques from mechanistic intepretability, we provide correlational and causal evidence in support of the hypothesis, and suggest inference-time interventions to address it.

📄 PDF Abstract BibTeX arXiv:2410.02102

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Models

2025-10-07 · Gagan Bhatia, Somayajulu G Sripada, Kevin Allan, Jacobo Azcona arxiv

Hallucinations in large language models (LLMs) produce fluent continuations that are not supported by the prompt, especially under minimal contextual cues and ambiguity. We introduce Distributional Semantics Tracing (DST…

Explaining Contextualization in Language Models using Visual Analytics

2021-08-01 · ACL 2021 5 · Rita Sevastjanova, Aikaterini-Lida Kalouli, Christin Beck, Hanna Sch{\"a}fer 외

Despite the success of contextualized language models on various NLP tasks, it is still unclear what these models really learn. In this paper, we contribute to the current efforts of explaining such models by exploring t…

Response Generation in Longitudinal Dialogues: Which Knowledge Representation Helps?

2023-05-25 · Seyed Mahed Mousavi, Simone Caldarella, Giuseppe Riccardi

Longitudinal Dialogues (LD) are the most challenging type of conversation for human-machine dialogue systems. LDs include the recollections of events, personal thoughts, and emotions specific to each individual in a spar…

Response GenerationText Generation

Why Can Large Language Models Generate Correct Chain-of-Thoughts?

2023-10-20 · Rasul Tutunov, Antoine Grosnit, Juliusz Ziomek, Jun Wang 외

This paper delves into the capabilities of large language models (LLMs), specifically focusing on advancing the theoretical comprehension of chain-of-thought prompting. We investigate how LLMs can be effectively induced …

Text Generation

ToW: Thoughts of Words Improve Reasoning in Large Language Models

2024-10-21 · Zhikun Xu, Ming Shen, Jacob Dineen, Zhaonan Li 외

We introduce thoughts of words (ToW), a novel training-time data-augmentation method for next-word prediction. ToW views next-word prediction as a core reasoning task and injects fine-grained thoughts explaining what the…

Data AugmentationHallucinationPrediction