Intelligent Agents and Causal Inference: Enhancing Decision-Making through Causal Reasoning
Abstract
:1. Introduction
2. Materials and Methods
2.1. Task Design
2.2. Scenario Design and Virtual Environment Configuration
- Path: S-A-C-E-H-K-T
- Path: S-B-D-E-H-K-T
- Path: S-A-C-F-H-K-T
- Path: S-B-D-G-H-K-T
- Path: S-A-C-F-I-K-T
- Path: S-B-D-G-J-K-T
- Path: S-B-D-G-J-M-N-T
2.3. Development of Explorer (EBOT) and Guardian (GBOT) Agents
2.3.1. Guardian Agent (GBOT)
Behavior Model
Algorithm 1: Logic process of GBOT |
2.3.2. Explorer Agent (EBOT)
Behavior Model
Algorithm 2: EBOT—Uninformed search |
Algorithm 3: EBOT—Informed search |
2.4. Data Collection
2.5. Implementation of Causal Agent (CBOT)
2.5.1. Causal Inference
2.5.2. Conditional Probability Distribution (CPD)
- : Represents the probability of event A occurring given that event B has already occurred.
- : Is the probability of both events A and B occurring simultaneously.
- : Is the probability of event B occurring, without any additional conditions.
- What would happen if the GBOT could both see and listen?
- What would happen if the GBOT could see but not listen?
- What would happen if the GBOT could listen but not see?
- N: Number of samples.
- : Outcome without treatment for sample i.
- : Outcome with treatment for sample i.
- i: Index representing individual samples.
2.5.3. Behavior Model
3. Results and Discussion
3.1. Causal Inference
3.2. Performance Evaluation of CBOT
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
API | Application Programming Interface |
ATE | Average Treatment Effect |
BDI | Beliefs Desires Intentions |
CBOT | Causal BOT |
CPD | Conditional Probability Distribution |
EBOT | Explorer BOT |
GBOT | Guard BOT |
SCM | Structural Causal Model |
CICM | Causal Inference Communication Model |
References
- Zhao, Y.; Borovikov, I.; de Mesentier Silva, F.; Beirami, A.; Rupert, J.; Somers, C.; Harder, J.; Kolen, J.; Pinto, J.; Pourabolghasem, R.; et al. Winning Is Not Everything: Enhancing Game Development With Intelligent Agents. IEEE Trans. Games 2020, 12, 199–212. [Google Scholar] [CrossRef]
- Palanisamy, P. Multi-agent connected autonomous driving using deep reinforcement learning. In Proceedings of the International Joint Conference on Neural Networks (IJCNN), Glasgow, UK, 19–24 July 2020; pp. 1–7. [Google Scholar]
- Lei, L.; Tan, Y.; Zheng, K.; Liu, S.; Zhang, K.; Shen, X. Deep reinforcement learning for autonomous internet of things: Model, applications and challenges. IEEE Commun. Surv. Tutor. 2020, 22, 1722–1760. [Google Scholar] [CrossRef]
- Russell, S.J. Artificial Intelligence a Modern Approach; Pearson Education, Inc.: London, UK, 2010. [Google Scholar]
- Adadi, A.; Berrada, M. Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI). IEEE Access 2018, 6, 52138–52160. [Google Scholar] [CrossRef]
- Maes, S.; Meganck, S.; Manderick, B. Inference in multi-agent causal models. Int. J. Approx. Reason. 2007, 46, 274–299. [Google Scholar] [CrossRef]
- Chakraborti, T.; Kulkarni, A.; Sreedharan, S.; Smith, D.E.; Kambhampati, S. Explicability? Legibility? Predictability? Transparency? Privacy? Security? The emerging landscape of interpretable agent behavior. In Proceedings of the International Conference on Automated Planning and Scheduling, ICAPS, Berkeley, CA, USA, 11–15 July 2019; pp. 86–96. [Google Scholar] [CrossRef]
- Neufeld, E.; Kristtorn, S. Does non-correlation imply non-causation? Int. J. Approx. Reason. 2007, 46, 257–273. [Google Scholar] [CrossRef]
- Jezic, G.; Kusek, M.; Lovrek, I.; Howlett, R.J.; Jain, L.C. Preface. Adv. Intell. Syst. Comput. 2014, 296, 5–6. [Google Scholar] [CrossRef]
- Meganck, S.; Maes, S.; Manderick, B.; Leray, P. Distributed learning of multi-agent causal models. In Proceedings of the IEEE/WIC/ACM International Conference on Intelligent Agent Technology, IAT’05, Compiegne, France, 19–22 September 2005; Volume 2005, pp. 285–288. [Google Scholar] [CrossRef]
- Dasgupta, I.; Wang, J.; Chiappa, S.; Mitrovic, J.; Ortega, P.; Raposo, D.; Hughes, E.; Battaglia, P.; Botvinick, M.; Kurth-Nelson, Z. Causal Reasoning from Meta-reinforcement Learning. arXiv 2019, arXiv:1901.08162. [Google Scholar]
- Zhang, X.; Liu, Y.; Li, W.; Gong, C. Pruning the Communication Bandwidth between Reinforcement Learning Agents through Causal Inference: An Innovative Approach to Designing a Smart Grid Power System. Sensors 2022, 22, 7785. [Google Scholar] [CrossRef] [PubMed]
- Miao, C.; Goh, A.; Miao, Y.; Yang, Z. A dynamic inference model for intelligent agents. Int. J. Softw. Eng. Knowl. Eng. 2001, 11, 509–528. [Google Scholar] [CrossRef]
- Ceballos, H.G.; Cantu, F.J. Modelling intelligent agents through causality theory. In Proceedings of the 6th Mexican International Conference on Artificial Intelligence, Special Session—MICAI 2007, Aquascalientes, Mexico, 4–10 November 2007; pp. 201–210. [Google Scholar] [CrossRef]
- Mascardi, V.; Demergasso, D.; Ancona, D. Languages for programming BDI-style agents: An overview. In Proceedings of the WOA 2005—6th AI*IA/TABOO Joint Workshop “From Objects to Agents”: Simulation and Formal Analysis of Complex Systems, Camerino, Italy, 14–16 November 2005; pp. 9–15. [Google Scholar]
- Jensen, D.D. Improving Causal Inference by Increasing Model Expressiveness. In Proceedings of the 35th AAAI Conference on Artificial Intelligence, AAAI 2021, Virtual, 2–9 February 2021; Volume 35, pp. 15053–15057. [Google Scholar] [CrossRef]
- Renz, J.; Ge, X.Y.; Verma, R.; Zhang, P. Angry birds as a challenge for artificial intelligence. In Proceedings of the 30th AAAI Conference on Artificial Intelligence, AAAI 2016, Phoenix, AZ, USA, 12–17 February 2016; pp. 4338–4339. [Google Scholar] [CrossRef]
- Tziortziotis, N.; Papagiannis, G.; Blekas, K. A Bayesian Ensemble Regression Framework on the Angry Birds Game. IEEE Trans. Comput. Intell. AI Games 2016, 8, 104–115. [Google Scholar] [CrossRef]
- Epic Games. Unreal Engine. Available online: https://www.unrealengine.com/es-ES (accessed on 12 June 2023).
- Gemrot, J.; Kadlec, R.; Bida, M.; Burkert, O.; Pibil, R.; Havlicek, J.; Zemcak, L.; Simlovic, J.; Vansa, R.; Stolba, M.; et al. Pogamut 3 Can Assist Developers in Building AI (Not Only) for Their Videogame Agents. In Agents for Games and Simulations: Trends in Techniques, Concepts and Design; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7522, pp. 1–15. [Google Scholar]
- Adams, D. Unreal Tournament 2004 Review Does Epic’s Latest Do the Series Proud? Available online: https://www.ign.com/articles/2004/03/12/unreal-tournament-2004-review (accessed on 29 May 2023).
- Pearl, J.; Glymour, M.; Jewell, N.P. Causal Inference in Statistics: A Primer; John Wiley & Sons Ltd.: Chichester, UK, 2016; ISBN 978-1-119-18686-1. [Google Scholar]
- Pearl, J.; Mackenzie, D. The Book of Why, 1st ed.; Basic Books: New York, NY, USA, 2018. [Google Scholar]
- Murphy, K.P. Machine Learning: A Probabilistic Perspective; The MIT Press: Cambridge, MA, USA, 2012; Volume 16, pp. 1–1098. [Google Scholar]
- Pawlowski, N.; Castro, D.C.; Glocker, B. Deep structural causal models for tractable counterfactual inference. In Proceedings of the 34th International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 6–12 December 2020. [Google Scholar]
- Ankan, A.; Panda, A. pgmpy: Probabilistic graphical models using python. In Proceedings of the 14th Python in Science Conference (SCIPY 2015), Austin, TX, USA, 6–12 July 2015. [Google Scholar]
- Hernán, M.A.; Robins, J.M. Causal Inference: What If, 1st ed.; Taylor & Francis Group: Abingdon, UK, 2020; p. 312. [Google Scholar]
- Beaumont, P.; Horsburgh, B.; Pilgerstorfer, P.; Droth, A.; Oentaryo, R.; Ler, S.; Nguyen, H.; Ferreira, G.A.; Patel, Z.; Leong, W. CausalNex. Available online: https://github.com/mckinsey/causalnex (accessed on 4 April 2023).
- Stephenson, M.; Renz, J. Creating a hyper-agent for solving angry birds levels. In Proceedings of the 13th AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, AIIDE 2017, Snowbird, UT, USA, 5–9 October 2017; pp. 234–240. [Google Scholar] [CrossRef]
Label | Value | Description |
---|---|---|
BOT | [0… 1199] | The starting number that identifies EBOT |
C | [1… 7] | The path taken by the EBOT |
T_Nodes | [1… path_length] | The total number of nodes along the path |
T_Visited | [1… path_length] | The number of nodes the explorer visited |
Can_see | [0, 1] | Can GBOT see? |
Can_listen | [0, 1] | Can GBOT listen? |
Outcome | [0, 1] | Did EBOT complete the task? |
L | L(0) | L(0) | L(1) | L(1) |
---|---|---|---|---|
S | S(0) | S(1) | S(0) | S(1) |
Y(0) | 0.5 | 0.8204 | 0.0 | 1.0 |
Y(1) | 0.5 | 0.1795 | 1.0 | 0.0 |
Agent | Logic | Successes | Failures | Success Rate | Failure Rate | Energy (Success) | Energy (Failure) |
---|---|---|---|---|---|---|---|
EBOT-US a | Random search | 75 | 175 | 30 | 70 | 76.39 | 49.5 |
EBOT-IS b | A* | 198 | 52 | 79.2 | 20.8 | 37.7 | 84.9 |
CBOT | Causal inference | 205 | 45 | 82 | 18 | 35.4 | 40.8 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Vélez Bedoya, J.I.; González Bedia, M.; Castillo Ossa, L.F. Intelligent Agents and Causal Inference: Enhancing Decision-Making through Causal Reasoning. Appl. Sci. 2024, 14, 3818. https://doi.org/10.3390/app14093818
Vélez Bedoya JI, González Bedia M, Castillo Ossa LF. Intelligent Agents and Causal Inference: Enhancing Decision-Making through Causal Reasoning. Applied Sciences. 2024; 14(9):3818. https://doi.org/10.3390/app14093818
Chicago/Turabian StyleVélez Bedoya, Jairo Iván, Manuel González Bedia, and Luis Fernando Castillo Ossa. 2024. "Intelligent Agents and Causal Inference: Enhancing Decision-Making through Causal Reasoning" Applied Sciences 14, no. 9: 3818. https://doi.org/10.3390/app14093818
APA StyleVélez Bedoya, J. I., González Bedia, M., & Castillo Ossa, L. F. (2024). Intelligent Agents and Causal Inference: Enhancing Decision-Making through Causal Reasoning. Applied Sciences, 14(9), 3818. https://doi.org/10.3390/app14093818