Skip to content

Shared-Neighbour Similarity

Comparing items through overlap or association patterns in their relationships with third items.

Version
v1 · 2026-11-14 · History
Domain-specific #
14937
Domain group
Professional & Organizational Practice
Origin domain
Library & Information Science
Subdomains
Similarity Measures, Distributional Semantics → Library & Information Science
Aliases
Shared-neighbor similarity, Second-order similarity

Core Idea

Two items can be compared through their associations with a common set of third items. Represent each focal item by a profile of its contexts, references, neighbours or raters; then compare those profiles. Two focal items need not have a direct link to each other to share informative neighbours. The meaning of a score depends on what the links represent and how the profiles are compared.[1][2]

The common structure does not make every method the same. Shared cited references support a document relation, shared linguistic contexts support a word-similarity estimate, and common raters provide data for item-based recommendation. A shared neighbour is evidence under a chosen model, not proof that the focal items are synonyms, interchangeable or causally related.[3][1][2]

How would you explain it like I'm…

Same Friends, Maybe Alike

Two kids might never have played together, but if they're both friends with lots of the same other kids, they might be alike in some way. You can compare things by looking at who or what they're both connected to. It's a clue, not proof that they're the same.

Alike by Shared Connections

One way to tell if two things are alike is to look at what they're each connected to. For example, two books that list many of the same sources, or two words that show up around the same other words, or two movies liked by the same people. The two things don't have to be connected to each other directly; it's the shared neighbors that count. What the score means depends on what the connections are and how you compare them. Shared neighbors are a clue, not proof that two things are the same.

Shared-Neighbour Similarity

Shared-neighbour similarity compares two items through their links to a common set of third items. Each item is described by a profile — its contexts, references, neighbours or raters — and then the profiles are compared. The two items don't need any direct link to share informative neighbours. Examples include documents that cite the same references, words that appear in the same linguistic contexts, and products rated by the same people in item-based recommendation. These share a structure but aren't the same method, and a score's meaning depends on what the links represent and how profiles are compared. A shared neighbour is evidence under a chosen model, not proof that the items are synonyms, interchangeable or causally connected.

 

Shared-neighbour similarity compares two focal items through their associations with a common set of third items. Each focal item is represented as a profile over its contexts, references, neighbours or raters, and similarity is computed by comparing those profiles. Two items need not be directly linked to share informative neighbours, which is what makes the approach useful for discovering indirect relations. The common structure does not make all methods equivalent: shared cited references support a document relation (as in bibliographic coupling), shared linguistic contexts support a word-similarity estimate, and common raters supply data for item-based recommendation. The interpretation of any score depends on what the links represent and on the comparison function used. A shared neighbour counts as evidence under a chosen model, not as proof that the focal items are synonyms, interchangeable or causally related.

Second-Order Word Similarity

Islam and Inkpen's second-order co-occurrence pointwise mutual information (SOC-PMI) method profiles each target word by nearby words in a corpus. Pointwise mutual information (PMI) compares a target–context co-occurrence frequency with a baseline derived from their individual frequencies. The authors rank neighbours by PMI, retain target-specific lists, and use their shared neighbours to score the pair; the target words do not need to co-occur directly.[1]

The 2006 method uses two directional contributions: a shared neighbour selected for one word contributes its positive PMI with the other. Each contribution raises that PMI to an exponent \(\gamma\) and is normalized by the corresponding list size \(\beta_1\) or \(\beta_2\); the reported score adds the two normalized contributions. The experiments use \(\gamma=3\). This is a weighted score, not simply the number of shared neighbours or an ordinary cosine. Window size, preprocessing, list size and corpus counts affect the result.[1]

Neighborhood in Abstraction Space

Shared-Neighbour Similarity sits in a sparse region of the domain-specific corpus (96th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References and Raters

In bibliographic coupling, the profiles are outgoing reference lists. Two papers are coupled when both cite at least one of the same works; the number of shared cited works is a simple strength measure. This differs from co-citation, which asks whether later papers cite both focal papers. The 1968 National Bureau of Standards study describes bibliographic coupling as a search for papers that share references.[3]

In item-based collaborative filtering, Sarwar and colleagues compare two items using the users who rated both. Their methods include cosine, correlation and adjusted cosine; a similarity can then help predict a user's rating for an item from that user's ratings of other items. Being a common rater alone does not mean a user liked both items, and an unobserved rating is not automatically a negative rating.[2]

A related item-based method, Slope One, also uses co-ratings but estimates average pairwise rating differences rather than making the profile similarity above its defining score. Similar input relations can therefore support different computations and predictions.[4]

Boundaries

A broad review, common context word or frequently rated item may connect otherwise dissimilar items. Normalization or downweighting common neighbours is an optional design choice, not a requirement of raw bibliographic coupling. Sparse observations and rare co-occurrences make estimates unstable; PMI can assign a large score to an association supported by few observations. Similarity depends on the observed population, time, preprocessing and chosen weighting; no single score is ground-truth semantic identity.[1][2]

References

[1] Md. Aminul Islam and Diana Inkpen, “Second Order Co-occurrence PMI for Determining the Semantic Similarity of Words”, Proceedings of LREC 2006, §3 and §3.1. registry ↩a ↩b ↩c ↩d ↩e

[2] Badrul Sarwar, George Karypis, Joseph Konstan and John Riedl, “Item-Based Collaborative Filtering Recommendation Algorithms”, Proceedings of the 10th International Conference on World Wide Web (2001), §3. registry ↩a ↩b ↩c ↩d

[3] Franz L. Alt and Russell A. Kirsch, “Citation Searching and Bibliographic Coupling With Remote On-Line Computer Access”, Journal of Research of the National Bureau of Standards 72B (1968), 61–78. registry ↩a ↩b

[4] Daniel Lemire and Anna Maclachlan, “Slope One Predictors for Online Rating-Based Collaborative Filtering”, description of pairwise rating deviations. registry ↩