引導式測驗 · 中等 等級

密集段落檢索測驗

測試 DPR 查詢和段落編碼器、點積評分、批次和 BM25 負數,以及嵌入更改時刷新索引的需要。

相關引導路徑密集通道檢索
問題 1 的 8

密集段落檢索如何決定哪些段落與查詢相符?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. 密集段落檢索如何決定哪些段落與查詢相符?
    • 透過相似性比較查詢和段落的密集向量表示
    • 統計每個文件中出現的查詢詞數量
    • 在搜尋之前將查詢翻譯成 SQL
    • 純粹按照文檔的發佈時間對文檔進行排名
  2. DPR 使用「雙編碼器」架構。這意味著什麼?
    • 它對文本進行兩次編碼並對結果進行平均
    • 它僅適用於雙語文檔
    • 它同時對字元和單字進行編碼
    • 它使用兩個獨立的編碼器,一個用於查詢,一個用於段落
  3. 為什麼DPR中可以提前計算通道向量?
    • 因為一旦寫下的段落就永遠不會改變
    • 因為查詢編碼器在搜尋時被禁用
    • 因為每個段落的編碼獨立於任何查詢
    • 因為段落僅儲存為原始文本
  4. 什麼訓練技巧可以讓 DPR 廉價地產生許多反例?
    • 隨機標籤翻轉
    • 批次內陰性,使用同一批次中的其他通道
    • 丟棄一半的神經元
    • 手動標記每個錯誤的段落
  5. 與僅使用詞彙匹配相比,學習到的 DPR 表示對於哪種詞彙不匹配情況有用?
    • The passage is unrelated but repeats the query's terms
    • Every query contains only an exact serial number
    • The encoder is guaranteed to retrieve the right answer for all inputs
    • A relevant passage expresses a query's idea using different words
  6. 通常使用什麼工具來使 DPR 的最近鄰搜尋快速大規模進行?
    • 近似最近鄰索引,例如 FAISS
    • 電子表格排序
    • 正規表示式引擎
    • 關係資料庫連接
  7. Why can BM25-retrieved nonanswer passages be useful hard negatives when training DPR?
    • They guarantee that every retrieved passage is irrelevant
    • Their lexical overlap can make them challenging distractors that the retriever must distinguish from the answer passage
    • They remove the need for a positive answer passage
    • They force the passage encoder to count words without learning
  8. After changing DPR's passage encoder, what should happen to a stored passage-vector index?
    • Keep the old embeddings because encoder weights cannot affect vectors
    • Rename the index without recalculating any representation
    • Recompute the passage embeddings with the intended compatible encoder and update the index
    • Disable the query encoder and search raw filenames instead