Google Built a Giant ‘Mirror Dimension’ Internet to Test Its Chrome AI Agents

Google Built a Giant ‘Mirror Dimension’ Internet to Test Its Chrome AI Agents

As the Google Chrome team has worked to develop AI browsing features using the company’s Gemini models, they realized they need to go the extra mile to keep things from going haywire. So they did the only thing they could think to do—they built an expansive alternate-universe internet that they completely control.

随着谷歌 Chrome 团队致力于利用公司的 Gemini 模型开发人工智能浏览功能,他们意识到需要付出额外的努力来防止系统失控。因此,他们想到了唯一可行的办法——构建了一个完全由他们掌控的庞大“平行宇宙”互联网。

“Web-use” agents need to be familiar with the open internet, how to navigate real websites and platforms, and how to be hardened against web attacks. So training them in limited test environments is only so effective. Plus, models can develop what’s known as “eval awareness,” where they behave differently because they have determined that they are in a test or simulation. On the other hand, setting unrefined agents loose on the open internet is a bad idea. That’s where the alternate-universe internet comes in.

“网络使用”智能体需要熟悉开放互联网,了解如何浏览真实的网站和平台,以及如何抵御网络攻击。因此,在有限的测试环境中训练它们的效果有限。此外,模型可能会产生所谓的“评估意识”,即因为意识到自己处于测试或模拟中而表现出不同的行为。另一方面,将未经完善的智能体直接投放到开放互联网上也是不明智的。这就是“平行宇宙”互联网发挥作用的地方。

The “Mirror Dimension,” which Google is detailing in a blog post today for the first time, is a sweeping and diverse but isolated web ecosystem that the Chrome team entirely controls. It includes a vast array of websites and platforms—including social media sites, shopping, and bank dashboards—that are built with all the components and attributes of real websites. Browsing assistant agents must interact with the sites and complete tasks in Chrome the way they would on the real internet. And they face resilience tests as they go, like hidden prompt-injection attacks, to test their defenses.

谷歌今天首次在博客文章中详细介绍的“镜像维度”(Mirror Dimension)是一个全面、多样但相互隔离的网络生态系统,完全由 Chrome 团队控制。它包含了大量的网站和平台,包括社交媒体、购物网站和银行仪表板,这些网站具备真实网站的所有组件和属性。浏览助手智能体必须像在真实互联网上一样与这些网站交互并完成任务。在过程中,它们还会面临各种压力测试,例如隐藏的提示注入攻击,以检验其防御能力。

“Agents are not programmed, so you can’t predict every possible thing an agent might see; the exploration space that we have to address is huge, and the web is hostile,” says Charles Qian, a software engineer on the Chrome AI security team. “Any user can ask any prompt on any website, so we really need to explore that space as thoroughly as we can. And we’ve seen the agent start to develop a mature sense of judgment when it comes to knowing what information is actually needed for a task and when to punt back to the user for a confirmation.”

“智能体不是被编程出来的,所以你无法预测智能体可能遇到的每一种情况;我们需要处理的探索空间非常巨大,而且网络环境充满敌意,”Chrome AI 安全团队的软件工程师 Charles Qian 表示。“任何用户都可以在任何网站上提出任何提示,因此我们确实需要尽可能彻底地探索这个空间。我们已经看到智能体开始形成一种成熟的判断力,能够识别完成任务真正需要的信息,并知道何时应将问题反馈给用户以进行确认。”

Building out and populating the Mirror Dimension was a challenge in itself, because it needed to be vast and varied enough to represent the scale of the real web while being developed quickly. To construct it, the Chrome team gathered armies of website and web app development agents guided by a purpose-built AI harness to quickly create realistic web services and data flows—down to details like entering promo codes on a shopping site or populating social media pages.

构建并填充“镜像维度”本身就是一个挑战,因为它既需要足够庞大和多样以代表真实网络的规模,又需要快速开发。为了构建它,Chrome 团队集结了大批网站和 Web 应用开发智能体,在专门构建的人工智能框架引导下,快速创建了逼真的网络服务和数据流——甚至细化到在购物网站输入促销代码或填充社交媒体页面等细节。

Even though the entire environment is controlled by Google, Chrome is built with so many user protections and validity checks that, in order to allow the agents to use real Chrome (which is crucial for accurate training), the researchers essentially had to hack the browser and take elaborate steps like making forged web certificates for validity checks so the agents could have a normal experience. The team emphasizes, though, that none of these attacks would be possible against regular Chrome users on the open internet. They were all facilitated by the god-mode-type access and privilege the team inherently has because they control the entire environment and network.

尽管整个环境由谷歌控制,但 Chrome 内置了大量的用户保护和有效性检查机制。为了让智能体能够使用真实的 Chrome 浏览器(这对准确训练至关重要),研究人员实际上不得不“黑入”浏览器,并采取了复杂的步骤,例如制作伪造的 Web 证书以通过有效性检查,从而让智能体获得正常的体验。不过,团队强调,这些攻击在开放互联网上的普通 Chrome 用户身上是不可能发生的。所有这些操作都是通过团队因控制整个环境和网络而拥有的“上帝模式”权限来实现的。

The researchers say that while the browsing assistant agents they have been testing are benign and do not have cyber capabilities, their goal is to make the Mirror Dimension available to teams across Google so more researchers have access to the safe and controlled environment for testing.

研究人员表示,虽然他们一直在测试的浏览助手智能体是良性的,且不具备网络攻击能力,但他们的目标是将“镜像维度”提供给谷歌内部的各个团队,以便更多的研究人员能够利用这个安全且受控的环境进行测试。

“We’re sharing this approach so other teams both internally and externally think about doing it this way,” says Doug Turner, Google’s director of engineering. “This is the first step; there’s going to be continued investment in this approach to train models. And I would imagine as they become more sophisticated, we’ll have to continue working on this environment to make it more and more realistic.”

“我们分享这种方法,是为了让内部和外部的其他团队考虑采用这种方式,”谷歌工程总监 Doug Turner 说。“这只是第一步;未来将继续投资这种方法来训练模型。我想随着模型变得越来越复杂,我们将不得不继续改进这个环境,使其变得越来越逼真。”