# Tiers for peers: a practical algorithm for discovering hierarchy in   weighted networks

**Authors:** Nikolaj Tatti

arXiv: 1903.02999 · 2019-04-24

## TL;DR

This paper introduces an efficient algorithm for discovering hierarchical structures in weighted directed networks by extending the agony framework, enabling handling of weights and constraints, and providing practical solutions for large datasets.

## Contribution

The authors extend the agony method to weighted graphs with level constraints, connect it to the capacitated circulation problem, and develop fast exact and heuristic algorithms.

## Key findings

- Exact solutions are computable efficiently for large weighted graphs.
- The proposed heuristic produces competitive hierarchy rankings.
- Minimizing hierarchy with convex penalties is polynomial-time solvable, unlike concave penalties which are NP-hard.

## Abstract

Interactions in many real-world phenomena can be explained by a strong hierarchical structure. Typically, this structure or ranking is not known; instead we only have observed outcomes of the interactions, and the goal is to infer the hierarchy from these observations. Discovering a hierarchy in the context of directed networks can be formulated as follows: given a graph, partition vertices into levels such that, ideally, there are only edges from upper levels to lower levels. The ideal case can only happen if the graph is acyclic. Consequently, in practice we have to introduce a penalty function that penalizes edges violating the hierarchy. A practical variant for such penalty is agony, where each violating edge is penalized based on the severity of the violation. Hierarchy minimizing agony can be discovered in $O(m^2)$ time, and much faster in practice. In this paper we introduce several extensions to agony. We extend the definition for weighted graphs and allow a cardinality constraint that limits the number of levels. While, these are conceptually trivial extensions, current algorithms cannot handle them, nor they can be easily extended. We solve the problem by showing the connection to the capacitated circulation problem, and we demonstrate that we can compute the exact solution fast in practice for large datasets. We also introduce a provably fast heuristic algorithm that produces rankings with competitive scores. In addition, we show that we can compute agony in polynomial time for any convex penalty, and, to complete the picture, we show that minimizing hierarchy with any concave penalty is an NP-hard problem.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.02999/full.md

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/1903.02999/full.md

## References

20 references — full list in the complete paper: https://tomesphere.com/paper/1903.02999/full.md

---
Source: https://tomesphere.com/paper/1903.02999