SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.16422 · IJCAI · 2024

Exploring Cross-Domain Few-Shot Classification via Frequency-Aware Prompting

Feng Gao, Junyu Dong, Qing Cai, Lin Qi, Tiange Zhang

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 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; 1 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-22; 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/2406.16422.json · badge: /api/ran/2406.16422.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
tinkez/fap_cdfsc canonical (classifier label)
classifier basis: census
5 ran · 4 no recorded run
FunctionStatusWhere it lives
euclidean_dist Ran
ran; our contract draft was wrong, not the code
tinkez/fap_cdfsc/methods/protonet.py
pointer only (licence: NONE) · get_code("4dd319c45d372246")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

gmul Ran
ran, honoured the contract we drafted
tinkez/fap_cdfsc/methods/gnn.py
pointer only (licence: NONE) · get_code("9b60369fe450e564")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

mutual_attention Ran
ran; our contract draft was wrong, not the code
tinkez/fap_cdfsc/train_FAP.py
pointer only (licence: NONE) · get_code("e7510bc750821ad5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

one_hot Ran
ran; our contract draft was wrong, not the code
tinkez/fap_cdfsc/functions.py
pointer only (licence: NONE) · get_code("f1324589fc273593")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

softplus Ran
ran; our contract draft was wrong, not the code
tinkez/fap_cdfsc/methods/backbone.py
pointer only (licence: NONE); the stored copy get_code serves, from hytseng0509/CrossDomainFewShot, is pointer only (licence: NONE) · get_code("938085d32a386023")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

FAPLoop Not yet run
unverified (harvested, no recorded run)
tinkez/fap_cdfsc/train_FAP.py
pointer only (licence: NONE) · get_code("b92542406bd48a73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

Grad_ascending Not yet run
unverified (harvested, no recorded run)
tinkez/fap_cdfsc/train_FAP.py
pointer only (licence: NONE) · get_code("690034f538853a2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

ResNet10 Not yet run
unverified (harvested, no recorded run)
tinkez/fap_cdfsc/methods/backbone.py
pointer only (licence: NONE) · get_code("156415175e0efadf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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.

ResNet18 Not yet run
unverified (harvested, no recorded run)
tinkez/fap_cdfsc/methods/backbone.py
pointer only (licence: NONE) · get_code("b6071c551fcbd7c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tinkez/fap_cdfsc 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 1 later) and 4 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
euclidean_dist 16 other papers
16 dated earlier · 2 only as an assembly brick
1703.05175 (2017-03)
Prototypical Networks for Few-shot Learning
1902.08605 (2019-02)
Are Few-Shot Learning Benchmarks too Simple ? Solving them without Task Supervision at Test-Time
1905.13613 (2019-05)
Regression Networks for Meta-Learning Few-Shot Classification
and 13 more not named here
one_hot 5 other papers
4 dated earlier, 1 later
1912.07200 (2019-12)
A Broader Study of Cross-Domain Few-Shot Learning
2208.10930 (2022-08)
FS-BAN: Born-Again Networks for Domain Generalization Few-Shot Classification
and 2 more not named here
softplus 3 other papers
3 dated earlier
2001.08735 (2020-01)
Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformation
2208.10930 (2022-08)
FS-BAN: Born-Again Networks for Domain Generalization Few-Shot Classification
2403.00567 (2024-03)
Flatten Long-Range Loss Landscapes for Cross-Domain Few-Shot Learning
ResNet18 2 other papers
2 dated earlier
2208.10930 (2022-08)
FS-BAN: Born-Again Networks for Domain Generalization Few-Shot Classification
2403.00567 (2024-03)
Flatten Long-Range Loss Landscapes for Cross-Domain Few-Shot Learning
ResNet10 1 other paper
1 dated earlier
2208.10930 (2022-08)
FS-BAN: Born-Again Networks for Domain Generalization Few-Shot Classification

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-22.

Repositories linked to this paper

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

Abstract

Cross-Domain Few-Shot Learning has witnessed great stride with the development of meta-learning. However, most existing methods pay more attention to learning domain-adaptive inductive bias (meta-knowledge) through feature-wise manipulation or task diversity improvement while neglecting the phenomenon that deep networks tend to rely more on high-frequency cues to make the classification decision, which thus degenerates the robustness of learned inductive bias since high-frequency information is vulnerable and easy to be disturbed by noisy information. Hence in this paper, we make one of the first attempts to propose a Frequency-Aware Prompting method with mutual attention for Cross-Domain Few-Shot classification, which can let networks simulate the human visual perception of selecting different frequency cues when facing new recognition tasks. Specifically, a frequencyaware prompting mechanism is first proposed, in which high-frequency components of the decomposed source image are switched either with normal distribution sampling or zeroing to get frequencyaware augment samples. Then, a mutual attention module is designed to learn generalizable inductive bias under CD-FSL settings. More importantly, the proposed method is a plug-and-play module that can be directly applied to most off-the-shelf CD-FLS methods. Experimental results on CD-FSL benchmarks demonstrate the effectiveness of our proposed method as well as robustly improve the performance of existing CD-FLS methods. Resources at https://github.com/tinkez/FAP CDFSC.

For agents

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

get_harvested_code_for_paper("2406.16422")
get_code_for_paper("2406.16422")
have("2406.16422")

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

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

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

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

Connect an agent — have() is free.