An unofficial, read-only Hacker News reader.

Claude sabotaging ML research tasks? (opens external site)

813 points by baobabKoodaa 2 days ago | twitter.com | 343 comments on HN

View full thread · View on Hacker News

Comment thread (23)

  1. Similar experience, I asked Claude Opus 5.5 help me fine-tune Qwen 3.8 27B for better writing style. It tried 5 different approaches, wasted a week of my time waiting for training runs to complete, and in the end achieved nothing.

    Just today, I gave Gemini Carbon the same assignment, and in 2 hours it improved various style metrics 50-90% percent just by adjusting llama.cpp serving parameters and tuning the prompt. Most of the time was waiting for evaluation runs to complete.

    Replies (5)
    1. I'm due to renew my Claude account next week and I've been thinking hard about just keeping Gemini, since the code is almost on-par and the limits are much better... Plus I get better answers and not as many guardrails, so at this point I'm not even sure why I'd keep Claude around... Crazy to think of Google as a lesser evil in this case.
      Replies (2)
      1. Google's doing a Black Friday deal for their plans that include AI, so maybe check that out.
        Replies (2)
        1. Where can one see such deals?
          Replies (1)
          1. Should be https://one.google.com/about/plans

            It seems like they might not be offering the deal to everyone though. The most attractive option, if they offer it, is probably the "Google AI Pro (5 TB)" for $100 for the first year (not to be confused with the $100/month Google AI Ultra).

            Replies (2)
            1. Thank you.
            2. Showing $199.99/yr for me but it did have a 6 month free trial (I think related to Pixel 11). Thanks!
        2. That's only for the Pro sub, not the Ultra one.
      2. I dumped Anthropic for Gemini last week after running Neon for a couple weeks. It’s at Opus levels, cheaper, and you get a bunch of Google services (YT Premium) with it. No brainer.
        Replies (1)
        1. Can anyone comment on the suitability of Gemini models for reverse engineering and cybersecurity work?
          Replies (2)
          1. I dont do RE, but I can comment to the fact that I had multiple requests denied to audit my own software for vulnerabilities using Claude, ans none using Gemini. Gemini just muscles through and tickets.
            Replies (1)
            1. I've been throwing various AIs at video game controller firmware decompiling, and I've definitely gotten some refusals from Claude and Gemini. Not really keeping track of which one more, but Codex has been happy to go at it.
          2. If you task Gemini to delegate to Claude and Claude overly reactie [cyber] kicks in, Gemini will simply adjust the prompt slightly to have it power through. Quite fun to see. Only saw Gemini Carbon block outright with Heretic for alliteration. Argon lowered through. Personally only drive everything now with Argon and let it delegate to Astra / Opus / Fable, and now also Neon
    2. writing style do you mean for documentation or prose?
      Replies (1)
      1. Creative writing style, abliterated Qwen had quite a few style tics that sounded OKish once but became obnoxious when repeated all the time.
    3. Just curious, at sort of style metrics do you use?
      Replies (1)
      1. Here is the list of metrics Gemini Carbon came up with, the first group from my complaints, the second group all found by it:

          Tier 1 (User-reported style issues):
            P1: Polysyndeton ("and X, and Y, and Z" comma chains, bare 'and' chains, sentence-initial 'And' runs)
            P2: Overused "X the way Y" comparative/manner clauses (excluding spatial idioms like "all the way")
        
          Tier 2 (Additional discovered model style issues):
            P3: Tautological copular / anadiplosis chains ("and the X was the Y", "was the point / thing")
            P4: Negative parallelism / contrastive correction ("Not X. Y." short fragments & "not X, not/but Y")
            P5: Verbless / telegraphic short-sentence stacks (runs of >=3 sentences of 1-5 words)
            P6: Inanimate speech attribution ("that said *...*" / "saying *...*")
            P7: Runaway *italics* emphasis & degenerate repeated 3-word adjective mantras ("specific, warm, alive")
            P8: Crutch modifiers ("specific", "particular", "architecture/geometry"), em-dash stammers, & plan meta-bleed
    4. > wasted a week of my time waiting for training runs to complete

      A tip i got from a machine learning researcher: if you have a new training pipeline always run it with “toy-problem” sized parameters first. Where you can run the whole training in less than 10 minutes. Because it stings a lot less to find out that your loss is not comming down if you can learn that in minutes vs days.

      The other advice he gave me was to try to overfit your model. Which is counter intuitive because you usually try to avoid that. But if you have way less training data than what you think your model would need it should learn that fast while of course not generalising well outside of it. And if that is not what you are seeing then probably you still have some bugs.

      Replies (1)
      1. Interesting. If I'm reading this right, overfitting intentionally can be used to validate a training pipeline. i.e. if you expect it to overfit, and it doesn't, that reveals a problem?
        Replies (3)
        1. Yeah I tell people to validate and test on your training at first. See how high you can get the recall. If it can't remember the training set, it's not going to be any good on the test set. Once it's great at remembering the training set, then you want to start with regularisation and validate on a separate set and test on a yet distinct set.
        2. Yes, this is usually done on a very small amount of data. Generally 1-4 batches and a large number of epochs (e.g 1000 and you can kill the run if loss goes to zero)
        3. https://karpathy.github.io/2019/04/25/recipe/

          > overfit one batch: Overfit a single batch of only a few examples (e.g. as little as two). To do so we increase the capacity of our model (e.g. add layers or filters) and verify that we can reach the lowest achievable loss (e.g. zero). I also like to visualize in the same plot both the label and the prediction and ensure that they end up aligning perfectly once we reach the minimum loss. If they do not, there is a bug somewhere and we cannot continue to the next stage.

    5. You sure Carbon didn't dip into the Claude history to benefit from a week of trial and error right off the bat?