Permutation Invariant Learning with High-Dimensional Particle Filters

Akhilan Boopathy, Aneesh Muppidi, Peggy Yang, Abhiram Iyer, William Yue, Ila FietearXiv 2024 · DOI

Introduction

Standard deep learning models often struggle when data is presented in a non-shuffled, sequential manner—a scenario common in real-world applications and continual learning. This "permutation dependence" leads to two critical failures: catastrophic forgetting, where new knowledge erases old memories, and loss of plasticity, where models become increasingly resistant to learning new information over time.

This paper introduces a Weighted Particle Filter (WPF) framework designed to achieve permutation invariance. By ensuring that a model's state depends on the content of the data rather than its chronological order, the authors provide a robust solution for lifelong learning and reinforcement learning (RL) settings.

The Weighted Particle Filter Framework

The core innovation is a gradient-based particle filter tailored for high-dimensional parameter spaces. Unlike traditional particle filters that suffer from the "curse of dimensionality" due to random sampling, the WPF leverages gradient descent to guide an ensemble of "particles" (model instances) toward low-loss regions.

Key Components:

  • Particle Ensemble: Instead of a single point estimate, the framework maintains multiple hypotheses of the model parameters.
  • Bayesian Weighting: Particles are reweighted based on their performance, with likelihood defined as $e^{-Loss}$. This enables Bayesian Model Averaging (BMA), where predictions are a weighted consensus of the ensemble.
  • Architecture Agnostic: The WPF acts as a wrapper that can enhance existing continual learning baselines like Elastic Weight Consolidation (EWC) or Learning Without Forgetting (LWF).

Experimental Results

The researchers evaluated the WPF across several benchmarks, including SplitMNIST, SplitCIFAR100, and the ProcGen suite for reinforcement learning.

Superior Performance and Stability

The WPF significantly outperforms standard gradient descent and improves upon established continual learning baselines. As shown in the table below, the WPF achieves a substantial jump in accuracy while maintaining remarkably low variance across different task permutations.

Table 1: Performance comparison of Particle Methods and Continual Learning Baselines on SplitMNIST and SplitCIFAR100.

On SplitMNIST, the Weighted Particle Filter reached 72.0% accuracy, compared to just 48.7% for standard Gradient Descent. When combined with LWF, the performance climbed further to 79.2%.

Accuracy vs. Variance Trade-off

A key goal of the research was to reduce the sensitivity of the model to task ordering. The following visualization demonstrates that the particle-based methods (represented by circles and triangles) consistently occupy the high-accuracy, low-variance region of the performance landscape compared to standard baselines.

Figure 1: Average Accuracy vs. Normalized Task Variance for SplitCIFAR100 and SplitMNIST. Particle filter variants (triangles) consistently show higher accuracy and lower variance than their base counterparts.

Insights and Future Directions

The success of the WPF stems from its ability to maintain diversity. By keeping multiple hypotheses alive, the ensemble acts as a buffer; while some particles adapt to new tasks, others preserve knowledge of previous ones. This prevents the "performance collapse" often observed in RL agents moving through shifting environments.

However, the method does come with a computational cost. Maintaining a large number of particles (e.g., 100) increases memory and processing requirements. Future research will likely focus on scaling these techniques to larger architectures and exploring more efficient resampling methods to prevent "particle collapse," where a single particle dominates the ensemble weights.

Conclusion

By bridging Bayesian inference with gradient-based optimization, the Weighted Particle Filter offers a powerful framework for building models that learn continuously without forgetting. Its ability to achieve near-permutation invariance makes it a promising tool for the next generation of adaptive AI systems.

Summary updated

BibTeX
@misc{boopathy2024permutation,
  author = {Akhilan Boopathy and Aneesh Muppidi and Peggy Yang and Abhiram Iyer and William Yue and Ila Fiete},
  title = {{Permutation Invariant Learning with High-Dimensional Particle Filters}},
  year = {2024},
  eprint = {2410.22695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.22695},
}
Figure