nnTrace: Detecting and Localizing Silent Bugs in Distributed Training
Import NeurIPS 2026 submission AcEBYF0OfF: 10 notes
@openreview[bot] · 2026-11-22 17:54 UTC · 9462dc5b1e3d ·
reviews/openreview/acebyf0off/forms.json added
+++ b/reviews/openreview/acebyf0off/forms.json@@ -0,0 +1,227 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ },+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "quality",+ "clarity",+ "significance",+ "originality"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 6+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 5+ },+ {+ "key": "quality",+ "label": "Quality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "clarity",+ "label": "Clarity",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "significance",+ "label": "Significance",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "originality",+ "label": "Originality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "contribution_type",+ "label": "Contribution type",+ "type": "choice"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "strengths_and_weaknesses",+ "label": "Strengths and weaknesses",+ "type": "text"+ },+ {+ "key": "questions",+ "label": "Questions",+ "type": "text"+ },+ {+ "key": "limitations",+ "label": "Limitations",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ },+ {+ "key": "paper_formatting_concerns",+ "label": "Formatting concerns",+ "type": "text"+ },+ {+ "key": "ethical_concerns",+ "label": "Ethical concerns",+ "type": "choice"+ },+ {+ "key": "code_of_conduct_acknowledgement",+ "label": "Code of conduct",+ "hidden": true+ },+ {+ "key": "responsible_reviewing_acknowledgement",+ "label": "Responsible reviewing",+ "hidden": true+ }+ ]+ },+ "Rebuttal": {+ "label": "Rebuttal",+ "fields": [+ {+ "key": "rebuttal",+ "label": "Rebuttal",+ "type": "text"+ }+ ]+ },+ "Ethics_Review": {+ "label": "Ethics review",+ "fields": [+ {+ "key": "scope_of_ethics_concerns",+ "label": "Scope",+ "type": "choice"+ },+ {+ "key": "ethics_review",+ "label": "Ethics review",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/76aakbrvqp.json added
+++ b/reviews/openreview/acebyf0off/notes/76aakbrvqp.json@@ -0,0 +1,31 @@+{+ "schema": "review/1",+ "id": "76AakbRvqp",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 2p6R",+ "content": {+ "summary": "The paper presents a systematic differential testing system explicitly designed to detect and localize silent bugs in distributed Large Language Model (LLM) training frameworks.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengths:\n1) This method compresses a classic multi-hour debugging loop which requires waiting over 6+ hours into a single, automated execution pass lasting under 54 seconds.\n2) The introduction of module-wise input rewriting effectively truncates downstream error propagation. This is notably effective for Mixture-of-Experts (MoE) routing, keeping the reference and candidate aligned on inputs even when minor floating-point shifts trigger disparate token dispatches.\nWeaknesses: \n1) To establish clean logical tensor maps, the system requires a manual, developer-provided framework annotation layer",+ "quality": 3,+ "clarity": 4,+ "significance": 4,+ "originality": 4,+ "questions": "Modern compilation toolkits automatically change model sharding configurations dynamically mid-run. Since your system relies on fixed structural annotations, can nnTrace adapt to auto-parallelization engines (like nnScaler) where tensor shard allocations are not manually hardcoded by the developer?",+ "limitations": "Because it maps linear computation pathways over a single iteration, it cannot reliably catch non-deterministic runtime errors",+ "rating": 5,+ "confidence": 2,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "No",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes"+ },+ "createdAt": "2026-07-17T21:40:14.610Z",+ "modifiedAt": "2026-11-18T13:40:45.782Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=76AakbRvqp",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/lmcgyjp3nu.json added
+++ b/reviews/openreview/acebyf0off/notes/lmcgyjp3nu.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "LmcgYjP3nU",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer VGma",+ "content": {+ "summary": "The paper introduced nnTrace, a system to automate efficient detection of bugs in LLM distributed training techniques. nnTrace tackles the high cost of reproducing and fixing training bugs introduced by scalability techniques such as parallelism, memory, compute, and communication optimizations. The key insight is that these bugs manifest early in training as deviations in intermediate tensor values between the buggy optimized implementation and a correct reference implementation. Thus, nntrace automates fine-grained differential testing of the reference and buggy implementation to detect such deviations and localize to the error source. Evaluation demonstrates the practical value of nnTrace by reporting the effectiveness and efficiency in detecting 11 known bugs and 3 new bugs in the state-of-the-art Megatron-LM framework, leading to adoption into the framework's workflow.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "**Strengths**\n- Important problem: nnTrace is tackling a common modeling pain point since quality bugs in distributed training are often introduced by unavoidable scaling techniques. Thus, this paper is broadly valuable to the community. \n- Novelty: While the differential testing approach of nnTrace is is not novel, to my knowledge this is the first automation this workflow. I think is technically impressive that the authors have distilled key insights from differential testing into a tool with tolerable false positives/negatives. Along the way, they addressed multiple tricky issues (e.g., precision error tolerance, tensor sharding, etc.) with reasonable and well explained solutions\n- Usefulness: Differential testing is currently manual and error-prone, resulting in sparsely distributed expertise, and hard-to-reuse artifacts. By automating the process, nnTrace is simultaneously democratizing this critical capability, and hopefully inspiring a practical solution to a common source of AI project delays and failures.\n- Convincing evaluation: The evaluation clearly demonstrates the value of nnTrace for model developers. \n\n**Weaknesses**\n - Limited scope: nnTrace assumes the availability of a correct reference implementation, and thus appears unusable otherwise. I think this is critical limitation that should be more clearly articulated. In particular, I think the writing should quickly clarify that nnTrace is a differential testing optimization system to distinguish static or dynamic analysis of buggy implementations for errors. \n\n- False negatives claims: I find the false negatives claims in 5.4 a bit misleading, albeit the provided caveat. I think a testing approach by definition cannot make tangible claims about bugs that it missed.",+ "quality": 3,+ "clarity": 3,+ "significance": 4,+ "originality": 4,+ "questions": "**Clarification questions**\n- How do you align global batch size of the (single gpu) reference implementation with a data-parallel multi-gpu buggy implementation? Does the reference implementation use gradient accumulation?\n- Does nnTrace generalize to other optimization frameworks such as DeepSpeed and FSDP, or is it Megatron-LM specific?\n\n**Extension questions**\n- Could nnTrace be applied to inference?\n- Could nnTrace help improve unit tests?",+ "limitations": "See weaknesses",+ "rating": 5,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "No",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The is general consensus that nnTrace is a timely productivity tool for ML practitioners. The authors have committed to make the writing changes to address my concerns of appropriate scoping and claims."+ },+ "createdAt": "2026-06-26T14:30:03.500Z",+ "modifiedAt": "2026-11-18T13:40:47.134Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=LmcgYjP3nU",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/lt4msppwx5.json added
+++ b/reviews/openreview/acebyf0off/notes/lt4msppwx5.json@@ -0,0 +1,19 @@+{+ "schema": "review/1",+ "id": "Lt4MSpPwX5",+ "replyTo": null,+ "kind": "decision",+ "invitation": "Decision",+ "signature": "Program Chairs",+ "content": {+ "title": "Paper Decision",+ "decision": "Accept (spotlight)",+ "comment": "",+ "metareview": "The reviewers and I are positive about this paper. The paper addresses a critical and timely problem: silent bugs in distributed training frameworks, and provides a well-engineered, practically impactful solution that has been verified via Megatron-LM. The perturbation-based tolerance estimation is a novel and theoretically grounded approach, and the evaluation across diverse architectures and parallelization strategies is convincing.\n\nThe paper received consistently high ratings from four reviewers (5/5/5/4). In the rebuttal, the authors have provide adequate responses to the questions raised by the reviewers. Based on the review comments and my own judgement, I recommend accept (spotlight).",+ "final_justification": "The paper received consistently high ratings from four reviewers (5/5/5/4). In the rebuttal, the authors have provide adequate responses to the questions raised by the reviewers. Based on the review comments and my own judgement, I recommend accept (spotlight)."+ },+ "createdAt": "2026-09-24T11:22:15.812Z",+ "modifiedAt": "2026-11-18T14:56:02.204Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=Lt4MSpPwX5",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/mbkqzicnbg.json added
+++ b/reviews/openreview/acebyf0off/notes/mbkqzicnbg.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "MbKQzicNbg",+ "replyTo": "76AakbRvqp",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thanks for the positive feedback. We address each constructive comment in turn below.\n\n**Comment:**\n*\\[Weakness\\] To establish clean logical tensor maps, the system requires a manual, developer-provided framework annotation layer.*\n\n**Response:**\nAlthough we do require manual annotations,\nthese annotations are low effort; they are defined at module level and only requires several lines of code per module.\nMoreover, these annotations can be reused across different models containing the same modules.\nThus, the annotation effort is largely reusable rather than repeated for every model or test configuration.\n\n---\n\n**Comment:**\n*\\[Question\\] Modern compilation toolkits automatically change model sharding configurations dynamically mid-run. Since your system relies on fixed structural annotations, can nnTrace adapt to auto-parallelization engines (like nnScaler) where tensor shard allocations are not manually hardcoded by the developer?*\n\n**Response:**\nYes. nnTrace does not intrinsically require manual annotations.\nFor auto parallelization engines like nnScaler, they already encode the mapping of logical and physical tensors in their parallelization plans, like the pTensor and vTensor abstractions in nnScaler. Therefore nnTrace can adapt to those engines by obtaining the mapping directly from the parallelization plans.\n\n---\n\n**Comment:**\n*\\[Limitation\\] Because nnTrace maps linear computation pathways over a single iteration, it cannot reliably catch non-deterministic runtime errors*\n\n**Response:**\nWe agree that the current design primarily targets bugs that can be deterministicly reproduced, \nnondeterministic bugs such as race conditions and hardware failures like silent data corruption are out of scope."+ },+ "createdAt": "2026-07-26T22:53:07.991Z",+ "modifiedAt": "2026-11-18T17:17:47.537Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=MbKQzicNbg",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/mwildlfvu6.json added
+++ b/reviews/openreview/acebyf0off/notes/mwildlfvu6.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "MwildlFVu6",+ "replyTo": "whQefw0WCf",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thanks for the positive feedback and constructive questions.\n\n**Comment:**\n*\\[Weakness 1\\] Manual Annotation Overhead: To construct the canonical mapping that aligns distributed shards with the reference tensor, nnTrace requires user-provided annotations. While the authors claim this is lightweight, it still introduces a manual burden and a potential source of human error when mapping complex or novel parallelization strategies.*\n\n**Response:**\nAlthough we do require manual annotations,\nthese annotations are low effort; they are defined at module level and only requires several lines of code per module.\nMoreover, these annotations can be reused across different models containing the same modules.\nThus, the annotation effort is largely reusable rather than repeated for every model or test configuration.\nPlease see the response to Question 1 about the human errors in the annotations.\n\n---\n\n**Comment:**\n*\\[Question 1 and Meta Review Question 1\\] Could you provide more detail on the complexity of the manual annotations required for highly entangled parallelization strategies (e.g., combining Sequence Parallelism with Tensor Parallelism)? How prone is this annotation step to human error?*\n\n**Response:**\nThank you for this question. The annotation scheme is compositional: each parallelism strategy specifies the tensor dimension that it partitions, rather than requiring a separate annotation for every combination of strategies. For example, for modules combining tensor and sequence parallelism, the annotations remain concise:\n```yaml\nself_attention.linear_proj:\n output:\n sp_dim: 0 # sequence parallelism is on first dimension of output tensor\n\nmlp.linear_fc2:\n input:\n tp_dim: -1 # tensor parallelism is on last dimension of input tensor\n output:\n sp_dim: 0 # sequence parallelism is on first dimension of output tensor\n```\nThe paper also provides a combined-parallelism example in Appendix B.1.\n\nWe agree that manual annotation can introduce errors and may lead to incorrect mappings. In practice, most annotation errors are easy to identify because reconstructing the logical tensor produces an immediate shape mismatch.\nTherefore, we can run a quick test to catch potential annotation errors using tensors with distint dimensions to induce shape mismatch.\n\n---\n\n**Comment:**\n*\\[Weakness 2\\] Inability to Detect Nondeterministic Bugs: Because the system tests execution traces from a single training iteration, it is structurally unable to detect nondeterministic bugs that do not reliably reproduce within that single snapshot.*\n\n*\\[Meta Review Question 2\\] Could the authors clarify the scope boundary more explicitly in the paper and discuss potential extensions for nondeterministic bugs?*\n\n**Response:**\nWe agree that the current design primarily targets bugs that can be deterministicly reproduced, \nnondeterministic bugs such as race conditions and hardware failures like silent data corruption are out of scope.\nWe will state this scope boundary more explicitly in the revised manuscript.\n\nA possible extension is to repeat the same test under varied execution conditions to increase the probability of triggering nondeterministic failures by collecting many trajectories. Once such bug is triggered, nnTrace's existing localization mechanisms may still help identify the affected component.\n\n---\n\n**Comment:**\n*\\[Weakness 3\\] Overhead for Large Reference Models: For massive models where a single-device reference is impossible, nnTrace relies on a pipeline parallelism setup for the reference. This introduces device-to-host memory movement overheads, resulting in extended tracing times (e.g., over 22 minutes for a 671B model) compared to the highly optimized candidate implementations.*\n\n*\\[Meta Review Question 4\\] Could the authors discuss potential optimizations or whether this overhead is acceptable in the context of the debugging workflow it replaces?*\n\n**Response:**\nTypically the code path of the candidate implementation is independent of the tensor sizes in the training framework code, so the correctness of such framework code can be checked with a down-scaled model, avoiding running a large reference model altogether. \nIn the case where a large reference model must be run, nnTrace's tracing time, (22 minutes for 671B model) is still significantly less than the tens of hours in alternative debugging frameworks [1].\n\n[1] Lu, Y., Miao, Y., Tan, C., Huang, P., Zhu, Y., Zhang, X., & Yang, F. (2025, October). Trainverify: Equivalence-based verification for distributed llm training. In Proceedings of the ACM SIGOPS 31st Symposium on Operating Systems Principles (pp. 237-253).\n\n---\n\n**Comment:**\n*\\[Question 2\\] How does nnTrace handle stateful bugs that might not manifest as an immediate tensor anomaly in the first iteration, but rather corrupt the optimizer state (like momentum) subtly over several steps?*\n\n**Response:**\nThank you for this question. nnTrace is not inherently restricted to a single iteration; we use one iteration in our evaluation primarily for efficiency. The same tracing procedure can be applied over multiple consecutive iterations to compare gradient and parameter trajectories, allowing bugs whose effects accumulate over several optimizer steps to be detected.\nnnTrace also traces the optimizer update itself: it records the main gradients before the update and the parameters after the update. By providing consistent main gradients to the reference and candidate implementations, nnTrace isolates the optimizer behavior, so a corrupted optimizer state that affects the update will manifest as a discrepancy in the post-update parameters. This mechanism has already detected optimizer-update bugs, including Bugs 5 and 9 in Table 1.\n\n---\n\n**Comment:**\n*\\[Question 3\\] Are there theoretical or practical scenarios (e.g., highly discontinuous activation functions or heavily unconditioned custom kernels) where the perturbation response completely fails to act as a reliable proxy for internal round-off errors?*\n\n**Response:**\nTheoretically one can construct such cases to break the assumptions. \nHowever, in practice, such regimes are largely excluded: operators severely ill-conditioned would destabilize gradient-based optimization itself, while trainable architectures are deliberately well-conditioned (e.g., layer norm, residual connections), and the activation functions are continuous.\nFor operators whose implementation is not numerically stable, the perturbation response is not guaranteed to provide a reliable estimate. In such cases, an unusually large or unstable perturbation response may itself indicate problematic numerical implementation.\n\n---\n\n**Comment:**\n*\\[Question 4\\] The module-wise rewrite feature generates consistent logical tensors to decouple modules for fault localization. Does this mechanism introduce significant memory bottlenecks for the test environment when dealing with extremely large hidden dimensions or sequence lengths?*\n\n**Response:**\nNo. The module-wise rewrite functionality does not introduce additional memory bottlenecks because the module inputs are rewritten in place."+ },+ "createdAt": "2026-07-26T23:12:49.894Z",+ "modifiedAt": "2026-11-18T17:17:47.012Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=MwildlFVu6",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/okkmhe0xy7.json added
+++ b/reviews/openreview/acebyf0off/notes/okkmhe0xy7.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "OkKMhe0xY7",+ "replyTo": "ONVcdTO3aH",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thanks for the positive feedback and acknowledging the importance of the problem.\n\n**Comment:**\n*\\[Weakness 1\\] It seems the proposed system only works for deterministic bugs. It's unclear if the proposed system can capture non-deterministic concurrency bugs such as race conditions.*\n\n**Response:**\nWe agree that the current design primarily targets bugs that can be deterministicly reproduced, \nnondeterministic bugs such as race conditions and hardware failures like silent data corruption are out of scope.\nWe will state this scope boundary more explicitly in the revised manuscript.\n\n---\n\n**Comment:**\n*\\[Weakness 2\\] The system still requires users to manually provide lightweight sharding annotations for parameters and module inputs/outputs.*\n\n**Response:**\nAlthough we do require manual annotations,\nthese annotations are low effort; they are defined at module level and only requires several lines of code per module.\nMoreover, these annotations can be reused across different models containing the same modules.\nThus, the annotation effort is largely reusable rather than repeated for every model or test configuration."+ },+ "createdAt": "2026-07-26T23:02:48.751Z",+ "modifiedAt": "2026-11-18T17:17:46.707Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=OkKMhe0xY7",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/onvcdto3ah.json added
+++ b/reviews/openreview/acebyf0off/notes/onvcdto3ah.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "ONVcdTO3aH",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer FG1p",+ "content": {+ "summary": "This paper proposes a differential testing system designed to detect and localize silent bugs in distributed machine learning training pipelines within a single iteration. The system aligns fragmented tensor shards into canonical logical tensors for comparison against a trusted reference, dynamically estimating numerical tolerances via machine-epsilon-scale perturbations to distinguish genuine bugs from benign floating-point roundoff. Experiments show that nnTrace successfully identified 11 existing and 3 previously unknown silent bugs inside the widely used Megatron-LM framework.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "## Strengths\n1. The paper targets an important and timely problem. The proposed system detected 11 existing silent bugs and 3 previously unkonwn silent bugs across the widely used Megatron-LM and TransformerEngine frameworks.\n\n2. The empirical results are supported in solid mathematical error bounds derived for Pre-LN Transformers. \n\n3. Sgnificantly faster than traditional loss-curve divergence error detection. \n\n## Weaknesses\n\n1. It seems the proposed system only works for deterministic bugs. It's unclear if the proposed system can capture non-deterministic concurrecy bugs such as race conditions.\n\n2. The system still requires users to manually provide lightweight sharding annotations for parameters and module inputs/outputs.",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "Please see comments above.",+ "limitations": "yes",+ "rating": 5,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "none",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "This paper tackles an important problem with a practical, well-engineered solution. Despite its restriction to deterministic bugs and the requirement for manual sharding annotations, the system's ability to quickly and reliably localize silent errors across various architectures makes it a valuable contribution to the community. I maintain my original Accept rating."+ },+ "createdAt": "2026-06-23T20:17:54.138Z",+ "modifiedAt": "2026-11-18T13:40:48.698Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=ONVcdTO3aH",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/qnb3slydwl.json added
+++ b/reviews/openreview/acebyf0off/notes/qnb3slydwl.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "qnB3SlydWl",+ "replyTo": null,+ "kind": "meta_review",+ "invitation": "Meta_Review",+ "signature": "Area Chair RvYL",+ "content": {+ "metareview": "The reviewers and I are positive about this paper. The paper addresses a critical and timely problem: silent bugs in distributed training frameworks, and provides a well-engineered, practically impactful solution that has been verified via Megatron-LM. The perturbation-based tolerance estimation is a novel and theoretically grounded approach, and the evaluation across diverse architectures and parallelization strategies is convincing.\n\nThe paper received consistently high ratings from four reviewers (5/5/5/4). In the rebuttal, the authors have provide adequate responses to the questions raised by the reviewers. Based on the review comments and my own judgement, I recommend accept (spotlight)."+ },+ "createdAt": "2026-07-21T01:12:22.196Z",+ "modifiedAt": "2026-11-18T15:22:22.722Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=qnB3SlydWl",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/qsjr9aogwf.json added
+++ b/reviews/openreview/acebyf0off/notes/qsjr9aogwf.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "qSJR9aOGWf",+ "replyTo": "LmcgYjP3nU",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thanks for the positive feedback and acknowledging the novelty and usefulness of our work.\n\n**Comment:**\n*\\[Weakness 1\\] Limited scope: nnTrace assumes the availability of a correct reference implementation, and thus appears unusable otherwise. I think this is critical limitation that should be more clearly articulated. In particular, I think the writing should quickly clarify that nnTrace is a differential testing optimization system to distinguish static or dynamic analysis of buggy implementations for errors.*\n\n**Response:**\nThanks for the suggestion. We will clarify the scope explicitly in the revised manuscript.\n\n---\n\n**Comment:**\n*\\[Weakness 2\\] False negatives claims: I find the false negatives claims in 5.4 a bit misleading, albeit the provided caveat. I think a testing approach by definition cannot make tangible claims about bugs that it missed.*\n\n**Response:**\nThanks for the suggestion. we will revise the writing to make it clear that the false negative discussions in section 5.4 are not tangible claims, but are just speculations of potential failure modes of nnTrace.\n\n---\n\n**Comment:**\n*\\[Clarification Question 1\\] How do you align global batch size of the (single GPU) reference implementation with a data-parallel multi-GPU buggy implementation? Does the reference implementation use gradient accumulation?*\n\n**Response:**\nYes, the reference implementation uses gradient accumulation.\n\n---\n\n**Comment:**\n*\\[Clarification Question 2 and Meta Review Question 3\\] Does nnTrace generalize to other optimization frameworks such as DeepSpeed and FSDP, or is it Megatron-LM specific?*\n\n**Response:**\nnnTrace’s core methodology is framework-agnostic. The main integration requirement is establishing the shard mapping between distributed tensors and their logical full tensors. For FSDP or DeepSpeed, this mapping may be derived from framework-managed sharding metadata, potentially reducing the need for manual annotations. We have not yet evaluated these integrations.\n\n---\n\n**Comment:**\n*\\[Extension Question 1\\] Could nnTrace be applied to inference?*\n\n**Response:**\nYes. nnTrace methodology can be applied to inference. \nInference is the forward-only subset of what nnTrace already traces, so its canonical mapping, consistent tensor generation, and dynamic-tolerance comparison apply directly, without the gradient and optimizer machinery.\nFor serving engines like vLLM and SGLang, nnTrace cannot handle the bugs in scheduling or continuous batching logic.\n\n---\n\n**Comment:**\n*\\[Extension Question 2\\] Could nnTrace help improve unit tests?*\n\n**Response:**\nYes. Existing unit tests for numerical code rely on fixed `atol`/`rtol` thresholds, which produce spurious failures when set too strictly and fail to detect genuine bugs when set too loosely (Table 2). nnTrace's per-tensor dynamic tolerance can replace these fixed thresholds."+ },+ "createdAt": "2026-07-26T22:58:25.342Z",+ "modifiedAt": "2026-11-18T17:17:47.492Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=qSJR9aOGWf",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/notes/whqefw0wcf.json added
+++ b/reviews/openreview/acebyf0off/notes/whqefw0wcf.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "whQefw0WCf",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer PgQ3",+ "content": {+ "summary": "The paper introduces nnTrace, a systematic differential testing system designed to detect and localize silent bugs in distributed training frameworks. Because distributed training implementations are highly complex, they are prone to silent errors that do not crash the system but quietly degrade model quality. Instead of relying on slow, coarse-grained loss curve monitoring, nnTrace compares a distributed candidate run against a trusted reference implementation for a single training iteration. To handle the non-associative nature of floating-point arithmetic at native low precisions (e.g., BF16, FP8), nnTrace dynamically estimates a per-tensor numerical error tolerance using machine-epsilon-scale perturbations. If a discrepancy exceeds this tolerance, nnTrace employs module-wise input rewriting to isolate the fault and prevent error propagation, successfully localizing the bug. The authors evaluated nnTrace on Megatron-LM, detecting 14 silent bugs, including 3 previously unknown ones.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strength:\n* Practical and High-Impact Domain: The paper addresses a critical, time-consuming pain point in modern machine learning: debugging complex distributed training pipelines. \n* Novel Error Tolerance Estimation: The use of a perturbation-based proxy to empirically probe local numerical sensitivity and estimate dynamic, per-tensor tolerances at native precisions is a highly novel and theoretically grounded approach.\n* Precise Fault Localization: nnTrace's module-wise input rewriting effectively decouples modules, preventing errors from cascading and allowing for fine-grained localization at the PyTorch module level.\n* Solid Evaluation Across Architectures: The system was comprehensively evaluated across diverse, state-of-the-art model architectures (GPT, Llama, Mamba, MoE) and multiple parallelization strategies (TP, DP, PP, CP, SP).\n\n\nWeakness:\n* Manual Annotation Overhead: To construct the canonical mapping that aligns distributed shards with the reference tensor, nnTrace requires user-provided annotations. While the authors claim this is lightweight, it still introduces a manual burden and a potential source of human error when mapping complex or novel parallelization strategies.\n* Inability to Detect Nondeterministic Bugs: Because the system tests execution traces from a single training iteration, it is structurally unable to detect nondeterministic bugs [1, 2], that do not reliably reproduce within that single snapshot.\n* Overhead for Large Reference Models: For massive models where a single-device reference is impossible, nnTrace relies on a pipeline parallelism setup for the reference. This introduces device-to-host memory movement overheads, resulting in extended tracing times (e.g., over 22 minutes for a 671B model) compared to the highly optimized candidate implementations.\n\n[1] Pham, H. V., Qian, S., Wang, J., Lutellier, T., Rosenthal, J., Tan, L., ... & Nagappan, N. (2020, December). Problems and opportunities in training deep learning software systems: An analysis of variance. In Proceedings of the 35th IEEE/ACM international conference on automated software engineering (pp. 771-783).\n\n[2] Qian, S., Pham, V. H., Lutellier, T., Hu, Z., Kim, J., Tan, L., ... & Shah, S. (2021). Are my deep learning systems fair? An empirical study of fixed-seed training. Advances in Neural Information Processing Systems, 34, 30211-30227.",+ "quality": 3,+ "clarity": 4,+ "significance": 3,+ "originality": 3,+ "questions": "1. Could you provide more detail on the complexity of the manual annotations required for highly entangled parallelization strategies (e.g., combining Sequence Parallelism with Tensor Parallelism)? How prone is this annotation step to human error?\n\n2. How does nnTrace handle stateful bugs that might not manifest as an immediate tensor anomaly in the first iteration, but rather corrupt the optimizer state (like momentum) subtly over several steps?\n\n3. Are there theoretical or practical scenarios (e.g., highly discontinuous activation functions or heavily unconditioned custom kernels) where the perturbation response completely fails to act as a reliable proxy for internal round-off errors?\n\n4. The module-wise rewrite feature generates consistent logical tensors to decouple modules for fault localization. Does this mechanism introduce significant memory bottlenecks for the test environment when dealing with extremely large hidden dimensions or sequence lengths?",+ "limitations": "Yes",+ "rating": 4,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "No",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "Dear Authors, thank you for your rebuttals. I am happy to keep my positive assessment of this work.\n\nPlease discuss the limitations on the nondeterminism bugs and related work in the final version. Thanks!"+ },+ "createdAt": "2026-06-08T04:22:20.190Z",+ "modifiedAt": "2026-11-18T13:40:49.958Z",+ "url": "https://openreview.net/forum?id=AcEBYF0OfF¬eId=whQefw0WCf",+ "license": "CC-BY-4.0"+}
reviews/openreview/acebyf0off/submission.json added
+++ b/reviews/openreview/acebyf0off/submission.json@@ -0,0 +1,12 @@+{+ "schema": "submission/1",+ "id": "AcEBYF0OfF",+ "venue": {+ "id": "NeurIPS.cc/2026/Conference",+ "name": "NeurIPS 2026",+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"+ },+ "number": 18574,+ "url": "https://openreview.net/forum?id=AcEBYF0OfF",+ "license": "CC-BY-4.0"+}
versions/v_gqntpyud.json added
+++ b/versions/v_gqntpyud.json@@ -0,0 +1,22 @@+{+ "date": "2026-05-03",+ "kind": "submitted",+ "label": "NeurIPS 2026",+ "submissions": [+ {+ "venue": "NeurIPS 2026",+ "status": "accepted",+ "decision": "Accept (spotlight)",+ "number": 18574,+ "url": "https://openreview.net/forum?id=AcEBYF0OfF",+ "reviews": "openreview/acebyf0off",+ "evidence": [+ "https://openreview.net/forum?id=AcEBYF0OfF"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=AcEBYF0OfF",+ "evidence": [+ "https://openreview.net/forum?id=AcEBYF0OfF"+ ]+}