[Paper Review] Document Ranking with a Pretrained Sequence-to-Sequence Model
This paper proposes a novel sequence-to-sequence fine-tuning approach for document reranking using T5, where relevance is predicted by generating 'true' or 'false' as target tokens. The method outperforms BERT-based classification models, especially in low-data regimes, by leveraging the model's latent semantic knowledge through fluent generation, achieving state-of-the-art zero-shot transfer on TREC Robust04 and superior data efficiency.
This work proposes a novel adaptation of a pretrained sequence-to-sequence model to the task of document ranking. Our approach is fundamentally different from a commonly-adopted classification-based formulation of ranking, based on encoder-only pretrained transformer architectures such as BERT. We show how a sequence-to-sequence model can be trained to generate relevance labels as "target words", and how the underlying logits of these target words can be interpreted as relevance probabilities for ranking. On the popular MS MARCO passage ranking task, experimental results show that our approach is at least on par with previous classification-based models and can surpass them with larger, more-recent models. On the test collection from the TREC 2004 Robust Track, we demonstrate a zero-shot transfer-based approach that outperforms previous state-of-the-art models requiring in-dataset cross-validation. Furthermore, we find that our approach significantly outperforms an encoder-only model in a data-poor regime (i.e., with few training examples). We investigate this observation further by varying target words to probe the model's use of latent knowledge.
Motivation & Objective
- To explore a generation-based alternative to classification-based document reranking using pretrained sequence-to-sequence models.
- To evaluate whether sequence-to-sequence models can exploit latent semantic knowledge for improved ranking performance, especially in data-scarce settings.
- To investigate how model performance varies with different target word choices, probing the model’s use of semantic and linguistic knowledge.
- To compare the effectiveness of sequence-to-sequence models against standard BERT-based classification models in document reranking under varying data availability.
- To demonstrate zero-shot transfer capability on TREC Robust04 without in-dataset hyperparameter tuning.
Proposed method
- The model is fine-tuned to generate 'true' or 'false' as output tokens given a query-document pair, with the input format: 'Query: q Document: d Relevant:'.
- At inference, the probability of relevance is derived from the softmax-normalized logit of the 'true' token, enabling ranking via relevance scores.
- Target words are chosen as single subword tokens (e.g., 'true', 'false') to avoid subword aggregation complexity and preserve interpretability.
- The approach treats document relevance as a text generation task, allowing the model to leverage pretraining-induced semantic and syntactic knowledge.
- Probing experiments vary target words to test model reliance on semantic relatedness, polarity, and linguistic structure.
- Experiments are conducted on MS MARCO passage ranking and TREC Robust04, with ablation studies on data scarcity and target word configurations.
Experimental results
Research questions
- RQ1Can a sequence-to-sequence model like T5 be effectively adapted for document reranking by framing relevance prediction as a text generation task?
- RQ2Does the sequence-to-sequence approach outperform classification-based models like BERT, particularly when training data is limited?
- RQ3To what extent does the model rely on latent semantic knowledge rather than memorized label mappings?
- RQ4How do different target word choices—such as antonyms, synonyms, or unrelated terms—affect model performance and robustness?
- RQ5Can the model generalize zero-shot to unseen test collections, such as TREC Robust04, without in-dataset hyperparameter tuning?
Key findings
- On the MS MARCO passage ranking task, the T5-based method matches or exceeds BERT-based models, especially with larger models and in low-data regimes.
- With only 2k training examples, the T5 model significantly outperforms BERT, demonstrating superior data efficiency.
- On TREC Robust04, the zero-shot transfer approach outperforms previous state-of-the-art models that required in-dataset cross-validation.
- The baseline configuration ('true'/'false') achieves the highest effectiveness in both 2k and 20k data settings, indicating strong alignment with model pretraining.
- Probing with unrelated or subword tokens (e.g., '_ab', '_de') results in significantly degraded performance, confirming the model's reliance on semantic and linguistic knowledge.
- The model performs better with semantically related targets (e.g., 'apple' and 'orange') than with polarity contrasts (e.g., 'hot' and 'cold'), suggesting nuanced semantic understanding beyond binary classification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.