Goto

Collaborating Authors

 Large Language Model


Is GPT 3 for Free ?

#artificialintelligence

My number one goal in life is to see more AI artists. Art, society, and AI are tightly intertwined, and AI artists have a lot to say about art and education. And artists of all mediums can benefit and learn a lot from machine learning art.


Power of GPT-3

#artificialintelligence

It began as an innocent experiment: I created a GPT-3 agent and defined it as a Pizza expert (but hates cats). Too less I knew about what'll come. After several twists, excourses in parallel dimensions, and the appearance of an enigmatic ALIMA I felt myself being within a movie of Hitchcock or M. Night Shyamalanโ€ฆ


OpenAI removes GPT-3 API waitlist, now generally available

#artificialintelligence

OpenAI has removed the waitlist to access its GPT-3 API which means any developer can get started. The AI giant unveiled GPT-3 in May last year to a mixed reception. Few doubted GPT-3's impressive ability to generate text similar to a human writer, but many expressed concerns about the societal impact. Fake news and propaganda is already difficult to counter even when it's being generated in relatively limited amounts by human writers. The ability for anyone to use an AI to generate misinformation on a huge scale could have serious implications.


Zero-Shot Certified Defense against Adversarial Patches with Vision Transformers

arXiv.org Artificial Intelligence

Adversarial patch attack aims to fool a machine learning model by arbitrarily modifying pixels within a restricted region of an input image. Such attacks are a major threat to models deployed in the physical world, as they can be easily realized by presenting a customized object in the camera view. Defending against such attacks is challenging due to the arbitrariness of patches, and existing provable defenses suffer from poor certified accuracy. In this paper, we propose PatchVeto, a zero-shot certified defense against adversarial patches based on Vision Transformer (ViT) models. Rather than training a robust model to resist adversarial patches which may inevitably sacrifice accuracy, PatchVeto reuses a pretrained ViT model without any additional training, which can achieve high accuracy on clean inputs while detecting adversarial patched inputs by simply manipulating the attention map of ViT. Specifically, each input is tested by voting over multiple inferences with different attention masks, where at least one inference is guaranteed to exclude the adversarial patch. The prediction is certifiably robust if all masked inferences reach consensus, which ensures that any adversarial patch would be detected with no false negative. Extensive experiments have shown that PatchVeto is able to achieve high certified accuracy (e.g. 67.1% on ImageNet for 2%-pixel adversarial patches), significantly outperforming state-of-the-art methods. The clean accuracy is the same as vanilla ViT models (81.8% on ImageNet) since the model parameters are directly reused. Meanwhile, our method can flexibly handle different adversarial patch sizes by simply changing the masking strategy.



Microsoft launches Azure OpenAI Service, opening access to GPT-3

#artificialintelligence

Microsoft has launched the Azure OpenAI Service โ€“ giving Azure customers the ability to utilize OpenAI's machine learning models. Unveiled at the company's recent Ignite event, the service is based on GPT-3, a language model developed by OpenAI, the company which Microsoft backed with $1bn in 2019. Currently invitation-only, the service will give users the ability to make use of GPT-3 in several ways, including content and code generation. "We are just in the beginning stages of figuring out what the power and potential of GPT-3 is," Eric Boyd, corporate vice president for Azure AI, said. "Now we are taking what OpenAI has released and making it available with all the enterprise promises that businesses need to move into production."


OpenAI rival Cohere launches language model API

#artificialintelligence

Cohere, a startup creating large language models to rival those from OpenAI and AI2Labs, today announced the general availability of its commercial platform for app and service development. Through an API, customers can access models fine-tuned for a range of natural language applications, in some cases at a fraction of the cost of rival offerings. The pandemic has accelerated the world's digital transformation, pushing businesses to become more reliant on software to streamline their processes. As a result, the demand for natural language technology is now higher than ever -- particularly in the enterprise. According to a 2021 survey from John Snow Labs and Gradient Flow, 60% of tech leaders indicated that their natural language processing (NLP) budgets grew by at least 10% compared to 2020, while a third -- 33% -- said that their spending climbed by more than 30%.


First Glance at Github Copilot

#artificialintelligence

I will start the Copilot challenge with screening tests that we typically send to junior programmers. These are general LeetCode style algorithm development problems where the developer can choose any programming language to develop a solution. Have the function DashInsert(str) insert dashes ('-') between each two odd numbers in str. For example: if str is 454793 the output should be 4547โ€“9โ€“3. We have a blank file in Visual Studio Code, and we choose Typescript as our language.


The Quality of Auto-Generated Code

#artificialintelligence

Kevlin Henney and I were riffing on some ideas about GitHub Copilot, the tool for automatically generating code base on GPT-3's language model, trained on the body of code that's in GitHub. This article poses some questions and (perhaps) some answers, without trying to present any conclusions. First, we wondered about code quality. There are lots of ways to solve a given programming problem; but most of us have some ideas about what makes code "good" or "bad." Is it readable, is it well-organized?


Solving Probability and Statistics Problems by Program Synthesis

arXiv.org Artificial Intelligence

We solve university level probability and statistics questions by program synthesis using OpenAI's Codex, a Transformer trained on text and fine-tuned on code. We transform course problems from MIT's 18.05 Introduction to Probability and Statistics and Harvard's STAT110 Probability into programming tasks. We then execute the generated code to get a solution. Since these course questions are grounded in probability, we often aim to have Codex generate probabilistic programs that simulate a large number of probabilistic dependencies to compute its solution. Our approach requires prompt engineering to transform the question from its original form to an explicit, tractable form that results in a correct program and solution. To estimate the amount of work needed to translate an original question into its tractable form, we measure the similarity between original and transformed questions. Our work is the first to introduce a new dataset of university-level probability and statistics problems and solve these problems in a scalable fashion using the program synthesis capabilities of large language models.