Statistical runtime verification of agent-based simulations

As a consequence of the growing adoption of agent-based simulations as decision making tools in various (potentially also critical) areas, questions of veracity and validity become increasingly important. In general software and hardware development, formal verification – particularly model checking – has been applied successfully to a wide range of problems; due to their immense complexity, however, agent-based simulations lend themselves to conventional formal verification only in very simple cases and at a disproportionately high cost. The purpose of this work is to address this problem and present a statistical runtime verification approach which focusses on the analysis of the temporal behaviour of large-scale probabilistic agent-based simulations. The approach is tailored to the particular mix of characteristics that agent-based simulations typically exhibit: large populations, randomness, heterogeneity, temporal boundedness and the existence of multiple observational levels. It combines the ideas of runtime verification and statistical model checking and allows for the temporal verification of simulations with hundreds or thousands of constituents and probabilistic state transitions. Instead of requiring a formal model, verification is performed upon traces of the original simulation obtained through repeated execution. Properties are checked on-the-fly, i.e. during the execution of the simulation, which is achieved by interleaving simulation and verification. Evaluation is lazy, i.e. a simulation step is performed only if the property has not already been satisfied or refuted. This reduces the amount of simulation to a minimum and restricts state space exploration to the smallest fragment necessary for finding a definite answer to the given property. Verification results are approximate, but the precision is clearly quantifiable and adjustable by varying the number of simulation runs.

[1]  D. M. V. Hesteren Evolutionary Game Theory , 2017 .

[2]  Bengt Jonsson,et al.  A logic for reasoning about time and reliability , 1990, Formal Aspects of Computing.

[3]  Moshe Y. Vardi Automata-Theoretic Model Checking Revisited , 2007, VMCAI.

[4]  Michael Wooldridge,et al.  Model checking multi-agent systems with MABLE , 2002, AAMAS '02.

[5]  Julie A. Adams,et al.  Multiagent Systems: A Modern Approach to Distributed Artificial Intelligence , 2001, AI Mag..

[6]  Wai Kin Chan,et al.  Agent-based discrete-event hybrid space modeling approach for transportation evacuation simulation , 2011, Proceedings of the 2011 Winter Simulation Conference (WSC).

[7]  S. Weidenschilling,et al.  A plurality of worlds , 1991, Nature.

[8]  Bertrand Meyer,et al.  Applying 'design by contract' , 1992, Computer.

[9]  Klaus Schneider,et al.  An Asymptotically Correct Finite Path Semantics for LTL , 2012, LPAR.

[10]  Alessio Lomuscio,et al.  Automatic verification of parameterised multi-agent systems , 2013, AAMAS.

[11]  Jonathan Jacky,et al.  The Way of Z: Practical Programming with Formal Methods , 1996 .

[12]  Martin Leucker,et al.  Don't Know in Probabilistic Systems , 2006, SPIN.

[13]  Alessio Lomuscio,et al.  MCMAS: A Model Checker for the Verification of Multi-Agent Systems , 2009, CAV.

[14]  Peter McBurney,et al.  Multi-agent System Specification Using TCOZ , 2005, MATES.

[15]  N. Gilbert,et al.  Artificial Societies: The Computer Simulation of Social Life , 1995 .

[16]  Michael Luck,et al.  Reachability analysis for agent-based simulations , 2011 .

[17]  Peter Menzies,et al.  Counterfactual Theories of Causation , 2001 .

[18]  Mahesh Viswanathan,et al.  Runtime Assurance Based On Formal Specifications , 1999, PDPTA.

[19]  J. Pearl Causality: Models, Reasoning and Inference , 2000 .

[20]  Denis Phan,et al.  Agent-Based Models and Simulations in Economics and Social Sciences: From Conceptual Exploration to Distinct Ways of Experimenting , 2010, J. Artif. Soc. Soc. Simul..

[21]  Peter McBurney,et al.  A Novel Method for Strategy Acquisition and Its Application to a Double-Auction Market Game , 2010, IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics).

