SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.22213 · ICML · 2026

SPA: A Simple but Tough-to-Beat Baseline for Knowledge Injection

Kaifeng Lyu, Shaowen Wang, Kexian Tang, Jiani Wang

arXiv · PDF · Open in the Atlas

Code that ran

6 of 11 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; 5 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2603.22213.json · badge: /api/ran/2603.22213.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
Tangkexian/SPA canonical (classifier label)
classifier basis: census
6 ran · 5 no recorded run
FunctionStatusWhere it lives
alleq Ran
ran; our contract draft was wrong, not the code
Tangkexian/SPA/src/utils_tools/python_utils.py
pointer only (licence: NONE) · get_code("9a7cf5feb8b5a38e")
How it ran

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

format_name Ran
ran; our contract draft was wrong, not the code
Tangkexian/SPA/src/utils_tools/prompt_utils.py
pointer only (licence: NONE) · get_code("a6ce1f529ec84c5d")
How it ran

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

jload Ran
ran; our contract draft was wrong, not the code
Tangkexian/SPA/src/utils_tools/io_utils.py
pointer only (licence: NONE) · get_code("d07d04439cd1d44f")
How it ran

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

round_dict_values Ran
ran; our contract draft was wrong, not the code
Tangkexian/SPA/src/utils_tools/io_utils.py
pointer only (licence: NONE) · get_code("6d5f6f5924625234")
How it ran

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

second_last_character Ran
ran, honoured the contract we drafted
Tangkexian/SPA/src/utils_tools/prompt_utils.py
pointer only (licence: NONE) · get_code("3115fb31c4023373")
How it ran

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

uncapitalize_first Ran
ran; our contract draft was wrong, not the code
Tangkexian/SPA/src/utils_tools/prompt_utils.py
pointer only (licence: NONE) · get_code("b96d28b695619968")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tangkexian/SPA 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 Not yet run
unverified (harvested, no recorded run)
Tangkexian/SPA/src/utils_tools/utils.py
pointer only (licence: NONE) · get_code("6ae4b99874db95f6")
How it ran

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

jload_list Not yet run
unverified (harvested, no recorded run)
Tangkexian/SPA/src/utils_tools/io_utils.py
pointer only (licence: NONE) · get_code("d6d25a00486cb0a3")
How it ran

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

load_adapter Not yet run
unverified (harvested, no recorded run)
Tangkexian/SPA/src/utils_tools/utils.py
pointer only (licence: NONE) · get_code("d15dd92cea5fb907")
How it ran

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

read Not yet run
unverified (harvested, no recorded run)
Tangkexian/SPA/src/utils_tools/python_utils.py
pointer only (licence: NONE) · get_code("0cc00af6d58514f4")
How it ran

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

unload_adapter Not yet run
unverified (harvested, no recorded run)
Tangkexian/SPA/src/utils_tools/utils.py
pointer only (licence: NONE) · get_code("99ac8a9b46747503")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Tangkexian/SPA 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 1 later) and 3 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
jload 46 other papers
44 dated earlier, 2 later
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2305.13068 (2023-05)
Making Language Models Better Tool Learners with Execution Feedback
and 43 more not named here
alleq 2 other papers
2 dated earlier
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2409.07431 (2024-09)
Synthetic continued pretraining
jload_list 2 other papers
2 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining
2601.05635 (2026-01)
Continual Pretraining on Encrypted Synthetic Data for Privacy-Preserving LLMs
format_name 1 other paper
1 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining
read 1 other paper
1 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining
round_dict_values 1 other paper
1 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining
second_last_character 1 other paper
1 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining
uncapitalize_first 1 other paper
1 dated earlier
2409.07431 (2024-09)
Synthetic continued pretraining

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

While large language models (LLMs) are pretrained on massive amounts of data, their knowledge coverage remains incomplete in specialized, data-scarce domains, motivating extensive efforts to study synthetic data generation for knowledge injection. We propose SPA (Scaling Promptengineered Augmentation), a simple but tough-tobeat baseline that uses a small set of carefully designed prompts to generate large-scale synthetic data for knowledge injection. Through systematic comparisons, we find that SPA outperforms several strong baselines. Furthermore, we identify two key limitations of prior approaches: (1) while RL-based methods may improve the token efficiency of LLM-based data augmentation at small scale, they suffer from diversity collapse as data scales, leading to diminishing returns; and (2) while multi-stage prompting may outperform simple augmentation methods, their advantages can disappear after careful prompt tuning. Our results suggest that, for knowledge injection, careful prompt design combined with straightforward large-scale augmentation can be surprisingly effective, and we hope SPA can serve as a strong baseline for future studies in this area. Our code is available at https://github.com/Tangkexian/SPA.

For agents

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

get_harvested_code_for_paper("2603.22213")
get_code_for_paper("2603.22213")
have("2603.22213")

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

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

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

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

Connect an agent — have() is free.