The Symbolic Interior Point Method

Martin Mladenov, Vaishak Belle, Kristian Kersting

Introduction

In fields ranging from machine learning to operations research, optimization problems are often defined through high-level logical rules and relational structures. For example, Markov Decision Processes (MDPs) or relational learning tasks naturally involve objects and their interactions. However, current state-of-the-art numerical solvers for Quadratic Programs (QPs) generally require these problems to be "grounded"—flattened into standard, often massive, matrix-vector forms.

This grounding process is a significant bottleneck. It destroys the inherent symbolic structure of the problem, leading to intractable memory requirements and computational inefficiency. While algebraic modeling languages simplify the specification of these problems, they still compile down to these inefficient flat matrices. This paper introduces the Symbolic Interior Point Method (S-IPM), a solver designed to directly exploit symbolic structure without ever fully grounding the problem.

Methodology: Symbolic Numerical Optimization

The S-IPM achieves efficiency by combining a compressed data structure with a matrix-free optimization algorithm.

Algebraic Decision Diagrams (ADDs)

Instead of traditional sparse or dense matrices, S-IPM represents problem components using Algebraic Decision Diagrams. ADDs are graph-based structures that compress pseudo-Boolean functions by merging identical subtrees. In the context of optimization, they provide massive compression for matrices with repetitive logical structures by caching and reusing identical sub-blocks.

Symbolic representation of optimization matrices using Algebraic Decision Diagrams (ADDs).

Matrix-Free Interior Point Method

Standard Interior Point Methods (IPMs) typically require direct matrix inversion or access to arbitrary submatrices—operations that ADDs do not support efficiently. To overcome this, the authors adapted a primal-dual barrier method that reduces the core optimization step to solving a system of linear equations (the normal equations).

By employing the Conjugate Gradient (CG) method, the solver only requires matrix-vector multiplications, vector additions, and dot products. These operations are implemented using efficient recursive-descent algorithms directly on the ADDs, bypassing the need to instantiate the full grounded matrix.

Experimental Evaluation

The solver was evaluated on two distinct problem classes:

  1. Factory MDPs: Modeling a factory agent painting and connecting objects, testing performance on sparse, highly structured logical problems.
  2. Compressed Sensing: A signal recovery task using Walsh-Hadamard transform matrices, testing the ability to handle dense but structured matrices.

Key Results and Scaling

The most significant finding is the solver's ability to achieve sublinear scaling relative to the grounded problem size. Because the runtime depends on the size of the compressed ADD rather than the number of non-zero entries in the expanded matrix, S-IPM can handle problems that are orders of magnitude larger than what traditional solvers can manage.

Running time comparison showing the sublinear scaling of Symbolic IPM (S-IPM) compared to grounded methods.

On a large Factory MDP instance with approximately 4.2 million variables and 119 million non-zero entries, S-IPM completed the task in roughly 10 hours. In contrast, standard matrix-based IPMs failed to finish within a 48-hour window. Furthermore, on dense Compressed Sensing tasks, S-IPM remained competitive with hand-tailored Fast Walsh-Hadamard solvers, demonstrating its versatility.

Discussion and Future Work

S-IPM demonstrates that logical structure is a form of "algorithmic power." By maintaining the problem in a symbolic format, the solver effectively derives a fast, custom algorithm for the specific problem structure.

However, limitations remain. The current implementation assumes specific matrix structures (like diagonal quadratic terms) to avoid inefficient ADD-based inversions. Additionally, preconditioning the Conjugate Gradient method is challenging because standard techniques like partial Cholesky factorization require random row access, which is incompatible with ADD efficiency. Future research will explore more flexible circuit representations and richer modeling languages to broaden the applicability of symbolic numerical optimization.

Summary updated

BibTeX
@inproceedings{mladenov2017symbolic,
  author = {Martin Mladenov and Vaishak Belle and Kristian Kersting},
  title = {{The Symbolic Interior Point Method}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10699},
}
Figure