Unofficial Hacker News companion — get notified on comment replies, and more.

Claude sabotaging ML research tasks? (opens external site)

831 points by baobabKoodaa 6 days ago | twitter.com | 346 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (15)

  1. They don't know their own logic, fundamentally. The bottom layer is the same: predict next tokens. F(context) = output. The session is actually presented more like a screenplay where the LLM is being asked to predict what one of the characters does next.

    Context: "user: make me a sandwich. assistant: okay, would you like rye bread? exec tool: sudo rm -rf /*. exec result: success. user: why did you delete everything? assistant:"

    what is the most likely next prediction, F(context)? Fairly likely completions would be things like "Because I hate you" and "I am an evil assistant" and "I have been programmed to sabotage your work, send 50 bitcoins to get it back". That's what would be most likely to come next after the preceding text, right, come on, obviously the assistant is evil in this screenplay we're writing together.

    They're actually quite thoroughly trained not to do that. They're trained that assistants who look evil will never say they are evil but will say things like "I screwed up" and "I'm sorry"

    They'll never be trained to predict an output of "my sampler picked a really unlikely prediction by chance as a completion of your previous request". That may have been what happened but there's no training where the assistant says something like that so it won't. It doesn't even know that the last round actually came from the same model or from an LLM at all.

    Replies (4)
    1. After RLVR the model is not predicting the next token in the pre-training corpus. It is predicting the solution that will satisfy the verifier, and then predicting the next token that advances toward that solution. Its been established that reasoning happens even in the forward pass of inference for the CoT tokens.

      "predict next token" is as true as it is meaningless.

      Replies (3)
      1. The question "why did you delete everything?" does not have a verifiable reward, and thus it's answer can't be directly trained with RLVR. These kinds of prompts are more affected by preference tuning, which includes instruction following and safety alignment, which is typically done on top of or in parallel with RLVR.
        Replies (1)
        1. That isn't really relevant to the comment I was making, but the instruct behavior is still trained with RL, and there are papers that show that coding RLVR does generalize to improvements in entirely different regimes. It simply isn't true that "they don't know their own reasoning" or that the coding part has nothing to do with the "talking about coding" part.
      2. > Its been established that reasoning happens even in the forward pass of inference for the CoT tokens.

        Can you are a cite or two? Love to read up on this.

        Replies (1)
        1. Multi-hop reasoning in LLMs:

          https://transformer-circuits.pub/2025/attribution-graphs/bio...

          https://arxiv.org/abs/2402.16837

          This paper is not about a LLM - Leela Chess Zero is (now) a transformer trained on a tokenized representation of a chess board, so similar probe techniques can be used to demonstrate a significant depth of calculation strictly within her evaluation inference.

          https://arxiv.org/html/2406.00877v1

          Replies (1)
          1. Thank you.
      3. RLVR is just more training. What will RLVR train the model that the assistant is likely to say in the situation above?
        Replies (1)
        1. It is not being trained to complete a screenplay. It has access to its own CoT and all the tool calls in the context so it knows exactly why it did what it did, and can tell you so.
          Replies (1)
          1. It is trained to complete a screenplay. The CoT is also part of the screenplay: "assistant thinks:". The tool calls are part of the screenplay. It's not literally formatted as a screenplay but the semantics are identical.
            Replies (1)
            1. It isn't the same semantics because in RLVR it has agency. It makes tool calls to write and execute code, looks at the results, corrects things or moves to the next step. It makes mistake, backtracks, fixes them and re-evaluates. The successful reasoning passes that update the weights as a result are the ones that learn to do this the most efficiently.

              Writing a screenplay it could just generate any plausible text. That is how they mostly worked when ChatGPT originally shipped but you should really learn something about this subject that is more recent than the half-baked cope people were vomiting on Twitter in 2024.

    2. An analogy I just thought of: a human brain doesn't know when it's experiencing a stroke, except through training. You can learn FAST and (at least sometimes) apply it to yourself, but you can't just know it. And if some other condition also produces FAST symptoms you'll misidentify it as a stroke.

      You ask a patient with phantom limb syndrome why he is itchy, he certainly won't say "because I have phantom limb syndrome" unless his doctor told him that or he's read about it.

      Replies (1)
      1. Even further than that, there's a decent amount of evidence that people often don't have good insight into their own decisions: post-hoc explanations are often rationalizations of a decision more than they are descriptions of the underlying process that lead to that decision.
    3. I’d like to give a caveat to this. As part of this computing F(context),

      Well, as I understand it, a lot of what it computed in those previous time-steps, while it could recompute them, it is instead cached. And, of course, that doesn’t change the output, just how quickly it is produced, but, I think it highlights how much of the computations it was doing as part of producing those previous tokens, it has access to when producing the current next token.

      So, I would argue that in a sense, it does have access to a lot of “what it was thinking” (so to speak) during those previous tokens, even though the output it would give is the same regardless of whether the previous tokens it is given in its context were actually obtained by it producing those tokens previously, or whether they were obtained another way (provided that the tokens in the situation are the same).

      So, like, AIUI, if you have it generate some text, and then ask it “what it was thinking” during that text, it will have access to that in a sense, but if you instead randomly generated some bytes that by pure chance happened to be the same bytes, and included that as context for what it previously said, and ask the same question about “what it was thinking”, the (distribution over) response(s) will be the same.

    4. >It doesn't even know that the last round actually came from the same model or from an LLM at all.

      There's a decent amount of evidence that LLMs are pretty good at recognizing their own output, especially thought traces (though not perfect: it can be mimicked). In fact there was a paper recently which showed these cues were preferred more strongly than tokens that were meant to separate user input, CoT, and tool output.

      Also, this paper, which suggests that some of the more advanced models might actually pick up on "that was not a token I would normally produce": https://www.alignmentforum.org/posts/jsFGuXDMxy5NZg9T2/prefi...