arXiv Science⌕ Search

arXiv subjects

Jakob Gruber

Publications and source records attributed to Jakob Gruber.

4 recordsLinked to original sources

Decision Models as Rerankers: Matching Commercial Rerank APIs at a Fraction of the Cost

Chatbots and AI agents often answer from the few passages that a search puts on top, so the order of the search results decides what they can use. Rerankers set this order. Decision models are AI models built for one type of task: given a question about some input, they answer yes or no, pick one of several options or give a score, with a probability for each answer. Because they write no text, they are fast and cheap, typically \$0.01 to \$0.10 per million input tokens. This makes them suitable for reranking. This paper tests two variants, one yes/no question per passage or one multiple-choice question per query with the candidates as options. It compares 22 such setups, built on 19 decision models from 12 vendors, with nine dedicated rerankers on 35 test sets from four benchmarks. The best decision models, Perplexity Decider v1.2 and v1.3, score as well as the best commercial rerankers tested, at 20 to 45% of their cost. Averaged over six families of test sets, Perplexity v1.2 with one question per passage reaches an nDCG@10 of 0.540 (ranking quality, 0 to 1), as do Voyage Rerank 3 and Cohere Rerank 4 Pro. Decision models lead on reasoning-heavy queries, where 17 of the 22 setups score above the best dedicated reranker. On BEIR, dedicated rerankers lead by 0.02. Three findings matter in practice. First, with multiple choice, some models score lower when the candidates arrive shuffled, so the candidates should keep the first-stage order. Second, a high position on a public leaderboard gives no assurance. With multiple choice, the top decision model of the Artificial Analysis Decision Index on 13 November 2026 is the weakest reranker of 14 indexed models, but third per passage. Third, some providers refuse or block queries. Google's content filter blocks 6.8% of all queries to Gemini Decision 1, and GPT-6 Luna refuses 2.4%.

cs.IR↗

Benchmarking Concurrent Priority Queues: Performance of k-LSM and Related Data Structures

A number of concurrent, relaxed priority queues have recently been proposed and implemented. Results are commonly reported for a throughput benchmark that uses a uniform distribution of keys drawn from a large integer range, and mostly for single systems. We have conducted more extensive benchmarking of three recent, relaxed priority queues on four different types of systems with different key ranges and distributions. While we can show superior throughput and scalability for our own k-LSM priority queue for the uniform key distribution, the picture changes drastically for other distributions, both with respect to achieved throughput and relative merit of the priority queues. The throughput benchmark alone is thus not sufficient to characterize the performance of concurrent priority queues. Our benchmark code and k-LSM priority queue are publicly available to foster future comparison.

cs.DS↗

Practical Concurrent Priority Queues

Priority queues are abstract data structures which store a set of key/value pairs and allow efficient access to the item with the minimal (maximal) key. Such queues are an important element in various areas of computer science such as algorithmics (i.e. Dijkstra's shortest path algorithm) and operating system (i.e. priority schedulers). The recent trend towards multiprocessor computing requires new implementations of basic data structures which are able to be used concurrently and scale well to a large number of threads. In particular, lock-free structures promise superior scalability by avoiding the use of blocking synchronization primitives. Concurrent priority queues have been extensively researched over the past decades. In this paper, we discuss three major ideas within the field: fine-grained locking employs multiple locks to avoid a single bottleneck within the queue; SkipLists are search structures which use randomization and therefore do not require elaborate reorganization schemes; and relaxed data structures trade semantic guarantees for improved scalability.

cs.DS↗

The Lock-free $k$-LSM Relaxed Priority Queue

Priority queues are data structures which store keys in an ordered fashion to allow efficient access to the minimal (maximal) key. Priority queues are essential for many applications, e.g., Dijkstra's single-source shortest path algorithm, branch-and-bound algorithms, and prioritized schedulers. Efficient multiprocessor computing requires implementations of basic data structures that can be used concurrently and scale to large numbers of threads and cores. Lock-free data structures promise superior scalability by avoiding blocking synchronization primitives, but the \emph{delete-min} operation is an inherent scalability bottleneck in concurrent priority queues. Recent work has focused on alleviating this obstacle either by batching operations, or by relaxing the requirements to the \emph{delete-min} operation. We present a new, lock-free priority queue that relaxes the \emph{delete-min} operation so that it is allowed to delete \emph{any} of the $ρ+1$ smallest keys, where $ρ$ is a runtime configurable parameter. Additionally, the behavior is identical to a non-relaxed priority queue for items added and removed by the same thread. The priority queue is built from a logarithmic number of sorted arrays in a way similar to log-structured merge-trees. We experimentally compare our priority queue to recent state-of-the-art lock-free priority queues, both with relaxed and non-relaxed semantics, showing high performance and good scalability of our approach.

cs.DS↗