Papers
Topics
Authors
Recent
Search
2000 character limit reached

K-Nearest Hyperplanes Model

Updated 29 May 2026
  • K-Nearest Hyperplanes (KNH) is a graph learning framework that represents nodes as m-dimensional affine subspaces, enabling effective multi-view data fusion.
  • It uses precise subspace distance metrics, including projection and Grassmannian distances, to measure dissimilarity between hyperplanes.
  • Empirical results in misinformation detection demonstrate that KNH outperforms traditional K-NN methods in precision, recall, and overall accuracy.

The K-Nearest Hyperplanes (KNH) model is a generalization of classic graph-based learning frameworks, in which each node is represented not by a datapoint but by an mm-dimensional Euclidean subspace—an affine “m-flat” or hyperplane. KNH enables multi-view modeling of entities, constructing graphs whose nodes encode higher-order structures across heterogeneous feature sets. Key applications include misinformation detection, where empirical results demonstrate quantitative gains over traditional K-Nearest Neighbors (K-NN) approaches (Abdali et al., 2021).

1. Nodes as m-Flats in Euclidean Space

Whereas the classic K-NN graph defines each node as a point xi∈Rdx_i \in \mathbb{R}^d, KNH represents each entity ii by an mm-dimensional affine subspace (“flat” or hyperplane) Fi⊂RdF_i \subset \mathbb{R}^d:

Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}

Here, Ui∈Rd×mU_i \in \mathbb{R}^{d \times m} contains orthonormal columns spanning the subspace, and ci∈Rdc_i \in \mathbb{R}^d is an anchor point (e.g., the centroid of projected views). When m=0m = 0, the construction reduces to classic node-as-point K-NN. For m=d−1m = d-1, each node corresponds to a hyperplane in xi∈Rdx_i \in \mathbb{R}^d0. This representation is particularly well-suited to settings with multiple “views” or feature groups per entity.

2. Subspace Distance Metrics

KNH replaces standard Euclidean pointwise distances with measures of dissimilarity between affine subspaces. Two principal metrics are employed:

  • Projection Distance: For xi∈Rdx_i \in \mathbb{R}^d1, xi∈Rdx_i \in \mathbb{R}^d2 with anchors xi∈Rdx_i \in \mathbb{R}^d3, xi∈Rdx_i \in \mathbb{R}^d4 and projectors xi∈Rdx_i \in \mathbb{R}^d5,

xi∈Rdx_i \in \mathbb{R}^d6

This metric captures both orientation and relative translation. It is the preferred measure in KNH for heterogeneous, multi-view data.

  • Grassmannian (Subspace-Angle) Distance: Let xi∈Rdx_i \in \mathbb{R}^d7 be principal angles between xi∈Rdx_i \in \mathbb{R}^d8 and xi∈Rdx_i \in \mathbb{R}^d9 via ii0,

ii1

This metric focuses solely on relative orientation in Grassmannian manifolds.

3. Construction of the KNH Graph

Given multi-view-fused hyperplanes ii2 for ii3, a weighted undirected graph is constructed based on ii4-nearest-neighbor relations using the chosen subspace distance. The adjacency matrix ii5 is built as follows:

  1. Compute the pairwise distance matrix ii6.
  2. For each node ii7, select ii8 as the indices of the ii9 smallest nonzero mm0.
  3. Set edge weight mm1 for mm2 and mm3 otherwise; kernel choice may vary.
  4. Symmetrize the adjacency: mm4.
  5. Optionally row-normalize mm5.

This construction collapses to the standard K-NN graph when mm6, making KNH a strict generalization.

4. Multi-View Data Fusion and Subspace Estimation

KNH is inherently designed to harness multi-view data, where each entity is described by mm7 distinct feature sets or modalities. Let mm8 denote the mm9-th view for all Fi⊂RdF_i \subset \mathbb{R}^d0 entities. The goal is a common Fi⊂RdF_i \subset \mathbb{R}^d1-dimensional latent structure across views, achievable via Tensor Canonical Correlation Analysis (TCCA):

  • Compute an order-Fi⊂RdF_i \subset \mathbb{R}^d2 covariance tensor from the Fi⊂RdF_i \subset \mathbb{R}^d3 view matrices.
  • Solve the TCCA minimization via rank-Fi⊂RdF_i \subset \mathbb{R}^d4 CP decomposition:

Fi⊂RdF_i \subset \mathbb{R}^d5

  • For each entity Fi⊂RdF_i \subset \mathbb{R}^d6, concatenate projected vectors Fi⊂RdF_i \subset \mathbb{R}^d7 from each view:

Fi⊂RdF_i \subset \mathbb{R}^d8

  • Orthonormalize Fi⊂RdF_i \subset \mathbb{R}^d9 (e.g., via SVD or QR).

The result is one Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}0-flat per node capturing correlations and complementarities across views.

5. Application to Misinformation Detection

The KNH adjacency matrix Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}1 is used as input to graph-based semi-supervised classifiers. Two principal approaches are highlighted:

  • Graph Convolutional Networks (GCN): Nodes are featurized by Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}2 or other metadata. Layer-wise propagation uses the normalized adjacency:

Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}3

with softmax and cross-entropy loss on labeled nodes.

  • Belief-Propagation-Style Diffusion: Initialize label vector Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}4 for real/fake/unknown, iterate

Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}5

until convergence, then threshold Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}6 to assign labels. In experiments, 40% labels are fixed, the remainder predicted.

On real-world datasets, including Twitter (with features such as word-cooccurrence tensors and HTML-tag matrices) and FakeNewsNet/PolitiFact (user-news and publisher-news feature matrices), this procedure yielded consistently enhanced classification metrics for KNH over standard K-NN (Abdali et al., 2021).

6. Theoretical Properties and Computational Complexity

  • Reduction to K-NN: KNH generalizes K-NN, reducing exactly to classic K-NN when each flat is Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}7 and Euclidean distances are used.
  • Complexity:
    • TCCA/CP decomposition: Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}8 for Fi={ x∈Rd:x=Uiα+ci, α∈Rm }F_i = \{\, x \in \mathbb{R}^d : x = U_i \alpha + c_i,\ \alpha \in \mathbb{R}^m\,\}9 ALS iterations and rank Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}0; practically independent of Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}1 (excluding tensor formation).
    • Orthonormalization: Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}2 overall.
    • Pairwise distances: Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}3.
    • Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}4-nearest selection: Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}5 (or Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}6 with selection algorithms).
  • Scalability: Overall complexity is Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}7, on par with exact K-NN graph construction, aside from multi-view fusion costs.

7. Empirical Evaluation and Comparative Performance

Empirical evaluation on semi-supervised fake-news classification demonstrated the following comparative metrics (10 random splits, 40% label rate):

Dataset Method Precision Recall F1 Accuracy
Twitter (R=20,K=15) KNN (plain) 0.687 0.683 0.684 0.694
KNN+CCA 0.691 0.682 0.686 0.697
KNH 0.709 0.720 0.713 0.719
FakeNewsNet (R=30,K=20) KNN 0.836 0.742 0.789 0.780
KNN+CCA 0.833 0.747 0.787 0.777
KNH 0.875 0.808 0.839 0.830

Increasing the “flat” dimension Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}8 and neighborhood size Ui∈Rd×mU_i \in \mathbb{R}^{d \times m}9 further amplifies KNH’s advantage, suggesting subspace-based nodes more effectively exploit complex, multi-view structures compared to pointwise approaches. This provides empirical justification for preferring KNH in high-dimensional, multi-view graph learning contexts (Abdali et al., 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to K-Nearest Hyperplanes (KNH) Model.