AI dictionary · LLMs and GenAI
What is Lost in the middle?Lost in the middle kya hai?
Lost in the middle: LLMs tend to use information at the start and end of a long prompt better than information in the middle.LLMs lambe prompt ki shuru aur aakhir ki information ko beech wali se behtar use karte hain.
🧸 Think of it likeAise samjho
Like remembering the first and last songs of a long playlist but not the ones in the middle.Lambi playlist ke pehle aur aakhri gaane yaad rehna par beech wale nahi.
📘 ExplainedVistaar se
When you stuff many retrieved chunks into a long context, relevant facts in the middle can be overlooked. Mitigations: retrieve fewer, better chunks, rerank so the most relevant come first, and keep prompts focused.Jab bahut saare retrieved chunks lambe context mein thoos dete ho, beech ke relevant facts nazarandaaz ho sakte hain. Upaay: kam par behtar chunks laao, rerank karo taaki sabse relevant pehle aayein, aur prompts focused rakho.
💡 Real exampleAsli example
The right policy paragraph is chunk 14 of 25, and the model answers from chunk 2 instead.Sahi policy paragraph 25 mein se chunk 14 hai, aur model chunk 2 se jawaab de deta hai.
📖 Learn it step by stepStep by step seekho
🔗 Related termsJude hue shabd
Questions people ask
What is Lost in the middle?
LLMs tend to use information at the start and end of a long prompt better than information in the middle. When you stuff many retrieved chunks into a long context, relevant facts in the middle can be overlooked. Mitigations: retrieve fewer, better chunks, rerank so the most relevant come first, and keep prompts focused.
How can I understand Lost in the middle in simple words?
Like remembering the first and last songs of a long playlist but not the ones in the middle.
What is an example of Lost in the middle?
The right policy paragraph is chunk 14 of 25, and the model answers from chunk 2 instead.
Lost in the middle ka matlab kya hai?
LLMs lambe prompt ki shuru aur aakhir ki information ko beech wali se behtar use karte hain. Lambi playlist ke pehle aur aakhri gaane yaad rehna par beech wale nahi.
See Lost in the middle in the full A to Z dictionary · Start a free AI course