Goto

Collaborating Authors

 Large Language Model


mezzacotta - Square Root of Minus Garfield

#artificialintelligence

Jon: You are not funny. Garfield: That wasn't a laugh, that was a snorta sound. Jon: I'm gonna get you one day, ya big lug. The dialogue was generated using GPT-3. The data I supplied was a basic summary of Garfield, Jon, and Odie's personalities, and three transcripts of sample comics.


Recent developments in the applications of BERT model(Aritificial Intelligence)

#artificialintelligence

Abstract: A well formed query is defined as a query which is formulated in the manner of an inquiry, and with correct interrogatives, spelling and grammar. While identifying well formed queries is an important task, few works have attempted to address it. In this paper we propose transformer based language model -- Bidirectional Encoder Representations from Transformers (BERT) to this task. We further imbibe BERT with parts-of-speech information inspired from earlier works. Furthermore, we also train the model in multiple curriculum settings for improvement in performance.


Trust in Language Grounding: a new AI challenge for human-robot teams

arXiv.org Artificial Intelligence

The challenge of language grounding is to fully understand natural language by grounding language in real-world referents. While AI techniques are available, the widespread adoption and effectiveness of such technologies for human-robot teams relies critically on user trust. This survey provides three contributions relating to the newly emerging field of trust in language grounding, including a) an overview of language grounding research in terms of AI technologies, data sets, and user interfaces; b) six hypothesised trust factors relevant to language grounding, which are tested empirically on a human-robot cleaning team; and c) future research directions for trust in language grounding.


Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examples

arXiv.org Artificial Intelligence

Recent advances in the development of large language models have resulted in public access to state-of-the-art pre-trained language models (PLMs), including Generative Pre-trained Transformer 3 (GPT-3) and Bidirectional Encoder Representations from Transformers (BERT). However, evaluations of PLMs, in practice, have shown their susceptibility to adversarial attacks during the training and fine-tuning stages of development. Such attacks can result in erroneous outputs, model-generated hate speech, and the exposure of users' sensitive information. While existing research has focused on adversarial attacks during either the training or the fine-tuning of PLMs, there is a deficit of information on attacks made between these two development phases. In this work, we highlight a major security vulnerability in the public release of GPT-3 and further investigate this vulnerability in other state-of-the-art PLMs. We restrict our work to pre-trained models that have not undergone fine-tuning. Further, we underscore token distance-minimized perturbations as an effective adversarial approach, bypassing both supervised and unsupervised quality measures. Following this approach, we observe a significant decrease in text classification quality when evaluating for semantic similarity.


Selective Annotation Makes Language Models Better Few-Shot Learners

arXiv.org Artificial Intelligence

Many recent approaches to natural language tasks are built on the remarkable abilities of large language models. Large language models can perform in-context learning, where they learn a new task from a few task demonstrations, without any parameter updates. This work examines the implications of in-context learning for the creation of datasets for new natural language tasks. Departing from recent in-context learning methods, we formulate an annotation-efficient, two-step framework: selective annotation that chooses a pool of examples to annotate from unlabeled data in advance, followed by prompt retrieval that retrieves task examples from the annotated pool at test time. Based on this framework, we propose an unsupervised, graph-based selective annotation method, voke-k, to select diverse, representative examples to annotate. Extensive experiments on 10 datasets (covering classification, commonsense reasoning, dialogue, and text/code generation) demonstrate that our selective annotation method improves the task performance by a large margin. On average, vote-k achieves a 12.9%/11.4% relative gain under an annotation budget of 18/100, as compared to randomly selecting examples to annotate. Compared to state-of-the-art supervised finetuning approaches, it yields similar performance with 10-100x less annotation cost across 10 tasks. We further analyze the effectiveness of our framework in various scenarios: language models with varying sizes, alternative selective annotation methods, and cases where there is a test data domain shift. We hope that our studies will serve as a basis for data annotations as large language models are increasingly applied to new tasks. Our code is available at https://github.com/HKUNLP/icl-selective-annotation.


Transformer-Based Language Models for Software Vulnerability Detection

arXiv.org Artificial Intelligence

