Restless reachability problems in temporal graphs.

IF 2.5 4区 计算机科学 Q3 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Knowledge and Information Systems Pub Date : 2025-01-01 Epub Date: 2025-04-01 DOI:10.1007/s10115-025-02405-6
Suhas Thejaswi, Juho Lauri, Aristides Gionis
{"title":"Restless reachability problems in temporal graphs.","authors":"Suhas Thejaswi, Juho Lauri, Aristides Gionis","doi":"10.1007/s10115-025-02405-6","DOIUrl":null,"url":null,"abstract":"<p><p>We study a family of reachability problems under waiting-time restrictions in temporal and vertex-colored temporal graphs. Given a temporal graph and a set of source vertices, we find the set of vertices that are reachable from a source via a time-respecting path, where the difference in timestamps between consecutive edges is at most a resting time. Given a vertex-colored temporal graph and a multiset query of colors, we find the set of vertices reachable from a source via a time-respecting path such that the vertex colors of the path agree with the multiset query and the difference in timestamps between consecutive edges is at most a resting time. These kinds of problems have applications in understanding the spread of a disease in a network, tracing contacts in epidemic outbreaks, finding signaling pathways in the brain network, and recommending tours for tourists, among others. We present an algebraic algorithmic framework based on constrained multilinear sieving for solving the restless reachability problems we propose. In particular, parameterized by the length <i>k</i> of a path sought, we show that the proposed problems can be solved in <math><mrow><mi>O</mi> <mo>(</mo> <msup><mn>2</mn> <mi>k</mi></msup> <mi>k</mi> <mi>m</mi> <mi>Δ</mi> <mo>)</mo></mrow> </math> time and <math><mrow><mi>O</mi> <mo>(</mo> <mi>n</mi> <mi>Δ</mi> <mo>)</mo></mrow> </math> space, where <i>n</i> is the number of vertices, <i>m</i> the number of edges, and <math><mi>Δ</mi></math> the maximum resting time of an input temporal graph. The approach can be extended to extract paths and connected subgraphs in both static and temporal graphs, thus improving the work of Björklund et al. (in Proceedings of the European symposium on algorithms, 2014) and Thejaswi et al. (Big Data 8:335-362, 2020). In addition, we prove that our algorithms for the restless reachability problems in vertex-colored temporal graphs are optimal under plausible complexity-theoretic assumptions. Finally, with an open-source implementation, we demonstrate that our algorithm scales to large graphs with up to one billion temporal edges, despite the problems being NP-hard. Specifically, we present extensive experiments to evaluate our scalability claims both on synthetic and on real-world graphs. Our implementation is efficiently engineered and highly optimized. For instance, we can solve the restless reachability problem by restricting the path length to 9 in a real-world graph dataset with over 36 million directed edges in less than one hour on a commodity desktop with a 4-core Haswell CPU.</p>","PeriodicalId":54749,"journal":{"name":"Knowledge and Information Systems","volume":"67 7","pages":"5651-5697"},"PeriodicalIF":2.5000,"publicationDate":"2025-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12170735/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge and Information Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s10115-025-02405-6","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/4/1 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

We study a family of reachability problems under waiting-time restrictions in temporal and vertex-colored temporal graphs. Given a temporal graph and a set of source vertices, we find the set of vertices that are reachable from a source via a time-respecting path, where the difference in timestamps between consecutive edges is at most a resting time. Given a vertex-colored temporal graph and a multiset query of colors, we find the set of vertices reachable from a source via a time-respecting path such that the vertex colors of the path agree with the multiset query and the difference in timestamps between consecutive edges is at most a resting time. These kinds of problems have applications in understanding the spread of a disease in a network, tracing contacts in epidemic outbreaks, finding signaling pathways in the brain network, and recommending tours for tourists, among others. We present an algebraic algorithmic framework based on constrained multilinear sieving for solving the restless reachability problems we propose. In particular, parameterized by the length k of a path sought, we show that the proposed problems can be solved in O ( 2 k k m Δ ) time and O ( n Δ ) space, where n is the number of vertices, m the number of edges, and Δ the maximum resting time of an input temporal graph. The approach can be extended to extract paths and connected subgraphs in both static and temporal graphs, thus improving the work of Björklund et al. (in Proceedings of the European symposium on algorithms, 2014) and Thejaswi et al. (Big Data 8:335-362, 2020). In addition, we prove that our algorithms for the restless reachability problems in vertex-colored temporal graphs are optimal under plausible complexity-theoretic assumptions. Finally, with an open-source implementation, we demonstrate that our algorithm scales to large graphs with up to one billion temporal edges, despite the problems being NP-hard. Specifically, we present extensive experiments to evaluate our scalability claims both on synthetic and on real-world graphs. Our implementation is efficiently engineered and highly optimized. For instance, we can solve the restless reachability problem by restricting the path length to 9 in a real-world graph dataset with over 36 million directed edges in less than one hour on a commodity desktop with a 4-core Haswell CPU.

时间图中的不宁可达性问题。
研究了一类时间图和顶点色时间图在等待时间限制下的可达性问题。给定一个时间图和一组源顶点,我们找到一组顶点,这些顶点可以从一个源通过一个时间相关的路径到达,其中连续边之间的时间戳差异最多是一个休息时间。给定一个顶点着色的时间图和一个颜色的多集查询,我们找到从一个源通过一个时间路径可到达的顶点集,使得路径的顶点颜色与多集查询一致,并且连续边之间的时间戳差异最多是一个休息时间。这类问题在了解疾病在网络中的传播、追踪流行病爆发中的接触者、发现大脑网络中的信号通路、为游客推荐旅游等方面都有应用。我们提出了一个基于约束多线性筛分的代数算法框架来解决我们提出的不稳定可达性问题。特别是,通过路径长度k的参数化,我们证明了所提出的问题可以在O (2k k m Δ)时间和O (n Δ)空间内解决,其中n是顶点的数量,m是边的数量,Δ是输入时间图的最大休息时间。该方法可以扩展到提取静态图和时间图中的路径和连接子图,从而改进Björklund等人(2014年欧洲算法研讨会论文集)和Thejaswi等人(大数据8:35 -362,2020)的工作。此外,我们还证明了在似是而非的复杂性理论假设下,顶点着色时间图的不动可达性问题的算法是最优的。最后,通过一个开源实现,我们证明了我们的算法可以扩展到具有多达10亿个时间边的大型图,尽管问题是np困难的。具体来说,我们提供了大量的实验来评估我们在合成图和现实世界图上的可扩展性声明。我们的实现是高效设计和高度优化的。例如,我们可以通过在具有4核Haswell CPU的商用台式机上,在不到一个小时的时间内,将具有超过3600万条有向边的真实图形数据集的路径长度限制为9来解决不稳定的可达性问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Knowledge and Information Systems
Knowledge and Information Systems 工程技术-计算机:人工智能
CiteScore
5.70
自引率
7.40%
发文量
152
审稿时长
7.2 months
期刊介绍: Knowledge and Information Systems (KAIS) provides an international forum for researchers and professionals to share their knowledge and report new advances on all topics related to knowledge systems and advanced information systems. This monthly peer-reviewed archival journal publishes state-of-the-art research reports on emerging topics in KAIS, reviews of important techniques in related areas, and application papers of interest to a general readership.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信