Speech deepfake detectors typically lose accuracy when they encounter data drawn from a different distribution than their training set. Meta-learning for domain generalization (MLDG) has been used to simulate such shifts, but its objective only considers a single clean adaptation trajectory and ignores the local loss landscape around the endpoints. That limitation can leave the model poorly prepared for worst-case variations.

The authors propose two variants. The first, WC-MLDG-4P, explicitly optimizes for a worst-case perturbation of both meta-train and meta-test states, but requires four gradient evaluations per episode. The second, WC-MLDG-2P, is a source-directed alternative that shifts the clean MLDG endpoint toward a locally higher source-loss state and evaluates the meta-test gradient there. This retains the two-evaluation cost of first-order MLDG, and a first-order expansion shows the resulting gradient change relates to meta-test directional curvature along the source gradient without computing a Hessian.

Experiments on speech deepfake detection show WC-MLDG-2P achieves relative mean-EER reductions of 23.4% with XLSR-AASIST and 7.6% with XLSR-Conformer-TCM compared to standard MLDG. The results suggest that explicitly accounting for the loss landscape around meta-learning endpoints can improve robustness to domain shift at no extra computational cost.