skip to main content
10.1145/3078447.3078460acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Finding Top K Shortest Simple Paths with Improved Space Efficiency

Published: 19 May 2017 Publication History

Abstract

Finding top-K shortest paths is fundamental and crucial to many graph applications, but known to be nontrivial over large graph data and large value of K. This problem becomes much more challenging when the shortest paths require to be simple (paths without loops). When searching for top-K shortest simple paths, MPS algorithm is a practically fast and efficient scheme based on the famous Yen's algorithm. In this paper, we propose an improved MPS algorithm which can significantly reduce the memory consumption and increase the execution speed compared to the original MPS algorithm. First, we design a pruning scheme during the construction of pseudo-tree, such that only the shortest path in each iteration would be added to the pseudo-tree, instead of adding all possible candidate paths as that in the original MPS algorithm. Second, we modify the pseudo-tree of shortest-path candidates with reversed order and internal ID, such that the shortest paths can be retrieved directly from the constructed pseudo-tree without explicitly storing all candidate paths. Furthermore, we evaluate the performance in terms of running time and memory consumption in both synthetic and real graphs with millions of vertices and edges. Compared to the original MPS algorithm, experimental results show that our improved MPS algorithm can bring up to 6x performance gain in both running time and memory consumption.

References

[1]
2006. Ninth DIMACS Implementation Challenge-Shortest Paths. (2006). http://www.dis.uniromal.it/challenge9/
[2]
Ren Chen and Viktor K Prasanna. 2016. Accelerating Equi-Join on a CPU-FPGA Heterogeneous Platform. In IEEE 24th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM). IEEE, 212--219.
[3]
Ernesto De Queirós Vieira Martins, Marta Margarida Braz Pascoal, and José Luis Esteves Dos Santos. 1997. A new algorithm for ranking loopless paths. Research Report, CISUC (1997).
[4]
Ernesto De Queirós Vieira Martins, Marta Margarida Braz Pascoal, and José Luis Esteves Dos Santos. 1999. Deviation algorithms for ranking shortest paths. International Journal of Foundations of Computer Science 10, 03 (1999), 247--261.
[5]
Edsger W Dijkstra. 1959. A note on two problems in connexion with graphs. Numerische mathematik 1, 1 (1959), 269--271.
[6]
David Eppstein. 1999. Finding the K Shortest Paths. SIAM J. Comput. 28, 2 (Feb. 1999).
[7]
Gang Feng. 2014. Improving Space Efficiency With Path Length Prediction for Finding k Shortest Simple Paths. IEEE Trans. Comput. 63, 10 (2014), 2459--2472.
[8]
BL Fox. 1975. K-th shortest paths and applications to probabilistic networks. In Operations Research, Vol. 23. B263--B263.
[9]
John Hershberger, Matthew Maxel, and Subhash Suri. 2007. Finding the k shortest simple paths: A new algorithm and its implementation. ACM Transactions on Algorithms (TALG) 3, 4 (2007), 45.
[10]
Walter Hoffman and Richard Pavley. 1959. A Method for the Solution of the N th Best Path Problem. Journal of the ACM (JACM) 6, 4 (1959), 506--514.
[11]
Naoki Katoh, Toshihide Ibaraki, and Hisashi Mine. 1982. An efficient algorithm for k shortest simple paths. Networks 12, 4 (1982), 411--427.
[12]
Lifeng Nai, Yinglong Xia, Ilie G Tanase, Hyesoon Kim, and Ching-Yung Lin. 2015. Graphbig: Understanding graph computing in the context of industrial solutions. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. ACM, 69.
[13]
Nicholas Nethercote and Julian Seward. 2007. Valgrind: A Framework for Heavyweight Dynamic Binary Instrumentation. In Proceedings of the 28th ACM SIG-PLAN Conference on Programming Language Design and Implementation (PLDI '07). 89--100.
[14]
Ajitesh Srivastava, Ren Chen, Viktor Prasanna, and Chelmis. 2015. A hybrid design for high performance large-scale sorting on FPGA. In 2015 International Conference on ReConFigurable Computing and FPGAs (ReConFig). 1--6.
[15]
Ilie Tanase, Yinglong Xia, Lifeng Nai, Yanbin Liu, Wei Tan, Jason Crawford, and Ching-Yung Lin. 2014. A highly efficient runtime and graph library for large scale graph analytics. In Proceedings of Workshop on GRAph Data management Experiences and Systems. ACM, 1--6.
[16]
Qingsong Wen, Qi Zhou, Chunming Zhao, and Xiaoli Ma. 2013. Fixed-point realization of lattice-reduction aided MIMO receivers with complex K-best algorithm. In Proc. IEEE Int. Conf. Acoust., Speech and Signal Process. (ICASSP). Vancouver, Canada, 5031--5035.
[17]
Jin Y Yen. 1971. Finding the k shortest loopless paths in a network. management Science 17, 11 (1971), 712--716.

Cited By

View all
  1. Finding Top K Shortest Simple Paths with Improved Space Efficiency

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    GRADES'17: Proceedings of the Fifth International Workshop on Graph Data-management Experiences & Systems
    May 2017
    87 pages
    ISBN:9781450350389
    DOI:10.1145/3078447
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 19 May 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    SIGMOD/PODS'17
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 29 of 61 submissions, 48%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 06 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media