SysMoBench: Evaluating AI on Formally Specifying Complex Real-World Systems

Abstract

Formal models are essential to specifying large, complex computer systems and verifying their correctness, but are notoriously expensive to write and maintain. Recent advances in generative AI show promise in generating certain forms of specifications. However, existing work mostly targets small programs, not complete systems. It is unclear whether AI can deal with realistic system artifacts, as this requires abstracting their complex behavioral properties into formal models. We present SysMoBench, a benchmark that evaluates AI's ability to formally model large, complex systems. We focus on concurrent and distributed systems, which are keystones of today's critical infrastructure, encompassing operating systems and cloud infrastructure. We focus on TLA+, the de facto specification language for concurrent and distributed systems, though SysMoBench has been extended to other languages. We address the primary challenge of evaluating AI-generated models by automating metrics like syntactic and runtime correctness, conformance to system code, and invariant correctness. SysMoBench currently includes eleven diverse system artifacts: the Raft implementation of Etcd and Redis, ZooKeeper's leader election, the Spinlock, Mutex, and Ringbuffer in Asterinas OS, etc., with more being added. SysMoBench enables us to understand the capabilities and limitations of today's LLMs and agents, providing a firm footing for tools in this area and opening up promising new research directions.

Cite

Text

Cheng et al. "SysMoBench: Evaluating AI on Formally Specifying Complex Real-World Systems." International Conference on Learning Representations, 2026.

Markdown

[Cheng et al. "SysMoBench: Evaluating AI on Formally Specifying Complex Real-World Systems." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/cheng2026iclr-sysmobench/)

BibTeX

@inproceedings{cheng2026iclr-sysmobench,
  title     = {{SysMoBench: Evaluating AI on Formally Specifying Complex Real-World Systems}},
  author    = {Cheng, Qian and Tang, Ruize and Ma, Emilie and Hackett, Finn and He, Peiyang and Su, Yiming and Beschastnikh, Ivan and Huang, Yu and Ma, Xiaoxing and Xu, Tianyin},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/cheng2026iclr-sysmobench/}
}