DevFD : Developmental Face Forgery Detection by Learning Shared and Orthogonal LoRA Subspaces

Tianshuo Zhang (Institute of automation, Chinese academy of science, Chinese Academy of Sciences) · Li Gao (China Mobile Financial Technology Co., Ltd., China) · Siran Peng (Institute of automation, Chinese Academy of Sciences) · Xiangyu Zhu (Institute of automation, Chinese academy of science, Chinese Academy of Sciences) · Zhen Lei (Institute of Automation, Chinese Academy of Sciences)
catastrophic forgettingcontinual learningdevelopmental mixture of expertsdigital face generationface forgery detectionforgery variantsgradient interferenceincremental learningknowledge refinementlora modelsmanipulation techniquesmodel adaptationorthogonal gradientsorthogonal losssubspace learning

The rise of realistic digital face generation and manipulation poses significant social risks. The primary challenge lies in the rapid and diverse evolution of generation techniques, which often outstrip the detection capabilities of existing models. To defend against the ever-evolving new types of forgery, we need to enable our model to quickly adapt to new domains with limited computation and data while avoiding forgetting previously learned forgery types. In this work, we posit that genuine facial samples are abundant and relatively stable in acquisition methods, while forgery faces continuously evolve with the iteration of manipulation techniques. Given the practical infeasibility of exhaustively collecting all forgery variants, we frame face forgery detection as a continual learning problem and allow the model to develop as new forgery types emerge. Specifically, we employ a Developmental Mixture of Experts (MoE) architecture that uses LoRA models as its individual experts. These experts are organized into two groups: a Real-LoRA to learn and refine knowledge of real faces, and multiple Fake-LoRAs to capture incremental information from different forgery types. To prevent catastrophic forgetting, we ensure that the learning direction of Fake-LoRAs is orthogonal to the established subspace. Moreover, we integrate orthogonal gradients into the orthogonal loss of Fake-LoRAs, preventing gradient interference throughout the training process of each task. Experimental results under both the datasets and manipulation types incremental protocols demonstrate the effectiveness of our method.