Breaking Robustness Barriers in Cognitive Diagnosis:
A One-Shot Neural Architecture Search Perspective


Abstract

With the advancement of network technologies, intelligent tutoring systems (ITS) have emerged to deliver increasingly precise and tailored personalized learning services. Cognitive diagnosis (CD) has emerged as a core research task in ITS, aiming to infer learners’ mastery of specific knowledge concepts by modeling the mapping between learning behavior data and knowledge states. However, existing research prioritizes model performance enhancement while neglecting the pervasive noise contamination in observed response data, significantly hindering practical deployment. Furthermore, current cognitive diagnosis models (CDMs) rely heavily on researchers’ domain expertise for structural design, which fails to exhaustively explore architectural possibilities, thus leaving model architectures’ full potential untapped. To address this issue, we propose OSCD, an evolutionary multi-objective One-Shot neural architecture search method for Cognitive Diagnosis, designed to efficiently and robustly improve the model’s capability in assessing learner proficiency. Specifically, OSCD operates through two distinct stages: training and searching. During the training stage, we construct a search space encompassing diverse architectural combinations and train a weight-sharing supernet represented via the complete binary tree topology, enabling comprehensive exploration of potential architectures beyond manual design priors. In the searching stage, we formulate the optimal architecture search under heterogeneous noise scenarios as a multi-objective optimization problem (MOP), and develop an optimization framework integrating a Pareto-optimal solution search strategy with cross-scenario performance evaluation for resolution. Extensive experiments on real-world educational datasets validate the effectiveness and robustness of the optimal architectures discovered by our OSCD model for CD tasks.

<ccs2012> <concept> <concept_id>10002951.10003227.10003351</concept_id> <concept_desc>Information systems Data mining</concept_desc> <concept_significance>500</concept_significance> </concept> <concept> <concept_id>10010405.10010489.10010495</concept_id> <concept_desc>Applied computing E-learning</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012>

1 INTRODUCTION↩︎

a

Figure 1: The pipeline of cognitive diagnosis under heterogeneous noise scenarios..

a

Figure 2: Comparative performance of NCD and its Variants under different noise ratios..

The rapid advancement of network technologies has catalyzed the swift development and widespread deployment of intelligent tutoring systems (ITS), which aim to provide personalized and adaptive learning experiences [1][3]. Within the core framework of these systems, cognitive diagnosis (CD) serves as a fundamental component, dedicated to precisely modeling students’ latent knowledge states and skill proficiencies by analyzing their interactive learning behaviors and performance data.

Cognitive diagnosis methodologies can be broadly categorized into three main paradigms: psychometric theory-based methods [4][6], neural network-based methods [7][9], and graph modeling-based methods [10][12]. The first type, representing the foundational stage of research, primarily leverages psychological measurement techniques to assess learners’ latent abilities or traits. With the advent and flourishing of deep learning, researchers have increasingly turned to diverse neural network architectures to capture the complex, nonlinear student-exercise interaction patterns, thereby learning more effective representations. Furthermore, the critical importance of modeling both explicit and implicit high-order interactions among students, exercises, and knowledge concepts has gained significant recognition. This focus on relational complexity naturally motivates the introduction of graph structures into CD, leveraging their inherent strengths to model more comprehensive representations of the cognitive landscape.

Despite the remarkable progress achieved by existing CD methods, a critical limitation persists: they generally overlook the prevalent heterogeneous noise contamination in real educational environments. These approaches typically operate under the implicit assumption of relatively clean data, failing to explicitly address the adverse impacts of noisy data from various sources, including log miss, exercise confusion, \(Q\)-matrix confusion, and log flip, as illustrated in Figure 1. Furthermore, different model architectures exhibit varying levels of sensitivity to different noise sources, making it highly challenging to manually design a single, universally optimal structure capable of withstanding all types of heterogeneous noise contamination. As illustrated in Figure 2, we systematically modify the widely recognized NCD model by applying various replacements and ablations, resulting in multiple architectural variants. These variants exhibit significantly divergent performance change rates across diverse heterogeneous noise environments, directly validating that the noise tolerance of CD models is highly dependent on their underlying architecture.

To this end, we proposed OSCD, an evolutionary multi-objective One-Shot neural architecture search approach for Cognitive Diagnosis to explore efficient and robust model architectures. Specifically, OSCD operates through two sequential stages: training and searching. In the first stage, a search space encompassing diverse architectural combinations is constructed, and a weight-sharing supernet represented via the complete binary tree topology is trained. This process enables comprehensive exploration of potential architectures that transcend manual design priors. In the second stage, we explicitly formulate the search for the optimal architecture under heterogeneous noise scenarios as a MOP. To resolve this MOP, we develop an optimization framework that integrates a Pareto-optimal solution search strategy with cross-scenario performance evaluation. Finally, extensive experiments conducted on real-world educational datasets validate the effectiveness and robustness of the optimal architectures discovered by OSCD for CD tasks.

2 RELATED WORK↩︎

2.1 Cognitive Diagnosis↩︎

Cognitive diagnosis, as an advanced learner modeling approach, is theoretically grounded in the intersection of modern psychometrics and cognitive science. By analyzing students’ interactive learning behaviors, it can systematically deconstruct learners’ knowledge states and cognitive processes. Current research primarily focuses on manually developing sophisticated cognitive diagnostic models (CDMs) for more accurate learner modeling and assessment, which can be broadly classified into three categories: psychometric theory-based methods [4][6], neural network-based methods [7], [13], [14], and graph modeling-based methods [10], [15][17]. For instance, NCD[7], as a representative neural CDM, employs multidimensional parameters to construct fine-grained representations of students’ cognitive states and exercise attributes, while leveraging neural networks to model complex interactions. In addition, RCD[10] models student interactions and structural relationships by constructing a student-exercise-concept graph, employing graph convolutional networks (GCN[18]) to enhance the effectiveness of representation learning. More details of CD works are provided in the Appendix A.1.1.

With the increasing attention to learner modeling, recent years have also witnessed critical explorations from other perspectives, including interpretability[19], [20], robustness[21], and group learning[22], [23]. Despite the impressive results achieved by these cognitive diagnostic methods, their underlying CDM architectures often rely heavily on researchers’ domain expertise and experience. Such handcrafted models are limited in their ability to comprehensively explore all possible combinations of learning behaviors, thereby constraining the generalization and further investigation of cognitive diagnosis.

As a revolutionary automated machine learning technology[24], [25], Neural Architecture Search (NAS) has evolved into a comprehensive multi-domain and multi-modal framework since its pioneering works[26][28]. Currently, NAS techniques have achieved cross-domain penetration by offering automated optimization solutions for a wide range of mainstream deep neural networks (DNNs). This technology has been successfully applied in computer vision (CV)[29], natural language processing (NLP)[30], speech recognition systems[31], and graph neural networks (GNNs)[32]. Notably, the Transformer architecture, as a universal paradigm for cross-modal applications, has also benefited from the systematic exploration enabled by NAS methods[33][36]. More details of NAS works are provided in the Appendix A.1.2.

Meanwhile, several recent pioneering studies[37][39] have initiated the exploration of NAS techniques in the education domain. NASCD[40] adopts a NAS-based approach to search for CDMs, with its primary contribution lying in the design of a revised CD search space and the definition of an interpretability-oriented search objective, enabling the effective discovery of more interpretable and efficient models. Furthermore, ENAS-KT[41] achieves an optimal balance between input feature selection and architectural design by automatically selecting input features and formulating a novel Transformer-based search space. However, existing research has overly emphasized the high performance and interpretability of the searched CDMs, while insufficiently considering the robustness of these models in real-world scenarios. More critically, these methods have yet to incorporate computational complexity into their design considerations, leading to severe efficiency bottlenecks when scaling to complex interaction scenarios, which significantly hampers their developmental potential.

3 PRELIMINARY↩︎

3.1 Cognitive Diagnosis Task↩︎

In the field of intelligent education, let \(\mathcal{S}=\{s_1, s_2, \cdots, s_N\}\), \(\mathcal{E}=\{e_1, e_2, \cdots, e_M\}\), and \(\mathcal{C}=\{c_1, c_2, \cdots, c_K\}\) denote the sets of learners, exercises, and knowledge concepts, respectively, where \(N\), \(M\), and \(K\) represent the size of each set. The relationship between exercises and knowledge concepts is represented by a \(Q\)-matrix, denoted as \(\mathbf{Q}=\{q_{ij}\}^{M\times K}\), where \(q_{ij}=1\) if exercise \(e_i\) involves concept \(c_j\), and \(q_{ij}=0\) otherwise. The observed response data are provided in the form of the triplet set \(\mathcal{R}=\{(s_i,e_j,r_{ij})|s_i\in \mathcal{S},e_j\in \mathcal{E},r_{ij}\in \{0,1\}\}\), where \(r_{ij}=1\) denotes the learner \(s_i\) answers the exercise \(e_j\) correctly, and \(r_{ij}=0\) otherwise. Naturally, the response data \(\mathcal{R}\) is partitioned into training set \(\mathcal{R}_\mathrm{Tr}\), validation set \(\mathcal{R}_\mathrm{Val}\) and test set \(\mathcal{R}_\mathrm{Te}\). In this work, we construct multiple realistic heterogeneous noise scenarios. Specifically, we generate the perturbed validation sets \(\tilde{\mathcal{R}}_\mathrm{Val}=\{\mathcal{R}_\mathrm{Val}^\Theta, \mathcal{R}_\mathrm{Val}^\Phi, \mathcal{R}_\mathrm{Val}^\Psi, \mathcal{R}_\mathrm{Val}^\Omega \}\) by applying distinct noise perturbations \(\{ \Theta, \Phi, \Psi, \Omega \}\) to the original validation set \(\mathcal{R}_\mathrm{Val}\) derived from response data \(\mathcal{R}\). Among these, \(\Theta\) corresponds to partial response log miss, where \(\mathcal{R}_\mathrm{Val}^\Theta \subset \mathcal{R}_\mathrm{Val}\); \(\Phi\) reflects partial confusion for response exercises, where \(\mathcal{R}_\mathrm{Val}^\Phi=\{(s_i,e'_j,r_{ij})|e'_j\neq e_j,e'_j\in \mathcal{E}\}\); \(\Psi\) represents the confusion of the \(Q\)-matrix, where \(\mathbf{Q}=\{q'_{ij}\}^{M\times K}\) and \(q'_{ij}\neq q_{ij}\); \(\Omega\) denotes the flip of the response log, where \(\mathcal{R}_\mathrm{Val}^\Omega=\{(s_i,e_j,r'_{ij})|r'_{ij}\neq r_{ij},r'_{ij}\in \{0,1\}\}\). Typically, the noise interactions in real-world data remain implicit and unlabeled. Accordingly, the problem in this paper can be defined as follows:

Core cognitive diagnosis task. Given the learner-exercise response record \(\mathcal{R}\) and the predefined \(Q\)-matrix \(\mathbf{Q}\), the primary objective of cognitive diagnosis is to accurately and reliably estimate the learner’s proficiency on specific knowledge concepts.

