On-the-Fly Exact Computation of Bisimilarity Distances

  • Giorgio Bacci
  • Giovanni Bacci
  • Kim G. Larsen
  • Radu Mardare
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7795)


This paper proposes an algorithm for exact computation of bisimilarity distances between discrete-time Markov chains introduced by Desharnais et. al. Our work is inspired by the theoretical results presented by Chen et. al. at FoSSaCS’12, proving that these distances can be computed in polynomial time using the ellipsoid method. Despite its theoretical importance, the ellipsoid method is known to be inefficient in practice. To overcome this problem, we propose an efficient on-the-fly algorithm which, unlike other existing solutions, computes exactly the distances between given states and avoids the exhaustive state space exploration. It is parametric in a given set of states for which we want to compute the distances. Our technique successively refines over-approximations of the target distances using a greedy strategy which ensures that the state space is further explored only when the current approximations are improved. Tests performed on a consistent set of (pseudo)randomly generated Markov chains shows that our algorithm improves, on average, the efficiency of the corresponding iterative algorithms with orders of magnitude.


Markov Chain Discount Factor Transportation Problem Exact Computation Greedy Strategy 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Baier, C., Katoen, J.P.: Principles of Model Checking. MIT Press (2008)Google Scholar
  2. 2.
    Cai, X., Gu, Y.: Measuring Anonymity. In: Bao, F., Li, H., Wang, G. (eds.) ISPEC 2009. LNCS, vol. 5451, pp. 183–194. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  3. 3.
    Chatterjee, K., de Alfaro, L., Majumdar, R., Raman, V.: Algorithms for Game Metrics. Logical Methods in Computer Science 6(3) (2010)Google Scholar
  4. 4.
    Chen, D., van Breugel, F., Worrell, J.: On the Complexity of Computing Probabilistic Bisimilarity. In: Birkedal, L. (ed.) FOSSACS 2012. LNCS, vol. 7213, pp. 437–451. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  5. 5.
    Comanici, G., Panangaden, P., Precup, D.: On-the-Fly Algorithms for Bisimulation Metrics. In: Proceedings of the 9th International Conference on Quantitative Analysis of Systems, QEST, September 17-20, pp. 94–103 (2012)Google Scholar
  6. 6.
    Comanici, G., Precup, D.: Basis function discovery using spectral clustering and bisimulation metrics. In: AAMAS 2011, vol. 3, pp. 1079–1080. International Foundation for Autonomous Agents and Multiagent Systems, Richland (2011)Google Scholar
  7. 7.
    Dantzig, G.B.: Application of the Simplex method to a transportation problem. In: Koopmans, T. (ed.) Activity Analysis of Production and Allocation, pp. 359–373. J. Wiley, New York (1951)Google Scholar
  8. 8.
    Desharnais, J., Gupta, V., Jagadeesan, R., Panangaden, P.: Metrics for labelled Markov processes. Theoretical Computer Science 318(3), 323–354 (2004)MathSciNetzbMATHCrossRefGoogle Scholar
  9. 9.
    Ferns, N., Panangaden, P., Precup, D.: Metrics for finite Markov Decision Processes. In: Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence, UAI, pp. 162–169. AUAI Press (2004)Google Scholar
  10. 10.
    Ford, L.R., Fulkerson, D.R.: Solving the Transportation Problem. Management Science 3(1), 24–32 (1956)CrossRefGoogle Scholar
  11. 11.
    Griffeath, D.: A maximal coupling for markov chains. Probability Theory and Related Fields 31, 95–106 (1975)MathSciNetzbMATHGoogle Scholar
  12. 12.
    Larsen, K.G., Skou, A.: Bisimulation through probabilistic testing. Information and Computation 94(1), 1–28 (1991)MathSciNetzbMATHCrossRefGoogle Scholar
  13. 13.
    Mitzenmacher, M., Upfal, E.: Probability and Computing - randomized algorithms and probabilistic analysis. Cambridge University Press (2005)Google Scholar
  14. 14.
    Schrijver, A.: Theory of linear and integer programming. John Wiley & Sons, Inc., New York (1986)zbMATHGoogle Scholar
  15. 15.
    Thorsley, D., Klavins, E.: Approximating stochastic biochemical processes with Wasserstein pseudometrics. IET Systems Biology 4(3), 193–211 (2010)CrossRefGoogle Scholar
  16. 16.
    van Breugel, F., Sharma, B., Worrell, J.: Approximating a Behavioural Pseudometric without Discount for Probabilistic Systems. Logical Methods in Computer Science 4(2), 1–23 (2008)Google Scholar
  17. 17.
    van Breugel, F., Worrell, J.: Approximating and computing behavioural distances in probabilistic transition systems. Theoretical Computer Science 360(1-3), 373–385 (2006)MathSciNetzbMATHCrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Giorgio Bacci
    • 1
    • 2
  • Giovanni Bacci
    • 2
  • Kim G. Larsen
    • 2
  • Radu Mardare
    • 2
  1. 1.Dept. of Mathematics and Computer ScienceUniversity of UdineItaly
  2. 2.Department of Computer ScienceAalborg UniversityDenmark

Personalised recommendations