---
title: "Generative Models for Product Attribute Extraction — Blume 2023"
description: "How generative extraction recovers product attributes that listings only imply, and how it compares with text tagging across datasets."
canonical: "https://research.elamur.ai/free/en/papers/blume-2023-generative-models-product-attribute-extraction/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/blume-2023-generative-models-product-attribute-extraction/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Generative Models for Product Attribute Extraction

# Generative Models for Product Attribute Extraction

Paper · 2023 · Ansel Blume, Nasser Zalmout, Heng Ji et al.

**Authors:** Ansel Blume, [Nasser Zalmout](https://md.research.elamur.ai/free/en/authors/nasser-zalmout/), [Heng Ji](https://md.research.elamur.ai/free/en/authors/heng-ji/) and [Xian Li](https://md.research.elamur.ai/free/en/authors/xian-li/) · **Year:** 2023 · **Venue:** Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.emnlp-industry.55/)
- [PDF](https://aclanthology.org/2023.emnlp-industry.55.pdf)
- [DOI 10.18653/v1/2023.emnlp-industry.55](https://doi.org/10.18653/v1/2023.emnlp-industry.55)

## Summary

A product listing can tell a shopper what an item is made of without naming the material. A description of a table might mention the pattern of its grain, giving the reader reason to infer wood even if the listing never uses that word. An extraction system that can only highlight words in the listing has no way to return that answer. The authors ask whether a system that writes its own answers can recover properties like these while remaining accurate when the answers are already stated. The question matters because retailers use structured product details for search, recommendations, and catalog analysis, and sellers do not always supply every property a catalog needs.

The authors give each system the listing text, the product category, and the name of the requested attribute, such as material or scent. The system generates an answer that is then converted into a set of values. The authors adapt BART to the task through [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), meaning that they update its parameters on labeled product examples. They compare a written prompt with a learned prompt that represents the category and attribute as vectors. They also test Llama and Vicuna with their parameters held fixed, using a task description and two worked examples in the prompt. Generating an answer expands what these systems can return, while also giving them room to produce values with weak or absent support.

On the explicit-only evaluation of the English Amazon test set, soft-prompted BART reaches .5282 F1, which combines precision and recall, compared with .4640 for AdaTag, the stronger tagging baseline on that metric. The improvement comes through precision, the share of returned values that match the reference answers. When the evaluation includes implicit values, the difference between the BART prompts narrows to .3921 F1 for the soft prompt and .3919 for the written prompt. The written prompt recovers more implicit values, while a separate manual check confirms that the soft prompt can also produce correct implicit answers. That check finds .29 precision among the sampled implicit predictions after accounting for synonyms.

The broader comparisons show where the advantages hold. On the stratified MAVE subset, fine-tuned BART has much higher precision than the taggers on the low-resource attributes, although AdaTag retrieves a larger share of their reference values. On multilingual Amazon data, fine-tuned generators lead in recall for German, the locale with the fewest training examples. Translating the prompts generally fails to improve recall. Frozen Llama is competitive with some fine-tuned systems on explicit English Amazon extraction, while both frozen systems fall well behind fine-tuned BART on MAVE. The paper thus establishes that generation can extend the range of answers and improve some explicit extraction results. Its comparisons also show how much the outcome depends on the data, the prompt, and the system’s ability to return an answer in a usable format.

## Deep dive: Generative Models for Product Attribute Extraction

How generative extraction recovers product attributes that listings only imply, and how it compares with text tagging across datasets. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A catalog field is a question about a particular product

Product attribute extraction is a form of [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). It turns information expressed in a listing into values that can be stored under named fields. In the paper’s formulation, the field is specified in advance. If the field is scent, the system needs to find the scent of the item being sold. It may have to pass over nearby references to ingredients or to other objects. If the listing does not give enough evidence for a value, it should return an empty answer. The target can also contain several values, so finding a single good answer may leave the field incomplete.

These distinctions matter when a catalog relies on structured values. A listing can be available for customers to read while still lacking the metadata that search or recommendations use. The authors describe the difficulty of asking sellers to fill a large number of fields and of populating newly introduced fields for products already on sale. The extraction task offers a way to use the material sellers have already written. In the paper’s experiments that material is text, though the broader problem can also involve images.

There are different reasons that a requested value might be absent from its field. The listing may say it directly elsewhere. It may describe an item in terms from which the value can be inferred. Or the listing may genuinely leave the question unanswered. The first case requires locating and interpreting the relevant words. The second requires turning a clue into a value the writer did not supply verbatim. The third requires stopping short of a guess. An extraction method that can handle the second case therefore has to contend with the third as well.

Even when the answer appears as a string, locating it and interpreting it are separate problems. A product description can contain several words that would make plausible answers to the same question in isolation. To decide which one to return, the system must connect it to the right property and the right item. A color mentioned for an accessory, for example, may be a poor answer for the color of the main product. This is one reason the paper evaluates generation on explicit values as well as implicit ones. Returning words from the input is a restriction on the source of a prediction, while choosing the correct words still requires understanding their use in context.

#### From selecting a known value to finding a new one

The paper traces earlier work from closed vocabularies to open ones. With a closed vocabulary, each field has an established set of possible answers and the task can be treated as [classification](https://md.research.elamur.ai/free/en/concepts/text-classification/). A system decides which of the available labels fits. That formulation makes the answer space clear, but the authors point out that new products can bring values beyond the original catalog of labels. Maintaining a fixed choice set becomes a constraint on what the system can record.

OpenTag addresses this constraint by assigning labels to tokens in the product text. A [token](https://md.research.elamur.ai/free/en/concepts/tokenization/) is a unit of text processed by the system. A consecutive run of tokens marked as belonging to an answer becomes an extracted value. This allows a tagger to return a string it has never encountered as a field value during training, provided the product text contains it. Open vocabulary in this sense concerns which strings can be copied out of a listing. It still leaves the listing itself as the boundary of the answer space.

The authors describe several ways earlier research developed this approach. SUOpenTag trains a shared extractor across attributes, replacing the need to train a separate OpenTag system for every field. AdaTag also shares an extractor, adapting its tagging parameters to the requested attribute through a hypernetwork and a mixture of experts. In this setting, a hypernetwork produces parameters used elsewhere, and the mixture lets specialized components contribute to the labeling decision. MAVEQA uses a long-document architecture so it can consider extensive product profiles while still returning tagged text spans. The paper connects that design to [ETC](https://md.research.elamur.ai/free/en/papers/ainslie-2020-etc-encoding-long-structured-inputs/).

Another line of work treats an attribute as a question. In extractive [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/), the product text supplies the passage from which the answer is selected. This changes how the system receives the request and locates relevant text, while retaining the requirement that the answer occupy a span in the passage. Both this approach and tagging supply a direct textual location for a returned value. That location can be useful for checking an answer, although a marked span can still be about the wrong property or object.

#### What generation changes

With [text generation](https://md.research.elamur.ai/free/en/topics/text-generation/), the words of an answer can differ from the words that supply the evidence. A description of wood grain can support a material value of wood, even though the answer is absent as a span. The model’s freedom to choose its own tokens makes this kind of output possible. The same freedom also makes unsupported values possible. The paper places this risk in the context of previous studies of hallucination, the production of invented or inaccurate content in generated text. [Survey of Hallucination in Natural Language Generation](https://md.research.elamur.ai/free/en/papers/ji-2022-survey-hallucination-natural-language-generation/)

The paper also describes earlier uses of generation for product attributes. Roy and colleagues first considered completing missing text and generating values from product titles. In a subsequent study they generated fields together with their values, so the field itself was part of the answer. Lin and colleagues considered visual and textual evidence together. In the present paper the requested field is supplied as an input, and the experiments focus on product text. This makes it possible to ask the same question of a tagger and a generator and to identify which part of the difference arises when the reference value has no span.

The paper’s main questions follow from that choice. Can a generator compete with taggers where the supporting answer is explicit? Can it use indirect evidence to supply values that a span-based system cannot return? How does the way the request is presented affect either behavior? Answering these questions requires keeping the source of the evidence, the expected answer, and the way a system returns it distinct throughout the evaluation.

### The method, step by step

#### Start with a listing and a field to fill

Consider the paper’s example of a decorated Christmas tree. Its listing mentions red and gold decorations, both of which can be extracted for the color field because the words occur in the product text. Green may also be an appropriate value for the tree itself when it is implied by the description. The authors use the example to show that a single field can contain explicit and implicit values at the same time. From the point of view of a catalog record, both kinds of value eventually occupy the same field.

The paper expresses the task as producing a set of strings. It uses the following notation for that set.

```
{s₁, …, sₙ}
```

The braces denote a set. Each `s` is a string giving one value, the subscripts identify the individual strings, `n` is the number of values, and the ellipsis stands for any strings between the first and last. The authors call the product text `t` and the requested attribute `a`. The strings in the set are answers for `a` on the evidence of `t`. If no answer can be determined, the desired set is empty. The practical input also includes the category of the product, which is known from a taxonomy.

The formulation leaves the values as strings. It supplies no fixed inventory from which the system must choose. An explicit string can be found directly in the text. An implicit one can be absent from the text while still being supported by it. In the latter case the experiment needs reference annotations that allow a value to count as correct even when there is no span to label. The English Amazon data is especially important for that question because the data collection does not require all answers to be copied from the listing.

#### Turn the question into a generation request

The product profile supplies the title and description. The authors also give the system the product category and the field to be extracted, so it knows both what kind of item it is looking at and which property is being requested. Category information can help narrow the interpretation of words in the listing. It is supplied to the extractor, so predicting the category is outside the job being evaluated.

A generator writes its answer autoregressively, meaning that it predicts successive tokens using the inputs and the answer tokens it has already produced. To train this kind of system on a set of answers, the authors first represent the set as a line of text. Distinct values are joined with `or`. If the answers are `A` and `B`, the target is `A or B`. For training, the paper says the values are ordered by where they appear in the listing. The purpose is to give the training procedure a consistent representation when several orderings would yield the same set. The paper does not specify how this ordering is extended to cases with several values that have no occurrence in the text.

At evaluation time the order is discarded. The output is split into values at the separator and compared with the reference set. An output consisting only of `unknown` means the system abstained. This creates a path from text input to a structured answer without imposing a span constraint or a fixed answer vocabulary. It also makes the extraction process depend on following the requested format. Extra conversational text can become part of what is parsed as a value, even if a human reader can recognize the intended answer.

From a product listing to its attribute values The steps in order.

#### Give the fine-tuned generator a written prompt

A hard prompt is made of ordinary text. The authors write a template with slots for the requested field and the product type, then fill those slots for each listing. The wording presents the field value as the missing part of a statement. A mask token marks the answer location, and the title and description supply the evidence. For the multilingual data the template also has a place for the locale.

The reason for using a mask is to give the request a form that resembles a denoising task from pretraining. In denoising, the system learns to recover text after part of it has been obscured. The paper applies that idea to a statement whose missing part is the desired field value. The mask serves as an instruction about what belongs in the answer, while the product text and the filled slots determine what the answer should say.

The authors report that prompting their medium-sized systems with the parameters frozen did not produce viable extraction results. Their interpretation is that the extraction task differs substantially from what those systems were asked to do in pretraining. They therefore update the generator’s parameters on the product data. The hard prompt still has a role after this decision. It identifies the request in a consistent form, and the supervised examples teach the generator how to respond to it. On the English Amazon and MAVE comparisons, written prompts are tested with BART. The multilingual experiments use hard prompts with mBART-50 and [mT5](https://md.research.elamur.ai/free/en/papers/xue-2021-mt5-massively-multilingual-pre-trained/).

In the translation comparison, the authors change the language in which the request is made. One condition uses English prompt text even with French or German listings. The other uses a prompt in the listing’s language. The fine-tuned systems are trained in their respective conditions, so this is a comparison between training and evaluation setups. It does not amount to a last-minute rewrite of the test prompt for the same trained system.

#### Learn a prompt for each category and attribute

The soft-prompt variant replaces the written instructions with a prefix made of embeddings. An embedding is a numerical vector the generator can use as input. A written prompt goes through the ordinary representation of its tokens. A soft prompt gives the generator vectors directly, and their values can be learned during training. These vectors do not have to correspond to any particular sentence.

In the paper’s implementation, a separate prompter produces the vectors. It is conditioned on the attribute and product type, so a request for the scent of a product receives a prefix determined by a different combination of cues than a request for its material. The design can learn how to represent the two inputs together. The category and requested field still come from the task data, and the product text still provides the evidence for the answer.

The prompter uses [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). The authors freeze all except its top two layers, and they fine-tune BART itself. The appendix specifies that the prompter input is padded to 20 tokens, so the prefix delivered to BART contains a fixed number of embeddings. This setup differs from the parameter-saving use of soft prompts described in earlier work, where learned prompt vectors can be tuned while the generator is frozen. Here the generator and the adjustable part of the prompter can both adapt to the extraction data. [The Power of Scale for Parameter-Efficient Prompt Tuning](https://md.research.elamur.ai/free/en/papers/lester-2021-power-scale-parameter-efficient-prompt/)

The written and learned prompts present the same task and use the same convention for answer strings. They change how information about the category and field reaches the generator. In interpreting the comparison, the learned variant also brings the separate prompter and its trainable layers. A performance difference therefore describes the behavior of these complete configurations.

#### Demonstrate the task to a frozen generator

For the larger systems, the authors use [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) in the prompt. Their 7B versions of Llama and Vicuna receive a description of the task, two worked examples for the attribute being requested, and the new product profile. No parameter updates are made in these experiments. An example shows a listing, the question about an attribute, and a suitable answer. The final profile asks for an answer to the same kind of question. [LLaMA](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-open-efficient-foundation-language/) · [Language Models are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/)

The authors use a conversational format for the demonstrations. This explicitly introduces the examples and presents their questions and answers before moving to the new listing. They also tested a format for Llama in which marked answer spans identified the example answers and the final product followed without the same conversational transition. That format performed worse in their trial. The authors chose the conversational format for both Llama and Vicuna. When translating it, they translated the surrounding instructions and demonstration wording but retained the product text and answers.

Available input length shapes this setup. The paper reports that the instructions, two examples and query profile fill the 2048-token context windows used for Llama and Vicuna. A context window is the amount of input the system can accommodate at once. Listings beyond the allowed input length are handled differently by the two kinds of system. For the medium-sized ones, the input text is truncated. For Llama and Vicuna, a case that exceeds the input length is recorded as an `unknown` prediction. Length can therefore affect the measured recall even before any comparison of answer quality.

#### Adapt the systems on the product data

The Amazon training data comes from values supplied by sellers. A separate validation set is drawn from 20% of the training data. This gives the authors a way to select a trained checkpoint using examples outside the data used for its updates. The paper says checkpoints are chosen by validation loss, a measure of error against the training objective on held-out examples. The Amazon test data is curated by annotators. The distinction matters because a training example supplies a single value, while a test example can recognize multiple acceptable values.

The English Amazon runs use a learning rate of 2e-5 except for AdaTag, which uses 3e-4. The learning rate sets the size scale of parameter updates. The multilingual Amazon runs use 2e-5 for the trainable systems. On the stratified MAVE subset the rate is 3e-5, again with 3e-4 for AdaTag. The appendix identifies Adam as the optimizer, the procedure that converts the training signal into parameter updates. [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/)

For each Amazon dataset, training runs for 100K steps with a batch size of 16. A batch is the group of examples processed together for an update. For MAVE the authors train for three epochs with a batch size of 8. An epoch is a pass through the training data. These settings apply to the systems trained for the task. The frozen systems are evaluated through demonstrations in the prompt, so they do not have a corresponding product-data training run in the reported comparison.

### Experiments and results

#### Score the returned values as sets

Each system ultimately predicts zero or more values. For taggers, the authors define an answer as a continuous run of tokens assigned the `I` tag. The `O` tag marks text outside an answer. If no tokens receive the `I` tag, the prediction is empty. For generators, post-processing splits the answer at `or` and recognizes the single-token `unknown` response as empty. Each output is therefore evaluated as a collection of strings, regardless of how the system obtained them.

Precision measures the share of predicted values matching reference values. Recall measures the share of reference values that are recovered. A system that supplies only a highly plausible answer may obtain good precision even if the listing has other valid answers. A system that returns a broad set may retrieve more of the reference answers while introducing extra values and lowering precision. F1 combines precision and recall and rewards performance on both. The English Amazon results give all three metrics. The main multilingual and MAVE tables report precision and recall separately, and the MAVE analysis also examines F1 by attribute.

The reported precision and recall are macro averages over attributes. An attribute is therefore the unit of averaging, rather than each listing contributing directly to one pooled score. This matters in comparisons with uneven coverage. An extractor can perform well on a field with many examples while being unreliable on a rarer field. An attribute-level average helps expose that difference. The interpretation of a particular score still depends on the dataset, the fields it includes, and whether the references admit answers missing from the text.

#### English Amazon measures explicit and implicit extraction

The English Amazon dataset covers material, scent, item form, flavor, and fabric type. Its training labels come from sellers, and the test labels are prepared by a team following annotation instructions. The paper reports 152,798 explicit training examples, 1050 implicit training examples, and 57,073 training examples designated unknown. The corresponding test counts are 2885 explicit, 427 implicit, and 2139 unknown. The proportions the authors report for implicit examples are .50% in training and 7.8% in the test set. An extractor learns from a collection in which implicit answers are relatively unusual and is then evaluated on a collection where they are more prominent.

The comparison includes the sequence taggers AdaTag and SUOpenTag with BERT. The generation comparisons include BART with a written prompt, BART with a learned prompt, and frozen Llama and Vicuna with demonstrations. The paper reports scores for explicit extraction by itself and for an evaluation that includes both implicit and explicit values. This lets readers compare systems where all the scored answers are in reach of a tagger and then see what happens when the expected answers can also fall outside that space.

Explicit extraction F1 on the English Amazon test set Soft-prompted BART leads the explicit extraction comparison.

**The numbers**

| System or setting | F1 |
| --- | --- |
| AdaTag | .4640 |
| SUOpenTag with BERT | .4055 |
| BART with hard prompt | .4241 |
| BART with soft prompt (this paper) | .5282 |
| Frozen Llama with hard prompt | .4046 |
| Frozen Vicuna with hard prompt | .3170 |

The explicit comparison is primarily a precision result for soft-prompted BART. Its .7131 precision is higher than AdaTag’s .5145 and hard-prompted BART’s .4643. Its .4195 recall is close to AdaTag’s .4226, the best recall in the explicit comparison. Within this test, the learned prompt therefore yields a much larger change in the share of correct predictions than in the share of reference values recovered. Hard-prompted BART is competitive with some of the baselines, while AdaTag still achieves the stronger F1 in that pairing. The choice of prompt is consequential even when the correct string is available to any system.

The frozen systems illustrate why precision and recall are worth reading together. Llama reaches .5484 precision on explicit extraction, higher than several fine-tuned systems, with .3205 recall. Its .4046 F1 is close to the .4055 of SUOpenTag with BERT. Vicuna has .4973 precision and .2326 recall, yielding .3170 F1. There is a specific sense in which the demonstrated task is competitive here. Llama’s predicted values often match the references, while it retrieves a smaller fraction of the answers than the leading fine-tuned systems.

When scoring includes both explicit and implicit values, AdaTag’s recall is .3497 and SUOpenTag’s is .3219. A tagger cannot supply a correct string that has no location in the listing, so some of the expanded reference set is beyond its output space. In this evaluation hard-prompted BART reaches .4343 precision, .3570 recall, and .3919 F1. Soft-prompted BART reaches .3982 precision, .3862 recall, and .3921 F1. The learned prompt remains marginally ahead on F1, while the two setups differ in their balance of precision and recall. AdaTag records .3722 F1 and SUOpenTag .3569. Frozen Llama reaches .3206 F1 and frozen Vicuna .2603 F1 in this broader evaluation.

Those aggregate results do not indicate exactly which generated answers were implicit and correct. The authors report that the written-prompt system gets more implicit values right and that the learned-prompt system is more inclined to stay close to mentioned values. For soft-prompted BART they also inspect a random sample of implicit predictions, allowing for synonyms, and estimate precision of .29 for those predictions. This check shows that the system can find some valid answers outside the text. The figure is for the sampled implicit predictions, a different population from the full set of answers underlying the main precision results.

#### Multilingual Amazon tests locale and prompt language

The multilingual Amazon dataset contains examples from en_US, fr_FR, and de_DE. The reported training counts are 210,895 for en_US, 174,507 for fr_FR, and 164,972 for de_DE. The test counts are 5451, 7107, and 5564 for those locales in the same order. German is the least represented locale in training. It still has a substantial collection of examples, so the paper’s description of it as lower resource is relative to the other locales in this dataset.

The locales share material, scent, item form, and flavor, expressed in the corresponding languages. Each also has a distinct field. Fabric type is the additional field for en_US, recommended uses for fr_FR, and color for de_DE. The results by locale consequently reflect differences in the properties being evaluated as well as differences in the language and the amount of training data.

For this experiment, the authors use SUOpenTag initialized with multilingual encoders. The variants include multilingual BERT and two sizes of the encoder the paper identifies as XLM-R, reported as XLM-base and XLM-large in the results. AdaTag is left out because its implementation uses English [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/) embeddings. The fine-tuned generators are mT5-small and mBART-50. Llama and Vicuna again take demonstrations in their prompts. [Unsupervised Cross-lingual Representation Learning at Scale](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/)

German test recall on multilingual Amazon Fine-tuned generators with English prompts recover more German reference values than the taggers.

**The numbers**

| System or setting | Recall |
| --- | --- |
| SUOpenTag with multilingual BERT | .2145 |
| SUOpenTag with XLM-base | .2126 |
| SUOpenTag with XLM-large | .2081 |
| mT5-small with English prompt | .2650 |
| mBART-50 with English prompt (this paper) | .2839 |
| mT5-small with translated prompt | .2393 |
| mBART-50 with translated prompt | .2657 |

In German, both fine-tuned generators exceed all the tagging variants in recall under both prompt conditions. The highest recall belongs to mBART-50 with the English prompt. The high-precision configuration differs. Translated mT5-small reaches .4219 precision, compared with .3982 for the strongest German tagging precision, recorded by SUOpenTag with XLM-large. That gain for mT5-small accompanies a change in recall from .2650 with the English prompt to .2393 with the translated one. The German results therefore support a recall advantage for fine-tuned generation while also showing that prompt choice depends on which error matters for the application.

The advantage is narrower in the other locales. For en_US the highest precision is .4705 from SUOpenTag with XLM-large. The best recall is .3279 from mBART-50 with the English prompt, compared with .3184 from SUOpenTag with multilingual BERT. For fr_FR, SUOpenTag with XLM-large has the highest precision, .5633. The highest recall is .2062 from mBART-50 with the English prompt, with multilingual BERT tagging reaching .2050. The same generator has the highest recall in each locale, but the comparison with the taggers on this metric is most distinct in German.

The frozen systems have lower recall than the fine-tuned generators. With English prompts, Llama has .2580 recall on en_US, .1142 on fr_FR, and .1623 on de_DE. With translated prompts those scores are .2535, .0872, and .1575. The paper describes the frozen systems’ overall behavior as broadly similar across prompt languages. Translating can move a particular result in either direction, and the recall figures do not suggest that matching the prompt language to the listing is sufficient to close the gap to supervised adaptation.

#### MAVE tests extraction over attributes with different coverage

MAVE provides a broader set of product attributes and concentrates this comparison on explicit extraction. Its reference values come from an ensemble of AVEQA systems, in contrast to the seller-supplied and manually curated sources used in the Amazon comparisons. The authors use a subset in which they sample attributes separately according to their number of examples. Their resource bands are defined with these bounds.

```
low: < 500
```

The sign `<` means fewer than. An attribute belongs to the low-resource band if it has fewer than 500 examples.

```
medium: 500 ≤ … ≤ 5000
```

The ellipsis stands for the number of examples for an attribute. Each `≤` marks an inclusive bound, so 500 and 5000 belong to the medium band.

```
high: > 5000
```

The sign `>` means greater than. The high-resource band contains attributes with more than 5000 examples.

The authors sample 1/10th of the attributes in each band. The resulting subset contains 28 low-resource attributes, 27 medium-resource attributes, and 14 high-resource attributes. They sample attributes because randomly drawing examples from the whole collection would favor the common fields. Stratification keeps the rare fields represented and allows the paper to report results by coverage. The comparison uses the same systems as the English Amazon experiment. The authors also report that they tried training MAVEQA with its released code and did not obtain good results. MAVEQA does not have a score in the comparison.

Precision on low-resource attributes in the MAVE evaluation subset Both fine-tuned BART configurations yield substantially higher precision on scarce attributes than the tagging systems.

**The numbers**

| System or setting | Precision |
| --- | --- |
| AdaTag | .3910 |
| SUOpenTag with BERT | .3369 |
| BART with hard prompt (this paper) | .8454 |
| BART with soft prompt | .8136 |
| Frozen Llama with hard prompt | .2658 |
| Frozen Vicuna with hard prompt | .2207 |

Low-resource recall adds an important qualification. AdaTag reaches .8815 recall, compared with .7964 for hard-prompted BART and .7751 for soft-prompted BART. SUOpenTag with BERT reaches .5188. So the AdaTag result shows a high-coverage tagger with many incorrect returned values in that band, while BART gives up some coverage in return for much higher precision. That distinction gives a more exact meaning to the reported low-resource advantage than a claim that generation wins every metric.

On the medium-resource MAVE attributes, hard-prompted BART reaches .9040 precision and .8190 recall, while soft-prompted BART reaches .8927 precision and .8324 recall. AdaTag reaches .6491 precision and .8045 recall. On the high-resource attributes the hard and soft prompts reach .9576 and .9498 precision, respectively. AdaTag, with .8341 precision, records .9410 recall, ahead of soft-prompted BART’s .9342 and hard-prompted BART’s .9245 recall. Across the full subset, BART with a written prompt has .8994 precision and .8385 recall. The learned prompt has .8816 precision and .8405 recall. AdaTag again offers higher recall at .8627, with .5919 precision.

The frozen results on MAVE are well below the BART results. Across the evaluated attributes, Llama has .2245 precision and .4448 recall, while Vicuna has .2392 precision and .3845 recall. The figures also qualify the authors’ general observation that Llama typically performs better than Vicuna. Llama retrieves more reference values in this comparison, while Vicuna has higher precision. Both systems use the same demonstration-based setup that produced some competitive results on explicit English Amazon data. Its effectiveness depends on the evaluation setting.

### What the ablations show

#### Prompt design changes which answers are favored

The paper studies the prompt through paired configurations, inspection of predictions, and comparisons across data conditions. It does not present a component-by-component removal study of the soft prompter. The closest comparison to such a study is between hard- and soft-prompted BART, where the task and the answer representation stay the same. That comparison is most informative when the explicit and mixed English Amazon results are read together.

On explicit values, the soft prompt gives BART much higher precision than the written prompt and a smaller increase in recall. Qualitative inspection suggests that the learned-prompt system frequently anchors its answer in the listing. On a task where the reference values are visible in the text, that tendency can support a precise prediction. When implicit values are included, the written-prompt system recovers more of those unmentioned values, according to the authors’ analysis. Its precision advantage in the combined comparison and the soft prompt’s recall advantage describe their overall output on the combined set. They should not be read as separate scores for implicit values.

The MAVE comparison helps show how much the prompt result depends on the data. Both BART variants are highly precise on the explicit task there, and the written prompt has higher precision in each resource band. Soft prompting therefore does not have a uniform precision advantage even when the answers are explicit. The category information and requested field reach BART through different mechanisms, and the results indicate that the practical value of those mechanisms depends on the extraction setting.

The language comparison tests another expectation, that a prompt in the same language as the listing would better match the conditions of pretraining. The authors observe somewhat weaker results overall after translating the prompts. The German precision result for mT5-small is an exception worth preserving because it shows that language matching can benefit a particular metric while lowering another. For the fine-tuned systems, the comparison also includes training with the translated prompts. It measures the outcome of a whole input-language choice during adaptation and evaluation.

The authors suggest that a greater presence of English during pretraining may account for the good performance of English prompts. They also suggest that the few demonstrations that fit in the frozen systems’ context are a more important constraint for those systems than the language of the instructions. The prompt translation experiment varies the input wording. It supplies no intervention on the pretraining data and no comparison across different numbers of demonstrations from which to estimate either proposed mechanism.

#### The errors distinguish inference from word matching

The paper’s examples help explain why a span constraint does not guarantee a valid attribute value. In a clove conditioner example, AdaTag returns coffee for scent. Coffee is a reasonable thing to recognize as a potential scent in a catalog. In this listing it serves as a coloring ingredient, so the word does not answer the requested question. The paper gives further examples in which a tagger chooses descriptive terms associated with secondary objects. These cases clarify what a contextual error looks like when the predicted string is present in the text.

The generator’s examples show a different range of behavior. BART predicts powder for a supplement when that form is not named, and it returns metal when the listing contains clues but does not use the material word. The authors read the supplement case as evidence that the generator can draw on a learned expectation about similar products. It is also possible to see the risk in that same action. A plausible expectation about a category has to be checked against the evidence for the particular listing.

The examples include a case where the inference fails. BART misses a liquid item form in spite of a quantity expressed in fluid ounces. The clue is in the listing, and a reader can connect the measurement to physical form. The system’s failure shows that permitting an unmentioned answer does not ensure the relevant cue will be used. Taken together, the examples distinguish the capacity to emit an implicit value from consistent success at identifying when it is warranted.

The separate manual review of the learned-prompt system’s implicit predictions adds a check on string matching. Some predictions can differ from the reference label while expressing the same value. By allowing synonyms in the review, the authors ask whether at least some unmentioned predictions are substantively correct even when an exact comparison would miss them. The result is an assessment of sampled predictions. It cannot tell how many of all the implicit reference values the system recovered.

#### Resource bands show where the gap is widest

The paper’s resource analysis looks at MAVE attributes in bands and also orders individual attributes by how many examples they have. Fine-tuned BART maintains high precision across the bands. AdaTag’s precision is much lower on the low-resource band than on the high-resource band, even though its recall remains high in both. The result supports the authors’ argument that generation is effective when examples for an attribute are scarce. In this comparison, much of the evidence for that claim comes from the accuracy of the values returned.

The paper also plots per-attribute F1 against the amount of training data. It fits smooth curves with polynomial regression and interpolates for attributes where a system makes no predictions. The authors read those curves as evidence that the fine-tuned generators are competitive across the range of data availability. Different attributes vary in difficulty, as the authors acknowledge in discussing the curves. A point further along the horizontal axis represents a different field, with its own wording and answer distribution, as well as a larger training collection.

The frozen systems underline that interpretation. Their fitted curves can slope downward across the ordering, even though those systems do not train on the examples counted on the horizontal axis. The resource order is therefore also an order over different tasks. In the multilingual experiment, the relatively strong German recall is consistent with the MAVE evidence for better behavior under scarcity. It still comes from a comparison across locales and their field sets, with no controlled reduction of training examples for a fixed locale and attribute.

#### The way an answer is written affects the extraction

The prompt experiment with frozen Llama shows that the organization of demonstrations can matter. The authors’ earlier version marked example answers with delimiters and then supplied the target listing. Their final version made the sequence of demonstration questions and answers explicit and introduced the target as the next case. The paper reports that the earlier version performed worse for Llama, without giving a numerical breakdown. The comparison motivates the published prompt choice while leaving the contribution of each wording or layout change unresolved.

The final prompt is also used for Vicuna, which had been tuned for conversation. The authors report that it often answered in conversational forms that did not match the expected answer format. Llama followed the requested format more consistently and generally performed better in the extraction comparisons. A system can recognize a value yet express it with surrounding prose that the output processing has difficulty turning into a clean set. The reported scores measure the combination of identifying a value and delivering it in an extractable form. The study does not quantify how much of the difference would remain with a parser designed for a wider range of response forms. [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://md.research.elamur.ai/free/en/papers/zheng-2023-judging-llm-judge-mt-bench/)

The authors give a data-related explanation for why the frozen systems fare better on explicit English Amazon extraction than on MAVE. Amazon’s seller-sourced training labels and carefully curated test labels differ in how they are produced. MAVE’s splits come from the same automated labeling process. The authors argue that the frozen setup may be less tied to the seller annotation patterns learned during fine-tuning. The experiment compares datasets that also differ in their attributes and references, so it shows a performance pattern consistent with that explanation. It does not isolate the change in annotation source as the cause.

### Limitations

#### Limits the authors identify

The potential to generate unsupported values comes with the broader output space. A token tag supplies a location that a reviewer can inspect. An unmentioned value depends on an inference whose evidence may be distributed across the listing or drawn from an expectation about the product category. The paper’s examples show both successful inference and missed clues. The authors treat the possibility of hallucination as part of the problem they are studying, and the inspection of implicit outputs gives a measure of how frequently some of those outputs withstand review.

The authors also identify the available context as a limit on the frozen systems. Task instructions and demonstrations consume space that could otherwise be used for the query listing, and the evaluated setup has room for only two examples. Their results describe what the named systems do in that setting. The authors propose investigating longer contexts with additional demonstrations and extending the learned prompting architecture to larger systems. The current experiments give no results for those versions.

The authors explain that a resource band represents a collection of different fields, which can differ in intrinsic difficulty. They mention this when discussing the fitted MAVE curves. Their account of the translated prompts likewise distinguishes the measured outcome from speculation about English exposure in pretraining. These limits matter because it is possible for the comparative results to hold in the paper’s setup even if the proposed explanation for them changes under more controlled conditions.

The benchmark comparison also has a practical limit acknowledged in the paper. The authors could not obtain good results from their run with the released MAVEQA code. The MAVE experiments consequently establish comparisons with the taggers and generators whose results are reported. They leave the comparison with a well-performing MAVEQA run unresolved.

#### Limits visible in the experimental design

Under set-wise string scoring, a prediction can be semantically appropriate and still fail to match its reference. The manual check that accommodates synonyms shows the relevance of this problem, but covers a sample of implicit outputs from soft-prompted BART. There is no corresponding manual semantic precision and recall comparison across all the systems. Nor do the scores identify which words or phrases actually supported a generated inference. A matching answer demonstrates agreement with the annotation, while a stronger account of grounding would require evidence about the basis of the individual prediction.

The English Amazon splits also represent different labeling conditions. Seller annotations provide supervision with one value per example. Test annotators can recognize multiple acceptable answers. The greater prevalence of implicit values in the test split affects what good recall requires. This is informative for a setting in which supervised data and evaluation data are collected differently. It also means the study cannot attribute a particular score change solely to the introduction of implicit values or to the annotation shift across datasets.

The aggregate mixed English Amazon results are particularly easy to overinterpret. They combine behavior on explicit and implicit answers, and the systems can abstain. A system’s mixed precision or recall tells the reader its performance against that combined set, with no direct way to recover its implicit-only scores from the reported aggregates. The manually reviewed .29 precision applies to a sample of a specific system’s implicit predictions. The paper offers clear examples of successful inference, alongside a more limited measurement of how reliably that ability generalizes across fields and systems.

The language and resource analyses are observational comparisons within the selected datasets. German has the least training data of the measured locales, but the languages also differ in their distributions of products and include distinct fields. The MAVE bands compare fields with naturally different example counts instead of controlling how much data the same field receives. These results support claims about relative performance in the reported low-resource groups. A causal account of data efficiency would require varying training set size on the same task while holding the evaluation fixed.

MAVE’s labels also shape what success means. Because the comparison uses references derived from automatic extraction, it rewards agreement with that benchmark’s explicit answer conventions. That provides a test at broader attribute coverage. The human-curated Amazon data addresses a different question by allowing implicit reference values and differences in acceptable answers. Performance on either dataset is evidence about the corresponding reference process and task, and its relevance to another catalog depends on how that catalog defines correct values.

The generation and tagging comparisons combine multiple design choices, including pretraining, parameters, prompts, and output rules. The hard- versus soft-prompt comparison is closer because it uses BART on both sides, but the learned condition introduces an additional prompter. The longer inputs also receive different treatment. One approach truncates its input, while the frozen systems return an empty prediction when the text does not fit. Without a score broken down by input length, the results cannot distinguish all losses caused by available context from those caused by extraction errors on profiles the systems actually process.

Finally, the experiments supply the category and the attribute as inputs. Their outcomes are about answering a field-specific question on a known product profile. They leave open how accurately a system could decide which fields to fill or infer the product category itself. Those tasks would change what information is available before extraction and what counts as a correct answer.

### What came after

[SHEINfer](https://md.research.elamur.ai/free/en/papers/khalifa-2026-sheinfer-implicit-product-category-inference/) cites the paper and, as its title indicates, studies implicit product category inference from Arabic e-commerce reviews. Its target is the product category, whereas Blume and colleagues supply the category as context for recovering the value of an attribute. Its input is review text, whereas the extraction experiments here use product listings.

The documented connection is the problem of recovering product information that is conveyed indirectly. In Blume and colleagues’ task, a known category can help interpret a clue about material or item form. In SHEINfer’s stated task, the category is itself what must be inferred. The citation and title establish that connection. They leave the later paper’s use of the prompting and evaluation procedures unspecified.

## Cite

Cite as Ansel Blume, Nasser Zalmout, Heng Ji and Xian Li. 2023. Generative Models for Product Attribute Extraction. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.emnlp-industry.55](https://doi.org/10.18653/v1/2023.emnlp-industry.55)

```bibtex
@inproceedings{blume2023generative,
  title = {{Generative Models for Product Attribute Extraction}},
  author = {Ansel Blume, Nasser Zalmout, Heng Ji and Xian Li},
  booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-industry.55},
  url = {https://doi.org/10.18653/v1/2023.emnlp-industry.55}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
