SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.08565 · 2024

Tuning Language Models by Proxy

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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; 8 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2401.08565.json · badge: /api/ran/2401.08565.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
alisawuffles/proxy-tuning canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
add_pad_token Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/eval/utils.py
pointer only (licence: NONE) · get_code("8f75e8446b4e0440")
How it ran

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

create_prompt_with_llama2_chat_format Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/eval/templates.py
pointer only (licence: NONE); the stored copy get_code serves, from clinicalml/co-llm, is pointer only (licence: NONE) · get_code("20ca9ae3db782b7e")
How it ran

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

encode_with_messages_format Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/open_instruct/finetune.py
pointer only (licence: NONE) · get_code("1cb0eeb16cf04ee3")
How it ran

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

encode_with_prompt_completion_format Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/open_instruct/finetune.py
pointer only (licence: NONE) · get_code("88b8bf1223d522a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alisawuffles/proxy-tuning 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_completions Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alisawuffles/proxy-tuning/eval/utils.py
pointer only (licence: NONE) · get_code("b304416cbba64cb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alisawuffles/proxy-tuning 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_equation_lhs_rhs_indices Ran
ran, honoured the contract we drafted
alisawuffles/proxy-tuning/analysis/gsm_analysis.py
pointer only (licence: NONE) · get_code("a151b8d96cbc70e8")
How it ran

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

load_lm_and_tokenizer Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/eval/utils.py
pointer only (licence: NONE) · get_code("e0ffc0f49d6c9840")
How it ran

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

read_problems Ran
ran; our contract draft was wrong, not the code
alisawuffles/proxy-tuning/eval/codex_humaneval/data.py
pointer only (licence: NONE) · get_code("776a712a353130e7")
How it ran

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

summarize_results Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alisawuffles/proxy-tuning/analysis/utils.py
pointer only (licence: NONE) · get_code("ec1ba7666d388b75")
How it ran

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

flatten_batch_results Not yet run
unverified (harvested, no recorded run)
alisawuffles/proxy-tuning/analysis/utils.py
pointer only (licence: NONE) · get_code("11c267e7913fc8dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alisawuffles/proxy-tuning 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 4 the same month, 4 later) and 6 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
read_problems 10 other papers
1 dated earlier, 2 the same month, 7 later
2310.20329 (2023-10)
InstructCoder: Instruction Tuning Large Language Models for Code Editing
2401.14196 (2024-01)
DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
and 7 more not named here
encode_with_prompt_completion_format 9 other papers
2 dated earlier, 3 the same month, 4 later
2311.05657 (2023-11)
Agent Lumos: Unified and Modular Training for Open-Source Language Agents
2312.07540 (2023-12)
diff History for Neural Language Agents
2401.10768 (2024-01)
Knowledge Verification to Nip Hallucination in the Bud
and 6 more not named here
encode_with_messages_format 8 other papers
3 dated earlier, 2 the same month, 3 later
2310.08491 (2023-10)
Prometheus: Inducing Fine-grained Evaluation Capability in Language Models
2310.11511 (2023-10)
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
2311.05657 (2023-11)
Agent Lumos: Unified and Modular Training for Open-Source Language Agents
and 5 more not named here
create_prompt_with_llama2_chat_format 6 other papers
2 the same month, 4 later
2401.10768 (2024-01)
Knowledge Verification to Nip Hallucination in the Bud
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
2403.03870 (2024-03)
Learning to Decode Collaboratively with Multiple Language Models
and 3 more not named here

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Despite the general capabilities of large pretrained language models, they consistently benefit from further adaptation to better achieve desired behaviors. However, tuning these models has become increasingly resource-intensive, or impossible when model weights are private. We introduce proxy-tuning, a lightweight decoding-time algorithm that operates on top of black-box LMs to achieve the same end as direct tuning, but by accessing only its predictions over the output vocabulary, not its parameters. Our method tunes a smaller LM, then applies the difference between the predictions of the small tuned and untuned LMs to shift the original predictions of the larger untuned model in the direction of tuning, while retaining the benefits of larger-scale pretraining. In experiments, when we apply proxy-tuning to Llama2-70B using proxies of only 7B size, we can close 88% of the gap between Llama2-70B and its truly-tuned chat version, when evaluated across knowledge, reasoning, and safety benchmarks. We then demonstrate the generality of proxy-tuning by applying it to domain adaptation on code, and task-specific finetuning on question-answering and math problems. Finally, we show how to proxy-tune a truly black-box LM, GPT-3.5, for temporal adaptation, increasing its knowledge about recent events. Our work demonstrates the promise of using small tuned LMs to efficiently customize large, potentially proprietary LMs through decoding-time guidance.

For agents

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

get_harvested_code_for_paper("2401.08565")
get_code_for_paper("2401.08565")
have("2401.08565")

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

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

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

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

Connect an agent — have() is free.