Skip to main content
Frontiers in Psychology logoLink to Frontiers in Psychology
. 2021 Jul 12;12:696770. doi: 10.3389/fpsyg.2021.696770

Connecting Social Psychology and Deep Reinforcement Learning: A Probabilistic Predictor on the Intention to Do Home-Based Physical Activity After Message Exposure

Patrizia Catellani 1,*, Valentina Carfora 1, Marco Piastra 2
PMCID: PMC8311493  PMID: 34322068

Abstract

Previous research has shown that sending personalized messages consistent with the recipient's psychological profile is essential to activate the change toward a healthy lifestyle. In this paper we present an example of how artificial intelligence can support psychology in this process, illustrating the development of a probabilistic predictor in the form of a Dynamic Bayesian Network (DBN). The predictor regards the change in the intention to do home-based physical activity after message exposure. The data used to construct the predictor are those of a study on the effects of framing in communication to promote physical activity at home during the Covid-19 lockdown. The theoretical reference is that of psychosocial research on the effects of framing, according to which similar communicative contents formulated in different ways can be differently effective depending on the characteristics of the recipient. Study participants completed a first questionnaire aimed at measuring the psychosocial dimensions involved in doing physical activity at home. Next, they read recommendation messages formulated with one of four different frames (gain, non-loss, non-gain, and loss). Finally, they completed a second questionnaire measuring their perception of the messages and again the intention to exercise at home. The collected data were analyzed to elicit a DBN, i.e., a probabilistic structure representing the interrelationships between all the dimensions considered in the study. The adopted procedure was aimed to achieve a good balance between explainability and predictivity. The elicited DBN was found to be consistent with the psychosocial theories assumed as reference and able to predict the effectiveness of the different messages starting from the relevant psychosocial dimensions of the recipients. In the next steps of our project, the DBN will form the basis for the training of a Deep Reinforcement Learning (DRL) system for the synthesis of automatic interaction strategies. In turn, the DRL system will train a Deep Neural Network (DNN) that will guide the online interaction process. The discussion focuses on the advantages of the proposed procedure in terms of interpretability and effectiveness.

Keywords: probabilistic predictor, Dynamic Bayesian Network, message framing, home-based physical activity, intention change

Introduction

Doing physical activity is essential for people's health and well-being (Hyde et al., 2013; Rhodes et al., 2017). During the lockdown due to the COVID-19 pandemic, this role of physical activity has become even more crucial and an increase in physical activity at home has become essential to keep in exercise despite the constraints of external mobility (Taylor et al., 2020; University of Virginia Health System, 2020). Even when we are aware of the benefits associated with physical activity, this awareness does not necessarily translate into consistent behavior. This is because the psychological factors related to physical activity are many and their relationships are complex. Understanding these relationships is essential to develop personalized and effective intervention strategies, which can be addressed to as many people as possible and be economically sustainable.

Some previous research has investigated how to promote physical activity using automatic interaction systems, such as artificial intelligence chatbot or personalized physical activity coaching based on machine learning (Dijkhuis et al., 2018; Aldenaini et al., 2020; Zhang et al., 2020). However, a full understanding of the theoretical guidance and practices on designing automatic interaction systems to support the increase in people's physical activity is still lacking (Zhang et al., 2020). Such understanding should include the development of empirically testable theoretical models, which consider the psychosocial processes related to behavior planning and how communication can influence it.

In the present study, we developed an empirically testable model to facilitate the promotion of physical activity thanks to the application of artificial intelligence. To do so, we first collected data on a sample of participants exposed to different messages promoting home-based physical activity during the first lockdown due to the Covid-19 epidemic in 2020. Participants were involved in an experimental procedure articulated in three phases: (a) filling out a first questionnaire aimed at identifying the psychosocial dimensions involved in the intention to do home-based physical activity; (b) reading persuasive messages aimed at promoting home-based physical activity and framed in different ways depending on the experimental condition; (c) filling out a second questionnaire aimed at detecting the evaluation of the messages received and any change in the intention to exercise at home.

We then developed a probabilistic graphical structure, i.e., a Dynamic Bayesian Network (DBN; Dagum et al., 1995; Murphy, 2012), as a first step in a process aimed at harnessing psychological models in the construction of automated interaction strategies via artificial intelligence. In doing this, we aimed at striking a balance between the explanatory power of the DBN, namely, its capacity of describing the causal connections among the psychological dimensions included in the theoretical model, and the predictive capability of the DBN, namely, its effectiveness in anticipating the effect of a specific interaction strategy. In other words, we aimed at achieving a good equilibrium between what can be predicted and why it can be predicted. The goal of achieving such a balance is relevant both for quantitative psychology (Yarkoni and Westfall, 2017) and for artificial intelligence (Adadi and Berrada, 2018).

To summarize, the main aim of our paper was to develop a probabilistic predictor in the form of a DBN, capable to explain and predict change in the intention to do physical activity at home after being exposed to messages on the subject. Such DBN is intended as the first step of an articulate process that has the ultimate goal of developing effective and automatic interaction strategies regarding behavior change.

In the rest of the paper, we first present the procedure and the measures employed in the empirical study, specifying the psychosocial theories we referred to in carrying it out. We then illustrate the main characteristics of the DBN, as structured predictor, and describe the methods adopted for its elicitation from the data collected in the study. The criteria to balance explanatory power and predictive capability, and the deterministic structure search of the DBN are also discussed. Then, in the Results section we illustrate the structure and parameters of the elicited DBN and its consistency with the psychosocial theoretical models. We finally discuss the advantages, limits, and future developments of our procedure, which will include a Deep Reinforcement Learning component for training a Deep Neural Network expected to drive online interactions with people.

Methods

Participants and Procedure

The present study was conducted following receipt of ethical approval by the Catholic University of the Sacred Heart (Milan). In April 2020, a sample of Italian participants was recruited to participate in a university study on the effects of public communication regarding the benefits of home-based physical activity. Participants were recruited by students of psychology courses at the Catholic University of Milan and received an email with a link to an online survey developed through the Qualtrics platform.

An initial sample of 280 participants accessed the online survey developed through the Qualtrics platform. First, participants completed a questionnaire measuring psychosocial dimensions involved in doing home-based physical activity (Time 1). Then, they were automatically and randomly assigned to four different experimental conditions, which consisted in being asked to read differently framed messages regarding the physical and psychological outcomes of exercising at home (Message Intervention). Finally, they were required to fill in a second questionnaire measuring their evaluation of the messages and again the psychosocial dimensions involved in home-based physical activity, to assess whether they had changed after message exposure (Time 2).

After excluding participants who either failed to pass the attention check questions in the questionnaires or did not complete them (N = 8), the final sample consisted of 272 participants (126 males, 142 females, 4 other; mean age = 42.97, SD = 14.98, age range = 18–70).

All data presented in this study can be found in the open repository at https://bitbucket.org/unipv_cvmlab/connecting_social_psychology_and_drl/.

Theory-Based Measures

The theoretical starting point of our study was the integration of psychosocial models aimed at explaining behavior planning, its change through persuasive communication, and the matching effect between persuasive messages and recipients' characteristics (see also Di Massimo et al., 2019; Carfora et al., 2020a).

