paper-with-me

홈 › Papers

Unraveling Code Clone Dynamics in Deep Learning Frameworks

2024-04-25 · Maram Assi, Safwat Hassan, Ying Zou

Deep Learning (DL) frameworks play a critical role in advancing artificial intelligence, and their rapid growth underscores the need for a comprehensive understanding of software quality and maintainability. DL frameworks, like other systems, are prone to code clones. Code clones refer to identical or highly similar source code fragments within the same project or even across different projects. Code cloning can have positive and negative implications for software development, influencing maintenance, readability, and bug propagation. In this paper, we aim to address the knowledge gap concerning the evolutionary dimension of code clones in DL frameworks and the extent of code reuse across these frameworks. We empirically analyze code clones in nine popular DL frameworks, i.e., TensorFlow, Paddle, PyTorch, Aesara, Ray, MXNet, Keras, Jax and BentoML, to investigate (1) the characteristics of the long-term code cloning evolution over releases in each framework, (2) the short-term, i.e., within-release, code cloning patterns and their influence on the long-term trends, and (3) the file-level code clones within the DL frameworks. Our findings reveal that DL frameworks adopt four distinct cloning trends and that these trends present some common and distinct characteristics. For instance, bug-fixing activities persistently happen in clones irrespective of the clone evolutionary trend but occur more in the "Serpentine" trend. Moreover, the within release level investigation demonstrates that short-term code cloning practices impact long-term cloning trends. The cross-framework code clone investigation reveals the presence of functional and architectural adaptation file-level cross-framework code clones across the nine studied frameworks. We provide insights that foster robust clone practices and collaborative maintenance in the development of DL frameworks.

📄 PDF Abstract BibTeX arXiv:2404.17046

Code (1)

mia1q/code-clone-dl-frameworks 공식 구현

Tasks

Bug fixingDeep Learning

Similar Papers 제목 키워드 기반

Catchphrase: Automatic Detection of Cultural References

2021-06-09 · ACL 2021 5 · Nir Sweed, Dafna Shahaf

A snowclone is a customizable phrasal template that can be realized in multiple, instantly recognized variants. For example, ``* is the new *" (Orange is the new black, 40 is the new 30). Snowclones are extensively used …

Cultural Vocal Bursts Intensity Prediction

Clone-Seeker: Effective Code Clone Search Using Annotations

2021-06-06 · Muhammad Hammad, Önder Babur, Hamid Abdul Basit, Mark van den Brand

Source code search plays an important role in software development, e.g. for exploratory development or opportunistic reuse of existing code from a code base. Often, exploration of different implementations with the same…

Code SearchNatural Language Queries

Spatiotemporal deep learning models for detection of rapid intensification in cyclones

2025-06-10 · Vamshika Sutar, Amandeep Singh, Rohitash Chandra

Cyclone rapid intensification is the rapid increase in cyclone wind intensity, exceeding a threshold of 30 knots, within 24 hours. Rapid intensification is considered an extreme event during a cyclone, and its occurrence…

Data AugmentationDeep LearningEnsemble LearningSynthetic Data Generation

Early life imprints the hierarchy of T cell clone sizes

2020-07-21 · Mario U. Gaimann, Maximilian Nguyen, Jonathan Desponds, Andreas Mayer

The adaptive immune system responds to pathogens by selecting clones of cells with specific receptors. While clonal selection in response to particular antigens has been studied in detail, it is unknown how a lifetime of…

Human Aging

Assessing the Code Clone Detection Capability of Large Language Models

2024-07-02 · Zixian Zhang, Takfarinas Saber

This study aims to assess the performance of two advanced Large Language Models (LLMs), GPT-3.5 and GPT-4, in the task of code clone detection. The evaluation involves testing the models on a variety of code pairs of dif…

Clone DetectionCode Generation