atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

DeepZero: Scaling Up Zeroth-Order Optimization for Deep Model Training

ICLR 2024 · Adversarial robustness and security › Certified and empirical robustness · approach: Augmentation and diffusion purification · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DeepZero, a zeroth-order deep learning framework that scales ZO optimization to training DNNs from scratch via coordinate-wise gradient estimation, ZO-GraSP sparsity, feature reuse and forward parallelization.

Problem

Zeroth-order optimization has been limited to small-scale problems; it is unclear how to train deep neural networks from scratch with function-value-only gradient estimates without large accuracy loss.

Approach

Uses deterministic coordinate-wise gradient estimation (CGE) instead of randomized vector-wise estimation, and induces sparsity via a zeroth-order version of gradient signal preservation (ZO-GraSP) with layer-wise pruning ratios and dynamic random sparsity patterns, plus feature reuse and forward parallelization to speed up training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace randomized vector-wise gradient estimation with coordinate-wise gradient estimationZO training of deep CNNs · CIFAR-10test accuracyHelped
Use coordinate-wise gradient estimation instead of randomized vector-wise estimationZO training of CNNs · CNNs of varying parameter countscomputation timeHelped
Add feature reuseCGE-based ZO training · Deep model trainingtraining time: 2× reduction in training timeHelped
Use ZO-GraSP pruning instead of random pruningResNet-20 and ResNet-18 sparse models trained on CIFAR-10 · CIFAR-10testing accuracyHelped
Use ZO-GraSP pruning instead of FO-GraSP pruningResNet-20 and ResNet-18 sparse models trained on CIFAR-10 · CIFAR-10testing accuracyNo clear effect
Use gradient sparsity rather than directly training a weight-sparse modelDeepZero · CIFAR-10, ResNet-20, sparsity regime 90% to 99%accuracyHelped
Use SR-guided dynamic sparsity instead of alternating ZO-GraSP and sparse training (M1) or pruning before training (M2) (ablation)ZO training · Pruning performance across pruning ratiosaccuracyHelped
Use DeepZero instead of Pattern SearchResNet-20 · CIFAR-10, dataset sizes from 100 to 32KaccuracyMixed
Use DeepZero instead of ZO-AE-DSBlack-box adversarial defense · ImageNet-10, radius r=0.25certified accuracy: 52.80 -> 76.61Helped
Use DeepZero instead of ZO-AE-DSBlack-box adversarial defense · ImageNet-10, radius r=0.5certified accuracy: 43.13 -> 61.80Helped
Use DeepZero instead of ZO-AE-DSBlack-box adversarial defense · ImageNet-10, radius r=0.75certified accuracy: 32.73 -> 43.05Helped
Increase batch size beyond 2048 (ablation)DeepZero · CIFAR-10, ResNet-20performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet (10-class subset) 2D unsteady wake flow simulations (PhiFlow)

Benchmarks: CIFAR-10 ImageNet (10-class subset) 2D unsteady wake flow PDE error correction

Metrics: test accuracy certified accuracy mean absolute error runtime

Baselines: First-order SGD Pattern Search Align-ada FA DFA FO-DS ZO-AE-DS NON SRC FO-SOL

Builds on: GraSP Smart Ratio Pattern Search Align-ada ZO-AE-DS Solver-in-the-loop

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy