GRAML: Goal Recognition as Metric Learning
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.
Cite
Text
Shamir and Mirsky. "GRAML: Goal Recognition as Metric Learning." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/959Markdown
[Shamir and Mirsky. "GRAML: Goal Recognition as Metric Learning." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/shamir2025ijcai-graml/) doi:10.24963/IJCAI.2025/959BibTeX
@inproceedings{shamir2025ijcai-graml,
title = {{GRAML: Goal Recognition as Metric Learning}},
author = {Shamir, Matan and Mirsky, Reuth},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2025},
pages = {8626-8634},
doi = {10.24963/IJCAI.2025/959},
url = {https://mlanthology.org/ijcai/2025/shamir2025ijcai-graml/}
}