SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.06136 · 2024

Mamba-FSCIL: Dynamic Adaptation with Selective State Space Model for Few-Shot Class-Incremental Learning

arXiv · PDF · Open in the Atlas

Code that ran

4 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 4 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.06136.json · badge: /api/ran/2407.06136.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
xiaojieli0903/mamba-fscil canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
FunctionStatusWhere it lives
get_test_loader_cfg Ran
ran; our contract draft was wrong, not the code
xiaojieli0903/mamba-fscil/mmfscil/apis/fscil.py
pointer only (licence: NONE) · get_code("742767e6f63f427e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

modify_logit_for_repetition_penalty Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/utils/generation.py
pointer only (licence: NONE); the stored copy get_code serves, from XsChen524/mode-mamba-ts, is pointer only (licence: NONE) · get_code("da95e9a7906f3d52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/utils/generation.py
pointer only (licence: NONE); the stored copy get_code serves, from XsChen524/mode-mamba-ts, is pointer only (licence: NONE) · get_code("8eafd3cf90152c82")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

selective_scan_ref Ran
ran; our contract draft was wrong, not the code
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/ops/selective_scan_interface.py
pointer only (licence: NONE) · get_code("ba7b868fec181b57")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

decode Not yet run
unverified (harvested, no recorded run)
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/utils/generation.py
pointer only (licence: NONE); the stored copy get_code serves, from XsChen524/mode-mamba-ts, is pointer only (licence: NONE) · get_code("eda7b73324d5e67e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_config_hf Not yet run
unverified (harvested, no recorded run)
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/utils/hf.py
pointer only (licence: NONE) · get_code("9a2b14ec4b86cf17")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_state_dict_hf Not yet run
unverified (harvested, no recorded run)
xiaojieli0903/mamba-fscil/mmfscil/models/mamba_ssm/utils/hf.py
pointer only (licence: NONE) · get_code("68da9135cb5a5473")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_losses Not yet run
unverified (harvested, no recorded run)
xiaojieli0903/mamba-fscil/mmfscil/apis/fscil.py
pointer only (licence: NONE) · get_code("1dd5c9c714460567")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiaojieli0903/mamba-fscil when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 6 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
selective_scan_ref 13 other papers
8 dated earlier, 5 later
2101.03961 (2021-01)
Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity
2402.05608 (2024-02)
Scalable Diffusion Models with State Space Backbone
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
and 10 more not named here
modify_logit_for_repetition_penalty 6 other papers
3 dated earlier, 3 later
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
2406.03344 (2024-06)
Audio Mamba: Bidirectional State Space Model for Audio Representation Learning
2406.10700 (2024-06)
Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detection
and 3 more not named here
load_config_hf 5 other papers
3 dated earlier, 2 later
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
2406.03344 (2024-06)
Audio Mamba: Bidirectional State Space Model for Audio Representation Learning
2406.10700 (2024-06)
Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detection
and 2 more not named here
load_state_dict_hf 4 other papers
3 dated earlier, 1 later
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
2406.03344 (2024-06)
Audio Mamba: Bidirectional State Space Model for Audio Representation Learning
2406.10700 (2024-06)
Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detection
and 1 more not named here
sample 4 other papers
2 dated earlier, 2 later
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
2406.10700 (2024-06)
Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detection
2408.15237 (2024-08)
The Mamba in the Llama: Distilling and Accelerating Hybrid Models
and 1 more not named here
decode 3 other papers
2 dated earlier, 1 later
2403.16899 (2024-03)
State Space Models as Foundation Models: A Control Theoretic Overview
2406.10700 (2024-06)
Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detection
2601.00920 (2026-01)
MODE: Efficient Time Series Prediction with Mamba Enhanced by Low-Rank Neural ODEs
get_test_loader_cfg 1 other paper
1 dated earlier
2308.01746 (2023-08)
Neural Collapse Terminus: A Unified Solution for Class Incremental Learning and Its Variants

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Few-shot class-incremental learning (FSCIL) aims to incrementally learn novel classes from limited examples while preserving knowledge of previously learned classes. Existing methods face a critical dilemma: static architectures rely on a constant parameter space to learn from data that arrive sequentially, making them prone to overfitting to the current session, while dynamic architectures continually expand the parameter space, leading to increased complexity. In this study, we explore the potential of Selective State Space Models (SSMs) for FSCIL. Mamba leverages its input-dependent parameters to dynamically adjust its processing patterns and generate content-aware scan patterns without session-wise projector expansion. This enables it to configure distinct processing for base and novel classes, helping preserve existing knowledge while adapting to new ones. To leverage Mamba's potential for FSCIL, we design two key modules: First, we propose a dual selective SSM projector that generates input-conditioned state-space parameters from intermediate features for dynamic adaptation. The dual design structurally decouples base and novel-class processing, employing a frozen base branch to maintain stable base-class features and a dynamic incremental branch that adaptively learns distinctive feature shifts for novel classes. Second, we develop a class-sensitive selective scan mechanism to guide dynamic adaptation of the incremental branch. It reduces the disruption to base-class representations caused by training on novel data, and meanwhile, encourages the selective scan to perform in distinct patterns between base and novel classes. Extensive experiments on miniImageNet, CIFAR-100, and CUB-200 demonstrate that Mamba-FSCIL achieves state-of-the-art performance.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.06136")
get_code_for_paper("2407.06136")
have("2407.06136")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.06136.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.06136.svg)](https://syntology.ai/paper/2407.06136)

Connect an agent — have() is free.