Manuscript Offprint
arXiv:2611.07585CasHyper: Modeling Multi-Factor Interactions and Asymmetric Influence in Cascade Prediction via Hypercomplex Algebra
ABSTRACT
Cascade prediction aims to forecast the future evolution of information diffusion and is an important task in social network analysis. Most existing methods represent users and cascades in real-valued Euclidean spaces, which may offer limited capacity to model multi-factor interactions and asymmetric influence in complex diffusion processes. To address these challenges, we propose CasHyper, a hypercomplex-based cascade prediction framework that integrates hypercomplex algebra with graph neural networks and Transformers. CasHyper organizes user and cascade embeddings into multiple hypercomplex components, with each component encoding distinct latent factors, and uses structured algebraic operations to model cross-component interactions. The non-commutative hypercomplex product further yields order-dependent interaction representations, enabling the model to learn asymmetric influence among users. In the network encoding stage, a static heterogeneous graph channel captures user-user and user-cascade relations, while a Neural ODE-based dynamic channel models the continuous evolution of node states and edge weights. A hypercomplex Transformer with norm-preserving rotary transformations is then introduced to incorporate relative positional information into cascade sequence modeling. Finally, an interaction-aware module and a linear projection module are combined to estimate the probability of each candidate user participating next. Experiments on four real-world datasets show that CasHyper achieves competitive or better performance than the compared methods under the evaluated settings, including relative improvements of up to 43.24% on Android and 18.43% on Christianity in Hits@50. Additional analyses of architectural variants, graph incompleteness, computational efficiency, and different Cayley-Dickson algebras further demonstrate the empirical effectiveness of the proposed framework and reveal dataset-dependent behaviors of different hypercomplex structures. We release the code at https://github.com/MrYansong/CasHyper.
1. Introduction
In the realm of interconnected social networks, information cascades represent the dynamic process by which information propagates from one user to another. Cascade prediction aims to forecast the future evolution of cascades by analyzing early-stage diffusion data. This research holds significant practical value for social recommendation (Wang, Lin, Huang & Jia, 2025; Amran, Li & AL-Bakhrani, 2026), public opinion governance (Zhang & Gao, 2024; Yu, Wang, Yang, Fu, Shi & Yao, 2026), and viral marketing (Tu & Neumann, 2022), while also offering profound insights into the underlying information diffusion mechanisms.
Cascade prediction encompasses tasks such as popularity prediction (Wang, Wang, Ran, Michalski & Jia, 2022c; Sang, Chen & Liao, 2025), outbreak prediction (Cui, Jin, Yu, Wang, Zhu & Yang, 2013), and retweeting behavior prediction (Qiao, Feng, Li, Lin, Hu, Wei & Ye, 2023; Liu, Song, Song, Zhang & Zhang, 2025). Early studies mainly relied on diffusion models (e.g., Independent Cascade (Goldenberg, Libai & Muller, 2001) and Linear Threshold (Kempe, Kleinberg & Tardos, 2003)) or feature-engineered machine learning methods (Shulman, Sharma & Cosley, 2016). These methods, valued for their simplicity, were widely adopted but often suffered from limited generalization due to the numerous confounding factors in information propagation. The advent of network embedding techniques marked a critical breakthrough (Grover & Leskovec, 2016), as they effectively encode topological structures into low-dimensional representations. Building upon this foundation, graph neural networks and temporal modeling methods
Corresponding author at: College of Computer and Information Science, Southwest University, Chongqing, 400715, China.
yansong0682@email.swu.edu.cn (Y. Wang); cqsllyt@email.swu.edu.cn (Q. Chai); junjiehuang.cs@outlook.com (J. Huang); tjia@swu.edu.cn (T. Jia)
ORCID(s):
et al.: Preprint submitted to Elsevier
Page 1 of 28

Figure 1: The operation properties of hypercomplex numbers (A case study of Quaternions and Octonions). denotes the real part, denotes the imaginary part.
(Wang, Wang & Jia, 2022b; Cheng, Ye, Liu, Tai & Zhou, 2023) further enhance the modeling of nonlinear user interactions and dynamic diffusion processes, leading to substantial performance gains by jointly capturing structural, temporal, and content information (Qiao et al., 2023; He, Xiao, Huang, Mou, Wang & Li, 2025b). A key limitation of most existing methods is their reliance on real-valued Euclidean embeddings with symmetric similarity functions (e.g., dot-product) to model user interactions. Recent studies have uncovered that information spreading dynamics are driven by the intricate interplay of competing mechanisms, such as social reinforcement and social weakening effects (Meng, Xie, Sun, Xu, Zeng, Wang, Jia, Huang, Deng & Hu, 2025). These complex dynamics make disentangling latent interaction factors a significant challenge for traditional real-valued representation methods. Moreover, symmetric modeling paradigms fail to capture the inherent asymmetry of social influence, where influence strengths are direction-dependent. For instance, the probability that a high-impact user triggers a response from a regular user is often significantly different from the reverse direction. Modeling these composite asymmetric relations using real-valued vectors usually requires additional antisymmetric matrices (Chang, Chen, Haber & Chi, 2019), dual-tower structures (Song, Qi, Liu, Wang, Xu, Hu, Cao, Zhang & Beheshti, 2025), or complex feature-interaction modules (He, Fang, Shao & Zhao, 2025a), which substantially increase model complexity and risk over-parameterization, thereby impairing generalization.
Recently, frameworks based on hypercomplex algebra (Kantor, Solodovnikov & Shenitzer, 1989; Zhu, Xu, Xu & Chen, 2018) have achieved remarkable success in fields such as computer vision (Yu, Li, Du, Luo, Kou, Bhatti, Benger, Lv & Yuan, 2024), knowledge graphs (Li, Xu, Jiang, Cao & Huang, 2020), and recommendation systems (Li, Yang, Huo, Hussain & Xu, 2025), owing to their powerful high-dimensional representation capabilities. Formally, a hypercomplex number consists of one real component and multiple imaginary basis components, forming a unified algebraic entity that is not necessarily associative or commutative (Kantor et al., 1989). As illustrated in Figure 1, the expanded component space and complex operation rules naturally correspond to cascade dynamics: multi-factor interactions correspond to the cross-interaction between various components, while the asymmetric influence is manifested as the non-commutativity of multiplication. These properties motivate us to explore hypercomplex algebra as a more expressive representation for cascade modeling.
In this paper, we propose CasHyper (Cascade Prediction via Hypercomplex Algebra), a hypercomplex based cascade prediction framework for modeling complex user interaction patterns. It innovatively integrates hypercomplex operations with Graph Neural Networks (GNNs) and Transformers to characterize multi-factor interactions among latent diffusion signals and asymmetric influence between users during information diffusion. In the network embedding stage, learnable user and cascade representations are organized into multiple hypercomplex components to model cross-component interactions among multiple latent factors. A static graph encoding channel aggregates structural information from the heterogeneous graph, while a Neural ODE-based dynamic channel models the continuous evolution of node states and edge weights. The non-commutative hypercomplex product provides order-dependent interaction representations, thereby giving the model the capacity to learn asymmetric diffusion patterns from data. In the cascade interaction stage, we design a hypercomplex Transformer that incorporates rotary positional transformations into the attention mechanism, allowing relative positional information to be encoded while preserving the norms of the rotated query and key representations. Finally, an interaction-aware prediction module and a linear projection module are adaptively integrated to estimate the probability of each candidate user participating next. Our main contributions are summarized as follows:
et al.: Preprint submitted to Elsevier
Page 2 of 28
-
We propose CasHyper, a unified hypercomplex framework for information cascade prediction. By organizing node embeddings into Cayley-Dickson components and introducing structured algebraic operations, CasHyper provides a flexible way to model cross-component interactions and direction-sensitive user influence.
-
We introduce a dual-channel network encoder that combines static heterogeneous graph aggregation with continuous dynamic encoding. The static channel captures user-user and user-cascade structural relations, while the Neural ODE-based channel jointly models the continuous evolution of node states and edge weights.
-
We design a hypercomplex Transformer with rotary positional transformations for cascade sequence modeling. The proposed module introduces relative positional information into component-wise attention while preserving the norms of the rotated representations.
-
We conduct extensive experiments on four real-world datasets, including comparisons with existing cascade prediction methods, controlled architectural variants, ablation studies, robustness and efficiency analyses, and an investigation of different Cayley-Dickson algebras. The results demonstrate the empirical effectiveness of CasHyper under the evaluated settings and reveal dataset-dependent behaviors of different hypercomplex structures.
The remainder of this paper is organized as follows. Section 2 reviews the related literature on cascade prediction, graph representation learning, and hypercomplex based applications. Section 3 introduces the essential preliminaries, including the definitions of hypercomplex algebra and the formal statement of the cascade prediction task. In Section 4, we detail the proposed CasHyper framework. Section 5 presents the experimental setup, performance evaluation, and in-depth analysis. Finally, Section 6 concludes the paper and discusses broader theoretical and practical implications, as well as potential directions for future research.
2.1. Cascade Prediction
Early cascade prediction research primarily focused on the information propagation dynamics in social networks, aiming to simulate complex diffusion processes through mathematical models and feature analysis. Shen, Wang, Song & Barabási (2014) pioneers a probabilistic model based on reinforced Poisson processes to simulate the dynamic arrival process of individual popularity, providing a foundational framework for information popularity prediction. Bao, Shen, Jin & Cheng (2015) further proposes a model based on self-exciting Hawkes processes, effectively capturing the dynamic characteristics of propagation by distinguishing the excitation strength of each retweeting event. Recognizing the close interplay between information diffusion and underlying network topology, Farajtabar, Wang, Gomez-Rodriguez, Li, Zha & Song (2017) employs temporal point processes to model their co-evolution, successfully simulating the dynamic trajectories of common propagation patterns.
Feature-driven models also play a significant role in early cascade prediction studies. Cui et al. (2013) constructs state matrices of information cascades based on node retweeting statuses, employing the Orthogonal Sparse Logistic Regression method to jointly optimize node selection and outbreak prediction. Cheng, Adamic, Dow, Kleinberg & Leskovec (2014) analyzes temporal and structural features, revealing their critical role in predicting cascade scale. To combine the strengths of feature-driven and generative models, Mishra, Rizoiu & Xie (2016) proposes a marked Hawkes self-exciting point process approach. By jointly modeling content virality, memory decay, and user influence, and training the prediction layer with historical cascade data, this method achieves more accurate popularity predictions.
With advancements in computational power, deep learning techniques, leveraging their robust feature extraction and ability to model complex patterns, have increasingly been applied to the cascade prediction. Yang, Sun, Liu, Han, Liu & Luan (2019) employs attention mechanisms and convolutional networks, significantly enhancing the generalization capability of the approach. Liao, Xu, Li, Huang, Liu & Li (2019) highlights the critical influence of tweet content on information diffusion, proposing a method that integrates hierarchical attention networks with recurrent neural networks (RNNs) to deeply fuse content features with temporal sequences for predicting the popularity of online content. Adopting a topic-oriented perspective, Wang, Yang & Shi (2021a) incorporates thematic context into user representations through attention mechanisms, jointly modeling textual content and sequential information to more accurately predict retweeting behavior. Wang, Huang, Liu, Shao, Liu, Li, Wang, Sun, Yao & Abdelzaher (2021b)
et al.: Preprint submitted to Elsevier
Page 3 of 28 argues that user interests are typically influenced by dynamic social interactions, proposing a dynamic encoder to capture the temporal evolution of users' intrinsic interests over time, coupled with a dual-attention decoder to integrate content and propagation sequence information for estimating fusion likelihood. To better capture dynamic information during propagation, Chen, Zhou, Zhang, Trajcevski, Zhong & Zhang (2019) utilizes dynamic cascade subgraphs and Long Short-Term Memory (LSTM) to model the inherent dependencies between underlying topological structures and user retweeting behaviors, while Wang et al. (2022c) introduces node activation attributes to preserve the global structure of cascade graphs, thereby improving the integration of structural and temporal information. Going a step further in spatio-temporal modeling, Sang et al. (2025) constructs a dynamic heterogeneous graph based on repost and follow relationships, employing relative time encoding to extract unified spatio-temporal features that capture the intricate interplay between temporal evolution and social structures. Addressing the issue of mismatched macro- and micro-scale dynamics, Yang, Wang, Tang, Shi, Sun, Cui & Liu (2021) proposes a reinforcement learning based framework that incorporates macro-level diffusion scale features into an RNN-based micro-level diffusion model, while integrating underlying social graph information to achieve joint prediction at both micro and macro levels. Wang, Xu & Zhang (2023) focuses on the competitive and cooperative relationships between information, considering external factors such as content lifecycle, user preferences, and latent content expectations, and employs a minimal replacement theory to accomplish dual prediction tasks for popularity and retweeting behavior. Liu et al. (2025) integrates graph transformers with sequential hypergraph neural networks to mitigate the over-smoothing and over-squashing issues common in traditional GNNs, effectively aggregating high-level social homogeneity and user dynamic preferences across global periods. Moving beyond traditional cascade observation, Zhou, Lin, Liu, Li, Liao & Mao (2024) enhances prediction accuracy across various time scales by capturing latent personalized retweeting patterns and temporal cascade characteristics. To tackle the out-of-distribution challenges, Zhu, Li, Zhang, Wang & Zhang (2025) leverages test-time training and invariant learning to mitigate spurious correlations and enhance model robustness against the inherent variability of social media data. Shifting the focus from individual-level to community-level dynamics, Gao, Wang, Gan, Yin, Luo & Nie (2025) leverages large language models to enhance social context interpretation and mitigate the community cold-start problem.
These methods demonstrate the importance of structural, temporal, and contextual information for cascade prediction. However, most of them still represent users and cascades in real-valued Euclidean spaces. In contrast, CasHyper explores a complementary representation direction by organizing node embeddings into hypercomplex components and using Cayley-Dickson products to construct direction-sensitive and component-coupled interaction representations.
2.2. Graph Representation Learning
Graph representation learning aims to encode nodes, edges, or graphs into low-dimensional vector spaces while preserving structural and semantic information. Early studies mainly relied on shallow network embedding methods. DeepWalk learns node embeddings by applying language-model-based objectives to truncated random-walk sequences (Perozzi, Al-Rfou & Skiena, 2014). Node2vec further introduces biased random walks to balance breadth-first and depth-first exploration, enabling embeddings to capture both homophily and structural equivalence (Grover & Leskovec, 2016). Although effective, these methods usually learn static embeddings and have limited ability to model complex nonlinear dependencies between node attributes and graph structures.
Graph neural networks have advanced graph representation learning through neural message passing and neighborhood aggregation. Graph Convolutional Networks jointly exploit node features and local graph topology by recursively aggregating neighborhood information (Kipf & Welling, 2017). GraphSAGE extends this paradigm to inductive learning by learning aggregation functions for unseen nodes and evolving graphs (Hamilton, Ying & Leskovec, 2017). Graph Attention Networks further incorporate attention mechanisms to assign different importance weights to neighboring nodes (Veličković, Cucurull, Casanova, Romero, Liò & Bengio, 2018). These methods have established a general framework for learning expressive representations from graph-structured data. Graph autoencoders provide another important line of graph representation learning by encoding graph structures and node attributes into latent representations and reconstructing graph-related information through decoders. Variational Graph Autoencoders introduce probabilistic latent variables to model uncertainty in graph structures (Kipf & Welling, 2016). To enhance the expressiveness of latent representations, Xia, Zhang, Zhang, Liu & Yang (2023) propose a multi-head variational graph autoencoder constrained by sum-product networks, which relaxes the mean-field assumption and improves fault tolerance.
et al.: Preprint submitted to Elsevier
Page 4 of 28
Recent studies have further extended graph representation learning to more realistic scenarios involving incomplete, imbalanced, or signed graphs. Xia, Liu, Li, Liu, Zhang, Zhang & Yang (2025a) systematically review incomplete graph learning and highlight the importance of robust representation learning under missing attributes or incomplete topology. For attribute-missing graphs, Xia, Zhang, Li, Liu & Yang (2024) propose Attribute Imputation Autoencoders to integrate observed attributes and structural information for more accurate attribute generation. Considering both attribute missingness and class imbalance, Xia, Zhang, Liu, Li & Zhang (2025b) develop GraphIAM, which combines graph contrastive learning with oversampling in pre-training and uses an adapter mechanism during fine-tuning. For signed graphs, Gu, Liu, Duan, Li, Xia & Yang (2025) propose a multi-head variational signed graph autoencoder to learn node representations from positive and negative subgraphs and infer both link existence and link signs.
In summary, graph representation learning has evolved from shallow network embedding to deep message-passing models, graph autoencoders, and robust learning frameworks for complex graph scenarios. Nevertheless, most existing methods still operate in real-valued vector spaces and mainly rely on aggregation, reconstruction, or contrastive objectives to capture graph dependencies. How to further enhance the expressive capacity of graph representations remains an important research problem.
2.3. Hypercomplex Based Applications
Hypercomplex algebras have demonstrated significant application value across various machine learning domains, including computer vision, natural language processing, and recommendation systems. Parcollet, Morchid, Bousquet, Dufour, Linarès & De Mori (2016) incorporates quaternion feature interactions into multilayer perceptrons (MLP) for language understanding tasks, effectively capturing complex feature dependencies in documents. Trabelsi, Bilaniuk, Zhang, Serdyuk, Subramanian, Santos, Mehri, Rostamzadeh, Bengio & Pal (2017) further refines neural network modules by designing key components for complex-valued neural networks, including complex batch normalization and complex weight initialization strategies, achieving superior performance in audio processing tasks when applied to convolutional neural networks (CNNs) and LSTM networks. Zhu et al. (2018) proposes a fully quaternion convolutional neural network, redesigning convolutional and fully connected layers in the quaternion domain, surpassing the performance of traditional real-valued CNNs in image classification and denoising tasks. Similarly, Frants, Agaian & Panetta (2023) develops an encoder-decoder architecture based on quaternion image representations, integrating quaternion per-pixel loss functions and normalization layers, significantly enhancing image dehazing performance. In recent years, hypercomplex algebras have also been introduced to recommendation systems. Li et al. (2020) employs quaternion vectors to represent users and items, effectively capturing latent dependencies between entities. Chen, Yin, Zhang, Huang, Wang & Wang (2021) proposes quaternion factorization machines and quaternion neural factorization machines, leveraging quaternion operations to model more complex feature interactions while substantially reducing the number of parameters, demonstrating higher efficiency compared to real-valued matrix multiplication. Li, Yang, Huo & Hussain (2022) designs a hypercomplex graph convolution operator to model neighbor node interactions in hypercomplex spaces, thereby learning more robust representations of users and items. To enhance the expressiveness of entity representations, Li et al. (2025) leverages multi-component hypercomplex embeddings and specialized graph neural networks to model the structural and semantic dependencies between users, items, and knowledge graph entities in a high-dimensional hypercomplex space.
Despite the notable success of hypercomplex algebra and advanced graph learning methods in these domains, their application to information diffusion modeling remains underexplored. Existing hypercomplex studies mainly focus on vision, language understanding, recommendation, or general graph representation learning, whereas cascade prediction requires jointly modeling social relations, historical user-cascade participation, temporal diffusion order, and asymmetric influence. CasHyper is designed for this setting by combining hypercomplex node representations, heterogeneous graph encoding, continuous dynamic edge modeling, and cascade sequence encoding within a unified prediction framework.
3. Preliminaries
Formally, a hypercomplex number can be expressed as,
where are real coefficients, and are imaginary units obeying specific multiplication rules.
et al.: Preprint submitted to Elsevier
Page 5 of 28
Table 1 Summary of main notations.
| Symbol | Description |
|---|---|
| Static directed social graph. | |
| Set of users, Set of directed social edges. | |
| Set of cascades, The c-th information cascade. | |
| Length of cascade . | |
| The i-th activated user and timestamp in . | |
| User-cascade bipartite graph. | |
| Heterogeneous graph constructed from and . | |
| The m-th algebra generated by the Cayley-Dickson construction. | |
| The k-th hypercomplex basis unit. | |
| Mapping from hypercomplex representation to real-valued coordinates. | |
| Total embedding dimension. | |
| Dimension of each hypercomplex component, . | |
| Initial learnable embedding of node . | |
| Static node representations from neighborhood aggregation. | |
| Node states at continuous time , Dynamic edge weight from to at time . | |
| Dynamic node representations from continuous encoding. | |
| Unified node representations after static-dynamic fusion. | |
| Cascade user representations retrieved from . | |
| Context-aware cascade representation. | |
| Query, key, and value tensors. | |
| Rotated query and key representations. | |
| Cascade representation with relative positional information. | |
| Temporal interval representation of cascade . | |
| Predicted probability distribution after softmax, Ground-truth next-user label. | |
| Cross-entropy loss for next-user prediction, Consistency regularization loss. |
3.1. Cayley-Dickson Construction
The Cayley-Dickson construction (Kantor et al., 1989) is a recursive algebraic method for generating higher-dimensional algebraic structures from lower-dimensional ones. Starting from the real field , each doubling step constructs a new algebra from two copies of the previous algebra . Specifically, a new formal unit is introduced at the -th doubling step, and each element in can be written as,
For two elements and , where , the operations in are defined recursively as follows,
-
The addition of and is defined as: . The subtraction operation is defined in the same component-wise manner by replacing with .
-
The conjugate of is defined recursively as: . For the base algebra , the conjugate of a real number is defined as .
-
The multiplication of and is defined recursively as: . The order of factors and conjugates must be preserved, as multiplication is generally non-commutative.
-
The scalarmultiplication of is defined as: , where is a scalar.
et al.: Preprint submitted to Elsevier
Page 6 of 28
- The quadratic form associated with is defined recursively as: . For the base algebra , it is defined as for .
3.2. Problem Definition
Definition 1 (Social Graph). Let denote a static, directed, and unweighted social graph, where is the set of users and is the set of directed edges representing social relations between users. A directed edge indicates that there exists a social relation from user to user .
Definition 2 (Information Cascade). The propagation process of a message in a social network is defined as an information cascade. Different from an unordered set, a cascade is represented as a time-ordered sequence , where denotes the -th user participating in cascade , denotes the corresponding participation time, and denotes the length of the cascade. The sequence is ordered chronologically, satisfying . User participation may correspond to actions such as reposting, commenting, or retweeting.
Definition 3 (User-Cascade Bipartite Graph). Given a collection of historical cascades , we construct a user-cascade bipartite graph to model historical user-cascade participation relations. The node set consists of two disjoint subsets,
where denotes the set of users appearing in the historical cascades, and denotes the set of cascade nodes, with each node corresponding to a historical cascade . The edge set is defined as, . Specifically, an edge exists if and only if user participates in cascade . In this work, is treated as a static and unweighted bipartite graph constructed from historical cascade records.
Problem Formulation. Given the social graph and the historical user-cascade bipartite graph , the task of information cascade prediction is to forecast the future evolution of an ongoing cascade. Formally, for a newly observed partial cascade , where and , the objective is to predict the next participant . The candidate user set is defined as . We aim to learn a prediction model that estimates the conditional probability of each candidate user participating next,
The predicted next participant is then obtained by . For clarity, we summarize the main notations used throughout this paper in Table 1.
4. Proposed Framework
This section introduces the design of CasHyper. The overall framework of CasHyper, as illustrated in Figure 2, comprises three components: Network Embedding, Hypercomplex based Interaction, and Cascade Prediction.
4.1. Input Construction
To jointly model user-cascade interaction patterns during information diffusion, we construct a heterogeneous graph. While many contemporary methods (Wang, Wei, Yuan, Bao, Zhou, Zhu & Hu, 2022a; Wang, Zhou & Hu, 2024) combine the social graph , the bipartite graph , and the fine-grained cascade diffusion graphs, the latter are often unavailable in practice. Therefore, our model only relies on the social graph and the historical user-cascade bipartite graph , where , , , and denotes the set of historical cascade nodes. Specifically, the constructed heterogeneous graph is denoted as , where and denote the node set and edge set, respectively. The node set of is defined as , the edge set is defined as . Accordingly, contains two types of nodes, namely users and cascades, and two types of edges, namely user-user edges and user-cascade edges. This construction enables the model to jointly capture social relations among users and historical participation relations between users and cascades. The construction process is illustrated in the input module shown in Figure 3.
et al.: Preprint submitted to Elsevier
Page 7 of 28

Figure 2: The framework of CasHyper.

Figure 3: The input construction of CasHyper.
4.2. Network Embedding
Since explicit node attributes are unavailable, we initialize both user and cascade nodes with learnable ID embeddings. For each node , we assign a learnable embedding vector . These embeddings are randomly initialized and jointly optimized during training. To construct node embeddings in a higher-order hypercomplex space, we utilize the Cayley-Dickson construction to encode nodes as elements of the algebra . Specifically, node features are partitioned into components, yielding a structured representation , where each component corresponds to a distinct part of the algebra. For user node and cascade node , their feature representations are defined as and , respectively. Taking the as an example,
where are two subalgebra components of is the newly introduced unit in the current Cayley-Dickson doubling step. is the real-valued representation for component . Notably, while the hypercomplex algebra encompasses multiple components, the total embedding dimension is fixed at (e.g., and ) to prevent an increase in model parameters.
et al.: Preprint submitted to Elsevier
Page 8 of 28
4.2.1. Static Neighborhood Aggregation
Given a node and its incoming neighbors , we update the static representation of the central node by summing the hypercomplex representations of its neighbors, as follows,
where is the layer number, is node 's initial embedding, and denotes the -th real-valued component. are the subalgebras of denotes the direction-aware normalization constant, where and denote the overall directed neighborhoods used for aggregation. Since different types of neighbors are aggregated jointly in our heterogeneous graph, the neighborhood sets contain all relevant node and edge types rather than being separated by relation type.
Since hypercomplex addition is performed component-wise over the basis , this aggregation is algebraically identical to element-wise feature aggregation in standard GCNs (Kipf & Welling, 2017). Let be the vector space isomorphism that maps a hypercomplex representation to its real coordinate vector. For a single node , the static representation after aggregation can be written as,
where is the neighborhood aggregation function and is the update function that integrates the current representation of node u with the aggregated neighbor information. Equivalently, for all nodes in the heterogeneous graph, the component-wise aggregation can be written in matrix form as,
where is the normalized adjacency matrix of , and denotes the component-wise hypercomplex node representations at the -th layer. The multiplication by is performed along the node dimension and is shared across all hypercomplex components. Therefore, the hypercomplex structure is preserved by maintaining the component partitioning, while the aggregation itself can be efficiently implemented using standard real-valued tensor operations.
4.2.2. Continuous Asymmetric Encoding
The continuous dynamic characteristics of the propagation process are also critical. Motivated by Wang et al. (2024), we introduce a continuous dynamic encoding channel based on Neural Ordinary Differential Equations (Neural ODEs) on top of the traditional GNN encoders. The core idea is to treat both the node states and the edge weights as variables that evolve continuously over time . We formulate a coupled system of ODEs, wherein the dynamics of edge weights depend on the node states, and in turn, the evolution of node states is governed by the dynamically changing graph structure. For an edge from user to user , the edge weight is defined as a real-valued function of the hypercomplex product between the two endpoint node states,
where maps a hypercomplex-valued representation to its real-coordinate vector, denotes a multi-layer perceptron, and is the sigmoid function. Therefore, maps the hypercomplex-valued product to a nonnegative real scalar. Using the Cayley-Dickson multiplication rule, the hypercomplex product in Eq. (6) can be expanded as,
et al.: Preprint submitted to Elsevier
Page 9 of 28 where are subalgebras components of and . is the asymmetric edge weight from to at time step . A key advantage of this formulation is its inherent ability to model the asymmetric influence between nodes. The intuition stems directly from the non-commutative nature of the hypercomplex product .
Asymmetry-aware Representation. For two distinct nodes and , the continuous asymmetric encoding based on the Cayley-Dickson multiplication can produce order-dependent interaction representations,
Therefore, the model is structurally capable of distinguishing the influence from to and that from to , providing an algebraic inductive bias for modeling asymmetric influence in cascade prediction. A detailed discussion of this property is provided in Appendix A.
At any time , the dynamic edge weights , obtained by integrating Eq. (6), are used to update the graph structure, denoted as . The dynamic evolution of the node embeddings is then governed by an ODE parameterized by a GCN encoder ,
This formulation defines the instantaneous rate of change of the node states as a combination of three terms: (1) The GCN encoder, , propagates information on the time-varying graph based on the current state . (2) A decay term, , acts as a self-correction mechanism that prevents states from growing unboundedly. (3) An initial state, , ensures that the evolution remains anchored to the initial state. We employ a numerical ODE solver, Runge-Kutta, to integrate the coupled system defined by Eq. (6) and Eq. (7) over time intervals, yielding a sequence of node embeddings .
To obtain a single dynamic representation , we apply an attention-based temporal aggregation mechanism. Specifically, we compute a node-wise attention vector for each time step ,
where and are trainable parameters.
After obtaining the static node embeddings and dynamic node embeddings , we adopt an adaptive gating mechanism to integrate them into a unified representation . Specifically, we first compute two node-wise gating scores,
where and are trainable parameters, are node-wise gating vectors. The second dimension of corresponds to the components, which can be interpreted as the different parts of the -th hypercomplex algebra.
4.3. Hypercomplex based Interaction
After obtaining the hypercomplex representation , we model the interactions within the cascade sequence through a two-stage process: a context-driven attention stage followed by explicit relative position encoding.
In the following, we clarify the tensor-level hypercomplex projection used in the subsequent equations. For the representation and a learnable hypercomplex projection matrix , the notation denotes a tensor-level hypercomplex projection along the feature dimension,
where on the right-hand side denotes the Cayley-Dickson multiplication between hypercomplex components. Therefore, . This operation is performed independently for each cascade position and preserves the hypercomplex-component dimension. The use of Cayley-Dickson multiplication also introduces structured cross-component interactions. Different hypercomplex components are not transformed independently. Instead, they are coupled according to the algebraic multiplication rules of the corresponding Cayley-Dickson algebra. This provides an explicit algebraic inductive bias for modeling interactions among different latent factors of cascade states and user representations.
et al.: Preprint submitted to Elsevier
Page 10 of 28
4.3.1. Context Driven Relationships
Given a cascade with a maximum length of , we retrieve user representations from and apply masked attention mechanism to obtain a context-aware representation ,
where are learnable hypercomplex projection parameters, is a causal mask matrix containing 0 and to shield future information, and denotes row-wise normalization. The mapping function converts the hypercomplex-valued tensors into real-valued representations . Therefore, the score matrix inside the softmax operation is real-valued and forms an attention matrix in . This real-valued attention matrix is multiplied with along the cascade length dimension, with the same attention weights applied component-wise to all hypercomplex components. While this stage restricts each node to attend only to its preceding nodes through autoregressive masking, it does not explicitly model the precise relative positions between nodes.
4.3.2. Relative Positional Relationships
To inject explicit positional information, we introduce the hypercomplex Transformer that encodes the order and distance of nodes into the interaction computation. Specifically, we first map the cascade user representations into the query , key , and value tensors through tensor-level hypercomplex projections,
where are learnable hypercomplex projection parameters. Subsequently, the frequency and phase angle for rotation are generated based on the and to integrate the node contextual information during the rotation process,
(12)
where are learnable transformation parameters. The rotation transformation can be formally expressed as,
where is concatenate operation, represent the -th real-valued components of their corresponding hypercomplex representations. are rotated matrices under the component-first notation, denotes absolute position of nodes, represents the rotation parameters constructed based on Euler's formula, where is a unit hypercomplex number satisfying a unit norm for its imaginary part. In our representation, the hypercomplex representation is implemented as a set of real-valued component vectors associated with different hypercomplex basis units. The -th hypercomplex component vector denotes the real-valued coefficient vector corresponding to the -th basis component. The hypercomplex rotational transformation follows the standard unit-modulus rotation property, which helps inject positional information without changing the magnitude of each component representation. We summarize this property as follows, with a brief explanation provided in Appendix B.
Property 1 (Norm Preservation). For any hypercomplex component vector , its L2-norm remains invariant under the rotation .
Thus, positional information is injected without distorting semantic magnitudes. The cascade representations incorporating relative positional relationships can be expressed as follows,
et al.: Preprint submitted to Elsevier
Page 11 of 28 where , , , denote the -th components. is the real-valued attention matrix for the -th hypercomplex component, and denotes row-wise normalization over the key-position dimension, denotes the real part of the Hermitian inner product. The mask is the relative-position attention mask matrix containing 0 and for the -th component. is a linear mapping with an activation function. After aggregating all components along the hypercomplex component dimension, we obtain . The core of this mechanism is that by rotating the query and key vectors ( and ) according to their absolute positions, the conjugate product depends on relative position. This key property can be formalized as follows,
Property 2 (Relative Position Dependence). When the query and key rotary parameters are shared or approximately aligned, i.e., and , the real part of the Hermitian inner product between the rotated query vector at position and the rotated key vector at position is a function of their semantic information and relative position .
The explanation, detailed in Appendix C, is based on a regularization condition that the query and key rotary parameters are shared or approximately aligned, i.e., and . To explicitly encourage the model to satisfy this condition during optimization, we introduce a consistency regularization term based on the Mean Squared Error (MSE). This loss penalizes the discrepancy between the rotational parameters of the query ( ) and the key ( ),
where denotes the squared Frobenius norm.
4.4. Cascade Prediction
The time intervals between user actions are a critical indicator of a cascade's momentum (Cao, Shen, Cen, Ouyang & Cheng, 2017). Shorter intervals often signal rising popularity, while longer ones may suggest waning influence. This motivates our approach to explicitly encode temporal features.
Given a cascade with a time series , we first compute the sequence of time intervals , and for . To effectively preserve the discrete distributional characteristics of temporal patterns while reducing the complexity of continuous time data, we predefine a set of discrete time interval bins , where represents the maximum timestamp of observed cascades. For each time interval , we identify its corresponding bin and represent it as a -dimensional one-hot encoded vector (with 1 indicating the activated bin and 0 otherwise), collectively forming the temporal interval matrix . A neural projection produces an enhanced temporal representation ,
where and are learnable parameters. The bias is broadcast along the cascade length dimension. With both the cascade representation and the enhanced temporal representation , we propose two modules for predicting the next user to be activated.
Interaction-Aware Module. This module explicitly models fine-grained user-cascade affinity. We compute scores by interacting the evolving cascade state with user hypercomplex embeddings ,
where represents the specific appeal of the cascade to users at each time step, and is a mask matrix used to exclude already activated nodes.
Linear Projection Module. For computational efficiency, we concatenate with to form a temporally-enriched embedding , mapped directly to the target space,
Finally, we employ a fusion layer to integrate the predictive outputs of both modules,
where is the Sigmoid function, is a learnable parameter, is a position-wise weight coefficient.
et al.: Preprint submitted to Elsevier
Page 12 of 28
Algorithm 1 Pseudocode of CasHyper
Require: Social graph ; historical cascades ; embedding dimension ; Cayley-Dickson order ; ODE integration intervals ; regularization coefficient .
Ensure: Predicted next user and optimized model parameters .
1: Construct the user-cascade bipartite graph from historical cascades .
2: Construct the heterogeneous graph by combining and .
3: Initialize learnable node embeddings and partition them into hypercomplex components.
4: Perform static neighborhood aggregation on to obtain . Eq. (4)
5: for to do
6: Compute dynamic asymmetric edge weights . Eq. (6)
7: end for
8: Update the time-varying heterogeneous graph .
9: Compute the dynamic evolution of the node embeddings . Eq. (7)
10: Aggregate continuous node states to obtain . Eq. (8)
11: Compute through fusing and . Eq. (9)
12: for each cascade in the training batch do
13: Retrieve cascade user representations from .
14: Apply context-driven masked attention to obtain . Eq. (10)
15: Generate hypercomplex query, key, and value tensors , and . Eq. (11)
16: Generate rotary frequency and phase . Eq. (12)
17: Apply rotary transformation to obtain and . Eq. (13)
18: Compute cascade representations . Eq. (14)
19: Encode time intervals into temporal representation . Eq. (16)
20: Compute prediction scores using the interaction-aware module and the linear projection module . Eq. (17) and Eq. (18)
21: Fuse the two prediction scores to obtain the final logits . Eq. (19)
22: Apply softmax over candidate users to obtain . Eq. (20)
23: end for
24: Compute the total loss . Eq. (21)
25: Optimize the parameters by back-propagation.
26: return Optimized model parameters .
4.5. Model Optimization
We formulate the main objective as the cross-entropy loss for next-user prediction, summed over all cascades and positions,
where indicates that, in cascade , user is the i-th activated user based on the previously observed users , and otherwise. The predicted probability distribution over candidate users is obtained by applying the softmax function along the candidate-user dimension. The summation starts from i=2 because the first activated user is the source node, for which no historical activation sequence is available for next-user prediction.
The model is trained end-to-end by minimizing a joint loss function that integrates the primary prediction objective with the consistency regularization term. The total loss is defined as,
where is a weighting coefficient that controls the contribution of the consistency regularizer. The objective is to optimize predictive accuracy while encouraging alignment of the query and key rotary parameters through the consistency regularization term. We use as the default setting through experiment analysis.
et al.: Preprint submitted to Elsevier
Page 13 of 28
4.6. Model Complexity
We analyze the theoretical complexity of CasHyper within the scope of an iteration. Let denote the total embedding dimension, denote the number of components in the hypercomplex number, and denote the dimension of each component.
In the network embedding stage, the static neighborhood aggregation based on an -layer GCN incurs a complexity of , where and denote the numbers of nodes and edges in the heterogeneous graph, respectively. In the continuous asymmetric encoding stage, the complexity comprises dynamic edge-weight computation and node-state evolution. For each edge, computing the dynamic edge weight between two -component representations has complexity . Therefore, the cost of dynamic edge-weight computation over all edges is . The node-state evolution parameterized by the -layer GCN encoder has complexity . Given numerical integration steps in the ODE solver, the overall complexity of the continuous asymmetric encoding stage is . In the hypercomplex interaction stage, the computational cost is mainly dominated by hypercomplex projections, Euler transformations, and rotary attention. The hypercomplex projection and Euler transformation introduce costs of and , respectively, while the rotary attention computation costs . Therefore, the overall complexity of this stage is , where denotes the cascade sequence length. The quadratic term with respect to becomes the main bottleneck when modeling long cascade sequences.
In the cascade prediction stage, CasHyper computes prediction scores over the full user set. Specifically, the interaction-aware module requires , and the linear projection module requires . The final softmax normalization over candidate users further incurs complexity. In our implementation, we use a full softmax over all users in , with activated users masked out during prediction. This exact scoring strategy ensures a fair comparison with the reported evaluation protocol, but its cost grows linearly with the number of users and can become expensive for very large social networks. Incorporating approximate candidate generation or sampled softmax is a promising direction for improving scalability in future work.
5. Experiments
5.1. Experimental Setups
Datasets. We evaluate our model on four widely used real-world cascade datasets: Android (Sankar, Zhang, Krishnan & Han, 2020), Christianity (Sankar et al., 2020), Twitter (Hodas & Lerman, 2014), and Memetracker (Leskovec, Backstrom & Kleinberg, 2009). These datasets cover diverse platforms, including forum discussions, social media, and online news diffusion. For consistency, we use the term node to denote the activated entity in each dataset. In user-centric datasets, nodes correspond to users, whereas in source-centric datasets such as Memetracker, nodes correspond to URLs or web sources.
-
Android and Christianity datasets, sourced from the Stack Exchange network of community Q&A websites, represent knowledge-sharing social networks in technical and humanities domains. In these datasets, the social network is formed through various interpersonal interaction channels, such as posting questions, providing answers, and leaving comments. Different from repost-based platforms, where explicit diffusion paths can be directly observed, Stack Exchange records topic-centered knowledge interactions among users. Following this setting, we construct cascades as chronologically ordered sequences of posts associated with the same topical tag. Such cascades should be interpreted as topic-driven discussion cascades, which characterize how information and attention around a specific topic evolve over time within the community. Therefore, they serve as a proxy for information diffusion in knowledge-sharing communities, rather than as explicit repost or forwarding cascades. This construction is suitable for the next-user prediction task because it models the temporal order of user participation under a shared topical information context.
-
Twitter focuses on the diffusion of information markers in the form of URLs. By integrating the follower-followee social graph with tweet metadata, this dataset tracks how users are exposed to and subsequently post specific URLs. In this work, we define a URL reposting event as the case where a user posts a URL that has previously appeared in their social feed. Accordingly, cascades in this dataset represent exposure-based URL diffusion processes.
et al.: Preprint submitted to Elsevier
Page 14 of 28
Table 2 Statistics of the datasets.
| Datasets | Android | Christianity | Memetracker | |
|---|---|---|---|---|
| # Users | 2,927 | 2,897 | 12,627 | 4,709 |
| # Links | 48,573 | 35,624 | 309,631 | 31,448 |
| # Cascades | 678 | 583 | 3,461 | 12,634 |
| #Avg. Length | 39.41 | 23.20 | 30.39 | 15.65 |
- Memetracker monitors the migration of frequent quotes and phrases (memes) across the global web. Unlike user-centric social network datasets, Memetracker describes the spread of textual information across web sources. In this dataset, individual URLs are treated as activated source nodes for modeling purposes, and the diffusion of a meme across different URLs over time constitutes an information cascade. Therefore, the prediction task on Memetracker is more precisely interpreted as next-source prediction, i.e., predicting which URL/source will mention the meme next. This setting is still compatible with our general cascade prediction framework, where an activated node can denote either a user node or an information-source node, depending on the dataset.
Implementation Details. For each dataset, we randomly split 80% of the cascades for training, 10% for validation, and the remaining 10% for testing. All baseline models are evaluated on the same splits for fair comparison. To avoid information leakage, the user-cascade bipartite graph and the heterogeneous graph are constructed using only the training cascades. For each prediction position, only the previously observed prefix of the cascade is used as input, while the target node is kept unseen and used only for evaluation. Consistent with prior studies (Qiao et al., 2023; Wang et al., 2024), we treat cascade prediction as an information retrieval task and adopt Hits@k (hits score on top k) and MAP@k (mean average precision on top k) as evaluation metrics. In this paper, k is set to 10 and 50. For model parameters, the node representation dimension is set to 64, the number of graph neural network layers for learning node representation vectors is set to 2, and the time step for modeling continuous node dynamics in NODE is set to 3. The number of time interval bins for partitioning is set to , and the dimension of time information embedding is set to 8. For baseline models, we re-implement and re-execute them using their official codebases on the same dataset splits as CasHyper to ensure a fair comparison. All model parameters are updated using the Adam optimizer, with parameters and set to 0.90 and 0.98, respectively. The learning rate is set to 0.001.
5.2. Baselines
To evaluate the performance of the CasHyper model, we select ten state-of-the-art baselines for comparison. The following provides a concise overview of each baseline model.
-
NDM Yang et al. (2019) constructs a model based on two heuristic assumptions, integrating attention mechanisms and convolutional networks to model cascades, achieving better fitting of diffusion data.
-
FOREST Yang et al. (2021) incorporates macroscopic diffusion scale information into a GRU-based microscopic diffusion model via reinforcement learning, enabling full-scale cascade prediction.
-
DyHGCN Yuan, Li, Zhou, Lu, Zhang & Hu (2020) proposes a dynamic heterogeneous graph network to encode social and dynamic diffusion graph structures, capturing users' dynamic preferences.
-
CE-GCN Wang et al. (2022a) explicitly integrates collaborative patterns between users and cascades into user embeddings through heterogeneous graphs and message-passing modules.
-
MS-HGAT Sun, Rao, Zhang, Lan & Yu (2022) introduces a memory-enhanced sequential hypergraph attention network to model users' global dependencies and dynamic preferences comprehensively.
-
DisenIDP Cheng et al. (2023) employs lightweight hypergraph convolution to capture users' potential intents from multiple perspectives, combined with attention-based encoders to extract long-term and short-term cascade influences.
-
RotDiff Qiao et al. (2023) maps each user to a Lorentzian vector, leveraging rotational transformations in hyperbolic space to model local diffusion dependencies within a given cascade.
et al.: Preprint submitted to Elsevier
Page 15 of 28
Table 3
Experimental results on Hits score over four datasets (%). CasHyper uses the quaternion algebra H as the default algebraic type in the main experiments.
| Model | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| NDM2019 | 3.33 ± 0.17 | 9.29 ± 0.31 | 15.46 ± 0.46 | 35.35 ± 0.29 | 25.95 ± 0.29 | 37.26 ± 0.62 | 20.42 ± 0.08 | 36.01 ± 0.25 |
| FOREST2021 | 7.00 ± 1.31 | 16.29 ± 1.53 | 24.94 ± 0.53 | 47.82 ± 0.74 | 29.77 ± 1.34 | 44.18 ± 1.52 | 29.73 ± 1.13 | 48.04 ± 1.38 |
| DyHGCN2020 | 8.36 ± 0.57 | 19.08 ± 0.61 | 26.22 ± 0.51 | 50.64 ± 0.58 | 31.48 ± 0.93 | 50.43 ± 0.98 | 29.78 ± 0.43 | 48.79 ± 0.32 |
| CE-GCN2022 | 7.06 ± 0.35 | 16.38 ± 0.33 | 29.24 ± 0.83 | 50.45 ± 0.85 | 29.94 ± 0.71 | 49.21 ± 0.83 | 37.81 ± 0.95 | 56.73 ± 0.91 |
| MS-HGAT2022 | 9.08 ± 0.25 | 19.79 ± 0.52 | 28.99 ± 0.85 | 47.34 ± 1.13 | 32.66 ± 0.71 | 47.86 ± 0.68 | 28.11 ± 0.35 | 49.95 ± 0.18 |
| DisenIDP2023 | 11.34 ± 0.76 | 20.67 ± 0.28 | 31.03 ± 0.36 | 52.90 ± 0.69 | 30.46 ± 0.48 | 50.46 ± 0.52 | 30.97 ± 0.81 | 52.54 ± 0.93 |
| RotDiff2023 | 11.27 ± 0.17 | 23.31 ± 1.07 | 30.80 ± 0.79 | 51.34 ± 0.14 | 34.18 ± 1.34 | 51.58 ± 1.91 | 29.72 ± 0.42 | 50.35 ± 0.37 |
| GODEN2024 | 12.11 ± 0.21 | 21.43 ± 0.42 | 31.70 ± 0.48 | 52.23 ± 1.04 | 35.33 ± 0.89 | 54.22 ± 0.94 | 42.26 ± 0.36 | 61.98 ± 0.73 |
| MetaCas2025 | 9.31 ± 0.33 | 21.23 ± 0.27 | 28.10 ± 0.35 | 52.43 ± 0.75 | 35.82 ± 0.47 | 55.00 ± 0.63 | 31.19 ± 0.73 | 50.50 ± 0.82 |
| PMRCA2025 | 10.63 ± 0.55 | 17.79 ± 0.73 | 34.62 ± 0.29 | 54.09 ± 0.31 | 33.68 ± 0.22 | 46.52 ± 0.27 | 46.56 ± 0.78 | 64.74 ± 0.71 |
| CasHyper | 16.07 ± 0.13 | 33.39 ± 0.42 | 37.50 ± 1.65 | 64.06 ± 1.42 | 40.20 ± 0.12 | 59.20 ± 0.11 | 48.19 ± 0.61 | 67.29 ± 0.57 |
| Improve.(%) | 32.70 | 43.24 | 8.32 | 18.43 | 12.23 | 7.64 | 3.50 | 3.94 |
Table 4
Experimental results on MAP score over four datasets (%). CasHyper uses the quaternion algebra H as the default algebraic type in the main experiments.
| Model | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| NDM2019 | 1.33 ± 0.09 | 1.58 ± 0.08 | 5.88 ± 0.25 | 6.74 ± 0.22 | 18.23 ± 0.20 | 18.73 ± 0.22 | 10.37 ± 0.04 | 11.08 ± 0.05 |
| FOREST2021 | 4.05 ± 0.94 | 4.45 ± 0.98 | 11.90 ± 0.37 | 12.90 ± 0.41 | 20.50 ± 0.56 | 21.15 ± 0.61 | 16.40 ± 0.91 | 17.25 ± 0.93 |
| DyHGCN2020 | 4.55 ± 0.13 | 5.00 ± 0.14 | 12.11 ± 0.19 | 13.21 ± 0.23 | 19.63 ± 0.43 | 20.47 ± 0.58 | 16.31 ± 0.47 | 17.20 ± 0.51 |
| CE-GCN2022 | 4.15 ± 0.26 | 4.52 ± 0.28 | 18.35 ± 0.23 | 19.29 ± 0.25 | 17.94 ± 0.75 | 18.82 ± 0.73 | 22.51 ± 0.18 | 23.41 ± 0.25 |
| MS-HGAT2022 | 5.86 ± 0.16 | 6.33 ± 0.32 | 17.54 ± 0.41 | 18.38 ± 0.37 | 20.43 ± 0.68 | 21.13 ± 0.65 | 15.29 ± 0.13 | 16.28 ± 0.11 |
| DisenIDP2023 | 6.86 ± 0.53 | 7.25 ± 0.51 | 18.31 ± 0.35 | 19.32 ± 0.32 | 15.26 ± 0.36 | 16.19 ± 0.38 | 16.21 ± 0.21 | 17.22 ± 0.32 |
| RotDiff2023 | 6.80 ± 0.23 | 7.31 ± 0.27 | 19.03 ± 0.52 | 19.97 ± 0.60 | 22.36 ± 1.08 | 23.16 ± 1.11 | 15.47 ± 0.19 | 16.41 ± 0.19 |
| GODEN2024 | 7.71 ± 0.15 | 8.12 ± 0.14 | 20.12 ± 0.56 | 21.55 ± 0.53 | 22.15 ± 0.33 | 23.01 ± 0.31 | 24.02 ± 0.46 | 24.97 ± 0.51 |
| MetaCas2025 | 4.80 ± 0.09 | 5.31 ± 0.09 | 13.52 ± 0.21 | 14.62 ± 0.16 | 22.90 ± 0.93 | 23.79 ± 0.95 | 16.92 ± 0.53 | 17.82 ± 0.58 |
| PMRCA2025 | 5.83 ± 0.44 | 6.15 ± 0.41 | 20.14 ± 0.16 | 21.09 ± 0.18 | 22.72 ± 0.36 | 23.31 ± 0.32 | 25.10 ± 0.23 | 26.89 ± 0.18 |
| CasHyper | 8.59 ± 0.21 | 9.36 ± 0.18 | 21.95 ± 0.88 | 23.21 ± 0.83 | 25.11 ± 0.15 | 26.00 ± 0.22 | 26.87 ± 0.38 | 27.80 ± 0.34 |
| Improve.(%) | 11.41 | 15.27 | 8.99 | 7.70 | 9.65 | 9.29 | 7.05 | 3.38 |
-
GODEN Wang et al. (2024) utilizes neural ordinary differential equations to describe the co-evolutionary dynamics of nodes and edges, inferring users' dynamic preferences based on the solutions.
-
MetaCas Cheng, Zhang, Xu, Tai, Zhou, Trajcevski & Zhong (2025) designs two meta-knowledge-aware topological-temporal modules to extract user correlations during information diffusion through dynamic parameter generation.
-
PMRCA He et al. (2025b) employs structural contrastive learning anchored in node homogeneity and clustering contrastive learning driven by cognitive clusters to characterize the information diffusion.
While Large Language Models (LLMs) have demonstrated strong capabilities in semantic analysis, they are inapplicable to our experimental setting due to the absence of textual information in the evaluated datasets. Consequently, our baseline selection focuses on state-of-the-art topology-based and sequence-based diffusion models.
et al.: Preprint submitted to Elsevier
Page 16 of 28
Table 5 Results of different hypercomplex algebras on Hits Metric (%).
| Type | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| C | 15.68 ± 0.27 | 31.99 ± 0.53 | 37.11 ± 0.92 | 62.50 ± 1.26 | 40.10 ± 0.15 | 58.72 ± 0.25 | 38.98 ± 1.13 | 60.46 ± 0.95 |
| H | 16.07 ± 0.13 | 33.39 ± 0.42 | 37.50 ± 1.65 | 64.06 ± 1.42 | 40.20 ± 0.12 | 59.20 ± 0.11 | 48.19 ± 0.61 | 67.29 ± 0.57 |
| O | 16.53 ± 0.35 | 32.37 ± 0.38 | 38.06 ± 1.33 | 64.50 ± 1.13 | 40.45 ± 0.12 | 59.75 ± 0.28 | 46.59 ± 0.79 | 65.77 ± 0.43 |
| S | 15.76 ± 0.21 | 32.68 ± 0.33 | 36.60 ± 1.21 | 64.06 ± 1.19 | 40.19 ± 0.17 | 59.68 ± 0.21 | 43.36 ± 0.93 | 65.14 ± 0.54 |
Table 6 Results of different hypercomplex algebras on MAP Metric (%).
| Type | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| C | 8.45 ± 0.27 | 9.14 ± 0.22 | 21.77 ± 0.73 | 22.88 ± 0.93 | 24.27 ± 0.13 | 25.16 ± 0.33 | 21.14 ± 0.83 | 22.15 ± 0.72 |
| H | 8.59 ± 0.21 | 9.36 ± 0.18 | 21.95 ± 0.88 | 23.21 ± 0.83 | 25.11 ± 0.15 | 26.00 ± 0.22 | 26.87 ± 0.38 | 27.80 ± 0.34 |
| O | 8.71 ± 0.23 | 9.54 ± 0.24 | 22.13 ± 0.59 | 23.71 ± 0.61 | 25.40 ± 0.21 | 26.30 ± 0.27 | 26.53 ± 0.41 | 27.62 ± 0.28 |
| S | 8.14 ± 0.34 | 9.35 ± 0.13 | 21.23 ± 0.78 | 22.47 ± 0.73 | 25.21 ± 0.16 | 26.25 ± 0.23 | 25.92 ± 0.67 | 26.97 ± 0.33 |
5.3. Experimental Results
The overall performance comparison between CasHyper and various state-of-the-art baselines is summarized in Table 3 and Table 4, the best results are highlighted in bold, while underlined numbers denote the second-best performance. The last row reports the relative improvement of CasHyper over the best baseline for each metric. As observed, our proposed model consistently surpasses the real-valued baseline models across all datasets with significant margins. For instance, on the Android and Christianity datasets, CasHyper achieves a remarkable improvement of up to 43.24% and 18.43% in Hits@50, respectively. These empirical results validate the effectiveness of hypercomplex algebra for modeling asymmetric and cross-component interactions between nodes.
A key advantage of CasHyper lies in its ability to model asymmetric influence and cross-component interactions. Although geometric models like RotDiff employ hyperbolic space to capture the hierarchical nature of social networks, they often struggle with non-hierarchical, diverse interaction patterns. The non-commutative nature of hypercomplex multiplication allows CasHyper to more naturally distinguish between the directional influences of different users. Furthermore, our hypercomplex Transformer, integrated with norm-preserving rotary transformations, ensures that fine-grained interaction patterns and relative positional relationships are preserved without the information loss common in standard sequential models.
Interestingly, the experimental results reveal that the improvement in MAP metrics is generally less pronounced than the gains in Hits. We attribute this disparity to the ranking noise inherent in real-world diffusion data. Hits@k primarily measures the model's ability to identify the correct nodes (recall), whereas MAP@k is highly sensitive to the exact order of activations. In practice, the recorded timestamps often suffer from coarse granularity or are influenced by exogenous factors such as user login patterns and content discovery times. Since a later timestamp does not necessarily reflect a weaker user preference or a different diffusion priority, the scope for precise ranking optimization is naturally constrained. Nevertheless, the substantial boost in Hits indicates that CasHyper provides a superior ability to capture the reach of a cascade within the social topology, even when the exact temporal sequence is stochastic.
5.4. Impact of Hypercomplex Algebra Types
To investigate the impact of different hypercomplex algebras on predictive performance, we evaluate four types of hypercomplex numbers—complex numbers (C), quaternions (H), octonions (O), and sedenions (S)—with results presented in Table 5 and Table 6. The results demonstrate that (O1) hypercomplex based methods generally outperform baseline approaches in the real-valued domain, confirming the superior capability of hypercomplex algebras in modeling complex user interaction patterns. (O2) As the dimensionality of hypercomplex algebras increases, model performance may degrade. This could stem from the trade-off between the algebraic dimension () and the component embedding size () under a fixed embedding size (), where an overly small may compromise
et al.: Preprint submitted to Elsevier
Page 17 of 28
Table 7
Ablation study on Hits@50 and MAP@50 (%).
| Dataset | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| @50 | Hits | MAP | Hits | MAP | Hits | MAP | Hits | MAP |
| w/o ODE | ||||||||
| w/o GNN | ||||||||
| w/o HT | ||||||||
| w/o LM | ||||||||
| w/o IM | ||||||||
| w/ GAT | ||||||||
| w/ Real | ||||||||
| CasHyper | ||||||||

Figure 4: The results of ablation study on Hits@10 and MAP@10.
the model's representational capacity. (O3) Given the variability in user interaction patterns across datasets, the optimal hypercomplex configuration should be tailored to specific contexts. Quaternions (H) exhibit stable performance in most scenarios, making them a reliable choice. Consequently, experiments in this study utilize quaternion-based results, which still offer potential for further performance enhancement.
5.5. Ablation Study
To examine the contributions of the major components and design choices in CasHyper, we construct seven variants. (1) w/o-ODE removes the continuous dynamic encoding channel based on Neural ODEs; (2) w/o-GNN removes the static graph encoding channel; (3) w/o-HT replaces the hypercomplex Transformer with a conventional real-valued Transformer equipped with relative positional encoding; (4) w/o-LM removes the linear prediction module and retains only the interaction-aware module; and (5) w/o-IM removes the interaction-aware prediction module and relies on the linear prediction module. In addition, we introduce two comparison variants in response to the architectural design questions. (6) w/-Real replaces the hypercomplex operations in CasHyper with real-valued operations while retaining the overall architecture, embedding dimensionality, and a comparable number of learnable parameters. (7) w/-GAT replaces the GCN neighborhood aggregation with a graph attention mechanism that learns node-specific weights for neighboring nodes, while keeping the remaining modules unchanged.
Table 7 and Figure 4 report the results on Hits@50 and MAP@50, and Hits@10 and MAP@10, respectively. Overall, CasHyper achieves the strongest or near-strongest performance across the evaluated datasets and metrics. In Table 7, it obtains the best results on seven of the eight reported metrics. The only exception is MAP@50 on Christianity, where w/o-ODE achieves 23.25%, marginally higher than the 23.21% obtained by CasHyper. The following observations can be made:
(O1) Both structural and continuous dynamic encodings contribute to cascade prediction. Removing the static graph encoder leads to clear performance degradation across all datasets, indicating the importance of historical user-user and user-cascade structural information. Removing the Neural ODE channel also generally decreases performance, although its effect varies across datasets and metrics. This suggests that static graph structure provides the primary
et al.: Preprint submitted to Elsevier
Page 18 of 28

Figure 5: Comparison of Hits@10 and runtime on the four datasets.
structural basis, while continuous dynamic encoding supplies complementary information about evolving node and edge states.
(O2) Replacing the hypercomplex Transformer with a conventional real-valued Transformer generally reduces performance, indicating that the proposed sequence encoder contributes to modeling direction-sensitive and cross-component interaction patterns. However, this result should be interpreted as empirical evidence under the current experimental settings rather than as proof that hypercomplex representations universally outperform real-valued sequence models.
(O3) The w-/Real variant provides a controlled comparison between hypercomplex and real-valued implementations. Although w-/Real retains the main architecture and a comparable parameter count, CasHyper performs better on all eight Hits@50 and MAP@50 comparisons. For example, CasHyper improves Hits@50 over w-/Real from 31.81% to 33.39% on Android, from 61.09% to 64.06% on Christianity. These results suggest that the gains cannot be attributed solely to the overall architecture or parameter scale and provide empirical support for the use of structured hypercomplex representations.
(O4) The w-/GAT variant does not improve upon CasHyper on the evaluated datasets. Although graph attention allows the model to learn different importance weights for neighboring nodes, its performance is consistently lower than that of the aggregation used in CasHyper. One possible explanation is that the learned attention weights may introduce additional estimation difficulty or amplify noisy neighbor relations in the heterogeneous graph. The results indicate that, under the current architecture and datasets, explicitly introducing neighbor-level attention is not necessarily more effective than GCN-based aggregation.
(O5) The two prediction modules exhibit complementary behavior. Removing either the linear module or the interaction-aware module leads to performance degradation on most datasets. The interaction-aware module is particularly important for capturing relations between cascade representations and candidate-user embeddings, while the linear module provides an additional prediction signal based on the encoded historical representation. Their combination generally produces more stable performance across datasets.
5.6. Efficiency Analysis
We compare the training efficiency of CasHyper with the baseline methods under the same hardware environment to evaluate its efficiency. All methods are executed on a platform equipped with a 3.9 GHz 20-core Intel processor, 32 GB of system memory, and an NVIDIA GeForce RTX 5070 Ti GPU with 16 GB of video memory. The reported runtime is the average training time per epoch across multiple independent runs.
Figure 5 jointly presents Hits@10 and the average training time per epoch, where higher predictive performance and lower training time are preferred. CasHyper achieves the highest Hits@10 on all four datasets, but its computational efficiency varies with dataset scale. On Android and Christianity, CasHyper requires only a few seconds per epoch and remains competitive with, or faster than, several baseline methods. This suggests that the additional hypercomplex computations are manageable on relatively small datasets. Twitter contains the largest number of social links, while Memetracker contains the largest number of cascades. On these two datasets, CasHyper requires noticeably more training time than several baselines, indicating that the current framework has limited scalability when the graph
et al.: Preprint submitted to Elsevier
Page 19 of 28

(a) Android
(b) Christianity
(c) Twitter
(d) Memetracker
(e) Android
(f) Christianity
(g) Twitter
(h) Memetracker
Figure 6: Attention coefficient matrices computed by the standard self-attention mechanism (top) and the hypercomplex rotation-based attention mechanism (bottom) on randomly selected cascades.
structure or cascade collection becomes large. The additional cost mainly arises from the hypercomplex operations and the rotation process.
These findings highlight an important limitation of the current framework. Future work may improve scalability through more efficient hypercomplex operations, sparse neighborhood sampling, simplified ODE solvers, mini-batch graph training, or lightweight sequence encoders.
5.7. Parameter Analysis
5.7.1. Visualization and Quantitative Analysis for Relative Positional Modeling
To verify the effectiveness of hypercomplex rotational transformations in capturing relative positional relationships among nodes within a cascade, we visualize the attention coefficient matrices computed by the standard self-attention mechanism, as defined in Eq. (10), and the hypercomplex rotation-based attention mechanism, as defined in Eq. (14), respectively. Figure 6 presents the pairwise attention distributions of nodes within a randomly selected cascade from different datasets.
As shown in the figure, the standard self-attention mechanism primarily concentrates attention weights along the diagonal, indicating a strong bias toward assigning higher importance to each node itself, while exhibiting limited capability in modeling sequential order and relative positional relationships among nodes. In contrast, the attention mechanism equipped with hypercomplex rotational transformations explicitly encodes relative positional information, thereby assigning higher attention weights to nodes that appear earlier in the cascade and exhibit stronger interactions between nodes. These observations illustrate that hypercomplex rotations encourage the attention mechanism to incorporate more historical and relative positional information within cascade sequences.
We further conduct a quantitative analysis on the test set. Specifically, we introduce two attention-distribution metrics, namely historical attention ratio (HAR) and self-diagonal ratio (SDR), to characterize how attention weights are distributed over historical positions and self-positions. For an attention matrix of a cascade , where denotes the attention weight from the -th position to the -th position,
HAR measures the proportion of attention assigned to previously activated nodes. A higher HAR value indicates that the model attends more to historical cascade contexts. In contrast, SDR measures the concentration of attention
et al.: Preprint submitted to Elsevier
Page 20 of 28
Table 8
Quantitative comparison of attention distributions on the test set (%). SA denotes the standard self-attention mechanism, and HA denotes the hypercomplex rotation-based attention mechanism.
| Type | Android | Christianity | Memetracker | |||||
|---|---|---|---|---|---|---|---|---|
| HAR | SDR | HAR | SDR | HAR | SDR | HAR | SDR | |
| SA | ||||||||
| HA | ||||||||

(a) Android
(b) Christianity
(c) Twitter
(d) Memetracker
Figure 7: Impact of solver steps on model performance.
weights on the diagonal self-position. A higher SDR value indicates stronger self-position dominance, suggesting that the attention mechanism tends to focus on each node itself rather than on other historical nodes. Since the first position has no historical context, both HAR and SDR are averaged from the second position.
As shown in Table 8, the standard self-attention mechanism exhibits high SDR values and relatively low HAR values across the four datasets, indicating that its attention distribution is largely dominated by self-position attention. This finding is consistent with the diagonal-dominant patterns observed in Figure 6. In contrast, the proposed hypercomplex rotation-based attention mechanism consistently achieves higher HAR values and lower SDR values. This indicates that the proposed mechanism alleviates excessive self-position concentration and assigns more attention to previously activated nodes in the cascade. These results provide quantitative evidence that hypercomplex rotational transformations help the attention mechanism better capture historical dependency patterns and relative positional structures in cascade sequences. Together, the case visualization and the test-set-level quantitative results provide evidence that the proposed mechanism reduces excessive self-position concentration and strengthens the use of historical cascade contexts.
5.7.2. Impact of Solver Steps
In Neural ODEs, the evolution of model states is realized through numerical solvers, where the number of solver steps controls the granularity of the numerical simulation. To investigate the impact of solver-step selection on model
et al.: Preprint submitted to Elsevier
Page 21 of 28

Figure 8: Impact of embedding dimension d on model performance.
Table 9
Results of different on Hits Metric (%).
| Android | Christianity | Memetracker | ||||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| 0.6 | 15.89 ± 0.03 | 31.87 ± 0.35 | 36.83 ± 1.56 | 62.49 ± 1.57 | 39.59 ± 0.61 | 58.80 ± 0.38 | 44.28 ± 0.48 | 65.37 ± 0.52 |
| 0.8 | 15.54 ± 0.25 | 32.34 ± 0.61 | 37.35 ± 1.90 | 62.72 ± 1.45 | 39.73 ± 0.25 | 59.34 ± 0.35 | 44.16 ± 0.30 | 65.53 ± 0.24 |
| 1.0 | 16.07 ± 0.13 | 33.39 ± 0.42 | 37.50 ± 1.65 | 64.06 ± 1.42 | 40.20 ± 0.12 | 59.20 ± 0.11 | 48.19 ± 0.61 | 67.29 ± 0.57 |
| 1.2 | 15.21 ± 0.54 | 32.26 ± 0.12 | 37.95 ± 2.46 | 64.56 ± 1.90 | 39.89 ± 0.72 | 58.59 ± 0.65 | 46.56 ± 0.69 | 66.13 ± 0.79 |
| 1.4 | 15.62 ± 0.12 | 32.07 ± 0.62 | 36.05 ± 1.00 | 61.38 ± 2.68 | 39.60 ± 0.32 | 58.71 ± 0.07 | 45.43 ± 2.58 | 65.05 ± 1.98 |
performance, we vary from 2 to 10 on four datasets, with the results summarized in Figure 7. The model exhibits remarkable robustness. Across all evaluated scenarios, the model sustains competitive predictive performance even with a minimal step count of . As increases, the performance may improve slightly on some datasets or metrics, indicating that a finer numerical simulation can sometimes better capture continuous temporal dynamics. However, further increasing also introduces additional computational cost and may lead to slight fluctuations, possibly because overly fine-grained temporal discretization can amplify noise or inherent uncertainties in the data. Therefore, we set as the default solver-step configuration as a practical trade-off between predictive performance, robustness, and computational efficiency.
5.7.3. Impact of Embedding Dimension
In our framework, increasing scales the dimension of hypercomplex sub-units, potentially enhancing the model's ability to capture complex inter-component correlations. We analyze the impact of on model performance. As illustrated in Figure 8, the performance across all metrics initially exhibits a significant upward trend as increases. This suggests that a larger embedding dimension in hypercomplex space provides a greater representational degree of freedom, enabling the model to capture latent propagation patterns more effectively. However, once the performance reaches its peak, further increasing results in a noticeable decline. This phenomenon indicates that while expanding the dimension enhances model capacity, an excessively high may trigger overfitting, especially given the structured interaction constraints inherent in hypercomplex algebra. Larger embedding dimensions also introduce higher computational and memory costs. Considering the trade-off between performance gain and computational efficiency, we select as the default total embedding dimension.
5.7.4. Impact of Weighting Coefficient
The weighting coefficient controls the relative contribution of the consistency regularization term to the overall training objective. To investigate its influence, we vary within and report the Hits and MAP results in Tables 9 and 10, respectively. Overall, CasHyper exhibits relatively stable performance across the tested values, particularly when lies between 0.8 and 1.2. Among these settings, achieves the best results on all Android and Memetracker metrics, as well as on most MAP metrics and several Hits metrics on the other datasets. Although or 1.2 yields slightly better performance on a few individual metrics, the differences
et al.: Preprint submitted to Elsevier
Page 22 of 28
Table 10 Results of different on MAP Metric (%).
| Android | Christianity | Memetracker | ||||||
|---|---|---|---|---|---|---|---|---|
| @10 | @50 | @10 | @50 | @10 | @50 | @10 | @50 | |
| 0.6 | 8.37 ± 0.18 | 9.23 ± 0.07 | 21.17 ± 0.57 | 22.19 ± 0.59 | 24.91 ± 0.14 | 25.78 ± 0.16 | 23.99 ± 0.75 | 25.01 ± 0.74 |
| 0.8 | 8.42 ± 0.23 | 9.23 ± 0.19 | 21.57 ± 0.50 | 22.63 ± 0.96 | 25.25 ± 0.05 | 26.15 ± 0.05 | 23.76 ± 0.61 | 24.80 ± 0.61 |
| 1.0 | 8.59 ± 0.21 | 9.36 ± 0.18 | 21.95 ± 0.88 | 23.21 ± 0.83 | 25.11 ± 0.15 | 26.00 ± 0.22 | 26.87 ± 0.38 | 27.80 ± 0.34 |
| 1.2 | 8.53 ± 0.17 | 9.29 ± 0.13 | 21.72 ± 1.23 | 22.72 ± 1.20 | 25.05 ± 0.12 | 25.93 ± 0.32 | 25.48 ± 0.44 | 26.52 ± 0.45 |
| 1.4 | 8.49 ± 0.21 | 9.26 ± 0.21 | 21.02 ± 0.34 | 22.17 ± 0.42 | 25.01 ± 0.21 | 25.51 ± 0.18 | 23.75 ± 2.58 | 24.80 ± 2.01 |

