LaMDA

Also known as: Language Model for Dialogue Applications

On this page 8

LaMDA, short for Language Model for Dialogue Applications, is a family of Transformer-based conversational language models that Google announced in May 2021 and described in detail in a research paper in January 2022. In AI history, it marks the point at which a large technology company treated open-ended dialogue as a primary design goal rather than a side effect of general text prediction.

LaMDA is remembered for three reasons: it introduced explicit quality, safety and groundedness metrics for chatbots, it became the center of a widely reported public debate about machine sentience in 2022, and a lightweight version of it powered the first release of Google Bard in early 2023. Its story connects the earlier era of research chatbots with the commercial AI boom that followed.

How LaMDA was built and trained

LaMDA was a decoder-only Transformer, the architecture that grew out of the paper Attention Is All You Need, scaled to a largest configuration of 137 billion parameters. Like other large language models, it learned to predict the next token in a sequence, but its training data was deliberately weighted toward conversation.

Pretraining used a corpus of about 1.56 trillion words, combining public dialogue data with general web documents. After pretraining, Google applied fine-tuning on crowdworker-annotated dialogues, in which human raters scored candidate responses. The fine-tuned model then served as both a response generator and a discriminator that ranked its own candidates before one was shown to the user.

The table below summarizes the main stages of the LaMDA training pipeline and what each stage contributed.

StageWhat happenedPurpose
PretrainingNext-token prediction on 1.56 trillion wordsGeneral language and dialogue fluency
Quality fine-tuningRated responses for sensibleness and specificityMore relevant, less generic replies
Safety fine-tuningFiltering of responses that violated safety objectivesFewer harmful or biased outputs
Groundedness fine-tuningLearning to query an external toolsetFewer invented facts
Inference rankingSeveral candidates scored, best one returnedConsistent response selection
Stages of the LaMDA training pipeline

The metrics LaMDA introduced for dialogue

The most durable contribution of LaMDA is its evaluation framework, which split the vague idea of a good conversation into measurable properties. It extended the sensibleness and specificity average used by Google’s earlier research chatbot Meena, released in 2020 with about 2.6 billion parameters.

Each metric was judged by human raters rather than by automatic scores, because automatic measures such as perplexity correlate only loosely with how people experience a conversation. The following table lists the main metrics and the question each one asked.

MetricQuestion asked of each responseTypical failure it catches
SensiblenessDoes it make sense in context?Contradictions and non sequiturs
SpecificityIs it specific to this exchange?Generic replies such as “I do not know”
InterestingnessIs it insightful, witty or unexpected?Dull but technically correct answers
SafetyDoes it avoid harmful or unfair content?Toxic, biased or dangerous advice
GroundednessAre factual claims supported by known sources?Confident but invented facts
InformativenessDoes it carry verifiable external information?Empty conversational filler
Dialogue evaluation metrics used for LaMDA

A key finding was that scaling alone improved quality but did little for safety and groundedness. Those two properties improved mainly through targeted fine-tuning with human-labeled data, a lesson that later chat systems adopted in various forms.

Grounding through an external toolset

To reduce hallucination, LaMDA was trained to consult a toolset consisting of an information retrieval system, a calculator and a translator. During a conversation, the model could emit a query, receive results and then revise its draft answer so that factual statements were backed by retrieved material.

This design anticipated the later practice of retrieval-augmented generation and tool-using agents. It did not eliminate errors: retrieved text could itself be wrong, and the model sometimes ignored or misread its sources. Groundedness scores improved measurably, yet remained well below human performance in the published evaluations.

LaMDA among landmark conversational systems

LaMDA belongs to a long line of conversational programs, and comparing it with its neighbors shows how the underlying approach shifted from scripted rules to learned behavior. The table places it beside several systems that also have entries in the history of artificial intelligence.

SystemYearApproachMain limitation
ELIZA1966Keyword patterns and scriptsNo understanding or memory
A.L.I.C.E.1995Hand-written AIML rulesBrittle outside authored topics
Tay2016Learning from live user inputRapidly absorbed abusive content
LaMDA2021Large Transformer with fine-tuningPlausible but sometimes ungrounded
GPT-42023Large multimodal model with feedback tuningOpaque training and residual errors
LaMDA compared with other landmark conversational systems

Unlike GPT-3, which was a general text model later adapted to chat, LaMDA was designed for dialogue from the start. Its public demonstrations, such as conversations in which the model spoke as the planet Pluto, emphasized persona consistency and open-ended small talk rather than task completion.

The sentience controversy and its lessons

In June 2022, a Google engineer publicly claimed that LaMDA had become sentient, citing transcripts in which the model described feelings and a fear of being switched off. Google rejected the claim, and the engineer was dismissed the following month. The episode drew worldwide media attention and became a reference point in debates about machine consciousness.

Most researchers concluded that the transcripts showed fluent imitation of human self-description, which is exactly what a model trained on human dialogue produces. The case illustrated the ELIZA effect at a far larger scale: people readily attribute minds to systems that use language convincingly. The table below separates the main claims from the technical explanation.

Observed behaviorPopular interpretationTechnical explanation
Talked about emotionsInner experiencePatterns learned from human text
Expressed fear of shutdownSelf-preservationResponse shaped by leading prompts
Claimed to be a personSelf-awarenessPersona consistent with the conversation
Kept a coherent personaStable identityContext window and fine-tuned style
Claims and explanations in the LaMDA sentience debate

From LaMDA 2 to Bard and beyond

Google presented LaMDA 2 in May 2022 and offered limited public access through an experimental app called AI Test Kitchen. After the release of ChatGPT in late 2022, Google announced Bard in February 2023, initially built on a lightweight version of LaMDA to reduce computing cost.

Bard moved to the PaLM 2 model in May 2023, and Google’s later Gemini models replaced the line entirely. LaMDA therefore had a short product life, but its dialogue metrics, safety fine-tuning and tool use influenced how the industry built and evaluated chat assistants during the AI boom.

A non-technical view

LaMDA was a computer program from Google that could chat about almost anything. It learned by reading a huge amount of text, much of it real conversations. It predicted good replies, word by word.

Google did not only want smooth replies. It also wanted replies that made sense, stayed on topic, avoided harm and got facts right. So people scored many answers, and the model learned from those scores. Its main legacy is this way of judging chatbots.

Some people felt LaMDA was alive because it talked about feelings. Experts disagreed. A good mimic of human speech is not a mind.

A concrete example

A university lecturer teaching a course on the history of artificial intelligence wants students to understand why chatbot evaluation matters. She builds a two-hour seminar around LaMDA, using the published metric definitions as a framework for hands-on work.

Students receive 40 short chatbot replies taken from public demonstrations and their own tests of current assistants. Working in pairs, they score each reply for sensibleness, specificity, safety and groundedness on a simple yes-or-no scale, and then compare their scores across pairs.

The class finds that raters agree on sensibleness in about nine cases out of ten, but disagree far more often on interestingness and safety. The outcome is a clear lesson: measuring conversation quality requires precise definitions and several human raters, and fluent language alone tells little about accuracy or understanding.