SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.06071 · ICLR · 2025

KaSA: Knowledge-Aware Singular-Value Adaptation of Large Language Models

Fan Wang, Jing Tang, Sunghun Kim, Juyong Jiang, Chansung Park

arXiv · PDF · Open in the Atlas

Code that ran

4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 4 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/2412.06071.json · badge: /api/ran/2412.06071.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
juyongjiang/KaSA canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
juyongjiang/kasa canonical (classifier label)
classifier basis: classifier_2025
0 ran · 2 no recorded run
FunctionStatusWhere it lives
bloom_model_postprocess_past_key_value Ran
ran; our contract draft was wrong, not the code
juyongjiang/KaSA/peft/src/peft/utils/constants.py
pointer only (licence: NONE) · get_code("ecf94b05123201e3")
How it ran

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

check_if_peft_model Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
juyongjiang/KaSA/peft/src/peft/helpers.py
pointer only (licence: NONE) · get_code("6a1220317ec3675f")
How it ran

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

check_target_module_exists Ran
ran; our contract draft was wrong, not the code
juyongjiang/KaSA/peft/src/peft/tuners/tuners_utils.py
pointer only (licence: NONE) · get_code("c49fdcabd715ffef")
How it ran

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

is_torch_tpu_available Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
juyongjiang/KaSA/peft/src/peft/import_utils.py
pointer only (licence: NONE) · get_code("a3daaf3e5bdfc709")
How it ran

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

BaseTunerLayer Not yet run
unverified (harvested, no recorded run)
juyongjiang/kasa/peft/src/peft/tuners/vera/layer.py
pointer only (licence: NONE) · get_code("6bd3015fbb224583")
How it ran

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

VeraLayer Not yet run
unverified (harvested, no recorded run)
juyongjiang/kasa/peft/src/peft/tuners/vera/layer.py
pointer only (licence: NONE) · get_code("0b21aa2f3160d34c")
How it ran

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

check_adapters_to_merge Not yet run
unverified (harvested, no recorded run)
juyongjiang/KaSA/peft/src/peft/tuners/tuners_utils.py
pointer only (licence: NONE) · get_code("a99ac087e4787f7c")
How it ran

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

starcoder_model_postprocess_past_key_value Not yet run
unverified (harvested, no recorded run)
juyongjiang/KaSA/peft/src/peft/utils/constants.py
pointer only (licence: NONE) · get_code("249c10407ed14893")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, juyongjiang/KaSA 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 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, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 1 later) and 2 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
is_torch_tpu_available 6 other papers
6 dated earlier
2404.04316 (2024-04)
Parameter Efficient Quasi-Orthogonal Fine-Tuning via Givens Rotation
2405.12130 (2024-05)
MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning
2406.12629 (2024-06)
SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximation
and 3 more not named here
bloom_model_postprocess_past_key_value 5 other papers
4 dated earlier, 1 later
2405.12130 (2024-05)
MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning
2406.00132 (2024-06)
QuanTA: Efficient High-Rank Fine-Tuning of LLMs with Quantum-Informed Tensor Adaptation
2406.03792 (2024-06)
Light-PEFT: Lightening Parameter-Efficient Fine-Tuning via Early Pruning
and 2 more not named here
check_if_peft_model 3 other papers
3 dated earlier
2404.04316 (2024-04)
Parameter Efficient Quasi-Orthogonal Fine-Tuning via Givens Rotation
2408.15300 (2024-08)
GIFT-SW: Gaussian noise Injected Fine-Tuning of Salient Weights for LLMs
2409.10673 (2024-09)
A Bayesian Interpretation of Adaptive Low-Rank Adaptation
check_target_module_exists 2 other papers
2 dated earlier
2405.12130 (2024-05)
MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning
2409.10673 (2024-09)
A Bayesian Interpretation of Adaptive Low-Rank Adaptation
starcoder_model_postprocess_past_key_value 2 other papers
2 dated earlier
2405.12130 (2024-05)
MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning
2409.10673 (2024-09)
A Bayesian Interpretation of Adaptive Low-Rank Adaptation
check_adapters_to_merge 1 other paper
1 dated earlier
2409.10673 (2024-09)
A Bayesian Interpretation of Adaptive Low-Rank Adaptation

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

The increasing sizes of large language models (LLMs) result in significant computational overhead and memory usage when adapting these models to specific tasks or domains. Various parameter-efficient fine-tuning (PEFT) methods have been devised to mitigate these challenges by training a small set of parameters for the task-specific updates of the model weights. Among PEFT methods, LoRA stands out for its simplicity and efficiency, inspiring the development of a series of variants. However, LoRA and its successors disregard the knowledge that is noisy or irrelevant to the targeted task, detrimentally impacting model performance and leading to suboptimality. To address this limitation, we introduce Knowledgeaware Singular-value Adaptation (KaSA), a PEFT method that leverages singular value decomposition (SVD) with knowledge-aware singular values to dynamically activate knowledge based on its relevance to the task at hand. We conduct extensive experiments across a range of LLMs on tasks spanning natural language understanding (NLU), generation (NLG), instruction following, and commonsense reasoning. The experimental results demonstrate that KaSA consistently outperforms FFT and 14 popular PEFT baselines across 16 benchmarks and 4 synthetic datasets, underscoring our method's efficacy and adaptability. The source code of our method is available at https://github.com/juyongjiang/KaSA.

For agents

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

get_harvested_code_for_paper("2412.06071")
get_code_for_paper("2412.06071")
have("2412.06071")

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

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

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

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

Connect an agent — have() is free.