arXiv reaDer
ピクセルを使用した言語モデリング
Language Modelling with Pixels
言語モデルは、有限の入力セットに対して定義されます。これにより、サポートされる言語の数をスケーリングしようとすると、語彙のボトルネックが発生します。このボトルネックに取り組むと、埋め込みマトリックスで表現できるものと出力層での計算上の問題との間でトレードオフが発生します。このホワイトペーパーでは、これらの問題のどちらにも悩まされていない、ピクセルベースの言語エンコーダであるPIXELを紹介します。 PIXELは、テキストを画像としてレンダリングする事前トレーニング済みの言語モデルであり、正書法の類似性またはピクセルの同時アクティブ化に基づいて、言語間で表現を転送することができます。 PIXELは、トークン全体の分布を予測するのではなく、マスクされたパッチのピクセルを再構築するようにトレーニングされています。 86MパラメーターPIXELモデルをBERTと同じ英語データで事前トレーニングし、さまざまな非ラテン文字を含む、類型的に多様な言語での構文および意味タスクを評価します。事前トレーニングデータにないスクリプトの構文および意味処理タスクでは、PIXELがBERTを大幅に上回っていますが、ラテン文字を使用する場合、PIXELはBERTよりもわずかに弱いことがわかります。さらに、PIXELはBERTよりもノイズの多いテキスト入力に対して堅牢であることがわかり、ピクセルを使用したモデリング言語の利点がさらに確認されました。
Language models are defined over a finite set of inputs, which creates a vocabulary bottleneck when we attempt to scale the number of supported languages. Tackling this bottleneck results in a trade-off between what can be represented in the embedding matrix and computational issues in the output layer. This paper introduces PIXEL, the Pixel-based Encoder of Language, which suffers from neither of these issues. PIXEL is a pretrained language model that renders text as images, making it possible to transfer representations across languages based on orthographic similarity or the co-activation of pixels. PIXEL is trained to reconstruct the pixels of masked patches, instead of predicting a distribution over tokens. We pretrain the 86M parameter PIXEL model on the same English data as BERT and evaluate on syntactic and semantic tasks in typologically diverse languages, including various non-Latin scripts. We find that PIXEL substantially outperforms BERT on syntactic and semantic processing tasks on scripts that are not found in the pretraining data, but PIXEL is slightly weaker than BERT when working with Latin scripts. Furthermore, we find that PIXEL is more robust to noisy text inputs than BERT, further confirming the benefits of modelling language with pixels.
updated: Thu Jul 14 2022 15:20:36 GMT+0000 (UTC)
published: Thu Jul 14 2022 15:20:36 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト