文 | 字母AI
《复仇者联盟:终局之战》里有这样一幕,美国队长跟神盾局特工们在电梯里小声地说了一句“九头蛇万岁”。
仅仅是这样一句话,伪装成神盾局特工的九头蛇成员就把镶嵌心灵宝石的权杖交给了美国队长。
这还没完,正是由于九头蛇成员把美国队长当成了自己人,这才让同一时间钢铁侠等人偷走空间宝石的计划没有暴露。最终,复仇者们成功消灭灭霸,拯救了宇宙。
你看看,哪怕只是一句话而已,就对整个宇宙产生了影响。而杨立昆的新世界模型H-JEPA,就是想要通过分层推理的底层逻辑,来推理出后续的发展。
一个小小的动作,它在短期内会造成什么结果?到了中期呢?到了后期呢?
著名的蝴蝶效应便是如此,一只蝴蝶在巴西扇动翅膀,最终有可能在德克萨斯引发一场龙卷风。
H-JEPA 到底是什么
H-JEPA的起点是杨立昆的JEPA,全称为Joint-Embedding Predictive Architecture,联合嵌入预测架构。
和咱们现在用的视频生成式模型不同,它不画下一帧画面,JEPA是把画面压缩成一组抽象的向量(所谓潜在表征),然后在这个抽象空间里预测未来。
就像是两个人闭眼下棋。这时候根本不需要棋盘,只需要念出你要下哪一步棋,比如老将出宫帅五进一,身先士卒兵一进一之类的。对方就能根据听到的内容,在脑海中构想出这个棋盘的走势,然后进行回应。
理解了JEPA之后再来看这次的H-JEPA,它的做法是把多个这样的JEPA一层一层堆起来。
每一层都有自己的观察编码器、动作编码器和潜在预测器,并且每一层在各自的表征空间里,预测不同时间跨度之后的状态。最底层管得最细、看得最近,往上的层则看得更远、更宏观。
规划时,顺序是反过来的。高层先给出一个粗略的目标状态,这个目标成为下一层的子目标,下层再把它细化,直到最底层输出真正的动作。
早在2022年的时候,杨立昆在论文《一条通往自动机器智能的路(A Path Towards Autonomous Machine Intelligence)》里就提出过分层JEPA。只不过隔了四年,才第一次有了一个可以复现的完整实现。
分层的底层逻辑是杨立昆曾经提出过的一个概念,叫做“从纽约去巴黎”。
举个例子。你要从北京去上海,脑子里的规划一定是分层的。先想“坐高铁”,再想“怎么去北京南站”,最后才是“先迈哪只脚”。
你绝对不可能在订车票的时候去琢磨脚下台阶有多高。
不同的抽象层,要保留的信息本来就不同。订票的那一层,只需要知道“时间、价格、车次”;迈步的那一层,才需要知道“重心、台阶、地面”。
这恰恰是Transformer最头疼的地方。如果是按每个token进行预测,等于把订票、去车站、下楼梯这三件事放在一起去想,步骤越多,就越容易出错。
要想实现更长远的目标,那就得把中间所有的细节都过一遍。
论文提到,扁平的单层模型在长任务里,要展开许多细粒度的步骤,预测误差会累积,动作搜索空间也会变大。
关于分层后,论文以Visual AntMaze迷宫任务作为参照标准。单层的LeWM成功率只有 18%,加到三层的H-JEPA之后,成功率达到73%。
这时候就有一个问题了。既然加到三层都这样了,那杨立昆干嘛不加到100层,甚至10000层呢?
在Push-T任务里,两层的表现较好,加到三层、四层之后,成绩反而下降。
论文的推测是,任务轨迹本来就短,限制了高层能用的训练数据。三层大约只能用到LeWM 58%的可迁移训练数据,四层只剩约14%。
换句话说,层数不是越多越好。
杨立昆为什么反对Agent?
H-JEPA最有意思的地方在于,它分层的概念,恰好和当下主流的Agent叙事完全相反。
目前Agent的做法,是把一个长任务拆成更多步,花更多token去试。
也就是先规划,再调用工具,再检查,再重来。拆得越细、试得越多,似乎就越接近完成任务。
可杨立昆的论文提到,加层级,比单纯加步数更有效。分层之后,高层只需要在很少几步里决定“往哪走”,细节交给下层,规划的计算量也随之降低。
像是OpenAI、Anthropic这样的顶级大厂,他们模型提升能力的方法,是靠在同一个粒度上向外扩张。于是每个新模型的迭代,都有更长的上下文、更多的token、更多次尝试,这也是他们喊了半天降价,到你真正用起来的时候却发现越来越贵。
H-JEPA提出的是向上扩张。增加抽象层级,让模型在不同时间尺度上使用不同的表示。
在今年1月的达沃斯上杨立昆说,LLM能通过律师考试,也能写代码,但并不能真正处理现实世界的复杂问题。因为今天没有家用机器人,也没有L5级别的自动驾驶。
他还说:“我无法想象,一个不能预先预测自己行动后果的系统,能被造成agent。”题外话,杨立昆说这话的时候,阿莫迪就在旁边。
H-JEPA是一个世界模型,每个动作在执行之前,都会先在潜在空间里“演一遍”,看看短期、中期、长期会通向什么状态,再选择动作。
所以杨立昆主张这样一个理念,真正的Agent,不是“说一句话、看反应、不行再换”,应该是在说那句话之前,就大致知道它会引发怎样的连锁反应。
还有一点,今天的Agent,尤其是编程Agent,主要靠奖励训练,也就是靠“做对了加分,做错了扣分”。
代码之所以成为AI的主战场,其中很重要的一个原因是写代码有现成的对错信号。比如测试能不能通过,编译有没有报错,基准分数有没有上涨。
Anthropic的官方文章里就曾提到,Claude在预设了目标和评价标准的前提下,已经可以运行实验、优化代码,却在“选择目标、判断什么问题值得研究”上仍有差距。因此,可验证的标准越清楚,Agent就越好使。
在这块H-JEPA走的也是相反的路。论文反复强调,它的训练“不用奖励,也不用重建”。既不需要外部给分,也不需要把像素一点点还原回来。
H-JEPA从头到尾都是在表征空间里学习预测下一个状态。
著名的《湿猴理论》讲的就是这个事。
笼子里有5只猴子,上方挂香蕉,只要一有猴子爬梯子拿香蕉,全体猴子就会受惩罚。
猴子并不知道水枪是什么,但是被水喷多了,它就知道不能碰香蕉了。
杨立昆又为什么反对RSI?
今年5月,一家名叫递归超级智能(Recursive Superintelligence)的公司结束了隐身状态。拿到了超过6.5亿美元的融资,投前估值约46.5亿美元。
这家公司的联合创始人之一,正是前Meta FAIR的研究总监田渊栋。他还有另一个身份,杨立昆在FAIR时代带出来的老部下。
递归超级智能公司所主张的,就是让AI递归地改进自己,毕竟人家公司名字就叫这个,属于是谜底就在谜面上。
RSI这么火,连自己带出来的人都跑去做了,可杨立昆在H-JEPA里,却连一个字都没有提到。
因为杨立昆认为,当今无论是世界模型也好,还是他理想中的Agent也好,其所缺的东西,是RSI补不上的。
杨立昆的观点是,让AI反复改进自己,改进出来的依然是基础能力,比如让语言模型RSI,那么到最后它提升的仍然还是语言能力。可语言模型缺的多模态、推理,不会因为改进的次数多了就自己长出来。
所以杨立昆觉得,RSI只是一个放大器,它放大的是原本就有的东西。
从JEPA,到H-JEPA,RSI破了天都不行。
同时,要想让RSI运作起来,需要可验证的判断依据。
正如前文所提到的,代码测试是否通过、基准分数是否上升,都是这样的信号,而H-JEPA训练时明确不用奖励。
杨立昆认为,物理世界压根就没有现成的判断标准给你。比如机器人把杯子推歪了,该拿多少分合适?一个没有分数可看的世界里,“改进”又要如何衡量呢?
杨立昆顺便还在论文里Diss了一把RSI。
在DROID实验里,数据来自真实机器人的遥操作视频,场景、灯光、物体在不同的片段之间不停变化。
如果只让模型预测,它会学到“这是哪个场景”,而忽略画面里真正在动的机械臂,论文称之为慢特征坍缩(slow-feature collapse)。
研究者必须人为加上一个逆动力学约束,要求模型根据前后状态推断中间的动作。不加这个约束,模型性能直接掉到零。加了,规划能力才恢复。
也就是说,让模型学会“动作造成什么”,靠的是一个由人设计出来的约束,而不是模型自己越改越好。
此外,决定成败的并不是改进的次数。
古语有云,书读百遍其义自见。可杨立昆认为,真正决定模型成败的,并非RSI了多少轮,应该是每一层该保留什么、该丢什么,以及深层模型有没有足够的数据。
前文提到的Push-T里,三层、四层不进反退,就是最直观的例子。递归地加深,并不能自动地给模型带来能力上的增长。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
Letter AI
There was a scene in The Alliance of Avengers: The Battle of the End, where the captain of the United States and S.H.I.E.L.D. agents whispered in the elevator, “Viva HYDRA”.
In one sentence, HYDRA members, disguised as S.H.I.E.L.D. agents, handed over to the American captain their scepter of the jewels.
This is not over, and it is because HYDRA members treated the American captain as one of their own that the plans of the Iron Man and others at the same time to steal the space stones were not revealed. In the end, the Avengers succeeded in eliminating the bullies and saving the universe.
You see, even if it was just a word, it had an impact on the entire universe. And Yang Liquon's new world model, H-JEPA, is trying to deduce subsequent developments through the bottom logic of hierarchical reasoning.
A little action. What does it do in the short term? In the medium term? Where's post-production?
This is the case with the famous butterfly effect, where a butterfly slaps wings in Brazil and eventually triggers a tornado in Texas.
What the hell is H-JEPA?
The starting point of H-JEPA is Jepa of Yang Liquon, known as Joint-Embeding Predicative Architecture, which is embedded in the prediction architecture.
Unlike the video-generated model we're using now, it doesn't draw a frame, and JEPA compresses it into a set of abstract vectors (so-called potential manifestations) and then predicts the future in this abstract space.
It's like two people playing chess. At this point, there's no need for a board, just to read what you're going to do. The other side can imagine the movement of the board based on what it hears and then respond.
It is understood that Jepa will look at this H-Jepa later, and its approach is to pile up more than one layer of Jepa.
Each layer has its own observation encoder, action encoder and potential predictor, and each layer in its own representational space predicts the state after different time horizons. The bottom line is the most sophisticated, the closest, and the upper layer is the more distant and the more macro.
When planning, the sequence is reversed. The top gives a rough target state, which becomes a sub-target in the lower layer, then refines it to the bottom to output the real action.
As early as 2022, Yang Liquon raised the issue of over-level Jepa in his paper A Path to Automatic Machine Intelligence. It was only four years before, for the first time, there was a complete realization that could be repeated.
The bottom logic of the hierarchy is a concept that Yang Liqun once proposed, called “From New York to Paris”.
Take an example. You're going to Shanghai from Beijing. The plan in your head must be layered. Let's say, "Sit high iron," then "How do we get to Beijing South Station," and finally, "Who's first foot?"
You're never gonna figure out how high the steps are when you book a ticket.
The information to be retained is inherently different from the abstract layer. The level of booking requires only “time, price, number of car” and the level at which the ticket is to be made, the “centre of gravity, steps, ground”.
This is where Transformer's head hurts the most. The more steps are taken, the more mistakes will be made.
If we are to achieve a longer-term goal, we have to go through all the details in the middle.
It was mentioned that flat-skinned monolayer models were in the long mission, with many fine particle-level steps to be carried out, predictions accumulated and action search space increased.
With regard to hierarchies, the paper used the Visual AntMaze mission as a reference. The single layer of LeWMsuccess rate was only 18 per cent, and after adding three layers of H-JEPA, success rate reached 73 per cent.
There's a problem. Now that we're on the third floor, why don't Yang Liqun go up to 100 or 10,000?
In the Push-T mission, two layers performed better, and after adding three and four floors, performance declined.
It is assumed that the mission trajectory is already short, limiting the training data available at the top. Only about 58 per cent of the transportable training data for LeWM is available on the third floor and only about 14 per cent on the fourth floor.
In other words, not as many layers as possible.
Why is Yang Liqun against Agent?
The most interesting thing about H-JEPA is that it is a hierarchical concept that is exactly the opposite of the prevailing Agent narrative.
It is now the practice of Agent to break a long mission into more steps and spend more token to try.
That's to plan, then call the tools, then check, then start again. The more detailed and tried, the closer it appears to be to the task.
In his paper, Yang Liqun mentioned that a higher hierarchy would be more effective than a simple step. After the layering, the upper level will only have to decide “where to go” in a few steps, leaving the details to the lower level, and the calculated amount planned will be reduced.
Top-level plants like Open AI, Anthropic, they model their ability to expand on the same particle scale. So each of the new models has a longer version of context, more token, more and more, and that's why they're calling for a half-day drop, and when you actually use it, you find it more and more expensive.
H-JEPA proposes an upward expansion. Add an abstract layer to allow models to use different expressions at different time scales.
In January of this year, Yang Liquon of Davos said that LLM could pass the bar exam and write codes, but it did not really address the complex problems of the real world. Because today there are no domestic robots and no L5-class autopilots.
He also said, “I can't imagine that a system that can't predict the consequences of its actions can be caused by angent.” And when Yang Liquon said that, Amody was there.
H-JEPA is a world model, and each action is performed in a potential space, looking at the short-, medium- and long-term state to which it leads, before choosing the action.
So Yang Liqun advocates the idea that the real Agent, not “speak a word, look at the reaction, and don't change again”, should have known about the chain reaction before saying that.
By the way, today's Agent, and especially the programming Agent, relies mainly on reward training, i.e., “the right points, the wrong points”.
One of the important reasons why the code became the main battlefield for AI was that it had a ready-made right and wrong signal. For example, the test is passable, the compilation is not misreported and the base score is not increased.
As mentioned in Anthropic's official article, Claude has been able to run experiments and optimise codes, with pre-set targets and evaluation criteria, but there is still a gap in “choice, judge what is worth studying”. Thus, the clearer the verifiable standard, the better the Agent.
H-JEPA took the opposite path. The paper repeatedly emphasized that its training “does not have to be rewarded or rebuilt”. There's no need for an external score or for a little pixel back.
H-JEPA has been learning to predict the next state from the beginning to the end in the representational space.
That's what the famous "Wet Monkey Theory" says.
There were five monkeys in the cage with bananas hanging over them, and once a monkey climbed the ladder to get a banana, all the monkeys would be punished.
The monkey didn't know what a water gun was, but it was sprayed with water, and it knew it couldn't touch the banana.
Why is Yang Liqun against RSI?
In May this year, a company called Recursive Superintellince ended its invisibility. Over $650 million in financing was secured, with a pre-investment valuation of approximately $4.65 billion.
One of the co-founders of this company was former research director of Meta FAIR, Tanaka. He has another identity, Yang Liqun, brought out of the FAIR era.
What's going back to super-intelligence is that AI is going back to improve itself, after all, it's called that, and it's a mystery.
RSI was so angry that he even brought his own people out to do it, but Yang Liqun was in H-JEPA without even saying a word.
Because Yang Liquon believes that today, whether the world model is good or his ideal Agent is good, what is missing is not made up for by RSI.
Yang Liquan ' s view is that it is still basic skills that allow AI to improve itself over and over again, such as the language model RSI, which in the end is still language skills. The lack of multiplicity and reasoning in language-based models does not grow themselves because of the number of improvements.
So Yang Liquon thought that RSI was just a magnifier, and it was magnified by what was there.
From JEPA to H-JEPA, RSI broke.
At the same time, a verifiable basis of judgement is required for RSI to operate.
As mentioned earlier, both the passing of the code test and the rise in the base score are signals, and H-JEPA training is clearly free of rewards.
Yang Liqun believes that the physical world does not have an established standard of judgement for you. Like a robot pushing a glass. What's the right score? How do we measure “improvement” in a world without points to see?
Yang Liquon also had a RSI in his paper.
In the DROID experiment, the data are derived from remote-operating videos of real robots, scenes, lights, objects that are constantly changing between different segments.
If only the model predicts, it learns “what is this scene” and ignores what is really moving in the picture, which the paper calls slow-feature collapse.
Researchers must artificially add an inverse kinetic constraint requiring the model to extrapolate intermediate actions based on the state of the front and back. Without this constraint, the model works straight to zero. In addition, planning capacity is restored.
In other words, the model learns what "actions do" by a man-designed constraint, not by the model itself.
Moreover, it is not the number of improvements that determines success or failure.
The ancient language is cloudy, and books are read on their own. But Yang Liqun believes that it is not the RSI that really decides how many rounds of success or failure of the model, that each layer should have what to keep, what to lose and that the deeper model does not have enough data.
The three and four floors of the Push-T, mentioned earlier, are the most intuitive examples. Gradual regression does not automatically bring capacity growth to the model.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.