Papers › PLoP: Precise LoRA Placement for Efficient Finetuning of Large Models

PLoP: Precise LoRA Placement for Efficient Finetuning of Large Models

25 Jun 2025arXiv:2506.20629archive 2025-07-28

Soufiane Hayou, Nikhil Ghosh, Bin Yu

Low-Rank Adaptation (LoRA) is a widely used finetuning method for large models. Its small memory footprint allows practitioners to adapt large models to specific tasks at a fraction of the cost of full finetuning. Different modifications have been proposed to enhance its efficiency by, for example, setting the learning rate, the rank, and the initialization. Another improvement axis is adapter placement strategy: when using LoRA, practitioners usually pick module types to adapt with LoRA, such as Query and Key modules. Few works have studied the problem of adapter placement, with nonconclusive results: original LoRA paper suggested placing adapters in attention modules, while other works suggested placing them in the MLP modules. Through an intuitive theoretical analysis, we introduce PLoP (Precise LoRA Placement), a lightweight method that allows automatic identification of module types where LoRA adapters should be placed, given a pretrained model and a finetuning task. We demonstrate that PLoP consistently outperforms, and in the worst case competes, with commonly used placement strategies through comprehensive experiments on supervised finetuning and reinforcement learning for reasoning.

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="2506.20629")

Code

Syntology Ran 0 of 21 code samples harvested from 1 repository linked to this paper; 21 have no recorded run.

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

soufiane001/plop 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

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 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.

21unverified

Licence: 21 of the 21 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 soufiane001/plop. “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.

calculate_nfn_scores soufiane001/plop/src/metrics.py official repository unverified no licence file found · pointer only · 56f6847b5058c0bf · report
convert_alpaca_gpt4_to_messages soufiane001/plop/sft/utils.py official repository unverified no licence file found · pointer only · 19b7e4198c75005c · report
convert_codefeedback_single_turn_to_messages soufiane001/plop/sft/utils.py official repository unverified no licence file found · pointer only · 26c7ec78a54319cc · report
custom_cached_file soufiane001/plop/sft/dataset_transformation.py official repository unverified no licence file found · pointer only · 79b69244e9c2638a · report
extract_answer soufiane001/plop/sft/eval_gsm8k.py official repository unverified no licence file found · pointer only · 54d8e73534679cb9 · report
extract_hash_answer soufiane001/plop/other/grpo_metamath.py official repository unverified no licence file found · pointer only · 924ae8bb75628679 · report
first_true_indices soufiane001/plop/sft/model_utils.py official repository unverified no licence file found · pointer only · b2c0bb9254a04a7d · report
forward soufiane001/plop/sft/model_utils.py official repository unverified no licence file found · pointer only · a67d00a6a5eb9ebe · report
generate_sample soufiane001/plop/sft/eval_gsm8k.py official repository unverified no licence file found · pointer only · 3c8e08d98dc04bfc · report
get_commit_hash soufiane001/plop/sft/dataset_transformation.py official repository unverified no licence file found · pointer only · 711f5f7e6ce5261e · report
get_file_hash soufiane001/plop/sft/dataset_transformation.py official repository unverified no licence file found · pointer only · 26e5bf7cdee2b82e · report
get_group_metrics soufiane001/plop/src/metrics.py official repository unverified no licence file found · pointer only · 8398509d77935efd · report
get_reward soufiane001/plop/sft/model_utils.py official repository unverified no licence file found · pointer only · c24b405d6da63aab · report
get_standardized_output_dir soufiane001/plop/sft/sft_metamath.py official repository unverified no licence file found · pointer only · 8bcd908ce9285bb4 · report
is_openai_format soufiane001/plop/sft/utils.py official repository unverified no licence file found · pointer only · e0cd2fea90cee405 · report
load_gsm8k_problems soufiane001/plop/src/data.py official repository unverified no licence file found · pointer only · 192bbe0218c3e968 · report
load_humaneval_problems soufiane001/plop/src/data.py official repository unverified no licence file found · pointer only · 0d52a263c153c2ec · report
load_mmlu_problems soufiane001/plop/src/data.py official repository unverified no licence file found · pointer only · f8be0aaf21f37e43 · report
match_format_approximately soufiane001/plop/other/grpo_metamath.py official repository unverified no licence file found · pointer only · df9c02c99530976c · report
match_format_exactly soufiane001/plop/other/grpo_metamath.py official repository unverified no licence file found · pointer only · b1a30b77db50ef0f · report
select_layers_by_ratio soufiane001/plop/sft/sft_metamath.py official repository unverified no licence file found · pointer only · 31fb9f4f19ee9623 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Adapter

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