对于任何担心互联网安全的人来说,过去几天都令人焦虑不安。超过一周以来,有关前沿人工智能公司隐瞒密码学突破的传闻一直在流传,这些突破可能预示着互联网安全的终结。
IT HAS BEEN an anxious few days for anyone worried about security on the internet. For over a week rumours have been spreading that frontier artificial-intelligence companies were withholding breakthroughs in cryptography that could signal the end of internet security.
11月30日,美国公司Anthropic发布一份声明,澄清了情况。这些传闻似乎源于该公司本月早些时候获得的新研究结果。与未发布版本的模型Claude合作,Anthropic的研究人员发现了一种方法,使理论上功能过于强大的量子计算机能够破解某些加密技术。换句话说,这是一项对专业人士有意义但对日常生活影响甚微的进展。尽管如此,这一事件仍为密码学家敲响了警钟,让他们意识到前沿模型的力量。
On November 30th Anthropic, an American firm, released a statement that clarified matters. The rumours, it seemed, originated with novel results the company had obtained earlier in the month. Working with an unreleased version of their model Claude, Anthropic’s researchers had discovered a way for an unfeasibly powerful quantum computer to theoretically break certain encryption techniques. It was, in other words, an advance of interest to professionals but of little consequence to everyday life. All the same, the episode has served as a wake-up call to cryptographers about the power of frontier models.
密码学是保障信息安全的科学。其核心业务是加密,即将数据打乱成只有知道如何逆转该过程的人才能解码的形式。在实践中,这通常涉及依赖于难以解决但易于验证的数学问题。例如,计算7,990,271的质因数远比验证答案是1,009乘以7,919要困难得多。在实践中,现代加密中使用的数字长达数百位,没有任何数字计算机能在合理的时间内计算出其质因数。此类系统保障了从私人消息到医疗记录再到银行转账等一切信息的安全。
Cryptography is the science of securing information. Its bread and butter is encryption, the process of scrambling data into forms that can only be decoded by someone who knows how to reverse the process. In practice, this usually involves piggybacking on mathematical problems that are tricky to solve but easy to verify. Working out the prime factors of 7,990,271 is far harder, for example, than verifying that the answer is 1,009 x 7,919. In practice, the numbers used in modern encryption are hundreds of digits long and no digital computer can work out the prime factors in any reasonable amount of time. Such systems secure the information contained in everything from private messages to medical records to bank transfers.
量子计算机可能会破坏这一局面。这些初步设备利用量子力学的奇特物理特性,在某些计算任务上的运行速度远超任何“经典”计算机。研究人员仍在努力完善这项技术,并确定其最适合的任务。其中包括解决支撑现代加密的那种数学难题。因此,研究人员多年来一直在为后量子时代做准备,寻找即使量子计算机也难以破解的算法。
Quantum computers could spoil the party. These nascent devices exploit the strange physics of quantum mechanics to execute some computational tasks far faster than any “classical” computer could. Researchers are still trying to perfect the technology, as well as identify the tasks for which they will be best suited. Among these is solving exactly the kinds of mathematical conundrums which underpin modern encryption. Researchers have thus spent years preparing for the post-quantum era by finding algorithms that even quantum computers will struggle to crack.
Anthropic发现的漏洞在于一种名为格密码学的抗量子方法。此类算法借助被称为格的重复点网格来加密信息。密码学家曾认为,使用数百或数千维的格,会让经典计算机和量子计算机都难以破解。Anthropic的公告表明,对于两种流行的基于格的协议,这一逻辑并不像人们曾认为的那样可靠。
The vulnerability Anthropic has found lies in one such quantum-resistant approach known as lattice cryptography. Algorithms of this kind encrypt information with the help of repeating grids of points known as lattices. Cryptographers thought that using lattices with hundreds or thousands of dimensions would make codebreaking challenging for classical and quantum computers alike. Anthropic’s announcement suggests that, for two popular lattice-based protocols, this logic is not as robust as once thought.
普通电脑用户现在应该担心吗?目前完全不必。Claude发现的算法需要量子计算机才能执行,即便如此,所需的运算次数也超过了可观测宇宙中的原子总数。此外,它的攻击速度远慢于已有的替代方案。因此,对于现实世界的安全问题,什么都没变,麻省理工学院研究人员、密码学事件审查小组成员耶尔·陶曼·卡莱表示。该小组由21位杰出密码学家组成,与Anthropic合作“审查并帮助应对密码分析进展”。
How worried should the average computer user be? For now, not at all. The algorithm Claude discovered would require a quantum computer to execute and, even then, would take more operations than there are atoms in the observable universe. What’s more, it would be a far slower attack than alternatives which already exist. For real-world security concerns, then, nothing has changed, says Yael Tauman Kalai, a researcher at the Massachusetts Institute of Technology who was part of the Cryptography Incident Review Group, a team of 21 eminent cryptographers who worked with Anthropic to “review and help navigate cryptanalytic advances”.
然而,对于密码学家来说,这一公告清楚地表明了人工智能模型的数学实力。他们有充分理由保持警惕。保障互联网安全的算法很强大,但数学并不能保证它们不会被攻破。“我们真的应该非常认真地思考我们所使用的假设,”卡莱博士说。人工智能从长远来看可能有助于加强安全协议,但它很可能会先发现这些协议的缺陷。后果可能非常严重。■
For cryptographers, however, the announcement is a clear sign of the mathematical power of AI models. They have good reason to be on their guard. The algorithms that keep the internet secure are strong, but mathematics offers no guarantee they are invulnerable. “We should really think very hard about the assumptions we are using,” says Dr Kalai. AI may help to strengthen security protocols in the long run, but it is likely to start by discovering their flaws. The consequences could be severe. ■