Manuscript Offprint

arXiv:2610.27203

LSA-PAST: Layer-Specific Adaptation and Prototype Transport for Compositional Incremental Learning

Kyle Stein, Andrew Arash Mahyari, Guillermo Francia, Eman El-Sheikh, Jiangpeng He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Class-Incremental Learning (CIL) enables models to recognize new classes over time while retaining prior knowledge, but many real-world problems are compositional, where visual concepts arise from combinations of primitives such as states (i.e., red, shiny) and objects (i.e., shoe, car). Standard CIL methods treat each composition as an independent class, ignoring shared primitives and providing no mechanism to stabilize their representations as new compositions arrive. This causes parameter updates to entangle primitives and induce drift that degrades performance on earlier compositions. Compositional Incremental Learning (composition-IL) formalizes this setting by introducing new state-object compositions across tasks. In this paper, we propose Layer-Specific Adaptation with Prototype-Anchored Adapter-Space Transport (LSA-PAST), a parameter-efficient method tailored to composition-IL. LSA integrates Low-Rank Adaptation (LoRA) into a frozen ViT with depth-specialized adapters for states, objects, and compositions. PAST then maps past, anchored prototypes into the current adapter space through a rehearsal-free affine transform fit on current-task data, enabling old prototypes to remain compatible with new adapters. Extensive experiments demonstrate that LSA-PAST achieves state-of-the-art (SOA) accuracy-forgetting trade-off performance for composition-IL.

1. Introduction

Deep learning has achieved remarkable success across visual recognition tasks, from fine-grained identification to large-scale categorization [2, 16, 26]. This success typically rests on the brittle assumption that the world can be captured in a single, static training set. However, in real-world deployments, data arrives sequentially and models must incorporate new knowledge without full retraining or access to past data. Class-Incremental Learning (CIL) [20, 27, 29, 32, 39] formalizes this setting where a learner is

Figure

Figure 1. Accuracy-forgetting trade-off on composition-IL benchmarks for adapter- and prompt-based methods.

exposed to a sequence of tasks with expanding label space and must acquire new classes while preserving previously learned knowledge, reinforcing the issue of catastrophic forgetting [8]. Recent CIL methods adopt parameter-efficient fine-tuning (PEFT) of pre-trained models to alleviate forgetting through prompt-tuning [40, 44, 45] and adapters [15, 25, 55]. However, this progress is largely measured in object-only settings where classes are treated as singular entities, an assumption misaligned with the compositional nature of real-world concepts.

Concepts in the visual world are often compositional, combining primitives such as states (e.g., striped, leather) and objects (e.g., shirt, shoe) [7, 21, 22]. This structure is central to human cognition, yet most CIL methods and benchmarks treat classes as atomic and ignore compositionality. Compositional Incremental Learning (composition-IL), introduced in [52], addresses this gap by learning to acquire new state-object pairs over tasks while retaining performance on prior compositions. A key difficulty in composition-IL is state confusion: models often recognize the object but confuse its state (e.g., “shoe” vs. “leather shoe” or “canvas shoe”). Pretrained models bias representations toward object identity [10, 35], causing feature entanglement among compositions sharing an object [13, 30]. Furthermore, standard pretraining often lacks the fine-grained sensitivity to texture and material required for state discrimination [10, 46]. These issues worsen when object-centric CIL methods are applied to compositions. Fig. 1 shows that prior, object-centric CIL methods yield poor accuracy-forgetting trade-offs, while our method provides the strongest overall balance across all benchmarks.

In this work, we propose Layer-Specific Adaptation with Prototype-Anchored Adapter-Space Transport (LSA-PAST) for composition-IL. Our approach introduces Layer-Specific Adaptation (LSA) with three depth-specialized Low-Rank Adaptation (LoRA) [18] adapters that exploit the hierarchical processing structure of vision transformers (ViTs) [5, 6, 23, 36, 38]: a state adapter in early layers reduces state confusion by amplifying low-level cues such as texture and color, an object adapter in middle layers learns shape and part structure, and a composition adapter in late layers integrates primitives into complete concepts. By exploiting this property and specializing transformer depths for different aspects of compositional reasoning, the model learns primitive-specific representations that transfer across compositional classes.