Robust architecture search. Given the training set \(\mathcal{R}_\mathrm{Tr}\), the validation sets \(\mathcal{R}_\mathrm{Val} \cup \tilde{\mathcal{R}}_\mathrm{Val}\) and the test set \(\mathcal{R}_\mathrm{Te}\) of response records \(\mathcal{R}\) along with the \(Q\)-matrix \(\mathbf{Q}\), the primary objective of robust architecture search is to identify one or more model architectures that maintain stable and competitive performance across both original and perturbed validation sets. The searched architectures are then retrained from scratch on the training set and evaluated on the held-out test set \(\mathcal{R}_\mathrm{Te}\).

3.2 General Methodology of CD↩︎

For a general cognitive diagnostic task, the model accepts three main types of inputs and outputs a prediction score for student \(s_i\). In a general cognitive diagnosis framework, the model \(\mathcal{F}\) takes three primary types of inputs and outputs an estimated probability \(\hat{r}_{ij}\) for student \(s_i\) on exercise \(e_j\): \[\label{eq:1} \begin{gather} \hat{r}_{ij}=\mathcal{F}(\mathbf{h}_s,\mathbf{h}_e,\mathbf{h}_c), \\ \mathbf{h}_s = \mathbf{x}_i^s\times \mathrm{W}_s, \mathbf{h}_e = \mathbf{x}_j^e\times \mathrm{W}_e, \mathbf{h}_c = \mathbf{x}_j^e\times \mathrm{Q},\\ \end{gather}\tag{1}\] where \(\mathbf{h}_s \in \mathbb{R}^{1\times d}\) is the learner-related feature embedding, \(\mathbf{h}_e \in \mathbb{R}^{1\times d}\) is the exercise-related feature embedding, \(\mathbf{h}_c \in \mathbb{R}^{1\times K}\) is the concept-related feature embedding, \(d\) denotes the embedding dimension, \(\mathbf{x}_i^s \in \{0,1\}^{1\times N}\) denotes the one-hot vector of student \(s_i\), \(\mathbf{x}_i^e \in \{0,1\}^{1\times M}\) denotes the one-hot vector of exercise \(e_j\), \(\mathrm{W}_s\) and \(\mathrm{W}_e\) are trainable matrices.

Table 1: Detailed explanation of operators.
Notation Syntax meaning Output Shape Lipschitz Condition
Zero \(\backslash\)
(Input or Operation) \(\backslash\) \(\backslash\)
Iden \(x\) Identity same
Neg \(-x\) Negative same
Abs \(|x|\) Absolute value same
Inv \(1/(x+1e^{-6})\) Inverse same
Square \(x^2\) Square same
Sqrt \(sign(x)\cdot \sqrt{|x|+1e^{-6}}\) Square root same
Tanh \(tanh(x)\) Tanh function same
Sigmoid \(sigmoid(x)\) Sigmoid function same
Softplus \(softplus(x)\) Softplus function same
Sum \(\sum_i^d x_i\) Sum of the vector \(\mathbb{R}^1\)
Mean \((\sum_i^d x_i)/d\) Mean of the vector \(\mathbb{R}^1\)
FFN
\(\mathrm{W}_{ffn}\in \mathbb{R}^{d\times 1}\)
a vector to a scalar \(\mathbb{R}^1\)
FFN_D
\(\mathrm{W}_{ffnd}\in \mathbb{R}^{d\times d}\)
a vector to a vector \(\mathbb{R}^{1\times d}\)
Add \(x+y\) Addition \(max(x,y)\)
Mul \(x\cdot y\) or \(x\odot y\) Multiplication \(max(x,y)\)
Concat
\(\mathrm{W}_{concat}\in \mathbb{R}^{2d\times d}\)
two vectors \(\mathbb{R}^{1\times d}\)

4 METHODOLOGY↩︎

4.1 Overview of The Proposed OSCD↩︎

As illustrated in Figure 3 (see Algorithm 1 for stepwise summary in Appendix A.2), our proposed OSCD model comprises two core stages: training and searching. During the training stage, we first design a search space for CD tasks consisting of two components: the first integrates three types of input nodes and \(17\) internal computational nodes, while the second dynamically selects the final prediction layer based on the output dimension from the preceding part. We then construct and train a supernet based on this search space. To fully explore the combinatorial potential of models, we refine the search space into a complete binary tree topology representation. This structured representation significantly facilitates the development and evaluation of all possible model combinations.

Upon completion of supernet training, the search stage commences by initializing a population of \(Pop\) individuals. Some individuals are initialized using existing high-performance manually-designed architectures to leverage their empirical value and accelerate search convergence, while the remaining individuals are randomly generated from the search space. Subsequently, parent individuals are selected through standard binary tournament selection to form a mating pool, followed by the application of single-point crossover and bit-wise mutation to generate offspring populations. Using the trained supernet weights, we efficiently evaluate the performance of all newly generated offspring architectures. Then, employing the environmental selection mechanism of NSGA-II [42], we filter individuals with superior fitness from the combined parent and offspring populations to form a new generation. This search cycle iterates until reaching the maximal generation count, ultimately outputting all non-dominated individuals in the final population as the Pareto-optimal solution set.

4.2 Training Stage↩︎

4.2.1 Search space↩︎

As mentioned earlier, the search spaces employed by existing NAS methods are task-specific and cannot be directly applied to the CD task[25], [27].

Therefore, we systematically investigate and summarize the architectural characteristics of existing CDMs. They can be uniformly abstracted into a general paradigm comprising multiple input nodes, multiple internal nodes, and one output node, as illustrated in Figure 4 (a).

To enable the general model to represent as many CDMs as possible, we systematically integrated \(17\) categories of representative feature transformation operations, which are structurally embedded in the model’s internal computational nodes to support general representations of diverse CDMs. Table 1 presents the details of these \(17\) operators and their compliance with the Lipschitz condition, which are primarily categorized into three types: a placeholder operation(applicable to both input and operation), unary operations (one input), and binary operations (two inputs). It should be specially noted that we have categorized five operators: \(Sum\), \(Mean\), \(FFN\), \(FFN\_D\), and \(Concat\), collectively termed as dimension-sensitive operators. The key characteristic of these operators is that they require \(d\)-dimension vectors as input to execute their specific computational logic. Specifically, to address the critical challenge of potential partial path missing in tree-like topological structures within the search space, we innovatively introduce a placeholder operation (\(Zero\)) mechanism. This mechanism maintains the continuity of feature transmission in incomplete binary tree structures by constructing virtual paths, ultimately enabling complete cognitive state derivation from leaf nodes to the root node. Furthermore, we conduct rigorous verification of Lipschitz continuity for these \(17\) operator categories, precisely determining the upper bounds of their Lipschitz constants. This mathematical property directly characterizes the output stability of nodes under heterogeneous noise perturbation. Additional details regarding the operators and proofs of the Lipschitz condition are provided in the Appendix A.3 due to space constraints.

