Skip to main content
QUICK REVIEW

[Paper Review] Evolutionary Neural Architecture Search for Transformer in Knowledge Tracing

Shangshang Yang, Xiaoshan Yu|arXiv (Cornell University)|Oct 2, 2023
Online Learning and AnalyticsComputer Science12 citations
TL;DR

The paper introduces ENAS-KT, an evolutionary NAS approach that automates input feature selection and balances local/global context in a Transformer for knowledge tracing by integrating convolutional local context and a hierarchical feature fusion.

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.

Motivation & Objective

  • Motivate the use of Transformers for KT and address forgetting behavior and manual feature fusion limitations.
  • Propose a NAS-enabled Transformer that jointly selects input features and designs where to apply local convolutions for better KT modeling.
  • Develop a search space and an evolutionary search algorithm with space-reduction and a super-net training strategy.
  • Evaluate the found architectures on large KT datasets and compare against state-of-the-art KT methods.

Proposed method

  • Design a Transformer variant with a global path plus a local path (convolutions) to capture local forgetting behavior.
  • Introduce selective hierarchical input modules to automatically choose encoder/decoder inputs from a pool of features.
  • Replace the original global path with a sum of global and local paths; allow global operations to be MHSA/FFN/zero and local operations to be various convolutions.
  • Train a super-Transformer (supernet) and apply an evolutionary algorithm with space-reduction to search architectures.
  • Use a search-space reduction strategy to accelerate convergence of the EA.
  • Evaluate architectures on EdNet and RAIEd2020 with metrics RMSE, ACC, and AUC.

Experimental results

Research questions

  • RQ1Can NAS discover KT-optimized Transformer architectures that balance local/global context better than manually designed models?
  • RQ2Does incorporating convolutional local context improve forgetting modeling in KT?
  • RQ3Which input features are most beneficial for encoder/decoder inputs in KT when automatically selected by NAS?
  • RQ4How does the proposed search strategy affect convergence speed and final performance on large KT datasets.

Key findings

  • The ENAS-KT-found architectures achieve significantly better RMSE/ACC/AUC than the compared KT methods on EdNet and RAIEd2020.
  • Best-found architectures favor encoder blocks with convolutions/FFN and decoder blocks with global operations, indicating a local-global balance pattern.
  • The best architecture transferred well between EdNet and RAIEd2020, maintaining strong AUC (~0.806-0.809).
  • Selected features include elapsed time and lag time embeddings, among others, with a hierarchical fusion outperforming simple feature concatenation.
  • Compared to NAS-Cell, ENAS-KT architectures are more effective, validating the proposed search space and design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.