Papers › SfMamba: Efficient Source-Free Domain Adaptation via Selective Scan Modeling

SfMamba: Efficient Source-Free Domain Adaptation via Selective Scan Modeling

13 Jan 2026arXiv:2601.08608added by Syntology

Xi Chen, Hongxun Yao, Sicheng Zhao, Jiankun Zhu, Jing Jiang, Kui Jiang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Source-free domain adaptation (SFDA) tackles the critical challenge of adapting source-pretrained models to unlabeled target domains without access to source data, overcoming data privacy and storage limitations in real-world applications. However, existing SFDA approaches struggle with the trade-off between perception field and computational efficiency in domain-invariant feature learning. Recently, Mamba has offered a promising solution through its selective scan mechanism, which enables long-range dependency modeling with linear complexity. However, the Visual Mamba (i.e., VMamba) remains limited in capturing channel-wise frequency characteristics critical for domain alignment and maintaining spatial robustness under significant domain shifts. To address these, we propose a framework called SfMamba to fully explore the stable dependency in source-free model transfer. SfMamba introduces Channel-wise Visual State-Space block that enables channel-sequence scanning for domain-invariant feature extraction. In addition, SfMamba involves a Semantic-Consistent Shuffle strategy that disrupts background patch sequences in 2D selective scan while preserving prediction consistency to mitigate error accumulation. Comprehensive evaluations across multiple benchmarks show that SfMamba achieves consistently stronger performance than existing methods while maintaining favorable parameter efficiency, offering a practical solution for SFDA. Our code is available at https://github.com/chenxi52/SfMamba.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.08608")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · violated contract.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chenxi52/SfMamba found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
13unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from chenxi52/SfMamba. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

str2bool chenxi52/SfMamba/inference.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 7c508037b40522af · report
str2bool chenxi52/SfMamba/main_source.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · ecf287c12bb06741 · report
cross_merge_fwd chenxi52/SfMamba/models/csm_triton.py found in paper text by Syntology unverified no licence file found · pointer only · e8dc1915d58c8e3e · report
cross_scan1b1_fwd chenxi52/SfMamba/models/csm_triton.py found in paper text by Syntology unverified no licence file found · pointer only · ff7009b253890fe2 · report
cross_scan_fwd chenxi52/SfMamba/models/csm_triton.py found in paper text by Syntology unverified no licence file found · pointer only · 58ffc4548a15baa1 · report
denormalize chenxi52/SfMamba/models/sfMamba.py found in paper text by Syntology unverified no licence file found · pointer only · 7896a351a26cc5c1 · report
flops_selective_scan_fn chenxi52/SfMamba/models/sfMamba.py found in paper text by Syntology unverified no licence file found · pointer only · 9a3adc8e6de35ac1 · report
flops_selective_scan_ref chenxi52/SfMamba/models/sfMamba.py found in paper text by Syntology unverified no licence file found · pointer only · 4b9af31cf72b3d4a · report
get_config chenxi52/SfMamba/config.py found in paper text by Syntology unverified no licence file found · pointer only · 0368d37e4402758e · report
layer_norm_ref chenxi52/SfMamba/models/mamba2/layer_norm.py found in paper text by Syntology unverified no licence file found · pointer only · 993310f8aed36f6d · report
obtain_label chenxi52/SfMamba/main_target.py found in paper text by Syntology unverified no licence file found · pointer only · f9a8c8cb1bca87b9 · report
rms_norm_ref chenxi52/SfMamba/models/mamba2/layer_norm.py found in paper text by Syntology unverified no licence file found · pointer only · 8ddbc28ea965c11f · report
selective_scan_fn chenxi52/SfMamba/models/csms6s.py found in paper text by Syntology unverified no licence file found · pointer only · 0154022b08d93f9a · report
selective_scan_torch chenxi52/SfMamba/models/csms6s.py found in paper text by Syntology unverified no licence file found · pointer only · 82e4cdd256f30ead · report
update_config chenxi52/SfMamba/config.py found in paper text by Syntology unverified no licence file found · pointer only · dc8613c1b4a91d96 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.08608, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections