Nowruz at SemEval-2022 Task 7: Tackling Cloze Tests with Transformers and Ordinal Regression

Mohammadmahdi Nouriborji, Omid Rohanian, David A. Clifton · OpenReview

Abstract

This paper details the system developed by team Nowruz for SemEval-2022 Task 7: "Identifying Plausible Clarifications of Implicit and Underspecified Phrases." The task involves determining the plausibility of fillers in a cloze task based on instructional texts from WikiHow. Our approach utilizes a pre-trained transformer backbone integrated with a multi-task learning framework. By employing ordinal regression—specifically Consistent Rank Logits (CORAL)—the system treats plausibility labels as an ordered sequence rather than independent categories. The system achieved 5th place in the ranking subtask and 7th place in the classification subtask out of 21 participating teams. Subsequent optimizations have further improved these results.

Introduction

Cloze tests serve as a fundamental metric for evaluating a model's linguistic and contextual understanding. SemEval-2022 Task 7 presents a nuanced version of this challenge using real-world data from WikiHow. When users edit WikiHow articles, they often clarify vague or implicit phrases to improve instructional clarity. The task requires models to judge how "plausible" a specific clarification is within its original context.

This problem is characterized by three primary challenges:

  1. Nuance: Plausibility is not a binary state; it exists on a spectrum (Implausible, Neutral, Plausible).
  2. Contextual Dependency: Models must grasp the instructional flow of a "how-to" article to determine if a filler fits logically.
  3. Dual Objectives: The competition requires both discrete classification (Subtask A) and continuous ranking/regression (Subtask B).

Methodology

Transformer Backbone and Input Formatting

We experimented with several state-of-the-art transformer architectures, including BERT, RoBERTa, T5, and DeBERTa-V3. To capture the full context, the input was formatted by concatenating the article title, section header, and the surrounding context (previous and follow-up sentences) with the target sentence containing the filler.

Feature Representation

To represent the filler within its context, we developed a hybrid pooling strategy. We concatenated the representation of the [CLS] token, which captures the global context of the input string, with the representation of the last word-piece of the filler itself. This ensures the model considers both the overarching instructional narrative and the specific linguistic properties of the clarification.

Ordinal Regression (CORAL)

The core innovation of the Nowruz system is the use of Consistent Rank Logits (CORAL). Standard classification approaches use cross-entropy loss, which treats all incorrect predictions as equally wrong. However, in a plausibility task, predicting "Plausible" when the ground truth is "Implausible" is a more significant error than predicting "Neutral."

Ordinal regression recognizes this inherent order by decomposing a $K$-class problem into $K-1$ binary tasks. This approach ensures that the model learns the spectrum of plausibility, which is particularly beneficial for Subtask B’s ranking requirements.

Experimental Setup and Dataset

The study utilized the WikiHow-based dataset provided by the organizers. Each instance includes a "Resolved Pattern" (the type of edit), metadata (Title and Section Header), and the surrounding context.

  • Subtask A (Classification): 3 labels (Implausible, Neutral, Plausible).
  • Subtask B (Ranking): Human-annotated scores ranging from 1.0 to 5.0.

During development, we found that the method used to convert continuous 1-5 scores into discrete bins for ordinal regression (e.g., rounding vs. flooring) significantly impacted the label distribution and final model performance.

Results and Discussion

The Nowruz system performed competitively in the official leaderboard:

  • Subtask B (Ranking): Ranked 5th out of 21 teams.
  • Subtask A (Classification): Ranked 7th out of 21 teams.

Post-competition experiments on the development set revealed that DeBERTa-V3_large was the most effective backbone, achieving an accuracy of 64.12% on Subtask A and a Spearman’s rank correlation of 0.7411 on Subtask B. We observed that smaller batch sizes (8 or 16) consistently yielded better results than larger ones, likely due to more frequent weight updates in a data-constrained environment.

Conclusion

The success of the Nowruz system highlights the importance of treating plausibility as an ordinal rather than a nominal variable. By combining the superior pre-training of DeBERTa-V3 with Consistent Rank Logits, we were able to effectively model the nuances of instructional clarifications. Future work will explore the integration of external domain knowledge from WikiHow to further enhance the model's contextual reasoning capabilities.

Summary updated

BibTeX
@inproceedings{nouriborji2022nowruz,
  author = {Mohammadmahdi Nouriborji and Omid Rohanian and David A. Clifton},
  title = {{Nowruz at SemEval-2022 Task 7: Tackling Cloze Tests with Transformers and Ordinal Regression}},
  booktitle = {SemEval @ NAACL},
  year = {2022},
  url = {https://openreview.net/forum?id=Adm3TNIfVf},
}
Figure