| Component | Node layers | Weight edges | Parameter-free edges |
|---|
| (1) Embedding | VV , R0 | \mathcal{E}_{\mathrel{\vbox{\hbox{\hbox to4.52pt{\vbox to3.79pt{\pgfpicture\makeatletter\hbox{\hskip 0.15pt\lower-0.63551pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.3pt} \lx@inpgf@ignorespaces{ {}{{}}{} {\lx@inpgf@ignorespaces}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 5.48 3.27}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{0.5126}{-0.5126}{0.85863}{4.09221pt}{2.44312pt}\lxSVG@begingroup@{transform=matrix(0.85863 0.5126 -0.5126 0.85863 5.66 3.38)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces {{\lx@inpgf@ignorespaces}{}}{{}}{} {{\lx@inpgf@ignorespaces}{}}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 3.49 L 5.48 0.21}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{-0.5126}{0.5126}{0.85863}{4.09221pt}{0.07689pt}\lxSVG@begingroup@{transform=matrix(0.85863 -0.5126 0.5126 0.85863 5.66 0.11)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces } \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}}}}}(\mathcal{V}_{V},\mathcal{R}^{0};\mathbf{E}) | – |
| (2) Pre-attn. norm | Vγ,βa,ℓ | \mathcal{E}_{\mathrel{\vbox{\hbox{\hbox to4.52pt{\vbox to3.79pt{\pgfpicture\makeatletter\hbox{\hskip 0.15pt\lower-0.63551pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.3pt} \lx@inpgf@ignorespaces{ {}{{}}{} {\lx@inpgf@ignorespaces}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 5.48 3.27}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{0.5126}{-0.5126}{0.85863}{4.09221pt}{2.44312pt}\lxSVG@begingroup@{transform=matrix(0.85863 0.5126 -0.5126 0.85863 5.66 3.38)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces {{\lx@inpgf@ignorespaces}{}}{{}}{} {{\lx@inpgf@ignorespaces}{}}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 3.49 L 5.48 0.21}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{-0.5126}{0.5126}{0.85863}{4.09221pt}{0.07689pt}\lxSVG@begingroup@{transform=matrix(0.85863 -0.5126 0.5126 0.85863 5.66 0.11)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces } \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}}}}}(\mathcal{V}_{\gamma,\beta}^{a,\ell},\mathcal{R}^{2\ell-2};[\bm{\gamma}^{a,\ell};\bm{\beta}^{a,\ell}]) | – |
| (3) Attention | Vdh,ℓ , uh,ℓ , R2ℓ−1 | \mathcal{E}_{\mathrel{\vbox{\hbox{\hbox to4.52pt{\vbox to3.79pt{\pgfpicture\makeatletter\hbox{\hskip 0.15pt\lower-0.63551pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.3pt} \lx@inpgf@ignorespaces{ {}{{}}{} {\lx@inpgf@ignorespaces}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 5.48 3.27}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{0.5126}{-0.5126}{0.85863}{4.09221pt}{2.44312pt}\lxSVG@begingroup@{transform=matrix(0.85863 0.5126 -0.5126 0.85863 5.66 3.38)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces {{\lx@inpgf@ignorespaces}{}}{{}}{} {{\lx@inpgf@ignorespaces}{}}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 3.49 L 5.48 0.21}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{-0.5126}{0.5126}{0.85863}{4.09221pt}{0.07689pt}\lxSVG@begingroup@{transform=matrix(0.85863 -0.5126 0.5126 0.85863 5.66 0.11)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces } \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}}}}}(\mathcal{R}^{2\ell-2},\mathcal{V}_{d}^{h,\ell};\mathbf{M}^{h,\ell}) | \mathcal{E}_{\mathrel{\vbox{\hbox{\scalebox{0.75}{\rightrightarrows}}}}}(\mathcal{R}^{2\ell-2},\mathcal{V}_{d}^{h,\ell}) |
| | | \mathcal{E}_{\mathrel{\vbox{\hbox{\hbox to4.52pt{\vbox to3.79pt{\pgfpicture\makeatletter\hbox{\hskip 0.15pt\lower-0.63551pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.3pt} \lx@inpgf@ignorespaces{ {}{{}}{} {\lx@inpgf@ignorespaces}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 5.48 3.27}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{0.5126}{-0.5126}{0.85863}{4.09221pt}{2.44312pt}\lxSVG@begingroup@{transform=matrix(0.85863 0.5126 -0.5126 0.85863 5.66 3.38)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces {{\lx@inpgf@ignorespaces}{}}{{}}{} {{\lx@inpgf@ignorespaces}{}}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 3.49 L 5.48 0.21}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{-0.5126}{0.5126}{0.85863}{4.09221pt}{0.07689pt}\lxSVG@begingroup@{transform=matrix(0.85863 -0.5126 0.5126 0.85863 5.66 0.11)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces } \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}}}}}(\mathcal{V}_{d}^{h,\ell},\mathcal{R}^{2\ell-1};\mathbf{N}^{h,\ell}) | \mathcal{E}_{\mathrel{\vbox{\hbox{\scalebox{0.75}{\rightrightarrows}}}}}(\mathcal{R}^{2\ell-2},\mathcal{R}^{2\ell-1}) |
| | | | {(uh,ℓ,xih,ℓ):i∈[d]} |
| (4) Pre-MLP norm | Vγ,βb,ℓ | \mathcal{E}_{\mathrel{\vbox{\hbox{\hbox to4.52pt{\vbox to3.79pt{\pgfpicture\makeatletter\hbox{\hskip 0.15pt\lower-0.63551pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#000000} \lxSVG@begingroup@{fill=#000000} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\lxSVG@begingroup@{_scopebegin=1} \lxSVG@closescope \hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.3pt} \lx@inpgf@ignorespaces{ {}{{}}{} {\lx@inpgf@ignorespaces}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 0 L 5.48 3.27}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{0.5126}{-0.5126}{0.85863}{4.09221pt}{2.44312pt}\lxSVG@begingroup@{transform=matrix(0.85863 0.5126 -0.5126 0.85863 5.66 3.38)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces {{\lx@inpgf@ignorespaces}{}}{{}}{} {{\lx@inpgf@ignorespaces}{}}{}{}{}{}{}{{}}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 0 3.49 L 5.48 0.21}{fill:none} {{}{{}}{}{}{{}}{{{\lx@inpgf@ignorespaces}}{{{\lx@inpgf@ignorespaces}}{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@transformcm{0.85863}{-0.5126}{0.5126}{0.85863}{4.09221pt}{0.07689pt}\lxSVG@begingroup@{transform=matrix(0.85863 -0.5126 0.5126 0.85863 5.66 0.11)} \lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke-dasharray=none,stroke-dashoffset=0.0pt} \lxSVG@begingroup@{stroke-linecap=round} \lxSVG@begingroup@{stroke-linejoin=round} \lxSVG@drawpath@unclipped{M -1.3 1.6 C -1.07 0.64 -0.54 0.19 0 0 C -0.54 -0.19 -1.07 -0.64 -1.3 -1.6}{fill:none} \lxSVG@closescope \lxSVG@closescope }}{{\lx@inpgf@ignorespaces}}}}\lx@inpgf@ignorespaces } \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}}}}}(\mathcal{V}_{\gamma,\beta}^{b,\ell},\mathcal{R}^{2\ell-1};[\bm{\gamma}^{b,\ell};\bm{\beta}^{b,\ell}]) | – |