Papers › KALA: Knowledge-Augmented Language Model Adaptation

KALA: Knowledge-Augmented Language Model Adaptation

22 Apr 2022NAACL 2022 7arXiv:2204.10555archive 2025-07-28

Minki Kang, Jinheon Baek, Sung Ju Hwang

Pre-trained language models (PLMs) have achieved remarkable success on various natural language understanding tasks. Simple fine-tuning of PLMs, on the other hand, might be suboptimal for domain-specific tasks because they cannot possibly cover knowledge from all domains. While adaptive pre-training of PLMs can help them obtain domain-specific knowledge, it requires a large training cost. Moreover, adaptive pre-training can harm the PLM's performance on the downstream task by causing catastrophic forgetting of its general knowledge. To overcome such limitations of adaptive pre-training for PLM adaption, we propose a novel domain adaption framework for PLMs coined as Knowledge-Augmented Language model Adaptation (KALA), which modulates the intermediate hidden representations of PLMs with domain knowledge, consisting of entities and their relational facts. We validate the performance of our KALA on question answering and named entity recognition tasks on multiple datasets across various domains. The results show that, despite being computationally efficient, our KALA largely outperforms adaptive pre-training. Code is available at: https://github.com/Nardien/KALA/.

PaperPDFConference PDFCodeCode 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="2204.10555")

Code

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

By repository: found in paper text by Syntology: 16 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.

nardien/kala 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

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

16unverified

Licence: 0 of the 16 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 rusty1s/pytorch_scatter. “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.

bold rusty1s/pytorch_scatter/benchmark/scatter_segment.py found in paper text by Syntology unverified MIT (permissive) · b3c87119122db68e · report
broadcast rusty1s/pytorch_scatter/torch_scatter/utils.py found in paper text by Syntology unverified MIT (permissive) · 5dd38da29766376b · report
scatter_add rusty1s/pytorch_scatter/torch_scatter/scatter.py found in paper text by Syntology unverified MIT (permissive) · 865555a5b2967160 · report
scatter_arg_placeholder rusty1s/pytorch_scatter/torch_scatter/placeholder.py found in paper text by Syntology unverified MIT (permissive) · fb9b382e50fdaaea · report
scatter_mul rusty1s/pytorch_scatter/torch_scatter/scatter.py found in paper text by Syntology unverified MIT (permissive) · 669f6da105b0c7e0 · report
scatter_placeholder rusty1s/pytorch_scatter/torch_scatter/placeholder.py found in paper text by Syntology unverified MIT (permissive) · 9a4c77eb3ae0b358 · report
scatter_sum rusty1s/pytorch_scatter/torch_scatter/scatter.py found in paper text by Syntology unverified MIT (permissive) · 5a1b967aebe67ca2 · report
segment_add_coo rusty1s/pytorch_scatter/torch_scatter/segment_coo.py found in paper text by Syntology unverified MIT (permissive) · 62682a1d5299574b · report
segment_add_csr rusty1s/pytorch_scatter/torch_scatter/segment_csr.py found in paper text by Syntology unverified MIT (permissive) · 2fd5fa44ec7ca893 · report
segment_csr_placeholder rusty1s/pytorch_scatter/torch_scatter/placeholder.py found in paper text by Syntology unverified MIT (permissive) · 7b606ef61cca7d85 · report
segment_mean_coo rusty1s/pytorch_scatter/torch_scatter/segment_coo.py found in paper text by Syntology unverified MIT (permissive) · 92620b8f31917880 · report
segment_mean_csr rusty1s/pytorch_scatter/torch_scatter/segment_csr.py found in paper text by Syntology unverified MIT (permissive) · b1bae3eea035dede · report
segment_sum_coo rusty1s/pytorch_scatter/torch_scatter/segment_coo.py found in paper text by Syntology unverified MIT (permissive) · ae435f7069b6353d · report
segment_sum_csr rusty1s/pytorch_scatter/torch_scatter/segment_csr.py found in paper text by Syntology unverified MIT (permissive) · 698fcf43ba296493 · report
tensor rusty1s/pytorch_scatter/torch_scatter/testing.py found in paper text by Syntology unverified MIT (permissive) · 5299d175b3a523b3 · report
time_func rusty1s/pytorch_scatter/benchmark/scatter_segment.py found in paper text by Syntology unverified MIT (permissive) · 861d3ec00dfdf4aa · report

Tasks

Domain AdaptationGeneral KnowledgeLanguage ModelingLanguage ModellingNamed Entity RecognitionNamed Entity Recognition (NER)Natural Language UnderstandingQuestion Answeringmodelnamed-entity-recognition

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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