<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Computational
Theory of Multiple-Goal Pursuit: Integrating Goal-Choice and Goal-Striving Processes.”
Journal of Applied Psychology 95</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Goal-driven Situation Awareness Process Based on Predictive Modeling</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yevhen Burov</string-name>
          <email>yevhen.v.burov@lpnu.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>COLINS-2024: 8th International Conference on Computational Linguistics and Intelligent Systems</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Lviv polytechnic National University</institution>
          ,
          <addr-line>12 Bandera str, Lviv,79013</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <volume>2019</volume>
      <issue>6</issue>
      <fpage>66</fpage>
      <lpage>72</lpage>
      <abstract>
        <p>The increasing complexity of information systems and the inherent limitations of the human mind give rise to the need to delegate the tasks of situation assessment to intelligent agents. Classical models of situation awareness process imply sequential, event-driven treating of situation awareness. However, the recent development in cognitive psychology suggests the central role of predictive, generative modeling in human situational awareness process, which confers advantages when compared with sequential process. This article proposes a goal-driven process and architecture of situational aware intelligent agent based on generative, predictive conceptual modeling. The main advantage is the ability to reuse the rich knowledge about previous experiences, which is constantly updated and kept logically consistent. Similarly to human cognition, such approach allows to reconcile the use of patterns from experience with the information coming from the environment and execution feedback resulting in the updates of those patterns and learning. Compared to the BDI proposed agent architecture adds the ability to dynamically react to the changes in the environment, prioritize those changes in the goal system, reuse and modify beliefs as a consistent pattern system in the knowledge base.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Situational awareness</kwd>
        <kwd>intelligent agent</kwd>
        <kwd>artificial intelligence</kwd>
        <kwd>goal system</kwd>
        <kwd>conceptual modeling1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>A highly dynamic world requires humans to quickly assess situations, adapt and use existing
knowledge, make decisions, and perform actions coming from those decisions. Situational
awareness, making predictions, building hypotheses, and checking them against available data
are important parts of human cognition.</p>
      <p>However, the increasing intricacy of the modern world and the inherent limitations of human
mind in promptly and accurately making decisions in complex scenarios give rise to the need to
delegate the task of situation assessment and decision-making to systems of goal-driven
intelligent agents. The incorporation of situation awareness into such systems poses a
noteworthy challenge in the realm of artificial intelligence.</p>
      <p>The major factors, contributing to this challenge are:
• The need to use both prediction and perception of the environment, with reasoning and
modeling the impact of possible actions.
• Being goal-driven while goals provide the agency and autonomy to intelligent agent, help
to select the most important goal to follow in the moment, and actions which are furthering
this goal.
• The need to implement focusing on the small part of the world, related to selected goal.
Shifting attention rather than doing an explicit query and selection of related knowledge.
• Using contextual knowledge.
• The fuzzy nature of knowledge, where the ontology concept can be represented by
multiple prototypes depending on the context. Prototypes are working as initial templates and
0000-0001-8653-1520 (Y. Burov)
© 2024 Copyright for this paper by its authors.</p>
      <p>Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
provide patterns and constraints. Although the mind constructs the actual knowledge model
on top of this.
• The dynamic nature of the environment requires constant updating and validating the
model.</p>
      <p>The recent developments in the understanding of how human cognition works, using
predictive modeling, provide an important insight into the possible organization of
situationaware and goal-driven agents. Existing models of situation – aware systems need to be updated
taking into consideration those developments.</p>
      <p>This article proposes and discusses the updated model of situation-aware system for
goaldriven intelligent agent, centered around predictive conceptual modeling. It consists of
introduction, background research analysis, main part, discussion and conclusion. In the
background analysis part, the insights from cognitive psychology about situational awareness is
analyzed. Likewise, the current understanding of how goals are organized and processed
conceptually is discussed. The Belief-Desires-Intention framework as a classical approach to
model intelligent agents and its application to situational aware systems is described. The
background section is concluded with the analysis of situational aware system models.</p>
      <p>In the main part of the article the architecture of goal-driven situation-aware intelligent agent
is presented. The specific functional modules organization and interaction is discussed in more
detail. In conclusion, the advantages of goal-driven and based on predictive modeling approach
is highlighted along with the directions for further research.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background research</title>
      <sec id="sec-2-1">
        <title>2.1. Cognitive science about predictive situation awareness and conceptual modeling</title>
        <p>
          The recent developments in the understanding of cognitive processes in the human mind could
