Latent Scope: Finding structure in unstructured data
This video is featured in the Designing with AI 2025 playlist and 1 more.
Summary
As a data visualization designer and developer the challenge I often face is what to do with unstructured data. One case study I can show is exploring survey results where the multiple-choice questions are straightforward to analyze but interesting open-ended questions like “What do your colleagues not understand about data visualization?” are much harder to crack. Latent Scope is an open-source tool I built that streamlines a process of embedding text, mapping it to 2D, clustering the data points on the map and summarizing those clusters with an LLM. Once the process is done on a dataset structure emerges from the unstructured text, allowing us to get a sense of patterns in the survey answers. Themes like “the time it takes” to develop data visualization pop out, as do “the importance of good design.” While people don’t use the same language to describe these themes, they show up as clusters in the tool thanks to the power of embedding models. https://github.com/enjalot/latent-scope
Key Insights
-
•
AI embeddings transform unstructured data like text or sketches into high-dimensional vectors capturing hidden semantic patterns.
-
•
Dimensionality reduction algorithms map these high-dimensional embeddings into 2D clusters, making patterns visually accessible.
-
•
Free text survey responses, often too large to analyze manually, can be organized and explored effectively through embedding and clustering.
-
•
Google Cloud user journey data revealed surprising usage patterns, like enterprise and beginner tools being combined unexpectedly.
-
•
Simple rule-based filters for harmful prompts in generative AI image models can be bypassed by subtle prompt variations; embedding-based classifiers are more effective.
-
•
Latent Scope is an open source tool enabling non-technical users to embed, cluster, label, and visualize unstructured text data locally.
-
•
Local runs of embedding and clustering models on modest hardware are practical, preserving data privacy and sensitive user information.
-
•
Embedding models trained on multilingual data can cluster semantically similar texts across diverse languages in one shared space.
-
•
Breaking long text into smaller chunks can make embeddings more manageable and improve similarity comparisons.
-
•
Hands-on exploration of embedding models via platforms like Hugging Face helps users internalize concepts of semantic similarity and pattern discovery.
Notable Quotes
"People just don't get that the design and the process is fundamental."
"Similar inputs will produce similar high dimensional numbers."
"Dimensionality reduction algorithms take data points in high dimensional space and put them close together in 2D if they're similar."
"We found patterns that product teams didn’t expect or even want to look for."
"Simple word-list based filters can easily be tricked by misspellings or slight variations in prompts."
"What if you didn’t know there were important questions you should be asking in your data?"
"Latent Scope lets you quickly explore hundreds or thousands of free text responses to find clusters and patterns."
"You don’t need special hardware; these open source models can run locally on an M1 MacBook or a gaming machine."
"Multilingual embedding models can cluster similar meanings across languages in a shared latent space."
"Downloading and playing with local open source models gives a different experience than using faceless APIs mediated through interfaces."
Or choose a question:
More Videos
"Assistive technology has to communicate with the destination, that’s your website or product."
Sheri Byrne-HaberAccessibility at Scale
June 9, 2021
"The best products come from marrying analytics with human stories."
Prayag Narula Hannah HudsonEmpowering Designers to do Good Research
March 11, 2022
"Being open and flexible to what's most helpful for the team at that moment is key."
Janelle EstesUX Research Trends
January 28, 2021
"User research is a validation function is a common pitfall, but its real power is uncovering meaningful insights early."
Craig Brookes Andreas Huebner Morgan Quinn"Just Make it Look Good" and Other Ways We're Misunderstood
June 11, 2021
"If you don’t feel connected and you’re standing alone, the challenge looks much bigger."
Marc Fonteijn Ru ButlerIncrease your confidence, influence, and impact (through a Professional Community)
December 3, 2024
"Engagement and impact roles bring creativity and help maintain team morale in otherwise dry operations work."
Kate TowseyThe State of ResearchOps: More Than Just Theory
June 20, 2019
"If I make a mistake on our team, it’s not gonna be held against me; my team won’t disconnect from me."
Alla WeinbergDesign Teams Need Psychological Safety: Here’s How to Create It
September 9, 2022
"We have over 30 contracting teams spread across roughly 10 vendors all working on parts of the veteran experience landscape."
Shawna Hein Kevin HoffmanCreate a Cohesive Civic Design Practice Across Agency, Vendors, and Contracts
November 17, 2022
"Being comfortable with discomfort is key — if someone tells me I'm wrong, I'm okay with that."
Tricia WangSCALE: Discussion
June 15, 2018
Latest Books All books
Dig deeper with the Rosenbot
Why is design education’s emphasis on critical making important, and how does it interrelate with critique and theory?
Is it possible to bypass HIPAA by initially targeting veterinary markets for clinical app development?
How can human-centric companion metrics be paired with traditional business metrics?