Zhipu Releases GLM-5.4, Increasing Computational Depth with a Loop Transformer and Adding Vision Capabilities
English text is being prepared.
Zhipu has released GLM-5.4, which repeatedly runs layers 27–54 of the GLM-5 base model to increase effective computational depth through weight reuse while adding vision capabilities. The model runs exactly two passes, each using token-dependent gating to control the magnitude of updates, while reusing the sparse key-value cache and attention indices to reduce additional overhead.
Why read this
AI score 65
A detailed breakdown of the Loop Transformer's layer looping, gating, and caching design helps explain the implementation approach and cost of increasing computational depth.
Topics
View original postIntroducing GLM-5.4: Generalized Coding with Our First Loop Transformer. - Loops existing layers in the GLM-5 base model for deeper reasoning - Pushes beyond traditional coding to video, games, 3D shaders, and CAD modeling - Adds vision capabilities for stronger visual coding API access will open after safety evaluation. Model weights will be released responsibly. Tech Blog: http://z.ai/blog/glm-5.4
View original
Introducing GLM-5.4: Generalized Coding with Our First Loop Transformer. - Loops existing layers in the GLM-5 base model for deeper reasoning - Pushes beyond traditional coding to video, games, 3D shaders, and CAD modeling - Adds vision capabilities for stronger visual coding API access will open after safety evaluation. Model weights will be released responsibly. Tech Blog: http://z.ai/blog/glm-5.4
Body
智谱最新发布的 GLM-5.4,核心变化是 Loop Transformer:复用已有网络层的权重,增加模型内部的计算深度。同时加入视觉能力,让模型通过代码完成更多创作与工程任务,比如最近 X 上刷屏的视频、游戏和 CAD。
咱们重点看 Loop Transformer:为已有大模型提供了一条增加计算深度的升级路线,循环的是网络层,不是把答案再问一遍!
GLM-5.4 在 GLM-5 基座上继续训练,将中间第 27—54 层,共 28 层,运行两轮。第二轮沿用同一组权重,继续加工第一轮的隐藏状态,不必复制一整套参数,就能增加有效深度。当然,多算一轮仍有计算成本。
为保持稳定,智谱为两轮计算分别设置了随 token 变化的门控,控制更新幅度:第一轮偏向建立上下文,第二轮进一步细化。缓存设计则复用第一轮选出的稀疏键值缓存,为第二轮保留局部滑动窗口,同时复用注意力索引,减少额外开销。
这里需要区分:当前循环次数固定为两轮,动态调整的是更新幅度。让难处理的 token 自动多算几轮,仍属于后续研究方向。
AI Trends