mlsanityData to 14 Oct 2026

Circuit Transformer: A Transformer That Preserves Logical Equivalence

arXiv 2403.13838 ↗First posted 14 Mar 2024cs.LG cs.ARcited by 5

Not on the map. Why?

Abstract (arXiv)

Implementing Boolean functions with circuits consisting of logic gates is fundamental in digital computer design. However, the implemented circuit must be exactly equivalent, which hinders generative neural approaches on this task due to their occasionally wrong predictions. In this study, we introduce a generative neural model, the "Circuit Transformer", which eliminates such wrong predictions and produces logic circuits strictly equivalent to given Boolean functions. The main idea is a carefully designed decoding mechanism that builds a circuit step-by-step by generating tokens, which has beneficial "cutoff properties" that block a candidate token once it invalidate equivalence. In such a way, the proposed model works similar to typical LLMs while logical equivalence is strictly preserved. A Markov decision process formulation is also proposed for optimizing certain objectives of circuits. Experimentally, we trained an 88-million-parameter Circuit Transformer to generate equivalent yet more compact forms of input circuits, outperforming existing neural approaches on both synthetic and real world benchmarks, without any violation of equivalence constraints.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 16 of its 51 references that are in the map. First posted on arXiv 14 Mar 2024.

Builds on

16 of 51 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018Attention, Learn to Solve Routing Problems!cited by 656
  3. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
  4. 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
  5. 2024BetterV: Controlled Verilog Generation with Discriminative Guidancecited by 100
  6. 2021Machine Learning for Electronic Design Automation: A Surveycited by 72
  7. 2019Guiding High-Performance SAT Solvers with Unsat-Core Predictionscited by 62
  8. 2019DRiLLS: Deep Reinforcement Learning for Logic Synthesiscited by 47
  9. 2021DeepGate: Learning Neural Representations of Logic Gatescited by 37
  10. 2018Developing Synthesis Flows Without Human Knowledgecited by 29
  11. 2020NLocalSAT: Boosting Local Search with Solution Predictioncited by 25
  12. 2022Machine Learning Methods in Solving the Boolean Satisfiability Problemcited by 22
4 more
  1. 2021NeuroBack: Improving CDCL SAT Solving using Graph Neural Networkscited by 19
  2. 2021BOiLS: Bayesian Optimisation for Logic Synthesiscited by 18
  3. 2021Neural Circuit Synthesis from Specification Patternscited by 17
  4. 2023Boolformer: Symbolic Regression of Logic Functions with Transformerscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Logic Synthesis with Generative Deep Neural Networks
  2. 2024ShortCircuit: AlphaZero-Driven Circuit Design
  3. 2026The Expressive Power of Low Precision Softmax Transformers with (Summarized) Chain-of-Thought
  4. 2026Revisiting Padded Transformer Expressivity: Which Architectural Choices Matter and Which Don't
  5. 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformers
  6. 2024CktGen: Automated Analog Circuit Design with Generative Artificial Intelligence
  7. 2026Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
  8. 2024Finding Transformer Circuits with Edge Pruning