Abstract
In the era of big data, the sheer volume and complexity of datasets pose significant challenges in machine learning, particularly in image processing tasks. This paper introduces an innovative Autoencoder-based Dataset Condensation Model backed by Koopman operator theory that effectively packs large datasets into compact, information-rich representations. Inspired by the predictive coding mechanisms of the human brain, our model leverages a novel approach to encode and reconstruct data, maintaining essential features and label distributions. The condensation process utilizes an autoencoder neural network architecture, coupled with Optimal Transport theory and Wasserstein distance, to minimize the distributional discrepancies between the original and synthesized datasets. We present a two-stage implementation strategy: first, condensing the large dataset into a smaller synthesized subset; second, evaluating the synthesized data by training a classifier and comparing its performance with a classifier trained on an equivalent subset of the original data. Our experimental results demonstrate that the classifiers trained on condensed data exhibit comparable performance to those trained on the original datasets, thus affirming the efficacy of our condensation model. This work not only contributes to the reduction of computational resources but also paves the way for efficient data handling in constrained environments, marking a significant step forward in data-efficient machine learning.
Introduction
Training state-of-the-art deep learning models has become a resource-intensive endeavor. Large-scale datasets like ImageNet require massive memory and extensive GPU time, creating a barrier for researchers with limited computational resources. Dataset Condensation (DC) addresses this by synthesizing a tiny "proxy" dataset—often just 10 or 50 images per class—that captures the essential information of the original millions.
Existing DC methods frequently struggle with computational complexity, often requiring expensive bi-level optimization, or fail to maintain distributional fidelity. Koopcon addresses these issues by viewing the problem through the lens of Koopman Operator Theory and Predictive Coding, emulating the human brain's efficiency in distilling sensory information.
Methodology
The Koopcon architecture is built on a two-stage strategy involving an autoencoder backbone and a linearized latent space.
The Autoencoder and Koopman Linearization
The model uses an encoder ($\phi$) to map high-dimensional images into a lower-dimensional latent space ($Y$). A decoder ($\phi^{-1}$) then reconstructs these into the synthetic condensed dataset ($X'$). The core innovation lies in applying Koopman theory, which allows non-linear dynamical systems to be represented as linear systems in a higher-dimensional space. Koopcon applies a linear transformation ($T$) and self-attention in the latent space to capture the intrinsic evolution of data features linearly.
Distribution Matching via Optimal Transport
To ensure the condensed data ($Y'$) matches the original data ($Y$), Koopcon utilizes the Wasserstein distance as a loss function. This minimizes the "effort" required to morph the original distribution into the condensed one, preserving geometric and topological properties. The model optimizes a weighted sum of four losses:
- Reconstruction Loss: Ensures the autoencoder can accurately recreate images.
- Classification Loss: Ensures synthetic images retain correct label features.
- Wasserstein Loss: Matches the distributions of the real and synthetic sets.
- Covariance Loss: A regularizer that prevents "mode collapse" by encouraging synthetic samples to be diverse and uncorrelated.
Experimental Results
Koopcon was evaluated on three standard computer vision benchmarks: MNIST, Fashion-MNIST (F-MNIST), and CIFAR10. These datasets test the method's ability to scale from simple grayscale shapes to complex, colorful objects.
Key Findings
- Superior Accuracy: Koopcon consistently outperformed established baselines like Gradient Matching (GM) and Distribution Matching (DM). On MNIST, with only 1 image per class, Koopcon achieved 95.5% accuracy, compared to 91.7% for GM. On CIFAR10 with 50 images per class, it reached 73.2% accuracy, approaching the whole-dataset performance of 84.8%.
- Diversity via Covariance: The Covariance Loss proved vital in preventing redundancy, forcing the model to produce a diverse set of representatives that cover the entire data manifold.
- Generalization: Data condensed using Koopcon's autoencoder performed well when used to train entirely different architectures, such as ResNet-18 or VGG-11, proving the condensed data is not "locked" to the source model.
- Impact of Depth: While deeper autoencoders capture more abstract features, experiments showed a point of diminishing returns where additional complexity did not necessarily yield better generalization.
Conclusion and Future Work
Koopcon demonstrates that linearizing latent spaces via Koopman operators provides a predictable and efficient way to handle complex feature relationships. While currently focused on low-resolution benchmarks (32x32), future work will explore scaling to high-resolution datasets like ImageNet. Additionally, the framework shows potential for "expansive synthesis," where a small seed dataset could be expanded into a richer set of data points to improve model robustness in data-scarce environments.
Summary updated