mlsanityData to 14 Oct 2026

Learning to Disentangle Latent Reasoning Rules with Language VAEs: A Systematic Study

arXiv 2506.19418 ↗First posted 24 Jun 2025cs.CLcited by 2

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Incorporating explicit reasoning rules within the latent space of language models (LMs) offers a promising pathway to enhance generalisation, interpretability, and controllability. While current Transformer-based language models have shown strong performance on Natural Language Inference (NLI) tasks, they often rely on memorisation rather than rule-based inference. This work investigates how reasoning rules can be explicitly embedded and memorised within the LMs through Language Variational Autoencoders (VAEs). We propose a complete pipeline for learning reasoning rules within Transformer-based language VAEs. This pipeline encompasses three rule-based reasoning tasks, a supporting theoretical framework, and a practical end-to-end architecture. The experiment illustrates the following findings: Disentangled reasoning: Under explicit signal supervision, reasoning rules - viewed as functional mappings - can be disentangled within the encoder's parametric space. This separation results in distinct clustering of rules in the output feature space. Prior knowledge injection: injecting reasoning information into the Query enables the model to more effectively retrieve the stored value Value from memory based on Key. This approach offers a simple method for integrating prior knowledge into decoder-only language models. Performance bottleneck: In mathematical reasoning tasks using Qwen2.5(0.5B), increasing sample count doesn't improve performance beyond a point. Moreover, ffn layers are better than attention layers at preserving the separation of reasoning rules in the model's parameters.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 21 of its 47 references that are in the map. First posted on arXiv 24 Jun 2025.

Builds on

21 of 47 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Mitigating Content Effects on Reasoning in Language Models through Fine-Grained Activation Steering18 May

Other references · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2024Qwen2.5 Technical Reportcited by 4,942
  4. 2013Auto-Encoding Variational Bayescited by 4,053
  5. 2024Qwen2 Technical Reportcited by 2,120
  6. 2025MMaDA: Multimodal Large Diffusion Language Modelscited by 250
  7. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
  8. 2021Explaining Answers with Entailment Treescited by 152
  9. 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
  10. 2025How much do language models memorize?cited by 61
  11. 2018WorldTree: A Corpus of Explanation Graphs for Elementary Science Questions supporting Multi-Hop Inferencecited by 60
  12. 2021Transformer-based Conditional Variational Autoencoder for Controllable Story Generationcited by 44
8 more
  1. 2025Understanding Transformer from the Perspective of Associative Memorycited by 34
  2. 2024Searching Latent Program Spacescited by 20
  3. 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformerscited by 15
  4. 2025Neurosymbolic Diffusion Modelscited by 13
  5. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmeticcited by 8
  6. 2023Multi-Operational Mathematical Derivations in Latent Spacecited by 6
  7. 2025Grammar-based Ordinary Differential Equation Discoverycited by 6
  8. 2023Towards Controllable Natural Language Inference through Lexical Inference Typescited by 1

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Language Models are Hidden Reasoners: Unlocking Latent Reasoning Capabilities via Self-Rewarding
  2. 2025A Survey on Latent Reasoning
  3. 2025Efficient Post-Training Refinement of Latent Reasoning in Large Language Models
  4. 2025Latent Concept Disentanglement in Transformer-based Language Models
  5. 2026RuPLaR : Efficient Latent Compression of LLM Reasoning Chains with Rule-Based Priors From Multi-Step to One-Step
  6. 2026ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thought
  7. 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts
  8. 2025Implicit Reasoning in Large Language Models: A Comprehensive Survey