Hard Negatives for Search

Start Timer

0:00:00

Upvote
0
Downvote
Save question
View comments

Suppose a customer searches a help center for “How do I change my billing address?” The search model shows the shipping instructions first, the official billing guide second, and the article about past invoices further down.

A hard negative is a result the model ranks highly even though it fails to answer the search. During training, you pair it with a correct answer and reward the model for scoring the correct answer higher. This targets a mistake customers actually see.

So far, only the official guide has been labeled as a correct answer. A, B, and C come from three other help articles.

A. “To see which billing address was used on a past invoice, open Billing History and select that invoice.”

B. “To change where your next package goes, open Shipping and edit the delivery address.”

C. “To update the address on your invoices, open Billing and edit the address.”

Each trial starts with 10 Oak Street for both addresses. A leaves both at 10 Oak. B leaves the next bill at 10 Oak and changes the next package to 24 Pine. C changes the next bill to 24 Pine and leaves the next package at 10 Oak.

Which passage would you use as the hard negative for this search, and what distinction would that example teach the model?

.
.
.
.
.


Comments

Loading comments