Has anyone explored PCA/SVD compression on transformer KV cache activations as a VRAM offload strategy?

Been working on something I’m calling Dense RAM / FoldedMemory (DenseMem v0.2.0) and curious if anyone has gone down this road before.

The basic idea: instead of evicting KV cache entries when VRAM fills up, compress them using PCA/SVD and offload to system RAM as a warm tier. Hot activations stay in VRAM uncompressed. Cool activations — scored by access recency and activation magnitude — get folded into RAM at up to 256x compression with high fidelity.

The result on my end: running 72B models on a gaming PC. Hardware cost delta vs what this workload “should” require is roughly $32,000 vs $1.88.

Designed specifically for AMD Threadripper PRO WRX80 with 512GB DDR4 ECC RDIMM across all 8 channels — the thesis being density over speed. More addressable cache pool beats faster cache for this use case.

It powers a self-improving AI system I built called Harvester — patent pending, achieved a perfect SAE score on the Google DeepMind Kaggle Metacognition track.

Curious if anyone has tackled the eviction logic differently or pushed the compression ratio further. Happy to go deep on the implementation.

Hi, i really like the idea of saving that much money by using cheap system memory instead of buying a $30,000 card. I am a bit worried that the constant “squashing” and “stretching” of the data might create some noticeable lag when the AI is trying to think. Have you noticed if the AI starts to lose track of its thoughts after being compressed so heavily, or does it stay just as sharp? It’s a really cool approach for making big models actually work on a regular home PC.

I use it every day on my Ai while it plays an mmo no issues- I just advanced to 1024X

1 Like