Item request has been placed! ×
Item request cannot be made. ×
loading  Processing Request

The Positive Effects of Stochastic Rounding in Numerical Algorithms

Item request has been placed! ×
Item request cannot be made. ×
loading   Processing Request
  • Additional Information
    • Contributors:
      Laboratoire d'Informatique Parallélisme Réseaux Algorithmes Distribués (LI-PaRAD); Université de Versailles Saint-Quentin-en-Yvelines (UVSQ); Intel Corporation Hillsboro; Intel Corporation USA; ANR-20-CE46-0009,INTERFLOP,Plateforme d'analyse pour l'arithmétique flottante(2020)
    • Publication Information:
      HAL CCSD
    • Publication Date:
      2022
    • Collection:
      Université de Versailles Saint-Quentin-en-Yvelines: HAL-UVSQ
    • Subject Terms:
    • Subject Terms:
      Virtual conference, France
    • Abstract:
      International audience ; Recently, stochastic rounding (SR) has been implemented in specialized hardware but most current computing nodes do not yet support this rounding mode. Several works empirically illustrate the benefit of stochastic rounding in various fields such as neural networks and ordinary differential equations. For some algorithms, such as summation, inner product or matrixvector multiplication, it has been proved that SR provides probabilistic error bounds better than the traditional deterministic bounds. In this paper, we extend this theoretical ground for a wider adoption of SR in computer architecture. First, we analyze the biases of the two SR modes: SR-nearness and SR-up-or-down. We demonstrate on a case-study of Euler's forward method that IEEE-754 default rounding modes and SR-up-or-down accumulate rounding errors across iterations and that SR-nearness, being unbiased, does not. Second, we prove a O(√ n) probabilistic bound on the forward error of Horner's polynomial evaluation method with SR, improving on the known deterministic O(n) bound.
    • Relation:
      info:eu-repo/semantics/altIdentifier/arxiv/2207.03837; hal-03716058; https://hal.science/hal-03716058; https://hal.science/hal-03716058/document; https://hal.science/hal-03716058/file/main.pdf; ARXIV: 2207.03837
    • Online Access:
      https://hal.science/hal-03716058
      https://hal.science/hal-03716058/document
      https://hal.science/hal-03716058/file/main.pdf
    • Rights:
      info:eu-repo/semantics/OpenAccess
    • Accession Number:
      edsbas.149F4D5B