Pith. sign in

REVIEW 1 cited by

The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2403.03942 v2 pith:EE5TFPP2 submitted 2024-03-06 cs.CL cs.LG

classification cs.CLcs.LG
keywords generalizationsubnetworksgeneralizeheadsattentionheuristicmodelpretrained
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. ResidualDroppath: Enhancing Feature Reuse over Residual Connections

    cs.LG 2024-11 conditional novelty 5.0 of 10

    A two-phase training algorithm alternating droppath steps with frozen-path steps gives modest accuracy improvements on small image datasets, with inconsistent ImageNet results.

Pith tools