Skip to main content
Erschienen in:
Buchtitelbild

2021 | OriginalPaper | Buchkapitel

Quantitative vs. Weighted Automata

verfasst von : Udi Boker

Erschienen in: Reachability Problems

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Weighted automata are widely researched, but with a variety of different semantics, which mostly fit into either the “quantitative view” or the “algebraic view”. We argue that the two views result with incomparable automata families, each providing a different conceptual generalization of Boolean automata and having different natural extensions.
We propose to term the former “quantitative automata” and the latter “weighted automata”.
In both views, transitions are labeled with weights and the value of a path of transitions is given by some value function on the traversed weights. However, the main conceptual difference is in the generalization of nondeterminism and its dual (universality, in alternating automata).
Quantitative automata keep the preference meaning of choice and obligation to nondeterminism and universality, interpreted as supremum and infimum, respectively, and accordingly restrict weights and value functions to the totally ordered domain of real numbers.
Weighted automata, on the other hand, generalize nondeterminism to an arbitrary commutative operation (of a semiring or valuation monoid), and generally have no interpretation of universality. The weights and value functions can be from arbitrary domains.
On several aspects the algebraic view generalizes the quantitative one, allowing for richer weight domains and interpretations of nondeterminism, whereas on different aspects the quantitative view is more general, having alternation, inherent compatibility with games and adequacy to approximations.
We argue that clarifying the conceptual difference between the two automata families can enlighten their possible future extensions.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
We define first an automaton without an acceptance-condition/value-function/semi-ring/valuation-monoid, but with initial state(s). Usually, the term ‘automaton’ refers to an entity with them, while ‘semiautomaton’ to an entity that also lacks initial state(s).
 
2
This extra flexibility of allowing for “parallel” transitions with different weights is often omitted, since it is redundant for some value functions while important for others.
 
3
Nondeterministic automata are also often defined with a single initial state.
 
4
An equivalent definition goes via trees instead of games.
 
5
There are value functions that are more naturally defined over sequences of tuples of real values (see Remark 1), for example lexicographic-mean-payoff [9] and discounted-summation with multiple discount factors [13].
 
6
Considering algorithmic aspects of quantitative automata, labels are usually rational numbers, concretely represented.
 
7
It is sometimes defined analogously with infimum instead of supremum. Considering alternating quantitative automata, infimum relates to universal transitions.
 
8
A function in this context is called in [23] a “quantitative language”.
 
9
Automata with multiple weights on transitions can be defined with respect to structure monoids [39].
 
10
In [38], the original definition of a valuation monoid has additional restrictions that are loosened in [48].
 
11
Semiring weighted automata are sometimes defined with an acceptance condition (e.g., [48]) and sometimes without it, while having instead labels on both transitions and states (e.g., [34]). However, considering infinite words or valuation monoids, weighted automata have an acceptance condition [38].
 
12
For finite words, the acceptance condition is a set \(F\subseteq Q\) of final states, and a run satisfies it if it ends in a final state. For infinite words there are many acceptance conditions, such as Büchi or Muller. (More details on the different acceptance conditions can be found, for example, in [12]).
 
13
A function in this context is often viewed as a formal power series.
 
14
The “weighted automata” in the title of [49] refer to a variant of \({\mathsf {Sum}}\) automata, defined over infinite words with an acceptance condition on finite prefixes.
 
15
As ratio does not satisfy the triangle inequality, it is formally not a distance function, and one may speak instead of \(d(x,y) = |\log x - \log y|\).
 
