LGAICLMay 13

Controlling Logical Collapse in LLMs via Algebraic Ontology Projection over F2

arXiv:2605.129685.31 citations
Predicted impact top 53% in LG · last 90 daysOriginality Highly original
AI Analysis

For researchers and practitioners aiming to verify and control logical consistency in LLMs, this work provides a formal algebraic framework and metric to detect and mitigate logical collapse, though the approach is demonstrated on a narrow set of ontological relations.

The paper introduces Algebraic Ontology Projection (AOP) to project LLM hidden states into a Galois Field F2, achieving up to 93.33% zero-shot inclusion accuracy on unseen concept pairs using only 42 relational pairs, with consistent 86.67% accuracy across model families via prompt alone. It also identifies Late-layer Collapse, a degradation of logical consistency in final layers, and proposes Semantic Crystallisation to predict accuracy without held-out data.

Do large language models internally encode ontological relations in a formally verifiable algebraic structure? We introduce Algebraic Ontology Projection (AOP), which projects LLM hidden states into the Galois Field F2 under Liskov Substitution Principle constraints, using only 42 relational pairs as algebraic keys. AOP achieves up to 93.33% zero-shot inclusion accuracy on unseen concept pairs (Gemma-2 Instruct with optimized prompt), with consistent 86.67% accuracy observed across multiple model families -- with no model tuning, but through prompt alone. This algebraic structure is strongly layer-dependent. We introduce Semantic Crystallisation (SC), a metric that quantifies F2 constraint satisfaction relative to a random baseline and predicts zero-shot accuracy without held-out data. System prompts act as algebraic boundary conditions: only their combination with instruction tuning prevents Late-layer Collapse -- a systematic degradation of logical consistency in the final layers, observed in 7 of 10 conditions. These findings reframe forward computation as an iterative process of algebraic organisation, and open a path toward LLMs whose logical structure is not merely approximated, but formally accessible.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes