Papers.
Research connected to its authors, projects, companies, talks, events, and the rest of the graph.
Add a paper ↗Scaling Laws for Autoregressive Generative Modeling
arXiv.org · arXiv 2010.14701 · 646 citations · Source: semantic-scholarWe identify empirical scaling laws for the cross-entropy loss in four domains: generative image modeling, video modeling, multimodal image$\leftrightarrow$text models, and mathematical problem solving. In all cases autoregressive Transformers smoothly improve in performance as model size and compute budgets increase, following a power-law plus constant scaling law. The optimal model size also depends on the compute budget through a power-law, with exponents that are nearly universal across all data domains. The cross-entropy loss has an information theoretic interpretation as $S($True$) + D_{\mathrm{KL}}($True$||$Model$)$, and the empirical scaling laws suggest a prediction for both the true data distribution's entropy and the KL divergence between the true and model distributions. With this interpretation, billion-parameter Transformers are nearly perfect models of the YFCC100M image distribution downsampled to an $8\times 8$ resolution, and we can forecast the model size needed to achieve any given reducible loss (ie $D_{\mathrm{KL}}$) in nats/image for other resolutions. We find a number of additional scaling laws in specific domains: (a) we identify a scaling relation for the mutual information between captions and images in multimodal models, and show how to answer the question "Is a picture worth a thousand words?"; (b) in the case of mathematical problem solving, we identify scaling laws for model performance when extrapolating beyond the training distribution; (c) we finetune generative image models for ImageNet classification and find smooth scaling of the classification loss and error rate, even as the generative loss levels off. Taken together, these results strengthen the case that scaling laws have important implications for neural network performance, including on downstream tasks.
Tom Brown, T. Henighan, J. Kaplan, Mor Katz, Mark Chen, Christopher Hesse, Jacob Jackson, Heewoo Jun · 19 authors totalExample-Driven Intent Prediction with Observers
CoRR · arXiv 2010.08684 · Source: dblp+first-party-homepageMihail Eric, Shikib Mehri, Dilek Hakkani-Tür · 3 authors totalAdaptive Dense-to-Sparse Paradigm for Pruning Online Recommendation System with Non-Stationary Data
arXiv · DOI 10.48550/arxiv.2010.08655 · arXiv 2010.08655 · 6 citations · Source: openalexLarge scale deep learning provides a tremendous opportunity to improve the quality of content recommendation systems by employing both wider and deeper models, but this comes at great infrastructural cost and carbon footprint in modern data centers. Pruning is an effective technique that reduces both memory and compute demand for model inference. However, pruning for online recommendation systems is challenging due to the continuous data distribution shift (a.k.a non-stationary data). Although incremental training on the full model is able to adapt to the non-stationary data, directly applying it on the pruned model leads to accuracy loss. This is because the sparsity pattern after pruning requires adjustment to learn new patterns. To the best of our knowledge, this is the first work to provide in-depth analysis and discussion of applying pruning to online recommendation systems with non-stationary data distribution. Overall, this work makes the following contributions: 1) We present an adaptive dense to sparse paradigm equipped with a novel pruning algorithm for pruning a large scale recommendation system with non-stationary data distribution; 2) We design the pruning algorithm to automatically learn the sparsity across layers to avoid repeating hand-tuning, which is critical for pruning the heterogeneous architectures of recommendation systems trained with non-stationary data.
Dhruv Choudhary, Mao Ye, Jiecao Yu, Ellie Wen, Zeliang Chen, Jiyan Yang, Jongsoo Park, Qiang Liu · 9 authors totalDialoGLUE: A Natural Language Understanding Benchmark for Task-Oriented Dialogue
CoRR · arXiv 2009.13570 · Source: dblp+first-party-homepageMihail Eric, Shikib Mehri, Dilek Hakkani-Tür · 3 authors totalVirtualFlow: Decoupling Deep Learning Models from the Underlying Hardware
Conference on Machine Learning and Systems · arXiv 2009.09523 · 13 citations · Source: semantic-scholarState-of-the-art deep learning systems such as TensorFlow and PyTorch tightly couple the model with the underlying hardware. This coupling requires the user to modify application logic in order to run the same job across a different set of resources, thereby limiting the choice of hardware for a given workload and potentially forcing the user to forgo more efficient hardware configurations. We propose VirtualFlow, a system leveraging a novel abstraction called virtual node processing to decouple the model from the hardware. In each step of training or inference, the batch of input data is split across virtual nodes instead of hardware accelerators (e.g. GPUs and TPUs). Mapping multiple virtual nodes to each accelerator and processing them sequentially effectively time slices the batch, thereby allowing users to reduce the memory requirement of their workloads and mimic large batch sizes on small clusters. Using this technique, VirtualFlow enables many new use cases, such as reproducing training results across different hardware, resource elasticity, and heterogeneous training. In our evaluation, our implementation of VirtualFlow for TensorFlow achieved strong convergence guarantees across different hardware with out-of-the-box hyperparameters, up to 48% lower job completion times with resource elasticity, and up to 42% higher throughput with heterogeneous training.
Andrew Or, Haoyu Zhang, M. Freedman · 3 authors totalSemantic Indexes for Machine Learning-based Queries over Unstructured Data
arXiv (Cornell University) · DOI 10.48550/arxiv.2009.04540 · 1 citations · Source: openalex+authoritative-profilePeter Bailis, Daniel Kang, John Guibas, Tatsunori Hashimoto, Matei Zaharia · 5 authors totalHeterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
USENIX Symposium on Operating Systems Design and Implementation · arXiv 2008.09213 · 316 citations · Source: semantic-scholarSpecialized accelerators such as GPUs, TPUs, FPGAs, and custom ASICs have been increasingly deployed to train deep learning models. These accelerators exhibit heterogeneous performance behavior across model architectures. Existing schedulers for clusters of accelerators, which are used to arbitrate these expensive training resources across many users, have shown how to optimize for various multi-job, multi-user objectives, like fairness and makespan. Unfortunately, existing schedulers largely do not consider performance heterogeneity. In this paper, we propose Gavel, a heterogeneity-aware scheduler that systematically generalizes a wide range of existing scheduling policies. Gavel expresses these policies as optimization problems, making it easy to optimize for objectives in a heterogeneity-aware way, while also being cognizant of performance optimizations like space sharing. Gavel then uses a round-based scheduling mechanism to ensure jobs receive their ideal allocation given the target scheduling policy. Gavel's heterogeneity-aware policies allow a heterogeneous cluster to sustain higher input load, and improve end objectives such as average job completion time and makespan by up to 3.5x compared to heterogeneity-agnostic policies.
Matei Zaharia, D. Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee, M. Zaharia · 6 authors totalRotation-Invariant Gait Identification with Quaternion Convolutional Neural Networks
arXiv (Cornell University) · DOI 10.48550/arxiv.2008.07393 · 0 citations · Source: openalex+orcid+dblp-identityJohn Whaley, Bowen Jing, Vinay Uday Prabhu, Angela Gu · 4 authors totalReliable Post hoc Explanations: Modeling Uncertainty in Explainability
Neural Information Processing Systems · arXiv 2008.05030 · 234 citations · Source: semantic-scholarAs black box explanations are increasingly being employed to establish model credibility in high-stakes settings, it is important to ensure that these explanations are accurate and reliable. However, prior work demonstrates that explanations generated by state-of-the-art techniques are inconsistent, unstable, and provide very little insight into their correctness and reliability. In addition, these methods are also computationally inefficient, and require significant hyper-parameter tuning. In this paper, we address the aforementioned challenges by developing a novel Bayesian framework for generating local explanations along with their associated uncertainty. We instantiate this framework to obtain Bayesian versions of LIME and KernelSHAP which output credible intervals for the feature importances, capturing the associated uncertainty. The resulting explanations not only enable us to make concrete inferences about their quality (e.g., there is a 95% chance that the feature importance lies within the given range), but are also highly consistent and stable. We carry out a detailed theoretical analysis that leverages the aforementioned uncertainty to estimate how many perturbations to sample, and how to sample for faster convergence. This work makes the first attempt at addressing several critical issues with popular explanation methods in one shot, thereby generating consistent, stable, and reliable explanations with guarantees in a computationally efficient manner. Experimental evaluation with multiple real world datasets and user studies demonstrate that the efficacy of the proposed framework.
Sameer Singh, Dylan Slack, Sophie Hilgard, Himabindu Lakkaraju · 4 authors totalBetter Fine-Tuning by Reducing Representational Collapse
ICLR 2021 · arXiv 2008.03156 · 240 citations · Source: semantic-scholarAlthough widely adopted, existing approaches for fine-tuning pre-trained language models have been shown to be unstable across hyper-parameter settings, motivating recent work on trust region methods. In this paper, we present a simplified and efficient method rooted in trust region theory that replaces previously used adversarial objectives with parametric noise (sampling from either a normal or uniform distribution), thereby discouraging representation change during fine-tuning when possible without hurting performance. We also introduce a new analysis to motivate the use of trust region methods more generally, by studying representational collapse; the degradation of generalizable representations from pre-trained models as they are fine-tuned for a specific end task. Extensive experiments show that our fine-tuning method matches or exceeds the performance of previous trust region methods on a range of understanding and generation tasks (including DailyMail/CNN, Gigaword, Reddit TIFU, and the GLUE benchmark), while also being much faster. We also show that it is less prone to representation collapse; the pre-trained models maintain more generalizable representations every time they are fine-tuned.
Sonal Gupta, Armen Aghajanyan, Akshat Shrivastava, Anchit Gupta, Naman Goyal, Luke Zettlemoyer, S. Gupta · 7 authors totalJointly Optimizing Preprocessing and Inference for DNN-based Visual Analytics
arXiv (Cornell University) · DOI 10.48550/arxiv.2007.13005 · 4 citations · Source: openalex+authoritative-profilePeter Bailis, Daniel Kang, Ankit Mathur, Teja Veeramacheneni, Matei Zaharia · 5 authors totalBacktesting the predictability of COVID-19
arXiv · DOI 10.48550/arXiv.2007.11411 · arXiv 2007.11411 · 7 citations · Source: openalex+arxivThe advent of the COVID-19 pandemic has instigated unprecedented changes in many countries around the globe, putting a significant burden on the health sectors, affecting the macro economic conditions, and altering social interactions amongst the population. In response, the academic community has produced multiple forecasting models, approaches and algorithms to best predict the different indicators of COVID-19, such as the number of confirmed infected cases. Yet, researchers had little to no historical information about the pandemic at their disposal in order to inform their forecasting methods. Our work studies the predictive performance of models at various stages of the pandemic to better understand their fundamental uncertainty and the impact of data availability on such forecasts. We use historical data of COVID-19 infections from 253 regions from the period of 22nd January 2020 until 22nd June 2020 to predict, through a rolling window backtesting framework, the cumulative number of infected cases for the next 7 and 28 days. We implement three simple models to track the root mean squared logarithmic error in this 6-month span, a baseline model that always predicts the last known value of the cumulative confirmed cases, a power growth model and an epidemiological model called SEIRD. Prediction errors are substantially higher in early stages of the pandemic, resulting from limited data. Throughout the course of the pandemic, errors regress slowly, but steadily. The more confirmed cases a country exhibits at any point in time, the lower the error in forecasting future confirmed cases. We emphasize the significance of having a rigorous backtesting framework to accurately assess the predictive power of such models at any point in time during the outbreak which in turn can be used to assign the right level of certainty to these forecasts and facilitate better planning.
SriSatish Ambati, Dmitry Gordeev, Philipp Singer, Marios Michailidis, Mathias Muller · 5 authors totalIBM Federated Learning: an Enterprise Framework White Paper V0.1
arXiv.org · arXiv 2007.10987 · 200 citations · Source: semantic-scholar+arxivFederated Learning (FL) is an approach to conduct machine learning without centralizing training data in a single place, for reasons of privacy, confidentiality or data volume. However, solving federated machine learning problems raises issues above and beyond those of centralized machine learning. These issues include setting up communication infrastructure between parties, coordinating the learning process, integrating party results, understanding the characteristics of the training data sets of different participating parties, handling data heterogeneity, and operating with the absence of a verification data set. IBM Federated Learning provides infrastructure and coordination for federated learning. Data scientists can design and run federated learning jobs based on existing, centralized machine learning models and can provide high-level instructions on how to run the federation. The framework applies to both Deep Neural Networks as well as ``traditional'' approaches for the most common machine learning libraries. {\proj} enables data scientists to expand their scope from centralized to federated machine learning, minimizing the learning curve at the outset while also providing the flexibility to deploy to different compute environments and design custom fusion algorithms.
Nathalie Baracaldo, Heiko Ludwig, Gegi Thomas, Yi Zhou, Ali Anwar, Shashank Rajamoni, Yuya Jeremy Ong, Jayaram Radhakrishnan · 24 authors totalHack.VR: A Programming Game in Virtual Reality
arXiv · DOI 10.48550/arxiv.2007.04495 · arXiv 2007.04495 · 3 citations · Source: openalexIn this article we describe Hack.VR, an object-oriented programming game in virtual reality. Hack.VR uses a VR programming language in which nodes represent functions and node connections represent data flow. Using this programming framework, players reprogram VR objects such as elevators, robots, and switches. Hack.VR has been designed to be highly interactable both physically and semantically.
Dmitri Gusev, Dominic Kao, Christos Mousas, Alejandra J. Magana, D. Fox Harrell, Rabindra Ratan, Edward F. Melcer, Brett Sherrick · 9 authors totalAdaptive Braking for Mitigating Gradient Delay
Beyond First Order Methods in ML Systems workshop @ ICML 2020 · arXiv 2007.01397 · 5 citations · Source: arxivNeural network training is commonly accelerated by using multiple synchronized workers to compute gradient updates in parallel. Asynchronous methods remove synchronization overheads and improve hardware utilization at the cost of introducing gradient delay, which impedes optimization and can lead to lower final model performance. We introduce Adaptive Braking (AB), a modification for momentum-based optimizers that mitigates the effects of gradient delay. AB dynamically scales the gradient based on the alignment of the gradient and the velocity. This can dampen oscillations along high curvature directions of the loss surface, stabilizing and accelerating asynchronous training. We show that applying AB on top of SGD with momentum enables training ResNets on CIFAR-10 and ImageNet-1k with delays $D \geq$ 32 update steps with minimal drop in final test accuracy.
Abhi Venigalla, Abhinav Venigalla, Atli Kosson, Vitaliy Chiley, Urs Koster · 5 authors totalMeasuring Robustness to Natural Distribution Shifts in Image Classification
Neural Information Processing Systems · arXiv 2007.00644 · 714 citations · Source: semantic-scholarWe study how robust current ImageNet models are to distribution shifts arising from natural variations in datasets. Most research on robustness focuses on synthetic image perturbations (noise, simulated weather artifacts, adversarial examples, etc.), which leaves open how robustness on synthetic distribution shift relates to distribution shift arising in real data. Informed by an evaluation of 204 ImageNet models in 213 different test conditions, we find that there is often little to no transfer of robustness from current synthetic to natural distribution shift. Moreover, most current techniques provide no robustness to the natural distribution shifts in our testbed. The main exception is training on larger and more diverse datasets, which in multiple cases increases robustness, but is still far from closing the performance gaps. Our results indicate that distribution shifts arising in real data are currently an open research problem. We provide our testbed and data as a resource for future work at this https URL .
Vaishaal Shankar, Rohan Taori, Achal Dave, Nicholas Carlini, B. Recht, Ludwig Schmidt · 6 authors totalSimilarity Search for Efficient Active Learning and Search of Rare Concepts
arXiv (Cornell University) · DOI 10.48550/arxiv.2007.00077 · 2 citations · Source: openalex+authoritative-profilePeter Bailis, Cody Coleman, Edward Chou, Julian Katz-Samuels, Sean Chang Culatana, Alexander C. Berg, Robert D. Nowak, Roshan Sumbaly · 10 authors totalOn the Generalization Benefit of Noise in Stochastic Gradient Descent
ICML · arXiv 2006.15081 · 129 citations · Source: arxiv+semantic-scholarIt has long been argued that minibatch stochastic gradient descent can generalize better than large batch gradient descent in deep neural networks. However recent papers have questioned this claim, arguing that this effect is simply a consequence of suboptimal hyperparameter tuning or insufficient compute budgets when the batch size is large. In this paper, we perform carefully designed experiments and rigorous hyperparameter sweeps on a range of popular models, which verify that small or moderately large batch sizes can substantially outperform very large batches on the test set. This occurs even when both models are trained for the same number of iterations and large batches achieve smaller training losses. Our results confirm that the noise in stochastic gradients can enhance generalization. We study how the optimal learning rate schedule changes as the epoch budget grows, and we provide a theoretical account of our observations based on the stochastic differential equation perspective of SGD dynamics.
Erich Elsen, Samuel L. Smith, Soham De · 3 authors totalPrecise expressions for random projections: Low-rank approximation and randomized Newton
NeurIPS 2020 (Advances in Neural Information Processing Systems 33) · DOI 10.48550/arXiv.2006.10653 · arXiv 2006.10653 · 26 citations · Source: semanticscholar+arxivThe authors develop techniques that provide precise expressions for the expected value of random projection matrices obtained via sketching, giving asymptotically exact analyses of low-rank approximation and of the randomized Newton method, and connecting sketching to determinantal point processes and to the surrogate design framework.
Feynman Liang, Michał Dereziński, Zhenyu Liao, Michael W. Mahoney · 4 authors totalMemory-Efficient Pipeline-Parallel DNN Training
International Conference on Machine Learning · arXiv 2006.09503 · 304 citations · Source: semantic-scholarMany state-of-the-art results in domains such as NLP and computer vision have been obtained by scaling up the number of parameters in existing models. However, the weight parameters and intermediate outputs of these large models often do not fit in the main memory of a single accelerator device; this means that it is necessary to use multiple accelerators to train large models, which is challenging to do in a time-efficient way. In this work, we propose PipeDream-2BW, a system that performs memory-efficient pipeline parallelism, a hybrid form of parallelism that combines data and model parallelism with input pipelining. Our system uses a novel pipelining and weight gradient coalescing strategy, combined with the double buffering of weights, to ensure high throughput, low memory footprint, and weight update semantics similar to data parallelism. In addition, PipeDream-2BW automatically partitions the model over the available hardware resources, while being cognizant of constraints such as compute capabilities, memory capacities, and interconnect topologies, and determines when to employ existing memory-savings techniques, such as activation recomputation, that trade off extra computation for lower memory footprint. PipeDream-2BW is able to accelerate the training of large language models with up to 2.5 billion parameters by up to 6.9x compared to optimized baselines.
Matei Zaharia, D. Narayanan, Amar Phanishayee, Kaiyu Shi, Xie Chen, M. Zaharia · 6 authors totalAlgebraNets
arXiv · arXiv 2006.07360 · 7 citations · Source: arxiv+semantic-scholarNeural networks have historically been built layerwise from the set of functions in ${f: \mathbb{R}^n \to \mathbb{R}^m }$, i.e. with activations and weights/parameters represented by real numbers, $\mathbb{R}$. Our work considers a richer set of objects for activations and weights, and undertakes a comprehensive study of alternative algebras as number representations by studying their performance on two challenging problems: large-scale image classification using the ImageNet dataset and language modeling using the enwiki8 and WikiText-103 datasets. We denote this broader class of models as AlgebraNets. Our findings indicate that the conclusions of prior work, which explored neural networks constructed from $\mathbb{C}$ (complex numbers) and $\mathbb{H}$ (quaternions) on smaller datasets, do not always transfer to these challenging settings. However, our results demonstrate that there are alternative algebras which deliver better parameter and computational efficiency compared with $\mathbb{R}$. We consider $\mathbb{C}$, $\mathbb{H}$, $M_{2}(\mathbb{R})$ (the set of $2\times2$ real-valued matrices), $M_{2}(\mathbb{C})$, $M_{3}(\mathbb{R})$ and $M_{4}(\mathbb{R})$. Additionally, we note that multiplication in these algebras has higher compute density than real multiplication, a useful property in situations with inherently limited parameter reuse such as auto-regressive inference and sparse neural networks. We therefore investigate how to induce sparsity within AlgebraNets. We hope that our strong results on large-scale, practical benchmarks will spur further exploration of these unconventional architectures which challenge the default choice of using real numbers for neural network weights and activations.
Erich Elsen, Jordan Hoffmann, Simon Schmitt, Simon Osindero, Karen Simonyan · 5 authors totalA Practical Sparse Approximation for Real Time Recurrent Learning
arXiv · arXiv 2006.07232 · 37 citations · Source: arxiv+semantic-scholarCurrent methods for training recurrent neural networks are based on backpropagation through time, which requires storing a complete history of network states, and prohibits updating the weights `online' (after every timestep). Real Time Recurrent Learning (RTRL) eliminates the need for history storage and allows for online weight updates, but does so at the expense of computational costs that are quartic in the state size. This renders RTRL training intractable for all but the smallest networks, even ones that are made highly sparse. We introduce the Sparse n-step Approximation (SnAp) to the RTRL influence matrix, which only keeps entries that are nonzero within n steps of the recurrent core. SnAp with n=1 is no more expensive than backpropagation, and we find that it substantially outperforms other RTRL approximations with comparable costs such as Unbiased Online Recurrent Optimization. For highly sparse networks, SnAp with n=2 remains tractable and can outperform backpropagation through time in terms of learning speed when updates are done online. SnAp becomes equivalent to RTRL when n is large.
Erich Elsen, Jacob Menick, Utku Evci, Simon Osindero, Karen Simonyan, Alex Graves · 6 authors totalThird DIHARD Challenge Evaluation Plan
arXiv (Cornell University) · DOI 10.48550/arxiv.2006.05815 · 13 citations · Source: openalex+first-party-career-authorityMark Liberman, Neville Ryant, Kenneth Church, Christopher Cieri, Jun Du, Sriram Ganapathy · 6 authors totalChromatic Learning for Sparse Datasets
arXiv (Cornell University) · DOI 10.48550/arxiv.2006.03779 · 0 citations · Source: openalex+authoritative-profilePeter Bailis, Vladimir Feinberg · 2 authors totalEnd-to-End Adversarial Text-to-Speech
ICLR · arXiv 2006.03575 · 197 citations · Source: arxiv+semantic-scholarModern text-to-speech synthesis pipelines typically involve multiple processing stages, each of which is designed or learnt independently from the rest. In this work, we take on the challenging task of learning to synthesise speech from normalised text or phonemes in an end-to-end manner, resulting in models which operate directly on character or phoneme input sequences and produce raw speech audio outputs. Our proposed generator is feed-forward and thus efficient for both training and inference, using a differentiable alignment scheme based on token length prediction. It learns to produce high fidelity audio through a combination of adversarial feedback and prediction losses constraining the generated audio to roughly match the ground truth in terms of its total duration and mel-spectrogram. To allow the model to capture temporal variation in the generated audio, we employ soft dynamic time warping in the spectrogram-based prediction loss. The resulting model achieves a mean opinion score exceeding 4 on a 5 point scale, which is comparable to the state-of-the-art models relying on multi-stage training and additional supervision.
Erich Elsen, Jeff Donahue, Sander Dieleman, Mikołaj Bińkowski, Karen Simonyan · 5 authors totalBeyond Domain APIs: Task-oriented Conversational Modeling with Unstructured Knowledge Access
CoRR · arXiv 2006.03533 · Source: dblp+first-party-homepageMihail Eric, Seokhwan Kim, Karthik Gopalakrishnan, Behnam Hedayatnia, Yang Liu, Dilek Hakkani-Tür · 6 authors totalImage Augmentations for GAN Training
arXiv.org · arXiv 2006.02595 · 149 citations · Source: semantic-scholarData augmentations have been widely studied to improve the accuracy and robustness of classifiers. However, the potential of image augmentation in improving GAN models for image synthesis has not been thoroughly investigated in previous studies. In this work, we systematically study the effectiveness of various existing augmentation techniques for GAN training in a variety of settings. We provide insights and guidelines on how to augment images for both vanilla GANs and GANs with regularizations, improving the fidelity of the generated images substantially. Surprisingly, we find that vanilla GANs attain generation quality on par with recent state-of-the-art results if we use augmentations on both real and generated images. When this GAN training is combined with other augmentation-based regularization techniques, such as contrastive loss and consistency regularization, the augmentations further improve the quality of generated images. We provide new state-of-the-art results for conditional generation on CIFAR-10 with both consistency loss and contrastive loss as additional regularizations.
Sameer Singh, Zhengli Zhao, Zizhao Zhang, Ting Chen, Han Zhang · 5 authors totalLanguage Models are Few-Shot Learners
Neural Information Processing Systems · arXiv 2005.14165 · 62,287 citations · Source: semantic-scholarRecent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task. While typically task-agnostic in architecture, this method still requires task-specific fine-tuning datasets of thousands or tens of thousands of examples. By contrast, humans can generally perform a new language task from only a few examples or from simple instructions - something which current NLP systems still largely struggle to do. Here we show that scaling up language models greatly improves task-agnostic, few-shot performance, sometimes even reaching competitiveness with prior state-of-the-art fine-tuning approaches. Specifically, we train GPT-3, an autoregressive language model with 175 billion parameters, 10x more than any previous non-sparse language model, and test its performance in the few-shot setting. For all tasks, GPT-3 is applied without any gradient updates or fine-tuning, with tasks and few-shot demonstrations specified purely via text interaction with the model. GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic. At the same time, we also identify some datasets where GPT-3's few-shot learning still struggles, as well as some datasets where GPT-3 faces methodological issues related to training on large web corpora. Finally, we find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans. We discuss broader societal impacts of this finding and of GPT-3 in general.
Tom Brown, Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, J. Kaplan, Prafulla Dhariwal, Arvind Neelakantan · 31 authors totalPolicy-Driven Neural Response Generation for Knowledge-Grounded Dialogue Systems
CoRR · arXiv 2005.12529 · Source: dblp+first-party-homepageMihail Eric, Behnam Hedayatnia, Seokhwan Kim, Yang Liu, Karthik Gopalakrishnan, Dilek Hakkani-Tür · 6 authors totalPrototypical Contrastive Learning of Unsupervised Representations
International Conference on Learning Representations · arXiv 2005.04966 · 1,215 citations · Source: semantic-scholarThis paper presents Prototypical Contrastive Learning (PCL), an unsupervised representation learning method that addresses the fundamental limitations of instance-wise contrastive learning. PCL not only learns low-level features for the task of instance discrimination, but more importantly, it implicitly encodes semantic structures of the data into the learned embedding space. Specifically, we introduce prototypes as latent variables to help find the maximum-likelihood estimation of the network parameters in an Expectation-Maximization framework. We iteratively perform E-step as finding the distribution of prototypes via clustering and M-step as optimizing the network via contrastive learning. We propose ProtoNCE loss, a generalized version of the InfoNCE loss for contrastive learning, which encourages representations to be closer to their assigned prototypes. PCL achieves state-of-the-art results on multiple unsupervised representation learning benchmarks, with >10% accuracy improvement in low-resource transfer tasks. Code is available at this https URL.
Richard Socher, Junnan Li, Pan Zhou, Caiming Xiong, R. Socher, S. Hoi · 6 authors totalMeasuring the Algorithmic Efficiency of Neural Networks
arXiv.org · arXiv 2005.04305 · 118 citations · Source: semantic-scholarThree factors drive the advance of AI: algorithmic innovation, data, and the amount of compute available for training. Algorithmic progress has traditionally been more difficult to quantify than compute and data. In this work, we argue that algorithmic progress has an aspect that is both straightforward to measure and interesting: reductions over time in the compute needed to reach past capabilities. We show that the number of floating-point operations required to train a classifier to AlexNet-level performance on ImageNet has decreased by a factor of 44x between 2012 and 2019. This corresponds to algorithmic efficiency doubling every 16 months over a period of 7 years. By contrast, Moore's Law would only have yielded an 11x cost improvement. We observe that hardware and algorithmic efficiency gains multiply and can be on a similar scale over meaningful horizons, which suggests that a good model of AI progress should integrate measures from both.
Tom Brown, Danny Hernandez, Tom B. Brown · 3 authors totalShape of synth to come: Why we should use synthetic data for English surface realization
CoRR · arXiv 2005.02693 · Source: dblp+adapt-autodesk-authorityAlex O'Connor, Henry Elder, Robert Burke, Alexander O'Connor, Jennifer Foster · 5 authors totalA Simple Language Model for Task-Oriented Dialogue
Neural Information Processing Systems · arXiv 2005.00796 · 586 citations · Source: semantic-scholarTask-oriented dialogue is often decomposed into three tasks: understanding user input, deciding actions, and generating a response. While such decomposition might suggest a dedicated model for each sub-task, we find a simple, unified approach leads to state-of-the-art performance on the MultiWOZ dataset. SimpleTOD is a simple approach to task-oriented dialogue that uses a single causal language model trained on all sub-tasks recast as a single sequence prediction problem. This allows SimpleTOD to fully leverage transfer learning from pre-trained, open domain, causal language models such as GPT-2. SimpleTOD improves over the prior state-of-the-art by 0.49 points in joint goal accuracy for dialogue state tracking. More impressively, SimpleTOD also improves the main metrics used to evaluate action decisions and response generation in an end-to-end setting for task-oriented dialog systems: inform rate by 8.1 points, success rate by 9.7 points, and combined score by 7.2 points.
Richard Socher, Ehsan Hosseini-Asl, Bryan McCann, Chien-Sheng Wu, Semih Yavuz, R. Socher · 6 authors totalXChange: A Blockchain-based Mechanism for Generic Asset Trading In Resource-constrained Environments
arXiv (Cornell University) · DOI 10.48550/arxiv.2004.05046 · 2 citations · Source: openalex+orcid+dblp-identityJohan Pouwelse, Martijn de Vos, Can Umut Ileri · 3 authors totalApproximate Selection with Guarantees using Proxies
arXiv (Cornell University) · DOI 10.48550/arxiv.2004.00827 · 3 citations · Source: openalex+authoritative-profilePeter Bailis, Daniel Kang, Edward Gan, Tatsunori Hashimoto, Matei Zaharia · 5 authors totalNeural Kernels Without Tangents
International Conference on Machine Learning · arXiv 2003.02237 · 92 citations · Source: semantic-scholarWe investigate the connections between neural networks and simple building blocks in kernel space. In particular, using well established feature space tools such as direct sum, averaging, and moment lifting, we present an algebra for creating "compositional" kernels from bags of features. We show that these operations correspond to many of the building blocks of "neural tangent kernels (NTK)". Experimentally, we show that there is a correlation in test error between neural network architectures and the associated kernels. We construct a simple neural network architecture using only 3x3 convolutions, 2x2 average pooling, ReLU, and optimized with SGD and MSE loss that achieves 96% accuracy on CIFAR10, and whose corresponding compositional kernel achieves 90% accuracy. We also use our constructions to investigate the relative performance of neural networks, NTKs, and compositional kernels in the small dataset regime. In particular, we find that compositional kernels outperform NTKs and neural networks outperform both kernel methods.
Vaishaal Shankar, Alex Fang, Wenshuo Guo, Sara Fridovich-Keil, Ludwig Schmidt, Jonathan Ragan-Kelley, B. Recht · 7 authors totalModel Assertions for Monitoring and Improving ML Models
arXiv (Cornell University) · DOI 10.48550/arxiv.2003.01668 · 17 citations · Source: openalex+authoritative-profilePeter Bailis, Daniel Kang, Deepti Raghavan, Matei Zaharia · 4 authors totalTrain Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers
arXiv.org · arXiv 2002.11794 · 158 citations · Source: arxiv+semantic-scholarSince hardware resources are limited, the objective of training deep learning models is typically to maximize accuracy subject to the time and memory constraints of training and inference. We study the impact of model size in this setting, focusing on Transformer models for NLP tasks that are limited by compute: self-supervised pretraining and high-resource machine translation. We first show that even though smaller Transformer models execute faster per iteration, wider and deeper models converge in significantly fewer steps. Moreover, this acceleration in convergence typically outpaces the additional computational overhead of using larger models. Therefore, the most compute-efficient training strategy is to counterintuitively train extremely large models but stop after a small number of iterations. This leads to an apparent trade-off between the training efficiency of large Transformer models and the inference efficiency of small Transformer models. However, we show that large models are more robust to compression techniques such as quantization and pruning than small models. Consequently, one can get the best of both worlds: heavily compressed, large models achieve higher accuracy than lightly compressed, small models.
Zhuohan Li, Eric Wallace, Sheng Shen, Kevin Lin, K. Keutzer, D. Klein, Joseph E. Gonzalez · 7 authors totalDivideMix: Learning with Noisy Labels as Semi-supervised Learning
International Conference on Learning Representations · arXiv 2002.07394 · 1,412 citations · Source: semantic-scholarDeep neural networks are known to be annotation-hungry. Numerous efforts have been devoted to reducing the annotation cost when learning with deep networks. Two prominent directions include learning with noisy labels and semi-supervised learning by exploiting unlabeled data. In this work, we propose DivideMix, a novel framework for learning with noisy labels by leveraging semi-supervised learning techniques. In particular, DivideMix models the per-sample loss distribution with a mixture model to dynamically divide the training data into a labeled set with clean samples and an unlabeled set with noisy samples, and trains the model on both the labeled and unlabeled data in a semi-supervised manner. To avoid confirmation bias, we simultaneously train two diverged networks where each network uses the dataset division from the other network. During the semi-supervised training phase, we improve the MixMatch strategy by performing label co-refinement and label co-guessing on labeled and unlabeled samples, respectively. Experiments on multiple benchmark datasets demonstrate substantial improvements over state-of-the-art methods. Code is available at this https URL .
Richard Socher, Junnan Li, R. Socher, S. Hoi · 4 authors totalStoryboard: Optimizing Precomputed Summaries for Aggregation
arXiv (Cornell University) · DOI 10.48550/arxiv.2002.03063 · 0 citations · Source: openalex+authoritative-profilePeter Bailis, Edward Gan, Moses Charikar · 3 authors totalScaling Laws for Neural Language Models
arXiv.org · arXiv 2001.08361 · 8,798 citations · Source: semantic-scholarWe study empirical scaling laws for language model performance on the cross-entropy loss. The loss scales as a power-law with model size, dataset size, and the amount of compute used for training, with some trends spanning more than seven orders of magnitude. Other architectural details such as network width or depth have minimal effects within a wide range. Simple equations govern the dependence of overfitting on model/dataset size and the dependence of training speed on model size. These relationships allow us to determine the optimal allocation of a fixed compute budget. Larger models are significantly more sample-efficient, such that optimally compute-efficient training involves training very large models on a relatively modest amount of data and stopping significantly before convergence.
Tom Brown, J. Kaplan, Sam McCandlish, T. Henighan, Tom B. Brown, Benjamin Chess, R. Child, Scott Gray · 10 authors totalServerless Straggler Mitigation using Local Error-Correcting Codes
arXiv.org · arXiv 2001.07490 · 10 citations · Source: semantic-scholarInexpensive cloud services, such as serverless computing, are often vulnerable to straggling nodes that increase end-to-end latency for distributed computation. We propose and implement simple yet principled approaches for straggler mitigation in serverless systems for matrix multiplication and evaluate them on several common applications from machine learning and high-performance computing. The proposed schemes are inspired by error-correcting codes and employ parallel encoding and decoding over the data stored in the cloud using serverless workers. This creates a fully distributed computing framework without using a master node to conduct encoding or decoding, which removes the computation, communication and storage bottleneck at the master. On the theory side, we establish that our proposed scheme is asymptotically optimal in terms of decoding time and provide a lower bound on the number of stragglers it can tolerate with high probability. Through extensive experiments, we show that our scheme outperforms existing schemes such as speculative execution and other coding theoretic methods by at least 25%.
Vaishaal Shankar, Vipul Gupta, Dominic Carrano, Yaoqing Yang, T. Courtade, K. Ramchandran · 6 authors totalPlato Dialogue System: A Flexible Conversational AI Research Platform
arXiv · DOI 10.48550/arxiv.2001.06463 · arXiv 2001.06463 · 15 citations · Source: openalexAs the field of Spoken Dialogue Systems and Conversational AI grows, so does the need for tools and environments that abstract away implementation details in order to expedite the development process, lower the barrier of entry to the field, and offer a common test-bed for new ideas. In this paper, we present Plato, a flexible Conversational AI platform written in Python that supports any kind of conversational agent architecture, from standard architectures to architectures with jointly-trained components, single- or multi-party interactions, and offline or online training of any conversational agent component. Plato has been designed to be easy to understand and debug and is agnostic to the underlying learning frameworks that train each component.
Piero Molino, Alexandros Papangelis, Mahdi Namazifar, Chandra Khatri, Yi‐Chia Wang, Gökhan Tür · 6 authors totalZero-Shot Reinforcement Learning with Deep Attention Convolutional Neural Networks
arXiv.org · arXiv 2001.00605 · 7 citations · Source: semantic-scholarSimulation-to-simulation and simulation-to-real world transfer of neural network models have been a difficult problem. To close the reality gap, prior methods to simulation-to-real world transfer focused on domain adaptation, decoupling perception and dynamics and solving each problem separately, and randomization of agent parameters and environment conditions to expose the learning agent to a variety of conditions. While these methods provide acceptable performance, the computational complexity required to capture a large variation of parameters for comprehensive scenarios on a given task such as autonomous driving or robotic manipulation is high. Our key contribution is to theoretically prove and empirically demonstrate that a deep attention convolutional neural network (DACNN) with specific visual sensor configuration performs as well as training on a dataset with high domain and parameter variation at lower computational complexity. Specifically, the attention network weights are learned through policy optimization to focus on local dependencies that lead to optimal actions, and does not require tuning in real-world for generalization. Our new architecture adapts perception with respect to the control objective, resulting in zero-shot learning without pre-training a perception network. To measure the impact of our new deep network architecture on domain adaptation, we consider autonomous driving as a use case. We perform an extensive set of experiments in simulation-to-simulation and simulation-to-real scenarios to compare our approach to several baselines including the current state-of-art models.
Sunil Mallya, Sahika Genc, S. Mallya, S. Bodapati, Tao Sun, Yunzhe Tao · 6 authors totalExact expressions for double descent and implicit regularization via surrogate random design
NeurIPS 2020 (Advances in Neural Information Processing Systems 33) · DOI 10.48550/arXiv.1912.04533 · arXiv 1912.04533 · 79 citations · Source: semanticscholar+arxivDouble descent refers to the phase transition that is exhibited by the generalization error of unregularized learning models when varying the ratio between the number of parameters and the number of training samples. The authors provide the first exact non-asymptotic expressions for double descent of the minimum norm linear estimator, using a novel notion of surrogate random design that gives exact expressions for the mean squared error.
Feynman Liang, Michał Dereziński, Michael W. Mahoney · 3 authors totalBayesian experimental design using regularized determinantal point processes
AISTATS 2020 · DOI 10.48550/arXiv.1906.04133 · arXiv 1906.04133 · 29 citations · Source: semanticscholar+arxivThe authors establish a fundamental connection between Bayesian experimental design and determinantal point processes, showing that a regularized DPP produces an unbiased estimator whose expected value under several classical optimality criteria (A-, C-, D-, V-optimality) can be characterized exactly, and give efficient algorithms based on this connection.
Feynman Liang, Michał Dereziński, Michael W. Mahoney · 3 authors total