2026-02-17 2026-02-17 随手记 1 分钟读完 (大约113个字) 0次访问OneRec Encoder 编码器输入 #card z(1)=[hu;hs;hp;hl]+epos\mathbf{z}^{(1)}=\left[\mathbf{h}_u ; \mathbf{h}_s ; \mathbf{h}_p ; \mathbf{h}_l\right]+\mathbf{e}_{\mathrm{pos}}z(1)=[hu;hs;hp;hl]+epos e_pos 代表可学习的 positional embedding 编码器 integrated representation 过程 #card L enc 层 fully visible self-attention + feed-forward networks with RMS normalization 最后生成 zenc=z(Lenc+1)∈R(1+Ls+Lp+Nq)×dmodel \mathbf{z}_{\mathrm{enc}}=\mathbf{z}^{\left(L_{e n c}+1\right)} \in \mathbb{R}^{\left(1+L_s+L_p+N_q\right) \times d_{\text {model }}}zenc=z(Lenc+1)∈R(1+Ls+Lp+Nq)×dmodel 多尺度用户行为表示 网络回响OneRec Encoderhttps://blog.xiang578.com/post/logseq/87018.html作者Ryen Xiang发布于2026-02-17更新于2026-02-17许可协议