Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Showing 1–16 of 16 results for author: Ahmed, M O

Searching in archive cs. Search in all archives.
.
  1. arXiv:2405.13956  [pdf, other

    cs.LG

    Attention as an RNN

    Authors: Leo Feng, Frederick Tung, Hossein Hajimirsadeghi, Mohamed Osama Ahmed, Yoshua Bengio, Greg Mori

    Abstract: The advent of Transformers marked a significant breakthrough in sequence modelling, providing a highly performant architecture capable of leveraging GPU parallelism. However, Transformers are computationally expensive at inference time, limiting their applications, particularly in low-resource settings (e.g., mobile and embedded devices). Addressing this, we (1) begin by showing that attention can… ▽ More

    Submitted 28 May, 2024; v1 submitted 22 May, 2024; originally announced May 2024.

  2. arXiv:2311.02891  [pdf, other

    cs.LG

    AdaFlood: Adaptive Flood Regularization

    Authors: Wonho Bae, Yi Ren, Mohamad Osama Ahmed, Frederick Tung, Danica J. Sutherland, Gabriel L. Oliveira

    Abstract: Although neural networks are conventionally optimized towards zero training loss, it has been recently learned that targeting a non-zero training loss threshold, referred to as a flood level, often enables better test time generalization. Current approaches, however, apply the same constant flood level to all training samples, which inherently assumes all the samples have the same difficulty. We p… ▽ More

    Submitted 6 November, 2023; originally announced November 2023.

  3. arXiv:2309.17388  [pdf, other

    cs.LG

    Tree Cross Attention

    Authors: Leo Feng, Frederick Tung, Hossein Hajimirsadeghi, Yoshua Bengio, Mohamed Osama Ahmed

    Abstract: Cross Attention is a popular method for retrieving information from a set of context tokens for making predictions. At inference time, for each prediction, Cross Attention scans the full set of $\mathcal{O}(N)$ tokens. In practice, however, often only a small subset of tokens are required for good performance. Methods such as Perceiver IO are cheap at inference as they distill the information to a… ▽ More

    Submitted 1 March, 2024; v1 submitted 29 September, 2023; originally announced September 2023.

    Comments: Accepted by ICLR 2024

  4. arXiv:2306.12599  [pdf, other

    cs.LG

    Constant Memory Attention Block

    Authors: Leo Feng, Frederick Tung, Hossein Hajimirsadeghi, Yoshua Bengio, Mohamed Osama Ahmed

    Abstract: Modern foundation model architectures rely on attention mechanisms to effectively capture context. However, these methods require linear or quadratic memory in terms of the number of inputs/datapoints, limiting their applicability in low-compute domains. In this work, we propose Constant Memory Attention Block (CMAB), a novel general-purpose attention block that computes its output in constant mem… ▽ More

    Submitted 21 June, 2023; originally announced June 2023.

    Comments: Workshop version of arXiv:2305.14567

  5. arXiv:2305.14567  [pdf, other

    cs.LG cs.CV

    Memory Efficient Neural Processes via Constant Memory Attention Block

    Authors: Leo Feng, Frederick Tung, Hossein Hajimirsadeghi, Yoshua Bengio, Mohamed Osama Ahmed

    Abstract: Neural Processes (NPs) are popular meta-learning methods for efficiently modelling predictive uncertainty. Recent state-of-the-art methods, however, leverage expensive attention mechanisms, limiting their applications, particularly in low-resource settings. In this work, we propose Constant Memory Attentive Neural Processes (CMANPs), an NP variant that only requires constant memory. To do so, we f… ▽ More

    Submitted 27 May, 2024; v1 submitted 23 May, 2023; originally announced May 2023.

  6. arXiv:2301.12023  [pdf, other

    cs.LG

    Meta Temporal Point Processes

    Authors: Wonho Bae, Mohamed Osama Ahmed, Frederick Tung, Gabriel L. Oliveira

    Abstract: A temporal point process (TPP) is a stochastic process where its realization is a sequence of discrete events in time. Recent work in TPPs model the process using a neural network in a supervised learning framework, where a training set is a collection of all the sequences. In this work, we propose to train TPPs in a meta learning framework, where each sequence is treated as a different task, via… ▽ More

    Submitted 27 January, 2023; originally announced January 2023.

    Comments: Accepted to ICLR2023

  7. arXiv:2211.10564  [pdf, other

    cs.LG cs.CV

    Gumbel-Softmax Selective Networks

    Authors: Mahmoud Salem, Mohamed Osama Ahmed, Frederick Tung, Gabriel Oliveira

    Abstract: ML models often operate within the context of a larger system that can adapt its response when the ML model is uncertain, such as falling back on safe defaults or a human in the loop. This commonly encountered operational context calls for principled techniques for training ML models with the option to abstain from predicting when uncertain. Selective neural networks are trained with an integrated… ▽ More

    Submitted 18 November, 2022; originally announced November 2022.

  8. arXiv:2211.08458  [pdf, other

    cs.LG cs.AI

    Latent Bottlenecked Attentive Neural Processes

    Authors: Leo Feng, Hossein Hajimirsadeghi, Yoshua Bengio, Mohamed Osama Ahmed

    Abstract: Neural Processes (NPs) are popular methods in meta-learning that can estimate predictive uncertainty on target datapoints by conditioning on a context dataset. Previous state-of-the-art method Transformer Neural Processes (TNPs) achieve strong performance but require quadratic computation with respect to the number of context datapoints, significantly limiting its scalability. Conversely, existing… ▽ More

    Submitted 1 March, 2023; v1 submitted 15 November, 2022; originally announced November 2022.

  9. arXiv:2206.09034  [pdf, other

    cs.LG cs.AI cs.CV

    Towards Better Selective Classification

    Authors: Leo Feng, Mohamed Osama Ahmed, Hossein Hajimirsadeghi, Amir Abdi

    Abstract: We tackle the problem of Selective Classification where the objective is to achieve the best performance on a predetermined ratio (coverage) of the dataset. Recent state-of-the-art selective methods come with architectural changes either via introducing a separate selection head or an extra abstention logit. In this paper, we challenge the aforementioned methods. The results suggest that the super… ▽ More

    Submitted 1 March, 2023; v1 submitted 17 June, 2022; originally announced June 2022.

  10. arXiv:2205.08247  [pdf, other

    cs.LG cs.AI

    Monotonicity Regularization: Improved Penalties and Novel Applications to Disentangled Representation Learning and Robust Classification

    Authors: Joao Monteiro, Mohamed Osama Ahmed, Hossein Hajimirsadeghi, Greg Mori

    Abstract: We study settings where gradient penalties are used alongside risk minimization with the goal of obtaining predictors satisfying different notions of monotonicity. Specifically, we present two sets of contributions. In the first part of the paper, we show that different choices of penalties define the regions of the input space where the property is observed. As such, previous methods result in mo… ▽ More

    Submitted 17 May, 2022; originally announced May 2022.

    Comments: Accepted to UAI 2022

  11. arXiv:1910.08281  [pdf, other

    cs.LG stat.ML

    Point Process Flows

    Authors: Nazanin Mehrasa, Ruizhi Deng, Mohamed Osama Ahmed, Bo Chang, Jiawei He, Thibaut Durand, Marcus Brubaker, Greg Mori

    Abstract: Event sequences can be modeled by temporal point processes (TPPs) to capture their asynchronous and probabilistic nature. We propose an intensity-free framework that directly models the point process distribution by utilizing normalizing flows. This approach is capable of capturing highly complex temporal distributions and does not rely on restrictive parametric forms. Comparisons with state-of-th… ▽ More

    Submitted 22 December, 2019; v1 submitted 18 October, 2019; originally announced October 2019.

  12. arXiv:1904.03603  [pdf, other

    cs.NE q-bio.NC

    Human Intracranial EEG Quantitative Analysis and Automatic Feature Learning for Epileptic Seizure Prediction

    Authors: Ramy Hussein, Mohamed Osama Ahmed, Rabab Ward, Z. Jane Wang, Levin Kuhlmann, Yi Guo

    Abstract: Objective: The aim of this study is to develop an efficient and reliable epileptic seizure prediction system using intracranial EEG (iEEG) data, especially for people with drug-resistant epilepsy. The prediction procedure should yield accurate results in a fast enough fashion to alert patients of impending seizures. Methods: We quantitatively analyze the human iEEG data to obtain insights into how… ▽ More

    Submitted 7 April, 2019; originally announced April 2019.

  13. arXiv:1810.04336  [pdf, other

    cs.LG stat.ML

    Combining Bayesian Optimization and Lipschitz Optimization

    Authors: Mohamed Osama Ahmed, Sharan Vaswani, Mark Schmidt

    Abstract: Bayesian optimization and Lipschitz optimization have developed alternative techniques for optimizing black-box functions. They each exploit a different form of prior about the function. In this work, we explore strategies to combine these techniques for better global optimization. In particular, we propose ways to use the Lipschitz continuity assumption within traditional BO algorithms, which we… ▽ More

    Submitted 28 July, 2020; v1 submitted 9 October, 2018; originally announced October 2018.

  14. arXiv:1511.01942  [pdf, other

    cs.LG math.OC stat.CO stat.ML

    Stop Wasting My Gradients: Practical SVRG

    Authors: Reza Babanezhad, Mohamed Osama Ahmed, Alim Virani, Mark Schmidt, Jakub Konečný, Scott Sallinen

    Abstract: We present and analyze several strategies for improving the performance of stochastic variance-reduced gradient (SVRG) methods. We first show that the convergence rate of these methods can be preserved under a decreasing sequence of errors in the control variate, and use this to derive variants of SVRG that use growing-batch strategies to reduce the number of gradient calculations required in the… ▽ More

    Submitted 5 November, 2015; originally announced November 2015.

  15. arXiv:1504.04406  [pdf, other

    stat.ML cs.LG math.OC stat.CO

    Non-Uniform Stochastic Average Gradient Method for Training Conditional Random Fields

    Authors: Mark Schmidt, Reza Babanezhad, Mohamed Osama Ahmed, Aaron Defazio, Ann Clifton, Anoop Sarkar

    Abstract: We apply stochastic average gradient (SAG) algorithms for training conditional random fields (CRFs). We describe a practical implementation that uses structure in the CRF gradient to reduce the memory requirement of this linearly-convergent stochastic gradient method, propose a non-uniform sampling scheme that substantially improves practical performance, and analyze the rate of convergence of the… ▽ More

    Submitted 16 April, 2015; originally announced April 2015.

    Comments: AI/Stats 2015, 24 pages

  16. arXiv:1203.2394  [pdf, other

    stat.ML cs.LG stat.CO

    Decentralized, Adaptive, Look-Ahead Particle Filtering

    Authors: Mohamed Osama Ahmed, Pouyan T. Bibalan, Nando de Freitas, Simon Fauvel

    Abstract: The decentralized particle filter (DPF) was proposed recently to increase the level of parallelism of particle filtering. Given a decomposition of the state space into two nested sets of variables, the DPF uses a particle filter to sample the first set and then conditions on this sample to generate a set of samples for the second set of variables. The DPF can be understood as a variant of the popu… ▽ More

    Submitted 11 March, 2012; originally announced March 2012.

    Comments: 16 pages, 11 figures, Authorship in alphabetical order