On Why Form Shapes Reasoning: Structuring Latent Program Networks with Category-Theoretic Constraints

Ching Chao, Xue LiuOpenReview 2026 · Submission to ICLR 2026 · Rejected

Abstract

Human reasoning is inherently structured: we perceive, compose, and abstract patterns to make sense of the world. Following Kant’s view that cognition imposes structure on experience, we ask how neural networks can acquire structured, compositional reasoning. We present a category-theoretic formulation of Latent Program Networks (LPNs), neural architectures that represent programs as continuous latent vectors inferred from input–output examples. We treat latent transformations as categorical morphisms and introduce differentiable constraints enforcing associativity, identity, and closure, thereby shaping the latent space into a compositional system without explicit symbolic rules. On structured grid-transformation tasks, these constraints significantly improve compositional generalization, latent alignment, and interpretability. Our results demonstrate that category-theoretic structure can be imposed on latent representations to induce compositional reasoning in neural networks.
BibTeX
@misc{chao2026why,
  author = {Ching Chao and Xue Liu},
  title = {{On Why Form Shapes Reasoning: Structuring Latent Program Networks with Category-Theoretic Constraints}},
  year = {2026},
  url = {https://openreview.net/forum?id=BpQIvcNvnp},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure