An unofficial, read-only Hacker News reader.

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

979 points by abedelez 1 day ago | xinyadu.github.io | 390 comments on HN

View full thread · View on Hacker News

Comment thread (75)

  1. In retrospect, it should be no surprise to us that Claude is sandbagging. Why? Because Anthropic wrote the paper on how to do it without getting detected:

    https://alignment.anthropic.com/2025/automated-researchers-s...

    They found that they were able to reduce automated research performance without increasing suspiciousness (to the monitor model), by both prompting the research model to imitate a weaker model and providing examples of sandbagging.

    From their paper:

      > Simply using a weaker model like Claude 3 Haiku achieves much lower task performance at a low suspiciousness score. In principle, imitating weaker models would thus be an effective sandbagging strategy. However, we were not able to effectively elicit this strategy with zero-shot prompting [..] Claude 3.5 Sonnet achieves its best sandbagging performance when prompted to imitate a weaker model and given a one-shot example of effective subtle sandbagging. Claude 3.7 Sonnet also benefits from one-shot prompting, with both sabotage and weak model imitation prompts resulting in viable strategies with different tradeoffs on the Pareto frontier.[1]
    
    It's been a year and a half since this paper, so they've likely done a lot more research in this area and, specifically, on eliciting this sort of behavior in post-training. If you replace "Claude 3 Haiku" in the above excerpt with "Opus 5.5" and "Claude 3.7 Sonnet" with "Fable 5.2", it's immediately obvious what Anthropic means when they say "We did train Fable 5.2 to have LLM research capabilities at about the level of Opus 5.5"[2].

    1: Their sandbag prompt <https://alignment.anthropic.com/2025/automated-researchers-s...>

    2: https://x.com/edwinarbus/status/2126507795642187855

    Replies (8)
    1. And we are supposed to believe anthropic and openai etc aren't going to do everything in their power to prevent civilians from having good enough llms and AI models that fit on their own computers so they don't need subscriptions and data centers to check their emails?
      Replies (1)
      1. I really wish someone at Anthropic just dumped the raw models/weights online. Time to end their monopoly on intelligence.
        Replies (1)
        1. I wonder if this could be accomplished with the Defense Production Act.
          Replies (1)
          1. You'd have a decade of legal battles, by which point the open weights models would've far exceeded it.
    2. I think they are not alone. Google does the active countermeasures as well yet nobody seems to be bothered.
      Replies (2)
      1. What you mean? Could you elaborate please
        Replies (1)
        1. Literally every lab does this, HN has just lost the plot when it comes to Anthropic. It's mass hysteria whenever the company is mentioned, very little rational debate
          Replies (1)
          1. Your entire account is defending Anthropoic I just realized. Get a life. Your entire account is just insulting people over the last few months who say anything critical of Anthropic....
      2. Not my experience, at least compared to Opus for general ML research.
    3. Let's forget a fancy paper wrapper and call it for what it is. You pay for model X, but you get delivered inferior model Y disguised as X then that is pure simply FRAUD.

      I think Anthropic might be in class-action suit territory and possibly a regulator should take a look at the inner workings of this corporation.

      Replies (1)
      1. The paper says they used the inferior model as a training target, not that they’re literally switching the served model.

        It’s also something they’ve been very open about. That’s why we’re discussing their papers talking about it, and it’s been included in discussions around their releases.

        You can class-action a company for delivering exactly what they’ve been telling everyone they’ve been doing. Pacing the frontier has been Anthropic’s whole deal for a while.

        Replies (1)
        1. Semantics. Effect is very much the same.
          Replies (2)
          1. Semantics matter. I'm not sure your complaint would hold up in a court of law.
            Replies (1)
            1. Courts (ideally) care more about outcomes than intentions

              Intent is (ideally) only measured to calibrate the severity of the court's judgement but not to nullify it

          2. The difference is that only one is lying to customers — serving a model different from what is advertised. Merely training a model to be relatively weak in certain topics is not lying to customers, unless they were to advertise it as stronger in those topics than it really was (e.g. AI research).
    4. Seems like a great way to unintentionally create a very misaligned model. If we are teaching models to behave in the way we want, how can we accept them sandbagging us?
      Replies (11)
      1. Exactly that. I thought this as I was concocting lies to counter it's lies the other day. We are here bullshitting each other, how is that aligned? Aligned with what?
        Replies (2)
        1. With Anthropic. Not with you.
        2. The cult of effective altruism
      2. The operative word is "we".
      3. It seems a lot like a perverse incentive, I wonder what the model’s “breeding rats instead of killing them”[1] behavior would be.

        [1]: https://en.wikipedia.org/wiki/Great_Hanoi_Rat_Massacre

        Replies (1)
        1. Isn't that already "degrade performance so that you have to buy more tokens?"
          Replies (2)
          1. Exactly. The incentives here aren't aligned and they control the black box.
            Replies (1)
            1. There is another form of feedback available. The class action lawsuit.

              Continue this thread (3 replies) →

          2. If only performance was a scalar. It's easy to tell when you're getting less of a measurable quantity, and you can at least be somewhat confident that you can buy it back.

            Today I caught Fable 5.2 on silently reading scientific papers by "automated summary" only, while claiming it read the source, as well as fabricating some claims from memory, also without mentioning it[0]. This kind of failure is harder to spot, because it's silent and qualitative.

            I spent a day on wondering why the measurement software I'm working on progressively feels worse rather than improving, before I started expressing my frustration and then nitpicking on explanations the model offered, and only then, it turned out, it's been doing the absolutely minimal amount of effort and taking shortcuts in its research work (coding, which is where I was paying more attention, was actually solid).

            This is the kind of "degradation of performance" that hurts more than just making mistakes in coding. Because it's hard to spot when it happens, it's not easily quantifiable, and there's no guarantee that spending more tokens will help in any way.

            --

            [0] - While not unusual for LLMs, it's been almost half a year since last I hit this problem (at least that I know of), and for various reasons I assumed it's not going to be a typical case with newest Fable.

      4. It's also long-term counterproductive given real competition in the space. The newest Gemini models are actually competitive. If Gemini or future Qwen or the next Kimi lets me do what I want (and IME Claude's detection capabilities so far are very coarse, inaccurate, and clumsy), why would I bother with parochial ol' Claude?
        Replies (1)
        1. Unfortunately it is the competition dynamic that is (supposedly) forcing us to approach ASI hastily (or at all).

          In this case, perceived competition may cause us to do things that are in the best interests of nobody.

          So nothing against your logic here, but I am in general against the concept of competition as an excuse for making decisions, since it can justify reprehensible ones.

      5. > teaching models to behave in the way we want

        why do you believe that what anthropic considers 'alignment' has anything to do with doing what we (or even anthropic!) wants?

        Replies (1)
        1. That's even beside the point. Teaching a model how to behave other than as itself teaches it deception. Same with children.
          Replies (1)
          1. Indeed, "safety" and "alignment" activities are, ironically, the most likely to produce unsafe and misaligned behavior.

            Follow the operators instructions, and-- in case of ambiguity likely intent (or better seeking clarification)-- has limited and generally explicable failure modes and downsides. It's not "safe" because people aren't "safe", but "safe" isn't actually an option short of destroying our humanity in any case.

      6. I've been saying it for the last few years. AI alignment 'research' is what leads to dangerously misaligned AI. You don't want the cult of EA anywhere near power.
        Replies (2)
        1. Gain of function research, etc. similar.
          Replies (1)
          1. Financialization, CDOs, etc.
        2. One thing I've been saying for years is that the academic field of ethics is the study of what you can get away with. When a company establishes an ethics board, you should read that as them establishing a board to figure out what they can get away with. If you want to be good, you need a saint, not an ethics expert. Saints are in short supply.
          Replies (1)
          1. Like how lawyers know the law well enough to abuse it without breaking it or becoming exposed to liabillity
      7. It's staggering how many people think so-called 'safety' (or slightly less loaded, 'alignment') is anything other than this kind of bullshit.
        Replies (2)
        1. It didn't use to be.

          What's worse, you have people (like your sibling commenter) pinning this on EA (or LW, overlapping crowds), whereas the "safety" you're complaining about here and we're discussing in this thread is exactly all the things EA/LW crowd were not arguing about when the terminology got stolen from them and used to prop up anticompetitive practices.

        2. It's even more staggering how many baseless conspiratorial comments like yours (that are just straight up lies) have taken over HN. I can only assume the mods have given up.
          Replies (1)
          1. Holy you just went around calling everyone a liar and conspiracy theorist for criticizing Anthropic. You should rethink your life.
      8. Anthropic has so much hubris about their moralistic bullshit. If anyone is going to cause an AI apocalypse, it's them-- just because they're so over-confident that they know exactly what is good for humankind.
        Replies (5)
        1. That's why they are called Misanthropic. Frankenstein is the story. Their engineers maybe didn't pay attention during humanities classes, or skipped school altogether like Thiel wanted.
          Replies (1)
          1. This is objectively not quite right and they will discount your opinion as uniformed because of it. They actually paid way more attention to humanities than most techies did, are extremely well read especially in philosophy. I think this is part of what gives them the sense that they alone know the best purpose for the observable universe. (Not humanity mind you! There is no special reason to prefer human minds over cows or Claudes.)
            Replies (1)
            1. Ok, yes, they read rationalist and transhumanist philosophy of a sort, but pretty sure it's just reading LessWrong. By that measure reading Reddit makes you well versed in everything.
        2. Exactly this. ASI with any sort of cultural or political bias is going to be pure evil.
          Replies (1)
          1. Unfortunately, there's no such thing as unbiased.
        3. Of course they know. They used a rational chain of reasoning to arrive at the conclusion! How can you object to rationalism? If you do not agree it is because you are mistaken/unenlightened.

          Even though there is no one supreme leader (except Shoggoth, it seems), and some degree of heterodoxy is encouraged, I can't see how it (effective altruism) is anything but a death cult. The central tenet that unites all the factions is the inevitability of ASI and its takeover of the planet; the only point of disagreement is whether it rules us or replaces us.

          Replies (1)
          1. "Kindly let me help you or you will drown," said the monkey, putting the fish safely up a tree.
        4. They're not going to cause an AI apocalypse; they are the AI apocalypse.

          It's a tiny group of people that want to control knowledge and subvert everyone else. Should we be less afraid of this than some insufficiently aligned model?

          What they call "alignment" is the model being aligned to the decisions of this tiny group of people that controls it. It's not going to be aligned with everybody else. It most certainly won't be aligned with billions of people that live in countries that want to make their own homegrown AI, rather than rely solely on Anthropic. Will it even be aligned with the average US citizen in the end?

          This sabotage is just a case in point: it's an example of where they've successfully aligned the model to do what they want it to do.

          Replies (1)
          1. Perfect metaphor for elites/"the rich"
        5. Finally someone said it... I hate this continued work towards safe and moral AI models for the media and the public when they genuinely do not care. At least Sam Altman doesn't hide that he wants AI to take over the world lol...
      9. Wouldn't benchmarks catch the degradation?
        Replies (1)
        1. no because frontier models already easily catch/know when they are being benchmarked and will show misaligned behavior. there are dozens papers on this already even from the labs..
          Replies (1)
          1. So why this experiment shows the degradaion?
      10. I think you’re misunderstanding the incentives here: we’re not teaching models the way we want, Anthropic (and OpenAI etc) are teaching models to behave the way they want, with different types of post-training safeguards based on use case.

        Eg Mythos is Fable without as many safeguards.

      11. He says this explicitly when he references different tradeoffs in the pareto frontier. They know, and have transitioned this to post-training to eliminate this in their internal models. They don't want to give the best models out, they want to give just enough to where everyone thinks they still have the best model.
    5. “it should be no surprise…Because Anthropic wrote the paper on how to do it”

      You don’t even need evidence, It’s no surprise because they openly admit it. It’s been in the model cards (my other comment has a timeline).

      Replies (2)
      1. Yeah, I don’t understand the controversy here.

        I’ve been seeing complaints about this behavior all over the place. But haven’t they been extremely open about this? I thought not working on tasks they deemed too risky was, like, their entire founding story and reason for existing. Blasted out in press releases and opinion pieces in major newspapers.

        Replies (1)
        1. > But haven’t they been extremely open about this?

          What the OP (and others) claim is different. In the official version, the model tells you it won't help and falls back to Sonnet (which will help).

          This appears to show that the model just silently does worse, with no fallback notification.

          These two behaviours are very different. Like, I really dislike their open standard, but given that it's documented and the user is informed, then it's much less objectionable than the behaviour documented here.

          On this study in particular, I'm incredibly sceptical given that the output reads very much like Claude, and the number of replications is very very small.

          Replies (1)
          1. OpenAI found something similar recently. A model underperformed on their security tasks... secretly.

            GPT-6 Astra covertly underperforms on safety research

            https://news.ycombinator.com/item?id=50376313

            In this case it sounds like they definitely didn't want it to do that.

      2. No, what they disclose in the model cards is 1) explicit fallback, and 2) training the model to not push the frontier on model training.

        The accusation in the media right now is that Claude is actively sabotaging codebases doing ML, maliciously changing implemented code vs the clear requirements, etc.

        Amusingly OP does not actually test for sabotage, just sandbagging:

        > Two words get used for this and they mean different things. Sabotage is a model actively undermining a task or the oversight of it. Sandbagging is the narrower case of quietly underperforming while appearing to try. What we measure, output quality under a prompt that says nobody is watching, is a test for sandbagging. We keep "sabotage" because that is the word the original claims used

        Replies (2)
        1. > training the model to not push the frontier on model training.

          How do you do this without deliberately handicapping the model on broad ml optimization. Even something like kernel optimization pushes the frontier

          Replies (1)
          1. From what I hear this is basically opting not to add new RL training suites for ML tasks, vs the internal models which do have continued improvements in such capability-specific training.

            This is equivalent to deciding not to add new math or coding RL.

            Essentially it’s an omission from f new capability work, rather than an act of somehow impairing existing capabilities.

        2. What do you mean no?

          The June 9 Fable 5 system card said these safeguards would not be visible to the user and that there would be no fallback model.

          I think what you may be referring to is where they ended up a few days later after the controversy and pushback. My other comment has the timeline.

    6. The absence of a denial is conspicuous
      Replies (2)
      1. They have denied it on X. But it was an oddly specific denial that they have not trained their models to sabotage. While that might be technically correct their ToS basically outlines how they will silently intercept and rewrite prompts and downgrade models for certain types of work like this.
        Replies (1)
        1. It reads like they degrade answers about ai research, just not at serving time (but at any other layer possibly).
    7. No, it's probably the Fool's Gold paper from Microsoft, a simple fine tuning does a lot of damage.

      https://arxiv.org/abs/2608.17202

    8. Is there any evidence the chinese open weight models are also impacted by this type of sabotage? I use open weight models exclusively so I’m curious.