Community features boost Tiny F1 to 81.3% but cause ~30-point drop under Common shift
Mesoscopic community descriptors improve accuracy on in-distribution Tiny malware but severely degrade performance under malware-type shift
Security & privacy arXiv 21 Sep 2026 Measurement Simulation evidence
Published as “Partition-Matched Evaluation of Community Features under Distribution Shift in Android Malware Function-Call Graphs”
Why it matters
Community-based graph descriptors do not justify added complexity for improving out-of-distribution robustness in Android malware detection.
Summary
Community descriptors for Android malware function-call graphs add IID predictive signal (raising Tiny macro F1 from 78.7% to 81.3%) but do not provide a repeatable robustness advantage under distribution shift: they cause a 29.4-point degradation on the Common test set, which is worse than the 27.8-point degradation of a size-matched random partition control, and the bootstrap interval for the difference includes zero. The paper’s matched-partition protocol shows that the observed gain is due to partition shape rather than edge-aligned community structure. Evidence is based on a single 15,000-sample benchmark with limited statistical variation.
What they found 2
- Adding detected communities to LDP raises Tiny macro F1 from 78.7% to 81.3% but increases Common degradation to 29.4 points.
“Adding detected communities to LDP raises Tiny macro F1 from 78.7% to 81.3%, but produces 29.4-point Common degradation compared with 27.8 points for the matched randompartition control.”
- Bootstrap analysis shows the random-minus-community difference is -1.5 points with a 95% interval of [-4.2, 1.2], crossing zero.
“degradation is -1.5 points with a 95% two-level bootstrap interval of [-4.2, 1.2].”
Caveats 5
- Detected communities cause higher Common degradation (29.4 points) than the matched random-partition control (27.8 points).
- The bootstrap interval for random-minus-community degradation includes zero ([-4.2, 1.2]), indicating no statistically reliable advantage.
- Benchmark scope. We evaluate one five-label MalNetderived benchmark.
- Graph and partition construction. Static FCGs may omit reflective and dynamically loaded calls.
- Statistical scope. Five optimizer seeds and five matchedpartition draws estimate optimization and null-sampling variation on one released split.
What’s new here 3
- Introduces a matched random-partition control that preserves community size multiset while randomizing vertex membership.
- Provides repeated-null experiments with optimizer-aware two-level bootstrap intervals to assess uncertainty.
- Analyzes descriptor shift and modularity ablations to pinpoint sources of class-specific instability.