A cognitive social frame (CSF) is the core element of a framework that enables the adjustment of the agent’s cognition based on its interpretation of the surroundings. The latter is an internal representation of the agent’s relationship with the things and other social actors placed in the world. This mental representation is called social context. The agent’s cognition is encapsulated into several abstract blocks called cognitive resources. They contain specific knowledge and mechanisms used to determine the agent’s actions. Finally, each CSF establishes a link between the social context and the relevant cognitive resources, that will be used to determine which cognitive resources should be deployed. In addition to the internal representation of these concepts, we also describe the agent’s mechanism used to regulate the cognitive social frames. We propose an approach with five stages that includes the process to interpret the perceptions and update the deployed cognitive resources.
In the remaining section, we detail the elements of the agent’s architecture and how they are grouped. Then, we describe the several stages of the agent’s mechanism and how its multiple components of the model interact with each other. Finally, we elaborate on some interesting phenomena that could be modeled with cognitive social frames and how we align the model’s goals with the design principles previously elaborated on.
3.2. Agent’s Mechanism
An agent’s capability to perceive the environment and produce actions is also how our model defines the agent’s interaction with the environment. However, rather than following the classic perceive, think and act loop, we claim that some mandatory additional steps should be included for socio-cognitive agents. We suggest an approach that defines the agent’s mechanism as a five-stage process:
perceive,
interpret,
update,
execute, and
act. Each one of these phases manipulates different concepts present in the agent’s architecture. Algorithm 1 highlights the core steps in the agent’s cognition from the instant it perceives the environment to the moment it acts on the world.
Algorithm 1 Agent’s Mechanism. |
- 1:
functionCycle() - 2:
- 3:
- 4:
- 5:
- 6:
- 7:
end function
|
Following the abstraction previously stated between the cognitive social frames core elements and the cognitive resources, the agent’s mechanism does not cover details about the mechanisms inside each cognitive resource.
3.2.1. Perceive
The perception of the agent is the first phase of the agent’s loop and represents the observation of the physical environment by the agent through sensory stimuli. The result is a set of perceptions that is transferred to the agent’s sensory memory.
3.2.2. Interpret
This phase is responsible for filtering the perception in the sensory memory and constructing the social context of the agent. After filtering the sensory memory’s perceptions based on the salient cognitive social frame and then transforming them into other social perceptions based on the physical world, the resulting social context is transferred to the working memory. algorithm 2 enumerates the steps of this phase.
Algorithm 2 Agent’s Interpretation. |
- 1:
functionInterpret() - 2:
- 3:
for each do - 4:
- 5:
end for - 6:
return - 7:
end function
|
At the start of the interpretation phase, the social context is cleared. Then, the agent uses the construal process associated with each salient cognitive social frame to transform the set of perceptions into a set of social perceptions, the social context. In spite of not being transferred from one execution of the agent’s mechanism to the next, the social context still accommodates the impact of the agent’s previous state when interpreting the perceptions. Since the interpretation phase considers the salient cognitive social frames; the resulting social context accounts indirectly for the previous events that lead to the current set of CSFs. Instead of updating the previous social context, the proposed mechanism relies on other elements of the agent’s memory that were previously updated to interpret the physical world. This level of indirection grants to the agent the capability to rapidly shift the social context when noteworthy perceptions are received.
For instance, let us consider a person that is responsible for coaching the school’s football team. Additionally, one of the kids on that team is this person’s son. On the one hand, as a football coach, this person wants the team to perform well and, to do so, he needs to identify the problems that could impact the team’s success. On the other hand, as a father, he wants to see his son play. During a game where his son is performing poorly, the father, based on the mentioned different views, interprets the situation differently. As a football coach he sees his son as responsible for the team’s problems whereas as a father, he sees his son as deserving the opportunity to play. Modeling the father and coach roles as cognitive social frames, when faced with the perception of his son, the two CSF construals produce conflicting social perceptions that coexist in the same social context: one that identifies the son as a liability, and another as a young player that deserves a chance.
Because there are multiple salient CSFs at the same time, there will be several social contexts as well. Their union will result in a collection of social perceptions that can have ambiguity, that is, different CSFs can generate the same social perceptions. Furthermore, it can also produce conflicting social perceptions, since multiple CSFs can lead to distinct, potentially conflicting, interpretations of the same physical world.
The resulting social context can accommodate social perceptions that may lead to the deployment of conflicting goals or actions in the agent’s cognition. This allows the emergence of internal dilemmas that should be addressed by the mechanisms encapsulated in the Cognitive Resources.
3.2.3. Update
After constructing the social context, the agent has a formal representation that describes its perspective on the surrounding reality. Therefore, the previous salient cognitive social frames may not be appropriate any longer. This process selects the cognitive social frames in the long-term memory that satisfy the fitness condition. However, the salience is also determined by the personal preference of the agents. To consider the external pressure exerted by the social context and the agent’s internal pressure, we propose that salience is calculated as a balance between fitness and preference. As a result, the salience of a cognitive social frame
csf, for the social context
can be defined as
and should satisfy the following properties:
The salience should be proportional to the value of cognitive social frame fitness based on the social context, given by csf.fitness(SC). As such, the CSFs that are considered by the agent to be more appropriate than other CSFs should have a greater value of fitness;
The salience should be proportional to the agent’s preference for each cognitive social frame, given by preference(csf). This property represents the agent’s personal inclination towards each CSF.
The second property of this function, mentions the
preference function. Conceptually, it represents the agent’s choice from the set of available cognitive social frames without considering the social context. That is, there might be an internal drive, need, or motivator, that influences the salience of a CSF. This function can be defined as:
Overall, the update stage is responsible for altering the agent’s salient CSFs in the working memory and, as such, modify the set of deployed cognitive resources. As shown in Algorithm 3, this phase relies on the current
and the entire set of
present in the long-term memory. The first step of this phase is to calculate the new set of cognitive social frames. To do so, based on the current social context, the agent iterates through all the CSFs to determine if their salience is greater than a certain threshold
. Then, based on the resources associated with all the members of the new set of salient CSFs, the agent identifies the new collection of cognitive resources that should be deployed.
Algorithm 3 Agent’s CSF update mechanism. |
- 1:
functionUpdate() - 2:
- 3:
for each do - 4:
if then - 5:
- 6:
end if - 7:
end for - 8:
- 9:
for each do - 10:
- 11:
end for - 12:
return - 13:
end function
|
In our current model, the process of deploying new cognitive resources is a fairly simple substitution of the methods already present in the agent’s working memory. However, this produces a sudden change in the set of deployed cognitive resources instead of a smooth transition where the previous resources would gradually lose relevance in the agent’s cognition. Although discussing alternatives for implementing the deployment of new cognitive resources should depend on the scenario of the application of the agent; we propose two different approaches that could be followed.
Rather than solely having a mechanism to deploy the cognitive resources, there could be a symmetrical process to undeploy them. As such, after determining the new set of salient CSFs, the agent would calculate the subset of cognitive resources present in the working memory that need to be removed and trigger an undeployment process specific to each cognitive resource. Another possible approach is to apply the salience mechanism of the CSF directly to the cognitive resources. That is, each deployed cognitive resource would have a salience value that would continuously decrease with time, similar to a decay. The deployed cognitive resources would see their salience value renewed if the social context identified them, through the salient CSF resources, as worthy of being deployed and in this case maintained. When a cognitive resource has a salience lower than a certain threshold, it is then discarded from the set of deployed resources.
3.2.4. Execute
In this phase, the agent does not manipulate any core elements of the architecture directly associated with the cognitive social frames model. Instead, the updated set of deployed cognitive resources, with access to the new social context present in the working memory, is executed.
As previously described, the cognitive resources are the agent’s units of cognition that target specific problem-solving, decision-making, reasoning capabilities, and others. They can either contain knowledge or processes. Only the processes have an executable nature and, therefore, they will be executed. Nevertheless, although not running any procedures, the cognitive resources that hold knowledge can also be manipulated by the other type of cognitive resources.
This phase can be characterized by the high degree of abstraction that encapsulates the agent’s ability to reason, decide, or interact with the world, away from the mechanism used to guarantee its conformity with the social context. At the same time as executing the deployed cognitive resources, whatever the outcome, it is already in accordance with the agent’s social context. Nevertheless, there are some cognitive resources that can use the core cognitive social frame concepts, namely, the CSFs.
3.3. Demonstration
In the next paragraphs we elaborate on how an agent’s interpretation of the surroundings, the salient set of cognitive social frames, and the deployment of cognitive resources can adjust their behavior towards being socially adequate.
Let us consider agents and , both implementing the practice of eating a particular food through the cognitive resources . Although the implementation details of each cognitive resources are not relevant to understand the mechanism of the agent, to grasp the meaning of , we can assume it represents the algorithm to support a robot’s manipulation of an physical object mimicking the action of eating, or a virtual character in a game performing an eating animation and changing an internal value representing the agent’s hunger. Additionally, both agents have two cognitive social frames: and , both deploying the . The first becomes salient when its owner is hungry while the second becomes salient when the social context includes at least one perception. Both agents prefer rather then .
Considering that both agents are hungry and, thus, their respective
are salient, when perceiving an apple and an orange, both ascribe the same meaning to them:
. However, in the interpretation phase, since
’s favorite food is an apple and
has a construal function that ascribes to its owner’s favorite food an additional social value
, the social context of each agents will be the following:
Considering the distinct social contexts, each agent will have a different set of salient cognitive social frames. Since becomes salient when its owner is hungry, both and have their respective salient. However, in ’s case, since its social context includes a , its will also become salient. As such, the set of salient cognitive social frames for contains and , whereas for only contains . In the latter, our model will deploy the since there is only one salient frame. In there are two being deployed, one referring to all the foods and another to the favorite food of the agent. However, since the has an higher preference than the other, the will have an higher fitness value too, thus being considered more socially adequate.
In this example, it is possible to observe that, although most of the model’s implementation is the same on both agents, constructs a different social context than , reflecting different perspectives of the same physical surroundings. This is the outcome of the interpretation process that not only takes into account the perceptions of the agents but also its internal state, in particular the salient cognitive social frames. The distinct set of frames that are considered salient at a given time will also affect the cognitive resources that are deployed (e.g., practices), hence affecting the agents actions. In this minimalist setting, we included specific aspects that help describe each individual in terms of their preferences, drives and motivations (e.g., favorite food) when considering the physical surroundings. However, when introducing other agent’s in the social context, it is possible to create socially richer scenarios.
Let us assume there is an additional agent that is interpreted by both agents as and gluttony is a socially inadequate behavior. To implement this notion of social adequacy, will only become salient when the social context includes a but does not include a . In the previous example, considered as socially adequate eating its favorite food since it was in the social context. Now, when interprets its perceptions (including an , , and ), besides identifying a and a , it also identifies a . As such, the will no longed be salient, thus not identifying as socially appropriate eating its favorite apple since a priest is present. Still, the will identify as socially affordable eating the because its salience condition does not take into account the .
3.4. Discussion
The proposed computational model’s goal is to enable the creation of socio-cognitive agents that have the capability to adapt their cognition according to the social context, i.e., their interpretation of the social world. Our model fulfils this goal, by introducing a mechanism based on the concept of cognitive social frame, which work as the link between the agent’s social context and its cognition. The design of the mechanism we propose was guided by the design principles previously described.
Aligned with the design principle of
socially situated cognition (
Section 2.1), the main motivation of cognitive social frames is to establish a link between the agent’s situation, formally represented in the social context and its cognition, encapsulated in its cognitive resources. As such, the agent is sensitive to the view of the surrounding world when deploying its cognitive resources. However, it is important to note that this sensitivity to the social context should not be confused with dependency. Although the agent takes into account the social context, using our model, its cognition’s deployment is also influenced by its own preferences.
A socio-cognitive agent implementing our mechanism can interpret the world, as stated in the
social context and construal principle (
Section 2.2), rather than just perceiving it. The second stage of our mechanism allows a socio-cognitive agent to construct a mental representation, the social context, describing its relationship with perceived elements. This social context is the set of social perceptions that result from the application of each salient cognitive social frame construal function. This function is responsible for filtering the agent’s perceptions and then applying a social layer on top of them. As such, the social context enables the observer to allow its cognition to reason about the meaning of the elements of the physical world instead of the elements by themselves.
Additionally, in the interpretation phase, the agent can construct a social context. This process is also influenced by the salient cognitive social frames. Therefore, the interpretation of the reality is performed from the agent’s frame of reference with regard to its relevance to the agent’s cognition. As stated in the
social affordances principle (
Section 2.4), a socio-cognitive agent should perceive what is worth paying attention to and identify social interaction opportunities in the social context. Our proposal supports this suggestion since it only applies the construal function of the salient CSFs relevant for the cognition, to create the social context. The principle described in
Section 2.5 emphasizes that a socio-cognitive agent should recognize what is socially affordable. In line with this remark, a cognitive social frame represents the cognitive resources that are associated with a particular social context and, to a certain degree, it also dictates how the agent can interact with the world. Moreover, while building the social context, CSFs are attributed to other social actors as well. This supports the identification of social affordances, but at the same time is a mechanism that enables certain mind-reading capabilities in the agent.
Finally, one of the most promising aspects of our proposal is related to the principle of
social categorization and identity (
Section 2.3). The concept of cognitive social frames supports the appearance of the concept of social identity by enabling a socio-cognitive agent to identify its and others’ social categories. When placed in a world with other social actors, an agent capable of representing the concept of CSF can also assign to others their salient CSFs. Furthermore, it can also reason about its beliefs regarding others’ salient CSF and their social categories. However, this principle also claims that not only should a socio-cognitive agent recognize others’ group memberships but also be able to construct its own social identity based on its relationship with the social category, by defining personal preferences over some identities. Regarding the first, a cognitive social frame can be used as the concept that enables the categorization of social actors and, therefore, defines groups of social actors that share similar CSFs. With interest to the second, the mechanism we propose allows the cognitive resources to reason about the concept of cognitive social frames and project into others’ salient CSFs, modeling others’ categories. With this information, an agent can explore its relationship with other social actors, considering their memberships, towards defining its own social identity.
In addition, by considering the salient CSFs of other social actors with its own cognition, an agent is capable of reasoning about others’ deployed cognitive resources and, therefore, acknowledge their beliefs, goals, mechanisms, and others. This mind-reading capability can enhance the social dimension of such agents since they can now expect and predict others’ actions based on their salient cognitive social frames. Furthermore, this mind-reading capability can be extended from the recognition of what cognitive resources are deployed to how another social actor interprets the physical world, thus creating social contexts from other frames of reference. Combining the two, the social context and cognitive social frames, a socio-cognitive agent has, to an extent, a mind-reading mechanism that allows it to understand the world from others’ perspectives and potentially anticipate others’ behaviors.
The ability to mind-read other social actors can help an agent establish relationships with other social actors. Instead of looking at the environment as a mere collection of opportunities for interaction, focusing on the interpersonal relationship with others creates agents that are more socially capable. When interacting with other social actors, an agent has a better chance of successfully engaging with them if it is aware of their drives, beliefs, norms, and other aspects that can be derived from their salient cognitive social frames. With this information, when interacting with other social actors, a socio-cognitive agent can search for common grounds with its interlocutors, thus strengthening their interpersonal relationship. We can use CSFs to explore the discrete (based on categories) nature of social relationships that are often treated as a continuous variable in multi-agent systems. For example, we can define a CSF for friends and another for acquaintances and define in each the social norms that apply when the agent meets other actors that fit the CSF.
Additionally, agents with mind-reading capabilities can use their knowledge about others’ interpretation of the reality to manipulate the constructing of their social context, in particular, the identity (e.g., salient CSF) that others ascribe to the agent. Managing others’ impressions about itself requires a socio-cognitive agent to reason about others’ construction of the social context. Looking forward to inducing perceptions that will influence other’s views about itself, an agent can either adjust the information exchanged with others or modify the environment such that their construction of the social context alters the other’s interpretation of the social reality.
Finally, models for emotions and affect have also been researched towards creating better socio-cognitive agents. Indeed, considering that our goal is to create better human-agent interactions, emotional responses should also be focused when deploying such agents. However, our model does not enforce a specific emotional appraisal approach. Instead, our contribution focuses on identifying the adequacy of a behavior to the interpretation of the surrounding environment. Nonetheless, the inclusion of emotional appraisal mechanisms as cognitive resources can contribute to the identification of affordable emotional responses based on the social context.