PyTorch Benchmark Finds Errors When Comparing Similar Distributions
In an arXiv preprint, Zhen Yang and colleagues report that PyTorch calculations of Kullback–Leibler (KL) divergence can return inaccurate values and gradients when two probability distributions are close. The authors benchmarked 8.5 million inputs against certified references across 18 closed-form families and PyTorch’s general KL function on CPUs and GPUs. The authors’ revised calculations removed more than 97% of significant errors at the working precision. The preprint links to the benchmark code and data.
Sources
- OpenAI reports early lab evidence for GPT-6.2 protein designs
- AI-assisted searches flag possible planets in public telescope data
- Google DeepMind launches benchmark for everyday AI reliability
- Google expands Gemini partnership with the Warriors, Valkyries and Chase Center
- Amazon SageMaker HyperPod adds a training health check for EKS clusters