Goto

Collaborating Authors

 Large Language Model


As AI language skills grow, so do scientists' concerns

#artificialintelligence

The tech industry's latest artificial intelligence constructs can be pretty convincing if you ask them what it feels like to be a sentient computer, or maybe just a dinosaur or squirrel. Take, for instance, GPT-3, a Microsoft-controlled system that can generate paragraphs of human-like text based on what it's learned from a vast database of digital books and online writings. It's considered one of the most advanced of a new generation of AI algorithms that can converse, generate readable text on demand and even produce novel images and video. Among other things, GPT-3 can write up most any text you ask for -- a cover letter for a zookeeping job, say, or a Shakespearean-style sonnet set on Mars. But when Pomona College professor Gary Smith asked it a simple but nonsensical question about walking upstairs, GPT-3 muffed it.


Formal Algorithms for Transformers

arXiv.org Artificial Intelligence

It covers what Transformers are (Section 3 Transformers and Typical Tasks 3 6), how they are trained (Section 7), what 4 Tokenization: How Text is Represented 4 they're used for (Section 3), their key architectural 5 Architectural Components 4 components (Section 5), tokenization (Section 6 Transformer Architectures 7 4), and a preview of practical considerations 7 Transformer Training and Inference 8 8 Practical Considerations 9 (Section 8) and the most prominent models.


Analyzing Bagging Methods for Language Models

arXiv.org Artificial Intelligence

Modern language models leverage increasingly large numbers of parameters to achieve performance on natural language understanding tasks. Ensembling these models in specific configurations for downstream tasks show even further performance improvements. In this paper, we perform an analysis of bagging language models and compare single language models to bagged ensembles that are roughly equivalent in terms of final model size. We explore an array of model bagging configurations for natural language understanding tasks with final ensemble sizes ranging from 300M parameters to 1.5B parameters and determine that our ensembling methods are at best roughly equivalent to single LM baselines. We note other positive effects of bagging and pruning in specific scenarios according to findings in our experiments such as variance reduction and minor performance improvements.


On the Usability of Transformers-based models for a French Question-Answering task

arXiv.org Artificial Intelligence

For many tasks, state-of-the-art results have been achieved with Transformer-based architectures, resulting in a paradigmatic shift in practices from the use of task-specific architectures to the fine-tuning of pre-trained language models. The ongoing trend consists in training models with an ever-increasing amount of data and parameters, which requires considerable resources. It leads to a strong search to improve resource efficiency based on algorithmic and hardware improvements evaluated only for English. This raises questions about their usability when applied to small-scale learning problems, for which a limited amount of training data is available, especially for under-resourced languages tasks. The lack of appropriately sized corpora is a hindrance to applying data-driven and transfer learning-based approaches with strong instability cases. In this paper, we establish a state-of-the-art of the efforts dedicated to the usability of Transformer-based models and propose to evaluate these improvements on the question-answering performances of French language which have few resources. We address the instability relating to data scarcity by investigating various training strategies with data augmentation, hyperparameters optimization and cross-lingual transfer. We also introduce a new compact model for French FrALBERT which proves to be competitive in low-resource settings.


Multilingual Transformer Encoders: a Word-Level Task-Agnostic Evaluation

arXiv.org Artificial Intelligence

Some Transformer-based models can perform cross-lingual transfer learning: those models can be trained on a specific task in one language and give relatively good results on the same task in another language, despite having been pre-trained on monolingual tasks only. But, there is no consensus yet on whether those transformer-based models learn universal patterns across languages. We propose a word-level task-agnostic method to evaluate the alignment of contextualized representations built by such models. We show that our method provides more accurate translated word pairs than previous methods to evaluate word-level alignment. And our results show that some inner layers of multilingual Transformer-based models outperform other explicitly aligned representations, and even more so according to a stricter definition of multilingual alignment.


Much More Quickly and Easily Deploy GPT-2 Using Aitextgen

#artificialintelligence

Originally published on Towards AI the World's Leading AI and Technology News and Media Company. If you are building an AI-related product or service, we invite you to consider becoming an AI sponsor. At Towards AI, we help scale AI and technology startups. Let us help you unleash your technology to the masses. More quickly solve your text generation problems by integrating PyTorch, Hugging Face Transformers, and GPT-2 using Aitextgen.


Open source isn't working for AI

#artificialintelligence

Clearly, we need to do something about how we talk about open source and openness in general. It's been clear since at least 2006 when I rightly got smacked down for calling out Google and Yahoo! for holding back on open source. As Tim O'Reilly wrote at the time, in a cloud era of open source, "one of the motivations to share--the necessity of giving a copy of the source in order to let someone run your program--is truly gone." In fact, he went on, "Not only is it no longer required, in the case of the largest applications, it's no longer possible." That impossibility of sharing has roiled the definition of open source during the past decade, and it's now affecting the way we think about artificial intelligence (AI), as Mike Loukides recently noted.


Can AI Clean Up One of the Dirtiest Corners of the Corporate World?

#artificialintelligence

Industrial production is one of the dirtiest corners of the corporate world. A startup from former Google engineers thinks it can clean it up with artificial intelligence. Phaidra, a company based in Seattle, sells AI software to automate building controls for power plants and other industrial giants. For several years, DeepMind has let its AI system manage the temperature controls inside Google data centers, ultimately shaving huge chunks off the company's electricity bill.


Word Play for Playing Othello (Reverses)

arXiv.org Artificial Intelligence

Language models like OpenAI's Generative Pre-Trained Transformers (GPT-2/3) capture the long-term correlations needed to generate text in a variety of domains (such as language translators) and recently in gameplay (chess, Go, and checkers). The present research applies both the larger (GPT-3) and smaller (GPT-2) language models to explore the complex strategies for the game of Othello (or Reverses). Given the game rules for rapid reversals of fortune, the language model not only represents a candidate predictor of the next move based on previous game moves but also avoids sparse rewards in gameplay. The language model automatically captures or emulates championship-level strategies. The fine-tuned GPT-2 model generates Othello games ranging from 13-71% completion, while the larger GPT-3 model reaches 41% of a complete game. Like previous work with chess and Go, these language models offer a novel way to generate plausible game archives, particularly for comparing opening moves across a larger sample than humanly possible to explore. A primary contribution of these models magnifies (by two-fold) the previous record for player archives (120,000 human games over 45 years from 1977-2022), thus supplying the research community with more diverse and original strategies for sampling with other reinforcement learning techniques.


Selection Bias Induced Spurious Correlations in Large Language Models

arXiv.org Artificial Intelligence

In this work we show how large language models (LLMs) can learn statistical dependencies between otherwise unconditionally independent variables due to dataset selection bias. To demonstrate the effect, we developed a masked gender task that can be applied to BERT-family models to reveal spurious correlations between predicted gender pronouns and a variety of seemingly gender-neutral variables like date and location, on pre-trained (unmodified) BERT and RoBERTa large models. Finally, we provide an online demo, inviting readers to experiment further.