hLLM Achieves 64x Faster Generative Reranking with Single-Pass Decoding

Emil Laftchiev, Prachi Agrawal, Moe Kayali, Bixing Yan, Qi Xu, Zijie Lei, Chen Qiu, Zhi Hua, Ke Li, Luke Simon· September 3, 2026 View original

Key takeaways

  • hLLM dramatically speeds up generative reranking by 64x with single-pass decoding.
  • It uses a lightweight attention head and the Hungarian algorithm for efficient ordinal decoding.
  • The method maintains ranking quality comparable to traditional, slower approaches.
  • This innovation opens new possibilities for real-time ranking and personalization systems.

Who benefits

E-commerceAdvertisingSearch EnginesSocial MediaContent Platforms

Summary

This paper introduces hLLM (Hungarian LLM), a novel decoding strategy that enables generative reranking in a single forward pass, achieving a 64x speedup. It uses a lightweight self-attention head and the Hungarian algorithm to decode all N ordinal values efficiently while maintaining ranking quality.

Large language models (LLMs) are highly effective for generative ranking, but their autoregressive decoding process, which requires a sequential forward pass for each token, creates a significant efficiency bottleneck. This research identifies that for ranking tasks, the LLM only needs to output N ordinal values representing the ranked items, a highly structured output format. To address this, the paper introduces hLLM (Hungarian LLM), a specialized decoding strategy that decodes all N ordinals in a single forward pass, achieving O(1) complexity. hLLM works by extracting an N x K item-position score matrix from the LLM's prefill hidden states using a lightweight self-attention head. The optimal permutation (ranked order) is then determined by applying the Hungarian algorithm to this matrix, ensuring a valid ranking by design. Through systematic studies, the researchers demonstrate that fine-tuning with LoRA and teacher ranking distillation allows hLLM to achieve an end-to-end inference speed of 28 ms, representing a 64x speed-up compared to traditional methods, all while preserving the ranking quality of the teacher model. This innovation connects generative ranking with combinatorial optimization, opening new avenues for real-time ranking systems.

Why it matters

For professionals in e-commerce, search, and recommendation systems, hLLM offers a dramatic speed improvement for generative reranking, enabling real-time personalization and more responsive user experiences without sacrificing quality.

How to implement this in your domain

  1. 1Evaluate hLLM's architecture and decoding strategy for existing generative reranking pipelines.
  2. 2Implement a proof-of-concept using hLLM for a critical ranking task to benchmark speed and quality.
  3. 3Explore integrating the Hungarian algorithm and specialized attention heads into custom LLM deployments.
  4. 4Train engineering teams on the principles of format-specialized decoding for efficiency gains.

Original post by Emil Laftchiev, Prachi Agrawal, Moe Kayali, Bixing Yan, Qi Xu, Zijie Lei, Chen Qiu, Zhi Hua, Ke Li, Luke Simon

"arXiv:2609.01807v1 Announce Type: new Abstract: Large language models (LLMs) achieve state-of-the-art generative ranking quality, but the ranking they produce must be decoded, and autoregressive decoding spends one sequential forward pass per emitted token. We observe that the on…"

View on X

Originally posted by Emil Laftchiev, Prachi Agrawal, Moe Kayali, Bixing Yan, Qi Xu, Zijie Lei, Chen Qiu, Zhi Hua, Ke Li, Luke Simon on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses