Neural Geometry as a Learning Signal
Eric Todd, Tal Haklay, Nikhil Prakash, Matthew Finlayson, Michael Hanna, Fenil R. Doshi, Daniel Wurgaft, Thomas McGrath, Owen Lewis, David Bau, Jack Merullo, Ekdeep Singh Lubana, Matthew Kowal, Thomas Fel, Atticus Geiger
Abstract
We investigate whether the geometric structure of neural representations can provide a sufficient learning signal for improving model behavior without any supervision on model outputs. First, we fine-tune Llama-3.1-8B to answer questions such as "What month is four months after June?" by supervising internal representations of the input month (June = 6) and offset (4), which are encoded with Fourier harmonics. Second, we fine-tune the model to predict line breaks in text wrapped to a fixed width by supervising an internal representation of the number of characters since the preceding newline, which is represented by a low-dimensional helical structure. In both tasks, we supervise a low-dimensional subspace of the residual stream using an idealized target structure, and find that internal geometric supervision achieves similar performance to standard fine-tuning (despite no supervision on outputs). Moreover, we find that simply patching in an ideal geometry is not sufficient to recover fine-tuning performance, and thus demonstrate geometric supervision provides beneficial effects beyond the representations it targets. Together, these findings show how mechanistic understanding of neural geometry can be leveraged to shape the behavior of neural networks.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
Related papers
Modeling Perceived Promptness in Simultaneous Interpreting from Quality, Structure, and Timing Signals
Shared title terminologycs.CLZiyu Zhang, Satoshi Nakamura
Language models compress human preference geometry while political structure remains prompt-sensitive
Shared title terminologycs.CLAdolfo Ignacio Fuentes-Jofre, Cristian Candia
LipSpell: A Language-Independent Phonetic Scoring Framework for Spelling Correction Combining Distinctive-Feature Edit Distance, Keyboard Geometry, and Corpus Frequency
Shared title terminologycs.CLLeonardo Araujo
When Do Typed Decision Models Work in Transportation? Evidence from Travel Choice and Traffic Signal Control
Shared title terminologycs.CLHongyang Zhang, Boyuan Deng, Siyuan Feng et al.