← Lab /AI/ML

Zero-shot LLM feature selection matches traditional methods for malware detection

LLM-guided zero-shot feature selection achieves competitive detection performance compared to conventional FS methods

AI/ML arXiv 10 Feb 2026 Method Prototype evidence

Published as “LLM-FS: Zero-Shot Feature Selection for Effective and Interpretable Malware Detection”

Why it matters

Security teams can replace purely statistical feature selectors with LLM-driven ones to gain interpretable, label-efficient feature sets without sacrificing detection accuracy.

Summary

LLM-FS achieves accuracy comparable to traditional feature selection methods on the large EMBOD malware dataset, e.g., 0.953 accuracy with Random Forest versus 0.954 for tree-based selection. The paper evaluates multiple LLMs (GPT-4, Gemini) across four classifiers and reports similar or slightly lower performance than the strongest baselines while offering interpretability and reduced label dependence. Evidence comes from extensive tables covering accuracy, AUC, MCC and runtime for over 20 method-classifier combos. However, some LLM-based selections lag behind the best traditional methods, and the approach adds notable API latency and relies on clear feature names.

What they found 1

  1. LLM gpt-4o achieves 0.953 accuracy with Random Forest, matching the performance of strong traditional methods.

    “LLM gpt-4o RandomForest 0.953 0.954 0.953 0.953 0.991 0.907 9698.588”

Caveats 7

  • LLM gpt-5mini yields lower accuracy than the best traditional method for Random Forest (0.922 vs 0.954).
  • LLM gpt-5mini ExtraTrees accuracy (0.945) is below the ExtraTrees-only baseline (0.975).
  • LLM gpt-5mini RandomForest 0.922 0.922 0.922 0.922 0.978 0.844 765.264
  • LLM gpt-5-mini ExtraTrees 0.945 0.945 0.945 0.945 0.988 0.89 229.463
  • the technique introduces some extra computational expenses and depends on vivid feature naming
  • Scalability is one such concern, as running one prompt per feature becomes computationally expensive for very high-dimensional data
  • adversarial robustness is yet to be researched upon, particularly how deliberately fabricated or misleading feature names might affect LLM reasoning

What’s new here 4

  • Zero-shot feature selection using only feature names and statistical descriptors, without any training data.
  • Leverages semantic knowledge of LLMs to rank features, providing natural-language rationales.
  • Reduces reliance on labeled data for feature importance estimation.
  • Demonstrates stability of selected features across different classifiers and LLM backbones.