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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 15 code samples harvested from 1 repository linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 2 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 11 ran (11 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 11 samples that ran have no recorded date.

chenxi52/SfMamba found in paper text by SyntologySyntology: 15 samples, 11 ran (0 instrument-failed) · 4 unverified 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: 11 ran (of which 0 constructed an object rather than computing a result; 11 with no instrument failure: 2 honoured, 2 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
2ran · violated contract
7ran
4unverified

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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

chenxi52/SfMamba found in paper text by Syntology 15 samples, 11 ran (0 instrument-failed) · 4 unverified
cross_merge_fwd models/csm_triton.py ran no licence file found · pointer only · e8dc1915d58c8e3e · report fixture: signature y:Tensor/5/float, in_channel_first:bool/0/bool, out_channel_first:bool/0/bool, scans:int/0/int · returned Tensor · level recorded 2026-09-26
cross_scan1b1_fwd models/csm_triton.py ran no licence file found · pointer only · ff7009b253890fe2 · report fixture: signature x:Tensor/5/float, in_channel_first:bool/0/bool, out_channel_first:bool/0/bool, scans:int/0/int · returned Tensor · level recorded 2026-09-26
cross_scan_fwd models/csm_triton.py ran no licence file found · pointer only · 58ffc4548a15baa1 · report fixture: signature x:Tensor/4/float, in_channel_first:bool/0/bool, out_channel_first:bool/0/bool, scans:int/0/int · returned Tensor · level recorded 2026-09-26
denormalize in 64 papers
census: 9 implementations from 11 papers, 8 distinct outputs across 4 buckets, one shared input per bucket
models/sfMamba.py ran no licence file found · pointer only · 7896a351a26cc5c1 · report fixture: signature img:Tensor/4/float, mean:list/1/float, std:list/1/float · returned Tensor · level recorded 2026-09-26
flops_selective_scan_fn in 18 papers models/sfMamba.py ran · honoured contract no licence file found · pointer only · 9a3adc8e6de35ac1 · report fixture: signature B:int/0/int, L:int/0/int, D:int/0/int, N:int/0/int, with_D:bool/0/bool, with_Z:bool/0/bool, with_complex:bool/0/bool · returned int · level recorded 2026-09-26
flops_selective_scan_ref in 17 papers models/sfMamba.py ran · honoured contract no licence file found · pointer only · 4b9af31cf72b3d4a · report fixture: signature B:int/0/int, L:int/0/int, D:int/0/int, N:int/0/int, with_D:bool/0/bool, with_Z:bool/0/bool, with_Group:bool/0/bool, with_complex:bool/0/bool · returned float · level recorded 2026-09-26
rms_norm_ref in 13 papers models/mamba2/layer_norm.py ran no licence file found · pointer only · 8ddbc28ea965c11f · report fixture: signature x:Tensor/2/float, weight:Tensor/1/float, bias:Tensor/1/float, residual:Tensor/2/float, x1:Tensor/2/float, weight1:Tensor/1/float, bias1:Tensor/1/float, eps:float/0/float, dropout_p:float/0/float, rowscale:NoneType/0/?, prenorm:bool/0/bool, dropout_mask:NoneType/0/?, dropout_mask1:NoneType/0/?, upcast:bool/0/bool · returned tuple · level recorded 2026-09-26
selective_scan_fn in 6 papers models/csms6s.py ran no licence file found · pointer only · 0154022b08d93f9a · report fixture: signature u:Tensor/3/float, delta:Tensor/3/float, A:Tensor/2/float, B:Tensor/4/float, C:Tensor/4/float, D:Tensor/1/float, delta_bias:Tensor/1/float, delta_softplus:bool/0/bool, oflex:bool/0/bool, backend:str/0/str · returned Tensor · level recorded 2026-09-26
selective_scan_torch models/csms6s.py ran no licence file found · pointer only · 82e4cdd256f30ead · report fixture: signature u:Tensor/3/float, delta:Tensor/3/float, A:Tensor/2/float, B:Tensor/4/float, C:Tensor/4/float, D:Tensor/1/float, delta_bias:Tensor/1/float, delta_softplus:bool/0/bool, oflex:bool/0/bool · returned Tensor · level recorded 2026-09-26
str2bool in 533 papers inference.py ran · violated contract no licence file found · pointer only · 7c508037b40522af · report fixture: signature v:str/0/str · returned bool · level recorded, date not recorded
str2bool in 533 papers main_source.py ran · violated contract no licence file found · pointer only · ecf287c12bb06741 · report fixture: signature v:str/0/str · returned bool · level recorded, date not recorded
get_config in 203 papers config.py unverified no licence file found · pointer only · 0368d37e4402758e · report
layer_norm_ref in 12 papers models/mamba2/layer_norm.py unverified no licence file found · pointer only · 993310f8aed36f6d · report
obtain_label main_target.py unverified no licence file found · pointer only · f9a8c8cb1bca87b9 · report
update_config in 54 papers config.py 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.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 4 leaderboards (a model's judgement, not a result) and has not placed the paper on any of them: Domain Adaptation · Office-Home (rejected by the independent check); Unsupervised Domain Adaptation · DomainNet (rejected by the independent check); Unsupervised Domain Adaptation · Office-31 (rejected by the independent check); Unsupervised Domain Adaptation · Office-Home (refused by rules: the table's column header does not name the leaderboard's metric; the quoted value appears more than once in the row). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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