Skip to main content
QUICK REVIEW

[Paper Review] An Attention-Based Deep Net for Learning to Rank

Baiyang Wang, Diego Klabjan|arXiv (Cornell University)|Feb 20, 2017
Advanced Image and Video Retrieval TechniquesComputer Science21 references10 citations
TL;DR

This paper proposes an attention-based deep neural network for learning to rank that integrates multiple embeddings (e.g., word2vec, CBOW, GLOVE) using a dual-attention mechanism on queries and search results, enabling flexible listwise ranking. The model achieves state-of-the-art performance on image retrieval and text querying datasets, with AttRN-HL showing the most robust results across benchmarks.

ABSTRACT

In information retrieval, learning to rank constructs a machine-based ranking model which given a query, sorts the search results by their degree of relevance or importance to the query. Neural networks have been successfully applied to this problem, and in this paper, we propose an attention-based deep neural network which better incorporates different embeddings of the queries and search results with an attention-based mechanism. This model also applies a decoder mechanism to learn the ranks of the search results in a listwise fashion. The embeddings are trained with convolutional neural networks or the word2vec model. We demonstrate the performance of this model with image retrieval and text querying data sets.

Motivation & Objective

  • To improve learning-to-rank performance by incorporating multiple, diverse word embeddings (e.g., CBOW, skip-gram, GLOVE) into a neural ranking model.
  • To address the limitations of single-embedding models by using an attention mechanism that dynamically weights different embeddings based on relevance.
  • To enable listwise ranking through a decoder mechanism that outputs full result rankings in a single forward pass.
  • To demonstrate the model's effectiveness across diverse retrieval tasks, including text and image retrieval.
  • To provide a more robust and accurate ranking system by reducing reliance on a single embedding or model architecture.

Proposed method

  • Employs a dual-attention mechanism that applies separate attention layers to queries and search results to dynamically weigh different embeddings.
  • Uses pretrained word embeddings (CBOW, skip-gram, GLOVE) as input features, which are fixed during training to maintain consistency.
  • Applies a multi-layer feedforward network with ReLU activations to process query and document representations.
  • Integrates a decoder mechanism that generates the final ranking list in a listwise fashion, optimizing for NDCG and MAP metrics.
  • Combines embeddings via attention weights computed through a recurrent neural network (RNN) structure, allowing context-aware feature fusion.
  • Calibrates the model using supervised learning with pairwise and listwise ranking objectives, minimizing ranking loss via stochastic gradient descent.

Experimental results

Research questions

  • RQ1Can an attention mechanism effectively combine multiple pre-trained word embeddings to improve ranking performance in information retrieval?
  • RQ2Does a listwise ranking approach with a decoder mechanism outperform traditional pairwise or pointwise methods in complex retrieval tasks?
  • RQ3How does the dual-attention mechanism on queries and results enhance feature representation compared to single-embedding models?
  • RQ4Is the proposed model robust across diverse retrieval domains, such as text and image retrieval?
  • RQ5Can the integration of multiple embeddings via attention reduce model variance and improve generalization compared to using a single embedding type?

Key findings

  • On the 20 Newsgroups dataset, AttRN-SM achieved the lowest MAP error rate of 14.78%, outperforming OASIS-1 (15.56%) and all SVM and LambdaMART baselines.
  • For NDCG@3, AttRN-SM achieved 16.87% error, significantly lower than OASIS-1 (17.83%) and RSVM-100k (34.62%), indicating superior ranking quality.
  • On the same dataset, AttRN-HL achieved the second-best performance with 14.79% MAP error and 16.93% NDCG@3 error, showing strong robustness across metrics.
  • When evaluating on superclasses (a stricter metric), AttRN-HL maintained a low MAP error of 30.19%, outperforming OASIS-3 (30.15%) and all SVM/LambdaMART variants.
  • The model demonstrated consistent superiority over baseline methods like Ranking SVM and LambdaMART, which showed higher error rates (e.g., 35.87% MAP for RSVM-20k) on the same data.
  • AttRN-HL was identified as the most robust model across all three datasets, making it the recommended choice for real-world applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.