Optimizing Security Threat Investigation with Multi-Model LLM Strategy

trellix · Tech · 2025 · source Agentic: yes · promotional bias: high · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Cybersecurity threat investigation cost and latency optimization

Trellix needed to reduce the cost and latency of Trellix Wise threat investigations without losing the completeness and reliability required for automated security-event analysis and risk scoring.

Constraints:

Architecture

Trellix Wise runs threat investigations on Amazon Bedrock over security-event data stored in Amazon OpenSearch Service. OpenSearch provides vector-database context through Bedrock Knowledge Bases; the workflow retrieves event-related data, analyzes it with foundation models and custom ML insights, assigns a risk score, and presents results in a dashboard. Trellix introduced Amazon Nova Micro for lower-cost multi-pass data collection while retaining Claude Sonnet where stronger capability is needed.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  Security_events["Security events"] --> Amazon_OpenSearch_Service["Amazon OpenSearch Service"]
  Amazon_OpenSearch_Service --> Amazon_Bedrock_Knowledge_Bases["Amazon Bedrock Knowledge Bases"]
  Amazon_Bedrock_Knowledge_Bases --> Amazon_Nova_Micro["Amazon Nova Micro"]
  Amazon_Bedrock_Knowledge_Bases --> Claude_Sonnet["Claude Sonnet"]
  Amazon_Nova_Micro --> Threat_investigation_workflow["Threat investigation workflow"]
  Claude_Sonnet --> Threat_investigation_workflow
  Threat_investigation_workflow --> Custom_ML_models["Custom ML models"]
  Custom_ML_models --> Threat_investigation_workflow
  Threat_investigation_workflow --> Risk_scoring["Risk scoring"]
  Risk_scoring --> Trellix_Wise_dashboard["Trellix Wise dashboard"]
  Threat_investigation_workflow --> Trellix_Wise_dashboard
  Trellix_Wise_dashboard --> Security_analysts["Security analysts"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Security events Event data collected from monitored environments and used as investigation input. Amazon OpenSearch Service
Amazon OpenSearch Service Stores billions of events and provides vector database context for RAG. Amazon Bedrock Knowledge Bases
Amazon Bedrock Knowledge Bases Connects OpenSearch context data to model calls in the RAG architecture. Amazon Nova Micro, Claude Sonnet
Amazon Nova Micro Fast, low-cost model used for repeated data-collection inferences. Threat investigation workflow
Claude Sonnet Primary higher-capability model retained for workflow stages needing stronger accuracy. Threat investigation workflow
Threat investigation workflow Coordinates retrieval, model inference, custom ML insights, and risk scoring for each event. Custom ML models, Risk scoring, Trellix Wise dashboard
Custom ML models Provide additional analysis signals during investigation. Threat investigation workflow
Risk scoring Assigns a risk score to each event after automated analysis. Trellix Wise dashboard
Trellix Wise dashboard Presents investigation results so analysts can decide whether follow-up is needed. Security analysts
Security analysts Review risk scores and investigation results for human follow-up decisions. —

Data flow

Security events are stored in OpenSearch Service, retrieved as RAG context through Bedrock Knowledge Bases, collected through one or more Bedrock inference calls, analyzed with custom ML insights, scored for risk, and shown in the Trellix Wise dashboard so analysts can decide whether human follow-up is necessary.

3 supporting quotes
“The platform uses the Amazon OpenSearch Service stores billions of security events collected from the environments monitored.”article, stated
“Using OpenSearch Service and Amazon Bedrock, Trellix Wise carries out its automated, proprietary threat investigation steps on each event.”article, stated
“This includes retrieval of required data for analysis, analysis of the data using insights from other custom-built machine learning (ML) models, and risk scoring.”article, stated

Why this architecture

Trellix split the workflow by task requirements: RAG grounds the security investigation, Claude Sonnet remains available as the primary model, and Nova Micro handles the data-collection stage where multiple cheaper, faster passes can improve completeness at lower cost. A custom test harness and phased pilot reduce risk before broader production rollout.

3 supporting quotes
“The Trellix team has determined not all stages in the investigation need the accuracy of Claude Sonnet, and that some stages can benefit from faster, lower cost models”article, stated
“running multiple passes enables getting to a more exhaustive response-set.”article, stated
“A test harness replicating the information gathering workflows was set up and detailed evaluations of multiple models were carried out”article, stated

Models used: Anthropic Claude Sonnet · Amazon Nova Micro · Amazon Nova Lite

Scale

Alternatives considered (roads not taken)

Use Claude Sonnet for all stages

Rejected because: Some investigation stages did not need Claude Sonnet's accuracy and could benefit from faster, lower-cost models.

“not all stages in the investigation need the accuracy of Claude Sonnet, and that some stages can benefit from faster, lower cost models”article, stated

Rely on a single small-model inference for data collection

Rejected because: Multiple Nova Micro passes improve data coverage while still reducing cost.

“Although the model responses had a higher variability than the larger models, running multiple passes enables getting to a more exhaustive response-set.”article, stated

Evaluate models using only standardized benchmarks

Rejected because: Trellix judged that standardized benchmarks were insufficient for their specific investigation workflow.

“The team realized early in their generative AI journey that standardized benchmarks are not sufficient when evaluating models for a specific use case.”article, stated

Immediate broad production rollout

Rejected because: The approach was deployed first in a limited pilot with detailed evaluations during phased rollout.

“The approach is now deployed in a limited pilot environment. Detailed evaluations are being carried out as part of a phased roll-out into production.”article, stated

Patterns

model-routing (model-operations)

Trellix assigns different workflow stages to Claude Sonnet or Amazon Nova Micro based on capability, speed, and cost requirements.

“The Trellix team identified areas where Amazon Nova Micro can complement their use of Anthropic’s Claude Sonnet, delivering lower costs and higher overall speeds.”article, stated

cost-aware-routing (model-operations)

The data collection stage runs multiple cheaper Nova Micro inferences to reduce overall investigation cost.

“by running multiple inferences, you can maximize the coverage of required data and still lower costs by a factor of 30.”article, stated

rag-retrieval (retrieval)

OpenSearch vector data is used as context for Bedrock Knowledge Bases in the threat investigation workflow.

“making it straightforward to use data stored in OpenSearch Service as context data in a Retrieval Augmented Generation (RAG) architecture with Amazon Bedrock Knowledge Bases.”article, stated

eval-driven-development (quality)

Trellix used a workflow-specific test harness to evaluate response completeness, cost, and speed before rollout.

“Before implementing the approach, the Trellix team carried out detailed testing to review the response completeness, cost, and speed.”article, stated

safety-policy-enforcement (safety)

Prompt engineering and reference-data scaffolding constrain Nova Micro responses to limit hallucinations.

“The response limitations enforced through proprietary prompt engineering and reference data constrain the response space, limiting hallucinations and inaccuracies in the response.”article, stated

canary-rollout (deployment)

The new multi-model approach is deployed in a limited pilot before phased production rollout.

“The approach is now deployed in a limited pilot environment. Detailed evaluations are being carried out as part of a phased roll-out into production.”article, stated

Tradeoffs

Use multiple Nova Micro passes instead of one Claude Sonnet call for data collection.

Chose Repeated small-model inferences over Single larger-model inference.

Rationale: Multiple Nova Micro calls improve coverage while lowering cost and increasing speed.

“Its speed allows it to process 3-5 inferences in the same time as a single Claude Sonnet inference and it’s cost per inference is almost 100 times lower.”article, stated

Optimize the data-collection stage separately from the rest of the investigation workflow.

Chose Stage-specific model strategy over One-model-for-all-stages architecture.

Rationale: The data-collection stage was the optimal place to optimize speed and cost.

“The Trellix team identified this stage as the optimal stage in the workflow to optimize for speed and cost.”article, stated

Use custom workflow evaluation instead of relying on standardized benchmarks.

Chose Use-case-specific test harness over Standardized benchmark-only evaluation.

Rationale: The team needed to validate completeness, cost, and speed for their actual information-gathering workflow.

“A test harness replicating the information gathering workflows was set up and detailed evaluations of multiple models were carried out”article, stated

Limit rollout before full production adoption.

Chose Limited pilot and phased rollout over Immediate broad production rollout.

Rationale: The team wanted continued detailed evaluation before wider production deployment.

“The approach is now deployed in a limited pilot environment. Detailed evaluations are being carried out as part of a phased roll-out into production.”article, stated

Gotchas (what bit them)

The most capable model is not always the most cost-effective choice.

Root cause: Different investigation stages have different accuracy, cost, and latency requirements.

Resolution: Route cheaper Nova Micro to the data-collection stage while retaining Claude Sonnet where needed.

“not all stages in the investigation need the accuracy of Claude Sonnet, and that some stages can benefit from faster, lower cost models”article, stated

Smaller-model responses were more variable.

Root cause: Nova Micro had higher variability than larger models in Trellix's evaluations.

Resolution: Run multiple passes to produce a more exhaustive response set.

“Although the model responses had a higher variability than the larger models, running multiple passes enables getting to a more exhaustive response-set.”article, stated

Generic model benchmarks did not capture production workflow fit.

Root cause: The target use case had specific information-gathering requirements.

Resolution: Build a test harness replicating Trellix's information-gathering workflows.

“standardized benchmarks are not sufficient when evaluating models for a specific use case. A test harness replicating the information gathering workflows was set up”article, stated

Completeness and hallucination risk pull in opposite directions during retrieval data collection.

Root cause: The data-collection stage must maximize required data while minimizing inaccurate model output.

Resolution: Constrain responses with proprietary prompt engineering and reference data.

“The priority in this stage is to maximize completeness of the retrieval data and minimize inaccuracy (hallucinations).”article, stated

Evaluation

Trellix built a test harness that reproduced its information-gathering workflows and measured response completeness, cost, and inference speed before limited pilot deployment.

Metrics: Response completeness · Cost per inference · Speed of inference · 3-5 Nova Micro inferences per single Claude Sonnet inference time · Almost 100x lower cost per inference · 30x lower data-collection cost

“Before implementing the approach, the Trellix team carried out detailed testing to review the response completeness, cost, and speed.”article, stated
“A test harness replicating the information gathering workflows was set up and detailed evaluations of multiple models were carried out”article, stated

Outcomes

Trellix Wise serves a cybersecurity platform for over 53,000 customers, stores billions of security events in OpenSearch Service, and targets investigations that previously took multiple analysts hours but can now complete in seconds.

3 supporting quotes
“In early evaluations, the Trellix team observed that Amazon Nova Micro delivered inferences three times faster and at nearly 100-fold lower cost.”article, stated
“by running multiple inferences, you can maximize the coverage of required data and still lower costs by a factor of 30.”article, stated
“The approach is now deployed in a limited pilot environment. Detailed evaluations are being carried out as part of a phased roll-out into production.”article, stated