r/PromptDesign • u/ClickOk5811 • 11d ago
Discussion đŁ how much does a single example in your prompt steer the output? A small test you can run
Many of us add an example to a prompt to show the format we want. My working assumption is that models often copy more from the example than we intend: its length, its structure, its wording, even its topic. I havenât measured this rigorously, so hereâs a small experiment instead of a claim. If you try it, Iâd like to compare notes.
Setup
Pick one task where output style matters, for example âwrite a one-paragraph product descriptionâ or âsummarize this support ticket.â Keep the instruction text identical across variants and change only the examples.
- Variant A: no example, just the instruction.
- Variant B: one example.
- Variant C: three examples that differ from each other on purpose (different length, different tone, different subject).
- Variant D: the same three examples, plus one line saying which properties are required and which are just illustrative (âonly the JSON fields are required; length and wording are freeâ).
Run each variant on the same set of, say, 10 different inputs, with the same model and settings. If your setup is random, run each input a few times.
What to look at
- Length: does the output length cluster around the exampleâs length?
- Wording: do phrases from the example show up in outputs where they donât fit?
- Topic leakage: do details from the example appear in unrelated inputs?
- Diversity: how similar are the outputs to each other across inputs?
- Format compliance: does the structure still hold?
My hypotheses (not results)
- B will look most like its example and C less so, because varied examples signal whatâs fixed and whatâs free.
- D will reduce copying of incidental features compared with C, though it might not eliminate it.
- A will be the most variable in format, which may or may not matter for your use case.
Caveats
- Results will depend on the model, the task, and the settings, so a pattern on one setup may not hold on another.
- Ten inputs is a smoke test, not evidence.
- If your outputs are parsed by code, format compliance may matter more than diversity, and the best variant may be different.
If you run this, what did you see? In particular, did âexplicitly marking whatâs illustrativeâ help, or did the model copy anyway?
1
u/ArchitecturalGravity 10d ago
Using an example can bias a model if the example contains 'example' data. Think more in terms of templating than an example; that is, provide it the shape of the structure, and placeholders for where the data should be.
See: