TL;DR
The authors introduce a scalable, two-stage LLM pipeline that automatically discovers compact, category-specific product schemas and extracts attribute values at scale. By leveraging knowledge distillation and Hyper-Parallel Decoding (HPD), their fine-tuned 4B parameter model matches the accuracy of a massive foundational LLM while slashing inference costs by 92% and boosting throughput by 9x.
What Problem Does This Paper Address?
In e-commerce, structured product attributes (like a blender's wattage or a hard drive's capacity) are vital for search, recommendation, and comparison. However, product catalogs are notoriously messy, filled with unstructured text, inconsistent terminology, and missing values.
Standard Attribute Value Extraction (AVE) systems face two massive hurdles at production scale:
- Schema Engineering: Manually defining and maintaining high-quality schemas across thousands of evolving product categories is prohibitively expensive.
- Computational Cost: Running large foundational LLMs sequentially over hundreds of millions of products to extract these values is financially and computationally impossible for real-time or frequent batch processing.
This paper tackles both challenges by automating schema discovery and introducing a highly efficient parallel decoding mechanism for value extraction.
Methods
The authors propose a two-stage pipeline:
Stage 1: Attribute Schema Discovery
Instead of relying on humans, the system uses a foundational LLM (Claude Sonnet 4) to analyze a diverse sample of products within a category and identify the top $N$ (typically 20) "purchase-discriminative" attributes. To prevent semantic redundancy across the catalog (e.g., "Waterproof rating" vs. "IP Water Rating"), they embed attribute names using a Qwen3-8B model and apply hierarchical agglomerative clustering to map them to canonical names.
Stage 2: Parallel Attribute Value Generation
To scale extraction, the authors distill the knowledge of the foundational LLM into a compact model (Qwen3-4B). Crucially, they bypass the slow, sequential nature of standard autoregressive decoding by implementing Hyper-Parallel Decoding (HPD).
HPD exploits a key insight: conditioned on the same product text, different attributes are independent (e.g., extracting a blender's color doesn't depend on extracting its wattage). HPD constructs a JSON skeleton template with blank value fields separated by position ID "gaps." It inserts special Beginning-of-Value (BOV) tokens and manipulates the model's 2D attention mask, allowing the model to decode the first token—and all subsequent tokens—of every attribute simultaneously.
Datasets
- E-Commerce Catalog: A large proprietary dataset containing over 30 million products spanning thousands of categories.
- Training Data: A supervised dataset of 100,000 product-schema examples generated by prompting Claude Sonnet 4 to extract values into structured JSON objects.
- Evaluation Sets: A subset of 20,000 products evaluated using Claude Sonnet 4.5 as an LLM judge, alongside a 500-product human evaluation benchmark.
Key Insights and Ideas
- Conditional Independence as an Efficiency Lever: Traditional LLM generation is bottlenecked by generating text token-by-token from left to right. Recognizing that structured data slots are often conditionally independent allows for massive parallelization at the attention-mask level.
- The "Smaller is Better" Paradox for Throughput: The authors found that a 4B parameter model actually outperformed an 8B model in accuracy and allowed for significantly higher batch sizes on commodity GPUs.
- Closing the Quality Gap via Distillation: Task-specific fine-tuning on a distilled dataset allows a model with $>100\times$ fewer parameters to match or slightly exceed the extraction accuracy of its teacher model.
Key Results
- Maintained Accuracy: The fine-tuned Qwen3-4B model using HPD achieved an extraction accuracy of 85.40%, slightly outperforming the Foundational LLM Baseline (84.80%).
- Massive Cost and Time Reductions: Processing 30 million products using the foundational LLM baseline cost \$63,000 and took over 300 hours. The Qwen3-4B (HPD) model accomplished the same task for \$5,000 in just 36 hours—a 92% cost reduction and a ~9x throughput speedup over standard autoregressive decoding.
- High Schema Quality: An LLM judge classified 89.6% of the automatically discovered schema attributes as correct and relevant to their categories.
Limitations and Future Work
- Text-Only Constraints: The pipeline relies solely on textual catalog data (titles, descriptions, bullets). It completely misses crucial information locked inside product images or packaging photos (e.g., visual design details or quantities).
- Language Limitations: The system was only evaluated on English-language catalogs. Extending it to multilingual marketplaces remains future work.
- Correlated Attributes: The core assumption of HPD is conditional independence. While this holds for most attributes, highly correlated pairs (like product weight and product volume) might suffer under parallel decoding, warranting deeper investigation into correlated attribute grouping.
Summary updated