Search NASA⌕ Search

DOE OSTI · 2406023

Understanding the Inner-Workings of Language Models Through Representation Dissimilarity

Abstract

We use model stitching to understand the internal representations of language models. Similar to vision models, we find that "more is better," and representations learned with more data and larger width can improve the performance of weaker models via stitching. We likewise find that certain architecture choices, using GeLU vs SoLU activation functions, influence the quality of learned representations. Finally, model stitching (as opposed to other model diagnostic methods, like mode connectivity) can localize the different generalization strategies of text classifiers under domain shift to certain hidden layers.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Brown, Davis R., Godfrey, Charles W., Konz, Nicholas C., Tu, Jonathan H., Kvinge, Henry J.. 2023-12-22. Understanding the Inner-Workings of Language Models Through Representation Dissimilarity. https://doi.org/10.18653/v1%2F2023.emnlp-main.403

Cite the original work for its findings. Save a collection to share your selection of sources.