Regarding behavior planning, our reference model was the widely known Theory of Planned Behavior (TPB; Ajzen, 1991), according to which the intention to enact a certain behavior is predicted by the attitude toward the behavior (e.g., perceiving exercising at home as a useless activity), the social norm (e.g., feeling that others would approve of their regular exercising at home), and perceived behavioral control (e.g., being convinced to have internal and external resources to exercise at home). Over time, various researches have highlighted that the predictive capacity of TPB is further increased by the addition of two further dimensions, namely, past behavior (e.g., having exercised regularly in the past month) and anticipated positive or negative emotions concerning the outcome (e.g., anticipating that one will feel satisfied (or guilty) if one will (or will not) exercise at home).

Regarding the effects of persuasive communication, we referred to the Elaboration Likelihood Model (ELM; Petty and Cacioppo, 1986), according to which the long-term persuasiveness of a message largely depends on the evaluation and systematic processing of the message itself. Subsequent developments of this model have led to highlighting additional factors that can increase or vice versa decrease the persuasive effect of a message. Among the first, the perception of trust that the message arouses (Petty, 2018) and the positive tone of the message (Latimer et al., 2008a). Among the second, the perception of threat or distress activated by the message (Shen, 2015) and the negative tone of it (Latimer et al., 2008a).

Finally, in devising persuasive messages we referred to the Self-Regulatory Model of Message Framing (Cesario et al., 2013), according to which similar contents can be framed in different ways, for example by stressing either the positive or the negative outcomes of the recommended action. In a gain message the outcome of the action is formulated with a positive valence, whereas in a loss message the outcome is formulated with a negative valence. Gain messages can be further differentiated in messages describing an actual gain (e.g., “If you do home-based physical activity, you will improve your health”) and messages describing a non-loss (e.g., “If you do home-based physical activity, you will avoid damaging your health”). Similarly, loss messages can be further distinguished in messages describing an actual loss (e.g., “If you do not do home-based physical activity, you will damage your health”) and messages describing a non-gain (e.g., “If you do not do home-based physical activity, you will miss the opportunity to improve your health”).

Finally, previous research has shown that the persuasiveness of a message increases when its framing matches the recipient's regulatory focus (e.g., Yi and Baumgartner, 2009; Bertolotti et al., 2020). According to the Regulatory Focus Theory (RFT; Higgins, 1997), self-regulation with a prevention focus involves the avoidance of losses and the fulfillment of duties and obligations, while self-regulation with a promotion focus involves the pursuit of gains and the achievement of an ideal desirable state. Messages framed in terms of non-loss are more persuasive with people who have a prevalent focus of prevention, while messages framed in terms of gain are more persuasive with people who have a prevalent focus of promotion (Yi and Baumgartner, 2009). In this study we therefore introduced the regulatory focus measures at Time 1, to assess whether they would have an impact on intention change at Time 2, after exposure to differently framed messages.

Time 1 Measures

At the beginning of the survey, participants provided their informed consent and read the following statement: “We are interested in understanding what drives people to do physical activity at home in the absence of alternatives (i.e., in the impossibility of accessing parks, gyms, and open spaces). By physical activity at home we mean, for example: bodyweight workout (such as stretching, aerobics, push-ups, and abs), walking for at least 30 min (6,000 steps per day), training with weights and machines (such as stationary bikes and treadmills).” After that, participants answered to a series of questions measuring the relevant psychosocial dimensions investigated in the study.

Prevention focus was assessed using five items on a 7-point Likert scale adapted from the Health Regulatory Focus scale [e.g., “I often imagine myself being ill in the future… (1) Strongly disagree—(7) Strongly agree”; Ferrer et al., 2017]. The five items were used to compute a single prevention regulatory focus index, with higher values indicating a higher prevention focus. Cronbach's α was 0.87.

Promotion focus was assessed using five items on a 7-point Likert scale adapted from the Health Regulatory Focus scale [e.g., “I frequently imagine how I can achieve a state of “ideal health… Strongly disagree (1)—Strongly agree (7)”; Ferrer et al., 2017]. The five items were used to compute a single promotion regulatory focus index, with higher values indicating a higher promotion focus. Cronbach's α was 0.83.

Past behavior, related to physical activity at home, was assessed by asking how often participants engaged in exercising at home before the COVID-19 restrictions: “Before this period of restrictions, on average how many times a week did you exercise at home?. Never (1)—Every day (7).” Higher scores indicated a higher frequency of home-based physical activity before the COVID-19 restrictions.

Past outdoor behavior, related to outdoor physical activity, was assessed by asking how often participants engaged in exercising outside home before the COVID-19 restrictions: “Before this period of restrictions, on average how many times a week did you exercise outside home?. Never (1)—Every day (7).” Higher scores indicated a higher frequency of outdoor physical activity before the COVID-19 restrictions.

Attitude toward home-based physical activity was assessed using eight items on a semantic differential scale ranging from “1” to “7” (e.g., “I believe that doing physical exercises at home regularly is… useless—useful”; Caso et al., 2021). The eight items were used to compute a single attitude index, with higher values indicating a more positive attitude toward exercising at home. Cronbach's α was 0.93.

Subjective norm was assessed with three items using a Likert scale [e.g., “Most of the people important to me (partners, family, friends) think I should do physical exercises at home regularly… Strongly disagree (1)—Strongly agree (7)”; adapted from Carfora et al., 2020a,b]. The three items were used to compute a single subjective norm index, with higher scores indicating a higher level of it. Cronbach's α was 0.83.

Perceived behavioral control related to home-based physical activity was measured using five items on a seven-point Likert scale [e.g., “If I wanted, I would be able to do the physical activity regularly when I am feeling tired… (1) Strongly disagree—(7) Strongly agree”; adapted from Bandura, 1977]. The five items were used to compute a single index, with higher values indicating higher perceived behavioral control regarding exercising at home. Cronbach's α was 0.90.

Anticipated positive emotions for doing home-based physical activity were assessed with three items using a Likert scale [e.g., “If I do physical exercises at home regularly I will be satisfied… Strongly disagree (1)—Strongly agree (7)”; adapted from Carfora et al., 2018]. The three items were used to compute a single anticipated positive emotions index, with higher scores indicating a higher level of them. Cronbach's α was 0.92.

Anticipated negative emotions for not doing home-based physical activity were assessed with three items using a Likert scale [e.g., “If I do not do physical exercises at home regularly I will regret it… Strongly disagree (1)—Strongly agree (7)”; adapted from Carfora et al., 2018]. The three items were used to compute a single anticipated negative emotions index, with higher scores indicated a higher level of them. Cronbach's α was 0.89.

Intention at Time 1 toward doing home-based physical activity was measured using three items on a seven-point Likert scale [e.g., “I intend to do physical exercises at home regularly in the next month… Strongly disagree (1)—Strongly agree (7)”; Clark and Bassett, 2014]. The three items were used to compute a single intention at Time 1 index. Higher scores indicated a greater intention to exercise at home at Time 1. Cronbach's α was 0.97.

A list of the above dimensions with examples of the items employed to measure them can be found in Figure 1.

Figure 1.

Figure 1

Psychosocial predictors of change in the intention to exercise at home, with examples of the measures employed.

Message Intervention

After completing the first questionnaire, participants read an infographic with six messages describing the physical, psychological, and social consequences of doing home-based physical activity (Figure 2). All messages were formulated in prefactual terms (i.e., “If … then”; see Carfora and Catellani, 2021) and approximately consisted of 14 words each. Messages were formulated differently, according to the experimental condition to which participants had been randomly assigned. Participants in the gain message condition read messages emphasizing the positive consequences of doing home-based physical activity (e.g., “If you do physical activity at home, you will improve your fitness”). Participants in the non-loss message condition read messages informing how to avoid negative outcomes by doing home-based physical activity (e.g., “If you do physical activity at home, you will avoid worsening your fitness”). Participants in the non-gain message condition read messages emphasizing how doing home-based physical activity is associated with missing out positive consequences (e.g., “If you do not do physical activity at home, you will lose the chance to improve your fitness”). Finally, participants in the loss message condition read messages on the negative consequences of not doing home-based physical activity (e.g., “If you do not do physical activity at home, you will worsen your fitness”).

Figure 2.

Figure 2

Infographics proposed in the gain, non-loss, non-gain, and loss message conditions.

Time 2 Measures

After reading the messages, participants completed the second questionnaire, which measured the evaluation of the messages and once again the intention to exercise at home.

Message-induced threat was measured with four items on a 7-point Likert scale related to how much reading messages had made participants feel their freedom threatened [e.g., “The messages have tried to pressure me… (1) Strongly disagree – (7) Strongly agree”; adapted from Shen, 2015]. The four items were used to compute a single message-induced threat index, with higher values indicating higher perceived threat. Cronbach's α was 0.89.

Message-induced distress was assessed with five items on a 7-point Likert scale, pertaining to the degree to which reading messages induced distress [e.g., “How far this message scared you? … (1) Not at all – (7) Completely”; adapted from Brown and Smith, 2007]. All items were used to compute a single message-induced distress index, with higher values indicating higher distress after reading the messages. Cronbach's α was 0.86.

Message tone was measured with one item asking participants to rate the tone of the messages along the positivity-negativity dimension [“Overall, how would you rate the tone of the information presented in the messages? (1) Extremely negative – (7) Extremely positive”; adapted from Godinho et al., 2016]. Higher values indicated a more positive perception of the message tone.

Message trust was assessed with three items on a 7-point Likert scale [e.g., “Do you think the information presented in the message is reliable? (1) Not at all – (7) Extremely”; adapted from Godinho et al., 2016]. The three items were used to compute a single message trust index, with higher values indicating a higher trust in the messages. Cronbach's α was 0.92.

Systematic processing was measured with five items on a 7-point Likert scale, asking participants to state how deeply they had processed the information presented in the messages [e.g., “I tried to think about the importance of the information presented in the message for my daily life… (1) Strongly disagree – (7) Strongly agree”; adapted from Smerecnik et al., 2012]. The five items were used to compute a single systematic processing index, with higher values indicating a deeper processing of the messages. Cronbach's alpha was 0.91.

Message evaluation was assessed with six items on a 7-point Likert scale, regarding how participants evaluated the messages [e.g., “Messages were very interesting… (1) Strongly disagree – (7) Strongly agree”; adapted from Godinho et al., 2016]. The three items were used to compute a single message evaluation index, with higher values indicating a more positive evaluation of the messages. Cronbach's α was 0.92.

Intention at Time 2 toward doing home-based physical activity was measured with the same three items employed at Time 1. Cronbach's α was 0.98.

Intention change was calculated subtracting the index Intention at Time 1 from the index Intention at Time 2.

At the end of the questionnaire, participants reported their age, sex, and education.

A list of the above dimensions with examples of the items employed to measure them can be found in Figure 1.

Dynamic Bayesian Network

We now describe the theoretical framework adopted for defining the probabilistic predictor (sections Learning Structure and Parameters From Data and Explanatory Power vs. Predictive Capability) and then describe the method used for eliciting the predictor from collected data (section Deterministic Structure Search).

A Bayesian Network B=(V,A,p) (BN, Darwiche, 2009) is a directed acyclic graph where nodes V correspond to the random variables in the model, p is a joint probability distribution over the set of random variables, and each link AV × V represents an oriented dependence relation among two random variables. Together, nodes and directed arcs represent the structure of p, in terms of independence and conditional independence conditions among random variables. More precisely, assuming that {X1, …, Xn} is the set of all random variables in the model, the joint probability distribution p can be factorized as

p(X1,,Xn)=ip(Xi|π(Xi))

where π(Xi) is the set of parents of Xi, i.e., the set of random variables whose representing nodes have an arc directed toward the node representing Xi.

A Dynamic Bayesian Network (DBN; Dagum et al., 1995; Murphy, 2012) is a BN that also includes the representation of time, intended as a discrete sequence of instants. In a DBN:

  • Each node is associated to a specific time instant.

  • The same random variable may correspond to more than one node, at different times.

  • All links must respect the orientation of time, either by connecting nodes at the same instant or by being oriented from a previous instant to a subsequent one.

As it can be seen in Figure 3, in our study the DBN was assumed to span across a sequence of three instants: Time 1, Message Intervention, and Time 2.

Figure 3.

Figure 3

The elicited DBN structure.

Being mean values of multi-item scales (Table 1), the indexes of the psychological dimensions calculated on the collected data can be assumed to be continuous. However, for computational simplicity, each corresponding random variable was assumed in this study to have values in the categorical scale {low, medium, high}, except for the target variable Intention Change, which was assumed to have values in the scale {high-negative, low-negative, neutral, low-positive, high-positive}. Indexes were discretized using quantiles (Nojavan et al., 2017): 20% quantiles for Intention Change and 33% quantiles for all the other variables.

Table 1.

Means and standard deviations of the study measures.

Time 1 Time 2
Measure M SD Measure M SD
Prevention 3.68 1.39 Message-induced threat 5.79 1.52
Promotion 5.35 0.91 Message-induced distress 4.92 1.17
Past behavior 2.63 1.89 Message tone 5.19 1.29
Past outdoor behavior 4.39 1.76 Message trust 5.47 0.98
Attitude 1.21 0.43 Systematic processing 4.97 1.24
Perceived behavioral control 4.92 1.17 Message evaluation 4.60 1.24
Subjective norm 5.19 1.25 Intention 5.17 1.70
Anticipated positive emotions 5.43 1.46
Anticipated negative emotions 4.36 1.76
Intention 5.15 1.75

Learning Structure and Parameters From Data

In general, once the structure of a DBN has been defined, the probability distribution p can be learned from experimental data, in a direct form. The learning process is an optimization aiming to compute the maximum likelihood estimator (MLE):

θMLE:​ =argmaxθL(θ,D)

where θ is the set of probability values, D are the collected data and L is the likelihood function. Omitting details, in the case of discrete Bayesian Networks the above optimization process could be solved analytically, by computing all required probabilities as frequency ratios in D (Murphy, 2012). However, such direct method is rarely used since it is vulnerable to missing data, a circumstance that occurs very often with limited datasets. In practice, other methods such as the EM algorithm (Dempster et al., 1977) are preferred since they are more robust and can deal with missing data.

A more complicate task, which has been subject to intense research, is eliciting from data the structure of the Bayesian Network (i.e., the acyclic graph) that best synthesizes the information collected in the experiments. In many commonly adopted approaches, a scoring function is used to evaluate candidate structures (Koller and Friedman, 2009). An obvious choice for this would be the likelihood function itself. One problem in doing so, however, is that the likelihood function is monotonically increasing with the number of nodes and arcs in the network. In other words, a Bayesian Network including one node per each measured variable and being a fully connected (acyclic) graph is due to attain the maximal likelihood in all cases. To counter this tendency, the Bayesian Information Criterion (BIC) includes another term that measures the complexity of the network:

BIC(B,D):=l(θ,D)-logN2|B|

where B is the Bayesian Network, l(θ, D): = logL(θ, D) is the log-likelihood, N is the size of the dataset and |B| measures the number of nodes and arcs in the graph. The second term above is also called description length. In our work, however, we preferred a still different way to counter the tendency to structure growth induced by functions as the likelihood, as it will be explained in section Deterministic Structure Search.

Once a scoring function has been chosen, the subsequent step is defining a procedure for finding the graph structure of B that maximizes the given score. Unfortunately, this problem is NP-hard (Koller and Friedman, 2009) in general and therefore impervious to exhaustive search in almost all practical cases. Several heuristic search strategies have been proposed in the literature to circumvent this problem (e.g., see Cheng et al., 2002). In most cases, however, these strategies are stochastic, since they imply random choices of some sort (Scanagatta et al., 2019). In our study, we preferred adopting a more problem-specific and deterministic search strategy together with a suitable scoring function, as it will be explained in section Deterministic Structure Search.

Explanatory Power vs. Predictive Capability

Given the stated purposes, our objective was to achieve a DBN that could predict the value of the target variable Intention Change (whose index was computed subtracting Intention at Time 1 to Intention at Time 2) relying only on Time 1 observations and Message Intervention. In other words, the objective was estimating the conditional probability:

p(target variable | Time 1 observations, Message Intervention)

for all message types considered. One possible way of evaluating the effectiveness of a categorical predictor of this kind is through accuracy. Calling Xt the target variable, for conciseness, the value predicted by the DBN will be:

vpred:​ =argmaxvp(Xt=v|Obs,Msg)

where v is one of the categorical values of Xt and p is the probability computed by the DBN. Accuracy is computed by considering each participant in the data collection, computing the probability of each value v given Time 1 observations and the Message Intervention that has been delivered to the participant in point. Accuracy is defined as the ratio of how many times we succeed in having:

vpred=vtrue

where vtrue is the value actually observed, over the size N of the dataset.

Given our objectives, the effectiveness of the DBN was intended as a balance between maintaining a clear connection with the theoretical background of reference and the generalization capability of predicting the target index for unseen subjects, given limited observations. In this perspective, accuracy could be evaluated both in-sample, for data explanation, and out-of-sample, to assess the predictive power of a DBN. In-sample accuracy can be evaluated by first learning the DBN parameters from the entire dataset, as described in section Learning Structure and Parameters From Data, and then predicting the target index in each record individually, in the same dataset, using partial observations only. Out-of-sample accuracy can be estimated via the k-fold cross-validation method (Allen, 1974). In our case, however, we preferred the leave-one-out method (Raschka, 2018): one participant d is removed from the dataset D, then probabilities θ are learnt from (Dd) and accuracy is tested for d. The procedure is repeated for all participants in D and the resulting success ratio is computed.

Accuracy, however, is a somewhat crude measure in that it considers only the highest probability value, conditioned on known information, and not the entire distribution. A better metrics is Area Under Curve (AUC; Fawcett, 2006) which measures the area under the curve traced by points:

(p(FP|γ),p(TP|γ))

where FP and TP are False Positive and True Positive value assignments, respectively, obtained when accepting a predicted value v whenever p(Xt = v)≥γ, and γ varies in [0, 1]. Such curve is also called Received Operating Characteristic (ROC). Examples of ROC curves are shown in Figure 4. Given that the target variable in our case had five categorical values, in the present study the multiclass version of AUC (i.e., mAUC–Hand and Till, 2001) was used.

Figure 4.

Figure 4

Multivalued ROC curves obtained for the elicited DBN. elicited DBN. (A) In-sample ROCs. (B) Out-of-sample ROCs.

In summary, in our study we computed the mAUC values for both in-sample and out-of-sample (i.e., through leave-one-out) validation and we considered the average of the two as our main scoring function for selecting the best possible structure of the DBN.

Deterministic Structure Search

Despite its advantages, computing the mAUC is expensive (in particular for the leave-one-out validation) and this does not match well with the complexity of structure searching. This raises the need to pre-select candidate structures using a more conveniently computable scoring function.

In this perspective, as shown by Koller and Friedman (2009), the log-likelihood function can be expressed as:

l(θ,D)=N(iIG(Xi;π(Xi))-iH(Xi))

where N is the size of the dataset, H is the entropy:

H(X):=-Xp(X)logp(X)

and IG is the information gain (Jiang et al., 2015):

IG(X;Y1,,Yn):=H(X|Y1,,Yn)-H(X)

where the conditional entropy is defined as:

H(X|Y1,,Yn):=-X,Y1,,Ynp(X,Y1,,Yn)           logp(X,Y1,,Yn)p(Y1,,Yn)

In all the above equations, p can be construed as the empirical probability distribution, estimated as frequency ratios in the dataset.

In other terms, in the above decomposition the log-likelihood score is shown to be proportional to information gain of the conditional probabilities in B minus a constant entropy term, i.e., which does not depend on the structure of B. Furthermore, information gain values are terms in a sum and could be optimized separately, within the limit of not introducing cyclic dependencies in the graph.

In the light of the above, in our study we used information gain as a preliminary scoring function, to select the most promising structures. We then computed the combined mAUC metrics (i.e., in-sample and out-of-sample) of the later structures, to select the most effective one. Our procedure was as follow:

  1. We first considered the target variable Xt and we computed the information gain for all possible subsets of parents of size in between 2 and 8, chosen among all other random variables (i.e., Time 1, message intervention, Time 2).

  2. Having selected the best subsets of parents for Xt, one per each size in the above range, we expanded each Time 2 variable in each selected parenthood by measuring the information gain of all possible subsets of size in between 2 and 8, chosen among the remaining variables, avoiding cycles.

  3. For each combination of sizes (i.e., one for the parenthood Xt and one for the parenthood of each Time 2 node), we pre-selected one structure, namely the one with the largest overall information gain, hence the highest likelihood.

  4. For all the pre-selected structures we computed the combined in-sample and out-of-sample mAUC metrics, to select the most effective one.

Note that step 2 above was completed when all Time 2 nodes became expanded, so that all of them had a parenthood rooted in Time 1 nodes, either directly or indirectly. The need to do so derived from the objective of achieving a predictor of the target variable Intention Change that relies on Time 1 observations only.

To avoid a combinatorial explosion in the number of candidate structures, in the above procedures all parenthoods of Time 2 nodes in each structure were imposed to have the same size. For instance, in the structure that resulted as best in its combination of ranges (see Figure 3) all Time 2 nodes have 6 parents exactly. Clearly, this entails the risk of a certain redundancy in the structures produced. To evaluate this aspect, for all selected structures, we also computed the interaction strength (Zeng et al., 2016) on each set of parents:

IS(X;Y1,,Yn):=IG(X;Y1,,Yn)-iIG(X;Yi)

Interaction strength measures the difference between the cumulative information gain of a subset of parents for a given variable over the sum of each individual information gains in the same subset. Unlike information gain, interaction strength is not monotonically increasing with the number of variables but has a peak that is expected to correspond to the strongest interacting parenthood. In our case, interaction strength was computed, for the selected structures, for all possible combinations of parents among the ones selected through the procedure described above.

