Systems and methods for efficient video instance segmentation for vehicles using edge computing
Abstract
A method for video instance segmentation is provided. The method includes inputting a plurality of video frames collected by a sensor of a vehicle to a trained machine learning model to obtain an n-th output from an n-th layer of the trained machine learning model and an n+1-st output from an n+1-st layer of the trained machine learning model, the trained machine learning model comprising a deep learning model and early-exit subnets, and in response to determining that a difference between the n-th output and the n+1-st output is less than a threshold value, controlling the vehicle based on the n+1-st output, the n+1-st output includes information about instances in the plurality of video frames.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method for video instance segmentation, the method comprising: inputting a plurality of video frames collected by a sensor of a vehicle to a trained machine learning model to obtain an n-th output from an n-th layer of the trained machine learning model and an n+1-st output from an n+1-st layer of the trained machine learning model, the trained machine learning model comprising a deep learning model and early-exit subnets; and in response to determining that a difference between the n-th output and the n+1-st output is less than a threshold value, controlling the vehicle based on the n+1-st output, the n+1-st output includes information about instances in the plurality of video frames.
- Claim 2Depends on #1
The method of claim 1, wherein the deep learning model is a transformer-based model, the n-th layer of the trained machine learning model is an n-th layer of the transformer-based model, and the n+1-st layer of the trained machine learning model is an n+1-st layer of the transformer-based model.
- Claim 3Depends on #1
The method of claim 1, further comprising: preprocessing video data collected by the sensor of the vehicle; and determining whether the plurality of video frames is the same as or greater than a threshold number; and in response to determining that the plurality of video frames is the same as or greater than a threshold number, inputting the plurality of video frames to the trained machine learning model.
- Claim 4Depends on #1
The method of claim 1, wherein each of the n-th output and the n+1-st output includes instance segmentation masks of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing boundaries of instance segmentation masks in the n-th output and boundaries of instance segmentation masks in the n+1-st output.
- Claim 5Depends on #1
The method of claim 1, wherein each of the n-th output and the n+1-st output includes instance segmentation of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing classified objects in the n-th output and classified objects in the n+1-st output.
- Claim 6Depends on #1
The method of claim 1, wherein each of the n-th output and the n+1-st output includes instance segmentation of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing pixels of instance segmentation masks in the n-th output and pixels of instance segmentation masks in the n+1-st output.
- Claim 7Depends on #1
The method of claim 1, further comprising: training an initial machine learning model to obtain the trained machine learning model by: training the deep learning model of the initial machine learning model using a training data set including a plurality of video frames as input and instance segmentation masks as output; and training the early-exit subnets of the initial machine learning model using a training data set including a plurality of video frames as input and instance segmentation masks as output.
- Claim 8Depends on #7
The method of claim 7, further comprising: optimizing the trained initial machine learning model by removing redundant or unnecessary layers or parameters of the trained initial machine learning model.
- Claim 9Independent Claim
A vehicle comprising: a sensor configured to collect a plurality of video frames; and a controller programmed to: input the plurality of video frames collected by the sensor to a trained machine learning model to obtain an n-th output from an n-th layer of the trained machine learning model and an n+1-st output from an n+1-st layer of the trained machine learning model, the trained machine learning model comprising a deep learning model and early-exit subnets; and in response to determining that a difference between the n-th output and the n+1-st output is less than a threshold value, control the vehicle based on the n+1-st output, the n+1-st output includes information about instances in the plurality of video frames.
- Claim 10Depends on #9
The vehicle of claim 9, wherein the deep learning model is a transformer-based model, the n-th layer of the trained machine learning model is an n-th layer of the transformer-based model, and the n+1-st layer of the trained machine learning model is an n+1-st layer of the transformer-based model.
- Claim 11Depends on #9
The vehicle of claim 9, wherein the controller is further programmed to: preprocess video data collected by the sensor; and determine whether the plurality of video frames is the same as or greater than a threshold number; and in response to determining that the plurality of video frames is the same as or greater than a threshold number, input the plurality of video frames to the trained machine learning model.
- Claim 12Depends on #9
The vehicle of claim 9, wherein each of the n-th output and the n+1-st output includes instance segmentation masks of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing boundaries of instance segmentation masks in the n-th output and boundaries of instance segmentation masks in the n+1-st output.
- Claim 13Depends on #9
The vehicle of claim 9, wherein each of the n-th output and the n+1-st output includes instance segmentation of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing classified objects in the n-th output and classified objects in the n+1-st output.
- Claim 14Depends on #9
The vehicle of claim 9, wherein each of the n-th output and the n+1-st output includes instance segmentation of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing pixels of instance segmentation masks in the n-th output and pixels of instance segmentation masks in the n+1-st output.
- Claim 15Depends on #9
The vehicle of claim 9, wherein the vehicle autonomously drives based on the n+1-st output.
- Claim 16Independent Claim
A system comprising: a server; and a vehicle comprising: a sensor configured to collect a plurality of video frames; and a processor programmed to: input the plurality of video frames collected by the sensor to a trained machine learning model to obtain an n-th output from an n-th layer of the trained machine learning model and an n+1-st output from an n+1-st layer of the trained machine learning model, the trained machine learning model comprising a deep learning model and early-exit subnets; and in response to determining that a difference between the n-th output and the n+1-st output is less than a threshold value, control the vehicle based on the n+1-st output, the n+1-st output includes information about instances in the plurality of video frames.
- Claim 17Depends on #16
The system of claim 16, wherein the server is further programmed to: train an initial machine learning model to obtain the trained machine learning model by: training the deep learning model of the initial machine learning model using a training data set including a plurality of video frames as input and instance segmentation masks as output; and training the early-exit subnets of the initial machine learning model using a training data set including a plurality of video frames as input and instance segmentation masks as output.
- Claim 18Depends on #16
The system of claim 16, wherein the server is programmed to: optimize the trained initial machine learning model by removing redundant or unnecessary layers or parameters of the trained initial machine learning model.
- Claim 19Depends on #16
The system of claim 16, wherein the deep learning model is a transformer-based model, the n-th layer of the trained machine learning model is an n-th layer of the transformer-based model, and the n+1-st layer of the trained machine learning model is an n+1-st layer of the transformer-based model.
- Claim 20Depends on #16
The system of claim 16, wherein each of the n-th output and the n+1-st output includes instance segmentation masks of the video frames, and the difference between the n-th output and the n+1-st output is determined by comparing boundaries of instance segmentation masks in the n-th output and boundaries of instance segmentation masks in the n+1-st output.
Technical Overview & Description
TECHNICAL FIELD The present disclosure relates to systems and methods for video instance segmentation, more specifically, to systems and methods for video instance segmentation using a machine learning model including early-exit subnets trained by an edge server. BACKGROUND In order to identify and/or classify objects by a vehicle, the vehicle processes images captured by the vehicle to identify any object in the captured image. Video-based solutions and image-based solutions may be used for identifying objects. Videos carry rich information including spatial information and temporal information compared to images. Video-based solutions exploit temporal information to improve existing approaches from image domain. Real-time video instance segmentation is crucial for connected vehicles to understand driving scenes. However, conventional models are not fast enough to process video data in real time because vehicles have constrained computing units and the size of videos is too big to send to a cloud server for further processing. Accordingly, a need exists for a system that allows vehicles to analyze video frames to obtain instance segmentation in real-time. SUMMARY The present disclosure provides systems and methods for video instance segmentation using a machine learning model including early-exit subnets trained by an edge server. In one embodiment, a method for video instance segmentation is provided. The method includes inputting a plurality of video frames collected by a sensor of a vehicle to a trained machine learning model to obtain an n-th output from an n-th layer of the trained machine learning model and an n+1-st output from an n+1-st layer of the trained machine learning model, the trained machine learning model comprising a deep learning model and early-exit subnets, and in response to determining that a difference between the n-th output and the n+1-st output is less than a threshold value, controlling the vehicle based on the n+1-st output, the n+1-st
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (13)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,299,997 B1 | Multi-attention machine learning for object detection and classification | 2025 | 1 |
Non-Patent Literature (10)
- Shaohua Wan, et al.,
- “
- Edge computing enabled video segmentation for real-time traffic monitoring in internet of vehicles,
- ”
- Journal Article; Pattern Recognition, vol. 121, No. 108146, Jan. 2022. URL: https://www.sciencedirect.com/science/article/abs/pii/S0031320321003332.
- Wangchunshu Zhou, et al.,
- “
- BERT Loses Patience: Fast and Robust Inference with Early Exit,
- ”
- Paper; 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, Canada. URL: https://proceedings.neurips.cc/paper/2020/file/d4dd111a4fd973394238aca5c05bebe3-Paper.pdf.