I‑AIMS Institute for Artificial Intelligence
and Mathematical Sciences
/

Algebraic Extraction of Polynomial Networks from Final Outputs

T. Shaska

I-AIMS:2026.0047 · 2026

We study which parameters of a polynomial network are determined by the final scores or class labels released by an inference service. For a shallow square network with n inputs and known hidden width r≤ n, partial polarization and simultaneous diagonalization recover the parameters up to permutation and scaling from n+r(n−r)+r(r−1)/2 exact score queries, provided the hidden anchor block is invertible and the output columns are nonzero and pairwise nonproportional. We give an explicit lower bound, at any prescribed confidence level, on the smallest singular value of the hidden matrix restricted to a random orthonormal anchor. A two-dimensional example shows that parameter sensitivity can nevertheless grow without bound as two output columns approach the same direction. For labels, we construct a three-class family with identical classifiers and an undetermined relative contrast scale, although every class wins on an open set. Under a simple-spectrum hypothesis, two decision quadrics known up to scale identify the hidden directions. In these coordinates, parallel rigidity characterizes when the observed contrast directions determine the output coefficients up to a common row and positive scale. We also exhibit an open set of networks with a dominated class whose output row varies without changing any label. Synthetic score experiments quantify the effect of the query set and reconstruction method on parameter error.

MSC classes: Primary 68T07, 94A60; Secondary 14Q20, 15A69, 68P27

Report number: sh-142

