4 Scalability
Optimization problems in engineering often have outputs of high dimensions, which makes them quite different from traditional applications of machine learning. Interestingly, given that they operate on physical or highly engineered infrastructures, there is often significant structure in the output space. Figure 9.5 depicts the results of a Principal Component Analysis (PCA) on the output space of an Optimal Power Flow (OPF), where the x-axis represents the principal component ratio (i. e., the ratio of the number of the principal components in use to the dimension of the optimal solution) and the y-axis represents the explained variance ratio (i. e., the ratio of the cumulative sum of eigenvalues of the principal components in descending order to the sum of the all eigenvalues). The analysis shows that an almost lossless compression can be achieved with a few principal components. For instance, for the 13659_pegase test case, of principal components preserves of information of the AC-OPF (OPF using an Alternative Current (AC) formulation) optimal solutions.

Figure 9.5 Principal component analysis of optimal power flows (from [18]).
These observations can be used to design optimization proxies that learn in a small subspace of the principal components and then maps the solution into the original output space, as shown in Figure 9.6. This approach, called Compact Optimization Learning [18], dramatically reduces the number of parameters to fit during training. It allows for the design of optimization proxies that learn optimal power flows for the largest electrical power grids.

Figure 9.6 The structure of compact optimization learning. The optimization proxy predicts a small subset z of the principle components from input x, which are then mapped by the linear transformation W into the actual output space p.