MixPAVE: Mix-Prompt Tuning for Few-shot Product Attribute Value Extraction

Li Yang, Qifan Wang, Jingang Wang, Xiaojun Quan, Fuli Feng, Yu Chen, Madian Khabsa, Sinong Wang, Zenglin Xu, Dongfang Liu

Introduction

Product Attribute Value Extraction (AVE) is a fundamental task in e-commerce, enabling features such as faceted search, product comparison, and recommendation systems. While traditional models perform well with abundant training data, the e-commerce landscape is characterized by a constant influx of new products and niche attributes (e.g., "Sensor Type" for drones). Collecting large-scale labeled datasets for these emerging attributes is often impractical.

Fine-tuning large Transformer-based models on limited data (few-shot learning) typically results in overfitting, where the model memorizes the small sample set instead of learning generalizable patterns. To address this, we introduce MixPAVE, a parameter-efficient "mixed prompt" tuning method. MixPAVE trains less than 1% of the model's parameters, outperforming full-model fine-tuning in few-shot scenarios by effectively leveraging pre-trained linguistic knowledge.

Methodology: Mixed Prompt Tuning

MixPAVE utilizes a frozen T5-base encoder as its backbone and introduces two distinct types of learnable "Mixed Prompts" to adapt the model to specific extraction tasks without modifying its core weights.

The MixPAVE architecture integrates learnable textual prompts and key-value attention modifiers into a frozen Transformer backbone.

1. Textual Prompts ($P_T$)

These are learnable d-dimensional vectors prepended to the input sequence at every Transformer encoder layer. They serve as task-specific instructions, guiding the model's internal representations toward the requirements of the attribute extraction task.

2. Key-Value Prompts ($P_K, P_V$)

This novel component involves inserting small learnable matrices directly into the self-attention blocks of each layer. These matrices are concatenated with the original frozen Key and Value matrices. This allows the model to develop new attention patterns—altering how it processes information—without losing its fundamental language understanding.

By freezing the backbone and only updating the prompts and a lightweight Conditional Random Field (CRF) extraction head, MixPAVE trains only 0.445M parameters (approximately 0.4% of the total model).

Experimental Setup

The model was evaluated on two major e-commerce benchmarks:

  • AE-110K (AliExpress): Tested on three "new" attributes ('Lenses Color', 'Wheel Material', 'Product Type') using only 10 training examples per attribute.
  • MAVE (Amazon): Evaluated on four attributes ('Device Type', 'Boot Style', 'Resolution', 'Compatibility') using 100 training examples each.

Key Results and Insights

MixPAVE consistently outperforms both full fine-tuning and state-of-the-art parameter-efficient fine-tuning (PEFT) methods like Prefix-Tuning and XPrompt.

Performance comparison and ablation study across AE-110K and MAVE datasets.

Performance Gains

On the MAVE 'Device Type' attribute, MixPAVE achieved an F1 score of 92.51, significantly higher than the 91.06 achieved by full fine-tuning (MAVEQA-FT). Similarly, on the AE-110K 'Product Type' attribute, MixPAVE reached 91.63 F1, outperforming Prefix-Tuning's 90.30.

The Necessity of "Mixed" Prompting

Ablation studies demonstrate that both textual and key-value prompts are essential. Removing either component leads to a significant performance drop (e.g., a ~2% F1 decrease on 'Boot Style'). While textual prompts provide necessary context, Key-Value prompts allow the model to adapt its internal information routing to the specific distribution of product data.

Deep Integration

Unlike early prompting methods that only modified the input layer, MixPAVE's "deep" approach—inserting prompts into every layer—is critical for maintaining high performance across diverse attribute types. By freezing the backbone, the model avoids "catastrophic forgetting," preserving robust pre-trained features.

Conclusion and Future Work

MixPAVE offers a robust solution for few-shot product attribute extraction by combining the strengths of textual and attention-based prompting. However, challenges remain. Current optimal prompt configurations are found via grid search, suggesting a need for automated hyperparameter optimization. Furthermore, while MixPAVE currently learns attribute-specific prompts, future research could explore attribute-agnostic prompts to enable true zero-shot extraction capabilities.

Summary updated

BibTeX
@inproceedings{yang2023mixpave,
  author = {Li Yang and Qifan Wang and Jingang Wang and Xiaojun Quan and Fuli Feng and Yu Chen and Madian Khabsa and Sinong Wang and Zenglin Xu and Dongfang Liu},
  title = {{MixPAVE: Mix-Prompt Tuning for Few-shot Product Attribute Value Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.633},
}
Figure