On the Limits of Hierarchically Embedded Logic in Classical Neural Networks

Bill Cochran
7/28/2025
cs.AI

No confident code implementation found for this paper.

Abstract

We propose a formal model of reasoning limitations in large neural net models for language, grounded in the depth of their neural architecture. By treating neural networks as linear operators over logic predicate space we show that each layer can encode at most one additional level of logical reasoning. We prove that a neural network of depth a particular depth cannot faithfully represent predicates in a one higher order logic, such as simple counting over complex predicates, implying a strict upper bound on logical expressiveness. This structure induces a nontrivial null space during tokenization and embedding, excluding higher-order predicates from representability. Our framework offers a natural explanation for phenomena such as hallucination, repetition, and limited planning, while also providing a foundation for understanding how approximations to higher-order logic may emerge. These results motivate architectural extensions and interpretability strategies in future development of language models.

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{cochran2025limits,
  title  = {On the Limits of Hierarchically Embedded Logic in Classical Neural Networks},
  author = {Bill Cochran},
  year   = {2025},
  eprint = {2507.20960},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.20960v1}
}

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/2507.20960.svg)](https://codeofpaper.com/paper/2507.20960)

Discussion