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

Finding Interpretable Class-Specific Patterns through Efficient Neural Search

Nils Philipp Walter, Jonas Fischer, Jilles Vreeken

Abstract

In high-dimensional domains like genomics, discovering interpretable, class-specific patterns is often more critical than simple predictive accuracy. Traditional combinatorial pattern mining methods struggle with the "curse of dimensionality," often failing to scale or producing redundant results. We present DIFFNAPS, a neuro-symbolic architecture that frames pattern discovery as a differentiable optimization problem. By utilizing a binarized autoencoder with a classification head, DIFFNAPS identifies succinct, non-redundant logical rules that characterize specific classes. Our evaluation on synthetic and real-world biological datasets demonstrates that DIFFNAPS scales to hundreds of thousands of features and remains robust to noise, successfully uncovering biologically relevant gene-expression patterns where traditional methods falter.

Introduction

Machine learning tasks are generally categorized into predictive modeling and discovery-based analysis. While black-box models excel at the former, fields such as molecular biology require the latter to understand underlying biological mechanisms. For instance, identifying specific gene combinations that differentiate tumor types is essential for precision medicine.

Historically, finding these "differential patterns" has been a significant challenge. Rule-based methods like decision trees and traditional pattern mining algorithms rely on combinatorial searches that become computationally intractable as the number of features grows. These methods often exhaust memory on high-dimensional data or return an overwhelming number of redundant patterns. DIFFNAPS addresses these limitations by leveraging neural network optimization to find a succinct and interpretable set of rules.

The DIFFNAPS Framework

DIFFNAPS (Differential Pattern Search) transforms the discrete problem of pattern mining into a continuous optimization task. The architecture consists of a two-layer binary autoencoder integrated with a linear classification head.

The DIFFNAPS architecture combines a binarized autoencoder with a classifier to extract interpretable logical patterns from high-dimensional data.

Neuro-Symbolic Optimization

The core of DIFFNAPS is its neuro-symbolic approach. During the forward pass, the network's continuous weights are stochastically binarized into 0s and 1s. This transformation ensures that each hidden layer neuron functions as a logical AND gate, representing a specific "pattern" of features. To enable training via backpropagation, the model employs a Straight-Through Estimator (STE) to update weights efficiently.

Multi-Task Objective and Regularization

The model is trained using a dual objective:

  1. Reconstruction: The autoencoder must reconstruct the input data, ensuring the patterns accurately represent the dataset's structure.
  2. Classification: The hidden layer must predict class labels, forcing the discovered patterns to be discriminative between classes.

To ensure human-readability, the authors implement custom regularization, including a length penalty to keep patterns concise and a W-shaped regularizer to drive continuous weights toward discrete binary values.

Experimental Evaluation

The authors evaluated DIFFNAPS against synthetic benchmarks and high-dimensional biological datasets, including gene expression data from The Cancer Genome Atlas (TCGA) and genetic variation data from the 1000 Genomes Project.

Scalability and Robustness

A primary advantage of DIFFNAPS is its ability to handle massive feature spaces. While traditional algorithms like SPuManTE and PREMISE often time out or exceed memory limits on large datasets, DIFFNAPS scales linearly with the number of features.

Comparison of execution time across different methods shows that DIFFNAPS maintains efficiency even as the number of features reaches 100,000.

Furthermore, DIFFNAPS exhibits remarkable robustness to noise. In synthetic tests involving "destructive noise" (flipping 1s to 0s), DIFFNAPS maintained high F1 scores, whereas the performance of traditional rule-based methods like CART and CLASSY collapsed.

Biological Discovery

On real-world cancer datasets (BRCA-N and BRCA-S), DIFFNAPS achieved superior sensitivity and specificity while returning a manageable number of patterns. Crucially, the discovered patterns were biologically valid, independently identifying gene groups associated with known cancer pathways, such as MAPK and WNT signaling. In subtype differentiation, the model successfully isolated gene patterns distinguishing Luminal A and Luminal B breast cancers, linking them to specific metabolic pathways.

Conclusion

DIFFNAPS represents a significant step forward in interpretable machine learning for high-dimensional data. By moving pattern discovery into a differentiable framework, it bypasses the exponential complexity of combinatorial search. While traditional methods may still be preferable for low-dimensional data (<100 features), DIFFNAPS provides a powerful tool for discovery in genomics and other fields where interpretability and scalability are paramount. Future work aims to expand the architecture to capture more complex logical relationships, such as disjunctions (OR) and mutual exclusivity (XOR).

Summary updated

BibTeX
@inproceedings{walter2024finding,
  author = {Nils Philipp Walter and Jonas Fischer and Jilles Vreeken},
  title = {{Finding Interpretable Class-Specific Patterns through Efficient Neural Search}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28756},
}
Figure