New Unsupervised Method Extracts Reasoning Features from LLMs.

Amit LeVi, Elad David, Max Fomin· July 7, 2026 View original

Summary

Researchers introduce Mining via Activation Geometry (MAG), an unsupervised framework that extracts reasoning features from large language model activations by observing how specific natural language instructions alter internal representations. This method helps understand LLM judgments and can steer model decisions.

A new research paper presents Mining via Activation Geometry (MAG), an unsupervised framework designed to uncover the internal reasoning features within large language models (LLMs). Unlike traditional interpretability methods that often rely on pre-labeled examples, MAG operates by observing how an LLM's internal activation space changes when a specific natural language instruction, defining a reasoning feature, is prepended to an input. The framework measures the difference in activation patterns with and without the instruction, allowing researchers to identify and approximate these reasoning features as activation directions. The study explored eight different MAGs, finding that these extracted features accurately predict the model's own understanding and judgments. Importantly, these linear representations can be used for "activation steering," enabling researchers to influence LLM decisions by injecting specific reasoning features. Furthermore, MAG proves effective in selecting optimal training datasets for prompt-injection classifier probes, achieving high accuracy by leveraging RFD-based similarity. This work provides a powerful tool for both understanding and controlling the internal mechanisms of LLMs.

Why it matters

Understanding and controlling the internal reasoning of LLMs is crucial for improving their reliability, safety, and alignment with human intentions, enabling more trustworthy and steerable AI applications.

How to implement this in your domain

  1. 1Experiment with MAG to extract specific reasoning features relevant to your LLM application's domain.
  2. 2Investigate using activation steering techniques to guide LLM behavior towards desired outcomes or ethical guidelines.
  3. 3Develop internal tools to visualize and analyze activation geometry for better LLM interpretability.
  4. 4Apply MAG-based similarity metrics to optimize dataset selection for fine-tuning or prompt-injection detection.
  5. 5Integrate interpretability frameworks like MAG into the LLM development lifecycle for enhanced debugging and safety.

Who benefits

AI/ML DevelopmentCybersecurityContent ModerationResearch & DevelopmentEducation

Key takeaways

  • MAG is an unsupervised framework for extracting reasoning features from LLM activations.
  • It measures changes in internal representations caused by specific natural language instructions.
  • Extracted features predict LLM judgments and can be used for activation steering to influence decisions.
  • MAG also helps select optimal training datasets for prompt-injection classifiers.

Original post by Amit LeVi, Elad David, Max Fomin

"arXiv:2607.04222v1 Announce Type: new Abstract: Interpretability methods aim to reveal the features represented inside large language models (LLMs). Many existing methods begin with labeled examples of a human-defined concept that may reflect human biases, and then identify how t…"

View on X

Originally posted by Amit LeVi, Elad David, Max Fomin on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses