paper-with-me

홈 › Papers

Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking

2024-02-22 · Nikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov, David Bau

Fine-tuning on generalized tasks such as instruction following, code generation, and mathematics has been shown to enhance language models' performance on a range of tasks. Nevertheless, explanations of how such fine-tuning influences the internal computations in these models remain elusive. We study how fine-tuning affects the internal mechanisms implemented in language models. As a case study, we explore the property of entity tracking, a crucial facet of language comprehension, where models fine-tuned on mathematics have substantial performance gains. We identify the mechanism that enables entity tracking and show that (i) in both the original model and its fine-tuned versions primarily the same circuit implements entity tracking. In fact, the entity tracking circuit of the original model on the fine-tuned versions performs better than the full original model. (ii) The circuits of all the models implement roughly the same functionality: Entity tracking is performed by tracking the position of the correct entity in both the original model and its fine-tuned versions. (iii) Performance boost in the fine-tuned models is primarily attributed to its improved ability to handle the augmented positional information. To uncover these findings, we employ: Patch Patching, DCM, which automatically detects model components responsible for specific semantics, and CMAP, a new approach for patching activations across models to reveal improved mechanisms. Our findings suggest that fine-tuning enhances, rather than fundamentally alters, the mechanistic operation of the model.

📄 PDF Abstract BibTeX arXiv:2402.14811

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationInstruction Following

Methods 이 논문이 사용한 방법론

Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process

Similar Papers 제목 키워드 기반

Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis

2025-02-17 · Xu Wang, Yan Hu, Wenyu Du, Reynold Cheng 외

Fine-tuning significantly improves the performance of Large Language Models (LLMs), yet its underlying mechanisms remain poorly understood. This paper aims to provide an in-depth interpretation of the fine-tuning process…

VisuoThink: Empowering LVLM Reasoning with Multimodal Tree Search

2025-04-12 · Yikun Wang, Siyin Wang, Qinyuan Cheng, Zhaoye Fei 외

Recent advancements in Large Vision-Language Models have showcased remarkable capabilities. However, they often falter when confronted with complex reasoning tasks that humans typically address through visual aids and de…

Spatial Reasoning

Detecting and Pruning Prominent but Detrimental Neurons in Large Language Models

2025-07-12 · Ameen Ali, Shahar Katz, Lior Wolf, Ivan Titov arxiv

Large language models (LLMs) often develop learned mechanisms specialized to specific datasets, such as reliance on domain-specific correlations, which yield high-confidence predictions without generalizable reasoning. W…

INSIGHT: Enhancing Autonomous Driving Safety through Vision-Language Models on Context-Aware Hazard Detection and Edge Case Evaluation

2025-02-01 · Dianwei Chen, Zifan Zhang, Yuchen Liu, Xianfeng Terry Yang

Autonomous driving systems face significant challenges in handling unpredictable edge-case scenarios, such as adversarial pedestrian movements, dangerous vehicle maneuvers, and sudden environmental changes. Current end-t…

Autonomous DrivingDecision MakingLanguage ModelingLanguage Modelling

Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Models

2025-09-29 · Yuhui Wang, Changjiang Li, Guangke Chen, Jiacheng Liang 외 arxiv

Large reasoning models (LRMs) exhibit unprecedented capabilities in solving complex problems through Chain-of-Thought (CoT) reasoning. However, recent studies reveal that their final answers often contradict their own re…

Reinforcement Learning