Proceedings

GRAML: Goal Recognition As Metric Learning

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8626-8634.

https://doi.org/10.24963/ijcai.2025/959

Abstract

Goal Recognition (GR) is the problem of recognizing an agent's objectives based on observed actions.

Recent data-driven approaches for GR alleviate the need for costly, manually crafted domain models.

However, these approaches can only reason about a pre-defined set of goals, and time-consuming training is needed for new emerging goals.

To keep this model-learning automated while enabling quick adaptation to new goals, this paper introduces GRAML: Goal Recognition As Metric Learning.

GRAML frames GR as a deep metric learning problem, using a Siamese network composed of recurrent units to learn an embedding space where traces leading to the same goal are close, and those leading to different goals are distant.

This metric is particularly effective for adapting to new goals, even when only a single example trace is available per goal.

Evaluated on a versatile set of environments, GRAML shows speed, flexibility, and runtime improvements over the state-of-the-art GR while maintaining accurate recognition.

  1. [Amado et al., 2022] Leonardo Amado, Reuth Mirsky, and Felipe Meneguzzi. Goal recognition as reinforcement learning. In The AAAI Conference on Artificial Intelli- gence, volume 36, pages 9644-9651, 2022.
  2. [Amado et al., 2023] Leonardo Amado, Ramon Fraga Pereira, and Felipe Meneguzzi. Robust neuro- symbolic goal and plan recognition. The AAAI Conference on Artificial Intelligence, 37(10):11937-11944, Jun. 2023.
  3. [Asai et al., 2022] Masataro Asai, Hiroshi Kajino, Alex Fukunaga, and Christian Muise. Classical planning in deep latent space. Journal of Artificial Intelligence Research, 74:1599-1686, 2022.
  4. [Avrahami-Zilberbrand and Kaminka, 2005] Dorit Avrahami-Zilberbrand and Gal A Kaminka. Fast and complete symbolic plan recognition. In IJCAI, pages 653-658, 2005. IJCAI
  5. [Baker et al., 2009] Chris L. Baker, Rebecca Saxe, and Joshua B. Tenenbaum. Action understanding as inverse planning. Cognition, 113(3):329-349, 2009.
  6. [Borrajo et al., 2020] Daniel Borrajo, Sriram Gopalakrish- nan, and Vamsi K Potluru. Goal recognition via model- based and model-free techniques. FinPlan 2020, page 10, 2020.
  7. [Chevalier-Boisvert et al., 2023] Maxime Chevalier- Boisvert, Bolun Dai, Mark Towers, Rodrigo de Lazcano, Lucas Willems, Salem Lahlou, Suman Pal, Pablo Samuel Castro, and Jordan Terry. Minigrid & miniworld: Modular & customizable reinforcement learning environments for goal-oriented tasks. CoRR, abs/2306.13831, 2023.
  8. [Chiari et al., 2023] Mattia Chiari, Alfonso Emilio Gerevini, Francesco Percassi, Luca Putelli, Ivan Serina, and Matteo Olivato. Goal recognition as a deep learning task: The grnet approach. In The International Conference on Au- tomated Planning and Scheduling, volume 33, pages 560- 568, 2023.
  9. [Duan et al., 2018] Yueqi Duan, Jiwen Lu, Jianjiang Feng, and Jie Zhou. Deep localized metric learning. IEEE Transactions on Circuits and Systems for Video Technol- ogy, 28(10):2644-2656, 2018.
  10. [Duan et al., 2020] Yueqi Duan, Jiwen Lu, Wenzhao Zheng, and Jie Zhou. Deep adversarial metric learning. IEEE Transactions on Image Processing, 29:2037-2051, 2020.
  11. [Elhadad and Mirsky, 2025] Osher Elhadad and Reuth Mirsky. General dynamic goal recognition. arXiv preprint arXiv:2505.09737, 2025.
  12. [Fang et al., 2023] Zihao Fang, Dejun Chen, Yunxiu Zeng, Tao Wang, and Kai Xu. Real-time online goal recogni- tion in continuous domains via deep reinforcement learn- ing. Entropy, 25(10):1415, 2023.
  13. [Freedman and Zilberstein, 2017] Richard Freedman and Shlomo Zilberstein. Integration of planning with recog- nition for responsive interaction using classical planners. In The AAAI Conference on Artificial Intelligence, volume 31, 2017.
  14. [Fu et al., 2020] Justin Fu, Aviral Kumar, Ofir Nachum, George Tucker, and Sergey Levine. D4rl: Datasets for deep data-driven reinforcement learning. arXiv preprint arXiv:2004.07219, 2020.
  15. [Gallouédec et al., 2021] Quentin Gallouédec, Nicolas Cazin, Emmanuel Dellandréa, and Liming Chen. panda- gym: Open-Source Goal-Conditioned Environments for Robotic Learning. 4th Robot Learning Workshop: Self-Supervised and Lifelong Learning at NeurIPS, 2021.
  16. [Geffner, 2018] Hector Geffner. Model-free, model-based, and general intelligence. In International Joint Conference on Artificial Intelligence, 2018. IJCAI
  17. [Geib and Goldman, 2009] Christopher W Geib and Robert P Goldman. A probabilistic plan recognition algo- rithm based on plan tree grammars. Artificial Intelligence, 173(11):1101-1132, 2009.
  18. [Geib and Kantharaju, 2018] Christopher Geib and Pavan Kantharaju. Learning combinatory categorial grammars for plan recognition. In The AAAI Conference on Artificial Intelligence, volume 32, 2018.
  19. [Leurent, 2018] Edouard Leurent. An environment for au- tonomous driving decision-making. https://github.com/ eleurent/highway-env, 2018. Link
  20. [Liu et al., 2022] Minghuan Liu, Menghui Zhu, and Weinan Zhang. Goal-conditioned reinforcement learning: Prob- lems and solutions. arXiv preprint arXiv:2201.08299, 2022. IJCAI
  21. [Massardi et al., 2020] Jean Massardi, Mathieu Gravel, and Éric Beaudry. Parc: A plan and activity recognition com- ponent for assistive robots. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 3025-3031. IEEE, 2020.
  22. [Meneguzzi and Fraga Pereira, 2021] Felipe Meneguzzi and Ramon Fraga Pereira. A survey on goal recognition as planning. In International Joint Conference on Artificial Intelligence, IJCAI-21, pages 4524-4532, 8 2021. IJCAI
  23. [Min et al., 2014] Wookhee Min, Eun Ha, Jonathan Rowe, Bradford Mott, and James Lester. Deep learning-based goal recognition in open-ended digital games. In The AAAI Conference on Artificial Intelligence and Interactive Digi- tal Entertainment, volume 10, pages 37-43, 2014.
  24. [Mirsky et al., 2021] Reuth Mirsky, Sarah Keren, and Christopher Geib. Introduction to Symbolic Plan and Goal Recognition, pages 1-120. Number 1 in Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan and Claypool Publishers, 1 edition, January 2021.
  25. [Mueller and Thyagarajan, 2016] Jonas Mueller and Aditya Thyagarajan. Siamese recurrent architectures for learning sentence similarity. The AAAI Conference on Artificial In- telligence, 30(1), Mar. 2016.
  26. [Nageris et al., 2024] Ben Nageris, Felipe Meneguzzi, and Reuth Mirsky. Goal recognition using actor-critic opti- mization. arXiv preprint arXiv:2501.01463, 2024.
  27. [Raffin et al., 2021] Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dormann. Stable-baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 22(268):1-8, 2021.
  28. [Rakthanmanon et al., 2012] Thanawin Rakthanmanon, Bil- son J. L. Campana, Abdullah Al Mueen, Gustavo E. A. P. A. Batista, M. Brandon Westover, Qiang Zhu, Jesin Zakaria, and Eamonn J. Keogh. Searching and mining trillions of time series subsequences under dynamic time warping. KDD : proceedings. International Conference on Knowledge Discovery & Data Mining, 2012:262 -270, 2012.
  29. [Ramirez and Geffner, 2009] M. Ramirez and H. Geffner. Plan recognition as planning. In International Joint Con- ference on Artificial Intelligence (IJCAI-09), 2009. IJCAI
  30. [Ramırez and Geffner, 2011] Miquel Ramırez and Hector Geffner. Goal recognition over pomdps: Inferring the in- tention of a pomdp agent. In IJCAI, pages 2009-2014. IJCAI/AAAI, 2011. IJCAI
  31. [Shamir et al., 2024] Matan Shamir, Osher Elhadad, and Reuth Mirsky. Odgr: Online dynamic goal recognition. In The Workshops of The RLC Conference, 2024.
  32. [Shvo et al., 2022] Maayan Shvo, Ruthrash Hari, Ziggy O'Reilly, Sophia Abolore, Sze-Yuh Nina Wang, and Sheila A McIlraith. Proactive robotic assistance via theory of mind. In International Conference on Intelligent Robots and Systems (IROS), pages 9148-9155. IEEE, 2022.
  33. [Sohrabi et al., 2016] Shirin Sohrabi, Anton V Riabov, and Octavian Udrea. Plan recognition as planning revisited. In IJCAI, pages 3258-3264. New York, NY, 2016. IJCAI
  34. [Su et al., 2023] Zihang Su, Artem Polyvyanyy, Nir Lipovet- zky, Sebastian Sardiña, and Nick van Beest. Fast and ac- curate data-driven goal recognition using process mining techniques. Artificial Intelligence, 323:103973, 2023.
  35. [Zheng et al., 2019] Wenzhao Zheng, Zhaodong Chen, Ji- wen Lu, and Jie Zhou. Hardness-aware deep metric learn- ing. In Proceedings of the IEEE/CVF conference on com- puter vision and pattern recognition, pages 72-81, 2019.

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

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