Identifying key nodes is crucial in applications like epidemic control and information dissemination. Many conventional methods rely primarily on local or global topological properties, overlooking the role of intermediate higher-order structures, such as network motifs, particularly in directed networks where these patterns can reveal nuanced functional roles in propagation. To address this, we propose the Roles within Motifs (RM) method for identifying key nodes in directed networks. In this framework, roles within motifs are defined as or , and a node’s propensity to act as a within motifs is quantified to capture its local higher-order structural information. Experiments on real-world networks show that RM significantly outperforms eight benchmark methods, with a 17.08% reduction in average ranking deviation in single-source propagation. Moreover, it attains near-optimal performance in multi-source propagation, demonstrating robust efficacy across tested conditions. Furthermore, the method has low computational complexity, making it suitable for large-scale network analysis.
The Ego-Centric Sampling Method (ECM) leverages individual-level reports about peers to estimate population proportions within social networks, offering strong privacy protection without requiring full network data. However, the conventional ECM estimator is unbiased only under the restrictive assumption of a homogeneous network, where node degrees are uniform and uncorrelated with attributes. To overcome this limitation, we introduce the Activity Ratio Corrected ECM estimator (), which exploits network reciprocity to recast the population–proportion problem into an equivalent formulation in edge space. This reformulation relies solely on ego–peer data and explicitly corrects for degree–attribute dependencies, yielding unbiased and stable estimates even in highly heterogeneous networks. Simulations and analyses on real-world networks show that reduces estimation error by up to 70% compared with the conventional ECM. Our results establish a theoretically grounded and practically scalable framework for unbiased inference in network-based sampling designs.