Towards Robust Knowledge Tracing Models via k-Sparse Attention
Think Academy International Education(学而思国际教育);TAL Education Group(好未来教育集团);Guangdong Institute of Smart Education(广东省智慧教育研究院);Jinan University(暨南大学);City University of Hong Kong(香港城市大学);College of Cyber Security(网络空间安全学院)
Knowledge tracing (KT) is the problem of predicting students' future performance based on their historical interaction sequences. With the advanced capability of capturing contextual long-term dependency, attention mechanism becomes one of the essential components in many deep learning based KT (DLKT) models. In spite of the impressive performance achieved by these attentional DLKT models, many of them are often vulnerable to run the risk of overfitting, especially on small-scale educational datasets. Therefore, in this paper, we propose \textsc{sparseKT}, a simple yet effective framework to improve the robustness and generalization of the attention based DLKT approaches. Specifically, we incorporate a k-selection module to only pick items with the highest attention scores. We propose two sparsification heuristics : (1) soft-thresholding sparse attention and (2) top-$K$ sparse attention. We show that our \textsc{sparseKT} is able to help attentional KT models get rid of irrelevant student interactions and have comparable predictive performance when compared to 11 state-of-the-art KT models on three publicly available real-world educational datasets. To encourage reproducible research, we make our data and code publicly available at \url{https://github.com/pykt-team/pykt-toolkit}\footnote{We merged our model to the \textsc{pyKT} benchmark at \url{https://pykt.org/}.}.
Expert-Aware Causal Tracing of Factual Recall in Sparse MoE Language Models
Center for Information and Language Processing (CIS)(信息与语言处理中心);Ubiquitous Knowledge Processing Lab (UKP)(无所不在的知识处理实验室);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)
Tracing the Thought of a Grandmaster-level Chess-Playing Transformer
Shanghai Innovation Institute, Shanghai, China(上海创新研究院);School of Computer Science, Fudan University, Shanghai, China(复旦大学计算机科学技术学院);School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院)
Central China Normal University Wollongong Joint Institute(华中师范大学伍伦贡联合研究院);Central China Normal University(华中师范大学);Faculty of Artificial Intelligence in Education, Central China Normal University(华中师范大学人工智能教育学部)
Instituto Superior Técnico & Instituto de Telecomunicações, Universidade de Lisboa, Portugal(里斯本大学理工学院及电信研究所,葡萄牙);Champalimaud Research, Lisbon, Portugal(Champalimaud研究,葡萄牙里斯本);TransPerfect, Lisbon, Portugal(TransPerfect,葡萄牙里斯本);Carnegie Mellon University, Pittsburgh, USA(卡内基梅隆大学,美国匹兹堡)
SAF3R: Dynamic Sparse Attention for Feed-Forward 3D Reconstruction Transformers
University of Pittsburgh(匹兹堡大学);University of Arizona(亚利桑那大学);Tongji University(同济大学);University of Central Florida(中佛罗里达大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)
From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classification
Unbabel Lda(Unbabel有限公司);Instituto de Telecomunicações (IT)(电信研究所(IT));Instituto Superior Técnico(高等技术学院);Instituto de Engenharia de Sistemas e Computadores (INESC-ID)(系统与计算机工程研究所(INESC-ID))
Pruning and Sparsemax Methods for Hierarchical Attention Networks
Instituto Superior Técnico, University of Lisbon(里斯本大学高等技术学院);INESC-ID
本文介绍并评价了两种新颖的层次注意力网络模型[Yang et al.,- i)分层修剪注意力网络,其从分类过程中去除不相关的单词和句子,以减少文档分类准确性中的潜在噪声,以及ii)分层Sparsemax注意力网络,其用Sparsemax代替注意力机制中使用的Softmax函数[Martins和Astudillo,2016],能够更好地处理重要性分布,其中许多单词或句子具有非常低的概率。我们对IMDB Review的情感分析数据集的实证评估显示,这两种方法都能够匹配当前最先进的方法所获得的结果(但是没有任何显着的好处)。我们所有的源代码都可以在https://www.example.com上找到。github.com/jmribeiro/dsl-project
Kernel Deformed Exponential Families for Sparse Continuous Attention
Georgia Institute of Technology(佐治亚理工学院);University of Michigan(密歇根大学)
注意力机制采用关于概率权重的数据表示的期望。这将创建侧重于重要功能的汇总统计信息。最近,(Martins et al. 2020,2021)提出了连续注意力机制,重点关注指数和变形指数家族的单峰注意力密度:后者具有稀疏支持。(Farinhas et al. 2021)将其扩展到使用高斯混合注意力密度,这是一个具有密集支持的灵活类。在本文中,我们扩展到两个一般的灵活类:核指数家庭和我们的新的稀疏对应核变形指数家庭。理论上,我们证明了核指数和变形指数族的新的存在性结果,并且变形的情况下具有类似的逼近能力的核指数族。实验表明,核变形指数族可以处理数据域的多个紧凑区域。
Efficient Content-Based Sparse Attention with Routing Transformers
Google Research(谷歌研究院)
自注意最近已被广泛的序列建模问题。尽管它的有效性,自我注意遭受二次计算和存储器的要求相对于序列长度。降低这种复杂性的成功方法集中在关注本地滑动窗口或独立于内容的一小部分位置。我们的工作提出了学习动态稀疏注意模式,避免分配计算和内存参加内容无关的查询的兴趣。这项工作建立在两条线的研究:它结合了先前的工作基于内容的稀疏注意力的建模灵活性,从本地的,时间稀疏注意力的方法的效率收益。我们的模型,路由Transformer,赋予自我注意力的稀疏路由模块的基础上在线k-均值,同时降低整体的复杂性注意$O\left(n^{1.5}d\right)$从$O\left(n^2d\right)$的序列长度$n$和隐藏的维度$d$。我们表明,我们的模型在Wikitext-103上的语言建模(15.8 vs 18.3困惑度)以及ImageNet-64上的图像生成(3.43 vs 3.44 bits/dim)方面优于可比较的稀疏注意模型,同时使用较少的自我注意层。此外,我们在新发布的PG-19数据集上设置了一个新的最新技术水平,使用在长度为8192的序列上训练的22层Routing Transformer模型获得了33.2的测试困惑度。
How a Bilingual LM Becomes Bilingual: Tracing Internal Representations with Sparse Autoencoders
MBZUAI(穆萨大学人工智能研究所);SOKENDAI(神户大学);NINJAL(日本国家研究所);Tohoku University(东北大学);RIKEN(日本研究机构);NII LLMC(日本信息处理学会大语言模型中心);University of Tokyo(东京大学);Nagoya Institute of Technology(名古屋技术大学)