paper-with-me

Papers

TTrace: Lightweight Error Checking and Diagnosis for Distributed Training

2025-06-10 · Haitian Jiang, Shaowei Zhu, Zhen Zhang, Zhenyu Song, Xinwei Fu, Zhen Jia, Yida Wang, Jinyang Li

Distributed training is essential for scaling the training of large neural network models, such as large language models (LLMs), across thousands of GPUs. However, the complexity of distributed training programs makes them particularly prone to silent bugs, which do not produce explicit error signal but lead to incorrect training outcome. Effectively detecting and localizing such silent bugs in distributed training is challenging. Common debugging practice using metrics like training loss or gradient norm curves can be inefficient and ineffective. Additionally, obtaining intermediate tensor values and determining whether they are correct during silent bug localization is difficult, particularly in the context of low-precision training. To address those challenges, we design and implement TTrace, the first system capable of detecting and localizing silent bugs in distributed training. TTrace collects intermediate tensors from distributing training in a fine-grained manner and compares them against those from a trusted single-device reference implementation. To properly compare the floating-point values in the tensors, we propose novel mathematical analysis that provides a guideline for setting thresholds, enabling TTrace to distinguish bug-induced errors from floating-point round-off errors. Experimental results demonstrate that TTrace effectively detects 11 existing bugs and 3 new bugs in the widely used Megatron-LM framework, while requiring fewer than 10 lines of code change. TTrace is effective in various training recipes, including low-precision recipes involving BF16 and FP8.

📄 PDF Abstract BibTeX arXiv:2506.09280

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AgentTrace: Causal Graph Tracing for Root Cause Analysis in Deployed Multi-Agent Systems

2026-03-16 · Zhaohui Geoffrey Wang arxiv

As multi-agent AI systems are increasingly deployed in real-world settings - from automated customer support to DevOps remediation - failures become harder to diagnose due to cascading effects, hidden dependencies, and l…

LogitTrace: Detecting Benchmark Contamination via Layerwise Logit Trajectories

2025-09-25 · Zirui He, Haiyan Zhao, Yingcong Li, Ali Payani 외 arxiv

Large language models (LLMs) are commonly evaluated on challenging benchmarks such as AIME and Math500, where benchmark contamination can make memorized solutions appear as genuine reasoning. Existing detection methods l…

EventTracer: Fast Path Tracing-based Event Stream Rendering

2025-08-25 · Zhenyang Li, Xiaoyang Bai, Jinfan Lu, Pengfei Shen 외 arxiv

Simulating event streams from 3D scenes has become a common practice in event-based vision research, as it meets the demand for large-scale, high temporal frequency data without setting up expensive hardware devices or u…

Event-based visionAutonomous Driving

ChatTracer: Large Language Model Powered Real-time Bluetooth Device Tracking System

2024-03-28 · Qijun Wang, Shichen Zhang, Kunzhe Song, Huacheng Zeng

Large language models (LLMs) have transformed the way we interact with cyber technologies. In this paper, we study the possibility of connecting LLM with wireless sensor networks (WSN). A successful design will not only …

Language ModelingLanguage ModellingLarge Language Model

ConceptTracer: Interactive Analysis of Concept Saliency and Selectivity in Neural Representations

2026-04-08 · Ricardo Knauer, Andre Beinrucker, Erik Rodner arxiv

Neural networks deliver impressive predictive performance across a variety of tasks, but they are often opaque in their decision-making processes. Despite a growing interest in mechanistic interpretability, tools for sys…