Retrieving Texts based on Abstract Descriptions
Ravfogel, Shauli, Pyatkin, Valentina, Cohen, Amir DN, Manevich, Avshalom, Goldberg, Yoav
–arXiv.org Artificial Intelligence
While instruction-tuned Large Language Models (LLMs) excel at extracting information from text, they are not suitable for locating texts conforming to a given description in a large document collection (semantic retrieval). Similarity search over embedding vectors does allow to perform retrieval by query, but the similarity reflected in the embedding is ill-defined and non-consistent, and is sub-optimal for many use cases. What, then, is a good query representation for effective retrieval? We identify the well defined and consistent task of retrieving sentences based on abstract descriptions of their content. We demonstrate the inadequacy of current text embeddings and propose an alternative model that significantly improves when used in standard nearest neighbor search. The model is trained using positive and negative pairs sourced through prompting a LLM. While it is easy to source the training material from an LLM, the retrieval task cannot be performed by the LLM directly. This demonstrates that data from LLMs can be used not only for distilling more efficient specialized models than the original LLM, but also for creating new capabilities not immediately possible using the original model.
arXiv.org Artificial Intelligence
Oct-22-2023
- Country:
- North America > United States
- Pennsylvania (0.04)
- Maryland > Montgomery County
- Gaithersburg (0.04)
- California
- San Diego County > San Diego (0.04)
- Los Angeles County > Los Angeles (0.04)
- Asia
- Philippines (0.04)
- Singapore (0.04)
- North America > United States
- Genre:
- Research Report > Promising Solution (0.34)
- Industry:
- Government (1.00)
- Health & Medicine > Therapeutic Area (0.68)
- Media (0.68)
- Leisure & Entertainment (0.68)
- Technology: