On the accuracy and performance of the lattice Boltzmann method with 64-bit, 32-bit and novel 16-bit number formats
Moritz Lehmann, Mathias J. Krause, Giorgio Amati, Marcello Sega, Jens, Harting, Stephan Gekle

TL;DR
This paper investigates the use of 16-bit and Posit16 formats for lattice Boltzmann fluid simulations, demonstrating that reduced precision can maintain accuracy while significantly improving performance on various hardware.
Contribution
The study introduces novel 16-bit formats tailored for LBM, showing they can achieve comparable accuracy to higher precisions and enhance computational speed.
Findings
16-bit formats maintain accuracy in most cases
Significant performance gains with mixed FP32/16-bit implementations
Common LBM number ranges are smaller than FP16 range
Abstract
Fluid dynamics simulations with the lattice Boltzmann method (LBM) are very memory-intensive. Alongside reduction in memory footprint, significant performance benefits can be achieved by using FP32 (single) precision compared to FP64 (double) precision, especially on GPUs. Here, we evaluate the possibility to use even FP16 and Posit16 (half) precision for storing fluid populations, while still carrying arithmetic operations in FP32. For this, we first show that the commonly occurring number range in the LBM is a lot smaller than the FP16 number range. Based on this observation, we develop novel 16-bit formats - based on a modified IEEE-754 and on a modified Posit standard - that are specifically tailored to the needs of the LBM. We then carry out an in-depth characterization of LBM accuracy for six different test systems with increasing complexity: Poiseuille flow, Taylor-Green…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLattice Boltzmann Simulation Studies · Aerosol Filtration and Electrostatic Precipitation · Fluid Dynamics and Vibration Analysis
