论文信息
论文解读
AI 辅助整理- 方法
- 矩阵盲化与验证方法,结合JSCC算法,外包矩阵乘法和伪逆计算。
- 发现
- 方案比现有矩阵盲化方案平均优4.15-10.79%,比原算法效率提升73.49-80.45%。
- 机会点
- 可探索隐私保护外包计算在实时作物表型分析、多源遥感数据融合中的落地与优化。
论文摘要
高光谱遥感图像提供了更详细的地物光谱信息,而基于联合稀疏编码的聚类(JSCC)算法则被提出用于实现精确的高光谱图像分割。然而,由于高光谱图像数据处理是最耗时的计算任务之一,因此需要通过云外包计算来加速。此外,在实际应用场景中,还需考虑云计算中的数据隐私和结果可用性问题。本文提出了一种新颖的隐私保护外包方案,用于JSCC算法中的矩阵乘法和矩阵伪逆运算,以实现高效且安全的高光谱遥感图像分析。该方案的核心在于提出一种新颖的矩阵盲化方法,通过逐元素计算对原始矩阵进行混淆,并利用密钥索引集而非精心设计的矩阵,从而进一步降低加密和解密操作的存储开销。此外,我们相应地提出了一种新的验证方法,通过计算并比较混淆矩阵中随机选取的元素来保证返回结果的可用性。实验结果表明,我们的方案平均优于基于矩阵盲化的最新隐私保护外包计算方案4.15–10.79%,并且相较于原始高光谱遥感图像分析算法实现了73.49–80.45%的效率提升。
全文
CybersecuritySun et al. Cybersecurity (2026) 9:225
https://doi.org/10.1186/s42400-026-00667-3
RESEARCH Open Access
© The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which
permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the
original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or
other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line
to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory
regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this
licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/.
Cybersecurity
A privacy-preserving hyper-spectral remote
sensing image analysis framework based
on matrix outsourcing computation
Xinrong Sun1,2, Yunting Tao3,4, Fanyu Kong1,2* and Guoyan Zhang1,2
Abstract
Hyper-spectral remote sensing image provides more detailed spectral information of ground targets, while the joint
sparse coding-based clustering (JSCC) algorithm are proposed for accurate hyper-spectral image segmentation.
However, since hyper-spectral image data processing represent one of the most time-consuming computing tasks,
it necessitates the acceleration achieved by cloud outsourcing computation. Furthermore, data privacy and result
availability issues in cloud computing should be considered in real-world scenarios. In this paper, we propose a novel
privacy-preserving outsourcing scheme for matrix multiplication and matrix pseudo-inversion in the JSCC algorithm,
to achieve efficient and secure hyper-spectral remote sensing image analysis. The core of our scheme is to present
a novel matrix blinding method, which obscures the original matrices through element-wise computation and uti-
lizes secret key index sets rather than subtly designed matrices, thereby further reducing the storage cost of encryp-
tion and decryption operations. Additionally, we correspondingly present a new verification method that computes
and compares randomly selected elements in obscured matrices to guarantee the availability of returned results.
Experimental results demonstrate that our scheme is 4.15–10.79% superior to the state-of-the-art matrix blinding
based privacy-preserving outsourcing computation schemes on average and achieves an efficiency improvement
of 73.49–80.45% compared to the original hyper-spectral remote sensing image analysis algorithm.
Keywords Secure outsourcing computation, Privacy-preserving matrix computation, Hyper-spectral remote sensing
Introduction
Hyper-spectral image, which provides sophisticated spec-
tral information of terrain objects, assists in conducting
highly accurate ground analysis. Nowadays, hyper-spec -
tral remote sensing has gained broad application in vari -
ous analysis tasks, such as resource exploration (Bedini
2017), urban planning (Liao et al. 2012), disaster assess -
ment (Zhang et al. 2018), and environmental monitor -
ing (Mahesh et al. 2015). Since the hyper-spectral image
contains hundreds of contiguous spectral bands, high-
dimensional data processing algorithms, such as the fea -
ture selection (Ahadzadeh et al. 2023), the sparsity-based
learning (Chen et al. 2021), and the diffusion maps (Dos
Santos et al. 2022), provide an effective solution to com -
plete the hyper-spectral remote sensing tasks. Among
these approaches, the sparsity-based clustering algorithm
(Dong et al. 2011) is a mainstream approach utilized in
the image processing field (Chen et al. 2020; Tang et al.
2022; Omara et al. 2024), such as image reconstruction,
image denoising, and image segmentation. Based on
the improvement of sparsity-based clustering, the joint
sparse coding-based clustering (JSCC) algorithm (Zhai
*Correspondence:
Fanyu Kong
fanyukong@sdu.edu.cn
1 School of Cryptologic Science and Engineering, Shandong University,
Jinan 250101, Shandong, China
2 State Key Laboratory of Cryptography and Digital Economy Security,
Shandong University, Jinan 250100, Shandong, China
3 Fudan University Institute of Systems for Advanced Computing, Fudan
University, Shanghai 200433, China
4 College of Information Engineering, Binzhou Polytechnic,
Binzhou 256603, Shandong, China
Page 2 of 28Sun et al. Cybersecurity (2026) 9:225
et al. 2020) is the state-of-the-art (SOTA) approach to
achieve high-quality clustering on hyper-spectral image
data.
Although advanced remote sensing algorithms are
capable of accurately extracting the information, it is
challenging to process high-dimensional pixel vectors
from the hyper-spectral images Guo et al. (2021). For
instance, with a large-scale hyper-spectral image matrix,
the JSCC algorithm has three significant phases, super-
pixel segmentation, dictionary construction, and joint
sparse recovery, all of which need to execute multiple
large-scale matrix multiplication or pseudo-inversion
computations. Thus, with the collaboration of clients and
a centralized cloud server, the efficient hyper-spectral
image processing systems (Zheng et al. 2024; Wang et al.
2024) have been widely developed to meet the demands
of real-world remote sensing analysis. In general, based
on cloud computing, highly accurate remote sensing
conclusions can be generated through outsourcing large-
scale hyper-spectral images for complex computation.
However, in most existing cloud computing based
remote sensing systems, there is a reliable cloud comput -
ing platform to achieve complex computations, which
places high demands on the working environment and
limits the application of hyper-spectral remote sens -
ing. In more general scenarios, although cloud comput -
ing assists resource-constrained clients in completing
time-consuming computations and returning real-time
processing results, outsourcing sensitive hyper-spec -
tral image data to the untrusted cloud raises signifi -
cant security concerns (Tian et al. 2025). Therefore,
privacy-preserving techniques, such as secure multi-
party computation (MPC) Li et al. (2024), homomorphic
encryption (HE) Wu et al. (2020), and matrix blinding
method (Lin 2016), can be utilized to achieve security
protection. The privacy-preserving cloud-computing
based data analysis scheme outsources blinded data to an
untrusted cloud and receives obscured results for further
analysis. In the secure analysis procedure, any untrusted
devices cannot obtain valuable information to disrupt
data privacy.
Among various privacy-preserving techniques, since
hyper-spectral images are involved in computations
in the form of high-dimensional matrices, the matrix
blinding method is more feasible for hyper-spectral
remote sensing analysis due to its high efficiency and
low resource consumption. Although MPC and HE
methods can protect sensitive data, their cryptographic
operations, data interactions, and ciphertext expansions
introduce substantial computation and communication
overhead for high-dimensional matrix outsourcing tasks.
Moreover, the matrix inversion computation, which is
a critical operation for hyper-spectral image analysis,
remains a challenging task for MPC and HE based secure
computation schemes Tian et al. (2019), as MPC requires
specialized data-oblivious protocols with numerous
secure multiplications, and FHE commonly relies on
depth-consuming iterative approximations of matrix
inversion. Privacy-preserving matrix computation out -
sourcing schemes employ subtly designed sparse matri -
ces as the secret key to accomplish efficient encryption
and decryption. Beginning with the matrix multiplication
computation, Atallah et al. first introduced a privacy-pre-
serving outsourcing scheme (Atallah et al. 2002), which
obscures private data through sparse random permuta -
tion matrices. Then, observing the risk from cheating
behavior of servers, Fiore et al. and Lei et al. introduced
verifiable privacy-preserving outsourcing schemes Fiore
and Gennaro (2012) successively, utilizing sparse permu -
tation matrices as well and verifying the returned result
in the outsourcing process (Lei et al. 2014). However,
these secure matrix outsourcing schemes based on per -
mutation matrices cannot resist zero-element attacks,
suffering from significant security weaknesses. Hence,
Liu et al. proposed a novel scheme (Liu et al. 2023),
combining a sparse permutation matrix and an additive
matrix to obscure private data as well as zero elements.
Additionally, based on previous works, the privacy-pre -
serving outsourcing schemes for other matrix computa -
tions remain a hot issue. Salinas et al. proposed a secure
linear systems of equations outsourcing scheme (Salinas
et al. 2015), improving the efficiency by eliminating exter-
nal load-store costs. Hu et al. presented a secure matrix
inversion outsourcing computation framework (Hu et al.
2017), introducing a chaotic system to generate sparse
encryption matrices.
Matrix computations are core operations in machine
learning algorithms, thereby matrix blinding method
can be incorporated into various algorithms to securely
outsource computationally intensive computations.
Consequently, matrix blinding based privacy-preserv -
ing outsourcing computation scheme has demonstrated
impressive performance in data analysis of real-world
scenarios. Zhang et al. presented a secure face recogni -
tion scheme (Zhang et al. 2019) with a cloud service
provider, innovatively utilizing efficient vector–matrix
operations to encrypt the private data. Ren et al. intro -
duced a secure face recognition outsourcing scheme
(Ren et al. 2022) based on the linear discriminant analy -
sis (LDA) dimension reduction algorithm, with several
specially designed elementary matrices. Zhao et al. pre -
sented a secure K-means clustering outsourcing scheme
(Zhao et al. 2023), which conceals private data via House-
holder transformation and achieves secure computation
in space-air-ground integrated IoT. Tao et al. introduced a
privacy-preserving scheme (Tao et al. 2024) to outsource
Page 3 of 28
Sun et al. Cybersecurity (2026) 9:225
the locally linear embedding (LLE) dimension reduc -
tion algorithm, presenting a new constructed orthogonal
matrix to encrypt private data and providing an efficient
method for secret key generation. Ding et al. proposed a
novel matrix outsourcing computation scheme (Ding and
Du 2026) with Householder matrix, to accomplish the
principal component analysis (PCA) algorithm securely
and efficiently. Particularly, for remote sensing analysis
tasks, Gao et al. ’s scheme (Gao et al. 2020) and Ouyang
et al. ’s scheme (Ouyang et al. 2022) efficiently outsource
ground image processing tasks to the cloud server while
guaranteeing data privacy. In general, the matrix com -
putation outsourcing scheme is an effective solution for
accomplishing data analysis tasks in cloud computing.
However, by generating large-scale sparse matrices as
the secret key, previous outsourcing schemes impose a
significant storage and computation burden on clients,
which restricts the applied range and impacts analytical
effects. Specifically, to encrypt a data matrix X ∈ Rm×n ,
previous outsourcing schemes need to utilize at least two
encryption matrices P ∈ Rm×m and Q ∈ Rn×n.
With the developments of machine learning algorithms
and data collection techniques, previous privacy-pre -
serving matrix outsourcing computation schemes can -
not meet the growing demands for hyper-spectral remote
sensing image analysis. Existing schemes need a large
amount of storage space to store multiple large-scale
secret key matrices used in encryption and decryption
processes. On the one hand, the key storage consumes
a significant amount of resources on the client side. On
the other hand, the occupied storage space restricts the
application of machine learning algorithms and impacts
the performance of hyper-spectral remote sensing image
analysis.
Based on the above analysis, we introduce a privacy-
preserving outsourcing scheme with a novel matrix
blinding method. Our main contributions are summa -
rized as follows:
• We propose a privacy-preserving outsourcing com -
putation scheme for matrix multiplication computa -
tion (MMC) and matrix pseudo-inversion computa -
tion (MPIC) in the JSCC algorithm. The proposed
scheme outsources large-scale matrix computations
to a cloud server, thereby improving the efficiency
of hyper-spectral remote sensing image analysis.
Leveraging a novel matrix encryption method, we
efficiently obscure sensitive hyper-spectral images
through index sets and correspondingly present a
verification method to reject incorrect results.
• We present a novel matrix blinding method to execute
encryption and decryption with less storage resource
costs. Compared with previous methods, we utilize
the single-use index sets rather than large-scale sparse
matrices as the secret key, accomplishing encryption
and decryption procedures via element-wise compu -
tations. We correspondingly introduce an effective
method to validate returned results. Based on the sam-
pling-based comparison of obscured data and returned
results, the proposed scheme can reject incorrect
results through element-wise computations as well.
The proposed method is applicable to various machine
learning algorithms dominated by MMC or MPIC.
• The proposed privacy-preserving matrix outsourc -
ing computation scheme is evaluated by theoretical
analysis and simulated experiments. Detailed secu -
rity and efficiency analysis proves that our scheme
ensures input/output privacy and reduces compu -
tational time complexity. Experimental evaluations
demonstrate that the performance of our scheme is
4.15–10.79% superior to the SOTA schemes, and the
efficiency of hyper-spectral remote sensing image
analysis is improved by 73.49–80.45% across different
datasets.
We organize the remainder of the paper as follows. Sec -
tion II presents the fundamentals of the JSCC algorithm.
Section III describes the system model and provides an
introduction and analysis of the JSCC algorithm. Section
IV presents the secure outsourcing scheme for the JSCC
algorithm. Section V provides the correctness, security,
and efficiency analysis of our privacy-preserving out -
sourcing scheme. Finally, section VI showcases experi -
mental results of the proposed scheme.
Preliminaries
Simple linear iterative clustering algorithm
Simple linear iterative clustering (SLIC) algorithm is
a fast algorithm for super-pixel segmentation, which
has been widely utilized in the image processing field.
The detailed process of the SLIC algorithm is shown as
Algorithm 1.
Page 4 of 28Sun et al. Cybersecurity (2026) 9:225
Algorithm 1 SLIC algorithm
The SLIC algorithm divides an image into uniform grid
cells and merges image pixels based on color similar -
ity and spatial proximity. In the image processing field,
the SLIC algorithm segments images into super-pixels,
allowing image data to be processed simultaneously.
K‑means algorithm
K-means algorithm is a classical clustering method,
which assigns data points and updates centroids itera -
tively based on distance. The detailed process of the
K-means algorithm is shown as Algorithm 2.
Algorithm 2 K-means algorithm
The K-means algorithm is widely used in image seg -
mentation, image recognition, and image classification
tasks. In the image processing field, the K-means algo -
rithm is a basic clustering algorithm to achieve advanced
processing tasks.
Simultaneous orthogonal matching pursuit algorithm
Simultaneous orthogonal matching pursuit (SOMP)
algorithm is a mainstream algorithm to address the
joint sparse representation problem. As an expansion of
the orthogonal matching pursuit (OMP) algorithm, the
SOMP algorithm recovers a group of signals that share a
common sparse structure simultaneously. The calculation
process of the SOMP algorithm is shown as Algorithm 3.
Page 5 of 28
Sun et al. Cybersecurity (2026) 9:225
Algorithm 3 SOMP algorithm
The SOMP algorithm selects the optimum atoms
from a dictionary to approximate a signal based on
the greedy strategy. In the image processing field, the
SOMP algorithm contributes to identifying the com -
mon sparse patterns among image data grids.
Models and definitions
System model
The presented privacy-preserving outsourcing scheme
has two entities, a client and an untrusted server. The
client outsources large-scale matrix computations to
the cloud server, to accelerate data analysis tasks. How -
ever, due to the security risks brought by the untrusted
server, the client must conceal the private data, ver -
ify the returned result, and decrypt the final result
through a secret key held locally. In this procedure, the
untrusted server is only authorized to execute compu -
tation tasks with encrypted data. The complete system
model is shown in Fig. 1 .
Threat models
In the secure outsourcing scheme, the sensitive data
is sent to the untrusted server to execute complex
Fig. 1 System model of secure outsourcing scheme
Page 6 of 28Sun et al. Cybersecurity (2026) 9:225
computation tasks. In general, the untrusted server can
be categorized into three types. In this work, we design
a secure outsourcing computation scheme to resist the
malicious adversary.
Curious cloud server: The curious server honestly
completes the outsourcing computation, but is curious
about the sensitive information involved in input and
output data. These servers conduct attacks to acquire
original data or valuable information.
Lazy cloud server: The lazy server has no inter -
est in original data, but tries to forge results for sav -
ing resources or conducting attacks. These servers will
cheat the client to provide incorrect data for subse -
quent calculations.
Malicious cloud server: The malicious server tries
to crack the scheme, obtain private information via
encrypted data, and attack the client through returned
results. These servers will attempt to recover sensitive
data and return harmful results.
Design goals and security definition
The proposed privacy-preserving outsourcing scheme
aims to accomplish matrix computations efficiently while
ensuring input and output privacy. Consequently, the pri-
vacy-preserving outsourcing scheme must meet the fol -
lowing design goals.
Correctness: If the client and the server observe the
prescribed procedure, the client can obtain correct
results of the outsourced algorithm through the decryp -
tion process.
Input/Output privacy: The untrusted server can -
not acquire the private input and output data protected
by the encryption process, even though the server has
access to the encrypted data and the computation tasks.
Efficiency: The client outsources complex computa -
tions, satisfying the computations performed by the
client less than those performed by the server. In other
words, the outsourcing procedure significantly reduces
the computation time for the client.
Then, according to Ren et al. (2022), we provide the fol-
lowing security definition.
Definition 1 (Computational Indistinguishability) For a
matrix X ∈ Rm×n , set U ∈ Rm×n to be a random matrix
with its elements selected uniformly in the range of
(−Umax, Umax) . We say that matrices X and U are compu-
tationally indistinguishable if for any probabilistic poly -
nomial time distinguisher D:
where η(·) is a negligible function, xi,j and ui,j are the ele-
ments in the i-th row and j-th column of matrices X and
U respectively.
Any malicious adversaries cannot obtain useful infor -
mation from a random matrix whose elements are taken
from a uniform distribution. Hence, if the inputs and out-
puts achieve computational indistinguishability with ran-
dom matrices, the secure outsourcing scheme guarantees
input/output privacy.
Joint Sparse Coding Based Clustering (JSCC) algorithm
Introduction of JSCC algorithm
In the JSCC algorithm, an image is divided into sev -
eral super-pixels, and each super-pixel is represented
by an overcomplete dictionary and a sparse coefficient
matrix. Through the sparse representation, the JSCC
algorithm can extract pixel features and accomplish
high-accuracy image cluster tasks.
In detail, to obtain the homogeneous super-pixel
neighborhoods, the JSCC algorithm utilizes the SLIC
method with the first three principal components of the
image. Then, to construct a structured dictionary, the
JSCC algorithm uses the K-Means method to partition
the image and apply the KNN strategy to generate the
class subdictionaries. Finally, to acquire the coefficient
matrix, the JSCC algorithm uses the SOMP method to
solve the joint sparse recovery problem.
The complete process of the JSCC algorithm is shown
in Algorithm 4.
|Pr[D(xi,j ) = 1]−Pr [D(ui,j ) = 1]| < η( ·),
Table 1 Time complexity of JSCC algorithm
Computation phase Time complexity
Super-pixel segmentation O(tm)
Dictionary construction O(tmnc)
Joint sparse recovery O(mnbl + mnl2)
Table 2 Notations for proposed scheme
Notation Explanation Notation Explanation
X,Y Data matrices fr,finr Matrix transformations
R Result matrix r Number of verification
rounds
m,n,s Matrix dimensions t Transformation coefficient
index
M,N,S Key index sets p Permutation index
X ′,X ′′ Blinded matrices q Inverse permutation index
Page 7 of 28
Sun et al. Cybersecurity (2026) 9:225
Algorithm 4 Joint sparse coding based clustering algorithm
the K-means method computes the Euclidean distance
matrix through large matrix computations. Hence, the
dictionary construction task is with the time complex -
ity of O(tmnc).
In the joint sparse recovery phase, each super-pixel
is represented by the structured dictionary and a series
of sparse coefficients. In other words, each super-pixel
matrix Zi can be described as Zi ≈ ACi + Ei , where
Ci ∈ Rb×u is the coefficient matrix, Ei ∈ Rn×u is the resid-
ual matrix caused by coding errors. The SOMP method
recovers coefficient matrices via complex matrix calcula -
tions and brings significant computational challenges for
the client. Specifically, the time complexity of the joint
sparse recovery phase is O(mnl2) , where l denotes the
sparsity level.
Through analysis above, we give a time complexity
comparison among different phases of the JSCC algo -
rithm as shown in Table 1. Obviously, the computation
amount of the JSCC algorithm is mainly introduced by
the dictionary construction phase and the joint sparse
Fig. 2 Framework of proposed outsourcing scheme
Advantage of outsourcing JSCC algorithm
We conduct a computation analysis of the JSCC algo -
rithm, to explain the necessity of outsourcing the JSCC
algorithm.
In the super-pixel segmentation phase, the image
matrix H ∈ Rn×m is divided into k super-pixel matrices
Zi ∈ Rn×u , where m = xy denotes the pixel number of
an x × y image, u is an uncertain number representing
the pixel number of a super-pixel, and n denotes the
number of spectra information. The SLIC method is a
fast algorithm for super-pixel segmentation, which can
be accomplished locally without heavy computational
burdens. Specifically, conducting the SLIC method to
segment super-pixels is with the time complexity of
O(tm), where t denotes iteration times.
In the dictionary construction phase, b pixel vectors
are selected as atoms to construct a dictionary matrix
A ∈ Rn×b , where b = cd , among which c denotes the
cluster number, d denotes the atom number of a cluster.
The KNN strategy can be accomplished without scalar
multiplication and scalar division operations. However,
Page 8 of 28Sun et al. Cybersecurity (2026) 9:225
recovery phase, both of which can be accomplished
through matrix computations.
In the proposed framework, we outsource MMC and
MPIC as they constitute the main computational costs
of dictionary construction and joint sparse recovery. The
remaining components, including super-pixel segmenta -
tion, centroid initialization and updating, nearest-neighbor
selection, and final label assignment, mainly involve light-
weight element-wise calculations and comparisons. These
operations incur considerably lower computational costs
on the client and frequently depend on intermediate results.
Outsourcing these lightweight operations would intro -
duce additional encryption and communication costs with
limited efficiency improvement. Therefore, the proposed
framework retains these lightweight components on the cli-
ent while outsourcing the computationally intensive MMC
and MPIC tasks to the cloud server (Fig. 2).
Proposed outsourcing scheme
Framework of our proposed scheme
We propose a privacy-preserving outsourcing scheme to
improve the efficiency of conducting MMC and MPIC
for resource-constrained clients, thereby supporting effi -
cient and secure machine learning like hyper-spectral
remote sensing image analysis.
Specifically, the proposed outsourcing scheme for
MMC has five phases: the key generation phase KeyGen,
the client encryption phase ClientEnc, the server com -
putation phase ServerCom, the client verification phase
ClientVer, and the client decryption phase ClientDec. In
the key generation phase, we construct index sets, intro -
duced in the novel matrix encryption method, to serve
as the secret key. In the client encryption and decryp -
tion phases, we obscure sensitive data and recover final
results through the novel matrix encryption method. In
the client verification phase, we detect randomly selected
elements through element-wise computations.
In Section 4.2, we introduce the novel matrix encryp -
tion method, which is the key technique for the proposed
scheme. Then, in Section 4.3, we introduce a detailed pri-
vacy-preserving matrix computation outsourcing scheme
based on the aforementioned encryption method.
The main notations used in the proposed matrix out -
sourcing scheme and its analysis are summarized in Table 2.
Notably, although we apply the outsourcing framework
to the JSCC algorithm, the proposed matrix blinding
method can be used in various machine learning algo -
rithms that involve large-scale MMC or MPIC. Since the
proposed method encrypts the input matrices accord -
ing to the subtly designed matrix transformations, when
MMC or MPIC constitutes the main computational
cost, the most computationally intensive operations of a
machine learning algorithm can be securely outsourced
using our method. In particular, for deep learning
approaches, the proposed method can support linear
operations based on the blinding strategy. Combined
with secure protocols for non-linear operations, it may
also be extended to privacy-preserving deep learning
tasks. In this work, we focus on machine learning algo -
rithms dominated by MMC and MPIC, while the com -
bination of the proposed method with secure non-linear
computation will be investigated in future work.
Novel matrix encryption method
We propose a novel matrix encryption method, utiliz -
ing key index sets M , N, and S and encrypting sensitive
data matrix through element-wise computations.
The key index set N with the length of n can be gener -
ated through Algorithm 5.
Algorithm 5 Index set generation algorithm
Firstly, generate a permutation index p through a ran -
dom permutation π.
where i = 0, 1, ..., n − 1 , pi denotes the i-th value of index
p, π denotes a random permutation function.
Then, construct an inverse permutation index q
through the permutation index p .
where i = 0, 1, ..., n − 1 , qπ(i) denotes the π(i)-th value of
index q, π is the permutation function used before.
Next, create a value index t , which denotes several
orthogonal matrices. Each orthogonal matrix A ∈ R2×2
can be generated via two random non-zero integer ele -
ments a1, a2.
pi = π(i),
qπ(i) = i,
A =
(a1a3 −a2a3
a2a3 a1a3
)
,
Page 9 of 28
Sun et al. Cybersecurity (2026) 9:225
where a3 = 1√
a21+a22
.
To ensure that orthogonal matrices will not be reused,
a value index set t involves at least ⌊ n2 ⌋ orthogonal matri -
ces. Therefore, value index t consists of n elements. If n
is even, n elements denote n2 orthogonal matrices; oth -
erwise, n − 1 elements denote ⌊ n2 ⌋ orthogonal matrices,
and a ±1 value is included in the value index set t to
represent an orthogonal matrix Aodd ∈ R1×1.
The key index set N consists of permutation index
p, inverse permutation index q, and value index t. With
permutation index p and inverse permutation index q,
the key index set can execute permutation operations on
rows or columns to the original matrix. With value index
t, the key index set can conduct multiplication opera -
tions and addition operations on rows or columns to the
original matrix. Hence, the key index set can obscure the
original matrix entirely via matrix elementary transfor -
mations, functioning the same as a key matrix.
Note that the key index sets are single-use for a spe -
cific matrix encryption task, as the secret key can be
efficiently generated according to the above method. In
other words, no adversary can obtain different matrices
encrypted by the same secret key.
When executing row encryption with key index set M,
each element x′ in encrypted matrix X′ can be computed
as:
When executing inverse row encryption with key index
set M, each element x′ in encrypted matrix X′ can be
computed as:
When executing column encryption with key index set
M, each element x′ in encrypted matrix X′ can be com -
puted as:
When executing inverse column encryption with key
index set M, each element x′ in encrypted matrix X′ can
be computed as:
(1)
x′i,j = fr (M, X, i, j) =
tpi xpi ,j , pi is even &pi = m − 1;
tpi xpi ,j − tpi +1xpi +1,j , pi is even ;
tpi xpi −1,j + tpi −1xpi,j , pi is odd .
(2)
x′i,j = finr (M, X, i, j) =
tixqi ,j , i is even &i = m − 1;
tixqi ,j + ti+1xqi+1,j , i is even;
−tixqi−1,j + ti−1xqi ,j , i is odd .
(3)
x′i,j = fc(M, X, i, j) =
tj xi,qj , j is even & j = n − 1;
tj xi,qj + tj+1xi,qj+1 , j is even;
−tj xi,qj−1 + tj−1xi,qj , j is odd .
Privacy‑preserving outsourcing for matrix computation
We propose a privacy-preserving outsourcing scheme to
outsource MMC and MPIC in the JSCC algorithm. We
introduce a novel matrix blinding method.
Privacy‑preserving outsourcing scheme for MMC
Given matrices X ∈ Rm×s and Y ∈ Rs×n , the privacy-pre-
serving outsourcing scheme for MMC contains the fol -
lowing five phases.
- KeyGen(/afii9838 ) → SK {M, N , S}:
The Client employs a set of indices, which function
similarly to a key matrix, to conceal the private matrix
through the matrix encryption method.
The key index set M, N, and S can be generated
through the index set generation algorithm as shown in
Algorithm 5. - ClientEnc(SK,X,Y) → X′,Y ′:
Client obscures the original matrices X and Y through
key index sets M, N, S. Based on the novel matrix encryp-
tion method, the client executes element computations
rather than matrix computations to accomplish the
encryption operation.
To encrypt the original matrix X, client utilizes key
index set M, S. Firstly, the client computes each interme-
diate encrypted element x′ as follows:
Then, the client computes each encrypted element x′′ as
follows:
Hence, the client obtains the encrypted matrix X′′ with
key index sets M, S . Each element x in the original
matrix X has been obscured via the matrix encryption
method.
Similar to the encrypted matrix X′′ , the encrypted
matrix Y ′′ can be calculated through the steps given
above with key index set S, N.
Firstly, the client computes each intermediate
encrypted element y′ as follows:
Then, the client computes each encrypted element y′′ as
follows:
(4)
x′i,j = finc(M, X, i, j) =
tpj xi,pj , pj is even & pj = n − 1;
tpj xi,pj − tpj +1xi,pj +1, pj is even ;
tpj xi,pj −1 + tpj −1xi,pj , pj is odd .
x′i,j = fr (M, X, i, j).
x′′i,j = finc(S, X′, i, j).
y′i,j = fr (S, Y , i, j).
Page 10 of 28Sun et al. Cybersecurity (2026) 9:225
Hence, the client acquires the encrypted matrix Y ′′ , of
which each element y′′ is the encrypted version of the
original elements.
3. ServerComMMC(X′′,Y ′′ ) → R′′:
Server executes matrix multiplication computation
with the received encrypted matrices X′′ and Y ′′.
T o complete the MMC task, the server executes the fol-
lowing computation.
The server returns the encrypted result R′′ to the client.
4. ClientVerMMC(R′′,X′′,Y ′′ ) → u:
Client verifies the returned result via sampling detec -
tion. For the correctness comparison, the client par -
tially extracts obscured elements in the encrypted and
returned matrix to compute verification values based
on element-wise computations. The detailed verification
process is shown in Algorithm 6.
Algorithm 6 Client verification algorithm for MMC
To ensure the returned result matrix R′′ from a server
is reliable, the client verifies the correctness of random
columns. Note that random elements vk are generated
with each verification; in other words, random elements
vk are never reused in different verifications. If all of the
selected elements pass the verification, the client accepts
the returned result, otherwise, the client rejects it.
5. ClientDecMMC(SK,R′′ ) → R:
Client recovers the matrix multiplication result matrix
R through key index sets M, N . Based on the novel
matrix encryption method, the client executes element
computations directly to accomplish the decryption
operation.
y′′i,j = finc(N , Y ′, i, j).
R′′ = X′′Y ′′.
To decrypt the result matrix R, client utilizes key array
sets M, N . Firstly, the client computes each intermediate
decrypted element r′′ as follows:
Then, the client computes each decrypted element r as
follows:
Hence, the client obtains the decrypted matrix multipli -
cation result R.
In general, privacy-preserving outsourcing encrypts,
verifies, and decrypts sensitive matrices through ele -
ment-wise computations, accomplishing the MMC task
efficiently and securely.
Privacy‑preserving outsourcing for MPIC
The privacy-preserving outsourcing scheme for MPIC
contains five phases, among which the KeyGen phase
and the ClientEnc phase are completely the same as
the privacy-preserving outsourcing scheme for MMC.
Therefore, we introduce the ServerComMPIC phase, the
ClientVerMPIC phase, and the ClientDecMPIC phase in
detail.
- ServerComMPIC(X′′ ) → R′′:
Take matrix X ∈ Rm×n as an example, the server exe -
cutes matrix pseudo-inversion computation with the
received encrypted matrix X′′.
If m ≤ n , the right inverse matrix of X exists. To com -
plete the MPIC task, the server executes the following
computation.
If m > n , the left inverse matrix of X exists. To com -
plete the MPIC task, the server executes the following
computation.
Then, the server returns the encrypted result R′′ to the
client. - ClientVerMPIC(R′′,X′′ ) → u:
Client verifies the returned result via sampling detec -
tion. For the correctness comparison, the client par -
tially extracts obscured elements in the encrypted and
returned matrix to compute verification values based
on element-wise computations. The detailed verifica -
tion process is shown in Algorithm 7.
To ensure the returned result matrix R′′ from a
server is reliable, the client verifies the validity of ran -
dom columns. If all of the selected elements pass the
r′i,j = finr (M, R′′, i, j).
ri,j = fc(N , R′, i, j).
R′′ = X′′T (X′′X′′T )−1.
R′′ = (X′′T X′′)−1X′′T .
Page 11 of 28
Sun et al. Cybersecurity (2026) 9:225
verification, the client accepts the returned result, oth -
erwise, the client rejects it.
Algorithm 7 Client verification algorithm for MPIC
3. ClientDecMPIC(SK,R′′ ) → R:
Client recovers the matrix inversion result matrix R
through key index sets M, N. Based on the novel matrix
Page 12 of 28Sun et al. Cybersecurity (2026) 9:225
encryption method, the client executes element compu -
tations directly to accomplish the decryption operation.
To decrypt the result matrix R, client utilizes key array
sets M, N. Firstly, the client computes each intermediate
decrypted element r′′ as follows:
Then, the client computes each decrypted element r as
follows:
Hence, the client obtains the decrypted matrix pseudo-
inversion result matrix R.
In general, the privacy-preserving outsourcing
encrypts, verifies, and decrypts sensitive matrices
through element-wise computations, accomplishing the
MPIC task efficiently and securely.
r′i,j = finr (N , R′′, i, j).
ri,j = fc(M, R′, i, j).
Privacy‑preserving outsourcing for JSCC algorithm
We propose a privacy-preserving matrix outsourcing
scheme to effectively accomplish the JSCC algorithm
based on our scheme introduced above. In detail, we out-
source the dictionary construction phase and the joint
sparse recovery phase of the JSCC algorithm, to reduce
the computational burden brought by key calculation
steps on the client device.
Secure outsourcing for dictionary construction
In the JSCC algorithm, the K-Means method, and the
KNN strategy are utilized to construct a structured dic -
tionary and several subdictionaries. Therefore, we apply
the proposed scheme for MMC to reduce the time com -
plexity of the dictionary construction phase.
We outsource MMCs for calculating distance matrices
in the K-Means method. The simple calculations of cen -
troid initialization, pixel assignment, and centroid updat -
ing are partitioned to the client. The detailed outsourcing
process is presented in Algorithm 8.
Algorithm 8 Secure outsourcing for dictionary construction
Secure outsourcing for joint sparse recovery
In the JSCC algorithm, the SOMP method is leveraged
to solve the joint sparse recovery problem. We combine
the novel secure outsourcing scheme for MMC and
MPIC to reduce the time complexity of the joint sparse
recovery phase.
We outsource MPICs for estimating the sparse repre -
sentation of residuals via the least square method and
outsource MMCs for computing the certain coefficient
matrix and residual matrix. In fact, we find that these
two outsourcing steps can be merged into one simple
and feasible outsourcing step. Therefore, we propose
a merged outsourcing approach to further reduce the
communication and computation burdens. The detailed
outsourcing process is shown in Algorithm 9.
Page 13 of 28
Sun et al. Cybersecurity (2026) 9:225
Algorithm 9 Secure outsourcing for joint sparse recovery
Analysis of proposed scheme
Correctness analysis
The proposed privacy-preserving outsourcing scheme
utilizes the novel matrix encryption method to encrypt
and decrypt sensitive data. Therefore, we first introduce
the properties of the novel matrix encryption method
and then analyze the correctness of our proposed scheme
based on these properties.
Page 14 of 28Sun et al. Cybersecurity (2026) 9:225
Properties of improved matrix encryption method
Firstly, the obscured matrix by row or column encryp -
tion can be recovered through the inverse encryption, as
shown in
Theorem 1.
Theorem 1 (Invertibility) For a matrix X ∈ Rm×n , exe-
cuting the row encryption fr and its inverse encryption
finr , regardless of the execution order, leaves the original
matrix X unchanged. The column encryption is similar to
row encryption.
Proof Since the index q is the inverse of permutation
index p, there is pqi = qpi = i . When the index length is
even, as the value index t is computed by a1a3 or a2a3 ,
where a3 = 1√
a21+a22
, if i is even, there is t2i + t2i+1 = 1 , and
if i is odd, there is t2i + t2i−1 = 1 . When the index length is
odd, the remaining coefficient tn−1 is randomly selected
from ±1 , therefore also satisfies t2n−1 = 1.
For a row encrypted matrix X′ , if i = n − 1 is even and
pqi = n − 1 is even, executing finr can be formulated as
follows:
If i is even and pqi is even, executing finr can be formu -
lated as follows:
Similarly, if i is odd and pqi is odd, executing finr can be
formulated as follows:
fr (M, finr (M, X)) = finr (M, fr (M, X)) = X,
fc(M, finc(M, X)) = finc(M, fc(M, X)) = X.
x′′n−1,j =tn−1x′qn−1,j
=tn−1(tn−1xn−1,j )
=t2n−1xn−1,j
=xn−1,j .
x′′i,j =tix′qi ,j + ti+1x′qi+1,j
=ti(tpqi xpqi ,j − tpqi +1xpqi +1,j )
- ti+1(tpqi+1 xpqi+1 −1,j + tpqi+1 −1xpqi+1 ,j )
=(t2i + t2i+1)xi,j + (titi+1 − titi+1)xi+1,j
=xi,j .
x′′i,j =− tix′qi−1,j + ti−1x′qi ,j
=− ti(tpqi−1 xpqi−1 ,j − tpqi−1 +1xpqi−1 +1,j ) - ti−1(tpqi xpqi −1,j + tpqi −1xpqi ,j )
=(t2i + t2i−1)xi,j + (titi−1 − titi−1)xi−1,j
=xi,j .
In conclusion, executing the row encryption and its
inverse encryption in sequence on a matrix X will not
change the original matrix.
The same applies to executing the column encryption
or executing the inverse encryption. □
Secondly, the multiplication of encrypted matrices is
equivalent to the multiplication of relevant encrypted
matrices, as shown in Theorem 2and Theorem 3.
Theorem 2 (Associativity-1) For a matrix X ∈ Rm×s
and a matrix Y ∈ Rs×n , executing fc on X and computing
Z = X′Y in the sequence is equivalent to executing fr on Y
and computing Z = XY ′ . Inverse encryption is similar to
original encryption.
Proof Since the permutation index p is generated
through a permutation π , for any i ∈{ 0, 1, ..., len(p) − 1} ,
there always exists one and only one i′ that satisfies
pi′ = i . The same applies to the inverse permutation
index q.
For a column encrypted matrix X′ and a matrix Y, the
product matrix R′ can be computed as follows:
where
For a matrix X and a row encrypted matrix Y ′ , the prod-
uct matrix R′′ can be computed as follows:
where
When k′ = qk , the y′ can be formulated as follows:
fc(M, X)Y = Xfr (M, Y ), finc(M, X)Y = Xfinr (M, Y ).
r′i,j =
s∑
k=0
x′i,k yk,j ,
x′i,k =
tk xi,qk , k is even & k = s − 1;
tk xi,qk + tk+1xi,qk+1 , k is even;
−tk xi,qk−1 + tk−1xi,qk , k is odd .
r′′i,j =
s∑
k=0
xi,k y′k,j ,
y′k,j =
tpk ypk ,j , pk is even & pk = s − 1;
tpk ypk ,j − tpk +1ypk +1,j , pk is even ;
tpk ypk −1,j + tpk −1ypk ,j , pk is odd .
Page 15 of 28
Sun et al. Cybersecurity (2026) 9:225
Therefore, for the paired positions, when k is even, the
sum of the k-th and (k + 1)-th computations for product
element r′i,j can be formulated as:
and the sum of the qk-th and (qk+1)-th computations for
product element r′′i,j can be formulated as:
The sum of the k-th and (k + 1)-th computations for r′i,j
and the sum of the qk-th and (qk+1)-th computations for
r′′i,j are equal, which proves that r′i,j is equal to r′′i,j.
For the remaining position, when k = s − 1 is even, the
(s − 1)-th term of r′i,j can be formulated as
and the (qs−1)-th term of r′′i,j can be formulated as
Therefore, the terms produced by the remaining position
in r′ and r′′ are equal.
In conclusion, an encrypted matrix X multiplied by
a matrix Y is equivalent to a matrix X multiplied by an
encrypted matrix Y.
Similarly, we can prove that the inverse row and col -
umn encryption achieve the same result. □
Based on the Theorem 2, we can derive the following
theorem.
Theorem 3 (Associativity-2) For a matrix X ∈ Rm×s
and a matrix Y ∈ Rs×n , executing fr on R = XY is equiv -
alent to executing fr on X and computing R = X′Y . The
y′qk ,j =
tpqk ypqk ,j , pqk is even & pqk = s − 1;tpqk ypqk ,j − tpqk +1ypqk +1,j , pqk is even ;tpqk ypqk −1,j + tpqk −1ypqk ,j , pqk is odd ;
tk yk,j , k is even & k = s − 1;
tk yk,j − tk+1yk+1,j , k is even;
tk yk−1,j + tk−1yk,j , k is odd .
r′i,jk + r′i,jk+1 = tk (xi,qk yk,j + xi,qk+1 yk+1,j )
- tk+1(xi,qk+1 yk,j − xi,qk yk+1,j ),
r′′i,jqk + r′′i,jqk+1 = tk (xi,qk yk,j + xi,qk+1 yk+1,j ) - tk+1(xi,qk+1 yk,j − xi,qk yk+1,j ).
r′i,js−1 = x′i,s−1ys−1,j
= ts−1xi,qs−1 ys−1,j ,
r′′i,jqs−1 = xi,qs−1 y′qs−1,j
= ts−1xi,qs−1 ys−1,j .
column encryption and the inverse encryption are similar
to row encryption.
Proof For a matrix R = XY , executing the row encryp -
tion can be formulated as:
Therefore, executing fr on R = XY is equivalent to exe -
cuting fr on X and computing R = X′Y .
Similarly, column encryption and inverse encryption
have the same property. □
Additionally, the transposition of encrypted matrices is
equivalent to the encrypted transposed matrices, as shown
in Theorem 4.
Theorem 4 (Transposition) For a matrix X ∈ Rm×n ,
executing fr and transposing the encrypted matrix in
sequence is equivalent to transposing the matrix and exe -
cuting finc . The column encryption and the inverse encryp-
tion are similar to row encryption.
Proof Let xT denote the position transposition of ele -
ment x, where xT (i,j) = xj,i.
For a row encrypted matrix X′ , the transposed matrix
X′′ = X′T can be formulated as follows:
Additionally, for the transposed matrix XT , executing
finc can be formulated as follows:
fr (M, XY ) = fr (M, X)Y , fc(M, XY ) = Xfc(M, Y ),
finr (M, XY ) = finr (M, X)Y ,
finc(M, XY ) = Xfinc(M, Y ).
fr (M, XY ) = fc(M, I)XY = fr (M, X)Y .
(fr (M, X))T = finc(M, XT ),
(finr (M, X))T = fc(M, XT ),
(fc(M, X))T = finr (M, XT ),
(finc(M, X))T = fr (M, XT ).
x′′i,j = x′j,i =
tpj xpj ,i, pj is even & pj = m − 1;
tpj xpj ,i − tpj +1xpj +1,i, pj is even ;
tpj xpj −1,i + tpj −1xpj ,i, pj is odd .
x′′′i,j =
tpj xT (i,pj ), pj is even & pj = m − 1;
tpj xT (i,pj ) − tpj +1xT (i,pj +1), pj is even ;
tpj xT (i,pj −1) + tpj −1xT (i,pj ), pj is odd ;
=
tpj xpj ,i, pj is even & pj = m − 1;
tpj xpj ,i − tpj +1xpj +1,i, pj is even;
tpj xpj −1,i + tpj −1xpj ,i, pj is odd .
Page 16 of 28Sun et al. Cybersecurity (2026) 9:225
The transposed matrix X′′ = (fr (M, X))T and the
encrypted matrix X′′′ = finc(M, XT ) are equal, which
proves that transposing the encrypted matrix is equiva -
lent to encrypting the transposed matrix.
Similarly, the fc , finr , or finc lead to the same result.
□
Finally, the inversion of encrypted matrices is equiv -
alent to the encrypted inversion matrices, as shown in
Theorem 5.
Based on Theorem 1 and Theorem 2, we can derive
the following theorem.
Theorem 5 (Inversion) For a matrix X ∈ Rm×m , invers-
ing the row encrypted matrix X′ is equivalent to executing
finc on the inverse matrix X−1 . The column encryption
and the inverse encryption are similar to row encryption.
Proof For a matrix X, the multiplication between the
encrypted matrix X′ = fr (M, X) and the encrypted
matrix X′′ = finc(M, X−1) can be formulated as follows:
Therefore, (X′)−1 = X′′ , which proves that inversing the
row encrypted matrix X′ is equivalent to executing finc
on the inverse matrix X−1.
Similarly, we can prove that the column encryption and
the inverse encryption have the same property. □
According to the properties of the novel matrix
encryption method, we can prove that the proposed
secure outsourcing scheme can obtain the correct
computation result.
Correctness analysis of MMC privacy‑preserving outsourcing
For the MMC task, the proposed scheme obscures the
original matrices X and Y through the novel matrix
encryption method. Specifically, the matrix X ∈ Rm×s
can be obscured as:
and the matrix Y ∈ Rs×n can be obscured as:
(fr (M, X))−1 = finc(M, X−1),
(fc(M, X))−1 = finr (M, X−1),
(finr (M, X))−1 = fc(M, X−1),
(finc(M, X))−1 = fr (M, X−1).
X′X′′ = fr (M, X)finc(M, X−1) = I.
X′′X′ = finc(M, X−1)fr (M, X) = I.
X′′ = finc(S, fr (M, X)),
where M, N and S denote the key index sets of length m,
n, and s.
According to the properties of the novel matrix encryp-
tion method, the actual computation process for MMC
can be formulated as:
Therefore, the decryption of the MMC privacy-preserv -
ing outsourcing scheme can be formulated as:
The proposed MMC privacy-preserving outsourcing
scheme is correct.
Correctness analysis of MPIC privacy‑preserving outsourcing
For the MPIC task, the proposed scheme conceals the
original matrix X ∈ Rm×n , and the actual computation
process for MPIC can be formulated as:
Therefore, the decryption of the MPIC privacy-preserv -
ing outsourcing scheme can be formulated as:
Similarly, the left pseudo-inverse matrix can be obtained
through the decryption as well.
In conclusion, the proposed MPIC privacy-preserving
outsourcing scheme is correct.
Security analysis
For input privacy, given the input data X ∈ Rm×n of
MMC task or MPIC task, the client computes the
encrypted matrix X′′ as follows:
Y ′′ = finc(N , fr (S, Y )),
R′′ = X′′Y ′′
= finc(S, fr (M, X))finc(N , fr (S, Y ))
= finc(N , fr (M, X)finr (S, fr (S, Y )))
= finc(N , fr (M, XY )).
R = fc(N , finr (M, R′′))
= fc(N , finr (M, finc(N , fr (M, XY ))))
= fc(N , Xfinc(N , Y ))
= XY .
R′′right = X′′T (X′′X′′T )−1
= fr (N , finc(M, XT ))
(finc(N , fr (M, X))fr (N , finc(M, XT )))−1
= finc(M, fr (N , XT (XXT )−1)).
Rright = fc(M, finr (N , R′′))
= fc(M, finc(M, XT (XXT )−1))
= XT (XXT )−1.
Page 17 of 28
Sun et al. Cybersecurity (2026) 9:225
For output privacy, the encrypted result matrix
R′′MMC ∈ Rm×n for MMC task can be formulated as:
and the encrypted result matrix R′′MPIC ∈ Rn×m for MPIC
task can be formulated as:
Both the encrypted input and the encrypted output are
obscured through column encryption and row encryp -
tion achieved by the novel matrix encryption method.
Therefore, we give the following security analysis.
Input privacy
We assume that elements of matrix X range from
(−2h,2 h) , where h > 0 is a constant.
In the KeyGen phase, random numbers a1 and a2 are
uniformly selected from (−2g ,0 ) ∪ (0, 2 g ) , which means
a3 = 1√
a21+a22
ranges from ( 1√
22g +1 , 1√2 ) . Therefore,
t2i = a1a3 or t2i+1 = a2a3 ranges from ( −2g√22g +1 , 2g√22g +1 ) .
Notably, when the index length d is odd, the remaining
coefficient td−1 is selected from ±1 with equal
probability.
For X′ = fr (M, X) , we have x′i,j = t′1xi′,j + t′2xi′′,j , where
t′1, t′2 are extracted from value index t and i′, i′′ are deter-
mined by permutation index p. Thus, x′i,j is distributed in
the interval ( −2g+1√
22g +1 · 2h, 2g+1√22g +1 · 2h) . When m is odd,
the remaining row is placed at qm−1 by the permutation
operation, and its elements are computed as
x′qm−1,j = tm−1xm−1,j . Therefore, these elements remain in
the interval (−2h,2 h) , while their original row position
are concealed by the random permutation. Overall, x′i,j is
still distributed in the interval ( −2g+1√
22g +1 · 2h, 2g+1√22g +1 · 2h).
For X′′ = finc(N , X′) , we have x′′i,j = t′′1 x′i,j′ + t′′2 x′i,j′′ ,
where t′′1 , t′′2 are extracted from value index t and j′, j′′
are determined by permutation index p . Let H ′ denote
the theoretical maximum of x′i,j . Thus, x′′i,j is distributed
in the interval ( −2g+1√
22 g +1 · H ′, 2g+1√22 g +1 · H ′) . When n is
odd, the remaining column is placed at qn−1 by the per -
mutation operation, and its elements are computed as
x′′i,qn−1 = tn−1x′i,n−1 . Therefore, these elements remain in
the interval (−H ′, H ′) , while their original column posi -
tion are concealed by the random permutation. Hence,
x′′i,j is still distributed in the interval
( −2g+1√
22 g +1 · H ′, 2g+1√22 g +1 · H ′).
X′′ = finc(N , fr (M, X)).
R′′MMC = finc(N , fr (M, RMMC )),
R′′MPIC = finc(M, fr (N , RMPIC )).
Theorem 6 Set U ∈ Rm×n to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · 2h, √2 · 2h) , the encrypted matrix
X′ = fr (M, X) and the random matrix U are computa -
tionally indistinguishable.
Proof To prove the encrypted matrix X′ = fr (M, X)
and the random matrix U are computationally indistin -
guishable, we introduce a polynomial time distinguisher
D . Any probabilistic D cannot distinguish x′i,j from ui,j
unless with negligible probability.
Since elements of U and X′range from
(−
√
2 · 2h, √2 · 2h) and ( −2g+1√
22g +1 · 2h, 2g+1√22g +1 · 2h) respec-
tively. Thus, for a sample e∗ = x′i,j or e∗ = ui,j , the best
strategy for distinguisher D is to return b ←{ 0, 1} with
equal probability if −
√
2 · 2h < e∗ < √2 · 2h and return 1
if e∗ ≤− √2 · 2h or e∗ ≥ √2 · 2h.
Thus, the success probability of the D can be formu -
lated as:
Particularly, when m is odd, each element in the remain -
ing row is multiplied by ±1 . Its absolute value remains
below |±
√
2 · 2h| . Hence, elements in the remaining row
never fall outside the interval considered above.
Pr[D(e∗) = 1]
= 12 Pr[−√2 · 2h < e∗ < √2 · 2h]
- Pr[e∗ ≤− √2 · 2h]+Pr [e∗ ≥ √2 · 2h]
= 12 (1 − Pr[e∗ ≤− √2 · 2h]−Pr [e∗ ≥ √2 · 2h]) - Pr[e∗ ≤− √2 · 2h]+Pr [e∗ ≥ √2 · 2h]
= 12 + 12 Pr[e∗ ≤− √2 · 2h]+ 12 Pr[e∗ ≥ √2 · 2h].
Table 3 Time complexity comparison
Computation Phase Time complexity
KeyGen 2(m + n + s)
Matrix ClientEnc 4(ms + ns)
Multiplication ServerCom mns
Computation ClientVer 12 rns + 12 rmn + rms
ClientDec 4mn
KeyGen 2(m + n)
Matrix ClientEnc 4mn
Pseudo-inversion ServerCom 2mn2
Computation ClientVer 3rmn
ClientDec 4mn
Page 18 of 28Sun et al. Cybersecurity (2026) 9:225
According to the KeyGen, for each paired position, we
have t′21 + t′22 = 1 , which means
2g√
22g +1 > t′1, t′2 > 1√22g +1 . The probability of e∗ = x′i,j out
of range (−
√
2 · 2h, √2 · 2h) can be formulated as:
Similarly, we can prove that Pr[x′i,j ≤− √2 · 2h]≤ 12g+2−4.
When e∗ = x′i,j , the success probability of the D can be
formulated as:
When e∗ = ui,j , the success probability of the D can be
formulated as:
In conclusion, for any i ∈[ 0, m − 1], j ∈[ 0, n − 1] , we
obtain
which is a negligible function. According to Definition 1,
X′ and U are computationally indistinguishable. □
Theorem 7 Set U ∈ Rm×n to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · H ′, √2 · H ′) , the encrypted matrix
X′′ = finc(N , X′) and the random matrix U are computa -
tionally indistinguishable.
Proof The proof is similar to that of Theorem 6. There-
fore, the proof is omitted here. □
Output privacy
We assume that elements of result matrix RMMC and
RMPIC range from (−2s,2 s) , where s > 0 is a constant.
For R′MMC = fr (M, RMMC ) , we have r′i,j = t′1ri′,j + t′2ri′′,j
or r′i,j =± ri′,j , where t′1, t′2 are extracted from value
index t and i′, i′′ are determined by permutation index
p. Thus, r′i,j is distributed in the interval
( −2g+1√
22g +1 · 2s , 2g+1√22g +1 · 2s ).
Pr[x′i,j ≥ √2 · 2h]= Pr[t′1xi′,j + t′2xi′′,j ≥ √2 · 2h]
≤ Pr[t′12h + t′22h ≥ √2 · 2h]
= Pr[t′1 + t′2 ≥ √2]≤ 12g+2 − 4 .
1
2 ≤ Pr[D(x′i,j ) = 1]≤ 12 + 12g+2 − 4 .
Pr[D(ui,j ) = 1]= 12 .
Pr[D(x′i,j ) = 1]− Pr[D(ui,j ) = 1]≤ 12g+2 − 4 ,
For R′′MMC = finc(N , R′MMC ) , we have
r′′i,j = t′′1 r′i,j′ + t′′2 r′i,j′′ or r′′i,j =± r′i,j′ , where t′′1 , t′′2 are
extracted from value index t and j′, j′′ are determined by
permutation index p. Let S′ denote the theoretical maxi -
mum of r′i,j . Thus, r′′i,j is distributed in the interval
( −2g+1√
22 g +1 · S′, 2g+1√22 g +1 · S′).
Theorem 8 Set U ∈ Rm×n to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · 2s, √2 · 2s) , the encrypted matrix
R′MMC = fr (M, RMMC ) and the random matrix U are
computationally indistinguishable.
Proof The proof is similar to that of Theorem 6. There-
fore, the proof is omitted here. □
Theorem 9 Set U ∈ Rm×n to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · S′, √2 · S′) , the encrypted matrix
R′′MMC = finc(N , R′MMC ) and the random matrix U are
computationally indistinguishable.
Proof The proof is similar to that of Theorem 6. There-
fore, the proof is omitted here. □
For R′MPIC = fr (N , RMPIC ) , we have r′i,j = t′1ri′,j + t′2ri′′,j
or r′i,j =± ri′,j , where t′1, t′2 are extracted from value index t
and i′, i′′ are determined by permutation index p. Thus, r′i,j
is distributed in the interval ( −2g+1√
22g +1 · 2s, 2g+1√22g +1 · 2s).
For R′′MPIC = finc(M, R′MPIC ) , we have r′′i,j = t′′1 r′i,j′ + t′′2 r′i,j′′
or r′′i,j =± r′i,j′ , where t′′1 , t′′2 are extracted from value index t
and j′, j′′ are determined by permutation index p . Let S′
Table 4 Partial errors on MMC task
Location Accurate Outsourced Error
(12,27) 5.43606994 5.43606994 1.78E-15
(103,325) 8.51580276 8.51580276 8.88E-16
(328,537) 8.63195586 8.63195586 2.66E-15
(1020,950) 6.06523737 6.06523737 4.44E-15
Table 5 Partial errors on MPIC task
Location Accurate Outsourced Error
(5,30) 0.00035685 0.00035685 5.60E-17
(10,197) 0.00109883 0.00109883 7.30E-17
(13,704) 0.00155947 0.00155947 5.98E-17
(20,1402) 0.00018177 0.00018177 2.18E-17
Page 19 of 28
Sun et al. Cybersecurity (2026) 9:225
denote the theoretical maximum of r′i,j . Thus, r′′i,j is distrib-
uted in the interval ( −2g+1√
22 g +1 · S′, 2g+1√22 g +1 · S′).
Theorem 10 Set U ∈ Rn×m to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · 2s, √2 · 2s) , the encrypted matrix
R′MPIC = fr (N , RMPIC ) and the random matrix U are com-
putationally indistinguishable.
Proof The proof is similar to that of Theorem 6. There-
fore, the proof is omitted here. □
Theorem 11 Set U ∈ Rn×m to be a random matrix
with its elements taken from a uniform distribution in
the range of (−
√
2 · S′, √2 · S′) , the encrypted matrix
R′′MPIC = finc(M, R′MPIC ) and the random matrix U are
computationally indistinguishable.
Proof The proof is similar to that of Theorem 6. There-
fore, the proof is omitted here. □
Verifiability analysis
Theorem 12 The proposed scheme can resist the cheat -
ing behaviors of any polynomial time adversaries unless
with a negligible probability.
Proof For the MMC outsourcing computation task, if
the cloud server returns an incorrect result R′′ , it is obvi -
ous that Z = X′′Y ′′ − R′′ �=0 . Thus, at least one element
of Z is a non-zero element. Based on the verification pro -
cedure, we assume that zi,j = 0 , thereby we obtain
(5)
m−1∑
k=0
s−1∑
k′=0
vk X′′k,k′ Y ′′k′,j �=
m−1∑
k=0
vk R′′k,j .
Fig. 3 Segmentation result by the outsourced JSCC algorithm
Page 20 of 28Sun et al. Cybersecurity (2026) 9:225
Let Pass denote the event that incorrect result R′′ passes
the verification in one round, and Hit denote the event
that loc = j occurs in a round of verification. Particularly,
since the location loc of verification elements is deter -
mined by the random permutation w, the probability of
Hit can be formulated as:
(6)Pr[Hit]= (n − 1)!⌈ n2 ⌉n! ≥ 12 .
Correspondingly, we have
Based on the total probability theorem, the probability
that the incorrect result passes the verification is
When Hit occurs, according to Eq. 5, we have
Pr[Pass|Hit]=0 . Otherwise, the incorrect element r′′i,j
is ignored, we have Pr[Pass|Hit]≤1 . According to Eq. 6
and Eq. 7, the probability of Pass can be formulated as:
In conclusion, for t rounds of verification, the probability
that incorrect results pass the verification satisfies
which is a negligible value.
(7)Pr[Hit]= 1 − Pr[Hit]≤ 12 .
Pr[Pass]=Pr [Pass|Hit]Pr[Hit]+Pr [Pass|Hit]
Pr[Hit].
Pr[Pass]≤ 12 .
Pr[Passt ]≤ Prt [Pass]≤ 12t ,
Fig. 4 Time cost comparisons among secure computation tasks.
Table 6 Efficiency improvement of matrix computation
Matrix MMC task MPIC task
Size Our (%) Gao (%) Liu (%) FSS (%) CKKS (%) Our (%) Gao (%) Liu (%)
s = 30 62.97 58.69 33.53 0.00 56.52 76.52 62.83 64.49
s = 40 70.89 66.70 48.57 0.00 60.47 75.34 69.69 70.35
s = 50 75.24 71.61 60.02 0.00 63.13 79.19 73.96 74.34
s = 60 78.55 75.47 64.40 0.00 64.59 81.92 76.79 77.67
s = 70 80.96 78.19 68.82 9.68 66.26 83.25 79.39 80.31
s = 80 81.41 78.93 69.40 15.87 67.02 84.66 81.15 81.78
Fig. 5 Time cost comparisons among outsourcing phases
Page 21 of 28
Sun et al. Cybersecurity (2026) 9:225
The proof for the MPIC outsourcing computation task
follows a similar approach. □
Efficiency analysis
We analyze the detailed computational efficiency
improvement achieved by the proposed matrix computa -
tion outsourcing scheme. It should be noted that we only
consider the scalar multiplication SM and the scalar divi -
sion SD and ignore other lightweight computations such
as the scalar addition and the scalar subtraction.
For the MMC task, considering a matrix X ∈ Rm×s
and a matrix Y ∈ Rs×n , the matrix multiplication task
Z = XY is difficult for the client to accomplish locally,
whose time complexity is O(mns ). For the MPIC task,
considering a matrix X ∈ Rm×n , the matrix pseudo-
inversion leads to a large amount of computational costs
with a time complexity of O(mn2) . Therefore, to accel -
erate the large-scale matrix computation, the client can
utilize the proposed scheme instead of executing com -
plex matrix computation locally. The detailed computa -
tional comparison of each outsourcing phase is shown in
Table 3.
Notably, for odd dimensions, the remaining row or
column requires only one scalar multiplication. There -
fore, its computation cost is lower than that of a paired
position. The key storage, encryption, and decryption
complexities remain linear in the matrix dimensions. In
conclusion, compared to original matrix computations,
our scheme reduces the computational time complexity
of the MMC task from O(mns ) to O(mn + ms + ns) , and
reduces the computational time complexity of the MPIC
task from O(mn2) to O(mn).
Experimental evaluation
Evaluation methodology
We evaluate the proposed privacy-preserving outsourc -
ing scheme through a series of experiments.
We utilize the simulated matrix dataset generated
by random numbers, to evaluate the outsourcing per -
formances of MMC and MPIC tasks. We generate the
matrix dataset with random matrices of different sizes,
ranging from 3000 × 30 to 8000 × 4000 . In the experi -
ment, we compare our scheme with SOTA matrix
Table 7 Communication cost of matrix computation (MB)
Scheme Matrix Size ( m : n : s = 100 : 50 : 1)
s = 30 s = 40 s = 50 s = 60 s = 70 s = 80
Our for MMC C to S 1.08 1.92 3 4.32 5.88 7.68
S to C 36.00 64.00 100.00 144.00 196.00 256.00
Our for MPIC C to S 36.00 64.00 100.00 144.00 196.00 256.00
S to C 36.00 64.00 100.00 144.00 196.00 256.00
HE for MMC C to S 528.32 966.29 1456.71 2093.99 2846.67 3714.74
S to C 146.40 258.70 403.79 579.31 787.90 1027.18
MPC for MMC C to Ss 1149.30 2043.20 3192.50 4597.20 6257.30 8172.80
Between Ss 46.08 81.92 128.00 184.32 250.88 327.68
Ss to C 72.00 128.00 200.00 288.00 392.00 512.00
Table 8 Secret key storage cost of matrix blinding based MMC (MB)
Scheme Theoretical Matrix size ( m : n : s = 100 : 50 : 1)
s = 30 s = 40 s = 50 s = 60 s = 70 s = 80
Our 24(m + n + s) 0.109 0.145 0.181 0.217 0.254 0.290
Gao 8(m2 + n2 + s2) 90.007 160.013 250.020 360.029 490.039 640.051
Liu 40(m + n + s) + 24 0.181 0.242 0.302 0.362 0.423 0.483
Table 9 Efficiency improvement of high-dimensional image
segmentation
Data set Image size Bands Clusters Improvement (%)
Indian pines image 145×145 200 16 73.9257
Pavia center 1096×715 102 9 73.4926
Pavia University 610×340 103 9 73.9149
Salinas 512×217 204 16 79.6990
Botswana 1476×256 145 14 80.4529%
Page 22 of 28Sun et al. Cybersecurity (2026) 9:225
blinding based secure outsourcing schemes like Gao
et al . ’s scheme (Gao et al. 2020) and Liu et al . ’s scheme
(Liu et al. 2023). For MMC tasks, the proposed scheme
is also compared with the MPC based secure function
secret sharing (FSS) computation scheme LLAMA
(Gupta et al. 2022), and the HE based secure compu -
tation scheme CKKS (Cheon et al. 2017). The MPC
and HE experiments are implemented using Microsoft
EzPC framework with the FSS library and the Micro -
soft SEAL library, respectively. For MPIC tasks, com -
parisons with MPC and HE based schemes are omitted
because direct secure MPIC implementations are una -
vailable in the selected mainstream FSS and CKKS
frameworks.
Further, based on the matrix outsourcing computation,
we utilize real-world image datasets and take the image
segmentation algorithm as an example, to evaluate the
outsourcing performance of hyper-spectral remote sens -
ing image analysis tasks. In the experiment, we segment
5 different hyper-spectral images through the outsourc -
ing scheme with the JSCC algorithm proposed by Zhai
et al. (2020), a classical cluster algorithm widely applied
in remote sensing image processing. The parameters used
in experiments are chosen according to the Zhai et al. ’s
experiment settings.
For security evaluation, we conduct a neural network
based inversion attack to evaluate whether the original
hyper-spectral images can be recovered from the matri -
ces obscured by the proposed matrix blinding method.
inspired by the representation inversion method (Doso -
vitskiy and Brox 2016), we construct a matrix inversion
model for the proposed matrix blinding method.
In above experiments, for matrix blinding methods,
the verification process is performed for 20 rounds. The
random parameters used for key generation and the ele -
ments of the simulated matrices are uniformly generated
as signed 32-bit integers ranging from −231 to 231 − 1 ,
with zero excluded from the random parameters used
to construct the orthogonal transformations. Since the
dataset elements are represented in 64-bit floating-point
precision and the encryption process involves fractional
arithmetic, all computations are performed using 64-bit
floating-point precision. Matrix blinding based experi -
ments are independently repeated 500 times, whereas
FSS or CKKS based experiments are repeated 50 times
owing to their higher computation costs. Hence, average
Table 10 Time complexity of outsourced JSCC algorithm
Dictionary construction
KeyGen ClientEnc ServerCom ClientVer ClientDec
2(m + n + c) 4n(m + tc) tmnc tr( ns2 + mn2 + ms) 4tmc
Joint sparse recovery
KeyGen ClientEnc ServerCom ClientVer ClientDec
2l(2n + b + m + l2 ) 4nl(m + b + l2 ) mnl(b + l) 2tr( ns2 + ms + 2mn) 4mnl
Fig. 6 Time cost in dictionary construction phase
Page 23 of 28
Sun et al. Cybersecurity (2026) 9:225
results are reported in experimental evaluations. All cli -
ent-side operations are executed using a single thread,
while the outsourced matrix computations on the server-
side use four threads.
Matrix blinding based privacy-preserving computa -
tion experiments are implemented through Python. The
computations on client side are executed on a Windows
device with a mobile AMD Ryzen 7 6800HS CPU at
3.20GHz and 16.0 GB of memory. The matrix blinding
schemes are implemented in Python using the NumPy
library. The MPC and FHE based experiments are simu -
lated under Ubuntu 24.04 through WSL2 on a device
with desktop Intel Core i5-13400F CPU at 2.50GHz and
32.0 GB of memory, as the 16.0 GB memory and the
mobile CPU is insufficient for theses experiments. The
computations on cloud server side are executed on a
workstation with an Intel Xeon W-2254 CPU at 3.90GHz
and 64.0 GB of memory.
Effectiveness evaluation
Outsourcing scheme on the simulated matrix data set
We conduct the MMC and MPIC tasks on matrices
with different scales through the proposed outsourcing
scheme, and record the errors between accurate results
and outsourced results. We list part of the errors in
Tables 4 and 5, to show the effectiveness of our proposed
scheme.
Since matrix computations on simulated datasets
involve floating-point numbers, it is unavoidable to
arise errors in the encryption and decryption process.
As shown in Tables 4 and 5, an error caused by the
outsourcing process is less than 1E-14, a negligible value
that can hardly impact the computation result.
Outsourcing scheme on the real‑world image data set
We conduct image segmentation tasks on different real-
world hyper-spectral image datasets, executing the JSCC
algorithm through the proposed scheme. Each image in
this experiment involves at least 100 spectral reflectance
bands, whose high-dimension feature leads to large-scale
matrix computations. The image segmentation results
are shown in Fig. 3. Obviously, the outsourced JSCC algo-
rithm accomplishes the image segmentation task and
outputs acceptable results, which proves that our secure
outsourcing scheme is effective in hyper-spectral remote
sensing image analysis.
Efficiency evaluation
Matrix outsourcing computation performance
We conduct the MMC task and the MPIC task through
our scheme, Gao et al. ’s scheme (Gao et al. 2020), and
Liu et al. ’s scheme (Liu et al. 2023), to evaluate the
performance of our privacy-preserving outsourcing
scheme. For MPC and HE based secure privacy-pre -
serving computation schemes, we only conduct the
MMC task for comparisons, as mainstream libraries
cannot support secure MPIC. Considering two random
test matrices X and Y, we set the matrix dimensions
m : n : s = 100 : 50 : 1 , where X ∈ Rm×s and Y ∈ Rn×s.
As shown in Fig. 4, the time cost of our scheme is less
than the original computation and other secure compu -
tation schemes on both the MMC task and MPIC task,
which means that our scheme is superior to the SOTA
Fig. 7 Time cost in joint sparse recovery phase
Page 24 of 28Sun et al. Cybersecurity (2026) 9:225
schemes on efficiency. For the MMC task, our scheme
achieves the best efficiency improvement, with Gao
et al . ’s scheme, Liu et al . ’s scheme, and HE based scheme
slightly behind, while the MPC based scheme exhibits the
lowest efficiency improvement. For the MPIC task, our
scheme remains the best in terms of efficiency improve -
ment, followed by Liu et al . ’s scheme, and finally Gao
et al . ’s scheme. Notably, the evaluated HE based and
MPC based schemes assume semi-honest adversaries,
whereas the matrix blinding based schemes incorporate
result verification to detect incorrect results returned
by a malicious server. Despite the additional cost of
result verification, the matrix blinding based schemes
achieve better efficiency than the HE based and MPC
based schemes, while our scheme achieves the best per -
formance through element-wise encryption, verifica -
tion, and decryption. In general, among matrix blinding
based schemes, our scheme is 2.48–29.44% superior to
other schemes on the MMC task and is 2.87–6.01% supe-
rior to other schemes on the MPIC task. The detailed
comparative data of efficiency improvement is shown in
Table 6.
In Fig. 5, the time costs of different outsourcing phases
clearly indicate the differences among these schemes.
For the matrix blinding based schemes, client decryp -
tion incurs the highest cost for recovering a large result
matrix through transformations. For the MPC based
scheme, key generation dominates the total cost because
of the large-scale randomness generation and the heavy
FSS key distribution. For the HE based scheme, server-
side computation is the most expensive phase as cipher -
text multiplication requires relinearization and rescaling
operations, while the client-side computation is relatively
acceptable. Since our scheme conducts element-wise
encryption, verification, and decryption to avoid unnec -
essary operations, we demonstrate the best performance
in both the MMC and MPIC tasks. Our scheme also
reduces the storage burden on the client side according
to element-wise operations. In conclusion, the proposed
scheme achieves the greatest efficiency improvement
Fig. 8 Inversion attack against matrix blinding method (SuperPixel)
Page 25 of 28
Sun et al. Cybersecurity (2026) 9:225
among the evaluated matrix blinding based, HE based,
and MPC based schemes.
For communication cost, as shown in Table 7, matrix
blinding based schemes incur the lowest communica -
tion costs as the matrix blinding method only permutes
and obscures elements without expanding the dimen -
sions. Consequently, Gao et al. ’s scheme, Liu et al. ’s
scheme, and our scheme have identical end-to-end
communication costs for the same matrix dimensions.
For the HE based scheme, CKKS introduces substantial
ciphertext expansion, owing to polynomial ciphertext
representation and replicated SIMD packing. In detail,
the CKKS ciphertexts can be several times larger than
the plaintext. For the MPC based scheme, the client
distributes input shares and correlated randomnesses
Fig. 9 Inversion attack against matrix blinding method (Image)
Table 11 Inversion attack against matrix blinding method
Dataset MSE PSNR(dB) SAM(rad)
Botswana 0.0517 12.87 0.586
Indian pines 0.0407 13.91 0.402
Pavia center 0.0264 15.78 0.404
Pavia University 0.0279 15.55 0.458
Salinas 0.0287 15.43 0.459
Page 26 of 28Sun et al. Cybersecurity (2026) 9:225
to two servers, while the servers further exchange data
for masked value opening, and return two result shares
to the client after privacy-preserving computation, all
of which incur heavy communication costs. Overall, the
matrix blinding based schemes achieve the lowest com -
munication costs for both MMC and MPIC tasks.
Additionally, we further compared the client-side key
storage costs of the matrix blinding based schemes. The
proposed scheme stores three key index sets, each com -
prising a permutation index, its inverse index, and a
transformation coefficient index. The same coefficients
are used for the inverse orthogonal transformations,
avoiding additional inverse coefficient arrays. Gao
et al. ’s scheme stores three sparse orthogonal key matri -
ces, whose transpose can be directly used for inver -
sion. Liu et al. ’s scheme uses a compact representation
consisting of permutation sequences, scaling vectors,
and vectors for constructing additive perturbations,
while retaining the parameters required by the inverse
transformations, without constructing complete
inverse matrices. As shown in the Table 8, the pro -
posed scheme avoids the large storage cost of explicit
key matrices and only requires indices and coefficients
for transformations, thereby requiring the least storage
space for secret keys.
High‑dimensional data analysis outsourcing performance
We conduct the image segmentation tasks through the
JSCC algorithm with the use of our scheme, to evaluate
the performance of the proposed scheme on real-world
datasets and a certain hyper-spectral remote sensing
image analysis task. The data scale of the image and the
parameter setting of the algorithm are listed in Table 9.
The JSCC algorithm has three phases, among which
the dictionary construction phase and the joint sparse
recovery phase require large-scale matrix computations
and can be outsourced through the proposed scheme.
Specifically, the time complexity of each phase in the
outsourced JSCC algorithm is shown in Table 10, where
t is iteration time, m is pixel number, n is band number,
c is cluster number, b is dictionary size, and l is sparsity
level.
In the dictionary construction phase, the JSCC algo -
rithm conducts the K-Means algorithm to select separa -
tion points. As shown in Fig. 6, our scheme reduces the
time cost through MMC outsourcing computation. Spe -
cifically, our scheme reduces the time complexity from
O(tmnc) to O(mn + tnc + tmc) , where t and c are always
much less than m and n in real-world scenarios. Thus,
the hyper-spectral image with more clusters benefits
more from the proposed outsourcing scheme, such as the
Indian Pines Image dataset, the Salinas dataset, and the
Botswana dataset.
In the joint sparse recovery phase, the JSCC algorithm
conducts the SOMP algorithm to obtain sparse coeffi -
cients. As shown in Fig. 7, our scheme reduces the time
cost through MMC and MPIC outsourcing computa -
tion. Our proposed scheme reduces the time complex -
ity of the SOMP algorithm from O(mnbl + mnl2) to
O(mnl + bnl + nl2) , where l is always much less than
other parameters in real-world scenarios. Hence, the
larger dictionary size and the more spectral bands make
our scheme achieve better efficiency improvement.
In conclusion, as shown in Table 9, the proposed
matrix computation outsourcing scheme reduces the
time cost of accomplishing hyper-spectral image seg -
mentation tasks. For different datasets, our scheme
achieves efficiency improvement from 73.49 to 80.45%.
The experiment results on real-world datasets prove that
our scheme provides an efficient and secure solution for
clients to complete hyper-spectral remote sensing image
analysis tasks.
Security evaluation
Neural network based inversion attack experiment
Inspired by the representation inversion method (Doso -
vitskiy and Brox 2016), we construct a matrix inversion
model for the proposed matrix blinding method. The
two-stream convolutional and up-convolutional net -
work is employed, whose input is a blinded super-pixel
matrix, and the desired output is the corresponding orig -
inal super-pixel matrix. Let Z ∈ Rn×u denote an original
super-pixel matrix and let Z′′ ∈ Rn×u denote its obscured
form. The inversion model Gθ takes the blinded matrix Z′′
as input and estimates its corresponding original matrix
Z. Notably, the blinding index sets are generated inde -
pendently to every matrix sample. The model cannot
obtain multiple matrices obscured by the same blinding
transformation or directly learn inverse transformations.
We conduct the experiment on the Botswana, Indian
Pines, Pavia Center, Pavia University, and Salinas hyper-
spectral image datasets. In each experiment, four
hyper-spectral images are used to generate the train -
ing matrices, whereas the remaining image is used for
validation. As the five datasets contain different num -
bers of spectral bands, we uniformly select 64 spectral
bands from each dataset for network training. The model
parameters are independently initialized and trained
without parameter sharing among different experiments.
Results of inversion attack experiment
As shown in Table 11, we evaluate the inversion results
using MSE, peak signal-to-noise ratio (PSNR), and
Page 27 of 28
Sun et al. Cybersecurity (2026) 9:225
spectral angle mapper (SAM). MSE measures the aver -
age squared element-wise difference between the origi -
nal and reconstructed matrices. PSNR measures the
overall element-wise fidelity between the original and
reconstructed matrices relative to the available value
range. SAM evaluates the angular difference between
each original spectral vector and its reconstructed
counterpart. Lower MSE and SAM values and a higher
PSNR value indicate a more accurate inversion result.
Therefore, the MSE values range from 0.02642 to
0.05168, demonstrating that the inversion results sub -
stantially differ from their original values. The PSNR
values range only from 12.87 to 15.78 dB. The relatively
low PSNR indicates that the reconstructed matrices
contain substantial element-wise distortions. In addi -
tion, the SAM values range from 0.402 to 0.586 radians,
corresponding to average spectral deviations of approx -
imately 23.03◦ to 33.57◦ . These results indicate that the
model does not accurately recover the spectral direc -
tion of the original pixels.
We further visualize results of the inversion attack. In
Fig. 8, the original super-pixel, the blinded super-pixel,
the reconstructed super-pixel, and the absolute error
are displayed separately. The reconstructed super-pixel
mainly exhibits smooth spectral distributions and fails
to indicate the detailed information of the original data.
The absolute error further show that the errors are
distributed over broad spectral and spatial regions. In
Fig. 9, similar to the super-pixel inversion images, we
showcase the original, blinded, reconstructed images
as well as the absolute error image. Notably, the mean -
ingful comparison lies in the color, internal texture,
and spectral error of each super-pixel, rather than
super-pixel locations that has not been obscured. The
reconstructed images lose substantial local textures and
spectral details, which indicates the inversion attack
fails to reveal the valuable information of hyper-spec -
tral images.
In conclusion, the neural network based inversion
attack does not achieve reliable recovery of unseen
hyper-spectral images when obscured by the proposed
method. The results demonstrate that collecting auxil -
iary original and obscured matrix pairs does not enable
the inversion network to learn a general inverse map -
ping for the proposed matrix blinding method.
Conclusion
In this work, we proposed a privacy-preserving matrix
outsourcing computation scheme for hyper-spectral
remote sensing image analysis. According to the JSCC
algorithm, an effective hyper-spectral remote sensing
approach, we presented a novel matrix blinding method
to outsource the most complex high dimensional matrix
computations. By utilizing index sets as the secret key,
we obscured sensitive data and recovered final results
through element-wise computations. Correspondingly,
we presented an efficient verification method, comput -
ing and comparing randomly selected elements to ensure
the accuracy and reliability of returned results. Experi -
ments on simulated matrix datasets and real-world data -
sets have demonstrated that the proposed scheme is
4.15–10.79% superior to other secure outsourcing com -
putation schemes, and the proposed scheme achieves an
efficiency improvement of 73.49–80.45% compared to
the original algorithm.
Author Contributions
Xinrong Sun: Methodology, Software, Writing—Original Draft. Yunting Tao:
Methodology, Writing—Review & Editing. Fanyu Kong: Conceptualization,
Supervision, Funding acquisition. Guoyan Zhang: Validation, Formal analysis.
Funding
This work is supported by the Science and Technology Program (the Major
Science and Technology Project) of Yunnan Province, China (Grant No.
202502AD080015), the Key Research and Development Program of Shandong
Province, China (Grant No. 2022CXGC020102, 2020CXGC010114), and the
Haiyou Famous Experts - Industry Leading Talent Innovation Team Project of
Shandong Province Jinan City, China.
Data availability
The datasets utilized for experiments are available in the Hyperspectral
Remote Sensing Scenes repository, https:// www. ehu. eus/ ccwin tco/ index.
php? title= Hyper spect ral_ Remote_ Sensi ng_ Scenes. The experimental results
supporting the conclusions of this article are included within the article.
Declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable
Competing interests
The authors declare that they have no competing interests.
Received: 8 June 2026 Accepted: 19 September 2026
References
Ahadzadeh B, Abdar M, Safara F, Khosravi A, Menhaj MB, Suganthan PN (2023)
Sfe: a simple, fast, and efficient feature selection algorithm for high-
dimensional data. IEEE Trans Evol Comput 27(6):1896–1911
Atallah MJ, Pantazopoulos KN, Rice JR, Spafford EE (2002) Secure outsourcing
of scientific computations. Advances in Computers, vol 54. Elsevier, pp
215–272
Bedini E (2017) The use of hyperspectral remote sensing for mineral explora-
tion: a review. J Hyperspectral Remote Sens 7(4):189–211
Chen Z, Huang C, Lin S (2020) A new sparse representation framework for
compressed sensing mri. Knowl-Based Syst 188:104969
Cheon JH, Kim A, Kim M, Song Y (2017) Homomorphic encryption for arithme-
tic of approximate numbers. In: international conference on the theory
and application of cryptology and information security, pp 409–437.
Springer
Page 28 of 28Sun et al. Cybersecurity (2026) 9:225
Chen J, Yang S, Wang Z, Mao H (2021) Efficient sparse representation for
learning with high-dimensional data. IEEE Trans Neural Netw Learn Syst
34(8):4208–4222
Dosovitskiy A, Brox T (2016) Inverting visual representations with convolutional
networks. In: Proceedings of the IEEE conference on computer vision and
pattern recognition. pp 4829–4837
Ding Y, Du Y (2026) Privacy-preserving and efficient outsourcing computation
scheme for principal component analysis. Cybersecurity 9(1):127
Dong W, Li X, Zhang L, Shi G (2011) Sparsity-based image denoising via dic-
tionary learning and structural clustering. IEEE conference on computer
vision and pattern recognition. IEEE, pp 457–464
Dos Santos KR, Giovanis DG, Shields MD (2022) Grassmannian diffusion maps-
based dimension reduction and classification for high-dimensional data.
SIAM J Sci Comput 44(2):250–274
Fiore D, Gennaro R (2012) Publicly verifiable delegation of large polynomials
and matrix computations, with applications. ACM conference on com-
puter and communications security. pp 501–512
Gupta K, Kumaraswamy D, Chandran N, Gupta D (2022) Llama: a low
latency math library for secure inference. Proc Privacy Enhanc Technol
2022(4):274–294
Guo T, Yu K, Srivastava G, Wei W, Guo L, Xiong NN (2021) Latent discriminative
low-rank projection for visual dimension reduction in green internet of
things. IEEE Trans Green Commun Netw 5(2):737–749
Gao P , Zhang H, Yu J, Lin J, Wang X, Yang M, Kong F (2020) Secure cloud-aided
object recognition on hyperspectral remote sensing images. IEEE Inter-
net Things J 8(5):3287–3299
Hu C, Alhothaily A, Alrawais A, Cheng X, Sturtivant C, Liu H (2017) A secure
and verifiable outsourcing scheme for matrix inverse computation. IEEE
conference on computer communications. IEEE, pp 1–9
Liao W, Bellens R, Pizurica A, Philips W, Pi Y (2012) Classification of hyperspectral
data over urban areas using directional morphological profiles and semi-
supervised feature extraction. IEEE J Selected Top Appl Earth Obs Remote
Sens 5(4):1177–1190
Liu C, Hu X, Chen X, Wei J, Liu W (2023) Sdim: A subtly designed invertible
matrix for enhanced privacy-preserving outsourcing matrix multiplica-
tion and related tasks. IEEE Trans Dependable Secure Comput, 1–18
Lin K-P (2016) Privacy-preserving kernel k-means clustering outsourcing with
random transformation. Knowl Inf Syst 49:885–908
Lei X, Liao X, Huang T, Heriniaina F (2014) Achieving security, robust cheating
resistance, and high-efficiency for outsourcing large matrix multiplication
computation to a malicious cloud. Inf Sci 280:205–217
Li J, Yan Y, Zhang K, Li C, Yuan P (2024) Fpcnn: a fast privacy-preserving out-
sourced convolutional neural network with low-bandwidth. Knowl-Based
Syst 283:111181
Mahesh S, Jayas D, Paliwal J, White N (2015) Hyperspectral imaging to classify
and monitor quality of agricultural materials. J Stored Prod Res 61:17–26
Omara A, Hebaishy MA, Abdallah MS, Cho Y-I (2024) Sibs: a sparse encoder
utilizing self-inspired bases for efficient image representation. Knowl-
Based Syst 301:112275
Ouyang X, Xu Y, Mao Y, Liu Y, Wang Z, Yan Y (2022) Blockchain-assisted verifi-
able and secure remote sensing image retrieval in cloud environment.
IEEE J Selected Top Appl Earth Obs Remote Sens 16:1378–1389
Ren Y, Song Z, Sun S, Liu JK, Feng G (2022) Outsourcing lda-based face rec-
ognition to an untrusted cloud. IEEE Trans Dependable Secure Comput
20(3):2058–2070
Salinas S, Luo C, Chen X, Li P (2015) Efficient secure outsourcing of large-scale
linear systems of equations. IEEE conference on computer communica-
tions. IEEE, pp 1035–1043
Tao Y, Li Y, Kong F, Shi Y, Yang M, Yu J, Zhang H (2024) Privacy-preserving out-
sourcing scheme of face recognition based on locally linear embedding.
Comput Secur, 103931
Tian M, Su M, Xiao X, Yi S, Hua Z, Zhang Y (2025) High-precision privacy-
protected image retrieval based on multi-feature fusion. Knowl-Based
Syst 315:113243
Tang D, Xiong Q, Yin H, Zhu Z, Li Y (2022) A novel sparse representation based
fusion approach for multi-focus images. Expert Syst Appl 197:116737
Tian C, Yu J, Zhang H, Xue H, Wang C, Ren K (2019) Novel secure outsourcing
of modular inversion for arbitrary and variable modulus. IEEE Trans Serv
Comput 15(1):241–253
Wu W, Liu J, Wang H, Hao J, Xian M (2020) Secure and efficient outsourced
k-means clustering using fully homomorphic encryption with ciphertext
packing technique. IEEE Trans Knowl Data Eng 33(10):3424–3437
Wang Y, Sun J, Wei Z, Plaza J, Plaza A, Wu Z (2024) Cloud-edge selective
background energy constrained filter for real-time hyperspectral target
detection. IEEE Trans Geosci Remote Sens
Zheng P , Wu Z, Xu Y, Sun J, Ye F, Qin C, Wei Z, Plaza J, Li J, Plaza A (2024) Unified
cloud-based framework for hyperspectral and multispectral image fusion
incorporating nonlocal principles and tensor decomposition. IEEE Trans
Geosci Remote Sens
Zhang Y, Xiao X, Yang L-X, Xiang Y, Zhong S (2019) Secure and efficient
outsourcing of pca-based face recognition. IEEE Trans Inf Forensics Secur
15:1683–1695
Zhao W, Yang W, Wang H, Zhang T, Man D, Liu T, Lv J, Guizani M (2023) Privacy-
preserving outsourcing of k-means clustering for cloud-device collabora-
tive computing in space-air-ground integrated iot. IEEE Internet Things J
10(23):20396–20407
Zhang N, Zhang X, Yang G, Zhu C, Huo L, Feng H (2018) Assessment of
defoliation during the dendrolimus tabulaeformis tsai et liu disaster
outbreak using uav-based hyperspectral images. Remote Sens Environ
217:323–339
Zhai H, Zhang H, Zhang L, Li P (2020) Sparsity-based clustering for large
hyperspectral remote sensing images. IEEE Trans Geosci Remote Sens
59(12):10410–10424
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in pub-
lished maps and institutional affiliations.
论文原文与出版信息
Cybersecurity