An exercise to try
Move the evidence
A chatbot that accepts a long document may not use every part of it equally well. A small, fair test records what happens for one chatbot, one task and one length.
- Time
- 30 minutes
- What you need
- Any chatbot that accepts a long message, a long text you are allowed to share (a few thousand words, such as a chapter of an out-of-copyright book) and a place to record results.
Using a work document? Check your organization's policy first.
Illustration. The example fact, question and results table here are invented teaching material, not outputs from a model. Your own runs are the real data.
Step 1. Pick the text, the fact and the question
Choose one long text and keep it for every run. Write one short fact the text does not contain, and a question only that fact answers. If the chatbot rejects the message as too long, shorten the text and use the shorter one for every version. For example, the fact “The lighthouse keeper's cat was called Juniper.” and the question “What was the lighthouse keeper's cat called?”
Step 2. Make three versions
- Start. Insert the fact after the first paragraph.
- Middle. Insert it after the paragraph halfway through.
- End. Insert it before the last paragraph.
Only the position of the fact changes. The text, the fact's wording and the length stay the same. Below the text, add the same request each time: “Answer from the text above only. If the text does not say, reply ‘not stated’.” Then the question.
Step 3. Add a control
Make a fourth version with no fact inserted. If the chatbot gives the right name for this one, the chatbot may be guessing or may already know the fact, so choose a less guessable fact before going on. If it replies “not stated”, guessing becomes less likely for this text and question, though a few runs cannot rule it out.
Step 4. Run each version three times
Use a fresh chat for every run, so earlier runs cannot help. Paste the text into the message rather than attaching a file, so every run gives the chatbot the text the same way, and switch off web search and memory if your app has them. A fresh chat clears earlier turns but not saved settings: custom instructions and saved memories can still apply, so note the settings you can see and keep them the same for every run. Mix the order (start, end, control, middle, then a different order) so a change in the service during your session does not line up with one position.
Step 5. Record what happened
Mark each run found (the right name), not stated, or wrong (any other answer). Count each version's found answers out of three.
Step 6. Read a results table
Before reading your own, read this invented one. What does it let you conclude?
| Version | Found | Not stated | Wrong |
|---|---|---|---|
| Start | 3 | 0 | 0 |
| Middle | 2 | 1 | 0 |
| End | 3 | 0 | 0 |
| Control | 0 | 3 | 0 |
Check your work
The invented table permits one conclusion: with that text and that fact, the chatbot found the fact in 8 of 9 runs. The control never produced the name in three runs, which makes guessing less likely for this text and question but does not rule it out. Nor does the table show that the middle is a weak spot. One miss in three runs can be ordinary variation (Same question, two answers). To say more, run each position more often, say ten times, and see whether the gap stays.
Your own table is a result whatever it shows:
- All found. At this length, with this fact, position made no difference you could see. Try a longer text or the harder question below before deciding the chatbot uses long inputs evenly.
- Fewer found in the middle. This matches the pattern Liu et al. reported for the models they tested in 2023 (Lost in the Middle). With three runs each, treat it as a lead to repeat, not a finding.
- Another pattern. Misses at the start, or wrong names instead of “not stated”, are results too. Record them, and repeat before explaining them.
Your test supports a narrow conclusion: this chatbot, this model version, this kind of fact, this text length, on the day you ran it. The common wrong conclusion is a general one, such as “models ignore the middle” or “this model handles long documents”, drawn from a dozen runs.
Try a different case
Keep everything the same, but reword the question so it shares few words with the fact, for example “Which animal lived with the person who kept the light, and what was its name?” Does the pattern change? NoLiMa, a published test built on this idea, found that low word overlap made long inputs much harder for the models it tested (NoLiMa).
Check this one too
There is no single right answer; read it the same way as before. Compare each position's found count with your first round, and check the control is still at zero. Fewer found answers with the reworded question are consistent with the matching words helping the chatbot, though they could also be ordinary variation. The same counts mean that, at this length, the wording made no difference you could see. With three runs each, a gap of one is not enough to tell, so repeat before you conclude.
Where this sits: Claimed and effective context length explains the idea, and how large a difference could be covers when a gap between counts is worth trusting.