Supervised Feature Selection in Graphs with Path Coding Penalties and Network Flows

Julien Mairal, Bin Yu, Ben Taskar

Introduction

In high-dimensional data analysis, selecting a subset of relevant features is a fundamental task. Traditional methods like the Lasso ($\ell_1$ regularization) treat features as independent entities, often resulting in "scattered" selections that lack physical or biological coherence. However, in many domains—such as genomics, neuroscience, and computer vision—features are naturally organized within a graph structure.

This paper introduces "path coding" penalties, a novel framework for selecting features that form connected paths within a Directed Acyclic Graph (DAG). By leveraging the mathematical properties of network flows, the authors transform complex structured sparsity problems into computationally efficient optimization tasks.

The Challenge of Structured Sparsity

Standard feature selection ignores the underlying topology of the data. While researchers have proposed group-based or graph-based penalties to encourage connectivity, they often face a trade-off between expressivity and tractability.

  1. Local Penalties: Methods that only consider immediate neighbors (e.g., Graph Lasso) are easy to compute but struggle to capture long-range dependencies or global connectivity patterns.
  2. Global Penalties: Approaches that attempt to select arbitrary connected subgraphs are ideal for interpretability but typically lead to NP-hard combinatorial problems.

The authors propose a "middle ground": using paths as the fundamental building blocks of connectivity. If a set of selected features can be covered by a small number of paths, the resulting sparsity pattern is inherently well-connected.

Figure 1: (a) A typical sparsity pattern in an undirected graph. (b) The same pattern represented as selected paths in a DAG, illustrating how paths promote connectivity.

The Path Coding Approach

The core innovation is the Path Coding Penalty. Instead of penalizing individual nodes or edges, the penalty is defined over the set of all possible paths in a DAG.

Penalty Variants

The authors define two primary versions of the penalty:

  • Non-convex ($\phi_G$): Designed for aggressive feature selection, this variant is particularly effective in high signal-to-noise ratio (SNR) environments, such as image denoising.
  • Convex Relaxation ($\psi_G$): This version acts as a norm and provides a more robust framework for noisy data, such as gene expression levels.

Mapping to Network Flows

The breakthrough of this work is the realization that computing these path-based penalties—and their associated proximal operators—is equivalent to solving a Minimum Cost Flow problem.

Figure 4: Different types of flows in graphs. The paper maps path coding penalties to (s,t)-path flows in DAGs (c), which can be solved efficiently using standard network flow algorithms.

Even though a DAG can contain an exponential number of paths, network flow theory allows us to find the optimal set of paths in polynomial time. The authors utilize the scaling push-relabel algorithm and an active set strategy to ensure the method scales to graphs with tens of thousands of nodes and edges.

Empirical Evaluation

The effectiveness of path coding was tested across three diverse domains:

1. Synthetic Network Recovery

Using real-world graph structures (e.g., jazz musician networks, email networks) converted into DAGs, the authors demonstrated that path coding consistently recovers hidden signals more accurately than unstructured $\ell_1$ methods.

2. Image Denoising

In the context of Discrete Cosine Transform (DCT) dictionaries, frequencies were modeled as nodes in a DAG. The non-convex path penalty outperformed standard $\ell_0$ and $\ell_1$ baselines by approximately 0.38 dB, yielding results competitive with specialized state-of-the-art denoising algorithms.

3. Genomics and Cancer Research

Applying the method to the Van De Vijver breast cancer dataset (8,141 genes, 42,000 edges), the path coding penalty identified highly interpretable subgraphs. While the standard Lasso produced over 30 isolated components, the path-based approach resulted in only 1.3 to 1.6 connected components on average. Furthermore, the selected gene sets were significantly more stable across different random splits of the data.

Key Insights and Limitations

The research highlights that paths are a powerful and tractable proxy for connectivity. By using the dual norm of the path penalty, the authors can efficiently check optimality conditions, enabling an active-set strategy for large-scale problems.

However, a primary limitation is the requirement for a Directed Acyclic Graph. While the authors provide a heuristic for general undirected graphs (randomly orienting edges and removing cycles), a native formulation for cyclic graphs remains an open area for future research. Additionally, while paths promote connectivity, they do not always align perfectly with known biological pathways, suggesting room for further refinement in domain-specific applications.

Conclusion

Path coding penalties offer a sophisticated yet computationally feasible approach to structured feature selection. By bridging the gap between graph theory and sparse optimization through network flows, this work provides a scalable tool for discovering meaningful, connected patterns in high-dimensional data.

Summary updated

BibTeX
@article{mairal2013supervised,
  author = {Julien Mairal and Bin Yu and Ben Taskar},
  title = {{Supervised Feature Selection in Graphs with Path Coding Penalties and Network Flows}},
  journal = {J. Mach. Learn. Res.},
  year = {2013},
  url = {https://openreview.net/forum?id=nLsiqU0ioXw},
}
Figure