NEAR$^2$: A Nested Embedding Approach to Efficient Product Retrieval and Ranking

Shenbin Qian, Diptesh Kanojia, Samarth Agrawal, Hadeel Saadany, Swapnil Bhosale +2 more
6/24/2025
cs.IRcs.CL

No confident code implementation found for this paper.

Abstract

E-commerce information retrieval (IR) systems struggle to simultaneously achieve high accuracy in interpreting complex user queries and maintain efficient processing of vast product catalogs. The dual challenge lies in precisely matching user intent with relevant products while managing the computational demands of real-time search across massive inventories. In this paper, we propose a Nested Embedding Approach to product Retrieval and Ranking, called NEAR$^2$, which can achieve up to $12$ times efficiency in embedding size at inference time while introducing no extra cost in training and improving performance in accuracy for various encoder-based Transformer models. We validate our approach using different loss functions for the retrieval and ranking task, including multiple negative ranking loss and online contrastive loss, on four different test sets with various IR challenges such as short and implicit queries. Our approach achieves an improved performance over a smaller embedding dimension, compared to any existing models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qian2025near,
  title  = {NEAR$^2$: A Nested Embedding Approach to Efficient Product Retrieval and Ranking},
  author = {Shenbin Qian and Diptesh Kanojia and Samarth Agrawal and Hadeel Saadany and Swapnil Bhosale and Constantin Orasan and Zhe Wu},
  year   = {2025},
  eprint = {2506.19743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.19743v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.19743.svg)](https://codeofpaper.com/paper/2506.19743)

Discussion