SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.11875 · ICML · 2024

Sparse is Enough in Fine-tuning Pre-trained Large Language Models

Bo Du, Lefei Zhang, Weixi Song, Zuchao Li, Hai Zhao

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 8 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2312.11875.json · badge: /api/ran/2312.11875.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
song-wx/SIFT canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
song-wx/sift canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
SIFT Ran
ran on a synthesized input · constructed an object; no result was computed
song-wx/sift/sift/sift.py
pointer only (licence: NONE) · get_code("9a9f55f04498b3cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/sift when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

acc_and_f1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
song-wx/SIFT/exp/glue_benchmark/glue_metric.py
pointer only (licence: NONE); the stored copy get_code serves, from LequeuISIR/DSTG-encoder, is pointer only (licence: NONE) · get_code("454817035cd7e70d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

encode_prompt Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/instruction_finetuning/generate_instruction.py
pointer only (licence: NONE) · get_code("9b2dd0265fc6e6b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_word_in_string Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/instruction_finetuning/generate_instruction.py
pointer only (licence: NONE) · get_code("8ca6a5f9f77053c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_example Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/mmlu/eval_mmlu.py
pointer only (licence: NONE) · get_code("cd763eaf1ac287e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_subject Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/mmlu/eval_mmlu.py
pointer only (licence: NONE) · get_code("6ab745408cb8648b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_prompt Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/mmlu/eval_mmlu.py
pointer only (licence: NONE) · get_code("3383488ea82b6c15")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

jload Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/instruction_finetuning/utils.py
pointer only (licence: NONE) · get_code("d07d04439cd1d44f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pearson_and_spearman Ran
ran; our contract draft was wrong, not the code
song-wx/SIFT/exp/glue_benchmark/glue_metric.py
pointer only (licence: NONE); the stored copy get_code serves, from LequeuISIR/DSTG-encoder, is pointer only (licence: NONE) · get_code("e3e13638a674e4b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

post_process_gpt3_response Ran
ran, honoured the contract we drafted
song-wx/SIFT/exp/instruction_finetuning/generate_instruction.py
pointer only (licence: NONE) · get_code("a5e4ad4e11cf2143")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

openai_completion Not yet run
unverified (harvested, no recorded run)
song-wx/SIFT/exp/instruction_finetuning/utils.py
pointer only (licence: NONE) · get_code("ebb1cebbcdf9c443")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

simple_accuracy Not yet run
unverified (harvested, no recorded run)
song-wx/SIFT/exp/glue_benchmark/glue_metric.py
pointer only (licence: NONE); the stored copy get_code serves, from LequeuISIR/DSTG-encoder, is pointer only (licence: NONE) · get_code("83eba990d34db6a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, song-wx/SIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 4 the same month, 10 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
jload 46 other papers
16 dated earlier, 1 the same month, 29 later
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2305.13068 (2023-05)
Making Language Models Better Tool Learners with Execution Feedback
and 43 more not named here
format_subject 21 other papers
6 dated earlier, 1 the same month, 14 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2304.12986 (2023-04)
Measuring Massive Multitask Chinese Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
and 18 more not named here
format_example 16 other papers
3 dated earlier, 1 the same month, 12 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
2310.05736 (2023-10)
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
and 13 more not named here
find_word_in_string 11 other papers
5 dated earlier, 5 later, 1 same year, order not determinable
2212.10560 (2022-12)
SELF-INSTRUCT: Aligning Language Models with Self-Generated Instructions
2023.findings-emnlp.836 (2023 (year only))
Ensemble-Instruct: Generating Instruction-Tuning Data with a Heterogeneous Mixture of LMs
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 8 more not named here
gen_prompt 10 other papers
3 dated earlier, 1 the same month, 6 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
2310.05736 (2023-10)
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
and 7 more not named here
encode_prompt 7 other papers
3 dated earlier, 4 later
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.14825 (2023-05)
Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners
2308.04948 (2023-08)
Extrapolating Large Language Models to Non-English by Aligning Languages
and 4 more not named here
post_process_gpt3_response 7 other papers
3 dated earlier, 4 later
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.14825 (2023-05)
Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners
2308.04948 (2023-08)
Extrapolating Large Language Models to Non-English by Aligning Languages
and 4 more not named here
acc_and_f1 5 other papers
3 dated earlier, 2 later
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here
pearson_and_spearman 5 other papers
3 dated earlier, 2 later
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here
simple_accuracy 5 other papers
3 dated earlier, 2 later
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here
openai_completion 1 other paper
1 dated earlier
2311.17154 (2023-11)
Pragmatic Radiology Report Generation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

With the prevalence of pre-training-fine-tuning paradigm, how to efficiently adapt the pre-trained model to the downstream tasks has been an intriguing issue. Parameter-Efficient Fine-Tuning (PEFT) methods have been proposed for low-cost adaptation. Although PEFT has demonstrated effectiveness and been widely applied, the underlying principles are still unclear. In this paper, we adopt the PAC-Bayesian generalization error bound, viewing pre-training as a shift of prior distribution which leads to a tighter bound for generalization error. We validate this shift from the perspectives of oscillations in the loss landscape and the quasi-sparsity in gradient distribution. Based on this, we propose a gradient-based sparse finetuning algorithm, named Sparse Increment Fine-Tuning (SIFT), and validate its effectiveness on a range of tasks including the GLUE Benchmark and Instruction-tuning. The code is accessible at https://github.com/song-wx/SIFT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2312.11875")
get_code_for_paper("2312.11875")
have("2312.11875")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2312.11875.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2312.11875.svg)](https://syntology.ai/paper/2312.11875)

Connect an agent — have() is free.