# The birthday paradox shows small LLMs pick from about 6 of 40 words

Digest AI · Research · published 2026-11-23T13:30:00Z

Canonical: https://digestai.news/story/the-birthday-paradox-shows-small-llms-pick-from-about-6-of-40-words

## Summary

A short demonstration shows that small language models tend to repeat a limited set of words when asked the same question many times. The author writes a few lines of Python that ask a chatbot 300 times, count the repeats, and uses the birthday paradox to estimate the number of distinct words used. The result is that small LLMs pick from about 6 of 40 words, and the script works on any chatbot you can type into. The post appears on Towards Data Science and serves as a quick experiment for developers curious about token repetition patterns.

The experiment highlights a potential limitation in small LLMs: they may not generate a wide variety of vocabulary, which could affect the quality of generated content. By applying a simple statistical approach, the author provides a reproducible method for measuring this effect.

Readers can copy the code and run it against their own models to see if the same pattern holds, helping them assess the diversity of outputs from different LLMs.

## Key points

- Small LLMs pick from about 6 of 40 words when asked the same question 300 times
- The experiment uses a simple Python script that counts repeats and applies the birthday paradox
- The demonstration works on any chatbot you can type into

## Why it matters

It shows that small LLMs may generate a narrow set of words, raising concerns about output diversity and potential bias in AI-generated text.

## Sources

1. [The Birthday Paradox Shows Small LLMs Pick From About 6 of 40 Words](https://towardsdatascience.com/the-birthday-paradox-shows-small-llms-pick-from-about-6-of-40-words) (Towards Data Science, 2026-11-23)

## Cite

Digest AI, "The birthday paradox shows small LLMs pick from about 6 of 40 words", 23 November 2026, https://digestai.news/story/the-birthday-paradox-shows-small-llms-pick-from-about-6-of-40-words

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/the-birthday-paradox-shows-small-llms-pick-from-about-6-of-40-words.json
