Learning agent behaviors from observational data has shown to improve our understanding of their decision-making processes, advancing our ability to explain their interactions with the environment and other agents. While multiple learning techniques have been proposed in the literature, there is one particular setting that has not been explored yet: multi agent systems where agent identities remain anonymous. For instance, in financial markets labeled data that identifies market participant strategies is typically proprietary, and only the anonymous state-action pairs that result from the interaction of multiple market participants are publicly available. As a result, sequences of agent actions are not observable, restricting the applicability of existing work. In this paper, we propose a Policy Clustering algorithm, called K-SHAP, that learns to group anonymous state-action pairs according to the agent policies. We frame the problem as an Imitation Learning (IL) task, and we learn a world-policy able to mimic all the agent behaviors upon different environmental states. We leverage the world-policy to explain each anonymous observation through an additive feature attribution method called SHAP (SHapley Additive exPlanations). Finally, by clustering the explanations we show that we are able to identify different agent policies and group observations accordingly. We evaluate our approach on simulated synthetic market data and a real-world financial dataset. We show that our proposal significantly and consistently outperforms the existing methods, identifying different agent strategies.
翻译:从观测数据中学习智能体行为有助于深入理解其决策过程,提升我们解释其与环境及其他智能体交互的能力。尽管文献中已提出多种学习技术,但有一个特定场景尚未被充分探索:智能体身份保持匿名的多智能体系统。例如,在金融市场中,标识市场参与者策略的标注数据通常具有专有性,仅有多方参与者交互后产生的匿名状态-动作对可供公开使用。因此,智能体动作序列不可观测,限制了现有方法的适用性。本文提出一种称为K-SHAP的策略聚类算法,该算法可依据智能体策略对匿名状态-动作对进行分组学习。我们将问题建模为模仿学习任务,学习一个能够模仿不同环境状态下所有智能体行为的全局策略。通过一种加性特征归因方法SHAP,我们利用该全局策略解释每个匿名观测。最后,通过对解释结果进行聚类,我们能够识别不同智能体策略并据此分组观测。我们在合成的模拟市场数据和真实金融数据集上评估了该方法。实验结果表明,我们的方法在识别不同智能体策略方面显著且稳定优于现有方法。