arXiv論文メモ
新着一覧
cs.CL · 査読状況未確認

文の意味が同じかは埋め込みの距離だけで決まらない

Computation Over Geometry: Meaning Identity Is Computed, Not Shipped in the Embeddings

Jiaqi Deng

この論文をやさしく読む

ひとことで言うと

二つの文が同じ意味かは、別々に作った埋め込みの距離だけでは十分に分からず、二文を同時に処理すると高精度で判定できる。

何に役立つ?

検索やRAGで、言い換え文の同一性を判定するとき、単純なベクトル類似度だけに頼る設計を評価する材料になる。

この研究の面白いところ

同じ凍結モデルでも、二文を別々に符号化すると低いAUCが、同じ順伝播で処理すると0.90~0.96へ上がるという比較。

どこまで分かった?

中心的な数値は語の重なりをそろえたPAWS-XやPAWSなどの評価に基づく。別々に符号化するモデルを追加学習すればPAWS上では改善するが、転移とSTS-Bに性能低下がある。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

言い換えた二つの文が同じ意味を持つかという「意味の同一性」は、検索や検索拡張生成(RAG)では、別々に符号化された文ベクトルの幾何的な性質として扱われる。著者らは、追加学習しない既存のエンコーダーと言語モデルではそうなっておらず、二つの文を一つの順伝播で処理するときに同一性が計算され、提供される埋め込みの幾何にはその性質が備わっていないと示す。 語の重なりをそろえたPAWS-Xでは、専用エンコーダーのBGE、E5、GTE、MiniLM、E5-Mistral-7Bによる英語の一致判定AUCは0.55~0.65にとどまり、密な表現での最大値は0.70だった。Llama 3、Mistral、Qwenで別々に符号化した最終トークンの状態も改善せず、二つのベクトルを後から結合した場合も偶然程度に近い。同じ判定を二文同時の順伝播で行うと、15億~320億パラメータのモデルでAUCは0.90~0.96となった。相手の文を入れ替えるとこの性能は崩れ、性質は中間層に現れ、30億パラメータ程度で約0.94に達する。GPT-2 XLではより弱い0.76だった。 この差はLlama型以外の因果言語モデル、双方向エンコーダーのDeBERTaとRoBERTa、エンコーダー・デコーダーのFlan-T5、T5、BARTでも見られた。固定または線形の読み出し器では、凍結した独立の符号化から同一性を引き出せず、非線形のペア読み出し器はPAWSの学習用49,000組すべてを使った場合に限り、AUC 0.68~0.87まで一部を回復した。既存の再順位付けモデルではBGE-reranker-largeが0.94だった一方、MS-MARCOとJinaは0.55~0.64にとどまった。独立に学習されたモデル群も同じ関係を計算し、15億パラメータの二文同時読み出し器はラベルのない教師スコアからそれを蒸留できたが、教師モデルが別々に出すベクトルの線形関数では再現できなかった。二つの文を別々に符号化するモデルをPAWSに追加学習すると0.87~0.93に達するが、転移性能とSTS-Bの性能は低下した。コサイン類似度が比べるのは表現の近さであり、意味の同一性は各文ベクトル固有の性質ではなく、計算される演算だと結論づける。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-23(UTC)
最新改訂
2026-09-23 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Meaning identity (whether two sentences say the same thing after wording changes) is treated in retrieval and RAG as a geometric fact about independently encoded sentence vectors. We show that, for frozen off-the-shelf encoders and language models, it is not: identity is computed when both sentences share one forward pass, and is not a property of the embedding geometry those systems ship. On overlap-matched PAWS-X, purpose-built encoders (BGE, E5, GTE, MiniLM, E5-Mistral-7B) reach English confirm AUC only 0.55-0.65 (dense peak 0.70). Independently encoded last-token states of Llama 3, Mistral, and Qwen do no better; late fusion of the two vectors stays near chance. The same probe on a joint forward pass reaches 0.90-0.96 from 1.5B to 32B, collapses under partner shuffle, is mid-depth, saturates near 0.94 by 3B, and appears more weakly in GPT-2 XL (0.76). The gap holds beyond Llama-style models on other causal LMs, bidirectional encoders (DeBERTa, RoBERTa), and encoder-decoders (Flan-T5, T5, BART). Fixed or linear readers over frozen independent encodings never unlock identity; nonlinear pair readers recover part of it only on the full 49k-pair PAWS train split (0.68-0.87). Off-the-shelf rerankers split: BGE-reranker-large reaches 0.94, while MS-MARCO and Jina stay at 0.55-0.64. Independently trained families compute the same relation and a 1.5B joint reader can distill it from unlabelled teacher scores, while no linear function of the teachers own independent vectors can. Bi-encoders can be fine-tuned to fit PAWS (0.87-0.93), but transfer and STS-B suffer. Cosine compares wording neighbourhoods; identity is a cheap computed operator, not a property of either sentence vector.

著者のコメント

12 pages, 2 figures. Code to be released

arXiv ID: 2609.28290 / 要約の誤りについて