CFCheng Fang

Cheng Fang

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Cheng Fang has a total of 25 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Federated Personalization of Early-Exit Networks

    by Boyi Liu, Zimu Zhou, Cheng Fang, Yongxin Tong

  • Responsive Test-Time Model Adaptation for Mobile Applications via Runtime-efficient Sparse Updates

    by Cheng Fang, Bin Guo, Sicong Liu, Zimu Zhou, Jiaqi Tang, Ke Ma, Shiyan Luo, Geyang Song, Zhiwen Yu

    Adapting the on-device deep learning (DL) models to continual and unpredictable domain shifts is crucial for mobile applications like autonomous driving and augmented reality, which require seamless user experiences in ever-changing environments. Test-time adaptation (TTA) offers a promising solution that fine-tunes models with unlabeled real-time data just before making predictions. However, TTA introduces a significant challenge, its forward-backward-reforward pipeline increases latency, compromising responsiveness in time-sensitive mobile scenarios. In this paper, we present AdaShadow, a responsive test-time adaptation framework designed for non-stationary mobile data distributions and resource dynamics. AdaShadow focuses on selectively updating only adaptation-critical layers, minimizing the latency impact. While this idea has been explored in general on-device training, the unsupervised and real-time nature of TTA presents unique challenges in assessing layer importance, predicting latency, and planning layer updates efficiently. AdaShadow addresses these challenges through a backpropagation-free importance assessor for rapid identification of critical layers, a unit-based runtime latency predictor that accounts for resource constraints, and an online layer update scheduler to ensure prompt retraining. Furthermore, a memory I/O-aware computation reuse scheme optimizes the reforward pass to further reduce delays. Our evaluations show that AdaShadow reduces adaptation latency by up to 3.7× (achieving ms-level response time) and improves accuracy by up to 25.4%, all while maintaining low memory and energy costs across CNN, and ViT models, outperforming state-of-the-art methods.

  • CrowdHMTware: A Cross-Level Co-Adaptation Middleware for Context-Aware Mobile DL Deployment

    by Sicong Liu, Bin Guo, Shiyan Luo, Yuzhan Wang, Hao Luo, Cheng Fang, Yuan Xu, Ke Ma, Yao Li, Zhiwen Yu

    There are many deep learning (DL) powered mobile and wearable applications today continuously and unobtrusively sensing the ambient surroundings to enhance all aspects of human lives. To enable robust and private mobile sensing, DL models are often deployed locally on resource-constrained mobile devices using techniques such as model compression or offloading. However, existing methods, either front-end algorithm level (i.e. DL model compression/partitioning) or back-end scheduling level (i.e. operator/resource scheduling), cannot be locally online because they require offline retraining to ensure accuracy or rely on manually pre-defined strategies, struggle with dynamic adaptability. The primary challenge lies in feeding back runtime performance from the back-end level to the front-end level optimization decision. Moreover, the adaptive mobile DL model porting middleware with cross-level co-adaptation is less explored, particularly in mobile environments with diversity and dynamics. In response, we introduce CrowdHMTware, a dynamic context-adaptive DL model deployment middleware for heterogeneous mobile devices. It establishes an automated adaptation loop between cross-level functional components, i.e. elastic inference, scalable offloading, and model-adaptive engine, enhancing scalability and adaptability. Experiments with four typical tasks across 15 platforms and a real-world case study demonstrate that ${\sf CrowdHMTware}$ can effectively scale DL model, offloading, and engine actions across diverse platforms and tasks. It hides run-time system issues from developers, reducing the required developer expertise.


  • Open Access

    Ph.D. Forum: Responsive On-Device DNN Adaptation for Non-Stationary Mobile Environments

    by Cheng Fang

    On-device adaptation to unpredictable domain shifts is crucial for mobile applications like autonomous driving and augmented reality. Test-time adaptation (TTA) offers a solution by tuning model parameters with unlabeled live data before prediction, but its forward-backward-reforward pipeline increases latency, compromising responsiveness. This paper presents AdaShadow, a responsive TTA framework for non-stationary mobile data distribution and resource dynamics via selective updates of critical layers. It utilizes a backpropagation-free assessor for quick identification of critical layers, a unit-based runtime predictor for latency estimation, and an online scheduler for effective updates. Evaluations show AdaShadow reduces adaptation latency by up to 3.5× and improves accuracy by up to 25.4%, with low memory and energy costs.

  • Open Access

    AdaShadow: Responsive Test-time Model Adaptation in Non-stationary Mobile Environments

    by Cheng Fang, Sicong Liu, Zimu Zhou, Bin Guo, Jiaqi Tang, Ke Ma, Zhiwen Yu

    On-device adapting to continual, unpredictable domain shifts is essential for mobile applications like autonomous driving and augmented reality to deliver seamless user experiences in evolving environments. Test-time adaptation (TTA) emerges as a promising solution by tuning model parameters with unlabeled live data immediately before prediction. However, TTA's unique forward-backward-reforward pipeline notably increases the latency over standard inference, undermining the responsiveness in time-sensitive mobile applications. This paper presents AdaShadow, a responsive test-time adaptation framework for non-stationary mobile data distribution and resource dynamics via selective updates of adaptation-critical layers. Although the tactic is recognized in generic on-device training, TTA's unsupervised and online context presents unique challenges in estimating layer importance and latency, as well as scheduling the optimal layer update plan. AdaShadow addresses these challenges with a backpropagation-free assessor to rapidly identify critical layers, a unit-based runtime predictor to account for resource dynamics in latency estimation, and an online scheduler for prompt layer update planning. Also, AdaShadow incorporates a memory I/O-aware computation reuse scheme to further reduce latency in the reforwardpass. Results show that AdaShadow achieves the best accuracy-latency balance under continual shifts. At low memory and energy costs, Adashadow provides a 2x to 3.5x speedup (ms-level) over state-of-the-art TTA methods with comparable accuracy and a 14.8% to 25.4% accuracy boost over efficient supervised methods with similar latency.


  • Open Access

    Deep Learning Inference on Heterogeneous Mobile Processors: Potentials and Pitfalls

    by Sicong Liu, Wentao Zhou, Zimu Zhou, Bin Guo, Minfan Wang, Cheng Fang, Zheng Lin, Zhiwen Yu

    There is a growing demand to deploy computation-intensive deep learning (DL) models on resource-constrained mobile devices for real-time intelligent applications. Equipped with a variety of processing units such as CPUs, GPUs, and NPUs, the mobile devices hold potential to accelerate DL inference via parallel execution across heterogeneous processors. Various efficient parallel methods have been explored to optimize computation distribution, achieve load balance, and minimize communication cost across processors. Yet their practical effectiveness in the dynamic and diverse real-world mobile environment is less explored. This paper presents a holistic empirical study to assess the capabilities and challenges associated with parallel DL inference on heterogeneous mobile processors. Through carefully designed experiments covering various DL models, mobile software/hardware environments, workload patterns, and resource availability, we identify limitations of existing techniques and highlight opportunities for cross-level optimization.


  • Enabling Resource-Efficient AIoT System With Cross-Level Optimization: A Survey

    by Sicong Liu, Bin Guo, Cheng Fang, Ziqi Wang, Shiyan Luo, Zimu Zhou, Zhiwen Yu

    The emerging field of artificial intelligence of things (AIoT, AI+IoT) is driven by the widespread use of intelligent infrastructures and the impressive success of deep learning (DL). With the deployment of DL on various intelligent infrastructures featuring rich sensors and weak DL computing capabilities, a diverse range of AIoT applications has become possible. However, DL models are notoriously resource-intensive. Existing research strives to realize near-/realtime inference of AIoT live data and low-cost training using AIoT datasets on resource-scare infrastructures. Accordingly, the accuracy and responsiveness of DL models are bounded by resource availability. To this end, the algorithm-system co-design that jointly optimizes the resource-friendly DL models and model-adaptive system scheduling improves the runtime resource availability and thus pushes the performance boundary set by the standalone level. Unlike previous surveys on resource-friendly DL models or hand-crafted DL compilers/frameworks with partially fine-tuned components, this survey aims to provide a broader optimization space for more free resource-performance tradeoffs. The cross-level optimization landscape involves various granularity, including the DL model, computation graph, operator, memory schedule, and hardware instructor in both on-device and distributed paradigms. Furthermore, due to the dynamic nature of AIoT context, which includes heterogeneous hardware, agnostic sensing data, varying userspecified performance demands, and resource constraints, this survey explores the context-aware inter-/intra-device controllers for automatic cross-level adaptation. Additionally, we identify some potential directions for resource-efficient AIoT systems. By consolidating problems and techniques scattered over diverse levels, we aim to help readers understand their connections and stimulate further discussions.


  • Open Access

    Durable response to afatinib in an advanced lung adenocarcinoma patient with an EGFR L858R/G729A compound mutation: a case report

    by Lige Wu, Cheng Fang, Weiqing Zhao, Dong Li, Shuxian Tang, Xi Li, Mei Ji

    Of the epidermal growth factor receptor (EGFR) mutations in patients with non-small cell lung cancer (NSCLC), 10–15% are uncommon mutations. Most of the EGFR “major” uncommon mutations have shown responses to EGFR-tyrosine kinase inhibitors (TKIs). However, there is a lack of clinical data for other less common types of EGFR mutations and the response to EGFR-TKIs, occurring either alone or in combination with EGFR sensitizing mutations. We reported a 70-year-old Chinese man with no smoking history who was diagnosed with stage IVA lung adenocarcinoma. An exceptionally uncommon EGFR G729A mutation in EGFR exon 19 was detected concomitantly with EGFR L858R in exon 21 in tumor specimens by next generation sequencing (NGS). This patient obtained limited benefit from icotinib and the increase in symptoms of cough and chest tightness, so we decided to switch the treatment to afatinib. Our patient exhibited partial response to afatinib with progression-free survival of 10 months. Subsequently, an EGFR T790M mutation was detected in the second lung biopsy. Then, osimertinib was administered and the symptoms improved significantly and the progress-free survival was nearly 16 months. Our data suggests that patients with NSCLC who are positive for uncommon EGFR G729A mutations may benefit from treatment with afatinib.