Skip to main content
QUICK REVIEW

[Paper Review] Automatic coding of students' writing via Contrastive Representation Learning in the Wasserstein space

Ruijie Jiang, Julia Gouvea|arXiv (Cornell University)|Nov 26, 2020
Topic ModelingComputer Science33 references5 citations
TL;DR

This paper proposes a contrastive representation learning framework in the Wasserstein space to automatically score students' biology lab reports for argumentation sophistication. By combining biLSTM and CNN encoders with contrastive learning, the method achieves a Quadratic Weighted Kappa (QWK) of 0.645, approaching human inter-rater reliability (QWK = 0.839), demonstrating strong potential for scaling qualitative learning sciences research using NLP.

ABSTRACT

Qualitative analysis of verbal data is of central importance in the learning sciences. It is labor-intensive and time-consuming, however, which limits the amount of data researchers can include in studies. This work is a step towards building a statistical machine learning (ML) method for achieving an automated support for qualitative analyses of students' writing, here specifically in score laboratory reports in introductory biology for sophistication of argumentation and reasoning. We start with a set of lab reports from an undergraduate biology course, scored by a four-level scheme that considers the complexity of argument structure, the scope of evidence, and the care and nuance of conclusions. Using this set of labeled data, we show that a popular natural language modeling processing pipeline, namely vector representation of words, a.k.a word embeddings, followed by Long Short Term Memory (LSTM) model for capturing language generation as a state-space model, is able to quantitatively capture the scoring, with a high Quadratic Weighted Kappa (QWK) prediction score, when trained in via a novel contrastive learning set-up. We show that the ML algorithm approached the inter-rater reliability of human analysis. Ultimately, we conclude, that machine learning (ML) for natural language processing (NLP) holds promise for assisting learning sciences researchers in conducting qualitative studies at much larger scales than is currently possible.

Motivation & Objective

  • To develop a machine learning method that automates the qualitative coding of student writing in science education, reducing reliance on labor-intensive human coding.
  • To address the challenge of assessing argumentation sophistication in student lab reports, which requires contextual understanding beyond keyword matching.
  • To evaluate whether contrastive representation learning in the Wasserstein space can improve model performance on small, nuanced writing assessment datasets.
  • To assess whether the model’s predictions align with human consensus and can identify ambiguous or borderline cases for re-evaluation.

Proposed method

  • The method employs a contrastive learning setup in the Wasserstein space to learn meaningful text representations from labeled lab reports.
  • Word embeddings are used to encode text, followed by either biLSTM or CNN architectures as sequence encoders to capture contextual and structural features.
  • The model is trained using a contrastive loss function that encourages similar samples (same score) to be close in the embedding space and dissimilar ones (different scores) to be far apart.
  • Prediction is performed using k-Nearest Neighbors (KNN) on the learned representations, avoiding end-to-end fine-tuning.
  • The framework is designed to be feature-agnostic, requiring no manual feature engineering, and is effective even on small datasets.

Experimental results

Research questions

  • RQ1Can contrastive representation learning in the Wasserstein space effectively capture nuanced differences in argumentation quality in student lab reports?
  • RQ2How does the proposed method compare to existing NLP models like c-rater-ML in scoring argumentation sophistication?
  • RQ3To what extent do machine learning predictions align with human consensus and re-coding outcomes, especially for borderline or low-score cases?
  • RQ4Can the model identify reports that are inconsistent or ambiguous in human coding, suggesting areas for human review?

Key findings

  • The CoReL-W+CNN model achieved the highest QWK score of 0.645, outperforming baseline models including c-rater-ML, which scored 0.0.
  • The biLSTM and CoReL-W+biLSTM models achieved QWK scores of 0.61 and 0.628, respectively, indicating moderate to substantial agreement with human coders.
  • The model showed particular difficulty in predicting Level 1 reports, likely due to class imbalance (only 12 out of 146 reports were coded as Level 1).
  • In re-coding, 4 of the 9 reports where ML predictions differed from original human scores were revised toward the ML prediction, suggesting ML can flag ambiguous or inconsistent cases.
  • The re-coding process yielded a QWK of 0.701 among human coders, indicating the subset was challenging, yet the model’s performance remained robust.
  • The results suggest that the proposed method can support large-scale qualitative research by achieving high reliability with minimal feature engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.