Here is a concise, engaging summary of the paper.
TL;DR
E-commerce platforms struggle with incomplete, partially-labeled product data provided by vendors. This paper introduces GenToC, a two-stage framework that uses marker-augmented generative models and value pruning to effectively learn from messy data, and leverages it to "bootstrap" clean training sets for ultra-fast, production-ready NER models.
What Problem Does This Paper Address?
When you search for a product online, e-commerce platforms rely on Attribute-Value Extraction (AVE) to understand your query and match it to product listings (e.g., identifying that "Boat" is a Brand and "Raging Red" is a Color).
The massive bottleneck here is data quality. Training data harvested from vendor listings is notoriously incomplete—vendors often fill out only a fraction of a product's actual attributes. Standard Named Entity Recognition (NER) models assume fully annotated data and fail to generalize when labels are missing. Conversely, large generative models can generalize better but are far too slow to handle real-time search traffic (which requires sub-10ms response times).
The authors tackle this dual challenge: How do you build a system that accurately extracts attributes from partially-labeled data while maintaining the lightning-fast speeds required for production deployment?
Methods
The authors propose a two-stage framework called GenToC (Generative to Token Classification), paired with a data-bootstrapping pipeline to train a faster production model.
1. The GenToC Architecture
Instead of extracting attributes and values all at once, GenToC breaks the problem into two distinct steps:
- Stage 1: Generative Attribute Extraction (Gen-AE): A sequence-to-sequence model (built on BART-Base) reads the product title and outputs a concatenated list of only the attribute names present (e.g.,
Brand, Model Name, Color). - Stage 2: Token Classification Value Extraction (ToC-VE): A classification model (built on DeBERTa-V3-Small) takes each predicted attribute name, appends it to the original text, and performs binary classification on each word to extract the corresponding value.
2. Novel Training Strategies
To make this architecture work with incomplete data, they introduce two key mechanisms:
- Markers ('M'): During training, special learnable embeddings are added to words that do have known labels, teaching the model to associate those words with attributes. At inference time, markers are applied to every word in the query. This tricks the model into treating every word as a potential source of information, forcing it to discover attributes that were missing in the training data.
- Value Pruning (VP): To prevent errors from cascading if Stage 1 hallucinates an incorrect attribute, they synthetically generate negative training data by deleting values from queries. This teaches the Stage 2 model to output "NO" if an attribute doesn't actually belong.
3. The Bootstrapping Pipeline
Because GenToC is slow (~90ms per query), they don't deploy it directly. Instead, they use the trained GenToC model to re-label their entire 2-million-sample training dataset. This creates a high-quality, fully-labeled dataset which is then used to train a standard, lightweight NER-AVE model via cross-entropy training.
Datasets
The models were trained and evaluated using real-world data from IndiaMART, India's largest B2B e-commerce platform:
- Training Set: 2 million product titles containing 715,000 unique attribute-value pairs across 24,700 distinct attributes. On average, only 40.7% of words per title were originally tagged.
- Evaluation Sets: A large automated test set of 39,671 samples and a meticulously verified manual evaluation set of 2,000 samples checked by three professional data annotators.
Key Insights and Ideas
- The Single-Stage Marker Trap: Simply adding markers to standard single-stage NER or Seq2Seq models actually destroys their precision (dropping it by over 22%). Because single-stage models handle attribute extraction and value labeling simultaneously, universal markers force them to arbitrarily assign attributes to every single word. GenToC's two-stage decoupling is what makes marker-based learning viable.
- Compositional Encoding for the Long-Tail: Standard NER models treat attribute names as independent atomic IDs, making it hard to learn rare or "long-tail" attributes. GenToC reads attribute names as text strings, allowing it to leverage semantic similarities (e.g., understanding that "Model Number" and "Model No." mean the same thing).
- Data Quality Trumps Model Complexity: The paper proves that instead of engineering a complex model for production, you can use a complex model to clean your data, unlocking the hidden potential of simple, ultra-fast architectures.
Key Results
- Accuracy Gains: In manual evaluations, GenToC achieved an F1-score of 83.0%, vastly outperforming standard NER (66.8%) and Seq2Seq (64.8%) baselines.
- The Bootstrapping Success: The lightweight NER model trained on GenToC-bootstrapped data achieved an F1-score of 83.6%—matching GenToC's accuracy while slashing latency from 90ms to under 9ms.
- Production Impact: Deployed at IndiaMART, the bootstrapped system has served over 200 million requests, improving attribute extraction recall by over 20% on product titles and driving a 9% increase in search queries that trigger dynamic feature highlighting.
Limitations and Future Work
While the bootstrapping method successfully circumvents GenToC's slow inference speed for production, GenToC itself remains computationally expensive to train and run during the data-cleaning phase.
For future work, the authors suggest exploring multi-stage bootstrapping pipelines, developing better methods to handle near-redundant attributes in massive ontologies, and extending the framework to uncover entirely novel attributes not present in the initial seed data.
Summary updated