Skip to main content
QUICK REVIEW

[Paper Review] Faster way to agony: Discovering hierarchies in directed graphs

Nikolaj Tatti|arXiv (Cornell University)|Feb 4, 2019
Complex Network Analysis TechniquesPhysics and Astronomy15 references14 citations
TL;DR

This paper presents a new $O(m^2)$ algorithm for computing agony in directed graphs, a measure of hierarchical violation in network structures. Using a primal-dual approach based on maximum Eulerian subgraphs, the method iteratively reduces the gap between current agony and the dual Eulerian subgraph, achieving faster performance than the prior $O(nm^2)$ bound and demonstrating strong practical scalability on large real-world networks.

ABSTRACT

Many real-world phenomena exhibit strong hierarchical structure. Consequently, in many real-world directed social networks vertices do not play equal role. Instead, vertices form a hierarchy such that the edges appear mainly from upper levels to lower levels. Discovering hierarchies from such graphs is a challenging problem that has gained attention. Formally, given a directed graph, we want to partition vertices into levels such that ideally there are only edges from upper levels to lower levels. From computational point of view, the ideal case is when the underlying directed graph is acyclic. In such case, we can partition the vertices into a hierarchy such that there are only edges from upper levels to lower edges. In practice, graphs are rarely acyclic, hence we need to penalize the edges that violate the hierarchy. One practical approach is agony, where each violating edge is penalized based on the severity of the violation. The fastest algorithm for computing agony requires $O(nm^2)$ time. In the paper we present an algorithm for computing agony that has better theoretical bound, namely $O(m^2)$. We also show that in practice the obtained bound is pessimistic and that we can use our algorithm to compute agony for large datasets. Moreover, our algorithm can be used as any-time algorithm.

Motivation & Objective

  • To develop a faster algorithm for computing agony, a measure of hierarchical structure violation in directed graphs.
  • To improve upon the existing $O(nm^2)$ time complexity for agony computation.
  • To demonstrate practical scalability of the new algorithm on large real-world datasets.
  • To enable the algorithm as an any-time method for approximate hierarchy discovery.

Proposed method

  • The algorithm uses a primal-dual framework, where the primal problem minimizes agony and the dual problem maximizes the size of an Eulerian subgraph.
  • At each iteration, the algorithm either modifies the rank function (primal) or the Eulerian subgraph (dual) to reduce the duality gap.
  • Each iteration runs in $O(m)$ time, and at most $m$ iterations are needed, leading to an overall $O(m^2)$ time complexity.
  • The method exploits the duality between agony and the maximum Eulerian subgraph, where the size of the Eulerian subgraph provides a lower bound on the agony.
  • The algorithm maintains a current rank function and a current Eulerian subgraph, updating them based on slack in the dual constraints.
  • The approach is designed to be used as an any-time algorithm, with approximation quality bounded at any iteration by the size of the current Eulerian subgraph.

Experimental results

Research questions

  • RQ1Can the computational complexity of agony computation be reduced below $O(nm^2)$?
  • RQ2Can a primal-dual approach based on Eulerian subgraphs be effectively used to minimize agony in directed graphs?
  • RQ3Does the theoretical $O(m^2)$ bound reflect practical performance on large-scale networks?
  • RQ4Can the algorithm be used as an any-time method with bounded approximation quality at each step?

Key findings

  • The proposed algorithm achieves $O(m^2)$ time complexity, significantly improving upon the previous $O(nm^2)$ bound.
  • The theoretical bound is pessimistic in practice, with the algorithm solving agony for graphs with over 5 million edges (e.g., WebGoogle) in under 3 hours.
  • For smaller graphs like Gnutella and WikiVote, the algorithm runs in seconds to minutes, outperforming the baseline by orders of magnitude.
  • The algorithm achieves an approximation ratio of 2 within the first 8% of iterations on the largest dataset (WebGoogle), indicating strong early convergence.
  • The current Eulerian subgraph size at any iteration provides a valid lower bound on the optimal agony, enabling anytime approximation with guaranteed bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.