TabCBM: Concept-based Interpretable Neural Networks for Tabular Data

Mateo Espinosa Zarlenga, Zohreh Shams, Michael Edward Nelson, Been Kim, Mateja JamnikTMLR 2023

Abstract

Concept-based interpretability addresses the opacity of deep neural networks by constructing an explanation for a model's prediction using high-level units of information referred to as concepts. Research in this area, however, has been mainly focused on image and graph-structured data, leaving high-stakes tasks whose data is tabular out of reach of existing methods. In this paper, we address this gap by introducing the first definition of what a high-level concept may entail in tabular data. We use this definition to propose Tabular Concept Bottleneck Models (TabCBMs), a family of interpretable self-explaining neural architectures capable of learning high-level concept explanations for tabular tasks. As our method produces concept-based explanations both when partial concept supervision or no concept supervision is available at training time, it is adaptable to settings where concept annotations are missing. We evaluate our method in both synthetic and real-world tabular tasks and show that TabCBM outperforms or performs competitively compared to state-of-the-art methods, while providing a high level of interpretability as measured by its ability to discover known high-level concepts. Finally, we show that TabCBM can discover important high-level concepts in synthetic datasets inspired by critical tabular tasks (e.g., single-cell RNAseq) and allows for human-in-the-loop concept interventions in which an expert can identify and correct mispredicted concepts to boost the model's performance.

Introduction

Deep Neural Networks (DNNs) are increasingly used in high-stakes fields like medicine and finance, yet their "black-box" nature remains a significant barrier to trust and adoption. While "concept-based interpretability" has emerged as a powerful solution—explaining predictions through intermediate, human-understandable units (e.g., identifying a "bird" because of "wings")—it has been largely confined to image and graph data.

Tabular data, which powers the majority of real-world industrial applications, lacks the spatial or geometric structure that makes concepts intuitive in other domains. Until now, there was no formal definition of what a "concept" looks like in a spreadsheet, leaving practitioners to rely on low-level feature importance scores that are often noisy and difficult to interpret. TabCBM addresses this gap by providing a formal framework for tabular concepts and a model architecture to learn them.

Methodology

The core innovation of TabCBM is the definition of a tabular concept as a subset of highly correlated features processed by a scoring function to produce a "meta-feature" activation.

The TabCBM Architecture

TabCBM forces the network to predict a set of concepts ($c$) before predicting the final label ($y$). The explanation for any given prediction is the vector of these concept scores. To discover which features belong to which concept, the model employs a differentiable masking strategy. It uses a multivariate Bernoulli sampler with a Gaussian copula, which incentivizes the model to group correlated features—such as related genes in a biological dataset—into the same semantic concept.

The TabCBM architecture illustrates the flow from raw features and correlation matrices through a Bernoulli sampler to generate concept scores used for final label prediction.

Training and Supervision

The model is trained using a multi-objective loss function that balances predictive accuracy with interpretability constraints:

  • Coherence: Ensures similar samples have similar concept scores.
  • Diversity: Encourages each concept to represent unique information.
  • Specificity: Uses L1 regularization to ensure concepts rely on sparse subsets of features.

Critically, TabCBM is flexible regarding supervision; it can be trained with full concept labels, partial labels, or in a completely unsupervised manner where it discovers concepts on its own.

Experimental Results

The authors evaluated TabCBM across a variety of benchmarks, including synthetic datasets (Synth-Linear, Synth-Nonlin), bioinformatics (scRNAseq), physics (Higgs), and finance (FICO).

Predictive Performance

One of the most significant findings is that TabCBM often eliminates the "transparency tax"—the typical trade-off where interpretable models perform worse than black-box ones. As shown in the performance table below, TabCBM matches or exceeds the accuracy of state-of-the-art models like XGBoost and TabNet across multiple complex tasks.

Predictive accuracy comparison showing TabCBM (ours) consistently outperforming or matching state-of-the-art black-box and interpretable models across eight datasets.

Concept Discovery and Intervention

Beyond raw accuracy, TabCBM demonstrates high Concept Alignment. In the scRNAseq task, the discovered concepts aligned closely with known biological Gene Expression Programs, even without concept labels during training.

Furthermore, the model enables human-in-the-loop interventions. Because the bottleneck is functional, an expert can review concept scores at test time. If the model misidentifies a concept, the expert can manually correct it, and the model will update its final prediction accordingly. Intervening on just one or two concepts in the scRNA task led to immediate, significant improvements in downstream accuracy.

Discussion and Future Work

While TabCBM represents a major step forward, some challenges remain. Users must currently pre-define the number of concepts ($k'$), and the model's computational overhead increases with the number of concepts. Additionally, the lack of high-quality "concept" annotations in real-world tabular datasets remains a hurdle for validation. Future research will focus on automated concept discovery and the creation of more robustly annotated tabular benchmarks to further bridge the gap between black-box performance and human-centric interpretability.

Summary updated

BibTeX
@article{zarlenga2023tabcbm,
  author = {Mateo Espinosa Zarlenga and Zohreh Shams and Michael Edward Nelson and Been Kim and Mateja Jamnik},
  title = {{TabCBM: Concept-based Interpretable Neural Networks for Tabular Data}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=TIsrnWpjQ0},
}
Figure