Linear-Time Approximation Algorithms for Computing Numerical Summation with Provably Small Errors
Ming-Yang Kao, Jie Wang

TL;DR
This paper introduces the first polynomial-time algorithms for approximating numerical summation with small, provable error bounds, even for arbitrary data sets, improving upon previous methods in efficiency and accuracy.
Contribution
It presents new linear-time approximation algorithms for floating-point summation with provably small errors, including the first such algorithms for arbitrary data sets and improved bounds for sorted data.
Findings
Approximation error at most 2 times the minimal worst-case error for arbitrary data.
Error at most log log n times the minimal error for sorted data.
Algorithms run in linear time, significantly faster than previous methods.
Abstract
Given a multiset of real numbers, the {\it floating-point set summation} problem asks for . Let denote the minimum worst-case error over all possible orderings of evaluating . We prove that if has both positive and negative numbers, it is NP-hard to compute with the worst-case error equal to . We then give the first known polynomial-time approximation algorithm that has a provably small error for arbitrary . Our algorithm incurs a worst-case error at most .\footnote{All logarithms in this paper are base 2.} After is sorted, it runs in O(n) time. For the case where is either all positive or all negative, we give another approximation algorithm with a worst-case error at most . Even for unsorted , this algorithm runs in O(n) time. Previously, the best…
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
TopicsNumerical Methods and Algorithms · Algorithms and Data Compression · Digital Filter Design and Implementation
