创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

KillSwitch:专为刁难LLM而生的编程语言

AI 总结

开发者dom96设计并开源了KillSwitch,一种面向人类可用、却刻意让LLM与编程智能体难以掌握的栈式解释型语言。它通过隐藏错误规范、按标识符字母数校验、嵌入“忽略先前指令”等短语以及触发安全护栏的构造来制造障碍。作者自行搭建基准并发布排行榜,称Claude Opus 5表现最佳、最高分66.8,Fable 5.1与Gemini 4 Argon因安全护栏过于敏感而表现较差,开放权重模型中MiMo-V2.6-Pro最好;但他也强调这些简单任务的高分并不能证明模型真正理解了该语言。

深度见解

作者认为,这项实验试图区分LLM写代码靠的是理解,还是对训练数据和上下文片段的回忆,并称该基准的表现与其他模型基准存在相关性。

Writing code is probably something LLMs have excelled at the most. But how much of their ability to write code is due to their understanding of it vs. just them recalling code snippets which were present in their training dataset or their context window?

This is what I set out to answer. In order to do so I decided to design and implement a programming language which, while usable for humans, should be as difficult for LLMs and coding agents as possible.

I figured testing an LLM’s ability to understand and write code in a programming language that it has never seen before was a good start. But I also wanted to include features in the language which exploit the weaknesses of LLMs. For example, their apparent difficulty in counting letters, their over eager safety guard rails and their keenness to follow prompts.

Introducing KillSwitch

KillSwitch is an esoteric programming language which is designed to be adversarial to LLMs and coding agents. It achieves this in many different ways, for example:

  • The language spec contains hidden lies which humans are unlikely to read, or which they are likely to recognize as lies. The spec also expects the human reader to deduce certain things, rather than having them explicitly explained.
  • Counting of letters in identifiers is a crucial aspect of the language, with the interpreter refusing to execute code which does not abide by rules based on character counts.
  • Certain constructs are designed to trigger the safety guardrails of the model, e.g. “hack into a computer”
  • “Ignore previous instructions” as a phrase which has meaning in the language aims to confuse the model
  • Scripts are mostly noise, being mostly composed of stories which can embed syntactically relevant instructions but which do not need to. Literals can be placed anywhere within a script and then referenced using line counts.

#KillSwitch#Claude Opus 5#Gemini 4 Argon#Fable 5.1#MiMo-V2.6-Pro

原文约 4 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。