cs.LGJul 20, 2026

Uncovering Latent Reasoning Strategies in Language Models

Authors: Awni Altabaa, John Lafferty

Organizations: Yale University

Abstract

A language model pθ(y∣x)p_θ(y \mid x) trained on reasoning tasks learns to solve problems via multiple distinct strategies, yet these strategies are implicit and entangled within the model's response distribution. We study the problem of decomposing the response distribution of a given pretrained language model into a structured, strategy-conditioned representation. Specifically, we learn a latent-variable factorization pθ(y∣x)⇝(rφ(z∣x),gφ(y∣x,z))p_θ(y \mid x) \leadsto (r_φ(z \mid x), g_φ(y \mid x,z)), where a router rr maps each input to a distribution over latent strategies zz and a generator gg produces the response conditioned on that strategy. A key challenge is that the generator, initialized from the base model, already represents pθ(y∣x)p_θ(y \mid x) without using zz. Standard variational inference therefore gives the model no incentive to route information through zz and can yield a severe form of posterior collapse. To address this, we propose a variational objective that measures fractional information gain relative to the base model's response loss and concentrates reconstruction pressure on tokens with high base model surprisal, encouraging zz to encode strategy-relevant response variation. We introduce a benchmark of multi-strategy algorithmic tasks and show that this objective recovers latent codes aligned with distinct reference strategies while preserving the base model's response distribution.

Explore similar work

CardsList
  1. Invariant Reasoning Directions in Latent Trajectories of Language Models

    Jun 28, 2026Arun Vignesh Malarkkan, Manan Roy Choudhury, Utkarsh Byahut +3Reasoning TrajectoryLatent Trajectories