Abstract
We describe an approach to extract attribute-value pairs from product descriptions. This allows us to represent products as sets of such attribute-value pairs to augment product databases. Such a representation is useful for a variety of tasks where treating a product as a set of attribute-value pairs is more useful than as an atomic entity. Examples of such applications include product recommendations, product comparison, and demand forecasting. We formulate the extraction as a classification problem and use a semi-supervised algorithm (co-EM) along with (Naive Bayes). The extraction system requires very little initial user supervision: using unlabeled data, we automatically extract an initial seed list that serves as training data for the supervised and semi-supervised classification algorithms. Finally, the extracted attributes and values are linked to form pairs using dependency information and co-location scores. We present promising results on product descriptions in two categories of sporting goods.
Introduction
Retailers sit on mountains of product data, but it is often "atomic"—a product is represented merely as a name and a SKU. To power modern features like intelligent product recommendations, price comparisons, or demand forecasting, businesses require structured data: a list of specific attributes (e.g., material, lacing system) and their corresponding values. Currently, this structuring is largely done manually, a process that is slow, expensive, and difficult to scale.
The challenge lies in the nature of product descriptions, which are rarely full sentences. Instead, they are often fragments like "4 rolls white athletic tape" or "Extended Torsion bar." Standard NLP tools frequently struggle with this lack of grammatical structure. This paper addresses the problem by proposing a system that automatically extracts structured attribute-value pairs from messy, unstructured text.
Methodology
The proposed system utilizes a modular pipeline designed to move from raw text to structured pairs with minimal human intervention:
- Unsupervised Seed Generation: Rather than requiring a large labeled dataset, the system automatically identifies potential "seeds." It identifies patterns where a word (the attribute) appears with a limited but distinct set of other words (the values). For instance, "pockets" might appear with "back," "front," and "zip," marking it as a strong attribute candidate.
- Entity Extraction via co-EM: This is the core of the approach. Extraction is treated as a classification task (labeling words as attribute, value, or neither). The system uses co-EM, a multi-view semi-supervised learning algorithm. It analyzes data through two "views":
- View 1: The word itself and its part-of-speech tag.
-
View 2: The context (the 4 words before and 4 words after). The algorithm iteratively uses one view to label unlabeled data for the other, allowing it to learn from a massive pool of unlabeled web-crawled descriptions.
-
Relationship Extraction: Once entities are identified, the system links them using heuristics, including dependency parsing (using Minipar) and "co-location scores" to determine how often words appear near each other.
Experimental Evaluation
The system was evaluated on real-world data crawled from a major sporting goods retailer across two categories:
- Tennis Category: 3,194 unlabeled data items.
- Football Category: 72,825 unlabeled data items.
Small lists of colors, materials, countries, and units of measure were used as initial seeds to jumpstart the semi-supervised process.
Results and Discussion
The semi-supervised co-EM approach significantly outperformed standard supervised methods like Naive Bayes, particularly when training data was scarce. In the Tennis category, co-EM achieved 69.87% recall, compared to just 36.40% for Naive Bayes. In the Football category, it reached 78.85%.
Precision metrics were also strong; over 90% of the extracted pairs were either fully or partially correct. The system also demonstrated the ability to handle "implicit" attributes. For example, if it identifies "Red," it can automatically assign the attribute "Color: Red," even if the word "color" is absent from the text.
Despite these successes, some limitations were noted. The system occasionally confuses which word is the attribute and which is the value (the "flip" problem). Additionally, while it handles short fragments well, extremely long, descriptive attribute strings remain a challenge for the dependency parser.
Conclusion
This paper demonstrates that a semi-supervised learning approach can effectively bootstrap the extraction of structured product data from unstructured descriptions. By utilizing the co-EM algorithm, the system achieves high recall and precision with minimal manual effort, offering a scalable solution for building rich product databases in the retail sector.
Summary updated