Papers › Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models

Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models

13 Jan 2024arXiv:2401.07159archive 2025-07-28

Zhengxin Zhang, Dan Zhao, Xupeng Miao, Gabriele Oliaro, Qing Li, Yong Jiang, Zhihao Jia

Finetuning large language models (LLMs) has been empirically effective on a variety of downstream tasks. Existing approaches to finetuning an LLM either focus on parameter-efficient finetuning, which only updates a small number of trainable parameters, or attempt to reduce the memory footprint during the training phase of the finetuning. Typically, the memory footprint during finetuning stems from three contributors: model weights, optimizer states, and intermediate activations. However, existing works still require considerable memory and none can simultaneously mitigate memory footprint for all three sources. In this paper, we present Quantized Side Tuing (QST), which enables memory-efficient and fast finetuning of LLMs by operating through a dual-stage process. First, QST quantizes an LLM's model weights into 4-bit to reduce the memory footprint of the LLM's original weights; QST also introduces a side network separated from the LLM, which utilizes the hidden states of the LLM to make task-specific predictions. Using a separate side network avoids performing backpropagation through the LLM, thus reducing the memory requirement of the intermediate activations. Furthermore, QST leverages several low-rank adaptors and gradient-free downsample modules to significantly reduce the trainable parameters, so as to save the memory footprint of the optimizer states. Experiments show that QST can reduce the total memory footprint by up to 2.3 × and speed up the finetuning process by up to 3 × while achieving competent performance compared with the state-of-the-art. When it comes to full finetuning, QST can reduce the total memory footprint up to 7 ×.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.07159")

Code

Syntology Ran 5 of 10 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

youarespecialtome/qst officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 5 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
4ran
5unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from youarespecialtome/qst. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Activations youarespecialtome/qst/modeling_llama_qst.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 62859370cfe52b3c · report
AdapterLinear youarespecialtome/qst/modeling_llama_qst.py official repository ran Apache-2.0 (permissive) · f66240187e4c4ad0 · report
LlamaDecoderLayer youarespecialtome/qst/modeling_llama_qst.py official repository ran Apache-2.0 (permissive) · 6ef27137c2104cdd · report
LlamaMLP youarespecialtome/qst/modeling_llama_qst.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 393706ac28a3215a · report
apply_rotary_pos_emb youarespecialtome/qst/modeling_llama_qst.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 3c9f7e87051e9272 · report
LlamaAttention youarespecialtome/qst/modeling_llama_qst.py official repository unverified Apache-2.0 (permissive) · 49bff92fc40bac47 · report
LlamaModel youarespecialtome/qst/modeling_llama_qst.py official repository unverified Apache-2.0 (permissive) · e4df1ae4f39faa71 · report
QSTBaseModelOutputWithPast youarespecialtome/qst/modeling_llama_qst.py official repository unverified Apache-2.0 (permissive) · c394ff56984f4c10 · report
QSTConfig youarespecialtome/qst/modeling_llama_qst.py official repository unverified Apache-2.0 (permissive) · fb6c4a667149f2a3 · report
QSTLlamaModel youarespecialtome/qst/modeling_llama_qst.py official repository unverified Apache-2.0 (permissive) · 4410d9c227d25d07 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

FocusSPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections