Perspective November 27, 2026 · 12 min Read

Anomaly detection in manufacturing: A coach for your factory floor

This article is part of a broader DXC series on cycle-time anomaly detection in manufacturing. It describes a focused experiment in predictive visual monitoring: what we tried, what the data showed and why more capable video models could eventually help distinguish unusual motion from acceptable variation.

SB
Stoyan Boyukliyski

Data Science Manager, DXC Technology

Inside DXC’s security operations center.

In Brief

  • A healthy manufacturing cycle does not need to follow exactly the same movement every time. As robots become more autonomous and adjust their motion in real time based on what they sense, their paths increasingly vary from cycle to cycle, even when the result stays within specification. Therefore, motion monitoring needs to evolve together with newer Physical AI technology, moving from deterministic rules to holistic scene understanding and soft flagging of anomalies.
  • Central to the text is a simple metaphor: a robot is to a tracking system what a player is to a coach. As robots become more and more autonomous, their movements become more organic and unpredictable. Tracking systems need to keep up by becoming more intelligent and by understanding general patterns and complex relationships rather than tracking objects and parsing those detections for further processing.
  • This article traces an engineering progression from YOLO-based trackers to CoTracker point tracking and then to prediction in a learned visual representation inspired by newer research in World Models. It is based on our experience with vision tracking and anomaly detection and how this has been shifting with newer research in Physical AI.
  • Finally, we discuss how we built a compact predictive vision system as a proof of concept to test how anomaly detection in manufacturing could work with a latent-space prediction model. Trained only on camera footage of healthy cycles, it learns normal process motion, predicts the next visual representation from recent frames and compares that prediction with what the camera actually observes. Where the two diverge, the prediction error reveals where and when the movement departed from normal.

Why manufacturers need smarter visual anomaly detection

Many methods for visual anomaly detection currently exist. They vary in intelligence and capabilities. Some rely on extensive predefined deterministic logic, while others aim to create full visual autonomy and combine it with other modalities. 

For industrial tracking, anomaly detection and motion tracking, several things are of utmost importance: speed, accuracy, reliability and safety. Any autonomous system needs low latency and high accuracy to be integrated into mission-critical operations. As vision technology already exists, we will start by looking at the current methods for dealing with practical trackers and detectors, starting from more deterministic and moving towards more intelligent deep learning-based systems:

  • Many fully algorithmic systems exist and are still used in industry. They take information from sophisticated cameras and parse it to trigger alarms and provide product information. These methods rely on statistical analysis of captured sensory data to trigger alarms and deliver real-time feedback to operators.
  • The next level includes the very popular CNN-based detectors that became widely adopted in the past 10 years. In specialized industrial settings, they often require supervised training, a large dataset collected upfront and substantial labeling effort, which increases implementation costs and delays ROI. This can make industrial vision projects more expensive and less universal across sites, but the trackers provide exceptional speed and high accuracy when customized for a particular industrial dataset.
  • Some vision-based methods, such as YOLO-World, use open-vocabulary detection, while vision-to-text methods can provide image descriptions. Compared with a task-specific CNN detector, these broader approaches can involve higher inference latency and lower accuracy on narrowly defined industrial tasks, depending on the model and deployment. They can still be combined with lighter trackers or deterministic systems.
  • Modern multimodal LLMs can also be used for full image description and automated systems. They typically have strong vision-based capabilities and reasoning, and some can even integrate video modalities. However, their compute overhead and cost can make them a poor fit for latency-sensitive industrial tracking and anomaly-detection applications.
  • Models such as Jev and other lightweight, structured-decision models are another interesting choice for industrial automation. Jev now supports experimental image inputs and can return structured predictions, such as anomaly flags or defect categories, rather than relying on lengthy generated descriptions. Their suitability for a specific industrial task would still need to be evaluated.
  • The most interesting models, which inspired this blog post, are World Models. These emerging model families learn from video, images and other sensory data to represent how physical scenes evolve and predict what may happen next. World-model architectures can also connect prediction with action: Meta's V-JEPA 2-AC uses action-conditioned prediction for robotic planning, while NVIDIA's Cosmos 3 supports world prediction and action generation in one model. These approaches overlap with vision-language-action systems that guide robots. Recent foundation-scale research, particularly Meta's JEPA work and NVIDIA's Cosmos models, is among the first major efforts explicitly focused on generalizable prediction and reasoning about physical-world dynamics from visual observations. However, these research directions are still developing. We could not identify an off-the-shelf world model suitable for our industrial anomaly-detection task. Of the available research models, V-JEPA 2 was the only one we would have considered testing further; the available Cosmos models did not fit this specific use case.
