ALIAS: Evaluating Performance and Memorization in LLM-Written TLA+ Specifications
Not on the map. Why?
Abstract (arXiv)
Memorization inflates the benchmark scores of large language models (LLMs), since a model can reproduce answers it saw in training. Researchers test for it with consistent identifier renaming (CIR), which gives every identifier in a task a new name, and treat a lower score on the renamed task as evidence of recall. We test this method on the Temporal Logic of Actions Plus (TLA+) language, whose model checker acts as an oracle by confirming whether a renamed task preserves the exact behaviors of the original. Across 111 TLA+-Bench tasks, renaming lowers the correctness of Claude Opus 4.8 from 28% to 18% and of GPT-5 from 9% to 7%. Most of this decrease comes from how the test grades, which requires exact names that most descriptions never state. Grading by behavior shrinks the decrease to about 3 percentage points for Opus 4.8 and to 0 for GPT-5. In two model families fine-tuned on disjoint halves of the tasks, renaming removes about half of the training gain in likelihood and costs 4.9 percentage points (Qwen) and 1.3 percentage points (Gemma) on unseen tasks. A lower score after renaming therefore mixes memorization, name-based grading, and the cost of new names.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 21 of its 38 references that are in the map. Submitted 21 Oct 2026.
Builds on
21 of 38 references.
References · 21
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 265
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 251
- 2022Data Contamination: From Memorization to Exploitationcited by 243
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 114
- 2024Investigating Data Contamination for Pre-training Language Modelscited by 99
- 2022Natural Attack for Pre-trained Models of Codecited by 78
- 2024Quantifying Contamination in Evaluating Code Generation Capabilities of Language Modelscited by 72
- 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 66
- 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 47
- 2024On Leakage of Code Generation Evaluation Datasetscited by 37
9 more
- 2025Putnam-AXIOM: A Functional and Static Benchmark for Measuring Higher Level Mathematical Reasoning in LLMscited by 12
- 2025When Names Disappear: Revealing What LLMs Actually Understand About Codecited by 7
- 2024CodeFort: Robust Training for Code Generation Modelscited by 5
- 2026ExVerus: Verus Proof Repair via Counterexample Reasoningcited by 5
- 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systemscited by 4
- 2026Can LLMs Write Correct TLA+ Specifications? Evaluating Natural-Language-to-TLA+ Generationcited by 3
- 2026TLA+-Bench: An Execution-Grounded Benchmark and Dataset for Natural-Language to TLA Specification Generationcited by 2
- 2026A Metamorphic Testing Approach to Diagnosing Memorization in LLM-Based Program Repaircited by 1
- 2026Evaluating the Architectural Reasoning Capabilities of LLM Provers via the Obfuscated Natural Number Gamecited by 1
Built on by
Not cited yet.