PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Prompts

Anjir Ahmed Chowdhury, Syed Zawad, Xiaolong Ma, Xu Dong, Feng Yan · Submission to ICLR 2026 · Rejected

TL;DR

PEML (Parameter-Efficient Multi-task Learning) is a new framework that combines the weight-tuning power of LoRA with an automated, searchable prompt-tuning method called PrefixNAS. By co-optimizing model weights and continuous prompt architectures in parallel, it achieves state-of-the-art multi-task performance with significantly lower inference latency and VRAM overhead than existing methods.

What Problem Does This Paper Address?

Fine-tuning Large Language Models (LLMs) for every individual task is prohibitively expensive. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA (which adapts model weights) and Prefix Tuning (which adds learnable "prompts" to inputs) have helped, they struggle in multi-task learning (MTL) environments.

Current MTL approaches face three main hurdles:

  1. Prompt Alignment: Methods like LoRA focus on the model's internal weights but often ignore how the input prompts are aligned across different tasks.
  2. Architectural Rigidity: Prefix tuning usually relies on a simple, fixed architecture that doesn't scale well when a single model needs to handle diverse tasks simultaneously.
  3. Deployment Overhead: Many multi-task methods require "adapter switching"—loading different parameters for different tasks—which increases VRAM usage and introduces latency during real-time inference.

Methods

The authors introduce PEML, which treats multi-task adaptation as a joint optimization problem. It has two primary components:

  • LoRA (Low-Rank Adaptation): Standard low-rank matrices are applied to the model's projection layers to handle weight adaptation.
  • PrefixNAS (Neural Architecture Search for Prefixes): This is the core innovation. Instead of using a static prefix, PEML uses a gradient-based NAS approach to automatically design an optimal "prefix encoder." It searches through a space of linear transformations, activation functions (ReLU, Tanh, GELU), and layer normalizations to find the best structure for generating continuous prompts.
  • Parallel Joint Optimization: Unlike previous methods that might train these components sequentially, PEML trains the LoRA parameters and the PrefixNAS architecture parameters simultaneously.
  • Bi-level Optimization: The framework uses an inner loop to optimize the prefix architecture and an outer loop using a Tree-structured Parzen Estimator (TPE) to automatically tune hyperparameters like learning rates and prefix lengths.

Datasets

The researchers evaluated PEML across a massive battery of standard NLP benchmarks:

  • GLUE: General Language Understanding Evaluation (e.g., SST-2, MNLI, CoLA).
  • SuperGLUE: More difficult reasoning tasks (e.g., BoolQ, MultiRC, WSC).
  • MMLU: Massive Multitask Language Understanding.
  • Commonsense Reasoning: Including PIQA, SIQA, Winogrande, and ARC.
  • Models used: T5-Large, FLAN-T5-Large, LLaMA-7B, LLaMA2-7B, and GLM-10B.

Key Insights and Ideas

  • Co-optimization is King: The paper demonstrates that model adaptation (weights) and input alignment (prompts) are synergistic. Training them together in parallel yields better generalization than training them one after the other.
  • The "Switching Tax" is Real: In production, switching between 100 different task-specific adapters adds significant latency. PEML creates a unified adapter structure, eliminating the need for switching and reducing inference latency by up to 17% for T5-Large models.
  • NAS Beats Manual Design: By letting an algorithm search for the best prefix architecture, the model can capture task-relevant features more efficiently than a human-designed static prefix.
  • VRAM Efficiency: Unlike "Horizontal Scaling" methods (like MultiLoRA) that increase memory usage linearly with the number of tasks, PEML’s VRAM usage remains nearly constant regardless of the rank increase or task complexity.

Key Results

  • Accuracy Gains: PEML showed an average accuracy improvement of up to 6.67% over state-of-the-art baselines, with individual tasks (like those in GLUE) seeing peak gains of 10.75%.
  • Outperforming Baselines: On the LLaMA2-7B model, PEML achieved a 91.1% average on GLUE, outperforming MTL-LoRA (90.0%) and MoELoRA (88.4%).
  • Low-Data Robustness: In "low-data" settings (only 300-500 samples per task), PEML maintained its lead, suggesting it is highly efficient at cross-task knowledge transfer.
  • Throughput: PEML’s training throughput is nearly double that of full-parameter fine-tuning (400 tokens/sec vs 208 tokens/sec on LLaMA-7B).

Limitations and Future Work

  • Search Cost: While PEML is efficient during inference, the initial Neural Architecture Search (NAS) process requires a one-time computational investment (e.g., ~16 GPU-hours for LLaMA variants).
  • Parameter Overhead: The optimized prefix adds a small number of parameters—typically between 2% to 8% of the base model’s size. While small, it is more than a "vanilla" LoRA implementation.
  • Future Directions: The authors suggest exploring PEML in even more open-ended environments and potentially extending the NAS search space to include more complex architectural primitives.

