Nov 2026· IEEE Transactions on Mobile Computing· Vol 25, pp. 19423-19440· 0 citations· 58 references
Abstract
Deploying Large Language Models (LLMs) on memory-constrained edge servers to serve requests from mobile devices is challenging due to their substantial resource demands. The Key-Value (KV) cache and Feed-Forward Network (FFN) parameters consume the majority of available memory. However, existing methods typically rely on static memory partitioning for these components. This rigidity leads to critical performance bottlenecks: (1) An insufficient region for neurons causes neuron swapping or direct computation on the CPU, introducing high latency. (2) As the KV cache grows until it exhausts the allocated region, the system must resort to high-latency fallbacks (e.g., KV cache offloading, recomputation, or neuron swapping). Contextual sparsity of ReLU-based or sparsity-friendly LLMs, where only a small subset of neurons is active during inference, is a promising solution. By leveraging the skewness in neuron activation frequency, we observe two opportunities. (1) We can utilize memory fragmentation to store hot neurons. (2) When memory is exhausted, we prioritize evicting cold neurons from the GPU. Both opportunities improve inference throughput. Based on these insights, we propose ElasticMem, a dynamic memory management framework. It splits KV cache and neuron parameters into blocks to enable flexible neuron placement and eviction. We further design several mapping tables to enable logical-to-physical mapping. Moreover, specialized FFN operators and a CPU-GPU hybrid scheduling pipeline support efficient execution of ElasticMem. Finally, experiments on real-world edge platforms show that, compared with PowerInfer, the state-of-the-art sparsity-aware CPU-GPU hybrid execution baseline, ElasticMem improves throughput by up to <inline-formula><tex-math notation="LaTeX">$5.97\times$</tex-math><alternatives><mml:math><mml:mrow><mml:mn>5</mml:mn><mml:mo>.</mml:mo><mml:mn>97</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math><inline-graphic xlink:href="zhao-ieq1-3712257.gif"/></alternatives></inline-formula> across multiple LLMs and deployment scenarios. In addition, compared with dense llama.cpp under memory pressure, ElasticMem achieves up to <inline-formula><tex-math notation="LaTeX">$54.7\times$</tex-math><alternatives><mml:math><mml:mrow><mml:mn>54</mml:mn><mml:mo>.</mml:mo><mml:mn>7</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math><inline-graphic xlink:href="zhao-ieq2-3712257.gif"/></alternatives></inline-formula> higher throughput.
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.
Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al.· Journal of Systems and Softw...· 78 citations· ⚡6
The application of agile software methods and more recently the integration of Lean practices contribute to the trend of continuous improvement in the software industry. One such area warranting proper empirical evidence is a project’s operational efficiency when using the Kanban method. This short paper takes a new an...
Marko Ikonen, Petri Kettunen, Nilay V. Oza et al.· EUROMICRO Conference on Soft...· 67 citations· ⚡9