− 𝑥𝑥𝑛𝑛 𝑤𝑤𝑚𝑚 , log 𝑦𝑦𝑚𝑚 − 𝑦𝑦𝑛𝑛 ℎ𝑚𝑚 , log 𝑤𝑤𝑛𝑛 𝑤𝑤𝑚𝑚 , log ℎ𝑛𝑛 ℎ𝑚𝑚 ) 𝝎𝝎𝒎𝒎𝒎𝒎 = 𝝎𝝎𝑮𝑮 𝒎𝒎𝒎𝒎exp(𝝎𝝎𝑨𝑨 𝒎𝒎𝒎𝒎) ∑𝑙𝑙=1 𝑁𝑁 𝝎𝝎𝑮𝑮 𝒎𝒎𝒎𝒎exp(𝝎𝝎𝑨𝑨 𝒎𝒎𝒎𝒎) • Box multi-head attention(Box MHA) 𝒉𝒉𝑚𝑚𝑚 𝒉𝒉𝑠𝑠𝑠𝑠 𝒉𝒉𝑠𝑠𝑠𝑠 𝒉𝒉𝑠𝑠𝑠𝑠 各Attention headの出力𝒉𝒉𝒔𝒔𝒔𝒔 を結合 𝒉𝒉𝒎𝒎𝒎𝒎 𝝎𝝎𝒎𝒎𝒎𝒎 𝝎𝝎𝒎𝒎𝒎𝒎 𝝎𝝎𝒎𝒎𝒎𝒎 ℎ𝑚𝑚 𝑤𝑤𝑛𝑛 領域m 領域n