Table of Contents
Fetching ...

Wittgenstein's Family Resemblance Clustering Algorithm

Golbahar Amanpour, Benyamin Ghojogh

TL;DR

This work introduces Wittgenstein's Family Resemblance (WFR) clustering, a graph-based unsupervised method that defines clusters as connected components in a thresholded resemblance graph built from neighboring data points. By leveraging multiple resemblance functions—including log-based, cosine, and kernel-based scores—and an optional kernel variant (kernel WFR), the approach accommodates nonlinear cluster structures without pre-specifying the number of clusters. Training centers on building a sparse kNN graph, computing and normalizing pairwise resemblances, and extracting connected components, while testing assigns labels based on nearest-neighbor resemblance and can detect outliers. The paper analyzes the time/space complexities, demonstrates competitive performance on nonlinear benchmarks, and discusses extensions such as weighted resemblance graphs to further enhance clustering flexibility and accuracy.

Abstract

This paper, introducing a novel method in philomatics, draws on Wittgenstein's concept of family resemblance from analytic philosophy to develop a clustering algorithm for machine learning. According to Wittgenstein's Philosophical Investigations (1953), family resemblance holds that members of a concept or category are connected by overlapping similarities rather than a single defining property. Consequently, a family of entities forms a chain of items sharing overlapping traits. This philosophical idea naturally lends itself to a graph-based approach in machine learning. Accordingly, we propose the Wittgenstein's Family Resemblance (WFR) clustering algorithm and its kernel variant, kernel WFR. This algorithm computes resemblance scores between neighboring data instances, and after thresholding these scores, a resemblance graph is constructed. The connected components of this graph define the resulting clusters. Simulations on benchmark datasets demonstrate that WFR is an effective nonlinear clustering algorithm that does not require prior knowledge of the number of clusters or assumptions about their shapes.

Wittgenstein's Family Resemblance Clustering Algorithm

TL;DR

This work introduces Wittgenstein's Family Resemblance (WFR) clustering, a graph-based unsupervised method that defines clusters as connected components in a thresholded resemblance graph built from neighboring data points. By leveraging multiple resemblance functions—including log-based, cosine, and kernel-based scores—and an optional kernel variant (kernel WFR), the approach accommodates nonlinear cluster structures without pre-specifying the number of clusters. Training centers on building a sparse kNN graph, computing and normalizing pairwise resemblances, and extracting connected components, while testing assigns labels based on nearest-neighbor resemblance and can detect outliers. The paper analyzes the time/space complexities, demonstrates competitive performance on nonlinear benchmarks, and discusses extensions such as weighted resemblance graphs to further enhance clustering flexibility and accuracy.

Abstract

This paper, introducing a novel method in philomatics, draws on Wittgenstein's concept of family resemblance from analytic philosophy to develop a clustering algorithm for machine learning. According to Wittgenstein's Philosophical Investigations (1953), family resemblance holds that members of a concept or category are connected by overlapping similarities rather than a single defining property. Consequently, a family of entities forms a chain of items sharing overlapping traits. This philosophical idea naturally lends itself to a graph-based approach in machine learning. Accordingly, we propose the Wittgenstein's Family Resemblance (WFR) clustering algorithm and its kernel variant, kernel WFR. This algorithm computes resemblance scores between neighboring data instances, and after thresholding these scores, a resemblance graph is constructed. The connected components of this graph define the resulting clusters. Simulations on benchmark datasets demonstrate that WFR is an effective nonlinear clustering algorithm that does not require prior knowledge of the number of clusters or assumptions about their shapes.
Paper Structure (42 sections, 18 equations, 8 figures, 1 table)

This paper contains 42 sections, 18 equations, 8 figures, 1 table.

Figures (8)

  • Figure 1: Illustration of family resemblance: entity 1 possesses attributes (or so-called traits) $a$ and $b$, entity 2 possesses attributes $b$ and $c$, and entity 3 possesses attributes $c$ and $d$. All the entities 1, 2, and 3 belong to the same family, i.e., a chain of shared attributes, although entities 1 and 3 do not have any common attributes directly.
  • Figure 2: Illustration of the main idea of WFR clustering algorithm, where the similar neighboring data instances form a family (or cluster) as a chain of similarities.
  • Figure 3: (Top) Setting $\tau=0.90$ produces many clusters, while $\tau=0.80$ yields fewer. At $\tau=0.70$, the number of clusters decreases to six due to existing gaps between some data instances, and finally at $\tau=0.60$, the clustering correctly identifies two clusters. (Bottom) The grid search for the optimal threshold $\tau$ on the two-spirals dataset. Beginning the search at $\tau=1$ produces an excessive number of clusters. As the threshold is decreased, the number of clusters is gradually reduced. For thresholds $\tau \leq 0.69$, the combined score $s_1 + s_2$ improves, and the algorithm correctly identifies the two underlying clusters.
  • Figure 4: Illustration of the test phase in WFR clustering with various resemblance functions. The lines show the largest resemblance between each test instance and its most similar training instance.
  • Figure 5: The algorithm of training phase in WFR clustering.
  • ...and 3 more figures