AWS Builder Center
Top 1 vs Top 3, a week later: what I still want to test

Top 1 vs Top 3, a week later: what I still want to test

My top-3 test changed my mind once. Now I want to know where it breaks, and what a hybrid would do.

Software Engineer
Last week I ran a small test on my own notes. I searched the same questions two ways, once taking only the top result and once taking the top 3, and the top 3 won clearly enough that I changed how I judge retrieval. That post got more replies than anything I have written here, and the replies raised better questions than my test answered.
The first one is about hybrids. M.Nehith is now running the same kind of comparison on his study notes with about 50 questions, exact and paraphrased, and he is testing weight mixes like 50:50 and 60:40 between keyword and embedding scores. That is the part I never tested. My notes test compared keyword against embeddings and top 1 against top 3, but never mixed the two scores together.
The second one is about when top 3 stops helping. On short factual questions the top result is often enough, and two extra chunks just add noise. On questions that need two facts from different places, one result cannot carry the answer at all. So the honest answer might be that top 3 wins on multi-fact questions and ties on simple ones, and I have no numbers for that split yet.
So here is what I want to try next. I will rerun my own notes test with the questions split into simple and multi-fact, and score top 1 and top 3 separately for each group. If the hybrid idea holds up, I will add a 50:50 mix as a third arm.
Have you run a top 1 vs top 3 check on your own notes? What did you see, and did the answer change with the kind of question?
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article