Qwen 3.8 27B is excellent, but it defaults to overthinking things

(simonwillison.net)

47 points | by bilsbie 2 hours ago

8 comments

  • SwellJoe 34 minutes ago
    This is true, but I think it understates the problem. I did a task I've done with a bunch of small models lately (https://github.com/swelljoe/flar/pull/17), and it did an excellent job, the best of any self-hostable model. But, it took eleven (11!) hours on my dual GPU setup. It really chewed on it, and spent a lot of time checking and re-checking. It is by far the slowest model I've used for the task. GPT 5.5 did a similar task in about 20 minutes. Most big models took about an hour or so, and most small models needed a couple of hours (but did a worse job).
    • simonw 25 minutes ago
      Was that with the default xhigh reasoning setting? I suggest trying again with reasoning set to low or turned off entirely.
      • SwellJoe 8 minutes ago
        Yes, default everything, no tuning, 8_K_XL Unsloth quantization on dual Radeon V620 GPUs (which aren't blazing, but faster than the Strix Halo).
  • mmastrac 14 minutes ago
    I have a private benchmark for disassembly of 80s CPU code and Qwen either does really well or spirals into insanity (looping, failing to call tools). Nemotron is beating it pretty handily, despite being considered a weaker model.

    I think it was overtrained and I am starting to suspect that 27B is just not enough to be psychologically stable.

  • andy99 2 hours ago
    The big problem with overthinking on a dense model is obviously the speed hit you take. Going from Qwen 35BA3B to 27B for me is about 7-8x slower (should be ~9x?). This makes me a lot less patient for useless thinking tokens.

    I’d want to compare this to the new Muse 30B model which is super terse and has a whole different way of thinking (no “Wait,”) and in my experiments was way more token efficient to the point that the absolute tok / s didn’t really matter.

  • kamranjon 6 minutes ago
    woohoo! A no-thinking pelican! I hope to see more, it's surprisingly good for just 2 minutes.
  • cyanydeez 22 minutes ago
    --thinking-budget and --thinking-message is all you need in llamacpp to keep it progressing.

    the message can be some combination of tool calling, summarizing, etc. It's overthinking often is a bunch of recursion, so simply stopping t and redirecting is all you need to do.

    If someones building a harness for llamacpp, you can set this per message, so it's possible to dynamically control it by watching for the expansion of the thinking traces, and redirecting it.

    I use the message to tell it to use subagents, add additional logging and to use opencode's dynamic context pruning.

    As such, we'll just whisper here _skill issue_.

    • dofm 15 minutes ago
      Unfortunately in xhigh thinking it goes down rabbit holes in such an extreme depth-first way, that whenever you choose to cut it off, there is a very good chance it will not have got round to musing on even half of the prompt! It doesn’t really obviously loop in xhigh, so I am not sure if an “overthinking guard” proxy would have much to go on, but it does obsessively ruminate on edge cases. I have seen it overcomplicate simple code as a result even in my limited testing.

      Probably the better solution if you want it to be quicker but still fairly thorough appears to be to configure reasoning effort instead of thinking budget. It seems to do very well still even on the Low setting; on the Medium setting it can get stuck in loops like 3.6 does.

      I think xhigh reasoning effort was an absurd choice for a default, and so was not sorting out the chat template so LM Studio could offer the reasoning effort dropdown.

      • cyanydeez 1 minute ago
        to the point though: most of that overthinking is useless if you have a proper redirect message. So setting arbitrary budget and getting it a good message will do the trick regardless of what type of thinking it's doing. The reason thinking seems to work is that it's just trying to find an optimum outside the local optimum, and the thinking trace helps find it.

        The only think I could think that'd be better than the --reasoning-budget would bet a budget jitter just in case it really is repeating a pattern and you want to escape it arbitrarily, otherwise yes, it could keep looping if you're always cutting at the wrong time.

    • bitexploder 15 minutes ago
      Yeah, but be fair. Working with small models is a different ball game. Not all the batteries come included :)
    • bellowsgulch 4 minutes ago
      [delayed]
  • javchz 24 minutes ago
    I wonder if this can be fixed with LORAs.
    • bitexploder 16 minutes ago
      I had to fix this on 35B A3B -- I have a proxy that just shuts it down if it gets to 2K thinking tokens and injects something like "We have thought enough, let's begin working." and it almost always finishes the turn then. It rarely needs more than 2K thinking tokens and if it does there is always next turn. I would need to see what 27B is actually doing, but these smaller Qwen models seem prone to this.
  • deadcatfound 1 hour ago
    For agents, token efficiency is an operating cost. I’d rather have a terse model that escalates hard cases than one that overthinks every tool call.
  • LoganDark 13 minutes ago
    I hope Apple does end up moving to HBM. Unified memory has been a huge godsend, but the low memory bandwidth is just such a killer. Even/especially on M5, where the available compute is starting to starve incredibly badly on ML workloads.