References

  1. I. A. Canales-Martínez, J. Chávez-Saab, A. Hambitzer, F. Rodríguez-Henríquez, N. Satpute, and A. Shamir, Polynomial Time Cryptanalytic Extraction of Neural Network Models, EUROCRYPT 2024, Part III, LNCS 14653, pp. 3–33. https://doi.org/10.1007/978-3-031-58734-4_1.
  2. N. Carlini, J. Chávez-Saab, A. Hambitzer, F. Rodríguez-Henríquez, and A. Shamir, Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting, EUROCRYPT 2025, LNCS 15601, pp. 364–396. https://doi.org/10.1007/978-3-031-91107-1_13.
  3. N. Carlini, M. Jagielski, and I. Mironov, Cryptanalytic Extraction of Neural Network Models, CRYPTO 2020, LNCS 12172, pp. 189–218. https://doi.org/10.1007/978-3-030-56877-1_7.
  4. B. Chaturvedi, A. Chakraborty, A. Chatterjee, and D. Mukhopadhyay, Model Stealing Attacks On FHE-based Privacy-Preserving Machine Learning through Adversarial Examples, Cryptology ePrint Archive, Paper 2023/1665, 2023. https://eprint.iacr.org/2023/1665.
  5. S. Chen and J. Fan, SEEK: Model Extraction Attack against Hybrid Secure Inference Protocols, Cryptology ePrint Archive, Paper 2022/1200, 2022. https://eprint.iacr.org/2022/1200.
  6. Y. Chen, X. Dong, J. Guo, Y. Shen, A. Wang, and X. Wang, Hard-Label Cryptanalytic Extraction of Neural Network Models, ASIACRYPT 2024, Part VIII, LNCS 15491, pp. 207–236. https: //doi.org/10.1007/978-981-96-0944-4_7.
  7. Z. Chen, S. Tang, Z. Gao, Y. Su, L. Qin, and X. Dong, Algebraic Cryptanalytic Extraction on Hard-Label Neural Networks, arXiv preprint arXiv:2608.05736, version 2, 2026. https://arxiv.org/ abs/2608.05736.
  8. J. H. Cheon, A. Kim, M. Kim, and Y. Song, Homomorphic Encryption for Arithmetic of Approximate Numbers, ASIACRYPT 2017, pp. 409–437. https://doi.org/10.1007/978-3-319-70694-8_15.
  9. K. R. Davidson and S. J. Szarek, Local operator theory, random matrices and Banach spaces, Handbook of the Geometry of Banach Spaces, vol. 1, North-Holland, 2001, pp. 317–366. https: //doi.org/10.1016/S1874-5849(01)80010-3.
  10. J. De Jonghe, K. Usevich, P. Dreesen, and M. Ishteva, Tensor-based Multi-layer Decoupling, arXiv preprint arXiv:2604.10858, 2026. https://arxiv.org/abs/2604.10858.
  11. P. Dreesen, M. Ishteva, and J. Schoukens, Decoupling Multivariate Polynomials Using First-Order Information and Tensor Decompositions, SIAM Journal on Matrix Analysis and Applications 36 (2015), no. 2, 864–879. https://doi.org/10.1137/140991546.
  12. C. Fiedler, M. Fornasier, T. Klock, and M. Rauchensteiner, Stable Recovery of Entangled Weights: Towards Robust Identification of Deep Neural Networks from Minimal Samples, Applied and Computational Harmonic Analysis 62 (2023), 123–172. https://doi.org/10.1016/j.acha.2022.08.002.
  13. R. Gilad-Bachrach, N. Dowlin, K. Laine, K. Lauter, M. Naehrig, and J. Wernsing, CryptoNets: Applying Neural Networks to Encrypted Data with High Throughput and Accuracy, Proceedings of Machine Learning Research 48 (2016), 201–210. https://proceedings.mlr.press/v48/gilad-bachrach16. html.
  14. S. A. Goreinov, E. E. Tyrtyshnikov, and N. L. Zamarashkin, A theory of pseudoskeleton approximations, Linear Algebra and its Applications 261 (1997), 1–21. https://doi.org/10.1016/ S0024-3795(96)00301-1.
  15. N. J. Higham, Stability of the Diagonal Pivoting Method with Partial Pivoting, SIAM Journal on Matrix Analysis and Applications 18 (1997), no. 1, 52–65. https://doi.org/10.1137/ S0895479895290371.
  16. G. Hollander, P. Dreesen, M. Ishteva, and J. Schoukens, Approximate decoupling of multivariate polynomials using weighted tensor decomposition, Numerical Linear Algebra with Applications 25 (2018), no. 2, e2135. https://doi.org/10.1002/nla.2135.
  17. A. Ito, T. Miura, and Y. Todo, End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery, Cryptology ePrint Archive, Paper 2026/2097, 2026. https://eprint.iacr. org/2026/2097.
  18. A. Ito, T. Miura, and Y. Todo, Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial?, CRYPTO 2026, Part VII, LNCS 16806, pp. 67–98. https://doi.org/10.1007/978-3-032-35415-0_ 3.
  19. S. Kariyappa, A. Prakash, and M. K. Qureshi, MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimation, CVPR 2021, pp. 13809–13818. https://doi.org/10.1109/CVPR46437. 2021.01360.
  20. J. Kileel, M. Trager, and J. Bruna, On the Expressive Power of Deep Polynomial Neural Networks, Advances in Neural Information Processing Systems 32 (2019). NeurIPS proceedings.
  21. J. Kim and H. T. Lee, Shuffling is Not Enough: Breaking Permutation-Based Model Confidentiality in Hybrid FHE Inference, ESORICS 2026, Part IV, LNCS 16971, pp. 336–356. https://doi.org/ 10.1007/978-3-032-38708-0_17.
  22. J. B. Kruskal, Three-way arrays: rank and uniqueness of trilinear decompositions, with application to arithmetic complexity and statistics, Linear Algebra and its Applications 18 (1977), no. 2, 95–138. https://doi.org/10.1016/0024-3795(77)90069-6.
  23. S. E. Leurgans, R. T. Ross, and R. B. Abel, A Decomposition for Three-Way Arrays, SIAM Journal on Matrix Analysis and Applications 14 (1993), no. 4, 1064–1083. https://doi.org/10.1137/0614071.
  24. Z. Li, Y. Wang, J. Leng, K. Yang, Y. Yu, J. Gui, Y. Feng, N. Liu, and M. Guo, On the (In-)Security of the Shuffling Defense in the Transformer Secure Inference, Proceedings of ACL, Volume 1: Long Papers, 2026, pp. 29084–29098. https://aclanthology.org/2026.acl-long.1341/.
  25. Microsoft Research, CryptoNets, software repository and implementation documentation, accessed October 21, 2026. https://github.com/microsoft/CryptoNets/blob/master/README.md.
  26. O. Özyesil and A. Singer, Robust Camera Location Estimation by Convex Programming, CVPR 2015, pp. 2674–2683. CVPR proceedings.
  27. A. Sankar, D. A. Spielman, and S.-H. Teng, Smoothed analysis of the condition numbers and growth factors of matrices, SIAM Journal on Matrix Analysis and Applications 28 (2006), no. 2, 446–476. https://doi.org/10.1137/S0895479803436202.
  28. A. Shadrin, Twelve Proofs of the Markov Inequality, in Approximation Theory: A Volume Dedicated to Borislav Bojanov, D. K. Dimitrov, G. Nikolov, and R. Uluchev, eds., Marin Drinov Academic Publishing House, Sofia, 2004, pp. 233–298. https://www.damtp.cam.ac.uk/user/na/people/Alexei/ papers/markov.pdf.
  29. E. D. Sontag, For Differential Equations with r Parameters, 2r+1 Experiments Are Enough for Identification, Journal of Nonlinear Science 12 (2002), 553–583. https://doi.org/10.1007/ s00332-002-0506-0.
  30. M. Sørensen and L. De Lathauwer, Fiber Sampling Approach to Canonical Polyadic Decomposition and Application to Tensor Completion, SIAM Journal on Matrix Analysis and Applications 40 (2019), no. 3, 888–917. https://doi.org/10.1137/17M1140790.
  31. S. Tang, Z. Chen, Y. Su, Z. Gao, L. Qin, and X. Dong, Normal Alignment: Improved Cryptanalytic Sign Recovery on Hard-Label Networks, Cryptology ePrint Archive, Paper 2026/2061, 2026. https: //eprint.iacr.org/2026/2061.
  32. F. Tramèr, F. Zhang, A. Juels, M. K. Reiter, and T. Ristenpart, Stealing Machine Learning Models via Prediction APIs, USENIX Security, 2016, pp. 601–618. https://www.usenix.org/conference/ usenixsecurity16/technical-sessions/presentation/tramer.
  33. L. N. Trefethen, Lebesgue Functions and Lebesgue Constants, Chebfun approximation example, November 2010. https://www.chebfun.org/examples/approx/LebesgueConst.html.
  34. K. Usevich, R. Borsoi, C. Dérand, and M. Clausel, Identifiability of Deep Polynomial Neural Networks, Advances in Neural Information Processing Systems 38 (2025). NeurIPS proceedings. Oakland University, Rochester, Michigan, USA

All preprints