Goto

Collaborating Authors

 Large Language Model


EvEntS ReaLM: Event Reasoning of Entity States via Language Models

arXiv.org Artificial Intelligence

This paper investigates models of event implications. Specifically, how well models predict entity state-changes, by targeting their understanding of physical attributes. Nominally, Large Language models (LLM) have been exposed to procedural knowledge about how objects interact, yet our benchmarking shows they fail to reason about the world. Conversely, we also demonstrate that existing approaches often misrepresent the surprising abilities of LLMs via improper task encodings and that proper model prompting can dramatically improve performance of reported baseline results across multiple tasks. In particular, our results indicate that our prompting technique is especially useful for unseen attributes (out-of-domain) or when only limited data is available.


Meta-learning Pathologies from Radiology Reports using Variance Aware Prototypical Networks

arXiv.org Artificial Intelligence

Large pretrained Transformer-based language models like BERT and GPT have changed the landscape of Natural Language Processing (NLP). However, fine tuning such models still requires a large number of training examples for each target task, thus annotating multiple datasets and training these models on various downstream tasks becomes time consuming and expensive. In this work, we propose a simple extension of the Prototypical Networks for few-shot text classification. Our main idea is to replace the class prototypes by Gaussians and introduce a regularization term that encourages the examples to be clustered near the appropriate class centroids. Experimental results show that our method outperforms various strong baselines on 13 public and 4 internal datasets. Furthermore, we use the class distributions as a tool for detecting potential out-of-distribution (OOD) data points during deployment.


LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale

arXiv.org Artificial Intelligence

Large language models have been widely adopted but require significant GPU memory for inference. We develop a procedure for Int8 matrix multiplication for feed-forward and attention projection layers in transformers, which cut the memory needed for inference by half while retaining full precision performance. With our method, a 175B parameter 16/32-bit checkpoint can be loaded, converted to Int8, and used immediately without performance degradation. This is made possible by understanding and working around properties of highly systematic emergent features in transformer language models that dominate attention and transformer predictive performance. To cope with these features, we develop a two-part quantization procedure, LLM.int8(). We first use vector-wise quantization with separate normalization constants for each inner product in the matrix multiplication, to quantize most of the features. However, for the emergent outliers, we also include a new mixed-precision decomposition scheme, which isolates the outlier feature dimensions into a 16-bit matrix multiplication while still more than 99.9% of values are multiplied in 8-bit. Using LLM.int8(), we show empirically it is possible to perform inference in LLMs with up to 175B parameters without any performance degradation. This result makes such models much more accessible, for example making it possible to use OPT-175B/BLOOM on a single server with consumer GPUs. We open-source our software.


Prompt Learning for Domain Adaptation in Task-Oriented Dialogue

arXiv.org Artificial Intelligence

Conversation designers continue to face significant obstacles when creating production quality task-oriented dialogue systems. The complexity and cost involved in schema development and data collection is often a major barrier for such designers, limiting their ability to create natural, user-friendly experiences. We frame the classification of user intent as the generation of a canonical form, a lightweight semantic representation using natural language. We show that canonical forms offer a promising alternative to traditional methods for intent classification. By tuning soft prompts for a frozen large language model, we show that canonical forms generalize very well to new, unseen domains in a zero- or few-shot setting. The method is also sample-efficient, reducing the complexity and effort of developing new task-oriented dialogue domains.


OpenAI leads $23.5M round in Mem, an AI-powered note-taking app

#artificialintelligence

Last year, OpenAI announced the OpenAI Startup Fund, a tranche through which it and its partners, including Microsoft, are investing in early-stage AI companies tackling major problems. Mum's been the word since on which companies have received infusions from the Fund. But today, the OpenAI Startup Fund revealed that it led a $23.5 million investment in Mem, a work-focused app that taps AI to automatically organize notes. The investment values Mem at $110 million post-money and brings the startup's total raised to $29 million. The workflow revolves around search and a chronological timeline, allowing users to attach topic tags, tag other users and add recurring reminders to notes.


