paper-with-me

홈 › Papers

The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Models

2024-03-06 · Adithya Bhaskar, Dan Friedman, Danqi Chen

Prior work has found that pretrained language models (LMs) fine-tuned with different random seeds can achieve similar in-domain performance but generalize differently on tests of syntactic generalization. In this work, we show that, even within a single model, we can find multiple subnetworks that perform similarly in-domain, but generalize vastly differently. To better understand these phenomena, we investigate if they can be understood in terms of "competing subnetworks": the model initially represents a variety of distinct algorithms, corresponding to different subnetworks, and generalization occurs when it ultimately converges to one. This explanation has been used to account for generalization in simple algorithmic tasks ("grokking"). Instead of finding competing subnetworks, we find that all subnetworks -- whether they generalize or not -- share a set of attention heads, which we refer to as the heuristic core. Further analysis suggests that these attention heads emerge early in training and compute shallow, non-generalizing features. The model learns to generalize by incorporating additional attention heads, which depend on the outputs of the "heuristic" heads to compute higher-level features. Overall, our results offer a more detailed picture of the mechanisms for syntactic generalization in pretrained LMs.

📄 PDF Abstract BibTeX arXiv:2403.03942

Code (1)

princeton-nlp/heuristic-core 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

A Combinatorial Theory of Dropout: Subnetworks, Graph Geometry, and Generalization

2025-04-20 · Sahil Rajesh Dhayalkar

We propose a combinatorial and graph-theoretic theory of dropout by modeling training as a random walk over a high-dimensional graph of binary subnetworks. Each node represents a masked version of the network, and dropou…

Integrating Pretrained ASR and LM to Perform Sequence Generation for Spoken Language Understanding

2023-07-20 · Siddhant Arora, Hayato Futami, Yosuke Kashiwagi, Emiru Tsunoo 외

There has been an increased interest in the integration of pretrained speech recognition (ASR) and language models (LM) into the SLU framework. However, prior methods often struggle with a vocabulary mismatch between pre…

speech-recognitionSpeech RecognitionSpoken Language Understanding

Understanding Generalization, Robustness, and Interpretability in Low-Capacity Neural Networks

2025-07-22 · Yash Kumar arxiv

Although modern deep learning often relies on massive over-parameterized models, the fundamental interplay between capacity, sparsity, and robustness in low-capacity networks remains a vital area of study. We introduce a…

Binary Classification

Discovering Knowledge-Critical Subnetworks in Pretrained Language Models

2023-10-04 · Deniz Bayazit, Negar Foroutan, Zeming Chen, Gail Weiss 외

Pretrained language models (LMs) encode implicit representations of knowledge in their parameters. However, localizing these representations and disentangling them from each other remains an open problem. In this work, w…

Language Modelling

Unsupervised Graph-based Learning Method for Sub-band Allocation in 6G Subnetworks

2023-12-13 · Daniel Abode, Ramoni Adeogun, Lou Salaün, Renato Abreu 외

In this paper, we present an unsupervised approach for frequency sub-band allocation in wireless networks using graph-based learning. We consider a dense deployment of subnetworks in the factory environment with a limite…