# Towards Better Generalization in Lifelong Person Re-Identification with Flatness-Aware Learning

*Seungbin Hong, Sung Whan Yoon, Jae-Young Sim*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155207) · [OpenReview](https://openreview.net/forum?id=7TZx0YOrdx) · [Open on the map](../papers.html#p155207)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Class-Incremental Learning](../pgroup/406.md) · Type: new method · Keywords: lifelong person re-identification, catastrophic forgetting, flatness-aware learning, dual-model training, weight-space interpolation

Areas: [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Catastrophic Forgetting and Unlearning › Continual Learning

## Summary
Flatness-Aware Learning improves lifelong person re-identification by decoupling flatness optimization for stability and plasticity models and fusing them via weight-space interpolation to reduce forgetting.

## Explained to a 5-year-old
We have a robot that sees many people over time. It learns to recognize each person but forgets earlier ones. To help it remember, we make the robot learn in a way that its memory stays flat and stable. We use two helpers: one that remembers old people, another that learns new ones. At the end, we combine their memories so the robot can still recognize everyone.

## Explained to a 5-year-old, longer
Imagine a camera that watches people walking by every day. It needs to know who each person is, even after many days. Sometimes the camera forgets the faces it saw a long time ago. To stop this forgetting, we teach the camera in a special way that makes its learning smooth. We split the learning into two parts: one part only looks at old memories, and the other part looks at new faces. The old-memory part checks how flat its predictions are, so it stays stable. The new-face part learns quickly from the fresh pictures. After both parts finish learning, we blend their knowledge together. This blending helps the camera keep the old faces clear while also recognizing the new ones. The whole system is simple and can be added to many existing video-surveillance setups. It works without needing to keep old photos around, which saves space. In the end, the camera becomes better at recognizing people over a long period.

## For a technical reader
The paper addresses the challenge of continuously updating a person identification system as new camera views appear, without losing the ability to recognize people seen earlier. It observes that standard flatness-aware training methods are dominated by the main identification loss, causing insufficient regularization for retaining old knowledge. To fix this, the authors keep two models: one focused on preserving past knowledge by measuring flatness only on distillation losses, and another that learns from the current data. After training, they combine the two models by interpolating their weights, which is theoretically shown to reduce forgetting when the stability model converges to flatter regions. The result is a lightweight, plug-and-play addition that can be dropped into existing re-identification pipelines.

## Problem
Lifelong person re-identification models must continuously learn from new domains while retaining performance on previously seen identities without access to old data, a challenge complicated by catastrophic forgetting under exemplar-free constraints.

## Method
The approach maintains two models per task-a stability model whose flatness perturbation is computed only from the distillation loss, and a plasticity model optimized for the current domain. By decoupling perturbation objectives, selective flatness-aware optimization explores sharpness along the distillation landscape, guiding the stability model toward flatter regions. After training, the models are fused via weight-space interpolation, with a theoretical bound linking flatter stability solutions to reduced forgetting.

## Results
The approach shows consistent improvements in knowledge retention and generalization to unseen domains.

## Contributions
It identifies a gradient conflict in standard SAM for LReID, proposes a selective flatness-aware optimization with dual-model training and weight-space interpolation, and provides a theoretical bound linking flatter stability solutions to reduced forgetting.

## Research questions this paper is counted under

- [How can continual learning systems prevent catastrophic forgetting while acquiring new knowledge?](../q/12.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/155207)
