The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment

Rishab Bala, Pin-Jie Lin, Rituraj Sharma, Mohit Bansal, Tu VuNeurIPS 2026

TL;DR

What if teaching a new AI model how to reason didn't require weeks of expensive post-training, but rather just handing it a geometric "master key" borrowed from another model? This paper shows that complex capabilities like Chain-of-Thought and mathematical reasoning live as simple, linear directions inside a model’s latent space. By extracting this direction from one model and linearly aligning it to another, we can unlock post-training-level reasoning in base models completely training-free and without labeled data.

What Problem Does This Paper Address?

Every time a new family or scale of large language models (LLMs) drops, engineers spend massive amounts of compute and data in "post-training" (instruction tuning, RLHF) to teach each individual model how to follow instructions or reason step-by-step. Capabilities are expensive to instill, yet frustratingly trapped inside the specific model that learned them.

Existing workarounds have major catches: merging model weights requires identical architectures, guiding outputs via logits requires running multiple models simultaneously with identical tokenizers, and traditional knowledge distillation requires costly gradient-based training. Meanwhile, activation "steering vectors"—nudging a model's internal hidden states at inference time—have mostly been confined to a single model for surface-level traits like safety or style. The authors ask: Can we isolate a complex reasoning capability from one model and transfer it directly into the mind of a differently sized model, with zero gradient updates?

Methods

Grounded in their Master Key Hypothesis—the idea that model capabilities correspond to directions in a shared, low-dimensional latent subspace—the authors introduce UNLOCK, a three-stage, training-free, and label-free pipeline:

Figure 2: Illustration of UNLOCK: Our method consists of three stages: (1) Calculating the difference in hidden states in the Source space; (2) Learning a linear transformation between the Source Locked and Target Locked models; and (3) Projecting the MASTERKEY from Source to Target space and applying as a test-time intervention to the residual stream at every layer.
  1. Extracting the Master Key: Using a small set of unlabeled queries, they contrast the final-token hidden activations between a "Source Unlocked" variant (which has the skill, either via a Chain-of-Thought prompt or instruction-tuning) and a "Source Locked" variant (a base model without the skill). Aggregating these differences (via mean or principal components) isolates the capability vector—the Master Key.
  2. Cross-Model Subspace Alignment (The Novel Twist): Because Source and Target models have different hidden dimensions and depths, you can't just copy-paste the vector. Instead of training non-linear autoencoders, the authors pass shared unlabeled prompts through both "Locked" base models, use Singular Value Decomposition (SVD) to project their activations into top-$k$ low-rank subspaces, and compute a simple linear alignment matrix (via the Moore–Penrose pseudoinverse) to bridge the two spaces. Layers across different model depths are matched proportionally by relative depth.
  3. Unlocking at Inference Time: As the Target base model generates answers, the aligned Master Key is added to its hidden states across layers—normalized to preserve the original activation magnitude—nudging the model into the desired reasoning mode on the fly.

Datasets

No new benchmarks were introduced. Because UNLOCK is training-free, existing datasets are used for evaluation (with small, unlabeled subsets of queries used to compute the alignment and steering directions):

  • Chain-of-Thought (CoT) Transfer: GSM8K, MATH, and SVAMP.
  • Mathematical Reasoning Transfer: AGIEval-Math, DeepMind-Math, Minerva-Math, and OlympiadBench.

Key Insights and Ideas

  • Small-to-Large Asymmetry: Transferring a capability from a smaller model to a larger base model consistently works better than large-to-small! Why? A larger model likely already possesses a rich superset of latent reasoning circuits learned during pre-training—the small model's Master Key simply flips the switch. Conversely, a smaller model lacks the representational capacity to execute the complex reasoning structures of a giant model.
  • Amplification, Not Implantation: UNLOCK cannot magically inject knowledge that isn't there. Just like prompting, its success depends on how strongly the capability was planted during pre-training. It unlocks dormant abilities rather than teaching from scratch.
  • Post-Training as "Trajectory Sharpening": When looking at the very first word generated by unlocked models, a diffuse scatter of starting words collapses into focused reasoning openers (like "To" or "Let's"). Echoing recent RLVR findings, this suggests post-training largely works by sharpening a model's output distribution toward reliable reasoning paths—a mechanism that turns out to be linearly transferable!

Key Results

UNLOCK achieves striking gains across model scales (Qwen, OLMo-2, Gemma, Ministral), frequently matching or beating explicitly post-trained models:

Figure 1: Performance improvements from UNLOCK when transferring (a) Chain-of-Thought capabilities from Qwen1.5-14B onto Qwen1.5-7B; and (b) Math reasoning capabilities from Qwen3-4B-Base onto Qwen3-14B-Base. Capability transfer substantially improves the base model without additional training, approaching the performance of the post-trained model.
  • Eliciting CoT Without CoT Prompts: Transferring a CoT vector from Qwen1.5-14B to Qwen1.5-7B boosts MATH accuracy from 8.0% to 20.1% under direct prompting—beating the 7B chat-tuned model with explicit CoT prompting (18.2%). Going small-to-large (7B $\rightarrow$ 14B) pushes MATH accuracy from 16.0% to 31.2%.
  • Beating Post-Trained Models via Small Teachers: Transferring math reasoning from instruction-tuned Qwen3-4B onto Qwen3-14B-Base jumps AGIEval Math accuracy from 61.1% to 71.3%, surpassing the 67.8% achieved by the official post-trained Qwen3-14B model.
  • Behavioral Proof: Across CoT tasks, unlocked models organically generate much longer, structured step-by-step traces, and gains hold up robustly under stochastic pass@k sampling and bootstrap statistical tests.

Limitations and Future Work

  • Bound by Pre-training: If a base model didn't acquire latent reasoning circuitry during pre-training (e.g., smaller models like gemma-2-2B where reasoning is mostly learned post-hoc), UNLOCK yields minimal gains.
  • Data vs. Distribution Tradeoff: Estimating the Master Key on a tiny in-distribution dev set can be noisy, while using abundant out-of-distribution math data risks a domain mismatch. Furthermore, hyperparameters (rank $k$, steering strength $\alpha$) still require grid-search tuning on a held-out set.
  • Cross-Family Convergence: While the main experiments focus on transferring across scales within the same model family, preliminary results on cross-family transfer show consistent gains—pointing toward an exciting future where capabilities can be freely shared across completely different model ecosystems.

Summary updated

Abstract

We investigate whether post-trained capabilities can be transferred across model scales without retraining, and propose the Master Key Hypothesis, which states that model capabilities correspond to directions in a low-dimensional latent subspace that induce specific behaviors and are transferable across models through linear alignment. Based on the hypothesis, we introduce UNLOCK, a training-free and label-free framework that extracts a capability direction by contrasting activations between capability-present and capability-absent Source variants, aligns it with a Target model through a low-rank linear transformation, and applies it at inference time to elicit the behavior. Experiments on reasoning behaviors, including Chain-of-Thought (CoT) and mathematical reasoning, demonstrate substantial improvements across model scales without training. For example, transferring CoT reasoning from Qwen1.5-14B to Qwen1.5-7B yields an accuracy gain of 12.1% on MATH, and transferring a mathematical reasoning direction from Qwen3-4B-Base to Qwen3-14B-Base improves AGIEval Math accuracy from 61.1% to 71.3%, surpassing the 67.8% achieved by the 14B post-trained model. Our analysis shows that the success of transfer depends on the capabilities learned during pre-training, and that our intervention amplifies latent capabilities by sharpening the output distribution toward successful reasoning trajectories.
BibTeX
@inproceedings{bala2026master,
  author = {Rishab Bala and Pin-Jie Lin and Rituraj Sharma and Mohit Bansal and Tu Vu},
  title = {{The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=U3GUy7xRmI},
}
Figure