Agent based simulation using graph processing frameworks
Agent-Based Simulations have become a powerful tool for modeling complex systems with interacting agents, especially in the fields of Economics, Biology, and the Social Sciences. However, a key limitation of Agent-Based Simulation frameworks used today, is its inefficiency in handling large-scale...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2024
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/181060 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-181060 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1810602024-11-13T02:21:57Z Agent based simulation using graph processing frameworks Ang, Anson Wai Kit Cai Wentong College of Computing and Data Science Kwak Jaeyoung ASWTCAI@ntu.edu.sg Computer and Information Science Agent-Based Simulations have become a powerful tool for modeling complex systems with interacting agents, especially in the fields of Economics, Biology, and the Social Sciences. However, a key limitation of Agent-Based Simulation frameworks used today, is its inefficiency in handling large-scale simulations. Traditional Agent-Based Simulation often struggle with performance issues, particularly when simulating large networks or populations. For instance, traffic simulations with thousands of vehicles or social network simulations with millions of agents can result in extensive running times and resource consumption. One of the main reasons for these performance bottlenecks is the lack of optimization in managing the dynamic and interconnected nature of agent interactions. In many Agent-Based Simulation implementations, agents and their interactions are treated as discrete events, leading to inefficiencies when scaling to larger systems. These inefficiencies are worsened by scenarios that require frequent updates. An example would be contagion models in epidemiology, where interactions change rapidly over time. On the flip side, Graph processing frameworks provide a promising solution to opti- mize Agent-Based Simulations. By representing agents as nodes and interactions as edges in a graph, these frameworks can leverage advanced graph algorithms and the power of parallel processing to significantly reduce computational overhead. Graph- based Agent-Based Simulation enables efficient querying, updating, and processing of complex networks, leading to significant performance improvements. Thus, the shift to graph-based Agent-Based Simulation is critical for up-scaling simulations to han- dle real-world applications involving millions of agents. By harnessing the power of distributed computing and graph processing techniques, Agent-Based Simulations can i reach greater heights and in turn, become viable in modeling real-world applications across various domains. In light of these observations, this report aims to explore methods to improve the performance of Agent-Based Simulations and to provide insights on the difference in performance between the generic Agent-Based Simulation approach and a graph processing approach. To accomplish this, a couple of common agent based simulation applications were implemented using both approaches. The performance of these approaches were analysed in terms of time taken across various input sizes. Bachelor's degree 2024-11-13T02:21:56Z 2024-11-13T02:21:56Z 2024 Final Year Project (FYP) Ang, A. W. K. (2024). Agent based simulation using graph processing frameworks. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/181060 https://hdl.handle.net/10356/181060 en application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Computer and Information Science |
spellingShingle |
Computer and Information Science Ang, Anson Wai Kit Agent based simulation using graph processing frameworks |
description |
Agent-Based Simulations have become a powerful tool for modeling complex systems
with interacting agents, especially in the fields of Economics, Biology, and the Social
Sciences. However, a key limitation of Agent-Based Simulation frameworks used
today, is its inefficiency in handling large-scale simulations. Traditional Agent-Based
Simulation often struggle with performance issues, particularly when simulating large
networks or populations. For instance, traffic simulations with thousands of vehicles or
social network simulations with millions of agents can result in extensive running times
and resource consumption. One of the main reasons for these performance bottlenecks
is the lack of optimization in managing the dynamic and interconnected nature of
agent interactions. In many Agent-Based Simulation implementations, agents and their
interactions are treated as discrete events, leading to inefficiencies when scaling to
larger systems. These inefficiencies are worsened by scenarios that require frequent
updates. An example would be contagion models in epidemiology, where interactions
change rapidly over time.
On the flip side, Graph processing frameworks provide a promising solution to opti-
mize Agent-Based Simulations. By representing agents as nodes and interactions as
edges in a graph, these frameworks can leverage advanced graph algorithms and the
power of parallel processing to significantly reduce computational overhead. Graph-
based Agent-Based Simulation enables efficient querying, updating, and processing of
complex networks, leading to significant performance improvements. Thus, the shift
to graph-based Agent-Based Simulation is critical for up-scaling simulations to han-
dle real-world applications involving millions of agents. By harnessing the power of
distributed computing and graph processing techniques, Agent-Based Simulations can
i
reach greater heights and in turn, become viable in modeling real-world applications
across various domains.
In light of these observations, this report aims to explore methods to improve the
performance of Agent-Based Simulations and to provide insights on the difference
in performance between the generic Agent-Based Simulation approach and a graph
processing approach. To accomplish this, a couple of common agent based simulation
applications were implemented using both approaches. The performance of these
approaches were analysed in terms of time taken across various input sizes. |
author2 |
Cai Wentong |
author_facet |
Cai Wentong Ang, Anson Wai Kit |
format |
Final Year Project |
author |
Ang, Anson Wai Kit |
author_sort |
Ang, Anson Wai Kit |
title |
Agent based simulation using graph processing frameworks |
title_short |
Agent based simulation using graph processing frameworks |
title_full |
Agent based simulation using graph processing frameworks |
title_fullStr |
Agent based simulation using graph processing frameworks |
title_full_unstemmed |
Agent based simulation using graph processing frameworks |
title_sort |
agent based simulation using graph processing frameworks |
publisher |
Nanyang Technological University |
publishDate |
2024 |
url |
https://hdl.handle.net/10356/181060 |
_version_ |
1816858961173807104 |