paper-with-me

Papers

Fast Propagation is Better: Accelerating Single-Step Adversarial Training via Sampling Subnetworks

2023-10-24 · Xiaojun Jia, Jianshu Li, Jindong Gu, Yang Bai, Xiaochun Cao

Adversarial training has shown promise in building robust models against adversarial examples. A major drawback of adversarial training is the computational overhead introduced by the generation of adversarial examples. To overcome this limitation, adversarial training based on single-step attacks has been explored. Previous work improves the single-step adversarial training from different perspectives, e.g., sample initialization, loss regularization, and training strategy. Almost all of them treat the underlying model as a black box. In this work, we propose to exploit the interior building blocks of the model to improve efficiency. Specifically, we propose to dynamically sample lightweight subnetworks as a surrogate model during training. By doing this, both the forward and backward passes can be accelerated for efficient adversarial training. Besides, we provide theoretical analysis to show the model robustness can be improved by the single-step adversarial training with sampled subnetworks. Furthermore, we propose a novel sampling strategy where the sampling varies from layer to layer and from iteration to iteration. Compared with previous methods, our method not only reduces the training cost but also achieves better model robustness. Evaluations on a series of popular datasets demonstrate the effectiveness of the proposed FB-Better. Our code has been released at https://github.com/jiaxiaojunQAQ/FP-Better.

📄 PDF Abstract BibTeX arXiv:2310.15444

Code (1)

jiaxiaojunqaq/fp-better 공식 구현 pytorch

Similar Papers 제목 키워드 기반

FastLRNR and Sparse Physics Informed Backpropagation

2024-10-05 · Woojin Cho, Kookjin Lee, Noseong Park, Donsub Rim 외

We introduce Sparse Physics Informed Backpropagation (SPInProp), a new class of methods for accelerating backpropagation for a specialized neural network architecture called Low Rank Neural Representation (LRNR). The app…

Presto! Distilling Steps and Layers for Accelerating Music Generation

2024-10-07 · Zachary Novack, Ge Zhu, Jonah Casebeer, Julian McAuley 외

Despite advances in diffusion-based text-to-music (TTM) methods, efficient, high-quality generation remains a challenge. We introduce Presto!, an approach to inference acceleration for score-based diffusion transformers …

DiversityMusic Generation

Dual Propagation: Accelerating Contrastive Hebbian Learning with Dyadic Neurons

2023-02-02 · Rasmus Høier, D. Staudt, Christopher Zach

Activity difference based learning algorithms-such as contrastive Hebbian learning and equilibrium propagation-have been proposed as biologically plausible alternatives to error back-propagation. However, on traditional …

Efficient Neural Network Training via Forward and Backward Propagation Sparsification

2021-11-10 · NeurIPS 2021 12 · Xiao Zhou, Weizhong Zhang, Zonghao Chen, Shizhe Diao 외

Sparse training is a natural idea to accelerate the training speed of deep neural networks and save the memory usage, especially since large modern neural networks are significantly over-parameterized. However, most of t…

Efficient Neural Network

Ouroboros: On Accelerating Training of Transformer-Based Language Models

2019-09-14 · NeurIPS 2019 12 · Qian Yang, Zhouyuan Huo, Wenlin Wang, Heng Huang 외

Language models are essential for natural language processing (NLP) tasks, such as machine translation and text summarization. Remarkable performance has been demonstrated recently across many NLP domains via a Transform…

Language ModelingLanguage ModellingMachine TranslationText Summarization+1