The Question that matters

How can manufacturers distinguish a genuine anomaly from acceptable variation in robotic movement?

From YOLO tracking to bespoke training

Our aim was to track cyclical industrial movement in different robotic cells. We aimed to minimize labeling and collection costs, to reduce training costs as much as possible and to keep the overall operational costs as low as possible (low memory footprint, edge GPU inference with as many models as possible fitting on a single GPU).

YOLO Trackers 

Initially, we focused on CNN-based tracking for key points and objects in a scene, but the lack of distinctive features in the scenes, the many overlaps and the need for supervision led us to look for other methods.

CoTracker3

The next phase was to integrate Meta’s CoTracker2 (and later CoTracker3). This could have avoided task-specific training and left inference as the main model cost. We built a full Kubernetes deployment for CoTracker3, available upon request; however, we could not implement it successfully on the target industrial scenes.

Figure 1 illustrates how we built the CoTracker3 engine for cycle-time anomaly detection. We isolate cycle starts and ends, save those cycles in caches and then run CoTracker on each cycle to extract points of interest for the scene. This method is potent because it relies on a single model without fine-tuning. 

Figure 1: CoTracker3 Inference Architecture. There are a several strong engineering results here. We would be happy to collaborate with other teams on this work.

However, the approach did not succeed. The main limitations we encountered with CoTracker were:

  1. The point tracking in industrial settings was not sufficient for our tasks. We couldn’t rely on the base checkpoints, and training was challenging.

  1. Although the model was relatively small, its footprint for real-time inference was large. We reached 30 FPS per GPU (L4), but only after parallelizing the pipeline, which took a long time, and we still faced practical latency limits at higher frame rates.

  1. We still had to implement an anomaly detector after the point tracking. This was difficult and required additional parsing and correlation analysis.  

Bespoke latent-space predictor

Therefore, we moved to the third and final stage: training a bespoke predictor. Instead of detecting points, we used a ViT encoder (DINOv2) on the video stream and predicted the next embedding in latent space.

This required training a small bespoke network, but gave us more control over training, inference and model outputs. The steps were:

  1. Collect cyclical data from a location and isolate healthy cycles.
  2. Extract embeddings for each cycle using DINOv2.
  3. Train a model that takes n embeddings and predicts embedding n+1, together with two positional encodings (dissipated energy and time).
  4. During inference, use the recent embeddings and positional encodings to predict the next embedding, then compare it with the observed embedding to obtain patch-level and global CLS errors.
  5. Use statistical information from training and inference cycles to test for phase, global CLS and patch-specific errors. Figure 2 shows an example of the resulting outputs.
Image alt
Figure 2: The picture shows the results of a successful anomaly detection run at a specific site with (1) a heatmap showing individual patch errors; (2) cycle offsets, both in terms of time and energy dissipated; (3) how the cycle phase compares to training runs;(4) patch error distribution; (5) RMSE CLS error; (6) MAE CLS error; (7) current patch errors against historic distributions

The bespoke network went through many exploratory training runs. The architectures included LSTM-based stages, NEPA-inspired and tri-spatial transformer variants, and TimeSformer-style spatiotemporal predictors with and without kinematic residuals. 

Figure 3 maps these components and the alternatives considered. The experiments were not a controlled benchmark; the final model comparison is described in the next section.

