Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Acceleration of PageRank with Customized Precision Based on Mantissa Segmentation

Published: 09 March 2020 Publication History

Abstract

We describe the application of a communication-reduction technique for the PageRank algorithm that dynamically adapts the precision of the data access to the numerical requirements of the algorithm as the iteration converges. Our variable-precision strategy, using a customized precision format based on mantissa segmentation (CPMS), abandons the IEEE 754 single- and double-precision number representation formats employed in the standard implementation of PageRank, and instead handles the data in memory using a customized floating-point format. The customized format enables fast data access in different accuracy, prevents overflow/underflow by preserving the IEEE 754 double-precision exponent, and efficiently avoids data duplication, since all bits of the original IEEE 754 double-precision mantissa are preserved in memory, but re-organized for efficient reduced precision access. With this approach, the truncated values (omitting significand bits), as well as the original IEEE double-precision values, can be retrieved without duplicating the data in different formats.
Our numerical experiments on an NVIDIA V100 GPU (Volta architecture) and a server equipped with two Intel Xeon Platinum 8168 CPUs (48 cores in total) expose that, compared with a standard IEEE double-precision implementation, the CPMS-based PageRank completes about 10% faster if high-accuracy output is needed, and about 30% faster if reduced output accuracy is acceptable.

References

[1]
Hartwig Anzt, Jack Dongarra, Goran Flegar, Nicholas J. Higham, and Enrique S. Quintana-Ortí. 2018. Adaptive precision in block-Jacobi preconditioning for iterative sparse linear system solvers. Concurr. Comput. Pract. Exper. 31, 6 (2018).
[2]
Hartwig Anzt, Jack Dongarra, and Enrique S. Quintana-Ortí. 2015. Adaptive precision solvers for sparse linear systems. In Proceedings of the 3rd International Workshop on Energy Efficient Supercomputing (E2SC’15). ACM, New York, NY, Article 2, 10 pages.
[3]
Hartwig Anzt, Goran Flegar, Thomas Grützmacher, and Enrique S. Quintana-Ortí. 2019. Toward a modular precision ecosystem for high-performance computing. Int. J. High Perf. Comput. Applic. (May 2019), 1069--1078.
[4]
Hartwig Anzt, Mark Gates, Jack Dongarra, Moritz Kreutzer, Gerhard Wellein, and Martin Köhler. 2017. Preconditioned Krylov solvers on GPUs. Parallel Comput. 68 (Oct. 2017), 32--44.
[5]
Nathan Bell and Michael Garland. 2009. Implementing sparse matrix-vector multiplication on throughput-oriented processors. In Proceedings of the Conference on High Performance Computing Networking, Storage and Analysis (SC’09). ACM, New York, NY, Article 18, 11 pages.
[6]
Sergey Brin and Lawrence Page. 1998. The anatomy of a large-scale hypertextual web search engine. In Proceedings of the 7th International World-Wide Web Conference (WWW’98). Retrieved from http://ilpubs.stanford.edu:8090/361/.
[7]
Erin Carson and Nicholas J. Higham. 2017. A new analysis of iterative refinement and its application to accurate solution of ill-conditioned sparse linear systems. SIAM J. Sci. Comput. 39, 6 (2017), A2834--A2856.
[8]
Erin Carson and Nicholas J. Higham. 2018. Accelerating the solution of linear systems by iterative refinement in three precisions. SIAM J. Sci. Comput. 40, 2 (2018), A817--A847.
[9]
Goran Flegar and Enrique S. Quintana-Ortí. 2017. Balanced CSR sparse matrix-vector product on graphics processors. In Euro-Par 2017: Parallel Processing, Francisco F. Rivera, Tomas F. Pena, and José C. Cabaleiro (Eds.). Springer International Publishing, Cham, 697--709.
[10]
Gene H. Golub and Charles F. Van Loan. 1996. Matrix Computations (3rd ed.). The Johns Hopkins University Press, Baltimore.
[11]
Max Grossman, Christopher Thiele, Mauricio Araya-Polo, Florian Frank, Faruk O. Alpak, and Vivek Sarkar. 2016. A survey of sparse matrix-vector multiplication performance on large matrices. CoRR abs/1608.00636 (2016). arxiv:1608.00636 http://arxiv.org/abs/1608.00636.
[12]
Thomas Grützmacher and Hartwig Anzt. 2019. A modular precision format for decoupling arithmetic format and storage format. In Euro-Par 2018: Parallel Processing Workshops. Springer International Publishing, 434--443.
[13]
Thomas Grützmacher, Terry Cojean, Goran Flegar, Fritz Göbel, and Hartwig Anzt. 2019. A customized precision format based on mantissa segmentation for accelerating sparse linear algebra. Concurr. Comput. Pract. Exper. (July 2019), 12.
[14]
Thomas Grüztmacher, Hartwig Anzt, Florian Scheidegger, and Enrique S. Quintana-Ortí. 2018. High-performance GPU implementation of PageRank with reduced precision based on mantissa segmentation. In Proceedings of the 8th Workshop on Irregular Applications: Architectures and Algorithms (IA3’18). 61--68.
[15]
Nicholas J. Higham. 2002. Accuracy and Stability of Numerical Algorithms (2nd ed.). SIAM.
[16]
Zhe Jia, Marco Maggioni, Benjamin Staiger, and Daniele P. Scarpazza. 2018. Dissecting the NVIDIA Volta GPU Architecture via Microbenchmarking. Technical Report. arxiv:1804.06826 http://arxiv.org/abs/1804.06826.
[17]
Moritz Kreutzer, Georg Hager, Gerhard Wellein, Holger Fehske, and Alan R. Bishop. 2014. A unified sparse matrix data format for efficient general sparse matrix-vector multiplication on modern processors with wide SIMD Units. SIAM J. Sci. Comput. 36, 5 (2014), C401--C423.
[18]
Amy N. Langville and Carl D. Meyer. 2012. Google’s PageRank and Beyond: The Science of Search Engine Rankings. Princeton University Press, Princeton, NJ.
[19]
NVIDIA Corp. 2017. Whitepaper: NVIDIA Tesla V100 GPU Architecture. Retrieved from https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf.
[20]
Lawrence Page, Sergey Brin, Rajeev Motwani, and Terry Winograd. 1999. The PageRank Citation Ranking: Bringing Order to the Web. Technical Report 1999-66. Stanford InfoLab. Retrieved from http://ilpubs.stanford.edu:8090/422/.
[21]
SuiteSparse. 2018. SuiteSparse Matrix Collection. Retrieved from https://sparse.tamu.edu.

