AIHCApr 24, 2025

Towards Machine-Generated Code for the Resolution of User Intentions

arXiv:2504.17531v31 citationsh-index: 31HHAI
Originality Incremental advance
AI Analysis

This addresses the problem of simplifying user-device interaction by automating code generation for intent resolution, representing an incremental advancement in hybrid human-AI workflows.

The paper investigated using LLMs to generate and execute code workflows from user intentions, finding that GPT-4o-mini demonstrated high proficiency in this task, showing general feasibility.

The growing capabilities of Artificial Intelligence (AI), particularly Large Language Models (LLMs), prompt a reassessment of the interaction mechanisms between users and their devices. Currently, users are required to use a set of high-level applications to achieve their desired results. However, the advent of AI may signal a shift in this regard, as its capabilities have generated novel prospects for user-provided intent resolution through the deployment of model-generated code. This development represents a significant progression in the realm of hybrid workflows, where human and artificial intelligence collaborate to address user intentions, with the former responsible for defining these intentions and the latter for implementing the solutions to address them. In this paper, we investigate the feasibility of generating and executing workflows through code generation that results from prompting an LLM with a concrete user intention, and a simplified application programming interface for a GUI-less operating system. We provide an in-depth analysis and comparison of various user intentions, the resulting code, and its execution. The findings demonstrate the general feasibility of our approach and that the employed LLM, GPT-4o-mini, exhibits remarkable proficiency in the generation of code-oriented workflows in accordance with provided user intentions.

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