Uncovering Hidden Insights in Customer Feedback

Martina Megasari, Michael Jones30 Nov 2023

Problem

A retail group collects free-text answers to customer surveys across several store banners. Analysts cannot read every response, and the volume keeps growing. Purely unsupervised topic models find themes, but their topics do not match the names the business already uses. A hand-labelled set matches those names but is small and misses themes nobody labelled.

Example from the article: Kingfisher (B&Q, Castorama, Screwfix) wants to see how customers react to a new loyalty program, a new store layout or a new feature in the B&Q app, in the customers' own words.

Solution in brief

Run two topic models, LDA and BERTopic, on all survey text. Train a small feedforward network on the hand-labelled responses that maps both models' topic distributions to the human topic list. Use few-shot LLM prompts to add more labelled examples, with active learning to fix weak spots.

Questions this case answers
  • How to turn a growing corpus of unlabeled short texts into a stable set of themes that business users recognize, when only a small hand-labelled sample exists
  • How to enlarge a small labelled text set cheaply while keeping label quality under control
  • How to find the main themes in thousands of free-text survey responses without reading them all?
  • How to make unsupervised topic-model output match the theme names analysts already use?

Tools and methods

  • LDA — bag-of-words topic model; gives each response a topic distribution
  • BERTopic — clusters BERT embeddings into topics; handles word meaning in context
  • Feedforward projection network — maps LDA and BERTopic topic distributions to human-labelled topics
  • Few-shot LLM labelling — creates extra labelled responses from a few seed examples
  • Active learning (stratified sampling) — picks the responses a human should label next
  • Vertex AI Pipelines — runs the whole pipeline in production
Continue reading — it's free

Google or a one-time email code. No password.