DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models

Damien Masson, Sylvain Malacria, Géry Casiez and Daniel Vogel

Abstract

We characterize and demonstrate how the principles of direct manipulation can improve interaction with large language models. This includes: continuous representation of generated objects of interest; reuse of prompt syntax in a toolbar of commands; manipulable outputs to compose or control the effect of prompts; and undo mechanisms. This idea is exemplified in DirectGPT, a user interface layer on top of ChatGPT that works by transforming direct manipulation actions to engineered prompts. A study shows participants were 50% faster and relied on 50% fewer and 72% shorter prompts to edit text, code, and vector images compared to baseline ChatGPT. Our work contributes a validated approach to integrate LLMs into traditional software using direct manipulation. Data, code, and demo available at https://osf.io/3wt6s.

Venue
CHI 2024
Volume
Proceedings of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3613904.3642462
PDF
https://dl.acm.org/doi/pdf/10.1145/3613904.3642462
Anthology ID
2024.chi.567

Cite

@inproceedings{masson-etal-2024-directgpt,
    title = {{DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models}},
    author = {Damien Masson and Sylvain Malacria and Géry Casiez and Daniel Vogel},
    booktitle = {Proceedings of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400703300},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3613904.3642462},
    url = {https://doi.org/10.1145/3613904.3642462},
    abstract = {We characterize and demonstrate how the principles of direct manipulation can improve interaction with large language models. This includes: continuous representation of generated objects of interest; reuse of prompt syntax in a toolbar of commands; manipulable outputs to compose or control the effect of prompts; and undo mechanisms. This idea is exemplified in DirectGPT, a user interface layer on top of ChatGPT that works by transforming direct manipulation actions to engineered prompts. A study shows participants were 50\% faster and relied on 50\% fewer and 72\% shorter prompts to edit text, code, and vector images compared to baseline ChatGPT. Our work contributes a validated approach to integrate LLMs into traditional software using direct manipulation. Data, code, and demo available at https://osf.io/3wt6s.}
}