TL;DR
Teaching a neural network new tasks one after another usually causes it to overwrite and forget old ones—especially if you aren’t allowed to keep a stash of past data to jog its memory. This paper introduces HiPo (Hierarchical Polar Adapters), a continual learning framework that prevents task interference by dispersing weight updates in the frequency domain and gradually trickling important knowledge down a fixed-depth memory stack. The result is a system that learns long sequences of tasks without adding new parameters for every task or suffering from rapid memory decay.
What Problem Does This Paper Address?
Humans can learn to recognize new dog breeds today without suddenly forgetting what a cat looks like. Neural networks, however, suffer from catastrophic forgetting: gradient updates for a new task aggressively overwrite weights tuned for previous ones.
In strictly exemplar-free Class-Incremental Learning (CIL), the rules are especially unforgiving: a model learns disjoint batches of classes sequentially, cannot store any past training images, and must classify everything it has ever seen at test time without knowing which task an image came from.
Today’s best approaches typically freeze a pre-trained backbone (like a Vision Transformer) and attach lightweight trainable modules called adapters (like LoRA). To stop these adapters from overwriting themselves, prior methods generally pick one of three poison pills:
- Importance regularization: Putting "stiff springs" on important weights so they can't move, which eventually paralyzes the model's ability to learn new things.
- Orthogonal subspaces: Forcing each new task into a mathematically perpendicular slice of feature space, which steadily consumes available dimensions as tasks pile up.
- Task-specific components: Simplybolting on brand-new prompts or adapters for every task, causing parameter counts to grow endlessly.
HiPo asks: Can we maintain a strictly fixed parameter budget across tasks without running out of representational room?
Methods
Attached to the query and value projections of a frozen ViT-B/16 backbone, HiPo combines three core mechanisms:
- Fourier-Projected Polar Adaptation: Before an adapter touches a feature vector, HiPo passes it through a parameter-free, orthonormal 1D real Fast Fourier Transform (rFFT). It doesn't do this to look for physical waves in the features, but rather as a fast $\mathcal{O}(D \log D)$ global mixer. Inside this complex frequency space, HiPo applies parameter-efficient block-diagonal matrices parameterized in polar coordinates—separating magnitude ($M$) and phase ($\Phi$) via $W = M \odot e^{i\Phi}$ so scale and direction can optimize independently. When transformed back via an inverse rFFT, localized block updates get dispersed smoothly across all spatial feature channels, preventing any single feature coordinate from taking a massive, destructive hit.
- Fixed-Depth Hierarchical Memory Stack: Inspired by how biological brains separate fast working memory from slow long-term storage, HiPo maintains a stack of $L=5$ adapter tiers with fixed size. Direct task gradients only update the top "Working Memory" tier ($l=0$). Deeper "Long-Term Memory" tiers ($l > 0$) never see direct task gradients; they absorb knowledge via slow, exponentially decaying transfers from shallower tiers. All tiers combine via learnable superposition weights ($\lambda_l$) to produce the final output.
- Importance-Driven Cartesian Consolidation: To decide what moves down the memory stack, HiPo periodically computes "Snapshot Fisher" scores (squared gradients estimating how much a parameter matters). If a weight’s joint magnitude/phase importance clears an adaptive threshold, a fraction of it cascades down to the next tier at every optimization step. Crucially, this transfer happens in Cartesian space ($W_R + iW_I$) and scales by the ratio of tier weights ($\lambda_l / \lambda_{l+1}$), mathematically conserving the effective transformation of the network during the handoff before re-projecting back to polar coordinates.
Datasets
HiPo is evaluated under zero-buffer conditions across four established image classification benchmarks (no new datasets are introduced):
- CIFAR-100 and CUB-200 (fine-grained birds): Standard in-distribution benchmarks split into 10 sequential tasks.
- ImageNet-R (renditions like art, cartoons, origami) and ImageNet-A (natural adversarial examples): Out-of-distribution benchmarks that test severe distribution shifts relative to the pre-trained ViT backbone. ImageNet-A uses 10 tasks, while ImageNet-R is tested across 5, 10, and 20 tasks to stress-test sequence fragmentation.
Key Insights and Ideas
- Fourier dispersion is the secret sauce for polar adapters: Ablations reveal a fascinating interaction. Using polar coordinates directly in standard spatial space actually crashes accuracy by 14.61 points on ImageNet-A compared to full HiPo (49.78% vs. 64.39%). Polar optimization needs the global channel mixing of the Fourier basis to shine; together, dispersion acts as the primary shield against task interference.
- Separating "learning" from "remembering": Why look beyond final accuracy? Some ablated variants actually achieve slightly higher immediate accuracy on a brand-new task, masking their flaws. When measuring explicit forgetting across tasks, full HiPo achieves the lowest forgetting across every single benchmark setting, proving the memory stack genuinely protects old representations.
- Seamless mid-flight consolidation: Moving weights directly in polar coordinates distorts the sum of complex vectors. Temporarily stepping into Cartesian coordinates to shift weight mass down the stack preserves the exact effective adapter weight—allowing the network to reorganize its long-term memory every single step without jolting its active predictions.
Key Results
Evaluated with both a linear classifier (CNN) and a prototype-based Nearest-Mean-of-Exemplars (NME) head:
- Rock-solid on long sequences: When fragmenting ImageNet-R from 10 tasks to 20 tasks, HiPo’s final NME accuracy barely flinches, dropping just 0.21 points (79.21% to 79.00%). Meanwhile, strong baselines degrade noticeably: SD-LoRA drops 1.38 points, RanPAC drops 2.63, and BiLoRA drops 4.04. At 20 tasks, HiPo beats BiLoRA by 5.54 points while using roughly half the adapter parameters (0.78M vs. 1.59M).
- Handling tough shifts: On the challenging ImageNet-A benchmark (10 tasks), HiPo hits 64.39% final NME accuracy, edging out SD-LoRA (63.98%) and substantially beating RanPAC (58.33%) and BiLoRA (56.45%).
- In-distribution nuance: On standard benchmarks like CIFAR-100 and CUB-200, specialized projection heads like RanPAC (89.68% / 82.08%) and BiLoRA (88.93% / 81.56%) slightly outperform HiPo NME (88.28% / 81.34%), highlighting that strong classifier heads still carry heavy weight when domain shift is minimal.
Limitations and Future Work
The authors are admirably candid about what their math does and doesn't prove:
- No magic guarantees against forgetting: Their theoretical bounds prove that spatial coordinate updates are dispersed and that inter-tier transfers conserve effective weights—they do not mathematically guarantee that past-task predictions will never be forgotten.
- Modest isolated gains: While Fourier dispersion is a massive win, the isolated accuracy boosts from polar parameterization and hierarchical consolidation are smaller (~0.5 to 1.5 points) and depend on the dataset and classifier head. Furthermore, learned deep-tier weights ($\lambda_l$) tend to shrink during training, suggesting a delicate capacity–regularization tradeoff rather than a literal model of biological memory.
- Future directions: Exploring alternative unitary bases beyond Fourier transforms, directly comparing feature drift against orthogonal subspace methods, and scaling up to larger backbones and broader task distributions.
Summary updated