Preconditioned Locally Minimal Residual Method for Computing Interior Eigenpairs of Symmetric Operators

Similar documents
Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Multigrid absolute value preconditioning

1. Fast Iterative Solvers of SLE

Is there life after the Lanczos method? What is LOBPCG?

SOLVING MESH EIGENPROBLEMS WITH MULTIGRID EFFICIENCY

Using the Karush-Kuhn-Tucker Conditions to Analyze the Convergence Rate of Preconditioned Eigenvalue Solvers

GRAPH PARTITIONING WITH MATRIX COEFFICIENTS FOR SYMMETRIC POSITIVE DEFINITE LINEAR SYSTEMS

PRECONDITIONED ITERATIVE METHODS FOR LINEAR SYSTEMS, EIGENVALUE AND SINGULAR VALUE PROBLEMS. Eugene Vecharynski. M.S., Belarus State University, 2006

A Jacobi Davidson Method with a Multigrid Solver for the Hermitian Wilson-Dirac Operator

Preconditioned Eigenvalue Solvers for electronic structure calculations. Andrew V. Knyazev. Householder Symposium XVI May 26, 2005

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Domain decomposition on different levels of the Jacobi-Davidson method

Toward the Optimal Preconditioned Eigensolver: Locally Optimal Block Preconditioned Conjugate Gradient Method

A Note on Inverse Iteration

Computational Linear Algebra

EIGIFP: A MATLAB Program for Solving Large Symmetric Generalized Eigenvalue Problems

State-of-the-art numerical solution of large Hermitian eigenvalue problems. Andreas Stathopoulos

AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 23: GMRES and Other Krylov Subspace Methods; Preconditioning

Bootstrap AMG. Kailai Xu. July 12, Stanford University

Multigrid Methods and their application in CFD

A Chebyshev-based two-stage iterative method as an alternative to the direct solution of linear systems

A Generalized Eigensolver Based on Smoothed Aggregation (GES-SA) for Initializing Smoothed Aggregation Multigrid (SA)

Robust solution of Poisson-like problems with aggregation-based AMG

Recent advances in approximation using Krylov subspaces. V. Simoncini. Dipartimento di Matematica, Università di Bologna.

arxiv: v2 [math.na] 16 Nov 2016

Implementation of a preconditioned eigensolver using Hypre

Optimal Left and Right Additive Schwarz Preconditioning for Minimal Residual Methods with Euclidean and Energy Norms

Algebraic Multigrid as Solvers and as Preconditioner

MULTIGRID METHODS FOR NEARLY SINGULAR LINEAR EQUATIONS AND EIGENVALUE PROBLEMS

c 2009 Society for Industrial and Applied Mathematics

Iterative Methods and Multigrid

Preconditioned inverse iteration and shift-invert Arnoldi method

The EVSL package for symmetric eigenvalue problems Yousef Saad Department of Computer Science and Engineering University of Minnesota

An Algebraic Multigrid Method for Eigenvalue Problems

Preface to the Second Edition. Preface to the First Edition

On the Modification of an Eigenvalue Problem that Preserves an Eigenspace

Multilevel and Adaptive Iterative Substructuring Methods. Jan Mandel University of Colorado Denver

Eigenvalues and Eigenvectors

Aggregation-based algebraic multigrid

Chapter 5. Eigenvalues and Eigenvectors

Conjugate-Gradient Eigenvalue Solvers in Computing Electronic Properties of Nanostructure Architectures

Iterative Helmholtz Solvers

Spectral analysis of complex shifted-laplace preconditioners for the Helmholtz equation

Solving Ax = b, an overview. Program

Low Rank Approximation Lecture 7. Daniel Kressner Chair for Numerical Algorithms and HPC Institute of Mathematics, EPFL

Alternative correction equations in the Jacobi-Davidson method

DELFT UNIVERSITY OF TECHNOLOGY

Preconditioned Eigensolver LOBPCG in hypre and PETSc

Fast solvers for steady incompressible flow

A decade of fast and robust Helmholtz solvers

The Removal of Critical Slowing Down. Lattice College of William and Mary

Multispace and Multilevel BDDC. Jan Mandel University of Colorado at Denver and Health Sciences Center

The Nullspace free eigenvalue problem and the inexact Shift and invert Lanczos method. V. Simoncini. Dipartimento di Matematica, Università di Bologna

THEORETICAL AND NUMERICAL COMPARISON OF PROJECTION METHODS DERIVED FROM DEFLATION, DOMAIN DECOMPOSITION AND MULTIGRID METHODS

