Close-Following Detection With Multi-Task Vision and Vehicle Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems struggle to accurately identify close following of vehicles, which is crucial for preventing crashes and ensuring safe driving distances, particularly for heavy vehicles that require more stopping time and space.
Innovation Solution
A multi-task machine learning model is trained using a joint loss function to aggregate the losses of multiple prediction heads, including a close-following classifier, camera obstruction detection, lane detection, object detection, and distance estimation, to classify images and vehicle speed for edge device deployment.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a single-task classifier is used for close following detection, then the device complexity is low, but the measurement precision is insufficient
Solution Approach 1:
The patent implements a multi-task learning framework where a single neural network performs multiple detection functions simultaneously: close following detection, camera obstruction detection, lane detection, object detection, and distance estimation. This multi-functional approach improves detection accuracy across all tasks while avoiding the need for separate classifier models for each function.
Solution Approach 2:
The patent combines multiple independent detection tasks into a unified neural network architecture with shared backbone features. The joint loss function aggregates losses from all prediction heads, merging the training process of multiple classifiers into a single optimized model that leverages common features across tasks.
2Measurement precision
If multiple independent classifiers are used for different detection tasks, then the measurement precision for each task improves, but the device complexity increases
Solution Approach 1:
The neural network is designed as a universal detector that handles multiple detection tasks (close following, obstruction, lane, object, distance) within a single model structure. This eliminates the need for deploying multiple independent classifiers, reducing system complexity while maintaining high detection accuracy through shared feature extraction.
Solution Approach 2:
While the model is unified, it segments different detection functions into separate prediction heads that branch from the shared backbone. This segmentation allows each task to have specialized processing while benefiting from common feature representation, balancing specialization with overall system efficiency.
3Loss of information
If traditional single-task models are used, then the training process is simple, but the loss of information across multiple detection tasks increases
Solution Approach 1:
The patent merges multiple task-specific loss functions into a single joint loss function that aggregates information from all detection tasks. This unified loss function ensures that the model learns features beneficial for all tasks simultaneously, preventing information loss that would occur with separate training processes while maintaining manageable training complexity through a cohesive optimization framework.
Solution Approach 2:
The shared backbone network in the multi-task model learns universal features that are beneficial across all detection tasks. This feature sharing reduces information loss by ensuring that learned representations are optimized for multiple purposes, while the joint training process maintains simplicity through unified gradient descent optimization.
Data Source
AI summary
Described are embodiments for training and using a close following classifier. In the example embodiments, a system includes a backbone network configured to receive an image; and at least one prediction head communicatively coupled to the backbone network, the at least one prediction head configured to receive an output from the backbone network, wherein the at least one prediction head includes a classifier configured to classify the image as including a close-following event, the classifier receiving the output of the backbone network and a vehicle speed as inputs.


