English

Iterative Circuit Repair Against Formal Specifications

Machine Learning 2023-03-03 v1 Logic in Computer Science

Abstract

We present a deep learning approach for repairing sequential circuits against formal specifications given in linear-time temporal logic (LTL). Given a defective circuit and its formal specification, we train Transformer models to output circuits that satisfy the corresponding specification. We propose a separated hierarchical Transformer for multimodal representation learning of the formal specification and the circuit. We introduce a data generation algorithm that enables generalization to more complex specifications and out-of-distribution datasets. In addition, our proposed repair mechanism significantly improves the automated synthesis of circuits from LTL specifications with Transformers. It improves the state-of-the-art by 6.86.8 percentage points on held-out instances and 11.811.8 percentage points on an out-of-distribution dataset from the annual reactive synthesis competition.

Keywords

Cite

@article{arxiv.2303.01158,
  title  = {Iterative Circuit Repair Against Formal Specifications},
  author = {Matthias Cosler and Frederik Schmitt and Christopher Hahn and Bernd Finkbeiner},
  journal= {arXiv preprint arXiv:2303.01158},
  year   = {2023}
}

Comments

To appear at ICLR'23

R2 v1 2026-06-28T08:56:40.955Z