The large transformer-based language models demonstrate excellent performance in natural language processing. By considering the transferability of the knowledge gained by these models in one domain to other related domains, and the closeness of natural languages to high-level programming languages, such as C/C++, this work studies how to leverage (large) transformer-based language models in detecting software vulnerabilities and how good are these models for vulnerability detection tasks. In this regard, firstly, a systematic (cohesive) framework that details source code translation, model preparation, and inference is presented. Then, an empirical analysis is performed with software vulnerability datasets with C/C++ source codes having multiple vulnerabilities corresponding to the library function call, pointer usage, array usage, and arithmetic expression. Our empirical results demonstrate the good performance of the language models in vulnerability detection. Moreover, these language models have better performance metrics, such as F1-score, than the contemporary models, namely bidirectional long short-term memory and bidirectional gated recurrent unit. Experimenting with the language models is always challenging due to the requirement of computing resources, platforms, libraries, and dependencies. Thus, this paper also analyses the popular platforms to efficiently fine-tune these models and present recommendations while choosing the platforms.


This Week's Awesome Tech Stories From Around the Web (Through Sept 3)

#artificialintelligence

An AI-generated Artwork's State Fair Victory Fuels Arguments Over'What Art Is' James Vincent The Verge "The rise of text-to-AI image generators has only just begun, but already, the programs are sparking heated debates about the nature of art, whether this software poses a threat to artists' livelihoods, and whether or not the companies that create these systems [owe] anything to the artists whose work their programs are trained on." A New Gene Therapy Based on Antibody Cells Is About to Be Tested in Humans Antonio Regalado MIT Technology Review "The concept is to engineer B cells so that they manufacture other proteins instead of antibodies. For [the rare inherited disease MPS-1], what's needed is an enzyme whose absence causes diverse and devastating symptoms. Patients with the illness are currently treated with weekly infusions of the missing enzyme, but it's not enough to cure the disease outright. Immusoft says it can engineer B cells to produce the enzyme instead."


Opinion

#artificialintelligence

DeepMind, a U.K.-based firm that is part of Alphabet, Google's parent company, has developed an artificial intelligence and machine learning system that can predict the three-dimensional structure of proteins, decoding the amino acids that make up each protein. Last year, the system had 350,000 entries. Then on July 28, DeepMind co-founder and chief executive Demis Hassabis announced the expansion of the company's database of folded proteins to more than 200 million -- nearly all catalogued proteins known to science, including those in humans, plants, bacteria, animals and other organisms -- and that the company is making them publicly available and free, accessible with no more effort than a Google search. The database is called AlphaFold, and it is the equivalent of a James Webb Space Telescope for biology, providing astounding new visuals of a world beyond.


Watch out, Messi: artificial intelligence has finally learned to play football

#artificialintelligence

DeepMind, Google's artificial intelligence division, taught AI humanoids how to work as a team in order to play football together, turning them from flailing tots to proficient players. Researchers ran a computer simulation through an athletic curriculum, giving AI control over humanoids with realistic body masses and movements. It's not the first time DeepMind tried its hand at games. The AI previously mastered chess and Go, a feat that researchers thought was nigh impossible at one point. Then, the group focused on other games, like Mario or Starcraft.


The Effectiveness of Bidirectional Generative Patent Language Models

arXiv.org Artificial Intelligence

Generative patent language models can assist humans to write patent text more effectively. The question is how to measure effectiveness from a human-centric perspective and how to improve effectiveness. In this manuscript, a simplified design of the autocomplete function is proposed to increase effectiveness by more than 10%. With the new design, the effectiveness of autocomplete can reach more than 60%, which means that more than 60% of keystrokes can be saved by autocomplete. Since writing patent text does not necessarily start from the beginning to the end, a question is whether the generative model can assist a user no matter where to start writing. To answer the question, the generative models in this manuscript are pre-trained with training data in both directions. The generative models become bidirectional. Since text generation is bidirectional, the calculation of autocomplete effectiveness can be bidirectional and starts from anywhere in the text. After thorough experiments, a key finding is that the autocomplete effectiveness of a model for the same text remains similar no matter where the calculation starts. The finding indicates that such bidirectional models can assist a user at a similar level, no matter where the user starts to write.