arXiv:2609.08154cs.ITSep 2026

Manuscript Offprint

arXiv:2609.08154

Function Tables for Secure Distributed Matrix Multiplication

Rafael G. L. D'Oliveira, Giulia Gaggero, Arturo Jaramillo Gil, Hiram H. López, Cecilia Martínez-Reyes, Divyesh Vaghasiya

Rafael G. L. D'Oliveira, Giulia Gaggero, Arturo Jaramillo Gil, Hiram H. López, Cecilia Martínez-Reyes, and Divyesh Vaghasiya

Abstract—We introduce function tables, an entrywise representation of the coefficient functions that appear in the worker responses of a secure distributed matrix multiplication (SDMM) scheme. We work under the outer-product partition, with K row blocks, L column blocks, and privacy against any T colluding workers, in the general model of linear encoding and linear decoding. In this representation, privacy is a rank condition on the data and mask coefficients, and decodability is linear independence of the desired entries modulo the nuisance space. Degree tables, cyclic-addition tables, and algebraic-geometry constructions are the special cases obtained by restricting the coefficient functions to a structured family; we impose no such restriction, so our converses bind every linear scheme. For T = 1, we determine the exact optimum over every finite field Fq\mathbb{F}_q: it is KL+K+LKL + K + L when q≥3q \geq 3, and KL+K+L+1KL + K + L + 1 over F2\mathbb{F}_2, where the identity z2=zz^2 = z forces one more worker. For arbitrary T, we prove N≥KL+K+LN \geq KL + K + L and N≥max⁡{K,L}+TN \geq \max\{K, L\} + T with no MDS hypothesis on the masks; the first is stronger than the previously known bound KL+max⁡{K,L}+2T−1KL + \max\{K, L\} + 2T - 1 whenever min⁡{K,L}≥2T\min\{K, L\} \geq 2T. We then reduce field feasibility exactly to MDS existence: a scheme exists over Fq\mathbb{F}_q if and only if an [max⁡{K,L}+T,T][\max\{K, L\} + T, T] linear MDS code does, and whenever it does, a Cartesian construction attains N=(K+T)(L+T)N = (K + T)(L + T) over that same field. For T = 2 this makes q≥max⁡{K,L}+1q \geq \max\{K, L\} + 1 necessary and sufficient, and we give a projective-line construction with N=KL+K+L+2N = KL + K + L + 2 whenever KL+K+LKL + K + L divides q - 1; for K,L≥2K, L \geq 2 it matches the best known worker count while requiring only an element of order KL+K+LKL + K + L.

Index Terms—Secure distributed matrix multiplication, function tables, finite fields, information-theoretic security.

I. INTRODUCTION

Secure distributed matrix multiplication (SDMM) allows a user with two matrices A∈Fqm×nA \in \mathbb{F}_{q}^{m \times n} and B∈Fqn×pB \in \mathbb{F}_{q}^{n \times p} over a finite field Fq\mathbb{F}_q to compute ABAB with the help of NN workers while keeping the input matrices private. The user encodes the two matrices, sends one encoded pair to each worker, and combines the returned products to recover the desired result. The workers

are honest but curious: they follow the protocol, but any set of at most T workers may collude and try to learn information about the inputs. We study how many workers are required and over which fields such schemes can be constructed for given partitioning and privacy parameters.

We consider the outer-product partition. Assume, for simplicity, that K divides m and L divides p. Partition

A=[A1A2⋮AK],B=[B1B2⋯BL],\begin{aligned}A=\begin{bmatrix}A_{1}\\ A_{2}\\ \vdots\\ A_{K}\end{bmatrix},\qquad B=\begin{bmatrix}B_{1}&B_{2}&\cdots&B_{L}\end{bmatrix},\end{aligned}

where Ak∈Fqm/K×nA_k \in \mathbb{F}_q^{m/K \times n} and Bℓ∈Fqn×p/LB_\ell \in \mathbb{F}_q^{n \times p/L}. Then

AB=[A1B1A1B2⋯A1BLA2B1A2B2⋯A2BL⋮⋮⋱⋮AKB1AKB2⋯AKBL].\begin{aligned}AB=\begin{bmatrix}A_{1}B_{1}&A_{1}B_{2}&\cdots&A_{1}B_{L}\\A_{2}B_{1}&A_{2}B_{2}&\cdots&A_{2}B_{L}\\\vdots&\vdots&\ddots&\vdots\\A_{K}B_{1}&A_{K}B_{2}&\cdots&A_{K}B_{L}\end{bmatrix}.\end{aligned}

