Goto

Collaborating Authors

 Large Language Model


Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIP

arXiv.org Artificial Intelligence

In an out-of-distribution (OOD) detection problem, samples of known classes(also called in-distribution classes) are used to train a special classifier. In testing, the classifier can (1) classify the test samples of known classes to their respective classes and also (2) detect samples that do not belong to any of the known classes (i.e., they belong to some unknown or OOD classes). This paper studies the problem of zero-shot out-of-distribution(OOD) detection, which still performs the same two tasks in testing but has no training except using the given known class names. This paper proposes a novel yet simple method (called ZOC) to solve the problem. ZOC builds on top of the recent advances in zero-shot classification through multi-modal representation learning. It first extends the pre-trained language-vision model CLIP by training a text-based image description generator on top of CLIP. In testing, it uses the extended model to generate candidate unknown class names for each test sample and computes a confidence score based on both the known class names and candidate unknown class names for zero-shot OOD detection. Experimental results on 5 benchmark datasets for OOD detection demonstrate that ZOC outperforms the baselines by a large margin.


An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labels

arXiv.org Artificial Intelligence

Pre-trained language models derive substantial linguistic and factual knowledge from the massive corpora on which they are trained, and prompt engineering seeks to align these models to specific tasks. Unfortunately, existing prompt engineering methods require significant amounts of labeled data, access to model parameters, or both. We introduce a new method for selecting prompt templates without labeled examples and without direct access to the model. Specifically, over a set of candidate templates, we choose the template that maximizes the mutual information between the input and the corresponding model output. Figure 1: Performance of template selected by our maximum Across 8 datasets representing 7 distinct NLP mutual information method (MI) compared to tasks, we show that when a template has high the the worst, mean, median, and best prompt on GPT-3 mutual information, it also has high accuracy Davinci (175B). Our method performs at almost oracle on the task. On the largest model, selecting levels, without labels or access to model weights.


THE AGE OF AI -- BOOK REVIEW

#artificialintelligence

The book The Age of AI and Our Human Future is a graduate school level text. The Age of AI is the future, and it's coming way too fast. The human race has never been more challenged. We are all about to make some huge decisions. It is almost a magisterium for human life in the Fourth Industrial Revolution age. It is written by thought leaders of the highest-level, each in their respective fields. The first author is Henry Kissinger the former Secretary of State and NSC advisor to two US presidents, a philosopher and Nobel Peace Prize Laureate. At age 98 he has seen it all and done it, and remains an international counselor to politicians and business magnates. The second author, Eric Schmidt consolidated Google into the cutting edge technology giant that it is today. In this role he is a sought out counselor and business mogul. The third author is Daniel Huttenlocher -- the inaugural Dean of the MIT College of Computing. It is the place where AI is reinvented and recreated on self-teaching algorithm development and data aggregation from the global network platforms and the internet that occur 24/7 at a neck breaking pace. This compendium though incomplete, has more authors, contributors and editors. Meredith Potter is a contributor who augments Kissinger's intellectual pursuits she drafted, edited the texts and made the chapters flowing clearly and seamless. These and other editors made this textbook intellectually rich, informative, and easy to read. The Age of AI introduces the reader to the occurring changes we experienced in our society today. You are about to encounter many topics that involve the future in its continuing evolution. Every high school student is adapting to the new classroom intellectual reality. Here are two points to consider. First, the technology that this text discusses is not available in your community college courses or on other educational websites.


Localio AI Review โ€“ AUTO Create Marketing Copy for ANY Niche โ€“ Bundle Deal by Adrian and Cristian - Best Review - Bonus - Coupon Code

#artificialintelligence

I hope you will have more useful information and happy with my awesome free bonus below. Localio A.I is a cloud-based software solution aiming to assist online marketers, digital marketers, digital agencies and local consultants to sell any and all digital marketing services with the power Artificial Intelligence that creates any type of content for Google, Facebook, Email, Press Releases and more. Powered by OpenAI GPT3 jaw-dropping power, it will assist you in writing everything from emails to Google and Facebook ads for local businesses crafted to convert leads into sales, drive traffic to your websites, increase SEO score and ultimately help you quadruple your client closing rates. If you want to get the whole package of Localio AI (Localio Adavanced Localio Pro Localio Agency Localio VIP Membership). I recommend you get the Localio Bundle at special price deal by clicking the button below.


A new Stanford study suggests AI still has a bias problem

#artificialintelligence

