ArticleslgStudy

computer science

Agent-based model

Agent-based model is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Agent-based model rather than just read about it. In short: An agent-based model (ABM) is a computational model for simulating the actions and interactions of an autonomous agent (both individual or collective entities such as organizations or groups) to understand the behavior of a system and what governs its outcomes. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming.

Agent-based model — main illustration
Agent-based model — illustration

Key takeaways

  • Agent-based model belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Agent-based model to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Agent-based model from memory before moving on to harder problems.

Reference excerpt

An agent-based model (ABM) is a computational model for simulating the actions and interactions of an autonomous agent (both individual or collective entities such as organizations or groups) to understand the behavior of a system and what governs its outcomes. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming. Monte Carlo methods are used to understand the stochasticity of these models. Particularly within ecology, an ABM is also called an individual-based model (IBM). A review of literature on individual-based models, agent-based models, and multiagent systems shows that ABMs are used in many scientific domains including biology, ecology, and social science. Agent-based modeling is related to, but distinct from, the concept of a multi-agent system . An agent-based model is a type of microscale model that simulates the simultaneous operations and interactions of multiple agents in an attempt to re-create and predict the appearance of complex phenomena. The process is one of emergence, which some express as "the whole is greater than the sum of its parts". In other words, higher-level system properties emerge from the interactions of lower-level subsystems. Or, macro-scale state changes emerge from micro-scale agent behaviors. Or, simple behaviors (meaning rules followed by agents) generate complex behaviors (meaning state changes at the whole system level). An individual agent is typically characterized as boundedly rational, presumed to be acting in what it perceives as its their own interests, such as reproduction, economic benefit, or social status, using heuristics or simple decision-making rules. An ABM agent may experience "learning", adaptation, and reproduction. An agent-based model is usually composed of (1) numerous agents specified at various scales (typically referred to as agent-granularity), (2) decision-making heuristics, (3) learning rules or adaptive processes,(4) an interaction topology, and (5) an environment. An ABM is typically implemented as a computer simulation, either as custom software or using an ABM toolkit. This software can be then used to test how changes in individual behavior will affect the system's overall behavior.

History The idea of agent-based modeling was developed as a relatively simple concept in the late 1940s. Since it requires computation-intensive procedures, it did not become widespread until the 1990s.

Early developments The history of the agent-based model can be traced back to the Von Neumann machine, a theoretical machine capable of reproduction. The device von Neumann proposed would follow precisely detailed instructions to fashion a copy of itself. The concept was then built upon by von Neumann's friend Stanislaw Ulam, also a mathematician; Ulam suggested that the machine be built on paper, as a collection of cells on a grid. The idea intrigued von Neumann, who drew it up — creating the first of the devices later termed cellular automata. Oliver Selfridge's 1958 Pandemonium - A Paradigm for Learning paper was an important early theorectical contribution in establishing agent orientated architecture, though it used the term metaphorical 'demon' instead of agent. Carl Hewitt 1973 Actor model contained one of the earliest uses of agents as active entities rather than passive structures.

Another advance was introduced by the mathematician John Conway. He constructed the well-known Game of Life. Unlike von Neumann's machine, the Game of Life operated by simple rules in a virtual world in the form of a 2-dimensional checkerboard. The Simula programming language, developed in the mid-1960s and widely implemented by the early 1970s, was the first framework for automating step-by-step agent simulations.

1970s and 1980s: the first models One of the earliest agent-based models in concept was Thomas Schelling's segregation model, which was discussed in his paper "Dynamic Models of Segregation" in 1971. Though Schelling originally used coins and graph paper rather than computers, his models embodied the basic concept of agent-based models as autonomous agents interacting in a shared environment with an observed aggregate, emergent outcome. In the late 1970s, Paulien Hogeweg and Bruce Hesper began experimenting with individual models of ecology. One of their first results was to show that the social structure of bumble-bee colonies emerged as a result of simple rules that govern the behaviour of individual bees. They introduced the ToDo principle, referring to the way agents "do what there is to do" at any given time. In the early 1980s, Robert Axelrod hosted a tournament of Prisoner's Dilemma strategies and had them interact in an agent-based manner to determine a winner. Axelrod would go on to develop many other agent-based models in the field of political science that examine phenomena from ethnocentrism to the dissemination of culture.

By the late 1980s, Craig Reynolds' work on flocking models contributed to the development of some of the first biological agent-based models that contained social characteristics. He tried to model the reality of lively biological agents, known as artificial life, a term coined by Christopher Langton. At the same time, during the 1980s, social scientists, mathematicians, operations researchers, and a scattering of people from other disciplines developed Computational and Mathematical Organization Theory (CMOT). This field grew as a special interest group of The Institute of Management Sciences (TIMS) and its sister society, the Operations Research Society of America (ORSA).

… excerpt ends here. Continue reading the full article.

Illustrations

Agent-based model: Flocking behavior model
Flocking behavior model

Worked examples

Example 1 — a first encounter with Agent-based model

Start with the simplest possible case. Write down what Agent-based model claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Agent-based model before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Agent-based model ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Agent-based model

In research
Agent-based model appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Agent-based model in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Agent-based model is common in secondary-school and first-year university syllabi. It links to neighbouring topics Agent-based model, Artificial life, Complex systems theory, so understanding it makes those chapters shorter.
In everyday life
Look for Agent-based model outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Agent-based model” →

How to study Agent-based model in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Agent-based model means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Agent-based model out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Agent-based model in simple terms?

An agent-based model (ABM) is a computational model for simulating the actions and interactions of an autonomous agent (both individual or collective entities such as organizations or groups) to understand the behavior of a system and what governs its outcomes. It combines elements of game theory…

Why does Agent-based model matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Agent-based model?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Agent-based model.

Tags

  • Agent-based model
  • Artificial life
  • Complex systems theory
  • Methods in sociology
  • Models of computation

Keep exploring