Automated Essay Grader App with NLP

Drace Zhan
Jake Bialer
and
Posted on April 8, 2017

In 2016, it was estimated that over four million standardized exams were administered with an essay section.

testtakers

  • The most popular standardized exam of 2016, the ACT, requires two additional weeks of processing time in order to return essay scores
  • Typically an essay requires two scorers. Assuming each essay takes only one minute to score, it would take 135000 man hours to score four million essays.
  • Automating part of the process makes it possible to eliminate one of the human scorers while retaining the other to act as control.  That can save the industry an estimate of two million dollars per year.

 

The method of automating the essay requires several steps.  First, training samples are required for each individual topic.  This can be accomplished by having the "control" scorer act as the first reader and assign a score to each essay in a database.  The model discussed in this blog required only a sample of thirteen thousand essays to effectively grade eight various topics from different student age groups.  Features are extracted by examining the proportion of stopwords used within the essay, vectoring the essay and topic modeling.

Visualization of the topics within the essay can be extracted and displayed to students and educators for better clarity with tools such as pyLDAVis (a Python module).

pylab

 

These are then transferred to gradient boosted trees and convolutional neural networks to produce a predicted score as well as predictions of probabilities for each grade assignment (a useful additional feature to examine if an essay merits a higher or lower grade due to other influences).

Visual process

Visual process

 

Various models have been tested but due to the current sample size of this particular training set (only thirteen thousand essays), the power of the neural network could not be properly harnessed.  As a result, the best performing model, which is employed for the app's current prediction scores, were able to predict with a cross validated accuracy score of 94% with minimal log loss.  The essay predictor was always able to predict within one point of the "control" essay score in 100% of the cases.  Since typical industry standards, disagreement between manual essay grading leads to point differences so this can model such variations.  In addition, with a larger sample size, the convolution neural network can be called upon as it "learns" previous behaviors and can eventually train itself on essay format changes without the need to be fed training samples from more essays.

A demonstration of the app can be found here with an example of the current prototype model grading and assessing one essay.

Note that private information such as personal names within the essay is censored with @CAPS.

Note that private information such as personal names within the essay is censored with @CAPS.

 

In the future, additional features can be added towards the essay such as improvement tips on writing, personalized tuning for educators on weights of the essay and so forth. There are also some short comings due to the sample size used to train the app. For example, when the user is using language that is far more sophisticated (Ms or PhD level) than the student population the app used to train upon, the vocabulary is often not recognize by the model and the app would thus grade the essay poorly due to a perceived "off-topic" notion. This can be combated in the future by training on a much larger corpus size than the model currently had access to.


About Author

Drace Zhan

Drace Zhan

Drace Zhan has honed the bulk of his communication skills by teaching math and reading skills to high school and college graduates since 2007. A whiz at translating abstruse concepts to easily understood terms, he entered the field...
Read more
Jake Bialer

Jake Bialer

During the past eight years, I’ve worked as a full-stack developer, data analyst, and journalist. I’ve a track record of finding unique datasets through web scraping and using them to help companies solve key business problems. My NYCDSA...
Read more

Leave Responses

Your email address will not be published. Required fields are marked *

best custom essay writing service May 11, 2017
Hi! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no data backup. Do you have any solutions to protect against hackers?
Como importar da china May 1, 2017
Basicamente oque vosmecê tem que realizar bem como celebrar catalogação gratuito nos sites listados adiante bem como propiciar sua avaliação nos formulários com pesquisas que estão no página da internet deles em outras palavras que são enviados perante seu email. http://mykstore.com/user/profile/7952
BobbuBrowne April 29, 2017
Hello! Cool post, amazing!!!