A homotopy-type-theoretic generalization of neurosymbolic inference
Summary
A new framework generalizes neurosymbolic (NeSy) inference by replacing the underlying sets with types from homotopy type theory (HoTT). This approach preserves crucial information about symmetries between σ-structures and proof multiplicity, which traditional set-based systems overlook. The generalized functional becomes a belief-weighted homotopy cardinality, accounting for object symmetries. A conservativity theorem confirms classical functional recovery when symmetries are trivial. This framework exposes symmetries critical for reasoning shortcuts. Practically, the shortcut-aware concept posterior, often achieved via ensembling, is identified as the unique symmetry-invariant point of the confusion-set simplex. This is computable in closed form by averaging a single model over the symmetry group. On MNIST reasoning-shortcut benchmarks, this single-model wrapper achieves better calibration than diversity-trained ensembles, without impacting label accuracy or identifiable concepts. Code is available at https://github.com/bio-ontology-research-group/hott-nesy, published on 2026-06-16.
Key takeaway
For AI Scientists developing neurosymbolic systems, this HoTT-based framework offers a novel path to enhance model calibration and interpretability. You can compute shortcut-aware concept posteriors directly by averaging a single model over its symmetry group, potentially reducing the need for complex diversity-trained ensembles. Consider integrating type-theoretic approaches to explicitly account for symmetries, leading to more robust and explainable NeSy inference, as demonstrated by improved calibration on MNIST benchmarks.
Key insights
HoTT generalizes neurosymbolic inference, leveraging symmetries for improved shortcut-aware concept posteriors and calibration.
Principles
- Type theory preserves structural symmetries.
- Homotopy cardinality accounts for object symmetries.
- Reasoning shortcuts are tied to exposed symmetries.
Method
Replace sets with homotopy type theory types to compute a belief-weighted homotopy cardinality. Average a single model over the symmetry group to derive the shortcut-aware concept posterior.
In practice
- Improve NeSy model calibration.
- Compute shortcut-aware posteriors directly.
- Reduce reliance on ensemble methods.
Topics
- Neurosymbolic AI
- Homotopy Type Theory
- Reasoning Shortcuts
- Model Calibration
- Type Theory
- MNIST Benchmarks
Code references
Best for: Research Scientist, AI Scientist, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.