Papers › The Format Tax

The Format Tax

4 Apr 2026arXiv:2604.03616added by Syntology

Ivan Yee Lee, Loris D'Antoni, Taylor Berg-Kirkpatrick

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Asking a large language model to respond in JSON should be a formatting choice, not a capability tax. Yet we find that structured output requirements -- JSON, XML, LaTeX, Markdown -- substantially degrade reasoning and writing performance across open-weight models. The research response has focused on constrained decoding, but sampling bias accounts for only a fraction of the degradation. The dominant cost enters at the prompt: format-requesting instructions alone cause most of the accuracy loss, before any decoder constraint is applied. This diagnosis points to a simple principle: decouple reasoning from formatting. Whether by generating freeform first and reformatting in a second pass, or by enabling extended thinking within a single generation, separating the two concerns substantially recovers lost accuracy. Across six open-weight models, four API models, four formats, and tasks spanning math, science, logic, and writing, decoupling recovers most lost accuracy. Notably, most recent closed-weight models show little to no format tax, suggesting the problem is not inherent to structured generation but a gap that current open-weight models have yet to close. Code is available at https://github.com/ivnle/the-format-tax.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 19 code samples harvested from 1 repository linked to this paper: 15 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 13 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 15 ran (2 with no instrument failure; 13 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ivnle/the-format-tax found in paper text by SyntologySyntology: 19 samples, 15 ran (13 instrument-failed) · 4 unverified report

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

19 samples harvested: 15 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 13 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
1ran · violated contract
12ran · our draft was wrong
1ran; the contract check could not run
4unverified

Licence: 19 of the 19 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 ivnle/the-format-tax. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

ivnle/the-format-tax found in paper text by Syntology 19 samples, 15 ran (13 instrument-failed) · 4 unverified
check in 38 papers
census: 5 implementations from 6 papers, 4 distinct outputs across 4 buckets, one shared input per bucket
dev/check_reference_contract.py ran · honoured contract licence not identified · pointer only · 0d866330a7b461b5 · report fixture: signature summary:list/1/dict · returned list · level recorded 2026-09-25
compute_accuracies in 5 papers dev/make_hero_b_v3.py ran · our draft was wrong licence not identified · pointer only · a71d2c32270ced76 · report fixture: signature ds:dict/0/? · returned dict · level recorded 2026-09-25
extract_answer in 112 papers formats/freeform.py ran · our draft was wrong licence not identified · pointer only · d093f593ac440765 · report fixture: signature raw_output:str/0/str, task_fallback_extractor:callable/0/? · returned str · level recorded 2026-09-25
extract_answer_from_json extraction.py ran · our draft was wrong licence not identified · pointer only · e3bb693199ecfcd7 · report fixture: signature response_text:str/0/str, answer_path:list/1/str · returned str · level recorded 2026-09-25
extract_answer_from_lark extraction.py ran · our draft was wrong licence not identified · pointer only · 1197fd728352fa6b · report fixture: signature response_text:str/0/str, grammar:str/0/str, answer_path:list/1/str, timeout_seconds:int/0/int · returned str · level recorded 2026-09-25
extract_json_payload extraction.py ran · our draft was wrong licence not identified · pointer only · 4b67385fc82890d1 · report fixture: signature response_text:str/0/str · returned dict · level recorded 2026-09-25
load_cache in 13 papers judge.py ran · our draft was wrong licence not identified · pointer only · 51052e8e0a123f28 · report fixture: signature path:PosixPath/0/? · returned dict · level recorded 2026-09-25
make_figure dev/make_hero_b_v3.py ran · our draft was wrong licence not identified · pointer only · 6e229aa8dcd4b085 · report fixture: signature per_split_accs:dict/0/? · returned Figure · level recorded 2026-09-25
parse_verdict judge.py ran · violated contract licence not identified · pointer only · 482e09e885721743 · report fixture: signature text:str/0/str · returned bool · level recorded 2026-09-25
reasoning_parser_for_model prompting.py ran · our draft was wrong fingerprinted licence not identified · pointer only · 7a0cf15e315c834b · report fixture: signature model_name:str/0/str, enable_thinking:bool/0/bool · returned str · level recorded 2026-09-25
resolve_task_name prompting.py ran · our draft was wrong licence not identified · pointer only · 7ae63bd46185183a · report fixture: signature task_instruction:str/0/str · returned str · level recorded 2026-09-25
structured_outputs_config prompting.py ran; the contract check could not run (DEP_MISSING) licence not identified · pointer only · 78d0778dc821ceda · report fixture: signature model_name:str/0/str, enable_thinking:bool/0/bool · returned dict · level recorded 2026-09-25
thinking_leak_report dev/show_triple.py ran · our draft was wrong fingerprinted licence not identified · pointer only · fbd3a8b65169f401 · report fixture: signature raw_output:str/0/str · returned list · level recorded 2026-09-25
truncate in 26 papers dev/show_triple.py ran · our draft was wrong fingerprinted licence not identified · pointer only · 3c3f8b68575a2689 · report fixture: signature s:str/0/str, n:int/0/int · returned str · level recorded 2026-09-25
truncate_question dev/show_prompts.py ran · our draft was wrong fingerprinted licence not identified · pointer only · 30ab11c69f399d38 · report fixture: signature text:str/0/str, max_chars:int/0/int · returned str · level recorded 2026-09-25
load_grammar formats/freeform.py unverified licence not identified · pointer only · 8e830a574bd4691b · report
load_grammar formats/json.py unverified licence not identified · pointer only · c45da0b30c908786 · report
load_grammar formats/latex.py unverified licence not identified · pointer only · 97c1e520f5f3fc3a · report
load_state in 19 papers judge_openai.py unverified licence not identified · pointer only · 87f8ee9796f65776 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.03616, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 2 leaderboards (a model's judgement, not a result) and has not placed the paper on any of them: task not recorded in the archive · GPQA (rejected by the independent check); Math Word Problem Solving · MATH (rejected by the independent check). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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