LGAICLCYPLMay 26, 2023

Neural Task Synthesis for Visual Programming

arXiv:2305.18342v321 citations
Originality Incremental advance
AI Analysis

This work addresses the challenge of creating educational content for programming learners, though it is incremental as it builds on existing neuro-symbolic methods for a specific domain.

The authors tackled the problem of automatically generating visual programming tasks for educational purposes, proposing NeurTaskSyn, a neuro-symbolic technique that synthesizes tasks based on desired programming concepts and visual constraints, and demonstrated its effectiveness through empirical evaluation on datasets like Hour of Code and CodeHS.

Generative neural models hold great promise in enhancing programming education by synthesizing new content. We seek to design neural models that can automatically generate programming tasks for a given specification in the context of visual programming domains. Despite the recent successes of large generative models like GPT-4, our initial results show that these models are ineffective in synthesizing visual programming tasks and struggle with logical and spatial reasoning. We propose a novel neuro-symbolic technique, NeurTaskSyn, that can synthesize programming tasks for a specification given in the form of desired programming concepts exercised by its solution code and constraints on the visual task. NeurTaskSyn has two components: the first component is trained via imitation learning procedure to generate possible solution codes, and the second component is trained via reinforcement learning procedure to guide an underlying symbolic execution engine that generates visual tasks for these codes. We demonstrate the effectiveness of NeurTaskSyn through an extensive empirical evaluation and a qualitative study on reference tasks taken from the Hour of Code: Classic Maze challenge by Code-dot-org and the Intro to Programming with Karel course by CodeHS-dot-com.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes