Papers › ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic...

ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretation

24 Mar 2023arXiv:2303.13716archive 2025-07-28

Zhengxuan Wu, Christopher D. Manning, Christopher Potts

Compositional generalization benchmarks for semantic parsing seek to assess whether models can accurately compute meanings for novel sentences, but operationalize this in terms of logical form (LF) prediction. This raises the concern that semantically irrelevant details of the chosen LFs could shape model performance. We argue that this concern is realized for the COGS benchmark. COGS poses generalization splits that appear impossible for present-day models, which could be taken as an indictment of those models. However, we show that the negative results trace to incidental features of COGS LFs. Converting these LFs to semantically equivalent ones and factoring out capabilities unrelated to semantic interpretation, we find that even baseline models get traction. A recent variable-free translation of COGS LFs suggests similar conclusions, but we observe this format is not semantically equivalent; it is incapable of accurately representing some COGS meanings. These findings inform our proposal for ReCOGS, a modified version of COGS that comes closer to assessing the target semantic capabilities while remaining very challenging. Overall, our results reaffirm the importance of compositional generalization and careful benchmark task design.

PaperPDFCodeCode 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="2303.13716")

Code

Syntology Ran 3 of 17 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

frankaging/recogs officialmentioned in papermentioned on GitHubpytorchMIT 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

17 samples harvested; 3 ran; 1 honoured the contract we drafted; 14 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.

1ran · honoured contract
1ran · our draft was wrong
1ran
14unverified

Licence: 0 of the 17 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 frankaging/recogs. “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.

convert_to_unicode frankaging/recogs/utils/cogs_utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 1923fc05163d207d · report
count_parameters frankaging/recogs/utils/train_utils.py official repository ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report
shift_tokens_right frankaging/recogs/model/encoder_decoder_hf.py official repository ran fingerprinted MIT (permissive) · e8d638fc7fcbd760 · report
batch_seqs frankaging/recogs/model/utils.py official repository unverified MIT (permissive) · 7841344d2c132f93 · report
check_equal frankaging/recogs/utils/train_utils.py official repository unverified MIT (permissive) · 08a756eeb043f7aa · report
convert_tokens_to_ids frankaging/recogs/utils/cogs_utils.py official repository unverified MIT (permissive) · 77cd2351bbed5eb8 · report
find_partition_name frankaging/recogs/utils/train_utils.py official repository unverified MIT (permissive) · d2f4c731ba69dd87 · report
get_variables frankaging/recogs/utils/compgen.py official repository unverified MIT (permissive) · 9fdcd9a413fc4474 · report
glove2dict frankaging/recogs/utils/cogs_utils.py official repository unverified MIT (permissive) · 391e25f784c4b3ab · report
normalize_formula frankaging/recogs/utils/compgen.py official repository unverified MIT (permissive) · 4238500570113b66 · report
parse_mod frankaging/recogs/utils/second_looks_utils.py official repository unverified MIT (permissive) · 8fd64e63f46f76c5 · report
parse_np frankaging/recogs/utils/second_looks_utils.py official repository unverified MIT (permissive) · 36dc966583c11967 · report
parse_pred frankaging/recogs/utils/second_looks_utils.py official repository unverified MIT (permissive) · db14bfe5332e0d50 · report
recogs_exact_match frankaging/recogs/utils/compgen.py official repository unverified MIT (permissive) · f7197de9fafe9395 · report
round_up_to_even frankaging/recogs/model/encoder_decoder_hf.py official repository unverified MIT (permissive) · e77f977224dbc207 · report
trim frankaging/recogs/model/utils.py official repository unverified MIT (permissive) · 0ff22e14159fcfd0 · report
weight_top_p frankaging/recogs/model/utils.py official repository unverified MIT (permissive) · eedb78f0f2e7f4e9 · report

Tasks

FormSemantic Parsing

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