Query caching in agent programming languages

Natasha Alechina, Tristan Behrens, Koen V. Hindriks, Brian Logan

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review


Agent programs are increasingly widely used for large scale, time critical applications. In developing such applications, the performance of the agent platform is a key concern. Many logic-based BDI-based agent programming languages rely on inferencing over some underlying knowledge representation. While this allows the development of flexible, declarative programs, repeated inferencing triggered by queries to the agent's knowledge representation can result in poor performance. In this paper we present an approach to query caching for agent programming languages. Our approach is motivated by the observation that agents repeatedly perform queries against a database of beliefs and goals to select possible courses of action. Caching the results of previous queries (memoization) is therefore likely to be beneficial. We develop an abstract model of the performance of a logic-based BDI agent programming language. Using our model together with traces from typical agent programs, we quantify the possible performance improvements that can be achieved by memoization. Our results suggest that memoization has the potential to significantly increase the performance of logic-based agent platforms.

Original languageEnglish
Title of host publicationProgramming Multi-Agent Systems - 10th International Workshop, ProMAS 2012, Revised Selected Papers
Number of pages15
Publication statusPublished - 5 Sep 2013
Externally publishedYes
Event10th International Workshop on Programming Multi-Agent Systems, ProMAS 2012 - Valencia, Spain
Duration: 5 Jun 20125 Jun 2012

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7837 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Conference10th International Workshop on Programming Multi-Agent Systems, ProMAS 2012


Dive into the research topics of 'Query caching in agent programming languages'. Together they form a unique fingerprint.

Cite this