A Generative Latent Prior trained on residual-stream activations of
Qwen/Qwen3-8B, conditioning on
layer position over
layers 0-17 of 36 total. Trained from FineWeb
text using the producer-consumer activation-caching pipeline.
This is the multi-layer variant from the paper
"Learning a Generative Meta-Model of LLM Activations" (Luo et al., 2026,
arXiv:2602.06964), adapted to
Qwen3-8B and to the d6 denoiser size used in their main
glp-llama8b-d6
release. The training pipeline used is the open-source code at
g-luo/generative_latent_prior
with a few patches contributed in the course of training (see notes
below).
1from glp.denoiser import load_glp
2model = load_glp("sudoers/glp-qwen3-8b-d6-multi", device="cuda:0", checkpoint="final")
3
4# layer-conditioned sampling (must pass layer_idx for multi-layer models):
5from glp import flow_matching
6import torch
7noise = torch.randn(1024, 1, 4096, device="cuda:0")
8samples = flow_matching.sample(model, noise, num_timesteps=1000, layer_idx=17)
9samples = model.normalizer.denormalize(samples, layer_idx=17)
Frechet Distance on layer 17 between 50K real Qwen3-8B activations and
50K samples generated from the GLP (1000-timestep sampling, denormalized
into the original activation space):
1@article{luo2026glp,
2 title={Learning a Generative Meta-Model of LLM Activations},
3 author={Grace Luo and Jiahai Feng and Trevor Darrell and Alec Radford and Jacob Steinhardt},
4 journal={arXiv preprint arXiv:2602.06964},
5 year={2026}
6}