Concept Learning in the Wild: Towards Algorithmic Understanding of Neural Networks

Elad Shoham, Hadar Cohen, Khalil Wattad, Havana Rika, Dan Vilenchik
12/15/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Explainable AI (XAI) methods typically focus on identifying essential input features or more abstract concepts for tasks like image or text classification. However, for algorithmic tasks like combinatorial optimization, these concepts may depend not only on the input but also on the current state of the network, like in the graph neural networks (GNN) case. This work studies concept learning for an existing GNN model trained to solve Boolean satisfiability (SAT). \textcolor{black}{Our analysis reveals that the model learns key concepts matching those guiding human-designed SAT heuristics, particularly the notion of 'support.' We demonstrate that these concepts are encoded in the top principal components (PCs) of the embedding's covariance matrix, allowing for unsupervised discovery. Using sparse PCA, we establish the minimality of these concepts and show their teachability through a simplified GNN. Two direct applications of our framework are (a) We improve the convergence time of the classical WalkSAT algorithm and (b) We use the discovered concepts to "reverse-engineer" the black-box GNN and rewrite it as a white-box textbook algorithm. Our results highlight the potential of concept learning in understanding and enhancing algorithmic neural networks for combinatorial optimization tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shoham2024concept,
  title  = {Concept Learning in the Wild: Towards Algorithmic Understanding of Neural Networks},
  author = {Elad Shoham and Hadar Cohen and Khalil Wattad and Havana Rika and Dan Vilenchik},
  year   = {2024},
  eprint = {2412.11205},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11205v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.11205.svg)](https://codeofpaper.com/paper/2412.11205)

Discussion