mlsanityData to 14 Oct 2026

TorchTraceAP: A New Benchmark Dataset for Detecting Performance Anti-Patterns in Computer Vision Models

arXiv 2512.14141 ↗First posted 16 Dec 2025cs.CV cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Identifying and addressing performance anti-patterns in machine learning (ML) models is critical for efficient training and inference, but it typically demands deep expertise spanning system infrastructure, ML models and kernel development. While large tech companies rely on dedicated ML infrastructure engineers to analyze torch traces and benchmarks, such resource-intensive workflows are largely inaccessible to computer vision researchers in general. Among the challenges, pinpointing problematic trace segments within lengthy execution traces remains the most time-consuming task, and is difficult to automate with current ML models, including LLMs. In this work, we present the first benchmark dataset specifically designed to evaluate and improve ML models' ability to detect anti patterns in traces. Our dataset contains over 600 PyTorch traces from diverse computer vision models classification, detection, segmentation, and generation collected across multiple hardware platforms. We also propose a novel iterative approach: a lightweight ML model first detects trace segments with anti patterns, followed by a large language model (LLM) for fine grained classification and targeted feedback. Experimental results demonstrate that our method significantly outperforms unsupervised clustering and rule based statistical techniques for detecting anti pattern regions. Our method also effectively compensates LLM's limited context length and reasoning inefficiencies.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 55 references that are in the map. First posted on arXiv 16 Dec 2025.

Builds on

39 of 55 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  9. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  10. 2023Segment Anythingcited by 8,234
  11. 2020End-to-End Object Detection with Transformerscited by 7,414
  12. 2022Generative Adversarial Networkscited by 5,627
27 more
  1. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  4. 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,270
  5. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  6. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
  7. 2021Vision Transformers for Dense Predictioncited by 1,803
  8. 2024Depth Anything V2cited by 1,422
  9. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  10. 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,133
  11. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  12. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  13. 2023ZoeDepth: Zero-shot Transfer by Combining Relative and Metric Depthcited by 657
  14. 2018Real-world Anomaly Detection in Surveillance Videoscited by 577
  15. 2024Understanding the planning of LLM agents: A surveycited by 421
  16. 2021Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learningcited by 230
  17. 2018Unsupervised Anomaly Detection via Variational Auto-Encoder for Seasonal KPIs in Web Applicationscited by 224
  18. 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
  19. 2022Deep Learning for Time Series Anomaly Detection: A Surveycited by 131
  20. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 107
  21. 2020A Background-Agnostic Framework with Adversarial Training for Abnormal Event Detection in Videocited by 86
  22. 2023Delving into CLIP latent space for Video Anomaly Recognitioncited by 27
  23. 2024Deep Learning for Video Anomaly Detection: A Reviewcited by 27
  24. 2016A Discriminative Framework for Anomaly Detection in Large Videoscited by 25
  25. 2021Deep Anomaly Discovery From Unlabeled Videos via Normality Advantage and Self-Paced Refinementcited by 21
  26. 2024Video Anomaly Detection in 10 Years: A Survey and Outlookcited by 18
  27. 2021Weakly Supervised Temporal Anomaly Segmentation with Dynamic Time Warpingcited by 7

Built on by

Not cited yet.