---
title: Neural Active Manifold (NeurAM)
url: https://www.emergentmind.com/topics/neural-active-manifold-neuram
type: topic
---

# Neural Active Manifold (NeurAM)

Neural Active Manifold (NeurAM) refers to a class of methodologies that perform nonlinear, task-aware dimensionality reduction for uncertainty quantification and surrogate modeling in the context of computationally expensive scalar-output models. The approach leverages neural network-based autoencoding structures or task-supervised encoders to discover low-dimensional, typically one-dimensional, "active manifolds" constituting the principal directions of model output variability. By learning these manifolds and fitting efficient surrogates on them, NeurAM enables tractable sensitivity analysis, uncertainty propagation, and multifidelity variance reduction, with provable statistical guarantees and efficiently addresses sample complexity in high-dimensional settings [2408.03534], [2506.20928].

## 1. Mathematical Foundations and Problem Statement

Let $f:\mathbb{R}^d\to\mathbb{R}$ denote a computationally expensive scalar-valued model. NeurAM seeks to identify a nonlinear low-dimensional representation $e_\psi:\mathbb{R}^d\to\mathbb{R}$ (the encoder, typically with bottleneck dimension one), a decoder $g_\theta:\mathbb{R}\to\mathbb{R}^d$ mapping points in latent space to the input domain, and a surrogate $h_\phi:\mathbb{R}\to\mathbb{R}$ that approximates $f$ restricted to the learned active manifold.

The composite objective balances three desiderata:
- **Manifold reconstruction**:
  $$
  L_{\mathrm{rec}}(\psi,\theta) = \mathbb{E}_{x\sim\mu} \|x - g_\theta(e_\psi(x))\|^2
  $$
- **Surrogate fidelity**:
  $$
  L_{\mathrm{sur}}(\psi,\phi) = \mathbb{E}_{x\sim\mu} |f(x) - h_\phi(e_\psi(x))|^2
  $$
- **Latent consistency**:
  $$
  L_{\mathrm{coh}}(\psi,\theta) = \mathbb{E}_{x\sim\mu} |e_\psi(g_\theta(e_\psi(x)))-e_\psi(x)|^2
  $$

The aggregate minimization is:
$$
\mathcal{L}(\psi, \theta, \phi) = L_{\mathrm{rec}} + L_{\mathrm{sur}} + L_{\mathrm{coh}}
$$

Expectations are replaced in practice via Monte Carlo on $N$ pilot samples $\{x_n, f(x_n)\}$ and optimization is performed over the neural network parameters $\psi$, $\theta$, $\phi$ using stochastic gradient descent (e.g., Adam and L-BFGS) [2408.03534], [2506.20928].

## 2. Network Architectures and Training Algorithms

NeurAM is typically instantiated with the following architectural pattern:
- **Encoder ($e_\psi$)**: Input $\mathbb{R}^d \to$ two hidden ReLU layers (width 8–32) $\to$ linear bottleneck $t \in \mathbb{R}$.
- **Decoder ($g_\theta$)**: $t \in \mathbb{R} \to$ two hidden ReLU layers (width 8–32) $\to$ linear output $\hat{x}\in\mathbb{R}^d$.
- **Surrogate ($h_\phi$)**: $t \in \mathbb{R} \to$ two hidden ReLU layers (width 8–32) $\to$ linear output $\hat{y}\in\mathbb{R}$.

Variations in architectures include deeper or wider networks (2–4 layers, widths 8–32), ReLU or tanh activations (the latter for bounded manifolds), and optional regularization (e.g., weight decay or dropout). Surrogate loss underfitting can be mitigated by increasing the surrogate loss weight.

Typical training uses Adam or L-BFGS optimizers, learning rates $10^{-3}$–$10^{-4}$, batch sizes 32–128, and early stopping on a 20% validation split. Hyperparameter selection can employ random or Bayesian searches, e.g., Optuna [2408.03534], [2506.20928].

## 3. Theoretical Guarantees and Statistical Properties

Theoretical results establish the existence of global minimizers for the NeurAM loss $\mathcal{L}$ over measurable networks, by construction of right-inverses under mild functional assumptions. In the idealized regime (i.e., perfect manifold and surrogate recovery), NeurAM's shared one-dimensional latent variable across high- and low-fidelity models enables the reparametrization of multifidelity estimators to maximize Pearson correlation, provably yielding a reduction in the variance of Monte Carlo estimators. 

More precisely, replacing the standard control-variates low-fidelity evaluation $f_{LF}(x)$ by a matched sample using the shared manifold,
$$
\widetilde{f}_{LF}(x) = g^{LF}\big(F_{LF}^{-1}(F_{HF}(e_\psi^{HF}(x)))\big)
$$
the induced modified correlation $\tilde{\rho}$ obeys $\tilde{\rho} \geq \rho$ (with means and variances preserved), leading to statistical efficiency improvement in multifidelity Monte Carlo [2408.03534]. Proofs employ rearrangement inequalities and explicit covariance analysis.

## 4. Multifidelity Sampling and Outer-Loop Applications