The relevant advantage of the above chosen method is that the structure selection procedure is entirely deterministic and repeatable. The theoretical aspects of psychosocial models play a crucial role in the initial phase of dimensions and measures selection, whereas their interrelations are hypothesized only implicitly. Subsequently, starting from the analysis of the experimental data, structure and parameters of the probabilistic predictor are learned in an automatic way, by assuming the target variable Intention Change and the temporal sequence of events as the only constraints. The results thus obtained are in keeping with the implicit theoretical assumptions and this adds credibility to the proposed procedure.

Results

The DBN structure described in Figure 3 resulted as the best one among those generated via the procedure described in section Deterministic Structure Search, applied to the dataset of experimental measures. Figure 4 describes the multivalued ROC curves obtained for the DBN in Figure 3, with in-sample and out-of-sample tests, respectively. The latter test was performed with the leave-one-out technique. In these tests, the DBN in point scored a combined mAUC value of 0.783 (with in-sample and out-of-sample values of 0.989 and 0.577, respectively).

As anticipated in the previous section, all parenthoods in the DBN were tested for interaction strength. The strongest interaction subsets in each parenthood are shown by thicker arrows in Figure 3. As it could be expected, the parenthood of the target variable Intention Change resulted as coincident with the strongest interacting subset. The same resulted for variable Threat. On the other hand, the strongest interacting subset for variable Evaluation included just 3 of 6 parents. Time 2 variables Tone, Trust, and Systematic Processing could not be found among the strongest interacting parenthoods.

Interestingly however, although to a minor extent, even marginal interactions were proven to have a role in determining the overall performance of the DBN in point. In fact, the reduced DBN structure obtained by considering only the thicker arrows in Figure 3 and by discarding unconnected nodes, scored a combined mAUC value of 0.762 (0.960, 0.565). This result is also representative of the fact that, in our case, interaction strength did not prove to be as effective as the information gain for the pre-selection of candidate DBN structures.

For the results presented, the action of learning DBN parameters was performed, for both in-sample and out-of-sample tests, via the EM algorithm as implemented in the SMILE library, by BayesFusion1. All other computations were performed with custom code, made with Python and Numpy2. The complete definition of the DBN structure described in Figure 3 can be found in the same open repository mentioned in section Participants and Procedure.

Discussion

As part of an interdisciplinary project between social psychology and artificial intelligence, in this paper we presented a deterministic method for the elicitation of a DBN, starting from data on the psychosocial antecedents of the intention to exercise at home and intention change after being exposed to persuasive messages on the issue. This method constitutes a first step toward the development of deep reinforcement learning techniques which will allow devising personalized interaction strategies based on consolidated psychosocial models of behavior change. In this discussion, we will first focus on the theoretical consistency of the elicited DBN and we will then describe its strengths and limits.

Theoretical Consistency of the Elicited DBN

The DBN structure that emerged from the analysis turned out to be largely consistent with the psychosocial literature of reference. It also highlighted the presence of interesting relationships between measures related to the different psychosocial theories we referred to when devising our integrated model. We will now illustrate the DBN structure analyzing the strongest links between the variables and interpreting them in the light of the psychosocial theories we referred to when selecting the variables to be included in the initial model.

We start by examining the direct predictors of Intention Change, i.e., change in the intention to exercise at home after reading the messages. Message framing directly predicted Intention Change, suggesting that the four different message frames employed in the study affected differently the observed changes in the behavioral intention of the recipients. Message-induced threat also had a direct impact on Intention Change and was in turn directly influenced by message framing. Therefore, different message frames triggered different levels of perceived threat in the recipients, which in turn influenced the change in the intention to exercise at home. This finding is consistent with previous research in the domain of the effects of communication on health. According to the psychological reactance theory, when individuals feel that a health message is prompting them to accept a certain behavior, they may not process it accurately and instead respond defensively, downplaying its recommendation and not changing their intention (Liberman and Chaiken, 1992; Falk et al., 2015; Howe and Krosnick, 2017). According to the theory of self-affirmation (Steele, 1988; Sherman and Cohen, 2006), this defensive reaction against threatening messages is based on the attempt to maintain the perception of being able to control the relevant results. When this defensive mechanism is activated, people can attempt to protect it by rejecting such threatening information (e.g., Strachan et al., 2020).

Message evaluation also had a direct influence on Intention Change and was directly influenced by message framing. Message evaluation was also influenced, albeit less strongly, by the systematic processing of the message, which in turn was influenced by trust in the message and the perceived positive or negative tone of the message itself. This chain of influences is consistent with previous literature on persuasive communication showing that intention changes depend upon the likelihood of a persuasive message being positively evaluated by the receiver (Petty and Cacioppo, 1986; Eagly and Chaiken, 1993). The positive evaluation of a message, in turn, depends on systematic processing (Chaiken, 1980), which implies cognitive effort in considering the content of a message. Previous literature also showed that people tend to evaluate the trustworthiness of a message before processing it (Schlegelmilch and Pollach, 2005). Finally, trust in a message is influenced by how receivers perceive its tone. A negative tone can more easily be perceived as an open persuasive attempt and can therefore induce lower trust toward the message (Yalch and Dempsey, 1978).

Intention Change was directly predicted not only by message framing and message-related variables, but also by three variables measured at Time 1, namely, participants' age, frequency of past exercising at home, and prevention focus. Besides having a direct impact on Intention Change, participants' age had an indirect impact on it, through the mediation of message-induced threat and message evaluation. These results are consistent with a vast amount of past studies showing the effect of age on physical activity over lifespan (Varma et al., 2017), also during the COVID-19 pandemic (Alomari et al., 2020). Unlike age, gender and education did not have either a direct or indirect effect on Intention Change. This result is consistent with McCarthy et al. (2021), who found that socioeconomic group and gender were not associated with changes in physical activity during the COVID-19 restrictions. As to the frequency of past home exercising, it predicted Intention Change both directly and via the mediation of message-induced threat. This finding is strongly supported by past research, which offers wide evidence that past behavior is one of the largest contributors to the explanation of physical activity (Young et al., 2014). It is worth noting that the frequency of physical exercise outside home (which was also part of the initial model) did not enter in the final DBN and therefore did not turn out to be among the main predictors of Intention Change. This result may be explained by the fact that people do not perceive physical activity at home as equivalent to physical activity outside home, and therefore this latter activity may not play a significant role in predicting a change in the intention to train at home.

Prevention focus also directly predicted a change in the behavioral intention. It had both a direct influence on Intention Change and an indirect influence, via the mediation of message-induced threat and message evaluation. Avoidance of losses and the fulfillment of duties and obligations evidently influenced a change in recipients' intention after being exposed to differently framed messages fostering exercise at home. This result is consistent with previous research showing that the effect of differently framed messages may vary according to the recipient's regulatory focus (Latimer et al., 2008b; Pfeffer, 2013). In our study, the promotion focus also had a link, albeit only an indirect one, with Intention Change. However, it was a weaker link than the one of the prevention focus, mediated only by the evaluation of the message and not also by the threat induced by the message, as was the case with the prevention focus. Understanding why prevention focus had more impact on Intention Change than promotion focus would require analyses that go beyond the ones presented in this paper. For example, it may be the case that individuals with a high promotion focus are basically more oriented to do physical activity than individuals with a high prevention focus, to achieve an ideal of well-being and health. If so, their intention to do physical activity may be already high and therefore they would be less likely to be persuaded to further enhance this activity by messages focused on the issue.

As to the extended TPB variables measured at Time 1 (past behavior, attitude, subjective norm, perceived behavioral control, and anticipated emotions), as discussed above only past behavior had a direct impact on Intention Change. Attitude and subjective norm also had an influence on Intention Change, but this influence was mediated by message-related variables. Attitude had an influence on Intention Change via the mediation of message-induced threat and message evaluation. This result is consistent with previous studies on the influence of attitudes and message framing on intention change in health-related domains (e.g., Carfora and Catellani, 2021; Caso et al., 2021). Subjective norm had an impact on Intention Change via the mediation of message-induced threat. Previous research showed that subjective norm may exert its influence on intention through perceived threat (Becker and Maiman, 1975). Consistently, we can hypothesize that when people attach importance to the recommendations and expectations of others, they may tend to feel more threatened by the risks presented in persuasive messages. A confirmation of this link would, however, deserve further empirical support.

Overall, the DBN structure that emerged from our analysis was largely consistent with the psychosocial literature in the area. At the same time, it contributed to enrich it, showing the presence of interesting and plausible links between variables belonging to the three different psychosocial theories that we took as a reference when constructing the initial model.

Methodological Strengths of the Elicited DBN

The approach we followed in the elicitation of the DBN has several methodological strengths which can be traced back to three main points.

First, in our method the structure selection procedure was entirely deterministic and repeatable and nevertheless, as discussed above, led to a structure which was theoretically consistent. Notably, the adoption of the discretization of the values of the psychosocial measures on the one hand necessarily introduced approximations, but on the other hand simplified data analysis and allowed the identification of a significant structure from a small sample.

Second, the intention of balancing explanatory power with predictive capability led us to adopting a selection metric for eliciting the DBN which, albeit at the cost of increased computation complexity, effectively counteracted the tendency of the common likelihood metrics to reward the most complex structures. In this way, we believe it is also possible to prevent the overfitting, intended as the result of overestimating in-sample over out-of-sample performances, of structural models with respect to the sample of collected data (Yarkoni and Westfall, 2017). As a matter of fact, the in-sample and out-of-sample performances of the elicited DBN were divergent in the measured values (see Figure 4). Nevertheless, it is reasonable to expect that such gap could significantly decrease whenever the size and relevance of the sample could be made to increase.

Third, the DBN obtained was effective from both an explanatory and predictive point of view. In particular, the structure of the DBN was easy to interpret and relate to the psychological models that were assumed as the starting point. Its efficacy is a first important step for the creation of an artificial intelligence system that will translate the results of psychological research into automatic interaction and interventions policies for improving many people's lives. Once fully operational, these systems will require less time and economic efforts to be operated, compared to those required by putting the same psychological models at work through human intervention alone.

Limits

Our research has some limitations, related to the quality of the data collected, data analysis and the development of the DBN. As for the data, these were collected on a non-representative sample of the population and with reference to the intention to carry out physical activity at home in a very particular historical moment, that of the first wave of the Covid-19 pandemic. This makes it difficult to extend our results to different populations and times. Furthermore, it should be noted that the measurement of the effectiveness of the messaging interventions employed was based on the change in the intention to carry out physical activity at home and not on measures relating to the actual performance of this activity, such as those that may be offered by bracelets or wearable sensors worn by participants. Regarding the intention measurement, we used a Likert scale that measured the participants' agreement with intending to do physical exercises at home. Future scale should instead use probability scales to reduce the likelihood of response-style biases (Morwitz and Munz, 2021).

As for data analysis and learning of structure and parameters of the DBN, the reduced size of data sample was definitely a limiting factor, as it can be observed in the divergence between in-sample and out-of-sample performances (see Figure 4). Therefore, the actual effectiveness of the predictor obtained should be further tested in a real-world application scenario.

Future Developments

The method for DBN elicitation described in this paper constitutes the first part of an articulated path. This same method is currently being tested within a purpose-specific framework based on Deep Reinforcement Learning (DRL; François-Lavet et al., 2018; Sutton and Barto, 2018) to train a Deep Neural Network component, which is intended to drive online interactions with actual people, by applying the psychosocial principles described.

Further on, the DRL software framework under construction is expected to evolve to include the capability to collect additional experience and allow the incremental improvement of the DBN itself. In this perspective, the DBN is intended to play a fundamental role, in guaranteeing the explainability of the behavior of the AI system, giving to both psychologists and experts of artificial intelligence the power to monitor and intervene in the learning procedure.

Thanks to the application of DRL techniques it will be possible to calculate the utility deriving from sending messages with different framing to people who differ from each other as regards the psychosocial dimensions underlying the behavior under study.

Conclusion

In conclusion, our results show that social psychology and artificial intelligence can usefully interact to develop automatic interaction strategies aimed at supporting behavior change in the direction of well-being. As we have seen, this interaction helps overcoming some of the constraints the two disciplines often encounter when developing models that are expected to find application in real life. The possibilities of applying a methodology such as the one tested here are many and concern various areas, virtually all those in which it is reasonable to think that sending personalized messages to the recipient through automatic systems can have positive effects for the well-being of the person. Much can therefore be done thanks to the integration of social psychology and artificial intelligence, moving from the assumptions that the wealth of processing and production of new data allowed by artificial intelligence systems can ultimately be a way to enrich and improve the experience of people, for whom artificial intelligence systems have reason to be.

Data Availability Statement

All data presented in this study can be found in the open repository at https://bitbucket.org/unipv_cvmlab/connecting_social_psychology_and_drl/.

Ethics Statement

The studies involving human participants were reviewed and approved by Ethics Committee of the Catholic University of the Sacred Heart. The patients/participants provided their written informed consent to participate in this study.

Author Contributions

PC proposed the research questions, planned the research design, and took responsibility for the manuscript. She also thoroughly revised the manuscript with regard to content and style. VC supervised data collection and analysis and participated in the interpretation of the results. MP designed the elicitation procedure for the probabilistic predictor, implemented the code, and carried out the computational experiments. All authors contributed to the article and approved the submitted version.

Conflict of Interest

The authors declare that this study received funding from Athics s.r.l. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article, or the decision to submit it for publication.

Funding. This study was part of the project Re-HUB-ility: Rehabilitative Personalized Home System and Virtual Coaching for Chronic Treatment in elderly supported by Call HUB Ricerca e Innovazione, Regione Lombardia and by Athics s.r.l. (Grant Number: D.G.R. N. 727 of 5/11/2018; decreto 18854 del 14/12/2018).

