{"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/stacking-brick-by-brick-aligned-feature","title":"Stacking Brick by Brick: Aligned Feature Isolation for Incremental Face Forgery Detection","arxiv_id":"2411.11396","date":"2024-11-18","proceeding":"CVPR 2025 1","authors":["Jikang Cheng","Zhiyuan Yan","Ying Zhang","Li Hao","Jiaxin Ai","Qin Zou","Chen Li","Zhongyuan Wang"],"abstract":"The rapid advancement of face forgery techniques has introduced a growing variety of forgeries. Incremental Face Forgery Detection (IFFD), involving gradually adding new forgery data to fine-tune the previously trained model, has been introduced as a promising strategy to deal with evolving forgery methods. However, a naively trained IFFD model is prone to catastrophic forgetting when new forgeries are integrated, as treating all forgeries as a single ''Fake\" class in the Real/Fake classification can cause different forgery types overriding one another, thereby resulting in the forgetting of unique characteristics from earlier tasks and limiting the model's effectiveness in learning forgery specificity and generality. In this paper, we propose to stack the latent feature distributions of previous and new tasks brick by brick, $\\textit{i.e.}$, achieving $\\textbf{aligned feature isolation}$. In this manner, we aim to preserve learned forgery information and accumulate new knowledge by minimizing distribution overriding, thereby mitigating catastrophic forgetting. To achieve this, we first introduce Sparse Uniform Replay (SUR) to obtain the representative subsets that could be treated as the uniformly sparse versions of the previous global distributions. We then propose a Latent-space Incremental Detector (LID) that leverages SUR data to isolate and align distributions. For evaluation, we construct a more advanced and comprehensive benchmark tailored for IFFD. The leading experimental results validate the superiority of our method.","url_abs":"https://arxiv.org/abs/2411.11396v3","url_pdf":"https://arxiv.org/pdf/2411.11396v3.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":"stacking-brick-by-brick-aligned-feature","repo_url":"https://github.com/beautyremain/sur-lid","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"specificity","task_name":"Specificity"}],"methods":[{"method_slug":"align","method_name":"ALIGN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.11396","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.11396"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/beautyremain/sur-lid","reach":{"status":"ok"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"ran":0,"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":6,"samples":[{"code_sha256_prefix":"061c97248eeaaf05","entry":"get_memory","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/lid_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/lid_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"061c97248eeaaf05"}},{"code_sha256_prefix":"304e1757415df073","entry":"grid_shuffle_tensor","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/lid_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/lid_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"304e1757415df073"}},{"code_sha256_prefix":"569719ed37de7e02","entry":"loss_ConSup","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/dfil_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/dfil_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"569719ed37de7e02"}},{"code_sha256_prefix":"987775561af58fd3","entry":"loss_FD","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/dfil_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/dfil_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"987775561af58fd3"}},{"code_sha256_prefix":"809353fe3e0a4e5c","entry":"loss_fn_kd","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/dfil_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/dfil_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"809353fe3e0a4e5c"}},{"code_sha256_prefix":"68f795b644f4d634","entry":"sample_selection","repo":"beautyremain/sur-lid","repo_kind":"official","path":"training/detectors/utils/lid_api.py","file_url":"https://github.com/beautyremain/sur-lid/blob/HEAD/training/detectors/utils/lid_api.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"68f795b644f4d634"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}