Entropy Transformer Networks: A Learning Approach via Tangent Bundle Data Manifold

Pourya Shamsolmoali, Masoumeh Zareapoor

Abstract

Traditional Spatial Transformer Networks (STNs) rely on linear or bilinear interpolation to achieve geometric invariance, often failing to capture the complex, non-linear structure of image data. This paper introduces Entropy Spatial Transformer Networks (ESTN), a novel framework that performs transformations directly on the learned data manifold. By utilizing tangent bundle approximations and entropy-based regularization, ESTN overcomes the limitations of gradient vanishing and unrealistic pixel-level assumptions. Experimental results across multiple benchmarks, including Fashion-MNIST and CelebA, demonstrate that ESTN achieves superior accuracy, faster inference speeds, and greater robustness compared to existing equivariant models.

Introduction

In the field of computer vision, achieving invariance to geometric transformations—such as rotation, scaling, and translation—is a fundamental challenge. While standard Convolutional Neural Networks (CNNs) possess some degree of translation invariance through pooling layers, they often struggle with more complex spatial deformations. Spatial Transformer Networks (STNs) were introduced to address this by explicitly learning to transform input data. However, the reliance of STNs on simple bilinear interpolation creates a bottleneck: it assumes a linear relationship between adjacent pixels that rarely exists in natural images, and it produces sparse gradients that hinder effective training.

The Limitations of Pixel-Level Interpolation

The standard approach to spatial transformation involves mapping a target grid back to the source image and interpolating values. This method suffers from two primary flaws:

  1. Unrealistic Geometric Assumptions: Bilinear interpolation assumes data is distributed linearly between discrete pixel coordinates. During significant downsampling or warping, this assumption breaks down, leading to artifacts and loss of semantic information.
  2. Gradient Vanishing: Because interpolation only considers the immediate four-neighbor vicinity of a point, the resulting dependencies are highly localized. This sparsity often leads to poor gradient flow, particularly when the network needs to perform large-scale transformations or significant image reductions.

Methodology: The ESTN Framework

Entropy Spatial Transformer Networks (ESTN) redefine the transformation process as a navigation problem on a data manifold rather than a 2D grid manipulation. The architecture consists of three core components:

Tangent Bundle Approximation

Instead of treating an image as a flat grid, ESTN views it as a point on a high-dimensional manifold. The model employs a Variational Autoencoder (VAE) to estimate the "local tangent space" of this manifold. By generating auxiliary samples in the neighborhood of a query pixel, the network learns how the image should realistically evolve under transformation based on the underlying data distribution. This allows the model to "fill in" missing information using learned priors rather than simple averages.

Entropy Regularization

To optimize the matching of sample points during the transformation phase, the authors implement an entropy regularizer. By treating the transformation as a probability distribution problem, the entropy term encourages a more thorough exploration of the search space. This smoothing effect improves convergence rates and helps the model avoid local minima that typically plague standard STNs.

Norm-Regularization and Stability

To ensure training stability without the computational overhead of Singular Value Decomposition (SVD), ESTN introduces a technique to normalize the non-zero values of convolution operations. This is achieved through an efficient iterative algorithm for calculating matrix square roots, which maintains gradient variance across deep layers and optimizes the model for high-performance GPU execution.

Experimental Results

The ESTN model was evaluated against several benchmarks to test its classification accuracy, generative capabilities, and computational efficiency.

Classification Performance

On the Fashion-MNIST dataset (using a semi-supervised setup with 1,000 labels), ESTN demonstrated a significant performance leap:

  • Standard CNN: 14.47% error rate
  • Original STN: 11.84% error rate
  • ESTN: 7.21% error rate

Generative Quality and Reconstruction

Using the CelebA dataset, the model's ability to reconstruct and synthesize images was measured via marginal log-likelihood. ESTN achieved a score of 3.22, outperforming both Conditional VAEs (3.13) and $\beta$-VAEs (3.08). Qualitative tests further showed that ESTN could reconstruct recognizable images even when provided with only 5% of the original pixel data, demonstrating the power of manifold-based interpolation.

Computational Efficiency

Despite the mathematical complexity of tangent bundle estimation, ESTN is highly optimized. The authors report that the model is up to 2.1× faster than standard Conditional VAEs (CVAE) and requires fewer Floating Point Operations (FLOPs) to reach peak accuracy, making it viable for real-time applications.

Conclusion and Future Directions

Entropy Transformer Networks represent a shift from geometric pixel-shifting to manifold-aware learning. By smoothing the path of transformations through entropy regularization and tangent space approximation, ESTN provides a more robust and efficient solution for geometric invariance.

Future research may focus on scaling these approximations to high-resolution imagery, where manifold complexity increases exponentially. Additionally, extending the framework to handle non-rigid deformations—such as the articulation of human limbs—could further expand the utility of ESTN in complex video and motion tracking tasks.

Summary updated

BibTeX
@inproceedings{shamsolmoali2023entropy,
  author = {Pourya Shamsolmoali and Masoumeh Zareapoor},
  title = {{Entropy Transformer Networks: A Learning Approach via Tangent Bundle Data Manifold}},
  booktitle = {IJCNN},
  year = {2023},
  url = {https://openreview.net/forum?id=NxQ-nQ1m_Zd},
}
Figure