arXiv

Semantic Retrieval for Product Search in E-Commerce

Title: Semantic Retrieval for Product Search in E-Commerce

Abstract:

E-commerce semantic retrieval faces the distinct challenge of processing brief, noisy, and colloquial user queries against extensive product catalogs that feature subtle attribute differences. To address this, we introduce a Siamese LLM dual-encoder architecture optimized via a two-stage training pipeline. The first stage employs contrastive learning augmented by a false-negative margin mask, a technique designed to avoid penalizing models for near-duplicate product pairs. The second stage utilizes Relative Odds Alignment for Retrieval (ROAR), a preference optimization method that generalizes the Bradley-Terry model to handle variable-sized groups of graded relevance through consecutive odds-ratio margins.

The training data follows this two-phase structure: Stage 1 relies on substitute query-product pairs to provide coarse semantic supervision, while Stage 2 leverages graded relevance annotations to refine fine-grained ranking. Our resulting system successfully retrieves exact matches and appropriately orders both substitute and complementary items. These improvements have been validated across different query frequency levels and business sectors, with statistical significance confirmed through large-scale live A/B testing.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...