constantine
Use the Constantine diagnostic to truncate subspace
Specification
Alias: None
Arguments: None
Description
Uses a criterion based on the variability of the subspace estimate. Eigenvectors are computed for bootstrap samples of the gradient matrix. The subspace size associated with the minimum distance between bootstrap eigenvectors and the nominal eigenvectors is the estimated active subspace size.
Usage Tips
If this automated diagnostic does not yield desirable results, consider
using the explicit dimension
truncation option or one of the other
truncation methods.
Theory
Below is a brief outline of the Constantine method of active subspace identification. The first two steps are common to all active subspace truncation methods.
- Compute the gradient of the quantity of interest, \(q = f(\mathbf{x})\) ,
at several locations sampled from the input space,
Compute the eigendecomposition of the matrix \(\hat{\mathbf{C}}\) ,
- where \(\hat{\mathbf{W}}\) has eigenvectors as columns,
\(\hat{\mathbf{\Lambda}} = \text{diag}(\hat{\lambda}_1,\:\ldots\:,\hat{\lambda}_N)\) contains eigenvalues, and \(N\) is the total number of parameters.
- Use bootstrap sampling of the gradients found in step 1 to compute replicate
eigendecompositions,
Compute the average distance between nominal and bootstrap subspaces,
- where \(M_{boot}\) is the number of bootstrap samples,
\(\hat{\mathbf{W}}_n\) and \(\hat{\mathbf{W}}_{j,n}^*\) both contain only the first \(n\) eigenvectors, and \(n < N\) .
The estimated subspace rank, \(r\) , is then,
For additional information, see Constantine, Paul G. “Active Subspaces: Emerging Ideas for Dimension Reduction in Parameter Studies”. Vol. 2. SIAM, 2015.