← Latest papers
💻 computer science

TVR: Automotive System Requirement Traceability Validation and Recovery Through Retrieval-Augmented Generation

This paper introduces TVR, a Retrieval-Augmented Generation (RAG) approach leveraging Large Language Models to validate existing and recover missing traceability links between stakeholder and system requirements in automotive software development, demonstrating high accuracy and practical effectiveness in industrial settings.

Original authors: Feifei Niu, Rongqi Pan, Lionel C. Briand, Hanyang Hu

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

Original authors: Feifei Niu, Rongqi Pan, Lionel C. Briand, Hanyang Hu

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 you are building a massive, high-tech car. This car isn't just metal and rubber; it's a complex brain made of thousands of software instructions. To make sure this brain works safely, engineers write two types of "to-do lists":

  1. The "Big Picture" List (Stakeholder Requirements): Written by the people who want the car to work (drivers, regulators, mechanics). It says things like, "If the car loses contact with the engine computer, we need a warning light."
  2. The "Technical Blueprint" List (System Requirements): Written by the engineers who actually build the software. It says things like, "If MESSAGE_1 is missing for 5 cycles, turn on DTC_001."

The Problem: The Broken Chain
In a perfect world, every item on the "Big Picture" list would be perfectly matched to a specific item on the "Technical Blueprint" list. This matching is called traceability. It's like a chain of paperclips connecting the two lists.

However, in the real world, this chain often breaks.

  • Sometimes, a change is made to the "Big Picture" list, but the engineers forget to update the "Technical Blueprint."
  • Sometimes, a human makes a mistake and connects the wrong items.
  • Sometimes, items are missing entirely.

If these chains are broken, the car might not warn the driver when something is wrong, or it might warn them when nothing is wrong. This is dangerous and expensive to fix later.

The Old Way vs. The New Way
Previously, engineers had to manually check every single paperclip connection. It was slow, boring, and prone to human error.

Some computer programs tried to help by looking for similar words. If the "Big Picture" list said "engine" and the "Blueprint" said "engine," they connected them. But this is like trying to match a recipe to a grocery list just by looking for the word "flour." It's too simple. The technical lists use very specific, jargon-heavy language that looks different from the big-picture lists, even when they mean the same thing.

The Solution: TVR (The Smart Matchmaker)
The paper introduces a new tool called TVR (Traceability Validation and Recovery). Think of TVR as a super-smart, experienced librarian who uses a special technique called RAG (Retrieval-Augmented Generation).

Here is how TVR works, using a simple analogy:

1. The "Show Me, Don't Just Tell Me" Approach

Imagine you are teaching a new intern how to spot a fake ID.

  • The Old Way (Zero-Shot): You just say, "Here is an ID. Tell me if it's real or fake." The intern guesses and gets it wrong because they don't know the rules.
  • The New Way (TVR/RAG): Before asking the intern to judge the new ID, you pull out a stack of past examples from a filing cabinet. You say, "Look at these 3 examples where we said 'Real' and these 3 where we said 'Fake'. Notice how the font looks in the 'Real' ones? Now, look at this new ID. Based on those examples, is it real or fake?"

TVR does exactly this with Large Language Models (AI). Instead of just asking the AI "Is this link correct?", it first retrieves similar examples of correct and incorrect links from the company's history. It shows these examples to the AI to "teach" it the specific patterns of this car company before it makes a decision.

2. What TVR Actually Does

The paper tested TVR on real automotive data involving Diagnostic Trouble Codes (DTCs)—these are the error codes that pop up on your dashboard (like "Check Engine").

  • Validation (Checking the Chain): TVR looks at existing connections between the "Big Picture" and "Technical" lists and says, "Yes, this link is correct," or "No, this link is broken."
    • Result: It got this right 98.87% of the time.
  • Recovery (Finding Missing Links): TVR looks at items that aren't connected yet and asks, "Hey, these two actually belong together, even though no one linked them yet."
    • Result: It found missing links with 85.50% accuracy.
  • Robustness (Handling New Styles): Sometimes engineers write requirements in slightly different ways (like using different words for the same thing). TVR was tested on these "unseen" variations and still got it right 97.13% of the time.

3. Why This Matters

The paper claims that TVR is a practical tool for the automotive industry.

  • It saves time by automating the tedious checking of thousands of connections.
  • It explains why it made a decision (e.g., "I said 'No' because the technical list didn't mention the specific message the big picture list asked for").
  • It handles the messy, jargon-filled reality of car software better than older methods.

In Summary
The paper presents TVR as a highly accurate, AI-powered assistant that acts like a seasoned expert. Instead of guessing, it looks at past examples of what "correct" and "incorrect" connections look like in the automotive world, then uses that knowledge to fix broken chains and find missing ones in car software requirements. The result is safer, more consistent, and less error-prone car software.

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 →