chunk
stringlengths 128
128
| id
stringlengths 10
10
| title
stringlengths 19
148
| summary
stringlengths 345
1.92k
| source
stringlengths 31
31
| authors
sequence | text_length
int64 128
128
|
---|---|---|---|---|---|---|
Measuring and Narrowing the Compositionality Gap in Language Models
Ofir Press1,2, Muru Zhang1, Sewon Min1,3, Ludwig Schmidt1,4, | 2210.03350 | Measuring and Narrowing the Compositionality Gap in Language Models | We investigate the ability of language models to perform compositional
reasoning tasks where the overall solution depends on correctly composing the
answers to sub-problems. We measure how often models can correctly answer all
sub-problems but not generate the overall solution, a ratio we call the
compositionality gap. We evaluate this ratio by asking multi-hop questions with
answers that require composing multiple facts unlikely to have been observed
together during pretraining. In the GPT-3 family of models, as model size
increases we show that the single-hop question answering performance improves
faster than the multi-hop performance does, therefore the compositionality gap
does not decrease. This surprising result suggests that while more powerful
models memorize and recall more factual knowledge, they show no corresponding
improvement in their ability to perform this kind of compositional reasoning.
We then demonstrate how elicitive prompting (such as chain of thought)
narrows the compositionality gap by reasoning explicitly instead of implicitly.
We present a new method, self-ask, that further improves on chain of thought.
In our method, the model explicitly asks itself (and then answers) follow-up
questions before answering the initial question. We finally show that
self-ask's structured prompting lets us easily plug in a search engine to
answer the follow-up questions, which additionally improves accuracy. | http://arxiv.org/pdf/2210.03350 | [
"Ofir Press",
"Muru Zhang",
"Sewon Min",
"Ludwig Schmidt",
"Noah A. Smith",
"Mike Lewis"
] | 128 |
Chasing Carbon: The Elusive Environmental
Footprint of Computing
Udit Gupta1;2, Young Geun Kim3, Sylvia Lee2, Jordan Tse2,
Hsien | 2011.02839 | Chasing Carbon: The Elusive Environmental Footprint of Computing | Given recent algorithm, software, and hardware innovation, computing has
enabled a plethora of new applications. As computing becomes increasingly
ubiquitous, however, so does its environmental impact. This paper brings the
issue to the attention of computer-systems researchers. Our analysis, built on
industry-reported characterization, quantifies the environmental effects of
computing in terms of carbon emissions. Broadly, carbon emissions have two
sources: operational energy consumption, and hardware manufacturing and
infrastructure. Although carbon emissions from the former are decreasing thanks
to algorithmic, software, and hardware innovations that boost performance and
power efficiency, the overall carbon footprint of computer systems continues to
grow. This work quantifies the carbon output of computer systems to show that
most emissions related to modern mobile and data-center equipment come from
hardware manufacturing and infrastructure. We therefore outline future
directions for minimizing the environmental impact of computing systems. | http://arxiv.org/pdf/2011.02839 | [
"Udit Gupta",
"Young Geun Kim",
"Sylvia Lee",
"Jordan Tse",
"Hsien-Hsin S. Lee",
"Gu-Yeon Wei",
"David Brooks",
"Carole-Jean Wu"
] | 128 |
TASK2VEC: Task Embedding for Meta-Learning
Alessandro Achille
UCLA and AWS
[email protected] Lam
AWS
[email protected] | 1902.03545 | Task2Vec: Task Embedding for Meta-Learning | We introduce a method to provide vectorial representations of visual
classification tasks which can be used to reason about the nature of those
tasks and their relations. Given a dataset with ground-truth labels and a loss
function defined over those labels, we process images through a "probe network"
and compute an embedding based on estimates of the Fisher information matrix
associated with the probe network parameters. This provides a fixed-dimensional
embedding of the task that is independent of details such as the number of
classes and does not require any understanding of the class label semantics. We
demonstrate that this embedding is capable of predicting task similarities that
match our intuition about semantic and taxonomic relations between different
visual tasks (e.g., tasks based on classifying different types of plants are
similar) We also demonstrate the practical value of this framework for the
meta-task of selecting a pre-trained feature extractor for a new task. We
present a simple meta-learning framework for learning a metric on embeddings
that is capable of predicting which feature extractors will perform well.
Selecting a feature extractor with task embedding obtains a performance close
to the best available feature extractor, while costing substantially less than
exhaustively training and evaluating on all available feature extractors. | http://arxiv.org/pdf/1902.03545 | [
"Alessandro Achille",
"Michael Lam",
"Rahul Tewari",
"Avinash Ravichandran",
"Subhransu Maji",
"Charless Fowlkes",
"Stefano Soatto",
"Pietro Perona"
] | 128 |
Towards a Human-like Open-Domain Chatbot
Daniel Adiwardana Minh-Thang Luong David R. So Jamie Hall
Noah Fiedel Romal Thoppilan Z | 2001.09977 | Towards a Human-like Open-Domain Chatbot | We present Meena, a multi-turn open-domain chatbot trained end-to-end on data
mined and filtered from public domain social media conversations. This 2.6B
parameter neural network is simply trained to minimize perplexity of the next
token. We also propose a human evaluation metric called Sensibleness and
Specificity Average (SSA), which captures key elements of a human-like
multi-turn conversation. Our experiments show strong correlation between
perplexity and SSA. The fact that the best perplexity end-to-end trained Meena
scores high on SSA (72% on multi-turn evaluation) suggests that a human-level
SSA of 86% is potentially within reach if we can better optimize perplexity.
Additionally, the full version of Meena (with a filtering mechanism and tuned
decoding) scores 79% SSA, 23% higher in absolute SSA than the existing chatbots
we evaluated. | http://arxiv.org/pdf/2001.09977 | [
"Daniel Adiwardana",
"Minh-Thang Luong",
"David R. So",
"Jamie Hall",
"Noah Fiedel",
"Romal Thoppilan",
"Zi Yang",
"Apoorv Kulshreshtha",
"Gaurav Nemade",
"Yifeng Lu",
"Quoc V. Le"
] | 128 |
Constitutional AI: Harmlessness from AI Feedback
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion,
A | 2212.08073 | Constitutional AI: Harmlessness from AI Feedback | As AI systems become more capable, we would like to enlist their help to
supervise other AIs. We experiment with methods for training a harmless AI
assistant through self-improvement, without any human labels identifying
harmful outputs. The only human oversight is provided through a list of rules
or principles, and so we refer to the method as 'Constitutional AI'. The
process involves both a supervised learning and a reinforcement learning phase.
In the supervised phase we sample from an initial model, then generate
self-critiques and revisions, and then finetune the original model on revised
responses. In the RL phase, we sample from the finetuned model, use a model to
evaluate which of the two samples is better, and then train a preference model
from this dataset of AI preferences. We then train with RL using the preference
model as the reward signal, i.e. we use 'RL from AI Feedback' (RLAIF). As a
result we are able to train a harmless but non-evasive AI assistant that
engages with harmful queries by explaining its objections to them. Both the SL
and RL methods can leverage chain-of-thought style reasoning to improve the
human-judged performance and transparency of AI decision making. These methods
make it possible to control AI behavior more precisely and with far fewer human
labels. | http://arxiv.org/pdf/2212.08073 | [
"Yuntao Bai",
"Saurav Kadavath",
"Sandipan Kundu",
"Amanda Askell",
"Jackson Kernion",
"Andy Jones",
"Anna Chen",
"Anna Goldie",
"Azalia Mirhoseini",
"Cameron McKinnon",
"Carol Chen",
"Catherine Olsson",
"Christopher Olah",
"Danny Hernandez",
"Dawn Drain",
"Deep Ganguli",
"Dustin Li",
"Eli Tran-Johnson",
"Ethan Perez",
"Jamie Kerr",
"Jared Mueller",
"Jeffrey Ladish",
"Joshua Landau",
"Kamal Ndousse",
"Kamile Lukosuite",
"Liane Lovitt",
"Michael Sellitto",
"Nelson Elhage",
"Nicholas Schiefer",
"Noemi Mercado",
"Nova DasSarma",
"Robert Lasenby",
"Robin Larson",
"Sam Ringer",
"Scott Johnston",
"Shauna Kravec",
"Sheer El Showk",
"Stanislav Fort",
"Tamera Lanham",
"Timothy Telleen-Lawton",
"Tom Conerly",
"Tom Henighan",
"Tristan Hume",
"Samuel R. Bowman",
"Zac Hatfield-Dodds",
"Ben Mann",
"Dario Amodei",
"Nicholas Joseph",
"Sam McCandlish",
"Tom Brown",
"Jared Kaplan"
] | 128 |
ROFORMER : ENHANCED TRANSFORMER WITH ROTARY
POSITION EMBEDDING
Jianlin Su
Zhuiyi Technology Co., Ltd.
Shenzhen
bojonesu@wezhuiyi | 2104.09864 | RoFormer: Enhanced Transformer with Rotary Position Embedding | Position encoding recently has shown effective in the transformer
architecture. It enables valuable supervision for dependency modeling between
elements at different positions of the sequence. In this paper, we first
investigate various methods to integrate positional information into the
learning process of transformer-based language models. Then, we propose a novel
method named Rotary Position Embedding(RoPE) to effectively leverage the
positional information. Specifically, the proposed RoPE encodes the absolute
position with a rotation matrix and meanwhile incorporates the explicit
relative position dependency in self-attention formulation. Notably, RoPE
enables valuable properties, including the flexibility of sequence length,
decaying inter-token dependency with increasing relative distances, and the
capability of equipping the linear self-attention with relative position
encoding. Finally, we evaluate the enhanced transformer with rotary position
embedding, also called RoFormer, on various long text classification benchmark
datasets. Our experiments show that it consistently overcomes its alternatives.
Furthermore, we provide a theoretical analysis to explain some experimental
results. RoFormer is already integrated into Huggingface:
\url{https://huggingface.co/docs/transformers/model_doc/roformer}. | http://arxiv.org/pdf/2104.09864 | [
"Jianlin Su",
"Yu Lu",
"Shengfeng Pan",
"Ahmed Murtadha",
"Bo Wen",
"Yunfeng Liu"
] | 128 |
Calibrate Before Use:
Improving Few-Shot Performance of Language Models
Tony Z. Zhao* 1Eric Wallace* 1Shi Feng2Dan Klein1Sameer | 2102.09690 | Calibrate Before Use: Improving Few-Shot Performance of Language Models | GPT-3 can perform numerous tasks when provided a natural language prompt that
contains a few training examples. We show that this type of few-shot learning
can be unstable: the choice of prompt format, training examples, and even the
order of the training examples can cause accuracy to vary from near chance to
near state-of-the-art. We demonstrate that this instability arises from the
bias of language models towards predicting certain answers, e.g., those that
are placed near the end of the prompt or are common in the pre-training data.
To mitigate this, we first estimate the model's bias towards each answer by
asking for its prediction when given the training prompt and a content-free
test input such as "N/A". We then fit calibration parameters that cause the
prediction for this input to be uniform across answers. On a diverse set of
tasks, this contextual calibration procedure substantially improves GPT-3 and
GPT-2's average accuracy (up to 30.0% absolute) and reduces variance across
different choices of the prompt. | http://arxiv.org/pdf/2102.09690 | [
"Tony Z. Zhao",
"Eric Wallace",
"Shi Feng",
"Dan Klein",
"Sameer Singh"
] | 128 |
arXiv:1906.01604v1 [cs.CL] 4 Jun 2019KERMIT:
Generative Insertion-Based Modeling for Sequences
William Chan∗1, Nikita Kitaev∗1 | 1906.01604 | KERMIT: Generative Insertion-Based Modeling for Sequences | We present KERMIT, a simple insertion-based approach to generative modeling
for sequences and sequence pairs. KERMIT models the joint distribution and its
decompositions (i.e., marginals and conditionals) using a single neural network
and, unlike much prior work, does not rely on a prespecified factorization of
the data distribution. During training, one can feed KERMIT paired data $(x,
y)$ to learn the joint distribution $p(x, y)$, and optionally mix in unpaired
data $x$ or $y$ to refine the marginals $p(x)$ or $p(y)$. During inference, we
have access to the conditionals $p(x \mid y)$ and $p(y \mid x)$ in both
directions. We can also sample from the joint distribution or the marginals.
The model supports both serial fully autoregressive decoding and parallel
partially autoregressive decoding, with the latter exhibiting an empirically
logarithmic runtime. We demonstrate through experiments in machine translation,
representation learning, and zero-shot cloze question answering that our
unified approach is capable of matching or exceeding the performance of
dedicated state-of-the-art systems across a wide range of tasks without the
need for problem-specific architectural adaptation. | http://arxiv.org/pdf/1906.01604 | [
"William Chan",
"Nikita Kitaev",
"Kelvin Guu",
"Mitchell Stern",
"Jakob Uszkoreit"
] | 128 |
Published as a conference paper at ICLR 2021
DEBERT A: D ECODING -ENHANCED BERT WITH DISENTANGLED ATTENTION
Pengcheng He1, Xiaod | 2006.03654 | DeBERTa: Decoding-enhanced BERT with Disentangled Attention | Recent progress in pre-trained neural language models has significantly
improved the performance of many natural language processing (NLP) tasks. In
this paper we propose a new model architecture DeBERTa (Decoding-enhanced BERT
with disentangled attention) that improves the BERT and RoBERTa models using
two novel techniques. The first is the disentangled attention mechanism, where
each word is represented using two vectors that encode its content and
position, respectively, and the attention weights among words are computed
using disentangled matrices on their contents and relative positions,
respectively. Second, an enhanced mask decoder is used to incorporate absolute
positions in the decoding layer to predict the masked tokens in model
pre-training. In addition, a new virtual adversarial training method is used
for fine-tuning to improve models' generalization. We show that these
techniques significantly improve the efficiency of model pre-training and the
performance of both natural language understanding (NLU) and natural langauge
generation (NLG) downstream tasks. Compared to RoBERTa-Large, a DeBERTa model
trained on half of the training data performs consistently better on a wide
range of NLP tasks, achieving improvements on MNLI by +0.9% (90.2% vs. 91.1%),
on SQuAD v2.0 by +2.3% (88.4% vs. 90.7%) and RACE by +3.6% (83.2% vs. 86.8%).
Notably, we scale up DeBERTa by training a larger version that consists of 48
Transform layers with 1.5 billion parameters. The significant performance boost
makes the single DeBERTa model surpass the human performance on the SuperGLUE
benchmark (Wang et al., 2019a) for the first time in terms of macro-average
score (89.9 versus 89.8), and the ensemble DeBERTa model sits atop the
SuperGLUE leaderboard as of January 6, 2021, out performing the human baseline
by a decent margin (90.3 versus 89.8). | http://arxiv.org/pdf/2006.03654 | [
"Pengcheng He",
"Xiaodong Liu",
"Jianfeng Gao",
"Weizhu Chen"
] | 128 |
Evaluating the Factual Consistency of Abstractive Text Summarization
Wojciech Kry ´sci´nski, Bryan McCann, Caiming Xiong, Richar | 1910.12840 | Evaluating the Factual Consistency of Abstractive Text Summarization | Currently used metrics for assessing summarization algorithms do not account
for whether summaries are factually consistent with source documents. We
propose a weakly-supervised, model-based approach for verifying factual
consistency and identifying conflicts between source documents and a generated
summary. Training data is generated by applying a series of rule-based
transformations to the sentences of source documents. The factual consistency
model is then trained jointly for three tasks: 1) identify whether sentences
remain factually consistent after transformation, 2) extract a span in the
source documents to support the consistency prediction, 3) extract a span in
the summary sentence that is inconsistent if one exists. Transferring this
model to summaries generated by several state-of-the art models reveals that
this highly scalable approach substantially outperforms previous models,
including those trained with strong supervision using standard datasets for
natural language inference and fact checking. Additionally, human evaluation
shows that the auxiliary span extraction tasks provide useful assistance in the
process of verifying factual consistency. | http://arxiv.org/pdf/1910.12840 | [
"Wojciech Kryściński",
"Bryan McCann",
"Caiming Xiong",
"Richard Socher"
] | 128 |
Dynamic Planning in Open-Ended Dialogue using
Reinforcement Learning
Deborah Cohen, Moonkyung Ryu, Yinlam Chow, Orgad Keller, Id | 2208.02294 | Dynamic Planning in Open-Ended Dialogue using Reinforcement Learning | Despite recent advances in natural language understanding and generation, and
decades of research on the development of conversational bots, building
automated agents that can carry on rich open-ended conversations with humans
"in the wild" remains a formidable challenge. In this work we develop a
real-time, open-ended dialogue system that uses reinforcement learning (RL) to
power a bot's conversational skill at scale. Our work pairs the succinct
embedding of the conversation state generated using SOTA (supervised) language
models with RL techniques that are particularly suited to a dynamic action
space that changes as the conversation progresses. Trained using crowd-sourced
data, our novel system is able to substantially exceeds the (strong) baseline
supervised model with respect to several metrics of interest in a live
experiment with real users of the Google Assistant. | http://arxiv.org/pdf/2208.02294 | [
"Deborah Cohen",
"Moonkyung Ryu",
"Yinlam Chow",
"Orgad Keller",
"Ido Greenberg",
"Avinatan Hassidim",
"Michael Fink",
"Yossi Matias",
"Idan Szpektor",
"Craig Boutilier",
"Gal Elidan"
] | 128 |
An Explanation of In-context Learning as Implicit
Bayesian Inference
Sang Michael Xie
Stanford University
[email protected] | 2111.02080 | An Explanation of In-context Learning as Implicit Bayesian Inference | Large language models (LMs) such as GPT-3 have the surprising ability to do
in-context learning, where the model learns to do a downstream task simply by
conditioning on a prompt consisting of input-output examples. The LM learns
from these examples without being explicitly pretrained to learn. Thus, it is
unclear what enables in-context learning. In this paper, we study how
in-context learning can emerge when pretraining documents have long-range
coherence. Here, the LM must infer a latent document-level concept to generate
coherent next tokens during pretraining. At test time, in-context learning
occurs when the LM also infers a shared latent concept between examples in a
prompt. We prove when this occurs despite a distribution mismatch between
prompts and pretraining data in a setting where the pretraining distribution is
a mixture of HMMs. In contrast to messy large-scale datasets used to train LMs
capable of in-context learning, we generate a small-scale synthetic dataset
(GINC) where Transformers and LSTMs both exhibit in-context learning. Beyond
the theory, experiments on GINC exhibit large-scale real-world phenomena
including improved in-context performance with model scaling (despite the same
pretraining loss), sensitivity to example order, and instances where zero-shot
is better than few-shot in-context learning. | http://arxiv.org/pdf/2111.02080 | [
"Sang Michael Xie",
"Aditi Raghunathan",
"Percy Liang",
"Tengyu Ma"
] | 128 |
Journal of Machine Learning Research 23 (2022) 1-40 Submitted 8/21; Revised 3/22; Published 4/22
Switch Transformers: Scaling to | 2101.03961 | Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity | In deep learning, models typically reuse the same parameters for all inputs.
Mixture of Experts (MoE) defies this and instead selects different parameters
for each incoming example. The result is a sparsely-activated model -- with
outrageous numbers of parameters -- but a constant computational cost. However,
despite several notable successes of MoE, widespread adoption has been hindered
by complexity, communication costs and training instability -- we address these
with the Switch Transformer. We simplify the MoE routing algorithm and design
intuitive improved models with reduced communication and computational costs.
Our proposed training techniques help wrangle the instabilities and we show
large sparse models may be trained, for the first time, with lower precision
(bfloat16) formats. We design models based off T5-Base and T5-Large to obtain
up to 7x increases in pre-training speed with the same computational resources.
These improvements extend into multilingual settings where we measure gains
over the mT5-Base version across all 101 languages. Finally, we advance the
current scale of language models by pre-training up to trillion parameter
models on the "Colossal Clean Crawled Corpus" and achieve a 4x speedup over the
T5-XXL model. | http://arxiv.org/pdf/2101.03961 | [
"William Fedus",
"Barret Zoph",
"Noam Shazeer"
] | 128 |
Published in Transactions on Machine Learning Research (08/2023)
Holistic Evaluation of Language Models
Percy Liang†, Rishi Bomm | 2211.09110 | Holistic Evaluation of Language Models | Language models (LMs) are becoming the foundation for almost all major
language technologies, but their capabilities, limitations, and risks are not
well understood. We present Holistic Evaluation of Language Models (HELM) to
improve the transparency of language models. First, we taxonomize the vast
space of potential scenarios (i.e. use cases) and metrics (i.e. desiderata)
that are of interest for LMs. Then we select a broad subset based on coverage
and feasibility, noting what's missing or underrepresented (e.g. question
answering for neglected English dialects, metrics for trustworthiness). Second,
we adopt a multi-metric approach: We measure 7 metrics (accuracy, calibration,
robustness, fairness, bias, toxicity, and efficiency) for each of 16 core
scenarios when possible (87.5% of the time). This ensures metrics beyond
accuracy don't fall to the wayside, and that trade-offs are clearly exposed. We
also perform 7 targeted evaluations, based on 26 targeted scenarios, to analyze
specific aspects (e.g. reasoning, disinformation). Third, we conduct a
large-scale evaluation of 30 prominent language models (spanning open,
limited-access, and closed models) on all 42 scenarios, 21 of which were not
previously used in mainstream LM evaluation. Prior to HELM, models on average
were evaluated on just 17.9% of the core HELM scenarios, with some prominent
models not sharing a single scenario in common. We improve this to 96.0%: now
all 30 models have been densely benchmarked on the same core scenarios and
metrics under standardized conditions. Our evaluation surfaces 25 top-level
findings. For full transparency, we release all raw model prompts and
completions publicly for further analysis, as well as a general modular
toolkit. We intend for HELM to be a living benchmark for the community,
continuously updated with new scenarios, metrics, and models. | http://arxiv.org/pdf/2211.09110 | [
"Percy Liang",
"Rishi Bommasani",
"Tony Lee",
"Dimitris Tsipras",
"Dilara Soylu",
"Michihiro Yasunaga",
"Yian Zhang",
"Deepak Narayanan",
"Yuhuai Wu",
"Ananya Kumar",
"Benjamin Newman",
"Binhang Yuan",
"Bobby Yan",
"Ce Zhang",
"Christian Cosgrove",
"Christopher D. Manning",
"Christopher Ré",
"Diana Acosta-Navas",
"Drew A. Hudson",
"Eric Zelikman",
"Esin Durmus",
"Faisal Ladhak",
"Frieda Rong",
"Hongyu Ren",
"Huaxiu Yao",
"Jue Wang",
"Keshav Santhanam",
"Laurel Orr",
"Lucia Zheng",
"Mert Yuksekgonul",
"Mirac Suzgun",
"Nathan Kim",
"Neel Guha",
"Niladri Chatterji",
"Omar Khattab",
"Peter Henderson",
"Qian Huang",
"Ryan Chi",
"Sang Michael Xie",
"Shibani Santurkar",
"Surya Ganguli",
"Tatsunori Hashimoto",
"Thomas Icard",
"Tianyi Zhang",
"Vishrav Chaudhary",
"William Wang",
"Xuechen Li",
"Yifan Mai",
"Yuhui Zhang",
"Yuta Koreeda"
] | 128 |
2021-12-08
Scaling Language Models: Methods, Analysis
& Insights from Training Gopher
Jack W. Rae, Sebastian Borgeaud, Trevor Ca | 2112.11446 | Scaling Language Models: Methods, Analysis & Insights from Training Gopher | Language modelling provides a step towards intelligent communication systems
by harnessing large repositories of written human knowledge to better predict
and understand the world. In this paper, we present an analysis of
Transformer-based language model performance across a wide range of model
scales -- from models with tens of millions of parameters up to a 280 billion
parameter model called Gopher. These models are evaluated on 152 diverse tasks,
achieving state-of-the-art performance across the majority. Gains from scale
are largest in areas such as reading comprehension, fact-checking, and the
identification of toxic language, but logical and mathematical reasoning see
less benefit. We provide a holistic analysis of the training dataset and
model's behaviour, covering the intersection of model scale with bias and
toxicity. Finally we discuss the application of language models to AI safety
and the mitigation of downstream harms. | http://arxiv.org/pdf/2112.11446 | [
"Jack W. Rae",
"Sebastian Borgeaud",
"Trevor Cai",
"Katie Millican",
"Jordan Hoffmann",
"Francis Song",
"John Aslanides",
"Sarah Henderson",
"Roman Ring",
"Susannah Young",
"Eliza Rutherford",
"Tom Hennigan",
"Jacob Menick",
"Albin Cassirer",
"Richard Powell",
"George van den Driessche",
"Lisa Anne Hendricks",
"Maribeth Rauh",
"Po-Sen Huang",
"Amelia Glaese",
"Johannes Welbl",
"Sumanth Dathathri",
"Saffron Huang",
"Jonathan Uesato",
"John Mellor",
"Irina Higgins",
"Antonia Creswell",
"Nat McAleese",
"Amy Wu",
"Erich Elsen",
"Siddhant Jayakumar",
"Elena Buchatskaya",
"David Budden",
"Esme Sutherland",
"Karen Simonyan",
"Michela Paganini",
"Laurent Sifre",
"Lena Martens",
"Xiang Lorraine Li",
"Adhiguna Kuncoro",
"Aida Nematzadeh",
"Elena Gribovskaya",
"Domenic Donato",
"Angeliki Lazaridou",
"Arthur Mensch",
"Jean-Baptiste Lespiau",
"Maria Tsimpoukelli",
"Nikolai Grigorev",
"Doug Fritz",
"Thibault Sottiaux",
"Mantas Pajarskas",
"Toby Pohlen",
"Zhitao Gong",
"Daniel Toyama",
"Cyprien de Masson d'Autume",
"Yujia Li",
"Tayfun Terzi",
"Vladimir Mikulik",
"Igor Babuschkin",
"Aidan Clark",
"Diego de Las Casas",
"Aurelia Guy",
"Chris Jones",
"James Bradbury",
"Matthew Johnson",
"Blake Hechtman",
"Laura Weidinger",
"Iason Gabriel",
"William Isaac",
"Ed Lockhart",
"Simon Osindero",
"Laura Rimell",
"Chris Dyer",
"Oriol Vinyals",
"Kareem Ayoub",
"Jeff Stanway",
"Lorrayne Bennett",
"Demis Hassabis",
"Koray Kavukcuoglu",
"Geoffrey Irving"
] | 128 |
CHARACTERISING BIAS IN COMPRESSED MODELS
Sara Hooker
Google Research
[email protected] Moorosi*
Google Research
nyalle | 2010.03058 | Characterising Bias in Compressed Models | The popularity and widespread use of pruning and quantization is driven by
the severe resource constraints of deploying deep neural networks to
environments with strict latency, memory and energy requirements. These
techniques achieve high levels of compression with negligible impact on
top-line metrics (top-1 and top-5 accuracy). However, overall accuracy hides
disproportionately high errors on a small subset of examples; we call this
subset Compression Identified Exemplars (CIE). We further establish that for
CIE examples, compression amplifies existing algorithmic bias. Pruning
disproportionately impacts performance on underrepresented features, which
often coincides with considerations of fairness. Given that CIE is a relatively
small subset but a great contributor of error in the model, we propose its use
as a human-in-the-loop auditing tool to surface a tractable subset of the
dataset for further inspection or annotation by a domain expert. We provide
qualitative and quantitative support that CIE surfaces the most challenging
examples in the data distribution for human-in-the-loop auditing. | http://arxiv.org/pdf/2010.03058 | [
"Sara Hooker",
"Nyalleng Moorosi",
"Gregory Clark",
"Samy Bengio",
"Emily Denton"
] | 128 |
Open-Ended Learning Leads to Generally
Capable Agents
Open-Ended Learning Team *, Adam Stooke, Anuj Mahajan, Catarina Barros, Ch | 2107.12808 | Open-Ended Learning Leads to Generally Capable Agents | In this work we create agents that can perform well beyond a single,
individual task, that exhibit much wider generalisation of behaviour to a
massive, rich space of challenges. We define a universe of tasks within an
environment domain and demonstrate the ability to train agents that are
generally capable across this vast space and beyond. The environment is
natively multi-agent, spanning the continuum of competitive, cooperative, and
independent games, which are situated within procedurally generated physical 3D
worlds. The resulting space is exceptionally diverse in terms of the challenges
posed to agents, and as such, even measuring the learning progress of an agent
is an open research problem. We propose an iterative notion of improvement
between successive generations of agents, rather than seeking to maximise a
singular objective, allowing us to quantify progress despite tasks being
incomparable in terms of achievable rewards. We show that through constructing
an open-ended learning process, which dynamically changes the training task
distributions and training objectives such that the agent never stops learning,
we achieve consistent learning of new behaviours. The resulting agent is able
to score reward in every one of our humanly solvable evaluation levels, with
behaviour generalising to many held-out points in the universe of tasks.
Examples of this zero-shot generalisation include good performance on Hide and
Seek, Capture the Flag, and Tag. Through analysis and hand-authored probe tasks
we characterise the behaviour of our agent, and find interesting emergent
heuristic behaviours such as trial-and-error experimentation, simple tool use,
option switching, and cooperation. Finally, we demonstrate that the general
capabilities of this agent could unlock larger scale transfer of behaviour
through cheap finetuning. | http://arxiv.org/pdf/2107.12808 | [
"Open Ended Learning Team",
"Adam Stooke",
"Anuj Mahajan",
"Catarina Barros",
"Charlie Deck",
"Jakob Bauer",
"Jakub Sygnowski",
"Maja Trebacz",
"Max Jaderberg",
"Michael Mathieu",
"Nat McAleese",
"Nathalie Bradley-Schmieg",
"Nathaniel Wong",
"Nicolas Porcel",
"Roberta Raileanu",
"Steph Hughes-Fitt",
"Valentin Dalibard",
"Wojciech Marian Czarnecki"
] | 128 |
Published as a conference paper at ICLR 2023
CODEGEN: ANOPEN LARGE LANGUAGE MODEL FOR
CODE WITH MULTI -TURN PROGRAM SYNTHESIS
Er | 2203.13474 | CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis | Program synthesis strives to generate a computer program as a solution to a
given problem specification, expressed with input-output examples or natural
language descriptions. The prevalence of large language models advances the
state-of-the-art for program synthesis, though limited training resources and
data impede open access to such models. To democratize this, we train and
release a family of large language models up to 16.1B parameters, called
CODEGEN, on natural language and programming language data, and open source the
training library JAXFORMER. We show the utility of the trained model by
demonstrating that it is competitive with the previous state-of-the-art on
zero-shot Python code generation on HumanEval. We further investigate the
multi-step paradigm for program synthesis, where a single program is factorized
into multiple prompts specifying subproblems. To this end, we construct an open
benchmark, Multi-Turn Programming Benchmark (MTPB), consisting of 115 diverse
problem sets that are factorized into multi-turn prompts. Our analysis on MTPB
shows that the same intent provided to CODEGEN in multi-turn fashion
significantly improves program synthesis over that provided as a single turn.
We make the training library JAXFORMER and model checkpoints available as open
source contribution: https://github.com/salesforce/CodeGen. | http://arxiv.org/pdf/2203.13474 | [
"Erik Nijkamp",
"Bo Pang",
"Hiroaki Hayashi",
"Lifu Tu",
"Huan Wang",
"Yingbo Zhou",
"Silvio Savarese",
"Caiming Xiong"
] | 128 |
A Watermark for Large Language Models
John Kirchenbauer*Jonas Geiping*Yuxin Wen Jonathan Katz Ian Miers Tom Goldstein
University | 2301.10226 | A Watermark for Large Language Models | Potential harms of large language models can be mitigated by watermarking
model output, i.e., embedding signals into generated text that are invisible to
humans but algorithmically detectable from a short span of tokens. We propose a
watermarking framework for proprietary language models. The watermark can be
embedded with negligible impact on text quality, and can be detected using an
efficient open-source algorithm without access to the language model API or
parameters. The watermark works by selecting a randomized set of "green" tokens
before a word is generated, and then softly promoting use of green tokens
during sampling. We propose a statistical test for detecting the watermark with
interpretable p-values, and derive an information-theoretic framework for
analyzing the sensitivity of the watermark. We test the watermark using a
multi-billion parameter model from the Open Pretrained Transformer (OPT)
family, and discuss robustness and security. | http://arxiv.org/pdf/2301.10226 | [
"John Kirchenbauer",
"Jonas Geiping",
"Yuxin Wen",
"Jonathan Katz",
"Ian Miers",
"Tom Goldstein"
] | 128 |
Learning to Model Editing Processes
Machel Reid
University of Tokyo
[email protected] Neubig
Carnegie Mell | 2205.12374 | Learning to Model Editing Processes | Most existing sequence generation models produce outputs in one pass, usually
left-to-right. However, this is in contrast with a more natural approach that
humans use in generating content; iterative refinement and editing. Recent work
has introduced edit-based models for various tasks (such as neural machine
translation and text style transfer), but these generally model a single edit
step. In this work, we propose modeling editing processes, modeling the whole
process of iteratively generating sequences. We form a conceptual framework to
describe the likelihood of multi-step edits, and describe neural models that
can learn a generative model of sequences based on these multistep edits. We
introduce baseline results and metrics on this task, finding that modeling
editing processes improves performance on a variety of axes on both our
proposed task and related downstream tasks compared to previous single-step
models of edits. | http://arxiv.org/pdf/2205.12374 | [
"Machel Reid",
"Graham Neubig"
] | 128 |
Under review as a conference paper at ICLR 2017
FASTTEXT.ZIP:
COMPRESSING TEXT CLASSIFICATION MODELS
Armand Joulin, Edouard Grav | 1612.03651 | FastText.zip: Compressing text classification models | We consider the problem of producing compact architectures for text
classification, such that the full model fits in a limited amount of memory.
After considering different solutions inspired by the hashing literature, we
propose a method built upon product quantization to store word embeddings.
While the original technique leads to a loss in accuracy, we adapt this method
to circumvent quantization artefacts. Our experiments carried out on several
benchmarks show that our approach typically requires two orders of magnitude
less memory than fastText while being only slightly inferior with respect to
accuracy. As a result, it outperforms the state of the art by a good margin in
terms of the compromise between memory usage and accuracy. | http://arxiv.org/pdf/1612.03651 | [
"Armand Joulin",
"Edouard Grave",
"Piotr Bojanowski",
"Matthijs Douze",
"Hérve Jégou",
"Tomas Mikolov"
] | 128 |
Program Induction by Rationale Generation:
Learning to Solve and Explain Algebraic Word Problems
Wang LingDani YogatamaChris D | 1705.04146 | Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problems | Solving algebraic word problems requires executing a series of arithmetic
operations---a program---to obtain a final answer. However, since programs can
be arbitrarily complicated, inducing them directly from question-answer pairs
is a formidable challenge. To make this task more feasible, we solve these
problems by generating answer rationales, sequences of natural language and
human-readable mathematical expressions that derive the final answer through a
series of small steps. Although rationales do not explicitly specify programs,
they provide a scaffolding for their structure via intermediate milestones. To
evaluate our approach, we have created a new 100,000-sample dataset of
questions, answers and rationales. Experimental results show that indirect
supervision of program learning via answer rationales is a promising strategy
for inducing arithmetic programs. | http://arxiv.org/pdf/1705.04146 | [
"Wang Ling",
"Dani Yogatama",
"Chris Dyer",
"Phil Blunsom"
] | 128 |
Intracranial Error Detection via Deep Learning
Martin V ¨olker
Graduate School of Robotics
Albert-Ludwigs-University
Freiburg, G | 1805.01667 | Intracranial Error Detection via Deep Learning | Deep learning techniques have revolutionized the field of machine learning
and were recently successfully applied to various classification problems in
noninvasive electroencephalography (EEG). However, these methods were so far
only rarely evaluated for use in intracranial EEG. We employed convolutional
neural networks (CNNs) to classify and characterize the error-related brain
response as measured in 24 intracranial EEG recordings. Decoding accuracies of
CNNs were significantly higher than those of a regularized linear discriminant
analysis. Using time-resolved deep decoding, it was possible to classify errors
in various regions in the human brain, and further to decode errors over 200 ms
before the actual erroneous button press, e.g., in the precentral gyrus.
Moreover, deeper networks performed better than shallower networks in
distinguishing correct from error trials in all-channel decoding. In single
recordings, up to 100 % decoding accuracy was achieved. Visualization of the
networks' learned features indicated that multivariate decoding on an ensemble
of channels yields related, albeit non-redundant information compared to
single-channel decoding. In summary, here we show the usefulness of deep
learning for both intracranial error decoding and mapping of the
spatio-temporal structure of the human error processing network. | http://arxiv.org/pdf/1805.01667 | [
"Martin Völker",
"Jiří Hammer",
"Robin T. Schirrmeister",
"Joos Behncke",
"Lukas D. J. Fiederer",
"Andreas Schulze-Bonhage",
"Petr Marusič",
"Wolfram Burgard",
"Tonio Ball"
] | 128 |
AUTOMATIC CHAIN OF THOUGHT PROMPTING
INLARGE LANGUAGE MODELS
Zhuosheng Zhangy, Aston Zhangz, Mu Liz, Alex Smolaz
yShanghai Jiao | 2210.03493 | Automatic Chain of Thought Prompting in Large Language Models | Large language models (LLMs) can perform complex reasoning by generating
intermediate reasoning steps. Providing these steps for prompting
demonstrations is called chain-of-thought (CoT) prompting. CoT prompting has
two major paradigms. One leverages a simple prompt like "Let's think step by
step" to facilitate step-by-step thinking before answering a question. The
other uses a few manual demonstrations one by one, each composed of a question
and a reasoning chain that leads to an answer. The superior performance of the
second paradigm hinges on the hand-crafting of task-specific demonstrations one
by one. We show that such manual efforts may be eliminated by leveraging LLMs
with the "Let's think step by step" prompt to generate reasoning chains for
demonstrations one by one, i.e., let's think not just step by step, but also
one by one. However, these generated chains often come with mistakes. To
mitigate the effect of such mistakes, we find that diversity matters for
automatically constructing demonstrations. We propose an automatic CoT
prompting method: Auto-CoT. It samples questions with diversity and generates
reasoning chains to construct demonstrations. On ten public benchmark reasoning
tasks with GPT-3, Auto-CoT consistently matches or exceeds the performance of
the CoT paradigm that requires manual designs of demonstrations. Code is
available at https://github.com/amazon-research/auto-cot | http://arxiv.org/pdf/2210.03493 | [
"Zhuosheng Zhang",
"Aston Zhang",
"Mu Li",
"Alex Smola"
] | 128 |
UNDERSTANDING HTML WITH LARGE LANGUAGE
MODELS
Izzeddin Gur, Ofir Nachum, Yingjie Miao, Mustafa Safdari, Austin Huang
Aakanksha Ch | 2210.03945 | Understanding HTML with Large Language Models | Large language models (LLMs) have shown exceptional performance on a variety
of natural language tasks. Yet, their capabilities for HTML understanding --
i.e., parsing the raw HTML of a webpage, with applications to automation of
web-based tasks, crawling, and browser-assisted retrieval -- have not been
fully explored. We contribute HTML understanding models (fine-tuned LLMs) and
an in-depth analysis of their capabilities under three tasks: (i) Semantic
Classification of HTML elements, (ii) Description Generation for HTML inputs,
and (iii) Autonomous Web Navigation of HTML pages. While previous work has
developed dedicated architectures and training procedures for HTML
understanding, we show that LLMs pretrained on standard natural language
corpora transfer remarkably well to HTML understanding tasks. For instance,
fine-tuned LLMs are 12% more accurate at semantic classification compared to
models trained exclusively on the task dataset. Moreover, when fine-tuned on
data from the MiniWoB benchmark, LLMs successfully complete 50% more tasks
using 192x less data compared to the previous best supervised model. Out of the
LLMs we evaluate, we show evidence that T5-based models are ideal due to their
bidirectional encoder-decoder architecture. To promote further research on LLMs
for HTML understanding, we create and open-source a large-scale HTML dataset
distilled and auto-labeled from CommonCrawl. | http://arxiv.org/pdf/2210.03945 | [
"Izzeddin Gur",
"Ofir Nachum",
"Yingjie Miao",
"Mustafa Safdari",
"Austin Huang",
"Aakanksha Chowdhery",
"Sharan Narang",
"Noah Fiedel",
"Aleksandra Faust"
] | 128 |
STRUCT BERT: I NCORPORATING LANGUAGE STRUCTURES
INTO PRE-TRAINING FOR DEEPLANGUAGE UNDERSTANDING
Wei Wang, Bin Bi, Ming Yan, Che | 1908.04577 | StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understanding | Recently, the pre-trained language model, BERT (and its robustly optimized
version RoBERTa), has attracted a lot of attention in natural language
understanding (NLU), and achieved state-of-the-art accuracy in various NLU
tasks, such as sentiment classification, natural language inference, semantic
textual similarity and question answering. Inspired by the linearization
exploration work of Elman [8], we extend BERT to a new model, StructBERT, by
incorporating language structures into pre-training. Specifically, we pre-train
StructBERT with two auxiliary tasks to make the most of the sequential order of
words and sentences, which leverage language structures at the word and
sentence levels, respectively. As a result, the new model is adapted to
different levels of language understanding required by downstream tasks. The
StructBERT with structural pre-training gives surprisingly good empirical
results on a variety of downstream tasks, including pushing the
state-of-the-art on the GLUE benchmark to 89.0 (outperforming all published
models), the F1 score on SQuAD v1.1 question answering to 93.0, the accuracy on
SNLI to 91.7. | http://arxiv.org/pdf/1908.04577 | [
"Wei Wang",
"Bin Bi",
"Ming Yan",
"Chen Wu",
"Zuyi Bao",
"Jiangnan Xia",
"Liwei Peng",
"Luo Si"
] | 128 |
NEWSQA: A M ACHINE COMPREHENSION DATASET
Adam TrischlerTong WangXingdi YuanJustin Harris
Alessandro Sordoni Philip Bachman Ka | 1611.09830 | NewsQA: A Machine Comprehension Dataset | We present NewsQA, a challenging machine comprehension dataset of over
100,000 human-generated question-answer pairs. Crowdworkers supply questions
and answers based on a set of over 10,000 news articles from CNN, with answers
consisting of spans of text from the corresponding articles. We collect this
dataset through a four-stage process designed to solicit exploratory questions
that require reasoning. A thorough analysis confirms that NewsQA demands
abilities beyond simple word matching and recognizing textual entailment. We
measure human performance on the dataset and compare it to several strong
neural models. The performance gap between humans and machines (0.198 in F1)
indicates that significant progress can be made on NewsQA through future
research. The dataset is freely available at
https://datasets.maluuba.com/NewsQA. | http://arxiv.org/pdf/1611.09830 | [
"Adam Trischler",
"Tong Wang",
"Xingdi Yuan",
"Justin Harris",
"Alessandro Sordoni",
"Philip Bachman",
"Kaheer Suleman"
] | 128 |
UMAP: Uniform Manifold
Approximation and Projection for
Dimension Reduction
Leland McInnes
Tu/t_te Institute for Mathematics and | 1802.03426 | UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction | UMAP (Uniform Manifold Approximation and Projection) is a novel manifold
learning technique for dimension reduction. UMAP is constructed from a
theoretical framework based in Riemannian geometry and algebraic topology. The
result is a practical scalable algorithm that applies to real world data. The
UMAP algorithm is competitive with t-SNE for visualization quality, and
arguably preserves more of the global structure with superior run time
performance. Furthermore, UMAP has no computational restrictions on embedding
dimension, making it viable as a general purpose dimension reduction technique
for machine learning. | http://arxiv.org/pdf/1802.03426 | [
"Leland McInnes",
"John Healy",
"James Melville"
] | 128 |
High-Resolution Image Synthesis with Latent Diffusion Models
Robin Rombach1* Andreas Blattmann1Dominik Lorenz1Patrick Esser
Bj | 2112.10752 | High-Resolution Image Synthesis with Latent Diffusion Models | By decomposing the image formation process into a sequential application of
denoising autoencoders, diffusion models (DMs) achieve state-of-the-art
synthesis results on image data and beyond. Additionally, their formulation
allows for a guiding mechanism to control the image generation process without
retraining. However, since these models typically operate directly in pixel
space, optimization of powerful DMs often consumes hundreds of GPU days and
inference is expensive due to sequential evaluations. To enable DM training on
limited computational resources while retaining their quality and flexibility,
we apply them in the latent space of powerful pretrained autoencoders. In
contrast to previous work, training diffusion models on such a representation
allows for the first time to reach a near-optimal point between complexity
reduction and detail preservation, greatly boosting visual fidelity. By
introducing cross-attention layers into the model architecture, we turn
diffusion models into powerful and flexible generators for general conditioning
inputs such as text or bounding boxes and high-resolution synthesis becomes
possible in a convolutional manner. Our latent diffusion models (LDMs) achieve
a new state of the art for image inpainting and highly competitive performance
on various tasks, including unconditional image generation, semantic scene
synthesis, and super-resolution, while significantly reducing computational
requirements compared to pixel-based DMs. Code is available at
https://github.com/CompVis/latent-diffusion . | http://arxiv.org/pdf/2112.10752 | [
"Robin Rombach",
"Andreas Blattmann",
"Dominik Lorenz",
"Patrick Esser",
"Björn Ommer"
] | 128 |
MS MARCO: A Human Generated MAchine
Reading COmprehension Dataset
Payal Bajaj, Daniel Campos, Nick Craswell, Li Deng, Jianfeng G | 1611.09268 | MS MARCO: A Human Generated MAchine Reading COmprehension Dataset | We introduce a large scale MAchine Reading COmprehension dataset, which we
name MS MARCO. The dataset comprises of 1,010,916 anonymized
questions---sampled from Bing's search query logs---each with a human generated
answer and 182,669 completely human rewritten generated answers. In addition,
the dataset contains 8,841,823 passages---extracted from 3,563,535 web
documents retrieved by Bing---that provide the information necessary for
curating the natural language answers. A question in the MS MARCO dataset may
have multiple answers or no answers at all. Using this dataset, we propose
three different tasks with varying levels of difficulty: (i) predict if a
question is answerable given a set of context passages, and extract and
synthesize the answer as a human would (ii) generate a well-formed answer (if
possible) based on the context passages that can be understood with the
question and passage context, and finally (iii) rank a set of retrieved
passages given a question. The size of the dataset and the fact that the
questions are derived from real user search queries distinguishes MS MARCO from
other well-known publicly available datasets for machine reading comprehension
and question-answering. We believe that the scale and the real-world nature of
this dataset makes it attractive for benchmarking machine reading comprehension
and question-answering models. | http://arxiv.org/pdf/1611.09268 | [
"Payal Bajaj",
"Daniel Campos",
"Nick Craswell",
"Li Deng",
"Jianfeng Gao",
"Xiaodong Liu",
"Rangan Majumder",
"Andrew McNamara",
"Bhaskar Mitra",
"Tri Nguyen",
"Mir Rosenberg",
"Xia Song",
"Alina Stoica",
"Saurabh Tiwary",
"Tong Wang"
] | 128 |
FlashAttention : Fast and Memory-Efficient Exact Attention
with IO-Awareness
Tri Daoy, Daniel Y. Fuy, Stefano Ermony, Atri Rudraz, | 2205.14135 | FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness | Transformers are slow and memory-hungry on long sequences, since the time and
memory complexity of self-attention are quadratic in sequence length.
Approximate attention methods have attempted to address this problem by trading
off model quality to reduce the compute complexity, but often do not achieve
wall-clock speedup. We argue that a missing principle is making attention
algorithms IO-aware -- accounting for reads and writes between levels of GPU
memory. We propose FlashAttention, an IO-aware exact attention algorithm that
uses tiling to reduce the number of memory reads/writes between GPU high
bandwidth memory (HBM) and GPU on-chip SRAM. We analyze the IO complexity of
FlashAttention, showing that it requires fewer HBM accesses than standard
attention, and is optimal for a range of SRAM sizes. We also extend
FlashAttention to block-sparse attention, yielding an approximate attention
algorithm that is faster than any existing approximate attention method.
FlashAttention trains Transformers faster than existing baselines: 15%
end-to-end wall-clock speedup on BERT-large (seq. length 512) compared to the
MLPerf 1.1 training speed record, 3$\times$ speedup on GPT-2 (seq. length 1K),
and 2.4$\times$ speedup on long-range arena (seq. length 1K-4K). FlashAttention
and block-sparse FlashAttention enable longer context in Transformers, yielding
higher quality models (0.7 better perplexity on GPT-2 and 6.4 points of lift on
long-document classification) and entirely new capabilities: the first
Transformers to achieve better-than-chance performance on the Path-X challenge
(seq. length 16K, 61.4% accuracy) and Path-256 (seq. length 64K, 63.1%
accuracy). | http://arxiv.org/pdf/2205.14135 | [
"Tri Dao",
"Daniel Y. Fu",
"Stefano Ermon",
"Atri Rudra",
"Christopher Ré"
] | 128 |
Scaling Laws vs Model Architectures :
How does Inductive Bias Influence Scaling?
Yi TayMostafa DehghaniSamira Abnar Hyung Won C | 2207.10551 | Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling? | There have been a lot of interest in the scaling properties of Transformer
models. However, not much has been done on the front of investigating the
effect of scaling properties of different inductive biases and model
architectures. Do model architectures scale differently? If so, how does
inductive bias affect scaling behaviour? How does this influence upstream
(pretraining) and downstream (transfer)? This paper conducts a systematic study
of scaling behaviour of ten diverse model architectures such as Transformers,
Switch Transformers, Universal Transformers, Dynamic convolutions, Performers,
and recently proposed MLP-Mixers. Via extensive experiments, we show that (1)
architecture is an indeed an important consideration when performing scaling
and (2) the best performing model can fluctuate at different scales. We believe
that the findings outlined in this work has significant implications to how
model architectures are currently evaluated in the community. | http://arxiv.org/pdf/2207.10551 | [
"Yi Tay",
"Mostafa Dehghani",
"Samira Abnar",
"Hyung Won Chung",
"William Fedus",
"Jinfeng Rao",
"Sharan Narang",
"Vinh Q. Tran",
"Dani Yogatama",
"Donald Metzler"
] | 128 |
Language Models are General-Purpose Interfaces
Yaru Hao, Haoyu Song, Li Dong
Shaohan Huang, Zewen Chi, Wenhui Wang, Shuming M | 2206.06336 | Language Models are General-Purpose Interfaces | Foundation models have received much attention due to their effectiveness
across a broad range of downstream applications. Though there is a big
convergence in terms of architecture, most pretrained models are typically
still developed for specific tasks or modalities. In this work, we propose to
use language models as a general-purpose interface to various foundation
models. A collection of pretrained encoders perceive diverse modalities (such
as vision, and language), and they dock with a language model that plays the
role of a universal task layer. We propose a semi-causal language modeling
objective to jointly pretrain the interface and the modular encoders. We
subsume the advantages and capabilities from both causal and non-causal
modeling, thereby combining the best of two worlds. Specifically, the proposed
method not only inherits the capabilities of in-context learning and open-ended
generation from causal language modeling, but also is conducive to finetuning
because of the bidirectional encoders. More importantly, our approach
seamlessly unlocks the combinations of the above capabilities, e.g., enabling
in-context learning or instruction following with finetuned encoders.
Experimental results across various language-only and vision-language
benchmarks show that our model outperforms or is competitive with specialized
models on finetuning, zero-shot generalization, and few-shot learning. | http://arxiv.org/pdf/2206.06336 | [
"Yaru Hao",
"Haoyu Song",
"Li Dong",
"Shaohan Huang",
"Zewen Chi",
"Wenhui Wang",
"Shuming Ma",
"Furu Wei"
] | 128 |
Alignment of Language Agents
Zachary Kenton, Tom Everitt, Laura Weidinger, Iason Gabriel, Vladimir Mikulikand Geoffrey Irving
Dee | 2103.14659 | Alignment of Language Agents | For artificial intelligence to be beneficial to humans the behaviour of AI
agents needs to be aligned with what humans want. In this paper we discuss some
behavioural issues for language agents, arising from accidental
misspecification by the system designer. We highlight some ways that
misspecification can occur and discuss some behavioural issues that could arise
from misspecification, including deceptive or manipulative language, and review
some approaches for avoiding these issues. | http://arxiv.org/pdf/2103.14659 | [
"Zachary Kenton",
"Tom Everitt",
"Laura Weidinger",
"Iason Gabriel",
"Vladimir Mikulik",
"Geoffrey Irving"
] | 128 |
arXiv:1810.08810v1 [cs.LG] 20 Oct 2018The Frontiers of Fairness in Machine Learning
Alexandra Chouldechova∗Aaron Roth†
January | 1810.08810 | The Frontiers of Fairness in Machine Learning | The last few years have seen an explosion of academic and popular interest in
algorithmic fairness. Despite this interest and the volume and velocity of work
that has been produced recently, the fundamental science of fairness in machine
learning is still in a nascent state. In March 2018, we convened a group of
experts as part of a CCC visioning workshop to assess the state of the field,
and distill the most promising research directions going forward. This report
summarizes the findings of that workshop. Along the way, it surveys recent
theoretical work in the field and points towards promising directions for
research. | http://arxiv.org/pdf/1810.08810 | [
"Alexandra Chouldechova",
"Aaron Roth"
] | 128 |
Distilling Reasoning Capabilities into Smaller Language Models
Kumar ShridharAlessandro StolfoMrinmaya Sachan
Department of Co | 2212.00193 | Distilling Reasoning Capabilities into Smaller Language Models | Step-by-step reasoning approaches like chain of thought (CoT) have proved to
be very effective in inducing reasoning capabilities in large language models.
However, the success of the CoT approach is fundamentally tied to the model
size, and billion parameter-scale models are often needed to get CoT to work.
In this paper, we propose a knowledge distillation approach that leverages the
step-by-step CoT reasoning capabilities of larger models and distills these
abilities into smaller models.
In this work, we propose an alternative reasoning scheme, Socratic CoT, that
learns a decomposition of the original problem into a sequence of subproblems
and uses it to guide the intermediate reasoning steps. We use Socratic CoT to
train a combination of two small distilled models: a problem decomposer and a
subproblem solver. In practice, given a new problem, the two distilled models
work in sync to decompose and solve complex problems. On multiple reasoning
datasets (GSM8K, StrategyQA, and SVAMP), our proposed distillation strategies
boosts the performance of smaller models over 70% compared to the baselines.
Finally, we investigate when Socratic CoT is an effective alternative to CoT,
demonstrating cases where a much smaller model (GPT-2 large) can outperform a
10X larger model (GPT-3 6B). Our code is available here:
https://github.com/kumar-shridhar/Distiiling-LM | http://arxiv.org/pdf/2212.00193 | [
"Kumar Shridhar",
"Alessandro Stolfo",
"Mrinmaya Sachan"
] | 128 |
SFace: An Ecient Network for Face Detection
in Large Scale Variations
Jianfeng Wang12, Ye Yuan1y, Boxun Liy, Gang Yuyand Sun J | 1804.06559 | SFace: An Efficient Network for Face Detection in Large Scale Variations | Face detection serves as a fundamental research topic for many applications
like face recognition. Impressive progress has been made especially with the
recent development of convolutional neural networks. However, the issue of
large scale variations, which widely exists in high resolution images/videos,
has not been well addressed in the literature. In this paper, we present a
novel algorithm called SFace, which efficiently integrates the anchor-based
method and anchor-free method to address the scale issues. A new dataset called
4K-Face is also introduced to evaluate the performance of face detection with
extreme large scale variations. The SFace architecture shows promising results
on the new 4K-Face benchmarks. In addition, our method can run at 50 frames per
second (fps) with an accuracy of 80% AP on the standard WIDER FACE dataset,
which outperforms the state-of-art algorithms by almost one order of magnitude
in speed while achieves comparative performance. | http://arxiv.org/pdf/1804.06559 | [
"Jianfeng Wang",
"Ye Yuan",
"Boxun Li",
"Gang Yu",
"Sun Jian"
] | 128 |
DIALO GPT : Large-Scale Generative Pre-training
for Conversational Response Generation
Yizhe Zhang Siqi Sun Michel Galley Yen-Ch | 1911.00536 | DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generation | We present a large, tunable neural conversational response generation model,
DialoGPT (dialogue generative pre-trained transformer). Trained on 147M
conversation-like exchanges extracted from Reddit comment chains over a period
spanning from 2005 through 2017, DialoGPT extends the Hugging Face PyTorch
transformer to attain a performance close to human both in terms of automatic
and human evaluation in single-turn dialogue settings. We show that
conversational systems that leverage DialoGPT generate more relevant,
contentful and context-consistent responses than strong baseline systems. The
pre-trained model and training pipeline are publicly released to facilitate
research into neural response generation and the development of more
intelligent open-domain dialogue systems. | http://arxiv.org/pdf/1911.00536 | [
"Yizhe Zhang",
"Siqi Sun",
"Michel Galley",
"Yen-Chun Chen",
"Chris Brockett",
"Xiang Gao",
"Jianfeng Gao",
"Jingjing Liu",
"Bill Dolan"
] | 128 |
CrowS-Pairs: A Challenge Dataset for Measuring Social Biases
in Masked Language Models
Nikita NangiaClara VaniaRasika Bhalerao | 2010.00133 | CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Models | Pretrained language models, especially masked language models (MLMs) have
seen success across many NLP tasks. However, there is ample evidence that they
use the cultural biases that are undoubtedly present in the corpora they are
trained on, implicitly creating harm with biased representations. To measure
some forms of social bias in language models against protected demographic
groups in the US, we introduce the Crowdsourced Stereotype Pairs benchmark
(CrowS-Pairs). CrowS-Pairs has 1508 examples that cover stereotypes dealing
with nine types of bias, like race, religion, and age. In CrowS-Pairs a model
is presented with two sentences: one that is more stereotyping and another that
is less stereotyping. The data focuses on stereotypes about historically
disadvantaged groups and contrasts them with advantaged groups. We find that
all three of the widely-used MLMs we evaluate substantially favor sentences
that express stereotypes in every category in CrowS-Pairs. As work on building
less biased models advances, this dataset can be used as a benchmark to
evaluate progress. | http://arxiv.org/pdf/2010.00133 | [
"Nikita Nangia",
"Clara Vania",
"Rasika Bhalerao",
"Samuel R. Bowman"
] | 128 |
OPT: Open Pre-trained Transformer Language Models
Susan Zhang,Stephen Roller,Naman Goyal,
Mikel Artetxe ,Moya Chen ,Shuohui | 2205.01068 | OPT: Open Pre-trained Transformer Language Models | Large language models, which are often trained for hundreds of thousands of
compute days, have shown remarkable capabilities for zero- and few-shot
learning. Given their computational cost, these models are difficult to
replicate without significant capital. For the few that are available through
APIs, no access is granted to the full model weights, making them difficult to
study. We present Open Pre-trained Transformers (OPT), a suite of decoder-only
pre-trained transformers ranging from 125M to 175B parameters, which we aim to
fully and responsibly share with interested researchers. We show that OPT-175B
is comparable to GPT-3, while requiring only 1/7th the carbon footprint to
develop. We are also releasing our logbook detailing the infrastructure
challenges we faced, along with code for experimenting with all of the released
models. | http://arxiv.org/pdf/2205.01068 | [
"Susan Zhang",
"Stephen Roller",
"Naman Goyal",
"Mikel Artetxe",
"Moya Chen",
"Shuohui Chen",
"Christopher Dewan",
"Mona Diab",
"Xian Li",
"Xi Victoria Lin",
"Todor Mihaylov",
"Myle Ott",
"Sam Shleifer",
"Kurt Shuster",
"Daniel Simig",
"Punit Singh Koura",
"Anjali Sridhar",
"Tianlu Wang",
"Luke Zettlemoyer"
] | 128 |
Leveraging Passage Retrieval with Generative Models
for Open Domain Question Answering
Gautier Izacard1;2;3Edouard Grave1
1Faceb | 2007.01282 | Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering | Generative models for open domain question answering have proven to be
competitive, without resorting to external knowledge. While promising, this
approach requires to use models with billions of parameters, which are
expensive to train and query. In this paper, we investigate how much these
models can benefit from retrieving text passages, potentially containing
evidence. We obtain state-of-the-art results on the Natural Questions and
TriviaQA open benchmarks. Interestingly, we observe that the performance of
this method significantly improves when increasing the number of retrieved
passages. This is evidence that generative models are good at aggregating and
combining evidence from multiple passages. | http://arxiv.org/pdf/2007.01282 | [
"Gautier Izacard",
"Edouard Grave"
] | 128 |
Preprint
RT-1: R OBOTICS TRANSFORMER
FOR REAL-WORLD CONTROL AT SCALE
1Anthony Brohan∗, Noah Brown∗, Justice Carbajal∗, Yevgen Ch | 2212.06817 | RT-1: Robotics Transformer for Real-World Control at Scale | By transferring knowledge from large, diverse, task-agnostic datasets, modern
machine learning models can solve specific downstream tasks either zero-shot or
with small task-specific datasets to a high level of performance. While this
capability has been demonstrated in other fields such as computer vision,
natural language processing or speech recognition, it remains to be shown in
robotics, where the generalization capabilities of the models are particularly
critical due to the difficulty of collecting real-world robotic data. We argue
that one of the keys to the success of such general robotic models lies with
open-ended task-agnostic training, combined with high-capacity architectures
that can absorb all of the diverse, robotic data. In this paper, we present a
model class, dubbed Robotics Transformer, that exhibits promising scalable
model properties. We verify our conclusions in a study of different model
classes and their ability to generalize as a function of the data size, model
size, and data diversity based on a large-scale data collection on real robots
performing real-world tasks. The project's website and videos can be found at
robotics-transformer1.github.io | http://arxiv.org/pdf/2212.06817 | [
"Anthony Brohan",
"Noah Brown",
"Justice Carbajal",
"Yevgen Chebotar",
"Joseph Dabis",
"Chelsea Finn",
"Keerthana Gopalakrishnan",
"Karol Hausman",
"Alex Herzog",
"Jasmine Hsu",
"Julian Ibarz",
"Brian Ichter",
"Alex Irpan",
"Tomas Jackson",
"Sally Jesmonth",
"Nikhil J Joshi",
"Ryan Julian",
"Dmitry Kalashnikov",
"Yuheng Kuang",
"Isabel Leal",
"Kuang-Huei Lee",
"Sergey Levine",
"Yao Lu",
"Utsav Malla",
"Deeksha Manjunath",
"Igor Mordatch",
"Ofir Nachum",
"Carolina Parada",
"Jodilyn Peralta",
"Emily Perez",
"Karl Pertsch",
"Jornell Quiambao",
"Kanishka Rao",
"Michael Ryoo",
"Grecia Salazar",
"Pannag Sanketi",
"Kevin Sayed",
"Jaspiar Singh",
"Sumedh Sontakke",
"Austin Stone",
"Clayton Tan",
"Huong Tran",
"Vincent Vanhoucke",
"Steve Vega",
"Quan Vuong",
"Fei Xia",
"Ted Xiao",
"Peng Xu",
"Sichun Xu",
"Tianhe Yu",
"Brianna Zitkovich"
] | 128 |
Learning Performance-Improving Code Edits
LEARNING PERFORMANCE -IMPROVING CODE EDITS
Aman Madaan1, Alexander Shypula2, Uri Alon1 | 2302.07867 | Learning Performance-Improving Code Edits | The waning of Moore's Law has shifted the focus of the tech industry towards
alternative methods for continued performance gains. While optimizing compilers
are a standard tool to help increase program efficiency, programmers continue
to shoulder much responsibility in crafting and refactoring code with better
performance characteristics. In this paper, we investigate the ability of large
language models (LLMs) to suggest functionally correct, performance improving
code edits. We hypothesize that language models can suggest such edits in ways
that would be impractical for static analysis alone. We investigate these
questions by curating a large-scale dataset of Performance-Improving Edits,
PIE. PIE contains trajectories of programs, where a programmer begins with an
initial, slower version and iteratively makes changes to improve the program's
performance. We use PIE to evaluate and improve the capacity of large language
models. Specifically, use examples from PIE to fine-tune multiple variants of
CODEGEN, a billion-scale Transformer-decoder model. Additionally, we use
examples from PIE to prompt OpenAI's CODEX using a few-shot prompting. By
leveraging PIE, we find that both CODEX and CODEGEN can generate
performance-improving edits, with speedups of more than 2.5x for over 25% of
the programs, for C++ and Python, even after the C++ programs were compiled
using the O3 optimization level. Crucially, we show that PIE allows CODEGEN, an
open-sourced and 10x smaller model than CODEX, to match the performance of
CODEX on this challenging task. Overall, this work opens new doors for creating
systems and methods that can help programmers write efficient code. | http://arxiv.org/pdf/2302.07867 | [
"Aman Madaan",
"Alexander Shypula",
"Uri Alon",
"Milad Hashemi",
"Parthasarathy Ranganathan",
"Yiming Yang",
"Graham Neubig",
"Amir Yazdanbakhsh"
] | 128 |
Published as a conference paper at ICLR 2022
EXT5: T OWARDS EXTREME MULTI -TASK SCALING
FOR TRANSFER LEARNING
Vamsi Aribandi†, | 2111.10952 | ExT5: Towards Extreme Multi-Task Scaling for Transfer Learning | Despite the recent success of multi-task learning and transfer learning for
natural language processing (NLP), few works have systematically studied the
effect of scaling up the number of tasks during pre-training. Towards this
goal, this paper introduces ExMix (Extreme Mixture): a massive collection of
107 supervised NLP tasks across diverse domains and task-families. Using ExMix,
we study the effect of multi-task pre-training at the largest scale to date,
and analyze co-training transfer amongst common families of tasks. Through this
analysis, we show that manually curating an ideal set of tasks for multi-task
pre-training is not straightforward, and that multi-task scaling can vastly
improve models on its own. Finally, we propose ExT5: a model pre-trained using
a multi-task objective of self-supervised span denoising and supervised ExMix.
Via extensive experiments, we show that ExT5 outperforms strong T5 baselines on
SuperGLUE, GEM, Rainbow, Closed-Book QA tasks, and several tasks outside of
ExMix. ExT5 also significantly improves sample efficiency while pre-training. | http://arxiv.org/pdf/2111.10952 | [
"Vamsi Aribandi",
"Yi Tay",
"Tal Schuster",
"Jinfeng Rao",
"Huaixiu Steven Zheng",
"Sanket Vaibhav Mehta",
"Honglei Zhuang",
"Vinh Q. Tran",
"Dara Bahri",
"Jianmo Ni",
"Jai Gupta",
"Kai Hui",
"Sebastian Ruder",
"Donald Metzler"
] | 128 |
Training Language Models with Language Feedback
Jérémy Scheurer1Jon Ander Campos1 2Jun Shern Chan1Angelica Chen1
Kyunghyun Cho1 | 2204.14146 | Training Language Models with Language Feedback | Pretrained language models often do not perform tasks in ways that are in
line with our preferences, e.g., generating offensive text or factually
incorrect summaries. Recent work approaches the above issue by learning from a
simple form of human evaluation: comparisons between pairs of model-generated
task outputs. Comparison feedback conveys limited information about human
preferences per human evaluation. Here, we propose to learn from natural
language feedback, which conveys more information per human evaluation. We
learn from language feedback on model outputs using a three-step learning
algorithm. First, we condition the language model on the initial output and
feedback to generate many refinements. Second, we choose the refinement with
the highest similarity to the feedback. Third, we finetune a language model to
maximize the likelihood of the chosen refinement given the input. In synthetic
experiments, we first evaluate whether language models accurately incorporate
feedback to produce refinements, finding that only large language models (175B
parameters) do so. Using only 100 samples of human-written feedback, our
learning algorithm finetunes a GPT-3 model to roughly human-level summarization
ability. | http://arxiv.org/pdf/2204.14146 | [
"Jérémy Scheurer",
"Jon Ander Campos",
"Jun Shern Chan",
"Angelica Chen",
"Kyunghyun Cho",
"Ethan Perez"
] | 128 |
Habitat: A Platform for Embodied AI Research
Manolis Savva1;4*, Abhishek Kadian1*, Oleksandr Maksymets1*, Yili Zhao1,
Erik Wijma | 1904.01201 | Habitat: A Platform for Embodied AI Research | We present Habitat, a platform for research in embodied artificial
intelligence (AI). Habitat enables training embodied agents (virtual robots) in
highly efficient photorealistic 3D simulation. Specifically, Habitat consists
of: (i) Habitat-Sim: a flexible, high-performance 3D simulator with
configurable agents, sensors, and generic 3D dataset handling. Habitat-Sim is
fast -- when rendering a scene from Matterport3D, it achieves several thousand
frames per second (fps) running single-threaded, and can reach over 10,000 fps
multi-process on a single GPU. (ii) Habitat-API: a modular high-level library
for end-to-end development of embodied AI algorithms -- defining tasks (e.g.,
navigation, instruction following, question answering), configuring, training,
and benchmarking embodied agents.
These large-scale engineering contributions enable us to answer scientific
questions requiring experiments that were till now impracticable or 'merely'
impractical. Specifically, in the context of point-goal navigation: (1) we
revisit the comparison between learning and SLAM approaches from two recent
works and find evidence for the opposite conclusion -- that learning
outperforms SLAM if scaled to an order of magnitude more experience than
previous investigations, and (2) we conduct the first cross-dataset
generalization experiments {train, test} x {Matterport3D, Gibson} for multiple
sensors {blind, RGB, RGBD, D} and find that only agents with depth (D) sensors
generalize across datasets. We hope that our open-source platform and these
findings will advance research in embodied AI. | http://arxiv.org/pdf/1904.01201 | [
"Manolis Savva",
"Abhishek Kadian",
"Oleksandr Maksymets",
"Yili Zhao",
"Erik Wijmans",
"Bhavana Jain",
"Julian Straub",
"Jia Liu",
"Vladlen Koltun",
"Jitendra Malik",
"Devi Parikh",
"Dhruv Batra"
] | 128 |
QT-Opt: Scalable Deep Reinforcement Learning
for Vision-Based Robotic Manipulation
Dmitry Kalashnikov1, Alex Irpan1, Peter Pasto | 1806.10293 | QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulation | In this paper, we study the problem of learning vision-based dynamic
manipulation skills using a scalable reinforcement learning approach. We study
this problem in the context of grasping, a longstanding challenge in robotic
manipulation. In contrast to static learning behaviors that choose a grasp
point and then execute the desired grasp, our method enables closed-loop
vision-based control, whereby the robot continuously updates its grasp strategy
based on the most recent observations to optimize long-horizon grasp success.
To that end, we introduce QT-Opt, a scalable self-supervised vision-based
reinforcement learning framework that can leverage over 580k real-world grasp
attempts to train a deep neural network Q-function with over 1.2M parameters to
perform closed-loop, real-world grasping that generalizes to 96% grasp success
on unseen objects. Aside from attaining a very high success rate, our method
exhibits behaviors that are quite distinct from more standard grasping systems:
using only RGB vision-based perception from an over-the-shoulder camera, our
method automatically learns regrasping strategies, probes objects to find the
most effective grasps, learns to reposition objects and perform other
non-prehensile pre-grasp manipulations, and responds dynamically to
disturbances and perturbations. | http://arxiv.org/pdf/1806.10293 | [
"Dmitry Kalashnikov",
"Alex Irpan",
"Peter Pastor",
"Julian Ibarz",
"Alexander Herzog",
"Eric Jang",
"Deirdre Quillen",
"Ethan Holly",
"Mrinal Kalakrishnan",
"Vincent Vanhoucke",
"Sergey Levine"
] | 128 |
arXiv:2004.07213v2 [cs.CY] 20 Apr 2020Toward Trustworthy AI Development:
Mechanisms for Supporting Verifiable Claims∗
Miles Bru | 2004.07213 | Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claims | With the recent wave of progress in artificial intelligence (AI) has come a
growing awareness of the large-scale impacts of AI systems, and recognition
that existing regulations and norms in industry and academia are insufficient
to ensure responsible AI development. In order for AI developers to earn trust
from system users, customers, civil society, governments, and other
stakeholders that they are building AI responsibly, they will need to make
verifiable claims to which they can be held accountable. Those outside of a
given organization also need effective means of scrutinizing such claims. This
report suggests various steps that different stakeholders can take to improve
the verifiability of claims made about AI systems and their associated
development processes, with a focus on providing evidence about the safety,
security, fairness, and privacy protection of AI systems. We analyze ten
mechanisms for this purpose--spanning institutions, software, and hardware--and
make recommendations aimed at implementing, exploring, or improving those
mechanisms. | http://arxiv.org/pdf/2004.07213 | [
"Miles Brundage",
"Shahar Avin",
"Jasmine Wang",
"Haydn Belfield",
"Gretchen Krueger",
"Gillian Hadfield",
"Heidy Khlaaf",
"Jingying Yang",
"Helen Toner",
"Ruth Fong",
"Tegan Maharaj",
"Pang Wei Koh",
"Sara Hooker",
"Jade Leung",
"Andrew Trask",
"Emma Bluemke",
"Jonathan Lebensold",
"Cullen O'Keefe",
"Mark Koren",
"Théo Ryffel",
"JB Rubinovitz",
"Tamay Besiroglu",
"Federica Carugati",
"Jack Clark",
"Peter Eckersley",
"Sarah de Haas",
"Maritza Johnson",
"Ben Laurie",
"Alex Ingerman",
"Igor Krawczuk",
"Amanda Askell",
"Rosario Cammarota",
"Andrew Lohn",
"David Krueger",
"Charlotte Stix",
"Peter Henderson",
"Logan Graham",
"Carina Prunkl",
"Bianca Martin",
"Elizabeth Seger",
"Noa Zilberman",
"Seán Ó hÉigeartaigh",
"Frens Kroeger",
"Girish Sastry",
"Rebecca Kagan",
"Adrian Weller",
"Brian Tse",
"Elizabeth Barnes",
"Allan Dafoe",
"Paul Scharre",
"Ariel Herbert-Voss",
"Martijn Rasser",
"Shagun Sodhani",
"Carrick Flynn",
"Thomas Krendl Gilbert",
"Lisa Dyer",
"Saif Khan",
"Yoshua Bengio",
"Markus Anderljung"
] | 128 |
Journal of Machine Learning Research 21 (2020) 1-44 Submitted 4/20; Revised 10/20; Published 11/20
Towards the Systematic Report | 2002.05651 | Towards the Systematic Reporting of the Energy and Carbon Footprints of Machine Learning | Accurate reporting of energy and carbon usage is essential for understanding
the potential climate impacts of machine learning research. We introduce a
framework that makes this easier by providing a simple interface for tracking
realtime energy consumption and carbon emissions, as well as generating
standardized online appendices. Utilizing this framework, we create a
leaderboard for energy efficient reinforcement learning algorithms to
incentivize responsible research in this area as an example for other areas of
machine learning. Finally, based on case studies using our framework, we
propose strategies for mitigation of carbon emissions and reduction of energy
consumption. By making accounting easier, we hope to further the sustainable
development of machine learning experiments and spur more research into energy
efficient algorithms. | http://arxiv.org/pdf/2002.05651 | [
"Peter Henderson",
"Jieru Hu",
"Joshua Romoff",
"Emma Brunskill",
"Dan Jurafsky",
"Joelle Pineau"
] | 128 |
LIMA: Less Is More for Alignment
Chunting Zhou<Pengfei Liu<Puxin XuSrini IyerJiao Sun
Yuning MaoXuezhe MaAvia EfratPing | 2305.11206 | LIMA: Less Is More for Alignment | Large language models are trained in two stages: (1) unsupervised pretraining
from raw text, to learn general-purpose representations, and (2) large scale
instruction tuning and reinforcement learning, to better align to end tasks and
user preferences. We measure the relative importance of these two stages by
training LIMA, a 65B parameter LLaMa language model fine-tuned with the
standard supervised loss on only 1,000 carefully curated prompts and responses,
without any reinforcement learning or human preference modeling. LIMA
demonstrates remarkably strong performance, learning to follow specific
response formats from only a handful of examples in the training data,
including complex queries that range from planning trip itineraries to
speculating about alternate history. Moreover, the model tends to generalize
well to unseen tasks that did not appear in the training data. In a controlled
human study, responses from LIMA are either equivalent or strictly preferred to
GPT-4 in 43% of cases; this statistic is as high as 58% when compared to Bard
and 65% versus DaVinci003, which was trained with human feedback. Taken
together, these results strongly suggest that almost all knowledge in large
language models is learned during pretraining, and only limited instruction
tuning data is necessary to teach models to produce high quality output. | http://arxiv.org/pdf/2305.11206 | [
"Chunting Zhou",
"Pengfei Liu",
"Puxin Xu",
"Srini Iyer",
"Jiao Sun",
"Yuning Mao",
"Xuezhe Ma",
"Avia Efrat",
"Ping Yu",
"Lili Yu",
"Susan Zhang",
"Gargi Ghosh",
"Mike Lewis",
"Luke Zettlemoyer",
"Omer Levy"
] | 128 |
SUPER -NATURAL INSTRUCTIONS :
Generalization via Declarative Instructions on 1600+ NLP Tasks
}Yizhong Wang2}Swaroop Mishra3|Pega | 2204.07705 | Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks | How well can NLP models generalize to a variety of unseen tasks when provided
with task instructions? To address this question, we first introduce
Super-NaturalInstructions, a benchmark of 1,616 diverse NLP tasks and their
expert-written instructions. Our collection covers 76 distinct task types,
including but not limited to classification, extraction, infilling, sequence
tagging, text rewriting, and text composition. This large and diverse
collection of tasks enables rigorous benchmarking of cross-task generalization
under instructions -- training models to follow instructions on a subset of
tasks and evaluating them on the remaining unseen ones. Furthermore, we build
Tk-Instruct, a transformer model trained to follow a variety of in-context
instructions (plain language task definitions or k-shot examples). Our
experiments show that Tk-Instruct outperforms existing instruction-following
models such as InstructGPT by over 9% on our benchmark despite being an order
of magnitude smaller. We further analyze generalization as a function of
various scaling parameters, such as the number of observed tasks, the number of
instances per task, and model sizes. We hope our dataset and model facilitate
future progress towards more general-purpose NLP models. | http://arxiv.org/pdf/2204.07705 | [
"Yizhong Wang",
"Swaroop Mishra",
"Pegah Alipoormolabashi",
"Yeganeh Kordi",
"Amirreza Mirzaei",
"Anjana Arunkumar",
"Arjun Ashok",
"Arut Selvan Dhanasekaran",
"Atharva Naik",
"David Stap",
"Eshaan Pathak",
"Giannis Karamanolakis",
"Haizhi Gary Lai",
"Ishan Purohit",
"Ishani Mondal",
"Jacob Anderson",
"Kirby Kuznia",
"Krima Doshi",
"Maitreya Patel",
"Kuntal Kumar Pal",
"Mehrad Moradshahi",
"Mihir Parmar",
"Mirali Purohit",
"Neeraj Varshney",
"Phani Rohitha Kaza",
"Pulkit Verma",
"Ravsehaj Singh Puri",
"Rushang Karia",
"Shailaja Keyur Sampat",
"Savan Doshi",
"Siddhartha Mishra",
"Sujan Reddy",
"Sumanta Patro",
"Tanay Dixit",
"Xudong Shen",
"Chitta Baral",
"Yejin Choi",
"Noah A. Smith",
"Hannaneh Hajishirzi",
"Daniel Khashabi"
] | 128 |
Training a Helpful and Harmless Assistant with
Reinforcement Learning from Human Feedback
Yuntao Bai, Andy Jones, Kamal Ndousse | 2204.05862 | Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback | We apply preference modeling and reinforcement learning from human feedback
(RLHF) to finetune language models to act as helpful and harmless assistants.
We find this alignment training improves performance on almost all NLP
evaluations, and is fully compatible with training for specialized skills such
as python coding and summarization. We explore an iterated online mode of
training, where preference models and RL policies are updated on a weekly
cadence with fresh human feedback data, efficiently improving our datasets and
models. Finally, we investigate the robustness of RLHF training, and identify a
roughly linear relation between the RL reward and the square root of the KL
divergence between the policy and its initialization. Alongside our main
results, we perform peripheral analyses on calibration, competing objectives,
and the use of OOD detection, compare our models with human writers, and
provide samples from our models using prompts appearing in recent related work. | http://arxiv.org/pdf/2204.05862 | [
"Yuntao Bai",
"Andy Jones",
"Kamal Ndousse",
"Amanda Askell",
"Anna Chen",
"Nova DasSarma",
"Dawn Drain",
"Stanislav Fort",
"Deep Ganguli",
"Tom Henighan",
"Nicholas Joseph",
"Saurav Kadavath",
"Jackson Kernion",
"Tom Conerly",
"Sheer El-Showk",
"Nelson Elhage",
"Zac Hatfield-Dodds",
"Danny Hernandez",
"Tristan Hume",
"Scott Johnston",
"Shauna Kravec",
"Liane Lovitt",
"Neel Nanda",
"Catherine Olsson",
"Dario Amodei",
"Tom Brown",
"Jack Clark",
"Sam McCandlish",
"Chris Olah",
"Ben Mann",
"Jared Kaplan"
] | 128 |
Unified Language Model Pre-training for
Natural Language Understanding and Generation
Li DongNan YangWenhui WangFuru WeiyXiao | 1905.03197 | Unified Language Model Pre-training for Natural Language Understanding and Generation | This paper presents a new Unified pre-trained Language Model (UniLM) that can
be fine-tuned for both natural language understanding and generation tasks. The
model is pre-trained using three types of language modeling tasks:
unidirectional, bidirectional, and sequence-to-sequence prediction. The unified
modeling is achieved by employing a shared Transformer network and utilizing
specific self-attention masks to control what context the prediction conditions
on. UniLM compares favorably with BERT on the GLUE benchmark, and the SQuAD 2.0
and CoQA question answering tasks. Moreover, UniLM achieves new
state-of-the-art results on five natural language generation datasets,
including improving the CNN/DailyMail abstractive summarization ROUGE-L to
40.51 (2.04 absolute improvement), the Gigaword abstractive summarization
ROUGE-L to 35.75 (0.86 absolute improvement), the CoQA generative question
answering F1 score to 82.5 (37.1 absolute improvement), the SQuAD question
generation BLEU-4 to 22.12 (3.75 absolute improvement), and the DSTC7
document-grounded dialog response generation NIST-4 to 2.67 (human performance
is 2.65). The code and pre-trained models are available at
https://github.com/microsoft/unilm. | http://arxiv.org/pdf/1905.03197 | [
"Li Dong",
"Nan Yang",
"Wenhui Wang",
"Furu Wei",
"Xiaodong Liu",
"Yu Wang",
"Jianfeng Gao",
"Ming Zhou",
"Hsiao-Wuen Hon"
] | 128 |
All-in-One Image-Grounded Conversational Agents
Da Ju,Kurt Shuster ,Y-Lan Boureau and Jason Weston
Facebook AI Research
fdaju, | 1912.12394 | All-in-One Image-Grounded Conversational Agents | As single-task accuracy on individual language and image tasks has improved
substantially in the last few years, the long-term goal of a generally skilled
agent that can both see and talk becomes more feasible to explore. In this
work, we focus on leveraging individual language and image tasks, along with
resources that incorporate both vision and language towards that objective. We
design an architecture that combines state-of-the-art Transformer and ResNeXt
modules fed into a novel attentive multimodal module to produce a combined
model trained on many tasks. We provide a thorough analysis of the components
of the model, and transfer performance when training on one, some, or all of
the tasks. Our final models provide a single system that obtains good results
on all vision and language tasks considered, and improves the state-of-the-art
in image-grounded conversational applications. | http://arxiv.org/pdf/1912.12394 | [
"Da Ju",
"Kurt Shuster",
"Y-Lan Boureau",
"Jason Weston"
] | 128 |
Atlas: Few-shot Learning with
Retrieval Augmented Language Models
Gautier Izacard∗ ∗,♦,♣,♥[email protected]
Patrick Lewis∗,♦plewis | 2208.03299 | Atlas: Few-shot Learning with Retrieval Augmented Language Models | Large language models have shown impressive few-shot results on a wide range
of tasks. However, when knowledge is key for such results, as is the case for
tasks such as question answering and fact checking, massive parameter counts to
store knowledge seem to be needed. Retrieval augmented models are known to
excel at knowledge intensive tasks without the need for as many parameters, but
it is unclear whether they work in few-shot settings. In this work we present
Atlas, a carefully designed and pre-trained retrieval augmented language model
able to learn knowledge intensive tasks with very few training examples. We
perform evaluations on a wide range of tasks, including MMLU, KILT and
NaturalQuestions, and study the impact of the content of the document index,
showing that it can easily be updated. Notably, Atlas reaches over 42% accuracy
on Natural Questions using only 64 examples, outperforming a 540B parameters
model by 3% despite having 50x fewer parameters. | http://arxiv.org/pdf/2208.03299 | [
"Gautier Izacard",
"Patrick Lewis",
"Maria Lomeli",
"Lucas Hosseini",
"Fabio Petroni",
"Timo Schick",
"Jane Dwivedi-Yu",
"Armand Joulin",
"Sebastian Riedel",
"Edouard Grave"
] | 128 |
arXiv:1910.10486v3 [cs.CL] 31 Oct 2020Does Gender Matter?
Towards Fairness in Dialogue Systems
Haochen Liu1, Jamell Dacon1, We | 1910.10486 | Does Gender Matter? Towards Fairness in Dialogue Systems | Recently there are increasing concerns about the fairness of Artificial
Intelligence (AI) in real-world applications such as computer vision and
recommendations. For example, recognition algorithms in computer vision are
unfair to black people such as poorly detecting their faces and inappropriately
identifying them as "gorillas". As one crucial application of AI, dialogue
systems have been extensively applied in our society. They are usually built
with real human conversational data; thus they could inherit some fairness
issues which are held in the real world. However, the fairness of dialogue
systems has not been well investigated. In this paper, we perform a pioneering
study about the fairness issues in dialogue systems. In particular, we
construct a benchmark dataset and propose quantitative measures to understand
fairness in dialogue models. Our studies demonstrate that popular dialogue
models show significant prejudice towards different genders and races. Besides,
to mitigate the bias in dialogue systems, we propose two simple but effective
debiasing methods. Experiments show that our methods can reduce the bias in
dialogue systems significantly. The dataset and the implementation are released
to foster fairness research in dialogue systems. | http://arxiv.org/pdf/1910.10486 | [
"Haochen Liu",
"Jamell Dacon",
"Wenqi Fan",
"Hui Liu",
"Zitao Liu",
"Jiliang Tang"
] | 128 |
Self-critiquing models for assisting human evaluators
William SaundersCatherine YehJeff Wu
Steven Bills Long Ouyang Jonathan | 2206.05802 | Self-critiquing models for assisting human evaluators | We fine-tune large language models to write natural language critiques
(natural language critical comments) using behavioral cloning. On a topic-based
summarization task, critiques written by our models help humans find flaws in
summaries that they would have otherwise missed. Our models help find naturally
occurring flaws in both model and human written summaries, and intentional
flaws in summaries written by humans to be deliberately misleading. We study
scaling properties of critiquing with both topic-based summarization and
synthetic tasks. Larger models write more helpful critiques, and on most tasks,
are better at self-critiquing, despite having harder-to-critique outputs.
Larger models can also integrate their own self-critiques as feedback, refining
their own summaries into better ones. Finally, we motivate and introduce a
framework for comparing critiquing ability to generation and discrimination
ability. Our measurements suggest that even large models may still have
relevant knowledge they cannot or do not articulate as critiques. These results
are a proof of concept for using AI-assisted human feedback to scale the
supervision of machine learning systems to tasks that are difficult for humans
to evaluate directly. We release our training datasets, as well as samples from
our critique assistance experiments. | http://arxiv.org/pdf/2206.05802 | [
"William Saunders",
"Catherine Yeh",
"Jeff Wu",
"Steven Bills",
"Long Ouyang",
"Jonathan Ward",
"Jan Leike"
] | 128 |
ReCoCoRD: Bridging the Gap between Human
and Machine Commonsense Reading Comprehension
Sheng Zhangy, Xiaodong Liuz, Jingjing Li | 1810.12885 | ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehension | We present a large-scale dataset, ReCoRD, for machine reading comprehension
requiring commonsense reasoning. Experiments on this dataset demonstrate that
the performance of state-of-the-art MRC systems fall far behind human
performance. ReCoRD represents a challenge for future research to bridge the
gap between human and machine commonsense reading comprehension. ReCoRD is
available at http://nlp.jhu.edu/record. | http://arxiv.org/pdf/1810.12885 | [
"Sheng Zhang",
"Xiaodong Liu",
"Jingjing Liu",
"Jianfeng Gao",
"Kevin Duh",
"Benjamin Van Durme"
] | 128 |
PEER: A Collaborative Language Model
Timo Schick}Jane Dwivedi-Yu}Zhengbao Jiang};~Fabio Petroni}
Patrick Lewis}Gautier Izacard}; | 2208.11663 | PEER: A Collaborative Language Model | Textual content is often the output of a collaborative writing process: We
start with an initial draft, ask for suggestions, and repeatedly make changes.
Agnostic of this process, today's language models are trained to generate only
the final result. As a consequence, they lack several abilities crucial for
collaborative writing: They are unable to update existing texts, difficult to
control and incapable of verbally planning or explaining their actions. To
address these shortcomings, we introduce PEER, a collaborative language model
that is trained to imitate the entire writing process itself: PEER can write
drafts, add suggestions, propose edits and provide explanations for its
actions. Crucially, we train multiple instances of PEER able to infill various
parts of the writing process, enabling the use of self-training techniques for
increasing the quality, amount and diversity of training data. This unlocks
PEER's full potential by making it applicable in domains for which no edit
histories are available and improving its ability to follow instructions, to
write useful comments, and to explain its actions. We show that PEER achieves
strong performance across various domains and editing tasks. | http://arxiv.org/pdf/2208.11663 | [
"Timo Schick",
"Jane Dwivedi-Yu",
"Zhengbao Jiang",
"Fabio Petroni",
"Patrick Lewis",
"Gautier Izacard",
"Qingfei You",
"Christoforos Nalmpantis",
"Edouard Grave",
"Sebastian Riedel"
] | 128 |
Megatron-LM: Training Multi-Billion Parameter Language Models Using
Model Parallelism
Mohammad Shoeybi1 2Mostofa Patwary1 2Raul | 1909.08053 | Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism | Recent work in language modeling demonstrates that training large transformer
models advances the state of the art in Natural Language Processing
applications. However, very large models can be quite difficult to train due to
memory constraints. In this work, we present our techniques for training very
large transformer models and implement a simple, efficient intra-layer model
parallel approach that enables training transformer models with billions of
parameters. Our approach does not require a new compiler or library changes, is
orthogonal and complimentary to pipeline model parallelism, and can be fully
implemented with the insertion of a few communication operations in native
PyTorch. We illustrate this approach by converging transformer based models up
to 8.3 billion parameters using 512 GPUs. We sustain 15.1 PetaFLOPs across the
entire application with 76% scaling efficiency when compared to a strong single
GPU baseline that sustains 39 TeraFLOPs, which is 30% of peak FLOPs. To
demonstrate that large language models can further advance the state of the art
(SOTA), we train an 8.3 billion parameter transformer language model similar to
GPT-2 and a 3.9 billion parameter model similar to BERT. We show that careful
attention to the placement of layer normalization in BERT-like models is
critical to achieving increased performance as the model size grows. Using the
GPT-2 model we achieve SOTA results on the WikiText103 (10.8 compared to SOTA
perplexity of 15.8) and LAMBADA (66.5% compared to SOTA accuracy of 63.2%)
datasets. Our BERT model achieves SOTA results on the RACE dataset (90.9%
compared to SOTA accuracy of 89.4%). | http://arxiv.org/pdf/1909.08053 | [
"Mohammad Shoeybi",
"Mostofa Patwary",
"Raul Puri",
"Patrick LeGresley",
"Jared Casper",
"Bryan Catanzaro"
] | 128 |
Published as a conference paper at ICLR 2016
HIGH-DIMENSIONAL CONTINUOUS CONTROL USING
GENERALIZED ADVANTAGE ESTIMATION
John Sch | 1506.02438 | High-Dimensional Continuous Control Using Generalized Advantage Estimation | Policy gradient methods are an appealing approach in reinforcement learning
because they directly optimize the cumulative reward and can straightforwardly
be used with nonlinear function approximators such as neural networks. The two
main challenges are the large number of samples typically required, and the
difficulty of obtaining stable and steady improvement despite the
nonstationarity of the incoming data. We address the first challenge by using
value functions to substantially reduce the variance of policy gradient
estimates at the cost of some bias, with an exponentially-weighted estimator of
the advantage function that is analogous to TD(lambda). We address the second
challenge by using trust region optimization procedure for both the policy and
the value function, which are represented by neural networks.
Our approach yields strong empirical results on highly challenging 3D
locomotion tasks, learning running gaits for bipedal and quadrupedal simulated
robots, and learning a policy for getting the biped to stand up from starting
out lying on the ground. In contrast to a body of prior work that uses
hand-crafted policy representations, our neural network policies map directly
from raw kinematics to joint torques. Our algorithm is fully model-free, and
the amount of simulated experience required for the learning tasks on 3D bipeds
corresponds to 1-2 weeks of real time. | http://arxiv.org/pdf/1506.02438 | [
"John Schulman",
"Philipp Moritz",
"Sergey Levine",
"Michael Jordan",
"Pieter Abbeel"
] | 128 |
Gender Bias in Contextualized Word Embeddings
Jieyu ZhaoxTianlu WangyMark Yatskarz
Ryan Cotterell@Vicente OrdonezyKai-Wei Changx | 1904.03310 | Gender Bias in Contextualized Word Embeddings | In this paper, we quantify, analyze and mitigate gender bias exhibited in
ELMo's contextualized word vectors. First, we conduct several intrinsic
analyses and find that (1) training data for ELMo contains significantly more
male than female entities, (2) the trained ELMo embeddings systematically
encode gender information and (3) ELMo unequally encodes gender information
about male and female entities. Then, we show that a state-of-the-art
coreference system that depends on ELMo inherits its bias and demonstrates
significant bias on the WinoBias probing corpus. Finally, we explore two
methods to mitigate such gender bias and show that the bias demonstrated on
WinoBias can be eliminated. | http://arxiv.org/pdf/1904.03310 | [
"Jieyu Zhao",
"Tianlu Wang",
"Mark Yatskar",
"Ryan Cotterell",
"Vicente Ordonez",
"Kai-Wei Chang"
] | 128 |
Mirages: On Anthropomorphism in Dialogue Systems
Gavin Abercrombie
Heriot-Watt University
[email protected]
Tanvi Dinkar
He | 2305.09800 | Mirages: On Anthropomorphism in Dialogue Systems | Automated dialogue or conversational systems are anthropomorphised by
developers and personified by users. While a degree of anthropomorphism is
inevitable, conscious and unconscious design choices can guide users to
personify them to varying degrees. Encouraging users to relate to automated
systems as if they were human can lead to transparency and trust issues, and
high risk scenarios caused by over-reliance on their outputs. As a result,
natural language processing researchers have begun to investigate factors that
induce personification and develop resources to mitigate such effects. However,
these efforts are fragmented, and many aspects of anthropomorphism have yet to
be considered. In this paper, we discuss the linguistic factors that contribute
to the anthropomorphism of dialogue systems and the harms that can arise,
arguing that it can reinforce stereotypes of gender roles and notions of
acceptable language. We recommend that future efforts towards developing
dialogue systems take particular care in their design, development, release,
and description; and attend to the many linguistic cues that can elicit
personification by users. | http://arxiv.org/pdf/2305.09800 | [
"Gavin Abercrombie",
"Amanda Cercas Curry",
"Tanvi Dinkar",
"Zeerak Talat"
] | 128 |
Wav2Letter: an End-to-End ConvNet-based Speech
Recognition System
Ronan Collobert
Facebook AI Research, Menlo Park
[email protected] | 1609.03193 | Wav2Letter: an End-to-End ConvNet-based Speech Recognition System | This paper presents a simple end-to-end model for speech recognition,
combining a convolutional network based acoustic model and a graph decoding. It
is trained to output letters, with transcribed speech, without the need for
force alignment of phonemes. We introduce an automatic segmentation criterion
for training from sequence annotation without alignment that is on par with CTC
while being simpler. We show competitive results in word error rate on the
Librispeech corpus with MFCC features, and promising results from raw waveform. | http://arxiv.org/pdf/1609.03193 | [
"Ronan Collobert",
"Christian Puhrsch",
"Gabriel Synnaeve"
] | 128 |
Queens are Powerful too: Mitigating Gender Bias in Dialogue Generation
Emily Dinan, Angela Fany, Adina Williams, Jack Urbanek, | 1911.03842 | Queens are Powerful too: Mitigating Gender Bias in Dialogue Generation | Models often easily learn biases present in the training data, and their
predictions directly reflect this bias. We analyze gender bias in dialogue
data, and examine how this bias is actually amplified in subsequent generative
chit-chat dialogue models. We measure gender bias in six existing dialogue
datasets, and focus on the most biased one, the multi-player text-based fantasy
adventure dataset LIGHT, as a testbed for our bias mitigation techniques. The
LIGHT dataset is highly imbalanced with respect to gender, containing
predominantly male characters, likely because it is entirely collected by
crowdworkers and reflects common biases that exist in fantasy or medieval
settings. We consider three techniques to mitigate gender bias: counterfactual
data augmentation, targeted data collection, and bias controlled training. We
show that our proposed techniques mitigate gender bias in LIGHT by balancing
the genderedness of generated dialogue utterances and are particularly
effective in combination. We quantify performance using various evaluation
methods---such as quantity of gendered words, a dialogue safety classifier, and
human studies---all of which show that our models generate less gendered, but
equally engaging chit-chat responses. | http://arxiv.org/pdf/1911.03842 | [
"Emily Dinan",
"Angela Fan",
"Adina Williams",
"Jack Urbanek",
"Douwe Kiela",
"Jason Weston"
] | 128 |
ACUTE -EVAL : Improved dialogue evaluation with optimized questions and
multi-turn comparisons
Margaret Li
Facebook AI Research
| 1909.03087 | ACUTE-EVAL: Improved Dialogue Evaluation with Optimized Questions and Multi-turn Comparisons | While dialogue remains an important end-goal of natural language research,
the difficulty of evaluation is an oft-quoted reason why it remains troublesome
to make real progress towards its solution. Evaluation difficulties are
actually two-fold: not only do automatic metrics not correlate well with human
judgments, but also human judgments themselves are in fact difficult to
measure. The two most used human judgment tests, single-turn pairwise
evaluation and multi-turn Likert scores, both have serious flaws as we discuss
in this work.
We instead provide a novel procedure involving comparing two full dialogues,
where a human judge is asked to pay attention to only one speaker within each,
and make a pairwise judgment. The questions themselves are optimized to
maximize the robustness of judgments across different annotators, resulting in
better tests. We also show how these tests work in self-play model chat setups,
resulting in faster, cheaper tests. We hope these tests become the de facto
standard, and will release open-source code to that end. | http://arxiv.org/pdf/1909.03087 | [
"Margaret Li",
"Jason Weston",
"Stephen Roller"
] | 128 |
Deep Learning Based Text Classification: A Comprehensive Review
Shervin Minaee, Snapchat Inc
Nal Kalchbrenner, Google Brain, Ams | 2004.03705 | Deep Learning Based Text Classification: A Comprehensive Review | Deep learning based models have surpassed classical machine learning based
approaches in various text classification tasks, including sentiment analysis,
news categorization, question answering, and natural language inference. In
this paper, we provide a comprehensive review of more than 150 deep learning
based models for text classification developed in recent years, and discuss
their technical contributions, similarities, and strengths. We also provide a
summary of more than 40 popular datasets widely used for text classification.
Finally, we provide a quantitative analysis of the performance of different
deep learning models on popular benchmarks, and discuss future research
directions. | http://arxiv.org/pdf/2004.03705 | [
"Shervin Minaee",
"Nal Kalchbrenner",
"Erik Cambria",
"Narjes Nikzad",
"Meysam Chenaghlu",
"Jianfeng Gao"
] | 128 |
OpenAssistant Conversations - Democratizing Large
Language Model Alignment
Andreas Köpf
[email protected] Kilche | 2304.07327 | OpenAssistant Conversations -- Democratizing Large Language Model Alignment | Aligning large language models (LLMs) with human preferences has proven to
drastically improve usability and has driven rapid adoption as demonstrated by
ChatGPT. Alignment techniques such as supervised fine-tuning (SFT) and
reinforcement learning from human feedback (RLHF) greatly reduce the required
skill and domain knowledge to effectively harness the capabilities of LLMs,
increasing their accessibility and utility across various domains. However,
state-of-the-art alignment techniques like RLHF rely on high-quality human
feedback data, which is expensive to create and often remains proprietary. In
an effort to democratize research on large-scale alignment, we release
OpenAssistant Conversations, a human-generated, human-annotated assistant-style
conversation corpus consisting of 161,443 messages distributed across 66,497
conversation trees, in 35 different languages, annotated with 461,292 quality
ratings. The corpus is a product of a worldwide crowd-sourcing effort involving
over 13,500 volunteers. To demonstrate the OpenAssistant Conversations
dataset's effectiveness, we present OpenAssistant, the first fully open-source
large-scale instruction-tuned model to be trained on human data. A preference
study revealed that OpenAssistant replies are comparably preferred to
GPT-3.5-turbo (ChatGPT) with a relative winrate of 48.3% vs. 51.7%
respectively. We release our code and data under fully permissive licenses. | http://arxiv.org/pdf/2304.07327 | [
"Andreas Köpf",
"Yannic Kilcher",
"Dimitri von Rütte",
"Sotiris Anagnostidis",
"Zhi-Rui Tam",
"Keith Stevens",
"Abdullah Barhoum",
"Nguyen Minh Duc",
"Oliver Stanley",
"Richárd Nagyfi",
"Shahul ES",
"Sameer Suri",
"David Glushkov",
"Arnav Dantuluri",
"Andrew Maguire",
"Christoph Schuhmann",
"Huu Nguyen",
"Alexander Mattick"
] | 128 |
Evaluating the Social Impact of Generative AI Systems
in Systems and Society
Irene Solaiman∗
Hugging FaceZeerak Talat∗
Independe | 2306.05949 | Evaluating the Social Impact of Generative AI Systems in Systems and Society | Generative AI systems across modalities, ranging from text, image, audio, and
video, have broad social impacts, but there exists no official standard for
means of evaluating those impacts and which impacts should be evaluated. We
move toward a standard approach in evaluating a generative AI system for any
modality, in two overarching categories: what is able to be evaluated in a base
system that has no predetermined application and what is able to be evaluated
in society. We describe specific social impact categories and how to approach
and conduct evaluations in the base technical system, then in people and
society. Our framework for a base system defines seven categories of social
impact: bias, stereotypes, and representational harms; cultural values and
sensitive content; disparate performance; privacy and data protection;
financial costs; environmental costs; and data and content moderation labor
costs. Suggested methods for evaluation apply to all modalities and analyses of
the limitations of existing evaluations serve as a starting point for necessary
investment in future evaluations. We offer five overarching categories for what
is able to be evaluated in society, each with their own subcategories:
trustworthiness and autonomy; inequality, marginalization, and violence;
concentration of authority; labor and creativity; and ecosystem and
environment. Each subcategory includes recommendations for mitigating harm. We
are concurrently crafting an evaluation repository for the AI research
community to contribute existing evaluations along the given categories. This
version will be updated following a CRAFT session at ACM FAccT 2023. | http://arxiv.org/pdf/2306.05949 | [
"Irene Solaiman",
"Zeerak Talat",
"William Agnew",
"Lama Ahmad",
"Dylan Baker",
"Su Lin Blodgett",
"Hal Daumé III",
"Jesse Dodge",
"Ellie Evans",
"Sara Hooker",
"Yacine Jernite",
"Alexandra Sasha Luccioni",
"Alberto Lusoli",
"Margaret Mitchell",
"Jessica Newman",
"Marie-Therese Png",
"Andrew Strait",
"Apostol Vassilev"
] | 128 |
1
Training Production Language Models
without Memorizing User Data
Swaroop Ramaswamy*, Om Thakkar*, Rajiv Mathews, Galen Andrew, | 2009.10031 | Training Production Language Models without Memorizing User Data | This paper presents the first consumer-scale next-word prediction (NWP) model
trained with Federated Learning (FL) while leveraging the Differentially
Private Federated Averaging (DP-FedAvg) technique. There has been prior work on
building practical FL infrastructure, including work demonstrating the
feasibility of training language models on mobile devices using such
infrastructure. It has also been shown (in simulations on a public corpus) that
it is possible to train NWP models with user-level differential privacy using
the DP-FedAvg algorithm. Nevertheless, training production-quality NWP models
with DP-FedAvg in a real-world production environment on a heterogeneous fleet
of mobile phones requires addressing numerous challenges. For instance, the
coordinating central server has to keep track of the devices available at the
start of each round and sample devices uniformly at random from them, while
ensuring \emph{secrecy of the sample}, etc. Unlike all prior privacy-focused FL
work of which we are aware, for the first time we demonstrate the deployment of
a differentially private mechanism for the training of a production neural
network in FL, as well as the instrumentation of the production training
infrastructure to perform an end-to-end empirical measurement of unintended
memorization. | http://arxiv.org/pdf/2009.10031 | [
"Swaroop Ramaswamy",
"Om Thakkar",
"Rajiv Mathews",
"Galen Andrew",
"H. Brendan McMahan",
"Françoise Beaufays"
] | 128 |
Published as a conference paper at ICLR 2023
LARGE LANGUAGE MODELS ARE HUMAN -LEVEL
PROMPT ENGINEERS
Yongchao Zhou1;2;, Andrei | 2211.01910 | Large Language Models Are Human-Level Prompt Engineers | By conditioning on natural language instructions, large language models
(LLMs) have displayed impressive capabilities as general-purpose computers.
However, task performance depends significantly on the quality of the prompt
used to steer the model, and most effective prompts have been handcrafted by
humans. Inspired by classical program synthesis and the human approach to
prompt engineering, we propose Automatic Prompt Engineer (APE) for automatic
instruction generation and selection. In our method, we treat the instruction
as the "program," optimized by searching over a pool of instruction candidates
proposed by an LLM in order to maximize a chosen score function. To evaluate
the quality of the selected instruction, we evaluate the zero-shot performance
of another LLM following the selected instruction. Experiments on 24 NLP tasks
show that our automatically generated instructions outperform the prior LLM
baseline by a large margin and achieve better or comparable performance to the
instructions generated by human annotators on 19/24 tasks. We conduct extensive
qualitative and quantitative analyses to explore the performance of APE. We
show that APE-engineered prompts can be applied to steer models toward
truthfulness and/or informativeness, as well as to improve few-shot learning
performance by simply prepending them to standard in-context learning prompts.
Please check out our webpage at
https://sites.google.com/view/automatic-prompt-engineer. | http://arxiv.org/pdf/2211.01910 | [
"Yongchao Zhou",
"Andrei Ioan Muresanu",
"Ziwen Han",
"Keiran Paster",
"Silviu Pitis",
"Harris Chan",
"Jimmy Ba"
] | 128 |
Large Language Models Struggle to Learn Long-Tail Knowledge
Nikhil Kandpal1Haikang Deng1Adam Roberts2Eric Wallace3Colin Raffel1
| 2211.08411 | Large Language Models Struggle to Learn Long-Tail Knowledge | The Internet contains a wealth of knowledge -- from the birthdays of
historical figures to tutorials on how to code -- all of which may be learned
by language models. However, while certain pieces of information are ubiquitous
on the web, others appear extremely rarely. In this paper, we study the
relationship between the knowledge memorized by large language models and the
information in pre-training datasets scraped from the web. In particular, we
show that a language model's ability to answer a fact-based question relates to
how many documents associated with that question were seen during pre-training.
We identify these relevant documents by entity linking pre-training datasets
and counting documents that contain the same entities as a given
question-answer pair. Our results demonstrate strong correlational and causal
relationships between accuracy and relevant document count for numerous
question answering datasets (e.g., TriviaQA), pre-training corpora (e.g.,
ROOTS), and model sizes (e.g., 176B parameters). Moreover, while larger models
are better at learning long-tail knowledge, we estimate that today's models
must be scaled by many orders of magnitude to reach competitive QA performance
on questions with little support in the pre-training data. Finally, we show
that retrieval-augmentation can reduce the dependence on relevant pre-training
information, presenting a promising approach for capturing the long-tail. | http://arxiv.org/pdf/2211.08411 | [
"Nikhil Kandpal",
"Haikang Deng",
"Adam Roberts",
"Eric Wallace",
"Colin Raffel"
] | 128 |
Training Veriers to Solve Math Word Problems
Karl Cobbe∗Vineet Kosaraju∗Mohammad Bavarian Mark Chen
Heewoo Jun Lukasz Kaiser M | 2110.14168 | Training Verifiers to Solve Math Word Problems | State-of-the-art language models can match human performance on many tasks,
but they still struggle to robustly perform multi-step mathematical reasoning.
To diagnose the failures of current models and support research, we introduce
GSM8K, a dataset of 8.5K high quality linguistically diverse grade school math
word problems. We find that even the largest transformer models fail to achieve
high test performance, despite the conceptual simplicity of this problem
distribution. To increase performance, we propose training verifiers to judge
the correctness of model completions. At test time, we generate many candidate
solutions and select the one ranked highest by the verifier. We demonstrate
that verification significantly improves performance on GSM8K, and we provide
strong empirical evidence that verification scales more effectively with
increased data than a finetuning baseline. | http://arxiv.org/pdf/2110.14168 | [
"Karl Cobbe",
"Vineet Kosaraju",
"Mohammad Bavarian",
"Mark Chen",
"Heewoo Jun",
"Lukasz Kaiser",
"Matthias Plappert",
"Jerry Tworek",
"Jacob Hilton",
"Reiichiro Nakano",
"Christopher Hesse",
"John Schulman"
] | 128 |
Published as a conference paper at ICLR 2017
SGDR: S TOCHASTIC GRADIENT DESCENT WITH
WARM RESTARTS
Ilya Loshchilov & Frank Hutte | 1608.03983 | SGDR: Stochastic Gradient Descent with Warm Restarts | Restart techniques are common in gradient-free optimization to deal with
multimodal functions. Partial warm restarts are also gaining popularity in
gradient-based optimization to improve the rate of convergence in accelerated
gradient schemes to deal with ill-conditioned functions. In this paper, we
propose a simple warm restart technique for stochastic gradient descent to
improve its anytime performance when training deep neural networks. We
empirically study its performance on the CIFAR-10 and CIFAR-100 datasets, where
we demonstrate new state-of-the-art results at 3.14% and 16.21%, respectively.
We also demonstrate its advantages on a dataset of EEG recordings and on a
downsampled version of the ImageNet dataset. Our source code is available at
https://github.com/loshchil/SGDR | http://arxiv.org/pdf/1608.03983 | [
"Ilya Loshchilov",
"Frank Hutter"
] | 128 |
The False Promise of Imitating Proprietary LLMs
Arnav Gudibande∗
UC Berkeley
[email protected] Wallace∗
UC Berkeley
ericwa | 2305.15717 | The False Promise of Imitating Proprietary LLMs | An emerging method to cheaply improve a weaker language model is to finetune
it on outputs from a stronger model, such as a proprietary system like ChatGPT
(e.g., Alpaca, Self-Instruct, and others). This approach looks to cheaply
imitate the proprietary model's capabilities using a weaker open-source model.
In this work, we critically analyze this approach. We first finetune a series
of LMs that imitate ChatGPT using varying base model sizes (1.5B--13B), data
sources, and imitation data amounts (0.3M--150M tokens). We then evaluate the
models using crowd raters and canonical NLP benchmarks. Initially, we were
surprised by the output quality of our imitation models -- they appear far
better at following instructions, and crowd workers rate their outputs as
competitive with ChatGPT. However, when conducting more targeted automatic
evaluations, we find that imitation models close little to none of the gap from
the base LM to ChatGPT on tasks that are not heavily supported in the imitation
data. We show that these performance discrepancies may slip past human raters
because imitation models are adept at mimicking ChatGPT's style but not its
factuality. Overall, we conclude that model imitation is a false promise: there
exists a substantial capabilities gap between open and closed LMs that, with
current methods, can only be bridged using an unwieldy amount of imitation data
or by using more capable base LMs. In turn, we argue that the highest leverage
action for improving open-source models is to tackle the difficult challenge of
developing better base LMs, rather than taking the shortcut of imitating
proprietary systems. | http://arxiv.org/pdf/2305.15717 | [
"Arnav Gudibande",
"Eric Wallace",
"Charlie Snell",
"Xinyang Geng",
"Hao Liu",
"Pieter Abbeel",
"Sergey Levine",
"Dawn Song"
] | 128 |
arXiv:2202.12040v4 [cs.LG] 18 Sep 2023Self-Training: A Survey
Massih-Reza Amini1, Vasilii Feofanov2, Loic Pauletto3,
Li` es Ha | 2202.12040 | Self-Training: A Survey | Semi-supervised algorithms aim to learn prediction functions from a small set
of labeled observations and a large set of unlabeled observations. Because this
framework is relevant in many applications, they have received a lot of
interest in both academia and industry. Among the existing techniques,
self-training methods have undoubtedly attracted greater attention in recent
years. These models are designed to find the decision boundary on low density
regions without making additional assumptions about the data distribution, and
use the unsigned output score of a learned classifier, or its margin, as an
indicator of confidence. The working principle of self-training algorithms is
to learn a classifier iteratively by assigning pseudo-labels to the set of
unlabeled training samples with a margin greater than a certain threshold. The
pseudo-labeled examples are then used to enrich the labeled training data and
to train a new classifier in conjunction with the labeled training set. In this
paper, we present self-training methods for binary and multi-class
classification; as well as their variants and two related approaches, namely
consistency-based approaches and transductive learning. We examine the impact
of significant self-training features on various methods, using different
general and image classification benchmarks, and we discuss our ideas for
future research in self-training. To the best of our knowledge, this is the
first thorough and complete survey on this subject. | http://arxiv.org/pdf/2202.12040 | [
"Massih-Reza Amini",
"Vasilii Feofanov",
"Loic Pauletto",
"Lies Hadjadj",
"Emilie Devijver",
"Yury Maximov"
] | 128 |
CAN MACHINES LEARN MORALITY ?
THE
:COMMONSENSE MORAL MACHINES FOR
ETHICAL JUDGMENTS ON EVERYDAY SITUATIONS
Liwei Jiang∫∑Jena D. | 2110.07574 | Can Machines Learn Morality? The Delphi Experiment | As AI systems become increasingly powerful and pervasive, there are growing
concerns about machines' morality or a lack thereof. Yet, teaching morality to
machines is a formidable task, as morality remains among the most intensely
debated questions in humanity, let alone for AI. Existing AI systems deployed
to millions of users, however, are already making decisions loaded with moral
implications, which poses a seemingly impossible challenge: teaching machines
moral sense, while humanity continues to grapple with it.
To explore this challenge, we introduce Delphi, an experimental framework
based on deep neural networks trained directly to reason about descriptive
ethical judgments, e.g., "helping a friend" is generally good, while "helping a
friend spread fake news" is not. Empirical results shed novel insights on the
promises and limits of machine ethics; Delphi demonstrates strong
generalization capabilities in the face of novel ethical situations, while
off-the-shelf neural network models exhibit markedly poor judgment including
unjust biases, confirming the need for explicitly teaching machines moral
sense.
Yet, Delphi is not perfect, exhibiting susceptibility to pervasive biases and
inconsistencies. Despite that, we demonstrate positive use cases of imperfect
Delphi, including using it as a component model within other imperfect AI
systems. Importantly, we interpret the operationalization of Delphi in light of
prominent ethical theories, which leads us to important future research
questions. | http://arxiv.org/pdf/2110.07574 | [
"Liwei Jiang",
"Jena D. Hwang",
"Chandra Bhagavatula",
"Ronan Le Bras",
"Jenny Liang",
"Jesse Dodge",
"Keisuke Sakaguchi",
"Maxwell Forbes",
"Jon Borchardt",
"Saadia Gabriel",
"Yulia Tsvetkov",
"Oren Etzioni",
"Maarten Sap",
"Regina Rini",
"Yejin Choi"
] | 128 |
Equality of Opportunity in Supervised Learning
Moritz Hardt Eric Price Nathan Srebro
February 18, 2022
Abstract
We propose a cri | 1610.02413 | Equality of Opportunity in Supervised Learning | We propose a criterion for discrimination against a specified sensitive
attribute in supervised learning, where the goal is to predict some target
based on available features. Assuming data about the predictor, target, and
membership in the protected group are available, we show how to optimally
adjust any learned predictor so as to remove discrimination according to our
definition. Our framework also improves incentives by shifting the cost of poor
classification from disadvantaged groups to the decision maker, who can respond
by improving the classification accuracy.
In line with other studies, our notion is oblivious: it depends only on the
joint statistics of the predictor, the target and the protected attribute, but
not on interpretation of individualfeatures. We study the inherent limits of
defining and identifying biases based on such oblivious measures, outlining
what can and cannot be inferred from different oblivious tests.
We illustrate our notion using a case study of FICO credit scores. | http://arxiv.org/pdf/1610.02413 | [
"Moritz Hardt",
"Eric Price",
"Nathan Srebro"
] | 128 |
Published as a conference paper at ICLR 2020
LARGE BATCH OPTIMIZATION FOR DEEP LEARNING :
TRAINING BERT IN76MINUTES
Yang You2, J | 1904.00962 | Large Batch Optimization for Deep Learning: Training BERT in 76 minutes | Training large deep neural networks on massive datasets is computationally
very challenging. There has been recent surge in interest in using large batch
stochastic optimization methods to tackle this issue. The most prominent
algorithm in this line of research is LARS, which by employing layerwise
adaptive learning rates trains ResNet on ImageNet in a few minutes. However,
LARS performs poorly for attention models like BERT, indicating that its
performance gains are not consistent across tasks. In this paper, we first
study a principled layerwise adaptation strategy to accelerate training of deep
neural networks using large mini-batches. Using this strategy, we develop a new
layerwise adaptive large batch optimization technique called LAMB; we then
provide convergence analysis of LAMB as well as LARS, showing convergence to a
stationary point in general nonconvex settings. Our empirical results
demonstrate the superior performance of LAMB across various tasks such as BERT
and ResNet-50 training with very little hyperparameter tuning. In particular,
for BERT training, our optimizer enables use of very large batch sizes of 32868
without any degradation of performance. By increasing the batch size to the
memory limit of a TPUv3 Pod, BERT training time can be reduced from 3 days to
just 76 minutes (Table 1). The LAMB implementation is available at
https://github.com/tensorflow/addons/blob/master/tensorflow_addons/optimizers/lamb.py | http://arxiv.org/pdf/1904.00962 | [
"Yang You",
"Jing Li",
"Sashank Reddi",
"Jonathan Hseu",
"Sanjiv Kumar",
"Srinadh Bhojanapalli",
"Xiaodan Song",
"James Demmel",
"Kurt Keutzer",
"Cho-Jui Hsieh"
] | 128 |
ANTICIPATING SAFETY ISSUES IN
E2E C ONVERSATIONAL AI:
FRAMEWORK AND TOOLING
Emily Dinan1, Gavin Abercrombie2, A. Stevie Bergman3 | 2107.03451 | Anticipating Safety Issues in E2E Conversational AI: Framework and Tooling | Over the last several years, end-to-end neural conversational agents have
vastly improved in their ability to carry a chit-chat conversation with humans.
However, these models are often trained on large datasets from the internet,
and as a result, may learn undesirable behaviors from this data, such as toxic
or otherwise harmful language. Researchers must thus wrestle with the issue of
how and when to release these models. In this paper, we survey the problem
landscape for safety for end-to-end conversational AI and discuss recent and
related work. We highlight tensions between values, potential positive impact
and potential harms, and provide a framework for making decisions about whether
and how to release these models, following the tenets of value-sensitive
design. We additionally provide a suite of tools to enable researchers to make
better-informed decisions about training and releasing end-to-end
conversational AI models. | http://arxiv.org/pdf/2107.03451 | [
"Emily Dinan",
"Gavin Abercrombie",
"A. Stevie Bergman",
"Shannon Spruit",
"Dirk Hovy",
"Y-Lan Boureau",
"Verena Rieser"
] | 128 |
arXiv:1607.01759v3 [cs.CL] 9 Aug 2016BagofTricks forEfficient TextClassification
Armand Joulin Edouard Grave PiotrBojanowski Tom | 1607.01759 | Bag of Tricks for Efficient Text Classification | This paper explores a simple and efficient baseline for text classification.
Our experiments show that our fast text classifier fastText is often on par
with deep learning classifiers in terms of accuracy, and many orders of
magnitude faster for training and evaluation. We can train fastText on more
than one billion words in less than ten minutes using a standard multicore~CPU,
and classify half a million sentences among~312K classes in less than a minute. | http://arxiv.org/pdf/1607.01759 | [
"Armand Joulin",
"Edouard Grave",
"Piotr Bojanowski",
"Tomas Mikolov"
] | 128 |
ImageNet32x32, ImageNet16x16 and ImageNet64x64
A D OWNSAMPLED VARIANT OF IMAGE NET AS AN ALTERNATIVE TO THE CIFAR DATASETS
Patry | 1707.08819 | A Downsampled Variant of ImageNet as an Alternative to the CIFAR datasets | The original ImageNet dataset is a popular large-scale benchmark for training
Deep Neural Networks. Since the cost of performing experiments (e.g, algorithm
design, architecture search, and hyperparameter tuning) on the original dataset
might be prohibitive, we propose to consider a downsampled version of ImageNet.
In contrast to the CIFAR datasets and earlier downsampled versions of ImageNet,
our proposed ImageNet32$\times$32 (and its variants ImageNet64$\times$64 and
ImageNet16$\times$16) contains exactly the same number of classes and images as
ImageNet, with the only difference that the images are downsampled to
32$\times$32 pixels per image (64$\times$64 and 16$\times$16 pixels for the
variants, respectively). Experiments on these downsampled variants are
dramatically faster than on the original ImageNet and the characteristics of
the downsampled datasets with respect to optimal hyperparameters appear to
remain similar. The proposed datasets and scripts to reproduce our results are
available at http://image-net.org/download-images and
https://github.com/PatrykChrabaszcz/Imagenet32_Scripts | http://arxiv.org/pdf/1707.08819 | [
"Patryk Chrabaszcz",
"Ilya Loshchilov",
"Frank Hutter"
] | 128 |
arXiv:2302.07842v1 [cs.CL] 15 Feb 2023Augmented Language Models: a Survey
Grégoire Mialon∗[email protected]
Roberto Dessì∗†rdes | 2302.07842 | Augmented Language Models: a Survey | This survey reviews works in which language models (LMs) are augmented with
reasoning skills and the ability to use tools. The former is defined as
decomposing a potentially complex task into simpler subtasks while the latter
consists in calling external modules such as a code interpreter. LMs can
leverage these augmentations separately or in combination via heuristics, or
learn to do so from demonstrations. While adhering to a standard missing tokens
prediction objective, such augmented LMs can use various, possibly
non-parametric external modules to expand their context processing ability,
thus departing from the pure language modeling paradigm. We therefore refer to
them as Augmented Language Models (ALMs). The missing token objective allows
ALMs to learn to reason, use tools, and even act, while still performing
standard natural language tasks and even outperforming most regular LMs on
several benchmarks. In this work, after reviewing current advance in ALMs, we
conclude that this new research direction has the potential to address common
limitations of traditional LMs such as interpretability, consistency, and
scalability issues. | http://arxiv.org/pdf/2302.07842 | [
"Grégoire Mialon",
"Roberto Dessì",
"Maria Lomeli",
"Christoforos Nalmpantis",
"Ram Pasunuru",
"Roberta Raileanu",
"Baptiste Rozière",
"Timo Schick",
"Jane Dwivedi-Yu",
"Asli Celikyilmaz",
"Edouard Grave",
"Yann LeCun",
"Thomas Scialom"
] | 128 |
mGPT: Few-Shot Learners Go Multilingual
Oleh Shliazhko
SberDevices, Sber
Vladislav Mikhailov
SberDevices, Sber
HSE UniversityAl | 2204.07580 | mGPT: Few-Shot Learners Go Multilingual | Recent studies report that autoregressive language models can successfully
solve many NLP tasks via zero- and few-shot learning paradigms, which opens up
new possibilities for using the pre-trained language models. This paper
introduces two autoregressive GPT-like models with 1.3 billion and 13 billion
parameters trained on 60 languages from 25 language families using Wikipedia
and Colossal Clean Crawled Corpus. We reproduce the GPT-3 architecture using
GPT-2 sources and the sparse attention mechanism; Deepspeed and Megatron
frameworks allow us to parallelize the training and inference steps
effectively. The resulting models show performance on par with the recently
released XGLM models by Facebook, covering more languages and enhancing NLP
possibilities for low resource languages of CIS countries and Russian small
nations. We detail the motivation for the choices of the architecture design,
thoroughly describe the data preparation pipeline, and train five small
versions of the model to choose the most optimal multilingual tokenization
strategy. We measure the model perplexity in all covered languages and evaluate
it on the wide spectre of multilingual tasks, including classification,
generative, sequence labeling and knowledge probing. The models were evaluated
with the zero-shot and few-shot methods. Furthermore, we compared the
classification tasks with the state-of-the-art multilingual model XGLM. source
code and the mGPT XL model are publicly released. | http://arxiv.org/pdf/2204.07580 | [
"Oleh Shliazhko",
"Alena Fenogenova",
"Maria Tikhonova",
"Vladislav Mikhailov",
"Anastasia Kozlova",
"Tatiana Shavrina"
] | 128 |
Exploring the Role of Task Transferability in Large-Scale Multi-Task
Learning
Vishakh Padmakumar1Leonard Lausen2Miguel Balleste | 2204.11117 | Exploring the Role of Task Transferability in Large-Scale Multi-Task Learning | Recent work has found that multi-task training with a large number of diverse
tasks can uniformly improve downstream performance on unseen target tasks. In
contrast, literature on task transferability has established that the choice of
intermediate tasks can heavily affect downstream task performance. In this
work, we aim to disentangle the effect of scale and relatedness of tasks in
multi-task representation learning. We find that, on average, increasing the
scale of multi-task learning, in terms of the number of tasks, indeed results
in better learned representations than smaller multi-task setups. However, if
the target tasks are known ahead of time, then training on a smaller set of
related tasks is competitive to the large-scale multi-task training at a
reduced computational cost. | http://arxiv.org/pdf/2204.11117 | [
"Vishakh Padmakumar",
"Leonard Lausen",
"Miguel Ballesteros",
"Sheng Zha",
"He He",
"George Karypis"
] | 128 |
Don’t Say What You Don’t Know: Improving the Consistency of
Abstractive Summarization by Constraining Beam Search
Daniel KingZ | 2203.08436 | Don't Say What You Don't Know: Improving the Consistency of Abstractive Summarization by Constraining Beam Search | Abstractive summarization systems today produce fluent and relevant output,
but often "hallucinate" statements not supported by the source text. We analyze
the connection between hallucinations and training data, and find evidence that
models hallucinate because they train on target summaries that are unsupported
by the source. Based on our findings, we present PINOCCHIO, a new decoding
method that improves the consistency of a transformer-based abstractive
summarizer by constraining beam search to avoid hallucinations. Given the model
states and outputs at a given step, PINOCCHIO detects likely model
hallucinations based on various measures of attribution to the source text.
PINOCCHIO backtracks to find more consistent output, and can opt to produce no
summary at all when no consistent generation can be found. In experiments, we
find that PINOCCHIO improves the consistency of generation (in terms of F1) by
an average of~67% on two abstractive summarization datasets. | http://arxiv.org/pdf/2203.08436 | [
"Daniel King",
"Zejiang Shen",
"Nishant Subramani",
"Daniel S. Weld",
"Iz Beltagy",
"Doug Downey"
] | 128 |
Annotators with Attitudes:
How Annotator Beliefs And Identities Bias Toxic Language Detection
Maarten Sap~Swabha SwayamdiptaLa | 2111.07997 | Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detection | The perceived toxicity of language can vary based on someone's identity and
beliefs, but this variation is often ignored when collecting toxic language
datasets, resulting in dataset and model biases. We seek to understand the who,
why, and what behind biases in toxicity annotations. In two online studies with
demographically and politically diverse participants, we investigate the effect
of annotator identities (who) and beliefs (why), drawing from social psychology
research about hate speech, free speech, racist beliefs, political leaning, and
more. We disentangle what is annotated as toxic by considering posts with three
characteristics: anti-Black language, African American English (AAE) dialect,
and vulgarity. Our results show strong associations between annotator identity
and beliefs and their ratings of toxicity. Notably, more conservative
annotators and those who scored highly on our scale for racist beliefs were
less likely to rate anti-Black language as toxic, but more likely to rate AAE
as toxic. We additionally present a case study illustrating how a popular
toxicity detection system's ratings inherently reflect only specific beliefs
and perspectives. Our findings call for contextualizing toxicity labels in
social variables, which raises immense implications for toxic language
annotation and detection. | http://arxiv.org/pdf/2111.07997 | [
"Maarten Sap",
"Swabha Swayamdipta",
"Laura Vianna",
"Xuhui Zhou",
"Yejin Choi",
"Noah A. Smith"
] | 128 |
arXiv:2006.07235v2 [cs.CL] 30 Sep 2020SemEval-2020 Task 12: Multilingual Offensive Language Ide ntification
in Social Media (Of | 2006.07235 | SemEval-2020 Task 12: Multilingual Offensive Language Identification in Social Media (OffensEval 2020) | We present the results and main findings of SemEval-2020 Task 12 on
Multilingual Offensive Language Identification in Social Media (OffensEval
2020). The task involves three subtasks corresponding to the hierarchical
taxonomy of the OLID schema (Zampieri et al., 2019a) from OffensEval 2019. The
task featured five languages: English, Arabic, Danish, Greek, and Turkish for
Subtask A. In addition, English also featured Subtasks B and C. OffensEval 2020
was one of the most popular tasks at SemEval-2020 attracting a large number of
participants across all subtasks and also across all languages. A total of 528
teams signed up to participate in the task, 145 teams submitted systems during
the evaluation period, and 70 submitted system description papers. | http://arxiv.org/pdf/2006.07235 | [
"Marcos Zampieri",
"Preslav Nakov",
"Sara Rosenthal",
"Pepa Atanasova",
"Georgi Karadzhov",
"Hamdy Mubarak",
"Leon Derczynski",
"Zeses Pitenis",
"Çağrı Çöltekin"
] | 128 |
MathQA: Towards Interpretable Math Word Problem Solving
with Operation-Based Formalisms
Aida Amini1, Saadia Gabriel1, Shanchuan | 1905.13319 | MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalisms | We introduce a large-scale dataset of math word problems and an interpretable
neural math problem solver that learns to map problems to operation programs.
Due to annotation challenges, current datasets in this domain have been either
relatively small in scale or did not offer precise operational annotations over
diverse problem types. We introduce a new representation language to model
precise operation programs corresponding to each math problem that aim to
improve both the performance and the interpretability of the learned models.
Using this representation language, our new dataset, MathQA, significantly
enhances the AQuA dataset with fully-specified operational programs. We
additionally introduce a neural sequence-to-program model enhanced with
automatic problem categorization. Our experiments show improvements over
competitive baselines in our MathQA as well as the AQuA dataset. The results
are still significantly lower than human performance indicating that the
dataset poses new challenges for future research. Our dataset is available at:
https://math-qa.github.io/math-QA/ | http://arxiv.org/pdf/1905.13319 | [
"Aida Amini",
"Saadia Gabriel",
"Peter Lin",
"Rik Koncel-Kedziorski",
"Yejin Choi",
"Hannaneh Hajishirzi"
] | 128 |
Automatic Detection of Machine Generated Text: A Critical Survey
Ganesh Jawahar, Muhammad Abdul-Mageed, Laks V .S. Lakshmanan
Un | 2011.01314 | Automatic Detection of Machine Generated Text: A Critical Survey | Text generative models (TGMs) excel in producing text that matches the style
of human language reasonably well. Such TGMs can be misused by adversaries,
e.g., by automatically generating fake news and fake product reviews that can
look authentic and fool humans. Detectors that can distinguish text generated
by TGM from human written text play a vital role in mitigating such misuse of
TGMs. Recently, there has been a flurry of works from both natural language
processing (NLP) and machine learning (ML) communities to build accurate
detectors for English. Despite the importance of this problem, there is
currently no work that surveys this fast-growing literature and introduces
newcomers to important research challenges. In this work, we fill this void by
providing a critical survey and review of this literature to facilitate a
comprehensive understanding of this problem. We conduct an in-depth error
analysis of the state-of-the-art detector and discuss research directions to
guide future work in this exciting area. | http://arxiv.org/pdf/2011.01314 | [
"Ganesh Jawahar",
"Muhammad Abdul-Mageed",
"Laks V. S. Lakshmanan"
] | 128 |
Know What You Don’t Know: Unanswerable Questions for SQuAD
Pranav RajpurkarRobin JiaPercy Liang
Computer Science Department, S | 1806.03822 | Know What You Don't Know: Unanswerable Questions for SQuAD | Extractive reading comprehension systems can often locate the correct answer
to a question in a context document, but they also tend to make unreliable
guesses on questions for which the correct answer is not stated in the context.
Existing datasets either focus exclusively on answerable questions, or use
automatically generated unanswerable questions that are easy to identify. To
address these weaknesses, we present SQuAD 2.0, the latest version of the
Stanford Question Answering Dataset (SQuAD). SQuAD 2.0 combines existing SQuAD
data with over 50,000 unanswerable questions written adversarially by
crowdworkers to look similar to answerable ones. To do well on SQuAD 2.0,
systems must not only answer questions when possible, but also determine when
no answer is supported by the paragraph and abstain from answering. SQuAD 2.0
is a challenging natural language understanding task for existing models: a
strong neural system that gets 86% F1 on SQuAD 1.1 achieves only 66% F1 on
SQuAD 2.0. | http://arxiv.org/pdf/1806.03822 | [
"Pranav Rajpurkar",
"Robin Jia",
"Percy Liang"
] | 128 |
Do Prompt-Based Models Really Understand
the Meaning of Their Prompts?
Albert Webson1,2and Ellie Pavlick1
{albert_webson, ellie_ | 2109.01247 | Do Prompt-Based Models Really Understand the Meaning of their Prompts? | Recently, a boom of papers has shown extraordinary progress in zero-shot and
few-shot learning with various prompt-based models. It is commonly argued that
prompts help models to learn faster in the same way that humans learn faster
when provided with task instructions expressed in natural language. In this
study, we experiment with over 30 prompt templates manually written for natural
language inference (NLI). We find that models learn just as fast with many
prompts that are intentionally irrelevant or even pathologically misleading as
they do with instructively "good" prompts. Further, such patterns hold even for
models as large as 175 billion parameters (Brown et al., 2020) as well as the
recently proposed instruction-tuned models which are trained on hundreds of
prompts (Sanh et al., 2022). That is, instruction-tuned models often produce
good predictions with irrelevant and misleading prompts even at zero shots. In
sum, notwithstanding prompt-based models' impressive improvement, we find
evidence of serious limitations that question the degree to which such
improvement is derived from models understanding task instructions in ways
analogous to humans' use of task instructions. | http://arxiv.org/pdf/2109.01247 | [
"Albert Webson",
"Ellie Pavlick"
] | 128 |
SCALING LAWS FOR GENERATIVE MIXED -MODAL
LANGUAGE MODELS
Armen Aghajanyany, Lili Yuy, Alexis Conneauy, Wei-Ning Hsuy
Karen Ham | 2301.03728 | Scaling Laws for Generative Mixed-Modal Language Models | Generative language models define distributions over sequences of tokens that
can represent essentially any combination of data modalities (e.g., any
permutation of image tokens from VQ-VAEs, speech tokens from HuBERT, BPE tokens
for language or code, and so on). To better understand the scaling properties
of such mixed-modal models, we conducted over 250 experiments using seven
different modalities and model sizes ranging from 8 million to 30 billion,
trained on 5-100 billion tokens. We report new mixed-modal scaling laws that
unify the contributions of individual modalities and the interactions between
them. Specifically, we explicitly model the optimal synergy and competition due
to data and model size as an additive term to previous uni-modal scaling laws.
We also find four empirical phenomena observed during the training, such as
emergent coordinate-ascent style training that naturally alternates between
modalities, guidelines for selecting critical hyper-parameters, and connections
between mixed-modal competition and training stability. Finally, we test our
scaling law by training a 30B speech-text model, which significantly
outperforms the corresponding unimodal models. Overall, our research provides
valuable insights into the design and training of mixed-modal generative
models, an important new class of unified models that have unique
distributional properties. | http://arxiv.org/pdf/2301.03728 | [
"Armen Aghajanyan",
"Lili Yu",
"Alexis Conneau",
"Wei-Ning Hsu",
"Karen Hambardzumyan",
"Susan Zhang",
"Stephen Roller",
"Naman Goyal",
"Omer Levy",
"Luke Zettlemoyer"
] | 128 |
Towards Understanding and Mitigating Social Biases in Language Models
Paul Pu Liang1Chiyu Wu1Louis-Philippe Morency1Ruslan Salak | 2106.13219 | Towards Understanding and Mitigating Social Biases in Language Models | As machine learning methods are deployed in real-world settings such as
healthcare, legal systems, and social science, it is crucial to recognize how
they shape social biases and stereotypes in these sensitive decision-making
processes. Among such real-world deployments are large-scale pretrained
language models (LMs) that can be potentially dangerous in manifesting
undesirable representational biases - harmful biases resulting from
stereotyping that propagate negative generalizations involving gender, race,
religion, and other social constructs. As a step towards improving the fairness
of LMs, we carefully define several sources of representational biases before
proposing new benchmarks and metrics to measure them. With these tools, we
propose steps towards mitigating social biases during text generation. Our
empirical results and human evaluation demonstrate effectiveness in mitigating
bias while retaining crucial contextual information for high-fidelity text
generation, thereby pushing forward the performance-fairness Pareto frontier. | http://arxiv.org/pdf/2106.13219 | [
"Paul Pu Liang",
"Chiyu Wu",
"Louis-Philippe Morency",
"Ruslan Salakhutdinov"
] | 128 |
LLaMA: Open and Efficient Foundation Language Models
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet
Marie-Anne | 2302.13971 | LLaMA: Open and Efficient Foundation Language Models | We introduce LLaMA, a collection of foundation language models ranging from
7B to 65B parameters. We train our models on trillions of tokens, and show that
it is possible to train state-of-the-art models using publicly available
datasets exclusively, without resorting to proprietary and inaccessible
datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks,
and LLaMA-65B is competitive with the best models, Chinchilla-70B and
PaLM-540B. We release all our models to the research community. | http://arxiv.org/pdf/2302.13971 | [
"Hugo Touvron",
"Thibaut Lavril",
"Gautier Izacard",
"Xavier Martinet",
"Marie-Anne Lachaux",
"Timothée Lacroix",
"Baptiste Rozière",
"Naman Goyal",
"Eric Hambro",
"Faisal Azhar",
"Aurelien Rodriguez",
"Armand Joulin",
"Edouard Grave",
"Guillaume Lample"
] | 128 |
Enhancing the Transformer With Explicit Relational
Encoding for Math Problem Solving
Imanol Schlag1, Paul Smolensky2;3, Roland | 1910.06611 | Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solving | We incorporate Tensor-Product Representations within the Transformer in order
to better support the explicit representation of relation structure. Our
Tensor-Product Transformer (TP-Transformer) sets a new state of the art on the
recently-introduced Mathematics Dataset containing 56 categories of free-form
math word-problems. The essential component of the model is a novel attention
mechanism, called TP-Attention, which explicitly encodes the relations between
each Transformer cell and the other cells from which values have been retrieved
by attention. TP-Attention goes beyond linear combination of retrieved values,
strengthening representation-building and resolving ambiguities introduced by
multiple layers of standard attention. The TP-Transformer's attention maps give
better insights into how it is capable of solving the Mathematics Dataset's
challenging problems. Pretrained models and code will be made available after
publication. | http://arxiv.org/pdf/1910.06611 | [
"Imanol Schlag",
"Paul Smolensky",
"Roland Fernandez",
"Nebojsa Jojic",
"Jürgen Schmidhuber",
"Jianfeng Gao"
] | 128 |
Continual Lifelong Learning with Neural Networks:
A Review
German I. Parisi1, Ronald Kemker2, Jose L. Part3, Christopher Kanan2, | 1802.07569 | Continual Lifelong Learning with Neural Networks: A Review | Humans and animals have the ability to continually acquire, fine-tune, and
transfer knowledge and skills throughout their lifespan. This ability, referred
to as lifelong learning, is mediated by a rich set of neurocognitive mechanisms
that together contribute to the development and specialization of our
sensorimotor skills as well as to long-term memory consolidation and retrieval.
Consequently, lifelong learning capabilities are crucial for autonomous agents
interacting in the real world and processing continuous streams of information.
However, lifelong learning remains a long-standing challenge for machine
learning and neural network models since the continual acquisition of
incrementally available information from non-stationary data distributions
generally leads to catastrophic forgetting or interference. This limitation
represents a major drawback for state-of-the-art deep neural network models
that typically learn representations from stationary batches of training data,
thus without accounting for situations in which information becomes
incrementally available over time. In this review, we critically summarize the
main challenges linked to lifelong learning for artificial learning systems and
compare existing neural network approaches that alleviate, to different
extents, catastrophic forgetting. We discuss well-established and emerging
research motivated by lifelong learning factors in biological systems such as
structural plasticity, memory replay, curriculum and transfer learning,
intrinsic motivation, and multisensory integration. | http://arxiv.org/pdf/1802.07569 | [
"German I. Parisi",
"Ronald Kemker",
"Jose L. Part",
"Christopher Kanan",
"Stefan Wermter"
] | 128 |
Detecting Emergent Intersectional Biases:
Contextualized Word Embeddings Contain a Distribution of Human-like Biases
Wei Guo1and | 2006.03955 | Detecting Emergent Intersectional Biases: Contextualized Word Embeddings Contain a Distribution of Human-like Biases | With the starting point that implicit human biases are reflected in the
statistical regularities of language, it is possible to measure biases in
English static word embeddings. State-of-the-art neural language models
generate dynamic word embeddings dependent on the context in which the word
appears. Current methods measure pre-defined social and intersectional biases
that appear in particular contexts defined by sentence templates. Dispensing
with templates, we introduce the Contextualized Embedding Association Test
(CEAT), that can summarize the magnitude of overall bias in neural language
models by incorporating a random-effects model. Experiments on social and
intersectional biases show that CEAT finds evidence of all tested biases and
provides comprehensive information on the variance of effect magnitudes of the
same bias in different contexts. All the models trained on English corpora that
we study contain biased representations.
Furthermore, we develop two methods, Intersectional Bias Detection (IBD) and
Emergent Intersectional Bias Detection (EIBD), to automatically identify the
intersectional biases and emergent intersectional biases from static word
embeddings in addition to measuring them in contextualized word embeddings. We
present the first algorithmic bias detection findings on how intersectional
group members are strongly associated with unique emergent biases that do not
overlap with the biases of their constituent minority identities. IBD and EIBD
achieve high accuracy when detecting the intersectional and emergent biases of
African American females and Mexican American females. Our results indicate
that biases at the intersection of race and gender associated with members of
multiple minority groups, such as African American females and Mexican American
females, have the highest magnitude across all neural language models. | http://arxiv.org/pdf/2006.03955 | [
"Wei Guo",
"Aylin Caliskan"
] | 128 |
Teaching Small Language Models to Reason
Lucie Charlotte Magister∗
University of Cambridge
[email protected] Mallinson
Goo | 2212.08410 | Teaching Small Language Models to Reason | Chain of thought prompting successfully improves the reasoning capabilities
of large language models, achieving state of the art results on a range of
datasets. However, these reasoning capabilities only appear to emerge in models
with a size of over 100 billion parameters. In this paper, we explore the
transfer of such reasoning capabilities to models with less than 100 billion
parameters via knowledge distillation. Specifically, we finetune a student
model on the chain of thought outputs generated by a larger teacher model. Our
experiments show that the proposed method improves task performance across
arithmetic, commonsense and symbolic reasoning datasets. For example, the
accuracy of T5 XXL on GSM8K improves from 8.11% to 21.99% when finetuned on
PaLM-540B generated chains of thought. | http://arxiv.org/pdf/2212.08410 | [
"Lucie Charlotte Magister",
"Jonathan Mallinson",
"Jakub Adamek",
"Eric Malmi",
"Aliaksei Severyn"
] | 128 |
COMMONSENSE QA: A Question Answering Challenge Targeting
Commonsense Knowledge
Alon Talmor;1;2Jonathan Herzig;1Nicholas Louri | 1811.00937 | CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledge | When answering a question, people often draw upon their rich world knowledge
in addition to the particular context. Recent work has focused primarily on
answering questions given some relevant document or context, and required very
little general background. To investigate question answering with prior
knowledge, we present CommonsenseQA: a challenging new dataset for commonsense
question answering. To capture common sense beyond associations, we extract
from ConceptNet (Speer et al., 2017) multiple target concepts that have the
same semantic relation to a single source concept. Crowd-workers are asked to
author multiple-choice questions that mention the source concept and
discriminate in turn between each of the target concepts. This encourages
workers to create questions with complex semantics that often require prior
knowledge. We create 12,247 questions through this procedure and demonstrate
the difficulty of our task with a large number of strong baselines. Our best
baseline is based on BERT-large (Devlin et al., 2018) and obtains 56% accuracy,
well below human performance, which is 89%. | http://arxiv.org/pdf/1811.00937 | [
"Alon Talmor",
"Jonathan Herzig",
"Nicholas Lourie",
"Jonathan Berant"
] | 128 |