[KongchangAI]
· 2 min read· 1,064 words

StepJEPA: A New Latent Reasoning Paradigm That Replaces Chain-of-Thought with Representation-Space Prediction

StepJEPA: A New Latent Reasoning Paradigm That Replaces Chain-of-Thought with Representation-Space Prediction

StepJEPA uses a JEPA transition loss to supervise logical step transitions in representation space, enabling depth-extrapolable latent reasoning.

StepJEPA addresses chain-of-thought's problem of binding computation to token-by-token generation, which is vulnerable to token-selection noise, by proposing a single-stage step-level representation supervision paradigm. It encodes each logical step into a compact latent block, trains a shared autoregressive Transformer with a JEPA-style transition loss to directly predict the next logical state, and combines collapse regularization, joint step decoding, and adaptive stopping. Experiments show it solves ProntoQA from random initialization and substantially outperforms fixed-budget latent baselines on depth extrapolation, multi-hop graph, and DAG reasoning, while remaining competitive on GSM8k with pretrained GPT-2. The work suggests that what latent reasoning truly needs to supervise is the logical transitions between states, not the hidden states or tokens themselves.

Chain-of-Thought (CoT) significantly improves language models' reasoning ability by externalizing intermediate reasoning steps as text, but the cost is that computation is bound to token-by-token generation, which easily introduces token-selection noise. Existing latent reasoning methods attempt to replace explicit text with indirect language-modeling supervision, single-anchor distillation, recurrent depth, token-space step decoding, or two-stage compression—but all lack a single-stage objective that directly supervises the logical transitions between steps in representation space. StepJEPA is a new paradigm proposed to fill this gap: it encodes logical steps into compact latent blocks and trains a shared autoregressive Transformer with a Joint Embedding Predictive Architecture (JEPA) transition loss, combined with collapse regularization, joint step decoding, and an adaptive stopping mechanism.

StepJEPA paper source screenshot

Why Is Step-Level Representation Supervision Needed?

The core problem with CoT is that the model must "write" each reasoning step as discrete tokens, and token generation itself is noisy—an inappropriate token choice can derail subsequent reasoning. The motivation behind latent reasoning is to bypass the text bottleneck and perform computation directly in continuous representation space. However, existing approaches either rely on indirect supervision from language modeling (e.g., using next-token prediction to implicitly drive latent states) or on single-anchor distillation or two-stage compression—none of which explicitly constrain the transition "from the previous logical state to the next logical state." StepJEPA's insight is that the essence of reasoning is state transition; therefore, one should directly predict the next logical state in representation space rather than the next token.

This line of thinking is consistent with JEPA's success in vision and representation learning—predicting representations rather than raw inputs filters out irrelevant detail noise. StepJEPA transfers this idea to the step level of language reasoning, enabling the model to learn transferable dynamics.

Joint Embedding Predictive Architecture (JEPA) was proposed by Yann LeCun, and its core idea is to make predictions in representation space: given the output of a context encoder, predict the representation produced by a target encoder, rather than reconstructing raw pixels or tokens. Compared with generative models, JEPA naturally filters out hard-to-predict detail noise in the input and retains only the abstract information relevant to downstream tasks. In vision, I-JEPA learns semantic representations by predicting representations of masked image regions; in language, transferring JEPA to the step level means predicting the vector of the "next logical state" rather than the "next word." In this way, the supervision signal falls directly on reasoning dynamics, avoiding the interference of token-level generation noise with the logical chain.

Core Mechanisms of StepJEPA

StepJEPA's design revolves around several key components. First, the encoder compresses each logical step into a compact latent block rather than expanding it into a passage of text. Second, a shared autoregressive Transformer makes predictions across these latent blocks, and the training objective is not token reconstruction but a JEPA-style transition loss: given the representation of the current step, predict the representation of the next step. To prevent representation collapse (all steps mapping to the same representation), the model introduces collapse regularization. Joint step decoding is responsible for reading out content from latent blocks when needed, while the adaptive stopping mechanism allows the model to dynamically decide reasoning depth based on problem difficulty rather than using a fixed number of steps.

This approach of "predicting the next logical state in representation space" brings three direct benefits: reduced token-selection noise, computation depth adjusted to difficulty, and learned transferable reasoning dynamics.

Representation collapse is a common failure mode in self-supervised representation learning: when a model is trained to predict representations of itself or similar inputs, a trivial solution is to map all inputs to the same constant vector, in which case the prediction loss is zero but the representation carries no information. JEPA-style methods must explicitly prevent this. Common strategies include stop-gradient (as in BYOL), asymmetric updates (as in momentum encoders), variance-covariance regularization (as in VICReg), or contrastive loss. The collapse regularization introduced by StepJEPA belongs to this family; its purpose is to preserve distinguishability among step representations while training transition prediction, ensuring that latent blocks carry genuine logical content rather than degenerating into identical representations.

Experimental Results: From Random Initialization to Depth Extrapolation

The paper validates the method on strictly causal autoregressive models ranging from 19M to 164M parameters. On the deductive reasoning task ProntoQA, StepJEPA can solve the task starting from random initialization, whereas previous methods remain at chance level under this setting. More critically, depth extrapolation: when the number of reasoning steps required at test time exceeds the depth seen during training, StepJEPA still maintains performance, while the matched no-JEPA version and fixed-budget latent methods collapse.

On a pretrained 124M GPT-2, StepJEPA remains competitive on GSM8k and substantially outperforms fixed-budget latent baselines on out-of-distribution depth extrapolation, multi-hop graph reasoning, and DAG reasoning tasks. These results suggest that step-level representation prediction is not merely a training trick, but potentially a paradigm shift that teaches models "how to reason" rather than "how to recite reasoning."

Depth extrapolation refers to the model still correctly completing tasks when the reasoning chain length (number of steps) encountered at test time exceeds the maximum depth seen in the training distribution. This poses a fundamental challenge to methods that rely on a fixed number of computation steps or a fixed latent budget: they usually perform well within the training depth but collapse sharply once beyond it, because their computation graph or number of recurrences is hard-bound to the training configuration. StepJEPA's adaptive stopping mechanism and step-level transition prediction allow its reasoning depth to scale dynamically with problem complexity, so it significantly outperforms fixed-budget baselines on depth extrapolation benchmarks. This capability is regarded as a key indicator of whether a model has truly learned a "reasoning algorithm" rather than "memorized reasoning patterns."

Implications for Latent Reasoning Research

The value of StepJEPA lies in redefining the location of the supervision signal: not token space, nor the final answer, but the representation transitions between steps. This offers a path to improving language model reasoning that is independent of scaling. Of course, the method is currently validated mainly on synthetic reasoning tasks and medium-scale models, and its performance on larger-scale pretrained models and open-domain reasoning remains to be explored. But directionally, it points to a question worth attention: when we talk about "letting models reason in latent space," what truly needs supervision may not be the hidden states themselves, but the logical transitions between states.

#StepJEPA#latent reasoning#JEPA#chain-of-thought#depth extrapolation#representation learning
Share:

Related articles