NeurAM systematically supports multifidelity Monte Carlo (MFMC) estimators. Classically, the MFMC control-variates estimator for $q = \mathbb{E}_{x\sim\mu}[f_{HF}(x)]$ combines high- and low-fidelity samples:
$$
\hat{q} = \frac{1}{N_{HF}}\sum_{n=1}^{N_{HF}}f_{HF}(x_n)
  - \beta\left(\frac{1}{N_{HF}}\sum_{n=1}^{N_{HF}}f_{LF}(x_n)
    - \frac{1}{N_{LF}}\sum_{m=1}^{N_{LF}}f_{LF}(x_m')\right)
$$
with optimal weights given in closed form and estimator variance explicitly characterized in terms of the correlation coefficient $\rho$.

By joint learning of the latent coordinate for high- and low-fidelity models and coupling sampling via the inverse-CDF mapping in the shared latent space, NeurAM increases $\rho$ to $\tilde{\rho}$ and thus enables variance reductions by orders of magnitude in test problems (e.g., $\rho\approx0 \to \tilde{\rho}\approx0.9$ yields a 10$\times$ variance reduction in $\hat{q}$) [2408.03534]. This paradigm is operationally realized via mapping new samples in $\mathbb{R}^d$ to the latent, resampling uniformly in latent space, and generating paired points via decoding for each fidelity.

## 5. Empirical Validation and Comparative Performance

NeurAM exhibits robust empirical advantages in nonlinear dimensionality reduction, surrogate construction, and multifidelity variance reduction:

- **Analytical low-dimensional tests**: On functions $Q(x) = x_1^2 + x_2$ and $\sin(x_1^2 + x_2)$, NeurAM identifies the analytically correct manifold $g(t) = (\sqrt{t/2}, t/2)$, achieving projection and surrogate MAE $\lesssim 10^{-3}$ for $N=10$–$1000$ samples. Compared to Active Subspaces (AS) and Active Manifolds (AM), NeurAM attains lower test errors and does not require gradients [2408.03534].
- **Multifidelity tests**: Highly nonlinear two-dimensional functions with minimal standard correlation ($\rho\approx0$) are transformed by NeurAM pairing to achieve $\tilde{\rho}\approx0.9$, producing 10$\times$ variance reduction.
- **Hartmann magnetohydrodynamics (d=5)**: For quantities of interest (QoI) such as velocity $u$ and field $B$, NeurAM achieves MAE $\lesssim 10^{-3}$ for $u$ and $\lesssim 10^{-2}$ for $B$, outperforming AS/AM.
- **Cardiac electrophysiology (d=4, bifurcation)**: In complex bifurcating models with bimodal output, class-specific NeurAM models are fitted post-classification (97% accuracy), achieving per-class surrogate MAE $\lesssim 10^{-3}$ and aggregate MAE $\lesssim 10^{-2}$ [2408.03534].

In all regimes, NeurAM's ability to find 1D nonlinear embeddings is robust and practical with $N\approx 500$–$2000$ samples for $d\leq10$. For higher-dimensional models, loss of manifold accuracy may signal the need for multidimensional latent spaces.

## 6. Extensions and Active Learning Formulation

Generalizations of NeurAM include multidimensional latent embeddings, addition of gradient penalties or orthogonality constraints for manifold uniqueness, and closed-loop integration with Bayesian inference. Further, the methodology can be extended to active learning settings, where the manifold encoder is learned jointly with a Gaussian process (GP) regressor in the latent space. This is achieved by minimizing the negative log marginal likelihood (NLML) of the GP over the mapped data, optionally coupled with regularization or reconstruction terms [2506.20928].

Active sample selection uses the Active Learning Cohn (ALC) criterion, maximizing expected variance reduction in a reference set, with batch and candidate screening heuristics to control computational cost. This approach yields rapid RMSE decay compared to random selection, even in high dimensions (e.g., in an 8D borehole simulator, active NeurAM reached RMSE $\approx 0.6$ vs. random $\approx 1.5$ at $N_{\text{max}}=150$) [2506.20928].

## 7. Recommendations for Practice and Outlook

Empirical and theoretical evidence suggests the following recommendations:
- For input dimension $d\leq 10$, train NeurAM with $N=500$–$2000$ samples for robust 1D manifold and surrogate accuracy (MAE $<$ 1%).
- Start with 2–4 hidden layers of width 8–32, ReLU activations, linear final layers. Equal loss weighting is typical; increase surrogate weight if underfitting observed.
- Monitor manifold quality via projection and surrogate MAE, holdout validation, and parity plots.
- In multifidelity settings, train high- and low-fidelity encoders/decoders and sample in the latent space for well-correlated, variance-reducing pairings.
- Extensions include higher-dimensional latent spaces, penalized or regularized loss terms, and integration within active learning loops as in closed-loop Gaussian process regression [2408.03534], [2506.20928].

NeurAM provides a scalable, flexible nonlinear dimensionality reduction and uncertainty quantification tool for computational science, supporting both surrogate modeling and efficient outer-loop sampling across single- and multifidelity models. Its combination of theoretical guarantees, empirical efficiency, and extensibility positions it as a central methodology in modern computational UQ.

Source: https://www.emergentmind.com/topics/neural-active-manifold-neuram