Gap Additive Secure Polynomial Code
- GASP code is a family of polynomial codes that uses structured additive gaps in exponent choices to securely encode matrix products for distributed multiplication.
- It leverages degree tables and arithmetic progression designs to minimize server requirements while guaranteeing T-security and efficient recovery of matrix blocks.
- Extensions to quantum PDMM and GGASP offer rate enhancements and robustness, illustrating the method’s adaptability across diverse privacy and system regimes.
The Gap Additive Secure Polynomial (GASP) code is a family of polynomial codes for secure distributed matrix multiplication (SDMM) that achieves a favorable trade-off between privacy, communications overhead, and decoding complexity by means of a combinatorial arrangement of additive “gaps” in exponent choices. GASP codes operate by encoding matrix blocks as polynomials evaluated at specific points, such that any colluding servers (from total) learn nothing about the matrices, while the user can efficiently recover all submatrix products given responses from the servers. The code’s constructions leverage degree tables and careful arithmetic progression designs to minimize the required number of servers, with quantum generalizations that further optimize rates under additional feasibility constraints.
1. Secure Matrix Multiplication and Degree Table Framework
SDMM is the problem in which a user, lacking local resources, wishes to compute for matrices and using servers, while protecting the privacy of and from any subset of colluding servers. The standard approach partitions and into and blocks, respectively. The user constructs two univariate encoding polynomials: with and as independent random masks. The user evaluates and at distinct points , and each server receives and returns the product . The coefficients of in encode .
A central structural tool is the degree table (of size ), which records all resulting exponents in the product . Achieving privacy and recoverability forces requirements on the arrangement and distinctness of these exponents, motivating the design of the “gap” structure that gives GASP codes their name (D'Oliveira et al., 2018, D'Oliveira et al., 2021).
2. GASP Construction: Gap Placement and Exponent Patterns
GASP codes select exponent vectors and as structured arithmetic progressions, segmented by controlled “gaps.” For outer-product partitioning ( partitioned by rows, by columns), canonical choices are:
- prefix: , suffix: arithmetic progression(s) chosen to produce “random” terms positioned to form non-overlapping security gaps.
- prefix: , suffix: progression(s) offset to maximize distinctness and separation.
The explicit construction for in the “small GASP” regime is: with “random” exponents appended as blocks to create disjoint intervals (gaps). The arithmetic structure ensures that any colluding servers receive shares corresponding to polynomials whose evaluated degrees have at least one block of length devoted solely to random coefficients, achieving perfect -security (D'Oliveira et al., 2018, D'Oliveira et al., 2021, Nomeir et al., 28 Nov 2025).
A generalization—GASP—introduces the gap size parameter , controlling the arrangement of the random exponents in the degree table. By optimizing , one minimizes , the total number of evaluations (servers).
3. Decodability, Security, and Recovery Threshold
For correctness, the table’s “upper-left” block (signal exponents corresponding to products) must consist of pairwise-distinct entries, and these must not collide with any exponents associated with random masks. The download rate is .
The conditions for a valid GASP code are:
- with : (distinct exponents for all signal and random terms).
- The extra exponents and are mutually distinct among themselves (Nomeir et al., 28 Nov 2025).
Efficient algorithms for discovering optimal degree tables (integer programming, greedy search) validate the construction’s optimality for small and moderate parameter regimes, minimizing subject to the above constraints (D'Oliveira et al., 2021).
4. Extension to Quantum PDMM: Feasibility and Rate Doubling
Recent developments extend the classical GASP design to the quantum private distributed matrix multiplication (PDMM) model, where servers share an -partite entangled state and communicate over quantum channels (Nomeir et al., 28 Nov 2025). In this setting, the quantum protocol allows two independent instances to be encoded in each round (“super-dense coding”), potentially doubling the classical download rate to .
A feasibility constraint is necessary: the largest consecutive chain (LCC) in the set of interference exponents in the degree table must satisfy . If this is met, the protocol achieves . When the feasibility constraint fails, either is increased until it holds, or fully quantum-native codes using new exponent arrangements are adopted. Explicit constructions are provided for numerous high-privacy quantum settings, each yielding .
A quadratic regression quantifies the minimal privacy parameter required for feasibility as a function of and —for , (Nomeir et al., 28 Nov 2025).
5. Low-Privacy Regime and Comparisons to Other Code Families
In the regime , GASP is not rate-optimal. Alternative constructions—the cyclic-addition degree table (CAT) and discretely optimized GASP (DOG)—offer improved performance. Each is subject to the same quantum feasibility criterion, but only in specific parameter regimes (e.g., CAT(2,2,2)) does the quantum rate doubling persist. When no classical -private code meets the feasibility requirement, additional dummy noise slots are introduced (enhanced privacy level ) to force the desired interference structure and enable partial quantum gains (up to the classical rate) (Nomeir et al., 28 Nov 2025).
6. Generalizations: Grid Partitioning, GGASP, and Straggler Robustness
GASP can be extended to grid partitionings, leading to the Generalized GASP (GGASP) codes with explicit recovery thresholds and optimality properties for a broad class of distributed matrix multiplication problems (Karpuk et al., 2023). GGASP encodes both matrices over partitions indexed by , exploits similar gap structures, and achieves provable -security and decodability. Empirical results confirm that for moderate to large , GGASP outperforms previous polynomial-based and entangled polynomial codes.
Straggler-robustness is preserved: GGASP achieves the optimal threshold in the absence of privacy, and modular polynomial (MP) codes can outperform GGASP with respect to decoding cost and recovery flexibility when there are failures.
7. Summary of Key Results and Connections
- GASP codes provide an explicit, tunable framework for constructing SDMM codes that are provably optimal or near-optimal in many regimes. The codes are grounded in combinatorial designs of degree tables and allow precise control over the download rate for required privacy thresholds (D'Oliveira et al., 2021, D'Oliveira et al., 2018).
- In the quantum setting, rate doubling is achievable when the interference block in the degree table contains a sufficiently long consecutive chain; otherwise, tailored quantum-native code constructions or enhanced masking restore functionality (Nomeir et al., 28 Nov 2025).
- GGASP extends the approach to grid partitions, preserving rate and privacy guarantees while allowing efficient decoding and robustness to stragglers (Karpuk et al., 2023).
- Comparative studies confirm GASP and its generalizations outperform prior art in tested scenarios, and systematic construction methods are available for a wide range of matrix partition schemes and privacy levels.
References:
- "Quantum Private Distributed Matrix Multiplication With Degree Tables" (Nomeir et al., 28 Nov 2025)
- "GASP Codes for Secure Distributed Matrix Multiplication" (D'Oliveira et al., 2018)
- "Degree Tables for Secure Distributed Matrix Multiplication" (D'Oliveira et al., 2021)
- "Modular Polynomial Codes for Secure and Robust Distributed Matrix Multiplication" (Karpuk et al., 2023)