Metraipolis › archive › dc_e4594e1ee2a7

LEGIT: Live Eligibility Gating over Identifier Tries for Constrained Decoding of Heterogeneous Pages — arXiv:2611.10357

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.10357
License (as archived)
CC0-1.0
Archived
2026-11-10T18:46:37.861Z
SHA-256 of the archived text
20f00a59f30e4c6cdaf7f7a79ba18f7d8334b7f0738b44e33dcbeb802146d340
Stable URL of this page
https://metraipolis.com/documento/dc_e4594e1ee2a7

How to cite

LEGIT: Live Eligibility Gating over Identifier Tries for Constrained Decoding of Heterogeneous Pages — arXiv:2611.10357 — arXiv (en), https://arxiv.org/abs/2611.10357 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e4594e1ee2a7 (Metraipolis archive dc_e4594e1ee2a7, sha256 20f00a59f30e4c6cdaf7f7a79ba18f7d8334b7f0738b44e33dcbeb802146d340)
BibTeX
@misc{dce4594e1ee2a7,
  title = {LEGIT: Live Eligibility Gating over Identifier Tries for Constrained Decoding of Heterogeneous Pages — arXiv:2611.10357},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.10357},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e4594e1ee2a7; sha256 20f00a59f30e4c6cdaf7f7a79ba18f7d8334b7f0738b44e33dcbeb802146d340},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.10357. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A generative recommender names each candidate with a short token sequence, a Semantic ID, and recommends by generating those tokens. Some generative recommenders, including the Uber Eats search engine we are building, write a whole results page, stores with their menu items, in one decoding pass. Every Semantic ID on such a page must name a real store or item that is eligible for the search, such as a store that delivers to the user's location, and that is not already on the page. Each item must also belong to the store above it. A trie over the catalog keeps identifiers real, but eligibility and repetition change with every request and token, and the grammar-constrained decoder we tried could not enforce these changing rules exactly and quickly. We call this constraint LEGIT, for live eligibility gating over identifier tries. Numbering trie leaves depth first turns each rule into a range lookup over one store trie and one item trie, and every generated page passes an independent catalog check. On one NVIDIA B200 GPU with one or two requests per decode step, a direct implementation that walks the trie on the GPU makes each token about 5 times as slow as unconstrained decoding. Across 36 implementations, hardware counters and ablations are consistent with kernel launches and CPU-GPU waits as the source of this slowdown. Our fastest implementation walks the trie on the CPU while the GPU runs the model, needs no custom kernel, and cuts time per output token by 65.9 percent against the direct GPU implementation, to about 1.7 times the unconstrained cost. This implementation is also the fastest on a page layout that puts each item before its store.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PF, nuovi lavori del giorno).
Categorie arXiv: Information Retrieval (cs.IR) ; Machine Learning (cs.LG); Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2611.10357 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-10T18:38:37.393Z dalla pagina https://arxiv.org/list/cs.PF/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).