WSymBert: A Weighted Neuro-Symbolic Attention Model for Interpretable CVSS Prediction
This paper introduces WSymBERT, a weighted neuro-symbolic attention model that combines contextual language understanding with structured expert knowledge to achieve highly accurate and interpretable automated prediction of CVSS v3.1 Base metrics, outperforming existing transformer baselines while aligning more closely with expert reasoning.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a security guard at a massive, chaotic airport. Every day, thousands of people (software vulnerabilities) arrive with luggage bags full of secrets. Your job is to quickly decide: "Is this person a low-risk traveler, or are they a dangerous threat that needs immediate attention?"
To do this, you use a standard scoring system called CVSS. It's like a traffic light system: Green (Low), Yellow (Medium), or Red (Critical). But here's the problem: There are too many travelers, and the experts who usually do the scoring are overwhelmed. They can't keep up, so many "dangerous" travelers sit in the holding area without a score for weeks. This leaves the airport vulnerable.
The Problem with Current AI
Scientists have tried to build robots (AI models) to help score these travelers.
- The Old Robots: They were like students who memorized flashcards. They looked for specific words like "hack" or "virus." If the word was there, they gave a high score. But they were easily tricked by fancy language that didn't actually mean danger.
- The New Robots (Transformers): These are smarter. They read the whole sentence and understand context. But they are like black boxes. You ask them, "Why did you give this a Red score?" and they just say, "Because my brain said so." They can't explain their reasoning, so security guards don't trust them.
The Solution: WSymBert (The "Expert-Guided" Robot)
The authors of this paper built a new robot called WSymBert. Think of it as a student with a mentor.
- The Student (The AI): It's a powerful language model (based on SBERT) that is great at reading and understanding human language.
- The Mentor (The Symbolic Knowledge): This is a set of strict rules and a checklist created by human security experts. It knows exactly what phrases mean what. For example, the mentor knows that "remote access" usually means a higher risk, while "local access" means a lower risk.
How they work together:
Instead of letting the student guess, the mentor whispers hints into the student's ear while it reads.
- If the text says "requires physical access," the mentor points to those words and says, "Hey, pay attention to this! This is a key clue."
- If the text says "no user interaction," the mentor highlights that too.
This creates a Weighted Attention system. The robot doesn't just look at the whole text; it is guided to focus on the specific words that experts care about.
The Results: Smarter and Clearer
The researchers tested this "Student-Mentor" team against other robots using two huge databases of real-world security reports.
- Accuracy: WSymBert got it right 96.2% of the time on average. It beat the other smart robots (like DistilBERT and SBERT) significantly.
- Handling the Hard Stuff: Some security reports are tricky or have very rare types of threats (imbalanced data). The other robots often got confused or ignored the rare cases. WSymBert, thanks to its expert mentor, stayed accurate even on these difficult cases.
- The "Why" Factor (Interpretability): This is the biggest win. When WSymBert gives a score, you can see exactly which words it focused on.
- Other Robots: Might highlight random words like "the," "and," or version numbers (e.g., "7.5.1") as important.
- WSymBert: Highlights meaningful security terms like "remote," "authenticated," or "denial of service."
The researchers measured this "noise" and found that WSymBert's explanations were much cleaner (less than 5% noise) compared to the others (over 30% noise). It's like the difference between a detective pointing at the smoking gun versus a detective pointing at a random shoe.
Summary
WSymBert is a new tool that automates the scoring of software vulnerabilities. It combines the reading power of advanced AI with the strict logic of human experts.
- It is faster than waiting for humans.
- It is more accurate than other AI tools.
- It is trustworthy because it can show you its work, proving it isn't just guessing but actually following expert rules.
This helps organizations fix their security holes faster because they know exactly which ones are the most dangerous, without having to wait for a human expert to manually grade every single one.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.