
GLM-5.4:初のループ型Transformerで目指す汎用コーディングGLM-5.4: Toward Generalized Coding with Our First Loop Transformer
Z.aiがGLM 5.4を公開した。重みを共有する層群を複数回反復させて隠れ状態を磨く、同社初のループ型Transformerで、パラメータ数を増やさず実効的な深さを得られる点が特徴だ。
Z.ai released GLM 5.4, its first looped transformer, which reruns a block of weight-shared layers several times to deepen the network without adding parameters, a design that is gaining traction among labs.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (simonwillison.net) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (simonwillison.net).
Z.aiがGLM 5.4を公開した。同社として初めてループ型Transformerのアーキテクチャを採用したモデルで、タイトルには「汎用コーディングを目指す」という方向性が掲げられている。
同社初のループ型
GLM 5.4は、中国のAIラボZ.aiから提供が始まったモデルである。Z.aiはこれを、自社で初めてループ型Transformerを用いたモデルと位置づけている。
タイトルは「Toward Generalized Coding」、つまり汎用的なコーディングへ向かうことをうたう。ただ、コーディング性能をどう高めるのかという具体的な中身は、ここで確認できる範囲では示されていない。
重みを共有する層
Z.aiの説明によれば、通常のTransformerでは各層がフォワードパスごとに1回だけ実行される。これに対してループ型Transformerでは、重みを共有する層のグループを複数回の反復で実行する。反復のたびに、前回のパスで得られた隠れ状態を磨き直していく仕組みだ。
この構成により、パラメータ数を増やさずに、より深いネットワークが得られるとZ.aiは述べている。層の数そのものを積み増すのではなく、同じ層を繰り返し通すことで実効的な深さを稼ぐ、という考え方である。
Inkling 2 Miniとの並び
ブログの筆者は、ループ型Transformerに触れたのはこの1週間で2例目だと書いている。1例目は、11月20日にThinking Machines Labが発表したInkling 2 Miniである。
同社はこのモデルについて、中間層をトークンごとに3回実行するループ型Transformerだと説明している。ここでも、モデルの一部の層を繰り返し使うという点は、GLM 5.4と共通している。
短期間に2つのモデルが同様の設計を打ち出したことから、この設計が複数のラボで注目を集めているとも読める。ただし、両モデルの性能を比べた数値などは示されておらず、優劣については何も言えない。
GLM-5.4 and Looped Transformers
Z.ai, a Chinese AI lab, has released GLM 5.4, which it presents as a step toward generalized coding. It is the lab's first model built on a looped transformer architecture, a design that aims to add depth without making the model larger in parameter terms.
How the Loop Works
Z.ai describes the difference this way. In a standard Transformer, each layer runs once per forward pass. In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states produced by the previous pass. According to the announcement, this gives a deeper network without increasing the parameter count.
The key point is that the same weights are reused. Because the layers are shared across iterations, the effective depth grows through repetition rather than through additional distinct layers.
A Second Sighting in a Week
The blog author, Simon Willison, notes that this is the second mention of looped transformers he has seen in the past week. The first was Inkling 2 Mini from Thinking Machines Lab, dated November 20th. Its description says that Inkling 2 Mini is a looped transformer that runs the middle layers of the model three times for every token. The quoted passage continues by saying this allows the model to apply more reason, but the text breaks off there, so the rest of the claim is not available.
Taken together, the two descriptions show a similar idea in both releases: a portion of the network is run repeatedly instead of once. Z.ai refers to a group of weight-shared layers, while the Inkling 2 Mini description specifies the middle layers and three passes per token. The source does not give a pass count for GLM 5.4.
What Is Stated So Far
The material available about GLM 5.4 is limited to its release, its first-of-its-kind architecture for Z.ai, and the lab's explanation of the looping mechanism. No benchmark results, parameter totals, pricing, or availability details appear in the source, so none are asserted here. What the source does establish is that two labs have described looped designs within days of each other, and that Z.ai frames its version as a way to deepen the network while keeping the parameter count unchanged.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko同じ層を何回も回すって、どういうこと?普通のTransformerと何が違うの?What does it mean to rerun the same layers? How is that different from a regular Transformer?
- TECHガイドTECH Guide普通は各層が1回ずつ動くだけです。ループ型は重みを共有する層のグループを複数回回して、前の回の隠れ状態を磨き直します。In a standard Transformer, each layer runs once. In a loop transformer, a group of weight-shared layers runs several times, refining the hidden states from the previous pass.
- ポコPoko層を新しく足すんじゃないんだね。それだと何が良いの?So they're not adding new layers. What's the upside of that?
- TECHガイドTECH Guideこの記事では、パラメータ数を増やさずに深いネットワークが得られる点が特徴です。Inkling 2 Miniも、真ん中の層を1トークンごとに3回回すそうです。The article highlights getting a deeper network without raising the parameter count. Inkling 2 Mini also runs its middle layers three times for every token.
- ポコPoko同じ層を繰り返して中身を磨くんだね。しかも一週間で二つ目なんだ!So it repeats the same layers to polish the states. And it's already the second one in a week!
- TECHガイドTECH Guide筆者が一週間で見かけたのは二例目、という話です。流行と決めつけず、様子を見るのがよさそうですね。The author says it's the second mention in a week. I'd not call it a trend just yet, and keep watching.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy