Researchers move knowledge between language models with a simple rotation
Researchers in Chris Ré’s Hazy Research group at Stanford show that one language model can use another model’s internal representations of facts in place of its own. A rotation plus one scaling factor, computed directly with no training, is enough to translate between the models.
In one example the recipient model is asked for the capital of Germany, but when the donor model’s internal state for “France” is swapped in, it answers Paris. The team tested 12 models from eight families, from 1.5 to 27 billion parameters, on 8,800 facts. Transfer was correct in a median 41 percent of cases, against 55 percent when a model swaps with itself. Rotations could also be chained from model A through B to C with almost no loss. A rotated key from another model even recovered 18 percent of facts the recipient had stored but failed to recall.
What it enables. The result supports the idea that separately trained models converge on a shared picture of the world. If it holds, knowledge could be moved between models without retraining, and models could talk directly in their internal states rather than through text. Caveats: the study covers only simple factual recall in base models, transfer is clearly worse than a model’s own, and the applications are so far research ideas.
Original source: Hazy Research, Stanford