to Wording-Based
Item Difficulty Prediction
Czech Academy of Sciences & Charles University
Knowing the difficulty of items is vital for test construction
(minimize measurement error at targeted ability levels)
Pretesting is oftentimes not feasible at all
(target population not available, item leakage, cost etc.)
Expert judgment is inconsistent (AlKhuzaey et al., 2023)
What other options do we have?
Figure 1: The architecture of a transformer (Vaswani et al., 2017)
Figure 2: Encoder part of a transformer (Vaswani et al., 2017)
Figure 3: Multi-head self-attention (Vaswani et al., 2017)
Figure 4: Scaled dot-product attention (Vaswani et al., 2017)
DistillBERT (Sanh et al., 2020) predicting item difficulty from the wording alone, zero preprocessing
Classification head placed on top of the last encoder layer (the last hidden state for the [CLS] token):
\hat{\mathbf{y}} = \mathrm{softmax}(\mathbf{W} \mathbf{h}_{\text{[CLS]}} + \mathbf{b}),\quad
\mathbf{W} \in \mathbb{R}^{5 \times 768},\
\mathbf{b} \in \mathbb{R}^5,\
\mathbf{h}_{\text{[CLS]}} \in \mathbb{R}^{768}
Trained on 720 multiple-choice RACE1 items labeled with Rasch difficulty, after MLM for domain adaptation on full RACE
Results only on par with the traditional approaches with hand-crafted features
Sequence classification with an encoder-only transformer (from Tunstall et al., 2022)
Figure 5: A sample item from the RACE dataset (Lai et al., 2017)
[CLS]’s hidden state, but pool over the other tokens in the last layer (and/or deeper layers)[CLS]-based approach on the same dataset) to 0.86 (mean-pooled last hidden states)Jan Netík
netik@cs.cas.cz
Institute of Computer Science, The Czech Academy of Sciences
Faculty of Education, Charles University