Cited By

View all
  • (2023)Sparse Matrix-Vector Multiplication with Reduced-Precision Memory Accessor2023 IEEE 16th International Symposium on Embedded Multicore/Many-core Systems-on-Chip (MCSoC)10.1109/MCSoC60832.2023.00094(608-615)Online publication date: 18-Dec-2023
  • (2022)Software-defined floating-point number formats and their application to graph processingProceedings of the 36th ACM International Conference on Supercomputing10.1145/3524059.3532360(1-17)Online publication date: 28-Jun-2022
  • (2022)SecureEngine: Spammer classification in cyber defence for leveraging green computing in Sustainable citySustainable Cities and Society10.1016/j.scs.2021.10365879(103658)Online publication date: Apr-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Parallel Computing
ACM Transactions on Parallel Computing  Volume 7, Issue 1
Special Issue on Innovations in Systems for Irregular Applications, Part 1 and Regular Paper
March 2020
182 pages
ISSN:2329-4949
EISSN:2329-4957
DOI:10.1145/3387354
Issue’s Table of Contents
© 2020 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 March 2020
Accepted: 01 November 2019
Revised: 01 July 2019
Received: 01 November 2018
Published in TOPC Volume 7, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. GPUs
  2. PageRank
  3. adaptive-precision
  4. high-performance
  5. large-scale irregular graphs
  6. multi-core processors

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

  • “Impuls und Vernetzungsfond” of the Helmholtz Association

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)14
  • Downloads (Last 6 weeks)1
Reflects downloads up to 05 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Sparse Matrix-Vector Multiplication with Reduced-Precision Memory Accessor2023 IEEE 16th International Symposium on Embedded Multicore/Many-core Systems-on-Chip (MCSoC)10.1109/MCSoC60832.2023.00094(608-615)Online publication date: 18-Dec-2023
  • (2022)Software-defined floating-point number formats and their application to graph processingProceedings of the 36th ACM International Conference on Supercomputing10.1145/3524059.3532360(1-17)Online publication date: 28-Jun-2022
  • (2022)SecureEngine: Spammer classification in cyber defence for leveraging green computing in Sustainable citySustainable Cities and Society10.1016/j.scs.2021.10365879(103658)Online publication date: Apr-2022
  • (2022)uLog: a software-based approximate logarithmic number system for computations on SIMD processorsThe Journal of Supercomputing10.1007/s11227-022-04713-y79:2(1750-1783)Online publication date: 2-Aug-2022
  • (2021)Using Ginkgo's memory accessor for improving the accuracy of memory‐bound low precision BLASSoftware: Practice and Experience10.1002/spe.304153:1(81-98)Online publication date: 17-Oct-2021
  • (2020)GPU-FPtuner: Mixed-precision Auto-tuning for Floating-point Applications on GPU2020 IEEE 27th International Conference on High Performance Computing, Data, and Analytics (HiPC)10.1109/HiPC50609.2020.00043(294-304)Online publication date: Dec-2020
  • (2020)Half-Precision Floating-Point Formats for PageRank: Opportunities and Challenges2020 IEEE High Performance Extreme Computing Conference (HPEC)10.1109/HPEC43674.2020.9286179(1-7)Online publication date: 22-Sep-2020
  • (2012)Low-Precision Floating-Point Formats: From General-Purpose to Application-SpecificApproximate Computing10.1007/978-3-030-98347-5_4(77-98)Online publication date: 24-Feb-2012

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media