atlas

Research map / Large language models / Agents, code and math

Benchmarking Generative Models on Computational Thinking Tests in Elementary Visual Programming

NeurIPS 2024 · Large language models › Agents, code and math · approach: Code generation benchmarks · 1 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.

Introduces a benchmark of elementary visual programming computational thinking tests (HoC, ACE, CT-Test) for generative models and fine-tunes Llama3-8B on a symbolically generated synthetic dataset to approach GPT-4o performance.

Problem

Generative models struggle with simple computational thinking and problem-solving tasks that elementary school students can solve, and there is no benchmark comparing models to students on visual programming tests.

Approach

Build a symbolic, execution-verified synthetic data generator for solution synthesis and multi-choice programming questions at multiple skill levels (basics, tracing, grid synthesis), with trace-based explanations produced by an emulator rather than by a stronger LLM, and fine-tune Llama3-8B with LoRA.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
combine text and visual grid representations instead of using either modality alone (ablation)GPT-4o · HoC, ACE, and CT-TestaccuracyHelped
train with symbolic execution-derived explanations instead of answer-only targets (ablation)Llama3-8B fine-tuned on solution synthesis tasks · HoCaccuracyHelped
train with explanations on solution synthesis and MCQ tasks instead of answer-only targets (ablation)Llama3-8B fine-tuned on solution synthesis and MCQ tasks · ACE and CT-TestaccuracyHelped
add fine-grained skills data to fine-tuning (ablation)Llama3-8B fine-tuned on the synthetic dataset · HoC, ACE, and CT-Testaccuracy: at least 10%Helped
train with explanations across the full synthetic dataset, including fine-grained skills (ablation)Llama3-8B fine-tuned on the full synthetic dataset · HoC, ACE, and CT-TestaccuracyHelped
provide correct reasoning in the inference prompt (ablation)Llama3-8B fine-tuned on the full synthetic dataset · HoC, ACE, and CT-TestaccuracyHelped
use few-shot prompting instead of zero-shot chain-of-thought prompting (ablation)GPT-family models · HoC, ACE, and CT-TestaccuracyNo clear effect
fine-tune on the synthetic dataset instead of using the unfine-tuned model (ablation)Llama3-8B · HoC-synth, HoC-synth hard, HoC-Filtered, HoC-OoD, and ACE-synthaccuracyHelped
fine-tune on the synthetic dataset rather than use GPT-4oCombinedLlama3-8B · HoC-FilteredaccuracyHelped
fine-tune on the synthetic dataset rather than use GPT-4oCombinedLlama3-8B · HoC-OoDaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: HoC (Hour of Code: Maze Challenge) ACE test CT-Test Synthetic training data generated from HoC/Karel-style codes and grids

Benchmarks: HoC ACE CT-Test HoC-synth ACE-synth HoC-OoD

Metrics: accuracy reasoning correctness (manual annotation)

Baselines: GPT-4o GPT-4 GPT-3.5 CodeLlama-7B LLaVA-7B Llama3-8B Chance baseline School students (average grade 3-7)

Builds on: LoRA Chain-of-thought prompting Bloom's taxonomy

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