Abstract
The questionnaire method has always been an important research method in psychology. The increasing prevalence of multidimensional trait measures in psychological research has led researchers to use longer questionnaires. However, questionnaires that are too long will inevitably reduce the quality of the completed questionnaires and the efficiency of collection. Computer adaptive testing (CAT) can be used to reduce the test length while preserving the measurement accuracy. However, it is more often used in aptitude testing and involves a large number of parametric assumptions. Applying CAT to psychological questionnaires often requires question-specific model design and preexperimentation. The present article proposes a nonparametric and item response theory (IRT)-independent CAT algorithm. The new algorithm is simple and highly generalizable. It can be quickly used in a variety of questionnaires and tests without being limited by theoretical assumptions in different research areas. Simulation and empirical studies were conducted to demonstrate the validity of the new algorithm in aptitude tests and personality measures.
Keywords
Introduction
Questionnaire length is an important factor in determining the response rate in various studies. Farooq (2018) focused on this topic and mentioned that a long questionnaire increases the probability of premature termination, random responses, or other behavior patterns, which results in data of lower quality. Respondents are reluctant to respond to long questionnaires, and their response rates decline. Gibson and Bowling (2020) conducted a study on the relationship between questionnaire length and careless responding. They found that varying questionnaire length had a significant effect on careless responses, but this effect was only observed in online questionnaires. Specifically, the effect was most pronounced when comparing questionnaires with few items (10) to those with many items (240). As a result, it is important to carefully control the length of questionnaires to ensure the quality of the data collected, particularly in the case of online surveys. To limit the length of questionnaires, researchers must often manually select some of the questions from the original question set. This is particularly common in studies measuring multidimensional traits, which is becoming increasingly frequent in psychological research, and it becomes a challenge to select items rationally and effectively.
Computer adaptive testing (CAT) is a computer-administered assessment in which the questions are selected based on the ability of the test taker. According to Meijer and Nering (1999), the objective of CAT is to construct an optimal test for each examinee. To achieve this, an examinee’s trait level (
However, all these studies implemented CAT based on parametric item response theory (IRT). Models such as the two-parameter logistic (2PL), three-parameter logistic (3PL; Birnbaum, 1968), and generalized partial credit (Muraki, 1992) models were employed when modeling the relationship between latent traits and item responses. Parametric models limit descriptions of the probability of correct responses to items as a function of latent traits, which brings the risk of estimation bias due to inappropriate model selection. Compared with parametric models, nonparametric models are more flexible and robust and are more suitable for complex tests. Falk and Feuerstahler (2022) reviewed two significant categories of nonparametric CAT models and evaluated their effectiveness. The idea of both types of nonparametric models is to use a nonparametric representation to indicate the probability of a correct response for items by the examinee. The difference is that Falk and Cai (2016) chose a monotonic polynomial (MP) approach, and Xu and Douglas (2006) chose a kernel smoothing (KS) approach based on Kullback–Leibler as the nonparametric representation.
Both Falk and Feuerstahler (2022) and Xu and Douglas (2006) introduced a nonparametric model but did not discard the framework of the probability of correct responses as a function of latent traits. If the reliance on the trait level’s estimation cannot be discarded, the author considers this nonparametrization to be inadequate, and both schemes can be considered semiparametric. Both schemes were tested with simulated experiments in aptitude test scenarios only. Whether the flexibility brought by nonparametrization allows for a more convenient extension of CAT to all types of questionnaire tests has not been demonstrated by any past work. The present article proposes a novel nonparametric CAT algorithm that enables item selection without the need to estimate trait levels during the response process. It can not only be used in various aptitude test scenarios but can also be very easily applied to various questionnaires. The core values of the proposed algorithm are reflected in the following three aspects:
As Xu and Douglas (2006) mentioned, nonparametric estimation can help reduce the bias that would result from fitting a misspecified parametric model. The proposed algorithm makes no assumptions about the distribution of latent abilities (
Most psychological questionnaires measure trait levels by calculating the mean (summed) scores of specified items rather than latent variables. The proposed algorithm can be adapted to arbitrary requirements for the distribution of measurement results, which makes it more suitable for transforming traditional psychological questionnaires into CATs and maintaining sum score-like results output.
Compared with other methods, the proposed algorithm utilizes similarities between subjects rather than between items and is therefore particularly suitable for situations where the number of items in the item banks or the CAT is small.
The main idea behind the proposed algorithm is to iteratively cluster the neighboring samples of the respondent and then add the item to the questionnaire by comparing the differences in each item’s responses across classes and selecting the item with the greatest differences. In the proposed method, the most representative sequence of items is selected to find the most appropriate neighbor group for the target respondent, resulting in CAT. The average of the measurements of the neighbor group of the target respondent found by the algorithm will finally be the measurement of that respondent. The proposed algorithm is a general method, but it is proposed for the scenario of reducing the questionnaire length to ensure the quality of the subjects’ responses. Based on the study of Gibson and Bowling (2020), the data quality can only be significantly improved when the questionnaire length is kept to a minimum. As such, our subsequent studies will focus on the generation of miniature CATs (2–10 items measuring one trait/ability).
The remainder of the article is organized as follows. First, the proposed algorithm is introduced. Second, two comparison studies are presented. Third, the author summarizes the comparison results and conclude with a discussion of the findings. Finally, the author discusses future directions for research and draw conclusions.
Algorithm
The goal of the algorithm is to provide a subject with a computer adaptive test (CAT) for specified traits/abilities (
Symbol Definition
A questionnaire includes
Function
Iterative Item Selection of Neighborhood Clusters
The proposed IISNC method proceeds as follows:
Initialize the adaptive questionnaire item set to an empty set and all subjects into the neighbor group.
Build a two-class cluster for scores of subjects within the neighbor group.
Calculate the response difference between two classes for each unselected item, and select the item with the highest response difference (details discussed below).
Add the selected item into the adaptive questionnaire item set, and obtain a new respondent’s response to this item.
Calculate distances between the responses of a new respondent and all subjects within the adaptive questionnaire items set, and treat the specified number of subjects with the smallest distance as the neighbor group.
Repeat Steps 2 to 5 until the adaptive questionnaire length reaches the preset limit. The mean score of the last neighbor group with half the size is used as the score of the new respondent.
According to Meijer and Nering (1999), CAT is composed of two parts, the examinee’s trait level (
To locate the item with maximum information, a two-step procedure using machine learning models is employed. The first step is to cluster the subjects in the neighbor group into two classes based on their score feature vectors. This step can be achieved by a cluster model (e.g., k-means and density-based spatial clustering of applications with noise). The second step is to calculate the difference between the responses of subjects in the two classes for each item, referred to as the response difference. The item with the highest response difference is selected. In the proposed IISNC method, a simple definition of response difference is employed, which is the absolute value of the difference between the average responses of the two classes (shown as Algorithm 1). In the first step, subjects in the neighbor group are identified based on their scores, and in the second step, the item that best determines this distinction is found. With these two steps, IISNC theoretically selects an item that best reflects the variation in scores within the neighbor group. In other words, the maximum information is obtained from this item.
Iterative item selection of neighborhood clusters.
Studies
In the IISNC algorithm, the K-means algorithm was chosen for the cluster, the Manhattan (L1) distance was used as the distance between subjects’ responses, and the final neighbor group size was set to 20. Python3 and the extension libraries NumPy and sklearn were used to implement IISNC and obtain statistics for the results. The mirt and mirtCAT libraries in R were used to estimate ability values and item parameters and implement CAT with multidimensional item response theory (MCAT) in all studies except Study 2.1.
Simulation Study
In Study 1, the authors simulate a scenario in which a questionnaire is assumed to measure two abilities (traits) of the subjects. The result of the measurement is the sum of the scores of the items corresponding to each ability (trait). A miniature CAT (
Item Bank Description
Item banks were generated by first simulating the responses of 1,000 subjects to
where
Simulation Design
One hundred new respondents’ responses were generated from a standard normal ability distribution corresponding to each item bank. In total, 100 different item banks and 10,000 new respondents were generated for each
Results
Table 1 present the mean of 100 results in Study 1.
Results in Study 1
Note. MCAT = multidimensional computer adaptive testing; ISSNC = iterative item selection of neighborhood clusters.
In most cases, MCAT outperformed IISNC, especially as the total number of items in the item bank (

Item Exposure Rates When
Compared with (C)MAT, (Q)IISNC demonstrated superior RMSD results for small

Item Exposure Rates When
In terms of computing speed, the MCAT and IISNC methods were executed on the same simulated data using the same device (i.e., Intel(R) Xeon(R) Silver 4314 CPU @ 2.40 GHz). Overall, IISNC took only approximately one fifth of the time of MCAT, and IISNC had a significantly better performance in terms of speed. A possible explanation for this is the nonparametric nature of IISNC, where finding nearest neighbors and simple averaging operations replace the complex parametric calculations. An item selection time of less than 0.2 seconds per item ensures the usefulness of IISNC for real-time testing scenarios. (Q)ISSNC demonstrated a slight speed advantage over IISNC, possibly because (Q)ISSNC performs calculations in one-dimensional space, whereas IISNC estimates scores for both dimensions simultaneously.
Empirical Studies
This subsection shows the performance of the IISNC algorithm on an NEO PI-R personality test, as applied to two studies.
Item Bank Description
The Danish version of the NEO PI-R test (Costa & McCrae, 1992) is a computer-based Big Five personality questionnaire. It consists of 240 items distributed over five constructs (neuroticism, extraversion, openness, agreeableness, and conscientiousness). The items are scored on a 5-point Likert-type scale. The raw data were obtained from Goldberg (2018) and filled in the missing responses using random values. It contains the responses of 857 subjects to all NEO PI-R items.
Validation Design
For both studies, 857-fold cross-validation was performed, which means that each subject was selected in turn as a new respondent, and the remaining 856 subjects formed the item bank, for a total of 857 tests. The raw data contained trait scores,
In Study 2.1, the results of IISNC were compared with two schemes named “random” and “correlate.” In the “random” scheme, one fifth of the total test length items corresponding to each trait were randomly selected. In the “correlate” scheme, one fifth of the total test length items were selected according to their Pearson correlation with each trait score, from largest to smallest. For both schemes, the average response of the corresponding items for each trait was used as the output score
In Study 2.2, the results of IISNC were compared with those using MCAT with item parameters estimated by IRT with the graded model (Equation 2) and the correct Q-matrix, the estimation of ability
Results
Table 2 presents the average RMSD results in Study 2.1, while Table 3 presents the average RMSD results in Study 2.2.
Cross-Validated RMSD Results in Study 2.1
Note. RMSD = root mean squared deviation; IISNC = iterative item selection of neighborhood clusters.
Cross-Validated RMSD Results in Study 2.2
Note. RMSD = root mean squared deviation; ISSNC = iterative item selection of neighborhood clusters; MCAT = multidimensional computer adaptive testing.
In Study 2.1, IISNC outperformed the “random” and “correlate” schemes in terms of RMSD when the test length was less than 60, and this advantage was more obvious when the test was shorter. Because the scores are calculated based on the average response of the corresponding items, the RMSDs of the “random” and “correlate” schemes will be infinitely close to 0 as the test length increases, so this result is expected. One interesting finding is that item selection based on correlation is actually not as effective as random selection. Although this is limited to the special case of the NEO PI-R, psychologists may still need to be more careful when using correlation indicators.
In Study 2.2, MCAT was found to produce more accurate overall estimates compared to IISNC, and this difference increased slightly as the length of the test grew. Conscientiousness had the most precise estimates in both MCAT and (Q)IISNC, while Extraversion registered the least accurate estimates. IISNC’s estimates for all five traits were relatively average, likely due to its simultaneous estimation of all traits, whereas MCAT and (Q)IISNC estimated traits separately. Although the results of (Q)IISNC were inferior to those of MCAT when the questionnaire length was 10, 20, and 30 and the opposite when the questionnaire length was 40, 50, and 60, the differences were not significant. Moreover, (Q)IISNC displayed a more balanced distribution of item exposure at comparable RMSD levels. Figures 3 illustrates the exposure rate of items for all 857 experiments in Study 2.2 when the test length

Item Exposure Rates When
Discussion
In the present article, a new algorithm, IISNC, is proposed to solve the item selection and the
Simulation Study
The RMSD Over Scores
Figures 4 and 5 summarize the changes in RMSD results with the range of first ability scores on the IISNC and MCAT for all 100 simulated experiments in Study 1 when the number of items

RMSD Changes With Different Scores.

RMSD Changes With Different Scores.
The MCAT can be reasonably interpreted based on the IRT model design and the standard normality assumptions for ability scores. Meanwhile, the IISNC algorithm’s performance might be explained by the spatial distribution of neighbors: It calculates a subject’s ability score by averaging the scores of their neighbors, whose quality determines accuracy. The simulated experiments assumed a standard normal distribution of subjects’ ability scores, with high and low scoring subjects being rare. Thus, the IISNC struggled to estimate subjects with extreme scores due to the small number of available neighbors. For subjects with intermediate scores, however, there were enough neighborhood samples to obtain consistent estimates regardless of specific score levels. The (Q)IISNC results also support this interpretation, as shown in Figure 6, which summarizes the changes in RMSD results for both (Q)IISNC and (C)MCAT across the range of first ability scores in all 100 simulated experiments of Study 1 when

RMSD Changes With Different Scores.
Item Selection Differences
Table 4 illustrates the item selection process of the MCAT and the IISNC algorithm for 20 subjects in a randomly selected simulation experiment from Study 1, where
Example Presentation on Item Selection Details in Study 1 When
Note. MCAT = multidimensional computer adaptive testing; ISSNC = iterative item selection of neighborhood clusters.
Empirical Studies
Content Coverage
Table 5 provides a summary of the number of items selected by IISNC in Study 2.1 that cover items corresponding to each trait, where the notations min, max, and mean represent the minimum, maximum, and average number of items covering the specified trait in all 857 validation experiments, respectively. On average, there was an uneven distribution of items across the five traits in IISNC. Specifically, there were more items corresponding to neuroticism and openness and fewer items corresponding to agreeableness and conscientiousness. The RMSD results shown in Table 2 confirm this finding. For the IISNC method, the more items selected on average, the better the results of the trait RMSD. Nevertheless, for each trait, the RMSDs were at the same level and did not differ significantly. In the “random” and “correlate” schemes, an equal number of items were selected for each trait, so the opposite results were obtained, with the best RMSD results for agreeableness and conscientiousness. One possible explanation is that IISNC focuses equally on the estimated effects of the five traits (Euclidean distance between score vectors), but the number of items required for the estimation of each trait is not the same, so the average number of items differs significantly despite the close RMSD results. The “random” and “correlate” schemes, in which the number of items for each trait is specified, confirm this conjecture in the opposite direction.
Cross-Validated Item Selection Content Coverage in Study 2.1
Although the number of items selected for each trait varies on average, the number of items selected for each validation experiment is still adaptive. One possible concern in IISNC is that there is no guarantee that all traits will be included in the final CAT for any given examinee. While this does not happen very often, it does happen. In a certain number of validation experiments, for some traits, there were no corresponding items selected. While this is a serious problem for traditional item selection or IRT-based CAT, it is not the case for the proposed IISNC, which stems from the difference in the underlying design logic of the algorithm. In IRT-based CAT, the item parameters of the selected items are used to estimate the subjects’ abilities. Thus, if no items corresponding to a trait are selected, the estimation error for that trait will be large. This design idea focuses on the items in the item bank. In contrast, the selected items are used to find the neighbors of the target subjects in IISNC. If the target subject’s neighbors can be found accurately, it will no longer matter whether the selected items cover all trait dimensions. This design idea focuses on the subjects in the item bank. The author took an IISNC experiment in Study 2.1, where items were selected that did not correspond to agreeableness, as an example. Twenty-three individuals were obtained as the neighborhood of the target subject. The standard deviation and extreme deviation of the five trait scores of these 23 individuals were [0.4913, 0.3739, 0.4643, 0.3834, 0.3560] and [2.0625, 1.4792, 1.75, 1.6875, 1.4583], respectively, and the estimated errors were [0.1513, 0.5236, 0.5697, 0.0670, 0.1812] (the order is neuroticism, extraversion, openness, agreeableness, and conscientiousness, respectively). Although items corresponding to agreeableness were not selected, the variability of neighborhood scores was not significantly higher than that of other traits. However, agreeableness is the best estimated trait in this example.
If readers still have concerns, IISNC can be applied using a method similar to (Q)IISNC, which was introduced in Study 1 and 2.2, in combination with the information from the Q-matrix. It is also possible to not use the Q-matrix information. IISNC can be simply used for each trait measurement (item selection among all items), and for each trait, we can specify the number of items we want to set.
Neighborhood and Trait Spaces
For Study 2.2, Table 3 shows that MCAT outperforms IISNC for most test lengths. The author would like to further explore the reasons for this result. Figure 7 shows a summary of the changes in the RMSD results based on the range of scores of openness for all 857 experiments in Study 2.2 when the test length

RMSD Changes With Different
The poor effect of IISNC when the score value of openness is small is the direct cause of the larger overall RMSD. However, in Study 2.2, the IISNC estimate of openness was in the range 1.6233 to 2.9613. Therefore, it is clearly impossible to obtain a good estimate of score values beyond this range. The estimation of IISNC is the average of the scores within a neighborhood group, and only the range covered by the values of the group scores can be output. Only 111 subjects were out of the range of 1.6233 to 2.9613 in the item bank (score of openness ranged from 1.0625 to 3.625). Because IISNC relies more on the representativeness of the subjects in the item bank, the fact that there are not a sufficient number of samples of subjects for large ranges of scores is the cause of the poor performance of IISNC in Study 2.2.
However, for (Q)IISNC, this problem is well mitigated. A reasonable explanation is that (Q)IISNC estimates openness without considering the other four traits, and it can fully utilize the 111 subjects as neighbors to estimate the score of openness. IISNC needs to consider whether the same neighborhood can be used to estimate the other four traits at the same time while estimating openness. IISNC deals with problems in a five-dimensional space, while (Q)IISNC is one-dimensional, which is common in machine learning problems where high dimensionality brings high data sparsity.
This does not mean that IISNC is no longer a valid approach when the trait dimension is high. The ability density in the item bank needs to be considered as well. One piece of evidence for this is when the score of openness is roughly lager than 3. Subjects within this range are better estimated using IISNC than (Q)IISNC, as shown in Figure 7. If the score of openness is restricted to the range (1.5, 3), the number of subjects satisfying the condition is 772, subjects within this range are the densest, and the RMSD of IISNC (0.1979) is less than that of MCAT (0.2255). A reasonable explanation is that compared with the (Q)IISNC and MCAT approaches, IISNC integrates the information of five traits. Although the five traits are generally independent of each other, this is not always the case within a small neighborhood.
Future Directions and Conclusion
Future research should focus on the following five aspects. First, the proposed IISNC method only terminates based on a fixed test length. A termination strategy based on convergence judgment should be developed. There is no estimation of the ability value
The simulation studies described above demonstrate the validity of item selection in the proposed IISNC. When generating miniature CAT based on small item banks, lower RMSD values were obtained using IISNC, outperforming MCAT. In addition, a faster calculation speed was obtained using IISNC. The empirical study demonstrated that IISNC can be applied to the CAT of the NEO PI-R personality test while maintaining excellent trait estimation. In particular, IISNC does not rely on the information of the Q-matrix. Conversely, the IISNC algorithm has a greater advantage in estimation accuracy if the information of the Q-matrix is used. As a result, considering the IRT-free dependency and the universal implementability of IISNC, it has great potential for performing CAT in a wide range of aptitude tests and psychological questionnaires.
