← Latest papers
💻 computer science

Domain-Filtered Knowledge Graphs from Sparse Autoencoder Features

This paper proposes a method to transform sparse autoencoder features from language models into structured, domain-filtered knowledge graphs by constructing a strict concept universe and building aligned co-occurrence and mechanism graphs with automated labeling, thereby converting flat feature inventories into interpretable global maps of model knowledge for auditing reasoning faithfulness.

Original authors: John Winnicki, Abeynaya Gnanasekaran, Eric Darve

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: John Winnicki, Abeynaya Gnanasekaran, Eric Darve

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

Imagine a giant library inside a computer brain (a Large Language Model). Inside this library, there are millions of tiny, glowing switches (features) that light up whenever the computer reads a word.

The Problem: A Messy Pile of Switches
Right now, if you ask researchers to look at these switches, they get handed a flat, chaotic list of millions of items. It's like being given a box of 10 million Legos dumped on the floor. Some Legos are red (biology concepts), some are blue (grammar rules), and some are just dust (punctuation).

  • The red Legos are scattered everywhere, mixed in with the blue ones.
  • There's no map showing which red Legos belong together to build a "heart" or a "cell."
  • You can't tell how one Lego connects to another.

The Solution: Building a "Knowledge Map"
This paper proposes a way to clean up that messy pile and build a structured map, specifically for a biology textbook. They do this in three main steps, using some clever tricks:

1. The "Domain Filter" (The Bouncer)

First, they need to get rid of the junk. They use a "bouncer" system to check every single Lego.

  • The Trick: They compare the biology textbook against other books (like history or geology).
  • The Logic: If a Lego lights up in every book (like a switch for the word "the" or a comma), it's generic noise. The bouncer kicks it out.
  • The Result: They keep only the Legos that light up specifically for biology. This creates a "Strict Concept Universe"—a clean box containing only the biology pieces.

2. Building Two Views of the Map

Once they have the clean box of biology Legos, they build two different maps to understand how they fit together.

Map A: The "Co-occurrence" Map (Who hangs out together?)

  • The Analogy: Imagine walking through a party. You notice that people who talk about "photosynthesis" also tend to talk about "leaves" and "sunlight."
  • The Paper's Method: They look at the whole textbook and draw lines between concepts that appear in the same sentences, paragraphs, or chapters.
  • The Result: This map shows the "neighborhoods." It proves that the computer organizes biology topics just like a human textbook does. It shows that "Respiratory System" is a distinct neighborhood, separate from "Immune System," and it even shows the "bridges" where topics overlap.

Map B: The "Transcoder" Map (How does one idea turn into another?)

  • The Analogy: Imagine a factory assembly line. You put a raw piece of wood (a source concept) on the belt, and it comes out the other side as a finished chair (a target concept).
  • The Paper's Method: They look at how the computer processes a sentence as it moves from one layer of its brain to the next. They trace the "wiring" to see how a concept in the first layer gets transformed into a concept in the next layer.
  • The Result: This isn't just a list of neighbors; it's a flow chart. It shows the mechanism of how the computer thinks. For example, it shows how the idea of "oxygen" in one layer gets processed and turned into "breathing" in the next.

3. Adding Labels (Turning a Diagram into a Story)

A map with just lines and dots is still hard to read. The final step is adding "Auto-Relate" labels.

  • The Analogy: Instead of a line just connecting "Node A" to "Node B," they write a sentence on the line: "Node A leads to Node B" or "Node A is part of Node B."
  • The Paper's Method: They use the actual sentences from the book to write these labels. If the evidence shows that "cells" and "energy" always appear together in a specific way, the line between them gets the label "provides energy for."
  • The Result: The messy pile of switches is now a readable, labeled "Knowledge Graph." It's no longer just a list of numbers; it's a story about how the computer understands biology.

The Big Picture

The authors tested this on a biology textbook. They found that:

  1. Structure: The map they built naturally grouped chapters and subchapters together, just like the book's table of contents, without being told to do so.
  2. Clarity: They could take a single messy sentence with thousands of active switches and compress it into a clean, readable diagram showing exactly which concepts were talking to each other.

In short: They took a chaotic, flat list of millions of computer features, filtered out the noise, and organized the rest into a structured, labeled map that shows how the computer internally organizes and processes knowledge.

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 →