[Paper Review] OTOV2: Automatic, Generic, User-Friendly
OTOv2 trains and compresses a general DNN from scratch in one shot, automatically partitioning parameters into Zero-Invariant Groups (ZIGs) and solving a structured-sparsity problem with the novel DHSPG optimizer to produce a slimmer model without fine-tuning.
The existing model compression methods via structured pruning typically require complicated multi-stage procedures. Each individual stage necessitates numerous engineering efforts and domain-knowledge from the end-users which prevent their wider applications onto broader scenarios. We propose the second generation of Only-Train-Once (OTOv2), which first automatically trains and compresses a general DNN only once from scratch to produce a more compact model with competitive performance without fine-tuning. OTOv2 is automatic and pluggable into various deep learning applications, and requires almost minimal engineering efforts from the users. Methodologically, OTOv2 proposes two major improvements: (i) Autonomy: automatically exploits the dependency of general DNNs, partitions the trainable variables into Zero-Invariant Groups (ZIGs), and constructs the compressed model; and (ii) Dual Half-Space Projected Gradient (DHSPG): a novel optimizer to more reliably solve structured-sparsity problems. Numerically, we demonstrate the generality and autonomy of OTOv2 on a variety of model architectures such as VGG, ResNet, CARN, ConvNeXt, DenseNet and StackedUnets, the majority of which cannot be handled by other methods without extensive handcrafting efforts. Together with benchmark datasets including CIFAR10/100, DIV2K, Fashion-MNIST, SVNH and ImageNet, its effectiveness is validated by performing competitively or even better than the state-of-the-arts. The source code is available at https://github.com/tianyic/only_train_once.
Motivation & Objective
- Automate DNN one-shot training and compression without pre-training or fine-tuning.
- Automatically identify minimal removal structures (ZIGs) and construct a compressed model.
- Develop a structured-sparsity optimizer (DHSPG) that reliably controls sparsity and performance.
- Demonstrate robustness and generality across diverse architectures and datasets.
Proposed method
- Introduce Zero-Invariant Groups (ZIGs) as minimal removal structures that can be pruned without changing outputs when zero.
- Develop Automated ZIG Partition to automatically decompose a DNN into ZIGs via a trace graph and connected components of dependency.
- Propose Dual Half-Space Projected Gradient (DHSPG) to solve a constrained group-sparsity problem with automatic regularization per group.
- Construct the compressed model M* by removing zeroed ZIGs and reconfiguring the remaining structure without fine-tuning.
- Show linear-time complexity for ZIG partition and compression steps, and linear-time DHSPG optimization.
- Validate on multiple architectures (VGG, ResNet, CARN, ConvNeXt, DenseNet, StackedUnets) and datasets (CIFAR10/100, DIV2K, Fashion-MNIST, SVNH, ImageNet).

Experimental results
Research questions
- RQ1Can a general DNN be trained and compressed from scratch in one pass without pre-training or fine-tuning?
- RQ2Can the trainable parameters be automatically partitioned into ZIGs across diverse architectures?
- RQ3Does DHSPG reliably achieve high group sparsity with competitive performance without extensive hyper-parameter tuning?
- RQ4Can the automatically constructed compressed model preserve identical outputs to the full model without further training?
Key findings
- OTOv2 achieves substantial FLOPs and parameter reductions while maintaining competitive or state-of-the-art accuracy on various architectures and datasets.
- DemoNet on Fashion-MNIST drops only 0.1-0.2% in Top-1 accuracy with 73.6-83.0% FLOPs/params reduction.
- StackedUnets on SVNH retains 94.7% Top-1 accuracy with 26.4% FLOPs and 17.0% params (vs 100%/100% baseline at 94.8%).
- DenseNet121 on CIFAR100 reduces FLOPs to 20.8% and parameters to 26.7% with accuracy 75.5% (baseline 77.0%).
- ConvNeXt-Tiny on ImageNet reduces FLOPs to 52.8%, parameters to 54.2% with accuracy 81.1% (baseline 82.0%).
- VGG16 on CIFAR10 shows substantial compression with competitive accuracy when compressed via OTOv2 (Table 2 results).

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.