← Latest papers
🤖 machine learning

Training Leaves Traces: Centered Residual Signatures for Language Model Lineage Verification

This paper introduces a data-free, white-box method called Centered Residual Signatures that verifies the lineage of open-weight language models by analyzing unique structural traces in residual blocks, enabling accurate distinction between related and unrelated checkpoints regardless of fine-tuning, merging, or quantization.

Original authors: Aman Singh Thakur, Rayan Khoury

Published 2026-08-18
📖 5 min read🧠 Deep dive

Original authors: Aman Singh Thakur, Rayan Khoury

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

In the modern digital landscape, artificial intelligence models are rarely static, solitary creations. They are living entities that evolve through a complex supply chain. A base model, trained on vast amounts of text, is often passed from one developer to another. Along the way, it is tweaked to perform specific tasks, compressed to run on smaller devices, or combined with other models to create something new. These operations change the model's internal numbers, its weights, but they rarely leave a clear paper trail. Once a model is released under a new name, it becomes difficult to tell if it is a genuine descendant of a famous original or if it is merely a lookalike that was built from scratch to behave similarly. This lack of transparency creates a blind spot in the ecosystem of open-source intelligence, making it hard to verify origins or protect intellectual property.

The core challenge lies in distinguishing between two very different scenarios. In the first, a model is a true child of another, inheriting its specific mathematical structure through a process of fine-tuning or merging. In the second, a model is an independent creation that happens to produce similar results. Traditional methods of verification, such as checking digital fingerprints or looking at how the model behaves, often fail here. Digital signatures break the moment a single number is changed, and behavioral tests cannot tell the difference between a shared history and a shared outcome. Researchers needed a way to look inside the model's brain and find a trace that survives these transformations, a signal that proves a shared lineage without needing the original training data or the ability to run the model.

A team of researchers has developed a method to solve this problem by examining the unique geometric structure left behind inside the model's layers. They focused on a specific architectural feature common to many modern language models: the residual block. In these structures, information flows through a main path and also skips over a side path, allowing the model to learn small corrections rather than starting from zero every time. The researchers discovered that when a model is trained, the mathematical operations in these side paths develop a very specific, shared alignment. It is as if the model learns to organize its internal components in a particular way to make these corrections efficiently. However, this alignment is so common that it appears in almost any trained model, making it useless for proving ancestry on its own.

The breakthrough came when the researchers realized they could isolate the part of the structure that is unique to a specific checkpoint. By mathematically removing the common, shared alignment that all trained models possess, they were left with a residual signature. This remaining piece is like a unique fingerprint that is specific to the exact history of that model's training. It captures the specific way the model's internal numbers were adjusted during its creation. The team then created a scoring system to compare these signatures between two different models. If the models share a parent, their unique signatures will align closely, even if one has been heavily modified, compressed, or merged with another model. If they are unrelated, the signatures will look like random noise when compared.

To test this idea, the researchers ran a series of rigorous experiments using models of varying sizes and complexities. They took base models and subjected them to common real-world transformations, such as fine-tuning them on new data, reducing their size through pruning, or compressing them to run faster. They also created independent models that were trained from scratch to mimic the behavior of the originals. The results were striking. The new scoring method successfully identified every single true descendant, regardless of how much the model had been altered. It distinguished them from independent models with perfect accuracy, even when those independent models were designed to behave almost identically. The method worked across different families of language models, including those used for coding and general conversation, proving that the signal is a fundamental property of how these networks learn.

The researchers also tested the method against a more aggressive scenario where an adversary tried to hide the model's origins. They attempted to shuffle the internal components of the model or rescale its numbers in a way that preserves the model's function but scrambles its appearance to traditional detection tools. While older methods failed completely under these conditions, the new signature remained stable. This is because the method does not rely on the order of the components or their absolute size, but on the specific geometric relationship between them. The researchers found that their approach was also significantly faster than the nearest competing technique, running dozens of times quicker on large models. This speed, combined with its ability to work without needing any training data or the ability to run the model, makes it a practical tool for auditing the supply chain of open-source artificial intelligence.

In a real-world demonstration, the team applied their method to a collection of public language models that were claimed to be related to a famous original. The test correctly identified the three models that were genuine descendants, assigning them high similarity scores. At the same time, it correctly flagged seven other models that shared the same architecture but were trained independently, assigning them scores near zero. This confirmed that the method can distinguish between a true lineage and a mere architectural clone. The study suggests that this passive, data-free signal is a reliable way to verify the history of open-weight models. It offers a way to see the invisible connections between models, ensuring that the lineage of artificial intelligence can be traced, verified, and understood, even when the original creators have moved on.

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 →