Towards Automated Detection and Regulation of Affective States During Academic Writing Robert Bixler1 & Sidney D’Mello1, 2 Departments of Computer Science1 and Psychology2, University of Notre Dame Notre Dame, IN 46556, USA {rbixler, sdmello}@nd.edu

Abstract. This project focuses on developing methods to automatically detect and respond to emotions that students experience while developing writing proficiency with computerized environments. We describe progress that we have already made toward detecting affect during writing using keystroke analysis, stable traits, and task appraisals. We were able to distinguish boredom from engagement with an accuracy of 38% above random guessing. Our next goal is to improve the accuracy of our classifier. We plan to accomplish this through an exploration of higher level features such as sequences of character types. Ultimately we hope to develop a system capable of both detecting affect and influencing affect through interventions and experimentally testing this system. Keywords: affect, keystroke, writing, boredom, engagement.

1

Introduction

Writing is a task that is performed in a variety of daily situations. Writing makes up a large portion of human communication and is increasingly being considered an important 21st century skill [1]. With this increased importance comes a need to not only understand the components of proficient writing, but also a desire to bolster the abilities of students whose writing proficiency may be lacking. This is especially pressing in light of the possibility that the average student possesses inadequate writing skills. A 2011 National Assessment of Educational Progress report declared that only 27% of 12th graders in the U.S. were considered to be “proficient” writers, which is a lower percentage of 12th graders than what was reported in 2007 [2]. In order to improve writing proficiency, it may be beneficial to delve deeper into the psychological processes involved in writing. Until now, most of the research on writing has focused on the cognitive aspects of writing, such as the classic cognitive process theory developed by Flower and Hayes or the more recent functional dynamic approach to the writing process developed by Rijlaarsdam and Bergh [3, 4]. Researchers have also proposed some automated systems to help students develop writing proficiency, such as Summary Street and Writing Pal [5, 6]. To date, however, the emphasis of research and technology is on the cognitive processes involved in writing. This might be insufficient because emerging evidence suggests that affective adfa, p. 1, 2011. © Springer-Verlag Berlin Heidelberg 2011

states continually arise and play an important role in the process of writing [7]. For example, D’Mello and Mills tracked the emotions of writers in two studies and found that boredom, engagement/flow, anxiety, frustration, and happiness were the most frequent affective states experienced and some of these states were correlated with writing outcomes (quality of a written essay). Given this observation, we hypothesize that a system that can detect and respond to affect could have a significant impact on writing quality by helping writers upregulate positive affective states (e.g., engagement, curiosity) and downregulate negative states (e.g., boredom, anxiety). Developing and validating such an affect-sensitive system is the focus of the proposed project.

2

Previous Research (Affect Detection)

An affect-sensitive writing environment must first detect affect before it can respond to affect. Over the last decade, affect detection has progressed via a number of modalities including facial expression, speech, and physiology (see [8] for a review). Each modality has associated strengths and weaknesses, as well as certain situations in which they are more or less applicable. However, they all require physical sensors and this causes scalability issues. Taking a different approach, we focus on detecting a writer’s affective states via keystroke analysis, a technique that is attractive for several reasons. First, collecting data is relatively unobtrusive. All that is needed is installed software to collect keystrokes and a keyboard. Second, keystroke analysis is scalable since every general purpose computer includes a keyboard. Third, the object of writing is to produce text, thereby making keystroke analysis ideal for affect detection in writing contexts. Finally, keystrokes are generated by a number of other tasks so any methods we develop could potentially be used in other domains as well. Our first project involved detecting affect through keystroke analysis while participants completed an essay writing task. Forty-four participants typed three essays on a computer interface which logged each keystroke along with timing information. Immediately after the writing session, participants watched a video recording of their face and a screen capture video and provided self-judgments of their affective states at 15 second intervals [7]. We calculated 12 features (e.g. verbosity, smallest time difference between keystrokes) for each 15 second self-judgment interval from the keystroke logs and combined them with stable traits such as ACT scores and task appraisals such as subjects’ interest in the writing task. We only used data from the boredom, engagement, or neutral, classes as these states comprised the majority of the affect labels (72.9%). We built a large number of models in which we varied classifiers, the affective states being discriminated, data manipulations such as downsampling and standardization, and chosen features. Our results indicated that the models built to distinguish engagement from boredom using task appraisals, stable traits, and both keystroke and timing features performed the best, with a kappa value of 0.374 and an accuracy of 87.0%. The models built to distinguish all three emotions from one another using task appraisals, stable traits, and both keystroke and timing features performed somewhat worse, with a kappa value of 0.171 and an accuracy of 56.3% [9].

3

Future Work

Our research is proceeding along two avenues: improving affect detection and designing affect-sensitive interventions. These are briefly discussed below. 3.1

Improving Affect Detection

