Recognition of cursive handwritten Arabic text is a difficult problem because of contextsensitive character shapes, the non-uniform spacing between words and within a word, diverse placements of dots, and diacritics, and very low inter-class variation among individual classes. In this paper, we review and investigate different deep learning architectures and modeling choices for Arabic handwriting recognition. Further, we address the problem that imbalanced data sets present to deep learning systems. In order to address this issue, we are presenting a novel adaptive data-augmentation algorithm to promote class diversity. This algorithm assigns a weight to each word in the database lexicon. This weight is calculated based on the average probability of each class in a word. Experimental results on the IFN/ENIT and AHDB databases have shown that our presented approach yields state-of-the-art results. INDEX TERMS Arabic handwriting recognition (AHR), deep learning neural network (DLNN), convolutional neural networks (CNN), connectionist temporal classification (CTC), recurrent neural network (RNN), IFN/ENIT database, long short-term memory (LSTM), bi-directional long short-term memory (BLSTM), word beam search (WBS).