arXiv:2610.34402cs.IROct 2026

Manuscript Offprint

arXiv:2610.34402

Theoretically Sound Item Similarity Measures for Recommender Systems

Noah Daniëls, Joey De Pauw, Bart Goethals

Noah Daniëls

University of Antwerp

Antwerp, Belgium

0009-0001-7778-4769

Joey De Pauw

University of Antwerp

Antwerp, Belgium

0000-0002-1417-922X

Bart Goethals

University of Antwerp, Froomle

Antwerp, Belgium

0000-0001-9327-9554

Abstract—Quantifying the similarity between items is fundamental to neighborhood-based collaborative filtering, yet many commonly used similarity measures are heuristics that lack theoretical justification. The use of heuristics forces practitioners to rely on empirical trial-and-error, offering little insight into why certain measures outperform others or how they might be improved. In this paper, we present a principled approach for designing item similarity measures grounded in probabilistic modeling and parameter estimation.

By adopting this formal perspective, we derive two previously overlooked similarity measures based on the Bernoulli and multinomial distributions. Through an extensive ablation study we highlight the critical role of bias, probabilistic smoothing, treating the unknowns correctly, and choosing appropriate probability distributions. Finally, we show that the commonly used cosine similarity can be interpreted as the solution to a specific optimization problem, thereby providing a novel perspective on this decades-old heuristic.

Index Terms—Similarity measures, Information filtering, Correlation and regression analysis, Modeling techniques.

I. INTRODUCTION

Recommender systems have emerged as an important tool for helping users find relevant items. One of the most widely used approaches is collaborative filtering from implicit feedback, in which the collective historical behavior of users is used to generate recommendations [1]. Binary implicit feedback data, such as clicks or views, is an abundant information source because it is easier to collect than explicit feedback such as ratings. The downside of implicit feedback is that it is difficult to discern between negatives (the user disliking an item) and unknowns (the user not rating an item), which makes it challenging to learn user behavior.

Despite the recent proliferation of complex deep learning architectures, neighborhood-based collaborative filtering approaches [2] remain popular tools for practitioners because of their simplicity, transparency and effectiveness [3], [4]. In neighborhood-based methods, the similarities between users or items are used to generate recommendations. Fundamental to these methods is the choice of similarity measure, which has a large impact on recommendation performance. Typical choices, such as cosine similarity and conditional probability, are heuristics that lack a proper theoretical justification and are often chosen simply because of their historical prevalence [4]. For example, while it is well-known that cosine similarity suffers from popularity bias, how this impacts the performance or how to systematically mitigate it, is rarely considered.

This lack of theoretical rigor, leaves practitioners guessing at the appropriateness of specific similarity measures for specific use-cases. Furthermore, tweaking or designing new similarity measures is limited to a trial-and-error process, without guarantees that all relevant factors have been considered. This practice inevitably leads to suboptimal recommendations and poor performance.

We present an alternative, principled approach for designing item similarity measures, grounded in probabilistic modeling and parameter estimation. Specifically, we frame similarity measures as closed-form solutions to certain optimization problems. To achieve this, we treat collaborative filtering as probabilistic classification and rely on Naive Bayes maximum a posteriori estimation to derive similarity measures. We make careful modeling choices and adjust the underlying optimization objectives to manage the specific challenges of implicit feedback data, such as sparsity and the large number of unknowns. The resulting similarity measures are appealing because they are grounded in the well-studied field of parameter estimation, and can therefore be interpreted and extended more easily than heuristic approaches.

The remainder of this paper is structured as follows: in the next section, we give background on neighborhood approaches and introduce notation. In Section III we show different ways in which collaborative filtering can be seen as classification, and solved using Naive Bayes, while Section IV shows how intelligent parameter estimation can improve the resulting similarities. In Section V we provide a novel perspective on the existing heuristics cosine similarity and conditional probability, by deriving them through our optimization perspective. Section VI discusses similarities and differences between our and related work on Naive Bayes recommendation systems and linear collaborative filtering models. Finally, Section VII presents an ablation study in which we highlight the importance of various modeling choices such as smoothing and

This work was funded by the Research Foundation - Flanders (FWO) under grant number 11A4D25N to N. Daniëls and by the Flanders AI Research Program.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

choosing the appropriate probability distributions.