← Search

Dara Bahri

21 accepted papers

2024

A Universal Class of Sharpness-Aware Minimization Algorithms

ICML 2024poster

Recently, there has been a surge in interest in developing optimization algorithms for overparameterized models as achieving generalization is believed to require algorithms with suitable biases. This interest centers on minimizing sharpness of the original loss function; the Sharpness-Aware Minimiz…

2023

Sharpness-Aware Minimization Leads to Low-Rank Features

NeurIPS 2023poster

Sharpness-aware minimization (SAM) is a recently proposed method that minimizes the sharpness of the training loss of a neural network. While its generalization improvement is well-known and is the primary motivation, we uncover an additional intriguing effect of SAM: reduction of the feature rank w…

2023

UL2: Unifying Language Learning Paradigms

ICLR 2023poster

Existing pre-trained models are generally geared towards a particular class of problems. To date, there seems to be still no consensus on what the right architecture and pre-training setup should be. This paper presents a unified framework for pre-training models that are universally effective acros…

2022

Charformer: Fast Character Transformers via Gradient-based Subword Tokenization

ICLR 2022poster

State-of-the-art models in natural language processing rely on separate rigid subword tokenization algorithms, which limit their generalization ability and adaptation to new settings. In this paper, we propose a new model inductive bias that learns a subword tokenization end-to-end as part of the mo…

2022

Churn Reduction via Distillation

ICLR 2022spotlight

In real-world systems, models are frequently updated as more data becomes available, and in addition to achieving high accuracy, the goal is to also maintain a low difference in predictions compared to the base model (i.e. predictive churn). If model retraining results in vastly different behavior,…

Cited by 25SourcePDFScholar
2022

Confident Adaptive Language Modeling

NeurIPS 2022accept

Recent advances in Transformer-based large language models (LLMs) have led to significant performance improvements across many tasks. These gains come with a drastic increase in the models' size, potentially leading to slow and costly use at inference time. In practice, however, the series of genera…

Cited by 227SourcePDFScholar
2022

ED2LM: Encoder-Decoder to Language Model for Faster Document Re-ranking Inference

ACL 2022findings

State-of-the-art neural models typically encode document-query pairs using cross-attention for re-ranking. To this end, models generally utilize an encoder-only (like BERT) paradigm or an encoder-decoder (like T5) approach. These paradigms, however, are not without flaws, i.e., running the model on…

Cited by 15SourcePDFScholar
2022

ExT5: Towards Extreme Multi-Task Scaling for Transfer Learning

ICLR 2022poster

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 collectio…

Cited by 222SourcePDFScholar
2022

Scarf: Self-Supervised Contrastive Learning using Random Feature Corruption

ICLR 2022spotlight

Self-supervised contrastive representation learning has proved incredibly successful in the vision and natural language domains, enabling state-of-the-art performance with orders of magnitude less labeled data. However, such methods are domain-specific and little has been done to leverage this techn…

Cited by 215SourcePDFScholar
2022

Transformer Memory as a Differentiable Search Index

NeurIPS 2022accept

In this paper, we demonstrate that information retrieval can be accomplished with a single Transformer, in which all information about the corpus is encoded in the parameters of the model. To this end, we introduce the Differentiable Search Index (DSI), a new paradigm that learns a text-to-text mode…

Cited by 299SourcePDFScholar
2021

Are Pretrained Convolutions Better than Pretrained Transformers?

ACL 2021long

In the era of pre-trained language models, Transformers are the de facto choice of model architectures. While recent research has shown promise in entirely convolutional, or CNN, architectures, they have not been explored using the pre-train-fine-tune paradigm. In the context of language models, are…

2021

HyperGrid Transformers: Towards A Single Model for Multiple Tasks

ICLR 2021poster

Achieving state-of-the-art performance on natural language understanding tasks typically relies on fine-tuning a fresh model for every task. Consequently, this approach leads to a higher overall parameter cost, along with higher technical maintenance for serving multiple models. Learning a single mu…

Cited by 49SourcePDFScholar
2021

Long Range Arena : A Benchmark for Efficient Transformers

ICLR 2021poster

Transformers do not scale very well to long sequence lengths largely because of quadratic self-attention complexity. In the recent months, a wide spectrum of efficient, fast Transformers have been proposed to tackle this problem, more often than not claiming superior or comparable model quality to v…

2021

OmniNet: Omnidirectional Representations from Transformers

ICML 2021oral

This paper proposes Omnidirectional Representations from Transformers (OMNINET). In OmniNet, instead of maintaining a strictly horizon-tal receptive field, each token is allowed to attend to all tokens in the entire network. This process can also be interpreted as a form of extreme or intensive atte…

2021

StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling

ACL 2021long

There are two major classes of natural language grammars — the dependency grammar that models one-to-one correspondences between words and the constituency grammar that models the assembly of one or several corresponded words. While previous unsupervised parsing methods mostly focus on only inducing…

2021

Synthesizer: Rethinking Self-Attention for Transformer Models

ICML 2021spotlight

The dot product self-attention is known to be central and indispensable to state-of-the-art Transformer models. But is it really required? This paper investigates the true importance and contribution of the dot product-based self-attention mechanism on the performance of Transformer models. Via exte…

2018

Diminishing Returns Shape Constraints for Interpretability and Regularization

NeurIPS 2018poster

We investigate machine learning models that can provide diminishing returns and accelerating returns guarantees to capture prior knowledge or policies about how outputs should depend on inputs. We show that one can build flexible, nonlinear, multi-dimensional models using lattice functions with any…

Cited by 32SourcePDFScholar