For every positive integer rr, write [r]={1,…,r}[r]=\{1,\ldots,r\}. Computing ABAB is therefore equivalent to computing the KLKL block products AkBℓA_k B_\ell, for k∈[K]k\in[K] and ℓ∈[L]\ell\in[L].

We work in the general class of linear SDMM schemes formalized by Makkonen and Hollanti [1]. To provide privacy, the user introduces random masks R1,…,RTR_{1}, \ldots, R_{T} of the same size as the blocks AkA_{k} and random masks S1,…,STS_{1}, \ldots, S_{T} of the same size as the blocks BℓB_{\ell}. All these masks are mutually independent, uniformly distributed over their respective matrix spaces, and independent of both A and B. The user sends to worker i two encoded matrices of the form

Xi=∑k=1Kak(i)Ak+∑t=1Tut(i)Rt,(1)X_{i}=\sum_{k=1}^{K}a_{k}(i)A_{k}+\sum_{t=1}^{T}u_{t}(i)R_{t}, \tag{1}

We thank CIMAT for its support via the Grant CICIMPI-2026-07: Workshop on Applications of Commutative Algebra and Coding Theory.

R. G. L. D'Oliveira is with the School of Mathematical and Statistical Sciences, Clemson University, Clemson, SC, USA. Email: rrolive@clemson.edu.

G. Gaggero is with McMaster University. Email: gaggerog@mcmaster.ca.

A. Jaramillo Gil is with the Department of Mathematics, Centro de Investigación en Matemáticas, México. Email: jagil@cimat.mx. He was supported by Grant CBF2023-2024-2088.

H. H. López is with the Department of Mathematics, Virginia Tech, VA, USA. Email: hhlopez@vt.edu. He was partially supported by the NSF grants DMS-2401558 and DMS-2502705, and the Commonwealth Cyber Initiative.

C. Martínez-Reyes is with Universidad Autónoma de Zacatecas. Email: maria.reyes1@ues.edu.sv. She was supported by SECIHTI Grants 4003512 and CF-2023-G-33.

D. Vaghasiya is with the University of South Florida, Tampa, FL, USA. Email: divyeshvaghasiya00@gmail.com.

and

Yi=∑ℓ=1Lbℓ(i)Bℓ+∑t=1Tvt(i)St,(2)Y_{i}=\sum_{\ell=1}^{L}b_{\ell}(i)B_{\ell}+\sum_{t=1}^{T}v_{t}(i)S_{t}, \tag{2}

where ak(i)a_k(i), bℓ(i)b_\ell(i), ut(i)u_t(i), vt(i)∈Fqv_t(i) \in \mathbb{F}_q. Worker ii computes Zi=XiYiZ_i = X_i Y_i and returns ZiZ_i to the user.

Privacy requires that the encoded matrices observed by any set of at most TT workers reveal no information about the inputs. More precisely, for every joint distribution of (A,B)(A,B) and every subset τ⊆[N]\tau \subseteq [N] with ∣τ∣≤T|\tau| \leq T, we require I(A,B;Xτ,Yτ)=0I(A,B; X_{\tau}, Y_{\tau}) = 0, where Xτ=(Xi)i∈τX_{\tau} = (X_{i})_{i \in \tau} and Yτ=(Yi)i∈τY_{\tau} = (Y_{i})_{i \in \tau}.

(a) General function table

b1b_{1}...bLb_{L}v1v_{1}...vTv_{T}
a1a_{1}a1b1a_{1}b_{1}...a1bLa_{1}b_{L}a1v1a_{1}v_{1}...a1vTa_{1}v_{T}
⋮\vdots⋮\vdots⋱\ddots⋮\vdots⋮\vdots⋱\ddots⋮\vdots
aKa_{K}aKb1a_{K}b_{1}...aKbLa_{K}b_{L}aKv1a_{K}v_{1}...aKvTa_{K}v_{T}
u1u_{1}u1b1u_{1}b_{1}...u1bLu_{1}b_{L}u1v1u_{1}v_{1}...u1vTu_{1}v_{T}
⋮\vdots⋮\vdots⋱\ddots⋮\vdots⋮\vdots⋱\ddots⋮\vdots
uTu_{T}uTb1u_{T}b_{1}...uTbLu_{T}b_{L}uTv1u_{T}v_{1}...uTvTu_{T}v_{T}