This summary is based on the paper "PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Prompts" under review for ICLR 2026.

Summary updated

Abstract

Parameter-Efficient Fine-Tuning (PEFT) is critical for adapting Large Language Models (LLMs) for various tasks. Recently, there has been an increasing demands for fine-tuning LLMs for multiple tasks because it requires overall less data for fine-tuning thanks to the common features shared among tasks. More importantly, LLMs are resource demanding and deploying a single model for multiple tasks facilitates resource consolidation and consumes significantly less resources compared to deploying individual large model for each task. Existing PEFT methods like LoRA and Prefix Tuning are designed to adapt to a specific task. LoRA and its variation focus on aligning the model itself for tasks, overlooking the importance of prompt tuning in multi-task learning while Prefix Tuning only adopts a simple architecture to optimize prompts, which limits the adaption capabilities for multi-task. To enable efficient fine-tuning for multi-task learning, it is important to co-optimize prompt optimization and model adaptation. In this work, we propose a Parameter-Efficient Multi-task Learning (PEML), which employs a neural architecture engineering method for optimizing the continuous prompts while also performing low-rank adaption for model weights. We prototype PEML by creating an automated framework for optimizing the continuous prompts and adapting model weights. We compare against state-of-the-arts MTL-LoRA, MultiLoRa, C-Poly, and MoE, and results on the GLUE, SuperGLUE, Massive Multitask Language Understanding and commonsense reasoning benchmarks. The evaluation results presents an average accuracy improvement of up to 6.67%, with individual tasks showing peak gains of up to 10.75%.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
GLUEPEMLGLUE score0.901+0.02 vs baselineparams=7B · backbone=LLaMA2-7B
Source quote
L647: PEML │ 0.901 │ \sim0.5 │ \sim18.5 \\[1ex]
100-task inference latencyPEML (single unified adapter; no adapter switching)total latency5,200 mstasks=100 · params=7B · backbone=LLaMA2-7B · adapter-setting=single unified adapter
Source quote
L887: Inference latency in multi-task setting is affected by PEFT adapter switching. For 100 tasks with separate adapters, each task's latency is the forward pass t_f plus switch time t_s, giving total latency T = 100 × (t_f + t_s). In PEML, a single unified adapter removes switching (t_s = 0), so T_{\text{PEML}} = 100 × t_f. Using empirical estimates with minor variability, T5-large has t_f = 11 ms, average t_s \approx 2.1 ms, resulting in 1,320 ms for 100 adapters vs 1,100 ms with PEML (\sim 17% reduction); LLaMA2-7B has t_f = 52 ms, average t_s \approx 4.3 ms, giving 5,630 ms vs 5,200 ms (\sim 8% reduction). The switching overhead scales linearly with the number of tasks, so PEML's unified-adapter design becomes increasingly advantageous for larger multi-task setups, maintaining efficiency without compromising forward-pass computation.
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
GLUEMTL-LoRA baselineGLUE score0.879params=7B · backbone=LLaMA2-7B
Source quote
L646: MTL-LoRA │ 0.879 │ \multirow{2}{*}{\sim2.5} │ \sim1.5 │ \multirow{2}{*}{\sim15.5} │ \sim19.5 [1ex]
100-task inference latencySeparate task-specific adapters (100 tasks) baselinetotal latency5,630 mstasks=100 · params=7B · backbone=LLaMA2-7B · adapter-setting=separate task-specific adapters
Source quote
L887: Inference latency in multi-task setting is affected by PEFT adapter switching. For 100 tasks with separate adapters, each task's latency is the forward pass t_f plus switch time t_s, giving total latency T = 100 × (t_f + t_s). In PEML, a single unified adapter removes switching (t_s = 0), so T_{\text{PEML}} = 100 × t_f. Using empirical estimates with minor variability, T5-large has t_f = 11 ms, average t_s \approx 2.1 ms, resulting in 1,320 ms for 100 adapters vs 1,100 ms with PEML (\sim 17% reduction); LLaMA2-7B has t_f = 52 ms, average t_s \approx 4.3 ms, giving 5,630 ms vs 5,200 ms (\sim 8% reduction). The switching overhead scales linearly with the number of tasks, so PEML's unified-adapter design becomes increasingly advantageous for larger multi-task setups, maintaining efficiency without compromising forward-pass computation.
BibTeX
@misc{chowdhury2026peml,
  author = {Anjir Ahmed Chowdhury and Syed Zawad and Xiaolong Ma and Xu Dong and Feng Yan},
  title = {{PEML: Parameter-efficient Multi-Task Learning with Optimized Continuous Prompts}},
  year = {2026},
  eprint = {2605.14055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.14055},
}
Figure