mlsanityData to 24 Nov 2026

NCCL-BOT: Closing the Loop on NCCL's Cost Model with Online Bandits

arXiv 2611.11303 ↗Submitted 8 Nov 2026cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

NCCL picks an algorithm-protocol pair for every collective from an analytic cost model (AUTO) that never sees a measured latency. The model is a strong prior but a brittle final decision: priced on forced-arm runs, its choice is exact on most contexts and badly wrong in a few. We built NCCL-BOT, a tuner plugin that closes the loop: a per-context bandit, warm-started from the model, learns from measured latencies. We replay a forced-arm H100 sweep, tuned at 4-8 nodes and scored at 16-32, and price the model's choice on the same forced arms; that sweep has no stock-NCCL run. The bandit cuts the contexts where the model's choice loses more than 10% from 19 to 1 (p99 103% to 9.9%, mean 6.1% to 1.6%; p=0.047 over nine scenarios after Holm correction). The prior and continued learning both matter: cold-started bandits, and committing after one probe of each arm, lose more on the mean in every scenario. Supervised selectors fit once on the same data and tuned with the same budget match the mean, and their heavier tail is not significant (7 against 1 contexts above 10%, p=0.06); at seen scales they match or beat online selection. With hyperparameters frozen from H100, UCB1 cuts AUTO's p99 from 60% to 23% and from 56% to 15% on two GB200 fabrics, but its contexts above 10% go from 16 to 8 on one and from 10 to 13 on the other, and scenario-level tests do not separate the two. Live, on two latency-emulated node sets of one H100 system with one run per policy, the learners repair most of a gross AUTO error on one (selection loss 31% to 6-8% for deterministic Greedy and UCB1; average all-reduce bandwidth 1.18-1.24x stock) but average 0.94-0.99x stock on the other, and on both lose to stock below 1 MiB (on the first through plugin overhead); on H100 the cost model is exact there offline, so small sizes can be left to it. We do not show a net end-to-end win.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 19 of its 64 references that are in the map. Submitted 8 Nov 2026.

Builds on

19 of 64 references.

References · 19

  1. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,616
  2. 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 889
  3. 2019Introduction to Multi-Armed Banditscited by 490
  4. 2015Practical Bayesian model evaluation using leave-one-out cross-validation and WAICcited by 117
  5. 2021Non-stationary Reinforcement Learning without Prior Knowledge: An Optimal Black-box Approachcited by 102
  6. 2014Algorithms for multi-armed bandit problemscited by 66
  7. 2016Conservative Banditscited by 66
  8. 2018Nearly Optimal Adaptive Procedure with Change Detection for Piecewise-Stationary Banditcited by 52
  9. 2017A Change-Detection based Framework for Piecewise-stationary Multi-Armed Bandit Problemcited by 51
  10. 2021TACCL: Guiding Collective Algorithm Synthesis using Communication Sketchescited by 41
  11. 2020Online Learning with Imperfect Hintscited by 40
  12. 2025Demystifying NCCL: An In-depth Analysis of GPU Communication Protocols and Algorithmscited by 27
7 more
  1. 2019Warm-starting Contextual Bandits: Robustly Combining Supervised and Bandit Feedbackcited by 26
  2. 2013An efficient algorithm for learning with semi-bandit feedbackcited by 22
  3. 2025MSCCL++: Rethinking GPU Communication Abstractions for AI Inferencecited by 13
  4. 2023Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problemcited by 12
  5. 2025Collective Communication for 100k+ GPUscited by 8
  6. 2026CCL-Bench 1.0: A Trace-Based Benchmark for LLM Infrastructurecited by 3
  7. 2013Risk-Aversion in Multi-armed Banditscited by 2

Built on by

Not cited yet.