コード言語モデルに普遍的な中心言語はあるか
Rethinking Pivot Programming Languages in Code Language Models
この論文をやさしく読む
ひとことで言うと
コードAIの内部でPythonなどが中心にあるのかを、言語間の距離や英語との対応を分けて調べています。
何に役立つ?
多言語コードモデルの表現を分析したり、言語間で情報を移す方法を評価したりする際の材料です。
この研究の面白いところ
表現の方向の偏りとコードの長さを制御すると、何を何へ移すかで有利な言語が変わると示しています。
どこまで分かった?
対象は3モデルと競技プログラミングデータです。Pythonが常に最良、または不要という結論ではなく、英語との親和性という解釈が支持されています。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
多言語のコード言語モデルはプログラミング言語(PL)をまたいで技能を移すが、特定の言語が特別な中継位置にあるかは議論が続いている。幾何学的な解析はC系の言語やGoを示す一方、動作上の証拠はPythonを重視する。従来のコサイン類似度に基づく解析を損なう2つの交絡、表現の異方性と言語間の長さの違いを制御し、この問いを再検討する。 多言語の競技プログラミングデータに対する3つのコードモデルで、言語の組同士の幾何、言語と英語の対応、候補言語の表現空間を中継する検索、という3つの見方から言語間の組織化を調べる。結果は関係の種類によって異なる。コード同士の幾何には構造化された言語の領域が見られるが、普遍的な中心はない。コードと英語の対応では高水準のスクリプト言語が有利で、中継検索ではコードからコードへの移転と、英語からコードへの移転で、有利な中間空間が異なる。これらの知見は、Pythonの特別な役割を、普遍的な幾何学上の中心性より、英語との親和性として理解するほうが適切だと示唆する。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-19(UTC)
- 最新改訂
- 2026-09-19 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-19 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
Multilingual code language models transfer skills across programming languages (PLs), but whether any PL occupies a privileged pivot position remains contested: geometric analyses point to C-family languages and Go, while behavioral evidence highlights Python. We revisit this question under controls for representational anisotropy and length variation across PLs, two confounds that compromise prior cosine-based analyses. Across three code models on multilingual competitive-programming data, we study three views of cross-PL organization: pairwise PL geometry, PL-English alignment, and pivoted retrieval through candidate PL representation spaces. The results are relation-dependent. Code-code geometry reveals structured language regions but no universal center; code-English alignment favors high-level scripting languages; and pivoted retrieval favors different intermediate spaces for code-to-code and English-to-code transfer. These findings suggest that Python's special role is better understood as English-facing affinity than as universal geometric centrality.
著者のコメント
Accepted at EMNLP 2026
arXiv ID: 2609.22988 / 要約の誤りについて