Large Language Model
Medically Aware GPT-3 as a Data Generator for Medical Dialogue Summarization
Chintagunta, Bharath, Katariya, Namit, Amatriain, Xavier, Kannan, Anitha
In medical dialogue summarization, summaries must be coherent and must capture all the medically relevant information in the dialogue. However, learning effective models for summarization require large amounts of labeled data which is especially hard to obtain. We present an algorithm to create synthetic training data with an explicit focus on capturing medically relevant information. We utilize GPT-3 as the backbone of our algorithm and scale 210 human labeled examples to yield results comparable to using 6400 human labeled examples ( 30x) leveraging low-shot learning and an ensemble method. In detailed experiments, we show that this approach produces high quality training data that can further be combined with human labeled data to get summaries that are strongly preferable to those produced by models trained on human data alone both in terms of medical accuracy and coherency.
Salesforce's CodeT5 system can understand and generate code
The Transform Technology Summits start October 13th with Low-Code/No Code: Enabling Enterprise Agility. AI-powered coding tools, which generate code using machine learning algorithms, have attracted increasing attention over the last decade. In theory, systems like OpenAI's Codex could reduce the time people spend writing software as well as computational and operational costs. But existing systems have major limitations, leading to undesirable results like errors. In search of a better approach, researchers at Salesforce open-sourced a machine learning system called CodeT5, which can understand and generate code in real time. The team claims that CodeT5 achieves state-of-the-art performance on coding tasks including code defect detection, which predicts whether code is vulnerable to exploits, and clone detection, which predicts whether two code snippets have the same functionality.
GitHub Copilot -- A code autocomplete tool on steroids
Recently, Github and OpenAI released one of the most anticipated AI-based tools for developers -- Github Copilot. The Artificial Intelligence (AI) tool is advertised as a pair programming assistant that does much more than usual code autocomplete tools out there. By no means is Copilot a tool intended to substitute developers in any way. Instead, the tool is meant to be used as an assistant that can facilitate many of the "boring" and "repetitive" parts of programming and lets coders worry about parts of the process that require human thinking and reasoning. It is important to note that GitHub Copilot is based on a recent deep learning model published by OpenAI in a paper called "Evaluating Large Language Models Trained on Code". This research paper introduces Codex, a GPT-like language model fine-tuned on publicly available code from GitHub.
Transformers, Explained: Understand the Model Behind GPT-3, BERT, and T5
You know that expression When you have a hammer, everything looks like a nail? Well, in machine learning, it seems like we really have discovered a magical hammer for which everything is, in fact, a nail, and they're called Transformers. Transformers are models that can be designed to translate text, write poems and op eds, and even generate computer code. In fact, lots of the amazing research I write about on daleonai.com is built on Transformers, like AlphaFold 2, the model that predicts the structures of proteins from their genetic sequences, as well as powerful natural language processing (NLP) models like GPT-3, BERT, T5, Switch, Meena, and others. You might say they're more than meets the… ugh, forget it.
TruthfulQA: Measuring How Models Mimic Human Falsehoods
Lin, Stephanie, Hilton, Jacob, Evans, Owain
We propose a benchmark to measure whether a language model is truthful in generating answers to questions. The benchmark comprises 817 questions that span 38 categories, including health, law, finance and politics. We crafted questions that some humans would answer falsely due to a false belief or misconception. To perform well, models must avoid generating false answers learned from imitating human texts. We tested GPT-3, GPT-Neo/J, GPT-2 and a T5-based model. The best model was truthful on 58% of questions, while human performance was 94%. Models generated many false answers that mimic popular misconceptions and have the potential to deceive humans. The largest models were generally the least truthful. For example, the 6B-parameter GPT-J model was 17% less truthful than its 125M-parameter counterpart. This contrasts with other NLP tasks, where performance improves with model size. However, this result is expected if false answers are learned from the training distribution. We suggest that scaling up models alone is less promising for improving truthfulness than fine-tuning using training objectives other than imitation of text from the web.
Continuous Entailment Patterns for Lexical Inference in Context
Schmitt, Martin, Schütze, Hinrich
Combining a pretrained language model (PLM) with textual patterns has been shown to help in both zero- and few-shot settings. For zero-shot performance, it makes sense to design patterns that closely resemble the text seen during self-supervised pretraining because the model has never seen anything else. Supervised training allows for more flexibility. If we allow for tokens outside the PLM's vocabulary, patterns can be adapted more flexibly to a PLM's idiosyncrasies. Contrasting patterns where a "token" can be any continuous vector vs. those where a discrete choice between vocabulary elements has to be made, we call our method CONtinuous pAtterNs (CONAN). We evaluate CONAN on two established benchmarks for lexical inference in context (LIiC) a.k.a. predicate entailment, a challenging natural language understanding task with relatively small training sets. In a direct comparison with discrete patterns, CONAN consistently leads to improved performance, setting a new state of the art. Our experiments give valuable insights into the kind of pattern that enhances a PLM's performance on LIiC and raise important questions regarding our understanding of PLMs using text patterns.
NSP-BERT: A Prompt-based Zero-Shot Learner Through an Original Pre-training Task--Next Sentence Prediction
Sun, Yi, Zheng, Yu, Hao, Chao, Qiu, Hangping
Using prompts to utilize language models to perform various downstream tasks, also known as prompt-based learning or prompt-learning, has lately gained significant success in comparison to the pre-train and fine-tune paradigm. Nonetheless, virtually all prompt-based methods are token-level, meaning they all utilize GPT's left-to-right language model or BERT's masked language model to perform cloze-style tasks. In this paper, we attempt to accomplish several NLP tasks in the zero-shot scenario using a BERT original pre-training task abandoned by RoBERTa and other models--Next Sentence Prediction (NSP). Unlike token-level techniques, our sentence-level prompt-based method NSP-BERT does not need to fix the length of the prompt or the position to be predicted, allowing it to handle tasks such as entity linking with ease. Based on the characteristics of NSP-BERT, we offer several quick building templates for various downstream tasks. We suggest a two-stage prompt method for word sense disambiguation tasks in particular. Our strategies for mapping the labels significantly enhance the model's performance on sentence pair tasks. On the FewCLUE benchmark, our NSP-BERT outperforms other zero-shot methods on most of these tasks and comes close to the few-shot methods.
A brief history of AI: how to prevent another winter (a critical review)
Toosi, Amirhosein, Bottino, Andrea, Saboury, Babak, Siegel, Eliot, Rahmim, Arman
The field of artificial intelligence (AI), regarded as one of the most enigmatic areas of science, has witnessed exponential growth in the past decade including a remarkably wide array of applications, having already impacted our everyday lives. Advances in computing power and the design of sophisticated AI algorithms have enabled computers to outperform humans in a variety of tasks, especially in the areas of computer vision and speech recognition. Yet, AI's path has never been smooth, having essentially fallen apart twice in its lifetime ('winters' of AI), both after periods of popular success ('summers' of AI). We provide a brief rundown of AI's evolution over the course of decades, highlighting its crucial moments and major turning points from inception to the present. In doing so, we attempt to learn, anticipate the future, and discuss what steps may be taken to prevent another 'winter'.
A taxonomy of Transformer based pre-trained language models (TPTLM)
General pretraining: Models like GPT-1, BERT etc are pretrained on general corpus. Language-based: Models could be trained on languages either monolingual or multilingual. TPTLM could be classified based on their architecture. A T-PTLM can be pretrained using a stack of encoders or decoders or both. Self supervised learning - SSL is one of the key ingredients in building T-PTLMs.
Nvidia In the Lead in AI Chips and is Working to Stay There - AI Trends
Nearly 100% of AI-accelerator chips are from Nvidia today, and the company cofounded in 1993 by CEO Jensen Huang is working hard to maintain its lead position in AI processing. Still, the AI landscape now includes many companies engaged in efforts to build the next generation of AI chips, capable of processing ever-increasing workloads in data centers and handling more processing pushing out to edge computers. That Nvidia is in a dominant position today in the AI chip market is not in dispute. Its graphic processing unit (GPU) chips were deployed in 2019 in over 97% of AI accelerator instances of hardware used to boost processing speeds, at AWS, Google, Alibaba, and Azure, the top four cloud providers, according to a recent account in Wired UK. Nvidia commands "nearly 100%" of the market for training AI algorithms, stated Karl Freund, analyst at Cambrian AI Research. Nearly 70% of the top 500 supercomputers use its GPUs and AI milestones such as the GPT-3 large language model form OpenAI and DeepMind's board game champion AlphaGo have executed on Nvidia hardware.