- Open Access
- Access by Xinjiang University
Machine learning invariants of tensors
Phys. Rev. D 114, 026016 – Published 13 July, 2026
DOI: https://doi.org/10.1103/ny3m-drnj
Abstract
We propose a data-driven approach to identifying the functionally independent invariants that can be constructed from a tensor with a given symmetry structure. Our algorithm proceeds by first enumerating graphs, or tensor networks, that represent inequivalent contractions of a product of tensors, computing instances of these scalars using randomly generated data, and then seeking linear relations between invariants using numerical linear algebra. Such relations yield syzygies, or functional dependencies relating different invariants. We apply this approach in an extended case study of the independent invariants that can be constructed from an antisymmetric 3-form in six dimensions, finding five independent invariants. This result confirms that the most general Lagrangian for such a 3-form, which depends on but not its derivatives, is an arbitrary function of five variables, and we give explicit formulas relating other invariants to the five independent scalars in this generating set.
Physics Subject Headings (PhySH)
Article Text
References (90)
- I. Bialynicki-Birula, Nonlinear electrodynamics: Variations on a theme by Born and Infeld, in Quantum Theory of Particles and Fields: Birthday Volume Dedicated to Jan Lopuszanski, edited by B. Jancewicz and J. Lukierski (World Scientific Publishing Co Pte Ltd, Singapore, 1984), pp. 31–48.
- G. W. Gibbons and D. A. Rasheed, Electric—magnetic duality rotations in nonlinear electrodynamics, Nucl. Phys. B454, 185 (1995).
- M. K. Gaillard and B. Zumino, Nonlinear electromagnetic self-duality and Legendre transformations, in Duality and Supersymmetric Theories. Proceedings, Easter School, Newton Institute, Euroconference, Cambridge, UK, 1997 (1997), pp. 33–48, arXiv:hep-th/9712103.
- M. K. Gaillard and B. Zumino, Self-duality in nonlinear electromagnetism, Lect. Notes Phys. 509, 121 (1998).
- G. O. Schellstede, V. Perlick, and C. Lämmerzahl, On causality in nonlinear vacuum electrodynamics of the Plebański class, Ann. Phys. (Berlin) 528, 738 (2016).
- J. G. Russo and P. K. Townsend, Causal self-dual electrodynamics, Phys. Rev. D 109, 105023 (2024).
- H. Babaei-Aghbolagh, K. Babaei Velni, S. He, and Z. Pezhman, Root- deformations on causal self-dual electrodynamics theories, J. High Energy Phys. 07 (2025) 227.
- R. Conti, L. Iannella, S. Negro, and R. Tateo, Generalised Born-Infeld models, Lax operators and the perturbation, J. High Energy Phys. 11 (2018) 007.
- H. Babaei-Aghbolagh, K. B. Velni, D. M. Yekta, and H. Mohammadzadeh, Emergence of non-linear electrodynamic theories from -like deformations, Phys. Lett. B 829, 137079 (2022).
- C. Ferko, L. Smith, and G. Tartaglino-Mazzucchelli, Stress tensor flows, birefringence in non-linear electrodynamics and supersymmetry, SciPost Phys. 15, 198 (2023).
- C. Ferko, S. M. Kuzenko, L. Smith, and G. Tartaglino-Mazzucchelli, Duality-invariant nonlinear electrodynamics and stress tensor flows, Phys. Rev. D 108, 106021 (2023).
- H. Derksen and G. Kemper, Computational Invariant Theory, Encyclopaedia of Mathematical Sciences (Springer, Berlin, Heidelberg, 2002).
- R. de Mello Koch and A. Jevicki, Structure of loop space at finite , J. High Energy Phys. 06 (2025) 011.
- R. de Mello Koch and A. Jevicki, Hilbert space of finite multi-matrix models, J. High Energy Phys. 11 (2025) 145.
- R. de Mello Koch, J.-H. Huang, M. Kim, and H. J. R. Van Zyl, Emergent Yang-Mills theory, J. High Energy Phys. 10 (2020) 100.
- C. Procesi, A formal inverse to the Cayley-Hamilton theorem, J. Algebra 107, 63 (1987).
- P. J. Olver, Classical Invariant Theory, London Mathematical Society Student Texts (Cambridge University Press, Cambridge, England, 1999).
- R. Goodman and N. Wallach, Representations and Invariants of the Classical Groups, Encyclopedia of Mathematics and its Applications (Cambridge University Press, Cambridge, England, 2000).
- Z. Avetisyan, O. Evnin, and K. Mkrtchyan, Nonlinear (chiral) p-form electrodynamics, J. High Energy Phys. 08 (2022) 112.
- I. S. Cohen, On the structure and ideal theory of complete local rings, Trans. Am. Math. Soc. 59, 54 (1946).
- F. S. Macaulay, The Algebraic Theory of Modular Systems, No. 19 in Cambridge Tracts in Mathematics and Mathematical Physics (Cambridge University Press, Cambridge, England, 1916).
- W. Bruns and H. Herzog, Cohen-Macaulay Rings, Cambridge Studies in Advanced Mathematics (Cambridge University Press, Cambridge, England, 1998).
- M. Hochster and J. L. Roberts, Rings of invariants of reductive groups acting on regular rings are Cohen-Macaulay, Adv. Math. 13, 115 (1974).
- M. Nagata, Local Rings, Interscience Tracts in Pure and Applied Mathematics (Interscience Publishers, New York City, USA, 1962).
- B. Gripaios, W. Haddadin, and C. G. Lester, Lorentz- and permutation-invariants of particles, J. Phys. A 54, 155201 (2021).
- C. G. Lester, W. Haddadin, and B. Gripaios, Lorentz and permutation invariants of particles III: Constraining nonstandard sources of parity violation, Int. J. Mod. Phys. A 37, 2250093 (2022).
- C. A. Cremonini, P. A. Grassi, R. Noris, and L. Ravera, Supergravities and branes from Hilbert-Poincaré series, J. High Energy Phys. 12 (2023) 088.
- R. de Mello Koch, M. Kim, and H. J. R. Van Zyl, From symmetry to structure: Gauge-invariant operators in multi-matrix quantum mechanics, J. High Energy Phys. 01 (2026) 031.
- P. Pouliot, Molien function for duality, J. High Energy Phys. 01 (1999) 021.
- C. Romelsberger, Counting chiral primaries in , superconformal field theories, Nucl. Phys. B747, 329 (2006).
- A. Hanany, Counting BPS operators in the chiral ring: The plethystic story, AIP Conf. Proc. 939, 165 (2007).
- F. A. Dolan, Counting BPS operators in SYM, Nucl. Phys. B790, 432 (2008).
- F. A. Dolan and H. Osborn, Applications of the superconformal index for protected operators and q-hypergeometric identities to dual theories, Nucl. Phys. B818, 137 (2009).
- A. Hanany, N. Mekareeya, and G. Torri, The Hilbert series of adjoint SQCD, Nucl. Phys. B825, 52 (2010).
- M. A. A. van Leeuwen, A. M. Cohen, and B. Lisser, lie, A Package for Lie Group Computations (Computer Algebra Nederland, Amsterdam, 1992).
- R. Feger and T. W. Kephart, lieart—A Mathematica application for Lie algebras and representation theory, Comput. Phys. Commun. 192, 166 (2015).
- R. Feger, T. W. Kephart, and R. J. Saskowski, lieart 2.0—A Mathematica application for Lie algebras and representation theory, Comput. Phys. Commun. 257, 107490 (2020).
- L. Qi, Y. Chen, and H. Chen, Tensor Eigenvalues and their Applications (Springer, Singapore, 2018).
- L. Qi, Eigenvalues of a real supersymmetric tensor, J. Symb. Comput. 40, 1302 (2005).
- H. Abo, A. Seigal, and B. Sturmfels, Eigenconfigurations of tensors, arXiv:1505.05729.
- D. Cartwright and B. Sturmfels, The number of eigenvalues of a tensor, Linear Algebra Appl. 438, 942 (2013).
- N. Sasakura, Signed eigenvalue/vector distribution of complex order-three random tensor, Prog. Theor. Exp. Phys. 2024, 053A04 (2024).
- N. Delporte and N. Sasakura, The edge of random tensor eigenvalues with deviation, J. High Energy Phys. 01 (2025) 071.
- A. Chandra, A. Constantin, C. S. Fraser-Taliente, T. R. Harvey, and A. Lukas, Enumerating Calabi-Yau manifolds: Placing bounds on the number of diffeomorphism classes in the Kreuzer-Skarke list, Fortschr. Phys. 72, 2300264 (2024).
- R. C. Avohou, J. Ben Geloun, and N. Dub, On the counting of tensor invariants, Adv. Theor. Math. Phys. 24, 821 (2020).
- R. C. Avohou, J. Ben Geloun, and R. Toriumi, Counting invariants and tensor model observables, Eur. Phys. J. C 84, 839 (2024).
- F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, scikit-learn: Machine learning in python, J. Mach. Learn. Res. 12, 2825 (2011), https://www.jmlr.org/papers/v12/pedregosa11a.html.
- L. Buitinck, G. Louppe, M. Blondel, F. Pedregosa, A. Mueller, O. Grisel, V. Niculae, P. Prettenhofer, A. Gramfort, J. Grobler, R. Layton, J. VanderPlas, A. Joly, B. Holt, and G. Varoquaux, API design for machine learning software: experiences from the scikit-learn project, in ECML PKDD Workshop: Languages for Data Mining and Machine Learning (Journal of Machine Learning Research, Cambridge, Massachusetts, 2013), pp. 108–122.
- A. Hagberg, P. Swart, and D. S Chult, Exploring network structure, dynamics, and function using NetworkX, Technical Report, Los Alamos National Laboratory (LANL), Los Alamos, NM, 2008.
- C. R. Harris et al., Array programming with numpy, Nature (London) 585, 357 (2020).
- D. G. a. Smith and J. Gray, opt_einsum—A python package for optimizing contraction order for einsum-like expressions, J. Open Source Software 3, 753 (2018).
- O. Evnin and W. Horinouchi, A Gaussian integral that counts regular graphs, J. Math. Phys. (N.Y.) 65, 093301 (2024).
- O. Evnin and D. Krioukov, Ensemble inequivalence and phase transitions in unlabeled networks, Phys. Rev. Lett. 134, 207401 (2025).
- D. O’Connor and S. Ramgoolam, Permutation invariant matrix quantum thermodynamics and negative specific heat capacities in large systems, J. High Energy Phys. 12 (2024) 161.
- M. Cederwall, J. Hutomo, S. M. Kuzenko, K. Lechner, and D. P. Sorokin, Some remarks on invariants, J. Phys. A 59, 065203 (2026).
- G. Csárdi and T. Nepusz, The igraph software package for complex network research, InterJ. Complex Syst. 1695 (2006), https://github.com/igraph/igraph.
- M. Antonov, G. Csárdi, S. Horvát, K. Müller, T. Nepusz, D. Noom, M. Salmon, V. Traag, B. F. Welles, and F. Zanini, igraph enables fast and robust network analysis across programming languages, arXiv:2311.10260.
- G. Csárdi, T. Nepusz, V. Traag, S. Horvát, F. Zanini, D. Noom, K. Müller, D. Schoch, and M. Salmon, igraph: Network analysis and visualization in r, 2025, r package version 2.2.1 (2025), https://CRAN.R-project.org/package=igraph.
- OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A129416 (2019).
- L. E. Travis, Graphical Enumeration: A Species-Theoretic Approach (Brandeis University, Waltham, Massachusetts, 1999).
- W. D. Linch, III and G. Tartaglino-Mazzucchelli, Six-dimensional supergravity and projective superfields, J. High Energy Phys. 08 (2012) 075.
- D. Butter, S. M. Kuzenko, J. Novak, and S. Theisen, Invariants for minimal conformal supergravity in six dimensions, J. High Energy Phys. 12 (2016) 072.
- C. Kennedy and G. Tartaglino-Mazzucchelli, Six-dimensional (2, 0) conformal superspace, J. High Energy Phys. 08 (2025) 215.
- P. Pasti, D. P. Sorokin, and M. Tonin, Note on manifest Lorentz and general coordinate invariance in duality symmetric models, Phys. Lett. B 352, 59 (1995).
- P. Pasti, D. P. Sorokin, and M. Tonin, Duality symmetric actions with manifest space-time symmetries, Phys. Rev. D 52, R4277 (1995).
- P. Pasti, D. P. Sorokin, and M. Tonin, On Lorentz invariant actions for chiral p forms, Phys. Rev. D 55, 6292 (1997).
- OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A008005 (2019).
- OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A008009 (2019).
- J. Hutomo, K. Lechner, and D. P. Sorokin, On non-linear chiral 4-form theories in , J. High Energy Phys. 02 (2026) 147.
- I. Bandos, K. Lechner, D. Sorokin, and P. K. Townsend, A non-linear duality-invariant conformal extension of Maxwell’s equations, Phys. Rev. D 102, 121703 (2020).
- C. Ferko and K. Furuya, Entanglement cohomology for GHZ and W states, arXiv:2512.19889.
- T. Mainiero, Homological tools for the quantum mechanic, arXiv:1901.02011.
- C. Ferko, E. Iyer, K. Mossayebi, and G. Sanfey, Hodge theory for entanglement cohomology, Phys. Rev. A 111, 032422 (2025).
- A. B. Zamolodchikov, Expectation value of composite field in two-dimensional quantum field theory, arXiv:hep-th/0401146.
- F. A. Smirnov and A. B. Zamolodchikov, On space of integrable quantum field theories, Nucl. Phys. B915, 363 (2017).
- A. Cavaglià, S. Negro, I. M. Szécsényi, and R. Tateo, -deformed 2D quantum field theories, J. High Energy Phys. 10 (2016) 112.
- H. Babaei-Aghbolagh, K. B. Velni, D. M. Yekta, and H. Mohammadzadeh, -like flows in non-linear electrodynamic theories and S-duality, J. High Energy Phys. 04 (2021) 187.
- G. Bonelli, N. Doroud, and M. Zhu, -deformations in closed form, J. High Energy Phys. 06 (2018) 149.
- J. Hou, flow as characteristic flows, J. High Energy Phys. 03 (2023) 243.
- C. Ferko and S. Sethi, Sequential flows by irrelevant operators, SciPost Phys. 14, 098 (2023).
- C. Ferko, Y. Hu, Z. Huang, K. Koutrolikos, and G. Tartaglino-Mazzucchelli, -like flows and nonlinear supersymmetry, SciPost Phys. 16, 038 (2024).
- C. D. A. Blair, J. Lahnsteiner, N. A. Obers, and Z. Yan, Matrix theory reloaded: A BPS road to holography, J. High Energy Phys. 02 (2025) 024.
- H. Babaei-Aghbolagh, S. He, and H. Ouyang, Generalized -like deformations in duality-invariant nonlinear electrodynamic theories, J. High Energy Phys. 09 (2024) 137.
- Y. Jiang, A pedagogical review on solvable irrelevant deformations of 2D quantum field theory, Commun. Theor. Phys. 73, 057201 (2021).
- S. He, Y. Li, H. Ouyang, and Y. Sun, deformation: Introduction and some recent advances, Sci. China Phys. Mech. Astron. 68, 101001 (2025).
- C. Ferko, Supersymmetry and irrelevant deformations, Ph.D. thesis, Chicago University, 2021, arXiv:2112.14647.
- C. Ferko, L. Smith, and G. Tartaglino-Mazzucchelli, On current-squared flows and ModMax theories, SciPost Phys. 13, 012 (2022).
- S. Ebert, C. Ferko, C. L. Martin, and G. Tartaglino-Mazzucchelli, Flows in the space of interacting chiral boson theories, Phys. Rev. D 110, 046005 (2024).
- C. Ferko, S. M. Kuzenko, K. Lechner, D. P. Sorokin, and G. Tartaglino-Mazzucchelli, Interacting chiral form field theories and -like flows in six and higher dimensions, J. High Energy Phys. 05 (2024) 320.
- C. Ferko, J. Hou, T. Morone, G. Tartaglino-Mazzucchelli, and R. Tateo, -like flows of Yang-Mills theories, Phys. Rev. Lett. 134, 101603 (2025).