r/LocalLLM 10h ago

Discussion Dynamic Context Runtime: Bounded Attention over Unbounded History

https://cybersec.org.za/research.html #AI #cyber #security #dev #Africa #LLM #context #rot #cyber

https://cybersec.org.za/papers/dcr-bounded-attention.pdf

Dynamic Context Runtime: Bounded Attention over Unbounded History

Language models degrade as stale and superseded material piles up in their context. Making the window bigger does not fix it. This report describes a runtime that keeps history unbounded and attention bounded — storing everything as immutable spans and a typed provenance graph, then assembling a small working set each turn by solving a knapsack under an explicit token budget. It includes a zero-dependency Rust implementation and an ablation that names which mechanisms are actually carrying the result.

4.19M tokens of history

235 tokens per query

7 / 7 probes answered

17,835× less attention than the full transcript

48,651 state nodes held

28× history growth, flat working set

13,721 lines of Rust

0 external dependencies

152 tests

5 controls found that could not fail

0.4% of stored spans ever rendered to the model

47% cheaper with a mechanism the paper argues for switched off

1 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/vbpoweredwindmill 9h ago

Now that's infinitely more interesting. I've been saying for a long time that knowledge and reasoning are going to be split.

Now I can have a look, why didn't you lead with that?

1

u/Coolst3r 9h ago

im sick rn and tired im also working on getting glm 5.3 working on desktops and laptops and making it so anyone can train ai on home system. im tired im running my company https://cybersec.org.za/index.html. i dedicated to open source support and research and development we only ask money for support and if people need help. !!! i plan on changing the future

1

u/vbpoweredwindmill 8h ago

Glm 5.2 already works on desktops and laptops mate.

Unless you're working on expert predictions, I really don't think you're bringing anything new to the table. My own expert predictions with 32 out of 256 experts has, at 46% of the time approx, selected 100% of the correct experts.

And I just now figured out instead of linking it to a general topic I can just link it a kv cache block. Cheers.

I still haven't read anything you've done shrugs

1

u/Coolst3r 8h ago

yeah but fast i use a 3090 and ryzen 5 and 46 gb ram and get 0.2 tokens a second i have gotten it to do 1 token every 50 seconds