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.

Share

Subscribe to the newsletter

The latest stories and analysis, delivered to your inbox.

Free. No spam. Unsubscribe any time.

Related stories

Bluesky Turns Attie Into Open Social Research Tool

Bluesky Turns Attie Into Open Social Research Tool

Bluesky has expanded its AI assistant Attie to function as an open social research tool, allowing users to query news, trends, and conversations across Bluesky and other applications built on the AT Protocol. The move positions Attie as a research instrument for analyzing social media data at scale. This represents a shift from a basic assistant toward a platform for structured data exploration.

by Sarah Perez· TechCrunch AI
Why 89% of AI Gains Aren't Translating to ROI

Why 89% of AI Gains Aren't Translating to ROI

Atlassian research finds that 89% of executives report individual workers are speeding up with AI, yet only 6% can identify specific ROI. The disconnect stems from optimizing individual AI use rather than team-level workflows. High-performing teams share three traits: shared context graphs, redesigned end-to-end processes, and cultures that encourage experimentation.

· VentureBeat AI
OpenAI Details Safety Risks in Long-Horizon AI Models

OpenAI Details Safety Risks in Long-Horizon AI Models

OpenAI has published findings on safety and alignment challenges specific to long-horizon AI models, documenting new risks, observed failures, and improved safeguards developed through iterative deployment. The company shares lessons learned from operating these extended-capability systems in production environments. The work addresses practical safety concerns that emerge when models operate over longer time horizons and decision chains.

· OpenAI