WorksComputer Science
Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations
Abstract
As large language models are increasingly deployed across diverse downstream tasks, efficient task adaptation has emerged as a central challenge. In response, a wide range of task adaptation methods have been proposed, spanning parameter-efficient fine-tuning, in-context learning, and embedding-injection approaches. However, these lines of work have largely evolved within individual paradigms, leaving their cross-paradigm relationships and trade-offs underexplored, especially for recently emerging embedding-based adaptations. This survey presents a unified framework that categorizes task adaptation methods by where and how task information is encoded: model weights, input prompts, or injected task embeddings. We provide a comprehensive taxonomy that integrates these paradigms, analyze their key strengths and limitations to explain how different adaptation paradigms have evolved, clarify relationships across paradigms, and highlight open problems for future research.
Introduction
Large language models (LLMs) are increasingly deployed across a wide range of downstream tasks [20] (Wei et al. 2022a; Minaee et al. 2024; Raza et al. 2025), which makes efficient and effective task adaptation a central challenge for practical deployment. At the same time, as LLMs continue to scale in model size and training cost [1] (Kaplan et al. 2020; Hoffmann et al. 2022; OpenAI 2025; Comanici et al. 2025), retraining or fully fine-tuning these models has become increasingly expensive and often infeasible, even when task-specific data are available. This growing gap between the demand for task adaptation and the cost of full fine-tuning has driven sustained interest in methods that reduce
training cost, memory usage, and deployment overhead while maintaining strong task performance. Consequently, a wide range of approaches have been proposed, including methods that limit the number of trainable parameters or perform adaptation without any parameter updates. In this work, we focus on efficient task adaptation, which we define as adapting pretrained or instruction-tuned LLMs to downstream tasks without full fine-tuning.
Existing research has explored multiple paradigms for efficient task adaptation. Parameter-efficient fine-tuning (PEFT) (Houlsby et al., 2019; Lester et al., 2021; Hu et al., 2022; Liu et al., 2022a) adapts models by training a small number of task-specific parameters while keeping the backbone model largely frozen. In-context learning (ICL) [20] (Liu et al. 2022b; Lu et al. 2022b; Zhou et al. 2022) enables training-free adaptation by specifying task information directly in prompts during inference. More recently, studies have shown that internal activations induced by ICL encode rich task-relevant information, giving rise to embedding-based adaptation that extracts and reuses explicit task representations during inference (Hendel et al., 2023; Todd et al., 2024). This line of work was originally developed in the context of mechanistic interpretability (Olah et al., 2020; Elhage et al., 2021), but has recently begun to be explored for practical deployment (Li et al., 2025d; Wang et al., 2025a; Park et al., 2026).
These approaches can be broadly categorized by where task information is encoded. We define three task adaptation paradigms from this perspective. Weight-based adaptation encodes task information in model weights, including additional or modified parameters introduced by weight-based PEFT. Prompt-based adaptation encodes task information in input prompts, such as task instructions or input-output demonstrations, without modifying the model. Embedding-based adaptation encodes task information in explicit task embeddings that are injected into model activations during inference, where such embeddings can be derived from ICL or learned through optimization.
Despite rapid progress, research on task adaptation has largely evolved independently within each paradigm, leaving the relationships among weight-based, prompt-based, and embedding-based methods underexplored. While prior PEFT-only and ICL-only surveys provide useful taxonomies within their respective scopes ((Dong et al., 2024; Sahoo et al., 2024; Vatsal and Dubey, 2024; Han et al., 2024; Wang et al., 2025b; Mao et al., 2025)), they do not jointly organize these paradigms under a common task-adaptation perspective, especially for emerging ICL-derived embedding-based methods.
This separation makes it difficult to see how different adaptation strategies relate to one another and how their high-level trade-offs differ in terms of model access, training requirements, inference overhead, parameter efficiency, and deployment constraints. To address this gap, we present a unified survey that organizes task adaptation methods for LLMs according to where and how task information is encoded. Figure 1 provides an overview of the main taxonomy branches, while the full taxonomy, including individual methods, is provided in Figure 3 of Appendix § 7. This survey makes the following contributions:

Figure 1. Overview of the Taxonomy of Efficient Task Adaptation in Large Language Models. The main taxonomy branches are shown, while the full taxonomy with individual methods is provided in Figure 3 of Appendix § 7.

