paper-with-me

Papers

FlowPure: Continuous Normalizing Flows for Adversarial Purification

2025-05-19 · Elias Collaert, Abel Rodríguez, Sander Joos, Lieven Desmet, Vera Rimmer

Despite significant advancements in the area, adversarial robustness remains a critical challenge in systems employing machine learning models. The removal of adversarial perturbations at inference time, known as adversarial purification, has emerged as a promising defense strategy. To achieve this, state-of-the-art methods leverage diffusion models that inject Gaussian noise during a forward process to dilute adversarial perturbations, followed by a denoising step to restore clean samples before classification. In this work, we propose FlowPure, a novel purification method based on Continuous Normalizing Flows (CNFs) trained with Conditional Flow Matching (CFM) to learn mappings from adversarial examples to their clean counterparts. Unlike prior diffusion-based approaches that rely on fixed noise processes, FlowPure can leverage specific attack knowledge to improve robustness under known threats, while also supporting a more general stochastic variant trained on Gaussian perturbations for settings where such knowledge is unavailable. Experiments on CIFAR-10 and CIFAR-100 demonstrate that our method outperforms state-of-the-art purification-based defenses in preprocessor-blind and white-box scenarios, and can do so while fully preserving benign accuracy in the former. Moreover, our results show that not only is FlowPure a highly effective purifier but it also holds a strong potential for adversarial detection, identifying preprocessor-blind PGD samples with near-perfect accuracy.

📄 PDF Abstract BibTeX arXiv:2505.13280

Code (1)

distrinet/flowpure 공식 구현 pytorch

Tasks

Adversarial PurificationAdversarial RobustnessDenoising

Methods 이 논문이 사용한 방법론

Normalizing Flows Normalizing Flows are a method for constructing complex distributions by transforming a probability density through a series of invertible mappings. By repeatedly applying…
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

FMVP: Masked Flow Matching for Adversarial Video Purification

2026-01-05 · Duoxun Tang, Xueyi Zhang, Chak Hin Wang, Xi Xiao 외 arxiv

Video recognition models remain vulnerable to adversarial attacks, while existing diffusion-based purification methods suffer from inefficient sampling and curved trajectories. Directly regressing clean videos from adver…

Breaking the Adversarial Robustness-Performance Trade-off in Text Classification via Manifold Purification

2025-11-11 · Chenhao Dang, Jing Ma arxiv

A persistent challenge in text classification (TC) is that enhancing model robustness against adversarial attacks typically degrades performance on clean data. We argue that this challenge can be resolved by modeling the…

Adversarial RobustnessText Classification

Learning normalizing flows from Entropy-Kantorovich potentials

2020-06-10 · Chris Finlay, Augusto Gerolin, Adam M. Oberman, Aram-Alexandre Pooladian

We approach the problem of learning continuous normalizing flows from a dual perspective motivated by entropy-regularized optimal transport, in which continuous normalizing flows are cast as gradients of scalar potential…

Categorical Normalizing Flows via Continuous Transformations

2020-06-17 · ICLR 2021 1 · Phillip Lippe, Efstratios Gavves

Despite their popularity, to date, the application of normalizing flows on categorical data stays limited. The current practice of using dequantization to map discrete data to a continuous space is inapplicable as catego…

DecoderInductive BiasVariational Inference

Continuous-Time Flows for Efficient Inference and Density Estimation

2017-09-04 · ICML 2018 7 · Changyou Chen, Chunyuan Li, Liqun Chen, Wenlin Wang 외

Two fundamental problems in unsupervised learning are efficient inference for latent-variable models and robust density estimation based on large amounts of unlabeled data. Algorithms for the two tasks, such as normalizi…

Density Estimation