Large Language Model
Global Big Data Conference
There's been a great deal of hype and excitement in the artificial intelligence (AI) world around a newly developed technology known as GPT-3. Put simply; it's an AI that is better at creating content that has a language structure – human or machine language – than anything that has come before it. GPT-3 has been created by OpenAI, a research business co-founded by Elon Musk and has been described as the most important and useful advance in AI for years. But there's some confusion over exactly what it does (and indeed doesn't do), so here I will try and break it down into simple terms for any non-techy readers interested in understanding the fundamental principles behind it. I'll also cover some of the problems it raises, as well as why some people think its significance has been overinflated somewhat by hype.
A Mathematical Exploration of Why Language Models Help Solve Downstream Tasks
Saunshi, Nikunj, Malladi, Sadhika, Arora, Sanjeev
Autoregressive language models pretrained on large corpora have been successful at solving downstream tasks, even with zero-shot usage. However, there is little theoretical justification for their success. This paper considers the following questions: (1) Why should learning the distribution of natural language help with downstream classification tasks? (2) Why do features learned using language modeling help solve downstream tasks with linear classifiers? For (1), we hypothesize, and verify empirically, that classification tasks of interest can be reformulated as next word prediction tasks, thus making language modeling a meaningful pretraining task. For (2), we analyze properties of the cross-entropy objective to show that $\epsilon$-optimal language models in cross-entropy (log-perplexity) learn features that are $\mathcal{O}(\sqrt{\epsilon})$-good on natural linear classification tasks, thus demonstrating mathematically that doing well on language modeling can be beneficial for downstream tasks. We perform experiments to verify assumptions and validate theoretical results. Our theoretical insights motivate a simple alternative to the cross-entropy objective that performs well on some linear classification tasks.
TernaryBERT: Quantization Meets Distillation
The ongoing trend of building ever larger models like BERT and GPT-3 has been accompanied by a complementary effort to reduce their size at little or no cost in accuracy. Effective models are built either via distillation (Pre-trained Distillation, DistilBERT, MobileBERT, TinyBERT), quantization (Q-BERT, Q8BERT) or parameter pruning. On September 27, Huawei introduced TernaryBERT, a model that leverages both distillation and quantization to achieve accuracy comparable to the original BERT model with 15x decrease in size. What is truly remarkable about TernaryBERT is that its weights are ternarized, i.e. have one of three values: -1, 0, or 1 (and can hence be stored in only two bits). The paper heavily references prior work and is therefore quite dense.
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
There's been a great deal of hype and excitement in the artificial intelligence (AI) world around a newly developed technology known as GPT-3. Put simply; it's an AI that is better at creating content that has a language structure – human or machine language – than anything that has come before it. GPT-3 has been created by OpenAI, a research business co-founded by Elon Musk and has been described as the most important and useful advance in AI for years. But there's some confusion over exactly what it does (and indeed doesn't do), so here I will try and break it down into simple terms for any non-techy readers interested in understanding the fundamental principles behind it. I'll also cover some of the problems it raises, as well as why some people think its significance has been overinflated somewhat by hype.
Impressive Medium Articles on AI/ML This Month
Kirk Ouimet article is a dialogue between himself and GPT-3, which is referred to as'Wise Being'. The content of the dialogue is around the origin of the Big Bang and other associated topics such as time, space and the Universe. I was truly expecting to be bored or at the very least be a little bit impressed by the output of the'Wise Being' in the dialogue. After reading the entirety of the dialogue and article, I would have to admit that the responses from the'Wise Being' felt almost human-like, and surpassed my initial expectations. The responses were well put together and had some form of logic, well as much logic as possible when answering questions that are outside the realms of human imagination.
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
There's been a great deal of hype and excitement in the artificial intelligence (AI) world around a newly developed technology known as GPT-3. Put simply; it's an AI that is better at creating content that has a language structure – human or machine language – than anything that has come before it. What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence? GPT-3 has been created by OpenAI, a research business co-founded by Elon Musk and has been described as the most important and useful advance in AI for years. But there's some confusion over exactly what it does (and indeed doesn't do), so here I will try and break it down into simple terms for any non-techy readers interested in understanding the fundamental principles behind it.
20 Creative Things to try out with GPT-3
For me, the new storytelling approaches are indeed the most amazing part of the story. I want to share with you the narrative capabilities of GPT-3 as a writer, and the creative experiments we did with it so far. But first, let's speak about Tokens. Because they determine the quantitative limits of GPT-3 outputs. You cannot write coherent novels using this NLP framework.
karpathy/minGPT
GPT is not a complicated model and this implementation is appropriately about 300 lines of code, including boilerplate and a totally unnecessary custom causal self-attention module. Anyway, all that's going on is that a sequence of indices goes into a sequence of transformer blocks, and a probability distribution of the next index comes out. The rest of the complexity is just being clever with batching (both across examples and over sequence length) so that training is efficient. The core minGPT "library" (hah) is two files: mingpt/model.py The attached Jupyter notebooks then show how the "library" (hah) can be used to train sequence models: With a bpe encoder, distributed training and maybe fp16 this implementation may be able to reproduce GPT-1/GPT-2 results, though I haven't tried $$$.
Telephone Paintings
New artist's biographies were created here in a sophisticated process, including fine-tuned GPT-2 on museum descriptions, and procedural name generation. That's why the outcomes were coherent, inspiring, and convincing. I guess, using GPT-3 one can even generate a museum's guide, combining authors to one conceptual exhibition, if you want. The art experience is not on-the-fly (using GANs in real-time is still a thing of the future nowadays), there are around 3000 artworks generated and randomly presented -- if you are here long enough, you may stumble upon already seen paintings. But the possibility to add new pieces is given -- the semi-eternity is possible.
Reinforcement learning and reasoning
Reinforcement learning has seen a lot of progress in recent years. From DeepMind success with teaching machines how to play Atari games, then AlphaGo beating world champions in Go to recent OpenAI's progress on Dota 2, a multiplayer game where players divided into two teams compete with each other. The common thread is an artificial agent operating in a virtual world, where the prize is clear (e.g. On the other hand people are experimenting with AI agents operating in real-world. Each clip of Boston Dynamics gets a lot of press, showing robots performing amazing stunts, as you can see yourself here or here.