Manuscript Offprint

arXiv:2610.21329

Hybrid Generative-Tagging Decoding for Efficient Product Attribute-Value Extraction

Keshav Kolluru, Manas Gupta, Maroof Ahmad, Suchitra Sathyanarayana

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Attribute–value extraction is important for building high-quality product catalogs in e-commerce. Existing systems either rely on generative or tagging strategies for extracting the attribute names and their corresponding values. Tagging models directly label spans in the source, making them fast and grounded, but they cannot produce values that require reformatting or generate rare attribute names outside their label space. Generative models avoid these drawbacks by generating both attribute names and values token by token, but this autoregressive nature makes them slow and limits attribute coverage. We introduce hybrid generative-tagging decoding, a novel model architecture that combines tagging source spans and open-ended generation. For frequent attributes whose values are copyable, a tagging head extracts values directly from the source. This lets the generative head focus on the remainder – rare attributes outside the tagger's label space and non-copyable values, including implicit or normalized values. Integrated into vLLM inference, the hybrid decoder raises attribute coverage by 10% and extracts 63% more correct attribute–value pairs at no precision cost, while reducing latency by 44%.

1 Introduction

Structured attribute–value pairs like (brand: Nike, color: red) power foundational e-commerce catalog operations like product matching (Primpeli et al., 2019) and serve as the critical knowledge base for modern agentic web navigators (Yao et al., 2022) and conversational shopping assistants (Lyu et al., 2025). Merchant-provided catalog fields on product pages are often noisy, and incomplete, with key attributes missing altogether (Yang et al., 2022; Subhalingam et al., 2025). Manual cleanup does not scale, making automatic, high-throughput attribute extraction essential for keeping fast-moving catalogs accurate enough for downstream shopping systems (Yan et al., 2021; Zhang et al., 2024).

Table 1: A product listing with both attribute types. Taggable values are contiguous spans of the source and can be copied verbatim; generative values must be reformatted or are only implied by the text.

Product: “Mrs Ball’s Original Chutney. Ingredients: Sugar, Vinegar, Water, Peaches, Apricots, Modified Maize Starch, Spices. Imported from South Africa.”

Taggable attributes (label source span)
brandMrs Ball's
product_nameOriginal Chutney
ingredientsSugar, Vinegar, Water, Peaches, Apricots, Modified Maize Starch, Spices
Generative attributes (reformat / implicit)
product_typecondiment
cuisineSouth African
diet_typevegetarian

Existing Attribute-Value Extraction (AVE) systems typically choose one of two regimes with complementary strengths. Tagging models label source spans with attribute names (Yan et al., 2021; Yang et al., 2022). They are fast and grounded in the input, but they can only return values that appear as spans and generally operate over a fixed label space. Generative LLMs instead produce attribute names and values as text (Khandelwal et al., 2023; Zou et al., 2024; Li et al., 2025). This supports normalisation, implicit values, and rare attributes, but every value must be decoded autoregressively, making inference expensive at catalog scale. Moreover, a generative model trained on incomplete annotations learns to emit about as many attributes as it saw labeled, which limits its coverage.

Product pages routinely require both capabilities at once. The listing in Table 1 pairs values that appear verbatim and should be copied exactly (brand, product_name, ingredients) with values that must be generated: a product_type (condiment) implied by the description, a cuisine (South African) read off ‘Imported from South Africa’, a diet_type (vegetarian) inferred from the ingredients. We call the first class taggable and the second generative. In our corpus 81.1% of values are taggable and 18.9% generative, and both co-occur within most records.

We propose hybrid generative-tagging decoding, a single-model strategy that splits attribute extraction into two channels that share a single LLM prefill over the product text. A tagging channel reads the prompt hidden states and scores the K=500K=500 most frequent attribute names, which cover 87.8% of attributes in our corpus; detected attributes are filled by copying contiguous source spans verbatim, without any decoding. The generative channel is an autoregressive decoder that emits only the remainder: attributes whose values are implicit/normalized, attributes outside the frequent-attribute vocabulary, and in-vocabulary attributes whose values are not contiguous source spans. The final output merges the attribute-value pairs produced from both the channels.

The tagging channel uses a lightweight span head. Each vocabulary attribute is represented by a query, the LM's own encoding of the attribute name. The head locates an attribute by scoring every input position as a possible value start against a learned NULL option that lets it abstain, and delimits the value with a second pointer that scores end positions; start and end are independent pointers into the same prefill states. All K attributes are resolved in one batched pass over the prefill states, so copied values add grounded content without any extra decoding steps. Since each attribute is tested independently, the span head can surface more attributes than present in the incomplete training set.

Our contributions are:

• We introduce hybrid generative-tagging decoding, which shares a single LLM prefill between an autoregressive generative channel and a tagging channel, so that copyable values are extracted with no decoding steps while generation is reserved for implicit values.

• We design a span head that finds the spans for K frequent attributes with a learned NULL slot to detect attribute presence.

• We show that hybrid decoding is both faster and higher-recall than a generative baseline: it raises attribute coverage from 69.8% to 80.2% and on average extracts 33.8 correct attribute–value pairs against 20.7 pairs from baseline, with precision maintained at 97% in both cases. The mean response time reduces from 56.6 ms to 31.5 ms, a 1.80×1.80 \times speed-up.

References (11)