[22]  P. Suppes A Probabilistic Theory Of Causality , 1970 .

[23]  W. Hoeffding Probability Inequalities for sums of Bounded Random Variables , 1963 .

[24]  Ricki G. Ingalls,et al.  Introduction to simulation , 2013, 2013 Winter Simulations Conference (WSC).

[25]  Dov M. Gabbay,et al.  The Declarative Past and Imperative Future: Executable Temporal Logic for Interactive Systems , 1987, Temporal Logic in Specification.

[26]  Graham K. Rand,et al.  Quantitative Applications in the Social Sciences , 1983 .

[27]  P. Hedström,et al.  Causal Mechanisms in the Social Sciences , 2010 .

[28]  R. Leombruni,et al.  Why are economists sceptical about agent-based simulations? , 2005 .

[29]  Peter Norvig,et al.  Artificial Intelligence: A Modern Approach , 1995 .

[30]  Faculty of Computing, Engineering and Mathematical Sciences, , 2022 .

[31]  B. D. Ripley,et al.  SELECTING AMONGST LARGE CLASSES OF MODELS , 2004 .

[32]  Alessio Lomuscio,et al.  Parallel Model Checking for Temporal Epistemic Logic , 2010, ECAI.

[33]  Wojciech Penczek,et al.  Partial order reductions for model checking temporal epistemic logics over interleaved multi-agent systems , 2010, AAMAS.

[34]  M. Brian Blake,et al.  Agent-based simulation for UAV swarm mission planning and execution , 2013, SpringSim.

[35]  R. Temam,et al.  Navier-Stokes equations: theory and numerical analysis: R. Teman North-Holland, Amsterdam and New York. 1977. 454 pp. US $45.00 , 1978 .

[36]  R. Pargetter,et al.  Metaphysics of causation , 1990 .

[37]  Clare Dixon,et al.  Formal Verification of Probabilistic Swarm Behaviours , 2010, ANTS Conference.

[38]  Pierre Wolper,et al.  Simple on-the-fly automatic verification of linear temporal logic , 1995, PSTV.

[39]  A. W. Roscoe Understanding Concurrent Systems , 2010, Texts in Computer Science.

[40]  John Derrick,et al.  Refinement and verification of concurrent systems specified in Object-Z and CSP , 1997, First IEEE International Conference on Formal Engineering Methods.

[41]  Scott E. Page,et al.  Aggregation in agent-based models of economies , 2012, The Knowledge Engineering Review.

[42]  Joshua M. Epstein,et al.  Remarks on the Foundations of Agent-Based Generative Social Science , 2012 .

[43]  Jack P. C. Kleijnen,et al.  EUROPEAN JOURNAL OF OPERATIONAL , 1992 .

[44]  Ronald Fagin,et al.  A formal model of knowledge, action, and communication in distributed systems: preliminary report , 1985, PODC '85.

[45]  Eli Upfal,et al.  Probability and Computing: Randomized Algorithms and Probabilistic Analysis , 2005 .

[46]  Michael Wooldridge,et al.  Tractable multiagent planning for epistemic goals , 2002, AAMAS '02.

[47]  Gregory R. Madey,et al.  Agent-based simulation of cooperative hunting with UAVs , 2013, SpringSim.

[48]  Wojciech Penczek,et al.  Bounded model checking for knowledge and real time , 2005, AAMAS '05.

[49]  Andrew William Roscoe,et al.  The Theory and Practice of Concurrency , 1997 .

[50]  Mohamed Jmaiel,et al.  Specification and verification of multi-agent applications using temporal Z , 2004, Proceedings. IEEE/WIC/ACM International Conference on Intelligent Agent Technology, 2004. (IAT 2004)..

[51]  Amir Pnueli,et al.  Algorithmic Verification of Linear Temporal Logic Specifications , 1998, ICALP.

[52]  Jim Woodcock,et al.  Using Z - specification, refinement, and proof , 1996, Prentice Hall international series in computer science.

