Proceedings

Convexity Certificates for Symbolic Tensor Expressions

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 1953-1960.

https://doi.org/10.24963/ijcai.2024/216

Abstract

Knowing that a function is convex ensures that any local minimum is also a global minimum. Here, we implement an approach to certify the convexity of twice-differentiable functions by certifying that their second-order derivative is positive semidefinite. Both the computation of the second-order derivative and the certification of positive semidefiniteness are done symbolically. Previous implementations of this approach assume that the function to be minimized takes scalar or vector inputs, meaning that the second-order derivative is at most a matrix. However, the input of many machine learning problems is naturally given in the form of matrices or higher order tensors, in which case the second-order derivative becomes a tensor of at least fourth order. The familiar linear algebra notations and known rules for determining whether a matrix is positive semidefinite are not sufficient to deal with these higher order expressions. Here, we present a formal language for tensor expressions that allows us to generalize semidefiniteness to higher-order tensors and thereby certify the convexity of a broader set of functions.

  1. [Abadi et al., 2016] Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, Manjunath Kudlur, Josh Levenberg, Rajat Monga, Sherry Moore, Derek Gordon Murray, Benoit Steiner, Paul A. Tucker, Vijay Vasudevan, Pete Warden, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: A Sys- tem for Large-Scale Machine Learning. In Kimberly Kee- ton and Timothy Roscoe, editors, USENIX Symposium on Operating Systems Design and Implementation (OSDI), pages 265-283. USENIX Association, 2016.
  2. [Ahmadi and Parrilo, 2013] Amir Ali Ahmadi and Pablo A. Parrilo. A complete characterization of the gap between convexity and sos-convexity. SIAM Journal on Optimiza- tion, 23(2):811-833, 2013.
  3. [Aho et al., 1986] Alfred V. Aho, Ravi Sethi, and Jeffrey D. Ullman. Compilers: Principles, Techniques, and Tools. Addison-Wesley, 1986.
  4. [Bach et al., 2023] Francis R. Bach, Elisabetta Cornacchia, Luca Pesce, and Giovanni Piccioli. Theory and ap- plications of the Sum-Of-Squares technique. CoRR, abs/2306.16255, 2023.
  5. [Blanchard et al., 2020] Pierre Blanchard, Desmond J. Higham, and Nicholas J. Higham. Accurate Computation of the Log-Sum-Exp and Softmax Functions. IMA Journal of Numerical Analysis, 41(4):2311-2330, 08 2020.
  6. [Cocke, 1970] John Cocke. Global common subexpression elimination. In Robert S. Northcote, editor, Proceedings of a Symposium on Compiler Optimization, pages 20-24. ACM, 1970.
  7. [Diamond and Boyd, 2016] Steven Diamond and Stephen P. Boyd. CVXPY: A Python-Embedded Modeling Language for Convex Optimization. Journal of Machine Learning Research, 17:83:1-83:5, 2016.
  8. [Dressler et al., 2019] Mareike Dressler, Sadik Iliman, and Timo de Wolff. An approach to constrained polynomial optimization via nonnegative circuit polynomials and ge- ometric programming. Journal of Symbolic Computation, 91:149-172, 2019.
  9. [Dressler et al., 2023] Mareike Dressler, Salma Kuhlmann, and Moritz Schick. Geometrical study of the cone of sums of squares plus sums of nonnegative circuits. CoRR, 2305.14848, 2023.
  10. [Grant and Boyd, 2008] Michael C. Grant and Stephen P. Boyd. Graph implementations for nonsmooth convex pro- grams. In Vincent D. Blondel, Stephen P. Boyd, and Hi- denori Kimura, editors, Recent Advances in Learning and Control, volume 371 of Lecture Notes in Control and In- formation Sciences, pages 95-110. Springer, 2008.
  11. [Harris et al., 2020] Charles R. Harris, K. Jarrod Millman, Stéfan van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, Robert Kern, Matti Picus, Stephan Hoyer, Marten H. van Kerkwijk, Matthew Brett, Allan Haldane, Jaime Fernández del Río, Mark Wiebe, Pearu Peterson, Pierre Gérard-Marchant, Kevin Sheppard, Tyler Reddy, Warren Weckesser, Hameer Abbasi, Christoph Gohlke, and Travis E. Oliphant. Array programming with NumPy. Nature, 585:357-362, 2020.
  12. [Helton and Nie, 2010] J. William Helton and Jiawang Nie. Semidefinite representation of convex sets. Mathematical Programming, 122(1):21-64, 2010.
  13. [Hickey et al., 2001] Timothy J. Hickey, Qun Ju, and Maarten H. van Emden. Interval arithmetic: From princi- ples to implementation. Journal of the ACM, 48(5):1038- 1068, 2001.
  14. [Klaus et al., 2022] Julien Klaus, Niklas Merk, Konstantin Wiedom, Sören Laue, and Joachim Giesen. Convexity Certificates from Hessians. In Advances in Neural Infor- mation Processing Systems (NeurIPS), 2022.
  15. [Klaus et al., 2023] Julien Klaus, Mark Blacher, and Joachim Giesen. Compiling Tensor Expressions into Einsum. In International Conference on Computational Science (ICCS), volume 14074 of Lecture Notes in Computer Science, pages 129-136. Springer, 2023.
  16. [Laue et al., 2019] Sören Laue, Matthias Mitterreiter, and Joachim Giesen. GENO -GENeric Optimization for Clas- sical Machine Learning. In Advances in Neural Infor- mation Processing Systems (NeurIPS), pages 2187-2198, 2019.
  17. [Laue et al., 2020] Sören Laue, Matthias Mitterreiter, and Joachim Giesen. A Simple and Efficient Tensor Calcu- lus. In AAAI Conference on Artificial Intelligence (AAAI), pages 4527-4534, 2020.
  18. [Parrilo, 2000] Pablo Parrilo. Structured semidefinite pro- grams and semialgebraic geometry methods in robustness and optimization. PhD thesis, California Institute of Tech- nology, 2000.
  19. [Paszke et al., 2019] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Köpf, Edward Z. Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. PyTorch: An Imperative Style, High-Performance Deep Learning Library. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d'Alché-Buc, Emily B. Fox, and Roman Garnett, edi- tors, Advances in Neural Information Processing Systems (NeurIPS), pages 8024-8035, 2019.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards