Task-Adaptive Embedding Refinement via Test-time LLM Guidance

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Gera, Ariel, Ashury-Tahan, Shir, Bloch, Gal, Eytan, Ohad, Toledo, Assaf
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911676015575040
author Gera, Ariel
Ashury-Tahan, Shir
Bloch, Gal
Eytan, Ohad
Toledo, Assaf
author_facet Gera, Ariel
Ashury-Tahan, Shir
Bloch, Gal
Eytan, Ohad
Toledo, Assaf
contents We explore the effectiveness of an LLM-guided query refinement paradigm for extending the usability of embedding models to challenging zero-shot search and classification tasks. Our approach refines the embedding representation of a user query using feedback from a generative LLM on a small set of documents, enabling embeddings to adapt in real time to the target task. We conduct extensive experiments with state-of-the-art text embedding models across a diverse set of challenging search and classification benchmarks. Empirical results indicate that LLM-guided query refinement yields consistent gains across all models and datasets, with relative improvements of up to +25% in literature search, intent detection, key-point matching, and nuanced query-instruction following. The refined queries improve ranking quality and induce clearer binary separation across the corpus, enabling the embedding space to better reflect the nuanced, task-specific constraints of each ad-hoc user query. Importantly, this expands the range of practical settings in which embedding models can be effectively deployed, making them a compelling alternative when costly LLM pipelines are not viable at corpus-scale. We release our experimental code for reproducibility, at https://github.com/IBM/task-aware-embedding-refinement.
format Preprint
id arxiv_https___arxiv_org_abs_2605_12487
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Task-Adaptive Embedding Refinement via Test-time LLM Guidance
Gera, Ariel
Ashury-Tahan, Shir
Bloch, Gal
Eytan, Ohad
Toledo, Assaf
Computation and Language
Information Retrieval
Machine Learning
We explore the effectiveness of an LLM-guided query refinement paradigm for extending the usability of embedding models to challenging zero-shot search and classification tasks. Our approach refines the embedding representation of a user query using feedback from a generative LLM on a small set of documents, enabling embeddings to adapt in real time to the target task. We conduct extensive experiments with state-of-the-art text embedding models across a diverse set of challenging search and classification benchmarks. Empirical results indicate that LLM-guided query refinement yields consistent gains across all models and datasets, with relative improvements of up to +25% in literature search, intent detection, key-point matching, and nuanced query-instruction following. The refined queries improve ranking quality and induce clearer binary separation across the corpus, enabling the embedding space to better reflect the nuanced, task-specific constraints of each ad-hoc user query. Importantly, this expands the range of practical settings in which embedding models can be effectively deployed, making them a compelling alternative when costly LLM pipelines are not viable at corpus-scale. We release our experimental code for reproducibility, at https://github.com/IBM/task-aware-embedding-refinement.
title Task-Adaptive Embedding Refinement via Test-time LLM Guidance
topic Computation and Language
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2605.12487