在人工智能所预示的所有末日反乌托邦中,鲜有人讨论的是它对隐私的影响。像 Claude、ChatGPT 和 Gemini 这样广受欢迎的人工智能工具,诱使用户将最敏感的想法——有时甚至是机密的企业或政府文件——发送到托管在遥远数据中心的服务器上,而那里的信息可能被出售给广告商、用作训练数据,甚至被通过法律程序索取的执法机构获取。
对于存储或消息传递等较简单的服务,解决这一云端隐私问题的方案一直是端到端加密,它会对敏感数据进行扰乱,使得只有用户持有能够解密并读取这些数据的密钥,而非云服务器或任何其他潜在窃听者。但由于当前使用的 LLMs 只能处理它们能够读取的提示,这种完全加密的方案似乎成了人工智能在实践上的死胡同。
如今,一家初创公司正在展示其人工智能聊天机器人的研究原型,它似乎实现了一个计算上的魔术:它能接收加密的查询,计算出一个加密的答案,并将该回复发送给用户进行解密,而自身从未具备解开问题甚至 AI 自身答案的能力。
今天,Belfort Labs——一家从比利时 KU Leuven University 计算机安全与工业密码学团队衍生而来的公司——发布了一款名为 Bel-0(读作"Bell zero")的工具的"研究预览"版。这家初创公司将其 LLM 描述为第一个采用所谓全同态加密构建的模型,这是一种密码学技术,最早于 2009 年在 IBM 被证明可行,它允许计算机在数据处于加密状态时仍能对其进行处理。
这种加密手法在速度和性能上的代价极其高昂。Belfort 的 Bel-0 原型速度慢得几乎令人啼笑皆非,运行成本高昂,其能力远不及现代未加密的云端托管 AI 工具。但 Belfort 誓言,在未来几年内,它将成为寻求强隐私保障的企业客户的有力替代方案。如今,它至少已经足够"落地"——公司已将其上线,让任何人都可以在接下来三天里通过公司网站试用——缺点也一并呈现。
"今天我们可以证明,我们拥有世界上保密性最强的云端 LLM,"Belfort 联合创始人兼 CEO Laurens De Poorter 表示。他指出,公司的公开演示恰逢 ChatGPT 发布四周年,并声称 Belfort 的端到端加密 AI 工具将对这项技术的未来产生同样深远的影响,提供"一条路径,让你可以利用 LLMs 的强大能力,而无需交出你的知识产权或数据"。
现在来说说注意事项——而且有很多。由于全同态加密带来的计算开销,Bel-0 的运行成本是典型 LLM 的 600 多倍。它的运行速度也比未加密的同类产品慢约 70 倍,答案输出速度约为每秒两个词,而典型 LLM 约为每秒 140 个词,这个节奏需要极大的耐心。在我短暂的测试中,向它提问的感觉就像在 Zootopia 里跟 DMV 柜台后面那只树懒角色对话一样。
以目前的形态来看,它也并非一个非常智能的 LLM。人工智能模型的复杂程度通常以"参数"来衡量,即模型用于确定输出所使用的数值或权重的数量,而 Bel-0 目前使用约 80 亿个参数,相比之下,当今一些前沿模型使用的参数高达数千亿甚至上万亿。在我的测试中,它输出了大量部分或完全错误的答案——例如,当我询问某个特定 Brooklyn 社区的午餐推荐时,它却列出了整个 New York City 的餐厅。目前,Bel-0 还无法从一个问题到下一个问题记住对话的上下文,只能回答单独的查询。
最后,即使其独特的加密技术,在实际可行的层面也尚未在预览演示中真正落地:由于生成 Bel-0 加密系统所用密钥需要一个长达一小时的流程,Belfort 网站上的演示版本目前仅使用一个存储在公司服务器上并向所有用户共享的单一密钥。与实际的私有部署不同,这意味着公司能够解密用户与 AI 的对话。
换言之,Bel-0 的隐私承诺目前仅限于演示目的,你不应该向它透露任何秘密。"这真的只是一个新范式的起点,"De Poorter 说道。
尽管 Bel-0 尚未达到真正实用的阶段,约翰霍普金斯大学计算机科学教授、密码学家 Matthew Green 表示,它仍然代表了隐私保护 AI 领域的一项真正突破,尽管其意义更多地在于对未来的期许,而非当前状态。"他们比现有技术取得了数量级上的提升。这是一项巨大的技术成就,"Green 说道。"我认为这是一条通往真正酷事物的路径,尽管它目前还不太实用。"
目前值得指出的是,在不使用全同态加密的情况下,有远比这更实用的方式来提升你 AI 使用的保密性,WIRED 今年早些时候在一篇关于隐私保护 AI 的指南中就曾做过介绍。你可以使用存储在本地机器上的模型,或者对于企业用户,可以付费使用主要 AI 服务商提供的"零数据保留"模型。目前实用性与隐私之间最佳平衡,或许由 Confer 和 Maple 等 LLMs 提供,它们使用所谓的可信执行环境(Trusted Execution Environments,简称 TEEs)。TEEs 不会像全同态加密那样保持查询的加密状态,而是使用密码学将敏感进程隔离在处理器上的一个安全飞地中,机器的其余部分无法访问该区域。其结果是一个 AI 模型,其功能可与典型的非隐私 LLM 相媲美,但完全不具备监控或分享你与它之间对话的能力。
然而,按照大多数端到端加密的定义——即服务器上永远不存在未加密的数据,数据只存在于用户设备上——基于 TEE 的 AI 模型并非端到端加密,即使有些确实如此描述自己。尽管有这些保护,TEE 确实存在技术漏洞,可能允许某人(最可能是恶意内部人员或能够物理接触服务器的人)突破其加密保护,正如 Georgia Tech 和 Purdue University 的 TEE.fail 等研究所示。
Belfort 的全同态加密,尽管在效率和性能方面代价巨大,但在隐私层面代表着重大飞跃。虽然这在今天可能尚不切实际,但该公司表示旨在随时间优化该服务:首先,它计划对其使用的 AI 模型——Meta 的开放权重 LLama 3.1——进行"外科手术式修改",使其与全同态加密更具兼容性。最终,它计划开发自己的定制芯片,这些芯片旨在在这些特定形式的计算上表现优于 Nvidia 的 GPU。凭借这些计划中的工程改进,Belfort 的目标是在 2029 年前拥有一个基于云端的模型,其效率超越本地托管的 AI 模型,同时提供与那些本地部署的替代方案同等程度的隐私。
"我们押注的是,在总体拥有成本方面,使用这种端到端加密的云计算模型实际上会比开始购买大量 GPU 并把它们放进地下室以运行具有完全隐私的 AI 更便宜,"De Poorter 说。
Belfort 是否能够将真正的端到端加密 AI 优化到足以使其成为实际可行的竞争者,仍有待观察。但 Johns Hopkins 的 Green 认为,AI 隐私问题足够严重,值得采取多管齐下的方法。
"我们需要所有可能可用的工具,而这就为我们提供了一个工具,"Green表示。除了TEE和本地部署的AI模型等现有选项之外,他认为全同态加密也值得作为解决方案加以探索。"现在我们有了第三种方法,而这是很有价值的。"
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
Of all the doomer dystopias that AI portends, one of the least discussed is its effect on privacy. Popular AI tools like Claude, ChatGPT, and Gemini seduce users into sending their most sensitive thoughts—and sometimes even confidential business or government materials—to a service hosted in a faraway data center, where that information can be sold to advertisers, used as training data, or even handed over to a law enforcement agency that demands it through a legal process.
For simpler services like storage or messaging, the answer to that cloud privacy issue has been end-to-end encryption, which scrambles sensitive data such that only users have the keys that allow them to decrypt and read it, not the cloud server or any other potential eavesdropper. But since the large language models (LLMs) in use today can only process prompts they can read, that fully encrypted solution has seemed like a practical dead end for AI.
Now one startup is revealing its research prototype for an AI chatbot that seems to achieve a computational magic trick: It can take in encrypted queries, compute an encrypted answer, and send that response to the user to decrypt without ever having the ability to decipher the question or even the AI's own answer itself.
Today, Belfort Labs, a company spun off from the Computer Security and Industrial Cryptography group at KU Leuven University in Belgium, has launched a “research preview” of a tool it's calling Bel-0, pronounced “Bell zero.” The startup describes its LLM as the first built to use so-called fully homomorphic encryption, a type of cryptography, first proven to be possible at IBM in 2009, that allows computers to process data even while it's encrypted.
That cryptographic sleight-of-hand comes at an enormous cost in speed and performance. Belfort's Bel-0 prototype is almost comically slow, expensive to run, and nowhere near as capable as modern unencrypted cloud-hosted AI tools. But Belfort vows it will, in the coming years, be good enough to serve as a powerful alternative for enterprise customers seeking strong privacy guarantees. Today, it's at least real enough that the company has made it available online so that anyone can test it—warts and all—for the next three days on their website.
“What we can prove today is we have the most confidential LLM in the cloud in the world,” says Laurens De Poorter, Belfort's cofounder and CEO. The company's public demo, he points out, is timed to the four-year anniversary of ChatGPT's launch, and he claims Belfort's end-to-end encrypted AI tool could have a comparable effect on the future of the technology, offering “a path where you can use the power of LLMs but don't have to give away your intellectual property or your data.”
Now for the caveats—and there are a lot of them. Bel-0, due to the computational overhead added by fully homomorphic encryption, costs Belfort more than 600 times as much to run as a typical LLM. It also performs about 70 times slower than the unencrypted equivalent, spitting out answers at a rate of about two words a second compared to a typical LLM's roughly 140 words per second, a pace that requires significant patience. In my brief testing, asking it questions was a bit like talking to the sloth character behind the counter at the DMV in Zootopia.
It's also not, in its current form, a very intelligent LLM. The sophistication of an AI model is often measured in “parameters,” the number of values or weights it uses to determine its outputs, and Bel-0 currently uses about 8 billion compared to the hundreds of billions or even trillion parameters some frontier models implement today. In my testing, it spat out plenty of partially or fully incorrect answers—listing, for instance, restaurants all over New York City when I asked it for lunch recommendations in a particular Brooklyn neighborhood. For now, Bel-0 also can't remember the context of a conversation from one question to the next, answering only individual queries.
Finally, even its exotic encryption isn't actually implemented in the preview demonstration in a practical way yet: Due to an hour-long process required to generate the keys used in the Bel-0's encryption system, the demo version currently on Belfort's website uses only a single key that's stored on the company's server and shared for all users. Unlike in an actual private implementation, that would allow the company to decrypt users' conversations with the AI.
Even Bel-0's privacy promises, in other words, are currently for demonstration purposes only, and you shouldn't confess any secrets to it. “This is really just the starting point of a new paradigm,” De Poorter says.
Despite that long list of reasons Bel-0 is not yet ready for prime time, it still represents a real breakthrough in privacy-preserving AI, though one whose significance lies much more in its promise for the future than its current state, says Johns Hopkins computer science professor and cryptographer Matthew Green. “They've made orders of magnitude of improvements over the state of the art. This is a huge technical achievement,” says Green. “I see this as a pathway to something really cool, even though it's not practical yet.”
For now, it's worth noting, there are far more practical ways to improve the confidentiality of your AI use without fully homomorphic encryption, as WIRED laid out earlier this year in a guide to privacy-preserving AI. You can use a local model that's stored on your machine or, for enterprise users, pay for a “zero data retention” model offered by major AI services. The best current balance of practicality and privacy today is perhaps offered by LLMs like Confer and Maple, which use so-called Trusted Execution Environments, or TEEs. TEEs don't keep queries encrypted like fully homomorphic encryption, but instead use cryptography to keep sensitive processes isolated on a secure enclave of a processor that the rest of a machine can't access. The result is an AI model that functions comparably with a typical, non-private LLM but has no ability to surveil or share the conversations you have with it.
Yet by most some definitions of end-to-end encryption—that no unencrypted data is ever present on a server, only on users' devices—TEE-based AI models aren't end-to-end encrypted, even if some do describe themselves as such. Despite their protections, TEEs do have technical vulnerabilities that could allow someone, most likely a malicious insider or someone with physical access to a server, to defeat its cryptographic protections, as revealed in research like Georgia Tech and Purdue University's TEE.fail.
Belfort's fully homomorphic encryption, despite its vast costs in efficiency and performance, represents a significant step up in privacy. While it might be impractical today, the company says it aims to optimize the service over time: First it plans to make “surgical changes” to the AI model it uses—Meta's open-weight LLama 3.1—to make it more compatible with fully homomorphic encryption. Eventually it plans to develop its own custom chips designed to work better than Nvidia's GPUs on those specific forms of computation. With those planned engineering improvements, Belfort aims to have a cloud-based model that outperforms locally hosted AI models in efficiency by 2029, while offering just as much privacy as those on-premises alternatives.
“We're betting that it will be actually cheaper in terms of total cost of ownership to use this end-to-end encrypted cloud computing model than to start buying a lot of GPUs and putting them in your basement in order to run AI with total privacy,” De Poorter says.
Whether Belfort can optimize true end-to-end encrypted AI enough to make it a practical contender remains to be seen. But Johns Hopkins' Green says the question of AI privacy is serious enough to merit a multi-pronged approach.
“We need every possible tool available to us, and this gives us a tool,” Green says. Beyond existing options like TEEs and locally hosted AI models, he argues that fully homomorphic encryption is worth pursuing as a solution. “Now we have a third approach. And that’s valuable.”
Auto-fetched and translated by AI Atlas. All rights belong to the original author.