VFF - The signal in the noise
Research

Modular Neural Logic: How Architecture Shapes Compositional Reasoning

Read original
Share
Modular Neural Logic: How Architecture Shapes Compositional Reasoning

Researchers present THEIA, a modular neural architecture that learns complete Kleene three-valued logic end-to-end without external symbolic solvers. The system uses four dedicated engines for arithmetic, order, set membership, and propositional logic that converge in a final logic module, achieving full K3 rule coverage on a 2M-sample dataset in under 8 minutes. Mechanistic analysis reveals that modularity enables a 'delayed verdict' strategy where upstream engines encode domain-specific variables without committing to final truth values, with the verdict emerging only at the logic boundary, a representational pattern distinct from how monolithic Transformers solve the same problem.

  • THEIA learns three-valued logic (K3) through pure neural architecture without symbolic solvers, achieving 12/12 rule coverage across 5 seeds
  • Modular design generalizes from 5-step to 500-step sequential composition at 99.97% accuracy, while flat MLPs collapse to chance performance by 50 steps
  • Mechanistic probing shows modularity induces delayed verdict strategy: upstream engines encode uncertainty without committing to final truth value until logic boundary
  • Transformer baseline reaches equivalent correctness through qualitatively different representational trajectory (contraction then expansion), suggesting distinct compositional strategies between architectures

This work provides empirical evidence that architectural structure, not just scale or training data, fundamentally shapes how neural networks learn compositional reasoning under uncertainty. The mechanistic findings reveal that modularity enables a specific representational strategy for handling incomplete information, offering insights into why some architectures generalize better to longer sequences and more complex logical compositions than others.

For teams building reasoning systems, AI agents, or verification tools, this demonstrates that architectural choices directly impact compositional generalization and length extrapolation. The 6.5x speedup and superior length generalization suggest modular designs could reduce training costs and improve robustness in production systems that must handle variable-length logical reasoning.

  • Modularity is not just an engineering convenience but a computational primitive that enables specific representational strategies for compositional generalization, with measurable advantages over flat architectures at equivalent parameter counts
  • The delayed verdict mechanism suggests that uncertainty handling and final commitment can be decoupled in neural architectures, potentially informing design of systems that need to reason under incomplete information
  • Different architectures (modular vs. monolithic) solve identical problems through qualitatively different representational trajectories, implying that mechanistic interpretability findings may not transfer across architectural families

Monitor whether the delayed verdict strategy and modularity benefits transfer to other domains beyond logic (e.g., natural language, code, planning). Watch for follow-up work on scaling modular architectures and whether the mechanistic insights about uncertainty encoding inform new training objectives or architectural designs for reasoning systems.

OneUpAI
OneUp Your Business. Get More Done. OneUp Your Business. Get More Done. OneUp Your Business. Get More Done.
Learn More
Share

Subscribe to the newsletter

The latest stories and analysis, delivered to your inbox.

Free. No spam. Unsubscribe any time.

Related stories

Interpretability and World Models Are Linked, Says World Mechanics CEO
TrendingNews

Interpretability and World Models Are Linked, Says World Mechanics CEO

Sonia Joseph, CEO of startup World Mechanics, argues that mechanistic interpretability and world models, typically treated as separate research problems, are actually interconnected. Joseph contends that understanding how AI models work internally is essential to building AI systems that can reason about and operate in the physical world, with applications spanning medicine and manufacturing.

by Rocket Drew· The Information
OpenAI launches Rosalind Academic Plan for life sciences research
TrendingNews

OpenAI launches Rosalind Academic Plan for life sciences research

OpenAI has launched the Rosalind Academic Plan, providing sponsored access to GPT-Rosalind and associated tools for eligible academic research labs focused on life sciences. The program aims to democratize access to advanced AI capabilities for researchers who might otherwise lack resources. The initiative targets institutions conducting work in biology, chemistry, and related fields where computational tools can accelerate discovery.

· OpenAI
Anthropic Grants METR Unfettered Research Access
TrendingNews

Anthropic Grants METR Unfettered Research Access

Anthropic has granted METR researchers employee-level access to its systems, allowing independent assessment of the AI model maker's risks, incidents, and practices. METR will publish its own findings without Anthropic's right to block publication. This arrangement represents a shift toward third-party oversight of frontier AI development.

by Aditya Mehta· TechCrunch AI