TL;DR
This paper proposes a hybrid approach to semantic segmentation for autonomous driving by combining deep neural networks with Probabilistic Soft Logic (PSL). By encoding human common-sense rules—such as "pedestrians are usually near sidewalks"—the authors significantly improve the robustness of environment perception against image distortions like fog, snow, and glare.
What Problem Does This Paper Address?
Deep neural networks (DNNs) are the industry standard for semantic segmentation, but they are notoriously brittle. A few pixels of noise or a change in weather can cause a DNN to make "hallucinations" that a human would find absurd—like identifying a tree as a walking pedestrian.
The core challenge is that DNNs learn primarily from low-level pixel correlations and often fail to capture high-level relational knowledge (e.g., the spatial relationship between a traffic light and a car). While humans use "common sense" to filter out implausible interpretations of a scene, teaching this to a purely data-driven model is difficult. The authors aim to bridge this gap by injecting symbolic, human-readable reasoning into the deep learning pipeline.
Methods
The researchers developed a framework that integrates a standard segmentation network with a reasoning layer based on Probabilistic Soft Logic (PSL).
- Low-Level Perception: They use ERFNet, a lightweight encoder-decoder network, to generate initial semantic segmentation masks. Simultaneously, MonoDepth2 is used to estimate depth information from the RGB input.
- Knowledge Representation: Instead of hard Boolean logic (True/False), PSL uses "soft" truth values in the interval [0, 1]. This allows the system to handle uncertainty. Rules are defined using first-order logic, such as:
- If an object is on a sidewalk and near a traffic signal, it is likely a pedestrian.
- Rule Weighting: Not all rules are equally important. The authors use a training set to learn weights for these rules, effectively "distilling" common sense from data. If a human-designed rule doesn't hold up in the data, its weight is minimized.
- Inference: During testing, the network's predictions serve as "priors" for the PSL framework. The system then performs optimization to find the most probable object classes that satisfy both the neural network's observations and the common-sense rules.
Datasets
The study utilizes the A2D2 (Audi Autonomous Driving Dataset), which contains high-resolution images of urban traffic scenes. For evaluation, the authors simplified the original labels into 13 functional classes.
To test robustness, they applied a suite of image corruptions (brightness, fog, frost, and snow) at five levels of severity, simulating the adverse conditions an autonomous vehicle might face in the real world.
Key Insights and Ideas
- Relational Reasoning is Robust: While a neural network's performance plummets when pixels are obscured by fog or frost, the relationships between objects (e.g., a pedestrian standing on a sidewalk) remain logically consistent.
- Interpretable Safety: Unlike "black-box" DNNs, the PSL rules are human-readable. This allows engineers to audit the system's reasoning and manually adjust weights for safety-critical scenarios, such as protecting vulnerable road users.
- The "Oracle" Shortcut: To focus strictly on the reasoning aspect, the authors used an "oracle" (ground truth data) to identify object entities. This allowed them to prove that if we can identify objects, common-sense reasoning significantly stabilizes the final classification.
Key Results
The experiments demonstrated that the PSL reasoning layer acts as a powerful stabilizer:
- Stability Under Corruption: In tests with "frost" corruption, the neural network's average score for identifying traffic signals dropped significantly as severity increased. However, the combined "Network + Rules" approach remained remarkably stable, maintaining high accuracy even when the visual input was heavily degraded.
- Histogram Shifts: The authors observed that for the "Pedestrian" class, the neural network alone often produced very low confidence scores under corruption. The PSL rules successfully pushed these scores back toward the correct classification by leveraging spatial context.
Limitations and Future Work
- Entity Extraction: The current study relies on an "oracle" to extract object entities from the scene. In a real-world deployment, this would need to be replaced by a potentially unreliable automated object detector or LIDAR system.
- Temporal Consistency: The current model reasons on a frame-by-frame basis. The authors suggest that adding temporal rules (e.g., "a pedestrian shouldn't suddenly vanish between two frames") would further enhance reliability.
- Scalability: The initial rule set is relatively small. Expanding this to cover more complex interactions and a wider variety of objects is a necessary next step for full-scale autonomous driving.
Summary updated