NN2MV: extracting formulae in many-valued logic from ReLU networks

The NN2MV package extracts formulae in many-valued logic and its extensions from ReLU networks with integer, rational, or real-valued weights. The extraction procedure is carried out in the following three steps. Several one-dimensional and two-dimensional examples are included.

Reference

Y. Zhang and H. Bölcskei, "Extracting formulae in many-valued logic from deep neural networks," arxiv:2401.12113, Jan. 2024.

Code

Python code of the algorithm: Please include a reference to the paper referenced above if you use the code in your research.