Abstract
Language models usually use left-to-right (L2R) autoregressive factorization. However, L2R factorization may not always be the best inductive bias. Therefore, we investigate whether alternative factorizations of the text distribution could be beneficial in some tasks. We investigate right-to-left (R2L) training as a compelling alternative, focusing on multiple-choice questions (MCQs) as a test bed for knowledge extraction and reasoning. Through extensive experiments across various model sizes (2B-8B parameters) and training datasets, we find that R2L models can significantly outperform L2R models on several MCQ benchmarks, including logical reasoning, commonsense understanding, and truthfulness assessment tasks. Our analysis reveals that this performance difference may be fundamentally linked to multiple factors including calibration, computability and directional conditional entropy. We ablate the impact of these factors through controlled simulation studies using arithmetic tasks, where the impacting factors can be better disentangled. Our work demonstrates that exploring alternative factorizations of the text distribution can lead to improvements in LLM capabilities and provides theoretical insights into optimal factorization towards approximating human language distribution, and when each reasoning order might be more advantageous.
Introduction
The standard paradigm for Large Language Models (LLMs) is left-to-right (L2R) autoregressive pretraining. While this mirrors human speech and writing, it introduces specific limitations, such as the "Reversal Curse" (difficulty inferring "B is A" from "A is B") and "Surface Form Competition," where semantically identical answers split probability mass. This research investigates whether Right-to-Left (R2L) training—or "reverse thinking"—can provide a superior inductive bias for reasoning and knowledge extraction.
Methodology
The researchers trained a series of models ranging from 1.5B to 8B parameters using both standard L2R and reverse R2L directions on 350 billion tokens from the FineWeb-EDU and DCLM datasets.
To evaluate R2L models on Multiple-Choice Questions (MCQs), they employed a Bayesian inference approach. Instead of calculating the probability of an answer given a question ($p(a|q)$), they evaluated the likelihood of the question given the answer ($p(q|a)$). This method effectively "auto-normalizes" answer choices, as the target question remains constant across all options.
Theoretical Framework: Conditional Entropy
A central hypothesis of this work is that the optimal reasoning direction is dictated by conditional entropy. In domains where an answer points more deterministically to a question than a question does to an answer (lower branching factor), the R2L direction is expected to outperform L2R. This directional asymmetry suggests that L2R and R2L models construct fundamentally different internal representations of information.
Key Results
The experiments revealed a significant "Reversal Blessing" in specific domains. The R2L models consistently outperformed L2R models on 4 out of 11 major benchmarks, including LogiQA, OpenbookQA, TruthfulQA, and CommonsenseQA.
Notably, on the TruthfulQA benchmark, the R2L model (DCLM-2B) achieved a 51.23% relative improvement over the L2R baseline. The performance gap often widened as model size increased, suggesting that the benefits of R2L factorization scale effectively.
Conclusion and Future Work
This study demonstrates that the standard L2R factorization is not always the optimal path for LLM reasoning. By leveraging the lower conditional entropy found in reverse thinking, R2L models can overcome common calibration issues and achieve superior performance in logical and truthful reasoning. Future research will focus on extending these findings to open-ended generative tasks and exploring unified bidirectional architectures that can leverage the strengths of both thinking directions.
Summary updated