English

Towards Bridging Formal Methods and Human Interpretability

Software Engineering 2025-06-12 v1

Abstract

Labeled Transition Systems (LTS) are integral to model checking and design repair tools. System engineers frequently examine LTS designs during model checking or design repair to debug, identify inconsistencies, and validate system behavior. Despite LTS's significance, no prior research has examined human comprehension of these designs. To address this, we draw on traditional software engineering and graph theory, identifying 7 key metrics: cyclomatic complexity, state space size, average branching factor, maximum depth, Albin complexity, modularity, and redundancy. We created a dataset of 148 LTS designs, sampling 48 for 324 paired comparisons, and ranked them using the Bradley-Terry model. Through Kendall's Tau correlation analysis, we found that Albin complexity (τ=0.444\tau = 0.444), state space size (τ=0.420\tau = 0.420), cyclomatic complexity (τ=0.366\tau = 0.366), and redundancy (τ=0.315\tau = 0.315) most accurately reflect human comprehension of LTS designs. To showcase the metrics' utility, we applied the Albin complexity metric within the Fortis design repair tool, ranking system redesigns. This ranking reduced annotators' comprehension time by 39\%, suggesting that metrics emphasizing human factors can enhance formal design interpretability.

Keywords

Cite

@article{arxiv.2506.09759,
  title  = {Towards Bridging Formal Methods and Human Interpretability},
  author = {Abhijit Paul and Proma Chowdhury and Kazi Sakib},
  journal= {arXiv preprint arXiv:2506.09759},
  year   = {2025}
}

Comments

Need to improve data annotation process in methodology section

R2 v1 2026-07-01T03:11:19.112Z