{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-31082","title":"Fleet: Few Shots Lead Effective AI-generated Image Detection","arxiv_id":"2606.31082","date":"2026-06-30","proceeding":"ICML","authors":["Jiaan Wang","Sirui Liu","Yu Li","Kaiyuan Yang","Juan Cao","Sheng Tang"],"abstract":"AI-generated image (AIGI) detection is undergoing a critical transition from laboratory benchmarks to open-world adversarial defense. The prevalent paradigm focuses on finding static feature spaces, assuming that some invariant artifacts learned from historical data can achieve universal zero-shot generalization. While achieving saturation on several AIGI benchmarks, this static hypothesis suffers a severe performance drop against rapidly evolving generators (e.g., SD3, Nano Banana Pro). To address these limitations, we propose that the field should expand beyond \"static generalization\" to a new paradigm of \"dynamic adaptation\". We introduce Fleet, a framework that pioneers a dynamic paradigm of continuous few-shot evolution, enabling rapid alignment with emerging generative threats. Fleet improves few-shot adaptation by replacing unconstrained feature updates with constrained routing correction, where avoidance routing redirects novel AI samples away from Non-AI-dominated routes within decoupled subspaces. To validate this, we present Treasure, a benchmark spanning 64 models and 360k images, featuring diverse architectures and 20 closed-source commercial engines. Experiments reveal that while static SOTA methods fail catastrophically on modern generators, Fleet restores performance from 20.4% to 73.1% with only 10-shot adaptation on \"Doubao Seedream 4.0\". Code and data are available at https://github.com/ICTMCG/Fleet .","url_abs":"https://arxiv.org/abs/2606.31082","url_pdf":"https://arxiv.org/pdf/2606.31082","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.31082","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.31082"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ICTMCG/Fleet","reach":null}],"summary":{"ran":3,"ran_fixture":1,"ran_draft_wrong":3,"unverified":5},"by_repo_kind":{"found_in_text":{"samples":12,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"3e7f9756aa545c01","entry":"DualBranchImageDataset","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3e7f9756aa545c01"}},{"code_sha256_prefix":"78e549da5156b337","entry":"apply_fft_high_freq_mask","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"78e549da5156b337"}},{"code_sha256_prefix":"a6db87c3c0ed2c6a","entry":"collect_aigibench_image_paths","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a6db87c3c0ed2c6a"}},{"code_sha256_prefix":"4ff617422653db4e","entry":"compute_anchors","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4ff617422653db4e"}},{"code_sha256_prefix":"212d49801c4ec215","entry":"distillation_loss","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"212d49801c4ec215"}},{"code_sha256_prefix":"22367612659e52d0","entry":"infer_q_dim_and_spec_from_paths","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"22367612659e52d0"}},{"code_sha256_prefix":"dfa98dbc64130a09","entry":"mutual_avoidance_loss","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dfa98dbc64130a09"}},{"code_sha256_prefix":"e466dc46011d56a6","entry":"load_q_train_module","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e466dc46011d56a6"}},{"code_sha256_prefix":"2e9d243e5929b82d","entry":"print_validation_summary","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2e9d243e5929b82d"}},{"code_sha256_prefix":"5afbfae2678a5e07","entry":"run_experiment","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5afbfae2678a5e07"}},{"code_sha256_prefix":"6821b40928095e1a","entry":"train_epoch","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6821b40928095e1a"}},{"code_sha256_prefix":"e28308ca9ed2edc8","entry":"validate_with_prototypes","repo":"ICTMCG/Fleet","repo_kind":"found_in_text","path":"src/fleet/train/fewshot_experiment.py","file_url":"https://github.com/ICTMCG/Fleet/blob/HEAD/src/fleet/train/fewshot_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e28308ca9ed2edc8"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}