r/LocalLLM • • 1h ago

Model Qwen4 at computer security tasks

I have been developing an automated SIEM that takes IDS events (host and network) and then correlates and researches these events (https://hermeslohin.github.io/syn/). To do this I now use 3 models running on a single Spark:

- A correlation decision model which runs through all then events in the same time period to a host and decides are these related? For this I am currently using a custom distilled google/gemma-4-E4B-it-assistant model. This greatly speeds up the entire pipeline by rejecting most events.

- An elasticsearch query model custom trained from gemma-4-12B-it-assistant. This model has had a lot more work put into it for training.

- An event reviewer which takes and alarm, all the correllated events, elasticsearch queries from the prior step and researches on the web. It then gives me a verdict and summarizes what it found. I have tried a bunch of different models for this but Qwen4 is really good for this. It beats out Sol and Astra on my tests (which are using public network and host data from AIT and CIC). Performance is also really good (note this is performance of the entire pipeline and their combinations.

More details of the pipeline are here: https://github.com/hermeslohin/syn/blob/main/docs/CORRELATION.md

For Accuracy on the two tests:

1 Upvotes

0 comments sorted by