Abstract
Trust prediction is a fundamental task in social network analysis, underpinning applications from personalized recommendations to credit risk assessment. Traditional approaches often rely on pairwise modeling, which fails to capture the complex, high-order correlations inherent in social structures. This paper introduces the Adaptive Hypergraph Network for Trust Prediction (AHNTP), a framework designed to model multi-node dependencies through hypergraph structures. By integrating motif-based social influence, adaptive hypergraph convolutions with attention mechanisms, and supervised contrastive learning, AHNTP addresses the limitations of standard Graph Neural Networks (GNNs), such as the "isolated node" problem and the inability to weight diverse social circles. Experimental evaluations on the Epinions and Ciao datasets demonstrate that AHNTP significantly outperforms state-of-the-art methods, achieving up to a 12% improvement in predictive performance.
Introduction
In modern social networks, trust acts as the primary driver for decision-making. Most existing predictive models treat trust as a simple link between two individuals—a pairwise correlation. However, real-world trust is nuanced and often derived from high-order relationships, such as shared group memberships, common hobbies, or the influence of specific social circles.
Standard GNNs struggle to represent these dependencies involving more than two nodes. Furthermore, they often fail when dealing with "isolated nodes" (users with sparse direct connections) and typically assign equal weight to all connections, ignoring the varying influence of different social contexts. AHNTP bridges this gap by modeling the social network as a hypergraph, where a single hyperedge can connect an arbitrary number of users simultaneously, capturing the collective influence of social groups.
Methodology
The AHNTP framework is built upon three innovative pillars designed to enhance the representation of social trust.
1. Trust Hypergraph Construction
Rather than a basic graph, the model constructs a two-tier hypergroup structure:
- Node-level Hyperedges: These capture "High Social Influence" using a Motif-based PageRank algorithm, which identifies users appearing frequently in stable triangular patterns. It also incorporates "User Attributes," linking individuals who share hobbies or geographic locations.
- Structure-level Hyperedges: These capture traditional pairwise and multi-hop connections to maintain the broader network context.
2. Adaptive Hypergraph Convolutional Network
While standard hypergraph methods utilize static weights, AHNTP introduces an attention mechanism within its convolution layers. This allows the model to dynamically determine the relevance of specific hyperedges for a given user. For instance, the model can learn that for one user, an "alumni" hyperedge is a stronger predictor of trust, while for another, a "professional expertise" hyperedge is more significant.
3. Supervised Contrastive Learning
To mitigate the impact of noisy data and class imbalances, AHNTP employs a supervised contrastive loss function. This objective pulls "trusting" pairs closer together in the embedding space while pushing "distrusting" pairs further apart. This approach significantly enhances the robustness of the embeddings compared to models relying solely on standard cross-entropy loss.
Experimental Evaluation
The model was evaluated using two classic real-world datasets from product review platforms: Epinions (8,935 users, ~66,000 relations) and Ciao (4,104 users, ~41,000 relations). In these datasets, trust is explicitly defined by users following or vouching for the helpfulness of others.
Key Results
AHNTP consistently outperformed eight state-of-the-art baselines, including GAT, HGNN+, and KGTrust:
- Accuracy: AHNTP improved accuracy by an average of 11.25% on the Ciao dataset and 9.18% on Epinions.
- F1-Score: The model achieved an average improvement of 12.29% (Ciao) and 10.22% (Epinions), indicating a superior balance between precision and recall.
- Robustness: When training data was reduced from 80% to 50%, AHNTP’s performance remained stable, whereas traditional GNN models experienced sharp declines.
Discussion and Insights
The success of AHNTP highlights several critical aspects of social trust modeling. First, motifs are the "atoms" of trust; triangular patterns (e.g., transitive trust) are far more predictive than simple chains. Second, hyperedges solve the isolated node problem; users without direct friends can still be embedded meaningfully through hyperedges representing shared attributes. Finally, adaptivity is essential, as the importance of different social circles varies significantly between individuals.
Conclusion
AHNTP represents a significant advancement in trust prediction by moving from pairwise links to high-order hypergraph representations. While the current model is static, it provides a robust foundation for future work. The authors plan to evolve the framework into a dynamic social hypergraph capable of incorporating temporal information to track how trust relationships evolve and shift over time.
Summary updated