Mapping Feature Drift: Cross-Layer Correspondence and Polysemanticity in Qwen2.5-3b
This study investigates the internal feature representations of Qwen2.5-3B using Sparse Autoencoders, revealing a sparse cross-layer correspondence structure and demonstrating how individual features can exhibit polysemantic activation patterns across diverse religious and philosophical contexts.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer
Inside the vast, silent architecture of a modern artificial intelligence, billions of numbers shift and settle every time the machine reads a sentence. These machines, known as large language models, are built from layers of mathematical processing that transform simple text into complex understanding. For years, scientists have tried to peek inside these layers to see how the machine thinks, hoping to find the specific "neurons" that light up when the model understands a concept like "justice" or "apple." However, the machine's internal language is often a tangled mess where one signal might mean many things, and one idea might be split across many signals. To untangle this, researchers use a tool called a sparse autoencoder. Think of this tool as a high-powered microscope that takes the machine's chaotic internal signals and forces them into a cleaner, more organized list of distinct features, hoping to reveal the simple building blocks of the machine's knowledge. Understanding how these features behave is crucial because it tells us whether the machine is truly learning concepts or just memorizing patterns, and whether its understanding stays consistent as information flows from the beginning of its processing to the end.
A researcher recently turned this microscope on a specific, powerful model called Qwen2.5-3B, which contains thirty-six distinct layers of processing. Their goal was to answer two fundamental questions about how this machine organizes its knowledge. First, they wanted to know if a specific feature found in the first layer of the machine remains the same feature as it travels up through the layers, or if it drifts and changes identity along the way. Second, they wanted to see if a single feature could ever represent two completely different ideas at once, a phenomenon known as polysemanticity. To do this, they trained a separate, specialized decoder for each of the thirty-six layers, allowing them to watch how the machine's internal signals evolved as they moved deeper into the network.
The researcher began by mapping the connections between neighboring layers, looking for features that seemed to carry the same meaning from one step to the next. They tested thousands of potential matches using a controlled set of sentences designed to trigger specific linguistic reactions. The results were surprising and humbling. While the initial data suggested that many features lined up perfectly between layers, this alignment largely vanished when the machine was tested on new, unseen sentences. Out of nearly nine thousand possible connections the researcher examined, only seventeen remained statistically significant after rigorous testing. This suggests that the machine does not simply pass a single, unchanging concept from one layer to the next. Instead, the features appear to drift, split, or merge as information moves through the network, meaning that the "identity" of a feature is not fixed but is highly dependent on its depth within the machine.
The second part of the study investigated whether these features, once isolated, were truly focused on a single idea or if they were juggling multiple concepts. The researcher scanned hundreds of features across the model's layers, looking for instances where a single feature would light up strongly for very different topics. They found a striking example in the thirty-third layer of the model. A specific feature, which they labeled F374, fired with great intensity when the machine read about Christian eschatology, Jewish religious institutions, Catholic community life, and classical Chinese philosophy. Yet, this same feature remained almost completely silent when the machine processed text about sports or technology. This behavior indicates that the feature is not dedicated to a single religion or a single culture, but rather captures a broad, abstract theme of religious and philosophical discourse. It acts as a generalist for deep, spiritual, and philosophical thought, regardless of the specific tradition being discussed.
These findings offer a clearer, more nuanced picture of how large language models are organized. The study demonstrates that the machine's internal representation is not a rigid pipeline where a concept enters at the bottom and exits at the top unchanged. Instead, the features are fluid, with very few maintaining a strict identity across the entire depth of the network. Furthermore, the machine does not always separate every concept into its own dedicated channel; sometimes, a single feature is tasked with recognizing a whole family of related ideas, such as the broad category of religious thought. The researcher emphasizes that while they found clear evidence of this behavior in specific cases, the overall picture is one of complexity and sparsity. The machine's understanding is built on a shifting foundation where features are constantly reorganizing, and where a single signal can hold a wide range of meanings depending on the context. This work provides a vital empirical look at the inner workings of artificial intelligence, reminding us that the path to true understanding requires looking not just at what the machine says, but at how its internal signals actually move and change.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.