[Research 🎉] LaMDA - a family of Transformer-based language models specialized for dialog (by Google Research)

arXiv: LaMDA: Language Models for Dialog Applications

We present LaMDA: Language Models for Dialog Applications. LaMDA is a family of Transformer-based neural language models specialized for dialog, which have up to 137B parameters and are pre-trained on 1.56T words of public dialog data and web text. While model scaling alone can improve quality, it shows less improvements on safety and factual grounding. We demonstrate that fine-tuning with annotated data and enabling the model to consult external knowledge sources can lead to significant improvements towards the two key challenges of safety and factual grounding. The first challenge, safety, involves ensuring that the model’s responses are consistent with a set of human values, such as preventing harmful suggestions and unfair bias. We quantify safety using a metric based on an illustrative set of human values, and we find that filtering candidate responses using a LaMDA classifier fine-tuned with a small amount of crowdworker-annotated data offers a promising approach to improving model safety. The second challenge, factual grounding, involves enabling the model to consult external knowledge sources, such as an information retrieval system, a language translator, and a calculator. We quantify factuality using a groundedness metric, and we find that our approach enables the model to generate responses grounded in known sources, rather than responses that merely sound plausible. Finally, we explore the use of LaMDA in the domains of education and content recommendations, and analyze their helpfulness and role consistency.


Blog post:

3 Likes

We covered this new model at the Machine Learning Singapore MeetUp, and I’ve uploaded the video “DeepMind’s RETRO vs Google’s LaMDA” - let me know if you like it :slight_smile:

1 Like

Is LaMDA Open Source? I don’t see any links (GitHub) mentioned here. Even if the weights are closed source, Google AI rarely open sources their LLM Source codes, unfortunately.

Deep Mind had an earlier couple of LLMs - funsearch, etc open sourced, and newer ones relying on JAX.