RKPACK A numerical package for solving large eigenproblems

Slides:



Advertisements
Similar presentations
Solving Large-scale Eigenvalue Problems in SciDAC Applications
Advertisements

Chapter 9 Approximating Eigenvalues
Parallel Jacobi Algorithm Steven Dong Applied Mathematics.
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 A Look-Back Technique of Restart for the GMRES(m) Method Akira IMAKURA † Tomohiro SOGABE.
Eigen-analysis and the Power Method
Steepest Decent and Conjugate Gradients (CG). Solving of the linear equation system.
Modern iterative methods For basic iterative methods, converge linearly Modern iterative methods, converge faster –Krylov subspace method Steepest descent.
1cs542g-term Notes  In assignment 1, problem 2: smoothness = number of times differentiable.
1cs542g-term High Dimensional Data  So far we’ve considered scalar data values f i (or interpolated/approximated each component of vector values.
Jonathan Richard Shewchuk Reading Group Presention By David Cline
1cs542g-term Notes  Assignment 1 due tonight ( me by tomorrow morning)
Mar Numerical approach for large-scale Eigenvalue problems 1 Definition Why do we study it ? Is the Behavior system based or nodal based? What are.
example: four masses on springs
1 Systems of Linear Equations Iterative Methods. 2 B. Iterative Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
Scientific Computing Seminar AMLS, Spectral Schur Complements and Iterative Computation of Eigenvalues * C. BekasY. Saad Comp. Science & Engineering Dept.
1 Systems of Linear Equations Iterative Methods. 2 B. Direct Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
數位控制(九).
An introduction to iterative projection methods Eigenvalue problems Luiza Bondar the 23 rd of November th Seminar.
Newton's Method for Functions of Several Variables
August 4, 2007, Deflation Methods in Fermion Inverters, 1 Methods for Fermion Inverters Walter Wilcox Baylor University Joint with Ron Morgan (Mathematics.
1cs542g-term Notes  Extra class next week (Oct 12, not this Friday)  To submit your assignment: me the URL of a page containing (links to)
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 6. Eigenvalue problems.
Dominant Eigenvalues & The Power Method
Example: Introduction to Krylov Subspace Methods DEF: Krylov sequence
Introduction The central problems of Linear Algebra are to study the properties of matrices and to investigate the solutions of systems of linear equations.
Solution of Eigenproblem of Non-Proportional Damping Systems by Lanczos Method In-Won Lee, Professor, PE In-Won Lee, Professor, PE Structural Dynamics.
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Qualifier Exam in HPC February 10 th, Quasi-Newton methods Alexandru Cioaca.
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
In-Won Lee, Professor, PE In-Won Lee, Professor, PE Structural Dynamics & Vibration Control Lab. Structural Dynamics & Vibration Control Lab. Korea Advanced.
Using Support Vector Machines to Enhance the Performance of Bayesian Face Recognition IEEE Transaction on Information Forensics and Security Zhifeng Li,
Hanjo Lim School of Electrical & Computer Engineering Lecture 2. Basic Theory of PhCs : EM waves in mixed dielectric.
Vector Norms and the related Matrix Norms. Properties of a Vector Norm: Euclidean Vector Norm: Riemannian metric:
On the Use of Sparse Direct Solver in a Projection Method for Generalized Eigenvalue Problems Using Numerical Integration Takamitsu Watanabe and Yusaku.
Pyramidal Implementation of Lucas Kanade Feature Tracker Jia Huang Xiaoyan Liu Han Xin Yizhen Tan.
* 김 만철, 정 형조, 박 선규, 이 인원 * 김 만철, 정 형조, 박 선규, 이 인원 구조동역학 및 진동제어 연구실 구조동역학 및 진동제어 연구실 한국과학기술원 토목공학과 중복 또는 근접 고유치를 갖는 비비례 감쇠 구조물의 자유진동 해석 1998 한국전산구조공학회 가을.
1 Marijn Bartel Schreuders Supervisor: Dr. Ir. M.B. Van Gijzen Date:Monday, 24 February 2014.
*Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee *Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee Structural Dynamics & Vibration Control Lab. Structural Dynamics.
23/5/20051 ICCS congres, Atlanta, USA May 23, 2005 The Deflation Accelerated Schwarz Method for CFD C. Vuik Delft University of Technology
1. Systems of Linear Equations and Matrices (8 Lectures) 1.1 Introduction to Systems of Linear Equations 1.2 Gaussian Elimination 1.3 Matrices and Matrix.
CS Statistical Machine learning Lecture 12 Yuan (Alan) Qi Purdue CS Oct
Report from LBNL TOPS Meeting TOPS/ – 2Investigators  Staff Members:  Parry Husbands  Sherry Li  Osni Marques  Esmond G. Ng 
The Power Method for Finding
WORKSHOP ERCIM Global convergence for iterative aggregation – disaggregation method Ivana Pultarova Czech Technical University in Prague, Czech Republic.
Krylov-Subspace Methods - I Lecture 6 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
F. Fairag, H Tawfiq and M. Al-Shahrani Department of Math & Stat Department of Mathematics and Statistics, KFUPM. Nov 6, 2013 Preconditioning Technique.
1 Instituto Tecnológico de Aeronáutica Prof. Maurício Vicente Donadon AE-256 NUMERICAL METHODS IN APPLIED STRUCTURAL MECHANICS Lecture notes: Prof. Maurício.
Finding Rightmost Eigenvalues of Large, Sparse, Nonsymmetric Parameterized Eigenvalue Problems Minghao Wu AMSC Program Advisor: Dr. Howard.
Krylov-Subspace Methods - II Lecture 7 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Characteristic Polynomial Hung-yi Lee. Outline Last lecture: Given eigenvalues, we know how to find eigenvectors or eigenspaces Check eigenvalues This.
The Landscape of Sparse Ax=b Solvers Direct A = LU Iterative y’ = Ay Non- symmetric Symmetric positive definite More RobustLess Storage More Robust More.
Krylov-Subspace Methods - I
Introduction The central problems of Linear Algebra are to study the properties of matrices and to investigate the solutions of systems of linear equations.
Introduction The central problems of Linear Algebra are to study the properties of matrices and to investigate the solutions of systems of linear equations.
Eigenspectrum calculation of the non-Hermitian O(a)-improved Wilson-Dirac operator using the Sakurai-Sugiura method H. Sunoa, Y. Nakamuraa,b, K.-I. Ishikawac,
1C9 Design for seismic and climate changes
Nuclear Norm Heuristic for Rank Minimization
Bayesian belief networks 2. PCA and ICA
Conjugate Gradient Method
CS5321 Numerical Optimization
Feature space tansformation methods
한국지진공학회 춘계 학술발표회 서울대학교 호암교수관 2003년 3월 14일
Lecture 8: Image alignment
Administrivia: November 9, 2009
Modified Modal Methods in Asymmetric Systems
Linear Algebra Lecture 16.
Chapter 2 A Survey of Simple Methods and Tools
Lin. indep eigenvectors One single eigenvector
Presentation transcript:

RKPACK A numerical package for solving large eigenproblems Che-Rung Lee

University of Maryland, College Park Outline Introduction RKPACK Experiments Conclusion 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Introduction The residual Krylov method Shift-invert enhancement Properties and examples 2019/7/28 University of Maryland, College Park

The residual Krylov method Basic algorithm Let be a selected eigenpair approximation of A. Compute the residual . Use r in subspace expansion. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Properties The selected approximation (candidate) can converge even with errors. The allowed error || f || must be less than  ||r||, for a constant  <1. The residual Krylov method can work with an initial subspace that contains good Ritz approximations. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Example A 100x100 matrix with eigenvalues 1, 0.95, …,0.9599. 2019/7/28 University of Maryland, College Park

Shift-invert enhancement Algorithm: (shift value =  ) Let be a selected eigenpair approximation of A. Compute the residual . Solve the equation . Use v in subspace expansion. Equation in step 3 can be solved in low accuracy, such as 103. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Example 0 5 10 15 20 25 30 35 40 100 10-5 10-10 10-15 The same matrix Shift value is 1.3 Linear systems are solved to 10 3. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park RKPACK Features Computation modes Memory requirement Time complexity 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Features Can compute several selected eigenpairs Allow imprecise computational results with shift-invert enhancement Can start with an appropriate initial subspace Use the Krylov-Schur restarting algorithm Use reverse communication 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Computation modes Two computation modes The normal mode: needs matrix vector multiplication only The imprecise shift-invert mode: needs matrix vector multiplication and linear system solving (with low accuracy requirement) can change the shift value Both can be initialized with a subspace. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Memory requirement Use the Krylov-Schur restarting algorithm to control the maximum dimension of subspace Required memory: O(nm)+O(m2) n: the order of matrix A m: the maximum dimension of subspace 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Time complexity The normal mode: kf (n)+kO(nm)+kO(m3) f (n): the time for matrix vector multiplication. k: the number of iterations The imprecise shift-invert mode kf (n) + kO(nm) + kO(m3) + kg(n, ) g(n, ) : the time for solving linear system to the precision . 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Experiments Test problem Performance of RKPACK The inexact residual Krylov method The successive inner-outer process 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Test problem Let A be a 1000010000 matrix with first 100 eigenvalues 1, 0.95, …, 0.9599, and the rest randomly distributed in (0.25, 0.75). Eigenvectors are randomly generated. Maximum dimension of subspace is 20. Stopping criterion: when the norm of residual is smaller than 1013. 2019/7/28 University of Maryland, College Park

Performance of the normal mode Compute six dominant eigenpairs. Compare to the mode 1 of ARPACK Etime: elapse time (second) MVM: number of matrix vector multiplications Iteration: number of subspace expansions ARPACK RKPACK Etime 25.93 24.41 MVM (Iteration) 117 142 2019/7/28 University of Maryland, College Park

The imprecise shift-invert mode Compute six smallest eigenvalues. Use GMRES to solve linear system. (shift = 0) Compare to the mode 3 of ARPACK Prec: precision requirement of solution ARPACK RKPACK Iteration 68 153 ETime 4246.77 623.46 MVM 14552 4932 Prec 1013 103 2019/7/28 University of Maryland, College Park

Inexact residual Krylov method Allow increasing errors in the computation Use the normal mode with matrix A1. The required precision of solving A1.  is the desired precision of computed eigenpairs m is the maximum dimension of subspace 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Experiment and result Compute six smallest eigenpairs. The required precision (using GMRES) Etime: 910.11 second MVM: 6282 Iteration: 67 20 30 40 50 60 70 80 10-2 10-4 10-6 10-8 10-10 2019/7/28 University of Maryland, College Park

Successive inner-outer process Use the convergence properties of Krylov subspace (superlinear) to minimize total number of MVM. (Golub, Zhang and Zha, 2000) Divide the process into stages, with increasing precision requirement. The original algorithm can only compute a single eigenpair 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Experiment and result Compute six smallest eigenpairs. Four stages with required precision (GMRES) 103,106,109,1012. Etime : 1188.12 MVM : 13307 Iteration : 163 20 40 60 80 100 120 140 160 100 10-2 10-4 10-6 10-8 10-10 10-12 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Conclusion Summary Future work 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Summary The residual Krylov method for eigenproblems allows errors in the computation, and can work on an appropriate initial subspace. RKPACK can solve eigenproblems rapidly when uses the imprecise shift-invert enhancement, and is able to integrate other algorithms easily. 2019/7/28 University of Maryland, College Park

University of Maryland, College Park Future work … Parallelization Data parallelism Block version of the residual Krylov method Other eigenvector approximations Refine Ritz vector or Harmonic Ritz vector New algorithms Inexact methods, residual power method … 2019/7/28 University of Maryland, College Park