Search arXiv⌕ Search

arXiv subjects

Hazem M. Abbas

Publications and source records attributed to Hazem M. Abbas.

5 recordsLinked to original sources

Where Do Scarce Labels Belong? Evaluating Contrastive Pretraining under Equal Compute and Realistic Label Budgets

Supervised contrastive learning uses labels during pretraining, but labels are often scarce and unlabeled images plentiful. Should the few labels go inside the contrastive loss, or wait until after label-free pretraining? Two confounds hide the answer: unequal compute, and evaluations that use labels the practitioner does not have. We remove both with a compute-matched $2\times 2$ design: SimCLR and supervised contrastive learning (SupCon), each trained on the labeled subset or on all images for the same number of gradient steps, on CIFAR-10, CIFAR-100, STL-10 and Tiny-ImageNet. First, labels inside the loss buy speed, not a better end point: with 10% of the CIFAR-10 labels, SupCon leads SimCLR by 13.3 points after 970 steps and trails it by 6.6 points after 97,000 steps. Second, the protocol changes the comparison: after 9,700 steps the all-label linear probe puts a semi-supervised SupCon 1.9 points ahead of SimCLR, but fine-tuning on the 5,000 labels puts it behind under every recipe, including the best of an equal search for all encoders. Holding out 1,000 labels to choose the recipe brings SupCon level with SimCLR, not ahead; with longer training SimCLR leads under every probe and recipe. Third, label-using encoders make classes several times tighter on their labeled images than on any other images. Given enough pretraining, scarce labels are better kept out of the contrastive loss and spent afterwards, best of all in semi-supervised training. Budgets should be counted in steps, and encoders evaluated with the available labels.

cs.CV↗

Language Independent Named Entity Recognition via Orthogonal Transformation of Word Vectors

Word embeddings have been a key building block for NLP in which models relied heavily on word embeddings in many different tasks. In this paper, a model is proposed based on using Bidirectional LSTM/CRF with word embeddings to perform named entity recognition for any language. This is done by training a model on a source language (English) and transforming word embeddings from the target language into word embeddings of the source language by using an orthogonal linear transformation matrix. Evaluation of the model shows that by training a model on an English dataset the model was capable of detecting named entities in an Arabic dataset without neither training or fine tuning the model on an Arabic language dataset.

cs.CL↗

Safe Reinforcement Learning using Data-Driven Predictive Control

Reinforcement learning (RL) algorithms can achieve state-of-the-art performance in decision-making and continuous control tasks. However, applying RL algorithms on safety-critical systems still needs to be well justified due to the exploration nature of many RL algorithms, especially when the model of the robot and the environment are unknown. To address this challenge, we propose a data-driven safety layer that acts as a filter for unsafe actions. The safety layer uses a data-driven predictive controller to enforce safety guarantees for RL policies during training and after deployment. The RL agent proposes an action that is verified by computing the data-driven reachability analysis. If there is an intersection between the reachable set of the robot using the proposed action, we call the data-driven predictive controller to find the closest safe action to the proposed unsafe action. The safety layer penalizes the RL agent if the proposed action is unsafe and replaces it with the closest safe one. In the simulation, we show that our method outperforms state-of-the-art safe RL methods on the robotics navigation problem for a Turtlebot 3 in Gazebo and a quadrotor in Unreal Engine 4 (UE4).

cs.RO↗

Amharic Abstractive Text Summarization

Text Summarization is the task of condensing long text into just a handful of sentences. Many approaches have been proposed for this task, some of the very first were building statistical models (Extractive Methods) capable of selecting important words and copying them to the output, however these models lacked the ability to paraphrase sentences, as they simply select important words without actually understanding their contexts nor understanding their meaning, here comes the use of Deep Learning based architectures (Abstractive Methods), which effectively tries to understand the meaning of sentences to build meaningful summaries. In this work we discuss one of these new novel approaches which combines curriculum learning with Deep Learning, this model is called Scheduled Sampling. We apply this work to one of the most widely spoken African languages which is the Amharic Language, as we try to enrich the African NLP community with top-notch Deep Learning architectures.

cs.CL↗

LiteSeg: A Novel Lightweight ConvNet for Semantic Segmentation

Semantic image segmentation plays a pivotal role in many vision applications including autonomous driving and medical image analysis. Most of the former approaches move towards enhancing the performance in terms of accuracy with a little awareness of computational efficiency. In this paper, we introduce LiteSeg, a lightweight architecture for semantic image segmentation. In this work, we explore a new deeper version of Atrous Spatial Pyramid Pooling module (ASPP) and apply short and long residual connections, and depthwise separable convolution, resulting in a faster and efficient model. LiteSeg architecture is introduced and tested with multiple backbone networks as Darknet19, MobileNet, and ShuffleNet to provide multiple trade-offs between accuracy and computational cost. The proposed model LiteSeg, with MobileNetV2 as a backbone network, achieves an accuracy of 67.81% mean intersection over union at 161 frames per second with $640 \times 360$ resolution on the Cityscapes dataset.

cs.CV↗