Manuscript Offprint
arXiv:2610.35765Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
Abstract
Item-item similarity is one of the oldest and most foundational signals in recommender systems: two items are assumed to be similar when the same users consume them. Despite the sparsity and scale of interaction data, the implicit assumption across the field is that item co-occurrence reflects genuine shared preference—capturing what users like together. In this paper, we demonstrate that a substantial fraction of observed item-item similarity is an artifact of variance in user activity rather than shared taste. Even if every user consumed items completely independently—differing only in their total consumption volume—standard similarity measures still detect strong associations between items. We term this phenomenon phantom correlation: spurious item association that emerges strictly from heterogeneous user activity in the complete absence of preference structure. Starting from minimal formal assumptions, we show that independent consumption under varying activity is described by a Rasch model, and we derive how the resulting association depends on item popularity for each similarity measure. By comparing our theoretical baseline against real-world benchmark datasets, we reveal the extent to which popular similarity measures reflect phantom correlation, which bears on how item co-occurrence is interpreted and used in collaborative filtering.
Keywords
recommender systems, item-item similarity, user activity, popularity bias, Rasch model, implicit feedback
In practice, a user’s history is multiplied by an item-item similarity matrix to score and rank the items. The simplest example is item-kNN [7], which scores an item by adding up its similarities
Bart Goethals
University of Antwerp
Belgium
with the items in the user’s history; SLIM [6] learns a sparse similarity matrix by regression, and EASE [8] learns a dense one in closed form. The idea behind item-item similarity is pretty intuitive: if two items are consumed together more often than expected by chance, it is because users like them together, and a similarity measure quantifies this information [7, 30, 31].
Another important aspect of the typical data of recommender systems is that the distribution of user activity is extremely heterogeneous: some users consume a handful of items, while others consume hundreds or thousands. The distribution of the history length of users is often described as heavy-tailed, and often modeled as a power law [35]. We show that a large part of the observed similarity can arise from these differences in activity alone, not from users liking items together. We call this phenomenon phantom correlation: like Simpson’s paradox [15] and confounding in recommendation [43], it is association created by a hidden common factor, here activity. To better illustrate this, consider the following example:
Example 1. A small streaming service comprises 100 films. Users on the platform like the movies equally, so no movie is preferred over another. But the activity differs between users: half of them are casual viewers, who watch any given film with probability 0.01. The other half are binge watchers, who watch any given film with probability 0.20. Every user picks films completely independently: watching one film says nothing about which other film they will watch.
Trying to recommend films to users is futile: every film is equally good, and no two films are related to each other. Yet the recommender sees a different picture. If one computes the similarities between items, every pair turns out to be positively correlated. More precisely, movies appear together about 1.82 times more often than chance would predict.
This might seem counter-intuitive at first. There is basically no information about taste in the data, so how can it be that every pair of films is positively correlated? The main reason is that the similarity measure (which in this case is lift) is not predicting the taste of the user, but rather how much they watch. Knowing that you have seen any film makes you more likely to be a binge watcher, and so more likely to see any other film.
The phantom correlation phenomenon arises because three conditions coexist:
(1) Each user consumes items independently: nobody has a taste for pairs.
(2) A more active user is more likely to consume every item.
(3) The only difference between users is how active they are.
With identical items this is easy to model; with items of different popularity, we first have to formalize what it means to be “the same as a casual viewer, only more active”.
We formalize the three conditions, show that they lead to a unique model, derive its consequences for similarity measures, and measure how much of the association in real datasets it explains. The model we obtain is known in psychometrics as the Rasch model [1, 2, 11], and heterogeneous activity is known to bias covariance and correlation in bipartite networks [10]. Our contributions are a derivation of the model from three assumptions on consumption, the exact dependence of the induced association on item popularity for lift, cosine and Pearson correlation, and a measurement of how much of the observed association activity alone explains, also for a learned model (EASE).
2 Related Work
Item-item similarity. Item-based collaborative filtering scores items by their similarity to the items a user consumed, measured by cosine, conditional probability or lift [7, 32], or learned by regression, as a sparse matrix in SLIM [6] or a dense one in EASE [8]. Heterogeneity has long been handled by adjusting the measures: inverse user frequency down-weights items that many users liked [3], and PMI is known to favor rare items [33]. We instead derive how much association differences in activity create, and how it depends on popularity for each measure.
Popularity bias. Recommenders tend to over-recommend popular items [27, 28], and this bias is usually studied in what a recommender outputs. We show that part of the popularity structure of item-item similarity is already in the data, before any learning, as a consequence of differences in activity.
Latent variable models. The activity model is the Rasch model of psychometrics [1, 2], here with a nonparametric distribution of the latent trait [12]; Cressie and Holland [11] characterize the data it can produce, and positive association holds in every unidimensional model with monotone item curves [20]. Latent factor models of collaborative filtering [4, 5] use several dimensions to encode taste; we use a single one on purpose, to isolate what activity alone does.
Bipartite networks. Saracco et al. [9] project user-item networks onto items by keeping the pairs whose number of common users is unlikely under the bipartite configuration model, the maximum-entropy model with fixed expected degrees [19]. Its distribution is that of the activity model with one fixed parameter per user, so their expected co-occurrence already contains the association we study. We describe activity instead by a distribution over the population, estimated from all history lengths, and make the association it creates the object of study rather than a baseline to subtract. Degree-normalized projections [38] and swap randomization [39] also account for degrees, without describing the association that degrees induce. Closest to our work, Puccio et al. [10] show that heterogeneous degrees bias the sample covariance and correlation in bipartite networks, positively and depending on the degrees of the two nodes, and propose corrected estimators; their analysis uses two classes of nodes and small heterogeneity, and does not cover lift, cosine or learned models.
3 Setting and Notation
We consider users and items, in the setting of implicit feedback: we observe which items each user interacted with (watched, listened to, reviewed or rated highly), not how much they liked them. We write for the set of items and for the set of users. User is described by a binary vector , where if user consumed item and otherwise; a 0 mixes items the user did not want with items they never came across [16, 17]. The popularity of item is , and is the probability that a user consumed both and . When we drop the user index, the vector denotes a generic user.
Item-item similarity measures are functions of , and . We consider the following four widely used measures [7, 32]:
• Covariance: .
• Lift: lift ; its logarithm is the pointwise mutual information [42].
• Cosine similarity: .
• Pearson correlation: .
Lift equals 1, and covariance and the Pearson correlation equal 0, exactly when the two items co-occur as often as chance would predict. Notice that, once the popularities are fixed, all four are functions of alone: a model that reproduces the popularities and the co-occurrences reproduces every measure. Moreover, we will consider the similarity matrix generated by EASE [8], which is a dense item-item similarity matrix learned in closed form by linear regression. The EASE similarity matrix is not a function of , and alone, but depends on the co-occurrences and popularities of all items.
4 The Activity-Driven Model
In order to understand how much user activity alone can create phantom correlation and influence similarity measures, we need a model where the only mutual information between items is derived from user activity. To do so, we formalize the three conditions identified in the introduction:
(1) Each user consumes items independently.
(2) A more active user is more likely to consume every item.
(3) The only difference between users is how active they are.
We assume that each user has an unobserved trait , which represents how active the user is: the larger , the more items the user is expected to consume. This unobserved trait is sufficient to formally rephrase the three conditions above:
ASSUMPTION 1 (INDEPENDENT CONSUMPTION). Given , the user consumes items independently:
with for every item .
Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
In words, the user has no taste for combinations of items or, more precisely, the trait fully characterizes the user, since given the items behave independently.
On its own, this assumption is weak: a rich enough can describe almost any behavior [4, 5]. The other assumptions limit what can represent.
ASSUMPTION 2 (ACTIVITY INFLUENCES EVERY ITEM). For every item , the probability is a measurable function of that is non-decreasing almost surely. Moreover, if , then almost surely.
It makes a measure of activity, with no preference for specific items, and it preserves the order of popularity at every activity level. Many models satisfy the first two assumptions, and all of them make every pair of items non-negatively correlated (Proposition 2). The third assumption makes the model unique.
ASSUMPTION 3 (ACTIVITY IS THE ONLY DIFFERENCE). Once we know how many items a user consumed, , the parameter does not carry further information. Formally,
Equivalently, the count is a sufficient statistic for the parameter .
Once we know how many items a user consumed, their activity tells us nothing more about which ones: is the same for every user.
4.1 Deriving the Model
The three assumptions completely determine the shape of the model; the elementary proof shows why “more active” must mean “multiplied odds”.
PROPOSITION 1 (THE ACTIVITY MODEL). A distribution satisfies Assumptions 1–3 if and only if there exist item parameters and a distribution of activity levels such that
In particular, given the activity level , it holds that for every item .
PROOF. ( ) Since , we have , so Assumption 1 gives
By the Fisher–Neyman factorization theorem [18], Assumption 3 holds if and only if for some nonnegative functions and , with independent of , which means
Take two baskets x and y that coincide except for items , with and (for instance with all other items set to 0), and the same . They have the same size, so subtracting the two equations gives
The right-hand side does not depend on , while the left-hand side does not depend on any item other than j and k. So if we define the function , then for every item i
for some constant . The conditional distribution in Equation (3) therefore depends on only through , so integrating over or over gives the same distribution of baskets. Without loss of generality we can therefore take to be the identity, replacing by and by the distribution of across users. Substituting and into Equation (3) gives
and integrating against P gives Equation (2).
(⇔) If Equation (2) holds, take the activity level , with distribution , as the trait. Given the items are independent, with ; the trait enters only through , so the count is sufficient; and every logistic( ) is nondecreasing in , with the popularity order given by the order of the at every activity level.
To understand intuitively what the model says, we need to see how the odds of consuming an item change with the activity level. For two activity levels and ,
a more active user has the odds of every item multiplied by the same factor. For a niche item, odds and probabilities are almost the same thing, so its probability is multiplied by about the same factor; for a blockbuster that is already likely, the probability barely changes. This property, together with the fact that items are independent given the activity level, fully determines the model.
The activity model in Equation (2) is known in psychometrics as the Rasch model [2], where is the score of a test taker and is known to be a sufficient statistic; Andersen [1] proved a converse: if a minimal sufficient statistic for the person parameter exists and does not depend on the item parameters, it must be the raw score, and the model must be of Rasch type. Cressie and Holland [11] characterize the distributions of answer patterns that a Rasch model can produce, in a form equivalent to Equation (7) below. Our derivation is similar in spirit, but its setting differs: Andersen assumes that all items follow a single parametric family, while we let every item have its own consumption curve and assume directly that the number of consumed items is sufficient. In network science, the same conditional distribution with one parameter per user is the bipartite configuration model [9] (Section 2).
5 How Activity Creates Correlation
5.1 Model-Independent Consequences
5.1.1 Total covariance depends on user activity. While the model we have previously derived will be useful to quantify the amount of phantom correlation in real datasets, the fact that differences in activity create correlation is a more general phenomenon that holds for any distribution on X. It is a consequence of the following identity:
which follows from the elementary identity , applied to . In particular, if we fix the item popularities , the total covariance is determined by the variance of the number of items consumed by users. In other words, the more users differ in how many items they consume, the larger the total covariance between items, whatever the model.
The identity fixes only the total, not the covariance of individual pairs or other measures.
5.1.2 Every pair is positively associated. One might model activity differently, for instance letting a niche item reveal more about activity than a popular one [3]. Assumption 3 is not needed to show that activity creates correlation:
PROPOSITION 2. Under Assumptions 1 and 2, for every pair of items i, j,
Moreover, the inequality is strict unless or .
This is a special case of a known result for latent variable models with monotone item curves [20]; the proof is in Appendix A.
Under the activity model, is strictly increasing, so every pair is strictly positively correlated unless activity is constant: phantom correlation can only push correlation up, for every single pair.
5.1.3 Which activity patterns are possible. The two previous results can be combined to give a necessary condition for a distribution to be compatible with Assumptions 1 and 2, as expressed by the following inequality:
COROLLARY 1. Under Assumptions 1 and 2, the following inequality holds:
No model satisfying Assumptions 1 and 2 can generate a dataset that violates it. The inequality is violated when every user consumes exactly the same number of items, and it can fail when the length of every list is capped, as in datasets that keep only each user's top items (Section 7.2). The following example illustrates this.
Example 2 (Fixed baskets). Suppose every user consumes exactly 5 of 100 identical items, chosen at random. Then , and Equation (6) does not hold. In fact, each pair has negative covariance , which is impossible according to Proposition 2. No activity distribution can produce this, since Assumption 1 is not satisfied. A fixed basket size forces items to compete for the same slots.
Real datasets tend to sit at the opposite extreme. In recommendation data, a few heavy users typically sit next to many light ones [35], so the history lengths vary far more than the right-hand side of Equation (6). This is the case for the datasets we use, with a single exception (Section 7).
5.2 Activity as a Parameter and Activity as a Count
Assumption 3 makes the count sufficient for the activity : once we know how many items a user consumed, the activity tells us nothing more about the basket. It might seem intuitive to conclude that the count can replace the parameter, and that users who consumed the same number of items consume them independently. However, this is not the case. We can in fact easily compute the conditional distribution of a basket given its size, like so:
Importantly, this conditional distribution is identical to the conditional distribution of independent Bernoulli variables with parameters logistic( ), conditioned on the sum being [13]. The difference between the two distributions lies in the distribution of the count, which in the Bernoulli case follows a Poisson-binomial distribution [26], while in the activity model it depends on the distribution of ; for the Rasch model, this representation is due to Cressie and Holland [11]. This, together with classical results on independent Bernoulli variables conditioned on their sum [21, 22], gives the following statement:
PROPOSITION 3 (COMPETITION AND ACTIVITY). Under the activity model, for every pair of items :
(1) for ;
(2) the probability is non-decreasing in .
5.3 Similarity Measures under the Activity Model
How much of this association each measure shows, and for which pairs, depends on the popularity of the two items and differs between measures; below we derive what the matrices of Figure 1 should look like if activity were the only source of association.
5.3.1 Lift. Under the activity model, lift is the measure that gives the most direct insight into the effect of activity on association, as the following proposition shows.
PROPOSITION 4. Under the activity model, by Equation (5), the lift of two items i and j is
In particular, for a fixed distribution of with finite , the following hold:
(1) if , then ;
(2) if , then ;
Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
(3) is strictly decreasing in and in , unless and are independent.
The proof is in Appendix A.
5.3.2 Cosine and Pearson Correlation. Both measures are lift combined with a function of the popularities:
The behavior in the two limits is therefore the same as for lift, multiplied by a factor that depends on the popularities. However, monotonicity is not guaranteed, since the new factor increases with popularity while lift decreases. We will explore the behavior of these measures empirically. For covariance and Pearson correlation, Puccio et al. [10] obtained the dependence on popularity to second order in the heterogeneity, for two classes of users; Proposition 4 is exact and holds for any distribution of activity.
5.3.3 EASE Similarity Matrix. EASE [8] learns a dense matrix of item-item weights B by regressing each item on all the others, with an penalty of strength and a zero diagonal. Its solution depends on the data only through the Gram matrix G of the interaction matrix:
A model has no interaction matrix, but it has an expected Gram matrix: we replace the observed counts by the counts the model expects, computed under the fitted model (Section 6), and compute EASE on it. Unlike lift, cosine and Pearson correlation, a weight depends on the co-occurrences of all items, not only on those of i and j, so we study it empirically.
6 Measuring Activity-Induced Association in Data
To quantify phantom correlation in real data, we fit the model by expectation-maximization [23]. By Equation (7), activity enters the distribution of baskets only through [11], so every distribution of with
for every observed history length gives the same model. We opt to approximate by a discrete distribution over fixed activity levels , that is,
where 1 is the indicator function and is the weight of activity level . Such a discrete distribution is the nonparametric maximum-likelihood estimator of a Rasch model with random activity [12]. Details of the initialization are given in Appendix B.
6.0.1 Fitting. The activity model has two unknown parts: the vector of item parameters, and the weights of the distribution of activity. The EM algorithm performs the following two steps iteratively until convergence.
E-step: Calculate based on the current estimates of and . By Bayes' theorem and Equation (2), summing over the baskets of size ,
where the factor that depends on which items were consumed is the same for every g and cancels in the normalization. The posterior therefore depends on a user only through the number of items they consumed.
M-step: First we update the weights using the empirical distribution of the observed history lengths:
Then we update the item parameters by solving the following equation for each item i:
In practice, instead of solving the equation exactly, we perform a single Newton step per iteration. At convergence, the model therefore reproduces every item popularity exactly. The log-likelihood of the data that the EM algorithm maximizes is
with as in Proposition 1. Notice that the data enter only through the item popularities and the distribution of history lengths, as Equation (7) implies: the co-occurrences of item pairs are never used, yet the fitted model implies the co-occurrence
Comparing how the similarity measures behave in the data and under the fitted model shows how much of the observed association activity alone can produce.
How much association activity explains. Since model and data share the popularities, every similarity measure of Section 3 is, for a given pair, a function of the co-occurrence alone. Comparing the observed co-occurrence with the co-occurrence implied by a model therefore compares lift, cosine and Pearson correlation at once. We measure the distance between the two with the Poisson deviance of the co-occurrence counts over all pairs of items [24]. Given the co-occurrence of a model and the empirical co-occurrence , the deviance is defined as
which compares each difference with the natural fluctuation of a count of that size. We use it only as a distance between counts, not as a test. Even a perfect model leaves some deviance, because counts fluctuate. The share of the systematic mismatch of independence that activity removes is

Figure 1: Similarity matrices for MovieLens-1M. Rows: observed data, activity model, independence model; columns: lift, cosine, Pearson correlation, EASE weights. Films are sorted by popularity (most popular at the top left); films with fewer than 50 positive ratings are pooled into four buckets by number of users (strips at the right and bottom).
where is the co-occurrence under independence, is the co-occurrence under the fitted activity model, and is the co-occurrence of a dataset simulated from the fitted activity model. The share is 1 if the data look like activity plus counting noise, and 0 if activity explains nothing beyond independence. We estimate this noise floor as the mean deviance of the same model on ten datasets of the same size simulated from it [25]; the expectation is over such datasets.
Each measure separately. The deviance compares co-occurrences, and therefore all measures at once. To compare each similarity measure separately, we pool items into groups. For two groups of items A and B, a block pair, we use ratios of sums:
where every sum runs over the pairs , with . For groups of a single item, they reduce to the measures of Section 3. Single pairs are too noisy for a comparison measure by measure: most of them are never consumed together, and their lift and cosine have no logarithm. Pooling averages this noise out. For a block pair , let , , and be the values of the measure in the data, under the two models and in a dataset simulated from the fitted activity model (on a log scale for lift and cosine). How much
Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
fluctuates by chance differs between block pairs, so we measure each difference against : the standardized error
over the set of block pairs with at least 5 expected co-occurrences, is close to 1 when the data look like activity plus noise. As for the deviance, the share of the error of independence removed by activity is
Both expectations are estimated on the ten simulated datasets of the noise floor; for , each dataset is compared using from the other nine.
Popularity surface. The share does not show which part of the popularity structure of a measure activity reproduces. Since is fixed by , the activity model's value of every measure for a pair is a function of the two popularities alone: the model has no other information about the items. We therefore describe data and model with the same function of popularity. With and , where is the mean popularity of block and the median of , we fit by least squares, over the same block pairs,
the general symmetric polynomial of degree two. The level is the value of a pair of median popularity; the slope is the elasticity in popularity (if grows by , the measure changes by about ); since , a positive means that a popular-rare pair has a lower value than a balanced pair with the same ; is the curvature. Fitted to the observed values, Equation (13) describes what popularity alone can express; the difference between observed and model coefficients is the popularity structure activity does not produce. Under independence, for lift, and , for cosine.
7 Experiments
7.1 Datasets
Table 1 lists the four datasets we considered. In all of them an interaction is binary, and repeated interactions count once. For MovieLens-1M and MovieLens-20M [40] we count a rating as a consumption only if it is at least 4, the usual way of turning ratings into implicit feedback [8, 41]. Last.fm (HetRec 2011) [34] lists, for each user, their top 50 artists. Amazon Books (Amazon Reviews 2023, 5-core) [44] keeps users and books with at least 5 reviews. These construction choices shape the distribution of history lengths, and therefore the amount of phantom correlation a dataset can contain.
On every dataset except Last.fm, users differ strongly in how many items they consume, and by Equation (4) this fixes a large, positive total covariance between items, which the activity model distributes among the pairs. On Last.fm the total covariance is negative, which no model satisfying Assumptions 1 and 2 can produce (Corollary 1). Last.fm thus shows what happens when the assumptions fail. The models are always fitted on all items. The groups of
| Dataset | Users | Items | Interact. | Var(S) | ||
|---|---|---|---|---|---|---|
| MovieLens-1M | 6,038 | 3,533 | 575,281 | 11,024 | 85 | 10,939 |
| MovieLens-20M | 138,287 | 20,720 | 9,995,410 | 10,453 | 67 | 10,386 |
| Last.fm | 1,892 | 17,632 | 92,834 | 34 | 47 | |
| Amazon Books | 776,370 | 495,063 | 9,488,297 | 568 | 12 | 555 |
Table 1: Datasets used and their relation with Equation (4).
| Dataset | Pairs all | Blocks | |||
|---|---|---|---|---|---|
| lift | cosine | Pearson | EASE | ||
| MovieLens-1M | 0.81 | 0.99 | 0.99 | 0.99 | 0.79 |
| MovieLens-20M | 0.73 | 0.98 | 0.98 | 0.96 | 0.75 |
| Last.fm | 0.00 | 0.03 | 0.00 | 0.00 | |
| Amazon Books | 0.50 | 0.84 | 0.84 | 0.73 | |
Table 2: Share of the systematic error of the independence model removed by the activity model. Deviance over all pairs of items (Equation (12)), and standardized error of each measure over the blocks of items used in the figures.
Section 6 are as follows. On MovieLens-1M, the films consumed by at least 50 users are compared one by one (Section 7.2), and in blocks of 14 films consecutive in popularity for the block statistics; the remaining films are pooled into four buckets, equally spaced in . On the larger catalogs, we sort all items by popularity and cut them into consecutive popularity groups that each hold about the same share of all interactions, so that every group carries a comparable amount of data; items with the same popularity always share a group, so a dataset has at most 40 groups. The deviance in Equation (11) is computed on all pairs of items, without pooling; the comparison of each measure separately uses these blocks and groups (Table 2).
Use of AI tools. The analysis code (model fitting, simulations, statistics, tables and figures) was written and run with the assistance of an AI coding assistant (Claude, Anthropic) under the authors' direction. The authors checked it and take responsibility for the correctness of the results.
7.2 How Much Association Activity Explains
Figure 1 shows the four measures on MovieLens-1M for every pair of the 1,763 films with at least 50 positive ratings (1.55 M pairs, 95% of all interactions; only 1.2% of them were never rated together), with the remaining 1,770 films pooled into the four buckets; the figures for the other datasets are in the code repository. Table 2 summarizes all datasets. Where users differ strongly in activity, activity explains most of the association: on MovieLens-1M and MovieLens-20M it removes most of the systematic mismatch of independence over all pairs, and almost all of it over blocks, for every measure. On MovieLens-1M, the observed co-occurrence of 81% of the pairs is within a factor of two of what activity implies, against 35% under independence. On Amazon Books, activity removes about half of the mismatch over all pairs, most of which are too rare to tell the models apart, and most of it over blocks, least for Pearson correlation. On Last.fm, where every list is capped at
https://github.com/Mfavier91/Phantom-Correlation
| a (level) | b (popularity) | c (imbalance) | d (curvature) | |||||
|---|---|---|---|---|---|---|---|---|
| obs. | act. | obs. | act. | obs. | act. | obs. | act. | |
| MovieLens-1M | ||||||||
| Lift | 1.09 | 1.05 | -0.18 | -0.12 | 0.11 | 0.06 | -0.02 | -0.02 |
| Cosine | -2.45 | -2.49 | 0.32 | 0.38 | 0.11 | 0.06 | -0.02 | -0.02 |
| Pearson | -2.83 | -2.90 | 0.25 | 0.33 | 0.16 | 0.08 | -0.03 | -0.03 |
| MovieLens-20M | ||||||||
| Lift | 1.01 | 1.09 | -0.17 | -0.16 | 0.09 | 0.07 | -0.02 | -0.02 |
| Cosine | -2.22 | -2.13 | 0.33 | 0.34 | 0.08 | 0.05 | -0.01 | -0.02 |
| Pearson | -2.64 | -2.50 | 0.25 | 0.28 | 0.11 | 0.08 | -0.02 | -0.03 |
| Last.fm | ||||||||
| Lift | 0.07 | 0.01 | 0.03 | 0.00 | 0.11 | 0.00 | -0.01 | 0.00 |
| Cosine | -3.64 | -3.70 | 0.54 | 0.50 | 0.11 | 0.00 | -0.01 | 0.00 |
| Pearson | - | -8.00 | - | 0.52 | - | -0.01 | - | 0.01 |
| Amazon Books | ||||||||
| Lift | 1.73 | 1.58 | -0.11 | 0.00 | 0.24 | 0.01 | -0.05 | 0.00 |
| Cosine | -8.22 | -8.37 | 0.39 | 0.50 | 0.24 | 0.01 | -0.05 | 0.00 |
| Pearson | -8.32 | -8.60 | 0.37 | 0.50 | 0.46 | 0.01 | -0.11 | 0.00 |
Table 3: Popularity surface (Equation (13)) of each measure over block pairs, fitted to the observed values (obs.) and to the activity model (act.). Block pairs with negative Pearson correlation are left out (Amazon Books: 8 of 703); on Last.fm they are 257 of 595, and the observed fit is not shown.
50 artists and history lengths vary less than under independence (Table 1), activity removes nothing: the fitted model is essentially the independence model, as Corollary 1 anticipates. EASE, trained on the co-occurrences each model expects, follows the same ranking: activity removes most of the error of independence on both MovieLens datasets, although less than for the other measures, since single EASE weights are dominated by sampling noise, and none on Last.fm; on Amazon Books, the item-item matrix is too large to invert.
7.3 How Association Depends on Popularity
The activity model reproduces the overall shape of the matrices of Figure 1: lift is largest among rare films and cosine among popular ones, in the data and in the model, as Proposition 4 and Equation (9) predict, and Pearson correlation is largest among popular films, while independence has no correlation at all. The popularity surfaces of Table 3 make this precise for every dataset. The observed values are well described by a function of popularity alone ( between 0.88 and 1.00), and activity gets their level a right everywhere. On the two MovieLens datasets, activity also reproduces the shape: lift falls with popularity and is lower for unbalanced pairs, in the data and in the model. The observed lift falls somewhat faster, and depends more on the imbalance, than activity predicts, most visibly on MovieLens-1M, because rare films are associated more than activity allows; cosine and Pearson correlation inherit this. On Amazon Books, the activity model's lift is almost constant: books this rare sit in the first limit of Proposition 4, where activity adds the same association to every pair, so its cosine grows with popularity as under independence ( ). The observed lift instead falls with popularity as steeply as on MovieLens, and depends on the imbalance more than on any other dataset: books of similar popularity are read together, and heavy readers drift to niche books, more than activity allows (Appendix C). On Last.fm, activity produces no popularity structure at all, while the observed lift grows with popularity. In every dataset, what activity does not explain is itself structured by popularity.
7.4 What Activity Does Not Explain
Activity sets the level of association of a typical pair and, on MovieLens, most of its dependence on popularity; it does not say which pairs stand out. On MovieLens-1M, the Spearman correlation between the observed and the model lift over all pairs is only 0.31, and only the data contain negatively correlated pairs: the ranking of pairs within the activity baseline is where preferences live.
8 Discussion
The picture that emerges is that of a baseline. User activity sets, for every pair of items, a level of association that depends on the popularity of the two items, and genuine preferences appear as deviations from it. On MovieLens-1M, the baseline is most of what we observe for a typical pair; the ranking of pairs within that baseline is where taste shows. Where the activity model falls short, what remains is visibly structured by popularity and genuine preferences.
Before continuing, we want to be clear about what we are not claiming. We are not claiming that collaborative filtering signals are fake: activity explains the level of association, not which pairs stand out. We are not proposing a statistical test: the activity model is not a hypothesis to reject, but a mechanism whose consequences we want to understand. And we are not claiming that activity is the only source of popularity bias.
What we are claiming is that every similarity measure computed on implicit feedback mixes two things, and that one of them, the activity baseline, has a precise mathematical form. This matters for the choice of a similarity measure. Cosine similarity, the default in item-based collaborative filtering [7, 14], inherits a baseline that grows with popularity: whenever recommendation scores aggregate similarities, popular items receive a head start that has nothing to do with taste [27, 28]. Lift and PMI inherit a baseline that is largest for rare items, which is consistent with their known tendency to favor rare items [33]. Whether and how much this baseline biases the final recommendations is the natural next question, and the subject of ongoing work.
Where activity alone is not enough, as on Amazon Books and Last.fm, users differ not only in how much they consume, but also in how mainstream they are [29]; modeling that second dimension is beyond the scope of this paper.
9 Conclusion
We started with a streaming service where nobody likes anything together, and every pair of films looked similar anyway. The reason was simple: some users watch more than others. We showed that this simple reason has a precise form. Users who differ only in activity must differ along one axis, along which the odds of every item grow by the same factor; this makes every pair of items positively associated, fixes the total amount of item-item covariance, and shapes it according to item popularity. On real data, this activity baseline accounts for the typical association between films, while genuine taste lives in the deviations from it. Every time we read
Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
item-item similarity as a sign of shared taste, we should first ask how much of it is just activity.
References
[1] E. B. Andersen. Sufficient statistics and latent trait models. Psychometrika, 42(1):69–81, 1977.
[2] G. Rasch. Probabilistic Models for Some Intelligence and Attainment Tests. Danmarks Paedagogiske Institut, Copenhagen, 1960.
[3] J. S. Breese, D. Heckerman, and C. Kadie. Empirical analysis of predictive algorithms for collaborative filtering. In Proceedings of the 14th Conference on Uncertainty in Artificial Intelligence (UAI), pages 43–52, 1998.
[4] T. Hofmann. Latent semantic models for collaborative filtering. ACM Transactions on Information Systems, 22(1):89–115, 2004.
[5] Y. Koren, R. Bell, and C. Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8):30–37, 2009.
[6] X. Ning and G. Karypis. SLIM: Sparse linear methods for top-N recommender systems. In Proceedings of the 11th IEEE International Conference on Data Mining (ICDM), pages 497–506, 2011.
[7] B. Sarwar, G. Karypis, J. Konstan, and J. Riedl. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th International World Wide Web Conference (WWW), pages 285–295, 2001.
[8] H. Steck. Embarrassingly shallow autoencoders for sparse data. In The World Wide Web Conference (WWW), pages 3251–3257, 2019.
[9] F. Saracco, M. J. Straka, R. Di Clemente, A. Gabrielli, G. Caldarelli, and T. Squartini. Inferring monopartite projections of bipartite networks: an entropy-based approach. New Journal of Physics, 19:053022, 2017.
[10] E. Puccio, P. Vassallo, J. Piilo, and M. Tumminello. Covariance and correlation estimators in bipartite complex systems with a double heterogeneity. Journal of Statistical Mechanics: Theory and Experiment, 2019(5):053404, 2019.
[11] N. Cressie and P. W. Holland. Characterizing the manifest probabilities of latent trait models. Psychometrika, 48(1):129–141, 1983.
[12] B. Lindsay, C. C. Clegg, and J. Grego. Semiparametric estimation in the Rasch model and related exponential response models, including a simple latent class model for item analysis. Journal of the American Statistical Association, 86(413):96–107, 1991.
[13] X.-H. Chen, A. P. Dempster, and J. S. Liu. Weighted finite population sampling to maximize entropy. Biometrika, 81(3):457–469, 1994.
[14] G. Linden, B. Smith, and J. York. Amazon.com recommendations: item-to-item collaborative filtering. IEEE Internet Computing, 7(1):76–80, 2003.
[15] E. H. Simpson. The Interpretation of Interaction in Contingency Tables. Journal of the Royal Statistical Society Series B: Statistical Methodology, 13(2):238–241, 1951.
[16] Y. Hu, Y. Koren, and C. Volinsky. Collaborative Filtering for Implicit Feedback Datasets. In 2008 Eighth IEEE International Conference on Data Mining, pages 263–272, 2008.
[17] D. Liang, L. Charlin, J. McInerney, and D. M. Blei. Modeling User Exposure in Recommendation. In Proceedings of the 25th International Conference on World Wide Web, pages 951–961, 2016.
[18] P. R. Halmos and L. J. Savage. Application of the Radon-Nikodym Theorem to the Theory of Sufficient Statistics. The Annals of Mathematical Statistics, 20(2):225–241, 1949.
[19] J. Park and M. E. J. Newman. Statistical mechanics of networks. Physical Review E, 70(6):066117, 2004.
[20] P. W. Holland and P. R. Rosenbaum. Conditional Association and Unidimensionality in Monotone Latent Variable Models. The Annals of Statistics, 14(4):1523–1543, 1986.
[21] K. Joag-Dev and F. Proschan. Negative Association of Random Variables with Applications. The Annals of Statistics, 11(1):286–295, 1983.
[22] B. Efron. Increasing Properties of Polya Frequency Function. The Annals of Mathematical Statistics, 36(1):272–279, 1965.
[23] A. P. Dempster, N. M. Laird, and D. B. Rubin. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society Series B: Statistical Methodology, 39(1):1–22, 1977.
[24] J. A. Nelder and R. W. M. Wedderburn. Generalized Linear Models. Journal of the Royal Statistical Society. Series A (General), 135(3):370, 1972.
[25] B. Efron. Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics, 7(1):1–26, 1979.
[26] Y. Hong. On computing the distribution function for the Poisson binomial distribution. Computational Statistics & Data Analysis, 59:41–51, 2013.
[27] D. Jannach, L. Lerche, I. Kamekhkhosh, and M. Jugovac. What recommenders recommend: an analysis of recommendation biases and possible countermeasures. User Modeling and User-Adapted Interaction, 25(5):427–491, 2015.
[28] A. Klimashevskaia, D. Jannach, M. Elahi, and C. Trattner. A survey on popularity bias in recommender systems. User Modeling and User-Adapted Interaction, 34(5):1777–1834, 2024.
[29] C. Bauer and M. Schedl. Global and country-specific mainstreamness measures: Definitions, analysis, and usage for improving personalized music recommendation systems. PLOS ONE, 14(6):e0217389, 2019.
[30] R. Agrawal, T. Imieliński, and A. Swami. Mining association rules between sets of items in large databases. In Proceedings of the 1993 ACM SIGMOD international conference on Management of data, pages 207–216, 1993.
[31] S. Brin, R. Motwani, J. D. Ullman, and S. Tsur. Dynamic itemset counting and implication rules for market basket data. In Proceedings of the 1997 ACM SIGMOD international conference on Management of data - SIGMOD '97, pages 255–264, 1997.
[32] M. Deshpande and G. Karypis. Item-based top-N recommendation algorithms. ACM Transactions on Information Systems, 22(1):143–177, 2004.
[33] O. Levy, Y. Goldberg, and I. Dagan. Improving Distributional Similarity with Lessons Learned from Word Embeddings. Transactions of the Association for Computational Linguistics, 3:211–225, 2015.
[34] I. Cantador, P. Brusilovsky, and T. Kuflik. Second workshop on information heterogeneity and fusion in recommender systems (HetRec2011). In Proceedings of the fifth ACM conference on Recommender systems, pages 387–388, 2011.
[35] A. Clauset, C. R. Shalizi, and M. E. J. Newman. Power-Law Distributions in Empirical Data. SIAM Review, 51(4):661–703, 2009.
[36] M. Ferrari Dacrema, P. Cremonesi, and D. Jannach. Are we really making much progress? A worrying analysis of recent neural recommendation approaches. In Proceedings of the 13th ACM Conference on Recommender Systems, pages 101–109, 2019.
[37] Z. Sun, D. Yu, H. Fang, J. Yang, X. Qu, J. Zhang, et al.. Are We Evaluating Rigorously? Benchmarking Recommendation for Reproducible Evaluation and Fair Comparison. In Fourteenth ACM Conference on Recommender Systems, pages 23–32, 2020.
[38] T. Zhou, J. Ren, M. Medo, and Y.-C. Zhang. Bipartite network projection and personal recommendation. Physical Review E, 76(4):046115, 2007.
[39] A. Gionis, H. Mannila, T. Mielikäinen, and P. Tsaparas. Assessing data mining results via swap randomization. ACM Transactions on Knowledge Discovery from Data, 1(3):14, 2007.
[40] F. M. Harper and J. A. Konstan. The MovieLens Datasets. ACM Transactions on Interactive Intelligent Systems, 5(4):1–19, 2015.
[41] D. Liang, R. G. Krishnan, M. D. Hoffman, and T. Jebara. Variational Autoencoders for Collaborative Filtering. In Proceedings of the 2018 World Wide Web Conference on World Wide Web - WWW '18, pages 689–698, 2018.
[42] K. W. Church and P. Hanks. Word association norms, mutual information, and lexicography. In Proceedings of the 27th annual meeting on Association for Computational Linguistics -, pages 76–83, 1989.
[43] S. Xu, J. Ji, Y. Li, Y. Ge, J. Tan, and Y. Zhang. Causal Inference for Recommendation: Foundations, Methods, and Applications. ACM Transactions on Intelligent Systems and Technology, 16(3):1–51, 2025.
[44] Y. Hou, J. Li, X. Fu, Z. He, A. Yan, X. Chen, et al. Bridging language and items for retrieval and recommendation: benchmarking LLMs as semantic encoders. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (ACL), pages 3251–3265, 2026.
[45] G. H. Hardy, J. E. Littlewood, and G. Pólya. Inequalities. Cambridge University Press, 2nd edition, 1952.
[46] M. Shaked and J. G. Shanthikumar. Stochastic Orders. Springer Series in Statistics. Springer, 2007.
A Proofs and Further Results
Proof of Proposition 2. Write and . By the law of total covariance, , and the first term vanishes because the items are independent given (Assumption 1); this gives the equality. Let be an independent copy of . Expanding the product shows that
By Assumption 2, the functions f and g are non-decreasing, so the two factors never have opposite signs, and the expectation is non-negative.
If , the function is almost surely constant and the expectation is zero; the same holds if . Conversely, suppose that neither nor is almost surely constant. Since is non-decreasing, there is a value such that the sets and both have positive probability, and every point of
lies below every point of ; define , and in the same way. The sets and still have positive probability, because and are both lower segments of the range of , and and both upper segments. Whenever and , both factors are strictly positive, which happens with probability ; hence the expectation is strictly positive.
Proof of Proposition 4. The popularity is continuous and strictly increasing in , with limits 0 and 1 as and , so we can prove the three claims in terms of . Write and . (1) The function logistic( ) = increases to as . By monotone convergence, numerator and denominator of Equation (8), multiplied by , converge to and , and . (2) for every ; by bounded convergence, numerator and denominator both converge to . (3) Since and these derivatives are bounded by , we can differentiate Equation (8) under the expectation:
Let Q be the distribution of among users who consumed item i, that is, P reweighted by . Dividing numerator and denominator of both fractions by , the derivative becomes
Since and are increasing, the covariance is non-negative by the argument in the proof of Proposition 2, and positive unless is almost surely constant, which is exactly the case in which and are independent (Proposition 2). The same holds for by symmetry. In words, the derivative is : learning that a user also consumed makes them look more active, and for a more active user item is closer to saturation.
Drift towards the tail. Proposition 3 says that a user who consumes more items is more likely to consume every item. It does not say that all items gain equally.
PROPOSITION 5 (DRIFT TOWARDS THE TAIL). Under the activity model, let item i be less popular than item j, so that . Then the ratio
is non-decreasing in , from for to for . Consequently, the expected mean popularity of the items in a basket, namely , is non-increasing in .
PROOF. Write , , and let be the m-th elementary symmetric polynomial of the values of the other items , ( for and ). By Equation (7), the baskets of size that contain have total weight , and those that contain have total weight , with the same normalizing constant. Hence, for , the ratio is
Since , this expression increases with , and is non-decreasing in because the elementary symmetric polynomials of positive numbers satisfy Newton's inequalities [45]. For we have , and for both probabilities equal 1. For the consequence, the shares sum to 1 over the items, since a basket of size contains items. By the first part, the ratio is non-decreasing in whenever is less popular than : as grows, the shares move towards less popular items in the likelihood ratio order, which implies first-order stochastic dominance [46]. Since the popularity is non-decreasing in , its expectation under , which is the expected mean popularity of the basket, is non-increasing in .
Heavy users consume a less mainstream mix of items, even if nobody has a taste for the tail. The reason is that popular items saturate: a heavy user has already consumed most of them, so additional activity can only go to rarer ones. A drift towards the tail with activity is therefore not, by itself, evidence of a taste for niche items; only a drift faster than the one in Proposition 5 is. Amazon Books shows such a faster drift (Appendix C).
B Initialization of the Fit
Expectation-maximization needs an initial estimate of the item parameters and an initial distribution of activity across users. The item parameters are initialized as if items were independent, while the distribution of activity is a discrete distribution on fixed activity levels , initialized with equal weights:
The extreme activity levels and are chosen by solving the equations
In other words, we find the activity levels that correspond to the shortest and longest observed histories, and widen the range by 1.5 on the log-odds scale for good measure. The remaining levels are equally spaced between and , and stay fixed during the fit. We check afterwards that the fitted distribution puts no weight on and , which would signal an insufficient range. We stop when the log-likelihood in Equation (10) changes by less than a relative and every item popularity is reproduced to within a relative .
C Other Datasets
The figures for these datasets are in the code repository.
MovieLens-1M: the rarest films. Among the rarest films (1 -- 2 positive ratings, 252 films, 0.1% of all interactions), the observed association is 9.2 times what activity alone implies: rare films are consumed together far more than activity explains. This excess, however, rests on very few users: only 43 users rated two of these films, and their contributions are so uneven that they amount to about 3.3 users of equal weight.
Do Similarity Measures Measure Similarity? How User Activity Creates Phantom Correlation in Recommender Systems
MovieLens-20M.. On MovieLens-20M, activity removes a share 0.73 of the systematic mismatch of the independence model, over all pairs of films (the figures in the repository use 40 popularity groups). Relative to the activity model, the observed association is close to the model everywhere except the least popular groups, where it is higher than activity allows; the last group pools all films with at most 102 positive ratings. Heavy users also rate less popular films than the activity model predicts (mean absolute error 0.067 in popularity; see the Amazon paragraph below): the part that activity does not explain is structured by popularity.
Amazon Books. Amazon Books shows the clearest popularity structure beyond activity. Heavy readers review much less popular books than light readers, and the activity model cannot reproduce this drift: under it, the popularity of a user's books barely changes with the number of books they review (mean absolute error 0.050 in popularity). Its curve coincides with that of the independence model, and this is no accident: by Equation (7), given its size, a basket has the same form under both models, with odds that are almost proportional for books this rare, so activity decides how many books a user reviews, not which ones. The drift that Proposition 5 allows is real but small. The consequence shows in the association. Within popularity groups, the observed lift is U-shaped, high for rare and for popular books, while the activity model gives an almost flat curve. Over the whole catalog, books of similar popularity are consumed together more than activity allows, and books of very different popularity less: the observed lift is highest along the diagonal of the block matrix, while the activity model's is almost uniform. Over all pairs of books, activity removes only a share 0.50 of the systematic mismatch of independence. The correlation row tells the same story: the activity model spreads correlation along the rows of the most popular books, while in the data it stays among popular books. Activity gets the overall amount of association right, but not where it sits: readers differ not only in how much they read, but also in how mainstream their choices are, which the activity model, by construction, cannot express.
Last.fm. Last.fm is the boundary case. Every list is capped at 50 artists, the degrees are under-dispersed (variance ratio 0.73), and the condition in Equation (6) fails: there is almost no room for phantom correlation, and activity removes none of the systematic mismatch of the independence model (0.00). The observed association is again structured by popularity: correlation is positive among the most popular artists and slightly negative between popular and less popular ones, a pattern that no single activity dimension can produce, since it only allows non-negative association.