← Lab /AI/ML

VAE+Mandelbrot+PINNFlow representation adds diagnostic insight under feature perturbations

The proposed representation provides additional diagnostic value for malware detectors when feature vectors are perturbed

AI/ML arXiv 27 Jul 2026 Measurement Prototype evidence

Published as “Latent Stability Analysis of Malware Representations Under Feature-Space Perturbations”

Why it matters

Provides a suite of diagnostics (LED, PINNFlow shifts, boundary complexity) to analyze representation stability, which can guide future design of more robust malware detectors.

Summary

The VAE+Mandelbrot+PINNFlow representation improves robustness to structured feature-space perturbations compared to the plain VAE, but it still lags behind the PCA-64 baseline and full features for clean classification. The paper introduces a Mandelbrot-inspired escape-time fingerprint, defines Latent Escape Divergence (LED) to quantify perturbation-induced instability, and a PINN-style latent-flow module that yields residual, velocity, and risk diagnostics. Experiments on the EMBER dataset (180,000 training, 180,000 test, 240,000 holdout samples) show modest gains (e.g., F1 from 0.9057 to 0.9145 for benign-centroid movement) while confirming that PCA-64 remains strongest overall. Evidence is based on a single public benchmark and a fixed LightGBM downstream classifier; no functionality-preserving PE attacks are evaluated. The paper’s own limitations note that the perturbations are only feature-space probes and that the approach does not improve clean detection.

What they found 2

  1. VAE+Mandelbrot+PINNFlow-64 improves robustness over VAE+Mandelbrot-64 for all perturbation probes

    “VAE+Mandelbrot+PINNFlow-64 improves over VAE+Mandelbrot-64 for all five probes and over VAE64 for several structured probes.”

  2. PINNFlow training loss decreases substantially, indicating learned latent-trajectory structure

    “PINNFlow total loss decreases from 0.341 to 0.076, supervised BCE decreases from 0.333 to 0.066, and transition MSE decreases from 0.00427 to 0.00105.”

Caveats 6

  • PCA-64 remains strongest overall.
  • Full features remain strongest.
  • The most important limitation is that the default perturbations are feature-space probes. They are useful for controlled analysis but do not prove functionality-preserving PE manipulation.
  • Second, the evaluation uses EMBER 2018-style static PE features; additional evaluation on BODMAS temporal data and EMBER2024 challenge samples is needed.
  • Third, while the VAE does not collapse according to KL diagnostics, it still underperforms PCA-64 for clean classification.
  • Fourth, PINNFlow improves robustness relative to VAE+Mandelbrot under several probes but still does not beat PCA-64.

What’s new here 4

  • Formulates malware perturbation analysis as latent trajectory analysis with a new LED metric
  • Introduces Mandelbrot-inspired escape-time fingerprints for VAE latent coordinates
  • Develops a PINN-style latent-flow module that provides residual, velocity, risk, and gradient diagnostics
  • Applies box-counting dimension to quantify uncertain decision-boundary complexity in reduced malware representations