Computer Science > Databases
[Submitted on 5 Dec 2011 (this version), latest version 18 Aug 2012 (v2)]
Title:Finding Heavy Paths in Graphs: A Rank Join Approach
View PDFAbstract:In applications such as playlist recommendation, flow analysis in information networks, and itinerary planning, we face the problem of finding the heaviest path(s) in a graph under a given length constraint. More precisely, in these applications, we are given a graph with non-negative edge weights, and a monotone function such as sum, which aggregates edge weights into a single value that defines a path weight. We are required to find the top-$k$ heaviest simple paths, i.e., the $k$ simple (i.e., cycle-free) paths with the greatest weight, whose length equals a given parameter $\ell$. We call this the Heavy Path Problem (HPP). The problem is known to be NP-Hard, and in general not approximable.
In this work, we develop a practical approach to solve the Heavy Path problem by establishing a strong connection with the well-known Rank Join paradigm. We present an adaptation of the Rank Join algorithm and tailor it to self-joins over the list of edges. We present novel thresholding strategies and develop exact and heuristic algorithms for HPP. We conduct a comprehensive set of experiments on three real data sets and show our algorithms can efficiently find the top-$k$ heaviest paths on these data sets and significantly outperform baseline algorithms. We show our exact algorithm scales well with respect to both $\ell$ and $k$. In addition, our heuristic approach finds paths that are empirically within 50% of the optimum solution or better under various settings, while taking a fraction of the running time compared to the exact algorithm.
Submission history
From: Smriti Bhagat [view email][v1] Mon, 5 Dec 2011 23:12:31 UTC (1,905 KB)
[v2] Sat, 18 Aug 2012 00:33:45 UTC (3,055 KB)
References & Citations
export BibTeX citation
Loading...
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.