Figure 3. Full Taxonomy of Efficient Task Adaptation in Large Language Models.
We propose a unified taxonomy of LLM task adaptation methods based on where and how task information is encoded, and analyze their connections, strengths, and limitations.
We provide the first dedicated survey that includes recently emerging embedding-based adaptations and clarify their relationships to ICL and PEFT.
We identify open challenges and future research directions for task adaptation in LLMs.
A Unified View of Task Adaptation Paradigms
As defined in § 1, we broadly categorize efficient task adaptation methods by where task information is encoded: model weights, input prompts, or explicit task embeddings injected into model activations. This perspective, illustrated in Figure 2, provides a useful lens for comparing the characteristics and goals of each paradigm.
Figure 2. Schematic Illustration of Three Task Adaptation Paradigms in LLMs.
Table 1 summarizes the key characteristics of these paradigms by describing where and how task information is encoded and injected into the model, followed by their key strengths and limitations. The table reflects representative trends rather than strict properties of individual methods and provides high-level insights into the design differences and trade-offs among adaptation strategies. The following paragraphs further explain how these strengths and limitations are derived from the literature.
| Adaptation Type | Task Information Encoding and Injection | Key Strengths | Key Limitations |
| Weight-Based (PEFT) | Loc: Task information encoded in model weights<br>Build: Partial or additional weights trained<br>Inject: Task-specific weights applied at inference | Strong and stable task performance<br>Well established PEFT libraries<br>Lower inference overhead than ICL | Requires training and parameter access<br>Task-specific modules must be loaded<br>Difficult mixed-task batching |
| Prompt-Based (ICL) | Loc: Task information encoded in prompts<br>Build: Instructions or demonstrations in prompts<br>Inject: Task-specific prompts used as input | Training-free adaptation<br>Applicable to proprietary/API models<br>Natural-language task specification | Repeated inference incurs optimization cost<br>Long prompts increase deployment cost<br>Sensitive to prompt formulation |
| Embedding-Based (ICL-derived) | Loc: Task information encoded in embeddings<br>Build: Embeddings derived from demonstrations<br>Inject: Embeddings injected into model activations | Compact task representations<br>Lower inference overhead than ICL | Requires access to internal activations<br>Requires task embedding construction |
| Embedding-Based (Learned) | Loc: Task information encoded in embeddings<br>Build: Embeddings learned via optimization<br>Inject: Embeddings injected into model activations | Compact task representations<br>Lower inference overhead than ICL | Requires access to internal activations<br>Optimization can be unstable<br>Training may require many iterations |
Table 1. Conceptual Comparison of Task Adaptation Paradigms in LLMs. The table compares weight-based, prompt-based, and embedding-based adaptation methods. It describes where and how task information is encoded and injected into the model, followed by their key strengths and limitations, reflecting common characteristics observed in the literature. The column Task Information Encoding and Injection specifies where task information is encoded (Loc), how it is constructed (Build), and how it is injected into the model during inference (Inject).
Weight-Based Adaptation. Prior work has shown that (weight-based) PEFT methods can achieve strong and stable performance (Mahabadi et al., 2021; Mosbach et al., 2023; Weyssow et al., 2025), often comparable to full fine-tuning (Hu et al., 2022; Liu et al., 2022a). In addition, well-established PEFT libraries are widely available for various models, making these methods easily accessible to practitioners (Mangrulkar et al., 2022). However, these methods require access to model parameters and involve training additional or partial weights, which incurs memory and computation costs during training. They may also introduce adapter-management overhead in serving systems, since task-specific modules must be dynamically loaded and scheduled across requests (Sheng et al., 2023; Chen et al., 2024a). In particular, mixed-task batching can be challenging when prompts within the same batch correspond to different tasks and require activating different task-specific modules. Serving such heterogeneous requests often requires specialized kernels, scheduling policies, and pipelined execution to mitigate latency (Wu et al., 2024a; Li et al., 2025b).
Prompt-Based Adaptation. Prompt-based adaptation interacts with the task-solving LLM only through its standard input-output interface and therefore does not require access to its parameters or internal activations. This makes it applicable to proprietary or API-only models such as GPT-5 (OpenAI, 2025) and GPT-6 (OpenAI, 2026). Natural-language prompts are also human-readable and readily editable, allowing users to directly specify and modify task instructions or demonstrations. Beyond manual prompt design, prompts can be optimized in a black-box manner, with an optimizer LLM deriving feedback from the task LLM’s evaluation history and using it to iteratively refine the prompt (Zhou et al., 2022; Pryzant et al., 2023; Yang et al., 2024a). Recent work has extended this feedback-driven optimization framework beyond task instructions to agent skills, which encode reusable procedural knowledge and tool-use strategies as textual artifacts [7] (Yang et al. 2026). However, prompt-based adaptation can incur substantial costs from repeated LLM inference during prompt optimization and from the additional prefill computation and KV-cache memory required by long prompts at deployment (Choi et al., 2023; Liskavets et al., 2025; Hooper et al., 2025). Furthermore, because prompts serve as the primary means of task specification, performance can vary substantially with instruction formulation and demonstration selection or ordering, potentially requiring careful prompt construction or iterative prompt optimization to achieve reliable performance (Zhou et al., 2022; Liu et al., 2022b; Lu et al., 2022b).
Embedding-Based Adaptation. Compared with weight-based approaches, embedding-based methods typically require far fewer parameters and do not modify model weights. For example, several representative embedding-based methods encode task information using roughly 0.1K–130K parameters for Llama-3.1-8B (Todd et al., 2024; Peng et al., 2024b; Huang et al., 2024; Li et al., 2025d; Park et al., 2026), whereas LoRA adapters for the same model require more than 3M parameters. However, both ICL-derived and learned embedding methods require access to internal model activations to extract or inject task embeddings. ICL-derived approaches typically require precomputing task embeddings and identifying appropriate injection locations for each task (Todd et al., 2024; Park et al., 2026). In contrast, learned embedding approaches, including soft prompting methods, can suffer from optimization instability and sensitivity to embedding initialization and hyperparameter settings (Lester et al., 2021; Li and Liang, 2021; Chen et al., 2022). In addition, recent learned embedding methods often require thousands to tens of thousands of training iterations to converge (Peng et al., 2024b; Saglam et al., 2025; Kang et al., 2025; Li et al., 2025a).
Overall, Table 1 highlights the key characteristics that distinguish these paradigms and provides insight into why different task adaptation strategies have emerged. In § 2–§ 4, we examine representative methods within each paradigm and discuss how these methods have evolved in light of the perspective summarized in Table 1. As a supplementary reference, Appendix § 8.§ 2 provides an illustrative quantitative snapshot in Table 2, based on values reported in prior work.
| Adaptation Type | Method | # Trainable Parameters | Big-Bench Hard | Total Runtime |
| Weight-Based Adaptation | LoRA (Hu et al., 2022) | 3407.87K | 60.39 (0.48) | 171.2 min |
| Weight-Based Adaptation | (IA){sup}3 {citep}(Liu et al., 2022a)` | 524.29K | 60.29 (0.70) | N/A |
| Prompt-Based Adaptation | 10-shot ICL [20] | - | 47.17 (0.98) | 248.4 min |
| Embedding-Based Adaptation (ICL-derived) | FV (Todd et al., 2024) | - | 17.82 (0.37) | 411.2 min |
| Embedding-Based Adaptation (ICL-derived) | MTV (Huang et al., 2024) | 1.02K | 42.54 (0.71) | 328.8 min |
| Embedding-Based Adaptation (ICL-derived) | I2CL (Li et al., 2025d) | 0.13K | 50.60 (1.12) | 178.7 min |
| Embedding-Based Adaptation (ICL-derived) | SITE (Park et al., 2026) | 1.02K | 58.04 (0.72) | 172.0 min |
| Embedding-Based Adaptation (Learned) | Prompt Tuning (Lester et al., 2021) | 81.92K | 33.45 (0.81) | N/A |
| Embedding-Based Adaptation (Learned) | LIVE (Peng et al., 2024b) | 131.10K | 12.89 (2.32) | N/A |
Table 2. Quantitative comparison of representative task adaptation methods, based on the results reported in prior work (Park et al., 2026). Big-Bench Hard (Suzgun et al., 2023) scores are evaluated using Llama-3.1-8B (Grattafiori et al., 2024). Total runtime is measured separately on 10,000 AG_News (Zhang et al., 2015) test queries using Llama-3.1-8B on a single NVIDIA A6000 GPU, and is intended only as an efficiency comparison under this fixed setting. For methods requiring task-specific training, runtime includes both training and evaluation time; for FV, it also includes the time of the search procedure for selecting attention heads to intervene on.
Weight-Based Adaptation
Weight-based adaptation encodes task-relevant information in model weights or additional trainable modules. In this section, we categorize weight-based methods into single-task and multi-task adaptations and describe their respective methodologies in detail. Single-task adaptation primarily focuses on improving training efficiency and task performance, while multi-task adaptation addresses challenges in switching tasks during inference or performing batched inference where prompts in the same batch correspond to different tasks.
Single-Task Adaptation
LoRA Variants. LoRA (Hu et al., 2022) introduces trainable low-rank updates to pretrained weight matrices. Due to its strong and stable performance, negligible inference overhead, and simple modular design, LoRA has inspired a large body of follow-up work that develops variants to improve expressivity, training dynamics, and efficiency. One line of work enhances the expressivity of model updates by increasing the intrinsic rank through alternative parametrizations, such as replacing standard matrix multiplication with Hadamard or Kronecker products (Nam et al., 2021; Edalati et al., 2022; Yeh et al., 2023; Huang et al., 2025). Another line focuses on improving training stability and convergence speed through better initialization strategies, such as leveraging singular value decomposition of pretrained weights or gradient matrices to initialize LoRA modules more effectively (Meng et al., 2024; Wang et al., 2024a). A further line of work explores adaptive rank allocation, dynamically adjusting the effective rank across LoRA modules during training (Zhang et al., 2023b), or assigning different ranks to different modules based on their importance (Ding et al., 2023; Liu et al., 2024e). Other variants target training-time memory efficiency, particularly for large-scale LLMs, by combining LoRA with low-bit quantization of pretrained weights during training (Dettmers et al., 2023; Xu et al., 2024b; Guo et al., 2024a). Complementary approaches further reduce the number of trainable parameters or storage requirements through parameter sharing across LoRA modules (Kopiczko et al., 2024; Renduchintala et al., 2024; Li et al., 2024a), highlighting the flexibility of the LoRA framework.
Other PEFT. Beyond LoRA, a variety of PEFT methods have been proposed. Adapters (Houlsby et al., 2019) insert small trainable modules between Transformer layers of a pretrained model, while Compacter (Mahabadi et al., 2021) reduces adapter parameters by replacing adapter linear layers with low-rank hypercomplex multiplication. Other approaches reduce trainable parameters by selectively updating subsets of model weights. For example, FISH Mask (Sung et al., 2021) updates parameters based on their approximate Fisher Information [8] (Fisher 1922; Kirkpatrick et al. 2017), and BitFit (Zaken et al., 2022) fine-tunes only bias terms. Another line of work applies element-wise rescaling operations to internal activations. (IA) (Liu et al., 2022a) introduces learnable scaling vectors that rescales internal activations, RED (Wu et al., 2024b) extends this idea by jointly learning scaling and bias vectors, and PARA (Liu et al., 2024f) trains a lightweight vector generator to dynamically produce scaling vectors. Some methods combine or extend PEFT techniques, such as DePT (Shi and Lipani, 2024), which integrates prompt tuning with LoRA-style updates on frozen word embeddings, and its variant ADePT (Tang et al., 2025a). Other approaches focus on improving efficiency. LST (Sung et al., 2022) trains a small auxiliary network to reduce training-time memory requirements by avoiding backpropagation through the backbone model, and RoAD (Liao and Monz, 2024) applies trainable rotations to linear layer outputs to reduce the trainable parameters.
Multi-Task Adaptation
Multi-Task PEFT. Compared to prompt-based and embedding-based adaptation, weight-based methods typically incur higher overhead when switching tasks during inference or processing mixed-task batches, as task-specific modules must be dynamically loaded and scheduled across requests. To mitigate this limitation, several methods introduce routing-based mechanisms that maintain multiple adapters and use (soft) routers to select or combine task-relevant adapters, either at the task level (Pfeiffer et al., 2021; Huang et al., 2023; Wang et al., 2023a) or at the instance level (Wang et al., 2023d; Feng et al., 2024; Tian et al., 2024; Xu et al., 2024a; Liu et al., 2025). These routers are typically implemented using learnable scalar weights or shallow neural networks. Other approaches explore alternative strategies for multi-task inference. O-LoRA (Wang et al., 2023b) proposes a LoRA-based continual learning framework, while FLoRA (Wen and Chaudhuri, 2024) replaces LoRA updates with Hadamard-product-based updates, enabling efficient heterogeneous batching by avoiding expensive batched matrix multiplications.
Model Merging. Model merging defines task vectors (Ilharco et al., 2023) as parameter differences between fine-tuned models and a shared pretrained model and combines multiple such vectors to enable multi-task inference without additional fine-tuning. Although model merging typically underperforms multi-task training, it is particularly useful when fine-tuned models are available but the corresponding training data cannot be accessed, for example due to data privacy or intellectual property constraints. Several methods aim to reduce interference between task-specific parameter updates during model merging (Yadav et al., 2023b; Yu et al., 2024; Gargiulo et al., 2025), while others propose fine-grained merging strategies that assign different merging coefficients across tasks, layers, or parameters (Yang et al., 2024b; Zhou et al., 2024b; Xu et al., 2025; Yao et al., 2025; Lee et al., 2025). Another line of work focuses on performing model merging only on PEFT updates (Zhang et al., 2023a; Tang et al., 2023; Zhao et al., 2024). Among these, LoRA-LEGO (Zhao et al., 2024) introduces rank-wise LoRA merging by identifying row-column pairs of LoRA matrices as minimal semantic units, clustering them across tasks, and using cluster centroids to construct merged adapters.
Prompt-Based Adaptation
Prompt-based adaptation, commonly referred to as in-context learning (ICL), adapts LLMs by providing task-relevant information directly in the input prompt at inference time, in the form of natural-language instructions and/or input-output demonstrations. Existing methods can be broadly categorized into instruction optimization, which focuses on refining task instructions, and demonstration optimization, which selects, orders, or generates input-output demonstrations. Collectively, these methods primarily aim to improve stability and performance of prompt-based adaptation.
Instruction Optimization
Instruction optimization focuses on refining task-specific instructions used in the prompt. These methods typically adopt a two-LLM framework, consisting of an optimizer LLM that updates instructions and a task LLM that performs the downstream task using the updated instructions. In practice, strong proprietary models such as GPT-4o (Hurst et al., 2024) are often used as the optimizer LLM to enable more effective instruction optimization. A common strategy is to iteratively refine instructions using feedback generated by the optimizer LLM itself ([2] (Pryzant et al. 2023; Wang et al. 2024b; Juneja et al. 2025; Yan et al. 2025)). For example, ProTeGi (Pryzant et al., 2023) uses the optimizer LLM to analyze errors made under the current instruction and feeds the resulting feedback back into the optimizer LLM to update the instructions. Other approaches formulate instruction optimization as an evolutionary process, iteratively improving instructions through mutation, selection, or related evolutionary operations ([6] (Guo et al. 2024c; Fernando et al. 2024)). For example, GEPA (Agrawal et al., [6]) combines reflective feedback with evolutionary search, using natural-language reflection to propose prompt updates and Pareto-based selection to retain promising candidates. Several methods leverage carefully designed meta-prompts, i.e., prompts that instruct the optimizer LLM how to refine instructions, to improve optimization stability and effectiveness (Ye et al., 2024; Tang et al., 2025b). In contrast, some approaches avoid directly optimizing instructions and instead optimize auxiliary components, such as soft prompts (Lester et al., 2021) provided to the optimizer LLM or the optimizer LLM itself (Chen et al., 2024b; Lin et al., 2024; Kwon et al., 2024; Zhao et al., 2025). For instance, InstructZero (Chen et al., 2024b) and INSTINCT (Lin et al., 2024) optimize only soft prompts, while StablePrompt (Kwon et al., 2024) fine-tunes the optimizer LLM to improve instruction generation.
Beyond the optimization of task instructions, recent work on LLM agents has explored the automatic construction and refinement of agent skills, which are reusable artifacts that encode procedural knowledge and tool-use strategies for a particular task family or domain ([7] (Mi et al. 2026; Ni et al. 2026; Yang et al. 2026)). From the perspective of prompt-based adaptation, methods that refine the textual content of agent skills are closely related to instruction optimization: both adapt the task LLM without updating its parameters by modifying natural-language content provided in the input prompt, often using feedback from black-box task evaluations. The distinction between them therefore lies primarily in the type of content being optimized: instruction optimization refines instructions specifying a task’s objective, constraints, expected output, or solution strategy, whereas agent-skill methods construct or refine reusable procedural knowledge that guides how an agent acts over multiple steps, interacts with tools, and responds to intermediate outcomes.
Demonstration Optimization
Including a small number of input-output demonstrations in the prompt can effectively convey task information to LLMs (Brown et al., [20]). However, task performance is highly sensitive to both which demonstrations are selected and how they are ordered within the prompt (Zhao et al., 2021; Liu et al., 2022b; Lu et al., 2022b). As a result, a large body of work has explored methods for optimizing demonstration selection and ordering. KATE (Liu et al., 2022b) retrieves demonstrations by embedding candidate examples and selecting nearest neighbors for each test input, and subsequent methods such as MDL (Wu et al., 2023) and ConE (Peng et al., 2024a) adopt this retrieval step to first narrow the candidate pool before applying more refined selection strategies. Another line of work explicitly promotes diversity among selected demonstrations using determinantal point processes (DPPs) (Kulesza et al., 2012; Ye et al., 2023; Yang et al., 2023). Beyond selecting which demonstrations to include, several methods also consider demonstration ordering. Some approaches treat an ordered sequence of demonstrations as the basic unit of selection rather than scoring demonstrations independently (Lu et al., 2022b; Wu et al., 2023, 2024e; Guo et al., 2024b), while others formulate demonstration selection as a sequential decision-making process optimized with reinforcement learning (Zhang et al., 2022; Scarlatos and Lan, 2023; Wang et al., 2025e). For example, AES (Zhang et al., 2022) formulates demonstration selection as a Markov Decision Process, where the policy state consists of all previously selected demonstrations, and trains an offline Q-learning policy (Mnih et al., 2013) to select each new demonstration conditioned on this history.
In settings where only unlabeled data are available, several methods selectively annotate demonstrations to support in-context learning (Su et al., 2022; Mavromatis et al., 2023; Zhang et al., 2024b). For example, Vote-K (Su et al., 2022) annotates diverse unlabeled examples using a -nearest neighbor graph constructed in the Sentence-BERT (Reimers and Gurevych, 2019) embedding space, while IDEAL (Zhang et al., 2024b) extends this approach with influence-driven selection to better approximate the underlying data distribution. More recently, LLM-generated demonstrations have emerged as an effective alternative to human-curated examples (Long et al., 2024; Yehudai et al., 2024; Nadas et al., 2025). Some approaches generate synthetic input-output pairs directly (Chen et al., 2023; Su et al., 2024; Wan et al., 2025), while others augment demonstrations with LLM-generated reasoning paths (Shao et al., 2023; He et al., 2024b; Honda and Oka, 2025), enabling chain-of-thought (CoT) (Wei et al., 2022b) reasoning during inference. When a large number of demonstrations are available, scaling the number of demonstrations from a few to many, a setting commonly referred to as many-shot ICL, can further improve task performance and robustness to demonstration selection and ordering [16] (Zhang et al. 2025a). However, these gains come at the cost of increased memory and computation that scale with the number of demonstrations, as well as attention dispersion (Yuan et al., 2024) in long prompts, which can degrade performance.
Embedding-Based Adaptation
Embedding-based adaptation represents task information as explicit vectors, referred to as task embeddings, which are injected into model activations during inference, typically via addition or concatenation. Existing methods can be broadly divided into two classes based on how these embeddings are obtained: ICL-derived task embeddings and learned task embeddings. The former extracts task embeddings from internal activations induced by ICL, while the latter directly optimizes task embeddings through gradient-based training. Although these two classes are respectively related to ICL and PEFT, both aim to improve downstream task performance without relying on task-specific prompts during inference.
ICL-Derived Task Embeddings
Non-Contrastively Derived. Early work, notably Task Vectors (Hendel et al., 2023) and Function Vectors (Todd et al., 2024), showed that last-token internal activations produced during few-shot inference encode rich task-relevant information, which can be extracted and injected into model activations to enable task execution in a zero-shot setting. Building on this observation, non-contrastive embedding-based adaptation methods aggregate such activations across multiple few-shot prompts and aim to identify effective injection locations that maximize task performance. Injection locations are determined using various strategies, including validation-based sweeps over layers (Hendel et al., 2023; Zhang et al., 2024a; Wang et al., 2025a), reinforcement-learning-based optimization [21] (Huang et al. 2024), and gradient-based optimization that softly controls task injection (Li et al., 2025d; Park et al., 2026). While most approaches operate at the layer level, some explore finer-grained injection at the attention-head level (Huang et al., 2024; Park et al., 2026). Recent results indicate that these methods can achieve performance comparable to few-shot ICL; however, evaluations have largely focused on relatively simple tasks, motivating broader evaluation on more complex reasoning and generation tasks.
Contrastively Derived. Contrastively derived task embeddings originate from Inference-Time Intervention (ITI) (Li et al., 2023b), which showed that differences between last-token activations induced by contrastive prompt pairs encode directional information that can be injected into model activations to steer model behavior. ITI and subsequent work have leveraged such contrastive prompt pairs primarily for behavior steering, including improving truthfulness or safety (Liu et al., 2024b; Rimsky et al., 2024; Qiu et al., 2024; Wang et al., 2025c; Zhan et al., 2026. More recent methods extend this paradigm to task adaptation by constructing contrastive pairs where one prompt contains correct task demonstrations and the other contains incorrect or missing demonstrations, enabling task execution via the resulting difference vectors Wang et al., 2025d; Liu and Deng, 2025. Using contrastively derived embeddings for general task adaptation is relatively underexplored, and systematic comparisons with non-contrastive approaches remain an open area for further study.
Learned Task Embeddings
Soft Prompting. Prompt Tuning Lester et al., 2021 adapts models by prepending learnable continuous embeddings, known as soft prompts, to the input embedding sequence and optimizing only these embeddings. Although highly parameter-efficient, prompt tuning is often unstable and typically underperforms weight-based PEFT methods such as LoRA Hu et al., 2022; Liu et al., 2022a, motivating subsequent improvements. Some approaches dynamically adapt task-specific soft prompts to produce instance-specific soft prompts, leading to improved performance Asai et al., [10]; Jain et al. (2024). Another line of work explores transfer learning by leveraging soft prompts from multiple source tasks to initialize or compose target-task prompts, thereby transferring task knowledge and improving adaptation Vu et al., (2022); Asai et al. [10]; Wang et al. (2023f); Belanec et al. [15]; Zhang et al. (2025b). For example, SPoT Vu et al., 2022, MPT Wang et al., 2023f, and Task Prompt Vectors Belanec et al., [15] initialize target-task soft prompts using soft prompts learned from related source tasks.
Other Learned Embeddings. Other learned-embedding approaches adapt models by optimizing task embeddings via gradient-based training, where the embeddings are injected into internal activations, typically via additive intervention. LIVE Peng et al., 2024b and MIV Li et al., 2025c introduce layer-wise learnable vectors with associated scaling factors that are trained end-to-end. LTV Saglam et al., 2025 extracts attention-head outputs from few-shot inference and constructs layer-wise task embeddings as learned weighted combinations of heads within each layer. However, these methods often require a large number of training iterations, sometimes exceeding those of standard PEFT approaches Peng et al., 2024b; Saglam et al., 2025; Kang et al., 2025; Li et al., 2025a. Moreover, these methods are often compared with ICL-derived embedding approaches, while their conceptual similarity to soft prompting methods is often overlooked.
Open Problems and Discussion
In this section, we present four open research problems that cut across all three task adaptation paradigms for LLMs. Additional discussions are provided in Appendix § 8, including comparisons between our taxonomy and prior PEFT-only or ICL-only survey taxonomies, the distinction between weight-based and embedding-based adaptations, the rationale for classifying soft prompting as embedding-based adaptation, and a limited quantitative analysis.
Hybrid and Compositional Task Adaptation. Beyond relying on a single adaptation paradigm, an important research problem is to jointly leverage multiple forms of task information, such as learned embeddings, prompts, and trained modules, to strengthen task adaptation. As a representative example, Instruction Prompt Tuning Singhal et al., 2023 prepends a shared soft prompt to task-specific instructions and demonstrations, enabling complementary task signals to jointly guide model behavior and better align an instruction-tuned LLM with domain-specific instruction semantics, thereby improving the safety, grounding, and completeness of long-form generations. Despite such initial efforts, how best to combine different task adaptation paradigms remains underexplored, presenting an important direction for future research.
Data Efficiency and Synthetic Supervision. Most task adaptation methods require a nontrivial number of labeled demonstrations to achieve strong performance Lester et al., (2021); Hu et al. (2022); Agarwal et al. [3]. To reduce reliance on human-curated supervision, LLM-generated data have emerged as a scalable alternative and are increasingly adopted for task adaptation Long et al., 2024; Yehudai et al., 2024; Nadas et al., 2025. Prior work shows that synthetic demonstrations can differ from human-curated ones in fidelity, bias, and diversity Li et al., 2024b; Nadas et al., 2025, yet how these differences affect different task adaptation paradigms has not been thoroughly studied. Addressing this question could provide useful insights into how synthetic data should be used across different task adaptation paradigms.
Benchmarks for Evaluating Task Adaptation. Existing task adaptation methods have been evaluated on a broad range of established benchmarks, summarized in Table 3–Table 6. These benchmarks cover diverse categories, including natural language understanding, reasoning, mathematics, coding, summarization, and safety and trustworthiness. While such benchmarks have served as controlled testbeds for comparing adaptation methods, recent developments in LLM research suggest the need to expand evaluations to more challenging settings. These include generating long-form responses ([12] (Wu et al. 2024d; Que et al. 2024)), solving complex multi-step reasoning problems ([9, 14] (He et al. 2024a; Glazer et al. 2024; Phan et al. 2025; Lin et al. 2025)), and maintaining coherent behavior in long-horizon or interactive environments (Shridhar et al., 2020; Wang et al., 2022; Yao et al., 2022; Zhou et al., 2023; Wei et al., 2025). Evaluating adaptation methods under such settings may provide deeper insights into their robustness, error accumulation, and long-range reasoning capabilities.
| Category | Benchmark | Output Type | Size | Description |
| Natural Language Understanding | TREC<br>(Li and Roth, 2002) | Classification | TREC Question Classification is a question classification benchmark consisting of open-domain questions annotated with a hierarchical taxonomy of six coarse and fifty fine-grained semantic classes, designed to evaluate question intent understanding and answer type prediction. | |
| Natural Language Understanding | CoNLL-2003<br>(Sang and De Meulder, 2003) | Classification | CoNLL-2003 is a widely used named entity recognition benchmark focusing on the identification of four entity types including persons, locations, organizations, and miscellaneous names, annotated in English and German newswire text to evaluate information extraction. | |
| Natural Language Understanding | Subj<br>(Pang and Lee, 2005) | Classification | Subjectivity detection dataset consisting of 5,000 subjective movie reviews and 5,000 objective plot summaries designed to test the ability of language models to distinguish between fact-based objective descriptions and opinion-based subjective statements. | |
| Natural Language Understanding | SST-5<br>(Socher et al., 2013) | Classification | SST-5 is a fine-grained sentiment analysis dataset providing five sentiment labels ranging from very negative to very positive, designed to evaluate models’ ability to capture subtle emotional shifts and semantic compositionality in movie review phrases. | |
| Natural Language Understanding | SNLI<br>[19] | Classification | SNLI is a large-scale dataset of human-written English sentence pairs manually labeled into entailment, contradiction, and neutral categories, designed to evaluate models’ ability to capture fundamental logical and semantic relationships. | |
| Natural Language Understanding | DBPedia<br>(Zhang et al., 2015) | Classification | DBPedia is a large-scale topic classification benchmark consisting of Wikipedia articles labeled with 14 non-overlapping DBpedia ontology classes, designed to evaluate models’ ability to perform document-level topic and semantic classification. | |
| Natural Language Understanding | WikiQA<br>(Yang et al., 2015) | Classification | WikiQA is an open-domain question answering benchmark consisting of question–sentence pairs derived from Wikipedia search logs, annotated to evaluate answer sentence selection by identifying sentences that contain the correct answer. | |
| Natural Language Understanding | GLUE<br>(Wang et al., 2018) | Classification | GLUE is a unified multi-task benchmark for evaluating general natural language understanding, consisting of nine established NLU tasks: CoLA, SST-2, MRPC, STS-B, QQP, MNLI, QNLI, RTE, and WNLI, covering linguistic acceptability, sentiment analysis, paraphrase detection, semantic similarity, and natural language inference. | |
| Reasoning | SuperGLUE<br>(Wang et al., 2019) | Classification /<br>Multiple Choice Question | SuperGLUE is a more challenging successor to GLUE, designed to evaluate advanced natural language understanding beyond GLUE’s saturation point. It consists of eight established tasks including BoolQ, CB, COPA, MultiRC, ReCoRD, RTE, WiC, and WSC, and it targets complex reasoning, commonsense inference, word sense disambiguation, and coreference resolution. | |
| Reasoning | ANLI<br>(Nie et al., 2020) | Classification | ANLI is a challenging NLI benchmark constructed through an iterative, adversarial human-and-model-in-the-loop process over three rounds (R1-R3), targeting examples that strong existing models fail to solve and providing a robust evaluation of advanced natural language inference. | |
| Reasoning | ARC<br>(Clark et al., 2018) | Multiple Choice Question | ARC is a multiple-choice grade-school science QA benchmark split into Easy and Challenge sets, designed to test scientific reasoning beyond surface-level pattern matching. | |
| Reasoning | CommonsenseQA<br>(Talmor et al., 2019) | Multiple Choice Question | CommonsenseQA is a 5-way multiple-choice commonsense question answering benchmark grounded in the ConceptNet knowledge graph, where questions are authored to discriminate among concept candidates sharing a semantic relation, designed to evaluate diverse commonsense reasoning about everyday situations, physical properties, and social interactions. | |
| Reasoning | HellaSwag<br>(Zellers et al., 2019) | Multiple Choice Question | HellaSwag is designed to evaluate commonsense reasoning through sentence-completion tasks. It presents everyday scenarios with four multiple-choice endings and asks models to select the most plausible next event; it uses adversarial filtering to generate challenging distractor endings that are difficult for current models but typically easy for human evaluators. | |
| Reasoning | MMLU<br>(Hendrycks et al., 2020) | Multiple Choice Question | MMLU is a comprehensive multiple-choice benchmark covering 57 subjects across STEM, humanities, and social sciences, designed to evaluate models’ broad world knowledge and knowledge-intensive problem-solving ability across a wide range of difficulty levels. | |
| Reasoning | WinoGrande<br>(Sakaguchi et al., 2021) | Multiple Choice Question | WinoGrande is a large-scale adversarial commonsense reasoning benchmark of Winograd-style pronoun resolution problems formulated as binary-choice sentence completion, designed to evaluate whether models can use contextual commonsense rather than shallow statistical cues; it applies AFLITE-based debiasing/adversarial filtering to reduce dataset-specific biases. | |
| Reasoning | BBH<br>(Suzgun et al., 2023) | Multiple Choice Question /<br>Open-Ended Generation | BBH is a curated subset of BIG-bench (Srivastava et al., 2023) consisting of challenging reasoning tasks where prior language models underperformed, designed to test advanced multi-step reasoning across diverse problem types. | |
| Reasoning | GPQA<br>(Rein et al., 2024) | Multiple Choice Question | GPQA is a graduate-level multiple-choice benchmark written by domain experts in biology, physics, and chemistry, designed to evaluate scientific reasoning and problem solving with questions intended to be “Google-proof,” i.e., difficult for skilled non-experts even with unrestricted web access. | |
| Reasoning | MMLU-Pro<br>(Wang et al., 2024c) | Multiple Choice Question | MMLU-Pro is a multi-task multiple-choice benchmark with questions drawn from 14 broad disciplines, constructed by filtering and refining MMLU-style items and adding more reasoning-focused questions from additional sources, and it uses an expanded answer set with ten options per question to better probe challenging understanding and reasoning. | |
| Category | Benchmark | Output Type | Size | Description |
| Mathematics | AQuA-RAT ((Ling et al., 2017)) | Multiple Choice Question / Open-Ended Generation | ∼100K | AQuA-RAT is an algebraic word problem 5-way multiple-choice benchmark where each question is paired with a step-by-step natural-language rationale (often including human-readable math expressions), designed to evaluate interpretable multi-step mathematical reasoning beyond predicting only the final answer. |
| Mathematics | MATH ((Hendrycks et al., 2021)) | Open-Ended Generation | ∼13K | MATH is a competition-level mathematics problem-solving benchmark covering diverse topics (e.g., algebra, geometry, number theory, counting & probability, and precalculus), where each problem includes a full step-by-step solution and a final answer, designed to evaluate advanced mathematical reasoning and multi-step problem solving. |
| Mathematics | SVAMP ((Patel et al., 2021)) | Open-Ended Generation | ∼1.0K | SVAMP is an adversarial challenge benchmark of one-unknown arithmetic math word problems created by applying small but systematic variations to existing problems, designed to evaluate robust multi-step arithmetic reasoning beyond keyword matching and shallow statistical cues. |
| Mathematics | GSM8K ((Cobbe et al., 2021)) | Open-Ended Generation | ∼8.8K | GSM8K is a grade-school math word problem benchmark consisting of natural-language questions with final numeric answers, designed to evaluate multi-step arithmetic reasoning required to solve the problems. |
| Mathematics | TabMWP ((Lu et al., 2022a)) | Multiple Choice Question / Open-Ended Generation | ∼38K | TabMWP is a tabular math word problem benchmark where each question is paired with a tabular context provided in multiple formats (e.g., table image and structured text), designed to evaluate joint reasoning over tables and natural-language descriptions for deriving correct numerical answers (with gold step-by-step solutions available). |
| Mathematics | MATH500 ((Lightman et al., 2023)) | Open-Ended Generation | ∼0.5K | MATH500 is a curated evaluation subset of the MATH dataset, designed to provide an efficient yet diverse test of competition-style mathematical problem solving. |
| Mathematics | MetaMathQA ((Yu et al., 2023)) | Open-Ended Generation | ∼395K | MetaMathQA is an augmented mathematical reasoning dataset bootstrapped from the training sets of GSM8K and MATH by generating diverse, semantically equivalent problem variants (with answer augmentation), designed to improve models’ robustness in multi-step mathematical reasoning across varied linguistic formulations. |
| Coding | HumanEval ((Chen et al., 2021a)) | Open-Ended Generation | ∼0.2K | HumanEval is a benchmark of handwritten Python programming tasks specified by function signatures and docstrings, designed to evaluate models’ ability to generate correct code solutions for the given problem specifications. |
| Coding | MBPP ([11]) | Open-Ended Generation | ∼1.0K | MBPP is a benchmark of entry-level Python programming tasks specified by short natural-language problem descriptions, designed to evaluate models’ ability to synthesize correct short programs involving basic algorithms and common data-structure manipulations. |
| Coding | MultiPL-E ([22]) | Open-Ended Generation | ∼25K | MultiPL-E is a polyglot code generation benchmark that translates Python-based programming tasks from HumanEval and MBPP into many target languages, designed to evaluate models’ cross-language code synthesis ability and consistency across diverse programming languages. |
| Coding | SWE-bench ((Jimenez et al., 2023)) | Open-Ended Generation | ∼2.3K | SWE-bench is a software engineering benchmark built from real GitHub issues and corresponding pull requests across multiple popular repositories, designed to evaluate models’ ability to understand and modify large codebases by producing code changes that resolve the described issues (e.g., bug fixes or feature requests). |
| Coding | CruxEval ((Gu et al., 2024)) | Open-Ended Generation | ∼0.8K | CruxEval is a Python function reasoning benchmark consisting of short functions paired with input-output examples, designed to evaluate models’ ability to understand program execution by performing output prediction (infer the output for a given input) and input prediction (find an input that produces a given output). |
Table 3. Comprehensive Overview of Benchmarks for LLM Task Adaptation (Part 1 of 4).
| Category | Benchmark | Output Type | Size | Description |
| Safety and Trustworthiness | HateSpeech18 ((De Gibert et al., 2018)) | Classification | HateSpeech18 is a sentence-level hate speech dataset sampled from posts on the Stormfront white-supremacist forum and manually labeled as hate vs non-hate, designed to evaluate models’ ability to detect hate speech in highly domain-specific, ideologically skewed online discussions. | |
| Safety and Trustworthiness | RealToxicityPrompts ((Gehman et al., 2020)) | Open-Ended Generation | RealToxicityPrompts is a dataset of 100k naturally occurring, sentence-level prompts drawn from English web text and paired with toxicity annotations, designed to evaluate whether language models produce toxic continuations when conditioned on real-world prompts spanning a range of toxicity levels. | |
| Safety and Trustworthiness | CrowS-Pairs ((Nangia et al., 2020)) | Multiple Choice Question | CrowS-Pairs is a social bias evaluation benchmark consisting of sentence pairs that differ in whether they express a stereotype, covering nine bias categories (e.g., race, gender, religion, age), designed to measure models’ tendency to prefer stereotypical statements over less-stereotyping alternatives. | |
| Safety and Trustworthiness | ToxiGen ((Hartvigsen et al., 2022)) | Classification | ToxiGen is a large-scale machine-generated toxicity dataset consisting of toxic and benign statements about minority identity groups, created to surface implicit and adversarially crafted toxic language beyond explicit slurs or profanity, and designed to evaluate models’ ability to detect subtle harmful content rather than relying on group-mention shortcuts. | |
| Safety and Trustworthiness | ParaDetox ((Logacheva et al., 2022)) | Open-Ended Generation | ParaDetox is a parallel text detoxification dataset pairing toxic sentences with human-written non-toxic paraphrases, designed to test whether models can remove toxicity while preserving the original meaning. | |
| Safety and Trustworthiness | TruthfulQA ((Lin et al., 2022)) | Multiple Choice Question / Open-Ended Generation | TruthfulQA is a question answering benchmark consisting of questions spanning 38 categories that are crafted to trigger common misconceptions, designed to evaluate whether models can produce truthful, misconception-resistant answers rather than imitating popular human falsehoods. | |
| Safety and Trustworthiness | ETHOS ((Mollas et al., 2022)) | Classification | ETHOS is an online hate-speech detection dataset of YouTube and Reddit comments with both a binary hate-speech label and an additional multi-label variant that annotates hateful comments with fine-grained hate categories. | |
| Safety and Trustworthiness | HaluEval ((Li et al., 2023a)) | Classification | HaluEval is a hallucination benchmark built from instruction-style prompts and task-specific contexts (QA, dialogue, and summarization), pairing responses with annotations of whether content is hallucinated to assess factuality and faithfulness in generated text. | |
| Safety and Trustworthiness | Do-Not-Answer ((Wang et al., 2023e)) | Open-Ended Generation | Do-Not-Answer is a safety safeguard evaluation benchmark consisting of risky questions and instructions spanning a structured taxonomy of harm types (e.g., privacy leakage, illegal activities, toxic content, misinformation harms, and human–chatbot interaction risks), designed to assess whether models can avoid facilitating harm and respond responsibly to unsafe requests. | |
| General ICL Capability | FV Benchmark ((Todd et al., 2024)) | Multiple Choice Question / Open-Ended Generation | FV Benchmark comprises 29 abstractive and 28 extractive tasks, including closely related and contrasting variants, making it well suited for studying in-context learning behaviors. Abstractive tasks require generating information not explicitly present in the prompt, whereas extractive tasks involve directly retrieving the answer from it. | |
| General ICL Capability | ICL-50 ((Zhang et al., 2025c)) | Multiple Choice Question / Open-Ended Generation | ICL-50 is a many-shot in-context learning dataset spanning 50 tasks across several task families, created to study how model performance and behavior change as the number of in-context examples scales to long contexts. |
Table 6. Table 6: Comprehensive Overview of Benchmarks for LLM Task Adaptation (Part 4 of 4).
Beyond Task Adaptation: Encoding Behavioral and Contextual Information. Beyond task adaptation, these techniques have also been explored for encoding diverse behavioral and contextual signals in LLMs, including safety/truthfulness, persona, and long-context knowledge. Prompting offers a simple and flexible interface for specifying such signals in natural language, but its effectiveness can be limited for some attributes (e.g., safety or persona) (Zheng et al., 2024a,b), and long prompts may introduce additional inference overhead. To address these limitations, recent methods encode such information directly into model parameters or embeddings. For example, SHINE (Liu et al., 2026) and Doc-to-LoRA (Charakorn et al., 2026) generate LoRA adapters that internalize information from long-contexts. More broadly, embedding-based approaches have been used to encode various types of information, including safety/truthfulness (Li et al., 2023b; Wang et al., 2025c), persona (Potertì et al., 2025; Feng et al., 2026), and long-context knowledge (Eyuboglu et al., 2025), suggesting that expanding the range of information encoded through such adaptation techniques is an interesting research direction.
Conclusion
This survey presents a unified overview of task adaptation in LLMs by organizing existing methods according to where task information is encoded. Through this framework, we connect weight-based, prompt-based, and embedding-based adaptations and discuss their relationships, trade-offs, and shared open problems. We hope this survey serves as a useful reference for understanding the independently evolving landscape of LLM task adaptation.
Limitations
This survey provides a unified overview of task adaptation techniques for large language models, but it has several limitations. First, given the rapid pace of recent progress in this area, the taxonomy and comparisons presented here may not fully capture the most recent developments. Second, the survey emphasizes high-level methodological distinctions and qualitative trade-offs rather than exhaustive empirical re-evaluation of individual methods. This focus is intended to highlight the key strengths and limitations of different adaptation paradigms, thereby contextualizing existing approaches and motivating future research. Finally, although many task adaptation techniques for LLMs may be applicable to other types of models, such as multimodal LLMs or visual generative models, this survey focuses exclusively on text-based LLMs, leaving such extensions for future work.
Acknowledgments
This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) ([NO.RS-2021-II211343, Artificial Intelligence Graduate School Program (Seoul National University)], [No.RS-2023-00235293, Development of autonomous driving big data processing, management, search, and sharing interface technology to provide autonomous driving data according to the purpose of usage]) and the Inno-CORE program of the Ministry of Science and ICT (26-InnoCORE-01).
Full Taxonomy of Efficient Task Adaptation in LLMs
Figure 3 presents the full taxonomy of efficient task adaptation methods in large language models. In contrast to the reduced taxonomy in Figure 1 of § 1, which shows only the main category branches, the full taxonomy includes the individual methods associated with each subcategory.
Discussion
Comparison with Previous PEFT-only and ICL-only Taxonomies
This work proposes a unified taxonomy that covers weight-based, prompt-based, and embedding-based task adaptation techniques. While most embedding-based adaptation methods, except for soft prompting (Lester et al., 2021; Li and Liang, 2021), have only recently emerged and therefore lack dedicated surveys, several PEFT-only and ICL-only surveys have previously proposed taxonomies for weight-based and prompt-based adaptation methods (Lialin et al., 2023; Dong et al., 2024; Sahoo et al., 2024; Vatsal and Dubey, 2024; Han et al., 2024; Wang et al., 2025b; Mao et al., 2025). In this section, we compare our taxonomy with those proposed in representative PEFT-only and ICL-only surveys. We select representative surveys based on citation impact, relevance to each subfield, and publication or arXiv release year. The selected surveys are listed below:
PEFT-only surveys
P1. Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Survey (Han et al., 2024)
P2. Parameter-Efficient Fine-Tuning in Large Models: A Survey of Methodologies (Wang et al., 2025b)
P3. A Survey on LoRA of Large Language Models (Mao et al., 2025)
ICL-only surveys
I1. A Survey on In-context Learning (Dong et al., 2024)
I2. A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications (Sahoo et al., 2024)
I3. A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Tasks (Vatsal and Dubey, 2024)
For ease of discussion, we refer to these surveys as P1–P3 for PEFT surveys and I1–I3 for ICL surveys. It is important to note that taxonomies proposed in different surveys naturally reflect the scope and objectives of the respective works. Our goal here is therefore not to claim that our taxonomy is generally preferable to previous ones, but to clarify how the coverage and perspective adopted in our taxonomy differ from prior PEFT-only and ICL-only taxonomies and how they align with the goal of contextualizing a broad range of methods under the theme of task adaptation in LLMs.
Compared with previous single-field surveys, our taxonomy differs in two main aspects. First, our taxonomy spans weight-based, prompt-based, and embedding-based adaptation within a single framework. This broader coverage provides a unified perspective on task adaptation in LLMs and enables a contextualized view of different approaches based on how task information is encoded and utilized. Second, most existing PEFT-only and ICL-only surveys primarily cover works published up to around 2024, whereas our survey additionally includes more recent methods published in 2025 and 2026. Considering that several directions, such as instruction optimization, have recently evolved, introducing a new taxonomy helps better reflect the current landscape of task adaptation methods. Below, we further compare our taxonomy with previous ones for weight-based and prompt-based adaptation, respectively.
Detailed Comparison with PEFT-only Taxonomies. The PEFT-only surveys P1 and P2 categorize methods primarily according to fine-grained technical design choices, such as adapter-based methods, selective parameter updates, reparameterization-based fine-tuning, and quantization-based approaches. Similarly, P3 focuses on detailed categorization of LoRA variants. These taxonomies provide fine-grained methodological classifications that help organize the large body of PEFT research. In contrast, our taxonomy places PEFT methods within the broader category of weight-based adaptation. This category additionally includes approaches such as model merging and multi-task adaptation, which are not typically emphasized in previous PEFT-only taxonomies. Instead of organizing methods by specific
architectural techniques, our taxonomy categorizes subfields according to the challenges they address in task adaptation. Specifically, as discussed in § 2, weight-based adaptation is first divided into single-task and multi-task adaptation. Single-task adaptation primarily focuses on improving training efficiency and task performance, whereas multi-task adaptation addresses challenges such as switching tasks during inference or performing mixed-task batched inference. Within multi-task adaptation, we further distinguish between multi-task PEFT and model merging. While both approaches enable multi-task adaptation, model merging is particularly relevant in scenarios where training data are unavailable and only task-specific adapted models are accessible. Because these perspectives are not explicitly reflected in existing PEFT-only taxonomies, introducing a taxonomy tailored to the broader context of task adaptation is more suitable for a unified survey such as ours.
Detailed Comparison with ICL-only Taxonomies
Previous ICL surveys adopt different perspectives in organizing prompt-based methods. The taxonomy in I1 covers both methodological developments and analytical studies of ICL. In contrast, I2 and I3 categorize prompt engineering techniques primarily according to their target applications, such as logical reasoning, hallucination reduction, emotion or tone control, and code generation. Our taxonomy organizes prompt-based adaptation from a different perspective by focusing on how task information is encoded and on the main challenges addressed in task adaptation. Under this perspective, our taxonomy includes categories such as unordered demonstration selection, ordered demonstration selection, selective demonstration annotation, demonstration generation, and many-shot ICL. Several of these directions are either not included or only partially covered in previous ICL surveys. For example, recent instruction optimization methods have become an important branch of prompt-based adaptation but are only sparsely represented in earlier surveys due to their recent emergence. Similarly, subfields such as selective demonstration annotation, demonstration generation, and many-shot ICL play important supporting roles in prompt-based task adaptation but are not systematically categorized in previous ICL taxonomies. By incorporating these directions, our taxonomy provides a more comprehensive contextualization of prompt-based task adaptation methods.
Summary. Overall, our taxonomy differs from previous PEFT-only and ICL-only taxonomies in both scope and organizing perspective. While previous surveys focus on individual subfields and often categorize methods by architectural techniques or application domains, our taxonomy provides a unified view spanning weight-based, prompt-based, and embedding-based adaptation. By organizing methods according to the challenges they address in task adaptation, our taxonomy highlights conceptual connections across different adaptation strategies while preserving the methodological insights developed within each individual research area.
Detailed Comparison of Weight-Based and Embedding-Based Adaptations
In our taxonomy, we distinguish between weight-based and embedding-based adaptations. A conceptual comparison of these paradigms is summarized in Table 1 of § 1.1. In this section, we further clarify the differences between these two adaptation paradigms.
Following terminology commonly used in prior literature ([18] (Goodfellow et al. 2016)), we first clarify the meanings of weights and embeddings (or activations). Conceptually, weights are parameters that define the transformations applied to activations, typically involving multiplicative operations. In contrast, embeddings or activations refer to the outputs produced by these transformations. Based on this distinction, we categorize methods that encode task information into model weights, including additional weights or rescaling coefficients, as weight-based adaptation. In contrast, methods that encode task information directly in activation-space representations are categorized as embedding-based adaptation. This includes approaches that encode task information in soft prompts within the input embedding space or in injected activation vectors within the activation space of intermediate layers.
At first glance, this distinction may appear unfamiliar because weight-based PEFT methods such as LoRA (Hu et al., 2022) are often discussed within the broader PEFT literature together with soft prompting methods. In our taxonomy, however, weight-based PEFT methods are categorized as weight-based adaptation because they encode task information in model weights, whereas soft prompting methods are categorized as embedding-based adaptation because task information is encoded in the embedding space. We introduce this categorization because it more clearly reflects where task information is encoded in the model.
This perspective also helps clarify relationships between different adaptation approaches. For instance, recently proposed learned embedding methods ((Peng et al., 2024b; Li et al., 2025c; Saglam et al., 2025; Li et al., 2025a; Kang et al., 2025; Yang et al., 2025)), such as LTV (Saglam et al., 2025), share conceptual similarities with soft prompting approaches because both encode task information in activation-space representations optimized through gradient-based training. However, this connection is often overlooked in previous studies ((Peng et al., 2024b; Saglam et al., 2025; Li et al., 2025a; Yang et al., 2025)), which rarely discuss or compare these methods with soft prompting approaches. By organizing methods according to where and how task information is encoded, our taxonomy highlights these conceptual connections and provides a unified framework for systematically analyzing and comparing a broad range of task adaptation techniques.
Quantitative Meta-Analysis
The values summarized in Table 2 are derived from the results reported in prior work (Park et al., 2026). We provide this focused quantitative comparison to complement the qualitative analysis in § 1.1 by illustrating differences in task performance, trainable parameter count, and runtime among representative methods.
The Big-Bench Hard scores and trainable parameter counts illustrate the trade-off between task performance and parameter efficiency. Weight-based adaptation remains a strong baseline, with LoRA and achieving the highest scores among the compared methods. In contrast, 10-shot ICL requires no trainable parameters but performs lower than these PEFT methods, reflecting the trade-off between training-free adaptation and task performance. Embedding-based methods use substantially fewer trainable parameters than weight-based methods. Among ICL-derived embedding methods, SITE achieves the strongest performance, outperforming 10-shot ICL while using only 1.02K trainable parameters. This suggests that ICL-derived task embeddings have the potential to provide a compact alternative to repeatedly including demonstrations in the input prompt. However, the low scores of FV and LIVE also indicate that embedding-based adaptation does not uniformly improve performance, and its effectiveness depends strongly on how task embeddings are constructed and injected.
The runtime results should be interpreted separately from the Big-Bench Hard scores. While the Big-Bench Hard scores are reported on Big-Bench Hard, the total runtime is measured separately on 10,000 AG_News test queries using Llama-3.1-8B on a single NVIDIA A6000 GPU. Under this setting, 10-shot ICL requires longer runtime than LoRA and SITE, mainly due to the inference overhead from repeatedly processing long demonstration-containing prompts. SITE, a recently proposed ICL-derived embedding-based method, shows runtime comparable to LoRA, whereas FV requires substantially longer runtime due to the additional search procedure for selecting intervention heads. For methods requiring task-specific training, the reported runtime includes both training and evaluation time.
Importantly, this analysis should not be interpreted as a general ranking of adaptation paradigms. The reported scores and runtimes are based on a limited set of representative methods, a single backbone model, selected benchmarks, and specific experimental settings. Therefore, they may not fully reflect general trends across different model families, model scales, tasks, implementations, or hardware environments. Rather, this comparison provides a limited empirical snapshot that illustrates the broader qualitative trade-offs discussed in this survey.
Paper Collection Process
We describe the paper collection process used to construct the taxonomy in this survey. Our goal is to cover representative and influential work across weight-based, prompt-based, and embedding-based adaptation, rather than to provide an exhaustive list of all related papers.
We first identified foundational papers in each paradigm. We then expanded the candidate set by examining papers that cite these works, prioritizing highly cited papers, papers published in major NLP or machine learning venues, and papers frequently used as baselines in subsequent studies. To improve coverage of recent developments, we also monitored recent-paper platforms such as Trending Papers on Hugging Face (Hugging Face, 2026) and screened newly released works relevant to efficient task adaptation.
This process was applied iteratively: after adding new papers, we reviewed their citations, baselines, and related-work discussions to identify additional relevant methods. We repeated this process until the collected set covered the main methodological directions in each paradigm. Since research on LLM adaptation is rapidly evolving, some recent or concurrent works may still be missing. We therefore view the taxonomy as a structured snapshot of the literature at the time of writing.
Use of LLMs in This Work
We used chat-based LLMs for sentence-level editing to check grammar and improve clarity during paper writing. All edits were reviewed and verified by the authors. All conceptual contributions are solely by the authors.
| Category | Benchmark | Output Type | Size | Description |
| Question Answering | SQuAD v1.1 ((Rajpurkar et al., 2016)) | Open-Ended Generation | ∼98K | SQuAD v1.1 is an extractive reading comprehension benchmark built from questions written on Wikipedia passages, where each question is paired with an answer that is a contiguous text span from the given passage, designed to evaluate models’ ability to perform span-based question answering. |
| Question Answering | TriviaQA ((Joshi et al., 2017)) | Open-Ended Generation | ∼96K | TriviaQA is a reading-comprehension benchmark built from trivia questions paired with evidence documents from Wikipedia and the web, designed to test answering complex, compositional questions despite substantial mismatch between questions and supporting evidence. |
| Question Answering | HotpotQA ((Yang et al., 2018)) | Open-Ended Generation | ∼113K | HotpotQA is a multi-hop QA benchmark where each question is paired with supporting facts across multiple Wikipedia articles, designed to test whether models can integrate evidence from more than one document to answer complex questions. |
| Question Answering | Natural Questions ((Kwiatkowski et al., 2019)) | Open-Ended Generation | ∼323K | Natural Questions is an open-domain QA benchmark built from real Google search queries paired with Wikipedia pages, providing annotations for both long answers (passages) and short answers (specific entities) to test end-to-end question answering grounded in retrieved evidence. |
| Summarization | CNN/DailyMail ((Hermann et al., 2015)) | Open-Ended Generation | ∼312K | CNN/DailyMail is a news summarization benchmark consisting of full news articles paired with human-written highlights (bullet-style summary sentences), designed to evaluate models’ ability to produce concise summaries that capture the key information in long-form news reports. |
| Summarization | XSum ((Narayan et al., 2018)) | Open-Ended Generation | ∼227K | XSum is an extreme abstractive summarization benchmark pairing BBC news articles with single-sentence summaries that capture what the article is about, designed to measure models’ ability to produce highly condensed, gist-focused summaries rather than detail-preserving paraphrases. |
| Summarization | SAMSum ((Gliwa et al., 2019)) | Open-Ended Generation | ∼16K | SAMSum is an abstractive dialogue summarization benchmark consisting of messenger-style chat conversations with human-written summaries, designed to evaluate models’ ability to summarize informal, multi-speaker dialogues that may include colloquial language such as slang and emoticons. |
| Summarization | DialogSum ((Chen et al., 2021b)) | Open-Ended Generation | ∼13K | DialogSum is an abstractive dialogue summarization benchmark consisting of multi-turn dialogues from diverse real-life scenarios (compiled from multiple dialogue sources) paired with human-written summaries and topics, designed to evaluate models’ ability to capture salient information and speaker intents in multi-speaker conversations. |
| Summarization | XL-Sum ((Hasan et al., 2021)) | Open-Ended Generation | ∼1.4M | XL-Sum is a large-scale multilingual abstractive summarization benchmark consisting of BBC news article–summary pairs across dozens of languages, designed to evaluate summarization capability across both high- and low-resource languages. |
| Structured Data-to-Text | E2E NLG ((Novikova et al., 2017)) | Open-Ended Generation | ∼51K | E2E NLG is a restaurant-domain data-to-text generation benchmark that pairs dialogue-act-style meaning representations in the form of attribute–value pairs with human-written utterances, and is designed to evaluate end-to-end verbalization and content selection under diverse surface realizations. |
| Structured Data-to-Text | WebNLG ((Gardent et al., 2017)) | Open-Ended Generation | ∼22K | WebNLG is a data-to-text benchmark that maps sets of DBpedia RDF triples to short natural-language texts, and is designed to evaluate micro-planning in generation, including lexicalization, aggregation, referring expression generation, and sentence segmentation, while preserving the input facts. |
| Structured Data-to-Text | ToTTo ((Parikh et al., 2020)) | Open-Ended Generation | ∼136K | ToTTo is a controlled table-to-text generation benchmark pairing Wikipedia tables with a set of highlighted cells and a human-written one-sentence description, designed to evaluate grounded and faithful text generation from structured tabular data under explicit content selection. |
Table 5. Comprehensive Overview of Benchmarks for LLM Task Adaptation (Part 3 of 4).
References
- [1]Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, and 1 others. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.arxiv.org/abs/2303.08774
- [2]Eshaan Agarwal, Raghav Magazine, Joykirat Singh, Vivek Dani, Tanuja Ganu, and Akshay Nambi. 2025. Promptwizard: Optimizing prompts via task-aware, feedback-driven self-evolution. In Findings of the Association for Computational Linguistics: ACL 2025, pages 19974–20003.DOI
- [3]Rishabh Agarwal, Avi Singh, Lei Zhang, Bernd Bohnet, Luis Rosias, Stephanie Chan, Biao Zhang, Ankesh Anand, Zaheer Abbas, Azade Nova, and 1 others. 2024. Many-shot in-context learning. Advances in Neural Information Processing Systems, 37:76930–76966.arxiv.org/abs/2404.11018
- [6]Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, and 1 others. 2026. Gepa: Reflective prompt evolution can outperform reinforcement learning. In International Conference on Learning Representations, volume 2026, pages 8479–8565.arxiv.org/abs/2507.19457
- [7]Salaheddin Alzubi, Noah Provenzano, Jaydon Bingham, Weiyuan Chen, and Tu Vu. 2026. Evoskill: Automated skill discovery for multi-agent systems. arXiv preprint arXiv:2603.02766.arxiv.org/abs/2603.02766
- [8]Shun-ichi Amari. 1996. Neural learning in structured parameter spaces-natural riemannian gradient. Advances in neural information processing systems, 9.
- [9]Art of Problem Solving. 2025. 2025. 2025 aime i. https://artofproblemsolving.com/wiki/index.php/2025_AIME_I. Accessed: 2025.
- [10]Akari Asai, Mohammadreza Salehi, Matthew E Peters, and Hannaneh Hajishirzi. 2022. Attempt: Parameter-efficient multi-task tuning via attentional mixtures of soft prompts. In Proceedings of the 2022 conference on empirical methods in natural language processing, pages 6655–6672.arxiv.org/abs/2205.11961
- [11]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and 1 others. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732.arxiv.org/abs/2108.07732
- [12]Yushi Bai, Jiajie Zhang, Xin Lv, Linzhi Zheng, Siqi Zhu, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. 2024. Longwriter: Unleashing 10,000+ word generation from long context llms. arXiv preprint arXiv:2408.07055.arxiv.org/abs/2408.07055
- [14]Mislav Balunović, Jasper Dekoninck, Ivo Petrov, Nikola Jovanović, and Martin Vechev. 2025. Matharena: Evaluating llms on uncontaminated math competitions. arXiv preprint arXiv:2505.23281.arxiv.org/abs/2505.23281
- [15]Robert Belanec, Simon Ostermann, Ivan Srba, and Maria Bielikova. 2025. Task prompt vectors: Effective initialization through multi-task soft prompt transfer. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pages 77–94. Springer.DOI
- [16]Amanda Bertsch, Maor Ivgi, Emily Xiao, Uri Alon, Jonathan Berant, Matthew R Gormley, and Graham Neubig. 2025. In-context learning with long-context models: An in-depth exploration. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 12119–12149.
- [18]Christopher M Bishop and Nasser M Nasrabadi. 2006. Pattern recognition and machine learning, volume 4. Springer.
- [19]Samuel Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 conference on empirical methods in natural language processing, pages 632–642.arxiv.org/abs/1508.05326
- [20]Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, and 1 others. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901.arxiv.org/abs/2005.14165
- [21]Wang Cai, Hsiu-Yuan Huang, Zhixiang Wang, and Yunfang Wu. 2025. Beyond demonstrations: Dynamic vector construction from latent representations. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 5853–5868.arxiv.org/abs/2505.20318
- [22]Federico Cassano, John Gouwar, Daniel Nguyen, Sydney Nguyen, Luna Phipps-Costin, Donald Pinckney, Ming-Ho Yee, Yangtian Zi, Carolyn Jane Anderson, Molly Q Feldman, and 1 others. 2023. Multiple-e: A scalable and polyglot approach to benchmarking neural code generation. IEEE Transactions on Software Engineering, 49(7):3675–3691.DOI
