Abstract
Latent-space interpolation is a standard technique for assessing the structural learning of generative models, yet it has historically relied on subjective visual inspection. This paper proposes a quantitative evaluation framework for Variational Autoencoders (VAEs) by leveraging datasets with semantically continuous attributes, such as rotation angles or timestamps. Our analysis reveals that the effectiveness of interpolation algorithms (linear, spherical, or normalized) is highly domain-dependent. We further demonstrate that restricting latent space complexity through low-rank bottlenecks and incorporating Interpolation-Aware Training (IAT) significantly enhances interpolation accuracy and output quality across both visual and non-visual domains.
Introduction
Generative models like VAEs are often evaluated by their ability to smoothly interpolate between latent representations. A smooth transition suggests the model has captured the underlying data manifold rather than memorizing training samples. However, this "eyeball test" is flawed due to the lack of ground-truth midpoints in standard datasets and its inapplicability to non-visual data like graphs. This research addresses the need for a principled, mathematical framework for comparing interpolation methods across diverse data types.
Methods
The proposed framework utilizes datasets where each sample is associated with a continuous attribute $t$. For any two points $t_1$ and $t_3$, the model infers their latent codes and uses an interpolation algorithm to predict the code for a midpoint $t_2$. The decoded output of this interpolated code is then compared against the actual ground-truth data at $t_2$ using standard metrics such as Mean Squared Error (MSE), Structural Similarity Index (SSIM), or edge Intersection over Union (eIoU).
To improve interpolation performance, the authors explore two primary strategies:
- Latent Space Restriction: Simplifying the latent space by reducing its dimension $D$ or enforcing a low-rank $R$ bottleneck in the encoder's final linear layer.
- Interpolation-Aware Training (IAT): Introducing a supervised penalty during training that explicitly forces the latent space to align with a specific interpolation function, either at the latent level or the decoded output level.
Experimental Results
Experiments across ShapeNet, CO3D, and Citation Network datasets demonstrate that no single interpolation algorithm is universally superior. While normalized interpolation performs best for images (ShapeNet SSIM 0.736), spherical linear interpolation (slerp) is the clear winner for graph-based citation networks (eIoU 0.590).
As shown in the figure above, restricting the latent space through a low-rank bottleneck consistently improves interpolation performance across all three domains. For example, a rank-8 bottleneck on ShapeNet increased SSIM to 0.744, while a rank-2 bottleneck on the Citation Network improved eIoU to 0.609. This suggests that overly complex posterior distributions can hinder smooth latent traversals.
The most significant gains were achieved through IAT. By explicitly supervising the interpolation process during training, the model generates much sharper and more accurate midpoints compared to standard unsupervised VAE training.
As illustrated in the visual results, IAT methods (bottom rows) produce outputs that closely match the ground truth, whereas unsupervised methods often result in blurry or structurally incorrect interpolations. On ShapeNet, IAT pushed SSIM from the 0.736 baseline to 0.859, generating significantly more accurate rotations.
Conclusion
Quantitative evaluation of latent-space interpolation provides deeper insights into generative model behavior than qualitative assessment alone. The findings conclude that interpolation is domain-dependent and that simpler, supervised latent spaces are key to achieving high-fidelity transitions. Future work may extend this framework to evaluate latent-space analogies and explore the practical application potential of these improved interpolation techniques.
Summary updated