Literatur
2.
Zurück zum Zitat Almagor, S., Boker, U., Kupferman, O.: Formalizing and reasoning about quality. J. ACM 63(3), 24:1–24:56 (2016) Almagor, S., Boker, U., Kupferman, O.: Formalizing and reasoning about quality. J. ACM 63(3), 24:1–24:56 (2016)
6.
Zurück zum Zitat Aminof, B., Kupferman, O., Lampert, R.: Reasoning about online algorithms with weighted automata. ACM Trans. Algorithms 6(2), 28:1–28:36 (2010) Aminof, B., Kupferman, O., Lampert, R.: Reasoning about online algorithms with weighted automata. ACM Trans. Algorithms 6(2), 28:1–28:36 (2010)
7.
Zurück zum Zitat Aminof, B., Kupferman, O., Lampert, R.: Rigorous approximated determinization of weighted automata. Theor. Comput. Sci. 480, 104–117 (2013)MathSciNetCrossRef Aminof, B., Kupferman, O., Lampert, R.: Rigorous approximated determinization of weighted automata. Theor. Comput. Sci. 480, 104–117 (2013)MathSciNetCrossRef
8.
Zurück zum Zitat Babari, P.: Quantitative Automata and Logic for Pictures and Data Words. Ph.D. thesis, Leipzig University (2017) Babari, P.: Quantitative Automata and Logic for Pictures and Data Words. Ph.D. thesis, Leipzig University (2017)
10.
Zurück zum Zitat Boker, U., Chatterjee, K., Henzinger, T.A., Kupferman, O.: Temporal specifications with accumulative values. ACM Trans. Comput. Log. 15(4), 27:1–27:25 (2014) Boker, U., Chatterjee, K., Henzinger, T.A., Kupferman, O.: Temporal specifications with accumulative values. ACM Trans. Comput. Log. 15(4), 27:1–27:25 (2014)
11.
Zurück zum Zitat Boker, U., Henzinger, T.A.: Exact and approximate determinization of discounted-sum automata. Log. Methods Comput. Sci. 10(1), 1–33 (2014) Boker, U., Henzinger, T.A.: Exact and approximate determinization of discounted-sum automata. Log. Methods Comput. Sci. 10(1), 1–33 (2014)
12.
Zurück zum Zitat Boker, U.: Why these automata types? In: Proceedings of the LPAR, pp. 143–163 (2018) Boker, U.: Why these automata types? In: Proceedings of the LPAR, pp. 143–163 (2018)
13.
Zurück zum Zitat Boker, U., Hefetz, G.: Discounted-sum automata with multiple discount factors. In: Proceedings of the CSL. LIPIcs, vol. 183, pp. 12:1–12:23 (2021) Boker, U., Hefetz, G.: Discounted-sum automata with multiple discount factors. In: Proceedings of the CSL. LIPIcs, vol. 183, pp. 12:1–12:23 (2021)
14.
Zurück zum Zitat Boker, U., Henzinger, T.A.: Approximate determinization of quantitative automata. In: Proceedings of the FSTTCS. LIPIcs, vol. 18, pp. 362–373 (2012) Boker, U., Henzinger, T.A.: Approximate determinization of quantitative automata. In: Proceedings of the FSTTCS. LIPIcs, vol. 18, pp. 362–373 (2012)
15.
Zurück zum Zitat Boker, U., Lehtinen, K.: Good for games automata: from nondeterminism to alternation. In: Fokkink, W.J., van Glabbeek, R. (eds.) Proceedings of the CONCUR. LIPIcs, vol. 140, pp. 19:1–19:16 (2019) Boker, U., Lehtinen, K.: Good for games automata: from nondeterminism to alternation. In: Fokkink, W.J., van Glabbeek, R. (eds.) Proceedings of the CONCUR. LIPIcs, vol. 140, pp. 19:1–19:16 (2019)
16.
Zurück zum Zitat Boker, U., Lehtinen, K.: History determinism vs. good for gameness in quantitative automata. In: Proceedings of FSTTCS. pp. 35:1–35:20 (2021) Boker, U., Lehtinen, K.: History determinism vs. good for gameness in quantitative automata. In: Proceedings of FSTTCS. pp. 35:1–35:20 (2021)
17.
Zurück zum Zitat Bouyer, P., Markey, N., Matteplackel, R.: Averaging in LTL. In: Proceedings of the CONCUR, pp. 266–280 (2014) Bouyer, P., Markey, N., Matteplackel, R.: Averaging in LTL. In: Proceedings of the CONCUR, pp. 266–280 (2014)
19.
Zurück zum Zitat Büchi, J.R.: On a decision method in restricted second order arithmetic. In: Proceedings of the International Congress on Logic, Method, and Philosophy of Science. 1960, pp. 1–12. Stanford University Press (1962) Büchi, J.R.: On a decision method in restricted second order arithmetic. In: Proceedings of the International Congress on Logic, Method, and Philosophy of Science. 1960, pp. 1–12. Stanford University Press (1962)
20.
Zurück zum Zitat Buchsbaum, A.L., Giancarlo, R., Westbrook, J.: An approximate determinization algorithm for weighted finite-state automata. Algorithmica 30(4), 503–526 (2001)MathSciNetCrossRef Buchsbaum, A.L., Giancarlo, R., Westbrook, J.: An approximate determinization algorithm for weighted finite-state automata. Algorithmica 30(4), 503–526 (2001)MathSciNetCrossRef
22.
Zurück zum Zitat Chandra, A.K., Stockmeyer, L.J.: Alternation. In: Proceedings of FOCS, pp. 98–108 (1976) Chandra, A.K., Stockmeyer, L.J.: Alternation. In: Proceedings of FOCS, pp. 98–108 (1976)
24.
Zurück zum Zitat Chatterjee, K., Doyen, L., Henzinger, T.A.: Alternating weighted automata. In: Proceedings of FCT, pp. 3–13 (2009) Chatterjee, K., Doyen, L., Henzinger, T.A.: Alternating weighted automata. In: Proceedings of FCT, pp. 3–13 (2009)
25.
Zurück zum Zitat Chatterjee, K., Doyen, L., Henzinger, T.A.: Quantitative languages. ACM Trans. Comput. Log. 11(4), 23:1–23:38 (2010) Chatterjee, K., Doyen, L., Henzinger, T.A.: Quantitative languages. ACM Trans. Comput. Log. 11(4), 23:1–23:38 (2010)
27.
Zurück zum Zitat Chatterjee, K., Henzinger, T.A., Otop, J.: Nested weighted automata. ACM Trans. Comput. Log. 18(4), 31:1–31:44 (2017) Chatterjee, K., Henzinger, T.A., Otop, J.: Nested weighted automata. ACM Trans. Comput. Log. 18(4), 31:1–31:44 (2017)
28.
Zurück zum Zitat Colcombet, T.: The theory of stabilisation monoids and regular cost functions, pp. 139–150 (2009) Colcombet, T.: The theory of stabilisation monoids and regular cost functions, pp. 139–150 (2009)
30.
32.
Zurück zum Zitat Diekert, V., Gastin, P.: First-order definable languages. In: Flum, J., Grädel, E., Wilke, T. (eds.) Logic and Automata: History and Perspectives [in Honor of Wolfgang Thomas]. Texts in Logic and Games, vol. 2, pp. 261–306. Amsterdam University Press (2008) Diekert, V., Gastin, P.: First-order definable languages. In: Flum, J., Grädel, E., Wilke, T. (eds.) Logic and Automata: History and Perspectives [in Honor of Wolfgang Thomas]. Texts in Logic and Games, vol. 2, pp. 261–306. Amsterdam University Press (2008)
33.
Zurück zum Zitat Doyen, L.: Games and automata: From Boolean to quantitative verification. Habilitation Thesis, École Normale Supérieure de Cachan (2011) Doyen, L.: Games and automata: From Boolean to quantitative verification. Habilitation Thesis, École Normale Supérieure de Cachan (2011)
34.
Zurück zum Zitat Droste, M., Gastin, P.: Weighted automata and weighted logics. Theor. Comput. Sci. 380(1–2), 69–86 (2007)MathSciNetCrossRef Droste, M., Gastin, P.: Weighted automata and weighted logics. Theor. Comput. Sci. 380(1–2), 69–86 (2007)MathSciNetCrossRef
35.
Zurück zum Zitat Droste, M., Gastin, P.: Aperiodic weighted automata and weighted first-order logic. In: Proceedings of the MFCS. LIPIcs, vol. 138, pp. 76:1–76:15 (2019) Droste, M., Gastin, P.: Aperiodic weighted automata and weighted first-order logic. In: Proceedings of the MFCS. LIPIcs, vol. 138, pp. 76:1–76:15 (2019)
37.
Zurück zum Zitat Droste, M., Meinecke, I.: Describing average- and longtime-behavior by weighted MSO logics. In: Proceedings of the MFCS, pp. 537–548 (2010) Droste, M., Meinecke, I.: Describing average- and longtime-behavior by weighted MSO logics. In: Proceedings of the MFCS, pp. 537–548 (2010)
38.
Zurück zum Zitat Droste, M., Meinecke, I.: Weighted automata and weighted MSO logics for average and long-time behaviors. Inf. Comput. 220–221, 44–59 (2012)MathSciNetCrossRef Droste, M., Meinecke, I.: Weighted automata and weighted MSO logics for average and long-time behaviors. Inf. Comput. 220–221, 44–59 (2012)MathSciNetCrossRef
39.
Zurück zum Zitat Droste, M., Perevoshchikov, V.: Multi-weighted automata and MSO logic. In: Computer Science - Theory and Applications, pp. 418–430 (2013) Droste, M., Perevoshchikov, V.: Multi-weighted automata and MSO logic. In: Computer Science - Theory and Applications, pp. 418–430 (2013)
41.
Zurück zum Zitat Eilenberg, S.: Automata, Languages, and Machines. Academic Press Inc., USA (1974)MATH Eilenberg, S.: Automata, Languages, and Machines. Academic Press Inc., USA (1974)MATH
42.
Zurück zum Zitat Elgot, C.: Decision problems of finite-automata design and related arithmetics. Trans. Am. Math. Soc. 98, 21–51 (1961)MathSciNetCrossRef Elgot, C.: Decision problems of finite-automata design and related arithmetics. Trans. Am. Math. Soc. 98, 21–51 (1961)MathSciNetCrossRef
43.
Zurück zum Zitat Faella, M., Legay, A., Stoelinga, M.: Model checking quantitative linear time logic. Electron. Notes Theor. Comput. Sci. 220(3), 61–77 (2008)CrossRef Faella, M., Legay, A., Stoelinga, M.: Model checking quantitative linear time logic. Electron. Notes Theor. Comput. Sci. 220(3), 61–77 (2008)CrossRef
44.
Zurück zum Zitat Filiot, E., Gentilini, R., Raskin, J.: Quantitative languages defined by functional automata. Log. Methods Comput. Sci. 11(3), 1–32 (2015) Filiot, E., Gentilini, R., Raskin, J.: Quantitative languages defined by functional automata. Log. Methods Comput. Sci. 11(3), 1–32 (2015)
45.
Zurück zum Zitat Filiot, E., Jecker, I., Lhote, N., Pérez, G.A., Raskin, J.: On delay and regret determinization of max-plus automata. In: LICS, pp. 1–12 (2017) Filiot, E., Jecker, I., Lhote, N., Pérez, G.A., Raskin, J.: On delay and regret determinization of max-plus automata. In: LICS, pp. 1–12 (2017)
46.
Zurück zum Zitat Filiot, E., Löding, C., Winter, S.: Synthesis from weighted specifications with partial domains over finite words. In: Saxena, N., Simon, S. (eds.) FSTTCS. LIPIcs, vol. 182, pp. 46:1–46:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020) Filiot, E., Löding, C., Winter, S.: Synthesis from weighted specifications with partial domains over finite words. In: Saxena, N., Simon, S. (eds.) FSTTCS. LIPIcs, vol. 182, pp. 46:1–46:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020)
47.
Zurück zum Zitat Gabbay, D.M., Pnueli, A., Shelah, S., Stavi, J.: On the temporal analysis of fairness. In: Proceedings of the POPL, pp. 163–173 (1980) Gabbay, D.M., Pnueli, A., Shelah, S., Stavi, J.: On the temporal analysis of fairness. In: Proceedings of the POPL, pp. 163–173 (1980)
48.
Zurück zum Zitat Gastin, P., Monmege, B.: A unifying survey on weighted logics and weighted automata - core weighted logic: minimal and versatile specification of quantitative properties. Soft. Comput. 22(4), 1047–1065 (2018)CrossRef Gastin, P., Monmege, B.: A unifying survey on weighted logics and weighted automata - core weighted logic: minimal and versatile specification of quantitative properties. Soft. Comput. 22(4), 1047–1065 (2018)CrossRef
50.
Zurück zum Zitat Henzinger, T., Piterman, N.: Solving games without determinization, pp. 395–410 (2006) Henzinger, T., Piterman, N.: Solving games without determinization, pp. 395–410 (2006)
52.
Zurück zum Zitat Kamp, J.: Tense Logic and the Theory of Order. Ph.D. thesis, UCLA (1968) Kamp, J.: Tense Logic and the Theory of Order. Ph.D. thesis, UCLA (1968)
53.
Zurück zum Zitat Kostolányi, P., Misún, F.: Alternating weighted automata over commutative semirings. Theor. Comput. Sci. 740, 1–27 (2018)MathSciNetCrossRef Kostolányi, P., Misún, F.: Alternating weighted automata over commutative semirings. Theor. Comput. Sci. 740, 1–27 (2018)MathSciNetCrossRef
55.
Zurück zum Zitat Ladner, R., Lipton, R., Stockmeyer, L.: Alternating pushdown and stack automata. SIAM J. Comput. 13(1), 135–155 (1984)MathSciNetCrossRef Ladner, R., Lipton, R., Stockmeyer, L.: Alternating pushdown and stack automata. SIAM J. Comput. 13(1), 135–155 (1984)MathSciNetCrossRef
56.
Zurück zum Zitat Ladner, R.E.: Application of model theoretic games to discrete linear orders and finite automata. Inf. Control 33(4), 281–303 (1977)MathSciNetCrossRef Ladner, R.E.: Application of model theoretic games to discrete linear orders and finite automata. Inf. Control 33(4), 281–303 (1977)MathSciNetCrossRef
57.
Zurück zum Zitat Lindsay, P.A.: On alternating \(\omega \)-automata. Theoret. Comput. Sci. 43, 107–116 (1988) Lindsay, P.A.: On alternating \(\omega \)-automata. Theoret. Comput. Sci. 43, 107–116 (1988)
59.
Zurück zum Zitat M. Droste, W.K., Vogler, H.: Handbook of Weighted Automata, 1st edn. Springer Publishing Company, Incorporated, Heidelberg (2009) M. Droste, W.K., Vogler, H.: Handbook of Weighted Automata, 1st edn. Springer Publishing Company, Incorporated, Heidelberg (2009)
61.
Zurück zum Zitat McNaughton, R., Papert, S.: Counter-free Automata. M.I.T Press, Cambridge (1971) McNaughton, R., Papert, S.: Counter-free Automata. M.I.T Press, Cambridge (1971)
62.
Zurück zum Zitat Muller, D., Schupp, P.: Alternating automata on infinite trees. In: Automata on Infinite Words. LNCS, vol. 192, pp. 100–107 (1985) Muller, D., Schupp, P.: Alternating automata on infinite trees. In: Automata on Infinite Words. LNCS, vol. 192, pp. 100–107 (1985)
63.
65.
66.
Zurück zum Zitat Salomaa, A., Soittola, M.: Automata-Theoretic Aspects of Formal Power Series. Texts and Monographs in Computer Science, Springer, Heidelberg (1978) Salomaa, A., Soittola, M.: Automata-Theoretic Aspects of Formal Power Series. Texts and Monographs in Computer Science, Springer, Heidelberg (1978)
67.
68.
69.
Zurück zum Zitat Thomas, W.: Star-free regular sets of omega-sequences. Inf. Control 42(2), 148–156 (1979)CrossRef Thomas, W.: Star-free regular sets of omega-sequences. Inf. Control 42(2), 148–156 (1979)CrossRef
70.
Zurück zum Zitat Thomas, W.: A combinatorial approach to the theory of omega-automata. Inf. Control 48(3), 261–283 (1981)CrossRef Thomas, W.: A combinatorial approach to the theory of omega-automata. Inf. Control 48(3), 261–283 (1981)CrossRef
71.
Zurück zum Zitat Trakhtenbrot, B.A.: Finite automata and logic of monadic predicates. Doklady Akademii Nauk SSSR (1961). In Russian Trakhtenbrot, B.A.: Finite automata and logic of monadic predicates. Doklady Akademii Nauk SSSR (1961). In Russian
73.
Zurück zum Zitat Vardi, M.: Verification of concurrent programs: the automata-theoretic framework, pp. 167–176 (1987) Vardi, M.: Verification of concurrent programs: the automata-theoretic framework, pp. 167–176 (1987)
74.
Zurück zum Zitat Wilke, T.: Alternating tree automata, parity games, and modal \(\mu \)-calculus. Bull. Belgian Math. Soc. Simon Stevin 8(2), 359 (2001)MathSciNetCrossRef Wilke, T.: Alternating tree automata, parity games, and modal \(\mu \)-calculus. Bull. Belgian Math. Soc. Simon Stevin 8(2), 359 (2001)MathSciNetCrossRef
Metadaten
Titel
Quantitative vs. Weighted Automata
verfasst von
Udi Boker
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-89716-1_1

Premium Partner