Instruction-tuned Language Models are Better Knowledge Learners

Zhengbao Jiang, Zhiqing Sun, Weijia Shi, Pedro Rodríguez, Chunting Zhou, Graham Neubig, Xi Victoria Lin, Wen-tau Yih, Srini Iyer

Introduction: The Inefficiency of Standard LLM Updates

Large Language Models (LLMs) are typically updated with new information through a two-step process: continued pre-training on new documents followed by instruction-tuning to teach the model how to follow prompts. However, researchers from Meta and CMU have identified a fundamental inefficiency in this pipeline. They discovered that models often fail to recall facts from documents even when they have been trained to perfectly predict the text (minimizing perplexity). This "perplexity curse" suggests that raw documents are too complex for models to learn from effectively without prior guidance on how that information will be accessed.

Comparison of training pipelines: Continued pre-training, standard instruction-tuning, and Pre-Instruction-Tuning (PIT).

Methodology: Pre-Instruction-Tuning (PIT)

To address this, the authors propose Pre-Instruction-Tuning (PIT). Instead of the traditional Document → QA sequence, PIT flips the order to QA → Document. The model is first trained on question-answer pairs to understand the patterns of knowledge retrieval before it is exposed to the raw documents containing the facts.

The most advanced variant, PIT++, utilizes a three-stage process:

  1. Pattern Learning: Training on QA pairs to learn the structure of information access.
  2. Alignment: Training on a mixture of QA pairs and associated documents to align raw text with structured questions.
  3. Knowledge Acquisition: Final training on the target documents.
Detailed breakdown of the eight training variants explored, including PIT and PIT++.

Key Insights: The Perplexity Curse

The study's most striking finding is that minimizing perplexity does not guarantee knowledge acquisition. A model can memorize a string of text without "understanding" the facts well enough to answer questions. QA pairs act as a cognitive warm-up, teaching the model to identify key entities and relationships within the more intricate weaving of a standard document. The order of training is critical; learning the "how" (answering questions) before the "what" (the facts) makes the model a significantly more efficient student.

Results and Performance

The PIT method demonstrated substantial improvements over standard baselines across various model sizes and domains:

  • Llama-2 7B: Evaluation accuracy jumped from 30.3% (standard) to 48.1% (PIT++), a relative improvement of 17.8%.
  • Llama-2 70B: Accuracy increased from 46.4% to 62.7%.
  • Cross-Domain Generalization: PIT is not limited to specific topics. A model pre-instruction-tuned on general topics became better at learning specific movie facts from new documents, indicating it learned a general strategy for knowledge absorption.
  • Real-World Application: The method also outperformed baselines when tested against real-world queries harvested from Google’s "People Also Ask" feature.

Limitations and Future Work

While PIT significantly improves knowledge learning, it faces the "alignment tax," where aggressive training on new facts can lead to the forgetting of older knowledge. Future research is needed to balance new learning with long-term retention and to determine if PIT improves complex multi-hop reasoning beyond simple factual recall.

Summary updated

BibTeX
@inproceedings{jiang2024instruction,
  author = {Zhengbao Jiang and Zhiqing Sun and Weijia Shi and Pedro Rodríguez and Chunting Zhou and Graham Neubig and Xi Victoria Lin and Wen-tau Yih and Srini Iyer},
  title = {{Instruction-tuned Language Models are Better Knowledge Learners}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.296},
}
Figure