Perplexity is order-invariant by the chain rule for a true distribution, yet GPT-2 models trained on forward, backward, and permuted text deviate systematically, with permutation training producing the largest gaps.
Reverse Modeling in Large Language Models
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Humans are accustomed to reading and writing in a forward manner, and this natural bias extends to text understanding in auto-regressive large language models (LLMs). This paper investigates whether LLMs, like humans, struggle with reverse modeling, specifically with reversed text inputs. We found that publicly available pre-trained LLMs cannot understand such inputs. However, LLMs trained from scratch with both forward and reverse texts can understand them equally well during inference across multiple languages. Our case study shows that different-content texts result in different losses if input (to LLMs) in different directions -- some get lower losses for forward while some for reverse. This leads us to a simple and nice solution for data selection based on the loss differences between forward and reverse directions. Using our selected data in continued pretraining can boost LLMs' performance by a large margin across different language understanding benchmarks.
fields
cs.CL 1years
2025 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Probability Consistency in Large Language Models: Theoretical Foundations Meet Empirical Discrepancies
Perplexity is order-invariant by the chain rule for a true distribution, yet GPT-2 models trained on forward, backward, and permuted text deviate systematically, with permutation training producing the largest gaps.