OptiMine: Scalable and Precise Code Optimization for Android Apps via LLM-Driven Semantic Analysis
Pengbo Du, Qiuping Yi, Liangzheng Zhang, Hongliang Liang
Abstract
As Android applications grow in scale, latent performance issues increasingly degrade user experience and business outcomes, yet systematically identifying optimization opportunities in large codebases remains challenging. We present OptiMine, a hybrid knowledge-to-code framework that integrates large language models (LLMs) with static program analysis to automatically uncover actionable performance optimizations. OptiMine systematically transforms unstructured expert knowledge from documents, commit diffs, and reports into structured Optimization Signatures, enabling reproducible and context-aware program reasoning. These signatures drive scalable candidate retrieval via declarative Datalog queries, while LLM-guided semantic validation performs precise applicability checking, side-effect analysis, and impact-aware ranking. We evaluate OptiMine on a public benchmark and a large industrial Android codebase. The results show that OptiMine achieves higher precision and broader coverage than heuristic- and pattern-based baselines, while scaling effectively to industrial settings. Overall, OptiMine enables reliable and scalable performance auditing, bridging expert knowledge and actionable performance improvements in real-world mobile systems.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get d3eaf219-c361-4ae4-8ab3-74f252d43031Related papers
- Optimas: An Intelligent Analytics-Informed Generative AI Framework for Performance OptimizationMohammad Zaeed, Tanzima Z. Islam, Vladimir IndicKDD 2026
- Automated Program Repair for UI-Centric Android Bugs: How Far Are We?Junayed Mahmud, Sparsh Pandey, Nadeeshan De Silva, Atish Kumar Dipongkor et al.ISSTA 2026
- Automated Classification, Root Cause Analysis, and Repair Recommendations for Failed Mobile Testing by Specialized LLMChun Li, Fei Wang, Minxue Pan, Zhong Li et al.ISSTA 2026
- LLM4JMH: Studying the Use of LLMs for Generating Java Performance MicrobenchmarksZongxiong Chen, Derui Zhu, Kundi Yao, Weiyi Shang et al.ICSE 2026
- Boosting Static Resource Leak Detection via LLM-based Resource-Oriented Intention InferenceChong Wang, Jianan Liu, Xin Peng, Yang Liu et al.ICSE 2025 · 5 citations