bring a valuable insight into the area of artificial intelligent systems. After all, this process was
formed as a result of millennia of evolutionary process and represents the most efficient form of
cognition we know now. The notion of concept occupies the central place in our understanding
of cognition [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
        </p>
        <p>
          Concepts themselves are the result of grouping and finding regularities in the world done in
our mind. But once formed we use concepts to build predictive models of the world. Without
concepts we are experientially blind [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ].
        </p>
        <p>
          Concepts give meaning to the world and allow us to reason about it using the networks of
related concepts. Concepts don’t have a fixed meaning or properties. The meaning of concept
changes depending on the context and goal of the person using it. Prototype theory is used to
represent multiple meanings of concept as typical instances of this concept in different contexts.
[
          <xref ref-type="bibr" rid="ref3 ref4">3,4</xref>
          ]. The authors of [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] propose a method allowing to differentiate, retrieve and manage
meanings of concept in different contexts.
        </p>
        <p>Concepts correspond to the object in the real world, but also to the imaginary, abstract objects.
The ability to manipulate abstract concepts is the powerful ability of the human mind, allowing
us to overcome the limitations of our working memory size or information processing speed.</p>
        <p>Therefore, conceptual modeling as the ability to build, and reason with conceptual models is
an efficient way to represent and process information which holds promise also to be
implemented in systems with artificial intelligence.</p>
        <p>
          Predictive modeling is a promising and quickly growing area in intelligent systems area. Thus,
the improved classification methods, based on predictive classification [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] or decomposition [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]
are developed.
        </p>
        <p>
          According to the current understanding of cognitive psychology [
          <xref ref-type="bibr" rid="ref8 ref9">8,9</xref>
          ], the human brain
navigates and assesses the world using predictive modeling. Previously, the process of awareness
was often represented as linear, starting with perception of environment, the interpretation of
data readings, building the model based on those interpretations and available knowledge, and,
finally, making decisions and acting on them.
        </p>
        <p>Predictive models are taken from the memory about previous experiences as a structure of
relevant patterns and dynamically re-constructed (updated) taking in consideration the current
goals and environment characteristics accessible via sensor data. Without previous experience
people are experientially blind and cannot understand the current situation.</p>
        <p>The external data are perceived as a change in the world and this change is reconciled with
predictive model into coherent whole. In the process of such reconciliation model could be
changed. Such reconciliation happens on multiple levels of generality, starting from the most
abstract, general principles and going down into details.</p>
        <p>The use of predictive modeling creates several advantages including faster reaction to changes
in environment and goals, the ability to reason and learn, constantly adapting the patterns to
realworld experiences. The mind constantly creates hypothesis about current context and checks
them against data coming from senses, other communication channels, and the results of
reasoning.</p>
        <p>The insights from the current understanding of human cognitive situation awareness process,
centered around predictive modeling could be used to enhance the models of situational
awareness process in intelligent agents.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Goals and goal systems in human cognition</title>
        <p>
          The implementation of goal-driven behavior is essential for intelligent agents, because
maintaining goal systems allows agents to be autonomous, flexibly prioritize their actions
depending on context. According to dictionary definition [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] goal is “The result or achievement
toward which effort is directed”. Such common definition excludes from the study of goal system
in cognition the negative goals – the projected states of the world which intelligent agent is
actively avoiding (such as injury, destruction, failure). Those kinds of states are structurally like
goals, they are included in goal setting and goal following processes on par with ordinary goals
but have negative motivation – instead of actively reaching the goal, intelligent agent plans and
acts to avoid those states.
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] is proposed another definition of goal, stressing the anticipatory nature of goal and its
influence on the behavior of agent. A goal is an “internal, mental representation that is
anticipatory and can take various formats, and it is used as a set-point in a control-system to drive
the external behavior of an agent for modifying the world”. A goal is not necessarily pursued. An
agent can set a goal and observe passively how it is fulfilled in the world. We will consider goals
as anticipated (desired or undesired) states of the world which intelligent agents strive to reach
(or avoid) through their actions.
        </p>
        <p>
          In goal-related research authors differentiate between abstract and concrete goals. Abstract
