Skip to main content
Article
100%
HD

Imagine being a digital detective in a cybersecurity operations center. Your job is to track hackers and threats among millions of data streams flowing at lightning speed. To do this, you need to use a complex language called KQL. Writing these instructions is hard and requires years of study. But what if you could simply ask an AI: 'Find anyone who tried to access the system yesterday?' and it did all the heavy lifting for you?

A new study has discovered that you don't necessarily need a massive and expensive AI to achieve this. Scientists have shown that 'Small Language Models' (SLMs), which are smaller and lighter models, are incredibly good at translating our words into security code.

By using a special method that combines smart prompting and a two-stage system, these small models managed to write nearly perfect code. The advantage? They are much faster and cost up to ten times less than giants like GPT. This means companies can protect their data much more quickly and affordably, turning everyday language into a super-powerful digital shield.

Bonus
100%
HD

The research addresses the scalability issue in Security Operations Centers (SOCs). Currently, analysts must master complex query languages like Kusto Query Language (KQL) to analyze system logs. The problem is that using Large Language Models (LLMs) like GPT-4 for this task is extremely expensive in terms of tokens and latency.

The proposed framework is based on three pillars: 1) Error-aware prompting, which helps the model avoid common syntax errors; 2) Fine-tuning via LoRA (Low-Rank Adaptation) with rationale distillation, where a larger model 'teaches' the smaller model not just the answer, but also the logical reasoning (Chain-of-Thought); 3) A two-stage architecture where an SLM generates a query draft and a smaller LLM acts as a 'judge' to refine the result based on the data schema. The results show a syntax accuracy of 98.7%, proving that specialization and efficiency can outperform the brute force of general-purpose models.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Date Published:
Original Article arxiv.org
Fact-check verified on 18/08/2026 Primary Study / Original Source
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti