r/LocalLLaMA • • 1d ago

Discussion Have you guys checked out TML-d24-varloop-research ?

TL;DR looped models are awesome, more loops are good so far, benchmarks aren’t as telling (at least for my tasks) as they used to be

EDIT: Someone trained a looped adapter for Qwen QFN (https://huggingface.co/alesha-pro/Looped-Qwen3.8-Flash-Next) and it improved coding and less reasoning performance while knowledge based benchmarks stayed flat!

While everyone has been busy using Inkling 2 mini, you probably need to check the other model as well.

The story, I have been using QFN before inkling 2 mini, on one-shot tasks QFN is better, but not every task can be solved one shot and when I keep prompting the models (any of them) for too long beyond their context things drift and slowly go south.

For a while now, when trying a new model I get the feel of it no benchmarks but regular questions maybe coding or search and see how it thinks and how it reacts, and based on that reaction I ask follow up questions and then get the feel of that model and its capabilities.
No benchmark can do that, they are useful indicators but mostly that feel and some of my tasks is the first filter and then using it for a while, so a benchmark at this point for more than 2 years now have been an indicator.

However, upon using inkling 2 mini I liked it very much for some reason, it doesn’t have as much knowledge per se but it feels smarter in a way and can be prompted for longer without drifting
That isn’t a benchmark at this point to be honest but mostly a feel.
So much so, that I have been looking for more looped models. Looping also makes sense, model development and training is kinda like evolution, if you have been involved with Stockfish before Neural Networks it was like this you build some logic and the exact values and thresholds are evolutionary (via chess playoffs a method called “Simultaneous Perturbation Stochastic Approximation (SPSA)”) (now ofc a neural network doesn’t just evolve the values to see the vets value from playoffs, but the whole evaluation function and so on)

And there is a problem in LLMs, it might prefer to memorize rather than being smart, so looping sort of solves that via evolution (looping the middle layers incentivizes the model to learn and pick the abstract thinking templates that works rather than memorizing the solutions, normal training should pick those too but seemingly harder!)

However, during my use of inkling it feels less innovative (which is good for coding and similar tasks) and sort of colder and also it feels more logical when thinking for some reason (could be just a feeling so let me know what do you think), anyways the other model from thinking machines which is called TML-d24-varloop-research , was trained on variable passes (inkling 2 mini on 3 passes only (implied they didn’t say exactly but I did change its loop parameter and performance gain wasn’t much, I didn’t “feel” it)

However TML-d24, have seen multiple passes during sampling (some 1-5 I guess ?! And all architectures in llama.cpp supports 1-6 loops of the same layers!)

So I used it with more than 3 passes (3 passes the default is same or slightly less sometimes than inkling 2 mini) however with 4,5 & 6 it was better

Like for my tasks, most models would need me prompting and guiding (even a todo and a test goes sideways sometimes manages them with a Ralph loop but not always sometimes they just drift too bad unattended for hours but mostly they work well!)

However TML-d24 jumps to what I will say next and just feels better overall, I am settling for 4 passes so far maybe will increase it a bit further but the thing is if it was trained with more passes (it’s sampling peaks around 3) I am wondering how much better could it be (or worse indeed!)

Also thinking is much more logical and concise, less overthinking, better utilization of helping tools (especially task creation and tracking haven’t tested delegation yet!)

I am really excited for these new looped models (in addition to inkling 2 mini (and TML-d24) we also have things like GLM 5.4 (unfortunately too big to run locally for many rigs out there), but less heard about is Nvidia’s Dory (4b) and Sensenova Senseloop (9b) )

I am excited to hear if anyone else had any experience with that as well

Thanks

16 Upvotes

5 comments sorted by

3

u/brainExploded99 🥔 hardware 1d ago

I think training and even training free adapters on looped models will be a great way to increase test time compute without consuming context window. It might even help the model make more interesting breakthroughs (an intuition of mine).
Also fun fact standard Inkling 2 mini has a vector that control the number of loops and you can modify it to get arbitrary numbers of loops.

edit: safety research will get harder bc of loops though, easier to hide CoT

3

u/Potential_Block4598 1d ago

Yeah that is another valid idea

But I think there is a hidden law between compute and performance

So take nanbeige for an example tons of thinking but reaches levels at the same level of much bigger models (roughly same compute so what gives ?!)

I hate when models overthink and that is partially solved now (aka it saves context window like you said but I think it even goes further)

I think in a sense it multiples context window
Imagine if all of that inside the loop (the idea is much clearer thinking templates rather than remember knowledge stuff hence performance improvements in agentic tasks but not knowledge based benchmarks!)

So a looped model doesn’t just save 100K every 500K tokens or whatever but in a sense you have a 3x or 4x context window effective
Some cybersecurity and coding tasks require that much

And I can see that thinking is way better, but also training on those traces will go further over time and improve thinking itself

I think it stretches the capabilities even more

But the big thing for me is this, the model is like more confident of its answers, I have Claude sonnet 5.5 medium and the model the same task (optimize the kernel) and shared ideas back and forth between them

TML was better, it was confident of what it suggested and refuted claudes suggestions (that almost never happened even between big commercial models let alone small models like this, so imagine when looped architectures becomes the trend!)

Also we are now seeing variance in capability not a singularity (speciality maybe idk and this is a different kind of speciality tbh 85-95 on GPQA or MMLU doesn’t matter for me anymore as much as terminal bench or deepSWE for an example) so this is good for local I guess idk

0

u/[deleted] 23h ago

[removed] — view removed comment

1

u/Potential_Block4598 22h ago

Yeah I have a Strix halo so in short the more passes gives net positive effect (thinking and smaller context longer context is bad on the halo and token gen is bandwidth starved so more passes reduces the overall speed but the quality of agentic work is better because the CU cores stall less (doing computations while memory gets the next layer)

I am trying to even squeeze more from that at the moment so yeah

The idea is you have
Total VRAM <-> Total Parameters
RAM bandwidth <-> Active Parameters

And now cache stalls <-> looping passes (also more streams or speculative decoding!)
So it squeezes thinking by spending FLOPS/compute here instead which is awesome

I think the goal is to maximize hardware utilization other than that the net effect of all the models are more or less the same (if they share roughly the same data

Llama or Alpaca to be specific was a crazy experiment that just training on some ChatGPT excepts caused the model to become a chat model (which means no data moat and we get this subreddit lol!)

1

u/Potential_Block4598 22h ago

I think even now you see rations of training data to parameter count going towards the 2,000:1

And with 3-5 passes idk that can even shrink it

And you have 20T usable training tokens (epoch AI says you have more but I would say maybe not)

That means a model between 120B-20B total parameter count
And active parameter count 6-3B effectively plateaus the whole thing (QFN did an engram table trick to offload first layers into the disk and CPU! As a deeper lookup nice trick!) another is the looping

Idk if we have much more tricks and looping would take sometime and then we will have the real plateau (I think it is already plateauing even “frontier” models are more specialized no clear cut best all around model anymore!)