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 GeigerarXiv 2026 · arXiv

Imagine you’re teaching a student to navigate a city. The traditional way (standard fine-tuning) is to give them a list of starting points and destinations and tell them when they’ve arrived at the wrong house. Eventually, they figure out the layout. But what if, instead of checking their destination, you simply looked into their mind and corrected their internal map? "No, the library isn't next to the park; it's two blocks north."

This paper explores exactly that: Geometric Supervision. Instead of training a model on what it should say, the authors train it on how it should think—specifically, how it should geometrically arrange its internal representations.

TL;DR

Researchers found they could improve a Large Language Model's (LLM) performance on specific tasks without ever showing it the correct answers. By simply forcing the model’s internal "mental maps" to match idealized geometric shapes (like circles for months or helices for counting), the model's behavior improved as much as if it had been trained on the actual answers.

What Problem Does This Paper Address?

We usually treat neural networks as "black boxes." We provide an input, look at the output, and use backpropagation to fix errors. This is behavioral supervision. While effective, it’s indirect; the model has to figure out the underlying logic (the representations) on its own.

Recent work in "mechanistic interpretability" has shown that LLMs often represent concepts geometrically. For example, cyclic concepts like months are often stored in circular clusters. However, these "mental maps" are often messy or distorted, leading to errors. The authors ask: If we know what the "perfect" internal map should look like, can we just force the model to adopt it? And if we do, will the model's behavior naturally fall into line?

Methods

The authors used LoRA (Low-Rank Adaptation) to fine-tune Llama-3.1-8B. Crucially, they did not use a standard cross-entropy loss on the model's output tokens. Instead, they applied a loss function directly to the hidden states at specific layers.

Figure 1: An overview of geometric supervision. (a) A LoRA is placed at an early layer with the goal of aligning empirical geometric structure to an idealized target geometry. (b) Supervision on the task-relevant geometry is applied at an intermediate layer in the k-dimensional coordinates of W. (c) The geometry LoRA is trained by minimizing a loss (Equation 2) that aligns the observed structure ˆG to the target structure G, without any output-level task loss.

They focused on two "idealized" structures:

  1. Fourier Harmonics (Circles): For month arithmetic (e.g., "What is 4 months after June?"). Since months are periodic, the ideal representation is a set of points on a circle.
  2. Helical Structure: For character counting (used in line-breaking tasks). Counting is linear (1, 2, 3...), but when text wraps to a fixed width, it becomes periodic. A helix—a circle that moves forward in space—perfectly captures this "linear-yet-periodic" nature.

The loss function ($L_{geometry}$) essentially pulls the model's messy internal clusters toward these perfect geometric shapes.

Datasets

  • Months Task: A synthetic dataset of 1,074 prompts asking for month offsets (e.g., "What month is 15 months after March?").
  • Linebreaking Task: Documents from FineWeb, stripped of newlines and re-wrapped to fixed widths (up to 300 characters). The model must predict where the next newline should go.

Key Insights and Ideas

  • Geometry is a Sufficient Signal: You don't need to tell a model "the answer is October." If you tell it "your representation of the answer should be at 300 degrees on this circle," it learns the underlying logic of the calendar just as well.
  • Fine-tuning is "Cleaning": The authors observed that even standard fine-tuning (on outputs) naturally "sharpens" these geometric representations. Geometric supervision just does this sharpening directly.
  • The "Usage" vs. "Representation" Gap: In a fascinating twist, the authors found that simply "patching" (forcing) the perfect geometry into a base model doesn't work. The model doesn't just need the right map; it needs to learn how to read that map. The LoRA training doesn't just fix the targeted layer; it likely adjusts how subsequent layers interpret that information.
Figure 3: Fine-tuning sharpens base-10 Fourier representations. (a) Projection of the months data from the base model, task LoRA, and geometry LoRA onto planes containing Fourier features for the sum variable with periods T = {2, 5, 10} at layer 18. Each point corresponds to a prompt x ∈Xsum≤96, and is colored by sum(x) mod T. Both end-to-end training and geometric supervision sharpen existing base-10 Fourier representations, resulting in tighter per-modulo clusters, and higher alignment with idealized Fourier structure. (b) Alignment of representations with ideal Fourier planes shown for periods T ∈{2, ..., 60}. Base-10 periods sharpen under the task LoRA (orange) and geometry LoRA (blue) compared to the base model (gray), while other periods do not.

Key Results

  • Months Task: The base Llama model is surprisingly bad at large month offsets (36.3% accuracy). Standard fine-tuning brings this to 71.9%. Geometric supervision reached 73.3%—actually slightly outperforming the standard method without ever seeing an output label.
  • Linebreaking: Geometric supervision reduced the average error from 13.5 characters down to 7.3. While standard fine-tuning was better here (4.6 characters), the geometric approach still provided a massive boost over the base model.
Figure 2: Performance of Llama-3.1-8B and fine-tuned variants on the months task. Inputs are grouped by sum, e.g., “What month is four months after June?” is grouped with “What month is nine months after January?” for having the same sum of 10. The base model (top row) achieves 100% accuracy when the sum ≤12, but performance degrades for larger sums, achieving a total accuracy of only 36.3%. Training a LoRA with end-to-end supervision (“Task LoRA”, middle row) on sums up to 24 improves performance to 71.9%, with the strongest gains primarily located within the training range (Xsum≤24, orange shaded region) and the first held-out cycle (sum ∈[25, 36]). Training a LoRA with only geometric supervision (§3.2) over the same training range (“Geometry LoRA”, bottom row) achieves similar improvements across the board, with a total accuracy of 73.3%.

Limitations and Future Work

The biggest hurdle is that you have to know the geometry first. This method relies on humans (or interpretability tools) having already decoded how the model should be representing a concept.

The authors suggest that future work could involve automatically discovering these geometries. If we can automate the process of finding and "beautifying" a model's internal logic, we might be able to train models in domains where we don't have clear labels, but we do have a sense of the underlying structural rules (like physics or biology).

Summary updated

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.
BibTeX
@misc{todd2026neural,
  author = {Eric Todd and Tal Haklay and Nikhil Prakash and Matthew Finlayson and Michael Hanna and Fenil R. Doshi and Daniel Wurgaft and Thomas McGrath and Owen Lewis and David Bau and Jack Merullo and Ekdeep Singh Lubana and Matthew Kowal and Thomas Fel and Atticus Geiger},
  title = {{Neural Geometry as a Learning Signal}},
  year = {2026},
  eprint = {2611.26832},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26832},
}
Figure