10 Creative Uses for GPT-3 in OpenAI Playground

#artificialintelligence

GPT-3 is a language model that can generate text that sounds just like a human wrote it. Through OpenAI Playground, it's free to use for the first three months and there are plenty of reasons why you should check it out. While some crafty students are using it to complete their homework, it's also useful for writing birthday wishes or generating a list of pet names for your future pet. Then GPT-3's got you covered for that too! OpenAI's GPT-3 is a language model that has been trained on more text than you are likely to ever read in a lifetime.


OpenAI and Microsoft hit with lawsuit over GitHub Copilot

#artificialintelligence

A class-action lawsuit has been launched against OpenAI and Microsoft over GitHub Copilot. GitHub Copilot uses technology from OpenAI to help generate code and speed up software development. Microsoft says that it is trained on "billions of lines of public code … written by others." Last month, developer and lawyer Matthew Butterick announced that he'd partnered with the Joseph Saveri Law Firm to investigate whether Copilot infringed on the rights of developers by scraping their code and not providing due attribution. This could unwittingly cause serious legal problems for GitHub Copilot users. "Copilot leaves copyleft compliance as an exercise for the user.


Would You Read a Book of Spiritual Poetry Written by an AI?

#artificialintelligence

What do our creations think of us? Generative Pre-trained Transformer 3 is a language model released by OpenAI in 2020 that uses deep learning to produce text that seems like it could have been written by a human. Taken individually, the AI's lines don't smack much of poetry or strictly cohere, but in aggregate, they gesture at something more. What would it produce if asked to meditate on the human soul and to produce spiritual poetry like ours? What does it think of our religious beliefs?


Training self-supervised peptide sequence models on artificially chopped proteins

arXiv.org Artificial Intelligence

Representation learning for proteins has primarily focused on the global understanding of protein sequences regardless of their length. However, shorter proteins (known as peptides) take on distinct structures and functions compared to their longer counterparts. Unfortunately, there are not as many naturally occurring peptides available to be sequenced and therefore less peptide-specific data to train with. In this paper, we propose a new peptide data augmentation scheme, where we train peptide language models on artificially constructed peptides that are small contiguous subsets of longer, wild-type proteins; we refer to the training peptides as "chopped proteins". We evaluate the representation potential of models trained with chopped proteins versus natural peptides and find that training language models with chopped proteins results in more generalized embeddings for short protein sequences. These peptide-specific models also retain information about the original protein they were derived from better than language models trained on full-length proteins. We compare masked language model training objectives to three novel peptide-specific training objectives: next-peptide prediction, contrastive peptide selection and evolution-weighted MLM. We demonstrate improved zero-shot learning performance for a deep mutational scan peptides benchmark.


Accountable and Explainable Methods for Complex Reasoning over Text

arXiv.org Artificial Intelligence

A major concern of Machine Learning (ML) models is their opacity. They are deployed in an increasing number of applications where they often operate as black boxes that do not provide explanations for their predictions. Among others, the potential harms associated with the lack of understanding of the models' rationales include privacy violations, adversarial manipulations, and unfair discrimination. As a result, the accountability and transparency of ML models have been posed as critical desiderata by works in policy and law, philosophy, and computer science. In computer science, the decision-making process of ML models has been studied by developing accountability and transparency methods. Accountability methods, such as adversarial attacks and diagnostic datasets, expose vulnerabilities of ML models that could lead to malicious manipulations or systematic faults in their predictions. Transparency methods explain the rationales behind models' predictions gaining the trust of relevant stakeholders and potentially uncovering mistakes and unfairness in models' decisions. To this end, transparency methods have to meet accountability requirements as well, e.g., being robust and faithful to the underlying rationales of a model. This thesis presents my research that expands our collective knowledge in the areas of accountability and transparency of ML models developed for complex reasoning tasks over text.