Towards Robustness in Residue Number Systems

Li Xiao, Xiang-Gen Xia, Haiye Huo

Abstract

The problem of robustly reconstructing a large number from its erroneous remainders with respect to several moduli, namely the robust remaindering problem, may occur in many applications including phase unwrapping, frequency detection from several undersampled waveforms, wireless sensor networks, etc. Assuming that the dynamic range of the large number is the maximal possible one, i.e., the least common multiple (lcm) of all the moduli, a method called robust Chinese remainder theorem for solving the robust remaindering problem has been recently proposed. In this paper, by relaxing the assumption that the dynamic range is fixed to be the lcm of all the moduli, a tradeoff between the dynamic range and the robustness bound for two-modular systems is studied. It basically says that a decrease in the dynamic range may lead to an increase of the robustness bound. We first obtain a general condition on the remainder errors and derive the exact dynamic range with a closed-form formula for the robustness to hold. We then propose simple closed-form reconstruction algorithms. Furthermore, the newly obtained two-modular results are applied to the robust reconstruction for multimodular systems and generalized to real numbers. Finally, some simulations are carried out to verify our proposed theoretical results.

Introduction

The Chinese Remainder Theorem (CRT) is a fundamental mathematical tool for reconstructing a large integer from its residues relative to several smaller moduli. While powerful, the standard CRT is notoriously "brittle": a small error in a single remainder can lead to a catastrophic error in the reconstructed value. This sensitivity makes it challenging to use in real-world scenarios like radar phase unwrapping or frequency estimation where noise is unavoidable.

Recent research into "Robust CRT" has attempted to address this by assuming the system operates at its maximum dynamic range (the least common multiple of all moduli). This paper addresses the gap in understanding how we can trade away some of that range to gain better error tolerance, specifically providing the exact mathematical conditions and algorithms needed to navigate this trade-off.

Methods

The authors focus on the robust remaindering problem using a geometric approach. For a two-moduli system ($m_1, m_2$), they employ an "Integer Position Representation" on a 2D remainder plane.

Geometric representation of the robust remaindering problem, showing the relationship between dynamic range and the distance between slanted lines.

As shown in the figure above, integers are represented as points on slanted lines. The core insight is that by reducing the dynamic range—effectively reducing the number of these lines—the distance $d$ between the lines increases. This increased distance allows for a larger error margin $\tau$ in the remainders without causing a "jump" to the wrong line during reconstruction.

The paper provides exact closed-form formulas for this trade-off, moving beyond the approximations found in previous literature. They introduce two primary algorithms to determine the "folding integers" (the quotients needed for reconstruction) even when remainders are noisy. These methods are then extended to multi-modular systems via a cascade architecture and generalized to real-valued signals.

Results and Discussion

The theoretical findings were validated through extensive numerical simulations, involving 2,000,000 Monte Carlo trials per error level. The results confirmed that reducing the dynamic range can lead to dramatic improvements in robustness. For instance, in one test case, the robustness bound increased from 3.25 to 35.75—a more than tenfold improvement in noise tolerance.

The simulations showed that the Mean Absolute Error (MAE) of the reconstruction remains linearly bounded by the remainder error as long as the noise stays within the derived theoretical robustness bound. Once this bound is exceeded, the error spikes sharply, validating the exactness of the proposed formulas. Furthermore, the multi-stage "cascade" reconstruction method demonstrated superior error tolerance compared to standard single-stage robust CRT approaches.

Conclusion

This research establishes a clear, mathematically precise trade-off between dynamic range and robustness in Residue Number Systems. By providing closed-form formulas and efficient algorithms, the authors offer a practical framework for designing robust systems in signal processing and communications. Future work may explore optimal moduli selection strategies for specific target ranges and the performance of these algorithms under non-uniform noise distributions.

Summary updated

Abstract

The problem of robustly reconstructing a large number from its erroneous remainders with respect to several moduli, namely the robust remaindering problem, may occur in many applications including phase unwrapping, frequency detection from several undersampled waveforms, wireless sensor networks, etc. Assuming that the dynamic range of the large number is the maximal possible one, i.e., the least common multiple (lcm) of all the moduli, a method called robust Chinese remainder theorem (CRT) for solving the robust remaindering problem has been recently proposed. In this paper, by relaxing the assumption that the dynamic range is fixed to be the lcm of all the moduli, a trade-off between the dynamic range and the robustness bound for two-modular systems is studied. It basically says that a decrease in the dynamic range may lead to an increase of the robustness bound. We first obtain a general condition on the remainder errors and derive the exact dynamic range with a closed-form formula for the robustness to hold. We then propose simple closed-form reconstruction algorithms. Furthermore, the newly obtained two-modular results are applied to the robust reconstruction for multi-modular systems and generalized to real numbers. Finally, some simulations are carried out to verify our proposed theoretical results.
BibTeX
@article{xiao2016towards,
  author = {Li Xiao and Xiang-Gen Xia and Haiye Huo},
  title = {{Towards Robustness in Residue Number Systems}},
  journal = {IEEE Transactions on Signal Processing},
  year = {2016},
  doi = {10.1109/tsp.2016.2641398},
}

Loading related content...

Figure