プリンキピア

第11章注意機構とTransformer

11.6.5. Exercises11.6.5 練習問題

  1. Suppose that we design a deep architecture to represent a sequence by stacking self-attention layers with positional encoding. What could the possible issues be?
    英語のヒント
    位置符号化をもつ自己注意の層を積み重ねて系列を表す、深い構造を設計するとする。どんな問題が起こりうるか。
  2. Can you design a learnable positional encoding method?
    英語のヒント
    学習できる位置符号化の方法を設計できるか。
  3. Can we assign different learned embeddings according to different offsets between queries and keys that are compared in self-attention? Hint: you may refer to relative position embeddings (Huang et al., 2018, Shaw et al., 2018).
    英語のヒント
    自己注意で比べられるクエリとキーのあいだのずれに応じて、異なる学習した埋め込みを割り当てられるか。ヒント:相対位置埋め込み(Huang et al., 2018、Shaw et al., 2018)を参照するとよい。