mlsanityData to 14 Oct 2026

Reverse Modeling in Large Language Models

arXiv 2410.09817 ↗First posted 13 Oct 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 24 of its 32 references that are in the map. First posted on arXiv 13 Oct 2024.

Builds on

24 of 32 references.

References · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  8. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  9. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  10. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
  11. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  12. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
12 more
  1. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
  2. 2023Data Selection for Language Models via Importance Resamplingcited by 329
  3. 2021All That's 'Human' Is Not Gold: Evaluating Human Evaluation of Generated Textcited by 287
  4. 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
  5. 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 157
  6. 2024Reverse Training to Nurse the Reversal Cursecited by 49
  7. 2019Insertion-based Decoding with automatically Inferred Generation Ordercited by 43
  8. 2019Synchronous Bidirectional Neural Machine Translationcited by 27
  9. 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
  10. 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
  11. 2018Beyond Error Propagation in Neural Machine Translation: Characteristics of Language Also Mattercited by 18
  12. 2024Text Quality-Based Pruning for Efficient Training of Language Modelscited by 9

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.