Goto

Collaborating Authors

 Large Language Model


This Week in Green AI #3

#artificialintelligence

DeepMind released three major papers about their interdisciplinary research on language modeling. This included training models up to a size of 280 billion parameters -- the largest of which was aptly named Gopher. While Gopher exceeded existing models in some tasks such as Massive Multitask Language Understanding (MMLU), it also revealed low improvements in logical reasoning and common sense tasks, hinting at diminishing returns to scale for certain ML tasks. The second paper looked at ethical and social risks from large language models, including "automation, access and environmental harm". Citing "the potential of LMs to create significant environmental costs", the authors draw attention to the significant harm of operating LMs compared to just training them.


Understanding Perplexity Metrics in Natural Language AI

#artificialintelligence

New, state-of-the-art language models like DeepMind's Gopher, Microsoft's Megatron, and OpenAI's GPT-3 are driving a wave of innovation in NLP. How do you measure the performance of these language models to see how good they are? In a previous post, we gave an overview of different language model evaluation metrics. This post dives more deeply into one of the most popular: a metric known as perplexity. Imagine you're trying to build a chatbot that helps home cooks autocomplete their grocery shopping lists based on popular flavor combinations from social media.


Real-World Challenges for AGI

#artificialintelligence

Note: This post is a summary of a talk given at CERN Sparks! Serendipity Forum in September 2021, which can be viewed here. When people picture a world with artificial general intelligence (AGI), robots are more likely to come to mind than enabling solutions to society's most intractable problems. But I believe the latter is much closer to the truth. AI is already enabling huge leaps in tackling fundamental challenges: from solving protein folding to predicting accurate weather patterns, scientists are increasingly using AI to deduce the rules and principles that underpin highly complex real-world domains - ones they might never have discovered unaided.


OpenAI now allows developers to customise GPT-3 models

#artificialintelligence

OpenAI is making it easy for developers to "fine-tune" GPT-3, enabling custom models for their applications. The company says that existing datasets of "virtually any shape and size" can be used for custom models. A single command in the OpenAI command-line tool, alongside a user-provided file, is all that it takes to begin training. The custom GPT-3 model will then be available for use in OpenAI's API immediately. One customer says that it was able to increase correct outputs from 83 percent to 95 percent through fine-tuning.


RPG Random Encounters Generator

#artificialintelligence

I also run LitRPG Adventures, a set of advanced RPG generators and a growing library of RPG content generated by GPT-3 API from OpenAI. I have also published numerous fiction and tabletop RPG books on Amazon. I hope you find it useful!


WebGPT: Browser-assisted question-answering with human feedback

arXiv.org Artificial Intelligence

We fine-tune GPT-3 to answer long-form questions using a text-based web-browsing environment, which allows the model to search and navigate the web. By setting up the task so that it can be performed by humans, we are able to train models on the task using imitation learning, and then optimize answer quality with human feedback. To make human evaluation of factual accuracy easier, models must collect references while browsing in support of their answers. We train and evaluate our models on ELI5, a dataset of questions asked by Reddit users. Our best model is obtained by fine-tuning GPT-3 using behavior cloning, and then performing rejection sampling against a reward model trained to predict human preferences. This model's answers are preferred by humans 56% of the time to those of our human demonstrators, and 69% of the time to the highest-voted answer from Reddit.


Language models and the metaverse top AI stories of 2021

#artificialintelligence

A year after solidifying its partnership with AI research giant OpenAI by revealing that it will exclusively license the powerful GPT-3 language model, Microsoft showed what it plans to do with the license with the preview of its Azure Open AI Service. The service gives language model customers access to enterprise capabilities such as security, compliance and scale requirements. Microsoft also entered the competition for which vendor can build the largest language model by partnering with Nvidia to introduce the DeepSpeed and Megatron-powered Megatron-Turing Natural Language Generation Model. Both vendors claim that it is the largest and the most powerful language model so far. Soon after the birth of the Microsoft-Nvidia alliance, Nvidia competitor SambaNova said it would also provide a GPT AI-powered language model as part of its Dataflow-as-a-Service product for language.


Global Big Data Conference

#artificialintelligence

OpenAI, the San Francisco, California-based lab developing AI technologies including large language models, today announced the ability to create custom versions of GPT-3, a model that can generate human-like text and code. Developers can use fine-tuning to create GPT-3 models tailored to the specific content in their apps and services, leading to ostensibly higher-quality outputs across tasks and workloads, the company says. "According to Gartner, 80% of technology products and services will be built by those who are not technology professionals by 2024. This trend is fueled by the accelerated AI adoption in the business community, which sometimes requires specifically tailored AI workloads," an OpenAI spokesperson wrote in an email. "With a single line of code, customized GPT-3 allow developers and business teams to run and train powerful AI models based on specific datasets, eliminating the need to create and train their own AI systems from scratch, which can be quite costly and time-intensive."


Ghost in the machine or monkey with a typewriter--generating titles for Christmas research articles in The BMJ using artificial intelligence: observational study

#artificialintelligence

Objective To determine whether artificial intelligence (AI) can generate plausible and engaging titles for potential Christmas research articles in The BMJ . Design Observational study. Setting Europe, Australia, and Africa. Participants 1 AI technology (Generative Pre-trained Transformer 3, GPT-3) and 25 humans. Main outcome measures Plausibility, attractiveness, enjoyability, and educational value of titles for potential Christmas research articles in The BMJ generated by GPT-3 compared with historical controls. Results AI generated titles were rated at least as enjoyable (159/250 responses (64%) v 346/500 responses (69%); odds ratio 0.9, 95% confidence interval 0.7 to 1.2) and attractive (176/250 (70%) v 342/500 (68%); 1.1, 0.8 to 1.4) as real control titles, although the real titles were rated as more plausible (182/250 (73%) v 238/500 (48%); 3.1, 2.3 to 4.1). The AI generated titles overall were rated as having less scientific or educational merit than the real controls (146/250 (58%) v 193/500 (39%); 2.0, 1.5 to 2.6); this difference, however, became non-significant when humans curated the AI output (146/250 (58%) v 123/250 (49%); 1.3, 1.0 to 1.8). Of the AI generated titles, the most plausible was “The association between belief in conspiracy theories and the willingness to receive vaccinations,” and the highest rated was “The effects of free gourmet coffee on emergency department waiting times: an observational study.” Conclusions AI can generate plausible, entertaining, and scientifically interesting titles for potential Christmas research articles in The BMJ ; as in other areas of medicine, performance was enhanced by human intervention. Dataset and full reproducible code are available at .


RegionCLIP: Region-based Language-Image Pretraining

arXiv.org Artificial Intelligence

Contrastive language-image pretraining (CLIP) using image-text pairs has achieved impressive results on image classification in both zero-shot and transfer learning settings. However, we show that directly applying such models to recognize image regions for object detection leads to poor performance due to a domain shift: CLIP was trained to match an image as a whole to a text description, without capturing the fine-grained alignment between image regions and text spans. To mitigate this issue, we propose a new method called RegionCLIP that significantly extends CLIP to learn region-level visual representations, thus enabling fine-grained alignment between image regions and textual concepts. Our method leverages a CLIP model to match image regions with template captions and then pretrains our model to align these region-text pairs in the feature space. When transferring our pretrained model to the open-vocabulary object detection tasks, our method significantly outperforms the state of the art by 3.8 AP50 and 2.2 AP for novel categories on COCO and LVIS datasets, respectively. Moreoever, the learned region representations support zero-shot inference for object detection, showing promising results on both COCO and LVIS datasets. Our code is available at https://github.com/microsoft/RegionCLIP.