arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07888cs.CL
收藏

通过流形净化打破文本分类中的对抗鲁棒性-性能权衡

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

Chenhao Dang, Jing Ma

AI总结:

本文提出MC^2F方法,通过流形净化技术提升文本分类在对抗攻击下的鲁棒性,同时保持干净数据性能。

摘要:

文本分类(TC)中持续存在的挑战是增强模型对对抗攻击的鲁棒性通常会降低干净数据上的性能。我们主张通过建模编码器嵌入流形中干净样本的分布来解决这一挑战。为此,我们提出了Manifold-Correcting Causal Flow(MC^2F),这是一个直接在句子嵌入上运作的双模块系统。Stratified Riemannian Continuous Normalizing Flow(SR-CNF)学习干净数据流形的密度。它识别出分布外的嵌入,这些嵌入随后通过Geodesic Purification Solver进行纠正。该求解器通过最短路径将对抗点投影回学习的流形上,恢复一个干净且语义连贯的表示。我们在三个数据集和多种对抗攻击上进行了广泛的评估。结果表明,我们的方法MC^2F不仅在对抗鲁棒性上建立了新的最先进水平,而且完全保持了干净数据上的性能,甚至在准确性上还获得了小幅提升。

英文摘要:

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 distribution of clean samples in the encoder embedding manifold. To this end, we propose the Manifold-Correcting Causal Flow (MC^2F), a two-module system that operates directly on sentence embeddings. A Stratified Riemannian Continuous Normalizing Flow (SR-CNF) learns the density of the clean data manifold. It identifies out-of-distribution embeddings, which are then corrected by a Geodesic Purification Solver. This solver projects adversarial points back onto the learned manifold via the shortest path, restoring a clean, semantically coherent representation. We conducted extensive evaluations on text classification (TC) across three datasets and multiple adversarial attacks. The results demonstrate that our method, MC^2F, not only establishes a new state-of-the-art in adversarial robustness but also fully preserves performance on clean data, even yielding modest gains in accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