TuringQ: Benchmarking AI Comprehension in Theory of Computation

Pardis Sadat Zahraei, Ehsaneddin Asgari
10/9/2024
cs.CLcs.FL

No official code found. Best implementation: llm-lab-org/TuringQ (1 star, Apache-2.0, last commit 2024-11-05).

Abstract

We present TuringQ, the first benchmark designed to evaluate the reasoning capabilities of large language models (LLMs) in the theory of computation. TuringQ consists of 4,006 undergraduate and graduate-level question-answer pairs, categorized into four difficulty levels and covering seven core theoretical areas. We evaluate several open-source LLMs, as well as GPT-4, using Chain of Thought prompting and expert human assessment. Additionally, we propose an automated LLM-based evaluation system that demonstrates competitive accuracy when compared to human evaluation. Fine-tuning a Llama3-8B model on TuringQ shows measurable improvements in reasoning ability and out-of-domain tasks such as algebra. TuringQ serves as both a benchmark and a resource for enhancing LLM performance in complex computational reasoning tasks. Our analysis offers insights into LLM capabilities and advances in AI comprehension of theoretical computer science.

View on arXivView PDF

Code Implementations(1)

llm-lab-org/TuringQCommunity100%
Apache-2.0

This repository contains the code and dataset for our paper "TuringQ: Benchmarking AI Comprehension in Theory of Computation"

10Jupyter NotebookSep 22, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zahraei2024turingq,
  title  = {TuringQ: Benchmarking AI Comprehension in Theory of Computation},
  author = {Pardis Sadat Zahraei and Ehsaneddin Asgari},
  year   = {2024},
  eprint = {2410.06547},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06547v1}
}

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

Discussion