Compaction Cuts Token Use in Automated Malware Analysis Without Changing Overall Scores

· Original article ↗

Summary

SentinelLABS tested OpenAI’s compaction in automated malware-analysis workflows. It reduced input tokens by about 86% with no measurable change to aggregate scores, though domain object modeling declined.

Key points

  • The evaluation compared long-running malware-analysis agent runs with and without context compaction.
  • Compaction reduced input tokens by about 86%, output tokens by 31%, and reasoning tokens by 33%; runs used one fewer model call.
  • Aggregate evaluation scores were effectively unchanged, but domain object modeling declined.
  • The workflow uses compaction for working memory while keeping exact findings, tool outputs, and other artifacts in durable storage.
  • Server-side compaction suits automatic handling of long sessions; standalone compaction offers more control at workflow phase boundaries.
  • The article recommends evaluating both resource use and task quality, preserving failed paths, and treating compaction as lossy until tested.

Article Details

Topic
Evaluating context compaction for automated malware-analysis agents

Vendors

Products

Related Articles