Logic Gate Networks (LGNs) are an appealing family of artificial intelligence models that efficiently perform inference, by replacing floating-point multiply–accumulate operations with Boolean ones. Despite their performance and efficiency, training still represents a problem: the selection and wiring of logic gates are discrete design choices, making the direct use of gradient-based optimization difficult, at least in its native form. This paper provides an initial investigation on whether Cartesian Genetic Programming (CGP) can be turned into a practical, gradient-free framework for evolving layered LGNs for image classification. To this purpose, we extend a CGP implementation with data handling functions specific for the modified National Institute of Standards and Technology (MNIST) dataset, redundant multi-bit output decoding, custom loss functions, batch-based evaluation, layered connectivity constraints, and adaptive mutation control. Experiments on binarized MNIST show that these design choices substantially improve the search process. In the final configuration, the proposed method reaches more than 80% test accuracy with a fully discrete evolutionary pipeline executed on a single processor core (CPU), providing a concrete indication that non-trivial logical classifiers can be obtained without back-propagation, Graphics Processing Units (GPUs), or continuous relaxations.
An Initial Investigation on the Generation of Logic Gate Networks using Cartesian Genetic Programming / Lubrano, F., Messetti, E., Scionti, A., Squillero, G., Tonda, A.. - STAMPA. - (2026), pp. 1255-1259. (GECCO '26 Companion: Genetic and Evolutionary Computation Conference Companion San Jose (CRI) July 13 - 17, 2026) [10.1145/3795101.3814731].
An Initial Investigation on the Generation of Logic Gate Networks using Cartesian Genetic Programming
Scionti, Alberto;Squillero, Giovanni;Tonda, Alberto
2026
Abstract
Logic Gate Networks (LGNs) are an appealing family of artificial intelligence models that efficiently perform inference, by replacing floating-point multiply–accumulate operations with Boolean ones. Despite their performance and efficiency, training still represents a problem: the selection and wiring of logic gates are discrete design choices, making the direct use of gradient-based optimization difficult, at least in its native form. This paper provides an initial investigation on whether Cartesian Genetic Programming (CGP) can be turned into a practical, gradient-free framework for evolving layered LGNs for image classification. To this purpose, we extend a CGP implementation with data handling functions specific for the modified National Institute of Standards and Technology (MNIST) dataset, redundant multi-bit output decoding, custom loss functions, batch-based evaluation, layered connectivity constraints, and adaptive mutation control. Experiments on binarized MNIST show that these design choices substantially improve the search process. In the final configuration, the proposed method reaches more than 80% test accuracy with a fully discrete evolutionary pipeline executed on a single processor core (CPU), providing a concrete indication that non-trivial logical classifiers can be obtained without back-propagation, Graphics Processing Units (GPUs), or continuous relaxations.| File | Dimensione | Formato | |
|---|---|---|---|
|
3795101.3814731.pdf
accesso aperto
Tipologia:
2a Post-print versione editoriale / Version of Record
Licenza:
Creative commons
Dimensione
503.38 kB
Formato
Adobe PDF
|
503.38 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11583/3014663
