TL;DR
Model Inversion Attacks (MIAs) reconstruct private training images from a target model, but existing methods suffer from optimization instability due to the non-smooth latent spaces of GANs or the stochastic nature of diffusion models. This paper introduces Steering Flow Model Inversion (SFMI), which reformulates the attack as a deterministic trajectory-steering task using Flow Matching. By dynamically guiding a smooth Ordinary Differential Equation (ODE) flow with target-specific gradients, SFMI achieves state-of-the-art reconstruction accuracy and visual fidelity.
What Problem Does This Paper Address?
Deep Neural Networks (DNNs) excel at face recognition but tend to unintentionally "memorize" specific training samples, creating severe privacy risks. Model Inversion Attacks (MIAs) exploit this vulnerability by attempting to reconstruct a representative image of a target identity using only the trained model.
To ensure the reconstructed images look like real faces, white-box MIAs typically use a generative model as a prior. However, existing approaches face a fundamental dilemma:
- GAN-based priors rely on latent-space optimization, where the mapping from latent codes to images is highly non-linear and non-smooth, leading to unstable gradient backpropagation.
- Diffusion-based priors rely on Stochastic Differential Equations (SDEs), where the continuous injection of random noise can deflect the generation trajectory away from the target identity.
The authors address this optimization instability by introducing Flow Matching into the model inversion paradigm, providing a smooth, deterministic backbone that allows for precise trajectory correction.
Methods
SFMI splits the inversion process into two tightly coupled stages:
Stage I: Learning a Generic Flow Matching Prior
The authors pre-train an unconditional Flow Matching model on a public face dataset. Instead of modeling complex stochastic paths, it learns a deterministic vector field that maps a simple Gaussian distribution to a realistic human face manifold via straight-line Optimal Transport (OT) paths. This provides a stable, differentiable trajectory backbone.
Stage II: Attacking with a Progressive Guidance Scheduler (PGS)
To invert a specific identity, the attack starts from random Gaussian noise and integrates along the ODE. At each step, the prior predicts a clean image estimate ($x$-prediction), which is fed into the target face recognition model. The target model's feedback (via a max-margin loss) is backpropagated end-to-end through both the classifier and the generative prior to compute a precise identity gradient.
Rather than using a constant guidance weight—which can destroy the facial structure early on—the Progressive Guidance Scheduler (PGS) dynamically modulates the gradient injection across four phases:
- Warm-up: Prevents abrupt trajectory shifts when noise is high.
- Sustain: Injects strong identity-steering signals.
- Cosine Decay: Smoothly transitions away from target guidance.
- Relaxation: Applies zero guidance at the very end, allowing the Flow Matching prior to eliminate high-frequency artifacts and refine the final image.
The sampling process is executed using a second-order Heun predictor-corrector scheme to smoothly handle trajectory curvature.
Datasets
- CelebA: Divided into
CelebA-priv(1,000 identities, 30,000 images) to train the target face recognition models, andCelebA-pub(30,000 images, completely identity-disjoint) to train the unconditional Flow Matching prior. - FFHQ:
FFHQ-pub(30,000 images) is used as an alternative identity-disjoint public dataset to evaluate the cross-distribution robustness of the prior.
Key Insights and Ideas
- Deterministic Over Stochastic: Replacing the stochasticity of diffusion models (SDEs) with the deterministic ODEs of Flow Matching eliminates random trajectory deflections, allowing adversarial gradients to work with high precision.
- The Power of $x$-Prediction: Directly predicting the clean image at intermediate steps (rather than estimating noise) allows the target face recognition model to provide highly meaningful, clean-domain gradients even when the current state is mostly noise.
- Temporal Dynamics Matter: Constant gradient guidance destroys the face structure early on. A scheduled approach (PGS) ensures that identity features are injected only when the global facial structure is stable, and turned off at the very end to let the natural face prior eliminate high-frequency artifacts.
Key Results
The authors evaluated SFMI against six diverse target architectures (including ResNet backbones, MobileFaceNet, and Vision Transformers) under a strict cross-evaluation protocol (where independent models evaluate the reconstructed faces).
- Attack Success Rate: On the robust margin-based ArcFace target, SFMI achieves an Attack Accuracy (ACC) of 92.48%, significantly outperforming baselines like GMI (3.79%) and PLGMI (23.57%).
- Visual Fidelity: SFMI maintains high visual realism, achieving a Fréchet Inception Distance (FID) of 22.61 and the lowest LPIPS (0.3874) on ArcFace, showing clearer facial geometry and fewer high-frequency artifacts than previous methods.
Limitations and Future Work
- Hyperparameter Complexity: SFMI introduces several hyperparameters (e.g., time thresholds for the scheduler, global magnitude scale) that require careful tuning based on an understanding of guidance dynamics.
- White-Box Assumption: The attack demands full access to the target model's parameters and gradients, representing a worst-case security audit scenario rather than a universal black-box threat.
- Domain Shift Dependency: Performance depends on having a relevant public auxiliary dataset; substantial domain shifts between public and private data could degrade reconstruction quality.
- Future Directions: The authors suggest exploring weaker-access/black-box scenarios, developing more robust attacks with fewer hyperparameters, and designing stronger defense mechanisms against model inversion.
Summary updated