Hierarchical Feature Selection with Recursive Regularization

Hong Zhao, Pengfei Zhu, Ping Wang, Qinghua Hu

Introduction

In the era of massive datasets like ImageNet, classification tasks often involve hundreds or thousands of classes organized into a tree-like structure. Traditional "flat" feature selection algorithms ignore this structure; they attempt to find a single, uniform subset of features that works for every class simultaneously. However, the features needed to distinguish an animal from a vehicle (e.g., texture vs. sharp edges) are very different from those needed to distinguish a car from a truck. By forcing a "one-size-fits-all" feature set, flat models often become bloated or lose precision.

This paper introduces HiFSRR (Hierarchical Feature Selection with Recursive Regularization), an algorithm designed to select specialized feature subsets for every node in a class hierarchy. By leveraging the inherent structure of the data, HiFSRR ensures that parents and children share relevant features while sibling nodes remain distinct.

Methodology

The core innovation of HiFSRR is modeling the relationships between nodes in the class tree using recursive regularization. This approach mirrors human logic, moving from broad, shared characteristics to fine-grained, distinguishing details.

Figure 1: The hierarchical structure of classes where each node $d_i$ is associated with a specific weight matrix $W_i$ for feature selection.

The model employs three primary mechanisms:

  1. Parent-Children Relationship: Nodes that are directly connected (e.g., "Bird" and "Sparrow") are semantically similar. A recursive regularization term ensures that a child node's feature weights are related to its parent's, allowing for the sharing of common informative features.
  2. Sibling Relationship: Nodes at the same level (e.g., "Car" and "Airplane") must be distinguished. The authors use the Hilbert-Schmidt Independence Criterion (HSIC) to penalize dependence between features selected for siblings, forcing the model to find unique characteristics that separate them.
  3. Sparsity: By employing an $\\ell_{2,1}$-norm, the model ensures that only a small, sparse matrix of features is selected for each node, keeping the final model compact and efficient.

The authors provide an alternating minimization strategy to solve this optimization problem, which converges quickly to a global optimum.

Experimental Evaluation

The algorithm was evaluated on six diverse datasets across two domains: Protein Fold Recognition (F194, DD) and Image Classification (CLEF, CIFAR-100, PASCAL VOC, and SUN). These datasets ranged in height from 3 to 5 levels, with the SUN dataset being the largest, containing over 45,000 training samples and 4,000 features.

Results and Discussion

HiFSRR consistently outperformed state-of-the-art flat methods such as mRMR, Relief, and FSNM. For instance, on the CLEF medical image dataset, HiFSRR achieved an average accuracy of 81.49%, compared to 79.50% for the next best flat method.

Figure 6: Comparison of classification accuracy as the number of selected features decreases, demonstrating the robustness of the hierarchical approach.

Key Insights

  • Robustness with Fewer Features: The advantage of hierarchical regularization is most pronounced when selecting very small feature subsets. As shown in the experimental results, HiFSRR maintains high accuracy even when the number of features is significantly reduced, whereas flat methods lose precision more rapidly.
  • Computational Efficiency: Despite the complexity of the hierarchy, HiFSRR proved significantly faster than many competitors. On the SUN dataset, it completed its task in approximately 3,500 seconds, while the mRMR method took nearly ten times longer (~34,620 seconds).
  • Feature Specialization: HiFSRR allows features to be discarded where they are noise (e.g., at the root) and prioritized where they are signal (e.g., at a specific leaf node).

Conclusion and Future Work

HiFSRR demonstrates that accounting for class hierarchy significantly improves both the accuracy and efficiency of feature selection. While the current model is designed for tree structures where each class has one parent, many real-world scenarios involve Directed Acyclic Graphs (DAGs) where a class might belong to multiple categories (e.g., a "Smartphone" as both "Electronics" and "Communication"). Extending this recursive regularization to general graph structures is a primary goal for future research.

Summary updated

BibTeX
@inproceedings{zhao2017hierarchical,
  author = {Hong Zhao and Pengfei Zhu and Ping Wang and Qinghua Hu},
  title = {{Hierarchical Feature Selection with Recursive Regularization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/487},
}
Figure