atlas

Research map / Large language models / AI and society

Does GPT Really Get It? A Hierarchical Scale to Quantify Human and AI’s Understanding of Algorithms

AAAI 2025 · Large language models › AI and society · approach: Critiques of LLM claims and judging · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a five-level hierarchy for understanding algorithms and uses it to compare undergraduate/graduate students with GPT-3.5, GPT-4-turbo and GPT-4o on the Euclidean and Ford-Fulkerson algorithms.

Problem

Existing work lacks a rigorous, functional definition and scale for measuring whether LLMs understand algorithms, as opposed to merely producing correct outputs, and how this compares to human understanding.

Approach

A functional, algorithmically testable hierarchy of understanding (execution, step-by-step evaluation, representation, exemplification/explanation, extrapolation/counterfactual reasoning) grounded in Understanding as Representation Manipulability, applied identically to humans and GPT via a survey with randomized question versions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GPT-4 instead of GPT-3.5GPT on algorithm-understanding questions · Euclidean algorithm and Ford-Fulkersonquestion scoreHelped
Use GPT-4o instead of GPT-3.5GPT on algorithm-understanding questions · Euclidean algorithm and Ford-Fulkersonquestion scoreHelped
Use GPT-4o instead of GPT-4GPT on algorithm-understanding questions · Euclidean algorithm and Ford-Fulkersonoverall scoreNo clear effect
Advance from undergraduate to doctoral studyStudents answering algorithm-understanding questions · Euclidean algorithm and Ford-Fulkersonquestion scoreHelped
Use a correct example response in chat history (ablation)GPT-3.5 on Max Flow problems · Max Flow trivial and intermediate problemsaccuracyHelped
Use a correct example response in chat history (ablation)GPT-4o on Max Flow problems · Max Flow trivial and intermediate problemsaccuracyNo clear effect
Use a correct example response in chat history (ablation)GPT-4 on Max Flow problems · Max Flow trivial and intermediate problemsaccuracyHurt
Reason about language rather than mathematical tasksGPT versions on algorithm-understanding questions · Ford-Fulkerson, Levels 4 and 5scoreHelped
Reason about language rather than mathematical tasksGPT versions on algorithm-understanding questions · Euclidean algorithm, Level 4scoreHelped
Reason about language rather than mathematical tasksGPT versions on algorithm-understanding questions · Euclidean algorithm, Level 5scoreNo clear effect
Answer coding tasks rather than evaluation tasksGPT · Euclidean algorithm and Ford-FulkersonscoreHelped
Answer coding tasks rather than evaluation tasksStudents · Euclidean algorithm and Ford-FulkersonscoreHurt

Surprising findings

Limitations

Experimental setup

Datasets: randomized Euclidean GCD and Ford-Fulkerson survey questions

Benchmarks: Euclidean algorithm survey Ford-Fulkerson max flow survey

Metrics: mean score out of two per question accuracy 95% confidence intervals

Baselines: GPT-3.5-turbo GPT-4-turbo undergraduate students graduate students

Builds on: Understanding as Representation Manipulability (URM) Bloom's Taxonomy chain-of-thought prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy