Breaking the Autoregressive Chain: Hyper-Parallel Decoding for Efficient LLM-Based Attribute Value Extraction

Theodore Glavas, Nikhita Vedula, Dushyanta Dhyani, Yilun Zhu, Shervin Malmasi

TL;DR

Large Language Models (LLMs) are highly effective at structured information extraction, but standard autoregressive decoding makes processing large datasets slow and expensive. This paper introduces Hyper-Parallel Decoding (HPD), a novel algorithm that exploits the conditional independence of extracted attributes to generate multiple values simultaneously. By manipulating position IDs and attention masks, HPD achieves up to a 13.8× speedup and cost reduction without sacrificing extraction quality.

What Problem Does This Paper Address?

Attribute Value Extraction (AVE)—the task of pulling structured key-value pairs (like Display Type: OLED, Screen Size: 75in) from unstructured text—is a cornerstone of e-commerce, clinical informatics, and legal tech. While generative LLMs excel at this task, their standard autoregressive decoding mechanism generates tokens strictly one after another.

This sequential bottleneck is highly inefficient for AVE. Given the source text, the value of one attribute (e.g., screen size) does not logically depend on another (e.g., resolution). Forcing an LLM to generate these values sequentially is an artificial constraint that wastes massive amounts of time and compute during large-scale offline batch processing.

Overview of standard autoregressive decoding vs. Hyper-Parallel Decoding (HPD).

Methods

HPD breaks the autoregressive chain by treating different attribute values as conditionally independent. Instead of generating the full structured output sequentially, HPD uses a "skeleton" template and fills in all attribute values in parallel.

The key technical components include:

  1. Position ID Manipulation: HPD structures the input prompt with a skeleton output template and inserts a fixed gap ($K_{max}$) in the position IDs between each attribute field. This reserves logical space for the tokens that will be generated.
  2. Parallel Sampling: At each inference step, the model samples next-token probabilities for all active attribute positions simultaneously, rather than just predicting a single next token at the very end of the sequence.
  3. KV Cache & Custom Attention Masking: Newly generated tokens are appended to the end of the physical memory array to preserve Key-Value (KV) cache functionality. However, a custom, non-triangular attention mask enforces causal attention based on the tokens' logical position IDs rather than their physical memory layout.
  4. Document Stacking: To maximize GPU utilization, HPD stacks multiple documents ($J$) within a single prompt, allowing the model to decode $J \times N$ tokens simultaneously in a single forward pass.
  5. HPD Fine-Tuning: Because skipping position IDs creates a train/test mismatch that affects rotary positional embeddings, the authors introduce a lightweight fine-tuning step using LoRA to align the model to this parallel generation format.
Block diagram of the HPD process showing position ID gaps and parallel token generation.

Datasets

The method was evaluated on three e-commerce AVE benchmarks:

  • OA-Mine: A human-annotated benchmark containing 9,811 attribute-value pairs across 1,943 products (titles only).
  • AE110k: A dataset of 39,505 product titles from AliExpress with catalog-derived labels.
  • Amazon Reviews 2023: A new, large-scale benchmark introduced by the authors to simulate real-world complexity. It contains 900k products across 31 categories and includes both product titles and full descriptions. Labels were generated via knowledge distillation from GPT-4.

Key Insights and Ideas

  • Eliminating Error Cascades: In standard autoregressive generation, an error or hallucination in an early attribute often cascades down the chain, corrupting subsequent outputs. By breaking the inter-value dependency, HPD isolates generation processes and prevents these cascading errors.
  • Separating Memory from Logic: HPD elegantly separates physical memory layout (appending tokens to the end of the KV cache) from logical sequence layout (using position IDs). This allows parallel generation without breaking standard Transformer KV-cache mechanics.
  • Outperforming Speculative Decoding: Traditional speculative decoding relies on a smaller draft model to guess consecutive tokens, which degrades quickly on complex tasks. HPD parallelizes across independent sequences, achieving far higher effective parallelism (up to 96 tokens per prompt) without needing a draft model.

Key Results

  • Massive Speedups: HPD achieved up to a 13.8X cost and time reduction for the Phi4-14B model on the Amazon Reviews dataset.
  • Maintained Quality: Across all tested models (Qwen3 family from 1.7B to 32B, and Phi4), fine-tuned HPD models maintained or slightly improved F1 scores compared to standard autoregressive decoding.
  • Speculative Decoding Comparison: On Qwen3-32B, HPD achieved a 10.78X speedup, significantly outperforming speculative decoding, which topped out at a 2.08X speedup.
  • Commercial Impact: The authors estimate that processing a corpus of 500M documents with Qwen3-8B HPD would save approximately $597,000 over standard autoregressive decoding.

Limitations and Future Work

  • Flash-Attention Incompatibility: Standard Flash-Attention assumes a strict causal triangular mask and cannot handle HPD's custom attention masks out of the box. While newer frameworks like FlexAttention resolve this, it remains a deployment consideration for older stacks.
  • Model and Task Scope: The evaluation was limited to models up to 32B parameters and focused entirely on product attribute extraction.
  • Future Directions: The authors suggest extending HPD to other domains with independent output structures, such as multi-document summarization, parallel reasoning chains, or clinical information extraction.

Summary updated

BibTeX
@inproceedings{glavas2026breaking,
  author = {Theodore Glavas and Nikhita Vedula and Dushyanta Dhyani and Yilun Zhu and Shervin Malmasi},
  title = {{Breaking the Autoregressive Chain: Hyper-Parallel Decoding for Efficient LLM-Based Attribute Value Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1832},
}

Loading related content...

Figure