Evolving Hard Maximum Cut Instances for Quantum Approximate Optimization Algorithms

Shuaiqun Pan, Yash J. Patel, Aneta Neumann, Frank Neumann, Thomas Bäck, Hao Wang

TL;DR

This paper introduces a novel method for generating challenging "hard" instances of the Maximum Cut problem, specifically designed to highlight the performance differences between the quantum algorithm RQAOA and the classical Goemans-Williamson (GW) algorithm. By using an evolutionary approach within a Graph Autoencoder's latent space, they create benchmarks that reveal RQAOA's strengths and weaknesses, paving the way for better quantum algorithm development and graph generation research.

What Problem Does This Paper Address?

The quest for quantum advantage in solving complex problems is a major driver in quantum computing research. Variational quantum algorithms like RQAOA show promise for tackling combinatorial optimization problems such as Maximum Cut (MaxCut). However, understanding when and why these quantum algorithms succeed or fail is crucial. A key challenge is the lack of well-defined "hard" instances that specifically stress these algorithms, making it difficult to benchmark them against classical counterparts like the Goemans-Williamson (GW) algorithm, which has strong theoretical guarantees. Existing research often lacks concrete methods for generating such challenging instances, hindering a thorough understanding of RQAOA's capabilities and limitations. This paper aims to bridge this gap by creating a systematic way to evolve MaxCut instances that are particularly difficult for one algorithm but potentially easier for another.

Methods

The core of this research lies in an evolutionary approach combined with a Graph Autoencoder (GAE). Here's a breakdown:

  • Graph Autoencoder (GAE): A Permutation-Invariant Variational Autoencoder (PIGVAE) is trained on a diverse set of graphs generated from standard models (Erdős-Rényi, Watts-Strogatz, etc.). This GAE learns to represent graphs in a lower-dimensional "latent space."
  • Evolutionary Search (CMA-ES): The Covariance Matrix Adaptation Evolution Strategy (CMA-ES), a powerful black-box optimization algorithm, is employed to search within the GAE's latent space.
  • Fitness Function: The fitness function is designed to reward instances where the performance difference between RQAOA and the GW algorithm is maximized. Specifically, it aims to find instances where RQAOA significantly outperforms GW, or vice-versa.
  • Instance Generation: CMA-ES samples points in the latent space. These points are then decoded by the GAE back into graph instances.
  • Performance Evaluation: For each generated graph, both RQAOA and the GW algorithm are run multiple times to obtain their performance metrics (e.g., cut size). The ratio of their performance serves as the fitness for CMA-ES.
  • Feature Analysis & Machine Learning: The generated "hard" instances are analyzed using a comprehensive set of graph features (structural and GW-algorithm-specific). Machine learning classifiers (like ExtraTreesClassifier) are trained on these features to predict which algorithm is likely to perform better on a given instance.

Datasets

The paper does not explicitly list a single "dataset" in the traditional sense. Instead, they:

  • Train the GAE: Using graphs generated from six standard random graph models: Erdős-Rényi, Watts-Strogatz (both standard and Newman-Watts-Strogatz variants), Random Regular, Barabási-Albert, and Dual-Barabási-Albert.
  • Generate Benchmark Instances: The core contribution is the creation of new benchmark instances for the MaxCut problem. These instances are specifically evolved to be hard for either RQAOA or GW, creating a more nuanced evaluation set than randomly generated graphs. They generated instances for 20-node and 100-node graphs.

Key Insights and Ideas

  • Evolving for Performance Divergence: The most significant idea is using an evolutionary algorithm not to solve a problem, but to generate problem instances that maximize the performance gap between two different solvers. This is a powerful meta-learning approach for creating challenging benchmarks.
  • Latent Space Exploration: Leveraging the latent space of a GAE provides a structured and continuous way to explore the vast space of possible graph structures, making the evolutionary search more efficient.
  • RQAOA vs. GW Nuances: The generated instances reveal that RQAOA can indeed outperform GW on specific types of graphs, but also that GW remains very strong, especially on certain structural configurations. This moves beyond simple "quantum vs. classical" comparisons to a more detailed understanding of their respective strengths.
  • Feature Importance for Algorithm Selection: The machine learning analysis highlights specific graph features (like EXPECTED_COSTGW_OVER_SDP_COST and DENSITY) that are strong predictors of whether RQAOA or GW will perform better. This could inform future algorithm selection strategies.

Key Results

  • Successful Instance Generation: The method successfully generated instances where RQAOA significantly outperformed GW, and vice-versa.
  • Machine Learning Classifier Performance:
    • For 20-node instances, a classifier achieved a balanced accuracy of 0.9988 ± 0.0012 in distinguishing between RQAOA-dominant and GW-dominant instances.
  • For 100-node instances, the classifier achieved perfect accuracy (1.0000 ± 0.0000).
  • Feature Significance:
    • For instances where RQAOA is not considered a high-performing heuristic, EXPECTED_COSTGW_OVER_SDP_COST was the most influential feature.
  • When RQAOA is considered high-performing, DENSITY became a key feature for 20-node graphs, while EXPECTED_COSTGW_OVER_SDP_COST and LOG_SMALLESTEIGVAL were important for 100-node graphs.
  • The GIRTH (shortest cycle length) feature was found to have no significant impact on classifier performance in any setting.
  • RQAOA as a High-Performing Heuristic: When evaluating RQAOA's performance against specific thresholds (e.g., achieving at least a 4% improvement over GW), the classifiers showed high accuracy (e.g., 0.9795 ± 0.0045 for 20-node graphs at a 0.97 threshold).

Limitations and Future Work

  • Scalability of GAE: The PIGVAE model, while effective, faces memory bottlenecks when scaling to larger graphs (e.g., 400 nodes). The authors are exploring lightweight GNN architectures and multi-GPU training to address this.
  • Instance Size: Current experiments are limited to 20 and 100-node graphs. Scaling to larger instances is a primary future direction.
  • Broader Heuristic Comparison: The study primarily compares RQAOA and GW. Future work could incorporate additional classical heuristics to provide a more comprehensive understanding of instance difficulty.
  • Diffusion Models: The authors suggest diffusion models as a promising alternative for scalability in graph generation.
  • Quantum Advantage Exploration: While the paper identifies instances where RQAOA performs well, further research is needed to explore if these instances can truly demonstrate quantum advantage on actual quantum hardware.

Summary updated

BibTeX
@inproceedings{pan2025evolving,
  author = {Shuaiqun Pan and Yash J. Patel and Aneta Neumann and Frank Neumann and Thomas Bäck and Hao Wang},
  title = {{Evolving Hard Maximum Cut Instances for Quantum Approximate Optimization Algorithms}},
  booktitle = {GECCO},
  year = {2025},
  url = {https://openreview.net/forum?id=4Gl3mYI6Ng},
}
Figure