SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.16775 · 2024

Parameter Efficient Instruction Tuning: An Empirical Study

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 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/2411.16775.json · badge: /api/ran/2411.16775.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
AdaBit-AI/parameter_efficient_instruction_tuning canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
b2mb Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from huggingface/peft
pointer only · get_code("32380a050ca033d4")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

build_peft_config_name Ran
ran; our contract draft was wrong, not the code
AdaBit-AI/parameter_efficient_instruction_tuning/utils.py
code served (permissive licence) · get_code("1d65e2d96c6b5fbd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class ModelArgs:
    def __init__(self, tuning_mode='lora'):
        self.tuning_mode = tuning_mode

class PeftArgs:
    def __init__(self):
        self.lora_r = 8
        self.lora_alpha = 16
        self.lora_modules = ['q_proj', 'v_proj']
        self.prompt_len = 20
        self.prefix_len = 10
        self.bottleneck_size = 32
        self.layer_name = 'layer_11'
        self.bias_name = 'bias'
        self.adapter_size = 64
        self.reduction_factor = 0.5
        self.phm_dimension = 128
        self.use_pelt_gate = True

class TrainingArgs:
    def __init__(self):
        self.learning_rate = 5e-4
        self.per_device_train_batch_size = 32
        self.gradient_accumulation_steps = 4

ARGS = {
    'model_args': ModelArgs(tuning_mode='lora'),
    'peft_args': PeftArgs(),
    'training_args': TrainingArgs()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert Ran
ran; our contract draft was wrong, not the code
AdaBit-AI/parameter_efficient_instruction_tuning/expr_analysis/expr_extract.py
code served (permissive licence) · get_code("59883d5d6d2f39e7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Analyzing the function: convert(s)
# The function takes a string parameter 's' and looks it up in a dictionary.
# If found, it returns the mapped value; otherwise it prints a message and returns s.

ARGS = {
    's': '0.001'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
flatten Ran
ran; our contract draft was wrong, not the code
AdaBit-AI/parameter_efficient_instruction_tuning/utils.py
code served (permissive licence) · get_code("96ed0b37ba724222")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

ARGS = {
    "s": "path/to/some/file",
    "source_char": "/",
    "flatten_char": "_"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_closest_label Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from alanansell/peft
pointer only · get_code("e2284f55bbde4f81")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

get_latest_checkpoint Ran
ran; our contract draft was wrong, not the code
AdaBit-AI/parameter_efficient_instruction_tuning/utils.py
code served (permissive licence) · get_code("6e175302feec91b5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import re
import tempfile
import shutil

# Create a temporary directory to serve as output_dir
temp_dir = tempfile.mkdtemp()

# Create some checkpoint directories with the expected naming pattern
checkpoint_dirs = ['checkpoint-100', 'checkpoint-50', 'checkpoint-200']
for checkpoint_dir in checkpoint_dirs:
    os.makedirs(os.path.join(temp_dir, checkpoint_dir), exist_ok=True)

ARGS = {
    'output_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
levenshtein_distance Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from alanansell/peft
pointer only · get_code("01f1ac304787218d")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

rename_index Not yet run
unverified (harvested, no recorded run)
AdaBit-AI/parameter_efficient_instruction_tuning/expr_analysis/expr_extract.py
code served (permissive licence) · get_code("8f178cbb8eb544b8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 1 later) and 5 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
b2mb 11 other papers
8 dated earlier, 1 the same month, 2 later
2303.18223 (2023-03)
A Survey of Large Language Models
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
2402.02834 (2024-02)
Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methods
and 8 more not named here
get_closest_label 4 other papers
3 dated earlier, 1 the same month
2303.18223 (2023-03)
A Survey of Large Language Models
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
2408.15300 (2024-08)
GIFT-SW: Gaussian noise Injected Fine-Tuning of Salient Weights for LLMs
and 1 more not named here
levenshtein_distance 1 other paper
1 dated earlier
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models

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

Instruction tuning has become an important step for finetuning pretrained language models to better follow human instructions and generalize on various tasks. Nowadays, pretrained language models become increasingly larger, and full parameter finetuning is overwhelmingly costly. Therefore, Parameter Efficient Finetuning (PEFT) has arisen as a cost-effective practice for instruction tuning because of significantly smaller computational, memory, and storage cost compared to full finetuning. Despite their widespread adaptations, the vast hyperparameter spaces, the number of PEFT methods, the different focus of instruction tuning capabilities make disentangling the impact of each aspect difficult. This study systematically investigates several representative PEFT methods, surveying the effect of hyperparameter choices including training hyperparameters and PEFT-specific hyperparameters, how different models sizes and the number of instruction tasks affect the performance, in-task-distribution memorization and open instruction following capability. Our empirical study shows that only LoRA and adapter can get close to full finetuning with ideal training settings. The ideal training setting includes an appropriate learning rate, largest LoRA rank or adapter size allowed and diverse training tasks. On the other hand, LoRA and adapter suffer from training instability if such an ideal training condition is not met. Additionally, LoRA requires a greater number of tasks for effective unseen task generalization, exhibit slower learning speed. Moreover, LoRA has weaker task-level memorization. Lastly, LoRA and adapter fall short in complex reasoning, coding and long-form generation compared to finetuning in open instruction tuning settings but it shows stronger capabilities compared to adapter.

For agents

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

get_harvested_code_for_paper("2411.16775")
get_code_for_paper("2411.16775")
have("2411.16775")

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

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

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

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

Connect an agent — have() is free.