LGCLMay 24, 2022

Linear Connectivity Reveals Generalization Strategies

CMUHarvard
arXiv:2205.12411v557 citationsh-index: 18
Originality Incremental advance
AI Analysis

This work addresses the problem of understanding generalization strategies in neural networks for researchers in machine learning, though it is incremental as it builds on existing mode connectivity literature.

The authors investigated linear connectivity between finetuned text classifiers and found that some model pairs exhibit large loss barriers, forming distinct clusters corresponding to different generalization strategies, such as bag-of-words or syntactic heuristics, as revealed by diagnostic datasets.

It is widely accepted in the mode connectivity literature that when two neural networks are trained similarly on the same data, they are connected by a path through parameter space over which test set accuracy is maintained. Under some circumstances, including transfer learning from pretrained models, these paths are presumed to be linear. In contrast to existing results, we find that among text classifiers (trained on MNLI, QQP, and CoLA), some pairs of finetuned models have large barriers of increasing loss on the linear paths between them. On each task, we find distinct clusters of models which are linearly connected on the test loss surface, but are disconnected from models outside the cluster -- models that occupy separate basins on the surface. By measuring performance on specially-crafted diagnostic datasets, we find that these clusters correspond to different generalization strategies: one cluster behaves like a bag of words model under domain shift, while another cluster uses syntactic heuristics. Our work demonstrates how the geometry of the loss surface can guide models towards different heuristic functions.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes