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, Konstantin Laufer, Mohammed Abuhamad
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.SE
- Comments
- 19 pages (8 main + appendix), 6 figures, 9 tables. Code and data: https://github.com/LUC-AI4FM/ALIAS
Related papers
LUCID: Statistically Grounded Self-Correction for LLM Reasoning Evaluation
Shared title terminologycs.CLSatiyabooshan Murugaboopathy, Adel Daoud, Connor T. Jerzak
PRIMEAPE: A Multilingual Benchmark for Fine-Grained Meta-Evaluation of Judge Models
Shared title terminologycs.CLVladislav Mikhailov, Sarfraz Ahmad, Momina Ahsan et al.
Synthetic Twins: Closing the Gap Between TTS Test Sets and Real Recordings in Turkish ASR Evaluation
Shared title terminologycs.CLNur Yağmur Tuncer, Mustafa Sertaç Türkel, Fatma Nur Korkmaz et al.
Rethinking the Evaluation of Contrastive Decoding for Hallucination Mitigation in Multimodal Large Language Models
Shared title terminologycs.CLTing Chen, Geng Li, Guohao Chen et al.
Evaluating Persona Consistency in LLM User Simulators Without External Reference Annotations
Shared title terminologycs.CLAnping Zhang, Yang Tan, Yipeng Liu et al.
FiRE: Fine-grained Ranking Evaluation for Machine Translation
Shared title terminologycs.CLWenyang Gao, Yinghao Yang, Xi Jin et al.