Multi-modal ensemble improves encrypted vs compressed fragment classification up to 6.4pp
Triumvir outperforms prior methods by up to 4.5 percentage points in binary and 6.4 points in multiclass tasks on short byte fragments
Security & privacy arXiv 29 May 2026 Method Prototype evidence
Published as “When Entropy Is Not Enough: Multi-Modal Classification of Encrypted and Compressed Data Fragments”
Why it matters
The approach can improve automated forensics and ransomware detection pipelines that must decide on very small data fragments, but its reliability drops for modern video codecs.
Summary
Triumvir consistently outperforms the prior EnCoD model, gaining up to 4.45 percentage points on generic compression formats and achieving 0.847 accuracy on 2 KB fragments, but it still lags behind EnCoD on h265 (-1.6 pp) and struggles with h264/h265 at the smallest fragment sizes.
What they found 2
- Triumvir outperforms EnCoD by 4.45 pp on generic compression formats
“On average, Triumvir outperforms EnCoD by 4.45pp across generic compression formats”
- Full Triumvir reaches 0.847 accuracy, beating the best two-modal variant by 0.74 pp
“Specifically, Triumvir achieves an accuracy of 0.847, outperforming the best two-modal combination (Sequential + Statistical) by +0.74pp”
Caveats 4
- Triumvir underperforms EnCoD on h265 (-1.6 pp) at 2 KB fragments
- Triumvir underperforms EnCoD on h264 at the 512 B fragment size
- The most challenging formats for Triumvir are h264 and h265, which represent the only consistent failure mode across all fragment sizes.
- Triumvir underperforms EnCoD on both formats; a notable reversal of the general trend.
What’s new here 4
- Combines three complementary modalities (sequential, spatial, statistical) instead of a single histogram-based view.
- Uses per-expert temperature scaling and confidence-margin scores to inform a learned gating network.
- Applies a transformer encoder to raw byte sequences to capture compression back-reference patterns.
- Provides an uncertainty-aware ensemble that adapts expert weighting per input fragment.