ALIAS: Evaluating Performance and Memorization in LLM-Written TLA+ Specifications
Arslan Bisharat, Mujtaba Nazari, Khushboo Bhadauria, Brian Ortiz, Eric Spencer, Beatriz Santos, TaiNing Wang, George K. Thiruvathukal,
Key points
From the paper's conclusion- 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.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TLAssess: A Model-Checking Oracle and Calibration-Gated Scoring Framework for Verified Concurrency-Protocol AssessmentElectronics · 2026
- Test-Time Symmetrization: Scaling Laws for Model-Agnostic Learning under StructurearXiv · 2026
- Prior Aware Memorization: An Efficient Metric for Distinguishing Memorization from Generalization in Large Language ModelsOpen MIND · 2026
- Robustness of LLM-Generated SystemVerilog Assertions to Semantics-Preserving RTL TransformationsarXiv · 2026
- Learning from Mutants: Teaching Small Language Models to Synthesise Loop InvariantsarXiv · 2026
- FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic SemanticsarXiv · 2026