ATRIUMsearch → argument graph
Article · 2026-08-14 · 4 moments

Don't classify. Hallucinate!

Don't classify. Hallucinate! I still have quite a bit of older content on my blog that I never got round to tagging. My blog has 1,856 tags - likely too many to feed to an LLM in one go and say "which of these tags match the following content". Doug Turnbull has a neat solution. Tell the model to output tags without any details of the existing vocabulary, then use vector embeddings against the existing corpus to find the concrete tags that are closest to the ones the model imagined might fit! ✦ AI generated

01
Context

A tag vocabulary of 1,856 entries is too large to feed to an LLM in one shot as a flat multiple-choice 'which of these tags match' prompt.

Untagged older blog content sits against an 1,856-tag vocabulary that is impractical to hand to an LLM whole and ask it which tags fit.

transcript

the author: I still have quite a bit of older content on my blog that I never got round to tagging. My blog has 1,856 tags - likely too many to feed to an LLM in one go and say "which of these tags match the following content".

gives example · 1

03
Mechanism

Instead of classifying against a fixed tag vocabulary, let the model freely hallucinate candidate tags, then resolve them to concrete existing tags via vector embeddings over the corpus.

Doug Turnbull's approach: have the model emit imagined tags unconstrained by the existing vocabulary, then use vector embeddings against the corpus to find the concrete tags closest to what it invented.

transcript

the author: Doug Turnbull has a neat solution. Tell the model to output tags without any details of the existing vocabulary, then use vector embeddings against the existing corpus to find the concrete tags that are closest to the ones the model imagined might fit!

explains mechanism · 2gives example · 1

Highlight slides
Related episodes