(b) T = 1 and q≥3q \geq 3

zy1y_{1}...yL−1y_{L-1}1
zz2z^{2}zy1zy_{1}...zyL−1zy_{L-1}z
x1x_{1}x1zx_{1}zx1y1x_{1}y_{1}...x1yL−1x_{1}y_{L-1}x1x_{1}
⋮\vdots⋮\vdots⋮\vdots⋱\ddots⋮\vdots⋮\vdots
xK−1x_{K-1}xK−1zx_{K-1}zxK−1y1x_{K-1}y_{1}...xK−1yL−1x_{K-1}y_{L-1}xK−1x_{K-1}
1zy1y_{1}...yL−1y_{L-1}1

(c) T = 1 and q = 2

y1y_{1}y2y_{2}...yLy_{L}1
x1x_{1}x1y1x_{1}y_{1}x1y2x_{1}y_{2}...x1yLx_{1}y_{L}x1x_{1}
x2x_{2}x2y1x_{2}y_{1}x2y2x_{2}y_{2}...x2yLx_{2}y_{L}x2x_{2}
⋮\vdots⋮\vdots⋮\vdots⋱\ddots⋮\vdots⋮\vdots
xKx_{K}xKy1x_{K}y_{1}xKy2x_{K}y_{2}...xKyLx_{K}y_{L}xKx_{K}
1y1y_{1}y2y_{2}...yLy_{L}1

Fig. 1. Function tables for secure distributed matrix multiplication with KK row blocks of AA and LL column blocks of BB. Row and column labels are the coefficient functions used to encode the two inputs, and each entry is their pointwise product. Shaded entries correspond to the desired block products AkBℓA_k B_\ell; unshaded entries correspond to products involving random masks. Panel (a) shows the general pattern with TT masks per input and a target of privacy against any TT colluding workers. Panels (b) and (c) show optimal constructions for privacy against any single worker: panel (b) uses KL+K+LKL + K + L workers over any Fq\mathbb{F}_q with q≥3q \geq 3, while panel (c) uses KL+K+L+1KL + K + L + 1 workers over F2\mathbb{F}_2. Here 11 denotes the constant-one function. Sharing zz between the two encodings in panel (b) saves one nuisance dimension. Over F2\mathbb{F}_2, the identity z2=zz^2 = z would make a desired entry coincide with a nuisance entry, so panel (c) uses separate coordinate functions on the two sides.

As in Makkonen and Hollanti [1], we consider linear decoding. For every k∈[K]k \in [K] and ℓ∈[L]\ell \in [L], there exists a function λ(k,ℓ):[N]→Fq\lambda^{(k,\ell)} : [N] \to \mathbb{F}_q such that

AkBℓ=∑i=1Nλ(k,ℓ)(i)ZiA_{k}B_{\ell}=\sum_{i=1}^{N}\lambda^{(k,\ell)}(i)Z_{i}

for every choice of the inputs and random masks. Throughout the paper, we refer to this property simply as decodability.

Most of the best-performing constructions known for outer-product SDMM are based on degree tables, cyclic variants, or closely related algebraic evaluation methods. In an ordinary degree table [2], [3], each data block and each random mask is assigned its own polynomial degree, and multiplying two encoded polynomials together simply adds the degrees of their terms; the table records these sums, and the number of workers the scheme needs is the number of distinct sums that appear. Cyclic constructions evaluate the same monomials at roots of unity instead of arbitrary field elements, so degrees combine cyclically rather than as ordinary sums [4]. Algebraic-geometry constructions replace monomials by functions from an algebraic curve, so the table records how these functions multiply rather than how degrees add [5]. In each case, the construction begins by choosing a structured family of coefficient functions and studying the products among them.

We introduce function tables to unify these constructions within a single framework. Every linear SDMM scheme in our model has a corresponding function table: its rows and columns are the coefficient functions used in the two encodings, and its entries are their pointwise products. Degree tables, cyclic-addition tables, and other algebraic tables are all special cases, obtained by restricting the coefficient functions to the corresponding families. Function tables are a tool for constructing general linear schemes and proving bounds.

With this framework, we characterize privacy and decodability, determine the exact minimum number of workers for T = 1, prove general worker lower bounds, characterize exactly the fields over which a scheme in our model can exist, and give constructions with different tradeoffs between field size and worker count.

References (47)