Using Knowledge Awareness to Improve Safety of Autonomous Driving

Andrea Calvagna, Arabinda Ghosh, Sadegh Soudjani

Introduction

Traditional autonomous vehicle (AV) control systems typically operate on a rigid "perception-then-action" pipeline. In this paradigm, a symbolic controller waits for a perception module to provide a high-confidence label—such as "Stop Sign"—before initiating a corresponding maneuver. However, real-world sensing is frequently degraded by environmental factors like rain, distance, or poor lighting. These conditions often result in partial detections (e.g., a red octagonal shape) that the system cannot immediately classify. This delay in classification leads to late braking or missed stops, compromising passenger safety and ride comfort.

This paper presents a "Knowledge Awareness" framework that enables AVs to reason about incomplete sensor data. By integrating ontology-based knowledge with symbolic logic, the system can trigger early, proactive safety reactions based on semantic inferences rather than waiting for definitive object identification.

Methodology: From Ontology to Logic

The proposed architecture moves beyond reactive programming by incorporating a layered semantic reasoning process.

1. Ontology Modeling

The system utilizes the Web Ontology Language (OWL2) to construct a comprehensive knowledge base of traffic entities. This ontology defines:

  • Concepts: Categories such as signs, colors, and shapes.
  • Roles: Relationships between entities, such as hasColor or isSubClassOf.
  • Actions: Prescribed behaviors, such as slowDown or fullStop.

2. LTL Translation and Controller Synthesis

The core innovation is the automated translation of these ontological relationships into Linear Temporal Logic (LTL) formulas. For instance, if the ontology specifies that a "Yield Sign" is a subclass of "Sign" and all "Signs" necessitate a "Slow Down" action, the system generates a logic implication: sign ⟹ ○ slowDown.

These LTL formulas are processed using the TuLiP (Temporal Logic Planning) tool. Through Generalized Reactivity (GR(1)) synthesis, the driving task is modeled as a game between the vehicle and an adversarial environment. The result is a synthesized controller that guarantees safety specifications are met, even under uncertainty.

3. Early Reaction Logic

Unlike "perception trees" that require features to be detected in a specific order, the Knowledge Awareness approach allows the controller to reason about any combination of partial inputs. If the system detects a "red octagonal feature," it understands the semantic link to a "Stop Sign" and can initiate a "soft" deceleration immediately, rather than waiting for the perception module to confirm the object's identity.

Experimental Evaluation

The approach was evaluated using a simulated environment with 10,000 random trace profiles categorized into three scenarios:

  • Profile #1 (Linear Probability): Simulates clear weather where features appear gradually as the vehicle approaches.
  • Profile #2 (Random Initial Detection): Simulates sudden visibility where the first detection occurs at a random distance, followed by immediate detail.
  • Profile #3 (Intermittent Noise): Simulates sensor obstructions or noise where features appear at random intervals.

Results and Discussion

The Knowledge-Aware controller was compared against a standard Base controller (no semantic reasoning) and a Perception-tree controller.

Safety and Reliability

In the most challenging scenario (Profile #3), the Base controller failed to stop in 90% of cases due to late detection. The Perception-tree improved this slightly (80% failure), but the Knowledge-Aware controller reduced the failure rate to 50%. In Profile #2, the Knowledge-Aware controller achieved a 0% failure rate, whereas the Base controller missed the stop 65% of the time.

Deceleration Smoothness

Safety is not merely about stopping but about the quality of the maneuver. In Profile #1, the Knowledge-Aware controller initiated the smoothest possible deceleration ("Stop in 4") significantly more often than its counterparts, showing a 10% improvement in anticipation over the perception-tree model. This "progressive slow-down" reduces the risk of rear-end collisions and improves passenger comfort.

Conclusion and Future Work

The integration of semantic knowledge into the control loop allows autonomous vehicles to act intelligently on partial information. By shifting from "all-or-nothing" perception to "Knowledge Awareness," the system achieves earlier reactions and smoother transitions.

Future research will focus on scaling this approach to complex urban environments involving dynamic actors like pedestrians and other vehicles. Additionally, the authors suggest moving toward "online learning," where the vehicle can dynamically update its ontology and LTL rules based on real-world experience, further reducing the reliance on pre-defined static knowledge.

Summary updated

Abstract

We present a method, which incorporates knowledge awareness into the symbolic computation of discrete controllers for reactive cyber physical systems, to improve decision making about the unknown operating environment under uncertain/incomplete inputs. Assuming an abstract model of the system and the environment, we translate the knowledge awareness of the operating context into linear temporal logic formulas and incorporate them into the system specifications to synthesize a controller. The knowledge base is built upon an ontology model of the environment objects and behavioural rules, which includes also symbolic models of partial input features. The resulting symbolic controller support smoother, early reactions, which improves the security of the system over existing approaches based on incremental symbolic perception. A motion planning case study for an autonomous vehicle has been implemented to validate the approach, and presented results show significant improvements with respect to safety of state-of-the-art symbolic controllers for reactive systems.
BibTeX
@inproceedings{calvagna2023using,
  author = {Andrea Calvagna and Arabinda Ghosh and Sadegh Soudjani},
  title = {{Using Knowledge Awareness to Improve Safety of Autonomous Driving}},
  booktitle = {SMC},
  year = {2023},
  url = {https://openreview.net/forum?id=mIvZnH88PR},
}
Figure