AI Index co-director Jack Clark (currently co-founder of the AI company Anthropic, formerly of OpenAI) tells Fast Company that the AI industry is currently engaged in a debate over whether it's best to remove toxicity and bias by more careful curation of the training data, or by increasing the size of the training data set to the point where the "good" training data pushes the bad content to the margins. As tech companies large and small hurry to make big language models available through APIs or as cloud-based services, "it becomes critical to understand how the shortcomings of these models will affect safe and ethical deployment," the researchers write. There are also signs that AI companies are not ignoring the bias and ethics challenges of the technology. Researchers with industry affiliations contributed 71% more publications year-over-year in 2021 at fairness-focused industry conferences, the report says.


Using AI to fill in the missing gaps in ancient texts

#artificialintelligence

A team of AI researchers at DeepMind, working with colleagues from the University of Venice, the University of Oxford and Athens University of Economics and Business, has developed an artificial intelligence (AI) application to help historians fill in the gaps of text missing from stone, metal or pottery artifacts. In their paper published in the journal Nature, the group describes how they built the app, how it can be used and how well it worked when tested against known texts. Charlotte Rouechรฉ, with King's College London, has published a News and Views piece in the same journal issue outlining the history of using new technology to better understand historical artifacts and the work done by the team on this new effort. During certain points in history, humans began using written text for purposes such as keeping accounts. Such accounts can give modern scholars clues as to how people in ancient societies went about their days.


An AI Twitter bot that only tweets good news, with Python and GPT2

#artificialintelligence

Running AI these days is increasingly simple due to the hard work of open source contributors producing top-notch libraries out there, and research groups opening up their work so others can build on it. One key library doing that is HuggingFace's Transformers library. HuggingFace are a startup building, amongst other NLP-related products, a library and model ecosystem that allows almost anyone to quickly and easily set up AI-powered chat bots that can consume or produce natural language. In this post, I'll demonstrate how I used this library to produce a Twitter bot that is only tweeting made-up (and slightly quirky) good news This blog post isn't meant to explain any theory, but for those who aren't familiar, the easiest way to explain this kind of AI, is they're sophisticated pattern recognition systems. If you feed it enough data, it can build up an ability to recognize the patterns in the english language, to the extent that if you ask it to repeat the pattern, not only will it generate mostly correct English grammar, it might also from time to time generate a coherent sentence!


It's Like GPT-3, but for Code--Fun, Fast, and Full of Flaws

WIRED

As a devotee of the open source software movement, he has written immensely popular web apps, peer-to-peer file exchanges, and more than 100 other pieces of code that he has given away, all in the 10 years since he graduated from college. Lately, though, Aboukhadijeh has entered a new kind of flow state, helped along by a tool called Copilot. It's a piece of artificially intelligent software that does some of the typing, and the thinking, for him. Built by OpenAI, the private research lab, and GitHub, the Microsoft-owned website where programmers share code, the tool is essentially autocomplete for software development. Much as Gmail tries to finish a sentence as you write it, Copilot offers to complete a chunk of your program.


Cars Require Regular Inspection, Why Should AI Models Be any Different?

#artificialintelligence

Like the development of a car model (say, electrical cars), developing AI models is a costly and time-consuming process. The lifecycle of an AI model can be divided into two phases: training and deployment. The training phase includes data collection and pre-processing, model selection (e.g., architecture search and design), hyperparameter tuning, model parameter optimization, and validation. AI model training can be quite expensive, especially when it comes to the training of foundation models4 that require pre-training on large-scale datasets with neural networks consisting of a gigantic size of trainable parameters. Take the Generative Pre-trained Transformer 3 (GPT-3)5 as an example, which is one of the largest languages models ever trained to date.


Deep Learning Models that Write Code - Issue #6

#artificialintelligence

Simply put, a language model is a statistical model that learns the distribution or probabilities of words in a sequence. It turns out that if we can achieve such a model with high fidelity, we can solve a few interesting tasks. For example, if we know that a word is likely to occur given some sequence of words, we can implement some useful functionality like email autocomplete (e.g., given the sequence "Have a great " .. we can predict that the next likely word is "day"). When these statistical models are derived using large neural networks with billions of parameters (hence the term large language models or LLMs), the results and application areas are even more impressive. Results from transformer-based model architectures like BERT, GPT etc., show that these models excel at several complex tasks e.g., they can mimic creative writing, predict sentiment, identify topics within sentences with few examples, meaningfully summarize lengthy documents, translate languages etc.