← Latest papers
💻 computer science

When to Trust the Map: Confidence-Aware LLM Routing for Automotive CVE-to-ATM Mapping

This paper proposes a confidence-aware LLM routing framework that reformulates automotive CVE-to-ATM mapping as a selective automation problem, using hierarchical in-context learning and calibrated confidence scores to route mappings into auto-confirmable, review, or hold categories, thereby significantly improving precision over zero-shot baselines while isolating uncertain cases for analyst review.

Original authors: Heeyun Heo, Sangmin Park, Huy Kang Kim, Sanghoon Jeon

Published 2026-07-22
📖 5 min read🧠 Deep dive

Original authors: Heeyun Heo, Sangmin Park, Huy Kang Kim, Sanghoon Jeon

Original paper licensed under CC BY 4.0 (http://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 the digital world as a massive, bustling city where every car is now a smart device, constantly talking to the cloud, other cars, and even the traffic lights. Just like any city, this digital metropolis has its share of troublemakers trying to break in, steal data, or cause chaos. To keep everyone safe, security experts use two different "languages" to describe these threats. One language, called CVEs, is like a mechanic's technical manual; it lists exactly which bolt is loose or which wire is frayed. The other language, called ATM (Automotive Threat Matrix), is more like a detective's playbook; it describes how a criminal thinks, what their goals are, and the specific tricks they use to commit a crime.

The problem is that these two languages don't speak to each other very well. A mechanic's note about a broken wire doesn't automatically tell a detective, "Ah, this is a 'Remote Code Execution' tactic!" If we try to translate them automatically using Artificial Intelligence (AI), the AI might get confused, mix up the clues, or confidently invent a crime that never happened. In the world of self-driving cars, a wrong guess isn't just a typo; it could mean a car gets hacked or a safety system fails to activate. So, the big question isn't just "Can AI translate these threats?" but "Can we trust the AI enough to let it decide on its own, or do we need a human to double-check the work?"

This is where the paper "When to Trust the Map" steps in. The researchers, working with a team from Korea University and Kookmin University, decided to stop asking the AI to just "guess and check." Instead, they built a smart system that acts like a confidence-aware traffic cop. They realized that while AI is great at generating ideas, it often suffers from "hallucinations"—making things up with total confidence. To fix this, they created a framework that doesn't just output a list of threats; it assigns a confidence score to every single suggestion, essentially asking the AI, "How sure are you about this?"

Here is how their system works, using a playful analogy: Imagine the AI is a junior detective trying to solve a case. Instead of letting the detective run wild, the system puts them through a rigorous training camp. First, the detective looks at a library of past solved cases (called "in-context learning") to find similar patterns. Then, the system doesn't just take the detective's word for it. It sends the case to a second detective (a "judge" AI) who only looks at the raw evidence—the actual text of the security report—without knowing what the first detective guessed. This second detective checks if the clues actually support the theory.

The system then combines these two voices: the first detective's consistency (did they guess the same thing multiple times?) and the second detective's evidence check (does the text actually say this?). These signals are fed into a "meta-model," which is like a wise old chief of police. The chief calculates a final confidence score (a number between 0 and 1) for every single threat suggestion. Based on this score, the system sorts every suggestion into one of three bins:

  1. AUTO (The Green Light): If the confidence score is very high (above 0.74 in their best mode), the system says, "This is solid! We can trust this automatically." In their tests, when the system was this confident, it was right 87.8% of the time. That's more than double the accuracy of just guessing randomly or using older, simpler AI methods.
  2. REVIEW (The Yellow Light): If the score is in the middle, the system says, "This looks interesting, but I'm not 100% sure. Let's show this to a human expert." This ensures that tricky or ambiguous cases get the human attention they need.
  3. HOLD (The Red Light): If the score is very low, the system says, "I have no idea, and the evidence is weak. Put this on hold." In their tests, every single case the system put in the "HOLD" bin was indeed incorrect, proving the system knows when not to guess.

The researchers tested this on a dataset of 269 real automotive security reports (CVEs) that had been carefully labeled by human experts. They found that their "confidence-aware" approach was much better at filtering out bad guesses than a standard AI that just tries to answer the question directly. By separating the "sure things" from the "maybe things," they showed that we can automate a lot of the dangerous work without losing safety.

The paper explicitly argues against the idea that we can just rely on a single AI model to do this job perfectly on its own. They found that without this extra layer of checking and confidence scoring, AI models are too prone to errors and "hallucinations" to be trusted in safety-critical environments like cars. They also ruled out the idea that simply asking the AI to repeat the answer multiple times (consistency) is enough; you also need that second "judge" to check the actual evidence.

In short, this paper suggests that we don't need to choose between human safety and AI speed. Instead, we can build a system that knows its own limits. It acts like a smart filter, letting the AI handle the easy, obvious threats automatically while flagging the confusing ones for human experts. This "selective automation" could help car manufacturers update their safety plans faster and more accurately, ensuring that when a new vulnerability is discovered, the right countermeasures are applied without the risk of the AI getting it wrong. The results, measured on their specific test set, show a clear path forward: a framework where the AI says, "I'm confident enough to drive this part of the car," while the human stays in the driver's seat for the rest.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →