paper-with-me

홈 › Papers

The Hydra Effect: Emergent Self-repair in Language Model Computations

2023-07-28 · Thomas McGrath, Matthew Rahtz, Janos Kramar, Vladimir Mikulik, Shane Legg

We investigate the internal structure of language model computations using causal analysis and demonstrate two motifs: (1) a form of adaptive computation where ablations of one attention layer of a language model cause another layer to compensate (which we term the Hydra effect) and (2) a counterbalancing function of late MLP layers that act to downregulate the maximum-likelihood token. Our ablation studies demonstrate that language model layers are typically relatively loosely coupled (ablations to one layer only affect a small number of downstream layers). Surprisingly, these effects occur even in language models trained without any form of dropout. We analyse these effects in the context of factual recall and consider their implications for circuit-level attribution in language models.

📄 PDF Abstract BibTeX arXiv:2307.15771

Code (0)

등록된 구현이 없습니다.

Tasks

FormLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Hydra 설명 없음

Similar Papers 제목 키워드 기반

Hydra: Efficient, Correct Code Generation via Checkpoint-and-Rollback Support

2026-05-14 · Alexander Du, Jianjun Ou, Danyang Zhuo, Matthew Lentz arxiv

Large language models are increasingly used for code generation, but many generated programs fail to compile, a prerequisite for further correctness checks such as unit tests. Existing solutions for repairing static erro…

Code Generation

Explorations of Self-Repair in Language Models

2024-02-23 · Cody Rushing, Neel Nanda

Prior interpretability research studying narrow distributions has preliminarily identified self-repair, a phenomena where if components in large language models are ablated, later components will change their behavior to…

A Domain-Independent Agent Architecture for Adaptive Operation in Evolving Open Worlds

2023-06-09 · Shiwali Mohan, Wiktor Piotrowski, Roni Stern, Sachin Grover 외

Model-based reasoning agents are ill-equipped to act in novel situations in which their model of the environment no longer sufficiently represents the world. We propose HYDRA - a framework for designing model-based agent…

MinecraftVisual Reasoning

Implicit Repair with Reinforcement Learning in Emergent Communication

2025-02-18 · Fábio Vital, Alberto Sardinha, Francisco S. Melo

Conversational repair is a mechanism used to detect and resolve miscommunication and misinformation problems when two or more agents interact. One particular and underexplored form of repair in emergent communication is …

Misinformationreinforcement-learningReinforcement Learning

Repairing Language Model Pipelines by Meta Self-Refining Competing Constraints at Runtime

2025-07-11 · Mojtaba Eshghie

Language Model (LM) pipelines can dynamically refine their outputs against programmatic constraints. However, their effectiveness collapses when faced with competing soft constraints, leading to inefficient backtracking …

Language ModelingLanguage Modelling