paper-with-me

Papers

TrainVerify: Equivalence-Based Verification for Distributed LLM Training

2025-06-19 · Yunchi Lu, Youshan Miao, Cheng Tan, Peng Huang, Yi Zhu, Xian Zhang, Fan Yang

Training large language models (LLMs) at scale requires parallel execution across thousands of devices, incurring enormous computational costs. Yet, these costly distributed trainings are rarely verified, leaving them prone to silent errors and potentially wasting millions of GPU hours. We introduce TrainVerify, a system for verifiable distributed training of LLMs. Given a deep learning model's logical specification as the ground truth, TrainVerify formally verifies that a distributed parallel execution plan is mathematically equivalent to it. Direct verification is notoriously difficult due to the sheer scale of LLMs which often involves billions of variables and highly intricate computation graphs. Therefore, TrainVerify introduces shape-reduction techniques and a stage-wise parallel verification algorithm that significantly reduces complexity while preserving formal correctness. TrainVerify scales to frontier LLMs, including the successful verification of the Llama3 (405B) and DeepSeek-V3 (671B) training plans.

📄 PDF Abstract BibTeX arXiv:2506.15961

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

Improving LLM Code Reasoning via Semantic Equivalence Self-Play with Formal Verification

2026-04-18 · Antonio Valerio Miceli Barone, Poon Tsz Nok arxiv

We introduce a self-play framework for semantic equivalence in Haskell, utilizing formal verification to guide adversarial training between a generator and an evaluator. The framework leverages Liquid Haskell proofs for …

Geometric Path Enumeration for Equivalence Verification of Neural Networks

2021-12-13 · Samuel Teuber, Marko Kleine Büning, Philipp Kern, Carsten Sinz

As neural networks (NNs) are increasingly introduced into safety-critical domains, there is a growing need to formally verify NNs before deployment. In this work we focus on the formal verification problem of NN equivale…

Revisiting Differential Verification: Equivalence Verification with Confidence

2024-10-26 · Samuel Teuber, Philipp Kern, Marvin Janzen, Bernhard Beckert

When validated neural networks (NNs) are pruned (and retrained) before deployment, it is desirable to prove that the new NN behaves equivalently to the (original) reference NN. To this end, our paper revisits the idea of…

Beyond Solver Verdicts: Generative Reward Models for Autoformalization

2026-09-10 · Vikash Singh, Debargha Ganguly, Aman Goel, Ali Torkamani 외 hf

Neurosymbolic systems rely on mathematical solvers to guarantee reasoning correctness, yet solvers are fundamentally blind to whether a formal translation maintains strict reference-equivalence to a designated formalizat…

Strong Equivalence for LPMLN Programs

2019-09-18 · Joohyung Lee, Man Luo

LPMLN is a probabilistic extension of answer set programs with the weight scheme adapted from Markov Logic. We study the concept of strong equivalence in LPMLN, which is a useful mathematical tool for simplifying a part …