As shown in Table 1, all operations output either a scalar or a \(d\)-dimension vector, indicating that the general model must ultimately produce either a scalar \(y\) or a \(d\)-dimension vector \(\mathbf{y}\). To accomplish the prediction task, we need to specify corresponding computational processes for both scalar and \(d\)-dimension vector outputs, as detailed below: \[\hat{r}_{ij}=\left\{ \begin{align} & y,~if~y\in \mathbb{R}^1 \\ \mathrm{FC}_3( & \mathrm{FC}_2(\mathrm{FC}_1(\mathbf{y})),~if~y\in \mathbb{R}^{1\times d} \end{align} \right.,\] where \(\mathrm{FC}_1(\cdot)\), \(\mathrm{FC}_2(\cdot)\), and \(\mathrm{FC}_3(\cdot)\) are three Fully Connected(FC) layers with output dimensions \(512\), \(256\), \(1\), respectively. It can also maintain certain monotonicity properties, which has gained recognition from numerous researchers and has been widely adopted in most CD studies[7], [10].

Therefore, the variable components in the general model constitute the search space for CD, primarily consisting of two parts. The first part mainly includes input nodes and internal computational nodes that form the primary computational path. The second part employs an identity operation and a three-layer FC network to accomplish the prediction task. As illustrated in Figure 4 (a), the first part contains up to three types of input nodes (represented by rounded rectangles) and \(17\) internal computational nodes (represented by ovals, with red indicating binary operations and yellow indicating unary operations). The second part primarily consists of an identity operation (represented by a gray rectangle) and a three-layer FC network (represented by yellow rectangles) to obtain the final predicted value \(\hat{r}_{ij}\).

a

Figure 3: The overview of our proposed OSCD..

a

Figure 4: The generalized search space(a) and the fine-tuned search space(b)..

a

Figure 5: Key challenges (a-f) in supernet training..

4.2.2 Supernet↩︎

However, while the search space incorporating diverse input nodes and internal computational nodes offers expressive flexibility, it suffers from a critical flaw: the combinatorial explosion creates an excessively large search space that imposes prohibitively high computational complexity on traditional NAS methods. Specifically, the independent training and evaluation processes for numerous substructures are computationally intensive, and the discrete search mechanism struggles to efficiently converge to high-performance regions.

To overcome computational efficiency bottlenecks and accelerate optimization convergence, we innovatively introduce a supernet architecture. Constructed upon the aforementioned search space, this architecture employs weight-sharing mechanisms and layered sandwich training rules to achieve synchronous representation and evaluation of massive subnets, substantially reducing the time complexity of traditional NAS methods and establishing an efficient computational foundation for the subsequent MOP. Based on the above, we employ a tree-based topological structure to encode CDMs, as shown in Figure 4 (b). Specifically, we construct a full binary tree topology with height \(h\), where all input nodes serve as leaf nodes, intermediate nodes function as non-leaf nodes, and the output node corresponds to the root node. This results in a full binary tree topology consisting of \(2^{h-1}\) leaf nodes and \(2^{h-1}-1\) non-leaf nodes, representing \(2^{h-1}\) input nodes (\(Zero\), \(\mathbf{h}_s\),\(\mathbf{h}_e\), and \(\mathbf{h}_c\)) and \(2^{h-1}-1\) operation nodes (\(17\) operators in Table 1), respectively. Naturally, for each architecture, its \(i\)-th operation node can be represented as \(node_i=\{input_i^L, input_i^R, operator_i\}\), where \(input_i^L\), \(input_i^R\), and \(operator_i\) respectively denote the computational result of the left subtree, the right subtree, and the currently selected operator. The prediction result \(\hat{r}_{ij}\) is ultimately generated through recursive computation of the feature propagation process from leaf nodes to the root node.

However, reality proves less ideal as this full binary tree representation paradigm encounters significant challenges when generalizing to complex CDMs: (1) Dimension Incompatibility: This primarily manifests as matching errors between input nodes and operators, which can be categorized into four typical scenarios: (a) Unary operator mismatch: as illustrated in Figure 5 (a), when a unary operation (\(Sigmoid\)) is incorrectly connected to two inputs \(( \mathbf{h}_s, \mathbf{h}_e)\), we enforce computation using the left input: \(sigmoid(\mathbf{h_s})\). (b) Binary operator deficiency: as shown in Figure 5 (b), when a binary operation (\(Concat\)) receives only a valid left input \(\mathbf{h}_s\) while the right input is an invalid placeholder \(Zero\), we pad the right dimension with an all-ones tensor: \(Concat(\mathbf{h}_s,\mathbf{1}^{1\times d})\). (c) Dimension-sensitive operator left input error: as depicted in Figure 5 (c), when a dimension-sensitive operator (\(FFN\)) receives a scalar \(Sum(\mathbf{h}_s)\) as left input but requires a \(d\)-dimensional vector, we directly substitute it with a dimensionless operator to avoid dimensional conflicts: \(Sigmoid(Sum(\mathbf{h}_s))\). (d) Dimension-sensitive operator right input error: as can be seen from Figure 5 (d), when the left input \(Sigmoid(\mathbf{h}_s)\in \mathbb{R}^{1\times d}\) but the right input is a scalar \(Sum(\mathbf{h}_e)\in \mathbb{R}^1\) (in \(Concat\) operations), we expand the right input dimension using an all-ones tensor: \(Concat(Sigmoid(\mathbf{h}_s), [Sum(\mathbf{h}_e)|| \mathbf{1}^{1\times (d-1)}])\). Detailed explanations are provided in Appendix A.4.

(2) Path Discontinuity: A significant portion of computational paths originating from leaf nodes fail to reach the root node, as shown in Figure 5 (e). This occurs because the computational graph contains numerous \(Zero\) placeholders acting as operators. To address this, we preserve the active computational flows along the paths. \(Zero\) placeholders are tagged accordingly, and these tags are subsequently used to validate path viability and determine the final output.

(3) Structural Collapse: As illustrated in Figure 5 (f), when computational paths cannot extend to the root node, or when both the root node and all its child nodes are \(Zero\) placeholders, the model loses its effective predictive capability. To address structural collapse that disables prediction functionality, we introduce a dynamic fallback mechanism. When it detects either that no computation path originating from leaf nodes can reach the root, or the root node itself is a \(Zero\) placeholder, it automatically activates a contingency procedure. This procedure traces back to the highest-level valid computational node proximal to the root and adopts its output as the final prediction. This mechanism elevates system fault tolerance by ensuring graceful degradation under structural collapse, thereby preserving continuous prediction capability without compromising the core computational paradigm.

Building upon the solutions to the aforementioned issues and inspired by the sandwich rule [29], we propose employing three types of subnets in each training batch of the supernet: the minimal subnet (with the smallest parameters representing the lower bound), the maximal subnet (with the largest parameters representing the upper bound), and multiple randomly sampled subnets (typically \(3\) samples). Consequently, this approach not only emphasizes training boundaries but also introduces randomness during supernet training, achieving a balance between extreme search and fair exploration of the search space, thereby enabling the trained supernet weights to better facilitate subsequent subnet performance evaluation. The Appendix A.5 presents the specific details.

Train/Val/Test 50%/20%/30% 60%/20%/20% 70%/10%/20% 80%/10%/10%
Metrics ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\))
DINA 0.6383 0.6902 0.4927 0.6528 0.7036 0.4856 0.6628 0.7150 0.4798 0.6759 0.7282 0.4738
IRT 0.6901 0.6889 0.4742 0.6960 0.7140 0.4505 0.7103 0.7187 0.4535 0.7160 0.7271 0.4488
MIRT 0.6983 0.7170 0.4824 0.7105 0.7219 0.4694 0.7147 0.7405 0.4586 0.7175 0.7480 0.4517
MF 0.7034 0.7137 0.4768 0.7089 0.7239 0.4624 0.7155 0.7361 0.4601 0.7166 0.7403 0.4578
NCD 0.7130 0.7298 0.4712 0.7216 0.7421 0.4474 0.7225 0.7499 0.4417 0.7270 0.7579 0.4379
RCD 0.7142 0.7333 0.4687 0.7259 0.7538 0.4396 0.7319 0.7585 0.4356 0.7331 0.7630 0.4343
KSCD 0.7190 0.7425 0.4451 0.7278 0.7537 0.4363 0.7288 0.7594 0.4323 0.7331 0.7662 0.4295
KaNCD 0.7143 0.7314 0.4586 0.7175 0.7442 0.4536 0.7250 0.7552 0.4440 0.7325 0.7623 0.4350
ReliCD 0.7202 0.7414 0.4377 0.7270 0.7513 0.4315 0.7317 0.7585 0.4304 0.7378 0.7670 0.4259
ORCDF 0.7193 0.7397 0.4546 0.7243 0.7493 0.4461 0.7298 0.7554 0.4366 0.7281 0.7611 0.4359
EMO-NAS-CD A1 0.7191 0.7469 0.4369 0.7251 0.7554 0.4306 0.7277 0.7601 0.4285 0.7293 0.7663 0.4285
A2 0.7257 0.7543 0.4295 0.7288 0.7610 0.4273 0.7304 0.7658 0.4245 0.7250 0.7745 0.4797
A3 0.7172 0.7434 0.4378 0.7283 0.7579 0.4365 0.7316 0.7626 0.4260 0.7239 0.7665 0.4240
OSCD AA1 0.7228 0.7523 0.4363 0.7303 0.7605 0.4267 0.7341 0.7661 0.4254 0.7341 0.7710 0.4234
AA2 0.7231 0.7518 0.4362 0.7284 0.7598 0.4296 0.7314 0.7653 0.4275 0.7334 0.7721 0.4252
AA3 0.7242 0.7505 0.4349 0.7281 0.7594 0.4304 0.7336 0.7643 0.4259 0.7335 0.7720 0.4223
AA4 0.7211 0.7511 0.4341 0.7287 0.7588 0.4305 0.7327 0.7655 0.4253 0.7345 0.7709 0.4233
AA5 0.7177 0.7507 0.4345 0.7299 0.7592 0.4306 0.7311 0.7661 0.4250 0.7335 0.7713 0.4248
The prediction performance comparison between the architectures discovered by our proposed OSCD and baselines on the ASSIST09 and SLP dataset. \(\uparrow\) (\(\downarrow\)) means the higher (lower) score the better performance. Bold: the best, Underline: the runner-up.
Train/Val/Test 50%/20%/30% 60%/20%/20% 70%/10%/20% 80%/10%/10%
Metrics ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\)) ACC(\(\uparrow\)) AUC(\(\uparrow\)) RMSE(\(\downarrow\))
DINA 0.6378 0.6723 0.5001 0.6156 0.6573 0.5126 0.6480 0.7112 0.4865 0.6102 0.6722 0.5109
IRT 0.6953 0.7278 0.4843 0.7283 0.7586 0.4593 0.7487 0.7955 0.4395 0.6968 0.7415 0.4662
MIRT 0.7660 0.8231 0.4115 0.7764 0.8364 0.4057 0.7816 0.8435 0.3977 0.7762 0.8451 0.3994
MF 0.7720 0.8267 0.4134 0.7699 0.8406 0.4021 0.7863 0.8525 0.3942 0.7762 0.8500 0.3944
NCD 0.7683 0.8333 0.4073 0.7791 0.8452 0.4007 0.7830 0.8514 0.3950 0.7818 0.8519 0.3974
RCD 0.7696 0.8303 0.4081 0.7749 0.8419 0.3955 0.7802 0.8511 0.3946 0.7795 0.8504 0.3976
KSCD 0.7829 0.8426 0.3930 0.7863 0.8483 0.3901 0.7943 0.8575 0.3857 0.7722 0.8503 0.3965
KaNCD 0.7694 0.8302 0.4085 0.7744 0.8415 0.4062 0.7797 0.8503 0.3939 0.7786 0.8509 0.3970
ReliCD 0.7710 0.8340 0.4010 0.7843 0.8475 0.3925 0.7830 0.8523 0.3907 0.7794 0.8520 0.3926
ORCDF 0.7687 0.8338 0.4068 0.7799 0.8461 0.4001 0.7845 0.8530 0.3937 0.7827 0.8521 0.3969
EMO-NAS-CD S1 0.7702 0.8276 0.4145 0.7740 0.8386 0.4041 0.7905 0.8535 0.3919 0.7786 0.8505 0.3953
S2 0.7699 0.8295 0.4134 0.7679 0.8409 0.4127 0.7755 0.8488 0.4006 0.7754 0.8452 0.4047
S3 0.7293 0.7800 0.4534 0.7447 0.7973 0.4403 0.7411 0.8002 0.4443 0.7329 0.7894 0.4537
OSCD SA1 0.7807 0.8442 0.3973 0.7849 0.8494 0.3930 0.7811 0.8626 0.3969 0.7866 0.8537 0.3930
SA2 0.7797 0.8433 0.3973 0.7873 0.8503 0.3935 0.7887 0.8622 0.3860 0.7906 0.8527 0.3923
SA3 0.7823 0.8428 0.3975 0.7825 0.8483 0.3954 0.7868 0.8618 0.3873 0.7818 0.8531 0.3936
SA4 0.7781 0.8442 0.3975 0.7853 0.8506 0.3938 0.7891 0.8603 0.3866 0.7874 0.8538 0.3933
SA5 0.7868 0.8455 0.3910 0.7767 0.8516 0.3927 0.7929 0.8610 0.3842 0.7874 0.8526 0.3907
Table 2: The experimental results (AUC change ratio %) for learner performance prediction on the SLP-Math dataset under four heterogeneous noise scenarios with increasing noise ratios (10%, 20%, 30%, 50%). Avg. denotes the average of the absolute values of all AUC change ratios. The symbols ’+’ and ’–’ indicate that the average AUC performance of the five architectures discovered by the proposed OSCD is significantly better or significantly worse than that of other baselines, respectively (with a significance level of 0.05).
Noise Scenario Log Miss Exercise Confusion Q-matrix Confusion Log Flip Avg.
1-18 10% 20% 30% 50% 10% 20% 30% 50% 10% 20% 30% 50% 10% 20% 30% 50%
DINA -0.394 -2.826 -5.146 2.095 -2.953 -9.716 -14.679 -8.127 -1.167 -2.826 -4.612 4.345 -2.390 -11.600 -21.780 -31.594 7.891
IRT -0.528 -4.965 -2.087 3.759 -2.967 -10.409 -9.918 -6.084 0.000 -5.481 -1.332 2.841 -7.731 -17.876 -24.073 -35.236 8.455
MIRT -0.285 0.688 -0.771 0.581 -1.695 -3.142 -4.126 -9.152 -2.217 -2.312 -2.833 -2.644 -9.176 -16.811 -25.809 -38.400 7.540
MF -0.481 0.411 -0.352 1.455 -1.443 -1.713 -3.531 -5.384 0.000 -0.094 0.469 0.246 -9.666 -24.587 -26.463 -37.490 7.111
NCD -0.329 0.975 -0.904 1.374 -1.268 -1.621 -3.406 -6.225 -0.329 0.376 -0.247 -0.035 -9.326 -24.090 -26.768 -37.667 7.184
RCD -0.423 0.235 -1.292 1.974 -1.057 -1.845 -2.996 -5.851 -0.153 1.492 1.739 0.928 -9.482 -24.968 -27.212 -37.892 7.471
KSCD -0.327 0.513 -1.096 1.061 -1.329 -1.574 -2.869 -5.376 0.140 0.070 0.187 0.303 -9.458 -17.679 -27.207 -37.878 6.692
KaNCD -0.823 0.835 -0.576 0.165 -2.529 -3.316 -5.704 -12.972 -1.411 -0.776 0.129 -0.859 -9.032 -16.935 -26.355 -39.857 7.642
ReliCD -0.563 0.669 -1.150 0.927 -1.678 -2.088 -3.907 -6.817 -0.739 0.023 -0.505 -0.282 -9.644 -23.830 -26.669 -37.569 7.316
ORCDF -0.563 0.410 -1.032 -0.340 -3.130 -3.869 -6.202 -13.423 -1.876 -1.301 -0.352 -1.348 -9.496 -17.351 -26.811 -40.211 7.982
EMO-NAS-CD S1 -0.375 0.469 -0.762 0.832 -1.148 -1.394 -3.878 -5.167 0.023 0.258 0.012 0.316 -9.525 -17.692 -26.303 -38.852 6.688
S2 -0.954 -1.897 -0.836 1.237 -0.990 -1.449 -2.816 -4.500 0.224 -0.295 -0.047 0.624 -9.590 -17.107 -26.213 -37.099 6.617
S3 -1.137 -2.024 -6.011 3.462 -0.550 -2.724 -3.149 -2.149 1.900 -0.812 -1.462 0.187 -8.623 -16.471 -23.519 -34.791 6.811
OSCD SA1 -0.371 -0.568 -0.452 0.487 -0.997 -1.414 -2.295 -4.405 -0.162 -0.128 0.046 -0.336 -7.408 -15.650 -23.974 -41.387 6.255
SA2 -0.267 -0.394 -0.522 0.603 -1.021 -1.427 -2.610 -4.291 -0.290 -0.058 -0.035 -0.232 -7.469 -15.623 -23.788 -35.212 5.865
SA3 -0.302 -0.487 -0.337 0.789 -0.940 -1.555 -2.518 -4.201 -0.104 -0.255 0.046 -0.197 -7.264 -15.665 -24.054 -35.113 5.864
SA4 -0.139 -0.407 -0.570 0.825 -0.756 -1.360 -2.511 -3.975 -0.012 -0.151 -0.070 0.244 -7.288 -16.773 -23.794 -34.848 5.858
SA5 -0.186 -0.221 -0.465 0.569 -0.732 -1.220 -2.393 -4.077 0.000 0.058 -0.070 0.012 -8.316 -16.562 -23.891 -36.272 5.940
+/- 0/13 3/10 1/12 2/11 1/12 1/12 0/13 1/12 3/10 3/10 1/12 1/12 1/12 1/12 2/11 3/10 0/13

