NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Boosting Forests with Richer Deep Feature Hierarchy

Jianqiao WangniarXiv 2022 · DOI

Abstract

Deep neural networks (DNNs) are notoriously vulnerable to adversarial attacks, where small, calculated perturbations can lead to catastrophic failures. While much attention has been paid to classification, geometric tasks like 3D face reconstruction remain highly susceptible. This paper introduces Conservative-Greedy Boosting Forests (CGBF), an architectural "plugin" that replaces the standard differentiable prediction head of a CNN with a specialized gradient boosting forest. By utilizing features from multiple network layers and employing a conservative splitting strategy, CGBF creates a non-differentiable barrier that significantly enhances robustness against gradient-based adversarial attacks.

Introduction

The end-to-end trainability of Convolutional Neural Networks (CNNs) is both their greatest strength and a significant security flaw. Adversaries can exploit the network's own gradients to find minimal pixel changes that maximize loss, causing models to fail. In the context of 3D face alignment and reconstruction, standard estimators often "degenerate" under attack, losing individual identity and reverting to a generic, average face shape. This paper addresses this vulnerability by introducing a hybrid model that combines CNN representational power with the inherent robustness of non-differentiable decision trees.

Methodology

The proposed approach moves away from pure gradient-based architectures through three core innovations:

1. Richer Feature Hierarchy

Instead of relying solely on the final layer of a CNN, the model extracts features from multiple levels—ranging from raw pixels to deep semantic layers. This "cascade" of features provides a balanced mix of fine-grained geometric information and coarse-grained structural data, which is more resilient to localized noise.

2. Conservative-Greedy Boosting Forest (CGBF)

The prediction head is replaced by a CGBF, which employs two distinct strategies:

  • Conservative Splits: Unlike standard "greedy" decision trees that maximize immediate gain, CGBF avoids splits in "controversial" feature regions where small input variations might lead to different leaf nodes. This prioritizes prediction stability.
  • Greedy Depth: To recover the accuracy potentially lost through conservative splitting, the trees are allowed to grow deeper, utilizing the rich feature set to refine predictions.

3. Non-Differentiable Defense

Decision trees produce piecewise-constant outputs, making them non-differentiable. This discontinuity prevents gradient-based attacks (like the Fast Gradient Sign Method) from effectively "mapping" the network's vulnerabilities, turning the attack into a much harder combinatorial optimization problem.

Key Results

The method was evaluated on prominent datasets including 300W and 300W-LP. Quantitative analysis using the Vertex Distance Cost (VDC) demonstrated that while a pure CNN's error more than doubled under a 1% pixel perturbation (from 3494.52 to 8069.29), the CGBF model maintained significantly higher accuracy (error of 4948.92).

Comparison of 3D face reconstruction under adversarial attack: Pure CNN vs. CGBF (Ours). The Pure CNN column shows the "average face" failure, while the CGBF method preserves identity and pose.

Qualitatively, the CGBF model successfully preserved the 3D orientation, depth, and specific landmarks of subjects under attack, whereas the pure CNN outputted flat, featureless faces. This demonstrates that the forest-based head effectively shields the model from the identity-stripping effects of adversarial noise.

Conclusion

The integration of Conservative-Greedy Boosting Forests into deep learning pipelines offers a robust defense against adversarial perturbations in geometric tasks. By breaking the gradient chain and utilizing a richer feature hierarchy, the CGBF plugin provides a significant security upgrade with minimal architectural changes. Future work will explore making the underlying feature extraction layers themselves more inherently robust to further strengthen the defense.

Summary updated

BibTeX
@misc{wangni2022robust,
  author = {Jianqiao Wangni},
  title = {{Robust Boosting Forests with Richer Deep Feature Hierarchy}},
  year = {2022},
  eprint = {2210.16451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.16451},
}
Figure