ActivationReasoning: Logical Reasoning in Latent Activation Spaces

Lukas Helff, Ruben Härle, Wolfgang Stammer, Felix Friedrich, Manuel Brack, Antonia Wüst, Hikaru Shindo, Patrick Schramowski, Kristian Kersting

Large Language Models (LLMs) are famously good at generating fluent text but notoriously opaque when it comes to how they think. While we’ve made strides in "mechanistic interpretability"—using tools like Sparse Autoencoders (SAEs) to find specific "concept" neurons—these features have remained passive. We can see them fire, but we can't easily make the model use them to follow strict logical rules.

A new paper, "ActivationReasoning: Logical Reasoning in Latent Activation Spaces," changes that paradigm. The researchers introduce ActivationReasoning (AR), a framework that treats internal neural activations as logical propositions, allowing the model to perform explicit symbolic reasoning directly within its own "brain."

TL;DR

ActivationReasoning (AR) bridges the gap between neural activations and symbolic logic by treating Sparse Autoencoder (SAE) features as propositional units. By applying explicit logical rules to these internal features during inference, AR enables LLMs to perform robust multi-hop reasoning and precise steering, significantly outperforming standard prompting and even much larger "reasoning" models.

What Problem Does This Paper Address?

The core issue is superposition: LLMs encode many unrelated concepts in overlapping neural dimensions, making their internal logic "tangled." While SAEs help by untangling these into interpretable "features," these features are fragile. They don't naturally compose into higher-order ideas, and they don't enforce logical consistency.

If you ask an LLM to follow a complex set of rules, it often "hallucinates" or loses the thread as the number of logical steps (hops) increases. Current solutions like Chain-of-Thought (CoT) help but are slow, expensive, and still prone to linguistic drift. We lack a way to ground the model’s generation in a verifiable, symbolic logic that operates inside the latent space.

Methods

The AR framework operates in three distinct stages:

ActivationReasoning Framework
  1. Finding Latent Representations: The authors use SAEs to identify "atomic" concepts (e.g., "Bridge," "San Francisco"). They propose three ways to represent these: Single-feature (one neuron), Multi-feature (a weighted group), and Relational (using a shallow decision tree to capture complex interactions like "slurs" + "stereotypes" = "hateful").
  2. Activating Propositions: During inference, AR monitors the LLM's hidden layers. If the activation for a specific concept passes a threshold, it is treated as a "True" logical proposition.
  3. Logical Reasoning: A symbolic logic solver takes these "True" propositions and applies user-defined rules (e.g., Bridge ∧ San Francisco ∧ USA → Golden Gate Bridge). This allows the model to infer concepts that might not even have a dedicated SAE feature.

Finally, the results of this reasoning are used for steering. The model’s activations are shifted toward the inferred "correct" concepts, ensuring the text it generates aligns with the logical conclusion reached internally.

Datasets

The authors evaluated AR across four diverse benchmarks:

  • PrOntoQA: A standard test for deductive multi-hop reasoning.
  • ProverQA: Reasoning over natural, linguistically diverse language.
  • BeaverTails: A safety dataset used to test context-sensitive "constitutional" reasoning.
  • Rail2Country (New): A benchmark introduced in this paper to test meta-level concept generalization. It asks the model to identify colors described through similes (e.g., "colored like a ripe tomato" instead of "red") and map them to countries based on flag patterns.

Key Insights and Ideas

  • The "Aha" Moment for Robustness: Unlike standard LLMs, whose performance plummets as logical complexity increases, AR’s accuracy remains nearly flat. Because the reasoning is symbolic and internal, it doesn't "get tired" or confused by long-context prompts.
  • Compositional Recovery: AR can "find" concepts the SAE missed. If an SAE doesn't have a feature for "Golden Gate Bridge," AR can synthesize it by looking for the simultaneous activation of "Bridge," "San Francisco," and "USA."
Composing New Concepts
  • Efficiency over CoT: AR is significantly faster than Chain-of-Thought. While CoT requires the model to generate many "thinking" tokens, AR performs its logic in the latent space in a single pass, making it much more computationally efficient.
  • Cross-Model Transfer: The framework is "backbone-agnostic." The researchers showed it working effectively on both Llama-3 and Gemma-2 architectures.

Key Results

  • Scaling with Complexity: On PrOntoQA, AR maintained >93% accuracy across 1, 3, and 5 logical hops. In contrast, the base Llama-3 8B model hovered around 50% (chance), and even larger models like Llama-70B saw significant degradation as hops increased.
  • Generalization: In the Rail2Country "Meta" task (using similes), vanilla SAEs failed completely (0% accuracy) to detect the intended colors. AR, by aggregating features, restored this to 86-92% accuracy.
  • Outperforming "Reasoning" Models: On the "Hard" tier of ProverQA, AR (Llama-8B) achieved ~71% accuracy, outperforming the much larger DeepSeek-R1-Distill-Llama-8B (~44%) and even GPT-4o (~46%).
  • Safety: AR improved balanced accuracy across 14 safety dimensions in BeaverTails by an average of 25% over base SAE features.

Limitations and Future Work

The authors acknowledge a few key hurdles:

  • SAE Dependency: AR is only as good as the underlying SAE. If the SAE fails to capture a base concept entirely, the logic solver has nothing to work with.
  • Manual Rules: Currently, the logical rules are user-defined. Future work aims to use LLMs to "auto-discover" these rules from data.
  • Deductive Focus: The current version uses forward-chaining (deductive) logic. Expanding this to probabilistic or inductive reasoning would allow it to handle more "fuzzy" real-world scenarios.

By moving reasoning from the output of the model to its internal activations, ActivationReasoning provides a promising path toward AI that is not just fluent, but provably logical and auditable.

Summary updated

BibTeX
@inproceedings{helff2026activationreasoning,
  author = {Lukas Helff and Ruben Härle and Wolfgang Stammer and Felix Friedrich and Manuel Brack and Antonia Wüst and Hikaru Shindo and Patrick Schramowski and Kristian Kersting},
  title = {{ActivationReasoning: Logical Reasoning in Latent Activation Spaces}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=gGJh5AZTG7},
}
Figure