Lune

ACL Findings2025

Dense Retrieval with Quantity Comparison Intent

Prayas Agrawal, Nandeesh Kumar, Muthusamy Chelliah, Surender Kumar, Soumen Chakrabarti

Abstract

Pre-trained language models (PLMs) fragment numerals and units that express quantities in arbitrary ways, depending on their subword vocabulary. Consequently, they are unable to contextualize the fragment embeddings well enough to be proficient with dense retrieval in domains like e-commerce and finance. Arithmetic inequality constraints ("laptop under 2 lb") offer additional challenges. In response, we propose DeepQuant, a dense retrieval system built around a dense multi-vector index, but carefully engineered to elicit and exploit quantities and associated comparison intents. A novel component of our relevance score compares two quantities with compatible units, conditioned on a proposed comparison operator. The uncertain extractions of numerals, units and comparators are marginalized over in a suitable manner. On two public and one proprietary e-commerce benchmarks, DeepQuant is both faster and more accurate than popular PLMs. It also beats several competitive sparse and dense retrieval systems that do not take special cognizance of quantities.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 1 top-tier paper that cites it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers1

  1. NumColBERT: Non-Intrusive Numeracy Injection for Late-Interaction Retrieval ModelsHaruki Fujimaki, Makoto P. KatoSIGIR 2026

Builds on9

  1. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  2. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
  3. SOAR: Improved Indexing for Approximate Nearest Neighbor SearchPhilip Sun, David Simcha, Dave Dopson, Ruiqi Guo et al.NeurIPS 2023 · 35 citations
  4. Methods for Numeracy-Preserving Word EmbeddingsDhanasekar Sundararaman, Shijing Si, Vivek Subramanian, Guoyin Wang et al.EMNLP 2020 · 28 citations
  5. Extracting Contextualized Quantity Facts from Web TablesVinh Thinh Ho, Koninika Pal, Simon Razniewski, Klaus Berberich et al.WWW 2021 · 13 citations

Related papers

  1. Do Language Models Understand Measurements?Sungjin Park, Seungwoo Ryu, Edward ChoiEMNLP Findings 2022 · 5 citations
  2. Numbers Matter! Bringing Quantity-awareness to Retrieval SystemsSatya Almasian, Milena Bruseva, Michael GertzEMNLP Findings 2024 · 2 citations
  3. Do Language Embeddings capture Scales?Xikun Zhang, Deepak Ramachandran, Ian Tenney, Yanai Elazar et al.EMNLP Findings 2020 · 35 citations
  4. Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language ModelsHaoyang Li, Xuejia Chen, Zhanchao Xu, Darian Li et al.ACL Findings 2025 · 12 citations
  5. Enhancing Quantitative Reasoning Skills of Large Language Models through Dimension PerceptionYuncheng Huang, Qianyu He, Jiaqing Liang, Sihang Jiang et al.ICDE 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines