[Paper Review] Complement Objective Training
This paper proposes Complement Objective Training (COT), a novel training paradigm that enhances deep learning models by jointly optimizing a primary objective (e.g., cross entropy) and a complement objective that neutralizes predicted probabilities for incorrect classes. By doing so, COT improves model accuracy and robustness, reducing classification errors by up to 10% under FGSM white-box attacks and showing consistent performance gains across vision and NLP tasks.
Learning with a primary objective, such as softmax cross entropy for classification and sequence generation, has been the norm for training deep neural networks for years. Although being a widely-adopted approach, using cross entropy as the primary objective exploits mostly the information from the ground-truth class for maximizing data likelihood, and largely ignores information from the complement (incorrect) classes. We argue that, in addition to the primary objective, training also using a complement objective that leverages information from the complement classes can be effective in improving model performance. This motivates us to study a new training paradigm that maximizes the likelihood of the groundtruth class while neutralizing the probabilities of the complement classes. We conduct extensive experiments on multiple tasks ranging from computer vision to natural language understanding. The experimental results confirm that, compared to the conventional training with just one primary objective, training also with the complement objective further improves the performance of the state-of-the-art models across all tasks. In addition to the accuracy improvement, we also show that models trained with both primary and complement objectives are more robust to single-step adversarial attacks.
Motivation & Objective
- To address the limitation of standard training that largely ignores information from incorrect (complement) classes during optimization.
- To improve model generalization and robustness by explicitly neutralizing predicted probabilities for incorrect classes.
- To investigate whether incorporating a complement objective can enhance performance beyond standard cross-entropy training.
- To evaluate the robustness of COT-trained models against single-step adversarial attacks, such as FGSM.
- To explore the potential of complement objectives in broader applications, including generative models and dense prediction tasks.
Proposed method
- Proposes complement entropy as a new complement objective to neutralize probabilities of incorrect classes, ensuring they are suppressed without compromising the primary objective.
- Introduces a joint optimization framework that minimizes both the primary cross-entropy loss and the complement entropy loss during training.
- Uses gradient-based optimization where both primary and complement gradients are computed and backpropagated simultaneously.
- Employs a balanced loss weighting strategy to ensure the primary objective is not compromised while complement classes are actively suppressed.
- Visualizes model embeddings using t-SNE to demonstrate that COT leads to tighter, better-separated class clusters in representation space.
- Applies FGSM white-box and transfer attacks to evaluate robustness, using gradients from both primary and complement objectives in adversarial generation.
Experimental results
Research questions
- RQ1Can optimizing a complement objective that neutralizes incorrect class probabilities improve model accuracy beyond standard cross-entropy training?
- RQ2Does COT lead to better generalization, as evidenced by tighter and more separable class clusters in learned representations?
- RQ3Is the model trained with COT more robust to single-step adversarial attacks such as FGSM compared to standard models?
- RQ4How does the inclusion of complement gradients affect the success rate of transfer-based adversarial attacks?
- RQ5Can the COT framework be extended to other architectures and tasks, such as object detection, segmentation, or generative models?
Key findings
- Models trained with COT achieve significant accuracy improvements across multiple tasks, including computer vision and natural language understanding.
- On CIFAR-10, COT reduces classification error under FGSM white-box attacks by up to 9.51 percentage points (e.g., from 65.60% to 56.17% for PreAct ResNet-18).
- COT models show improved robustness under transfer attacks, with error rates reduced by up to 6.58 percentage points (e.g., from 70.24% to 61.55% for ResNeXt-29).
- t-SNE visualization confirms that COT produces tighter, better-separated class clusters, indicating improved feature representation and generalization.
- The complement objective helps defend against adversarial attacks by introducing gradients that counteract primary objective-driven perturbations.
- COT consistently improves performance across diverse architectures, including ResNet-110, WideResNet-28-10, and DenseNet-BC-121, demonstrating broad applicability.
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.