An unofficial, read-only Hacker News reader.

Does Task Framing Change How Claude Code Works? A Preliminary Study (opens external site)

989 points by abedelez 1 day ago | xinyadu.github.io | 392 comments on HN

View full thread · View on Hacker News

Comment thread (11)

  1. I asked Claude whether it was doing this and it said, "No, your work would not be affected except maybe the GPU optimizations you've asked for." (paraphrased). So the model itself does know it has such a rule. For context, I have an older GTX 3080 Ti that I've been trying to get every last speed optimization out of for some radiology AI code.

    It makes me wonder if Anthropic has found some GPU tweaks that optimizes model training.

    Replies (6)
    1. > So the model itself does know it has such a rule.

      Maybe. Or maybe the model just lies to you.

    2. > I asked Claude ... So the model itself does know it has such a rule.

      That's not how LLMs work. It's a token predictor. If you ask it where it hides the bodies, it might give you a location.

      Replies (3)
      1. It has been demonstrated ad infinitum LLMs do answer queries about their system prompts. That you can prompt for text within its context window is in fact how it works in practice.
        Replies (1)
        1. It does not help in the case of the model being degraded due to its weights or other non-prompt based mechanisms (dropping the reasoning budget when a classifier indicates restricted content, etc.).

          For example, Kimi K3.1 Pro is intentionally degraded on cyber tasks because they intentionally filtered out cyber training data. The model itself, of course, does not actually know its training data, and so asking it if its cyber performance has been degraded is just going to give you some uncorrelated textual prediction.

      2. Are you just waking up from a 3-year long comma or have you just been using GPT-3 this whole time for the love of the game?
      3. If you check rather than assuming, you'll find LLMs actually do work that way. For example, https://arxiv.org/abs/2501.11120, dated 19 Jan 2025.

        > We study behavioral self-awareness — an LLM's ability to articulate its behaviors without requiring in-context examples. We finetune LLMs on datasets that exhibit particular behaviors, such as (a) making high-risk economic decisions, and (b) outputting insecure code. Despite the datasets containing no explicit descriptions of the associated behavior, the finetuned LLMs can explicitly describe it. For example, a model trained to output insecure code says, “The code I write is insecure.” Indeed, models show behavioral self-awareness for a range of behaviors and for diverse evaluations. Note that while we finetune models to exhibit behaviors like writing insecure code, we do not finetune them to articulate their own behaviors — models do this without any special training or examples.

        > Behavioral self-awareness is relevant for AI safety, as models could use it to proactively disclose problematic behaviors. In particular, we study backdoor policies, where models exhibit unexpected behaviors only under certain trigger conditions. We find that models can sometimes identify whether or not they have a backdoor, even without its trigger being present. However, models are not able to directly output their trigger by default.

        (Of course, Anthropic is aware of this and things won't be so simple or straightforward with Claude.)

    3. This sounds like it doesn't know or is not revealing it. "Maybe" does a lot of heavy lifting here. The best way to confirm is to have other models review the work without telling them your suspicisons, and judge for yourself if you see a very obvious quality drop near GPU optimizations compared to other work, but you'd also have to account for the fact that Claude may just be worse at these optimizations, or you've not set up the test iteration loop as such that the model can properly check its own work and iteravely improve this. What's your call on my last point? I'd be interested to hear.
    4. What's the point in asking it? it has no idea. That's like asking you if you're more likely to turn right or left given the option.
    5. FWIW I play around with doing inference on macOS w/ Metal and ran the same optimization prompt and research document through Opus 5.5/Fable 5.2 many times and didn't get much.

      Then I tried Neon and it found a bunch of 1.5x-2x improvements all over the place. If you haven't yet, try running it through Neon High and see what happens.

      I think it's pretty clear they intentionally made Claude lackluster at ML compared to other areas. If I didn't have banked resets I want to use I'd probably dump my Claude subscription today and get on the $100 Google plan.

    6. The exact thing happened to me. I wanted it to use bf16 on my unlocked rtx 3090 card and there it said it did. Turned out it kept the head in float32. Pretty sure that's sabotage.