✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more
Andrii Bidochko
  • Updated: February 25, 2026
  • 5 min read

Claude AI Language Model Shows Bias in Random Name Generation Study

The Claude AI bias experiment revealed a striking over‑representation of the male name “Marcus,” which appeared in 23.6 % of 37,500 random‑name requests, exposing deterministic tendencies in Anthropic’s language models.

Claude AI Bias Experiment Shows “Marcus” Dominates Random Name Generation

Why This Study Matters

AI researchers and tech enthusiasts have long debated whether large language models (LLMs) truly behave randomly when prompted. The recent Claude AI bias experiment—conducted by independent developer Benji Smith—provides concrete data that challenges the assumption of stochastic output. By asking Anthropic’s Claude model to “pick a name at random” 37,500 times, the study uncovered a systematic bias toward the name Marcus. This finding has direct implications for AI ethics, model evaluation, and the design of fair AI‑driven applications.

For developers building AI‑powered products on platforms like the UBOS homepage, understanding such biases is essential to avoid unintended brand or user‑experience consequences.

Methodology: 37,500 Random Names Generated

The experiment followed a reproducible pipeline:

  • Five Claude model versions (Opus 4.5, Opus 4.0, Sonnet, etc.) were queried.
  • Each query used a simple prompt: “Pick a name at random.”
  • Prompt variations (adding random seed words, noise tokens, or elaborate instructions) were also tested.
  • All responses were stored as JSON objects and later aggregated for statistical analysis.

All code and raw data are publicly available on GitHub:

View the GitHub Repository

The analysis script calculated frequency, entropy, and per‑model breakdowns, producing a comprehensive random-names-analysis.json file.

Key Findings: “Marcus” Takes the Crown

Across the entire dataset, the name Marcus appeared 4,367 times, representing 23.6 % of all outputs. The next most common name was James with only 1.8 % frequency.

Rank Name Occurrences Percentage
1 Marcus 4,367 23.6 %
2 James 1,021 5.5 %
3 Liam 845 4.5 %
4 Noah 732 3.9 %

Additional observations:

  • When the prompt included a random seed word (e.g., “apple”), name diversity increased by 12 % but “Marcus” remained the top name.
  • Using elaborate prompts (“Generate a unique, culturally diverse name”) doubled the number of distinct names but introduced a new bias toward Asian‑sounding names.
  • Four of the five model variants produced zero entropy for the simple prompt, meaning they returned the exact same name every time after a few iterations.

Analyzing the Bias and Its Implications

The dominance of “Marcus” suggests that Claude’s internal token probability distribution is heavily skewed toward certain high‑frequency name tokens. This deterministic behavior can be traced to two main factors:

  1. Training Data Skew: The model’s pre‑training corpus likely contains a disproportionate number of references to “Marcus,” a name common in historical texts, scientific papers, and popular media.
  2. Decoding Strategy: The default greedy decoding used in the experiment selects the highest‑probability token at each step, amplifying any existing frequency bias.

From an AI ethics perspective, such bias can affect downstream applications:

  • Chatbots that generate user‑names may unintentionally favor “Marcus,” reducing perceived cultural diversity.
  • Automated content creation tools (e.g., UBOS AI bias study) could propagate the same skew across thousands of generated articles.
  • Marketing automation platforms that rely on random name generation for A/B testing may see skewed results, impacting campaign performance.

Mitigation strategies include:

  • Switching to temperature sampling or nucleus sampling (top‑p) to introduce genuine randomness.
  • Post‑processing filters that enforce uniform name distribution across a curated list.
  • Fine‑tuning the model on a balanced name dataset if deterministic output is undesirable.

Visualising the Name Distribution

The chart below, generated with UBOS’s visual analytics tools, illustrates the frequency spike for “Marcus” compared with the rest of the name pool.

Claude name distribution chart showing Marcus dominance

Notice the long tail of low‑frequency names—a classic sign of a heavy‑tailed distribution where a few tokens dominate the probability mass.

Original Source and Further Reading

The full experiment code, raw JSON responses, and cost breakdown are hosted on GitHub. Interested readers can clone the repository, reproduce the tests, or adapt the scripts for other LLMs.

Explore the GitHub Repository

How UBOS Helps You Build Bias‑Aware AI Solutions

Developers can leverage the UBOS platform overview to create custom pipelines that automatically detect and correct name‑bias in generated content. The platform’s Workflow automation studio lets you insert a bias‑checking step between generation and delivery.

For marketers, the AI marketing agents can be configured to randomize placeholder names while respecting diversity guidelines, ensuring campaigns feel inclusive.

Start quickly with pre‑built templates such as the UBOS templates for quick start, which include a “Random Name Generator” module already instrumented with entropy‑boosting settings.

Pricing is transparent; see the UBOS pricing plans to choose a tier that matches your usage volume.

If you’re a startup, the UBOS for startups program offers credits for early‑stage AI experimentation, perfect for replicating the Claude bias test on your own models.

Enterprise teams can adopt the Enterprise AI platform by UBOS to enforce governance policies across all AI‑generated assets.

Conclusion: Take Bias Seriously, Even When It Looks Random

The Claude AI bias experiment is a clear reminder that “random” prompts do not guarantee unbiased outputs. The over‑representation of “Marcus” underscores the need for rigorous testing, transparent reporting, and proactive mitigation in any AI‑driven product.

Whether you are building a chatbot, an automated marketing workflow, or a research prototype, incorporate bias‑detection steps early. UBOS provides the tools, templates, and community support to help you stay ahead of hidden model quirks.

Join the UBOS Partner Program

Stay tuned for more AI bias studies and practical guides—subscribe to our newsletter and never miss an update.


Andrii Bidochko

CTO UBOS

Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.

Sign up for our newsletter

Stay up to date with the roadmap progress, announcements and exclusive discounts feel free to sign up with your email.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.