K-Nearest Hyperplanes Model
- 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 -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 , KNH represents each entity by an -dimensional affine subspace (“flat” or hyperplane) :
Here, contains orthonormal columns spanning the subspace, and is an anchor point (e.g., the centroid of projected views). When , the construction reduces to classic node-as-point K-NN. For , each node corresponds to a hyperplane in 0. 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 1, 2 with anchors 3, 4 and projectors 5,
6
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 7 be principal angles between 8 and 9 via 0,
1
This metric focuses solely on relative orientation in Grassmannian manifolds.
3. Construction of the KNH Graph
Given multi-view-fused hyperplanes 2 for 3, a weighted undirected graph is constructed based on 4-nearest-neighbor relations using the chosen subspace distance. The adjacency matrix 5 is built as follows:
- Compute the pairwise distance matrix 6.
- For each node 7, select 8 as the indices of the 9 smallest nonzero 0.
- Set edge weight 1 for 2 and 3 otherwise; kernel choice may vary.
- Symmetrize the adjacency: 4.
- Optionally row-normalize 5.
This construction collapses to the standard K-NN graph when 6, 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 7 distinct feature sets or modalities. Let 8 denote the 9-th view for all 0 entities. The goal is a common 1-dimensional latent structure across views, achievable via Tensor Canonical Correlation Analysis (TCCA):
- Compute an order-2 covariance tensor from the 3 view matrices.
- Solve the TCCA minimization via rank-4 CP decomposition:
5
- For each entity 6, concatenate projected vectors 7 from each view:
8
- Orthonormalize 9 (e.g., via SVD or QR).
The result is one 0-flat per node capturing correlations and complementarities across views.
5. Application to Misinformation Detection
The KNH adjacency matrix 1 is used as input to graph-based semi-supervised classifiers. Two principal approaches are highlighted:
- Graph Convolutional Networks (GCN): Nodes are featurized by 2 or other metadata. Layer-wise propagation uses the normalized adjacency:
3
with softmax and cross-entropy loss on labeled nodes.
- Belief-Propagation-Style Diffusion: Initialize label vector 4 for real/fake/unknown, iterate
5
until convergence, then threshold 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 7 and Euclidean distances are used.
- Complexity:
- TCCA/CP decomposition: 8 for 9 ALS iterations and rank 0; practically independent of 1 (excluding tensor formation).
- Orthonormalization: 2 overall.
- Pairwise distances: 3.
- 4-nearest selection: 5 (or 6 with selection algorithms).
- Scalability: Overall complexity is 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 8 and neighborhood size 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).