paper-with-me

홈 › Papers

Look Before You Leap: A Universal Emergent Decomposition of Retrieval Tasks in Language Models

2023-12-13 · Alexandre Variengien, Eric Winsor

When solving challenging problems, language models (LMs) are able to identify relevant information from long and complicated contexts. To study how LMs solve retrieval tasks in diverse situations, we introduce ORION, a collection of structured retrieval tasks spanning six domains, from text understanding to coding. Each task in ORION can be represented abstractly by a request (e.g. a question) that retrieves an attribute (e.g. the character name) from a context (e.g. a story). We apply causal analysis on 18 open-source language models with sizes ranging from 125 million to 70 billion parameters. We find that LMs internally decompose retrieval tasks in a modular way: middle layers at the last token position process the request, while late layers retrieve the correct entity from the context. After causally enforcing this decomposition, models are still able to solve the original task, preserving 70% of the original correct token probability in 98 of the 106 studied model-task pairs. We connect our macroscopic decomposition with a microscopic description by performing a fine-grained case study of a question-answering task on Pythia-2.8b. Building on our high-level understanding, we demonstrate a proof of concept application for scalable internal oversight of LMs to mitigate prompt-injection while requiring human supervision on only a single input. Our solution improves accuracy drastically (from 15.5% to 97.5% on Pythia-12b). This work presents evidence of a universal emergent modular processing of tasks across varied domains and models and is a pioneering effort in applying interpretability for scalable internal oversight of LMs.

📄 PDF Abstract BibTeX arXiv:2312.10091

Code (1)

avariengien/causal-checker 공식 구현 pytorch

Tasks

AttributeQuestion AnsweringRetrieval

Similar Papers 제목 키워드 기반

Look Before You Leap: Learning Landmark Features for One-Stage Visual Grounding

2021-04-09 · CVPR 2021 1 · Binbin Huang, Dongze Lian, Weixin Luo, Shenghua Gao

An LBYL (`Look Before You Leap') Network is proposed for end-to-end trainable one-stage visual grounding. The idea behind LBYL-Net is intuitive and straightforward: we follow a language's description to localize the targ…

DescriptiveObjectVisual Grounding

Look Before You Leap: Improving Text-based Person Retrieval by Learning A Consistent Cross-modal Common Manifold

2022-09-13 · Zijie Wang, Aichun Zhu, Jingyi Xue, Xili Wan 외

The core problem of text-based person retrieval is how to bridge the heterogeneous gap between multi-modal data. Many previous approaches contrive to learning a latent common manifold mapping paradigm following a \textbf…

Person RetrievalRetrievalText based Person RetrievalText-based Person Retrieval

Can a Small Model Learn to Look Before It Leaps? Dynamic Learning and Proactive Correction for Hallucination Detection

2025-11-08 · Zepeng Bao, Shen Zhou, Qiankun Pi, Jianhao Chen 외 arxiv

Hallucination in large language models (LLMs) remains a critical barrier to their safe deployment. For hallucination detection to be practical in real-world scenarios, the use of efficient small models is essential to en…

The prebiotic emergence of biological evolution

2023-11-22 · Charles D. Kocher, Ken A. Dill

The origin of life must have been preceded by Darwin-like evolutionary dynamics that could propagate it. How did that adaptive dynamics arise? And from what prebiotic molecules? Using evolutionary invasion analysis, we d…

Leap+Verify: Regime-Adaptive Speculative Weight Prediction for Accelerating Neural Network Training

2026-02-23 · Jeremy McEntire arxiv

We introduce Leap+Verify, a framework that applies speculative execution -- predicting future model weights and validating predictions before acceptance -- to accelerate neural network training. Inspired by speculative d…