Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
153 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Time complexity for deterministic string machines (2405.06043v1)

Published 9 May 2024 in cs.FL, cs.CC, and math.CT

Abstract: Algorithms which learn environments represented by automata in the past have had complexity scaling with the number of states in the automaton, which can be exponentially large even for automata recognizing regular expressions with a small description length. We thus formalize a compositional language that can construct automata as transformations between certain types of category, representable as string diagrams, which better reflects the description complexity of various automata. We define complexity constraints on this framework by having them operate on categories enriched over filtered sets, and using these constraints, we prove elementary results on the runtime and expressivity of a subset of these transformations which operate deterministically on finite state spaces. These string diagrams, or "string machines," are themselves morphisms in a category, so it is possible for string machines to create other string machines in runtime to model computations which take more than constant memory. We prove sufficient conditions for polynomial runtime guarantees on these, which can help develop complexity constraints on string machines which also encapsulate runtime complexity.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (17)
  1. J. Adamek and V. Trnkova. Automata and Algebras in Categories. Kluwer Academic Publishers, Dordrecht, Netherlands, 1990.
  2. C. Allauzen and M. Mohri. An optimal pre-determinization algorithm for weighted transducers. Theoretical Computer Science, 328(1-2):3–18, 2004.
  3. J. P. Bell and D. Smertnig. Computing the linear hull: Deciding Deterministic? and Unambiguous? for weighted automata over fields. In 2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–13. IEEE, 2023.
  4. Completeness for categories of generalized automata, 2023.
  5. M. Earnshaw and P. Sobociński. Regular monoidal languages, 2022.
  6. M. Earnshaw and P. Sobociński. String diagrammatic trace theory, 2023.
  7. F. Hennie. One-tape, off-line turing machine computations. Information and Control, 8(6):553–578, 1965.
  8. C. Hermida. Representable multicategories. Advances in Mathematics, 151(2):164–225, 2000.
  9. M. Hutter. A theory of universal artificial intelligence based on algorithmic complexity, 2000.
  10. Computational learning theory. ACM SIGACT News, 26(1):43–45, 1995.
  11. K. Kobayashi. On the structure of one-tape nondeterministic turing machine time hierarchy. Theoretical Computer Science, 40:175–193, 1985. Eleventh International Colloquium on Automata, Languages and Programming.
  12. V. Kosoy. Compositional language for hypotheses about computations. AI Alignment Forum, March 2023.
  13. P. Kostolanyi. Determinisability of unary weighted automata over the rational numbers. Theoretical Computer Science, 898:110–131, 2022.
  14. K. Krohn and J. Rhodes. Algebraic theory of machines. I. Prime decomposition theorem for finite semigroups and machines. Transactions of the American Mathematical Society, 116:450–464, 1965.
  15. M. Mohri. Weighted Finite-State Transducer Algorithms. An Overview, pages 551–563. Springer Berlin Heidelberg, Berlin, Heidelberg, 2004.
  16. N. Niu and D. I. Spivak. Polynomial functors: A mathematical theory of interaction, 2023.
  17. A. Ronca and G. D. Giacomo. Efficient PAC reinforcement learning in regular decision processes, 2022.
Citations (2)

Summary

We haven't generated a summary for this paper yet.