時価総額: $2.6868T 6.55%
ボリューム(24時間): $178.1584B 29.75%
  • 時価総額: $2.6868T 6.55%
  • ボリューム(24時間): $178.1584B 29.75%
  • 恐怖と貪欲の指数:
  • 時価総額: $2.6868T 6.55%
暗号
トピック
暗号化
ニュース
暗号造園
動画
トップニュース
暗号
トピック
暗号化
ニュース
暗号造園
動画
bitcoin
bitcoin

$77194.246092 USD

2.57%

ethereum
ethereum

$2429.678583 USD

2.78%

tether
tether

$0.999864 USD

0.03%

xrp
xrp

$1.526574 USD

16.27%

bnb
bnb

$695.975873 USD

4.67%

usd-coin
usd-coin

$1.000023 USD

0.01%

solana
solana

$93.746985 USD

3.27%

tron
tron

$0.345236 USD

2.12%

hyperliquid
hyperliquid

$78.700141 USD

7.47%

dogecoin
dogecoin

$0.091220 USD

9.88%

zcash
zcash

$787.730556 USD

31.26%

chainlink
chainlink

$11.774181 USD

7.30%

unus-sed-leo
unus-sed-leo

$9.397771 USD

1.34%

cardano
cardano

$0.230983 USD

10.27%

monero
monero

$429.536088 USD

3.32%

暗号通貨のニュース記事

LLM の弱点が明らかに:「グリッチ トークン」がモデルの精度を損なう

2024/05/14 10:27

大規模言語モデル (LLM) のトレーニングにおける重要なステップであるトークン化では、トークナイザーとモデル トレーニング データセット間の不整合によって引き起こされる「グリッチ トークン」が発生する可能性があります。この問題に対処するために、研究者らは、埋め込み重み分析を使用してトレーニングが不十分なトークンを検出する自動化アプローチを提案しています。このメソッドは、埋め込み行列の差異を分析することで、さらなるトレーニングが必要なトークンを特定し、自然言語処理アプリケーションにおける LLM の精度と堅牢性を大幅に向上させます。

LLM の弱点が明らかに:「グリッチ トークン」がモデルの精度を損なう

Under-Trained Tokens: A Hidden Vulnerability in Large Language Models

トレーニングが不十分なトークン: 大規模言語モデルの隠れた脆弱性

Introduction

導入

Tokenization, the process of decomposing text into manageable units known as tokens, serves as the foundation for training and operating large language models (LLMs). While effective tokenization yields significant performance enhancements, it becomes problematic when tokens within the model's vocabulary are underrepresented or completely absent in the training data, giving rise to the phenomenon of 'glitch tokens.' These tokens, upon encountering new input data, can destabilize the model, leading to unpredictable and erroneous outputs.

トークン化は、テキストをトークンと呼ばれる管理可能な単位に分解するプロセスであり、大規模言語モデル (LLM) のトレーニングと運用の基盤として機能します。効果的なトークン化によりパフォーマンスが大幅に向上しますが、モデルの語彙内のトークンがトレーニング データ内で過小評価されたり、まったく存在しなかったりすると問題が発生し、「グリッチ トークン」という現象が発生します。これらのトークンは、新しい入力データに遭遇するとモデルを不安定にし、予測不可能で誤った出力を引き起こす可能性があります。

Discrepancies in Tokenization Training

トークン化トレーニングにおける不一致

A fundamental issue with LLMs lies in the disparity between tokenizer training and model training procedures. Tokenizers are often trained separately using distinct datasets, which may differ substantially from the data utilized for training the model. This misalignment can result in some vocabulary tokens being under-trained, rendering them susceptible to the glitch token issue. The infamous "_SolidGoldMagikarp" token epitomizes this problem, as it can trigger unwanted model behaviors, such as hallucinations and nonsensical outputs.

LLM の根本的な問題は、トークナイザーのトレーニング手順とモデルのトレーニング手順の間の相違にあります。トークナイザーは、モデルのトレーニングに使用されるデータとは大幅に異なる可能性がある別個のデータセットを使用して個別にトレーニングされることがよくあります。この不整合により、一部の語彙トークンのトレーニングが不十分になり、グリッチ トークンの問題の影響を受けやすくなる可能性があります。悪名高い「_SolidGoldMagikarp」トークンは、幻覚や意味不明な出力など、望ましくないモデルの動作を引き起こす可能性があるため、この問題の典型です。

Conventional Glitch Token Identification Methods

従来のグリッチトークンの識別方法

Traditionally, identifying under-trained tokens has involved manual inspection of the tokenizer's behavior, assessing how tokens are encoded and decoded, or meticulously analyzing their frequency within the training data. However, these methods lack scalability, proving ineffective for the increasingly vast and complex LLMs being developed today.

従来、トレーニングが不十分なトークンを特定するには、トークナイザーの動作を手動で検査したり、トークンがどのようにエンコードおよびデコードされるかを評価したり、トレーニング データ内のトークンの頻度を注意深く分析したりする必要がありました。ただし、これらの方法にはスケーラビリティが欠けており、現在開発されているますます大規模で複雑な LLM に対しては効果がないことがわかっています。

A Novel Approach: Leveraging Embedding Weights

斬新なアプローチ: 埋め込み重みの活用

Researchers from Cohere have devised a groundbreaking approach that leverages the model's embedding weights to automate and scale the detection of under-trained tokens. By meticulously analyzing these weights, the researchers have developed a method to pinpoint anomalies indicative of insufficient training. This method scrutinizes the embedding matrix of a model, identifying tokens whose embedding weights deviate significantly from those of well-represented tokens. It provides a systematic approach to detecting glitch tokens by calculating the variance and distribution of embedding weights and comparing them against a normative model of adequately trained tokens.

Cohere の研究者は、モデルの埋め込み重みを利用して、トレーニングが不十分なトークンの検出を自動化および拡張する画期的なアプローチを考案しました。研究者らは、これらの重みを注意深く分析することで、トレーニングが不十分であることを示す異常を正確に特定する方法を開発しました。この方法では、モデルの埋め込み行列を精査し、埋め込み重みが適切に表現されたトークンの埋め込み重みから大きく逸脱しているトークンを特定します。埋め込み重みの分散と分布を計算し、それらを適切にトレーニングされたトークンの標準モデルと比較することにより、グリッチ トークンを検出する体系的なアプローチを提供します。

Experimental Validation

実験的検証

The study's efficacy was demonstrated by applying the method to several prominent models, including variants of Google's BERT and OpenAI's GPT series. The analysis revealed a substantial percentage of the tokenizer's vocabulary, reaching up to 10% in some instances, as under-trained. These tokens were frequently specialized or infrequently used words, which exhibited the most significant discrepancies in embedding weight patterns.

この研究の有効性は、Google の BERT や OpenAI の GPT シリーズの亜種を含むいくつかの著名なモデルにこの方法を適用することで実証されました。分析の結果、トークナイザーの語彙のかなりの割合 (場合によっては最大 10% に達する) がトレーニング不足であることが明らかになりました。これらのトークンは頻繁に特殊化された単語、またはあまり使用されない単語であり、埋め込み重みパターンに最も大きな矛盾が見られました。

Implications for LLM Development and Maintenance

LLM の開発とメンテナンスへの影響

This research holds pivotal implications for the development and maintenance of LLMs. Automating the detection and remediation of under-trained tokens empowers developers to enhance the accuracy and robustness of language models. This advancement is critical as LLMs find increasing application in a wide range of tasks, from automated writing assistants to sophisticated conversational agents.

この研究は、LLM の開発と維持にとって極めて重要な意味を持っています。トレーニングが不十分なトークンの検出と修復を自動化することで、開発者は言語モデルの精度と堅牢性を強化できます。 LLM は自動筆記アシスタントから洗練された会話エージェントまで、幅広いタスクでの応用が増えているため、この進歩は非常に重要です。

Conclusion

結論

This research uncovers a critical vulnerability in LLM training and presents a scalable solution to combat this issue. Adopting automated methods for detecting under-trained tokens enables more robust training processes, ensuring that all tokens within a model's vocabulary are adequately prepared for real-world scenarios. By rectifying this vulnerability, this research significantly improves the efficacy and reliability of language models, paving the way for more trustworthy and effective natural language processing tools.

この研究では、LLM トレーニングの重大な脆弱性を明らかにし、この問題に対処するためのスケーラブルなソリューションを提示します。トレーニングが不十分なトークンを検出するための自動化された方法を採用すると、より堅牢なトレーニング プロセスが可能になり、モデルの語彙内のすべてのトークンが現実世界のシナリオに適切に準備されることが保証されます。この脆弱性を修正することで、この研究は言語モデルの有効性と信頼性を大幅に向上させ、より信頼性が高く効果的な自然言語処理ツールへの道を開きます。

免責事項:info@kdj.com

提供される情報は取引に関するアドバイスではありません。 kdj.com は、この記事で提供される情報に基づいて行われた投資に対して一切の責任を負いません。暗号通貨は変動性が高いため、十分な調査を行った上で慎重に投資することを強くお勧めします。

このウェブサイトで使用されているコンテンツが著作権を侵害していると思われる場合は、直ちに当社 (info@kdj.com) までご連絡ください。速やかに削除させていただきます。

2026年08月23日 に掲載されたその他の記事