Adaptation of Large Language Models

Zixuan Ke, Yifei Ming, Shafiq Joty2025 · DOI

Abstract

This paper outlines a comprehensive tutorial for ACL 2025 on the adaptation of Large Language Models (LLMs). It provides a structured roadmap for moving beyond generic, static models toward specialized, dynamic systems using both parametric (weight-updating) and semi-parametric (retrieval-based) techniques, while emphasizing the critical need to preserve general knowledge during the process.

Introduction

While generic LLMs show impressive general capabilities, they face three major hurdles in real-world applications: domain gaps in specialized fields (e.g., healthcare, finance), a static knowledge base that is "frozen" at the time of training, and efficiency issues when deploying massive models at scale.

The authors argue that prompt engineering alone is no longer sufficient. As the cost of training drops—noting that a GPT-3-level model can now be trained for roughly $0.8 million compared to the original $4 million—there is a massive shift toward actual model adaptation. However, adapting a model often leads to "catastrophic forgetting," where the LLM gains specialized skills but loses its general reasoning abilities. This tutorial proposes a curriculum to teach researchers how to balance these trade-offs.

Tutorial Structure and Methodology

The tutorial is organized into a four-session roadmap that covers the transition from general-purpose models to specialized agents.

Tutorial Schedule and Session Overview

1. Parametric Knowledge Adaptation

Parametric adaptation involves updating the model's weights to internalize new information. The tutorial explores several key techniques:

  • Domain-Adaptive Pre-training (DAPT): Continued training on raw, domain-specific text using next-token prediction.
  • Instruction Tuning (IT): Fine-tuning the model to follow specific task instructions.
  • Preference Learning (PL): Using techniques like Direct Preference Optimization (DPO) to align model outputs with human or AI feedback.
  • Model Editing: A "surgical" approach to update specific facts or associations within the model’s weights in real-time without full retraining.

2. Semi-Parametric Knowledge Adaptation

Semi-parametric methods leverage external tools and data without necessarily modifying the core model weights:

  • Retrieval-Augmented Generation (RAG): Dynamically fetching relevant documents from an external database to provide context for the LLM.
  • Agent-based Integration: Teaching the model to use external APIs and tools to perform multi-step reasoning and actions.

Evaluation and Benchmarks

As this is a pedagogical framework, it provides a meta-analysis of benchmarks used to evaluate adaptation, such as specialized sets like Llemma (mathematics), Saullm-7b (law), and Pixiu (finance). The tutorial covers traditional downstream task performance alongside "needle-in-a-haystack" tests and perplexity to measure how much general knowledge is retained or lost during the adaptation process.

Key Insights

  • The "General vs. Specialized" Tug-of-War: Adaptation is not a zero-sum game. The authors advocate for evaluation protocols that assess both specialized gains and the preservation of the "base" model's intelligence.
  • The Multi-Stage Pipeline: Adaptation usually involves a sequence (DAPT -> IT -> PL). The tutorial explores how each stage contributes to the final model's behavior.
  • Model Editing as the New Frontier: While still in its infancy, model editing is highlighted as a vital technique for production environments where facts change daily and expensive retraining is impossible.
  • Cost-Driven Strategy: The plummeting cost of compute (e.g., Phi-3.5) is changing the "recipe" for LLMs, making fine-tuning a more viable and frequent choice for engineers than it was two years ago.

Limitations and Future Work

The authors acknowledge several open challenges that the field must address:

  • Forgetting in Model Editing: Current techniques often suffer from "serious forgetting" when multiple updates are made in sequence.
  • Data Leakage: Preventing the "leaking" of evaluation data into the training set during adaptation is increasingly difficult.
  • Scaling Post-Training: There is still no consensus on the most efficient way to scale up models after the initial pre-training phase.
  • Real-time Effectiveness: While RAG helps, making agent-based systems truly reliable in complex, dynamic environments remains a work in progress.

Summary updated

BibTeX
@misc{ke2025adaptation,
  author = {Zixuan Ke and Yifei Ming and Shafiq Joty},
  title = {{Adaptation of Large Language Models}},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-tutorial.5},
}
Figure