References

  1. Adadi A., Berrada M. (2018). Peeking inside the black box: a survey on explainable artificial intelligence (XAI). IEEE Access 6, 52138–52160. 10.1109/ACCESS.2018.2870052 [DOI] [Google Scholar]
  2. Ajzen I. (1991). The theory of planned behavior. Organ. Behav. Hum. Decis. Process. 50, 179–211. 10.1016/0749-5978(91)90020-t [DOI] [Google Scholar]
  3. Aldenaini N., Alqahtani F., Orji R., Sampalli S. (2020). Trends in persuasive technologies for physical activity and sedentary behavior: a systematic review. Front. Artif. Intell. 3:7. 10.3389/frai.2020.00007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Allen D. M. (1974). The relationship between variable selection and data augmentation and a method for prediction. Technometrics 16, 125–127. 10.1080/00401706.1974.10489157 [DOI] [Google Scholar]
  5. Alomari M. A., Khabour O. F., Alzoubi K. H. (2020). Changes in physical activity and sedentary behavior amid confinement: the bksq-covid-19 project. Risk Manag. Healthc. Policy 13:1757. 10.2147/RMHP.S268320 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Bandura A. (1977). Social Learning Theory. Englewood Cliffs, NJ: Prentice Hall. [Google Scholar]
  7. Becker M. H., Maiman L. A. (1975). Socio-behavioral determinants of compliance with health and medical care recommendations. Med. Care 13, 10–24. 10.1097/00005650-197501000-00002 [DOI] [PubMed] [Google Scholar]
  8. Bertolotti M., Carfora V., Catellani P. (2020). Regulatory focus and the effect of nutritional messages on health and well-being: the case of red meat intake. Appl. Psychol. Health Well-being 12, 212–230. 10.1111/aphw.12180 [DOI] [PubMed] [Google Scholar]
  9. Brown S. L., Smith E. Z. (2007). The inhibitory effect of a distressing anti-smoking message on risk perceptions in smokers. Psychol. Health 3, 255–268. 10.1080/14768320600843127 [DOI] [Google Scholar]
  10. Carfora V., Caso D., Palumbo F., Conner M. (2018). Promoting water intake. The persuasiveness of a messaging intervention based on anticipated negative affective reactions and self-monitoring. Appetite 130, 236–246. 10.1016/j.appet.2018.08.017 [DOI] [PubMed] [Google Scholar]
  11. Carfora V., Catellani P. (2021). The effect of persuasive messages in promoting home-based physical activity during covid-19 pandemic. Front. Psychol. 12:644050. 10.3389/fpsyg.2021.644050 [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Carfora V., Conner M., Caso D., Catellani P. (2020a). Rational and moral motives to reduce red and processed meat consumption. J. Appl. Soc. Psychol. 50, 744–755. 10.1111/jasp.12710 [DOI] [Google Scholar]
  13. Carfora V., Di Massimo F., Rastelli R., Catellani P., Piastra M. (2020b). Dialogue management in conversational agents through psychology of persuasion and machine learning. Multimed. Tools. Appl. 79, 35949–35971. 10.1007/s11042-020-09178-w [DOI] [Google Scholar]
  14. Caso D., Carfora V., Capasso M., Oliano D., Conner M. (2021). Using messages targeting psychological versus physical health benefits to promote walking behaviour: a randomised controlled trial. Appl. Psychol. Health Well-being 13, 152–173. 10.1111/aphw.12224 [DOI] [PubMed] [Google Scholar]
  15. Cesario J., Corker K. S., Jelinek S. (2013). A self-regulatory framework for message framing. J. Exp. Soc. Psychol. 49, 238–249. 10.1016/j.jesp.2012.10.014 [DOI] [Google Scholar]
  16. Chaiken S. (1980). Heuristic versus systematic information processing and the use of source versus message cues in persuasion. J. Pers. Soc. Psychol. 39, 752–766. 10.1037/0022-3514.39.5.752 [DOI] [Google Scholar]
  17. Cheng J., Greiner R., Kelly J., Bell D., Liu W. (2002). Learning Bayesian networks from data: an information-theory based approach. Artif. Intell. 137, 43–90. 10.1016/S0004-3702(02)00191-1 [DOI] [Google Scholar]
  18. Clark H., Bassett S. (2014). An application of the health action process approach to physiotherapy rehabilitation adherence. Physiother. Theor. Pract. 30, 527–533. 10.3109/09593985.2014.912710 [DOI] [PubMed] [Google Scholar]
  19. Dagum P., Galper A., Horvitz E., Seiver A. (1995). Uncertain reasoning and forecasting. Int. J. Forecast 11, 73–87, 10.1016/0169-2070(94)02009-E [DOI] [Google Scholar]
  20. Darwiche A. (2009). Modeling and Reasoning with Bayesian Networks. Cambridge, MA: Cambridge University Press. [Google Scholar]
  21. Dempster A., Laird N., Rubin D. (1977). Maximum likelihood from incomplete data via the EM algorithm. J. R. Stat. Soc. Ser. B 39, 1–38. 10.1111/j.2517-6161.1977.tb01600.x [DOI] [Google Scholar]
  22. Di Massimo F., Carfora V., Catellani P., Piastra M. (2019). “Applying psychology of persuasion to conversational agents through reinforcement learning: an exploratory study,” in CEUR – Workshop Proceedings, Vol. 2481, 27. [Google Scholar]
  23. Dijkhuis T. B., Blaauw F. J., Van Ittersum M. W., Velthuijsen H., Aiello M. (2018). Personalized physical activity coaching: a machine learning approach. Sensors 18:623. 10.3390/s18020623 [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Eagly A. H., Chaiken S. (1993). The Psychology of Attitudes. Fort Worth, TX: Harcourt, Brace, & Janovich. [Google Scholar]
  25. Falk E. B., O'Donnell M. B., Cascio C. N., Tinney F., Kang Y., Lieberman M. D., et al. (2015). Self-affirmation alters the brain's response to health messages and subsequent behavior change. Proc. Natl. Acad. Sci. U.S.A. 112, 1977–1982. 10.1073/pnas.1500247112 [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Fawcett T. (2006). An introduction to ROC analysis. Pattern Recognit. Lett. 27, 861–874. 10.1016/j.patrec.2005.10.010 [DOI] [Google Scholar]
  27. Ferrer R. A., Lipkus I. M., Cerully J. L., McBride C. M., Shepperd J. A., Klein W. M. (2017). Developing a scale to assess health regulatory focus. Soc. Sci. Med. 195, 50–60. 10.1016/j.socscimed.2017.10.029 [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. François-Lavet V., Henderson P., Islam R., Bellemare M. G., Pineau J. (2018). An introduction to deep reinforcement learning. Found. Trends Mach. Learn. 11, 219–354. 10.1561/2200000071 [DOI] [Google Scholar]
  29. Godinho C. A., Alvarez M. J., Lima M. L. (2016). Emphasizing the losses or the gains: comparing situational and individual moderators of framed messages to promote fruit and vegetable intake. Appetite 96, 416–425. 10.1016/j.appet.2015.10.001 [DOI] [PubMed] [Google Scholar]
  30. Hand D. J., Till R. J. (2001). A simple generalisation of the area under the roc curve for multiple class classification problems. Mach. Learn. 45, 171–186. 10.1023/A:1010920819831 [DOI] [Google Scholar]
  31. Higgins E. T. (1997). Beyond pleasure and pain. Am. Psychol. 52, 1280–1300. 10.1037/0003-066x.52.12.1280 [DOI] [PubMed] [Google Scholar]
  32. Howe L. C., Krosnick J. A. (2017). Attitude strength. Ann. Rev. Psychol. 68, 327–351. 10.1146/annurev-psych-122414-033600 [DOI] [PubMed] [Google Scholar]
  33. Hyde A. L., Maher J. P., Elavsky S. (2013). Enhancing our understanding of physical activity and wellbeing with a lifespan perspective. Int. J. Com. Wellbeing 3, 98–115. 10.5502/ijw.v3i1.6 [DOI] [Google Scholar]
  34. Jiang X., Jao J., Neapolitan R. (2015). Learning predictive interactions using information gain and bayesian network scoring. PLoS ONE 10:e0143247. 10.1371/journal.pone.0143247 [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Koller D., Friedman N. (2009). Probabilistic Graphical Models: Principles and Techniques. Cambridge, MA: The MIT Press. [Google Scholar]
  36. Latimer A. E., Rench T. A., Rivers S. E., Katulak N. A., Materese S. A., Cadmus L., et al. (2008a). Promoting participation in physical activity using framed messages: an application of prospect theory. Br. J. Health Psychol. 13, 659–681. 10.1348/135910707X246186 [DOI] [PubMed] [Google Scholar]
  37. Latimer A. E., Rivers S. E., Rench T. A., Katulak N. A., Hicks A., Hodorowski J. K., et al. (2008b). A field experiment testing the utility of regulatory fit messages for promoting physical activity. J. Exp. Soc. Psychol. 44, 826–832. 10.1016/j.jesp.2007.07.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Liberman A., Chaiken S. (1992). Defensive processing of personally relevant health messages. Pers. Soc. Psychol. Bull. 18, 669–679. 10.1177/0146167292186002 [DOI] [Google Scholar]
  39. McCarthy H., Potts H. W., Fisher A. (2021). Physical activity behavior before, during, and after COVID-19 restrictions: Longitudinal smartphone-tracking study of adults in the United Kingdom. J. Med. Internet. Res. 23:e23701. 10.2196/23701 [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Morwitz V. G., Munz K. P. (2021). Intentions. Consum. Psychol. Rev. 4, 26–41. 10.1002/arcp.1061 [DOI] [Google Scholar]
  41. Murphy K. P. (2012). Machine Learning: A Probabilistic Approach. Cambridge, MA: The MIT Press. [Google Scholar]
  42. Nojavan A. F., Qian S. S., Stow C. A. (2017). Comparative analysis of discretization methods in Bayesian networks. Environ. Modell. Softw. 97, 64–71. 10.1016/j.envsoft.2016.10.007 [DOI] [Google Scholar]
  43. Petty R.E. (2018). Attitudes and Persuasion: Classic and Contemporary Approaches. London: Routledge. [Google Scholar]
  44. Petty R. E., Cacioppo J. T. (1986). “The elaboration likelihood model of persuasion,” in Communication and Persuasion, eds R. E. Petty and J. T. Cacioppo (New York, NY: Springer; ), 1–24. [Google Scholar]
  45. Pfeffer I. (2013). Regulatory fit messages and physical activity motivation. J. Sport Exerc. Psychol. 35, 119–131. 10.1123/jsep.35.2.119 [DOI] [PubMed] [Google Scholar]
  46. Raschka S. (2018). Model evaluation, model selection, and algorithm selection in machine learning. arXiv:1811.12808. [Google Scholar]
  47. Rhodes R. E., Janssen I., Bredin S. S., Warburton D. E., Bauman A. (2017). Physical activity: health impact, prevalence, correlates, and interventions. Psychol. Health 32, 942–975. 10.1080/08870446.2017.1325486 [DOI] [PubMed] [Google Scholar]
  48. Scanagatta M., Salmerón A., Stella F. (2019). A survey on Bayesian network structure learning from data. Prog. Artif. Intell. 8, 425–439. 10.1007/s13748-019-00194-y [DOI] [Google Scholar]
  49. Schlegelmilch B. B., Pollach I. (2005). The perils and opportunities of communicating corporate ethics. J. Mark. Manage. 21, 267–290. 10.1362/0267257053779154 [DOI] [Google Scholar]
  50. Shen L. (2015). Antecedents to psychological reactance: the impact of threat, message frame, and choice. Health Comm. 30, 975–985. 10.1080/10410236.2014.910882 [DOI] [PubMed] [Google Scholar]
  51. Sherman D. K., Cohen G. L. (2006). The psychology of self-defense: self-affirmation theory. Adv. Exp. Soc. Psychol. 38, 183–242. 10.1016/S0065-2601(06)38004-5 [DOI] [Google Scholar]
  52. Smerecnik C. M., Mesters I., Candel M. J., De Vries H., De Vries N. K. (2012). Risk perception and information processing: the development and validation of a questionnaire to assess self-reported information processing. Risk Anal. Int. J. 32, 54–66. 10.1111/j.1539-6924.2011.01651.x [DOI] [PubMed] [Google Scholar]
  53. Steele C. M. (1988). The psychology of self-affirmation: sustaining the integrity of the self. Adv. Exp. Soc. Psychol. 21, 261–302. 10.1016/S0065-2601(08)60229-4 [DOI] [Google Scholar]
  54. Strachan S. M., Myre M., Berry T. R., Ceccarelli L. A., Semenchuk B. N., Miller C. (2020). Self-affirmation and physical activity messages. Psychol. Sport Exerc. 47:101613. 10.1016/j.psychsport.2019.101613 [DOI] [Google Scholar]
  55. Sutton R. S., Barto A. G. (2018). Reinforcement Learning: An Introduction, 2nd Edn. Bradford Books. [Google Scholar]
  56. Taylor S., Landry C., Paluszek M., Fergus T. A., McKay D., Asmundson G. J. (2020). Development and initial validation of the COVID stress scales. J. Anxiety Disord. 72:102232. 10.1016/j.janxdis.2020.102232 [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. University of Virginia Health System (2020). COVID-19: Exercise May Help Prevent Deadly Complication. Available online at: https://newsroom.uvahealth.com/2020/04/15/covid-19-exercise-may-help-prevent-deadly-complication/ (accessed April 15, 2020).
  58. Varma V. R., Dey D., Leroux A., Di J., Urbanek J., Xiao L., et al. (2017). Re-evaluating the effect of age on physical activity over the lifespan. Prevent. Med. 101, 102–108. 10.1016/j.ypmed.2017.05.030 [DOI] [PMC free article] [PubMed] [Google Scholar]
  59. Yalch R. F., Dempsey M. C. (1978). “Selling a city: an experimental study of the communication effects of message tone,” in NA - Advances in Consumer Research, Vol. 5, ed K. Hunt (Ann Abor, MI: Association for Consumer Research; ), 5–11. [Google Scholar]
  60. Yarkoni T., Westfall J. (2017). Choosing prediction over explanation in psychology: lessons from machine learning. Perspect. Psychol. Sci. 12, 1100–1122. 10.1177/1745691617693393 [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Yi S., Baumgartner H. (2009). Regulatory focus and message framing: a test of three accounts. Motiv. Emot. 33, 435–443. 10.1007/s11031-009-9148-y [DOI] [Google Scholar]
  62. Young M. D., Plotnikoff R. C., Collins C. E., Callister R., Morgan P. J. (2014). Social cognitive theory and physical activity: a systematic review and meta-analysis. Obes. Rev. 15, 983–995. 10.1111/obr.12225 [DOI] [PubMed] [Google Scholar]
  63. Zeng Z., Jiang X., Neapolitan R. (2016). Discovering causal interactions using Bayesian network scoring and information gain. BMC Bioinform. 17:221. 10.1186/s12859-016-1084-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Zhang J., Oh Y. J., Lange P., Yu Z., Fukuoka Y. (2020). Artificial intelligence chatbot behavior change model for designing artificial intelligence chatbots to promote physical activity and a healthy diet. J. Med. Int. Res. 22:e22845. 10.2196/22845 [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All data presented in this study can be found in the open repository at https://bitbucket.org/unipv_cvmlab/connecting_social_psychology_and_drl/.


Articles from Frontiers in Psychology are provided here courtesy of Frontiers Media SA

RESOURCES