Cargando…
Making graphs compact by lossless contraction
This paper proposes a scheme to reduce big graphs to small graphs. It contracts obsolete parts and regular structures into supernodes. The supernodes carry a synopsis [Formula: see text] for each query class [Formula: see text] in use, to abstract key features of the contracted parts for answering q...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer Berlin Heidelberg
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9845199/ https://www.ncbi.nlm.nih.gov/pubmed/36686981 http://dx.doi.org/10.1007/s00778-022-00731-7 |
_version_ | 1784870836288618496 |
---|---|
author | Fan, Wenfei Li, Yuanhao Liu, Muyang Lu, Can |
author_facet | Fan, Wenfei Li, Yuanhao Liu, Muyang Lu, Can |
author_sort | Fan, Wenfei |
collection | PubMed |
description | This paper proposes a scheme to reduce big graphs to small graphs. It contracts obsolete parts and regular structures into supernodes. The supernodes carry a synopsis [Formula: see text] for each query class [Formula: see text] in use, to abstract key features of the contracted parts for answering queries of [Formula: see text] . Moreover, for various types of graphs, we identify regular structures to contract. The contraction scheme provides a compact graph representation and prioritizes up-to-date data. Better still, it is generic and lossless. We show that the same contracted graph is able to support multiple query classes at the same time, no matter whether their queries are label based or not, local or non-local. Moreover, existing algorithms for these queries can be readily adapted to compute exact answers by using the synopses when possible and decontracting the supernodes only when necessary. As a proof of concept, we show how to adapt existing algorithms for subgraph isomorphism, triangle counting, shortest distance, connected component and clique decision to contracted graphs. We also provide a bounded incremental contraction algorithm in response to updates, such that its cost is determined by the size of areas affected by the updates alone, not by the entire graphs. We experimentally verify that on average, the contraction scheme reduces graphs by 71.9% and improves the evaluation of these queries by 1.69, 1.44, 1.47, 2.24 and 1.37 times, respectively. |
format | Online Article Text |
id | pubmed-9845199 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer Berlin Heidelberg |
record_format | MEDLINE/PubMed |
spelling | pubmed-98451992023-01-19 Making graphs compact by lossless contraction Fan, Wenfei Li, Yuanhao Liu, Muyang Lu, Can VLDB J Regular Paper This paper proposes a scheme to reduce big graphs to small graphs. It contracts obsolete parts and regular structures into supernodes. The supernodes carry a synopsis [Formula: see text] for each query class [Formula: see text] in use, to abstract key features of the contracted parts for answering queries of [Formula: see text] . Moreover, for various types of graphs, we identify regular structures to contract. The contraction scheme provides a compact graph representation and prioritizes up-to-date data. Better still, it is generic and lossless. We show that the same contracted graph is able to support multiple query classes at the same time, no matter whether their queries are label based or not, local or non-local. Moreover, existing algorithms for these queries can be readily adapted to compute exact answers by using the synopses when possible and decontracting the supernodes only when necessary. As a proof of concept, we show how to adapt existing algorithms for subgraph isomorphism, triangle counting, shortest distance, connected component and clique decision to contracted graphs. We also provide a bounded incremental contraction algorithm in response to updates, such that its cost is determined by the size of areas affected by the updates alone, not by the entire graphs. We experimentally verify that on average, the contraction scheme reduces graphs by 71.9% and improves the evaluation of these queries by 1.69, 1.44, 1.47, 2.24 and 1.37 times, respectively. Springer Berlin Heidelberg 2022-02-19 2023 /pmc/articles/PMC9845199/ /pubmed/36686981 http://dx.doi.org/10.1007/s00778-022-00731-7 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Regular Paper Fan, Wenfei Li, Yuanhao Liu, Muyang Lu, Can Making graphs compact by lossless contraction |
title | Making graphs compact by lossless contraction |
title_full | Making graphs compact by lossless contraction |
title_fullStr | Making graphs compact by lossless contraction |
title_full_unstemmed | Making graphs compact by lossless contraction |
title_short | Making graphs compact by lossless contraction |
title_sort | making graphs compact by lossless contraction |
topic | Regular Paper |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9845199/ https://www.ncbi.nlm.nih.gov/pubmed/36686981 http://dx.doi.org/10.1007/s00778-022-00731-7 |
work_keys_str_mv | AT fanwenfei makinggraphscompactbylosslesscontraction AT liyuanhao makinggraphscompactbylosslesscontraction AT liumuyang makinggraphscompactbylosslesscontraction AT lucan makinggraphscompactbylosslesscontraction |