Building an emulator basis

34.5. Building an emulator basis#

In this section we consider two alternatives to selecting an RBM basis (i.e., the snapshots) at random. They are the Proper Orthogonal Decomposition (POD) methods and the greedy algorithm. We use figures from Maldonado et al. to provide a short overview and refer the reader to the literature for more details.

Overview#

Fig. 34.10 gives an overview of how the two alternative methods of making an informed choice of basis work.

../../../_images/emulator_basic_construction.png

Fig. 34.10 Figures from Maldonado et al. illustrating on the left the basic problem of where to place snapshots and describing the two options. On the right is a comparison of how the two methods arrive at a basis of size six. The POD requires an evaluation of a large number of full-order model (FOM) calculations, that are processed to arrive at six basis elements while the greedy algorithm simply chooses successively the next snapshot according to which has the greatest error (based on a proxy calculation of the error).#

POD approach#

Fig. 34.11 gives a schematic illustration of how POD is implemented using a singular value decomposition (SVD). See Section 34.1 for details on SVDs and also the related Principle Component Analysis (PCA) approach to dimensional reduction.

../../../_images/Proper_Orthogonal_Decomposition.png

Fig. 34.11 Figure from Maldonado et al. indicating how the POD is carried out. Matrix \(M\) is the original matrix of \(m\) snapshops each of length \(n\). The matrix \(U_r\) is the \(r\)-dimensional basis that is to be applied in the RBM emulator.#

Greedy algorithm#

Fig. 34.12 shows the sequence of steps in implementing the greedy algorithm to select a snapshot basis.

../../../_images/Greedy_algorithm_in_action.png

Fig. 34.12 Figure from Maldonado et al. showing how the greedy algorithm is implemented.#

Comparison#

Fig. 34.13 summarizes the comparison between POD and greedy algorithm approaches to selecting snapshots for an emulator that calculates observables for a quantum scattering problem (from Maldonado et al.).

../../../_images/POD_vs_greedy_algorithm.png

Fig. 34.13 Figures from Maldonado et al. showing that while the POD provides slightly more accuracy, the greedy algorithm is close and requires many fewer high fidelity snapshots.#