Our immediate goal is to improve the classification rate of our automated affect detection models, with an overarching goal of establishing just how effective keystroke analysis can be for determining affect. We have been attempting to do this by analyzing sequences of keystroke events and using these as features. Our aim is to identify sequences of writing, editing, or varying lengths of pauses, and determine if we can use these higher level events as features. We are also working on improving affect detection by examining the broader context of essay composition. As of now, we only analyze each 15 second interval of data in isolation, but a further step that might prove beneficial is to implement features that depend on not only the current interval, but all the previous intervals as well. Another line of work involves exploring the generalizability of our affect detectors by performing cross-validation experiments across different essay topics and student characteristics. A limitation of our previous experiment was the narrow range of emotions that we focused on. During this stage we will expand the scope of our detection to include more affective states. 3.2

Designing Affect-sensitive Interventions

The next step is to develop interventions to regulate affect. Appropriate interventions would transition a user into an affective state that is most conducive to their current writing task. Interventions will be selected from the literature along with new ones that we wish to try. Examples of interventions would be supplying writing advice or supportive statements when a participant is feeling confused or frustrated. We will then evaluate their ability to influence the affective state of the writer via formative testing. Each writer will perform one of the writing tasks used in the previous studies. Our system will attempt to detect certain affective states based on a running stream of the user’s keystrokes, and once a target affective state is detected it will administer one of the interventions. If our system then detects a different affective state and overall writing outcomes improve, the intervention will be deemed successful. 3.3

Experimentally Testing Interventions

The third step is to compare a system that incorporates affect detection and intervention to a system that detects but does not respond to affect. Participants would be randomly assigned to one of two groups. Participants in the first group will complete two writing tasks without attempted intervention, while the second group will complete two writing tasks with a system that does attempt interventions. Each essay will be scored and compared to evaluate the effect of interventions on writing proficiency.

4

Conclusions

We have described a research project that aims at creating a scalable system that can detect and intervene to regulate a writer’s affective state. We focus on affect detection during writing because it is a convenient domain to explore and because of the significant role that affect has been shown to have on writing. However, it is important to note that our methods may not be restricted to a writing context. Affect detection in other domains that involve tasks which generate keystrokes would conceivably also benefit from our research. It is our hope that our methods can be adopted for use in other domains as well. In addition to the important engineering goal of developing our proposed, another goal is that our research activities influence the cognitive process theory of writing to incorporate affect. If affect does play a part in the writing process, as some evidence shows, then hopefully the results of this research will help inform a new theory of writing, an affective-cognitive process theory of writing. Acknowledgment. This research was supported by the National Science Foundation (NSF) (ITR 0325428, HCC 0834847, DRL 1235958). Any opinions, findings and conclusions, or recommendations expressed in this paper are those of the authors and do not necessarily reflect the views of the NSF.

References 1. Weigle, S. C. 2012. Assessment of Writing. The Encyclopedia of Applied Linguistics. 2. NAEP. (2011). The Nation's Report Card: Writing 2011. 3. Flower, L. A., & Hayes, J. R. (1981). A cognitive process theory of writing. College Composition and Communication, 32, 365-387. 4. Rijlaarsdam, G., & Bergh, H.(2006). Writing Process Theory: A Functional Dynamic Approach. In C. A. Macarthur, S Graham, J Fitzgerald (Ed.), Handbook of Writing Research (41-53). New York, NY: Guildford Press. 5. Wade-Stein, D., & Kintsch, E. (2004). Summary Street: Interactive computer support for writing. Cognition and Instruction, 22(3), 333-362. 6. McNamara, D. S., Raine, R., Roscoe, R., Crossley, S., Jackson, G. T., Dai, J., & Graesser, A. C. (2012). The Writing-Pal: Natural language algorithms to support intelligent tutoring on writing strategies. Applied natural language processing and content analysis: Identification, investigation, and resolution. Hershey, PA: IGI Global. 7. D'Mello, S., & Mills, C. (in review). Emotions during emotional and non-emotional writing. 8. Calvo, R. A., & D’Mello, S. K. (2010). Affect detection: An interdisciplinary review of models, methods, and their applications. IEEE Transactions on Affective Computing, 1(1), 18-37. doi: 10.1109/T-AFFC.2010.1 9. Bixler, R., & D'Mello, S. K. (in press). Detecting Boredom and Engagement During Writing with Keystroke Analysis, Task Appraisals, and Stable Traits. Proceedings of the 2013 Annual Conference on Intelligent User Interfaces (IUI 2013)

Towards Automated Detection and Regulation of ...

approach to the writing process developed by Rijlaarsdam and Bergh [3, 4]. Re- searchers have also proposed some automated systems to help students ...

130KB Sizes 1 Downloads 226 Views

Recommend Documents

Towards Automated Testing and Fixing of Re ...
in [21], Le Goues et al. presented a scalable genetic cloud computing oriented technique ... [1] http://www.configurator-database.com, 2011. [2] S. She, R. Lotufo, ...

AUTOMATED SUPER-RESOLUTION DETECTION OF ...
call for flexible detection approaches such as deformable mod- els, rod-shaped .... of the segment center, θ is its angle with the x-axis, L = 2l the segment length, and ..... We plan to pursue this work along several lines, including extension to 3

