Learning-Guided Integration Contours Construction for Fast Large-Scale Generalized Eigensolvers

Yeqiu Chen, Ziyan Liu, Hong Wang, Lei Liu

Introduction: The Contour Selection Bottleneck

Generalized Eigenvalue Problems (GEPs), mathematically represented as $Av = \lambda Bv$, are the computational backbone of numerous scientific domains, from structural vibration analysis to quantum chemistry. As matrix dimensions scale into the millions, isolating "interior" eigenvalues—those falling within a specific target range—becomes a massive computational bottleneck.

Contour Integral (CI) methods offer a highly parallelizable solution: researchers define a contour (a "circle") in the complex plane and solve for the eigenvalues enclosed within it. However, the efficiency of CI methods hinges entirely on contour placement. An oversized contour wastes computational resources, while a poorly placed one risks missing eigenvalues or triggering numerical instability. Traditionally, solvers rely on preliminary iterative searches, or "scouting," to locate these regions. Unfortunately, scouting is often so computationally expensive that it negates the parallelization benefits of the CI method itself.

Deepcontour: A "Predict-then-Verify" Paradigm

To overcome the scouting bottleneck, researchers have introduced Deepcontour, a novel hybrid framework that leverages deep learning to automate and optimize the construction of integration contours. By utilizing AI to predict the eigenvalue distribution and classical solvers to verify the results, Deepcontour achieves significant speedups while maintaining strict numerical rigor.

The framework operates through a sophisticated two-stage pipeline:

  1. Eigen-Neural-Operator (ENO): At the core of Deepcontour is a specialized architecture based on the Fourier Neural Operator (FNO). Unlike standard neural networks, the ENO is "grid-agnostic." It maps physical parameters—such as material density or geometry—directly to a predicted set of eigenvalues, regardless of the mesh resolution used to discretize the underlying physics.
  2. Adaptive Contour Construction via KDE: Because raw neural predictions can be noisy, Deepcontour employs Kernel Density Estimation (KDE) to smooth the predicted eigenvalues into a continuous density profile. The system then identifies "valleys" (low-density regions) in the spectrum, which serve as the safest and most efficient boundaries for contour placement.

Crucially, the AI does not compute the final eigenvalues. It merely provides the "map" (the optimized contours). A rigorous classical numerical solver, such as CIRR or FEAST, then performs the actual integration. This hybrid approach bypasses the "black box" accuracy issues of pure AI solvers while eliminating the efficiency bottlenecks of classical methods.

Experimental Validation and Key Results

To demonstrate its broad applicability, Deepcontour was evaluated across five diverse scientific domains:

  • Kirchhoff-Love Plate: Structural mechanics (thin plate vibration).
  • EGFR Electronic: Quantum chemistry (molecular electronic structures).
  • EM Cavity: Electromagnetics (resonant modes).
  • Piezoelectric Coupled-Field: Acoustics and mechanics.
  • Thermal Diffusion: Fluid dynamics and heat transfer.

Using 1,500 unique samples per domain with matrix sizes up to $N=50,000$, the framework yielded impressive results:

  • Massive Speedups: Deepcontour consistently outperformed five state-of-the-art scouting baselines, including Arnoldi and Lanczos scouts, achieving end-to-end speedups of up to 5.63x.
  • Superior Scalability: The performance advantage of Deepcontour over traditional methods widens as matrix sizes increase, making it exceptionally well-suited for massive engineering problems.
  • Resolution Invariance: Thanks to its FNO-based backbone, the model can be trained on small, low-resolution versions of a problem and successfully guide solvers on massive, high-resolution matrices without requiring retraining.
  • Uncompromised Accuracy: Ablation studies confirmed that Deepcontour missed zero eigenvalues. In contrast, configurations lacking the ENO or KDE modules either missed significant portions of the spectrum or suffered severe slowdowns due to overly conservative contours.

Limitations and Future Directions

While Deepcontour establishes a robust new paradigm for solving large-scale GEPs, the authors identify a few areas for future exploration:

  • Data Dependency: The accuracy of the ENO relies on the diversity of its training data. Contours may become less efficient if applied to physical systems that deviate radically from the training distribution.
  • Complex Spectra: The current framework focuses on Hermitian systems with real eigenvalues. Future iterations could extend to non-Hermitian systems by employing 2D KDE to manage complex eigenvalue distributions.
  • Active Learning: Integrating active learning strategies could drastically reduce the volume of data required to train the ENO for entirely new physical domains.

By successfully merging the predictive power of deep learning with the numerical rigor of classical solvers, Deepcontour represents a major leap forward in large-scale scientific computing.

Summary updated

BibTeX
@inproceedings{chen2026learning,
  author = {Yeqiu Chen and Ziyan Liu and Hong Wang and Lei Liu},
  title = {{Learning-Guided Integration Contours Construction for Fast Large-Scale Generalized Eigensolvers}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ZaOZDGJDAM},
}
Figure