TL;DR
This paper introduces a novel generative approach to jointly extract product attributes and their values from e-commerce titles, moving beyond traditional sequence labeling. By framing Attribute Value Extraction (AVE) as a text generation problem, the authors achieve state-of-the-art results on two datasets, demonstrating the effectiveness of their word sequence-based and positional sequence-based paradigms.
What Problem Does This Paper Address?
In e-commerce, product titles and descriptions are crucial for customers to find and decide on purchases. A key piece of information within these texts are product attributes and their corresponding values (e.g., "Brand: Seiko", "Color: Gold"). Extracting this information, known as Attribute Value Extraction (AVE), is challenging because attributes and values are often implicitly stated or inconsistently formatted. Traditional methods often rely on complex sequence labeling architectures with task-specific designs or require attribute names as input. This paper aims to simplify AVE by treating it as a generative task, where the model learns to produce both the attribute and its value directly from the product title, without needing pre-defined attribute names.
Methods
The core contribution of this paper is the formulation of AVE as a text generation problem, tackled through two distinct generative paradigms:
- Word Sequence-Based Paradigm: This approach treats the entire output as a single sequence of attribute-value pairs. Each pair is formatted as "attribute; value", and multiple pairs are separated by a vertical bar "|". The model learns to generate this structured text directly from the input title.
- Positional Sequence-Based Paradigm: This paradigm is more akin to question-answering. Each attribute-value pair is represented as a 3-point tuple: the start and end positions of the value within the title, followed by the attribute name. This allows the model to pinpoint the exact location of the value.
Both paradigms leverage pre-trained sequence-to-sequence models like BART and T5, with BERT used as an encoder. The key innovation is that these generative models are applied to AVE without requiring task-specific model architectures or explicit attribute name inputs during inference.
Datasets
The authors evaluated their approach on two datasets:
- AV-DATA-V1: Derived from the work of Xu et al. (2019), this dataset consists of product titles and attribute-value pairs from the Sports & Entertainment category of AliExpress. The authors filtered out tuples with missing values and attributes appearing less than 60 times.
- AV-MAE: This dataset was collected from various e-commerce sites and includes product titles, descriptions, and attribute-value pairs. The authors performed extensive pre-processing, removing entries with "yes"/"no"/"na" values, values not present in the title, and attributes occurring less than 700 times.
The datasets were split into 80% for training, 10% for validation, and 10% for testing.
Key Insights and Ideas
- Generative AVE is Viable and Effective: The paper demonstrates that framing AVE as a text generation problem, rather than a sequence labeling task, can achieve state-of-the-art results. This simplifies the modeling process by removing the need for task-specific designs.
- Joint Extraction is Key: The generative approach naturally handles the joint extraction of both attribute names and their corresponding values, which is a significant advantage over methods that might extract them separately or require attribute names as input.
- Positional Information Enhances Extraction: The positional sequence-based paradigm, which explicitly encodes the start and end positions of values, shows strong performance, suggesting that precise localization is beneficial for AVE.
- Generative Models Outperform Tagging-Based Methods: Across both datasets, the proposed generative models (BART, T5, PNDec) consistently outperformed traditional tagging-based approaches in identifying sentences with single attribute values.
Key Results
The generative approaches achieved state-of-the-art results on both AV-DATA-V1 and AV-MAE datasets for joint attribute value extraction. Specifically:
- On AV-DATA-V1, BART achieved the best F1 score for the word sequence-based paradigm.
- On AV-MAE, T5 outperformed other models in the word sequence-based paradigm, though BART and T5 performance was comparable.
- The generative models (PNDec, BART, T5) consistently outperformed tagging-based approaches.
- For sentences with single attribute values, generative methods showed superior performance compared to tagging-based approaches.
Limitations and Future Work
- Annotation Limitations: The authors note that the datasets do not contain annotations for all possible attribute values. This means that correctly generated attribute values not present in the gold standard are marked as incorrect, potentially underestimating the models' true performance.
- Data Quality Issues: The AV-DATA-V1 dataset contained some incorrect values for attributes like "Model Number," which impacted the models' ability to extract accurate information.
- Handling Non-Contiguous Values: The positional sequence-based paradigm, while effective, might need extensions to handle cases where an attribute's value spans multiple non-contiguous positions in the text.
Future work could focus on designing more effective generative paradigms for AVE and exploring ways to mitigate the impact of incomplete annotations and noisy data.
Summary updated