Publication:

Retrieving Diverse Data With Large Language Models Using The Vendi Score

Loading...
Thumbnail Image

Files

CRNKOVIC-RUBSAMEN-AVA-THESIS.pdf (453.25 KB)

Date

2024-07-17

Journal Title

Journal ISSN

Volume Title

Publisher

Research Projects

Organizational Units

Journal Issue

Access Restrictions

Abstract

In building a search engine, we aim to return top-ranked results that satisfy as many users as possible. Similarly, when coding a chatbot, we want to ensure it answers every question correctly, even if they are ambiguous or vague. This process entails an information retrieval system that collects a set of relevant documents to the query. A large language model then uses these documents to produce an answer for the chatbot user. A traditional information retrieval system may return several top-ranked documents that cover the same piece of information, thus failing both to address query ambiguity and to meet diverse users' needs while also risking bias and unfairness. To overcome these challenges, diverse information retrieval systems re-rank returned documents, prioritizing the diversity of results. In this thesis, I propose applying the Vendi Score diversity metric to embedding-based information retrieval. First, I use a large language model to embed a corpus of documents. Then, I embed a query and return an initial collection of documents via nearest neighbor search in the embedding vector space. From this set, I use the Vendi Score to iteratively choose top-ranked results, building a final document list that emphasizes query relevance along with information diversity. Preliminary experiments show promise for this application of the Vendi Score metric. I test my proposed method on the BEIR datasets, which cover a variety of information retrieval applications including fact-checking, citation-prediction, and question-answering. I compare my method, Vendi Ranking, to the baseline similarity search along with the Maximal Marginal Relevance (MMR) method.

Description

Type of resource

Princeton University Senior Theses

Keywords

Location

Citation