What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use

Qianou Ma, Weirui Peng, Chenyang Yang, Hua Shen, Kenneth Koedinger +1 more
9/13/2024
cs.HCcs.AI

No official code found. Best implementation: mqo00/rope (11 stars, Apache-2.0, last commit 2026-02-23).

Abstract

Prompting LLMs for complex tasks (e.g., building a trip advisor chatbot) needs humans to clearly articulate customized requirements (e.g., "start the response with a tl;dr"). However, existing prompt engineering instructions often lack focused training on requirement articulation and instead tend to emphasize increasingly automatable strategies (e.g., tricks like adding role-plays and "think step-by-step"). To address the gap, we introduce Requirement-Oriented Prompt Engineering (ROPE), a paradigm that focuses human attention on generating clear, complete requirements during prompting. We implement ROPE through an assessment and training suite that provides deliberate practice with LLM-generated feedback. In a randomized controlled experiment with 30 novices, ROPE significantly outperforms conventional prompt engineering training (20% vs. 1% gains), a gap that automatic prompt optimization cannot close. Furthermore, we demonstrate a direct correlation between the quality of input requirements and LLM outputs. Our work paves the way to empower more end-users to build complex LLM applications.

View on arXivView PDF

Code Implementations(1)

mqo00/ropeCommunity100%
Apache-2.0
112CSS, HTMLNov 26, 20248 months agoApache-2.0

Similar Papers

Cite this paper

@article{ma2024what,
  title  = {What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use},
  author = {Qianou Ma and Weirui Peng and Chenyang Yang and Hua Shen and Kenneth Koedinger and Tongshuang Wu},
  year   = {2024},
  eprint = {2409.08775},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08775v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.08775.svg)](https://codeofpaper.com/paper/2409.08775)

Discussion