Skip to main content

Showing 1–2 of 2 results for author: Aly, A A

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

    cs.CL cs.AI cs.LG

    LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding

    Authors: Mostafa Elhoushi, Akshat Shrivastava, Diana Liskovich, Basil Hosmer, Bram Wasti, Liangzhen Lai, Anas Mahmoud, Bilge Acun, Saurabh Agarwal, Ahmed Roman, Ahmed A Aly, Beidi Chen, Carole-Jean Wu

    Abstract: We present LayerSkip, an end-to-end solution to speed-up inference of large language models (LLMs). First, during training we apply layer dropout, with low dropout rates for earlier layers and higher dropout rates for later layers, and an early exit loss where all transformer layers share the same exit. Second, during inference, we show that this training recipe increases the accuracy of early exi… ▽ More

    Submitted 29 April, 2024; v1 submitted 25 April, 2024; originally announced April 2024.

    Comments: Code open sourcing is in progress

  2. A Novel Image Segmentation Enhancement Technique based on Active Contour and Topological Alignments

    Authors: Ashraf A. Aly, Safaai Bin Deris, Nazar Zaki

    Abstract: Topological alignments and snakes are used in image processing, particularly in locating object boundaries. Both of them have their own advantages and limitations. To improve the overall image boundary detection system, we focused on develo** a novel algorithm for image processing. The algorithm we propose to develop will based on the active contour method in conjunction with topological alignme… ▽ More

    Submitted 2 June, 2011; originally announced June 2011.

    Comments: 7 pages

    Journal ref: Advanced Computing: An International Journal ( ACIJ ), Vol.2, No.3, May 2011