Roberto Trani

dblp:155/5063 · DBLP profile ↗
← Back
10ranked-venue papers in the field
0as first author
7since 2021 · last 2024
0000-0002-6753-3149ORCID · verified

Domains — venue-derived; a paper can count in several

Information Retrieval & Web Search · 7Database Systems & Data Management · 3
YearPublicationVenuePosition
2024 Learning bivariate scoring functions for ranking
abstract
Abstract State-of-the-art Learning-to-Rank algorithms, e.g., $$\lambda$$ λ MART, rely on univariate scoring functions to score a list of items. Univariate scoring functions score each item independently, i.e., without considering the other available items in the list. Nevertheless, ranking deals with producing an effective ordering of the items and comparisons between items are helpful to achieve this task. Bivariate scoring functions allow the model to exploit dependencies between the items in the list as they work by scoring pairs of items. In this paper, we exploit item dependencies in a novel framework—we call it the Lambda Bivariate (LB) framework—that allows to learn effective bivariate scoring functions for ranking using gradient boosting trees. We discuss the three main ingredients of LB: (i) the invariance to permutations property, (ii) the function aggregating the scores of all pairs into the per-item scores, and (iii) the optimization process to learn bivariate scoring functions for ranking using any differentiable loss functions. We apply LB to the $$\lambda$$ λ Rank loss and we show that it results in learning a bivariate version of $$\lambda$$ λ MART—we call it Bi- $$\lambda$$ λ MART—that significantly outperforms all neural-network-based and tree-based state-of-the-art algorithms for Learning-to-Rank. To show the generality of LB with respect to other loss functions, we also discuss its application to the Softmax loss.
Franco Maria Nardini, Roberto Trani, Rossano Venturini
Discov. Comput.2
2024 Parallel and External-Memory Construction of Minimal Perfect Hash Functions With PTHash
abstract
A function$f : U \to \lbrace 0,\ldots,n-1\rbrace$is aminimal perfect hash functionfor a set$S \subseteq U$of size$n$, if$f$bijectively maps$S$into the first$n$natural numbers. These functions are important for many practical applications in computing, such as search engines, computer networks, and databases. Several algorithms have been proposed to build minimal perfect hash functions that: scale well to large sets, retain fast evaluation time, and take very little space, e.g., 2 – 3 bits/key. PTHash is one such algorithm, achieving very fast evaluation in compressed space, typically many times faster than other techniques. In this work, we propose a new construction algorithm for PTHash enabling: (1)multi-threading, to either build functions more quickly or more space-efficiently, and (2)external-memory processing, to scale to inputs much larger than the available internal memory. Only few other algorithms in the literature share these features, despite of their practical impact. We conduct an extensive experimental assessment on large real-world string collections and show that, with respect to other techniques, PTHash is competitive in construction time and space consumption, but retains 2 – 6× better lookup time.
Giulio Ermanno Pibiri, Roberto Trani
IEEE Trans. Knowl. Data Eng.2
2023 An Optimal Algorithm for Finding Champions in Tournament Graphs
abstract
A tournament graph is a complete directed graph, which can be used to model a round-robin tournament between$n$players. In this paper, we address the problem of finding a champion of the tournament, also known as Copeland winner, which is a player that wins the highest number of matches. In detail, we aim to investigate algorithms that find the champion by playing a low number of matches. Solving this problem allows us to speed up several Information Retrieval and Recommender System applications, including question answering, conversational search, etc. Indeed, these applications often search for the champion inducing a round-robin tournament among the players by employing a machine learning model to estimate who wins each pairwise comparison. Our contribution, thus, allows finding the champion by performing a low number of model inferences. We prove that any deterministic or randomized algorithm finding a champion with constant success probability requires$\Omega (\ell n)$comparisons, where$\ell$is the number of matches lost by the champion. We then present an asymptotically-optimal deterministic algorithm matching this lower bound without knowing$\ell$, and we extend our analysis to three variants of the problem. Lastly, we conduct a comprehensive experimental assessment of the proposed algorithms on a question answering task on public data. Results show that our proposed algorithms speed up the retrieval of the champion up to$13\times$with respect to the state-of-the-art algorithm that perform the full tournament. The identification of the most relevant result from a set of candidates is a crucial task in many Information Retrieval and Recommender System applications including ad-hoc search, conversational search, machine translation, question answering, etc. State-of-the-art solutions solving the task leverage ad-hoc machine learning techniques—developed in a field known as Learning-to-Rank—to estimate the relevance of the set of candidate results and to select the most relevant one. These solutions address the problem in two different ways. From one side, several techniques work by estimating one candidate at a time so to select the candidate achieving the highest score. On the other side, some techniques compare a pair of candidate results at a time so to select the candidate achieving the highest sum of pairwise scores of an all-vs-all tournament between results. In this paper, we focus on the second class of techniques. In detail, we propose to model the task of identifying the most relevant result from a set of candidates as the problem of finding the champion of a tournament, which is the player that wins the highest number of matches in the tournament. Our goal is to find the champion, also known as theCopeland winner, of the tournament by minimizing the number of matches played in the tournament, i.e., the number of pairwise comparisons. We prove that any deterministic or randomized algorithm finding a champion with constant success probability requires$\Omega (\ell n)$comparisons, where$\ell$is the number of matches lost by the champion. We then present an asymptotically-optimal deterministic algorithm matching this lower bound without knowing$\ell$. Moreover, we extend the result by providing a parallel version of our algorithm, as well as a version that retrieve all the best$k$players of the tournament. Lastly, we conduct a comprehensive experimental assessment of the proposed algorithms on a public dataset (MS-MARCO) with the aim of speeding up a well-known state-of-the-art solution for ranking textual passages for question answering. Results show that our proposed solutions allow to speed up the identification of the champion up to$13\times$.
Lorenzo Beretta 0001, Franco Maria Nardini, Roberto Trani, Rossano Venturini
IEEE Trans. Knowl. Data Eng.3
2022 Fast Filtering of Search Results Sorted by Attribute
abstract
Modern search services often provide multiple options to rank the search results, e.g., sort “by relevance”, “by price” or “by discount” in e-commerce. While the traditional rank by relevance effectively places the relevant results in the top positions of the results list, the rank by attribute could place many marginally relevant results in the head of the results list leading to poor user experience. In the past, this issue has been addressed by investigating the relevance-aware filtering problem, which asks to select the subset of results maximizing the relevance of the attribute-sorted list. Recently, an exact algorithm has been proposed to solve this problem optimally. However, the high computational cost of the algorithm makes it impractical for the Web search scenario, which is characterized by huge lists of results and strict time constraints. For this reason, the problem is often solved using efficient yet inaccurate heuristic algorithms. In this article, we first prove the performance bounds of the existing heuristics. We then propose two efficient and effective algorithms to solve the relevance-aware filtering problem. First, we propose OPT-Filtering, a novel exact algorithm that is faster than the existing state-of-the-art optimal algorithm. Second, we propose an approximate and even more efficient algorithm, ϵ-Filtering, which, given an allowed approximation error ϵ, finds a (1-ϵ)–optimal filtering, i.e., the relevance of its solution is at least (1-ϵ) times the optimum. We conduct a comprehensive evaluation of the two proposed algorithms against state-of-the-art competitors on two real-world public datasets. Experimental results show that OPT-Filtering achieves a significant speedup of up to two orders of magnitude with respect to the existing optimal solution, while ϵ-Filtering further improves this result by trading effectiveness for efficiency. In particular, experiments show that ϵ-Filtering can achieve quasi-optimal solutions while being faster than all state-of-the-art competitors in most of the tested configurations.
Franco Maria Nardini, Roberto Trani, Rossano Venturini
ACM Trans. Inf. Syst.2
2021 PTHash: Revisiting FCH Minimal Perfect Hashing
abstract
Given a set S of n distinct keys, a function f that bijectively maps the keys of S into the range (0,...,n-1) is called a minimal perfect hash function for S. Algorithms that find such functions when n is large and retain constant evaluation time are of practical interest; for instance, search engines and databases typically use minimal perfect hash functions to quickly assign identifiers to static sets of variable-length keys such as strings. The challenge is to design an algorithm which is efficient in three different aspects: time to find f (construction time), time to evaluate f on a key of S (lookup time), and space of representation for f. Several algorithms have been proposed to trade-off between these aspects. In 1992, Fox, Chen, and Heath (FCH) presented an algorithm at SIGIR providing very fast lookup evaluation. However, the approach received little attention because of its large construction time and higher space consumption compared to other subsequent techniques. Almost thirty years later we revisit their framework and present an improved algorithm that scales well to large sets and reduces space consumption altogether, without compromising the lookup time. We conduct an extensive experimental assessment and show that the algorithm finds functions that are competitive in space with state-of-the art techniques and provide 2-4x better lookup time.
Giulio Ermanno Pibiri, Roberto Trani
SIGIR2
2021 TSXor: A Simple Time Series Compression Algorithm
Andrea Bruno, Franco Maria Nardini, Giulio Ermanno Pibiri, Roberto Trani, Rossano Venturini
SPIRE4
2021 Speed prediction in large and dynamic traffic sensor networks
Regis Pires Magalhães, Francesco Lettich, José A. F. de Macêdo, Franco Maria Nardini, Raffaele Perego 0001, Chiara Renso, Roberto Trani
Inf. Syst.7
2019 Fast Approximate Filtering of Search Results Sorted by Attribute
abstract
Several Web search services enable their users with the possibility of sorting the list of results by a specific attribute, e.g., sort "by price" in e-commerce. However, sorting the results by attribute could bring marginally relevant results in the top positions thus leading to a poor user experience. This motivates the definition of the relevance-aware filtering problem. This problem asks to remove results from the attribute-sorted list to maximize its final overall relevance. Recently, an optimal solution to this problem has been proposed. However, it has strong limitations in the Web scenario due to its high computational cost. In this paper, we propose ϵ-Filtering: an efficient approximate algorithm with strong approximation guarantees on the relevance of the final list. More precisely, given an allowed approximation error ϵ, the proposed algorithm finds a(1-ϵ)"optimal filtering, i.e., the relevance of its solution is at least (1-ϵ) times the optimum. We conduct a comprehensive evaluation of ϵ-Filtering against state-of-the-art competitors on two real-world public datasets. Experiments show that ϵ-Filtering achieves the desired levels of effectiveness with a speedup of up to two orders of magnitude with respect to the optimal solution while guaranteeing very small approximation errors.
Franco Maria Nardini, Roberto Trani, Rossano Venturini
SIGIR2
2019 An Optimal Algorithm to Find Champions of Tournament Graphs
Lorenzo Beretta 0001, Franco Maria Nardini, Roberto Trani, Rossano Venturini
SPIRE3
2018 Efficient and Effective Query Expansion for Web Search
abstract
Query Expansion (QE) techniques expand the user queries with additional terms, e.g., synonyms and acronyms, to enhance the system recall. State-of-the-art solutions employ machine learning methods to select the most suitable terms. However, most of them neglect the cost of processing the expanded queries, thus selecting effective, yet very expensive, terms. The goal of this paper is to enable QE in scenarios with tight time constraints proposing a QE framework based on structured queries and efficiency-aware term selection strategies. In particular, the proposed expansion selection strategies aim at capturing the efficiency and the effectiveness of the expansion candidates, as well as the dependencies among them. We evaluate our proposals by conducting an extensive experimental assessment on real-world search engine data and public TREC data. Results confirm that our approach leads to a remarkable efficiency improvement w.r.t. the state-of-the-art: a reduction of the retrieval time up to 30 times, with only a small loss of effectiveness.
Claudio Lucchese, Franco Maria Nardini, Raffaele Perego 0001, Roberto Trani, Rossano Venturini
CIKM4