CoPrompter: User-Centric Evaluation of LLM Instruction Alignment for Improved Prompt Engineering
Ensuring large language models' (LLMs) responses align with prompt instructions is crucial for application development. Based on our formative study with industry professionals, the alignment requires heavy human involvement and tedious trial-and-error especially when there are many instruction...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Ensuring large language models' (LLMs) responses align with prompt
instructions is crucial for application development. Based on our formative
study with industry professionals, the alignment requires heavy human
involvement and tedious trial-and-error especially when there are many
instructions in the prompt. To address these challenges, we introduce
CoPrompter, a framework that identifies misalignment based on assessing
multiple LLM responses with criteria. It proposes a method to generate
evaluation criteria questions derived directly from prompt requirements and an
interface to turn these questions into a user-editable checklist. Our user
study with industry prompt engineers shows that CoPrompter improves the ability
to identify and refine instruction alignment with prompt requirements over
traditional methods, helps them understand where and how frequently models fail
to follow user's prompt requirements, and helps in clarifying their own
requirements, giving them greater control over the response evaluation process.
We also present the design lessons to underscore our system's potential to
streamline the prompt engineering process. |
---|---|
DOI: | 10.48550/arxiv.2411.06099 |