Image alt
Figure 3: Component and architecture map of the experiments, including earlier approaches that were later set aside. The final test centered on predicting visual embeddings from a sequence of previous embeddings and inspecting residual errors. The diagram is not evidence that every component was operational or validated in one end-to-end production system.

Experimental results – oscillatory system

We tested the bespoke predictor on a fixed-camera view of a rail carrying a car door toward a robotic station. In the abnormal cycle, the rail approached too quickly, oscillated as it stopped, and delayed the handover. The test was whether a model trained on healthy cycles would register this movement in its prediction errors. The delays varied as did the precise timing of the cycles.

Dataset and test footage

After alignment and filtering, the dataset contained 26 healthy clips for training, two for validation and one held-out oscillatory test clip. Figure 4 compares the healthy cycles through a PCA projection of their visual representations. This was a small, carefully curated dataset, not a sample of the full range of healthy operation.

Figure 4: PCA projection of visual information from 26 selected healthy cycles. Their aligned motion patterns are similar, but not identical; the plot shows only a projection of the multidimensional representations.

Architectures and training runs

The technical report describes five main architectural approaches, from a flattened L2/LSTM model and NEPA-inspired transformer designs to a tri-spatial transformer, a TimeSformer and a kinematic-residual TimeSformer. Its ranking table lists eight training runs. The final two candidates were TimeSformerSPT (219 epochs; reported validation value 0.09403) and KinematicTimeSFormerSPT (216 epochs; 0.10074). These are validation values for prediction, not anomaly-detection accuracy figures.

Metrics and diagnostic tests

The models predicted the next DINOv2 representation and were evaluated against the observed frame embedding using patch-level L2 and global CLS errors, alongside motion-phase predictions. In the plotted results, the time- and content-phase predictions each correlated with their corresponding targets at approximately r = +0.999. Prediction error also correlated strongly with frame velocity (r = +0.960): the models often undershot the magnitude of fast motion.

Testing the oscillatory cycle

On the held-out oscillatory clip, the TimeSformer detected the rail oscillation in its prediction-error signal. The time and content phases were also well defined, consistent with the phase-prediction results. The kinematic model did not isolate the event as clearly, despite a comparable validation value. In this narrow sense, the test was successful: the event of interest was detected, and the cycle phases were captured. However, normal high-velocity segments also generated substantial prediction errors. Patch-level, joint-distribution and time-series statistical checks did not yet establish a reliable automated alert threshold.

Figure 5 shows the detected oscillation alongside the background error caused by otherwise normal fast movements. With one held-out abnormal clip, the test did not establish a false-alarm rate, recall or robustness across other cycles or sites.

Figure 5: Inference visualization for the oscillatory test clip. TimeSformer shows a visible but modest prediction-error response during rail oscillation and delayed handover. Normal fast movements also produce substantial residual errors, limiting reliable automated decisions.

The selected architecture for this proof of concept was TimeSformerSPT: a spatio-temporal transformer using successive temporal and spatial attention layers to predict the next DINOv2 embedding. Of the two finalists, it provided the clearer anomaly signal in this test. The result supports the approach, but the predictor was neither a production-ready anomaly detector nor a trained world model.

Developing a dependable detector from a small bespoke model would require substantially more training data, experimentation and fine-tuning, particularly to cover healthy high-velocity motion. For DXC, a more feasible next step would be to explore integrating and evaluating existing pretrained models from the JEPA family, rather than continuing extensive bespoke-model experimentation. That integration was not part of this experiment. We invite researchers and companies to review the work, discuss the findings and collaborate on taking the idea forward.

Explore Physical AI with DXC

See how DXC applies Physical AI across robots, machines and industrial environments to help turn AI innovation into practical operational outcomes.


alt 2

Stoyan Boyukliyski is a Data Science Manager at DXC Technology and a DXC Master Tech Honouree. Stoyan leads machine learning and data science projects focused on computer vision. His main areas of interest are Computer Vision, Spatial and Geospatial AI and Digital Twins. He focuses on applications in the AEC, manufacturing and automotive sectors.