On Slicing Optimality for Mutual Information

Ammar Fayad, Majd IbrahimNeurIPS 2023

TL;DR

Mutual Information (MI) is a gold standard for measuring how much two variables depend on each other, but it breaks down in high-dimensional spaces. This paper introduces Optimal Sliced Mutual Information ($SI^*$), a method that finds the most informative one-dimensional projections of data to estimate dependence efficiently. By moving away from uniform random projections to an optimized "slicing policy," the authors achieve up to a 30% boost in dependence detection and significant gains in representation and reinforcement learning.

What Problem Does This Paper Address?

In the era of big data, we often need to know if two high-dimensional variables (like an image and its label, or a robot's state and its next action) are related. Mutual Information (MI) is the mathematical tool for this, but it suffers from the "curse of dimensionality": as the number of features grows, the amount of data needed to estimate MI grows exponentially.

To solve this, researchers recently turned to "slicing." Instead of looking at the whole high-dimensional space, you project the data onto many random one-dimensional lines (slices) and average the MI found on those lines. While scalable, this approach has a major flaw: it samples directions uniformly. In a high-dimensional space, most directions are just noise. Uniform slicing wastes computation on these irrelevant regions and can miss the few critical directions where the actual relationship lives.

Methods

The authors propose a principled framework to find an optimal distribution of slices. They define $SI^*$ through a regularized optimization problem based on two key criteria:

  1. Informative Projections: Slices should be concentrated in regions where the projected variables show the highest mutual information.
  2. Diversity: Slices must remain scattered across the unit sphere to ensure no relevant directions are ignored (preventing the model from "collapsing" onto a single line).

Technically, they frame this as a reward-maximizing Optimal Transport (OT) problem. They prove that an optimal slicing policy exists and provide a variational representation that allows them to build a Neural Estimator. This estimator uses deep neural networks to learn the best slicing directions and the dependence measure simultaneously, making it compatible with modern machine learning pipelines like PyTorch or TensorFlow.

Datasets

The authors evaluated $SI^*$ across three distinct domains:

  • Synthetic Benchmarks: 10 different complex geometric structures (e.g., sinusoidal, elliptical, spherical harmonics, and hyper-hypocycloids) designed to test a measure's ability to distinguish signal from noise.
  • Representation Learning: Standard image datasets STL-10 and CIFAR-10, used to test if $SI^*$ can help an encoder learn better features via the Deep InfoMax (DIM) framework.
  • Reinforcement Learning: Challenging OpenAI Gym (MuJoCo) environments, specifically Humanoid-v3, Ant-v3, and Hopper-v3, where the state and action spaces are high-dimensional.

Key Insights and Ideas

  • Two Slices are Better Than One: Unlike some other slicing methods (like Sliced Wasserstein Distance), the authors show that $SI^*$ requires two independent slicing variables ($\Theta$ and $\Phi$). Using only one can fail to detect dependence in even simple cases, like rotated distributions.
  • Dimensionality Independence: A major theoretical "aha" moment is the proof that the estimation error of $SI^*$ depends on the data's dimensions only by a constant factor. This confirms it truly bypasses the curse of dimensionality.
  • Generalization of SI: The paper proves that $SI^*$ is a generalization of standard Sliced Mutual Information. If you set the diversity constraints to be loose enough, it naturally includes the uniform sampling case but allows for much higher "detection power" when optimized.

Key Results

  • Efficiency: In a motivating example, $SI^*$ reached perfect accuracy using ~75% fewer slices than uniform sampling methods. By optimizing the slicing directions, the method rapidly captures the underlying dependence without wasting computation on uninformative projections.
Efficiency of SI*
  • Superior Detection: In synthetic tests, $SI^*$ consistently outperformed state-of-the-art baselines (like Distance Correlation and MIC) by up to 30% in accuracy when detecting complex relationships in noisy data across various geometric structures.
Synthetic Benchmark Results
  • Downstream Performance:
    • In Image Classification, replacing standard MI with $SI^*$ in the Deep InfoMax objective improved classification accuracy on STL-10 (e.g., from 69.15% to 76.89% for convolutional layers).
  • In Reinforcement Learning, $SI^*$ led to faster learning and higher rewards (up to 25% gain) in complex control tasks like the Humanoid-v3 environment.

Limitations and Future Work

The primary limitation acknowledged by the authors is that $SI^*$ is currently formalized for bivariate settings (measuring the relationship between two variables). While many problems fit this mold, extending the framework to multivariate settings—where one might want to measure the collective information among three or more variables—remains an open challenge for future research. Additionally, while the computational overhead is similar to standard slicing, the optimization step does make it slightly slower than purely random slicing, though the authors argue the massive gain in sample efficiency more than compensates for this.

Summary updated

BibTeX
@inproceedings{fayad2023slicing,
  author = {Ammar Fayad and Majd Ibrahim},
  title = {{On Slicing Optimality for Mutual Information}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=JMuKfZx2xU},
}
Figure