{"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/rehearsal-free-domain-continual-face-anti","title":"Rehearsal-Free Domain Continual Face Anti-Spoofing: Generalize More and Forget Less","arxiv_id":"2303.09914","date":"2023-03-16","proceeding":"ICCV 2023 1","authors":["Rizhao Cai","Yawen Cui","Zhi Li","Zitong Yu","Haoliang Li","Yongjian Hu","Alex Kot"],"abstract":"Face Anti-Spoofing (FAS) is recently studied under the continual learning setting, where the FAS models are expected to evolve after encountering the data from new domains. However, existing methods need extra replay buffers to store previous data for rehearsal, which becomes infeasible when previous data is unavailable because of privacy issues. In this paper, we propose the first rehearsal-free method for Domain Continual Learning (DCL) of FAS, which deals with catastrophic forgetting and unseen domain generalization problems simultaneously. For better generalization to unseen domains, we design the Dynamic Central Difference Convolutional Adapter (DCDCA) to adapt Vision Transformer (ViT) models during the continual learning sessions. To alleviate the forgetting of previous domains without using previous data, we propose the Proxy Prototype Contrastive Regularization (PPCR) to constrain the continual learning with previous domain knowledge from the proxy prototypes. Simulate practical DCL scenarios, we devise two new protocols which evaluate both generalization and anti-forgetting performance. Extensive experimental results show that our proposed method can improve the generalization performance in unseen domains and alleviate the catastrophic forgetting of the previous knowledge. The codes and protocols will be released soon.","url_abs":"https://arxiv.org/abs/2303.09914v1","url_pdf":"https://arxiv.org/pdf/2303.09914v1.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":[],"tasks":[{"task_slug":"continual-learning","task_name":"Continual Learning"},{"task_slug":"domain-generalization","task_name":"Domain Generalization"},{"task_slug":"face-anti-spoofing","task_name":"Face Anti-Spoofing"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"adapter","method_name":"Adapter"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"},{"method_slug":"vision-transformer","method_name":"Vision Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2303.09914","atlas_url":"https://app.syntology.ai/?focus=2303.09914","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.09914"}},"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":"deterministic:regex_extraction","url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023","reach":null}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":5,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"442d4ef3b2ca4a6b","entry":"Conv2d_cd","repo":"RizhaoCai/DCL-FAS-ICCV2023","repo_kind":"found_in_text","path":"code/models/dcl/convpass.py","file_url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023/blob/HEAD/code/models/dcl/convpass.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"442d4ef3b2ca4a6b"}},{"code_sha256_prefix":"8b06b315427d1412","entry":"Conv2d_cd_pixel_difference_matrix4x4_unshared","repo":"RizhaoCai/DCL-FAS-ICCV2023","repo_kind":"found_in_text","path":"code/models/dcl/convpass.py","file_url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023/blob/HEAD/code/models/dcl/convpass.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8b06b315427d1412"}},{"code_sha256_prefix":"781349bc83de93d6","entry":"Conv2d_cd_pixel_difference_matrix5x5_shared","repo":"RizhaoCai/DCL-FAS-ICCV2023","repo_kind":"found_in_text","path":"code/models/dcl/convpass.py","file_url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023/blob/HEAD/code/models/dcl/convpass.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"781349bc83de93d6"}},{"code_sha256_prefix":"e7fa30f23fc612bd","entry":"Conv2d_cd_pixel_difference_matrix5x5_unshared","repo":"RizhaoCai/DCL-FAS-ICCV2023","repo_kind":"found_in_text","path":"code/models/dcl/convpass.py","file_url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023/blob/HEAD/code/models/dcl/convpass.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e7fa30f23fc612bd"}},{"code_sha256_prefix":"01e5c4a8b9902380","entry":"Convpass","repo":"RizhaoCai/DCL-FAS-ICCV2023","repo_kind":"found_in_text","path":"code/models/dcl/convpass.py","file_url":"https://github.com/RizhaoCai/DCL-FAS-ICCV2023/blob/HEAD/code/models/dcl/convpass.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":"01e5c4a8b9902380"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}