Scaling E-Commerce Attribute Extraction with Parallel Decoding
Summary
The paper introduces a two-stage LLM pipeline using fine-tuned Qwen3-4B with Hyper-Parallel Decoding to extract purchase-discriminative attributes in e-commerce, achieving 85% accuracy with 92% cost reduction.
View Cached Full Text
Cached at: 09/10/26, 08:14 AM
# Scaling E-Commerce Attribute Extraction with Parallel Decoding
Source: [https://arxiv.org/html/2609.09716](https://arxiv.org/html/2609.09716)
Dushyanta DhyaniBryan WangShervin MalmasiAffiliation:Affiliation:Amazon\.com, Inc\.Affiliation:\{veduln, dhyanidd, brywan, malmasi\}@amazon\.com
###### Abstract
Customers rely on specific product attributes to compare products and make purchasing decisions, but e\-commerce catalogs are messy and unstructured, making it difficult to identify which attributes matter most and extract them at scale\. Standard Attribute Value Extraction \(AVE\) systems treat all attributes equally, producing large, inconsistent attribute sets that do not reflect the factors consumers use to differentiate products\. We introduce a two\-stage LLM pipeline that first discovers a compact, ranked schema of purchase\-discriminative attributes for each product category, then extracts their values from catalog text using a fine\-tuned compact LLM \(Qwen3\-4B\) with Hyper\-Parallel Decoding \(HPD\)\. This pipeline achieves 85% extraction accuracy, on par with the foundational LLM it was distilled from, while reducing inference costs by 92% over foundational LLMs, enabling production\-scale use for product discovery and catalog enrichment\. The resulting category\-level structured representations effectively constitute automatically constructed product knowledge bases, providing consistent, comparable attributes across varied product categories that can ground downstream knowledge\-intensive applications\.
## 1Introduction
Attribute Value Extraction is a core capability for e\-commerce systems\. Structured product attributes power search, filtering, comparison, recommendation, and product quality workflows[Yang et al\. \(2022\)](https://arxiv.org/html/2609.09716#bib.bib1);[Brinkmann et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib2)\. However, e\-commerce catalogs are highly messy as product information is spread across titles, descriptions, bullets, and semi\-structured fields; sellers use inconsistent terminology; and values are often missing, implicit, duplicated, or expressed in non\-standard forms[Khandelwal et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib3);[Yang et al\. \(2022\)](https://arxiv.org/html/2609.09716#bib.bib1)\. Recent work has increasingly explored generative approaches to AVE, where encoder\-decoder models and LLMs extract attribute values directly from product text[Blume et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib4);[Shinzato et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib5);[Khandelwal et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib3)\. These methods handle heterogeneous inputs and flexible output schemas, but deploying them at e\-commerce scale introduces two major challenges\. First, defining high\-quality schemas manually across thousands of product categories is expensive and difficult to maintain[Huang et al\. \(2025\)](https://arxiv.org/html/2609.09716#bib.bib11);[Xu et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib6)\. Second, extracting values over massive catalogs is computationally costly, especially when products are added daily and schemas evolve with downstream needs[Chen et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib7);[Yang et al\. \(2024\)](https://arxiv.org/html/2609.09716#bib.bib8);[Zhang et al\. \(2024\)](https://arxiv.org/html/2609.09716#bib.bib9)\.
We focus on extracting customer\-relevant, purchase\-discriminative attributes for each product category\. Unlike standard AVE formulations that target broad attribute coverage or extract values for predefined attributes[Yang et al\. \(2022\)](https://arxiv.org/html/2609.09716#bib.bib1);[Xu et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib6), our goal is to identify the attributes most useful for differentiating products within a category, such as wattage for blenders, capacity for storage devices, or noise cancellation for headphones, and ensure all products in the same category share the same schema, making their structured representations directly comparable\. Therefore, our pipeline automatically induces a domain ontology \(the category\-level schemas\) and populates it at scale, constructing a structured product knowledge base without manual schema engineering\.
We propose a scalable two\-stage LLM pipeline\. In the first stage, we automatically discover category\-specific schemas from representative catalog examples using a large, foundational LLM \(Claude\), then standardize semantically similar attributes across categories\. In the second stage, we extract values for the discovered schemas from product catalog text using a fine\-tuned small language model with Hyper\-Parallel Decoding \(HPD\)\. HPD exploits the conditional independence of attribute values to decode multiple values in parallel[Glavas et al\. \(2026b\)](https://arxiv.org/html/2609.09716#bib.bib10), substantially improving throughput\.
We evaluate the system on a large proprietary e\-commerce catalog spanning thousands of categories\. Our schema discovery stage produces attributes judged correct or relevant in 89\.6% of cases, and our fine\-tuned value extraction model achieves approximately 85% extraction accuracy, matching the foundational LLM teacher model despite a\>\>100×\\timesreduction in model parameters\. The proposed system reduces inference cost by 92%, making repeated catalog\-scale processing practical\. Our main contributions are:
\(i\) A two\-stage pipeline that automatically discovers compact, category\-level attribute schemas and extracts their values at scale, requiring no manual schema engineering\.
\(ii\) A practical, large\-scale use case combining knowledge distillation into a compact LLM \(Qwen3\-4B\) with Hyper\-Parallel Decoding, processing hundreds of millions of products across multiple marketplaces while achieving 92% cost reduction over a foundational LLM baseline\.
\(iii\) A comprehensive evaluation covering schema quality, extraction accuracy, quantity understanding, determinism, and efficiency, with detailed cost and throughput analysis\.
## 2Related Work
#### Product attribute\-value extraction\.
Attribute Value Extraction \(AVE\) for e\-commerce recovers structured product attributes from noisy catalog content to support search, recommendation, comparison, and catalog enrichment[Yang et al\. \(2022\)](https://arxiv.org/html/2609.09716#bib.bib1);[Brinkmann et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib2)\. Prior work has formulated AVE as sequence tagging[Zheng et al\. \(2018\)](https://arxiv.org/html/2609.09716#bib.bib12)or question answering over product context[Wang et al\. \(2020\)](https://arxiv.org/html/2609.09716#bib.bib13)\. These approaches improve extraction for predefined attributes, but typically assume available schemas and can become costly across many attributes and categories\.
#### Generative AVE\.
Recent work has explored generative AVE, using encoder\-decoder or LLM\-based models to produce attribute values directly from product text[Blume et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib4);[Shinzato et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib5);[Khandelwal et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib3);[Brinkmann et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib2)\. These methods handle heterogeneous inputs and flexible output formats, but production\-scale deployment still requires scalable schema construction and efficient extraction over large catalogs\. Our work targets both challenges through automatic schema discovery and low\-cost generative extraction\.
#### Schema discovery and knowledge base construction\.
Open\-world attribute mining and product schema modeling aim to discover or maintain product attributes with limited human supervision[Xu et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib6);[Huang et al\. \(2025\)](https://arxiv.org/html/2609.09716#bib.bib11)\. More broadly, automated knowledge base construction encompasses the extraction, integration, and maintenance of structured knowledge from unstructured sources[Weikum et al\. \(2021\)](https://arxiv.org/html/2609.09716#bib.bib14), with recent work leveraging LLMs to reshape the classical pipeline of ontology engineering, knowledge extraction, and knowledge fusion[Bian \(2025\)](https://arxiv.org/html/2609.09716#bib.bib15)\. In the e\-commerce domain,[Hongwimol et al\. \(2026\)](https://arxiv.org/html/2609.09716#bib.bib16)present a multi\-agent LLM framework that induces product types and attribute keys on demand and consolidates them into a globally consistent product knowledge graph, while[Peshevski et al\. \(2025\)](https://arxiv.org/html/2609.09716#bib.bib17)automate ontology creation and KG population from unstructured product descriptions without predefined schemas\. Our work shares the goal of automated product KB construction but differs in emphasis: rather than maximizing broad attribute coverage, we seek compact, purchase\-discriminative category\-level schemas and prioritize extreme extraction efficiency through parallel decoding, enabling deployment at scales of hundreds of millions of products\.
#### Efficient and scalable extraction\.
Scalability is a central challenge for AVE because real\-world products are associated with many attributes\. Some QA\-style approaches repeatedly process the same product context for different target attributes[Chen et al\. \(2023\)](https://arxiv.org/html/2609.09716#bib.bib7)\. Intra\-prompt parallel decoding[Glavas et al\. \(2026a\)](https://arxiv.org/html/2609.09716#bib.bib18)addresses this common\-context bottleneck by stacking multiple questions into a single prompt and decoding their answers simultaneously through attention mask manipulation\. Recent work improves efficiency by caching context representations and using lightweight attribute\-context interactions[Yang et al\. \(2024\)](https://arxiv.org/html/2609.09716#bib.bib8), while “life\-long” AVE addresses the need to adapt to evolving products, categories, and attributes[Zhang et al\. \(2024\)](https://arxiv.org/html/2609.09716#bib.bib9)\. Our extraction stage is complementary: we specialize a small language model for structured value extraction and use Hyper\-Parallel Decoding \(HPD\) to decode multiple conditionally independent attribute values from the same product context in parallel[Glavas et al\. \(2026b\)](https://arxiv.org/html/2609.09716#bib.bib10)\.
## 3Scalable Schema\-Guided Attribute Value Generation
An e\-commerce catalog contains billions of products, each with a unique set of attributes and values\. Extracting these attribute\-value pairs for each product in isolation can produce a large number of semantically similar but differently named attributes across the catalog, making them both unmanageable and difficult to use downstream\. We propose a two\-stage pipeline where we first identify a compact set of key purchase\-discriminative attributes for each product category, and subsequently extract values corresponding to each attribute for every product in that category\. Note that the choice of categorization granularity is important: a broad categorization with few categories will result in extremely generic attributes, while an overly granular categorization can result in a massive attribute set size increase\.
Figure 1:Overview of our two\-stage pipeline for scalable schema\-guided attribute value generation\. Stage 1 discovers a compact schema ofNNpurchase\-discriminative attributes per category using a large foundational LLM\. Stage 2 extracts attribute values from product catalog text using a fine\-tuned compact LLM with Hyper\-Parallel Decoding, generating allNNvalues simultaneously\.### 3\.1Problem Statement
Let𝒫\\mathcal\{P\}denote a large\-scale e\-commerce product catalog, categorized into\|𝒯\|\|\\mathcal\{T\}\|high\-level categories\. Each productp∈𝒫p\\in\\mathcal\{P\}has catalog context𝐱p\\mathbf\{x\}\_\{p\}comprising its title, description, and other unstructured product details, and is associated with a categoryt\(p\)∈𝒯t\(p\)\\in\\mathcal\{T\}\. We seek to produce, for each productpp, a structured representationϕ\(p\)=\{\(ai,vi\)\}i=1N\\phi\(p\)\\;=\\;\\bigl\\\{\\,\(a\_\{i\},\\;v\_\{i\}\)\\bigr\\\}\_\{i=1\}^\{N\}where𝒜t\(p\)=\{a1,…,aN\}\\mathcal\{A\}\_\{t\(p\)\}=\\\{a\_\{1\},\\ldots,a\_\{N\}\\\}is a schema ofNNpurchase\-discriminative attributes defined at the category level, and eachviv\_\{i\}is the value of attributeaia\_\{i\}extracted from𝐱p\\mathbf\{x\}\_\{p\}if available\. This decomposes into two sub\-problems:
Attribute Schema Discovery:For each categoryt∈𝒯t\\in\\mathcal\{T\}, identify a schema𝒜t=\{a1,…,aN\}\\mathcal\{A\}\_\{t\}=\\\{a\_\{1\},\\ldots,a\_\{N\}\\\}of attributes that are most informative for consumer purchase decisions within that category\.
Attribute Value Generation:For each productp∈𝒫p\\in\\mathcal\{P\}, given the schema𝒜t\(p\)\\mathcal\{A\}\_\{t\(p\)\}and the catalog context𝐱p\\mathbf\{x\}\_\{p\}, extract the valueviv\_\{i\}of each attributeai∈𝒜t\(p\)a\_\{i\}\\in\\mathcal\{A\}\_\{t\(p\)\}from𝐱p\\mathbf\{x\}\_\{p\}\. The key design constraint iscategory\-level schema sharing: all products belonging to the same categoryttshare the same attribute schema𝒜t\\mathcal\{A\}\_\{t\}, ensuring thatϕ\(p\)\\phi\(p\)andϕ\(p′\)\\phi\(p^\{\\prime\}\)are comparable for any two productsp,p′p,p^\{\\prime\}witht\(p\)=t\(p′\)t\(p\)=t\(p^\{\\prime\}\)\.
### 3\.2Stage 1: Attribute Schema Discovery
#### Category\-Specific Attributes Specification
For each category, we randomly selectkkrepresentative products that satisfy a minimum threshold of customer engagement metrics, ensuring a balanced selection of quality and diversity\. We then use the Claude Sonnet 4 LLM to identifyMMkey attributes for the category from the title and description of each product\. The prompts are tuned to also extract each attribute’s description, data type \(numerical, categorical, single\-value, multi\-valued, or free\-form text\), and a list of standardized values the attribute can take for the given category\.
#### Global Attributes Specification
While each product has its unique set of attributes \(e\.g\., noise canceling ability for headphones or storage capacity for a hard disk\), certain attributes are universally applicable across all products\. We supplement the category\-specific attributes with the following set of global attributes:total pack size, total weight, total volume, per product weight, per product volume\.
#### Attribute Name Standardization
While defining a fixed set ofMMattributes per category constrains the local schema, running Stage 1 acrossPPcategories can produceM×PM\\times Pattributes \(which can range from a few to tens of thousands\) with semantic redundancy \(e\.g\.,Water Resistance, Waterproof rating, IP Water Rating\)\. We develop an LLM\-based clustering approach to standardize these\. We embed all attribute names using a Qwen3\-8B embedding model and apply hierarchical agglomerative clustering to group semantically similar attributes\. Each cluster is then assigned a canonical name via one of two methods: a\)Heuristic:replacing all cluster members with the most frequent representative name, provided it satisfies a minimum similarity threshold; or b\)LLM\-based:using an LLM to generate a standardized name while preserving domain\-specific context\.
### 3\.3Stage 2: Parallel Attribute Value Generation
Once a standardized attribute set has been generated, the next step is to extract values for those attributes from all catalog products\. A straightforward approach is to prompt a foundational LLM with the predefined attributes and product catalog information\. While state\-of\-the\-art LLMs can accomplish this with high accuracy, scaling to hundreds of millions of products in a cost\-effective way poses a significant challenge\. Even at an optimistic throughput of 100K products per hour, processing a complete catalog would take multiple weeks, which does not scale for a real\-world e\-commerce service\.
Given a product context and a fixed schema ofNNattributes, standard autoregressive decoding generates the output JSON sequentially, requiring approximately∑i=1NKi\\sum\_\{i=1\}^\{N\}K\_\{i\}decoding steps, whereKiK\_\{i\}is the token length of the value for attributeii\.
#### Hyper\-Parallel Decoding \(HPD\): Efficiently Scaling Inference Throughput and Cost
In schema\-guided AVE, many attribute values are conditionally independent given the same product context\. HPD[Glavas et al\. \(2026b\)](https://arxiv.org/html/2609.09716#bib.bib10)exploits this structure by decoding values for multiple attributes in parallel, reducing decoding steps from∑Ki\\sum K\_\{i\}to approximatelymaxiKi\\max\_\{i\}K\_\{i\}\. Standard autoregressive decoding generates attribute\-value pairs sequentially, attending to all previously generated values before producing the next\. HPD observes that conditioned on the same product contextxpx\_\{p\}, the values of different attributes are conditionally independent: extracting a blender’s wattage should not causally depend on having first extracted its color\. This conditional independence allows HPD to extract values in parallel during decoding\.
The mechanism works by constructing a JSON skeleton template with attribute keys and blank value fields, creating position ID “gaps” of sizeKmaxK\_\{\\max\}at each value location\. Special BOV \(beginning\-of\-value\) tokens mark where generation should occur\. During the first inference step, the model outputs next\-token probabilities for the entire input, and HPD selectsNNprobabilities at the BOV positions to generate the first token of each value simultaneously\. Subsequent tokens are appended to the end of the sequence but assigned position IDs that logically place them in the previously created gaps, maintaining key\-value cache functionality\. A position\-based causal attention mask ensures tokens only attend to appropriate context despite being arranged out of order in physical memory\. In subsequent steps, only theNNnew tokens are passed to the model with the cached keys/values, generating thett\-th token for all values in parallel until completion\. HPD further stacksJJdocuments in a single prompt, decodingJ×NJ\\times Ntokens per step; combined with batch inference \(batch sizebb\), this yieldsb×J×Nb\\times J\\times Ntokens per step, achieving large efficiency gains\.
HPD requires custom fine\-tuning for parallel decoding\. BOV tokens are added to the vocabulary, and a “block ID” tensor tracks which inference step each token belongs to \(block 0 for the prompt, block 1 and above for generated tokens\)\. Position IDs are manipulated during training to match the inference configuration, and a custom 2D attention mask enforces that prompt tokens only attend to the prompt while generated tokens attend to themselves and lower block IDs\. This enables the model to match autoregressive quality while maintaining∼\\sim10×\\timesspeedup during inference\.
#### Attribute Value Standardization
A key challenge in large\-scale attribute extraction is ensuring that extracted values are consistent and comparable across products, categories, and marketplaces\. Without standardization, the same attribute can produce highly variable surface forms \(e\.g\., “30 oz”, “30 ounces”, “30oz”, “thirty ounces”\) that are difficult to use in downstream applications requiring exact matching or aggregation\. We address this at multiple levels: Stage 1 defines expected data types and standardized categorical values for each attribute; Stage 2 prompts instruct the model to adhere to type requirements, output numerical values with standard units, select from predefined categorical options, and produce comma\-separated lists for multi\-valued attributes; and a strictly structured JSON output format further reduces variability across runs\.
We additionally experiment with Constrained Hyper\-Parallel Decoding at inference time, where token\-level constraints force the model to generate only valid data types and standardized categorical values\. For categorical attributes, a logit mask is applied at each decoding step to permit only tokens corresponding to valid options from the Stage 1 schema; for numerical attributes, a regex expression enforces the correct number\-unit format \(e\.g\., allowing only digit and unit tokens in sequence\)\. In practice, we find that the combination of careful prompt engineering and knowledge distillation from a foundational LLM during fine\-tuning already yields high standardization compliance, with constrained decoding affecting fewer than 1% of extracted values while providing a formal guarantee of format adherence\.
## 4Experiments and Results
### 4\.1Experimental Setup
#### Product Catalog and Attribute Schema Inventory\.
We perform experiments with our pipeline on a large proprietary e\-commerce catalog containing more than 30M products spanning a few thousand product categories\. Each product is represented by catalog text and metadata, including title, description, and other structured or semi\-structured product details\. Stage 1 produces category\-level key attribute schemas, which are then standardized across categories\. The resulting schema inventory contains several thousand unique attributes\. Across the evaluated catalog, these attributes correspond to tens of millions of observed attribute values, including numerical, categorical, and free\-form values\.
#### Training data generation\.
To train the Stage 2 extraction model, we construct a supervised dataset of 100K product\-schema examples sampled across product categories\. For each example, we prompt the Claude Sonnet 4 LLM with the product catalog context and corresponding Stage 1 attribute schema to produce a structured JSON object containing the extracted value for each attribute, or null when absent\. These outputs serve as training targets for HPD fine\-tuning\.
#### Models and HPD configuration\.
We fine\-tune Qwen3\-4B and Qwen3\-8B models for purchase\-discriminative attribute value generation using Hyper\-Parallel Decoding\. Each product is paired with a fixed category\-level schema, and the model generates one value slot per attribute in structured JSON format\. We use up to 20 attributes per product withKmax=100K\_\{\\max\}=100tokens and 6 input products per prompt\. Fine\-tuning is performed on an AWS EC2 p4de\.24xlarge instance with 8 A100 GPUs\.
At inference time, HPD decodes values for all attributes in parallel, rather than generating the JSON output strictly left\-to\-right\. We compare against a foundational LLM baseline accessed via cloud\-hosted batched API inference, which processes requests asynchronously with variable queue wait times\.
#### Evaluation\.
We comprehensively evaluate both stages using automated and human evaluation\. For Stage 1, we use Claude Sonnet 4\.5 as an LLM judge to classify discovered attributes as*correct/relevant*,*irrelevant*, or*too vague/too specific*\. For Stage 2, we use the same LLM judge to evaluate extraction quality on 20K products, classifying outputs as:*correct extraction*,*correct null*\(attribute absent and model correctly returns null\),*incorrect extraction*,*missed extraction*\(value present but model returns null\), or*ungrounded extraction*\. We additionally perform human evaluation on 500 products\. Finally, to assess determinism, we run the complete pipeline five times on 50 products from diverse categories and compare outputs across runs\.
#### Attribute Schema Discovery Quality
We observe that 89\.6% of the discovered key attribute names are classified as “correct” or relevant by the LLM judge with respect to the category, 4\.0% are deemed irrelevant, and 6\.4% are considered either too vague or too specific for the given category \(e\.g\., “Performance” is overly vague as it lacks discriminative specificity, while “Bluetooth Codec Support” is too specific for a broad “Audio Equipment” category\)\. Table[1](https://arxiv.org/html/2609.09716#S4.T1)summarizes the schema quality evaluation\. This assessment is conducted at the category level across a few thousand categories, covering 20 key attributes per category\.
Classification% of AttributesCorrect / Relevant89\.6%Too vague or too specific6\.4%Irrelevant4\.0%Table 1:Stage 1 attribute schema quality evaluated by an LLM judge across a few thousand product categories \(20 attributes per category\)\.
#### Attribute Value Generation Quality
As shown in Table[2](https://arxiv.org/html/2609.09716#S4.T2), the accuracy of key attribute extraction is very similar for both fine\-tuned models, at approximately 85%\. Both Qwen3 models fine\-tuned with HPD achieve extraction accuracy on par with or slightly exceeding the foundational teacher LLM, demonstrating that knowledge distillation combined with task\-specific fine\-tuning can fully close the quality gap despite a\>\>100×\\timesreduction in model parameters\. Notably, HPD introduces no quality degradation while providing significant speed gains\.
Of the remaining approximately 15%, the LLM judge flags 4\.6% aspotentially ungroundedextractions \(values not directly verifiable from the explicit input text\), 3\.5% as missed extractions, and 2% as incorrect extractions\. Manual investigation of 50 such cases, corroborated by our 500\-product human evaluation, reveals that approximately half of ungrounded cases are reasonable inferences from implicit context \(e\.g\., inferring “plastic” from “BPA\-free”\), bringing the effective ungrounded extraction rate to approximately 2\.3%\. Additionally, fewer than 2% involve format violations where the model does not conform to Stage 1 type constraints\. The remaining 3\-4% include ambiguous cases due to catalog noise, where the LLM judge cannot make a definitive determination, and are excluded from evaluation\.
ModelTotalCorrectCorrectExtractionsCorrect NullExtractionsIncorrectExtractionsMissedExtractionsFoundational LLM Baseline84\.80%54\.30%30\.50%1\.30%4\.00%Qwen3\-4B \(AR\)84\.60%51\.80%32\.80%2\.00%3\.80%Qwen3\-4B \(HPD\)85\.40%52\.40%33\.00%1\.70%3\.50%Qwen3\-8B \(HPD\)84\.40%49\.60%34\.80%2\.60%3\.50%Table 2:Stage 2 key attribute value generation quality for fine\-tuned models, evaluated by an LLM judge \(Claude Sonnet 4\.5\) on a sample of 20K products\. Bold indicates the best result per column \(highest for correct metrics, lowest for incorrect/missed\)\.Interestingly, the larger Qwen3\-8B model performs slightly worse than Qwen3\-4B\. Our practical constraints \- processing several hundred million products with daily incremental and monthly full catalog refreshes \- require sustained high throughput on commodity GPU instances, where models exceeding 8B parameters significantly reduce per\-GPU batch capacity\. We therefore focus on models at or below 8B parameters and rely on knowledge distillation to close any quality gap\.
#### Determinism and Coverage\.
To assess reliability, we run both stages five times on 50 products from diverse categories\. For both schema discovery and value extraction, approximately 93% of outputs are identical or semantically equivalent across runs, with variations primarily in subjective attributes such as “special features\.” Overall pipeline coverage is 99\.997%: attributes are successfully generated for all products except those lacking catalog information or with incorrect category assignments \(0\.003% of products\)\.
#### Human Evaluation
We perform human evaluation on 500 products spanning diverse categories, assessing correctness of extracted values against input catalog text for both categorical and numerical attributes\. Human judges rate 85% of extractions as correct, consistent with the LLM judge evaluation, with Qwen3\-4B again performing slightly better than Qwen3\-8B\. Overall, the LLM judge and human annotators agree on 91% of generated attribute values\. Of the errors, approximately 6% are incorrect extractions; the remainder are primarily data type violations and, for numerical quantity attributes, cases where the attribute information is present only in product images rather than the catalog text provided as input\.
#### Efficiency and Throughput
Table[3](https://arxiv.org/html/2609.09716#S4.T3)compares the cost and throughput of our HPD\-based extraction against both standard autoregressive decoding on the same model and the foundational LLM baseline using cloud\-hosted batched API inference\. HPD achieves an average throughput of∼\\sim159K products per hour per instance\. Running inference on 30M products using 5 parallel instances takes approximately 36 hours at a total cost of∼\\sim$5,000\. Standard autoregressive decoding on the same Qwen3\-4B model yields approximately 18K products per hour per instance \(∼\\sim9×\\timeslower throughput\), requiring over 330 hours on the same hardware at a cost of∼\\sim$46K\.
The foundational LLM baseline, accessed via cloud\-hosted batched API inference with 10 parallel batch jobs, achieves a nominal throughput of∼\\sim100K products per hour excluding queue wait times\. In practice, variable queue delays add significant additional latency, making the effective wall\-clock time substantially longer than the reported 300 hours\. The total API cost for 30M products is∼\\sim$63,000, representing a 92% cost reduction with HPD\. Fine\-tuning the Qwen3\-4B model requires 8 hours on a single instance with 8 A100 GPUs, at a one\-time cost of∼\\sim$350\.
#### Effect of Attribute Schema Size on Parallelism\.
HPD decodes allNNattribute values simultaneously, generatingJ×NJ\\times Ntokens per inference step\. Since decoding steps remain fixed atKmaxK\_\{\\max\}regardless ofNN, throughput in attribute\-values per hour scales approximately linearly with schema size\. We validate this by varyingN∈\{10,12,16,18,20\}N\\in\\\{10,12,16,18,20\\\}and observe that product throughput remains approximately constant while attribute\-values extracted per hour increases proportionally\. Meanwhile, the foundational LLM baseline cost scales linearly withNN, yielding progressively larger cost reductions from approximately 84% atN=10N=10to 92% atN=20N=20, making our choice ofN=20N=20near\-optimal for both parallelism and category coverage\.
Qwen3\-4B\(HPD\)Qwen3\-4B\(AR\)FoundationalLLMThroughput \(products/hr\)159K18K100K†Parallel instances / jobs5510Time for 30M products36 hrs333 hrs300\+ hrs†Inference cost$5K$46K$63KCost reduction vs\.Foundational LLM92%27%—†Excludes variable queue wait times, which add significant latency\.
Table 3:Efficiency comparison for 30M products between HPD inference, standard autoregressive \(AR\) inference, and foundational LLM batched API inference\.
## 5Practical Use Case Evaluation
We employ our full two\-stage pipeline to process product catalogs across two major marketplaces, extracting key attributes for hundreds of millions of products\. Large\-scale inference is distributed across 4–20 A100 GPU instances, each processing products independently to achieve linear throughput scaling\. The pipeline is containerized for reproducibility across instance types\.
Given that new products appear in the catalog daily and product content is frequently updated, we plan a tiered refresh strategy\. New products are processed on a daily or weekly cadence, while the full catalog is re\-processed monthly to capture updates\. Schema discovery \(Stage 1\) is refreshed less frequently as category\-level attributes are relatively stable; schemas are versioned per refresh cycle and validated against the previous version before deployment\. For Stage 2, outputs that fail JSON parsing or violate data type constraints are caught by automated post\-processing validation and re\-processed in the subsequent batch\.
The extracted attribute\-value pairs are published to an internal large\-scale knowledge base and made queryable by downstream use cases\. These structured representations can enable several applications: \(i\) product comparison via shared category\-level schemas; \(ii\) catalog enrichment, where extracted values fill gaps in incomplete product listings and augment sparse catalog metadata; \(iii\) catalog quality improvement by surfacing inconsistencies in product details; and \(iv\) personalized product understanding through compact structured inputs to recommendation and search systems\.
We additionally validate our outputs through live seller interviews across two marketplaces, where sellers evaluate the extracted attributes for quality and usefulness in differentiating products and informing customer purchase decisions\. Sellers provide positive feedback, confirming that the extracted attributes reflect factors they consider when positioning their products relative to competitors\.
### 5\.1Sample System Output
We illustrate the end\-to\-end pipeline output for the product categoryCOFFEE\_MAKER\. Stage 1 discovers the following schema of purchase\-discriminative attributes:
AttributeData TypeStandardized ValuesBrew TypecategoricalManual, Semi\-Automatic,Automatic, Super\-Automatic, PodPump Pressurenumerical\(bars\)Heating SystemcategoricalThermocoil, Single Boiler,Dual Boiler, ThermoblockTemperature ControlcategoricalPID, Thermostat, DigitalGrinder TypecategoricalConical Burr, Flat Burr, Blade, NoneTank Capacitynumerical\(oz\)Milk SystemcategoricalSteam Wand, Auto Frother, NoneBuild MaterialcategoricalStainless Steel, Plastic, Aluminum
Table 4:Stage 1 output: discovered attribute schema forCOFFEE\_MAKER\.Given this schema and the catalog text of a specific product \(title, description, and bullet points\), Stage 2 extracts the following structured attribute\-value pairs:
```
{"Brew Type": "Semi-Automatic",
"Pump Pressure": "15 bars",
"Heating System": "Thermocoil",
"Temperature Control": "PID",
"Grinder Type": "Conical Burr",
"Tank Capacity": "67 oz",
"Milk System": "Steam Wand",
"Build Material": "Stainless Steel"}
```
All products in theCOFFEE\_MAKERcategory share this same schema, making their structured representations directly comparable\. For example, a budget pod machine would yield\{‘‘Brew Type’’: ‘‘Pod’’, ‘‘Heating System’’: ‘‘Thermoblock’’, ‘‘Grinder Type’’: ‘‘None’’, ‘‘Build Material’’: ‘‘Plastic’’, \.\.\.\}, enabling direct attribute\-level comparison\.
## 6Conclusion
We presented a scalable two\-stage pipeline for extracting purchase\-discriminative attributes from large e\-commerce catalogs\. The first stage automatically discovers compact, category\-level schemas using a foundational LLM, eliminating manual schema engineering across thousands of categories\. The second stage extracts attribute values at scale using a fine\-tuned Qwen3\-4B model with HPD, which exploits the conditional independence of attribute values to decode them simultaneously\. The system achieves 85% extraction accuracy, on par with the foundational teacher LLM, while reducing inference costs by 92%\. Future directions include incorporating multimodal inputs such as product images to capture visually conveyed attributes, and extending the pipeline to multilingual catalogs\.
## Limitations
Our system extracts attributes exclusively from textual catalog content such as product titles, descriptions, and bullet points\. Product information that is conveyed only through images, such as visual design details, color variations, or quantities shown in packaging photos, is not captured by our current approach\. Incorporating multimodal inputs to address this gap is left for future work\. The current pipeline has been evaluated only on English\-language catalogs\. Extending the system to non\-English marketplaces would require multilingual fine\-tuning and potentially different schema discovery prompts, which we have not yet explored\. The conditional independence assumption underlying HPD assumes that extracting the value of one attribute should not depend on previously extracted values\. While this holds for most attributes in practice, certain attributes may exhibit correlations \(e\.g\., product weight and volume, or material and durability\)\. Our empirical results suggest this does not significantly impact extraction quality, but a deeper investigation into correlated attribute groups is warranted\. Finally, we evaluated our fine\-tuned models exclusively using the Qwen3 model family in 4B and 8B parameter sizes\. Other model architectures or larger model sizes may yield different quality\-efficiency tradeoffs, and the optimal model choice may vary across domains or catalog characteristics\.
## References
- Bian \(2025\)H\. BianLLM\-empowered knowledge graph construction: a survey\.arXiv preprint arXiv:2510\.20345\.Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Blumeet al\.\(2023\)A\. Blume, N\. Zalmout, H\. Ji, and X\. LiGenerative models for product attribute extraction\.InProceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track,Singapore,pp\. 575–585\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.emnlp-industry.55)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px2.p1.1)\.
- Brinkmannet al\.\(2023\)A\. Brinkmann, R\. Shraga, and C\. BizerExtractGPT: exploring the potential of large language models for product attribute value extraction\.arXiv preprint arXiv:2310\.12537\.Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px2.p1.1)\.
- Chenet al\.\(2023\)W\. Chen, K\. Shinzato, N\. Yoshinaga, and Y\. XiaDoes named entity recognition truly not scale up to real\-world product attribute extraction?\.InProceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track,Singapore,pp\. 152–159\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.emnlp-industry.16)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px4.p1.1)\.
- Glavaset al\.\(2026a\)T\. Glavas, N\. Vedula, D\. Dhyani, A\. Valkanas, Y\. Zhu, and S\. MalmasiIntra\-prompt parallel decoding for common\-context question answering\.External Links:2609\.05707,[Link](https://arxiv.org/abs/2609.05707)Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px4.p1.1)\.
- Glavaset al\.\(2026b\)T\. Glavas, N\. Vedula, D\. Dhyani, Y\. Zhu, and S\. MalmasiBreaking the autoregressive chain: hyper\-parallel decoding for efficient llm\-based attribute value extraction\.InFindings of the Association for Computational Linguistics: ACL 2026,pp\. 36792–36808\.Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p3.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px4.p1.1),[§3\.3](https://arxiv.org/html/2609.09716#S3.SS3.SSS0.Px1.p1.1)\.
- Hongwimolet al\.\(2026\)P\. Hongwimol, H\. Shang, C\. Wang, Z\. Wan, Y\. Gao, Y\. Li, L\. Gui, W\. Sun, and C\. YuAutoPKG: an automated framework for dynamic e\-commerce product\-attribute knowledge graph construction\.InFindings of ACL,Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Huanget al\.\(2025\)Y\. Huang, K\. Ramo, A\. Iovine, M\. Monteiro, S\. Gokalp, A\. Bakshi, H\. Turalic, A\. Kumar, J\. Neumeier, R\. Yates, R\. Monir, S\. Hartmann, T\. Manglik, and M\. YakoutAttributeForge: An Agentic LLM Framework for Automated Product Schema Modeling\.Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Khandelwalet al\.\(2023\)A\. Khandelwal, H\. Mittal, S\. Kulkarni, and D\. GuptaLarge scale generative multimodal attribute extraction for e\-commerce attributes\.InProceedings of the 61st Annual Meeting of the Association for Computational Linguistics \(Volume 5: Industry Track\),Toronto, Canada,pp\. 305–312\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.acl-industry.29)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px2.p1.1)\.
- Peshevskiet al\.\(2025\)D\. Peshevski, R\. Stojanov, and D\. TrajanovAI agent\-driven framework for automated product knowledge graph construction in e\-commerce\.InProceedings of the 1st GOBLIN Workshop on Knowledge Graph Technologies,Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Shinzatoet al\.\(2023\)K\. Shinzato, N\. Yoshinaga, Y\. Xia, and W\. ChenA unified generative approach to product attribute\-value identification\.InFindings of the Association for Computational Linguistics: ACL 2023,Toronto, Canada,pp\. 6599–6612\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.findings-acl.413)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px2.p1.1)\.
- Wanget al\.\(2020\)Q\. Wang, L\. Yang, B\. Kanagal, S\. Sanghai, D\. Sivakumar, B\. Shu, Z\. Yu, and J\. ElsasLearning to extract attribute value from product via question answering: a multi\-task approach\.InProceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px1.p1.1)\.
- Weikumet al\.\(2021\)G\. Weikum, X\. L\. Dong, S\. Razniewski, and F\. SuchanekMachine knowledge: creation and curation of comprehensive knowledge bases\.Foundations and Trends in Databases\.Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Xuet al\.\(2023\)L\. Xu, C\. Zhang, X\. Li, J\. Shang, and J\. D\. ChoiTowards open\-world product attribute mining: a lightly\-supervised approach\.InProceedings of the 61st Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),Toronto, Canada,pp\. 12223–12239\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.acl-long.683)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§1](https://arxiv.org/html/2609.09716#S1.p2.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px3.p1.1)\.
- Yanget al\.\(2024\)L\. Yang, Q\. Wang, J\. Chi, J\. Liu, J\. Wang, F\. Feng, Z\. Xu, Y\. Fang, L\. Huang, and D\. LiuEAVE: efficient product attribute value extraction via lightweight sparse\-layer interaction\.InFindings of the Association for Computational Linguistics: EMNLP 2024,Miami, Florida, USA,pp\. 1491–1505\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.findings-emnlp.80)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px4.p1.1)\.
- Yanget al\.\(2022\)L\. Yang, Q\. Wang, Z\. Yu, A\. Kulkarni, S\. K\. Sanghai, B\. Shu, J\. Elsas, and B\. KanagalMAVE: a product dataset for multi\-source attribute value extraction\.InProceedings of the Fifteenth ACM International Conference on Web Search and Data Mining,pp\. 1256–1265\.External Links:[Document](https://dx.doi.org/10.1145/3488560.3498377)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§1](https://arxiv.org/html/2609.09716#S1.p2.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px1.p1.1)\.
- Zhanget al\.\(2024\)T\. Zhang, C\. Zhang, X\. Li, J\. Shang, H\. Nguyen, and P\. YuStronger, Lighter, Better: Towards Life\-Long Attribute Value Extraction for E\-Commerce Products\.InFindings of the Association for Computational Linguistics: ACL 2024,Bangkok, Thailand,pp\. 8631–8643\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.findings-acl.510)Cited by:[§1](https://arxiv.org/html/2609.09716#S1.p1.1),[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px4.p1.1)\.
- Zhenget al\.\(2018\)G\. Zheng, S\. Mukherjee, X\. L\. Dong, and F\. LiOpenTag: open attribute value extraction from product profiles\.InProceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,pp\. 1049–1058\.External Links:[Document](https://dx.doi.org/10.1145/3219819.3219839)Cited by:[§2](https://arxiv.org/html/2609.09716#S2.SS0.SSS0.Px1.p1.1)\.Similar Articles
PSD: Pushing the Pareto Frontier of Diffusion LLMs via Parallel Speculative Decoding
This paper introduces Parallel Speculative Decoding (PSD), a training-free framework that accelerates diffusion LLM inference by jointly improving spatial and temporal efficiency, achieving up to 5.5× tokens per forward pass with comparable quality to greedy decoding.
Efficient LLM-based Advertising via Model Compression and Parallel Verification
This paper presents an efficient LLM-based advertising framework using model compression and parallel verification, achieving over 1.8x speedup in real-world deployment at Baidu.
@CyrusHakha: One pattern we keep seeing with customers serving LLMs at scale: Prefill-decode disaggregation is often treated like a …
Discusses the nuanced reality of prefill-decode disaggregation in LLM serving at scale, based on customer patterns and validated on AMD with vLLM.
Early-Bird Decoding: Accelerating Diffusion LLMs with Learnable Block Sizes and Parallel Sampling
The paper proposes 'Early-Bird Decoding,' a framework to accelerate diffusion large language models by using learnable block sizes and parallel sampling, achieving significant throughput improvements without modifying pretrained weights.
Speculative Pipeline Decoding: Higher-Accruacy and Zero-Bubble Speculation via Pipeline Parallelism
This paper proposes Speculative Pipeline Decoding (SPD), a framework that uses pipeline parallelism within a single LLM to enable parallel token speculation, avoiding the latency bubbles and accuracy degradation of multi-token prediction in traditional speculative decoding.