Distinct Circular Subsum Sequences (DCSS)
- DCSS are modular sequences defined as compositions of n with unique circular subsums modulo n, enabling noncolliding shift patterns for error localization.
- They underpin the ERPA module in digital watermarking, spreading bit errors across a 64-bit patch to achieve near-perfect signature recovery under distortion.
- Alternative formulations of DCSS include permutation-based methods and sequenceability in cyclic groups, each imposing distinct combinatorial constraints.
Distinct Circular Subsum Sequences (DCSS) denote, in the most technically developed recent usage, modular sequences whose circular subsums are unique modulo a fixed length , so that their cumulative offsets can be used as noncolliding shift patterns for error localization and correction. In README, DCSS form the combinatorial core of the ERror PAinting (ERPA) module, which spreads the bit-error pattern of one 64-bit watermark patch into another patch and permits subsequent recovery even when the painted pattern is itself corrupted under distortion (Choi et al., 6 Jul 2025). In the literature summarized here, the same expression also appears in a separate permutation-based sense tied to two distinct local sums on a circle, while adjacent work on sequenceability studies orderings in cyclic groups with distinct partial sums (Lau, 2020, Costa et al., 2022).
1. Terminological scope
In the sources considered here, “DCSS” is not a single standardized object. The term is used for at least two non-equivalent constructions, and a nearby line of work studies distinct partial sums in cyclic groups without using the README definition.
| Source | Underlying object | Core distinctness requirement |
|---|---|---|
| README (Choi et al., 6 Jul 2025) | A sequence of positive integers summing to | Every nonempty circular subsum is unique modulo |
| Cyclic-group sequenceability (Costa et al., 2022) | An ordering of a subset of | Partial sums are distinct, with possible in the rotational case |
| Two-sum permutation usage (Lau, 2020) | A permutation of on a circle | Three-term local sums at positions and are constant but unequal |
A common misconception is to treat these as interchangeable formulations. The available sources do not support that interpretation. The README object is an offset-design device for robust watermark decoding; the cyclic-group literature concerns sequenceability and distinct partial sums in finite abelian groups; and the permutation-based usage concerns circular arrangements with two prescribed local-sum classes.
2. Formal definition in README
Let be the length of a bit-string; in README, 0. A DCSS is a sequence
1
together with cumulative offsets
2
considered modulo 3. The defining property is that for every pair of index ranges 4 and 5 with
6
one has
7
Equivalently,
8
In words, every nonempty circular subsum of 9 is unique modulo 0 (Choi et al., 6 Jul 2025).
In practical use, README does not paint with the raw 1 but with the prefix sums. The offset set is
2
and an error at position 3 is shifted to
4
This formulation is operational rather than purely structural: uniqueness of circular subsums is converted directly into a family of distinguishable modular shift patterns.
3. Error painting and inversion in ERPA
In README, a watermark decoder extracts a 64-bit message 5 from patch 6, and the bit-error pattern relative to the ground truth 7 is
8
The stated motivation is that naively re-embedding the 64-bit vector 9 into a second patch 0 would leave further flips in 1 able to scramble the information needed to identify which bits in 2 were wrong. DCSS address this by spreading each single-bit error across a fixed subset of positions chosen so that no two different subsets can collide when viewed modulo 64 (Choi et al., 6 Jul 2025).
The ERPA painting map is defined by
3
and the painted sequence is
4
where 5 denotes the binary mask with ones at positions in 6, and 7 is bitwise OR. This 64-bit 8 is embedded into patch 9. After re-decoding 0 under distortion, a noisy 1 is obtained and passed to a small neural decoder
2
implemented as a single 3 linear layer plus sigmoid, to produce 4. The corrected main message is then
5
The significance of the circular-subsum condition is localized invertibility under corruption. README states that the distinct circular subsum property guarantees that even if some of the painted bits are corrupted, a noise-robust decoder can still invert the painting map and recover the original indices of the flipped bits.
4. Construction for 6 and empirical behavior
For 7, README uses a concrete DCSS of length 8: 9 Its cumulative offsets are
0
all taken modulo 64. The summary describes a simple greedy search: starting from 1, one scans 2 to 3, appending 4 whenever doing so keeps 5 and preserves distinctness of all nonempty circular subsums modulo 6; in practice, one also prunes early and backtracks, and the reported outcome is the maximal-length DCSS above (Choi et al., 6 Jul 2025).
With this choice, any single-bit error at position 7 is spread to exactly seven positions. For the illustrative example 8,
9
README states that if JPEG noise flips at most two of those seven bits, the neural decoder still recognizes the pattern as coming from 0, and so recovers 1. More generally, the neural decoder is reported to tolerate roughly 2–3 random bit flips in 4 with over 5 accuracy. Tables 3–5 are described as reporting BER and Z.B.I.R. as functions of painting density 6, noise probability 7, permutation strategy, and decoder training distribution. One specific operating point is 8 with Bernoulli(9) training, for which the average BER is 0 and Z.B.I.R. is 1 under JPEG(50), versus 2 Z.B.I.R. without ERPA.
At the image level, README embeds a 2048-bit RSA/ECDSA signature across 32 “message” patches 3 and 32 “error-painting” patches 4 in a 5 image. Under JPEG-50, the reported numbers are Z.B.I.R.6, BER7 without ERPA, and Z.B.I.R.8, BER9 with ERPA using DCSS and Bernoulli(0) training; under near-ideal conditions with no external distortion, ERPA pushes Z.B.I.R. to 1. The same summary describes this as yielding near-perfect full 2048-bit signature recovery and as making README the first framework to embed 2048-bit cryptographic signatures in images with high assurance of zero-bit-error extraction.
5. Relation to distinct partial sums and sequenceability
A nearby combinatorial framework is the theory of sequenceability in finite abelian groups. For a finite abelian group 2 and a subset 3 of size 4, an ordering 5 has partial sums
6
It is a linear sequencing if 7 are all distinct, and a rotational sequencing if the only repetition is 8. A subset is sequenceable if it admits either a linear sequencing or a rotational sequencing, and a group is strongly sequenceable if every nonzero subset is sequenceable (Costa et al., 2022).
The 2022 results establish sequenceability for many subsets of 9 when 0. In particular, if 1 with 2 prime, every subset 3 of size 4 is sequenceable when 5 and 6, when 7 and 8, and in several partial cases for 9. An asymptotic extension states that the same conclusions hold for 00 when every prime divisor of 01 exceeds 02. The proofs proceed by selecting a quotient sequencing in 03, constructing a polynomial 04, and applying Alon’s Combinatorial Nullstellensatz.
This literature does not define DCSS in the README sense, but it studies a related noncollision phenomenon: modular cumulative sums are required not to repeat. A plausible implication is that README’s circular-offset design belongs to a broader combinatorial tradition in which the uniqueness of cumulative modular structure is the crucial resource. The distinction remains important: sequenceability concerns orderings of group elements, whereas README DCSS concern integer compositions of 05 whose circular subsums produce a usable offset set.
6. Alternative permutation-based usage and open directions
A separate source uses “Distinct Circular Subsum Sequence” for a permutation-based object derived from work on “two-sum” sequences. In that formulation, for 06, a DCSS of length 07 is a permutation
08
of 09 such that, with indices taken modulo 10 and
11
there exist two integers 12 for which 13 whenever 14 and 15 whenever 16. The stated existence theorem is that for every integer 17, 18, there exists such a DCSS, with explicit constructions organized by congruence classes modulo 19 and with 20 as the sole exception (Lau, 2020).
The same summary gives concrete examples. For 21,
22
with 23 and 24. For 25,
26
with 27 and 28. It also states that these two-sum sequences arise from a local antimagic total labeling of a path, and that similar phenomena can be studied on cycles, wheels, and other graph families. Lau is reported to conjecture and in part prove that one can force more than two distinct sums under more general mod-29 congruence conditions, leaving open the systematic treatment of 30-sum sequences for 31.
Taken together, the sources support a careful, non-unified view of the term. In README, DCSS are a modular offset design for robust digital-signature watermarking; in the sequenceability literature, the closest analogue is the study of distinct partial sums in cyclic groups; and in the two-sum literature, DCSS refer to a different circular permutation problem. The shared theme is distinctness of modular or circularly indexed sum structures, but the objects, constraints, and applications differ substantially.