STEEPEST DESCENT AND CONJUGATE GRADIENT METHODS WITH VARIABLE PRECONDITIONING

Kasetsart University Workshop. Multigrid methods: An introduction

Inexact inverse iteration with preconditioning

Adaptive algebraic multigrid methods in lattice computations

Recent implementations, applications, and extensions of the Locally Optimal Block Preconditioned Conjugate Gradient method LOBPCG

A Domain Decomposition Based Jacobi-Davidson Algorithm for Quantum Dot Simulation

An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84

New Multigrid Solver Advances in TOPS

A Model-Trust-Region Framework for Symmetric Generalized Eigenvalue Problems

Solving PDEs with Multigrid Methods p.1

Adaptive Coarse Space Selection in BDDC and FETI-DP Iterative Substructuring Methods: Towards Fast and Robust Solvers

Model order reduction of large-scale dynamical systems with Jacobi-Davidson style eigensolvers

Master Thesis Literature Study Presentation

Fast Iterative Solution of Saddle Point Problems

Progress Report for Year 2. College of William and Mary Algorithms and software

arxiv: v1 [math.na] 11 Jul 2011

JADAMILU: a software code for computing selected eigenvalues of large sparse symmetric matrices

An efficient multigrid solver based on aggregation

AMG for a Peta-scale Navier Stokes Code

LARGE SPARSE EIGENVALUE PROBLEMS. General Tools for Solving Large Eigen-Problems

Functional Analysis Review

6 Inner Product Spaces

Computational Methods. Eigenvalues and Singular Values

A Jacobi Davidson Algorithm for Large Eigenvalue Problems from Opto-Electronics

LARGE SPARSE EIGENVALUE PROBLEMS

Singular Value Computation and Subspace Clustering

Elements of linear algebra

Rayleigh-Ritz majorization error bounds with applications to FEM and subspace iterations

Geometric Multigrid Methods

ETNA Kent State University

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU

Bindel, Fall 2016 Matrix Computations (CS 6210) Notes for

Stabilization and Acceleration of Algebraic Multigrid Method

Lecture 3: Inexact inverse iteration with preconditioning

Algebraic Multigrid Preconditioners for Computing Stationary Distributions of Markov Processes

MICHIEL E. HOCHSTENBACH

Domain decomposition for the Jacobi-Davidson method: practical strategies

Notes on PCG for Sparse Linear Systems

Rational Krylov methods for linear and nonlinear eigenvalue problems

List of Symbols, Notations and Data

Reduction of nonlinear eigenproblems with JD

ILAS 2017 July 25, 2017

Numerical Methods for Solving Large Scale Eigenvalue Problems

Alternative correction equations in the Jacobi-Davidson method. Mathematical Institute. Menno Genseberger and Gerard L. G.

Domain Decomposition-based contour integration eigenvalue solvers

An improved two-grid preconditioner for the solution of three-dimensional Helmholtz problems in heterogeneous media

Transcription:

