Can Large Language Models Detect Real-World Android Software Compliance Violations?
Haoyi Zhang, Huaijin Ran, Xunzhu Tang

TL;DR
This paper introduces CompliBench, a new evaluation framework for assessing large language models' ability to detect compliance violations in Android applications across various legal standards, addressing current model limitations.
Contribution
The paper presents CompliBench, a novel benchmarking framework with new tasks and stability-aware metrics for evaluating LLMs' compliance detection capabilities in Android apps.
Findings
Claude-3.5-sonnet-20241022 achieved highest OCS score (0.3295)
CompliBench improves assessment of LLMs in compliance detection
Models show varying performance across legal frameworks
Abstract
The rapid development of Large Language Models (LLMs) has transformed software engineering, showing promise in tasks like code generation, bug detection, and compliance checking. However, current models struggle to detect compliance violations in Android applications across diverse legal frameworks. We propose \emph{CompliBench}, a novel evaluation framework for assessing LLMs' ability to detect compliance violations under regulations like LGPD, PDPA, and PIPEDA. The framework defines two tasks: Task 1 evaluates \emph{retrieval and localization} at file, module, and line granularities, and Task 2 assesses \emph{multi-label judgment} for code snippets. These tasks mirror the audit process, where auditors locate problematic code and determine implicated provisions. Traditional metrics fail to capture important aspects like cross-granularity stability and jurisdictional consistency. Thus,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Software Engineering Research · Software Testing and Debugging Techniques