To improve the stability of compositional decision boundaries, we introduce Primitive-Guided Stabilization (PGS), which anchors each composition prototype to directions from the state and object heads when its primitives recur across tasks. Finally, to alleviate catastrophic forgetting arising from inter-task prototype misalignment, we propose Adapter–Space Transport (AST). In the composition-IL setting, each task has unique LoRA adapters, so features and prototypes learned at different times live in task-specific adapter spaces. These task-specific adapter spaces are not directly interoperable, limiting the use of cross-space evidence for previously learned compositions [49]. AST addresses this by fitting a lightweight affine relation from each past adapter space to the current one using only current-task image pairs (rehearsal-free), and transporting the anchored unit prototypes from past tasks into the current adapter geometry. Overall, our key contributions can be summarized as follows:

• We introduce LSA-PAST, a parameter-efficient composition-IL framework with novel depth-specialized adaptation and rehearsal-free prototype transport across task-specific adapter spaces.

• We curate a new composition-IL benchmark for evaluating novel state–object combinations and recurring primitives across tasks.

• We provide strong baselines, ablations, and analysis showing improved accuracy-forgetting trade-offs on composition-IL benchmarks.

References (54)

  • Rainbow memory: Continual learning with a memory of diverse samples
  • Elasticface: Elastic margin loss for deep face recognition
  • Nature Machine Intelligence, 5(3):220–235, 2023
  • Knowledge restore and transfer for multi-label class-incremental learning
  • From colors to classes: Emergence of concepts in vision transformers
  • Transformers for image recognition at scale
  • Concepts and compositionality: in search of the brain’s language of thought
  • Adapter merging with centroid prototype mapping for scalable class-incremental learning
  • Imagenet-trained cnns are biased towards texture; increasing shape bias improves accuracy and robustness
  • Exemplar-free continual representation learning via learnable drift compensation
  • Parameter-efficient fine-tuning for large models: A comprehensive survey (opens arXiv in a new tab)
  • Learning attention as disentangler for compositional zero-shot learning
  • Exemplar-free online continual learning
  • Clora: Continual low-rank adaptation for rehearsal-free class-incremental learning
  • Deep residual learning for image recognition
  • Semantic shift estimation via dual-projection and classifier reconstruction for exemplar-free class-incremental learning
  • Low-rank adaptation of large language models
  • Visual prompt tuning
  • Proceedings of the national academy of sciences, 114(13):3521–3526, 2017
  • Building machines that learn and think like people
  • Beyond the doors of perception: Vision transformers represent relations between objects
  • The Power of Scale for Parameter-Efficient Prompt Tuning
  • Dynamic integration of task-specific adapters for class incremental learning
  • Mvitv2: Improved multiscale vision transformers for classification and detection
  • Learning without forgetting
  • Composition-incremental learning for compositional generalization
  • Class incremental learning with self-supervised pre-training and prototype learning
  • Decomposed soft prompt guided fusion enhancing for compositional zero-shot learning
  • Prompt-based continual compositional zero-shot learning (opens arXiv in a new tab)
  • Diffclass: Diffusion-based class incremental learning
  • Online class incremental learning on stochastic blurry task boundary via mask and visual prompt tuning
  • Learning graph embeddings for compositional zero-shot learning
  • Intriguing properties of vision transformers
  • Dissecting query-key interaction in vision transformers
  • Low-shot learning with imprinted weights
  • Do vision transformers see like convolutional neural networks? Advances in neural information processing systems, 34:12116–12128, 2021
  • icarl: Incremental classifier and representation learning
  • Coda-prompt: Continual decomposed attention-based prompting for rehearsal-free continual learning
  • Overcoming catastrophic forgetting for multi-label class-incremental learning
  • Pilot: A pre-trained model-based continual learning toolbox
  • Integrating task-specific and universal adapters for pre-trained model-based class-incremental learning
  • Complementary prompting for rehearsal-free continual learning
  • Learning to prompt for continual learning
  • Adversarial fine-grained composition learning for unseen attribute-object recognition
  • Navigating semantic drift in task-agnostic class-incremental learning
  • Fine-grained visual comparisons with local learning
  • Semantic drift compensation for class-incremental learning
  • Learning invariant visual representations for compositional zero-shot learning
  • Continual compositional zero-shot learning
  • Not just object, but state: compositional incremental learning without forgetting
  • Pycil: a python toolbox for class-incremental learning
  • Continual learning with pre-trained models: A survey
  • Expandable subspace ensemble for pre-trained model-based class-incremental learning
  • Class-incremental learning: A survey