When is prompt tuning a better choice than prompt engineering?
- Exam domain
- Prompt engineering and prompt tuning
- Difficulty
- Hard
- In this mock
- 5 questions on this domainPractise this domain
Why A is the answer
When hand-written prompts plateau on a task and you have labelled examples to train on
Prompt tuning needs labelled examples and pays off when manual prompt changes stop improving results on a specific task.
Remember: Tune when prompting plateaus.
In detail
- Needs labelled data.
- Use when manual prompting plateaus.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. When hand-written prompts plateau on a task and you have labelled examples to train onRight
Tune when prompting plateaus.
B. When you have no examples at allWrong
Without examples there is nothing to train on.
C. When the facts the model needs change every day, since a tuned prompt refreshes itselfWrong
A tuned prompt does not refresh facts; retrieval does.
D. When you need the model to learn a new language from scratchWrong
Learning a new language needs far more than a soft prompt.
Use case
An illustrative scenario, not a real incident.
Illustrative: after weeks of prompt edits stall at 82% accuracy, a team tunes a soft prompt on labelled data.
See it in different ways
flowchart TD
Q{"What needs to change?"}
Q -->|"Wording of one request"| A0["Prompt engineering"]
Q -->|"Behaviour on one task, weights frozen"| A1["Prompt tuning"]
Q -->|"Deeper task skill"| A2["LoRA fine-tuning"]
Q -->|"Facts that change"| A3["RAG"]How to read this chart
- At "What needs to change?": if "Wording of one request", go to "Prompt engineering"; if "Behaviour on one task, weights frozen", go to "Prompt tuning"; if "Deeper task skill", go to "LoRA fine-tuning"; if "Facts that change", go to "RAG".
stateDiagram-v2 state "Prompt engineering" as s0 state "Prompt tuning" as s1 state "LoRA fine-tuning" as s2 [*] --> s0 s0 --> s1: plateau + labelled data s1 --> s2: still short of the bar s2 --> [*]
How to read this chart
- It starts at "Prompt engineering".
- From "Prompt engineering", "plateau + labelled data" moves it to "Prompt tuning".
- From "Prompt tuning", "still short of the bar" moves it to "LoRA fine-tuning".
- It ends at "LoRA fine-tuning".