← notes

Lifelong User Action Sequence Modeling @Pinterest

,

Ranking Model Architecture

LCE=∑h∈H{−wh[yhlogf(x)h+(1−yh)log(1−f(x)h)]}L_{CE} = \sum_{h \in H} \{-w_h [y_h \text{log} f(x)_h + (1 - y_h) \text{log}(1 - f(x)_h)]\}

TransAct V2 Architecture

Sall=NN(SLL,c)⊕SRT[:r]⊕NN(SRT[r:],c)⊕NN(Simp,c)S_{\text{all}} = \text{NN}(S_{LL}, c) \oplus S_{RT}[:r] \oplus \text{NN}(S_{RT}[r:], c) \oplus \text{NN}(S_{imp}, c) F=CONCAT(EPinSage(Sall),ec)+Eact+Esurf+Epos∈R∣S∣×dF = \text{CONCAT}(E_{PinSage}(S_{all}), e_c) + E_{act} + E_{surf} + E_{pos} \in R^{|S| \times d}

Serving

Experiment and Results