NLA (Qwen3-8B)
natural language autoencoder for model activations
2 min read
The asher577/nla-qwen3-8b model is a Natural Language Autoencoder (NLA) designed to interpret the hidden representations (activations) of the base language model Qwen/Qwen3-8B at the 24th layer. The system consists of two components: a verbalizer (turning an activation vector into a text description) and a reconstructor (recovering the vector back from text). This approach helps researchers explain the internal states of the model in human language. The tool will be useful for mechanistic interpretability specialists and developers studying LLM internals.
Key features
- Two-component architecture: a verbalizer (fine-tuned Qwen3-8B) and a reconstructor.
- Reinforcement learning (GRPO) to optimize the quality of text descriptions.
- High fraction of variance explained (FVE around 70%) on the validation set.
- Based on the powerful open model Qwen/Qwen3-8B.
What you can do
- Run a quick-start script to generate text explanations of specific token activations.
- Analyze the internal state of the model (hidden states of the 24th layer) on custom prompts.
- Explore decision-making mechanisms and model interpretability in research projects.
Example
python scripts/hf_quickstart.py --nla asher577/nla-qwen3-8b --chat \
--text "Can you help me write a cover letter?"
Read more
DetailsBenchmarks: FVE around 69.9% (average at steps 850–950)
Hardware requirements: 1 GPU with about 20 GB VRAM
Training details: verbalizer fine-tuned via GRPO (900 steps), LoRA rank 128 (merged with weights)
Limitations: requires downloading the repository (26 GB) and Qwen/Qwen3-8B (16 GB)










Comments