Abstract
Moral education refers to the cultivation of ideals, moral quality, culture, and discipline. One of its main tasks is to analyze students’ problem behaviors and identify their underlying need deficiencies. Previous psychological research has focused on studying how distinct factors affect psychological needs and problem behaviors. However, these findings have provided only scattered guidelines for identifying students’ need deficiencies, which are difficult for inexperienced teachers and parents to apply systematically. To address these issues, we attempt to answer two key research questions in this work. First, how do we define a theoretical framework so that the psychological research findings can be systematically applied to identify students’ need deficiencies? Second, can the latest AI technologies be employed to identify such need deficiencies automatically? To answer these research questions, we first build a theoretical framework to summarize all the factors relevant to the students’ problem behaviors and need deficiencies. After that, we propose and develop a task-oriented dialogue system that can properly inquire about different aspects of students’ information and automatically infer their need deficiencies. We conduct comprehensive experiments to evaluate the system’s performance with real-life cases. The results show that the built dialogue system could effectively serve as a diagnostic tool to identify the students’ need deficiencies.
Introduction
Moral education is defined as the cultivation of ideals, moral quality, culture, and disciplines, and the core objective is to promote personal well-being and character development (Lee & Ho,2005). Essentially, moral education aims to reduce violence, incivility, and misconduct by modifying students’ problem behaviors while assisting in healthy moral development (Koh, 2012; Schuitema et al., 2008). Past literature has demonstrated that effective moral education can promote behavioral advancement and grade improvement among students (Jeynes, 2019). One main task of moral education is to manage students’ problem behaviors, such as truancy and fighting in school, which are undesirable since they are not consistent with social norms (Jessor, 2010). Psychology researchers have argued that, according to Maslow’s hierarchy of needs, need deficiency drives students’ behaviors. Therefore, problem behaviors could be reduced by mitigating the deficiencies (Harper et al., 2003). Traditionally, teachers and parents have mainly relied on their own experiences to manage students’ problem behaviors, but inexperienced persons usually lack such capabilities and expertise. In addition, it is difficult to master and apply the obscure psychological theories, which further increases the difficulties of teachers and parents in identifying students’ need deficiencies.
Artificial intelligence (AI) aims to understand the essence of intelligence and enable machines to perform like human beings. The current AI research covers various key fields, including natural language processing, computer vision, reasoning, and decision-making, and it has achieved great progress and even outperforms humans in specific tasks (e.g., image classification and GO game). AI technologies have been applied in different domains, such as finance, healthcare, transportation, and education. One typical application is building dialogue systems, which usually converse with people and help them complete a specific task like restaurant reservation and flight booking. During the interaction process, the dialogue system could keep querying the users to acquire the necessary information for the task, and the user could reply using natural language either in text or voice. For example, a dialogue system might query the information from the user on the favorite food type, location, and price range to accomplish a restaurant reservation task. Such advancements in the AI domain inspire us to employ the corresponding technologies for moral education, especially help to manage students’ problem behaviors and identify their need deficiencies.
Specifically, we target two key research questions in this work: 1) how do we define a theoretical framework so that the psychological research findings can be systematically applied to analyze students’ need deficiencies, and 2) how to employ the AI technologies to identify students’ need deficiencies automatically. To answer these two questions, we first build a theoretical framework of problem behaviors and need deficiencies by investigating the existing psychological research findings. After that, guided by the built theoretical framework, we propose and design a task-oriented dialogue system to automatically identify students’ need deficiencies underlying problem behaviors. To evaluate the effectiveness of the proposed dialogue system, comprehensive experiments are conducted with real-life cases. The experimental results demonstrate that the proposed dialogue system could correctly identify 44% need deficiencies of the participants, and the number of dialogue turns (i.e., the rounds of ask-response in one dialogue) is 12 on average.
Problem behavior and need deficiency
Problem behaviors refer to undesirable behaviors that are not consistent with social norms and usually raise concerns or control responses from others (Jessor, 2010). Due to immature physical and psychological development, elementary and middle school students are easily affected by environmental factors such as family, school, and society during their growth. With the negative influence from certain external factors, students may present problem behaviors that deviate from family and social standards (Maggs & Galambos, 1993). Researchers have worked to categorize problem behaviors into different types for better management (Achenbach & Ruffle, 2000). Peterson proposed a personality versus conduct dichotomy, in which students who tend to show impulses toward society are labeled as having conduct problems (i.e., aggression), whereas students whose issues are more covert are labeled as having personality problems (i.e., social withdrawal) (Peterson & Donald, 1961). On the other hand, Miller argued that the comparison should be between aggression and inhibition, which focused on emotional problems (Miller, 1968).
Different frameworks have been proposed to identify students’ problem behaviors. The Achenbach Child Behavior Checklist (CBCL) was the first tool to use empirical, multiaxis, and cross-assessor measurement methods to identify students’ problem behaviors. Specifically, three types of forms were designed: the Teacher Report Form, the Youth Self-Reports, and the Direct Forms. These forms are considered to have complete reliability and validity based on a series of cross-cultural studies (Achenback, 1991). To assist teachers in resolving the classroom behavior management problems, Scarpaci (2007) proposed a five-step approach: identifying the problem, the objectives to be achieved, the solution, the implementation, and the evaluation (IOSIE). These classifications and frameworks provide guidelines on building the theoretical framework.
Research work has also been conducted to analyze the reasons underlying students’ problem behaviors. Maslow argued that human behaviors are driven by the lack of satisfaction with psychological needs (Maslow, 2013). Harper claimed that natural disasters, violence, abuse, poverty, lack of school and community resources, and emotional deprivation contribute to students’ unmet basic needs (Harper et al., 2003). Dennis et al. indicated that individual development was affected by the interactions between individual characteristics and environmental factors (Dennis et al., 2005). Jessor (2010) pointed out that the personality system and the perceived environmental system influenced students’ behaviors. Therefore, we think that students’ problem behaviors are driven by the lack of satisfaction with their basic needs, which are influenced by external environmental and internal individual factors.
Psychology researchers have also explored how various distinct factors affect students’ problem behaviors and need deficiencies. Previous studies have shown that the Big Five traits were closely related to students’ problem behaviors (Van et al., 2013). For instance, Ehrler et al. (1999) found that the students with low scores in agreeableness and conscientiousness might exhibit conduct problems and attention deficits, and the neuroticism trait was associated with anxiety and depression. In addition, family conditions also affect student behavioral problems. Hoffmann’s (2006) study showed that changes in parents’ marital status could increase students’ probability of engaging in problem behaviors. Fomby and Christie (2013) found that adolescents from unstable families (e.g., blended families) were more likely to engage in aggressive and antisocial behaviors than adolescents in stable families. Pinquart and Martin (2017) observed that authoritarian, permissive, and neglectful parenting styles caused externalizing problems with high probabilities.
Moreover, Purwati and Japar (2017) found that parents’ education levels affected how parents educated their children, which subsequently affected students’ problem behaviors. Rosario et al. (2017) showed that students with less-educated parents presented more aggressive behaviors. Furthermore, the family’s socioeconomic status can also influence students’ behaviors. McGrath and Elgar (2015) found that students from higher-status backgrounds presented fewer internalizing and externalizing problems. Sieh, Meijer et al. (2010) and Sieh, Visser-Meily et al. (2012) suggested that parents’ health conditions influenced students’ family education, which subsequently influenced students’ problem behaviors.
In addition to family factors, school factors also heavily affect students’ behaviors. For instance, Maryam et al. (2019) showed that students who were rejected by peer groups tended to present more internalizing problems. Farrell et al. (2017) found that students might be influenced by friends’ delinquent behaviors, including aggression, drug use, and misconduct. In addition, mass media also plays an important role in students’ school and social lives. Wahab et al. (2017) showed that extreme addictions to social media might result in depression. In short, all such distinct factors should be considered building the construction of a theoretical framework to identify the student need deficiencies underlying problem behaviors.
Besides, research has also been conducted on behavioral intervention and management. From the family perspective, Leijten et al. (2018) pointed out that strengthening students’ relationships with their parents can effectively reduce their problem behaviors. Kazdin et al. (2018) proved that proper training and managing parents’ behaviors effectively reduced their children’s aggression. From the school perspective, Spiller et al. (2019) pointed out that a positive school atmosphere could help students form good behaviors. Specifically, clear expectations, communication, and consistent feedback are all effective for student behavioral management in the classroom environment. The existing work does not provide a systematic theoretical framework for need deficiency identification, indicating the necessity of building a theoretical framework. The research findings summarized by the previous work provide a basis for building the theoretical framework.
Task-oriented dialogue system
A typical task-oriented dialogue system usually consists of four main modules (Gao et al., 2019). The first is the natural language understanding (NLU) module that interprets users’ utterances to extract users’ intents and task-related semantic slot information. The second is the dialogue state tracking (DST) module used for tracking the dialogue state. The third is the policy learning (PL) module that takes charge of making decisions on the next system action based on the current dialogue state. The fourth is the natural language generation (NLG) module that transforms specific system actions into a natural language response. Through multiturn dialogue, a task-oriented dialogue system can acquire the necessary information and complete the task automatically.
With the advancement of AI technology, various dialogue systems have been designed for different tasks. Some systems are designed for booking tasks. For example, Li et al. (2017) developed a dialogue system for movie-ticket booking. Wen et al. (2016) built a dialogue system to help users search for restaurants and make reservations. Yan et al. (2017) proposed a dialogue system to assist customers in different purchase-related tasks in online shopping. Dialogue systems have also been developed to solve information-searching tasks. For instance, Papangelis et al. (2018) designed a spoken dialogue system to help users make decisions through information navigation. Dhingra et al. (2016) proposed a dialogue agent for accessing information from knowledge bases.
In addition, the dialogue system has also been implemented for the automatic diagnosis of medical diseases. Tang et al. (2016) designed a group of anatomical models that emulated different hospital experts to diagnose diseases. In subsequent work, Kao et al. (2018) designed a hierarchical model to implement a master model for controlling the selection between different anatomical models. Peng et al. (2018) employed the reward-shaping and feature-rebuilding techniques to improve the model for quicker disease diagnosis. Wei et al. (2018) built another model to automatically diagnose patients’ diseases based on symptom information acquired through dialogues. To further improve the performance, medical knowledge graph was incorporated into the dialogue model (Xu et al., 2019). AI technologies have also been explored in the diagnosis of psychological issues. For example, Washington et al. (2020) summarized and categorized how different data-driven methods could be applied in autism for digital therapeutic phenotyping in computational psychiatry.
By reviewing existing systems, we can see that task-oriented dialogue systems have been utilized in various domains. However, they have seldom been adopted for problem behavior management in moral education. Identifying need deficiencies is similar to diagnosing medical diseases, which inspires us to employ this technology to solve the problem of need deficiency identification. In this work, we propose building a dialogue system for need deficiency identification and explore the feasibility of applying AI technology to solve psychological problems.
Theoretical framework
This section presents a theoretical framework that summarizes relevant factors for identifying the need deficiencies underlying problem behaviors (RQ1). Extensive research has been conducted to analyze problem behaviors and need deficiencies. These findings are informative for uncovering the reasons for problem behavior but are also too scattered to be systematically employed by amateurs. Therefore, an integrated framework summarizing the relevant factors is essential for need deficiency identification. Theoretically, the number of factors relevant to students’ problem behaviors and need deficiencies is large, and such factors might often influence each other. In practice, it is still challenging to cover all the relevant factors and meanwhile fully capture the interplay between them. Therefore, the proposed framework mainly focuses on the key factors and simplifies their joint effects on the students’ problem behaviors.
Maslow (2013) suggested that psychological needs mainly drive behaviors, and students’ problem behaviors are caused by the lack of satisfaction concerning their psychological needs. Therefore, in attempts to intervene in students’ problem behaviors, the related influencing factors should be considered. Jessor (2010) proposed a problem behavior theory with three systems: the personality system, the perceived environment system, and the behavior system. Additionally, he pointed out that the personality system and the perceived environment system interacted and affected students’ problem behaviors. Based on these research findings, we define a framework for need deficiency identification, which provides a consolidated classification of the types of need deficiencies as well as a systematic classification of the relevant factors from three categories: problem behaviors, external environmental factors, and internal individual factors.
Classification of need deficiencies
Need deficiencies are categorized according to Maslow’s hierarchy of needs. In the “The Theory of Human Motivation,” Maslow systematically explained the hierarchy of needs theory by discussing physiological needs, safety needs, belongingness and love needs, esteem needs, and self-realization needs (Maslow, 2013). In this framework, we replace the self-realization needs with the cognitive needs, considering that the demand for self-realization refers to a stage fusing goodness and beauty, which usually appears in later life stages. In contrast, cognitive needs represent the need for understanding the surrounding world, which is more common for primary and secondary school students. A detailed classification of need deficiencies is shown in Table 1.
Classification of need deficiencies
Classification of problem behaviors
Problem behaviors are classified mainly according to the CBCL Teacher Report Form (Achenbach, 2015). However, some modifications are applied based on real-life case analysis. Specifically, problem behaviors are classified into three categories: externalization problems, internalization problems, and other problems. Externalization problems are the “externalization syndrome” of behaviors, which refer to social adaptation problems, including attack, bullying, sabotage, and others. Externalization problems are further divided into aggressive behaviors and rule-breaking behaviors. Internalization problems are the “internalization syndrome” of behaviors, which refer to emotional distress problems or nonsocial behavioral problems, including anxiety and depression. Internalization problems are further divided into social withdrawal, depression, and anxiety. Problems that do not belong to the above two categories are called “other problems,” including learning problems, egocentricity, and special problems. A detailed classification of problem behaviors is shown in Table 2.
Classification of problem behaviors
Classification of external environmental factors
External environmental factors mainly denote environmental factors affecting students’ behaviors. Based on existing research findings, we categorize external environmental factors into factors related to the family environment, school environment, and social environment. According to previous theoretical and empirical research, we summarize the specific factors of the family environment as family structure, parenting style, parents’ education background, parents’ health condition, parents’ delinquent behavior, and parents’ socioeconomic status. The school environment also has a significant influence on the formation of students’ behavior. Based on previous research, we summarize the specific factors of the school environment as teacher leadership style, peer acceptance, and peer influence. The social environment concerns the influence of society. In this framework, we emphasize the influence of social media and cultural customs. A detailed classification of external environmental factors is shown in Table 3.
Classification of external environmental factors
Classification of internal individual factors
Problem behaviors are influenced not only by external environmental factors but also by students’ internal individual factors. Specifically, information about internal individual factors can be classified into two categories: demographic information and personality information. Demographic information denotes students’ characteristics that are closely related to problem behaviors. In this work, we define the specific factors of demographic information as grade, gender, health condition, and social group. In addition, the personality characteristics of individuals are significantly correlated with their problem behaviors (Ehrler et al., 1999). In this framework, we employ the five-factor model of personality to represent students’ personalities: neuroticism, extroversion, openness, agreeableness, and conscientiousness. A detailed classification of internal individual factors is shown in Table 4.
Classification of internal individual factors
Method
Participants
The participants included 223 primary school students (7- to 13-year-old pupils,
Considering the sensitivity of moral education and possible ethical concerns, we employed the following strategies to protect privacy. Before the data collection process, all the participants, including the students, their parents, and the teachers, were explicitly informed that the collected data would be used for the research purpose. The participants were given the option to opt-out of the data sharing before signing the data usage agreement. After the data were collected, we also carefully notified each participant and removed those who felt uncomfortable being involved. To further protect privacy, we irreversibly anonymized the identities and randomly sampled only a subset of the participants to build our system. In addition, the collected real-life student cases were not directly exposed to system users but were utilized only to train the dialogue model which infers the students’ need deficiencies based on the learned rules. Furthermore, our dialogue system questions users only about students’ behaviors and some relevant factors in the practical application. Personal characteristics such as names and schools are not required; hence, the system cannot identify any specific students. In addition, the system infers students’ need deficiencies in real-time without storing any of the students’ information. The data will not be provided to any schools, governments, or other power holders.
Material
To measure the effectiveness of the task-oriented dialogue system on the task of automatic need deficiency identification, we develop a task-oriented dialogue system based on the summarized theoretical framework and test it with real-life cases (RQ2). Through multiturn dialogue, the proposed task-oriented dialogue system can acquire various aspect information of students and infer their need deficiencies accordingly. To build a task-oriented dialogue system, one fundamental job is to define the required information to complete the targeted task. That information is the basis for the dialogue state and system actions. The required information will be defined in this work according to the factors summarized in the proposed theoretical framework. Specifically, 29 different factors, including problem behaviors, external environmental factors, and internal individual factors, are summarized for need deficiency identification. These factors also define the dialogue state representation. In addition, system actions mainly include two categories: request and inform. The request action aims to request specific information about students, such as checking whether they have exhibited aggressive behaviors. In total, 29 specific request actions are defined according to the 29 factors. The inform action aims to inform users about the specific need deficiencies of students, such as telling that they have a deficiency in esteem needs. Specifically, five different inform actions are defined according to the five types of need deficiencies.
Based on the information defined according to the theoretical framework, we design and implement the dialogue system. As shown in Figure 1, the proposed dialogue system consists of four main functional modules: NLU, DST, PL, and NLG (Chen et al., 2017). The NLU module processes a user’s reply to extract the student’s information, such as whether he has aggressive behaviors. In the developed dialogue system, the long short-term memory (LSTM) (Hochreiter & Schmidhuber, 1997) network is adopted to generate the semantic vector for user input. An LSTM network is a typical recurrent neural network that has been widely used in natural language processing recently. Relying on a gating mechanism, the LSTM can solve the long-term dependency issue in sequential data processing. Hence, we utilize the LSTM to interpret the user’s utterances in this dialogue system. The DST module updates the dialogue state with another LSTM network based on the semantic vector of user input. This dialogue state represents students’ information acquired to that point and is utilized by the PL module to compute the next system action.

Architecture of proposed task-oriented dialogue system.
Based on the current dialogue state, we adopt a reinforcement learning model, specifically a deep Q-learning network (DQN) model (Mnih et al., 2015), to learn dialogue policy that decides whether to request more information from the user or to present the derived need deficiency to the user. As one of the three main paradigms of machine learning, reinforcement learning targets solving sequential decision-making problems. Recently, deep learning techniques have been integrated into reinforcement learning models to improve model performance. The DQN is a typical deep reinforcement learning model that utilizes a deep neural network to calculate the Q-value in the Q-learning model (Mnih et al., 2015). With the generated system actions, the NLG module utilizes a template-based model to generate natural language responses for the user. This system can acquire different information about a student through multiturn dialogue and automatically infer his need deficiencies underlying the problem behaviors.
A task-oriented dialogue system is often trained with user simulators. In this work, we also utilize a user simulator to train the dialogue model. The system architecture of system training is elaborated in Figure 1, which consists of four main components. The schema is defined according to the theoretical framework summarizing all the factors relating to identifying need deficiency, which is also the basis for defining the case structure and system actions. The case database manages real-life cases collected from the online platform and annotated according to the schema. These cases summarize real-life experiences for identifying need deficiencies. The user simulator emulates a user and interacts with the dialogue system based on information provided by the case randomly selected from the database. The dialogue system acquires students’ information and identifies the need deficiencies underlying their problem behaviors. Utilizing such an architecture, we train our dialogue system and evaluate whether a task-oriented dialogue system can automatically identify students’ need deficiencies.
Procedure
We measure whether a task-oriented dialogue system is feasible for automatically identifying students’ need deficiencies by checking the system’s performance on unseen real-life cases (RQ2). Specifically, before a new dialogue session starts, a real-life case is randomly selected to test the system. In the first dialogue turn, the dialogue system randomly chooses one factor to request from the user. For example, the system may issue a question as “Does the student have any aggressive behavior?” After checking the student’s behaviors in the chosen case, the user replies upon the student’s problem behaviors as “The student often fights with his classmates.” Interpreting this reply, the system knows that the student has aggressive behaviors and updates the dialogue state. Subsequently, according to the dialogue state, the dialogue system chooses another factor to request from the user. For example, the system requests the student’s gender by issuing a question as “Is the student a boy or a girl?” Accordingly, based on information recorded in the case, the user replies that “The student is a boy.” The dialogue continues by requesting different information about the student. When enough information is obtained, the dialogue system may infer and inform that the student has deficiencies in belongingness and love needs. By comparing this response with the real need deficiencies outlined in the case, we know whether the system’s identification result is right or wrong. Repeating this procedure using different real-life cases, we compute system performance according to the recorded results.
To further evaluate the performance of the dialogue system, we compare the dialogue system with different models. Specifically, three different models are selected as baselines. First, we compare the system performance with multiclass classification models of machine learning. These models treat the identification of need deficiency as a multiclass classification problem. Utilizing all the factors summarized by the theoretical framework as model features, those models employ different algorithms to calculate the probabilities of different need deficiencies and choose the one with maximum probability as the student’s need deficiency. In this work, the decision tree (DT) (Safavian & Landgrebe, 1991) and gradient boosting (GB) (Friedman, 2002) models are selected as baselines. The DT model tries to learn different rules to classify each datum into different categories, which inherently supports multiclassification. The GB model is an ensemble machine-learning model that ensembles several weak classifiers to improve classification accuracy. Both DT and GB are typical classification models in machine learning. Second, we compare the dialogue system to a dialogue system built with a rule-based policy. This policy utilizes handcrafted rules to make decisions on the next system action. Whenever new factor information is obtained, it checks whether the information captured is enough to infer the need deficiency. If more information is required, it requests the factor that differentiates different need deficiencies the most as the next action. Third, we compare the dialogue system to a dialogue system built with random policy. This policy selects the next system action randomly from the action space to respond to the user action at each dialogue turn.
Three different experiments are conducted to measure system performance. First, experiments are conducted to check the system performance of different-sized training data. Specifically, the experiments are conducted with 50%, 60%, 70%, 80%, 90% of the data for training, with the rest for testing. Second, we conduct experiments to examine the effects of different parameter settings on system performance. Specifically, we conduct experiments with epoch numbers and rewards. Epoch numbers represent the number of iterations to train the dialogue system; we check how the performance varies from 1 epoch to 500 epochs. Reward setting defines the different costs and benefits of different system actions, and we measure the average number of turns with different reward settings. Third, one exemplary dialogue is analyzed to demonstrate the diagnosing process.
Indices of system performance
To evaluate the performance of the dialogue system, we compare the performance with baselines according to three commonly used metrics. Success rate denotes the percentage of identifying the need deficiencies with the right result in the total number of tested cases. This metric is identical to the accuracy metric used by the classification models. Average reward denotes the average reward value for all testing cases. Each system action has a reward value, in which a negative reward denotes a penalty. The correct identification of a need deficiency results in a positive reward, and incorrect identification results in a negative reward. A large reward value denotes better performance. Average turns denote the average number of dialogue turns for all the testing cases. A small number of turns means the system can accurately select essential information to request and infer the need deficiency accordingly.
Results
System performance
The results are presented in Table 5, where success denotes the success rate metric, reward denotes the average reward obtained for different policies, and turns denotes the average turns in each dialogue session.
Experimental results of different baselines.
Note: DT denotes the decision tree classification model. GB denotes the gradient boosting ensemble learning model.
Impact of system parameters
The result regarding how system performance changes with the number of epochs is shown in Figure 2. The success rate is low at the beginning epochs, but increases as the number of epochs increases and then turns to flat starting at 300. The result of the average number of turns with different reward settings is shown in Figure 3. When the positive reward has an equal or larger absolute value compared to the negative reward, the average number of turns is small, which means the dialogue does not continue very well. On the other hand, if the negative reward has a larger absolute value, the average number of turns is higher, which implies the dialogue continues well.

Impact of simulation epoch number.

Impact of reward setting.
Exemplary dialogue
An example illustrating the interactive dialogue between the system and the user is shown in Table 6. In this example, the system initiates the dialogue by requesting the gender of the student. The reply “boy” determines the next essential factor in identifying a need deficiency is whether this student engages in aggressive behavior. With the answer “yes,” the system infers that information about his parents’ parenting style is needed. Following the same process, the system requests information about other factors (e.g., family structure and peer acceptance). It gives back a final result based on the information requested: the student has deficiencies in belongingness and love needs. Checking details of the dialogue, we can learn that the student’s parents have adopted an uninvolved parenting style, and his family structure is a one-parent family. Additionally, his peer acceptance level at school is classified as neglected. With all the available information and research findings on emotional abandonment by parents (Harper & Ibrahim, 1999; Richards, 1999), it is reasonable to conclude that the student’s love and belongingness needs might be unsatisfied because he tries to obtain attention and care from others by fighting with peers.
Example of multiturn dialogue.
Discussion
Based on the experimental results, we report several significant findings. First, compared with the baseline models, the dialogue system can achieve similar performance with a success rate between 0.4 and 0.44 for different-sized training data. This finding suggests that our system is effective in identifying need deficiencies. Second, the dialogue system returns a result within just 12 turns on average, which means it has successfully recognized the essential factors to request and infer the type of need deficiencies. Third, the developed dialogue system significantly outperforms the random policy and rule-based policy, proving the effectiveness of utilizing the DQN model in learning dialogue policy.
The experimental results demonstrate how the dialogue system identifies students’ need deficiencies is consistent with psychological research findings. For example, Harper and Stone found that the method of satisfying one’s basic needs is often influenced by race, social class, economic, political, as well as environmental resources (Harper & Stone, 2003). The needs for belongingness and love denote the needs to belong to and feel loved by a group, such as one’s family, religious group, workgroup, professional group, social club or fraternity, or even one’s youth gang. Therefore, emotional abandonment by parents or emotional rejection by parents and peers will lead to unsatisfied belonging and love needs. Emotional abandonment by parents further leads to severe psychological pain and injury, which may result in distorted impulses to hurt others or hurt themselves (Harper & Ibrahim, 1999; Richards, 1999). In addition, other basic needs, such as self-esteem, refers to the self-esteem of one’s achievements, as well as behaviors worthy of respect from others based on one’s accomplishments, status, or appearance (Corr et al., 2015). The need for self-esteem will not be satisfied if teachers disrespect or psychologically reject students (Thompson & Rudolph, 1992). The underlying inferring logic of the dialogue system is consistent with those findings.
The experimental results also show that the dialogue system technology can be effectively utilized as a diagnostic tool to solve psychological problems such as need deficiency identification through integration with psychology theories. First, through multiturn dialogue interaction, a task-oriented dialogue system can automatically acquire information of student’s characteristics and systematically diagnose the need deficiencies, which demonstrates that the dialogue system is effective in accomplishing the need deficiency identification task.
Second, the proposed theoretical framework is important for identifying need deficiencies utilizing AI technologies. Both the dialogue system and classification models are built according to the theoretical framework, which ensures that the processes of analyzing students’ information and deriving the need deficiencies are consistent with psychological findings. This guarantees the theoretical correctness of the system. The accuracy of the testing with the unseen cases also proves the effectiveness of the dialogue system.
Third, compared to other methods, a dialogue system requires less information to derive the type of need deficiencies, which significantly reduces service costs and improves service applicability. For a typical method such as a multiclassifier, in order to derive the need deficiency for a specific student, it should acquire the student’s full information on all aspects, even though some aspects may not be necessary for developing an inference for this student. In contrast, the dialogue system infers a student’s need deficiencies based on essential information only. Based on the user’s reply in each dialogue turn, the system can adaptively decide the next important piece of information it needs to acquire and then determines the need deficiency when enough information is captured.
Fourth, the natural language interaction significantly improves service usability. With the traditional manner, teachers and parents must master and apply the psychology theories based on a limited understanding. In contrast, using this dialogue system, users just need to provide and describe the students’ information according to their observations and obtain suggestions regarding the possible reasons underlying problem behaviors from the system without necessarily knowing all of the theories. In addition, such a system can be easily deployed to an online platform or integrated into a mobile application, which can significantly improve its scalability and service accessibility. Therefore, AI technologies can be appropriately applied to solve psychological problems such as need deficiency diagnosis. This motivates us to explore and adopt appropriate AI technologies to solve psychological problems that are difficult to diagnose using traditional approaches.
Comparing with the existing and successful dialogue systems for restaurant reservation or flight booking, the proposed system still has its limitations in terms of system performance and model design. It is mainly because the task of student’s need deficiency identification is much more complex, and concerns many psychological factors that are not easy to measure and capture. For the tasks like restaurant reservation or flight booking, the required information and the logic model behind are usually easy to obtain and clear, and accordingly the system performance can be guaranteed. Hence, more research should be carried out to design better models from both psychological and technical sides, especially on capturing the joint effects of psychological factors on students’ need deficiencies, which is one of the main tasks in our future work.
Last but not least, it is necessary to alert the potential ethical and policy issues on utilizing the proposed dialogue system. Similar to other AI-driven systems, building and operating such intelligent agents would continuously collect a large amount of private user data and obtain sensitive analytical results. The corresponding information and the analytical results have the potential risks to be abused for surveillance and other purposes. Hence, privacy-preserving techniques and policies are crucial to protect students’ privacy and avoid unnecessary surveillance in practice. For example, anonymization and encryption techniques should be applied to the entire process of data collection and management. Meanwhile, the global laws or regulations should be made regarding disclosure, consent, access, and reasonable usage of such AI-driven systems, similar to the general data protection regulation (GDPR) in Europe. If necessary, such AI-driven systems can be operated and managed by non-profit organizations rather than local schools or governments, where the practitioners should ensure no improper behavior norms and controls are imposed.
Conclusion and future work
In this work, we answered two research questions. One question concerned how do we define a theoretical framework for analyzing students’ problem behavior and need deficiencies systematically. By summarizing relevant factors explored in previous psychological research, we classify need deficiencies into five categories: physiological needs, safety needs, belongingness and love needs, esteem needs, and cognitive needs. Additionally, we categorize the factors for identifying these need deficiencies into three groups: problem behaviors, external environmental factors, and internal individual factors. The proposed framework further classifies these groups into specific factors. The second question concerned whether AI technology can be employed to diagnose students’ need deficiencies automatically. Specifically, based on factors defined in the theoretical framework, we developed a task-oriented dialogue system to identify need deficiencies. The experimental results demonstrated that a developed dialogue system could effectively acquire different information about students and diagnose the students’ need deficiencies through multiturn dialogue interaction. An analysis of the diagnosis dialogue shows that the dialogue system’s inferences regarding need deficiencies are consistent with psychological theories. In the future, the developed dialogue system will be deployed on a nationwide online platform for moral education to verify its effectiveness on a large scale.
