,
Mengdi Wu
Creative Commons Attribution 4.0 International license
Motivated by practical applications in the design of optimization compilers for neural networks, we initiated the study of identity testing problems for arithmetic circuits augmented with exponentiation gates that compute the real function x↦ e^x. These circuits compute real functions of form P(→x)/P'(→x), where both P(→x) and P'(→x) are exponential polynomials
∑_{i = 1}^k f_i(→x)⋅ exp((g_i(→x))/(h_i(→x))),
for polynomials f_i(→x),g_i(→x), and h_i(→x).
We formalize a black-box query model over finite fields for this class of circuits, which is mathematical simple and reflects constraints faced by real-world neural network compilers. We proved that a simple and efficient randomized identity testing algorithm achieves perfect completeness and non-trivial soundness. Concurrent with our work, the algorithm has been implemented in the optimization compiler Mirage by Wu et al. (OSDI 2025), demonstrating promising empirical performance in both efficiency and soundness error. Finally, we propose a number-theoretic conjecture under which our algorithm is sound with high probability.
@InProceedings{li_et_al:LIPIcs.ITCS.2026.95,
author = {Li, Jiatu and Wu, Mengdi},
title = {{Identity Testing for Circuits with Exponentiation Gates}},
booktitle = {17th Innovations in Theoretical Computer Science Conference (ITCS 2026)},
pages = {95:1--95:22},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-410-9},
ISSN = {1868-8969},
year = {2026},
volume = {362},
editor = {Saraf, Shubhangi},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITCS.2026.95},
URN = {urn:nbn:de:0030-drops-253821},
doi = {10.4230/LIPIcs.ITCS.2026.95},
annote = {Keywords: Polynomial Identity Testing, Exponential Polynomials}
}