Learning Representations Through Contrastive Neural Model Checking
Krsmanovic, Vladimir, Cosler, Matthias, Ghanem, Mohamed, Finkbeiner, Bernd
–arXiv.org Artificial Intelligence
Model checking is a key technique for verifying safety-critical systems against formal specifications, where recent applications of deep learning have shown promise. However, while ubiquitous for vision and language domains, representation learning remains underexplored in formal verification. We introduce Contrastive Neural Model Checking (CNML), a novel method that leverages the model checking task as a guiding signal for learning aligned representations. CNML jointly embeds logical specifications and systems into a shared latent space through a self-supervised contrastive objective. On industry-inspired retrieval tasks, CNML considerably outperforms both algorithmic and neural baselines in cross-modal and intra-modal settings. We further show that the learned representations effectively transfer to downstream tasks and generalize to more complex formulas. These findings demonstrate that model checking can serve as an objective for learning representations for formal languages.
arXiv.org Artificial Intelligence
Oct-7-2025
- Country:
- Africa > Rwanda
- Asia
- Europe
- Austria > Vienna (0.14)
- Croatia
- Dubrovnik-Neretva County > Dubrovnik (0.04)
- Zagreb County > Zagreb (0.04)
- Italy (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Russia > Northwestern Federal District
- Leningrad Oblast > Saint Petersburg (0.04)
- Slovenia > Drava
- Municipality of Benedikt > Benedikt (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- North America
- Canada
- British Columbia > Vancouver (0.04)
- Ontario > Hamilton (0.04)
- Dominican Republic (0.04)
- United States
- California
- Alameda County > Berkeley (0.04)
- Los Angeles County
- Long Beach (0.04)
- Pasadena (0.04)
- San Diego County > San Diego (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Maryland > Baltimore (0.04)
- Massachusetts (0.04)
- Rhode Island > Providence County
- Providence (0.04)
- Texas > Travis County
- Austin (0.04)
- California
- Canada
- Genre:
- Instructional Material (0.94)
- Research Report > New Finding (0.48)
- Industry:
- Information Technology (0.47)