Figure 9: Robustness of CasHyper under different random edge deletion ratios. Error bars indicate the standard deviations.
are generally modest, and provides the most consistently competitive performance across datasets and evaluation metrics. When is relatively small, the regularization signal may be insufficient to effectively encourage the alignment of the query and key rotary parameters. In contrast, an excessively large value may place too much emphasis on parameter consistency and interfere with the optimization of the primary prediction objective. Therefore, we set as the default configuration, as it provides a practical balance between predictive performance and the consistency constraint across the evaluated datasets.
5.7.5. Robustness to Incomplete Graph Structures
To examine the robustness of CasHyper under structural incompleteness, we conduct an additional perturbation experiment by randomly removing a proportion of edges from the original input graph. Specifically, the edge deletion ratio is varied from 0 to 0.5 with an interval of 0.1. For each deletion ratio, edges are sampled uniformly at random and removed before model training. The remaining model configuration and training protocol are kept unchanged.
Figure 9 presents the results across the four datasets. Overall, CasHyper maintains relatively stable performance under moderate levels of edge removal, although the degree of sensitivity differs across datasets. On Android, the performance decreases gradually as more edges are removed. The decline is more evident for Hits@50, whereas Hits@10 and the MAP metrics remain comparatively stable. This indicates that structural incompleteness has a greater effect on retrieving a broader set of candidate users than on identifying the most likely next participants. Christianity is more sensitive to missing graph structure. Its performance remains relatively stable under a small deletion ratio but declines more clearly when the deletion ratio exceeds 0.2. For example, Hits@50 decreases from approximately 0.64 to 0.54 when half of the edges are removed. This suggests that the prediction of Christianity depends more strongly on the availability of graph connectivity. By contrast, Twitter exhibits the strongest robustness. Even at a deletion ratio of 0.5, all four metrics fluctuate only slightly, with Hits@50 remaining close to 0.59. Memetracker also shows relatively stable behavior under moderate edge deletion, although the performance variation and standard deviation become somewhat larger at the highest deletion ratio.
These results suggest that CasHyper does not rely exclusively on complete graph connectivity. One possible reason is that its prediction is based on multiple complementary information sources. The static neighborhood aggregation captures the observed structural relations, whereas the continuous asymmetric encoding and the hypercomplex-based interaction model evolve interactions and historical activation patterns. Consequently, when part of the graph structure is missing, the remaining channels can partially compensate for the lost neighborhood information. Nevertheless,
et al.: Preprint submitted to Elsevier
Page 23 of 28 the results also show that robustness is dataset-dependent, and performance generally decreases as more edges are removed. Therefore, this experiment should be interpreted as evidence of resilience to randomly missing structural links rather than a guarantee of robustness to arbitrary graph noise. More challenging settings, such as spurious-edge injection, non-random missingness, attribute corruption, and adversarial graph perturbations, remain directions for future investigation.
6. Conclusion and Discussion
In this paper, we revisit the challenge of information cascade prediction from a novel algebraic perspective, addressing the inherent limitations of conventional real-valued Euclidean embeddings in capturing multi-factor interactions and asymmetric social influences. To this end, we introduce CasHyper, a principled framework that harmonizes hypercomplex algebra with Graph Neural Networks (GNNs) and Transformers. In this model, node representations are organized into hypercomplex components, static neighborhood information is aggregated over the heterogeneous graph, continuous dynamic edge evolution is modeled through a Neural ODE-based channel, and cascade sequences are further encoded using a hypercomplex Transformer with rotary positional transformations. The experimental results across four real-world datasets show that CasHyper achieves competitive or better performance than the compared baselines. In addition, the analysis of various Cayley-Dickson algebras suggests that hypercomplex structures, such as quaternions and octonions, may exhibit distinct empirical behaviors across datasets. These results suggest that hypercomplex representations can be a promising modeling choice for cascade prediction, especially when user interactions involve multiple latent factors and direction-sensitive dependencies.
From a methodological perspective, CasHyper provides a structured way to organize node embeddings into multiple algebraic components and to use hypercomplex products for constructing order-dependent interaction representations. The non-commutativity of higher-dimensional hypercomplex multiplication enables the model to distinguish the representation of an ordered pair from that of prior to the neural mapping, thereby enabling it to learn asymmetric influence patterns from data. The hypercomplex Transformer further incorporates rotary positional transformations into the cascade sequence encoder. Since the rotation operation preserves the norms of the transformed vectors, positional information can be introduced while maintaining the magnitudes of the representations.
From a practical perspective, CasHyper provides a structured approach for modeling information cascade prediction on social platforms by organizing node representations into multiple hypercomplex components. Under the evaluated benchmark settings, the model shows competitive predictive performance. These results suggest that hypercomplex representations may be useful for capturing complex interaction patterns in cascade prediction tasks. The practical relevance of this work should be understood within the scope of predictive modeling. More accurate prediction of the next participant in an information cascade can potentially serve as a supporting component for downstream applications such as diffusion analysis, early warning systems, and platform-level decision support. Applying the proposed model to these scenarios would require additional task-specific evaluation protocols and deployment-oriented analyses. Therefore, we view CasHyper as a prediction-oriented modeling framework that may support such applications in future work, rather than as a complete solution for these broader practical scenarios.
A limitation of the current framework lies in its sensitivity to data sparsity in the early stages of a cascade. Since CasHyper relies on capturing multi-factor interactions, its performance may be constrained when the initial diffusion observations are extremely limited. Future research will explore the integration of self-supervised learning or contrastive learning objectives to enhance the robustness of hypercomplex embeddings under low-resource conditions. Furthermore, investigating the interpretability of the imaginary basis components could provide deeper insights.
A. Discussion of Asymmetry-aware Representation
According to the model definition, the influence from node to node and that from node to node are computed as,
A fundamental property of the Cayley-Dickson construction is that, for , the resulting multiplication operator is generally non-commutative. Therefore, for two node states and , their multiplicative interaction is
et al.: Preprint submitted to Elsevier
Page 24 of 28 order-dependent in general case,
This order dependence provides different directional interaction representations before they are passed to the neural mapping . We note that non-commutativity alone does not strictly guarantee different scalar outputs after the mapping , since the final outputs also depend on the learned parameters and the specific input states. Nevertheless, by preserving the order information in the algebraic interaction term, the proposed encoding provides a structural inductive bias that enables the model to learn asymmetric influence patterns when the data support them. Thus, the proposed continuous asymmetric encoding does not impose asymmetric outputs in all cases, but equips the model with the representational capacity to distinguish the influence from to and that from to .
B. Explanation of Property 1
Definition 1 (Hypercomplex Rotational Transformation). Here, consists of real-valued component vectors, and denotes the coefficient vector corresponding to the -th hypercomplex basis component. For an arbitrary input , the rotational transformation on its -th hypercomplex component at an absolute position is defined as,
where is a unit hypercomplex imaginary number satisfying , and and are learnable frequency and phase parameters dynamically generated from the input vector.
According to Definition 1, the transformed vector component can be written as , where . The factor is a unit-modulus rotational operator. By Euler's formula, we have . Thus, the transformed component can be expanded as . Here, denotes the imaginary basis direction. When represented in the corresponding two real-valued subspace, this transformation maps each entry of to a rotated pair . Hence, the squared L2-norm of the transformed representation is,
This yields.
Since the L2-norm is non-negative, taking the square root on both sides gives . We finally obtain . This confirms the norm-preservation property of the rotational transformation.
C. Explanation of Property 2
Let denote the -th real-valued component vectors of the query and key representations at positions and , respectively. We define the phase terms as,
After the rotational transformation, the corresponding complex-valued component vectors are given by,
Since and are real-valued vectors, the real-valued similarity between the rotated components can be computed as the real part of their Hermitian inner product,
et al.: Preprint submitted to Elsevier
Page 25 of 28
Substituting the transformed vectors, we obtain,
(22)
Regularization condition. The above expression becomes explicitly dependent on the relative position when the query and key rotary parameters are shared or approximately aligned. In our model, this condition is encouraged by the consistency regularization term , which penalizes the discrepancy between and . This regularization does not strictly prove parameter equality, but provides an optimization bias toward and . Under this regularization condition, we can write and . Then the exponential term in Eq. (22) is approximately reduced to,
Accordingly, the real part of the Hermitian inner product can be approximated as,
This expression shows that, under the regularization condition, the attention score depends on both the semantic interaction and the relative distance . Therefore, the proposed rotary mechanism provides an inductive bias for capturing relative positional information, rather than a strict guarantee that the learned query and key rotary parameters are identical.
References
Amran, G. A., Li, X., & AL-Bakhrani, A. A. (2026). Muse-rec: Explainable multi-behavioral social e-commerce recommendation with integrated link prediction. Information Processing & Management, 63, 104355.
Bao, P., Shen, H.-W., Jin, X., & Cheng, X.-Q. (2015). Modeling and predicting popularity dynamics of microblogs using self-excited hawkes processes. In Proceedings of the 24th International Conference on World Wide Web (pp. 9–10).
Cao, Q., Shen, H., Cen, K., Ouyang, W., & Cheng, X. (2017). Deephawks: Bridging the gap between prediction and understanding of information cascades. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (pp. 1149–1158).
Chang, B., Chen, M., Haber, E., & Chi, E. H. (2019). Antisymmetricrnn: A dynamical system view on recurrent neural networks. arXiv preprint arXiv:1902.09689.
Chen, T., Yin, H., Zhang, X., Huang, Z., Wang, Y., & Wang, M. (2021). Quaternion factorization machines: A lightweight solution to intricate feature interaction modeling. IEEE Transactions on Neural Networks and Learning Systems, 34, 4345–4358.
Chen, X., Zhou, F., Zhang, K., Trajcevski, G., Zhong, T., & Zhang, F. (2019). Information diffusion prediction via recurrent cascades convolution. In 2019 IEEE 35th international conference on data engineering (ICDE) (pp. 770–781). IEEE.
Cheng, J., Adamic, L., Dow, P. A., Kleinberg, J. M., & Leskovec, J. (2014). Can cascades be predicted? In Proceedings of the 23rd international conference on World wide web (pp. 925–936).
Cheng, Z., Ye, W., Liu, L., Tai, W., & Zhou, F. (2023). Enhancing information diffusion prediction with self-supervised disentangled user and cascade representations. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management (pp. 3808–3812).
Cheng, Z., Zhang, J., Xu, X., Tai, W., Zhou, F., Trajcevski, G., & Zhong, T. (2025). Information diffusion prediction via meta-knowledge learners. Information Sciences, 707, 122034.
Cui, P., Jin, S., Yu, L., Wang, F., Zhu, W., & Yang, S. (2013). Cascading outbreak prediction in networks: a data-driven approach. In Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining (pp. 901–909).
Farajtabar, M., Wang, Y., Gomez-Rodriguez, M., Li, S., Zha, H., & Song, L. (2017). Coevolve: A joint point process model for information diffusion and network evolution. Journal of Machine Learning Research, 18, 1–49.
Frants, V., Agaian, S., & Panetta, K. (2023). Qcnn-h: Single-image dehazing using quaternion neural networks. IEEE Transactions on Cybernetics, 53, 5448–5458.
Gao, J., Wang, X., Gan, T., Yin, J., Luo, C., & Nie, L. (2025). Social context-aware community-level propagation prediction. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 1995–2005).
et al.: Preprint submitted to Elsevier
Page 26 of 28
Goldenberg, J., Libai, B., & Muller, E. (2001). Talk of the network: A complex systems look at the underlying process of word-of-mouth. Marketing letters, 12, 211–223.
Grover, A., & Leskovec, J. (2016). node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining (pp. 855–864).
Gu, Y., Liu, X., Duan, Z., Li, A., Xia, R., & Yang, B. (2025). Mvsgae: Multi-head variational signed graph auto-encoder. In Asia-Pacific Web (APWeb) and Web-Age Information Management (WAIM) Joint International Conference on Web and Big Data (pp. 648–666). Springer.
Hamilton, W. L., Ying, R., & Leskovec, J. (2017). Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems (pp. 1024–1034).
He, J., Fang, Y., Shao, T., & Zhao, X. (2025a). Information diffusion prediction based on user multi-dimensional feature interaction. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management (pp. 4775–4779).
He, W., Xiao, Y., Huang, M., Mou, X., Wang, R., & Li, Q. (2025b). A pattern-driven information diffusion prediction model based on multisource resonance and cognitive adaptation. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 592–601).
Hodas, N. O., & Lerman, K. (2014). The simple rules of social contagion. Scientific reports, 4, 4343.
Kantor, I. L., Solodovnikov, A. S., & Shenitzer, A. (1989). Hypercomplex numbers: an elementary introduction to algebras volume 302. Springer.
Kempe, D., Kleinberg, J., & Tardos, É. (2003). Maximizing the spread of influence through a social network. In Proceedings of the ninth ACM SIGKDD international conference on Knowledge discovery and data mining (pp. 137–146).
Kipf, T. N., & Welling, M. (2016). Variational graph auto-encoders. arXiv preprint arXiv:1611.07308.
Kipf, T. N., & Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations.
Leskovec, J., Backstrom, L., & Kleinberg, J. (2009). Meme-tracking and the dynamics of the news cycle. In Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining (pp. 497–506).
Li, A., Yang, B., Huo, H., & Hussain, F. (2022). Hypercomplex graph collaborative filtering. In Proceedings of the ACM Web Conference 2022 (pp. 1914–1922).
Li, A., Yang, B., Huo, H., Hussain, F., & Xu, G. (2025). Hypercomplex knowledge graph-aware recommendation. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 2017–2026).
Li, Z., Xu, Q., Jiang, Y., Cao, X., & Huang, Q. (2020). Quaternion-based knowledge graph network for recommendation. In Proceedings of the 28th ACM international conference on multimedia (pp. 880–888).
Liao, D., Xu, J., Li, G., Huang, W., Liu, W., & Li, J. (2019). Popularity prediction on online articles with deep fusion of temporal process and content features. In Proceedings of the AAAI conference on artificial intelligence (pp. 200–207), volume 33.
Liu, Y., Song, Q., Song, W., Zhang, P., & Zhang, C. (2025). Gthnn: Graph transformer and sequential hypergraph neural network with dynamic aggregation mechanism for multi-task prediction. Information Processing & Management, 62, 104180.
Meng, F., Xie, J., Sun, J., Xu, C., Zeng, Y., Wang, X., Jia, T., Huang, S., Deng, Y., & Hu, Y. (2025). Spreading dynamics of information on online social networks. Proceedings of the National Academy of Sciences, 122, e2410227122.
Mishra, S., Rizoiu, M.-A., & Xie, L. (2016). Feature driven and point process approaches for popularity prediction. In Proceedings of the 25th ACM international conference on information and knowledge management (pp. 1069–1078).
Parcollet, T., Morchid, M., Bousquet, P.-M., Dufour, R., Linarès, G., & De Mori, R. (2016). Quaternion neural networks for spoken language understanding. In 2016 IEEE Spoken Language Technology Workshop (SLT) (pp. 362–368). IEEE.
Perozzi, B., Al-Rfou, R., & Skiena, S. (2014). Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 701–710).
Qiao, H., Feng, S., Li, X., Lin, H., Hu, H., Wei, W., & Ye, Y. (2023). Rotdiff: A hyperbolic rotation representation model for information diffusion prediction. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management (pp. 2065–2074).
Sang, C.-Y., Chen, J.-J., & Liao, S.-G. (2025). Dyhtcr-cas: Learning unified spatio-temporal features based on dynamic heterogeneous graph neural network for information cascade prediction. Information Processing & Management, 62, 104029.
Sankar, A., Zhang, X., Krishnan, A., & Han, J. (2020). Inf-vae: A variational autoencoder framework to integrate homophily and influence in diffusion prediction. In Proceedings of the 13th international conference on web search and data mining (pp. 510–518).
Shen, H., Wang, D., Song, C., & Barabási, A.-L. (2014). Modeling and predicting popularity dynamics via reinforced poisson processes. In Proceedings of the AAAI conference on artificial intelligence. volume 28.
Shulman, B., Sharma, A., & Cosley, D. (2016). Predictability of popularity: Gaps between prediction and understanding. In Proceedings of the international AAAI conference on web and social media (pp. 348–357). volume 10.
Song, T., Qi, L., Liu, W., Wang, F., Xu, X., Hu, H., Cao, Y., Zhang, X., & Beheshti, A. (2025). Boosting guided diffusion with large language models for multimodal sequential recommendation. In Proceedings of the 33rd ACM International Conference on Multimedia (pp. 6203–6212).
Sun, L., Rao, Y., Zhang, X., Lan, Y., & Yu, S. (2022). Ms-hgat: memory-enhanced sequential hypergraph attention network for information diffusion prediction. In Proceedings of the AAAI conference on artificial intelligence (pp. 4156–4164). volume 36.
Trabelsi, C., Bilaniuk, O., Zhang, Y., Serdyuk, D., Subramanian, S., Santos, J. F., Mehri, S., Rostamzadeh, N., Bengio, Y., & Pal, C. J. (2017). Deep complex networks. arXiv preprint arXiv:1705.09792.
Tu, S., & Neumann, S. (2022). A viral marketing-based model for opinion dynamics in online social networks. In Proceedings of the ACM Web Conference 2022 (pp. 1570–1578).
Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., & Bengio, Y. (2018). Graph attention networks. In International Conference on Learning Representations.
Wang, D., Wei, L., Yuan, C., Bao, Y., Zhou, W., Zhu, X., & Hu, S. (2022a). Cascade-enhanced graph convolutional network for information diffusion prediction. In International conference on database systems for advanced applications (pp. 615–631). Springer.
et al.: Preprint submitted to Elsevier
Page 27 of 28
Wang, D., Zhou, W., & Hu, S. (2024). Information diffusion prediction with graph neural ordinary differential equation network. In Proceedings of the 32nd ACM International Conference on Multimedia (pp. 9699–9708).
Wang, H., Yang, C., & Shi, C. (2021a). Neural information diffusion prediction with topic-aware attention network. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management (pp. 1899–1908).
Wang, R., Huang, Z., Liu, S., Shao, H., Liu, D., Li, J., Wang, T., Sun, D., Yao, S., & Abdelzaher, T. (2021b). Dydiff-vae: A dynamic variational framework for information diffusion prediction. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 163–172).
Wang, R., Xu, X., & Zhang, Y. (2023). Multiscale information diffusion prediction with minimal substitution neural network. IEEE Transactions on Neural Networks and Learning Systems.
Wang, Y., Lin, Q., Huang, J., & Jia, T. (2025). Generative data augmentation in graph contrastive learning for recommendation. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management (pp. 3155–3165).
Wang, Y., Wang, X., & Jia, T. (2022b). Ccasgnn: Collaborative cascade prediction based on graph neural networks. In 2022 IEEE 25th International Conference on Computer Supported Cooperative Work in Design (CSCWD) (pp. 810–815). IEEE.
Wang, Y., Wang, X., Ran, Y., Michalski, R., & Jia, T. (2022c). Cassegcn: Combining network structure and temporal sequence to predict information cascades. Expert Systems with Applications, 206, 117693.
Xia, R., Liu, H., Li, A., Liu, X., Zhang, Y., Zhang, C., & Yang, B. (2025a). Incomplete graph learning: A comprehensive survey. Neural Networks, 190, 107682.
Xia, R., Zhang, C., Li, A., Liu, X., & Yang, B. (2024). Attribute imputation autoencoders for attribute-missing graphs. Knowledge-Based Systems, 291, 111583.
Xia, R., Zhang, C., Liu, X., Li, A., & Zhang, Y. (2025b). Graphiam: Two-stage algorithm for improving class-imbalanced node classification on attribute-missing graphs. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management (pp. 3478–3487).
Xia, R., Zhang, Y., Zhang, C., Liu, X., & Yang, B. (2023). Multi-head variational graph autoencoder constrained by sum-product networks. In Proceedings of the ACM Web Conference 2023 (pp. 641–650).
Yang, C., Sun, M., Liu, H., Han, S., Liu, Z., & Luan, H. (2019). Neural diffusion model for microscopic cascade study. IEEE Transactions on Knowledge and Data Engineering, 33, 1128–1139.
Yang, C., Wang, H., Tang, J., Shi, C., Sun, M., Cui, G., & Liu, Z. (2021). Full-scale information diffusion prediction with reinforced recurrent networks. IEEE Transactions on Neural Networks and Learning Systems, 34, 2271–2283.
Yu, L., Wang, Y., Yang, F., Fu, D., Shi, F., & Yao, C. (2026). Opinion maximization on social trust networks considering local and global information. Information Processing & Management, 63, 104765.
Yu, Z., Li, D., Du, P., Luo, W., Kou, K. I., Bhatti, U. A., Benger, W., Lv, G., & Yuan, L. (2024). Hypercomplex signal processing in digital twin of the ocean: theory and application [hypercomplex signal and image processing]. IEEE Signal Processing Magazine, 41, 33–48.
Yuan, C., Li, J., Zhou, W., Lu, Y., Zhang, X., & Hu, S. (2020). Dyhgcn: A dynamic heterogeneous graph convolutional network to learn users' dynamic preferences for information diffusion prediction. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases (pp. 347–363). Springer.
Zhang, X., & Gao, W. (2024). Predicting viral rumors and vulnerable users with graph-based neural multi-task learning for infodemic surveillance. Information Processing & Management, 61, 103520.
Zhou, M., Lin, Y., Liu, G., Li, Z., Liao, H., & Mao, R. (2024). Modeling personalized retweeting behaviors for multi-stage cascade popularity prediction. In Proceedings of IJCAI.
Zhu, W., Li, C., Zhang, L., Wang, S., & Zhang, X. (2025). Ghidorah: Towards robust multi-scale information diffusion prediction via test-time training. In Proceedings of the AAAI Conference on Artificial Intelligence (pp. 13464–13472). volume 39.
Zhu, X., Xu, Y., Xu, H., & Chen, C. (2018). Quaternion convolutional neural networks. In Proceedings of the European conference on computer vision (ECCV) (pp. 631–647).
et al.: Preprint submitted to Elsevier
Page 28 of 28