← Latest papers
🤖 machine learning

Learning Coherent Representations: A Topological Approach to Interpretability

This paper introduces "coherence," a geometric property inspired by neural coding that enforces contiguous feature-sample relationships to guarantee compatible topological structures between data and features, thereby achieving interpretable representations through a new differentiable objective function called Coh.

Original authors: Sigurd Gaukstad, Melvin Vaupel, Valdemar Kargård Olsen, Erik Hermansen, Benjamin Dunn

Published 2026-06-03
📖 5 min read🧠 Deep dive

Original authors: Sigurd Gaukstad, Melvin Vaupel, Valdemar Kargård Olsen, Erik Hermansen, Benjamin Dunn

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Scattered" Brain

Imagine you have a super-smart robot (a Deep Neural Network) that learns to recognize things. Usually, when this robot learns, it creates a hidden internal map of the world. The problem is that this map is often messy.

In a standard robot, a single "neuron" (a tiny switch inside the robot) might light up for a cat, a car, and a banana all at once, but only for very specific, random examples of those things. It's like if your brain had a neuron that only fired when you saw a red apple on a Tuesday, but not a green apple or a red apple on a Wednesday. This makes it impossible for humans to understand what the robot is actually thinking. The features are "incoherent"—they are scattered and don't make geometric sense.

The Inspiration: The Brain's GPS

The authors looked at how real animal brains work. They studied two types of cells:

  1. Grid Cells: These act like a GPS grid. They fire when an animal is in a specific, continuous area of space (like a tile on a floor).
  2. Head Direction Cells: These fire when an animal is facing a specific direction (like North). If you turn slightly, the same cell still fires. It covers a smooth, continuous arc.

These biological cells are coherent. They don't fire randomly; they cover neat, connected chunks of the world. If you know which cells are firing, you can instantly tell where the animal is or where it is looking.

The Solution: "Coherence"

The paper asks: Can we teach artificial robots to organize their internal maps like a biological brain?

They introduce a concept called Coherence.

  • The Analogy: Imagine a library.
    • Incoherent (Current AI): A book about "Cooking" is shelved in the Cooking section, but also in the "History of 1990s" section, and the "Gardening" section, scattered randomly. If you look at the "Cooking" shelf, you find books about cooking, but also random history books. It's messy.
    • Coherent (New Method): The library is organized so that every "Cooking" book is in a neat, continuous row. Furthermore, every single book in the library is found in a row that makes sense for it. The "Cooking" row is a solid block, and the "History" row is a solid block.

In technical terms, the paper defines a matrix (the robot's internal map) as coherent if:

  1. Locality: Every sample (like a picture of a cat) activates a group of features that are "neighbors" to each other, not scattered ones.
  2. Covering: Every feature is needed by some samples, and every sample is well-described by some features. Nothing is left out, and nothing is wasted.

The Magic Tool: Topology

How do they measure if the map is "neat"? They use a branch of math called Topology (the study of shapes).

  • The Analogy: Imagine the robot's data is a piece of dough.
    • If the data forms a circle (like a ring), the robot's internal features should also form a circle.
    • If the data forms two separate islands, the features should also form two separate islands.

The authors prove that if the robot's map is "coherent," the shape of the data and the shape of the features will match perfectly. If the data is a circle, the features must tile that circle into neat, continuous arcs. They can't be scattered. This guarantees that the features are interpretable because they follow the same "shape" as the real world.

The New Rule: COH

To force the robot to learn this way, the authors created a new rule (a loss function) called COH.

  • Old Rule (Sparsity): "Only turn on a few switches." This is like saying, "Only use a few books in the library." But you could still put those few books in random, scattered spots.
  • New Rule (Coherence): "The switches you turn on must be neighbors." This forces the robot to group related things together. It's not just about how many things are active, but which things are active. They must be geometrically connected.

What They Tested

They tested this on three things:

  1. Synthetic Circles: They gave the robot data shaped like circles. The robot with the new rule learned features that were also perfect circles. The old robot learned features that were scattered mess.
  2. Rotated Digits (MNIST): They showed the robot numbers (like a "6") rotated at different angles. The new rule made the robot learn features that corresponded to specific angles (e.g., one feature for "upright," one for "tilted left"). The old robot couldn't do this cleanly.
  3. Language (BERT): They applied this to a language model. Instead of just finding random words, the new rule found features that grouped words by clear categories: one feature for "years" (1990, 2005), one for "family members" (mother, brother), and one for "directions" (north, south).

The Bottom Line

This paper doesn't just make the robot smarter; it makes the robot's "thought process" readable. By forcing the robot to organize its internal map so that related things are neighbors (coherence), we get a system where we can look at a feature and say, "Ah, this feature represents 'years' or 'rotated angles'."

It turns the robot's black box into a library where every book is in the right aisle, and the aisle itself makes geometric sense.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →