Manuscript Offprint

arXiv:2610.29212

DetM-Tracker: Deterministic and Memory-Efficient VIS for Autonomous Industrial Inspection

You-Rui Lin, Jen-Chieh Wu, Tzu-Ti Wei, Jen-Jee Chen, Yu-Chee Tseng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Autonomous industrial inspection requires strictly deterministic real-time inference under tight memory and computational constraints. However, existing Video Instance Segmentation (VIS) models suffer from prohibitive scaling: dense temporal memory grows with spatial resolution and sequence length, while fixed-capacity decoders fail to exploit the inherent sparsity of industrial scenes, creating a practical memory wall on resource-constrained edge platforms. We present DetM-Tracker, a streamlined VIS framework for autonomous industrial inspection, where target objects often exhibit highly similar appearance under constrained “micro” fields of view. DetM-Tracker eliminates architectural redundancy through three synergistic components: (1) Compact Scalar Memory, which condenses high-dimensional instance features into four-scalar descriptors, reducing temporal memory complexity from O(T⋅N⋅R)O(T \cdot N \cdot R) to O(T⋅N^)O(T \cdot \hat{N}). This mechanism effectively compresses frame-level representations into a bank of active instances, where R denotes resolution, N and N^\hat{N} represent global and window-specific instance counts, respectively and T the temporal window size; and (2) Dynamic Instance Channels, which adaptively allocate query capacity according to the actual number of visible objects; and (3) Entropy-Gated Skip Connection, which concentrates computational budget on high-uncertainty spatial regions to refine object boundaries in a single forward pass without auxiliary refinement heads. By replacing dense temporal buffers with uncertainty-aware sparse representations, DetM-Tracker achieves accurate and deterministic long-horizon tracking while maintaining a strictly bounded hardware footprint. Our approach effectively bridges the gap between modern VIS models and the practical demands of industrial edge deployment, reducing inference latency by approximately 20×20\times and VRAM consumption by 6×6\times compared to state-of-the-art dense-feature baselines.

1 Introduction

Modern industrial tasks, such as server maintenance and automated assembly, demand deterministic latency and minimal memory footprints for long-horizon autonomous video inference. While recent foundation segmentation and tracking models [1,2][1, 2] offer powerful visual representations, many video instance segmentation (VIS) frameworks rely on dense temporal feature banks whose memory consumption grows with spatial resolution and sequence length, creating a practical memory wall that limits deployment on resource-constrained edge devices.

In this work, we study the VIS task for autonomous industrial inspection. Industrial scenes present unique challenges for VIS: (i) Identity Dilemma: unlike feature-rich natural objects (e.g., birds), industrial objects (e.g., Ethernet sockets) often exhibit highly similar appearance and are densely arranged in regular spatial patterns (e.g., arrays); and (ii) Micro Field of View: due to close-range observation, captured frames are often spatially localized and contain only partial views (e.g., local Preprint.

regions of tall server racks), limiting global spatial reasoning across the scene. Specifically, we formulate the tracking of Ethernet sockets on the rear panels of server racks as a VIS problem. These sockets are visually near-identical and arranged with fixed spatial relationships, requiring reliable instance association to depend more on stable spatial topology than on ambiguous appearance cues—a setting where conventional VIS frameworks often struggle.

To bridge this gap, we propose DetM-Tracker, a streamlined VIS framework that replaces heavy refinement with uncertainty-aware sparsity. Our contributions are:

Compact Scalar Memory: Unlike traditional VIS frameworks that rely on dense temporal feature banks whose memory footprint scales with spatial resolution [3], our Compact Scalar Memory distills identities into sparse descriptors. This reduces long-term tracking complexity to a resolution-invariant scale, ensuring stable ID maintenance.

Dynamic Instance Channels: An adaptive architecture that scales the query bank according to the actual object count. This allows handling high-cardinality arrays without proportional computational inflation by leveraging fixed spatial layouts [4, 5].

Entropy-Gated Skip Connection: Moving beyond uniform feature fusion [6] commonly used in Encoder-Decoder architectures, our method concentrates the computational budget on high-uncertainty regions. This gated integration prevents low-level noise from polluting confident interiors while achieving sharp mask boundaries.

References (14)

  • SAM 2: Segment Anything in Images and Videos
  • Associating objects with transformers for video object segmentation
  • Per-pixel classification is not all you need for semantic segmentation
  • Masked-attention mask transformer for universal image segmentation
  • U-net: Convolutional networks for biomedical image segmentation
  • End-to-end object detection with transformers
  • Pointrend: Image segmentation as rendering
  • Refinemask: Towards high-quality instance segmentation with fine-grained features
  • Swin-unet: Unet-like pure transformer for medical image segmentation
  • TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
  • Feature pyramid networks for object detection
  • SAM 3: Segment Anything with Concepts
  • Putting the object back into video object segmentation
  • Livos: Light video object segmentation with gated linear matching