Autoencoder with Ordered Variance for Nonlinear Model Identification

Midhun T. Augustine, Parag G. Patil, Mani Bhushan, Sharad BhartiyaarXiv 2024 · DOI

Abstract

This paper presents a novel autoencoder with ordered variance (AEO) in which the loss function is modified with a variance regularization term to enforce order in the latent space. Further, the autoencoder is modified using ResNets, which results in a ResNet AEO (RAEO). The paper also illustrates the effectiveness of AEO and RAEO in extracting nonlinear relationships among input variables in an unsupervised setting.

Introduction

In data science and engineering, high-dimensional datasets often reside on simpler, lower-dimensional manifolds. Identifying these structures is crucial for dimensionality reduction and system modeling. Historically, Principal Component Analysis (PCA) has been the preferred tool due to its ability to order latent variables by variance and provide explicit linear models. However, PCA's reliance on linear projections makes it inadequate for systems governed by nonlinear relationships.

While standard Autoencoders (AEs) excel at capturing nonlinearities through neural network architectures, they typically lack the inherent ordering of PCA. In a standard AE, information is distributed across the latent space without a clear hierarchy, complicating the determination of true system dimensionality and the extraction of underlying physical laws.

Methodology: AEO and RAEO

To bridge the gap between PCA's interpretability and AE's flexibility, the researchers introduced two primary innovations: the Autoencoder with Ordered Variance (AEO) and the ResNet-based AEO (RAEO).

Ordered Variance Regularization

The AEO modifies the standard reconstruction loss by adding a variance regularization term. This term applies non-uniform weights to the variances of latent variables, penalizing later dimensions more heavily. This forces the network to compress the most significant information into the initial latent dimensions, mimicking the behavior of PCA's principal components.

Nonlinear autoencoder architecture (a) and the underlying nonlinear manifold (b) it aims to capture.

ResNet Integration (RAEO)

The RAEO architecture incorporates Residual Networks (ResNets). Standard AEs with variance penalties risk converging to "trivial solutions" where weights are zeroed out to minimize the penalty. The skip connections in ResNets ($y = x + f(x)$) prevent this while providing a mathematical structure that facilitates the extraction of explicit nonlinear equations. This allows researchers to isolate dependent variables directly, effectively "learning" the hidden laws of the dataset.

Experimental Evaluation

The models were tested on synthetic datasets designed to simulate engineering constraints, including a 2-variable case with a hyperbolic tangent relationship and a complex 5-variable system governed by nonlinear equations with added Gaussian noise.

Key Results

The AEO demonstrated "perfect ordering" in the latent space. As shown in the experimental results, the variance of redundant latent variables dropped to near zero once the system's intrinsic dimensionality was reached. This allows for the identification of "residuals"—latent variables with near-zero variance that represent the underlying constraints of the system.

Performance metrics for the AEO model, showing (a) ordered variance of latent variables, (b) loss function convergence, and (c-d) high-fidelity reconstruction of nonlinear signals.

In terms of accuracy, the AEO and RAEO significantly outperformed PCA on nonlinear tasks. In the 5-variable test, PCA failed to capture the nonlinearity, resulting in a Mean Squared Error (MSE) of 0.9967. In contrast, the AEO achieved an MSE of 0.0064, and the RAEO achieved 0.0476, while also providing a recoverable mathematical model.

Conclusion

The AEO and RAEO frameworks successfully combine the ordering properties of PCA with the nonlinear modeling capabilities of neural networks. By enforcing a hierarchy in the latent space, these models allow for the unsupervised discovery of system constraints and explicit model recovery. Future work will focus on reducing hyperparameter sensitivity and establishing more rigorous theoretical guarantees for model accuracy.

Summary updated

BibTeX
@misc{augustine2024autoencoder,
  author = {Midhun T. Augustine and Parag G. Patil and Mani Bhushan and Sharad Bhartiya},
  title = {{Autoencoder with Ordered Variance for Nonlinear Model Identification}},
  year = {2024},
  eprint = {2402.14031},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.14031},
}
Figure