[53]  Amir Pnueli,et al.  PSL Model Checking and Run-Time Verification Via Testers , 2006, FM.

[54]  G. Nigel Gilbert,et al.  Simulation for the social scientist , 1999 .

[55]  Zohar Manna,et al.  Temporal verification of reactive systems - safety , 1995 .

[56]  Jin Song Dong,et al.  Blending Object-Z and Timed CSP: an introduction to TCOZ , 1998, Proceedings of the 20th International Conference on Software Engineering.

[57]  Hanêne Ben-Abdallah,et al.  Formally specified monitoring of temporal properties , 1999, Proceedings of 11th Euromicro Conference on Real-Time Systems. Euromicro RTS'99.

[58]  Arnon Avron,et al.  What is relevance logic? , 2014, Ann. Pure Appl. Log..

[59]  Jane Hillston,et al.  A compositional approach to performance modelling , 1996 .

[60]  Allen Newell,et al.  SOAR: An Architecture for General Intelligence , 1987, Artif. Intell..

[61]  Axel Legay,et al.  Statistical Model Checking: An Overview , 2010, RV.

[62]  Kenneth L. McMillan,et al.  Symbolic model checking: an approach to the state explosion problem , 1992 .

[63]  Mariam Kiran,et al.  FLAME: simulating large populations of agents on parallel hardware architectures , 2010, AAMAS.

[64]  Valentin Goranko,et al.  Logic in Computer Science: Modelling and Reasoning About Systems , 2007, J. Log. Lang. Inf..

[65]  Paulo Salem da Silva,et al.  An Approach for the Verification of Multi-agent Systems by Formally Guided Simulations , 2013, 2013 IEEE/WIC/ACM International Joint Conferences on Web Intelligence (WI) and Intelligent Agent Technologies (IAT).

[66]  Clare Dixon,et al.  Analysing robot swarm behaviour via probabilistic model checking , 2012, Robotics Auton. Syst..

[67]  Craig W. Reynolds Flocks, herds, and schools: a distributed behavioral model , 1987, SIGGRAPH.

[68]  Russell R. Barton,et al.  Experimental design for simulation , 2003, Proceedings of the 2003 Winter Simulation Conference, 2003..

[69]  Raymond R. Hill,et al.  A Survey of Agent-Based Modeling Practices (January 1998 to July 2008) , 2009, J. Artif. Soc. Soc. Simul..

[70]  Arthur C. Graesser,et al.  Is it an Agent, or Just a Program?: A Taxonomy for Autonomous Agents , 1996, ATAL.

[71]  Arndt von Staa,et al.  Testing & Debugging Multi-Agent Systems: A State of the Art Report , 2006 .

[72]  Jie Chen,et al.  Strategies for Energy Optimisation in a Swarm of Foraging Robots , 2006, Swarm Robotics.

[73]  Amir Pnueli,et al.  On the Merits of Temporal Testers , 2008, 25 Years of Model Checking.

[74]  Martin Leucker,et al.  A brief account of runtime verification , 2009, J. Log. Algebraic Methods Program..

[75]  Michael Luck,et al.  Verification & Validation of Agent-Based Simulations using Approximate Model Checking , 2013 .

[76]  Michael Luck,et al.  A Formal Framework for Agency and Autonomy , 1995, ICMAS.

[77]  Nicolas Markey,et al.  Temporal logic with past is exponentially more succinct, Concurrency Column , 2003, Bull. EATCS.

[78]  Judea Pearl,et al.  Probabilities Of Causation: Three Counterfactual Interpretations And Their Identification , 1999, Synthese.

[79]  Bud Mishra,et al.  The Temporal Logic of Causal Structures , 2009, UAI.

[80]  Judea Pearl,et al.  What Counterfactuals Can Be Tested , 2007, UAI.

[81]  François Fages,et al.  On the Analysis of Numerical Data Time Series in Temporal Logic , 2007, CMSB.

