Skip to main content

Comparing Temporal Graphs Using Dynamic Time Warping

  • Conference paper
  • First Online:
Complex Networks and Their Applications VIII (COMPLEX NETWORKS 2019)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 882))

Included in the following conference series:

Abstract

The links between vertices within many real-world networks change over time. Correspondingly, there has been a recent boom in studying temporal graphs. Proximity-based pattern recognition in temporal graphs requires a (dis)similarity measure to compare different temporal graphs. To this end, we propose to employ dynamic time warping on temporal graphs. We define the dynamic temporal graph warping distance (dtgw) to determine the (dis)similarity of two temporal graphs. Our novel measure is flexible and can be applied in various application domains. We show that computing the dtgw-distance is a challenging (in general NP-hard) optimization problem and we identify some polynomial-time solvable special cases. Moreover, we develop an efficient heuristic which performs well in empirical studies. In experiments on real-word data we show that our dtgw-distance performs favorably in de-anonymizing networks compared to other approaches.

Full version available on arXiv (http://arxiv.org/abs/1810.06240).

B. Jain—Supported by the DFG project JA 2109/4-1.

M. Renken—Supported by the DFG project NI 369/17-1.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The Exponential Time Hypothesis, an established concept in computational complexity theory, asserts that there is a constant \(c > 0\) such that 3-SAT cannot be solved in \(O(2^{cn})\) time, where n is the number of variables in the input formula [10].

  2. 2.

    In the full arXiv version we discuss several alternative initializations, all of which performed comparably well in experiments. Notably, initializing with a shortest warping path is the fastest initialization.

  3. 3.

    We also tested other signatures such as size of the connected component or betweenness centrality. However, the performance was (slightly) worse.

  4. 4.

    Source code available at www.akt.tu-berlin.de/menue/software.

  5. 5.

    Available as a Python module at www.https://github.com/src-d/lapjv.

References

  1. Abanda, A., Mori, U., Lozano, J.A.: A review on distance based time series classification. Data Min. Knowl. Disc. 33(2), 378–412 (2019)

    Article  MathSciNet  Google Scholar 

  2. Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network Flows: Theory, Algorithms, and Applications. Prentice-Hall, Upper Saddle River (1993)

    MATH  Google Scholar 

  3. Bagavathi, A., Krishnan, S.: Multi-Net: a scalable multiplex network embedding framework. In: Complex Networks and Their Applications VII. SCI, vol. 813, pp. 119–131. Springer (2019)

    Google Scholar 

  4. Braha, D., Bar-Yam, Y.: From centrality to temporary fame: dynamic centrality in complex networks. Complexity 12(2), 59–63 (2006)

    Article  Google Scholar 

  5. Elhesha, R., Sarkar, A., Boucher, C., Kahveci, T.: Identification of co-evolving temporal networks. In: Proceedings of BCB 2018, pp. 591–592. ACM (2018)

    Google Scholar 

  6. Fröhlich, H., Wegner, J.K., Sieker, F., Zell, A.: Optimal assignment kernels for attributed molecular graphs. In: Proceedings of ICML 2005, pp. 225–232. ACM (2005)

    Google Scholar 

  7. Génois, M., Barrat, A.: Can co-location be used as a proxy for face-to-face contacts? EPJ Data Sci. 7(1), 11 (2018)

    Article  Google Scholar 

  8. Ghosh, S., Das, N., Gonçalves, T., Quaresma, P., Kundu, M.: The journey of graph kernels through two decades. Comput. Sci. Rev. 27, 88–111 (2018)

    Article  MathSciNet  Google Scholar 

  9. Holme, P., Saramäki, J.: Temporal networks. Phys. Rep. 519(3), 97–125 (2012)

    Article  Google Scholar 

  10. Impagliazzo, R., Paturi, R.: On the complexity of \(k\)-SAT. J. Comput. Syst. Sci. 62(2), 367–375 (2001)

    Article  MathSciNet  Google Scholar 

  11. Jain, B.J.: On the geometry of graph spaces. Discrete Appl. Math. 214, 126–144 (2016)

    Article  MathSciNet  Google Scholar 

  12. Jouili, S., Tabbone, S.: Graph matching based on node signatures. In: Proceedings of GbRPR 2009. LNCS, vol. 5534, pp. 154–163. Springer (2009)

    Google Scholar 

  13. Kostakos, V.: Temporal graphs. Phys. A 388(6), 1007–1023 (2009)

    Article  MathSciNet  Google Scholar 

  14. Li, A., Cornelius, S.P., Liu, Y.Y., Wang, L., Barabási, A.L.: The fundamental advantages of temporal networks. Science 358(6366), 1042–1046 (2017)

    Article  Google Scholar 

  15. Riesen, K.: Structural pattern recognition with graph edit distance. Springer (2015)

    Google Scholar 

  16. Sakoe, H., Chiba, S.: Dynamic programming algorithm optimization for spoken word recognition. IEEE Trans. Acoust. Speech 26(1), 43–49 (1978)

    Article  Google Scholar 

  17. Vijayan, V., Critchlow, D., Milenković, T.: Alignment of dynamic networks. Bioinformatics 33(14), i180–i189 (2017)

    Article  Google Scholar 

  18. Zuo, Y., Liu, G., Lin, H., Guo, J., Hu, X., Wu, J.: Embedding temporal network via neighborhood formation. In: Proceedings of KDD 2018, pp. 2857–2866. ACM (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Malte Renken .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Froese, V., Jain, B., Niedermeier, R., Renken, M. (2020). Comparing Temporal Graphs Using Dynamic Time Warping. In: Cherifi, H., Gaito, S., Mendes, J., Moro, E., Rocha, L. (eds) Complex Networks and Their Applications VIII. COMPLEX NETWORKS 2019. Studies in Computational Intelligence, vol 882. Springer, Cham. https://doi.org/10.1007/978-3-030-36683-4_38

Download citation

Publish with us

Policies and ethics