Abstract
We propose a flexible multimodal model for predicting all dichotomous and polytomous item parameters from text, images, and metadata by fusing representations from encoder Transformer vision and language models. This deep learning model accommodates heterogeneous item formats, including items with any number of components such as correct and incorrect options, stimuli, and images. Answer key indicators distinguish correct options from distractors, while an attention pooling technique weights the relative importance of these components. Based on the two-parameter logistic model and the generalized partial credit model, we predict all item parameters jointly using a masking strategy to ensure that only relevant parameters contribute to the loss. Item-level and item component-level metadata are also included. We evaluate the approach using 40,965 English language arts and mathematics items for Grades 3–11. A single model accommodated both exam subjects, all 11 item types, and all item parameters, eliminating the need for multiple specialized models. However, results indicate that the full model was unable to leverage all input data. Often, prediction accuracy was unchanged as features were removed. Images were good predictors on their own (item intercept
Keywords
Introduction
To ensure the quality of items on standardized tests before operational use, test developers examine item characteristics like difficulty and discrimination (Crocker & Algina, 1986). Item response theory (de Ayala, 2009) is widely used to model item characteristics. Predicting the parameters of these models has several important applications in the development of large-scale assessments, including evaluating items before field testing (S. Han, Rijmen, et al., 2025; M. Li et al., 2025; Maeda, 2025; Maeda & Lu, 2025; Scarlatos et al., 2025), improving parameter estimation by incorporating predicted values as a Bayesian prior (Ulitzsch et al., 2025), or even using predicted values to replace calibration, such as when automatically generating items Circi et al. (2023) on the fly during computerized adaptive testing Baylari and Montazer (2009). With the increasing demand of such applications, accurate item parameter prediction methods are becoming increasingly desirable.
Although successful difficulty prediction methods exist (see reviews AlKhuzaey et al., 2024; Benedetto et al., 2023; Peters et al., 2025), one limitation in the current literature is that they fall short of being able to incorporate diverse types and features of items commonly present in large-scale assessments. With a few exceptions (El Masri et al., 2017; S. Han, Rijmen, et al., 2025; Yi et al., 2024), most difficulty prediction papers have focused on just one item type, typically multiple-choice questions (Peters et al., 2025). However, in practice, a test might contain varied item types to measure multiple content standards. One challenge in accommodating different item types in a prediction model is that researchers have not reached a consensus on the best way to incorporate and distinguish the various text components in prediction, such as passages, prompts, distractors, and correct answers. Another challenge is that image data commonly found on test items (e.g., plots and figures) are difficult to model and thus have not been used for predicting item parameters, despite their influence on text comprehension (Schnotz, 2005), item difficulty (Wu et al., 2015), and learning (Mayer, 2002; Paivio, 1990).
Another limitation in the current literature is that only a limited set of item response theory models and parameters has been used for this task, with most studies relying primarily on dichotomous models. For example, to our knowledge, S. Han, Rijmen, et al. (2025) is the only paper that attempted to predict polytomous item threshold parameters. Furthermore, although item discrimination is a good indicator of item quality, only a limited number of studies have attempted to predict it (e.g., S. Han, Rijmen, et al., 2025; Hillsley, 2025; Maeda, 2025; Stanger-Hall, 2012). The few that did have consistently found that item type is a good predictor of item discrimination (Hillsley, 2025; Stanger-Hall, 2012).
To address these shortcomings, the purpose of this study is to build flexible multimodal models that can utilize all available components of the item, including the text, images, and metadata, to predict all parameters of dichotomous and polytomous items. Notably, the models are designed to handle various item types simultaneously, such as items that contain zero to any number of response options, passages, and images while being able to recognize the correct and incorrect response options. The design allows the model to adapt a wide variety of simple to highly complex assessment data.
Related Works
Transformer-Based Language Models
Traditionally, item parameter prediction involved expert judgment (e.g., Wauters et al., 2012), simple syntactic features like word count and term frequency (e.g., Benedetto et al., 2020), or semantic features like word embeddings (e.g., Hsu et al., 2018). However, more recently, modern approaches to predicting item parameters from text have shifted to leveraging transformer-based language models, which greatly enhanced prediction accuracy potential (e.g., S. Han, Rijmen, et al., 2025; M. Li et al., 2025; Maeda, 2025; Scarlatos et al., 2025). Introduced by Vaswani et al. (2017), the transformers fundamentally advanced natural language processing by replacing recurrent architectures with attention mechanisms that process all input tokens in parallel. This design enables efficient training and scalable modeling of long-range dependencies. Transformer-based language models such as Bidirectional Encoder Representations from Transformers (BERT; Devlin et al., 2019) are pretrained on large text corpora and can be fine-tuned for downstream tasks including classification, regression, and question answering. Text inputs are tokenized into embeddings, which are passed through multiple encoder layers to produce representations that capture contextual semantic relationships of words.
In this study, the DeBERTaV3-large model (He et al., 2021) was used. DeBERTa extends BERT (Devlin et al., 2019) and RoBERTa (Liu et al., 2019) by disentangling content and positional information into separate representations and attention mechanisms, improving modeling of word relationships. DeBERTaV3 further improves training efficiency through replaced token detection, resulting in a 304-million-parameter model that achieves strong benchmark performance.
Images and Vision Models
Visual information plays a critical role in supporting comprehension and learning by complementing textual information. According to dual coding theory, learners process verbal and visual information independently, and integrating both can enhance understanding and recall (Paivio, 1990). Building on this framework, multimedia learning theory posits that well-aligned text and images facilitate deeper learning by helping students organize and integrate information more effectively (Mayer, 2002). Empirical research has shown that diagrams, illustrations, and graphs can improve comprehension, problem-solving, and inference-making, particularly when visual elements convey structural or relational information that is difficult to express in text alone (Schnotz, 2005). In assessment contexts, images may therefore influence how students interpret item prompts, reduce ambiguity, or support reasoning processes, potentially affecting perceived difficulty and response behavior. Conversely, poorly designed visuals may increase extraneous cognitive load, raising item difficulty or lowering item discrimination. Therefore, past research suggest that images may alter item functioning, providing a theoretical basis for incorporating visual representations when predicting item parameters.
Various types of vision models are available in image-understanding contexts. For example, optical character recognition (OCR) is an automated process of detecting and converting text contained in images or scanned documents (Smith, 2007). Alternatively, Donut (Kim et al., 2022) directly maps document images to structured text representations without OCR, making them effective for text extraction tasks. Vision-language models such as Bootstrapping Language-Image Pre-training (BLIP; J. Li et al., 2022) and BLIP-2 (J. Li, Li, et al., 2023) learn image–text representations and are commonly used for image captioning and visual question answering. Other approaches include Contrastive Language-Image Pre-training (CLIP), which aligns images and text in a shared embedding space through contrastive learning (Radford et al., 2021), as well as convolutional neural networks (CNNs) and hybrid CNN–vision Transformer architectures used for diagram and chart understanding (Khan et al., 2023).
While these models are effective for text-centric or generative tasks, they are often optimized for image-text alignment rather than learning image-specific visual representations. In this study, we instead use a general-purpose self-supervised vision Transformer named DINOv3 (Oquab et al., 2023; Siméoni et al., 2025). The input is a 224 × 224 pixel image and outputs a fixed-length visual feature vector that can be used for downstream tasks such as classification or regression. We chose to use this model for three reasons. First, DINOv3 is trained to learn visual representations directly from images, rather than translating visual content into textual form, which may avoid redundancy when paired with a dedicated language model. Second, transformer-based vision models are modern and provide efficient and scalable computation while capturing global spatial relationships. Third, DINOv3 produces flexible and transferable image embeddings that can generalize across the diverse diagrams, figures, and visual stimuli commonly found in assessment items. This design makes DINOv3 particularly well suited for multimodal item parameter prediction, where visual information contributes information beyond text alone.
Answer Key Indicators
Prior research has not identified an elegant method for incorporating the response option text into item parameter prediction models. In many studies, correct options, distractors, or both are excluded or simply concatenated to the item prompt without an indication of the answer key (Peters et al., 2025). Including these options has had little to no change in predictive accuracy (e.g., Benedetto, 2023). Such models lack the information necessary to identify miskeyed items or items containing more than the intended number of correct answers.
This limitation is consequential, as miskeyed items typically exhibit negative discrimination parameters. Moreover, established item development guidelines emphasize that the number and quality of distractors affect difficulty and discrimination (Haladyna et al., 2002; Susanti et al., 2017). The distinction between correct and incorrect options therefore contains critical construct-relevant information, untapped in item parameter prediction.
To address this limitation, we propose a technique termed “answer key indicators.” Answer key indicators consist of a set of dummy variables that explicitly encode whether each response option text component is keyed as correct or incorrect. These indicators are incorporated alongside the response option text and are used within the attention pooling mechanism, allowing the model to differentially weight correct answers and distractors when generating representations for item parameter prediction.
Attention Pooling
Items often have multiple components, such as passages, prompts (i.e., stem), options, and images. Each of these pieces may contain unique information valuable for predicting item parameters, which need to be combined during prediction. A simple approach would be to average the information among these components, named mean pooling. A more advanced method, called attention pooling, is a learnable weighted averaging mechanism that assigns higher weights to more predictive components (Er et al., 2016). Through attention pooling, deep learning models can make a single prediction for each item, regardless of the number of components that make up the item.
Multimodal Prediction
Multimodal data has been used for detecting outcomes such as sentiment (Deshpande et al., 2025) or fake news (Lin et al., 2024), but its application is new in the measurement field. Multimodal prediction approaches depend on how information from different modalities is represented and combined in a deep fusion model (Gao et al., 2020; W. Li, Peng, et al., 2023). One common strategy is early fusion, in which features from multiple modalities are concatenated at the input level and passed through a single predictive model (Baltrušaitis et al., 2018). While straightforward, early fusion assumes that all modalities are always present and equally informative. An alternative is late fusion, where separate modality-specific models learn independent representations or predictions that are subsequently combined (Ngiam et al., 2011), allowing greater robustness to missing data or heterogeneous inputs. Such flexible architecture is desirable in contexts where items vary in their inclusion of text, images, and metadata. We use a late fusion strategy in this article.
Item Response Models
In the current study, the probability of examinee
where
For the rest of this article, we drop the
Method
Data
We demonstrate the modeling approach using 40,965 items designed for English language arts (51.2%) and mathematics (48.8%) state summative assessments for students in Grades 3–8 and 11. Items were field-tested among students corresponding to the grade level of each item, then calibrated and vertically scaled. The target student sample size for each item was 2,000 (
Data were structured in a hierarchical format where every item had one or more item component, including stimulus (i.e., passages or other context), prompts (i.e., stem), individual response options, and images (see Table A1 in Appendix). A “full text” component was created for each item, which was a concatenation of all text other than the stimuli. This component allowed the language model to consider the full context of the item at once. Items had an average of 4.9 (
Eleven item types were present, such as multiple choice, multiple select, short answer, and match-interaction (see Table A1 in Appendix). Dichotomous items were calibrated using the 2PL model, while the GPCM was used for polytomous items. Polytomous items had up to five score categories. A total of 10.5% of the items were polytomous, with 1.1% having four or five score categories. The item intercept
Target Item Parameters
We aimed to predict all seven parameters,
Deriving
Text Sub-Model
The text sub-model consists of the DeBERTaV3-large Transformer language model (He et al., 2021), followed by a 128-dimensional projection layer and a regression head. Data are processed entirely at the text component-level. Tokenized text is entered into DeBERTaV3, and the last hidden state of the [CLS] token is extracted and projected into a 128-dimensional hidden space, and used to predict the five aforementioned item parameters. Mathematically, the model is defined as follows. Suppose
where
here,
Image Sub-Model
The image sub-model consists of the DINOv3 vision Transformer (Siméoni et al., 2025), followed by a 128-dimensional projection layer and a regression head. Data are processed entirely at the image component level. Each PNG image pixel was typically represented by three numeric values corresponding to the RGB color channels. Images containing a fourth alpha (transparency) channel were converted by replacing transparent pixels with white. Consistent with the default approach for DINOv3, every image was resized to 224 × 224 pixels, where any rectangular images were stretched to a square (i.e., rather than cropped). Finally, images were passed through DINOv3. The last hidden state of the [CLS] token for each image was extracted and projected into a 128-dimensional hidden space, and used to predict
where
here,
Multimodal Deep Fusion Model
The multimodal deep fusion model integrates text and image–component level input into item-level representations through attention pooling, concatenates these with item-level metadata, projects the combined representation into a 128-dimensional hidden space, and applies a final regression head to predict all item parameters (see Figure 1). Initially, the text and image components are entered into each respective sub-model, which allowed us to convert each text and image component to a 128-dimensional representation. This output was subsequently combined with various metadata in the deep fusion model (Gao et al., 2020; W. Li, Peng, et al., 2023) using late fusion (Ngiam et al., 2011).

Multimodal deep fusion model diagram.
There were four groups of metadata: item-level variables, component indicators, answer key indicators, and text component-level natural language processing (NLP) variables. Item-level variables were mostly composed of dummy-coded blueprint-related variables, including the item subject, grade, item type, number of score categories, and depth of knowledge. Component indicators are dummy variables that indicate whether each image was included in the stimulus or prompt, and whether each text component was a stimulus, prompt, or options. Answer key indicators were also dummy variables that indicated whether each response option text component is a correct or incorrect answer. Answer key indicators were only relevant to items with options, which were multiple-choice or multiple-select items. NLP variables were calculated for each individual text component using the textstat package (Ward, 2025), including letter count, sentence count, characters per word, letters per word, sentences per word, words per sentence, syllables per word, Flesch reading ease, automated readability index, Dale-Chall readability score, Simple Measure of Gobbledygook (SMOG) index, and reading time. NLP variables were all standardized to approximately
Overall, the deep fusion model is composed of three types of data: (1) image component–level data, including the 128-dimensional image space and image component indicators, (2) text-component-level data, including the 128-dimensional text space, text component indicators, answer key indicators, and NLP variables, and the (3) item-level metadata. The text and image component representations were aggregated into an item-level embedding using attention pooling (Er et al., 2016) with a hidden dimension of 64, applied separately to text and image features. We include text and image component indicator dummy variables to facilitate attention pooling. Image embeddings were imputed as 0 for items without images.
Mathematically, the attention pooling module is defined as follows. Let
where
Finally, the prediction layer is defined as follows
where
Model Optimization
Text sub-model, image sub-model, and the fusion model were trained in Python using the pytorch library (Paszke et al., 2019). All parameters were predicted jointly within each model. Joint prediction can improve accuracy when target variables are correlated, as information shared across item parameters can be leveraged during training. In the present data, item parameters showed moderate correlations (mean pairwise absolute value of correlations was
We considered alternative strategies like (a) training separate models for each item parameter, (b) partitioning the models into English language arts and math, or (c) replicating each item once per item parameter, while including an indicator of the target parameter and predicting a single outcome. These approaches were computationally inefficient and inconvenient as they multiplied the training time and data volume. We also observed no definitive improvement to the loss during pilot testing.
DeBERTaV3 in the text sub-model was fine-tuned using a Low-Rank Adaptation (LoRA; Hu et al., 2022; LoRA rank = 50, LoRA alpha = 100, LoRA dropout = 0.05, dropout = 0.1, batch size = 8, max token length = 512, weight decay = .01, learning rate = 7e-5, epochs = 4). LoRA is a parameter-efficient fine-tuning method that freezes a pretrained model’s original weights and instead learns small low-rank matrices that modify selected layers. This dramatically reduces the number of trainable parameters, lowering memory, storage, and computational costs. DINOv3 in the image sub-model was also fine-tuned using a LoRA (LoRA rank = 50, LoRA Alpha = 100, LoRA dropout = 0.1, dropout = 0.2, batch size = 8, weight decay = 0.1, learning rate = 4e-5, epochs = 8). All hyperparameters were selected based on trial and error through minimizing the mean-squared-error (MSE) loss among the validation data.
Once the sub-models converted each text and image component to a 128-dimensional representation, they were entered into the deep fusion model as fixed values, along with the aforementioned metadata. Then, the deep fusion model was trained using joint prediction and masked loss (Dropout = 0.05, accumulation steps = 16, weight decay = 0.001, norm = 0, and learning rate for head = 5e-5, pool = 2e-5, and norm = 1e-5).
The reason for training the sub-models and fusion models separately was computational efficiency, especially because the NVIDIA A10G Tensor Core 24 GB graphics processor we used was relatively small. In all models, MSE loss was used for training. We retained the state with the lowest MSE validation loss out of all epochs.
Model Comparison
Along with the full deep fusion model, multiple variations of a more parsimonious model were explored, focusing on whether complex techniques and data structures added unique value to the model. Inclusion and removal of seven features were explored: (1) text component-level hidden space, (2) image component–level hidden space, (3) item-level variables, (4) text component-level answer key indicators, (5) text component-level NLP variables, (6) attention pooling, and (7) restricting the text to only the prompt. Component indicators were always included, unless the entire text or image component was removed. Not all combinations of the model complexity were explored.
Model performance was evaluated using
Results
Vision Model Visualization
Prior to the main modeling results, we present two figures to help understand the information captured by the 128-dimensional DINOv3-large image embeddings. First, we applied a k-means clustering algorithm to partition the images into 16 semantically distinct categories. Representative images from each cluster were then displayed to illustrate the captured visual patterns. Training, validation, and test sets were combined for this procedure due to the limited number of images we could publicly display. The resulting clusters corresponded to visual structures such as line graphs, tables, geometric figures, colored diagrams, and photographic images (see Figure 2).

Item images categorized using k-means based on the 128-dimensional hidden space from DINOv3-large.
To present how DINOv3 linked the visual information to item parameters, we plotted the item intercept parameter (i.e.,

Scatterplot of the item intercepts and their predictions based on fine-tuned DINOv3-large item-image embeddings.
Model Comparison Results
The rest of the reported results are based on the test data only. Table 1 shows the
Model Comparisons Using
Note. LM = language model projections, VM = vision model projections, ILP = item-level predictors, NLP = natural language processing predictors, Key = answer key indicators, AP = attention pooling, PO = prompt text component data only,
Computed using the predicted parameters. bNearly tied for best-performing model.
The best average
To understand some of this information redundancy, we regressed the item intercept on item grade level (
To further examine the contribution of our best model and image features, we focus on Models 15 and 17 in the following section. Model 15 represents the most parsimonious specification among the six highest-performing models, whereas Model 17 extends it by incorporating the image component.
Closer Look at Models 15 and 17
Boxplots of Model 15 output show a similar distribution shape, mean, and median as the target label, but predictions had a lower variance (see Figure 4). Regression to the mean is a typical phenomenon, but it is notable in this case because the model cannot be used for detecting poor-quality items with low discrimination or that are too difficult or easy. Predictions of

Boxplots of Model 15 target labels and predictions.
Comparisons of Model 15 and 17 RMSE show that the inclusion of the image components did not change the prediction accuracy substantially (see Table 2). The most notable change was a decrease in
RMSE for Models 15 and 17.
Note. RMSE = root mean squared error, ELA = English language arts. Model 15 was our best-performing parsimonious model, which included item-level predictors and language model projections of the item prompt text. Model 17 included image components in addition to the features in Model 15.
Computed using the predicted parameters.
Comparisons of Model 15 and 17 mean signed bias show that the inclusion of the image components did not change the predictions substantially (see Table 3). The largest notable change was
Bias for Models 15 and 17.
Note. ELA = English language arts. Model 15 was our best-performing parsimonious model, which included item-level predictors and language model projections of the item prompt text. Model 17 included image components in addition to the features in Model 15.
Computed using the predicted parameters.
Model 15 performance in handling each item type was examined (see Table 4). The
Model 15 Prediction Accuracy by Subject and Item Type.
Note. ELA = English language arts, EBSR = evidence-based selected response, EQ = equation, HTQO = hot-text-question-orderable, HTQS = hot-text-question-selectable, GI = grid item, MC = multiple choice, MI = match-interaction, MS = multiple select, SA = short answer, TI = table interaction, WER = writing extended response,
Computed using the predicted parameters.
Discussion
To our knowledge, this is the first study to predict item parameters using images through an artificial intelligence (AI)-based vision model or multimodal model. A key contribution is the flexibility of the proposed approach relative to prior work (AlKhuzaey et al., 2024; Benedetto et al., 2023; Peters et al., 2025). By including mechanisms that can capture nearly all information present in the item data, the model can accommodate a wide range of item formats, extending its applicability across diverse testing programs. A single model successfully accommodated both exam subjects, all 11 item types, and all item parameters, eliminating the need for multiple specialized models. Joint parameter prediction along with a masked loss strategy substantially reduced the amount of processed data and training time. More broadly, the general framework of combining item components through attention pooling and fusing modality-specific models has applications beyond item parameter prediction. Predicting item parameters creates opportunities to revise and improve items prior to field testing, potentially reducing the number of rejected items. These capabilities are especially powerful when paired with automated item generation, where evaluating item quality is becoming more challenging than generating new items.
Despite these advantages, the models were unable to fully leverage all of the information available in the data. Although components such as image embeddings, attention pooling, and answer key indicators showed potential, oftentimes, prediction accuracy decreased as features were added. Results suggest the model’s difficulty learning stable and generalizable patterns from the expanded feature space during the training. This may reflect excessive model complexity relative to sample size, redundancy across predictors, or limitations in training and fine-tuning that hindered the separation of real signal from noise.
Consequently, a more parsimonious model performed about the same or better than more complex variants. Out of the six best-performing models, Model 15 was the most parsimonious, which achieved overall
These training shortcomings warrant the exploration of alternative regularization techniques, which are strategies that enhance model generalizability. In the current paper, we used regularization methods such as dropout and weight decay, but there are a broader range of techniques that may further reduce overfitting (Tian & Zhang, 2022). For example, image data augmentation techniques, including random rotations and cropping, could be applied during training to encourage the vision model to learn more invariant visual representations rather than memorizing specific images.
Model performance may also be improved through better integration of visual and textual information. In order for image and text data to complement each other, both alignment and fusion are essential (S. Li & Tang, 2025). Semantic correspondences between modalities should be established through alignment, then fused together to make unified predictions. Recently, “multimodal large language models” trained specifically on both text and images have emerged (e.g., J. Han, Gong, et al., 2025; Peng et al., 2023). These new models may enhance cross-modal interaction while simplifying model design compared to the complex fusion strategies employed in this study.
Footnotes
Appendix
Distribution of Item Components by Modality, Subject, and Item Type.
| Modality | Subject | Component | Item types |
|
|---|---|---|---|---|
| Image | ELA | Prompt | HTQS, MC, MS | 230 |
| Stimulus | EBSR, HTQS,MC,MI, MS, SA | 4,532 | ||
| Math | Prompt | EQ, GI, HTQS,MC,MI,MS,SA,TI | 9,077 | |
| Stimulus | EQ, GI,MC,MI,MS,SA,TI | 1,848 | ||
| Text | ELA | Full text | EBSR, HTQS,MC,MI,MS,SA,WER | 20,957 |
| Prompt | EBSR, HTQO,HTQS,MC,MI,MS,SA,WER | 20,957 | ||
| HTQS Prompt | HTQS | 3,087 | ||
| EBSR prompt A | EBSR | 1,887 | ||
| EBSR prompt B | EBSR | 1,887 | ||
| HTQO | HTQO | 236 | ||
| Option | EBSR, MC,MS | 72,522 | ||
| Stimulus | EBSR, HTQO,HTQS,MC,MI,MS,SA,WER | 13,383 | ||
| Stimulus (audio) | EBSR, MC,MI,MS | 836 | ||
| Math | Full text | EBSR, EQ,GI,HTQS,MC,MI,MS,SA,TI | 20,008 | |
| Prompt | EBSR, EQ,GI,HTQS,MC,MI,MS,SA,TI | 20,008 | ||
| HTQS Prompt | HTQS | 1 | ||
| EBSR prompt A | EBSR | 5 | ||
| EBSR prompt B | EBSR | 5 | ||
| Option | EBSR, MC,MS | 24,991 | ||
| Stimulus | EBSR, EQ,GI,MC,MI,MS,SA,TI | 1,640 |
Note. ELA = English language arts, EBSR = evidence-based selected response, EQ = equation, HTQO = hot-text-question-orderable, HTQS = hot-text-question-selectable, GI = grid item, MC = multiple choice, MI = match-interaction, MS = multiple select, SA = short answer, TI = table interaction, WER = writing extended response. Data contained a total of 40,965 items, where each item was structured in a hierarchical manner, made up of zero or more image and text components.
Acknowledgements
The authors appreciate support and feedback from Catherine Francis and Shumin Jing.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Declaration of Conflicting Interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
