A Comparative Study of Pretrained Language Models for Automated Essay Scoring with Adversarial Inputs

Total Page:16

File Type:pdf, Size:1020Kb

A Comparative Study of Pretrained Language Models for Automated Essay Scoring with Adversarial Inputs A Comparative Study of Pretrained Language Models for Automated Essay Scoring with Adversarial Inputs 1st Phakawat Wangkriangkri 2nd Chanissara Viboonlarp 3rd Attapol T. Rutherford Department of Computer Engineering Department of Computer Engineering Department of Linguistics Chulalongkorn University Chulalongkorn University Chulalongkorn University Bangkok, Thailand Bangkok, Thailand Bangkok, Thailand [email protected] [email protected] [email protected] 4th Ekapol Chuangsuwanich Department of Computer Engineering Chulalongkorn University Bangkok, Thailand [email protected] Abstract—Automated Essay Scoring (AES) is a task that for scoring essays. We experimented three popular transfer- deals with grading written essays automatically without human learning text encoders: Global Vectors for Word Repre- intervention. This study compares the performance of three sentation (GloVe) [6], Embeddings from Language Models AES models which utilize different text embedding methods, namely Global Vectors for Word Representation (GloVe), Em- (ELMo) [7], and Bidirectional Encoder Representations from beddings from Language Models (ELMo), and Bidirectional Transformers (BERT) [8]. An ideal AES system should both Encoder Representations from Transformers (BERT). We used correlate with manually-graded essay scores and be resistant two evaluation metrics: Quadratic Weighted Kappa (QWK) and to adversarial hacks; thus, we evaluated the models against a novel “robustness”, which quantifies the models’ ability to both criteria. detect adversarial essays created by modifying normal essays to cause them to be less coherent. We found that: (1) the BERT- Our contributions can be summarized as follows: based model achieved the greatest robustness, followed by the • We developed three AES-specific models utilizing dif- GloVe-based and ELMo-based models, respectively, and (2) fine- ferent transfer-learning text encoders, and compared tuning the embeddings improves QWK but lowers robustness. These findings could be informative on how to choose, and their performances using Quadratic Weighted Kappa whether to fine-tune, an appropriate model based on how (QWK) [9], which measures how well the models’ much the AES program places emphasis on proper grading predictions agree with human ratings. of adversarial essays. • We also introduced a new evaluation metric based on Keywords—Automated Essay Scoring, Embedding, Language robustness, which measures the models’ resistance to Modeling, Adversarial Input adversarial essays. A model’s QWK and robustness, considered together, are indicative of the model’s suit- I. INTRODUCTION ability for the AES task. We found that the BERT-based The ability to write coherently and fluently is imperative model is the most suitable, followed by the GloVe-based for students. Automated Essay Scoring (AES) has gained and ELMo-based models, respectively. Nevertheless, we increasing attention as it allows language learner’s writing noticed that these models did not display sufficient skills to be assessed at scale. This type of assessment presents robustness according to the evaluation metric used. a challenge in natural language processing (NLP) because • We discovered that fine-tuning the models’ pre-trained the grading criteria involves all levels of linguistic analyses. embedding weights on the dataset used in this work im- Systems can detect word-level and sentence-level errors, such proves QWK but decreases the three models’ robustness as typos and grammatical errors, at a reasonable accuracy, as a result of the models being more accustomed to poor but discourse-level errors, such as lack of coherence, focus, writing. or structure, require a more sophisticated model, and remain the crux of AES. Although recent neural-network approaches II. RELATED WORKS are proven to be effective for grading naturally written essays [1]–[3], they are prone to exploitation by adversarial AES system has been improved with new techniques input which tricks the systems to yield good scores without over the decades. The Intelligent Essay Assessor system, respecting the actual grading criteria. Several past studies developed in 1999 [10], employed Latent Semantic Analysis, explored AES systems that detect coherency [4], [5] and while the e-rater program used by Educational Testing Ser- prompt-relevancy [5] in order to rectify this problem. vice [11] utilized linear regression with feature engineering In this study, we employed models that encode para- to grade essays. In a program developed in 1998 [12], a graphs of text and capture discourse-level context required Naive Bayes model classified texts based on their content Fig. 1. Each of the three models (GloVe-based, ELMo-based, and BERT-based) are hierarchical in nature, moving up from word-level to essay-level. and writing styles. AES has also been posed as a ranking liest works to compare different text embedding methods on problem [13]. their suitability for detecting adversarial inputs, by creating More recent AES systems often incorporate neural net- and testing models that are structurally similar but based on works. Various architectures have been used; for example, three different text embeddings: BERT, ELMo and GloVe. an LSTM model [14] with embedding layer and average III. MODEL pooling [1], and a CNN model [15] with sentence embedding [2]. Reference [3] introduced attention mechanism [16] to In this section we describe our AES models. We developed the AES task and found that CNNs are better-suited for three AES models based on different embedding techniques, detecting sentence structures, while LSTMs are preferable namely GloVe-based, ELMo-based, and BERT-based models. for evaluating document-level coherence. Our models’ illustration is shown in Fig. 1. Our models all Many AES systems utilize word or context embedding. have a hierarchical nature: each computes word-level repre- Word embeddings encode knowledge of the relationships sentations, then sentence-level, then essay-level successively. between words. The technique dates back to the early The following paragraphs describe each sub-level in details. 2000’s [17] and gained popularity in 2013 [18]. One of the Note that for BERT-based model, the whole transformer prominent word embeddings is GloVe [6], which encodes the architecture is used as an end-to-end AES model as suggested ratio of co-occurrence probabilities between pairs of words. by [8]. We pass a sequence of word tokens to the pre- Word embeddings’ limitation is that a word’s representation trained BERT model [23]. We use the model named BERT- is the same in all contexts. Context embedding addresses Base, which, before connected to an output layer, has 12 this limitation by encoding text on a case-by-case basis and layers (transformer blocks) of hidden size of 768 and has 12 self-attention heads. The implementation of our models giving a unique representation to each text. Examples of 1 context embeddings are ELMo [7], which encodes texts using is available on Github . two unidirectional LSTM models, and BERT [8], which A. Word-level encodes texts using a bidirectional transformer model [19]. In each model, embeddings are initialized with pre-trained For the GloVe-based model, word tokens weights, then are either fixed while training the main system [w1; w2; w3; :::; wn] of each sentence s are passed into or updated during training. a GloVe pre-trained lookup layer to acquire word vectors [w ; w ; w ; :::; w ]. These word vectors are fed into a Due to the large number of parameters involved in AES 1 2 3 n convolutional layer followed by attention-pooling to acquire systems, the exact criteria for grading essays is often obscure. the sentence representation s. System fragilities have been exposed by tricking them with For the ELMo-based model, as described by [7], word incoherent essays that serve as adversarial inputs. Adversarial tokens w are passed into convolutional layers followed examples include well-written paragraphs repeated many i by highway layers to acquire the intermediate word rep- times [20] or a set of well-written sentences randomly per- resentations x . These representations are passed into the muted [4]. Systems have been developed to detect adversarial i main two-layer language model in both directions known as essays, and each system usually employs a single text embed- Bidirectional Language Model (BiLM) to generate a hidden ding. Reference [4] used Senna word embedding [21], [22] forw state h for forward direction and hback for backward di- in their model of local coherence, while [5] preferred BERT i i rection. The x are then weight-summed with the two hidden context embedding for their system of two-stage learning i states to acquire the context-sensitive word embedding w . framework. i To the best of our knowledge, our work is one of the ear- 1https://github.com/sunnypwang/aes Fixed mean-pooling across all words determines the sentence TABLE I representation s. We used the pre-trained BiLM module from ASAP DATASET DESCRIPTION Tensorflow Hub, which is trained on the 1 Billion Word prompt #essays avg sentences score mode Benchmark 2. 1 1783 23 2-12 8 B. Sentence-level 2 1800 20 1-6 4 3 1726 6 0-3 2 4 1772 5 0-3 1 Sequences of sentence vectors [s1,s2,s3,...,sn] are passed 5 1805 6 0-4 2 into a single-layer forward LSTM with attention-pooling to 6 1800 7 0-4 3 acquire the final representation. Each sentence vector si is 7 1569 11 0-30 16 passed through an LSTM unit to generate a hidden state 8 723 34 0-60 40 hi. The hidden states from every time step are then passed through the self-attention layer in the method described by [3]. The attention mechanism helps to indicate how each A. Dataset sentence contributes to the final score. A sentence with high We used the Automated Student Assessment Prize (ASAP) attention weight has more responsibility in determining the dataset from the Hewlett Foundation, available on Kaggle3. final score than a sentence with low attention weight. This dataset consists of essays written by students in grades The attention weights are calculated as follows: Let H be seven to ten in 8 different prompts, as described in Table I.
Recommended publications
  • Towards Interpretation As Natural Logic Abduction
    4Pin1-33 The 32nd Annual Conference of the Japanese Society for Artificial Intelligence, 2018 Towards Interpretation as Natural Logic Abduction Naoya Inoue∗1 Pontus Stenetorp∗2 Sebastian Riedel∗2 Kentaro Inui∗1∗3 ∗1 Tohoku University ∗2 University College London ∗3 RIKEN Center for Advanced Intelligence Project This paper studies an abductive reasoning framework on natural language representations. We show how to incorporate Natural Logic (McCartney et al. 2009) into Interpretation as Abduction (Hobbs et al. 1993). The resulting framework avoids the difficulty of natural language-formal representation conversion, while handling im- portant linguistic expressions such as negations and quantifiers. For proof-of-concept, we demonstrate that missing, implicit premises of arguments can be recovered by the proposed framework by a manual example walkthrough. 1. Introduction is orthogonal to the conventional formal representation- based approaches. More specifically, we study Natural Abduction is inference to the best explanation. This pa- Logic [Maccartney 09, Bowman 13, Angeli 14] in the con- per explores abduction for natural language understanding. text of abductive reasoning. Natural Logic is a framework Given a textual observation, the task is to generate the originally developed for entailment prediction. The advan- best, textual explanation. For example, the task of find- tage is that (i) it works on natural language expression di- ing a missing assumption of an argument [Habernal 17] is a rectly, and (ii) it supports important linguistic expressions special form of abduction. Suppose the following argument ∗1 such as negations and quantifiers. is given : We show how Natural Logic-based inference can be inte- (1) Claim: Immigration is really a problem.
    [Show full text]
  • The Effects of Automated Essay Scoring As a High School Classroom Intervention
    UNLV Retrospective Theses & Dissertations 1-1-2008 The effects of automated essay scoring as a high school classroom intervention Kathie L Frost University of Nevada, Las Vegas Follow this and additional works at: https://digitalscholarship.unlv.edu/rtds Repository Citation Frost, Kathie L, "The effects of automated essay scoring as a high school classroom intervention" (2008). UNLV Retrospective Theses & Dissertations. 2839. http://dx.doi.org/10.25669/37p4-kdh7 This Dissertation is protected by copyright and/or related rights. It has been brought to you by Digital Scholarship@UNLV with permission from the rights-holder(s). You are free to use this Dissertation in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/or on the work itself. This Dissertation has been accepted for inclusion in UNLV Retrospective Theses & Dissertations by an authorized administrator of Digital Scholarship@UNLV. For more information, please contact [email protected]. THE EFFECTS OF AUTOMATED ESSAY SCORING AS A HIGH SCHOOL CLASSROOM INTERVENTION by Kathie L. Frost Bachelor of Science University of Arizona Tucson, Arizona Master of Business Administration University of Nevada, Las Vegas A dissertation submitted in partial fulfillment of the requirements for the Doctor of Philosophy Degree in Curriculum and Instruction Department of Curriculum and Instruction College of Education Graduate College University of Nevada, Las Vegas December 2008 UMI Number: 3352171 Copyright 2009 by Frost, Kathie L.
    [Show full text]
  • A Hierarchical Classification Approach to Automated Essay Scoring
    Assessing Writing 23 (2015) 35–59 Contents lists available at ScienceDirect Assessing Writing A hierarchical classification approach to automated essay scoring a,∗ b a Danielle S. McNamara , Scott A. Crossley , Rod D. Roscoe , a a Laura K. Allen , Jianmin Dai a Arizona State University, United States b Georgia State University, United States a r t i c l e i n f o a b s t r a c t Article history: This study evaluates the use of a hierarchical classification approach Received 22 September 2013 to automated assessment of essays. Automated essay scoring (AES) Received in revised form 2 September 2014 generally relies on machine learning techniques that compute essay Accepted 4 September 2014 scores using a set of text variables. Unlike previous studies that rely on regression models, this study computes essay scores using Keywords: a hierarchical approach, analogous to an incremental algorithm Automated essay scoring for hierarchical classification. The corpus in this study consists of AES 1243 argumentative (persuasive) essays written on 14 different Writing assessment prompts, across 3 different grade levels (9th grade, 11th grade, Hierarchical classification college freshman), and four different time limits for writing or temporal conditions (untimed essays and essays written in 10, 15, and 25 minute increments). The features included in the analysis are computed using the automated tools, Coh-Metrix, the Writing Assessment Tool (WAT), and Linguistic Inquiry and Word Count (LIWC). Overall, the models developed to score all the essays in the data set report 55% exact accuracy and 92% adjacent accuracy between the predicted essay scores and the human scores.
    [Show full text]
  • Automated Essay Scoring: a Siamese Bidirectional LSTM Neural Network Architecture
    S S symmetry Article Automated Essay Scoring: A Siamese Bidirectional LSTM Neural Network Architecture Guoxi Liang 1,2 , Byung-Won On 3,*,†, Dongwon Jeong 3 and Hyun-Chul Kim 4 and Gyu Sang Choi 5,* 1 Department of Global Entrepreneurship, Kunsan National University, Gunsan 54150, Korea; [email protected] 2 Department of Information Technology, Wenzhou Vocational & Technical College, Wenzhou 325035, China 3 Department of Software Convergence Engineering, Kunsan National University, Gunsan 54150, Korea; [email protected] 4 Department of Technological Business Startup, Kunsan National University, Gunsan 54150, Korea; [email protected] 5 Department of Information and Communication Engineering, Yeungnam University, Gyeongsan 38541, Korea * Correspondence: [email protected] (B.-W.O.); [email protected] (G.S.C.); Tel.: +82-63-469-8913 (B.-W.O.) † Current address: 151-109 Digital Information Building, Department of Software Convergence Engineering, Kunsan National University 558 Daehak-ro, Gunsan, Jeollabuk-do 573-701, Korea. Received: 14 November 2018; Accepted: 27 November 2018; Published: 01 December 2018 Abstract: Essay scoring is a critical task in education. Implementing automated essay scoring (AES) helps reduce manual workload and speed up learning feedback. Recently, neural network models have been applied to the task of AES and demonstrates tremendous potential. However, the existing work only considered the essay itself without considering the rating criteria behind the essay. One of the reasons is that the various kinds of rating criteria are very hard to represent. In this paper, we represent rating criteria by some sample essays that were provided by domain experts and defined a new input pair consisting of an essay and a sample essay.
    [Show full text]
  • Automated Evaluation of Writing – 50 Years and Counting
    Automated Evaluation of Writing – 50 Years and Counting Beata Beigman Klebanov and Nitin Madnani Educational Testing Service, Princeton, NJ, USA {bbeigmanklebanov,nmadnani}@ets.org Abstract 2 Report Card: Where are We Now? 2.1 Accomplishments Page’s minimal desiderata have certainly been In this theme paper, we reflect on the progress of achieved – AWE systems today can score in agree- Automated Writing Evaluation (AWE), using Ellis ment with the average human rater, at least in Page’s seminal 1966 paper to frame the presenta- some contexts.1 For example, Pearson’s Intelli- tion. We discuss some of the current frontiers in gent Essay Assessor™ (IEA) scores essays writ- the field, and offer some thoughts on the emergent ten for the Pearson Test of English (PTE) as well uses of this technology. as for other contexts: “IEA was developed more 1 A Minimal Case for AWE than a decade ago and has been used to evaluate millions of essays, from scoring student writing at In a seminal paper on the imminence of automated elementary, secondary and university level, to as- grading of essays, Page (1966) showed that a high sessing military leadership skills.”2 Besides sole correlation between holistic machine and human automated scoring as for PTE, there are additional scores is possible. He demonstrated automated contexts where the automated score is used in ad- scoring of 276 essays written by high school stu- dition to a human score, such as for essays written dents by a system with 32 features, resulting in a for the Graduate Record Examination (GRE®)3 multiple R = 0:65 between machine and average or for the Test of English as a Foreign Language human score, after adjustment.
    [Show full text]
  • Pearson's Automated Scoring of Writing, Speaking, and Mathematics
    Pearson’s Automated Scoring of Writing, Speaking, and Mathematics White Paper Lynn Streeter, Ph.D. Jared Bernstein, Ph.D. Peter Foltz, Ph.D. Donald DeLand May 2011 AUTOMATED SCORING 1 About Pearson Pearson, the global leader in education and education technology, provides innovative print and digital education materials for preK through college, student information systems and learning management systems, teacher licensure testing, teacher professional development, career certification programs, and testing and assessment products that set the standard for the industry. Pearson’s other primary businesses include the Financial Times Group and the Penguin Group. For more information about the Assessment & Information group of Pearson, visit http://www.pearsonassessments.com/. About Pearson’s White Papers Pearson’s white paper series shares the perspectives of our assessment experts on selected topics of interest to educators, researchers, policy makers and other stakeholders involved in assessment and instruction. Pearson’s publications in .pdf format may be obtained at: http://www.pearsonassessments.com/research. AUTOMATED SCORING 2 Executive Summary The new assessment systems designed to measure the Common Core standards will include far more performance-based items and tasks than most of today’s assessments. In order to provide feedback quickly and make scoring of the responses affordable, the new assessments will rely heavily on artificial intelligence scoring, hereafter referred to as automated scoring. Familiarity with the current range of applications and the operational accuracy of automatic scoring technology can help provide an understanding of which item types can be scored automatically in the near term. This document describes several examples of current item types that Pearson has designed and fielded successfully with automatic scoring.
    [Show full text]
  • Automated Essay Scoring: a Survey of the State of the Art
    Automated Essay Scoring: A Survey of the State of the Art Zixuan Ke and Vincent Ng Human Language Technology Research Institute, University of Texas at Dallas, USA fzixuan, [email protected] Abstract Dimension Description Grammaticality Grammar Despite being investigated for over 50 years, the Usage Use of prepositions, word usage task of automated essay scoring continues to draw Mechanics Spelling, punctuation, capitalization a lot of attention in the natural language process- Style Word choice, sentence structure variety ing community in part because of its commercial Relevance Relevance of the content to the prompt and educational values as well as the associated re- Organization How well the essay is structured search challenges. This paper presents an overview Development Development of ideas with examples of the major milestones made in automated essay Cohesion Appropriate use of transition phrases scoring research since its inception. Coherence Appropriate transitions between ideas Thesis Clarity Clarity of the thesis 1 Introduction Persuasiveness Convincingness of the major argument Automated essay scoring (AES), the task of employing com- Table 1: Different dimensions of essay quality. puter technology to score written text, is one of the most im- portant educational applications of natural language process- ing (NLP). This area of research began with Page’s [1966] help an author identify which aspects of her essay need im- pioneering work on the Project Essay Grader system and has provements. remained active since then. The vast majority of work on From a research perspective, one of the most interesting AES has focused on holistic scoring, which summarizes the aspects of the AES task is that it encompasses a set of NLP quality of an essay with a single score.
    [Show full text]
  • Modeling Argument Strength in Student Essays
    Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (ACL-IJCNLP), Beijing, China, July 2015, pp. 543--552. Modeling Argument Strength in Student Essays Isaac Persing and Vincent Ng Human Language Technology Research Institute University of Texas at Dallas Richardson, TX 75083-0688 {persingq,vince}@hlt.utdallas.edu Abstract (Persing and Ng, 2013). Essay grading software that provides feedback along multiple dimensions While recent years have seen a surge of in- of essay quality such as E-rater/Criterion (Attali terest in automated essay grading, includ- and Burstein, 2006) has also begun to emerge. ing work on grading essays with respect Our goal in this paper is to develop a com- to particular dimensions such as prompt putational model for scoring the essay dimension adherence, coherence, and technical qual- of argument strength, which is arguably the most ity, there has been relatively little work important aspect of argumentative essays. Argu- on grading the essay dimension of argu- ment strength refers to the strength of the argu- ment strength, which is arguably the most ment an essay makes for its thesis. An essay with important aspect of argumentative essays. a high argument strength score presents a strong We introduce a new corpus of argumen- argument for its thesis and would convince most tative student essays annotated with argu- readers. While there has been work on design- ment strength scores and propose a su- ing argument schemes (e.g., Burstein et al. (2003), pervised, feature-rich approach to auto- Song et al.
    [Show full text]
  • Get IT Scored Using Autosas!
    The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-19) Get IT Scored Using AutoSAS — An Automated System for Scoring Short Answers Yaman Kumar,1 Swati Aggarwal,2 Debanjan Mahata,3 Rajiv Ratn Shah,4 Ponnurangam Kumaraguru,4 Roger Zimmermann5 1Adobe, India, 2NSIT-Delhi, India, 3Bloomberg, USA 4IIIT-Delhi, India, 5National University of Singapore, Singapore [email protected], [email protected], [email protected]. [email protected], [email protected], [email protected] Abstract have been taught to write their essays and short answers (Dale and Krueger 2002). In the era of MOOCs, online exams are taken by millions of candidates, where scoring short answers is an integral part. It becomes intractable to evaluate them by human graders. Motivation Thus, a generic automated system capable of grading these Automated Essay Scoring (AES) and Short Answer Scoring responses should be designed and deployed. In this paper, we (SAS) systems such as the one presented in this work (Au- present a fast, scalable, and accurate approach towards auto- toSAS), provides economic advantages to testing companies mated Short Answer Scoring (SAS). We propose and explain and state-wide corporations. These systems reduce the eco- the design and development of a system for SAS, namely nomic and time burden of getting each response checked by AutoSAS. Given a question along with its graded samples, AutoSAS can learn to grade that prompt successfully. This human graders close to zero, bringing down the cost and ef- paper further lays down the features such as lexical diver- fort significantly. sity, Word2Vec, prompt, and content overlap that plays a piv- It has been noted that about 30% of a teacher’s time is otal role in building our proposed model.
    [Show full text]
  • Enhancing Automated Essay Scoring Performance Via Fine-Tuning Pre-Trained Language Models with Combination of Regression and Ranking
    Enhancing Automated Essay Scoring Performance via Fine-tuning Pre-trained Language Models with Combination of Regression and Ranking Ruosong Yang†‡, Jiannong Cao†, Zhiyuan Wen†, Youzheng Wu‡, Xiaodong He‡ †Department of Computing, The Hong Kong Polytechnic University ‡JD AI Research †{csryang, csjcao, cszwen}@comp.polyu.edu.hk ‡{wuyouzheng1, xiaodong.he}@jd.com Abstract variation), different raters scoring the same essay may assign different scores (inter-rater variation) Automated Essay Scoring (AES) is a critical (Smolentzov, 2013). To alleviate teachers’ bur- text regression task that automatically assigns den and avoid intra-rater variation, as well as inter- scores to essays based on their writing qual- ity. Recently, the performance of sentence rater variation, AES is necessary and essential. An prediction tasks has been largely improved by early AES system, e-rater (Chodorow and Burstein, using Pre-trained Language Models via fus- 2004), has been used to score TOEFL writings. ing representations from different layers, con- Recently, large pre-trained language models, structing an auxiliary sentence, using multi- such as GPT (Radford et al., 2018), BERT (Devlin task learning, etc. However, to solve the AES et al., 2019), XLNet (Yang et al., 2019), etc. have task, previous works utilize shallow neural net- shown the extraordinary ability of representation works to learn essay representations and con- strain calculated scores with regression loss or and generalization. These models have gained bet- ranking loss, respectively. Since shallow neu- ter performance in lots of downstream tasks such as ral networks trained on limited samples show text classification and regression. There are many poor performance to capture deep semantic of new approaches to fine-tune pre-trained language texts.
    [Show full text]
  • Neural Automated Essay Scoring Incorporating Handcrafted Features
    Neural Automated Essay Scoring Incorporating Handcrafted Features Masaki Uto Yikuan Xie Maomi Ueno The University of The University of The University of Electro-Communications Electro-Communications Electro-Communications [email protected] yikuan.xie@ [email protected] ai.lab.uec.ac.jp Abstract Automated essay scoring (AES) is the task of automatically assigning scores to essays as an al- ternative to grading by human raters. Conventional AES typically relies on handcrafted features, whereas recent studies have proposed AES models based on deep neural networks (DNNs) to obviate the need for feature engineering. Furthermore, hybrid methods that integrate handcrafted features in a DNN-AES model have been recently developed and have achieved state-of-the-art accuracy. One of the most popular hybrid methods is formulated as a DNN-AES model with an additional recurrent neural network (RNN) that processes a sequence of handcrafted sentence- level features. However, this method has the following problems: 1) It cannot incorporate effec- tive essay-level features developed in previous AES research. 2) It greatly increases the numbers of model parameters and tuning parameters, increasing the difficulty of model training. 3) It has an additional RNN to process sentence-level features, enabling extension to various DNN-AES models complex. To resolve these problems, we propose a new hybrid method that integrates handcrafted essay-level features into a DNN-AES model. Specifically, our method concatenates handcrafted essay-level features to a distributed essay representation vector, which is obtained from an intermediate layer of a DNN-AES model. Our method is a simple DNN-AES extension, but significantly improves scoring accuracy.
    [Show full text]
  • Automatic Essay Scoring of Swedish Essays Using Neural Networks
    Automatic Essay Scoring of Swedish Essays using Neural Networks By Mathias Lilja Department of Statistics Uppsala University Supervisor: Patrik Andersson 2018 Contents 1 Introduction 1 2 Background 1 2.1 Automated Essay Scoring . .1 2.2 Existing Automatic Essay Scoring . .3 2.3 Evaluation of Automatic Essay Scoring . .3 2.4 Automatic Essay Scoring in Swedish . .4 2.5 A neural approach to Automatic Essay Scoring . .5 3 Method 6 3.1 Data . .7 3.2 Cross-validation . .9 3.3 Neural Networks . 10 3.3.1 Feedforward Network . 10 3.3.2 Loss function . 12 3.3.3 Neural network training . 13 3.3.4 Overfitting . 14 3.3.5 Recurrent Neural Network . 15 3.3.6 Pooling . 18 3.4 Working with textual data . 18 3.4.1 One-hot word vectors and word embeddings . 19 3.4.2 Pre-trained word embeddings . 21 3.5 Setup . 25 4 Results 27 5 Discussion 31 6 Conclusion 32 7 References 34 Abstract We propose a neural network-based system for automatically grading essays written in Swedish. Previous system either relies on laboriously crafted features extracted by human experts or are limited to essays writ- ten in English. By using different variations of Long Short-Term Memory (LSTM) networks, our system automatically learns the relation between Swedish high-school essays and their assigned score. Using all of the in- termediate states from the LSTM network proved to be crucial in order to understand the essays. Furthermore, we evaluate different ways of repre- senting words as dense vectors which ultimately have a substantial effect on the overall performance.
    [Show full text]