NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compressive Meta-Learning

Daniel Mas Montserrat, David Bonet, Maria Perera, Xavier Giró-i-Nieto, Alexander G. Ioannidis

Introduction

As datasets continue to grow in scale, traditional machine learning methods face significant computational and privacy-related bottlenecks. Standard supervised learning often requires multiple passes over raw data, which is expensive and potentially risky for sensitive information.

Compressive Learning (CL) emerged as a solution by projecting an entire dataset into a single, fixed-size vector called a "sketch." The size of this sketch is independent of the number of samples in the original dataset. Once the sketch is computed, model parameters—such as cluster centroids or principal components—can be "decoded" without further access to the raw data.

However, traditional CL relies on randomized, data-independent projections. These "blind" sketches often fail to capture the specific underlying structure of a dataset, necessitating very large sketches for accuracy. Furthermore, decoding typically involves solving complex inverse optimization problems for every new task. This paper introduces Compressive Meta-Learning, a framework that uses neural networks to learn optimal sketching strategies across diverse datasets.

The Compressive Meta-Learning Framework

The authors propose the Sketch-Query Network (SQNet), which meta-learns the entire pipeline end-to-end. The architecture consists of two primary components:

  1. Sketch Network ($\Phi_\omega$): This network processes each data sample individually to create high-dimensional embeddings. These embeddings are then averaged (pooled) to form a single dataset-level sketch.
  2. Query Network ($\psi_\omega$): This network takes the sketch as input and directly outputs the desired parameters, such as a covariance matrix for PCA or cluster centroids for k-means.
Overview of Compressive Learning (a) vs. Compressive Meta-Learning (b). The meta-learning approach involves a training phase (b.1) to optimize the sketch and query networks across multiple datasets, followed by a test phase (b.2) on unseen data.

The "Meta" aspect involves training these networks across a wide variety of datasets. This allows the system to learn a general-purpose sketching strategy that generalizes to completely new, unseen data distributions at test time. For tasks like k-means, the authors employ an Iterative CKM approach, where the query network acts as an "unrolled" optimization algorithm that progressively refines cluster estimates.

Experimental Setup

The framework was evaluated on a diverse array of data types to test its generalization capabilities:

  • Tabular & Image Data: 72 datasets from the OpenML-CC18 suite.
  • MNIST Variants: EMNIST, KMNIST, QuickDraw10, and AfroMNIST.
  • Genomics: DNA sequence datasets from humans (HapMap3) and dogs (Canids).
  • UCI/Kaggle: KDD Cup 1998, Adult, and Bank Marketing datasets.

The researchers used a 50-50 split of these datasets for meta-training and evaluation, ensuring the model's ability to handle out-of-distribution data.

Key Insights

  • Data-Aware Compression: Unlike random Fourier features used in traditional CL, the learned Sketch Network identifies features critical for the downstream task. This allows for significantly higher compression ratios with minimal information loss.
  • Constant-Time Inference: Sketch computation is a single-pass, parallelizable operation. Once the sketch is formed, parameter extraction time is constant, regardless of whether the original dataset contained thousands or billions of samples.
  • Privacy by Design: Differential Privacy (DP) can be integrated by adding noise directly to the sketch. Meta-learning with DP noise makes the networks more robust to that noise during inference.
  • Versatility: The framework can handle tasks without clear "inverse optimization" formulations, such as predicting autoencoder weights directly from a dataset sketch.

Results and Performance

  • PCA & Regression: SQNet consistently outperformed state-of-the-art randomized CL methods (e.g., CHI and UNIT projections). In many instances, it matched the accuracy of standard PCA even when the sketch was a tiny fraction of the full covariance matrix size.
  • k-means: The Iterative CKM method provided lower Mean Square Error (MSE) than traditional compressive k-means, particularly at small sketch sizes.
  • Efficiency: While traditional k-means processing time scales super-linearly with dataset size, the compressive approach processed datasets in less than 20 seconds, independent of sample count.
  • Generalization: Sketch-conditional autoencoders reconstructed out-of-distribution data more effectively than standard autoencoders, proving the sketch captures essential global statistics.

Limitations and Future Work

A primary limitation is the scaling of the sketch size. For tasks like PCA, the sketch size currently scales with the square of the input dimensions ($d^2$). While manageable for hundreds of features, this becomes a hurdle for extremely high-dimensional data like high-resolution images or full-genome sequences. Future research should focus on making the sketch size scale more efficiently (e.g., linearly) with input dimensionality to better handle high-dimensional natural signals.

Summary updated

BibTeX
@inproceedings{montserrat2025compressive,
  author = {Daniel Mas Montserrat and David Bonet and Maria Perera and Xavier Giró-i-Nieto and Alexander G. Ioannidis},
  title = {{Compressive Meta-Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
}
Figure