Proceedings

Improved Algorithms for Allen's Interval Algebra: a Dynamic Programming Approach

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1873-1879.

https://doi.org/10.24963/ijcai.2021/258

Abstract

The constraint satisfaction problem (CSP) is an important framework in artificial intelligence used to model e.g. qualitative reasoning problems such as Allen's interval algebra A. There is strong practical incitement to solve CSPs as efficiently as possible, and the classical complexity of temporal CSPs, including A, is well understood. However, the situation is more dire with respect to running time bounds of the form O(f(n)) (where n is the number of variables) where existing results gives a best theoretical upper bound 2^O(n * log n) which leaves a significant gap to the best (conditional) lower bound 2^o(n). In this paper we narrow this gap by presenting two novel algorithms for temporal CSPs based on dynamic programming. The first algorithm solves temporal CSPs limited to constraints of arity three in O(3^n) time, and we use this algorithm to solve A in O((1.5922n)^n) time. The second algorithm tackles A directly and solves it in O((1.0615n)^n), implying a remarkable improvement over existing methods since no previously published algorithm belongs to O((cn)^n) for any c. We also extend the latter algorithm to higher dimensions box algebras where we obtain the first explicit upper bound.

  1. [Allen and Koomen, 1983] J. F. Allen and J. A. G. M. Koomen. Planning using a temporal world model. In Alan Bundy, editor, Proceedings of the 8th International Joint Conference on Artificial Intelligence (IJCAI-1983). Karlsruhe, FRG, August 1983, pages 741-747. IJCAI
  2. William Kaufmann, 1983.
  3. [Allen, 1983] J. F. Allen. Maintaining knowledge about tem- poral intervals. Communications of the ACM, 26:510-521, 01 1983.
  4. [Andonov et al., 2000] R. Andonov, V. Poirriez, and S. Ra- jopadhye. Unbounded knapsack problem: Dynamic pro- gramming revisited. European Journal of Operational Research, 123(2):394 -407, 2000.
  5. [Björklund et al., 2009] A. Björklund, T. Husfeldt, and M. Koivisto. Set partitioning via inclusion-exclusion. SIAM Journal on Computing, 39(2):546-563, 2009.
  6. [Bodirsky and Kára, 2010] M. Bodirsky and J. Kára. The complexity of temporal constraint satisfaction problems. Journal of the ACM, 57(2):9:1-9:41, 2010.
  7. [Dabrowski et al., 2020] K. K. Dabrowski, P. Jonsson, S. Or- dyniak, and G. Osipov. Fine-grained complexity of tempo- ral problems. In Diego Calvanese, Esra Erdem, and Michael Thielscher, editors, Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning (KR-2020), pages 284-293, 2020.
  8. [Denis and Muller, 2011] P. Denis and P. Muller. Predicting globally-coherent temporal structures from texts via end- point inference and graph decomposition. In Toby Walsh, editor, Proceedings of the 22nd International Joint Con- ference on Artificial Intelligence (IJCAI-2011), Barcelona, Catalonia, Spain, July 16-22, 2011, pages 1788-1793. IJ- CAI/AAAI, 2011. IJCAI
  9. [Dorn, 1995] J. Dorn. Dependable reactive event-oriented planning. Data & Knowledge Engineering, 16(1):27-49, 1995.
  10. [Dylla et al., 2017] F. Dylla, J. H. Lee, T. Mossakowski, T. Schneider, A. Van Delden, J. Van De Ven, and D. Wolter. A survey of qualitative spatial and temporal calculi: Al- gebraic and computational properties. ACM Computing Surveys (CSUR), 50(1):7:1-7:39, April 2017.
  11. [Golumbic and Shamir, 1993] M. C. Golumbic and R. Shamir. Complexity and algorithms for reason- ing about time: A graph-theoretic approach. Journal of the ACM, 40(5):1108-1133, 1993.
  12. [Huang et al., 2013] J. Huang, J. Jingshi Li, and J. Renz. De- composition and tractability in qualitative spatial and tem- poral reasoning. Artificial Intelligence, 195:140-164, 2013.
  13. [Impagliazzo and Paturi, 2001] R. Impagliazzo and R. Paturi. On the complexity of k-SAT. Journal of Computer and System Sciences, 62(2):367 -375, 2001.
  14. [Jonsson and Lagerkvist, 2017] P. Jonsson and V. Lagerkvist. An initial study of time complexity in infinite-domain con- straint satisfaction. Artificial Intelligence, 245:115-133, 2017.
  15. [Jonsson and Lagerkvist, 2018] P. Jonsson and V. Lagerkvist. Why are CSPs based on partition schemes computationally hard? In 43rd International Symposium on Mathematical Foundations of Computer Science (MFCS-2018), pages 43:1-43:15, 2018.
  16. [Liu et al., 2009] W. Liu, S. Li, and J. Renz. Combining rcc-8 with qualitative direction calculi: Algorithms and complexity. pages 854-859, 01 2009. IJCAI
  17. [McDiarmid, 2003] C. McDiarmid. On the span in channel assignment problems: bounds, computing and counting. Discrete Mathematics, 266(1):387 -397, 2003. The 18th British Combinatorial Conference.
  18. [Mudrová and Hawes, 2015] L. Mudrová and N. Hawes. Task scheduling for mobile robots using interval algebra. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA-2015), pages 383-388. IEEE, 2015.
  19. [Nebel, 1997] B. Nebel. Solving hard qualitative temporal reasoning problems: Evaluating the efficiency of using the ord-horn class. Constraints -An International Journal, 1(3):175-190, 1997.
  20. [Papadias and Theodoridis, 1997] D. Papadias and Y. Theodoridis. Spatial relations, minimum bound- ing rectangles, and spatial data structures. International Journal of Geographical Information Science, 11(2):111- 138, 1997.
  21. [Pelavin and Allen, 1987] R. N. Pelavin and J. F. Allen. A model for concurrent actions having temporal extent. In Kenneth D. Forbus and Howard E. Shrobe, editors, Pro- ceedings of the 6th National Conference on Artificial Intel- ligence (AAAI-1987). Seattle, WA, USA, July 1987, pages 246-250.
  22. Morgan Kaufmann, 1987.
  23. [Pham et al., 2008] D. Nghia Pham, J. Thornton, and A. Sat- tar. Modelling and solving temporal reasoning as proposi- tional satisfiability. Artificial intelligence, 172(15):1752- 1782, 2008.
  24. [Sioutis and Janhunen, 2019] M. Sioutis and T. Janhunen. To- wards leveraging backdoors in qualitative constraint net- works. In Proceedings of the 42nd German Conference on AI (KI-2019), pages 308-315, 2019.
  25. [Song and Cohen, 1988] F. Song and R. Cohen. The inter- pretation of temporal relations in narrative. In Howard E. Shrobe, Tom M. Mitchell, and Reid G. Smith, editors, Pro- ceedings of the 7th National Conference on Artificial In- telligence (AAAI-1988), St. Paul, MN, USA, August 21-26, 1988, pages 745-750. AAAI Press / The MIT Press, 1988.
  26. [Thornton et al., 2004] J. Thornton, M. Beaumont, A. Sattar, and M. J. Maher. A local search approach to modelling and solving interval algebra problems. Journal of logic and computation, 14(1):93-112, 2004.
  27. [Zhang and Renz, 2014] P. Zhang and J. Renz. Qualitative spatial representation and reasoning in angry birds: The extended rectangle algebra. In Proceedings of the Four- teenth International Conference on Principles of Knowl- edge Representation and Reasoning, page 378387. AAAI Press, 2014.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards