Home / Models & Releases / Article
Models & Releases

Learning/RSI through ngrams?

R/

r/LocalLLaMA

September 11, 2026 at 07:45 PM

πŸ“Œ Hey gang, im wondering if you in theory could use ngrams as seen with Qwen 3.8 Flash or DS4.1 in order to dynamically train the model? Normally the ngram embeddings behave similar to a lookup table of sorts. So instead of every token having to be represented only inside the main model weights, the model can look up a learned vector for a certain ngram and use that during inference. What I'm wondering is: couldn't you make part of this table writable during inference? For example, keep the or...

Hey gang, im wondering if you in theory could use ngrams as seen with Qwen 3.8 Flash or DS4.1 in order to dynamically train the model?

Normally the ngram embeddings behave similar to a lookup table of sorts. So instead of every token having to be represented only inside the main model weights, the model can look up a learned vector for a certain ngram and use that during inference.

What I'm wondering is: couldn't you make part of this table writable during inference?

For example, keep the original pretrained ngram embeddings read-only, but have a second "live" table on top of it. When the model learns something new, it could update/add an embedding there. Frequently used or reinforced entries could stay, while unused ones could slowly decay or get removed again.

This could be kinda mimicking the brain of sorts since it would form new "memories" but forget old ones (because their linkage gets weaker). Plus since you only have to target the live table it could be very fast, even during inference.

Just a thought I had and wanted to hear your guys opinions.

submitted by /u/RapidRaid
[link] [comments]

Read the full article at

r/LocalLLaMA

Visit Source β†—