# Learning Robust Representations for Defending White-Box Adversarial Attacks in Continual Learning

*Yusen Chen, Fei Ye, Qihe Liu, Adrian G. Bors, shijie zhou*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155739) · [OpenReview](https://openreview.net/forum?id=3KoSZdy13A) · [Open on the map](../papers.html#p155739)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Class-Incremental Learning](../pgroup/406.md) · Type: new method · Keywords: continual learning, adversarial attacks, robust representations, white-box defense, representation alignment

Areas: [Safety & Security](../areas/safety.md) › Adversarial Security › Adversarial Robustness; [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Catastrophic Forgetting and Unlearning › Continual Learning

## Summary
The Learning Robust Representation Framework (LRRF) improves continual adversarial defense by aligning clean and adversarial features across tasks to maintain robustness as new attack types appear.

## Explained to a 5-year-old
Imagine a robot learns to recognize cats and dogs over many years. Each year, new tricks are played to fool it, like wearing a hat that looks like a dog. The robot must keep learning new tricks while still remembering what it learned before. This paper helps the robot get better at staying smart even when new tricks appear. It does this by making the robot’s brain align its ideas about real things and tricked things.

## Explained to a 5-year-old, longer
In continual learning, a model learns new things while forgetting old ones, like a child learning new words. Adversarial attacks are tricks that try to fool the model, making it think something is something else. When new attacks appear over time, the model must stay robust without losing its previous defenses. Existing methods often replay old data or use regularizations, but they struggle to keep robust representations across different attacks. This paper proposes a framework that aligns clean and adversarial features at multiple levels. First, it matches the distribution of normal features with those of attacked features within each task. Second, it regularizes the current model against an accumulated model from previous tasks, encouraging invariant features. Third, it uses replayed samples to match class-consistent clean and adversarial features, stabilizing category structure. By doing these three alignments, the model reduces the trade-off between accuracy and robustness. The result is a model that maintains high performance even when faced with new adversarial tricks. This helps security-critical systems stay reliable as attackers evolve their strategies. Overall, the approach provides a more stable and robust continual learning experience.

## For a technical reader
The paper addresses continual learning where models must defend against evolving white-box adversarial attacks without forgetting prior robustness. Existing defenses rely on replay buffers or prediction-space regularization, which often fail to preserve robust representations across new attack types. The proposed framework aligns clean and adversarial feature distributions at three complementary levels: intra-task matching, cross-task invariance, and class-consistent replay. This hierarchical alignment reduces the accuracy-robustness trade-off and stabilizes category structure over time. Empirical evaluation shows the approach achieves state-of-the-art performance on continual adversarial defense benchmarks.

## Problem
Defending models against adversarial attacks in continual learning settings is challenging because models must maintain robustness to new attack types while preserving previously learned defenses.

## Method
The approach aligns clean and adversarial feature distributions within each task, regularizes the current representation network against an accumulated network from previous tasks to encourage attack-invariant features, and matches class-consistent clean and adversarial features using replayed samples to stabilize category structure across tasks.

## Results
The approach achieves state-of-the-art performance on continual adversarial defense benchmarks.

## Contributions
It introduces a representation-centric framework that improves robustness through hierarchical alignment across tasks, addressing the clean-robustness trade-off and preserving attack-invariant features over time.

## Research questions this paper is counted under

- [How can we achieve robust model performance while preserving accuracy, efficiency, and other desirable properties?](../q/118.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155739)