goals are formulated generally, some of them could never be achieved. Abstract goals have no
specified plan of achievement. However, they influence the motivation to reach other, dependent
goals. Concrete, perceptual goals are focused on specific actions, often sensory-motor ones [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          The author of [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] introduces the concept of abstract goals, which are not directly
accomplished by existing web services but involve decomposition into achievable goals and
nondeterministic choices by the user. It also presents the concept of Brokered Goals, which specify
achievable goals from a system perspective and serve as the link to semantic web-services
technology.
        </p>
        <p>
          We can also differentiate between final goals, which are the terminal points of some kind of
project and proximate goals, which specify the intermediary states on the path to final goal
achievement. Intention [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] is defined as the next step to take on this path.
        </p>
        <p>The usage of goals assumes the ability to check whether the specific goal was achieved and the
means to assess how far the current state is from the goal-state.</p>
        <p>
          With each goal is associated the measure of motivation [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], specifying how important this
goal is in the current context. Motivation is used to select which goal should be acted on in the
current circumstances. Motivation is defined dynamically based on the current situation, other
goals, experiences, and the internal state of the agent. Motivation for a goal can be derived from
other, dependent goals.
        </p>
        <p>
          Intelligent agents have many interrelated goals, forming goal systems [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. The goal system
looks like an archipelago of goal structures. Some goals are context-dependent, and some
configurations are called out within contexts and situations. Other goals are abstract,
longstanding and are used in strategic planning, project selection, and following opportunities.
        </p>
        <p>Goal systems are actively researched in psychology and computer science [14], aiming to
develop modeling frameworks for better understanding goal setting and goal-following
processes. In [15] a conceptual framework for goal-directed system is proposed.</p>
        <p>Goals are often modeled with Ontologies. An example of such a model is [16]. The paper
demonstrates how goal modeling can be approached starting from a problem domain model
represented by an ontology. Ontological model and a goal model are used to represent
requirements and domain formalization.</p>
        <p>Planning is also part of the goal processing process. It happens dynamically, taking in
consideration current context and goal system. Planning is based on previous knowledge about
following similar goals in similar circumstances. It builds an anticipated trajectory of states from
current state to final state through a sequence of intermediate states. The availability of perceived
trajectory from current state to the other, important state, influences motivation. For example, an
action could be perceived as harmful and avoided, if there’s a perceived sequence of states leading
from the results of this action to undesirable final state (such as injury).</p>
        <p>Overall, the understanding of goal setting and processing process in human cognition provides
valuable insight into the organization of goal handling by intelligent agents.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Modeling goal-driven intelligent agents with Belief-Desire-Intention framework</title>
        <p>BDI (Belief-Desire-Intention) is the dominant framework in the modeling agency and
implementing intelligent agents. The BDI agent model has been the basis for research on
autonomous agents for the past 30 years. The BDI ecosystem is complex, with various agent
architectures, languages, and platforms developed [17].</p>
        <p>The BDI model emphasizes the notion that an intelligent agent's behavior can be modeled by
examining how it processes information (beliefs), what it wants to achieve (desires), and how it
chooses to act (intents).</p>
        <p>Beliefs refer to the agent's perception of the world, including its understanding of the current
situation, available information, and its own internal state. These beliefs are essentially the
agent's model of the environment it operates in.</p>
        <p>Desires encompass the agent's goals, objectives, or preferences. They represent what the agent
wishes to achieve or accomplish in its environment. Desires are often described as a set of
possible states of the world that the agent finds favorable.</p>
        <p>Intents are the agent's planned courses of action to achieve its desires based on its beliefs.
They represent the agent's decision on how to act in response to its current beliefs and desires.
Intents are the bridge between an agent's internal cognition and its external behavior.</p>
        <p>A BDI agent program consists of initial beliefs and plan-rules specifying when a plan can be
used to achieve a goal or respond to changes in beliefs [18]. The execution of a BDI agent follows
a deliberation cycle that involves updating events, beliefs, and intentions, and executing plans.</p>
        <p>Various formalisms are used to represent beliefs in BDI implementations. Symbolic models
such as models using propositional, first-order or modal logics are used to reasoning in
welldefined environments. [19, 20] They are computationally efficient and easy to implement but may
lack the ability to handle uncertainty. They can be too rigid and not well-suited for complex,
dynamic environments.</p>
        <p>Probabilistic models, such as Bayesian networks or Markov decision processes are used when
the agent needs to reason under uncertainty or in stochastic environments. Beliefs are
represented as probabilities. They are excellent for reasoning under uncertainty but can be
computationally intensive. They may require a lot of data for accurate belief representation.</p>
        <p>
          Apart from symbolic and probabilistic models, temporal models [21,22] are used. There are
also approaches using fuzzy logic, ontological models, situational analysis [
          <xref ref-type="bibr" rid="ref11">23, 11</xref>
          ].
        </p>
        <p>The research in BDI framework introduces several kinds of desires (goals). Test goals are used
to check if a condition is true, and different agent programming languages have different
approaches to handling false test goals. Achievement goals can be procedural (goals to do) or
declarative (goals to be), and different agent programming languages support either procedural
or declarative goals. Procedural goals are independent of the agent's beliefs, while declarative
goals are related to the agent's beliefs [17]. Goals are often represented by simple terms or
conjunctions of positive literals, depending on the programming language. The work [18] propose
motives as extensions of BDI agent, expressing motives as an extension of goal concept. In [24]
the graded approach to estimate beliefs, goal in intentions is developed.</p>
        <p>Plans in BDI modeling languages consist of steps such as goals, belief update operations, and
actions. Series-parallel interleaving allows plans to be built incrementally by sequentially and
parallelly composing other plans. Some languages provide finer control over the ordering of
steps, allowing them to be executed in any order or synchronized. Arbitrary interleaving allows
for more fine-grained ordering of steps than series-parallel interleaving. True concurrency in
some languages allows steps to be executed simultaneously, either interleaved or on different
processors.</p>
        <p>In [25] plans are modeled using object -oriented approach as activity diagrams, which are later
translated into specific modeling language.</p>
        <p>Research in BDI framework proposes a large number of developments, reflecting different
aspects of intelligent agents modeling and implementation. However, it lacks the implementation
of complex goal-systems, support of dynamic, contextual interplay of goals and beliefs. The BDI
framework could benefit from the implementation of insights coming from cognitive psychology
about human situational awareness and anticipated, predictive conceptual modeling.</p>
      </sec>
      <sec id="sec-2-4">
        <title>2.4. Situation-aware systems modeling</title>
        <p>According to the definition [26], situational awareness refers to the conscious comprehension
of the immediate surroundings and the ongoing events within it. The concept of situational
awareness encompasses the perception of the various elements present in the environment, the
understanding of their significance and interconnections, and the prediction of their future states.
The investigation of situational awareness falls within the broader domain of data fusion [27].</p>
        <p>The phenomenon of situational awareness encompasses a range of operations, linked to
cognitive ability, including the discernment of relevant stimuli in the surrounding environment,
the identification and interpretation of patterns and objects, the recognition of familiar situations
based on past experiences, the process of logical decision making, and the subsequent execution
of those decisions, the evaluation of the success of actions taken, as well as the adjustment of
knowledge and procedures. The primary objective of a system that is situationally aware is to
make decisions and adjust the behavior of an intelligent agent in response to the dynamic
environment, in accordance with the agent's objectives. Situation-aware systems have been
recently introduced not only in autonomous driving but also in smart buildings and smart cities
[28].</p>
        <p>Several models have been developed to represent the process of situational awareness. These
models can be categorized as process models, functional models, and formal models.</p>
        <p>The early process models, such as John Boyd's Observe-Orient-Decide-Act (OODA) loop or the
Predict-Match-Extract-Search loop [29,30] were developed as a generalization of real-world
situational awareness processes in complex environments, such as the battlefield.</p>
        <p>Functional models are exemplified by the Endsley model [31] and the JDL (Joint Directors of
Laboratories)/DFIG (Data fusion information group) models [32,33].</p>
        <p>There are also investigations that explore different perspectives in the situational awareness
process using various formal frameworks, such as Category theory, generalized information
theory, interpreted systems, ontologies, and specification languages. However, the most widely
accepted framework for conceptualizing the situational awareness process is the functional
JDL/DFIG model. This model, like many other situational awareness process models, follows the
structure of human cognition process.</p>
        <p>The JDL/DFIG model divides the process of situation awareness into five levels [33]:
• level 0. The assessment of signals/features. At this level, signals from various sensors are
gathered and interpreted as input data, representing attributes of measured entities. The
signals undergo processing, and errors in measured data are evaluated.
• level 1. The assessment of entities. The acquired data is interpreted as attributes of
entities from the ontology.
• level 2. The assessment of situations. The entities involved in the current context and their
relationships are analyzed in order to construct a model of the context and detect situations
within this context. This level operates with conceptual models of the environment, context,
and situations.
• level 3. The assessment of impact. Planning actions based on the detected situations,
making decisions, and analyzing the consequences of those decisions.
• level 4. The assessment of performance. Evaluating the correspondence between the
current situation and the goals of the system, analyzing performance, providing feedback to
lower levels of information fusion, and updating models.</p>
        <p>The JDL/DFIG model is continually evolving and undergoing revisions. It is currently
recognized as a component of the data fusion process, which involves integrating multiple data
sources to generate more consistent, accurate, and useful information [34].</p>
        <p>The classical models of situation-awareness process follow the paradigm of ‘smart camera’ –
feedforward perception model, implying that information is first read from the sensors, then
interpreted and built into the model of current context. In the next step this model is analyzed
and decisions pertaining to it are made.</p>
        <p>However, the current understanding of human situation-aware processes stresses the primary
role of predictive modeling. Brain starts with building a model of context based on previous
knowledge and updates it taking into consideration sensor inputs.</p>
        <p>Thus, there’s a need to update situation awareness process models according to the current
understanding of corresponding human processes.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. The model of goal-driven situation aware system</title>
      <sec id="sec-3-1">
        <title>3.1. Modeling system architecture</title>
        <p>We will model situation-aware intelligent agent as a set of interrelated, dynamically constructed
conceptual models processed by corresponding functional modules. (fig. 1)</p>
        <p>For the representation of those models, knowledge graph formalism [35] was chosen. not only
because it is commonly used in conceptual modeling, but also because of the common, conceptual
nature of all models used. Knowledge graph (KG) represents the local agent’s knowledge, stored
in local knowledge base. The vertices of this graph    correspond to concepts in agent ontology
 , and edges    – to relationships between those concepts:</p>
        <p>= (   ,    ) (1)</p>
        <p>To select part of knowledge graph relevant to current context we propose to use attentional
mechanism. Each vertex   of    has weight   that is dynamically recalculated depending on
goals followed, situations detected, environment conditions available. Attentional mechanism
automatically selects interrelated concepts into conceptual model    it works having weights
above certain threshold  ℎ, other concepts being ignored.</p>
        <p>∀  ∈    :   &gt;  ℎ (2)</p>
        <p>The weight assignment function   assigns weights to the groups of related concepts
belonging to patterns    used in current goal or task.</p>
        <p>:    → ℝ (3)
The system has following functional modules (fig.1):
• context processing module (CPM);
• external data processing module (EDPM);
• goal system module (GSM);
• situation detection module (SDM);
• execution module (EM)</p>
        <p>Each functional module works with the part of knowledge graph relevant to the task it is
performing. In this process it uses the knowledge patterns from knowledge base.
influence the next goal processed.</p>
        <p>Environment data processing module monitors the environment with sensors, interprets data
coming from them, updates the Environment model. The Environmental conceptual model is
reconciliated with Contextual model. For example, when a new object is detected by sensors, this
object is added with high weight to contextual model. The new configuration is processed by SDM
and GSM. If no important situations are detected or the change in the attended goals determined,
Otherwise, the system could construct the new contextual model based on the new specified
On the other hand, EDPM follows the requests from CPM about getting additional information
from external data sources. CPM can also change policies of gathering data from sensors,
requiring more specific data, or prioritizing the collection of data for specific objects.</p>
        <p>Goal system module maintains and processes the Goal models. It selects the goals relevant to
the current environment, assesses dynamically the weight of each, selects the most important
goal and builds the plans to reach it starting from the current context.</p>
        <p>In the process of building the plan/intention it uses the knowledge of how similar goals were
followed in similar environments previously. Goal module maintains predictive models for each
followed goals- it can find the chains of intermediary goals, while following the more distant goal.
Goal module updates the contextual model, taking into consideration the environment objects
and relationships relevant to the most important goal and intent as a next step to reach this goal.
It also adds to the contextual model objects which are not present in the environment, but
important for following this goal/intent.</p>
        <p>Let’s consider each functional module and its
interactions with other modules.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Maintaining the system of goals and developing current moment’s intent</title>
        <p>,</p>
        <p>,   )</p>
        <p>Goal system module maintains the set of goals and their relationships for intelligent agent. In
every time moment it selects the most important intent, which becomes a focus of attention and
passes it to the CPM, that constructs the contextual model to support the execution of this intent
in the current environment state.</p>
        <p>Goal system is a set of goals with dependency relationships between them and motivation
function</p>
        <p>which computes the motivations for each goal:</p>
        <p>Goal is formalized as the state in the world, with associated assessment function  
weight   . The state of the world in goal is described as conceptual model, including elements,
belonging to this state    and their status, derived from their properties values and described
(5)
and
(6)
(7)
by a set of conditions</p>
        <p>.</p>
        <sec id="sec-3-2-1">
          <title>Contextual model</title>
        </sec>
        <sec id="sec-3-2-2">
          <title>Assessment function</title>
          <p>The metric of distance between two states/goals   : (   ,    ) → ℝ is also useful when
assessing the dependencies between goals.</p>
          <p>With each goal and relationship weights are associated. The weight of the goal   reflects its
importance and is used to calculate motivation to reach this goal.</p>
          <p>= (   ,</p>
          <p>,   ,   )
allows to evaluate whether in the current state, represented by
the goal is attained:

 : (  
,    , 
) → (
, 
)
The weights of relationships</p>
          <p>reflect how closely dependent two goals    and    as states
of the world are. The dependency relationship can reflect causal, probabilistic or pragmatic
dependency between states. In this way proximate goals obtain their weight from the weight of
the final goal.
process of learning.</p>
          <p>Goals and relationships weights are dynamically recalculated and normalized with every
change in the Environment model. The actual values of weights are assigned and adjusted in the</p>
          <p>Goals have different sources of provenance. There are abstract goals, set initially. Those goals
cannot be reached, but they influence the weight (motivation) of other dependent goals. Abstract
goals could have positive or negative motivation. In a goal system they work as general principles
and values which influence the motivation for other, dependent goals. They can also reflect
highend, strategic goals. The example of such goals: attain high status, be punctual, avoid injury. Other
goals come from external goal-setting sources or because of detecting important situations. Goals
are removed once they are reached or deemed unreachable or unimportant.</p>
          <p>Related goals form structures and patterns. One of such structures is the chain of proximate
goals on the path to the final goal, representing a plan of reaching this goal.
(8)
(9)
 (  ) = (  1,   2, … ,   )</p>
          <p>Plans are built using the knowledge of how similar goals were attained. However, in order to
accommodate for different states of environment, there are multiple different variants of plans
for each goal.</p>
          <p>Another structure reflects the probabilistic relationship between two states, in which the
weight of relationship depends on the probability of following state given the initial state.</p>
          <p>The weights of goals are recalculated and normalized in every time moment. In the first step
of selection all goals not related to the current Environment model obtain low weight. After that,
only goals which can be acted upon in the current Environment are left. After this, the goal with
maximum value of motivation function is selected. Motivation is calculated depending on goal
weights. If the selected goal has multiple proximate goals, leading to it, then the proximate goal
closest to the current state is chosen. Intention, as a next actionable state is derived from this
nearest proximate goal.</p>
          <p>The goal system keeps track of the history of progressing towards the specific goal, which
helps to maintain perseverance and following up on the attained goals. GSM receives feedback
from the context processing module about the success/fail of intent execution and updates
accordingly plans and knowledge base.</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>3.2.1. Detecting situations in the current environment</title>
        <p>= (</p>
        <p>,   )</p>
        <p>Situation detection module functionally corresponds to the second level of DFIG model. It
analyses the Environment model for cues and patterns related to situations, which could happen
in current environment. For this it monitors the set of cues. Each cue is a condition (pattern) with
weight, reflecting its importance.</p>
        <p>Cues are ordered according to their weight. Cues leading to the situations with greater impact
have more weight. The impact is deduced from the knowledge base. If an important cue is
detected, SDM may ask the EDPM for additional diagnostics data, allowing it to confirm/decline
the presence of a situation. If an important situation is confirmed, SDM updates the goal system
with a new goal, having high weight and related to the reaction to this situation. GSM builds the
plan and forms the intention to fix the situation.</p>
        <p>SDM, while analyzing the causal chains leading from the current state to possible negative
state in the future can predict the probability of this outcome and form a preventive intention to
avoid such negative outcome. Likewise, SDM can predict positive opportunity as a chain of states
starting from current state and having higher probability of realization. In this case it will also
create a new goal in the goal system.</p>
        <p>Thus, SDM works as the analysis module looking for events with negative consequences and
for opportunities to further. SDM interacts with knowledge base to get information about cues
and situation patterns.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.2.2. Monitoring the environment and getting information</title>
        <p>External data processing module monitors the environment state via available sensors. It
detects the new objects in the environment and classifies them into specific classes, using local
ontology. Thus, the set of EDPM functions correspond to zero and first levels of DFIG model.</p>
        <p>Additionally, EDPM issues requests and obtains the information from the external services,
processes and reconciliates the answers with agent’s ontology and knowledge base. Therefore,
external information services act as ‘on-demand’ sensors providing additional information for
SDM and CPM.</p>
        <p>A new goal is coming from external source is also processed first by EDPM, which
conceptualize it using the local ontology concepts and relationships and passes to GSM.</p>
        <p>EDPM maintains and modifies the Environment model, reflecting the objects present in the
environment and their characteristics. Environment model is used by other modules. CPM
constructs its Contextual model taking a part of Environment model and adding to it objects
relevant to current intent. SDM monitors the Environment model for cues pointing to possible
situations. Both CPM and SDM can issue requests for EDPM to get additional information from
the environment or external information services.</p>
      </sec>
      <sec id="sec-3-5">
        <title>3.3. Implementing the intent, performing actions, and getting feedback</title>
        <p>The Context processing module has a purpose to transform the intent obtained from GSM into
set of commands, passed to the Execution Module and implementing this intent. CPM maintains
the Contextual conceptual model with concept instances and relationships, relevant to the task of
following the stated intent in the current environment state. For this purpose, it copies the objects
relevant to current task/intent from the Environment model.</p>
        <p>CPM uses knowledge base patterns for information on how similar tasks were executed in
similar environment state to construct the actual Contextual model. Alternatively, CPM can reuse
conceptual models from previous experience and reconcile them logically with current state of
Environment model.</p>
        <p>The availability of models’ sequence from previous experiences allows us to prepare and use
models ahead of time. Contextual model, updated by applying patterns from knowledge base can
have additional elements, not present in Environment model.</p>
        <p>CPM fills the gaps in knowledge by addressing EDPM for additional information coming from
sensors or external services. When contextual model has enough data, CPM makes decision about
the right practice to apply to implement the intent. CPM obtains data from knowledge base about
external services, commands and parameters needed to execute the commands implementing the
intent. Additionally, the knowledge about how to test the success/fail conditions using services
or Environment model is supplied.</p>
        <p>CPM creates and sends commands to Execution Module, which selects and addresses
corresponding external services. EM constructs a local conceptual Command execution model,
containing knowledge about of how to execute command, the expected results, error conditions
and processing. The feedback about success or failure of command is sent back to CPM or tested
additionally following the changes in environment model.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions and discussion</title>
      <p>The introduction of generative, predictive models of the world as a basis for intelligent agents’
situational awareness confers several advantages compared to sequential, reactive,
interpretational, and event-driven architectures. The main advantage is the ability to reuse the
rich knowledge about previous experiences, which is constantly updated and kept logically
consistent. Such knowledge typically comes from learning in the process of real-world task
execution, and not in the form of externally imposed rules. Moreover, similarly to human
cognition, such an approach allows to reconcile the use of the patterns from experience with the
information coming from the environment using execution feedback resulting in the updates of
those patterns.</p>
      <p>Compared to the BDI proposed agent architecture adds the ability to dynamically react to the
changes in the environment, prioritize those changes in the goal system, reuse and modify beliefs
as a consistent pattern system in the knowledge base.</p>
      <p>However, in order to implement the proposed model in practice several research problems
should be resolved including the construction of conceptual models from pattern hierarchies in
knowledge base and reconciliation of them with data coming from environment.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Zhengyu</given-names>
            <surname>Sha</surname>
          </string-name>
          .
          <source>“Concepts</source>
          and
          <string-name>
            <given-names>Conceptual</given-names>
            <surname>Representation</surname>
          </string-name>
          ,”
          <year>2022</year>
          ,
          <fpage>103</fpage>
          -
          <lpage>88</lpage>
          . https://doi.org/10.1007/
          <fpage>978</fpage>
          -981-19-8143-
          <issue>2</issue>
          _
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Barrett</surname>
            ,
            <given-names>L. F.</given-names>
          </string-name>
          “
          <article-title>How Emotions Are Made: The Secret Life of the Brain</article-title>
          ,”
          <year>2017</year>
          . https://www.semanticscholar.org/paper/How-Emotions-
          <article-title>Are-Made%3A-The-Secret-Lifeof-the-Brain-Barrett/b54f2fd56ec084aa8e1a3b05dd24d93ecd5c945a.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Marika</surname>
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Inhoff</surname>
          </string-name>
          , Laura A.
          <string-name>
            <surname>Libby</surname>
          </string-name>
          , Takao Noguchi, Bradley C. Love,
          <string-name>
            <surname>Bradley C. Love</surname>
          </string-name>
          , and Charan Ranganath. “
          <source>Dynamic Integration of Conceptual Information during Learning.” PLOS ONE 13</source>
          , no.
          <volume>11</volume>
          (
          <year>2018</year>
          ). https://doi.org/10.1371/JOURNAL.PONE.
          <volume>0207357</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Cuper</surname>
          </string-name>
          , Alicja, and
          <string-name>
            <surname>Małgorzata</surname>
          </string-name>
          Cuper-Ferrigno.
          <article-title>“A Few Remarks on Prototype Theory in Cognitive Linguistics</article-title>
          .
          <source>” Language Culture Politics International Journal</source>
          <volume>1</volume>
          (
          <issue>December 9</issue>
          ,
          <year>2021</year>
          ):
          <fpage>57</fpage>
          -
          <lpage>67</lpage>
          . https://doi.org/10.54515/lcp.
          <year>2021</year>
          .
          <volume>1</volume>
          .
          <fpage>57</fpage>
          -
          <lpage>67</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Burov</surname>
          </string-name>
          , Yevhen, and Ihor Karpov. “
          <source>Contextual Concept Meaning Alignment Based on Prototype Theory.” In: Proceedings of COLINS-2023: 6th International Conference on Computational Linguistics and Intelligent Systems</source>
          ,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Tekouabou</surname>
            ,
            <given-names>S. C. K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cherif</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toulni</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abdelaoui</surname>
            ,
            <given-names>E. A.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Silkan</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Using Class Membership based Approach to Improve PredictiveClassification in Customer Relationship Management Systems</article-title>
          .
          <source>International Journal of Computing</source>
          ,
          <volume>21</volume>
          (
          <issue>2</issue>
          ),
          <fpage>242</fpage>
          -
          <lpage>250</lpage>
          . https://doi.org/10.47839/ijc.21.2.
          <fpage>2593</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Mienye</surname>
            ,
            <given-names>I. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          (
          <year>2020</year>
          ).
          <article-title>Improved Predictive Sparse Decomposition Method with Densenet for Prediction of Lung Cancer</article-title>
          .
          <source>International Journal of Computing</source>
          ,
          <volume>19</volume>
          (
          <issue>4</issue>
          ),
          <fpage>533</fpage>
          -
          <lpage>541</lpage>
          . https://doi.org/10.47839/ijc.19.4.1986
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Clark</surname>
          </string-name>
          , Andy. “Whatever next? Predictive Brains,
          <source>Situated Agents, and the Future of Cognitive Science.” Behavioral and Brain Sciences</source>
          <volume>36</volume>
          , no.
          <issue>3</issue>
          (
          <year>2013</year>
          ):
          <fpage>181</fpage>
          -
          <lpage>204</lpage>
          . https://doi.org/10.1017/S0140525X12000477..
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Goal</surname>
          </string-name>
          . URL: https://www.dictionary.com/browse/goal
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Castelfranchi</surname>
          </string-name>
          , Cristiano. “
          <source>Intentions in the Light of Goals.” Topoi</source>
          <volume>33</volume>
          , no.
          <source>1 (April</source>
          <year>2014</year>
          ):
          <fpage>103</fpage>
          -
          <lpage>16</lpage>
          . https://doi.org/10.1007/s11245-013-9218-3.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Gugliotta</surname>
            , Alessio,
            <given-names>Stefan</given-names>
          </string-name>
          <string-name>
            <surname>Dietze</surname>
            ,
            <given-names>and John Domingue. “A</given-names>
          </string-name>
          <string-name>
            <surname>Situations</surname>
          </string-name>
          &amp;
          <article-title>Goals Semantic Model for Designing and Implementing Semantic Web Services-Based Processes</article-title>
          .”
          <article-title>Services Computing</article-title>
          .
          <source>SCC '08. IEEE International Conference</source>
          <volume>2</volume>
          (
          <year>2008</year>
          ):
          <fpage>581</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Motivation</surname>
          </string-name>
          : Definition, Types, Theories, and How to Find It - Verywell Mind. URL:https://www.verywellmind.com/what-is-motivation-
          <volume>2795378</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Kruglanski</surname>
          </string-name>
          ,
          <string-name>
            <surname>Arie</surname>
            <given-names>W</given-names>
          </string-name>
          , James Y Shah, Ayelet Fishbach, Ron Friedman, Woo Young Chun, and
          <string-name>
            <surname>David</surname>
          </string-name>
          Sleeth-Keppler.
          <article-title>“A Theory of Goal Systems</article-title>
          .” The Motivated Mind,
          <year>2018</year>
          ,
          <fpage>207</fpage>
          -
          <lpage>50</lpage>
          . https://doi.org/10.4324/9781315175867-6.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>