Lee says prompting can feel like steering a car from the back seat: it offers indirect control, especially with smaller production models. He proposes examining latent spaces in embeddings and other model activations to find a more direct way to understand and influence model behavior.
The Hidden Life of Embeddings
Speaker
Linus Lee, who works on AI at Notion, presents at the inaugural AI Engineer Conference about interpreting and controlling models through their latent spaces.
Lee demonstrates a text encoder and decoder that reconstruct a passage about Greg Egan’s novel Diaspora from a 248-dimensional embedding. Moving the embedding along a direction associated with shorter text produces shorter versions, while another direction changes sentiment. He also projects texts onto directions to compare attributes such as negative sentiment and length.
Lee combines parts of two 2,000-dimensional text embeddings and gets output that shares topic, structure, punctuation, and tone with both inputs. A linear adapter also lets his decoder recover details, including the title Diaspora, from an OpenAI text-ada-002 embedding without the source text.
Using CLIP embeddings and an image-generation model, Lee interpolates between a photograph of himself and his cartoon avatar. He also demonstrates changing the image toward a sad expression by adjusting text vectors, and describes attempts to add a beach. The examples show that vector operations can alter some image features, though results are imperfect.
Lee frames these prototypes as ways to make model representations visible and interactive, and points to research on discovering interpretable features inside models. He describes his T5-based text autoencoder and says the models and a Colab notebook are available on Hugging Face. His closing principle is to turn complex representations into things people can inspect and manipulate.
Takeaways
- Build small interfaces that make model representations visible and manipulable.
- Test latent-space directions with concrete attributes such as text length or sentiment.
- Compare embedding projections across examples to see which features change and which remain stable.
- Treat embedding arithmetic as an experiment: semantic features can mix, but outputs may be imperfect.
- Use adapters to explore whether a decoder can recover information from another model’s embedding space.
Mentioned in this talk
Search inside this talk
What was claimed 7
- previously atworks on AI
“I work on AI at Notion.”
YouTube Verified2 sources· Talk, Web· archived
- feature
Notion AI: AI Autofill inside databases and translation
“Since November, we've had AI Autofill inside databases and translation.”
YouTube Unverified1 source· Talk
- launchedpublic beta
“Our public beta was first announced around November 2022.”
YouTube Unverified1 source· Talk
- usesembedding space for image interpolation and manipulation
“This is now using CLIP's embedding space.”
YouTube Unverified1 source· Talk
- featureLinus Lee: Models made available on Hugging Face, with a Colab notebook for trying interpolation and feature interpretation
“These models ... are open on Hugging Face, so you can go download them and try them out now.”
YouTube Unverified1 source· Talk
- usesdiffusion model trained to invert CLIP embeddings
“a diffusion model that’s trained to invert CLIP embeddings”
YouTube Unverified1 source· Talk
- usesto generate images from CLIP embeddings
“The image model that I was using at the end was OpenAI’s unCLIP model.”
YouTube Unverified1 source· Talk













