NeurIPS 2026QuestionsPapersAreasAboutMarkdown

PreFT: Prefill-only finetuning for inference efficiency

Andrew Lanpouthakoun, Aryaman Arora, Zhengxuan Wu, Dhruv Pai, Benjamin Keigwin, Dan Jurafsky, Chris Potts

NeurIPS page · Open on the map

Category: Efficient LLM Inference & Training › Efficient LLM Inference · Type: new method · Keywords: prefill-only fine-tuning, LLM inference efficiency, parameter-efficient adapters, multi-adapter serving, LoRA and ReFT

Summary

PreFT (Prefill-only Finetuning) is a parameter-efficient fine-tuning method that applies adapters only during the prefill phase to boost serving throughput for personalized large language models.

Explained to a 5-year-old

When you ask a big computer program a question, it first reads all the words you give it (prefill) and then writes one word at a time (decode). Adding a small piece of memory helps it remember what you want, but that piece slows down the slow writing part. The new idea is to only keep that memory piece while reading, and throw it away while writing. This makes the program faster when many people use it at the same time. So more people can get quick answers without waiting long.

Explained to a 5-year-old, longer

A large language model works by first reading all the words you type (prefill) and then generating the next word step by step (decode). To personalize the model, you can attach a small adapter that remembers specific information. However, this adapter slows down the slow step-the token-by-token generation-when many users are served together. The new idea is to keep the adapter only during the reading phase and remove it during the writing phase. This way the model stays fast while still remembering what each user wants. The authors built this idea for two popular adapters, LoRA and ReFT, inside a popular inference engine called vLLM. They showed that using this method makes the system almost twice as fast when serving many adapters, and the model still performs well on tasks like learning from examples and learning from feedback. The result is a simpler, faster way to personalize big language models for many people at once.

For a technical reader

The paper observes that serving personalized adapters for large language models suffers from low throughput during autoregressive decoding because adapters add overhead that is mismatched between the initial prefill step and the subsequent token-by-token generation. To address this, the authors apply adapters only during the prefill phase and discard them for decoding, which dramatically improves throughput for multi-adapter serving. They implement this prefill-only strategy for LoRA and ReFT adapters within the vLLM inference engine, achieving roughly 1.9× higher throughput when serving 512 adapters on a 70B model. On supervised fine-tuning tasks the loss is slightly higher, but increasing the adapter rank mitigates this with minimal throughput loss, while reinforcement-learning tasks show parity with standard PEFTs. The result is a practical way to personalize LLMs at scale with better accuracy-throughput trade-offs.

Problem

Serving personalized large language models using parameter-efficient fine-tuning adapters suffers from low throughput during autoregressive decoding because adapters incur overhead that mismatches the prefill and decode phases, limiting scalability of multi-adapter serving.

Method

The approach applies adapters only to prefill tokens and discards them during decoding, enabling higher throughput for multi-adapter serving. It implements this for LoRA and ReFT adapters within the vLLM inference engine using efficient kernels to maintain performance.

Results

The approach achieves roughly 1.9× higher throughput when serving 512 adapters on Llama 3.1 70B compared to traditional PEFTs, incurs a modest increase in loss on supervised fine-tuning tasks that can be mitigated by raising adapter rank with little throughput penalty, and reaches parity with standard PEFTs on reinforcement-learning tasks.

Contributions

The paper proposes applying adapters only during prefill (the approach) and provides an efficient implementation for LoRA and ReFT within vLLM, demonstrating significant throughput gains and comparable performance across supervised fine-tuning and reinforcement-learning tasks.

Practical relevance

It enables personalized LLM serving at scale with higher throughput, reducing hardware demands for multi-user deployments.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction