当前位置:网站首页>SAKT方法部分介绍
SAKT方法部分介绍
2022-07-07 12:12:00 【多尝试多记录多积累】
网络架构和嵌入解释:
SAKT网络: 在每个时间戳处,仅对前面的每个元素估计注意权重。键、值和查询是从如下所示的嵌入层中提取的。当第j个元素为查询元素且第i个元素为关键元素时,注意权重为 a i j a_{ij} aij。
嵌入层: 嵌入学生正在尝试的当前练习和他过去的交互。在每次标记 t + 1 t+1 t+1 时,使用练习嵌入将当前问题 e t + 1 e_{t+1} et+1 嵌入到查询空间中,使用交互嵌入将过去交互的元素 x t x_t xt 嵌入到键和值空间中。
方法详细介绍:
模型目的: 根据学生1到 t 时刻 的习题作答情况,(即交互序列 X = x 1 , x 2 , . . . , x t X = x_1, x_2, ..., x_t X=x1,x2,...,xt,) 预测在 t + 1 t+1 t+1 时刻,习题 e t + 1 e_{t+1} et+1的回答情况(即预测出真实情况,正确的概率)。
交互元组: x t = ( e t , r t ) x_t = ( e_t, r_t) xt=(et,rt) : t t t 时刻习题 e t e_t et 的作答情况 r t r_t rt构成的。 x t x_t xt编号化时,用两者来表示,: y t = e t + r t × E y_t = e_t + r_t × E yt=et+rt×E , E E E是题目数量,可以看出交互编号,回答错误 时和题目编号同 y t = e t y_t = e_t yt=et,回答正确时,编号加上题目总数 y t = e t + E y_t = e_t + E yt=et+E。
嵌入层描述:
交互序列需要划分处理,保证所以的交互序列的长度一致,多则截断,短则填充。
因此交互序列由 y = ( y 1 , y 2 , . . . , y t ) y = (y_1, y_2, ...,y_t) y=(y1,y2,...,yt)变为 s = ( s 1 , s 2 , . . . , s n ) s = (s_1,s_2,...,s_n) s=(s1,s2,...,sn)。
训练一个交互嵌入矩阵 : M ∈ R 2 E × d M ∈ R^{2E×d} M∈R2E×d,其中 d 是潜在维度,用于获取交互嵌入。 s i s_i si的嵌入表示为 M s i M_{s_i} Msi
训练一个练习嵌入矩阵: E ∈ R E × d E ∈ R^{E×d} E∈RE×d, 用户获取练习嵌入。 e i e_i ei的嵌入表示为 E e i E_{e_i} Eei
位置编码:
为了对序列顺序进行编码,引入参数 P ∈ R n × d P ∈ R^{n×d} P∈Rn×d,加到交互嵌入中,形成新的编码。 P i P_i Pi 加入到第 i i i 个交互嵌入向量中,形成含有位置编码的交互嵌入向量。
自注意力层
Q: 习题嵌入
K:作答交互嵌入
V :作答交互嵌入
利用缩放点积的注意力机制
当前练习和之前的每一次作答交互 都有关系,计算出注意力权重。
多头
捕获不同子空间的信息。
因果关系
因为序列性的缘故,不能够知道被预测题目的信息,所以使用因果关系层掩盖从未来交互中学习到的权重。
前馈层
为了在模型中加入非线性并考虑不同潜在维度之间的相互作用,我们使用了前馈网络。
残差连接
利用低层信息
预测层
得到预测的概率
网络训练
交叉熵
边栏推荐
- Excuse me, I have three partitions in Kafka, and the flinksql task has written the join operation. How can I give the join operation alone
- Dry goods | summarize the linkage use of those vulnerability tools
- Help tenants
- Oracle advanced (V) schema solution
- 供应链供需预估-[时间序列]
- Supply chain supply and demand estimation - [time series]
- Realize the IP address home display function and number home query
- 【网络安全】sql注入语法汇总
- 請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
- TPG x AIDU | AI leading talent recruitment plan in progress!
猜你喜欢
Battle Atlas: 12 scenarios detailing the requirements for container safety construction
Realize the IP address home display function and number home query
Redis只能做缓存?太out了!
AI人才培育新思路,这场直播有你关心的
Wired network IP address of VMware shared host
高等數學---第八章多元函數微分學1
Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
Navicat run SQL file import data incomplete or import failed
Details of redis core data structure & new features of redis 6
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
随机推荐
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
TPG x AIDU | AI leading talent recruitment plan in progress!
Flink | multi stream conversion
《厌女:日本的女性嫌恶》摘录
Cargo placement problem
Attribute keywords aliases, calculated, cardinality, ClientName
作战图鉴:12大场景详述容器安全建设要求
2022-7-6 Leetcode 977.有序数组的平方
2022-7-7 Leetcode 34. Find the first and last positions of elements in a sorted array
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(二)
请问,PTS对数据库压测有好方案么?
.net core 关于redis的pipeline以及事务
call undefined function openssl_cipher_iv_length
Excusez - moi, l'exécution a été réussie lors de l'utilisation des données de puits SQL Flink à Kafka, mais il n'y a pas de nombre dans Kafka
Redis can only cache? Too out!
Flask session forged hctf admin
[daily training] 648 Word replacement
云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
Excuse me, I have three partitions in Kafka, and the flinksql task has written the join operation. How can I give the join operation alone