Skip to main content
QUICK REVIEW

[Paper Review] Low-code LLM: Graphical User Interface over Large Language Models

Yuzhe Cai, Shaoguang Mao|arXiv (Cornell University)|Apr 17, 2023
Digital Rights Management and SecurityComputer Science22 citations
TL;DR

The paper introduces Low-code LLM, a human–LLM interaction framework using a Planning LLM to generate a structured workflow and an Executing LLM to follow a user-confirmed, low-code edited workflow, enabling controllable and user-friendly task execution across four scenarios.

ABSTRACT

Utilizing Large Language Models (LLMs) for complex tasks is challenging, often involving a time-consuming and uncontrollable prompt engineering process. This paper introduces a novel human-LLM interaction framework, Low-code LLM. It incorporates six types of simple low-code visual programming interactions to achieve more controllable and stable responses. Through visual interaction with a graphical user interface, users can incorporate their ideas into the process without writing trivial prompts. The proposed Low-code LLM framework consists of a Planning LLM that designs a structured planning workflow for complex tasks, which can be correspondingly edited and confirmed by users through low-code visual programming operations, and an Executing LLM that generates responses following the user-confirmed workflow. We highlight three advantages of the low-code LLM: user-friendly interaction, controllable generation, and wide applicability. We demonstrate its benefits using four typical applications. By introducing this framework, we aim to bridge the gap between humans and LLMs, enabling more effective and efficient utilization of LLMs for complex tasks. The code, prompts, and experimental details are available at https://github.com/moymix/TaskMatrix/tree/main/LowCodeLLM. A system demonstration video can be found at https://www.youtube.com/watch?v=jb2C1vaeO3E.

Motivation & Objective

  • Reduce prompt engineering burden by replacing prompts with editable workflows.
  • Provide a user-friendly visual interface to shape LLM execution through low-code operations.
  • Demonstrate controllable, structured execution of complex tasks via Planning and Executing LLMs.
  • Show Broad applicability across long-content generation, large project deployment, task-completion assistants, and knowledge-embedded systems.

Proposed method

  • Introduce Planning LLM to design a structured multi-step workflow with execution and jump logic.
  • Define six low-code visual programming operations for editing the workflow (add/remove steps, modify names/descriptions, modify jump logic, change order, extend a part, regenerate/confirm).
  • Visualize the workflow as a flowchart to support intuitive edits via GUI.
  • Convert the user-confirmed workflow from natural language to a structured format and feed it to the Executing LLM.
  • Educate Planning and Executing LLMs with education prompts for consistent formatting and following the workflow.
  • Iterate with user refinements until results meet expectations, demonstrated on four task categories.

Experimental results

Research questions

  • RQ1Can Planning LLM reliably generate a structured workflow for complex tasks that users can understand and edit?
  • RQ2Do six predefined low-code visual operations enable effective, user-friendly editing of LLM execution logic?
  • RQ3Does enforcing user-confirmed workflows improve the controllability and quality of LLM outputs across different task domains?
  • RQ4Is the Low-code LLM approach broadly applicable to long-content generation, large project development, task-completion assistants, and knowledge-embedded systems?

Key findings

  • Low-code LLM produces more controllable generation by following a user-confirmed workflow.
  • The GUI-based six-operation editing paradigm enables intuitive and efficient workflow modifications.
  • The framework supports tasks requiring human preferences and domain knowledge, reducing need for extensive prompt engineering.
  • Qualitative pilot cases show improved alignment of outputs with user intents in essay writing, object-oriented programming, virtual hotel service, and resume construction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.