Liminal Planes
An experiment using a Vowpal Wabbit trained lookup table as transformer memory.
What does it do?
The experiment extracts per-token hidden states from a pretrained model and compresses them to 64 dimensions with PCA to use as Vowpal Wabbit training targets. After exporting and freezing the learned weights as a lookup table, a small transformer reads relevant rows at each position and combines them into a memory vector. The article compares models with and without the memory table using the same data and training steps. It says reproduction code is available on request.
Key features
- Compress per-token hidden states to 64 dimensions with PCA to create training targets
- Train memory vectors for n-grams with Vowpal Wabbit
- Export learned weights as a lookup table and connect it to a transformer
- Compare evaluation cross entropy with and without memory