[82]  Michael J. B. Krieger,et al.  The call of duty: Self-organised task allocation in a population of up to twelve mobile robots , 2000, Robotics Auton. Syst..

[83]  Peter McBurney,et al.  Nonstandard conditionally specified models for nonignorable missing data , 2016, Proceedings of the National Academy of Sciences.

[84]  Michael J. North,et al.  Tutorial on Agent-Based Modeling and Simulation PART 2: How to Model with Agents , 2006, Proceedings of the 2006 Winter Simulation Conference.

[85]  W. David Kelton Statistical issues in simulation , 1996, Winter Simulation Conference.

[86]  Paul Gastin,et al.  Fast LTL to Büchi Automata Translation , 2001, CAV.

[87]  Bruce Edmonds,et al.  Errors and Artefacts in Agent-Based Modelling , 2009, J. Artif. Soc. Soc. Simul..

[88]  Petri Ylikoski,et al.  Generative Explanation and Individualism in Agent-Based Simulation , 2013 .

[89]  Nigel Gilbert,et al.  When Does Social Simulation Need Cognitive Models , 2005 .

[90]  Samik Raychaudhuri,et al.  Introduction to Monte Carlo simulation , 2008, 2008 Winter Simulation Conference.

[91]  Thomas Hérault,et al.  Approximate Probabilistic Model Checking , 2004, VMCAI.

[92]  Robert E. Marks,et al.  Validating Simulation Models: A General Framework and Four Applied Examples , 2007 .

[93]  David F. Midgley,et al.  Building and assurance of agent-based models: An example and challenge to the field , 2007 .

[94]  Sophie Papst,et al.  Computational Methods For Fluid Dynamics , 2016 .

[95]  Barbara Messing,et al.  An Introduction to MultiAgent Systems , 2002, Künstliche Intell..

[96]  Marta Z. Kwiatkowska,et al.  PRISM: Probabilistic Symbolic Model Checker , 2002, Computer Performance Evaluation / TOOLS.

[97]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[98]  Graeme Smith,et al.  A fully abstract semantics of classes for Object-Z , 1995, Formal Aspects of Computing.

[99]  S. Salthe Varieties of emergence , 1991 .

[100]  Phil McMinn,et al.  Towards the Automatic Identification of Faulty Multi-Agent Based Simulation Runs Using MASTER , 2012, MABS.

[101]  H. Van Dyke Parunak,et al.  Agent-Based Modeling vs. Equation-Based Modeling: A Case Study and Users' Guide , 1998, MABS.

[102]  Gerard J. Holzmann,et al.  The SPIN Model Checker - primer and reference manual , 2003 .

[103]  Robert E. Shannon,et al.  Introduction to the art and science of simulation , 1998, 1998 Winter Simulation Conference. Proceedings (Cat. No.98CH36274).

[104]  José Manuel Galán,et al.  Techniques to Understand Computer Simulations: Markov Chain Analysis , 2009, J. Artif. Soc. Soc. Simul..

[105]  Ronald Fagin,et al.  Reasoning about knowledge , 1995 .

[106]  Andrew Hinton,et al.  PRISM: A Tool for Automatic Verification of Probabilistic Systems , 2006, TACAS.

[107]  Jin Song Dong,et al.  Timed Communicating Object Z , 2000, IEEE Trans. Software Eng..

[108]  Alessio Lomuscio,et al.  Model checking knowledge, strategies, and games in multi-agent systems , 2006, AAMAS '06.

[109]  M. Macy,et al.  FROM FACTORS TO ACTORS: Computational Sociology and Agent-Based Modeling , 2002 .

[110]  Hongyang Qu,et al.  Assume-Guarantee Verification for Probabilistic Systems , 2010, TACAS.

[111]  Nicholas R. Jennings,et al.  Intelligent agents: theory and practice , 1995, The Knowledge Engineering Review.

