AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Summarizing Security Alerts on a Raspberry Pi, Part 2: Fine-Tuning and Evaluation

Part 2 of 2. This post covers fine-tuning and evaluation. Part 1 covers inference on the Raspberry Pi.OverviewSlips [1], our behavioral IDS, groups its detections into incidents. We want a small language model, running next to Slips on a Raspberry Pi 5, to explain each incident in a few clear lines without sending data to a cloud service. Part 1 describes the inference side: how an incident is turned into a compact text block (the DAG) that the model reads, and how the models run on the Pi.This post covers how we built the models. We fine-tuned three small open models, Qwen2.5-1.5B, Qwen3.5-0.8B and Qwen3-0.6B, with the same data and settings, exported them for the Pi, and measured their quality with an LLM judge. TL;DR:Fine-tuning works: it teaches the models to rewrite the alerts in plain language instead of copying them.How the trained adapter is merged into the model matters, and it does not matter in the same way for every model.At full precision Qwen2.5-1.5B is the best of the three, level with GPT-4o. Quantized for the Pi it loses most of that advantage, while Qwen3.5-0.8B loses almost nothing, which is why we run Qwen3.5-0.8B on the Pi.Dataset and TrainingThe dataset has 513 DAG-preprocessed incidents from real Slips sessions, each paired with a reference summary, split 90/10 into 461 training and 52 evaluation incidents. It is publicly available as stratosphere/immune-summary-sft-dataset [2] on Hugging Face.Rather than writing the reference summaries by hand, three models (GPT-4o, GPT-4o-mini and Qwen2.5-3B) each wrote a candidate summary for every incident. An LLM judge scored all three, and the best one was kept. This best-of-N strategy means the training signal comes from the best output available, not from an average, which raises the quality ceiling compared to using a single annotator.The pipeline is the same for the three models; only the base model changes: Introduction to Malware Binary Triage (IMBT) Course Looking to level up your skills? Get 10% off using coupon code: MWNEWS10 for any flavor. Enroll Now and Save 10%: Coupon Code MWNEWS10 Note: Affiliate link – your enrollment helps support this platform at no extra cost to you. <img alt="" height="240" src="https://images.squarespace-cdn.com/content/v1/5a01100f692ebe0459a1859f/30a075b5-a918-46a8-b668-b787fe82c60a/figure_1.png?format=1000w" width="2032" /> <p>Figure 1: The training pipeline, the same for the three models.</p> Training. We use QLoRA with Unsloth [3]: the base model is loaded in 4-bit and a LoRA adapter is trained on top (r=64, alpha 64, RSLoRA, learning rate 2e-5 with cosine schedule, 3 epochs, effective batch 16, loss on the answer only, maximum length 4,096 tokens). All three models use the same ChatML prompt format. For Qwen3.5-0.8B the adapter also covers the linear-attention projections, so all 24 layers are adapted. On an NVIDIA A40, training takes 7 minutes for Qwen3-0.6B and 13 minutes for Qwen3.5-0.8B.From Training Weights to a Pi-Deployable ModelMerging the adapter. To export a GGUF file, the adapter has to be merged into the base weights. The usual approach (the standard merge) adds it to the original 16-bit weights, but the adapter was trained against the 4-bit version of the model. The alternative (the dequantized or dq merge) adds it to the 4-bit weights converted back to 16-bit, which are exactly the weights seen during training. We evaluated both merges at full precision (bf16): <img alt="" height="364" src="https://images.squarespace-cdn.com/content/v1/5a01100f692ebe0459a1859f/8b516029-1ece-4414-be77-85eaf7e38135/table_1.png?format=1000w" width="1800" /> <p>Table 1: Summary score (out of 40) of each model at full precision (bf16) with the standard and the dequantized merge, 47 incidents.</p> The choice matters, and not in the same direction for every model. For Qwen2.5-1.5B the dequantized merge is clearly

Reference details

Source category
research-report
First reported
Nov 29, 2026 21:15 UTC
Last reported
Nov 29, 2026 21:15 UTC
Catalog updated
Nov 30, 2026 13:59 UTC
Record ID
2f477d794d10d83657e8519ce77b51dc95871b4a726a04d4845806f3d46108fc

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_f9879f264b7a8ec1d7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 29, 2026 21:15 UTC
Retrieved
Nov 30, 2026 13:59 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_f9879f264b7a8ec1d7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.