{"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/demamba-ai-generated-video-detection-on","title":"DeMamba: AI-Generated Video Detection on Million-Scale GenVideo Benchmark","arxiv_id":"2405.19707","date":"2024-05-30","proceeding":null,"authors":["Haoxing Chen","Yan Hong","Zizheng Huang","Zhuoer Xu","Zhangxuan Gu","Yaohui Li","Jun Lan","Huijia Zhu","Jianfu Zhang","Weiqiang Wang","Huaxiong Li"],"abstract":"Recently, video generation techniques have advanced rapidly. Given the popularity of video content on social media platforms, these models intensify concerns about the spread of fake information. Therefore, there is a growing demand for detectors capable of distinguishing between fake AI-generated videos and mitigating the potential harm caused by fake information. However, the lack of large-scale datasets from the most advanced video generators poses a barrier to the development of such detectors. To address this gap, we introduce the first AI-generated video detection dataset, GenVideo. It features the following characteristics: (1) a large volume of videos, including over one million AI-generated and real videos collected; (2) a rich diversity of generated content and methodologies, covering a broad spectrum of video categories and generation techniques. We conducted extensive studies of the dataset and proposed two evaluation methods tailored for real-world-like scenarios to assess the detectors' performance: the cross-generator video classification task assesses the generalizability of trained detectors on generators; the degraded video classification task evaluates the robustness of detectors to handle videos that have degraded in quality during dissemination. Moreover, we introduced a plug-and-play module, named Detail Mamba (DeMamba), designed to enhance the detectors by identifying AI-generated videos through the analysis of inconsistencies in temporal and spatial dimensions. Our extensive experiments demonstrate DeMamba's superior generalizability and robustness on GenVideo compared to existing detectors. We believe that the GenVideo dataset and the DeMamba module will significantly advance the field of AI-generated video detection. Our code and dataset will be aviliable at \\url{https://github.com/chenhaoxing/DeMamba}.","url_abs":"https://arxiv.org/abs/2405.19707v3","url_pdf":"https://arxiv.org/pdf/2405.19707v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"demamba-ai-generated-video-detection-on","repo_url":"https://github.com/chenhaoxing/DeMamba","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"deepfake-detection","task_name":"DeepFake Detection"},{"task_slug":"mamba","task_name":"Mamba"},{"task_slug":"video-classification","task_name":"Video Classification"},{"task_slug":"video-generation","task_name":"Video Generation"},{"task_slug":"video-recognition","task_name":"Video Recognition"},{"task_slug":"video-understanding","task_name":"Video Understanding"}],"methods":[{"method_slug":"mamba","method_name":"Mamba"}],"datasets_introduced":[{"slug":"gen-video","name":"Gen-Video","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2405.19707","atlas_url":"https://app.syntology.ai/?focus=2405.19707","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.19707"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chenhaoxing/DeMamba","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":1,"ran_honours":1,"ran_draft_wrong":3,"ran":6,"unverified":8},"by_repo_kind":{"official":{"samples":19,"ran":11,"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":"144d10b49baeb8a6","entry":"window_partition","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/TALL.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/TALL.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"144d10b49baeb8a6"}},{"code_sha256_prefix":"97170801bfeabdb7","entry":"DCT_mat","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/F3Net.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/F3Net.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"97170801bfeabdb7"}},{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/NPR.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/NPR.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/NPR.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/NPR.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"c295eef815d90b33","entry":"create_new_image_size","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/TALL.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/TALL.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":"c295eef815d90b33"}},{"code_sha256_prefix":"1d396bd92f1f1c46","entry":"create_reorder_index","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/DeMamba.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/DeMamba.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":"1d396bd92f1f1c46"}},{"code_sha256_prefix":"746a3b23401e485f","entry":"crop_center_by_percentage","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"dataloader.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/dataloader.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":"746a3b23401e485f"}},{"code_sha256_prefix":"13f7e9d4e25ddbf6","entry":"reorder_data","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/DeMamba.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/DeMamba.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":"13f7e9d4e25ddbf6"}},{"code_sha256_prefix":"815e2d0436c8443c","entry":"valid_idx","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/FTCN.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/FTCN.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":"815e2d0436c8443c"}},{"code_sha256_prefix":"61bf152e6a42a184","entry":"window_reverse","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/TALL.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/TALL.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"61bf152e6a42a184"}},{"code_sha256_prefix":"688504e59d333e23","entry":"xception","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/F3Net.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/F3Net.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":"688504e59d333e23"}},{"code_sha256_prefix":"93be1c3f4d74a140","entry":"eval_model","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"util.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/util.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":"93be1c3f4d74a140"}},{"code_sha256_prefix":"9885edbbaa3d46e2","entry":"generate_dataset_loader","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"dataloader.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/dataloader.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":"9885edbbaa3d46e2"}},{"code_sha256_prefix":"d547c23b7746ffe5","entry":"npo2","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/pscan.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/pscan.py","link_basis":"harvester_set","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":"d547c23b7746ffe5"}},{"code_sha256_prefix":"8213e85fd713879a","entry":"pad_npo2","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/pscan.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/pscan.py","link_basis":"harvester_set","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":"8213e85fd713879a"}},{"code_sha256_prefix":"b46c087f4568ef24","entry":"resnet18_npr","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/NPR.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/NPR.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":"b46c087f4568ef24"}},{"code_sha256_prefix":"e8224c75f65c5414","entry":"return_pytorch04_xception","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/F3Net.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/F3Net.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":"e8224c75f65c5414"}},{"code_sha256_prefix":"40dfd9349b9d7731","entry":"scnet50_v1d","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"models/STIL.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/models/STIL.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":"40dfd9349b9d7731"}},{"code_sha256_prefix":"5a62e8d84f108691","entry":"train_one_epoch","repo":"chenhaoxing/DeMamba","repo_kind":"official","path":"util.py","file_url":"https://github.com/chenhaoxing/DeMamba/blob/HEAD/util.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":"5a62e8d84f108691"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}