[112]  Jacques Ferber,et al.  Environments for Multiagent Systems State-of-the-Art and Research Challenges , 2004, E4MAS.

[113]  Clemens Fischer CSP-OZ: a combination of object-Z and CSP , 1997 .

[114]  Michael Wooldridge,et al.  The Belief-Desire-Intention Model of Agency , 1998, ATAL.

[115]  A. Koller,et al.  Speech Acts: An Essay in the Philosophy of Language , 1969 .

[116]  F. Hemez Verifying and Validating Simulation Models , 2015 .

[117]  Ron Koymans,et al.  Specifying real-time properties with metric temporal logic , 1990, Real-Time Systems.

[118]  Annie Waldherr,et al.  Communicating Social Simulation Models to Sceptical Minds , 2013, J. Artif. Soc. Soc. Simul..

[119]  Robin Milner,et al.  Communication and concurrency , 1989, PHI Series in computer science.

[120]  Lawrence Leemis Simulation input modeling , 1999, WSC '99.

[121]  Robert G. Sargent,et al.  Statistical analysis of simulation output data , 1976, SIML.

[122]  Jack P. C. Kleijnen,et al.  Validation of models: statistical techniques and data availability , 1999, WSC '99.

[123]  Michael J. North,et al.  AGENT-BASED MODELING AND SIMULATION: DESKTOP ABMS , 2007 .

[124]  J. Michael Spivey,et al.  The Z notation - a reference manual , 1992, Prentice Hall International Series in Computer Science.

[125]  Graeme Smith,et al.  A Semantic Integration of Object-Z and CSP for the Specification of Concurrent Systems , 1997, FME.

[126]  T. Schelling Models of Segregation , 1969 .

[127]  Radu Grosu,et al.  Monte Carlo Model Checking , 2005, TACAS.

[128]  Alessio Lomuscio,et al.  A Cutoff Technique for the Verification of Parameterised Interpreted Systems with Parameterised Environments , 2013, IJCAI.

[129]  John H. Miller,et al.  Complex Adaptive Systems: An Introduction to Computational Models of Social Life (Princeton Studies in Complexity) , 2007 .

[130]  Graeme Smith,et al.  The Object-Z Specification Language , 1999, Advances in Formal Methods.

[131]  Jamal Bentahar,et al.  Model Checking Epistemic and Probabilistic Properties of Multi-agent Systems , 2011, IEA/AIE.

[132]  Nigel Gilbert,et al.  Agent-based social simulation: dealing with complexity , 2005 .

[133]  Holger Schlingloff,et al.  Online Monitoring of Distributed Systems with a Five-Valued LTL , 2014, 2014 IEEE 44th International Symposium on Multiple-Valued Logic.

[134]  Charles M. Macal,et al.  Tutorial on agent-based modelling and simulation , 2005, Proceedings of the Winter Simulation Conference, 2005..

[135]  Richard Vaughan,et al.  Massively multi-robot simulation in stage , 2008, Swarm Intelligence.

[136]  Russell R. Barton Designing simulation experiments , 2004, Proceedings of the 2004 Winter Simulation Conference, 2004..

[137]  Grigore Rosu,et al.  Runtime Verification of C Memory Safety , 2009, RV.

[138]  Paul Windrum,et al.  Empirical Validation of Agent-Based Models: Alternatives and Prospects , 2007, J. Artif. Soc. Soc. Simul..

[139]  David Hume A Treatise of Human Nature: Being an Attempt to introduce the experimental Method of Reasoning into Moral Subjects , 1972 .

[140]  Alex Schmid What is the Truth of Simulation? , 2005, J. Artif. Soc. Soc. Simul..

[141]  Wenji Mao,et al.  Agent-Based Social Simulation and Modeling in Social Computing , 2008, ISI Workshops.

[142]  Joshua M. Epstein,et al.  Growing Artificial Societies: Social Science from the Bottom Up , 1996 .

[143]  Sean Luke,et al.  MASON : A Multi-Agent Simulation Environment , 2008 .