Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access
  • Access by Xinjiang University

Machine learning invariants of tensors

Athithan Elamaran1,*, Christian Ferko2,3,†, and Sterling Scarlett4,‡

  • *Contact author: athithan.elamaran@gmail.com
  • Contact author: c.ferko@northeastern.edu
  • Contact author: sjscar@bu.edu

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 Hμνρ in six dimensions, finding five independent invariants. This result confirms that the most general Lagrangian for such a 3-form, which depends on Hμνρ 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.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (90)

  1. 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.
  2. G. W. Gibbons and D. A. Rasheed, Electric—magnetic duality rotations in nonlinear electrodynamics, Nucl. Phys. B454, 185 (1995).
  3. 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.
  4. M. K. Gaillard and B. Zumino, Self-duality in nonlinear electromagnetism, Lect. Notes Phys. 509, 121 (1998).
  5. 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).
  6. J. G. Russo and P. K. Townsend, Causal self-dual electrodynamics, Phys. Rev. D 109, 105023 (2024).
  7. H. Babaei-Aghbolagh, K. Babaei Velni, S. He, and Z. Pezhman, Root-TT¯ deformations on causal self-dual electrodynamics theories, J. High Energy Phys. 07 (2025) 227.
  8. R. Conti, L. Iannella, S. Negro, and R. Tateo, Generalised Born-Infeld models, Lax operators and the TT¯ perturbation, J. High Energy Phys. 11 (2018) 007.
  9. H. Babaei-Aghbolagh, K. B. Velni, D. M. Yekta, and H. Mohammadzadeh, Emergence of non-linear electrodynamic theories from TT¯-like deformations, Phys. Lett. B 829, 137079 (2022).
  10. C. Ferko, L. Smith, and G. Tartaglino-Mazzucchelli, Stress tensor flows, birefringence in non-linear electrodynamics and supersymmetry, SciPost Phys. 15, 198 (2023).
  11. 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).
  12. H. Derksen and G. Kemper, Computational Invariant Theory, Encyclopaedia of Mathematical Sciences (Springer, Berlin, Heidelberg, 2002).
  13. R. de Mello Koch and A. Jevicki, Structure of loop space at finite N, J. High Energy Phys. 06 (2025) 011.
  14. R. de Mello Koch and A. Jevicki, Hilbert space of finite N multi-matrix models, J. High Energy Phys. 11 (2025) 145.
  15. 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.
  16. C. Procesi, A formal inverse to the Cayley-Hamilton theorem, J. Algebra 107, 63 (1987).
  17. P. J. Olver, Classical Invariant Theory, London Mathematical Society Student Texts (Cambridge University Press, Cambridge, England, 1999).
  18. R. Goodman and N. Wallach, Representations and Invariants of the Classical Groups, Encyclopedia of Mathematics and its Applications (Cambridge University Press, Cambridge, England, 2000).
  19. Z. Avetisyan, O. Evnin, and K. Mkrtchyan, Nonlinear (chiral) p-form electrodynamics, J. High Energy Phys. 08 (2022) 112.
  20. I. S. Cohen, On the structure and ideal theory of complete local rings, Trans. Am. Math. Soc. 59, 54 (1946).
  21. 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).
  22. W. Bruns and H. Herzog, Cohen-Macaulay Rings, Cambridge Studies in Advanced Mathematics (Cambridge University Press, Cambridge, England, 1998).
  23. M. Hochster and J. L. Roberts, Rings of invariants of reductive groups acting on regular rings are Cohen-Macaulay, Adv. Math. 13, 115 (1974).
  24. M. Nagata, Local Rings, Interscience Tracts in Pure and Applied Mathematics (Interscience Publishers, New York City, USA, 1962).
  25. B. Gripaios, W. Haddadin, and C. G. Lester, Lorentz- and permutation-invariants of particles, J. Phys. A 54, 155201 (2021).
  26. 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).
  27. 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.
  28. 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.
  29. P. Pouliot, Molien function for duality, J. High Energy Phys. 01 (1999) 021.
  30. C. Romelsberger, Counting chiral primaries in N=1, d=4 superconformal field theories, Nucl. Phys. B747, 329 (2006).
  31. A. Hanany, Counting BPS operators in the chiral ring: The plethystic story, AIP Conf. Proc. 939, 165 (2007).
  32. F. A. Dolan, Counting BPS operators in N=4 SYM, Nucl. Phys. B790, 432 (2008).
  33. F. A. Dolan and H. Osborn, Applications of the superconformal index for protected operators and q-hypergeometric identities to N=1 dual theories, Nucl. Phys. B818, 137 (2009).
  34. A. Hanany, N. Mekareeya, and G. Torri, The Hilbert series of adjoint SQCD, Nucl. Phys. B825, 52 (2010).
  35. M. A. A. van Leeuwen, A. M. Cohen, and B. Lisser, lie, A Package for Lie Group Computations (Computer Algebra Nederland, Amsterdam, 1992).
  36. R. Feger and T. W. Kephart, lieart—A Mathematica application for Lie algebras and representation theory, Comput. Phys. Commun. 192, 166 (2015).
  37. 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).
  38. L. Qi, Y. Chen, and H. Chen, Tensor Eigenvalues and their Applications (Springer, Singapore, 2018).
  39. L. Qi, Eigenvalues of a real supersymmetric tensor, J. Symb. Comput. 40, 1302 (2005).
  40. H. Abo, A. Seigal, and B. Sturmfels, Eigenconfigurations of tensors, arXiv:1505.05729.
  41. D. Cartwright and B. Sturmfels, The number of eigenvalues of a tensor, Linear Algebra Appl. 438, 942 (2013).
  42. N. Sasakura, Signed eigenvalue/vector distribution of complex order-three random tensor, Prog. Theor. Exp. Phys. 2024, 053A04 (2024).
  43. N. Delporte and N. Sasakura, The edge of random tensor eigenvalues with deviation, J. High Energy Phys. 01 (2025) 071.
  44. 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).
  45. R. C. Avohou, J. Ben Geloun, and N. Dub, On the counting of O(N) tensor invariants, Adv. Theor. Math. Phys. 24, 821 (2020).
  46. R. C. Avohou, J. Ben Geloun, and R. Toriumi, Counting U(N)rO(N)q invariants and tensor model observables, Eur. Phys. J. C 84, 839 (2024).
  47. 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.
  48. 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.
  49. 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.
  50. C. R. Harris et al., Array programming with numpy, Nature (London) 585, 357 (2020).
  51. 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).
  52. O. Evnin and W. Horinouchi, A Gaussian integral that counts regular graphs, J. Math. Phys. (N.Y.) 65, 093301 (2024).
  53. O. Evnin and D. Krioukov, Ensemble inequivalence and phase transitions in unlabeled networks, Phys. Rev. Lett. 134, 207401 (2025).
  54. D. O’Connor and S. Ramgoolam, Permutation invariant matrix quantum thermodynamics and negative specific heat capacities in large N systems, J. High Energy Phys. 12 (2024) 161.
  55. M. Cederwall, J. Hutomo, S. M. Kuzenko, K. Lechner, and D. P. Sorokin, Some remarks on invariants, J. Phys. A 59, 065203 (2026).
  56. G. Csárdi and T. Nepusz, The igraph software package for complex network research, InterJ. Complex Syst. 1695 (2006), https://github.com/igraph/igraph.
  57. 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.
  58. 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.
  59. OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A129416 (2019).
  60. L. E. Travis, Graphical Enumeration: A Species-Theoretic Approach (Brandeis University, Waltham, Massachusetts, 1999).
  61. W. D. Linch, III and G. Tartaglino-Mazzucchelli, Six-dimensional supergravity and projective superfields, J. High Energy Phys. 08 (2012) 075.
  62. 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.
  63. C. Kennedy and G. Tartaglino-Mazzucchelli, Six-dimensional N= (2, 0) conformal superspace, J. High Energy Phys. 08 (2025) 215.
  64. 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).
  65. P. Pasti, D. P. Sorokin, and M. Tonin, Duality symmetric actions with manifest space-time symmetries, Phys. Rev. D 52, R4277 (1995).
  66. P. Pasti, D. P. Sorokin, and M. Tonin, On Lorentz invariant actions for chiral p forms, Phys. Rev. D 55, 6292 (1997).
  67. OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A008005 (2019).
  68. OEIS Foundation Inc., The on-line encyclopedia of integer sequences, https://oeis.org/A008009 (2019).
  69. J. Hutomo, K. Lechner, and D. P. Sorokin, On non-linear chiral 4-form theories in D=10, J. High Energy Phys. 02 (2026) 147.
  70. 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).
  71. C. Ferko and K. Furuya, Entanglement cohomology for GHZ and W states, arXiv:2512.19889.
  72. T. Mainiero, Homological tools for the quantum mechanic, arXiv:1901.02011.
  73. C. Ferko, E. Iyer, K. Mossayebi, and G. Sanfey, Hodge theory for entanglement cohomology, Phys. Rev. A 111, 032422 (2025).
  74. A. B. Zamolodchikov, Expectation value of composite field TT¯ in two-dimensional quantum field theory, arXiv:hep-th/0401146.
  75. F. A. Smirnov and A. B. Zamolodchikov, On space of integrable quantum field theories, Nucl. Phys. B915, 363 (2017).
  76. A. Cavaglià, S. Negro, I. M. Szécsényi, and R. Tateo, TT¯-deformed 2D quantum field theories, J. High Energy Phys. 10 (2016) 112.
  77. H. Babaei-Aghbolagh, K. B. Velni, D. M. Yekta, and H. Mohammadzadeh, TT¯-like flows in non-linear electrodynamic theories and S-duality, J. High Energy Phys. 04 (2021) 187.
  78. G. Bonelli, N. Doroud, and M. Zhu, TT¯-deformations in closed form, J. High Energy Phys. 06 (2018) 149.
  79. J. Hou, TT¯ flow as characteristic flows, J. High Energy Phys. 03 (2023) 243.
  80. C. Ferko and S. Sethi, Sequential flows by irrelevant operators, SciPost Phys. 14, 098 (2023).
  81. C. Ferko, Y. Hu, Z. Huang, K. Koutrolikos, and G. Tartaglino-Mazzucchelli, TT¯-like flows and 3d nonlinear supersymmetry, SciPost Phys. 16, 038 (2024).
  82. 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.
  83. H. Babaei-Aghbolagh, S. He, and H. Ouyang, Generalized TT¯-like deformations in duality-invariant nonlinear electrodynamic theories, J. High Energy Phys. 09 (2024) 137.
  84. Y. Jiang, A pedagogical review on solvable irrelevant deformations of 2D quantum field theory, Commun. Theor. Phys. 73, 057201 (2021).
  85. S. He, Y. Li, H. Ouyang, and Y. Sun, TT¯ deformation: Introduction and some recent advances, Sci. China Phys. Mech. Astron. 68, 101001 (2025).
  86. C. Ferko, Supersymmetry and irrelevant deformations, Ph.D. thesis, Chicago University, 2021, arXiv:2112.14647.
  87. C. Ferko, L. Smith, and G. Tartaglino-Mazzucchelli, On current-squared flows and ModMax theories, SciPost Phys. 13, 012 (2022).
  88. 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).
  89. C. Ferko, S. M. Kuzenko, K. Lechner, D. P. Sorokin, and G. Tartaglino-Mazzucchelli, Interacting chiral form field theories and TT¯-like flows in six and higher dimensions, J. High Energy Phys. 05 (2024) 320.
  90. C. Ferko, J. Hou, T. Morone, G. Tartaglino-Mazzucchelli, and R. Tateo, TT¯-like flows of Yang-Mills theories, Phys. Rev. Lett. 134, 101603 (2025).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation