SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.04984 · ACL · 2024

MEFT: Memory-Efficient Fine-Tuning through Sparse Adapter

Weiwei Sun, Qi Meng, Pengjie Ren, Zhaochun Ren, Zhumin Chen, Jitai Hao, Xin Xin

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 5 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/2406.04984.json · badge: /api/ran/2406.04984.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
currentf/meft canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
CURRENTF/MEFT community
Papers with Code archive
0 ran · 2 no recorded run
FunctionStatusWhere it lives
augment_xb Ran
ran; our contract draft was wrong, not the code
currentf/meft/modeling/faiss_vector_database.py
pointer only (licence: NONE) · get_code("0d19dfb6e1a61d7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

augment_xq Ran
ran; our contract draft was wrong, not the code
currentf/meft/modeling/faiss_vector_database.py
pointer only (licence: NONE) · get_code("b7bec8d0218b66a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

generate_prompt Ran
ran; our contract draft was wrong, not the code
currentf/meft/full_finetune.py
pointer only (licence: NONE) · get_code("5ed93c8ef12816a8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

get_phi Ran
ran, honoured the contract we drafted
currentf/meft/modeling/faiss_vector_database.py
pointer only (licence: NONE) · get_code("684008276c2e318f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

hash_string Ran
ran; our contract draft was wrong, not the code
currentf/meft/finetune.py
pointer only (licence: NONE) · get_code("816b6e96d472615a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

make_str_by_dict Ran
ran; our contract draft was wrong, not the code
currentf/meft/finetune.py
pointer only (licence: NONE) · get_code("5441306e849e2601")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

my_prepare_model_for_int8_training Ran
ran; our contract draft was wrong, not the code
currentf/meft/mistral_finetune.py
pointer only (licence: NONE) · get_code("8ac2d521295a4d00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

KVLlamaMLP Not yet run
unverified (harvested, no recorded run)
CURRENTF/MEFT/modeling/my_llama.py
pointer only (licence: NONE) · get_code("a862da4beb100ff4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CURRENTF/MEFT 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.

create_faiss_index Not yet run
unverified (harvested, no recorded run)
currentf/meft/modeling/hnswlib_vector_database.py
pointer only (licence: NONE) · get_code("2fc4082861047a90")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

ffn_transfer Not yet run
unverified (harvested, no recorded run)
CURRENTF/MEFT/modeling/my_llama.py
pointer only (licence: NONE) · get_code("dddd6c6269fb7396")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CURRENTF/MEFT 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.

get_IVFxPQy Not yet run
unverified (harvested, no recorded run)
currentf/meft/modeling/hnswlib_vector_database.py
pointer only (licence: NONE) · get_code("9e0c2a8bd5d9a627")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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.

train Not yet run
unverified (harvested, no recorded run)
currentf/meft/full_finetune.py
pointer only (licence: NONE) · get_code("5b7dee34064b4f2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/meft 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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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.

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

Parameter-Efficient Fine-tuning (PEFT) facilitates the fine-tuning of Large Language Models (LLMs) under limited resources. However, the fine-tuning performance with PEFT on complex, knowledge-intensive tasks is limited due to the constrained model capacity, which originates from the limited number of additional trainable parameters. To overcome this limitation, we introduce a novel mechanism that fine-tunes LLMs with adapters of larger size yet memory-efficient. This is achieved by leveraging the inherent activation sparsity in the Feed-Forward Networks (FFNs) of LLMs and utilizing the larger capacity of Central Processing Unit (CPU) memory compared to Graphics Processing Unit (GPU). We store and update the parameters of larger adapters on the CPU. Moreover, we employ a Mixture of Experts (MoE)-like architecture to mitigate unnecessary CPU computations and reduce the communication volume between the GPU and CPU. This is particularly beneficial over the limited bandwidth of PCI Express (PCIe). Our method can achieve fine-tuning results comparable to those obtained with larger memory capacities, even when operating under more limited resources such as a 24GB memory single GPU setup, with acceptable loss in training efficiency. Our codes are available at https://github.com/CURRENTF/MEFT.

For agents

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

get_harvested_code_for_paper("2406.04984")
get_code_for_paper("2406.04984")
have("2406.04984")

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

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

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

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

Connect an agent — have() is free.