arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.06629cs.AIcs.ITmath.IT
收藏

FlatFormer: 一种基于认知偏差注入的扁平Transformer知识追踪模型

FlatFormer: A Flat Transformer Knowledge Tracing Model Based on Cognitive Bias Injection

School of Mathematical Sciences, University of Electronic Science and Technology of China(电子科技大学数学科学学院)

Xiao-li Xia, Hou-biao Li

AI总结:

FlatFormer通过引入认知偏差注入机制,实现了在保持高认知保真度的同时,以更简洁的架构和更低的计算成本提升知识追踪模型的性能。

摘要:

知识追踪(KT)模型面临一个关键的『性能-复杂度陷阱』:捕捉复杂的认知动态,如学习会话和记忆衰减通常需要深度层次架构,这会带来对实时部署而言不可接受的计算成本。为了解决这一问题,我们提出了FlatFormer,一种基于新型设计范式『信息注入过结构堆叠』的简化架构。不同于参数密集的层次模型,FlatFormer利用一个标准的扁平Transformer,结合两种轻量级注入机制:(i)一种结合可学习会话标识符与固定正弦波步嵌入的混合输入编码策略;以及(ii)一个预先计算的幂律偏差,直接整合到注意力逻辑中,以显式建模遗忘曲线。在四个大规模数据集(例如EdNet、Junyi)上的大量实验表明,FlatFormer实现了最先进的性能。例如,在EdNet数据集上,与最强的层次基线(HiTSKT)相比,其绝对AUC增加了8.3%,同时参数使用不到15%,推理速度大约快三倍。这些结果验证了高认知保真度并不需要架构复杂性。

英文摘要:

Knowledge Tracing (KT) models face a critical ``Performance-Complexity Trap'': capturing complex cognitive dynamics like learning sessions and memory decay typically requires deep hierarchical architectures, which incur prohibitive computational costs for real-time deployment. To resolve this, we propose FlatFormer, a streamlined architecture based on the novel design paradigm of ``Information Injection over Structural Stacking.'' Unlike parameter-heavy hierarchical models, FlatFormer leverages a standard flat Transformer augmented with two lightweight injection mechanisms: (i) a hybrid input encoding strategy combining learnable session identifiers with fixed sinusoidal step embeddings; and (ii) a pre-computed power-law bias integrated directly into attention logits to explicitly model the forgetting curve. Extensive experiments on four large-scale datasets (e.g., EdNet, Junyi) show that FlatFormer achieves state-of-the-art performance. For example, on the EdNet dataset, compared to the strongest hierarchical baseline (HiTSKT), its absolute AUC increased by 8.3%, while using less than 15% of parameters, and inference speed was about three times faster. These results validate that high cognitive fidelity does not necessitate architectural complexity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