{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/evolutionary-neural-architecture-search-for-1","title":"Evolutionary Neural Architecture Search for Transformer in Knowledge Tracing","arxiv_id":"2310.01180","date":"2023-10-02","proceeding":"NeurIPS 2023 11","authors":["Shangshang Yang","Xiaoshan Yu","Ye Tian","Xueming Yan","Haiping Ma","Xingyi Zhang"],"abstract":"Knowledge tracing (KT) aims to trace students' knowledge states by predicting whether students answer correctly on exercises. Despite the excellent performance of existing Transformer-based KT approaches, they are criticized for the manually selected input features for fusion and the defect of single global context modelling to directly capture students' forgetting behavior in KT, when the related records are distant from the current record in terms of time. To address the issues, this paper first considers adding convolution operations to the Transformer to enhance its local context modelling ability used for students' forgetting behavior, then proposes an evolutionary neural architecture search approach to automate the input feature selection and automatically determine where to apply which operation for achieving the balancing of the local/global context modelling. In the search space, the original global path containing the attention module in Transformer is replaced with the sum of a global path and a local path that could contain different convolutions, and the selection of input features is also considered. To search the best architecture, we employ an effective evolutionary algorithm to explore the search space and also suggest a search space reduction strategy to accelerate the convergence of the algorithm. Experimental results on the two largest and most challenging education datasets demonstrate the effectiveness of the architecture found by the proposed approach.","url_abs":"https://arxiv.org/abs/2310.01180v1","url_pdf":"https://arxiv.org/pdf/2310.01180v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"evolutionary-neural-architecture-search-for-1","repo_url":"https://github.com/devilyangs/enas-kt","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"knowledge-tracing","task_name":"Knowledge Tracing"},{"task_slug":"architecture-search","task_name":"Neural Architecture Search"},{"task_slug":"feature-selection","task_name":"feature selection"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"feature-selection","method_name":"Feature Selection"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2310.01180","atlas_url":"https://app.syntology.ai/?focus=2310.01180","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.01180"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/DevilYangS/ENAS-KT","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/devilyangs/enas-kt","reach":{"status":"ok"}}],"summary":{"ran":9,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"official":{"samples":14,"ran":10,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":14,"samples":[{"code_sha256_prefix":"a8be0cbff1e83846","entry":"F_distance","repo":"devilyangs/enas-kt","repo_kind":"official","path":"EMO_public/F_distance.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/EMO_public/F_distance.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a8be0cbff1e83846"}},{"code_sha256_prefix":"45641417c526d625","entry":"F_mating","repo":"devilyangs/enas-kt","repo_kind":"official","path":"EMO_public/F_mating.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/EMO_public/F_mating.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"45641417c526d625"}},{"code_sha256_prefix":"49878a238817e447","entry":"Get_auc","repo":"devilyangs/enas-kt","repo_kind":"official","path":"Operations.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/Operations.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49878a238817e447"}},{"code_sha256_prefix":"991bdeb73a94fdd8","entry":"evaluation","repo":"DevilYangS/ENAS-KT","repo_kind":"official","path":"EvoTransformer.py","file_url":"https://github.com/DevilYangS/ENAS-KT/blob/HEAD/EvoTransformer.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"991bdeb73a94fdd8"}},{"code_sha256_prefix":"eb6d7e95eac06538","entry":"get_Ednet_training_config","repo":"devilyangs/enas-kt","repo_kind":"official","path":"config.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eb6d7e95eac06538"}},{"code_sha256_prefix":"73aac25ea9f0d376","entry":"get_metrics","repo":"devilyangs/enas-kt","repo_kind":"official","path":"utils.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73aac25ea9f0d376"}},{"code_sha256_prefix":"e0840c2d2f3aea15","entry":"get_optimal_value","repo":"devilyangs/enas-kt","repo_kind":"official","path":"utils.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e0840c2d2f3aea15"}},{"code_sha256_prefix":"4b91e5408023e9ff","entry":"train","repo":"DevilYangS/ENAS-KT","repo_kind":"official","path":"training_script.py","file_url":"https://github.com/DevilYangS/ENAS-KT/blob/HEAD/training_script.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4b91e5408023e9ff"}},{"code_sha256_prefix":"ca11fb11243c1b65","entry":"train_super","repo":"DevilYangS/ENAS-KT","repo_kind":"official","path":"training_script.py","file_url":"https://github.com/DevilYangS/ENAS-KT/blob/HEAD/training_script.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ca11fb11243c1b65"}},{"code_sha256_prefix":"a7e7d4147dcf0849","entry":"trunc_normal_","repo":"devilyangs/enas-kt","repo_kind":"official","path":"model/Transformer_super_V3.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/model/Transformer_super_V3.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a7e7d4147dcf0849"}},{"code_sha256_prefix":"b17a27d37109ab1c","entry":"get_Average_optimal_effect","repo":"devilyangs/enas-kt","repo_kind":"official","path":"utils.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b17a27d37109ab1c"}},{"code_sha256_prefix":"b8317c399e2303d7","entry":"get_concat_mask","repo":"devilyangs/enas-kt","repo_kind":"official","path":"Operations.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/Operations.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b8317c399e2303d7"}},{"code_sha256_prefix":"465402206925c3af","entry":"get_mask","repo":"devilyangs/enas-kt","repo_kind":"official","path":"Operations.py","file_url":"https://github.com/devilyangs/enas-kt/blob/HEAD/Operations.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"465402206925c3af"}},{"code_sha256_prefix":"f8ed97f839035f8f","entry":"train_student","repo":"DevilYangS/ENAS-KT","repo_kind":"official","path":"training_script.py","file_url":"https://github.com/DevilYangS/ENAS-KT/blob/HEAD/training_script.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f8ed97f839035f8f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}