TACLR: A Scalable and Efficient Retrieval-based Method for Industrial Product Attribute Value Identification

Yindu Su, Huike Zou, Lin Sun, Ting Zhang, Haiyang Yang, Chen Li Yu, David Lo, Qingheng Zhang, Shuguang Han, Jufeng Chen

Introduction

In the competitive landscape of e-commerce, the accuracy of product attribute data—such as brand, model, and capacity—is fundamental to search relevance and recommendation systems. Traditionally, this has been addressed through Product Attribute Value Extraction (PAVE), which utilizes Named Entity Recognition (NER) to extract text spans directly from product listings. However, PAVE is inherently limited when dealing with implicit values (e.g., the brand "Apple" being implied by "iPhone") or unnormalized text (e.g., "12pm" for "12 Pro Max").

Product Attribute Value Identification (PAVI) addresses these limitations by mapping product profiles to a standardized taxonomy. While generative Large Language Models (LLMs) and classification-based approaches have been applied to PAVI, they face significant hurdles in industrial settings, including high computational costs, hallucinations, and an inability to handle out-of-distribution (OOD) values. This paper introduces TACLR (Taxonomy-Aware Contrastive Learning Retrieval), a novel framework that reformulates PAVI as a scalable retrieval task.

Methodology

TACLR treats the product profile (title and description) as a query and the attribute taxonomy as the retrieval corpus. This approach combines the flexibility of generative models with the efficiency and reliability of classification.

Shared Encoder Architecture

The framework utilizes a shared RoBERTa-base backbone to project both product profiles and candidate attribute values into a unified embedding space. To enhance semantic alignment, attribute values are encoded within context-rich prompts (e.g., "A phone with brand being Apple") rather than as raw strings. This provides the encoder with a semantic "anchor" to match against product descriptions.

Taxonomy-Aware Hard Negative Sampling

Standard contrastive learning often relies on random in-batch negatives, which can be too distinct from the target to provide meaningful gradients. TACLR introduces taxonomy-aware hard negative sampling, specifically selecting candidates from the same category and attribute. By forcing the model to distinguish between highly similar values (e.g., "iPhone 12" vs. "iPhone 12 Pro"), the system learns more granular semantic representations.

Dynamic Thresholding via Null Embeddings

A critical challenge in retrieval is determining when a product does not possess a specific attribute. Instead of a static similarity threshold, TACLR learns a dedicated "null" value embedding for every attribute. During inference, if a product profile's similarity to the null embedding exceeds its similarity to any valid taxonomy value, the model correctly identifies the attribute as absent. This mathematically grounded approach effectively manages the precision-recall trade-off.

Experimental Setup

The performance of TACLR was evaluated on two primary benchmarks:

  1. Xianyu-PAVI: A massive, proprietary industrial dataset from the Xianyu platform, featuring over 8,000 categories, 26,000 category-attribute pairs, and 6.3 million potential values.
  2. WDC-PAVE: A public benchmark used to assess the model's cross-domain generalization capabilities.

Results and Discussion

TACLR demonstrates a superior balance of accuracy and efficiency compared to state-of-the-art alternatives.

Accuracy and Robustness

On the Xianyu-PAVI dataset, TACLR achieved an F1 score of 86.2%, surpassing fine-tuned LLMs such as Llama 3.1 (84.7%) and Qwen 2.5 (81.7%). Notably, TACLR excelled in identifying unnormalized and implicit values, reaching an F1 of 82.9% in these challenging scenarios, compared to 79.4% for Llama 3.1.

Industrial Scalability

The retrieval-based architecture offers significant throughput advantages. TACLR processed approximately 630 samples per second on a single V100 GPU. This represents a more than 50x speed improvement over generative LLM methods, which typically struggle to reach 100 samples per second. This efficiency makes TACLR the only viable option for high-load industrial deployment.

Conclusion and Future Work

TACLR provides a robust solution for PAVI by leveraging contrastive retrieval and taxonomy-aware training. By eliminating the risk of hallucinations and providing a scalable mechanism for OOD handling, it bridges the gap between academic research and industrial requirements.

Despite its success, the model currently relies on text-only profiles and struggles with complex numerical reasoning (e.g., unit conversions). Future research will explore the integration of multimodal encoders to incorporate visual data and hybrid Retrieval-Augmented Generation (RAG) systems to improve mathematical reasoning for measurement-based attributes.

Summary updated

BibTeX
@inproceedings{su2025taclr,
  author = {Yindu Su and Huike Zou and Lin Sun and Ting Zhang and Haiyang Yang and Chen Li Yu and David Lo and Qingheng Zhang and Shuguang Han and Jufeng Chen},
  title = {{TACLR: A Scalable and Efficient Retrieval-based Method for Industrial Product Attribute Value Identification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure