Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchy

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Mathematics & Computational Sciences · Depth: Expert, extended

Summary

ChomskyBench is a new benchmark designed to systematically evaluate the formal reasoning capabilities of Large Language Models (LLMs) across the full Chomsky Hierarchy, from Type-3 (regular) to Type-0 (recursively enumerable) languages. Unlike prior benchmarks, ChomskyBench combines full hierarchy coverage, natural language process-trace evaluation, and deterministic symbolic verifiability. Experiments with 12 state-of-the-art LLMs, including models like o3, sonnet-4, and deepseek v3.1, reveal a clear performance stratification: LLM accuracy sharply declines as language complexity increases, with a significant "cliff" between context-free (Type-2) and context-sensitive (Type-1) languages. While larger models and advanced inference methods like Chain-of-Thought offer relative gains, achieving practical reliability for complex tasks would incur prohibitive computational costs (estimated N > 10,000 samples for >90% accuracy), indicating an efficiency barrier rather than an absolute capability limit. LLMs are also 10,000-350,000 times slower than traditional algorithms for these tasks.

Key takeaway

For research scientists developing future LLMs, this study indicates that current architectures face fundamental limitations in handling high-order, recursive, and context-dependent structures. You should focus on developing new model architectures that can more efficiently capture hierarchical reasoning patterns, moving beyond the "bigger-is-better" paradigm. Relying solely on test-time scaling for practical reliability in safety-critical formal verification tasks is computationally prohibitive and assumes unrealistic oracle access.

Key insights

LLMs struggle with formal reasoning, exhibiting performance degradation correlating with Chomsky Hierarchy complexity and severe efficiency barriers.

Principles

Method

ChomskyBench evaluates LLMs using language recognition and generation tasks across all four Chomsky Hierarchy levels, employing process-trace evaluation via natural language and deterministic symbolic verifiability.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.