Search arXiv⌕ Search

arXiv · 2612.00507

Beyond Global Top-k: Certified Soft Aggregation over Semantic Facets

Abstract

Search, recommendation and RAG applications increasingly ask aggregate questions of semantically retrieved content, such as the average rating of reviews about battery life per category. The standard pipeline answers them with one global top-k vector search followed by aggregation. We show that a single global ranked list is a poor plan for this query shape: it guarantees neither facet coverage nor bounded omitted weight. On a 1.35M-review catalogue with 33 categories, a top-100 retrieval answers only ten, because semantically similar items concentrate in few facets, not because the budget is small. Per-facet (grouped) retrieval repairs coverage and is our strongest baseline, but it still reports no error bound. We treat grouped relevance-weighted (softmax) aggregation as a database operator: per group a Nadaraya-Watson kernel regression estimator, evaluated with the max-shifted online softmax accumulator under exact predicates. We contribute (i) an overflow-safe mergeable execution with 40 bytes of state per facet, where plain SQL fails differently in two engines and PostgreSQL aborts on underflow even in the textbook max-shifted rewrite; (ii) incremental maintenance in which insertion and ordinary deletion are constant-time state updates, four to five orders of magnitude cheaper than recomputation, while deleting a facet's anchor costs one pass over that facet; and (iii) a deterministic per-facet error bound, the omitted softmax weight times the group's value range, with a plan that proposes a truncation from a sketch, verifies it against the true omitted mass, and repairs any facet that misses. Measured in our engine on three corpora (Amazon Reviews, StackExchange, IMDb), every delivered answer met its declared error budget. A row-count analysis assuming a score-ordered per-facet candidate generator shows the same bound could certify answers while reading 0.6-9.3% of the rows.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jiacheng Ding, Xiaofei Zhang. 2026-11-30. Beyond Global Top-k: Certified Soft Aggregation over Semantic Facets. https://searcharxiv.org/abs/2612.00507

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Ontology Interoperability: A Comprehensive Framework for Industry-Scale Applications

Different ontologies with conflicting and overlapping concepts cause havoc in the design, develop, and deploy phases of ontology-driven applications. In this work, we propose a comprehensive ontology interoperability framework for industrial-scale ontology-driven applications. The framework employs three state-of-the-art semantic techniques in different phases of the ontology engineering (OE) life cycle: ontology design patterns (ODPs) in the design phase, ontology matching and versioning (OM\&OV) in the develop phase, and ontology validation (OVA) in the deploy phase, to achieve better ontology interoperability.

cs.IR↗

Understanding the Core: Generative Temporal-Hierarchical Behavior Modeling for Recommendation

Industrial recommender systems observe abundant user behaviors, but the core behavior, the deepest interaction in the hierarchy and typically the strongest observable signal for the primary recommendation objective, is sparse. Core-behavior-only next-token prediction yields sequences too short for effective interest modeling, whereas incorporating exposure and engagement behaviors enriches temporal evidence but can dilute this objective. The central challenge is therefore to exploit dense behavioral trajectories while prioritizing the core behavior. We view such histories as temporal-hierarchical: user interest evolves over time, while behaviors at different engagement depths play unequal roles. We propose GAMER, a decoder-only framework for generative pretraining over temporal-hierarchical behavior sequences. GAMER consolidates each local user-item behavior chain into its deepest observed state, termed a consolidated chain state, and serializes these states chronologically to preserve temporal coverage and engagement depth. Its Temporal-Hierarchical Attention (T-Hier Attention) conditions causal sequence modeling on behavior depth. The resulting pretrained backbone supports Core-Behavior Item Retrieval, Behavior-Conditioned Item Generation, and User Response Prediction. We further construct ShortVideoAD, a short-video advertising benchmark with sessionized histories, an explicit behavior hierarchy, and semantic item identifiers. Experiments on ShortVideoAD and public datasets demonstrate the effectiveness and transferability of GAMER. On ShortVideoAD core-behavior item retrieval with semantic IDs, GAMER achieves relative gains of 22.13% in HR@10 and 33.73% in NDCG@10 over MBGen, the strongest baseline. The same pretrained checkpoint also benefits Behavior-Conditioned Item Generation and CVR prediction.

cs.IR↗

Semantic Tokens Beat IDs in Large Ranking Models: A Scaling Law Perspective

Recent studies on scaling up ranking models have achieved substantial improvement for recommendation systems and search engines. However, most large-scale ranking systems rely on item and query IDs, where each item or query is treated as an independent categorical symbol and mapped to a learned embedding. As items and queries rapidly appear and disappear, these embeddings become difficult to train and maintain. This instability impedes effective learning of neural network parameters and limits the scalability of ranking models. In this paper, we show that semantic tokens possess greater scaling potential compared to item and query IDs. Our proposed framework TRM improves the token generation and application pipeline, leading to a 72% reduction in sparse storage while achieving a 0.85% increase in AUC. Extensive experiments further show that TRM consistently outperforms state-of-the-art models as model capacity scales.Finally, TRM has been successfully deployed on large-scale personalized search engines, yielding a 0.26% improvement in user active days and a 0.75% reduction in change query ratio through an A/B test. We present the first complete replacement of both item and query IDs with semantic tokens in large-scale ranking scenarios, demonstrating superior scalability.

cs.IR↗