Formal Concept Lattices are Good Semantic Scaffolds for Concept-Based Learning

Deepika Vemuri, Sayanta Adhikari, Ankit Saha, Krishn Vishwas Kher, Vineeth N. Balasubramanian

Introduction

Deep Neural Networks (DNNs) naturally learn a hierarchy of features during training—early layers detect simple textures and edges, while deeper layers identify complex objects. However, these internal representations typically remain opaque "black boxes." Concept Bottleneck Models (CBMs) attempt to resolve this by forcing networks to predict human-understandable concepts (e.g., "has wings," "is furry") before making a final classification.

Yet, most CBMs treat these concepts as a flat, unstructured list at the very end of the network. This ignores two crucial factors:

  1. Human Cognition: Human knowledge is organized hierarchically (e.g., Animal $\rightarrow$ Mammal $\rightarrow$ Feline $\rightarrow$ Cat).
  2. Network Efficiency: Forcing a network to learn a highly general concept like "animal" only at the final layer is inefficient, as the network likely extracted the features necessary to make that determination much earlier in its processing.

To bridge this gap, researchers have developed the FoCA CBM (Formal Concept Analysis Concept Bottleneck Model), a novel architecture that replaces flat concept layers with a hierarchical "semantic scaffold" aligned with the physical depth of the neural network.

Methodology: The FoCA CBM Approach

The FoCA CBM framework aligns a formal semantic hierarchy with network depth through a three-step pipeline:

1. Lattice Construction

Using Formal Concept Analysis (FCA), the authors transform a dataset's class-attribute matrix into a "Formal Concept Lattice." This mathematical structure naturally groups classes by shared attributes, creating a strict hierarchy ranging from general concepts (shared by many classes, defined by few attributes) to specific concepts (unique to one class, defined by many attributes).

2. Semantic Alignment

To determine where in the network a concept should be learned, the method employs a metric called Class-Cluster Density. By clustering features at each network block, the model assigns general concepts from the top of the lattice to "dense" blocks (where many classes are mixed together). As clusters become more distinct and separated in deeper layers, supervision shifts to more specific concepts.

3. Iterative Refinement

Instead of predicting concepts independently, the model uses a cascading mechanism where predictions at layer $i$ act as a filter for layer $i+1$. For instance, if the model confidently determines an object is not a bird at layer 2, it stops evaluating bird-specific attributes at layer 3, streamlining the reasoning process.

Key Insights and Theoretical Grounding

  • Semantic Scaffolding & Gradual Telescoping: By supervising intermediate layers, the network's feature learning is guided to align with human taxonomy. Visualizations reveal that while standard models only separate classes at the final layer, FoCA CBMs gradually refine clusters throughout the network's depth.
  • Multi-Level Interventions: Standard CBMs only allow concept correction at the end of the network. FoCA CBM enables interventions at the appropriate level of abstraction. If the model confuses a "Sea Snake" for a "Stingray," users can correct the general "Reptile" vs. "Fish" attributes at an intermediate layer, cascading corrections downstream.
  • Information-Theoretic Guarantees: The authors provide theoretical proof that supervising with a formal lattice guarantees a lower bound on information gain between layers, ensuring the network learns meaningful, non-redundant information at every step.

Empirical Results

The framework was rigorously evaluated on three diverse image classification benchmarks: AwA2 (expert-annotated attributes), ImageNet100 (LLM-generated attributes), and CIFAR100 (LLM-generated attributes).

  • Superior Interpretability: FoCA CBM significantly outperformed baselines in Cluster Impurity (CI) and Cluster Compactness (DBI), indicating highly organized and semantically meaningful internal representations.
  • Competitive Accuracy: Despite the constraints of hierarchical supervision, the model maintained or improved classification accuracy. On ImageNet100, it achieved 91.88% accuracy, surpassing the Vanilla CBM's 88.27%.
  • Architecture Agnostic: The method proved effective on both Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs), demonstrating that hierarchical structures can emerge in transformer blocks as well.
  • Robustness to Leakage: The FCA-based hierarchy was more robust to "concept leakage" (where models bypass concepts using hidden features to cheat on the final prediction) compared to hierarchies generated purely by LLMs.

Limitations and Future Directions

Like all concept-based models, FoCA CBM relies heavily on attribute quality. The authors note that LLM-generated attributes can sometimes introduce noise into the lattice. Furthermore, concepts are currently treated as static entities. Future research could explore dynamically adapting concept representations to specific inputs and further narrowing the "interpretability tax"—the slight trade-off between forcing model transparency and maximizing raw predictive power.

Summary updated

BibTeX
@inproceedings{vemuri2026formal,
  author = {Deepika Vemuri and Sayanta Adhikari and Ankit Saha and Krishn Vishwas Kher and Vineeth N. Balasubramanian},
  title = {{Formal Concept Lattices are Good Semantic Scaffolds for Concept-Based Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=AE8xCfWWL9},
}
Figure