Directed closure measures for networks with reciprocity

C. Seshadhri, Ali Pinar, Nurcan Durak, Tamara G. Kolda · DOI

Abstract

The study of triangles in graphs is a standard tool in network analysis, leading to measures such as the transitivity, i.e., the fraction of paths of length 2 that participate in triangles. Real-world networks are often directed, and it can be difficult to "measure" this network structure meaningfully. We propose a collection of 15 directed closure values for measuring triangles in directed graphs in a way that is analogous to transitivity in an undirected graph. Our study reveals that reciprocal edges have a high propensity to participate in triangles and shows striking similarities between the triadic closure patterns of different web and social networks. We demonstrate that standard directed configuration models fail to capture these patterns.

Introduction

In network science, the concept of "transitivity" or the clustering coefficient is a cornerstone for understanding local structure. It quantifies the likelihood that a "friend of a friend is also a friend." While this is straightforward in undirected graphs, directed networks—such as Twitter follower graphs or the World Wide Web—present a much more complex landscape. In these environments, the direction of edges and the presence of reciprocal (two-way) connections significantly alter the local logic of link formation.

Previous metrics often oversimplified these structures, failing to distinguish between different types of "wedges" (two edges sharing a vertex) and the "triangles" they form. This paper introduces a granular framework of 15 directed closure values to provide a mathematically rigorous summary of triadic structures in directed graphs.

Methodology: Building Blocks of Directed Closure

The proposed framework decomposes directed network components into two fundamental building blocks: directed wedges and directed triangles.

Directed Wedges

The authors identify six distinct types of directed wedges, labeled (i) through (vi). These range from simple "out" and "in" wedges to more complex structures involving reciprocal edges.

The six fundamental types of directed wedges used to define closure measures.

Directed Triangles and Closure Values

Closing these wedges results in seven possible types of directed triangles (e.g., acyclic, cycle, reciprocal). By combining these, the authors define 15 directed closure values ($\kappa_{\psi,\tau}$). Each value represents the fraction of wedges of a specific type ($\psi$) that close into a specific triangle type ($\tau$).

To validate whether these patterns are merely a byproduct of node degrees, the study compares real-world data against a Reciprocal Configuration Model. This null model preserves the exact number of directed and reciprocal edges for every node but connects them randomly, serving as a baseline for expected triadic closure.

Key Results: Reciprocity and Model Failure

Analysis across 11 large-scale networks (including web graphs like web-Google and social networks like soc-LiveJournal) revealed several consistent patterns.

Reciprocity as the Engine of Closure

The most striking finding is the role of reciprocal edges. As shown in the closure analysis, the presence of even one reciprocal edge in a wedge dramatically increases the probability of closure. While wedges without reciprocal edges (types i, ii, iii) show average closure rates of approximately 3%, wedges with two reciprocal edges (type vi) can reach closure rates near 40% or higher.

Directed closure rates across different wedge types, showing the dominance of reciprocal structures.

The "In-Wedge" Paradox

In many networks, "In" wedges (type iii, where two nodes point to a common third node) are the most frequent but the least likely to close. This explains why global clustering coefficients in directed graphs often appear deceptively low; the most common local structure is the one least likely to form a triangle.

Model Inadequacy

The Reciprocal Configuration Model consistently underestimates closure rates by orders of magnitude, particularly in web graphs. This suggests that triadic closure in real-world networks is driven by social, functional, or hierarchical forces that simple degree-based models cannot replicate. Observed closure rates are often thousands of standard deviations away from the null model's predictions.

Conclusion

This framework of 15 directed closure values provides a powerful "structural fingerprint" for directed networks. It reveals that web graphs and social networks have distinct, consistent patterns of link formation. The high propensity for reciprocal edges to form triangles suggests that reciprocity is a primary driver of network clustering. Future work is needed to develop generative models that can accurately replicate these complex triadic patterns and to explore the temporal dynamics of how these structures evolve over time.

Summary updated

BibTeX
@article{seshadhri2017directed,
  author = {C. Seshadhri and Ali Pinar and Nurcan Durak and Tamara G. Kolda},
  title = {{Directed closure measures for networks with reciprocity}},
  journal = {J. Complex Networks},
  year = {2017},
  url = {https://openreview.net/forum?id=UmLxyG4lNf},
}
Figure