System and method for machine learning models for computer vision on devices
AssigneeSTMicroelectronics International N.V.
InventorsSudhakar SAH, Ehsan SABOORI, Honnesh ROHMETRA
Life of this patent
Estimating the term…
Loading patent…
AssigneeSTMicroelectronics International N.V.
InventorsSudhakar SAH, Ehsan SABOORI, Honnesh ROHMETRA
Estimating the term…
A system and method are provided for implementing transformer-based computer vision models on resource-constrained devices. An input image is divided into tokens, each corresponding to a patch. A background-aware vision transformer (BAViT) classifies tokens as foreground or background using a lightweight architecture without a class token and with a linear classifier for token-wise prediction. Training utilizes an accumulative cross entropy loss that aggregates token-level losses to improve accuracy. Tokens classified as background are pruned, thereby reducing computational complexity, runtime memory, and inference latency. Foreground tokens are processed in a downstream transformer-based object detection model, such as YOLOS, to generate detection outputs. The BAViT module operates as a pre-processing stage, facilitating integration with detection models without retraining. Configurations include BAViT-small with two transformer layers suitable for edge devices, supporting applications such as security and inventory tracking.
A method for computer vision on a device, the method comprising:
A device for performing computer vision, comprising:
Dependencies are inferred from the claim text.