4.3 Searching Stage↩︎

4.3.1 Individual Representation and Population Initialization↩︎

Following prior works, we first define individual representation. To precisely encode candidate architectures from the search space (Figure 4) into evolvable individuals, we utilize a fixed-length integer vector \(\mathbf{Individual}_i=[ind_1,\dots,ind_{2^{h-1}},ind_{2^{h-1}+1},\dots,ind_{2^h-1}]\) where \(h\) is the height of the full binary tree topology. Each element in \(\mathbf{Individual}_i\) corresponds to a configurable decision point within the search space, such as input selection or operator choice. The integer value at each position explicitly specifies the concrete configuration option. Most crucially, we design a tailored population initialization mechanism. When constructing the initial population of size \(Pop\), we concurrently deploy: uniform random sampling for comprehensive search space coverage, and injection of elite genes from validated cognitive diagnosis models such as IRT, MIRT, and NCD. This dual-strategy framework leverages prior knowledge to accelerate convergence while maintaining topological diversity, ultimately enhancing Pareto frontier approximation efficiency without compromising global search capacity.

4.3.2 Objective Function↩︎

To simultaneously optimize candidate architectures for accuracy on original validation data and robustness in complex heterogeneous noise scenarios while ensuring the distribution characteristics of model predictions under noise interference closely match those on original data, we define the following three objective functions for joint optimization to enhance behavioral consistency and stability at the output level: \[\max_{Archi}F(Archi)=\left\{ \begin{align} f_1(Archi) & =AUC(Archi; \mathcal{R}_\mathrm{Val}) \\ f_2(Archi) & =AUC(Archi; \tilde{\mathcal{R}}_\mathrm{Val}) \\ f_3(Archi) & =D_{\mathrm{KL}}(\mathcal{P} || \tilde{\mathcal{P}};Archi) \end{align} \right.,\] where \(Archi\) represents the candidate architecture to be optimized, \(AUC(Archi;D)\) represents the AUC (Area Under an ROC Curve) of \(Archi\) on the dataset \(D\), \(\mathcal{P}\) and \(\tilde{\mathcal{P}}\) represents the predicted probability distributions of \(archi\) on \(\mathcal{R}_\mathrm{Val}\) and \(\tilde{\mathcal{R}}_\mathrm{Val}\) respectively, and \(D_{\mathrm{KL}}\) is the Kullback-Leibler divergence between these two probability distributions. This objective function drives the search process to simultaneously optimize three critical dimensions:

(1) Fundamental Performance Guarantee: \(f_1\) uses AUC as the performance baseline to ensure the model possesses essential discriminative characteristics in clean data domains. This dimension directly reflects the expected prediction accuracy of the model in ideal environments.

(2) Noise Robustness Characterization: \(f_2\) systematically quantifies operational fluctuations in non-ideal environments by constructing heterogeneous noise scenarios \(\tilde{\mathcal{R}}_\mathrm{Val}=\{\mathcal{R}_\mathrm{Val}^\Theta, \mathcal{R}_\mathrm{Val}^\Phi, \mathcal{R}_\mathrm{Val}^\Psi, \\ \mathcal{R}_\mathrm{Val}^\Omega \}\) (including multi-source corruptions like Log Miss, Exercise Confusion, Q-matrix Confusion, and Log Flip). This reflects the model’s performance instability when facing heterogeneous perturbations.

(3) Distribution Consistency Constraint: \(f_3\) employs KL divergence minimization as the distribution alignment criterion, enforcing functional convergence between clean data prediction perturbation \(\mathcal{P}\) and noisy environment perturbation \(\tilde{\mathcal{P}}\). This mechanism explicitly penalizes prediction behavior deviations, fundamentally ensuring the topological invariance of model behavior under perturbations. Specifically, by minimizing the KL divergence between distributions, we effectively encourage the model to maintain consistency in its output distribution when exposed to perturbations or noise. This mechanism prevents the model from overfitting to random fluctuations in individual samples, thereby mitigating the risk of reduced robustness. The proof is provided in Appendix A.6.

4.3.3 Genetic Operations↩︎

For fixed-length integer vectors (length \(2^h-1\)) representing full binary trees of height h, we employ the standard single-point crossover and the bit-wise mutation [43] operations. The single-point crossover randomly selects a position in the vector and exchanges the gene segments before and after this position between two parent individuals to produce offspring. Then, the bit-wise mutation randomly selects a single gene locus in the vector and modifies its value to another valid value within the defined domain. These operations, performed within the closed integer vector space \(\mathbb{Z}^{2^h-1}\), maintain an isomorphic mapping to the tree structure through the encoding scheme, strictly preserving the topological integrity of the full binary tree.

Table 3: Runtime comparison of CDMs on ASSIST09 and SLP-Math.
Time Cost(minutes) Dataset DINA IRT MIRT MF NCD RCD KSCD KaNCD ReliCD ORCDF EMO-NAS-CD OSCD
2-14 ASSIST09 9.2 17.8 24.2 13.1 18.4 486.8 15.9 13.8 94.1 37.2 15.2 GPU days 26.1 hours
SLP-Math 0.5 1.1 0.8 0.9 1.8 31.3 0.7 1.4 48.6 5.5 30.6 hours 51.7 mins

5 EXPERIMENT↩︎

In this section, we conduct comprehensive experiments on two publicly available real-world educational datasets to validate the effectiveness of our proposed approach. Specifically, we will answer the following research questions (RQs) to unfold the experiments:

  • \(\boldsymbol{RQ1}\): How does the proposed OSCD model demonstrate effectiveness and superiority in addressing the CD task?

  • \(\boldsymbol{RQ2}\): How does the robustness of OSCD compare to other baseline methods under different types of noise?

  • \(\boldsymbol{RQ3}\): Can OSCD’s supernet reliably predict the relative performance of random architectures?

  • \(\boldsymbol{RQ4}\): Is OSCD efficient in terms of architecture search time?

  • \(\boldsymbol{RQ5}\): What insights can be gained from visualizing OSCD’s searched architectures and their objective function values?

5.1 Experimental Setting↩︎

5.1.1 Datasets.↩︎

To assess the effectiveness of the proposed model in learner modeling, we conducted experiments on two publicly available real-world educational datasets: ASSIST09[44], SLP-Math[45]. More details of the dataset descriptions are available in Appendix A.8.

5.1.2 Baseline Methods.↩︎

We conducted extensive experiments and compared several strong and commonly used baselines, including DINA[4], IRT[5], MIRT[6], MF[46], NCD[7], RCD[10], KSCD[13], KaNCD[47], ReliCD[48], ORCDF[16], and EMO-NAS-CD[40]. The introduction and implementation details can be found in Appendix A.9. We evaluated the models utilizing three common metrics, including ACC, AUC, and RMSE.

5.1.3 Implementation Details.↩︎

Following the approach described in [7], [49], for each dataset, we filtered out learners with fewer than \(15\) historical response records to ensure that every learner has sufficient exercise records for diagnosis. All experimental results are reported as averages computed over ten independent runs. We implemented all methods with PyTorch by Python, and the experiments were conducted on an NVIDIA Geforce RTX4090 GPU. For the baselines, we utilized the optimal parameter configurations suggested in the original work. In training stage, the embedding size \(d\), batch size, and learning rate were set to \(128\), \(128\), \(0.001\), respectively. The height \(h\) of tree was set to \(6\). In searching stage, the population size \(Pop\) was set to \(100\), the maximal number of generation was set to \(100\). Our codes are available at https://github.com/AhuTwelve/OSCD.

a

Figure 6: Ranking fidelity evaluation between supernet-based predictions and independent training results..

5.2 Performance Comparison↩︎

Table ¿tbl:tab:main95experiment? compares the ACC, AUC, and RMSE of the baselines, the top-performing architectures discovered by EMO-NAS-CD, and those discovered by our proposed OSCD on two educational datasets: ASSIST09 and SLP-Math. The best results for each model are highlighted in bold, while the second-best results are underlined. Table ¿tbl:tab:main95experiment? (a) and Table ¿tbl:tab:main95experiment? (b) respectively present the performance comparisons of various methods under different datasets and their corresponding split ratios, aiming to validate the robustness and effectiveness of our method across diverse experimental settings. According to the results, there are several observations: (1) The architectures discovered by our proposed OSCD method achieved the best or second-best performance on both datasets, significantly outperforming most existing baseline models overall, which fully demonstrates the effectiveness of the proposed method. Notably, on the SLP-Math dataset, the discovered architectures SA1 and SA5 achieved the best results across almost all evaluation metrics, further validating OSCD’s capability in architecture optimization when dealing with real-world educational data. (2) Under various split settings, the discovered architectures maintained stable performance across different metrics, showing minimal fluctuations and demonstrating strong generalization and resistance to overfitting. Compared with certain baselines such as IRT, MF, and KaNCD, which suffer from performance degradation under limited training data, the robustness of the models discovered by OSCD is particularly noteworthy.

5.3 Robustness Study↩︎

To verify the robustness of the model architectures obtained by OSCD, we simulate different heterogeneous noise environments on the original test set and inject noise at varying ratios. By comparing the AUC change ratios under different noise ratios, we can effectively assess the model’s stability under noise interference. A positive change ratio indicates that the model’s AUC improves under noise interference, while a negative change ratio indicates a decline in AUC. The absolute value of the change ratio reflects the magnitude of performance fluctuations under noise; the smaller the absolute value, the less sensitive the model is to noise, and hence, the stronger its robustness. As illustrated in Table 2, there are several noteworthy observations: (1) Across all noise types and ratio settings, the architectures SA1 to SA5 discovered by OSCD consistently exhibit the smallest average AUC change ratios, indicating the lowest susceptibility to noise and the smallest performance fluctuations. Compared with other baseline methods, OSCD achieves significantly lower fluctuation magnitudes in most cases, demonstrating stronger robustness and stability. (2) Regarding the impact of heterogeneous noise types, log miss and \(Q\)-matrix confusion have relatively minor interference with model performance, whereas the other two types of noise cause severe damage to the models, particularly log flip, which can degrade the predictive performance of most models to a level close to random guessing.

Figure 7: Visualization of Non-dominated individuals on the SLP dataset.
Figure 8: Visualization of Non-dominated individuals on the ASSIST09 dataset.

5.4 Ranking Correlation Evaluation↩︎

To evaluate the fidelity of the supernet’s performance prediction, we randomly generated 50 architectures and compared the rankings obtained from direct supernet evaluation with those from independently trained models, calculating Kendall’s tau and Spearman’s rank correlation coefficients to quantify the consistency between the two evaluation results. As depicted in the Figure 6, it can be observed that the performance rankings predicted by the supernet are highly consistent with those obtained from independent training across the ACC, AUC, and RMSE evaluation metrics, with most data points lying along the diagonal, indicating strong ranking consistency. Moreover, the Kendall’s tau and Spearman’s rank correlation coefficients of AUC are close to \(1\), further confirming the high fidelity of the supernet in performance prediction. This demonstrates that OSCD’s supernet can reliably reflect the true relative performance of random architectures, providing a solid foundation for efficient and accurate architecture search.

5.5 Time Efficiency Analysis↩︎

Table 3 presents the runtime comparison on ASSIST09 and SLP-Math. While traditional CDMs run quickly, their limited expressiveness constrains performance. EMO-NAS-CD achieves strong results but demands \(15.2\) GPU days on ASSIST09 and \(30.6\) hours on SLP-Math, making large-scale exploration impractical. OSCD delivers a decisive efficiency breakthrough. It reduces runtime to \(26.1\) hours on ASSIST09 (\(14×\) faster) and \(51.7\) minutes on SLP-Math (\(35×\) faster), enabling rapid architecture exploration within feasible time budgets. This efficiency transforms NAS in cognitive diagnosis from a costly niche method into a practical, scalable tool, unlocking more iterative experimentation and broader research opportunities. By lowering the computational barrier, OSCD paves the way for more agile, exploratory, and impactful research in robust learner modeling and intelligent tutoring systems.

5.6 Visualization of Discovered Architectures↩︎

To further investigate the reasons behind the robustness of the searched architectures, we conducted additional visualization experiments. As shown in the Figure 7 and 8, the visualization results reveal that the non-dominated individuals generally select operations that satisfy the Lipschitz condition. Such operations can effectively constrain the sensitivity of the network outputs to input perturbations, which is a key factor in enhancing robustness. This phenomenon offers a new perspective for understanding the formation mechanism of robust architectures and may provide further inspiration for the design of future robust neural networks.

6 CONCLUSION↩︎

In this work, we proposed OSCD, an evolutionary multi-objective One-Shot neural architecture search framework tailored for Cognitive Diagnosis, aiming to identify both efficient and robust model architectures. Specifically, OSCD proceeds in two stages: a training stage and a searching stage. During training, a comprehensive search space covering diverse architectural configurations is established, and a weight-sharing supernet based on a complete binary tree topology is optimized, enabling the exploration of architectures beyond hand-crafted design constraints. In the subsequent searching stage, the problem of identifying the optimal architecture under heterogeneous noise conditions is formulated as a multi-objective optimization task. This is addressed through a framework that combines Pareto-optimal solution discovery with cross-scenario performance evaluation. Extensive experiments on real-world educational datasets demonstrate that the architectures obtained through OSCD consistently deliver effective and robust performance in CD tasks, underscoring the practical value of the proposed approach. We hope this work will provide new perspectives in the field of CD.

This work was supported in part by the National Natural Science Foundation of China under Grant (NO. 62577002 and No.62302010), in part by the Anhui Provincial Natural Science Foundation (NO. 2508085MF160), in part by China Postdoctoral Science Foundation (No.2023M740015), in part by the Postdoctoral Fellowship Program (Grade B) of China Postdoctoral Science Foundation (No.GZB20240002), and in part by the Anhui Province Key Laboratory of Intelligent Computing and Applications (No. AFZNJS2024KF01).

7 Appendix↩︎

7.1 RELATED WORK↩︎

7.1.1 Cognitive Diagnosis↩︎

Cognitive diagnosis, as an advanced learner modeling approach, is theoretically grounded in the intersection of modern psychometrics and cognitive science. By analyzing students’ interactive learning behaviors, it can systematically deconstruct learners’ knowledge states and cognitive processes. Current research primarily focuses on manually developing sophisticated cognitive diagnostic models (CDMs) for more accurate learner modeling and assessment, which can be broadly classified into three categories: psychometric theory-based methods, neural network-based methods, and graph modeling-based methods. In the early stages of cognitive diagnosis development, researchers mainly employed psychometric techniques to assess learners’ abilities, utilizing unidimensional or multidimensional latent vectors to measure skill proficiency, as exemplified by DINA[4], IRT[5], and MIRT[6]. The advancement of deep learning has sparked significant interest, leading to the emergence of various neural network-based approaches [7], [13], [14]. For instance, NCD[7], as a representative neural CDM, employs multidimensional parameters to construct fine-grained representations of students’ cognitive states and exercise attributes, while leveraging neural networks to model complex interactions. KSCD[13] feeds student, exercise, and concept vectors into an IRT-like neural network as a predictive diagnostic function to uncover implicit relationships among concepts. Similarly, domain-level zero-shot cognitive diagnosis[14] and diagnosis using incremental response logs[50] have been developed to address practical challenges in online learning environments.

Owing to the unique characteristics of graph structures and the advancements in graph learning, graph modeling-based methods[10], [15][17] have gained widespread acceptance. These methods primarily leverage graph topological information to reveal higher-order relationships among students, exercises, and concepts, as well as to mine valuable latent implicit associations. For example, RCD[10] models student interactions and structural relationships by constructing a student-exercise-concept graph, employing graph convolutional networks (GCN[18]) to enhance the effectiveness of representation learning. With the increasing attention to learner modeling, recent years have also witnessed critical explorations from other perspectives, including interpretability[19], [20], robustness[21], and group learning[22], [23].

7.1.2 Neural Architecture Search↩︎

As a revolutionary automated machine learning technology[24], [25], Neural Architecture Search (NAS) has evolved into a comprehensive multi-domain and multi-modal framework since its pioneering works[26][28]. Currently, NAS techniques have achieved cross-domain penetration by offering automated optimization solutions for a wide range of mainstream deep neural networks (DNNs). This technology has not only been successfully applied to the construction of core models like CNNs in computer vision (CV)[29], but has also extended to recurrent neural networks (RNNs) in natural language processing (NLP)[30], speech recognition systems[31], and graph neural networks (GNNs) for tasks such as node classification and link prediction[32]. Notably, the Transformer architecture, as a universal paradigm for cross-modal applications, has also benefited from the systematic exploration enabled by NAS methods[33][36].

7.2 Pseudocode of OSCD↩︎

Next, we present the core algorithm pseudocode of OSCD to facilitate a thorough understanding of its internal working mechanism.

Figure 9: Main Steps of OSCD

7.3 Proof of Lipschitz Condition↩︎

We provide more detailed supplementary explanations for the operators in the table. First, it is worth noting that \(FFN\), \(FFN\_D\) and \(Concat\) are all FC-layer-based operations, indicating they incorporate learnable parameters to enhance the representational capacity of the model architecture. Moreover, while other operators contain no learnable parameters, the embedding layer in Eq.@eq:eq:1 ensures the general model avoids being limited to simple symbolic computations. Next, we introduce the definition and proof of the Lipschitz condition.

Definition 4.1(Lipschitz Condition). Let \(f: D\rightarrow \mathbb{R}\) be a function defined on a set \(D\subseteq \mathbb{R}\). The function \(f\) is said to satisfy that Lipschitz condition (or be Lipschitz continuous) on \(D\) if there exists a constant \(L \geq 0\) such that \[|f(x)-f(y)| \leq L|x-y|, \forall x,y\in D.\] Any constant \(L\) satisfying this inequality is called a Lipschitz constant for \(f\) on \(D\). The Lipschitz constant of \(f\), denoted \(L_f\), is the infimum (greatest lower bound) of all Lipschitz constants for \(f\) on \(D\); that is, \[L_f:=inf\{L \geq 0 ||f(x)-f(y) \leq L|x-y|,\forall x,y\in D\}.\]

Proof:

  • Iden(): Given that \(x\), \(y\) and \(Iden(x)=x\), we then have \[|Iden(x)-Iden(y)|=|x-y|\leq 1\cdot |x-y|.\] Therefore, it can be proved that \(Iden\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Neg(): Given that \(x\), \(y\) and \(Neg(x)=-x\), we then have \[|Neg(x)-Neg(y)|=|y-x|=|x-y|\leq 1\cdot |x-y|.\] Therefore, it can be proved that \(Neg\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Abs(): Given that \(x\), \(y\) and \(Abs(x)=|x|\), we then have \[|Abs(x)-Abs(y)|=||x|-|y||\leq |x-y|= 1\cdot |x-y|.\] Therefore, it can be proved that \(Abs\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Inv(): Given that \(x\), and \(Inv(x)=1/(x+1e^{-6})\), we can obtain \[Inv'(x)=-\frac{1}{(x+1e^{-6})^2},\] when \(x\rightarrow -1e^{-6}\), \(|Inv'(x)|\rightarrow \infty\). Based on the definition of Lipschitz condition, if the derivative of a function is unbounded, then the function does not satisfy the Lipschitz condition. Therefore, it can be proved that \(Inv\) operator does not satisfy the Lipschitz condition.

  • Square(): Given that \(x\), and \(Square(x)=x^2\), we can obtain \[Square'(x)=2x,\] when \(x\rightarrow \infty\), \(|Square'(x)|\rightarrow \infty\). According to the definition of Lipschitz condition, if the derivative of a function is unbounded, then the function does not satisfy the Lipschitz condition. Therefore, it can be proved that \(Square\) operator does not satisfy the Lipschitz condition.

  • Sqrt(): Given that \(x\), and \(Sqrt(x)=sign(x)\cdot \sqrt{|x|+1e^{-6}}\), we can obtain \[Sqrt'(x)=\left\{ \begin{align} \frac{1}{2\sqrt{x+1e^{-6}}}, x\geq 0 \\ \frac{1}{2\sqrt{1e^{-6}-x}}, x<0 \end{align} \right.,\] when \(x\rightarrow 0\), \(Sqrt'(x)\rightarrow 1/{2\sqrt{1e^{-6}}}\), where \(1e-6\) is the special value we set. Theoretically, \(Sqrt(x)\) is not continuous at \(x=0\) in terms of its derivative. Therefore, we believe that \(Sqrt\) operator does not satisfy the Lipschitz condition.

  • Tanh(): Given that \(x\), \(y\) and \(Tanh(x)=tanh(x)=(e^x-e^{-x})/(e^x+e^{-x})\), we can obtain \[tanh'(x)=1-tanh^2(x),\] because of \(tanh(x)\in(-1,1)\), we can obtain that \(tanh'(x)\in(0,1]\), and \[|Tanh(x)-Tanh(y)|=|tanh(x)-tanh(y)|\leq 1\cdot |x-y|.\] Therefore, it can be proved that \(Tanh\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Sigmoid(): Given that \(x\), \(y\) and \(Sigmoid(x)=sigmoid(x)=1/(1+e^{-x})\), we can obtain \[sigmoid'(x)=sigmoid(x)\cdot (1-sigmoid(x)),\] because of \(sigmoid(x)\in(0,1)\), we can obtain that \(sigmoid'(x)\in(0,\frac{1}{4}]\), and \[|Sigmoid(x)-Sigmoid(y)|=|sigmoid(x)-sigmoid(y)|\leq \frac{1}{4}\cdot |x-y|.\] Therefore, it can be proved that \(Sigmoid\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=\frac{1}{4}\).

  • Softplus(): Given that \(x\), \(y\) and \(Softplus(x)=softplus(x)=\log(1+e^x)\), we can obtain \[softplus'(x)=\frac{e^x}{1+e^x}=\frac{1}{1+e^{-x}}=sigmoid(x),\] because of \(sigmoid(x)\in(0,1)\), we can obtain that \(softplus'(x)\in(0,1)\), and \[|softplus(x)-softplus(y)|=|softplus(x)-softplus(y)|\leq 1\cdot |x-y|.\] Therefore, it can be proved that \(Softplus\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Sum(): Given that \(\mathbf{x}=(x_1, x_2, \dots, x_d)\), \(\mathbf{y}=(y_1, y_2, \dots, y_d)\) and \(Sum(\mathbf{x})=\sum_{i=1}^d x_i\), we then have \[|Sum(\mathbf{x})-Sum(\mathbf{y})|=|\sum_{i=1}^d(x_i-y_i)|\leq \sum_{i=1}^d|x_i-y_i|,\] Based on the Cauchy-Schwarz inequality, for \(\mathbf{a}=(a_1, a_2, \dots, a_d)\) and \(\mathbf{b}=(b_1, b_2, \dots, b_d)\), we have \[\sum_{i=1}^d|a_ib_i|\leq {||a||}_2 {||b||}_2,\] we take \(\mathbf{a}=(1, 1, \dots, 1)\), \(\mathbf{b}=(|x_1-y_1|, |x_2-y_2|, \dots, |x_d-y_d|)\) and we then obtain \[\begin{align} \nonumber \sum_{i=1}^d|x_i-y_i| & =\sum_{i=1}^d|1\cdot (x_i-y_i)|=\sum_{i=1}^d|a_ib_i|\\ & \leq {||a||}_2 {||b||}_2=\sqrt{d}\cdot {||x-y||}_2. \end{align}\] Therefore, it can be proved that \(Sum\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=\sqrt{d}\).

  • Mean(): Given that \(\mathbf{x}=(x_1, x_2, \dots, x_d)\), \(\mathbf{y}=(y_1, y_2, \dots, y_d)\) and \(Mean(\mathbf{x})=\sum_{i=1}^d x_i/d\), we then have \[|Mean(\mathbf{x})-Mean(\mathbf{y})|=|\frac{1}{d}\sum_{i=1}^d(x_i-y_i)|\leq \frac{1}{d}\sum_{i=1}^d|x_i-y_i|,\] Based on the Cauchy-Schwarz inequality, for \(\mathbf{a}=(a_1, a_2, \dots, a_d)\) and \(\mathbf{b}=(b_1, b_2, \dots, b_d)\), we have \[\sum_{i=1}^d|a_ib_i|\leq {||a||}_2 {||b||}_2,\] we take \(\mathbf{a}=(1, 1, \dots, 1)\), \(\mathbf{b}=(|x_1-y_1|, |x_2-y_2|, \dots, |x_d-y_d|)\) and we then obtain \[\begin{align} \nonumber \frac{1}{d}\sum_{i=1}^d|x_i-y_i| & =\frac{1}{d}\sum_{i=1}^d|1\cdot (x_i-y_i)|=\frac{1}{d}\sum_{i=1}^d|a_ib_i| \\ & \leq \frac{1}{d}{||a||}_2 {||b||}_2=\frac{1}{\sqrt{d}}\cdot {||x-y||}_2. \end{align}\] Therefore, it can be proved that \(Mean\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1/\sqrt{d}\).

  • FFN(): Given that \(\mathbf{x}\), \(\mathbf{y}\), and \(FFN(\mathbf{x}) = \mathbf{x}\times \mathrm{W}_{ffn}\), we then have \[||FFN(\mathbf{x})-FFN(\mathbf{y})||=||(\mathbf{x}-\mathbf{y})\cdot \mathrm{W}_{ffn}|| \leq ||\mathbf{x}-\mathbf{y}||\cdot ||\mathrm{W}_{ffn}||_2.\] Therefore, it can be proved that \(FFN\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=||\mathrm{W}_{ffn}||_2\).

  • FFN_D(): Given that \(\mathbf{x}\), \(\mathbf{y}\), and \(FFN\_D(\mathbf{x})=\mathbf{x}\times \mathrm{W}_{ffnd}\), we then have \[||FFN\_D(\mathbf{x})-FFN\_D(\mathbf{y})||=||(\mathbf{x}-\mathbf{y})\cdot \mathrm{W}_{ffnd}|| \leq ||\mathbf{x}-\mathbf{y}||\cdot ||\mathrm{W}_{ffnd}||_2.\] Therefore, it can be proved that \(FFN\_D\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=||\mathrm{W}_{ffnd}||_2\).

  • Add(): Given that \(\mathbf{x}=(x_1,x_2,\dots,x_d)\), \(\mathbf{y}=(y_1,y_2,\dots,y_d)\), \(\mathbf{x'}=(x'_1,x'_2,\dots,x'_d)\), \(\mathbf{y'}=(y'_1,y'_2,\dots,y'_d)\) and \(Add(\mathbf{x},\mathbf{y})=\mathbf{x}+\mathbf{y}\), we then have \[\begin{align} \nonumber & ||Add(\mathbf{x},\mathbf{y})-Add(\mathbf{x}',\mathbf{y}')|| \\ & =||\mathbf{x}-\mathbf{x}'+\mathbf{y}-\mathbf{y}'|| \\ \nonumber & \leq ||\mathbf{x}-\mathbf{x}'|| + ||\mathbf{y}-\mathbf{y}'||. \end{align}\] Therefore, it can be proved that \(Add\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=1\).

  • Mul(): Given that \(\mathbf{x}=(x_1,x_2,\dots,x_d)\), \(\mathbf{y}=(y_1,y_2,\dots,y_d)\), \(\mathbf{x'}=(x_1+\delta,x_2+\delta,\dots,x_d+\delta)\), \(\mathbf{y'}=(y_1+\delta,y_2+\delta,\dots,y_d+\delta)\) and \(Mul(\mathbf{x},\mathbf{y})=\mathbf{x}\odot \mathbf{y}\), we then have \[\begin{align} \nonumber & ||Mul(\mathbf{x}, \mathbf{y})-Mul(\mathbf{x}', \mathbf{y}')|| \\ \nonumber & = ||\mathbf{x} \odot \mathbf{y}-\mathbf{x}'\odot \mathbf{y}'|| \\ \nonumber & = ||(x_1y_1,\dots,x_dy_d)-((x_1+\delta)(y_1+\delta),\dots,(x_d+\delta)(y_d+\delta))|| \\ & = ||(-(x_1+y_1)\delta-\delta^2),\dots,(-(x_d+y_d)\delta-\delta^2)|| \\ \nonumber & = ||-\delta((x_1+y_1)+\delta),\dots,-\delta((x_d+y_d)+\delta)||, \end{align}\] because of \(||\mathbf{x}-\mathbf{x}'||+||\mathbf{y}-\mathbf{y}'||=2\sqrt{d}\delta\), we can obtain \[\begin{align} \nonumber & \frac{||Mul(\mathbf{x}, \mathbf{y})-Mul(\mathbf{x}', \mathbf{y}')||}{||\mathbf{x}-\mathbf{x}'||+||\mathbf{y}-\mathbf{y}'||} \\ & = \frac{||-\delta((x_1+y_1)+\delta),\dots,-\delta((x_d+y_d)+\delta)||}{2\sqrt{d}\delta} \\ \nonumber & = \frac{||-((x_1+y_1)+\delta),\dots,-((x_d+y_d)+\delta)||}{2\sqrt{d}}. \end{align}\] Therefore, when \(\mathbf{x},\mathbf{y}\rightarrow \infty\), \(\frac{||Mul(\mathbf{x}, \mathbf{y})-Mul(\mathbf{x}', \mathbf{y}')||}{||\mathbf{x}-\mathbf{x}'||+||\mathbf{y}-\mathbf{y}'||}\rightarrow \infty\). It can be proved that \(Mul\) operator does not satisfy the Lipschitz condition.

  • Concat(): Given that \((\mathbf{x}_1,\mathbf{y}_1)\), \((\mathbf{x}_2,\mathbf{y}_2)\), and \(Concat(\mathbf{x},\mathbf{y})=[\mathbf{x} || \mathbf{y}]\times \mathrm{W}_{concat}\), we then have \[\begin{align} \nonumber & ||Concat(\mathbf{x}_1, \mathbf{y}_1)-Concat(\mathbf{x}_2,\mathbf{y}_2)|| \\ \nonumber & =||([\mathbf{x}_1||\mathbf{y}_1]-[\mathbf{x}_2||\mathbf{y}_2]) \cdot \mathrm{W}_{concat}|| \\ & \leq ||([\mathbf{x}_1||\mathbf{y}_1]-[\mathbf{x}_2||\mathbf{y}_2]) \cdot ||\mathrm{W}_{concat}||_2 \\ \nonumber & \leq \sqrt{2} (||\mathbf{x}_1-\mathbf{x}_2||+||\mathbf{y}_1-\mathbf{y}_2||) \cdot ||\mathrm{W}_{concat}||_2. \end{align}\] Therefore, it can be proved that \(Concat\) operator satisfies the Lipschitz condition, and the Lipschitz constant is \(L=\sqrt{2} \cdot ||\mathrm{W}_{concat}||_2\).

7.4 Challenges encountered during supernet training↩︎

We hereby provide a detailed mathematical formalization of the Dimension Incompatibility challenge. Furthermore, regarding our search space design and algorithm, we elucidate the advantages of all-ones padding.

(a) Unary operator mismatch: Operators requiring single input are incorrectly connected to two input nodes. As illustrated in Figure 5 (a), given the triplet \(node_1=\{input_1^L, input_1^R, operator_1\}\), where \(input_1^L=\mathbf{h}_s\in \mathbb{R}^{1\times d}\), \(input_1^R=\mathbf{h}_e\in \mathbb{R}^{1\times d}\), and \(operator_1=Sigmoid(\cdot)\), since unary operators like \(Sigmoid\) only accept a single input, we consistently feed the left input to the operator to ensure proper computation. That is to say, the computation process for the triplet \(node_1\) is \(sigmoid(\mathbf{h_s})\).

(b) Binary operator deficiency: Operators requiring dual inputs are connected to only one input node. As shown in Figure 5 (b), given the triplet \(node_1=\{input_1^L, input_1^R, operator_1\}\), where \(input_1^L=\mathbf{h}_s\in \mathbb{R}^{1\times d}\), \(input_1^R=Zero\), and \(operator_1=Concat(\cdot~,\cdot)\), since \(Zero\) merely serves as a placeholder without actual valid input, while \(Concat\) requires two inputs, we adopt a dimension padding strategy: when the left node provides valid \(d\)-dimensional input, we generate a all-ones padding tensor of identical dimension for the right node. That is to say, the computation process of the triplet \(node_1\) is \(Concat(\mathbf{h}_s,\mathbf{1}^{1\times d})\).

(c) Dimension-sensitive operator left input error: Dimension-sensitive operators receive a scalar as left input. As depicted in Figure 5 (c), the triplet \(node_1=\{input_1^L, input_1^R, operator_1\}\), where \(input_1^L=Sum(\mathbf{h}_s)\in \mathbb{R}^1\), \(input_1^R=\mathbf{h}_e\in \mathbf{R}^{1\times d}\), and \(operator_1=FFN(\cdot)\), has been provided. As previously mentioned, \(FFN\) is a dimension-sensitive operator. When the left input dimension is not \(d\)-dimension, conventional padding methods would conflict with other binary operations. Therefore, we opt to replace the current operator with any non-dimension-sensitive operator to ensure training stability. For example, the computational process of this triplet \(node_1\) then becomes \(Sigmoid(Sum(\mathbf{h}_s))\).

(d) Dimension-sensitive operator right input error: Dimension-sensitive operators receive \(d\)-dimension vectors as left input but the scalar as right input. As can be seen from Figure 5 (d), the left and right input dimensions of the triplet \(node_1=\{input_1^L, input_1^R, operator_1\}\) are inconsistent, where \(input_1^L= Sigmoid(\mathbf{h}_s)\in \mathbb{R}^{1\times d}\), \(input_1^R=Sum(\mathbf{h}_e)\in \mathbb{R}^1\), \(operator_1=Concat(\cdot~,\cdot)\). Given that the \(operator_i\) already meets the scenario (c), we employ an all-ones padding tensor to maintain the original computational path, thereby preventing the omission of critical operations through operator replacement. Other words, \(Concat(Sigmoid(\mathbf{h}_s), [Sum(\mathbf{h}_e)|| \mathbf{1}^{1\times (d-1)}])\) denotes the computation process of the triplet \(node_1\).

It should be emphasized that we consistently employ all-ones padding tensors (rather than zero padding) to address dimension incompatibility issues. All-ones padding tensors minimize interference in computational processes within the defined search space, especially for operations like \(Inv\), \(Mul\), and various activation functions. This leads to better preservation of information flow integrity and gradient stability.

7.5 Implementation details of the sandwich rule↩︎

The Sandwich Rule is an efficient training strategy for weight-sharing NAS frameworks, designed to enhance the quality of supernet optimization. It addresses the performance estimation bias caused by inconsistent optimization difficulty across sub-models of varying sizes. The core methodology involves simultaneously training three types of subnets in each training iteration: the minimal subnet, the maximal subnet and randomly sampled subnets. The minimal subnet, denoted as \(\hat{r}_{ij}=Concat(\mathbf{h}_s,\mathbf{h}_e)\), typically represents the lower bound of the architectural space with the smallest parameter count and simplest computations in the search space. Similarly, the maximal subnet, denoted as \(\hat{r}_{ij}=Concat(Concat(\dots \\(Concat(\mathbf{h}_s,\mathbf{h}_e))),Concat(\dots(Concat(\mathbf{h}_s,\mathbf{h}_c))))\), generally represents the upper bound of the architectural space with the largest parameter count and most complex computations in the search space. The randomly sampled subnets represent stochastic samples from the architectural space.

7.6 Theoretical Analysis of Objective Function↩︎

Theorem A.6. Consider a model with predictive distributions \(\mathcal{P}(y|x;\theta)\) on clean inputs \(x\) and \(\mathcal{P}(y|x+x';\theta)\) on noisy inputs, where the loss function is the cross-entropy loss. Assume that for all \(x\), the two predictive distributions are sufficiently close. Then, there exists a constant \(C>0\) such that the difference between the expected risks under clean and noisy conditions satisfies \[|Risk_{noisy}-Risk_{clean}| \leq C||\mathcal{P}(y|x;\theta)-\mathcal{P}(y|x+x';\theta))||^2.\]

Proof:

For the cross-entropy loss function, we have

\[\ell(Archi_\theta(x),y) = -\log \mathcal{P}(y|x;\theta).\]

Define the KL divergence as

\[D_{KL}(\mathcal{P}(y|x;\theta)||\mathcal{P}(y|x+x');\theta)=\sum_y \mathcal{P}(y|x;\theta)\log \tfrac{\mathcal{P}(y|x;\theta)}{\mathcal{P}(y|x+x';\theta)},\]

and the expected risks under clean and noisy conditions as

\[Risk_{clean}=\mathbb{E}_{x} \mathbb{E}_{y \sim \mathcal{P}(y|x)}[-\log \mathcal{P}(y|x;\theta)],\]

\[Risk_{noisy}=\mathbb{E}_{x} \mathbb{E}_{y \sim \mathcal{P}(y|x+x')}[-\log \mathcal{P}(y|x+x';\theta)].\]

Therefore, we obtain

\[\begin{align} \nonumber & \Delta Risk = Risk_{noisy} - Risk_{clean} \\ \nonumber & =\mathbb{E}_{x} \mathbb{E}_{y \sim \mathcal{P}(y|x+x')}[-\log \mathcal{P}(y|x+x';\theta)] - \mathbb{E}_x \mathbb{E}_{y \sim \mathcal{P}(y|x)}[-\log \mathcal{P}(y|x;\theta)] \\ & =\mathbb{E}_x \sum_y [\mathcal{P}(y|x;\theta)\log \mathcal{P}(y|x;\theta) - \mathcal{P}(y|x+x';\theta)\log \mathcal{P}(y|x+x';\theta)]. \end{align}\]

Then, we introduce the intermediate term \(\sum_y \mathcal{P}(y|x;\theta)\log \mathcal{P}(y|x+x';\theta)\) to decompose the expression

\[\begin{align} \nonumber \Delta Risk \nonumber &= \mathbb{E}_x \sum_y [\mathcal{P}(y|x;\theta)\log \tfrac{\mathcal{P}(y|x;\theta)}{\mathcal{P}(y|x+x';\theta)} \\ \nonumber & \quad + (\mathcal{P}(y|x;\theta)-\mathcal{P}(y|x+x';\theta))\log \mathcal{P}(y|x+x';\theta)] \\ &= \mathbb{E}_x \sum_y [D_{KL}(\mathcal{P}(y|x;\theta)||\mathcal{P}(y|x+x');\theta) \\ \nonumber & \quad + (\mathcal{P}(y|x;\theta)-\mathcal{P}(y|x+x';\theta))\log \mathcal{P}(y|x+x';\theta)]. \end{align}\]

Next, to transform the above equation, we introduce another intermediate term \(\sum_y \mathcal{P}(y|x+x';\theta)\log \mathcal{P}(y|x;\theta)\)

\[\begin{align} \nonumber \Delta Risk & = \mathbb{E}_x \sum_y [D_{KL}(\mathcal{P}(y|x;\theta)||\mathcal{P}(y|x+x');\theta) \\ & \quad - D_{KL}(\mathcal{P}(y|x+x';\theta)||\mathcal{P}(y|x);\theta) \\ \nonumber & \quad + \mathcal{P}(y|x;\theta)\log \mathcal{P}(y|x+x';\theta) - \mathcal{P}(y|x+x';\theta)\log \mathcal{P}(y|x;\theta)]. \end{align}\]

When the two distributions are close, i.e., \(\mathcal{P}(y|x;\theta)\approx \mathcal{P}(y|x+x';\theta)\), we have

\[\mathcal{P}(y|x;\theta)\log \mathcal{P}(y|x+x';\theta) \approx \mathcal{P}(y|x+x';\theta)\log \mathcal{P}(y|x;\theta).\]

Meanwhile, the difference in the bidirectional KL divergence is also a higher-order infinitesimal, \(o(||\mathcal{P}(y|x;\theta)-\mathcal{P}(y|x+x';\theta))||^2)\), when the distributions are close. Therefore, there exists a constant \(C>0\) such that

\[|\Delta Risk| \leq C||\mathcal{P}(y|x;\theta)-\mathcal{P}(y|x+x';\theta))||^2.\]

As the predictive distribution \(\mathcal{P}(y|x;\theta)\) becomes closer to the noisy predictive distribution \(\mathcal{P}(y|x+x';\theta)\), their KL divergence decreases. Since the risk difference \(|\Delta Risk|\) can be upper-bounded by the KL divergence, a smaller KL implies a tighter upper bound on the risk change. This indicates that the model exhibits smaller differences in predictive risk between clean and noisy data, meaning its sensitivity to distributional perturbations is reduced, thereby enhancing robustness.

7.7 Datasets↩︎

We conducted experiments using the following two datasets to evaluate our proposed methods. Table 4 shows the statistics of datasets, and more details of the dataset description are as follows:

  • Assistment2009(ASSIST09)1 is a rich collection of educational data derived from the online learning platform ASSISTments. This dataset spans the academic year 2009-2010 and has been widely used in the CD task.

  • SLP-Math2 is a publicly available benchmark dataset derived from the Smart Learning Partner (SLP) online platform. SLP collects learning data intentionally from secondary school students across multiple subjects, providing diverse content. SLP-Math specifically focuses on the mathematics subset of these data.

Table 4: The statistics of two widely used datasets.
Datasets Students Exercises Concepts Interactions
ASSIST09 4.1k 17.7k 123 324.5k
SLP-Math 1.5k 0.9k 34 57.2k

7.8 Baseline Methods↩︎

To validate the effectiveness of our proposed OSCD, we conducted extensive experiments and compared several state-of-the-art baselines. The detailed description of these methods is as follows:

  • DINA employs a deterministic inputs, noisy "AND" gate mechanism to establish an association model between learners’ latent abilities and observed outcomes through the mapping relationship between latent attribute vectors and item responses.

  • IRT is a widely used cognitive diagnosis method. It employs a linear function to model student ability profiles and exercise characteristics unidimensionally.

  • MIRT extends the IRT framework multidimensionally, modeling both learner traits and exercise features across multiple latent dimensions.

  • MF is a latent factor factorization model. It decomposes the student-exercise score matrix to obtain latent feature representations, thereby enabling exercise performance prediction.

  • NCD innovatively constructs a neural cognitive diagnosis system that maps learners and exercises into a latent space, employing deep neural networks with monotonicity constraints to model their nonlinear interactions, thereby achieving precise assessment of students’ knowledge mastery.

  • RCD innovatively employs graph-structured modeling by constructing a triple relational network comprising student-exercise interaction graphs, concept-exercise association graphs, and concept dependency graphs, while designing multi-level attention mechanisms to achieve co-optimization of node features and graph structures, thereby enhancing the predictive performance of cognitive diagnosis.

  • KSCD designs a knowledge-sensed cognitive diagnosis approach that maps students, exercises, and interactive/non-interactive concepts into a unified vector space, and generates dynamic mastery vectors through matrix operations, thereby uncovering latent knowledge state association patterns from learning behavior data.

  • KaNCD is the extension of NCD. It introduces an explicit knowledge association modeling mechanism that infers mastery levels of uncovered knowledge concepts by mining latent dependency relationships among concepts, significantly enhancing the interpretability of diagnostic results.

  • ReliCD incorporates a bayesian uncertainty quantification mechanism that explicitly models knowledge state uncertainty through personalized prior distributions, while optimizing confidence estimation via calibration loss functions, effectively addressing overconfidence issues in diagnosis caused by data noise and sparsity.

  • ORCDF explicitly encodes raw response signals as graph-structured features and designs a response-aware graph convolution network to mitigate feature over-smoothing issues in traditional cognitive diagnosis models, significantly improving both prediction accuracy and model interpretability.

  • EMO-NAS-CD innovatively reformulates neural architecture search as a multi-objective optimization problem, automatically discovering cognitive diagnosis architectures that achieve both high performance and high interpretability through joint optimization of novel interpretability metrics and model efficiency objectives.

References↩︎

[1]
F. Liu, X. Hu, C. Bu, and K. Yu, “Fuzzy bayesian knowledge tracing,” IEEE Transactions on Fuzzy Systems, vol. 30, no. 7, pp. 2412–2425, 2021.
[2]
Z. Huang et al., “Exploring multi-objective exercise recommendations in online education systems,” in Proceedings of the 28th ACM international conference on information and knowledge management, 2019, pp. 1261–1270.
[3]
Z. Huang et al., “Disenqnet: Disentangled representation learning for educational questions,” in Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, 2021, pp. 696–704.
[4]
J. De La Torre, “DINA model and parameter estimation: A didactic,” Journal of educational and behavioral statistics, vol. 34, no. 1, pp. 115–130, 2009.
[5]
S. E. Embretson and S. P. Reise, Item response theory for psychologists. Psychology Press, 2013.
[6]
T. A. Ackerman, “Multidimensional item response theory models,” Wiley StatsRef: Statistics Reference Online, 2014.
[7]
F. Wang et al., “Neural cognitive diagnosis for intelligent education systems,” in Proceedings of the AAAI conference on artificial intelligence, 2020, vol. 34, pp. 6153–6161.
[8]
P. Shao et al., “Breaking student-concept sparsity barrier for cognitive diagnosis,” Frontiers of Computer Science, vol. 19, no. 11, p. 1911363, 2025.
[9]
F. Liu, Y. Zhang, S. Liu, S. Ji, K. Yu, and L. Wu, “Prompt transfer for dual-aspect cross-domain cognitive diagnosis,” IEEE Transactions on Computational Social Systems, 2025.
[10]
W. Gao et al., “RCD: Relation map driven cognitive diagnosis for intelligent education systems,” in Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval, 2021, pp. 501–510.
[11]
S. Yang et al., “DisenGCD: A meta multigraph-assisted disentangled graph learning framework for cognitive diagnosis,” Advances in Neural Information Processing Systems, vol. 37, pp. 91532–91559, 2024.
[12]
P. Shao et al., “Exploring heterogeneity and uncertainty for graph-based cognitive diagnosis models in intelligent education,” in Proceedings of the 31st ACM SIGKDD conference on knowledge discovery and data mining v. 1, 2025, pp. 1233–1243.
[13]
H. Ma et al., “Knowledge-sensed cognitive diagnosis for intelligent education platforms,” in Proceedings of the 31st ACM international conference on information & knowledge management, 2022, pp. 1451–1460.
[14]
W. Gao et al., “Zero-1-to-3: Domain-level zero-shot cognitive diagnosis via one batch of early-bird students towards three diagnostic objectives,” in Proceedings of the AAAI conference on artificial intelligence, 2024, vol. 38, pp. 8417–8426.
[15]
H. Ma et al., “Dgcd: An adaptive denoising gnn for group-level cognitive diagnosis,” in The 33rd international joint conference on artificial intelligence (IJCAI-24), 2024.
[16]
H. Qian, S. Liu, M. Li, B. Li, Z. Liu, and A. Zhou, “ORCDF: An oversmoothing-resistant cognitive diagnosis framework for student learning in online education systems,” in Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining, 2024, pp. 2455–2466.
[17]
X. Yu et al., “Rdgt: Enhancing group cognitive diagnosis with relation-guided dual-side graph transformer,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 7, pp. 3429–3442, 2024.
[18]
T. N. Kipf and M. Welling, “Semi-supervised classification with graph convolutional networks,” arXiv preprint arXiv:1609.02907, 2016.
[19]
J. Li et al., “Towards the identifiability and explainability for personalized learner modeling: An inductive paradigm,” in Proceedings of the ACM web conference 2024, 2024, pp. 3420–3431.
[20]
S. Yang, L. Qin, and X. Yu, “Endowing interpretability for neural cognitive diagnosis by efficient kolmogorov-arnold networks,” arXiv preprint arXiv:2405.14399, 2024.
[21]
F. Yao et al., “Adard: An adaptive response denoising framework for robust learner modeling,” in Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining, 2024, pp. 3886–3895.
[22]
S. Liu, X. Yu, H. Ma, Z. Wang, C. Qin, and X. Zhang, “Homogeneous cohort-aware group cognitive diagnosis: A multi-grained modeling perspective,” in Proceedings of the 32nd ACM international conference on information and knowledge management, 2023, pp. 4094–4098.
[23]
X. Yu et al., “Rigl: A unified reciprocal approach for tracing the independent and group learning processes,” in Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining, 2024, pp. 4047–4058.
[24]
B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le, “Learning transferable architectures for scalable image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 8697–8710.
[25]
P. Ren et al., “A comprehensive survey of neural architecture search: Challenges and solutions,” ACM Computing Surveys (CSUR), vol. 54, no. 4, pp. 1–34, 2021.
[26]
B. Zoph and Q. V. Le, “Neural architecture search with reinforcement learning,” arXiv preprint arXiv:1611.01578, 2016.
[27]
T. Elsken, J. H. Metzen, and F. Hutter, “Neural architecture search: A survey,” Journal of Machine Learning Research, vol. 20, no. 55, pp. 1–21, 2019.
[28]
Y. Liu, Y. Sun, B. Xue, M. Zhang, G. G. Yen, and K. C. Tan, “A survey on evolutionary neural architecture search,” IEEE transactions on neural networks and learning systems, vol. 34, no. 2, pp. 550–570, 2021.
[29]
J. Yu et al., “Bignas: Scaling up neural architecture search with big single-stage models,” in European conference on computer vision, 2020, pp. 702–717.
[30]
Y. Wang et al., “Textnas: A neural architecture search space tailored for text representation,” in Proceedings of the AAAI conference on artificial intelligence, 2020, vol. 34, pp. 9242–9249.
[31]
A. Baruwa, M. Abisiga, I. Gbadegesin, and A. Fakunle, “Leveraging end-to-end speech recognition with neural architecture search,” arXiv preprint arXiv:1912.05946, 2019.
[32]
B. M. Oloulade, J. Gao, J. Chen, T. Lyu, and R. Al-Sabri, “Graph neural architecture search: A survey,” Tsinghua Science and Technology, vol. 27, no. 4, pp. 692–708, 2021.
[33]
X. Su et al., “Vitas: Vision transformer architecture search,” in European conference on computer vision, 2022, pp. 139–157.
[34]
K. T. Chitty-Venkata, M. Emani, V. Vishwanath, and A. K. Somani, “Neural architecture search for transformers: A survey,” IEEE Access, vol. 10, pp. 108374–108412, 2022.
[35]
J. Xu et al., “NAS-BERT: Task-agnostic and adaptive-size BERT compression with neural architecture search,” in Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, 2021, pp. 1933–1943.
[36]
X. Shi, P. Zhou, W. Chen, and L. Xie, “Darts-conformer: Towards efficient gradient-based neural architecture search for end-to-end asr,” arXiv preprint arXiv:2104.02868, 2021.
[37]
X. Ding and E. C. Larson, “Automatic rnn cell design for knowledge tracing using reinforcement learning,” in Proceedings of the seventh ACM conference on learning@ scale, 2020, pp. 285–288.
[38]
S. Yang et al., “Evolutionary multi-objective neural architecture search for generalized cognitive diagnosis models,” in 2023 5th international conference on data-driven optimization of complex systems (DOCS), 2023, pp. 1–10.
[39]
X. Ding, T. Han, Y. Fang, and E. Larson, “An approach for combining multimodal fusion and neural architecture search applied to knowledge tracing,” Applied Intelligence, vol. 53, no. 9, pp. 11092–11103, 2023.
[40]
S. Yang et al., “An evolutionary multi-objective neural architecture search approach to advancing cognitive diagnosis in intelligent education,” IEEE Transactions on Evolutionary Computation, 2024.
[41]
S. Yang, X. Yu, Y. Tian, X. Yan, H. Ma, and X. Zhang, “Evolutionary neural architecture search for transformer in knowledge tracing,” Advances in Neural Information Processing Systems, vol. 36, pp. 19520–19539, 2023.
[42]
K. Deb, A. Pratap, S. Agarwal, and T. Meyarivan, “A fast and elitist multiobjective genetic algorithm: NSGA-II,” IEEE transactions on evolutionary computation, vol. 6, no. 2, pp. 182–197, 2002.
[43]
Y. Tian, X. Zhang, C. Wang, and Y. Jin, “An evolutionary algorithm for large-scale sparse multiobjective optimization problems,” IEEE Transactions on Evolutionary Computation, vol. 24, no. 2, pp. 380–393, 2019.
[44]
M. Feng, N. Heffernan, and K. Koedinger, “Addressing the assessment challenge with an online system that tutors as it assesses,” User modeling and user-adapted interaction, vol. 19, pp. 243–266, 2009.
[45]
Y. Lu, Y. Pian, Z. Shen, P. Chen, and X. Li, SLP: A multi-dimensional and consecutive dataset from K-12 education,” in Proceedings of the 29th international conference on computers in education conference, 2021, vol. 1, pp. 261–266.
[46]
Y. Koren, R. Bell, and C. Volinsky, “Matrix factorization techniques for recommender systems,” Computer, vol. 42, no. 8, pp. 30–37, 2009.
[47]
F. Wang et al., “NeuralCD: A general framework for cognitive diagnosis,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 8, pp. 8312–8327, 2022.
[48]
Y. Zhang et al., “Relicd: A reliable cognitive diagnosis framework with confidence awareness,” in 2023 IEEE international conference on data mining (ICDM), 2023, pp. 858–867.
[49]
Z. Wang et al., “Reconciling cognitive modeling with knowledge forgetting: A continuous time-aware general neural network framework,” ACM Transactions on Intelligent Systems and Technology, 2025.
[50]
S. Tong et al., “Incremental cognitive diagnosis for intelligent education,” in Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining, 2022, pp. 1760–1770.

  1. https://sites.google.com/site/assistmentsdata/home/2009-2010-assistment-data/skill-builder-data-2009-2010↩︎

  2. https://aic-fe.bnu.edu.cn/en/data/index.html↩︎