TLAssess: A Model-Checking Oracle and Calibration-Gated Scoring Framework for Verified Concurrency-Protocol Assessment
Justinas Janulevičius, Antanas Čenys
Key points
From the paper's conclusion- We generate verified item banks for mutual exclusion, two-phase commit, and single-decree consensus, and administer them to a five-checkpoint Qwen2.5 ladder.
Abstract
Assessing whether someone understands a concurrency protocol faces two obstacles: ensuring the test’s own answer key is correct and separating real understanding from a lucky guess. We present TLAssess, in which an independent model checker decides every answer’s correctness. Each protocol is modelled as a transition system, and each candidate answer as a temporal-logic proposition whose truth over the reachable state space is decided by the model checker TLC; an item is admitted only when exactly one option, the key, holds. On this verified substrate, we build a scoring layer that reports calibration (Cal) and information (Info) as a pair, with a calibration gate under which a respondent is credited only when both informative and calibrated. We generate verified item banks for mutual exclusion, two-phase commit, and single-decree consensus, and administer them to a five-checkpoint Qwen2.5 ladder. Accuracy rises with model size, but the gap between items read off the specification and inference items widens, while inference accuracy, read from first-token logprobs, shows no detectable departure from chance and falls below it for the smallest model; that confidence signal is uniformly over-sharp and is recovered, in-sample, by a single temperature rescaling. A second model family reproduces the calibration result but not the accuracy result, which proves to depend on the first-token probe, so these findings describe this probe and these families rather than language models in general. All specifications, seeds, banks, and the pinned checker are released.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Consistency Is Not Correction: Separating Confidence, Abstention, and Recovery in LLM AgentsarXiv · 2026
- TLAPS-Bench: Formally Proving Correctness of Real-World System Specifications with TLA+ Proof SystemarXiv · 2026
- Benchmarks' Last ExamarXiv · 2026
- Provenance-Isolated Epistemic Quorums: Execution-Bound Evidence Certification and Plausible-World Safety Gating in Agentic Control PlanesarXiv · 2026
- A Trust Layer for Agent EvaluationarXiv · 2026
- ALIAS: Evaluating Performance and Memorization in LLM-Written TLA+ SpecificationsarXiv · 2026