Automated Detection of Engagement using Video-Based Estimation of ...
Abstract—We explored how computer vision techniques can be used to detect ... supervised learning for detection of concurrent and retrospective self-reported engagement. ...... [49] P. Ekman and W. V. Friesen, Facial Action Coding System: A ... [On

Towards Automated Bayesian Optimization
of many complex problems in science and engineering. ... machine learning algorithm, but the functional form of the objective function f is unknown and even a ...

Human Factors of Automated Driving: Towards Predicting the Effects ...
Interface. Human driving behaviour. Longitudinal and lateral dynamics. Vehicle. Road and traffic flow conditions. Driver capabilities. Environmental conditions ... Congestion. Automated driving. What are the effects on traffic flow efficiency? Accide

Automated Detection of Engagement using Video-Based Estimation of ...
Abstract—We explored how computer vision techniques can be used to detect engagement while ... supervised learning for detection of concurrent and retrospective self-reported engagement. ...... [Online]. Available: http://msdn.microsoft.com/en-us/l

Automated Down Syndrome Detection Using ... - Semantic Scholar
these anatomical landmarks and texture features based on LBP ... built using PCA describing shape variations in the training data. After PCA, we can represent ...

Automated Down Syndrome Detection Using ... - Semantic Scholar
*This project was supported by a philanthropic gift from the Government of Abu Dhabi to Children's National Medical Center. Its contents are solely the responsibility of the authors and ..... local and global facial textures. The uniform LBP, origina

Automated Detection of Sensor Detachments for ...
module on an Android mobile smartphone using the Au-. toSense body-area sensor network and the mStress mobile inferencing framework [2]. AutoSense [3] is ...

Towards Desynchronization Detection in Biosignals
relationships between the signals. We propose a novel data-driven approach to detect desynchronization among biosignals from two modalities (or domains). Our approach is to train a model to learn the relationships between biosignals from two domains

Real-time automated 3D sensing, detection, and ...
May 1, 2006 - integral imaging for 3D sensing, visualization, and recognition of biological ..... techniques based on the edge map may fail to segment these images ... calculating statistical parameters of the microorganisms, the data can be ...

Real-time automated 3D sensing, detection, and ...
May 1, 2006 - optical imaging techniques for real-time automated sensing, visualization, ...... 32], however more advanced methods such as bivariate region snake in Section 3 can be applied. ..... used for illustration in the figures hereafter.

Automated Detection of Stable Fracture Points in ...
3. FRACTURE POINT DETECTION IN. INDIVIDUAL 2D SLICES. We used simple but useful concepts from curvature scale-space theory and graph theory to detect .... vp. (9). We further assume that the estimation/prediction of the velocity or change in position

Automated Physiological-Based Detection of Mind ...
6. Andreassi, J.L.: Psychophysiology: Human behavior and physiological response. Rout- ledge (2000). 7. Smallwood, J., Davies, J.B., Heim, D., Finnigan, F., ...

Towards automatic skill evaluation: Detection and ...
1Engineering Research Center for Computer-Integrated Surgical Systems and Technology and 2Center for .... sition is the streaming 72 data-points per time unit.

Towards Automated Auditing for Network Configuration ...
Existing auditing tools ... (i) Bottom-up Data Mining: We used data mining techniques to uncover potentially ... diting tools must evolve over time with operator-driven feedback so that only ... The operators indicated that although best practice.

Towards Automated Auditing for Network Configuration ...
General Terms: Management, Measurement. Keywords: Configuration changes, Network auditing automation. 1. INTRODUCTION. One of the most challenging ...

Towards fully automated axiom extraction for finite ...
This note will report on the first developments towards the implementation of a fully automated system for the extraction of adequate proof-theoretical.

Towards fully automated axiom extraction for finite ...
Key words: Many-valued logics, tableaux, automated theorem proving. 1 Introduction. This note will report on the first developments towards the implementation.

Im2Calories: towards an automated mobile ... - Research at Google
“DeepLab” system from [6].10 This model uses a CNN to provide the unary potentials .... tectors (the multi-label classifiers) to the Android mobile phone system.

VAMO: Towards a Fully Automated Malware ... - Semantic Scholar
[10] A. K. Jain, M. N. Murty, and P. J. Flynn. Data clustering: a review. ACM Comput. Surv., 31(3):264–323, 1999. [11] J. Jang, D. Brumley, and S. Venkataraman.

VAMO: Towards a Fully Automated Malware ... - Semantic Scholar
Dept. of Computer Science. University of Georgia. Athens .... 11, 15, 18]) on M to partition it in a number of malware clusters, (b) use VAMO to build a reference.

Toward Fully Automated Person-Independent Detection ...
instructed they would be required to read additional material if they did not do ..... Killingsworth, M.A., Gilbert, D.T.: A Wandering Mind is an Unhappy Mind. Science. 330, ... Canadian Journal of Experimental Psychology/Revue Canadienne de ...