Preconditioned Locally Minimal Residual Method for Computing Interior Eigenpairs of Symmetric Operators Eugene Vecharynski 1 Andrew Knyazev 2 1 Department of Computer Science and Engineering University of Minnesota 2 Department of Mathematical and Statistical Sciences University of Colorado Denver June 15, 2011 Householder Symposium XVIII Tahoe City, CA (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 1 / 21

The symmetric eigenvalue problem Find a subset of eigenpairs (λ, v) Av = λbv, A = A R n n, B = B R n n, B > 0. Assume that A and B are large, i.e., factorizations are infeasible. Modest accuracy approximate solutions suffice. For example, Compute several extreme eigenpairs (vibration modes analysis, buckling, electronic structure calculations, data clustering, etc). Methods: JD, Lanczos, LOBPCG, etc. Compute several interior eigenpairs (electronic structure calculations) Approaches: block iterations+deflation, shift-and-invert (SI), folded spectrum (FS). (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 2 / 21

The eigenvalue problem of interest Given a symmetric eigenvalue problem Av = λbv, A = A, B = B > 0. We target the eigenpair (λ q, v q ), which corresponds to the smallest magnitude eigenvalue; λ q = min j { λ j }. For example: find an eigenpair of the negative discrete Laplace operator L, which corresponds to the eigenvalue, closest to a given shift value c 2, ( L c 2 I ) v = λv, i.e., A L c 2 I, B I. Similar problems occur, e.g., in the study of large nanosystems ( band gap calculations) (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 3 / 21

This talk Two goals: 1 Introduce preconditioning for the eigenvalue problem 2 Construct a preconditioned eigensolver (No prior FS/SI transformation, matrix-free, low-dimensional trial subspaces, optimal or close to optimal convergence rate) Outline: 1 From an eigenvalue problem to a linear system Simple locally optimal preconditioned linear solvers Absolute value preconditioning 2 From a linear solver to an eigenvalue solver Choice of trial subspaces Approximate eigenvector extraction procedure Preconditioned Locally Minimal Residual method (PLMR) 3 Numerical examples for the model problem with the Laplacian Absolute value preconditioning for existing schemes (LOBPCG) Convergence behavior of PLMR (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 4 / 21

From an eigenvalue problem to a linear system The symmetric eigenvalue problem Av = λbv, A = A, B = B > 0. Assume that we know the exact eigenvalue λ = λ q For simplicity, let λ q be of multiplicity 1 The related homogeneous linear system (A λ q B)x = 0, A = A, B = B > 0. Symmetric and (in general) indefinite Singular The solution is the eigenvector x = v q corresponding to λ q What are the simplest proved to be convergent preconditioned iterative schemes for approximating a nonzero null space vector? How to define preconditioning for the linear system? (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 5 / 21

Solving (A λ q B) v = 0 Let T be a symmetric positive definite (SPD) preconditioner. The preconditioned system T (A λ q B) x = 0 is symmetric in the T 1 -inner product; (x, y) T 1 = (x, T 1 y). Consider a preconditioned locally optimal scheme { x (i+1) x (i) + u, u U (i) = span Tr (i), T (A λ q B) Tr (i)}, such that the residual vector r (i) = Ax (i) λ q Bx (i) satisfies r (i+1) T = min u U (i) r (i) + (A λ q B)u T. (This can be viewed as the preconditioned minimal residual method for (A λ q B)x = 0 restarted after every 2 steps) (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 6 / 21

The accelerated scheme for (A λ q B)x = 0 The simple preconditioned locally optimal scheme ( x (i+1) = x (i) + α (i) w (i) + β (i) T Aw (i) λ q Bw (i)), where w (i) = T ( Ax (i) λ q Bx (i)) and T is SPD. We can further accelerate the convergence by introducing an additional vector x (i) x (i 1) : x (i+1) = x (i) + α (i) w (i) + β (i) T ( Aw (i) λ q Bw (i)) + γ (i) (x (i) x (i 1) ) T -norm of the new residual is minimized over a larger subspace Can expect an accelerated convergence Use this scheme as a base for deriving a preconditioned eigensolver How to define preconditioning? (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 7 / 21

Preconditioning for (A λ q B) x = 0 How to define an SPD preconditioner for (A λ q B) x = 0? If T = A λ q B then the preconditioned locally optimal schemes converges to the exact solution in exactly 1 step. Construct SPD preconditioners T A λ q B The eigenvalue λ q is the smallest in the absolute value. Assume that its magnitude is relatively negligible. Drop the term with λ q B. Construct SPD preconditioners T A 1 (or T A + αi 1 for a singular A). Choose an SPD preconditioner T for system (A λ q B)x = 0 to resemble A 1. Use the same preconditioner for Av = λbv! (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 8 / 21

Absolute value preconditioning Originally introduced for solving symmetric indefinite linear systems Ax = b. Eugene Vecharynski and Andrew Knyazev: Absolute value preconditioning for symmetric indefinite linear systems. UCD CCM Report 298, submitted to SISC, 2011. An SPD preconditioner T is an absolute value preconditioner (AVP), if δ 0 (v, T 1 v) (v, A v) δ 1 (v, T 1 v), v R n, with constants δ 1 δ 0 > 0, such that δ 1 /δ 0 1 is reasonably small and independent of problem size (for mesh problems). We use AVP for (A λ q B)x = 0 and Av = λbv. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 9 / 21

From a linear solver to an eigensolver The choice of trial subspaces The base linear solver for (A λ q B)x = 0 Iteration of the form x (i+1) = x (i) + α (i) w (i) + β (i) T ( Aw (i) λ q Bw (i)) + γ (i) (x (i) x (i 1) ) The new iterate x (i+1) is determined as an element of { span x (i), w (i), T (Aw (i) λ q Bw (i) ), x (i 1)}, w (i) = T (Ax (i) λ q Bx (i) ) The eigensolver for Av = λbv Replace λ q by the Rayleigh Quotient (RQ) λ (i) Extract eigenvector approximation v (i+1) from { span v (i), w (i), T (Aw (i) λ (i) Bw (i) ), v (i 1)}, w (i) = T (Av (i) λ (i) Bv (i) ), where λ (i) = (v (i),av (i) ) (v (i),bv (i) ), v ( 1) = 0. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 10 / 21

From a linear solver to an eigensolver The approximate eigenvector extraction The base linear solver for (A λ q B)x = 0 Iteration parameters are chosen such that x (i+1) = argmin Au λ q Bu T, u u x (i) + span { w (i), T ( Aw (i) λ q Bw (i)), x (i) x (i 1)}. The eigensolver for Av = λbv Extract an approximate eigenvector v (i+1) such that v (i+1) = argmin Au λbu T, λ λ q u, u B =1 } for u span {v (i), w (i), T (Aw (i) λ (i) Bw (i) ), v (i 1), where ) w (i) = T (Ax (i) λ (i) Bx (i) Such an approach (w.r.t. 2-norm) is known as the refined extraction procedure (Jia 97) Results in the solution of a 4-by-4 symmetric eigenvalue problem (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 11 / 21

The PLMR method The Preconditioned Locally Minimal Residual method (PLMR) for approximating the eigenpair (λ q, v q ), where λ q = min λ j : j λ (i) = (v (i), Av (i) ) (v (i), Bv (i) ), w (i) = T ) (Av (i) λ (i) Bv (i), p (i) = v (i) α (i 1) v (i 1), p (0) = 0, ) (Aw (i) λ (i) Bw (i) + δ (i) p (i). v (i+1) = α (i) v (i) + β (i) w (i) + γ (i) T The preconditioner T is SPD (we suggest AVP) The new approximate eigenvector v (i+1) is extracted from V = span {v (i), w (i), T (Aw (i) λ (i) Bw (i) ), v (i 1)} The parameters α (i), β (i), γ (i), and δ (i) are such that v (i+1) = argmin Az λbz T, λ λ q z V, z B =1 λ RR(AB 1 Av = λbv, V), or λ = λ (i) near solution (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 12 / 21

A model problem Find an eigenpair of the standard 2D negative discrete (FD) Laplace operator L, which corresponds to the eigenvalue closest to c 2. 1 If c 2 is reasonably small, then use LOBPCG to compute a sufficiently large number of extreme eigenpairs of Lv = λv 2 For larger c 2, use PLMR to compute the eigenpair corresponding to the smallest magnitude eigenvalue of ( L c 2 I ) v = λv For both approaches choose T to resemble L c 2 I 1 (AVP), i.e., δ 0 (v, T 1 v) (v, L c 2 I v) δ1 (v, T 1 v), v R n An example of such a (MG) preconditioner has been constructed for a linear system ( L c 2 I ) x = b with c 2 not too large (EV, Knyazev 11) Reuse this preconditioner for our model eigenvalue problem! (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 13 / 21

Absolute value preconditioner for the model problem Algorithm (Two-grid absolute value preconditioner) Input r, output w = Tr. 1 Pre-smoothing. Apply ν pre-smoothing steps, w (i+1) = w (i) + M 1 (r Lw (i) ), i = 0,..., ν 1, w (0) = 0. This step results in the pre-smoothed vector w pre = w (ν), ν 1. 2 Coarse grid correction. Restrict r Lw pre to the coarse grid (R), multiply it by LH c 2 I H 1, prolongate to the fine grid (P), and add to w pre, w cgc = w pre + P LH c 2 I H 1 R (r Lw pre ). 3 Post-smoothing. Apply ν post-smoothing steps, w (i+1) = w (i) + M (r Lw (i) ), i = 0,..., ν 1, w (0) = w cgc. Return w = w (ν). (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 14 / 21

Absolute value preconditioner for the model problem The resulting preconditioner T is SPD under mild assumptions on the smoother, restriction and prolongation In practice, we use the multilevel extension of the two-grid algorithm ( V-cycle ) In our numerical tests The problem size n = (2 7 1) 2 1.6 10 4 (h = 2 7 ). Standard coarsening scheme. The coarsest grid has the mesh size 2 4. Full weighting for the restriction and piecewise multilinear interpolation for the prolongation. The smoother: ω-damped Jacobi, ω = 4/5. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 15 / 21

Numerical examples. LOBPCG for Lv = λv Computing (λ q, v q ) closest to 100. Standard MG preconditioner Eigenvalues of L: λ 1 19.7382, λ 2 = λ 3 49.3396, λ 4 78.9410, λ 5 = λ 6 98.6554, λ 7 128.2568... Target (λ 5, v 5 ) Use LOBPCG with block size 5 + standard MG preconditioner (T L 1 ) Residuals for Different Eigenpairs, c 2 = 0 Euclidean norm of residuals 10 0 10 5 Eigenpair 1 Eigenpair 2 Eigenpair 3 Eigenpair 4 Eigenpair 5 2 4 6 8 10 12 14 Iteration number Figure: The typical convergence behavior within a block. The convergence to (λ 5, v 5 ) is the slowest. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 16 / 21

Numerical examples. LOBPCG for Lv = λv Computing (λ q, v q ) closest to 100. AVP, c 2 = 50 Eigenvalues of L: λ 1 19.7382, λ 2 = λ 3 49.3396, λ 4 78.9410, λ 5 = λ 6 98.6554, λ 7 128.2568... Use LOBPCG with block size 5 + AVP (T L c 2 I 1, c 2 = 50) Residuals for Different Eigenpairs, c 2 = 0 Residuals for Different Eigenpairs, c 2 = 50 Euclidean norm of residuals 10 0 10 5 Eigenpair 1 Eigenpair 2 Eigenpair 3 Eigenpair 4 Eigenpair 5 Euclidean norm of residuals 10 0 10 5 Eigenpair 1 Eigenpair 2 Eigenpair 3 Eigenpair 4 Eigenpair 5 2 4 6 8 10 12 14 Iteration number 2 4 6 8 10 12 14 Iteration number Figure: The convergence to (λ q, v q ) closest to 50 is the fastest. Further increase c 2 in the AVP... (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 17 / 21

Numerical examples. LOBPCG for Lv = λv Computing (λ q, v q ) closest to 100. AVP, c 2 = 100 Eigenvalues of L: λ 1 19.7382, λ 2 = λ 3 49.3396, λ 4 78.9410, λ 5 = λ 6 98.6554, λ 7 128.2568... Use LOBPCG with block size 5 + AVP (T L c 2 I 1, c 2 = 100) Residuals for Different Eigenpairs, c 2 = 0 Residuals for Different Eigenpairs, c 2 = 100 Euclidean norm of residuals 10 0 10 5 Eigenpair 1 Eigenpair 2 Eigenpair 3 Eigenpair 4 Eigenpair 5 2 4 6 8 10 12 14 Iteration number Euclidean norm of residuals 10 0 10 5 Eigenpair 1 Eigenpair 2 Eigenpair 3 Eigenpair 4 Eigenpair 5 2 4 6 8 10 12 14 Iteration number Figure: The convergence to (λ 5, v 5 ), closest to 100, is the fastest. AVP accelerates convergence of LOBPCG to the desired eigenpairs. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 18 / 21

Numerical examples. PLMR for (L c 2 I )v = λv Computing (λ q, v q ) closest to c 2 = 200, 250 For larger c 2 the AVP-LOBPCG becomes inefficient use PLMR for (L c 2 I )v = λv Convergence of the PLMR algorithm Convergence of the PLMR algorithm Euclidean norm of residual 10 0 10 5 PLMR BASE PMINRES Euclidean norm of residual 10 0 10 5 PLMR BASE PMINRES 0 5 10 15 20 25 Matvecs 0 5 10 15 20 25 Matvecs Figure: Comparison of PLMR with linear solvers for ((L c 2 I ) λ q I )x = 0. The targeted eigenpairs correspond to λ 13 (left, c 2 = 200) and λ 15 (right, c 2 = 250). (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 19 / 21

Numerical examples. Further applications of AVP Computing a large number of extreme eigenpairs of Lv = λv Target 20 smallest eigenpairs of L. Set block size to 10. Use LOBPCG + standard MG preconditioner (T L 1 ) to compute the first 10 smallest eigenpairs. Put them into the constraints (deflation). Repeat the run with AVP T L c 2 I 1 (c 2 = RQ(v 10 )). Compare with the standard LOBPCG run (T L 1 ) after deflation Residuals for Eigenpairs 11 to 20 Euclidean norm of residuals 10 0 10 5 2 4 6 8 10 12 Iteration number AVP can be used to accelerate the convergence of extreme eigenpairs. (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 20 / 21

Conclusions, current and future work Conclusions Introduced a new approach for computing the eigenpair corresponding to the smallest magnitude eigenvalue Extended the concept of the absolute value preconditioning to the eigenvalue problem Good results for the model problem with the Laplacian for moderately small shift values Current and future work Extension to the subspace iteration Practical applications Theoretical study Software Thank you! (Householder Symposium XVIII) Computing Interior Eigenpairs Tahoe City, June 15, 2011 21 / 21