Randomized Tensor Krylov Subspace Methods via Sketched Einstein Product with Applications to Image and Video Restoration Journal: Journal of computational and applied mathematics A. Badahmane Abstract We develop a randomized extension of tensor Krylov subspace methods based on the Einstein product for solving large-scale multilinear systems arising in image and video restoration. The classical tensor global GMRES method relies on Frobenius inner products and full tensor orthogonalization, which become computationally expensive for high-dimensional problems. We introduce a sketched Einstein inner product constructed via mode-wise random projections and develop a randomized tensor global Arnoldi process. The resulting Randomized Tensor Global GMRES (RTG-GMRES) method significantly reduces orthogonalization cost while preserving convergence properties under tensor subspace embedding assumptions. Residual bounds, perturbation analysis and projected Tikhonov regularization are derived. The proposed method provides an efficient framework for solving ill-posed multidimensional problems arising in color image and video restoration. 1 Introduction We consider multilinear systems of the form \Phi(\mathcal{X})=\mathcal{C}, where \Phi is a linear tensor mapping defined through the Einstein product: \Phi(\mathcal{X})=\mathcal{A}*_{N}\mathcal{X}\quad\text{or}\quad\Phi(\mathcal{X})=\mathcal{A}*_{N}\mathcal{X}*_{M}\mathcal{B}. Such problems arise in color image restoration, video deblurring, hyperspectral imaging, and high-dimensional PDE discretizations. Tensor Krylov subspace methods based on the Einstein product allow us to preserve multidimensional structure without vectorization. Classical tensor global GMRES methods construct orthonormal bases using Frobenius inner products. However, for high-order tensors with dimension n=\prod_{k=1}^{N}I_{k}\prod_{l=1}^{M}J_{l}, the orthogonalization cost becomes prohibitive. To overcome this limitation, we introduce a randomized framework based on a sketched Einstein inner product. The proposed method reduces orthogonalization complexity while maintaining convergence behavior. High-dimensional data, such as color images, hyperspectral images, and video sequences, are ubiquitous in modern scientific and engineering applications. Traditional matrix-based methods often require vectorization, which destroys the intrinsic multidimensional structure of the data and leads to large, memory-intensive problems. To overcome these challenges, tensor-based approaches preserve the multilinear structure, enabling both computational efficiency and more accurate modeling of complex data dependencies. In this paper, we consider linear tensor equations of the form: \min\|\Phi(\mathcal{X})-\mathcal{C}\|_{F}, (1) where \mathcal{X}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}} is the unknown tensor, \mathcal{C} is a given observed tensor, and \Phi is a linear tensor operator modeling transformations such as blurring, degradation, or subsampling. In particular, \Phi may take the forms: \Phi(\mathcal{X})=\mathcal{A}*_{N}\mathcal{X},\quad\text{or}\quad\Phi(\mathcal{X})=\mathcal{A}*_{N}\mathcal{X}*_{M}\mathcal{B}, (2) where *_{N},*_{M} denote Einstein products along specified modes. The Einstein product generalizes matrix multiplication to higher-order tensors while preserving multidimensional correlations, making it especially suitable for multichannel image and video processing. Many real-world applications, including image and video restoration, signal processing, and multidimensional PDEs, naturally lead to tensor equations. While classical Krylov subspace methods such as GMRES or Golub–Kahan work well for grayscale or low-dimensional problems, high-dimensional multichannel problems demand tensor-based iterative methods to maintain both efficiency and accuracy. Here, we introduce a novel approach: Randomized Tensor Krylov Subspace Methods via Sketched Einstein Product. The core idea is to combine the Einstein product with randomized sketching to reduce computational cost and memory usage while preserving essential information. Specifically: 1. Tensor Krylov Subspaces allow iterative solution of high-dimensional tensor equations while preserving their natural structure. 2. Randomized sketching projects large tensors into smaller subspaces, enabling faster computation of tensor-tensor products without significantly sacrificing accuracy. 3. Tikhonov regularization is incorporated to stabilize solutions of ill-posed problems, such as restoring blurred and noisy images and videos. The combination of sketched Einstein products with Krylov subspace methods offers a powerful and efficient framework for solving large-scale, high-dimensional tensor equations. This approach reduces computational complexity, maintains the low-bandwidth structure of point spread function (PSF) tensors, and enables practical application to real-world high-resolution imaging problems. The remainder of the paper is organized as follows: 1. Section 2 introduces tensor notations, Einstein products, and algebraic preliminaries. 2. Section 3 presents Tikhonov regularization and extends global GMRES and Golub–Kahan methods to the sketched Einstein product framework. 3. Section 4 develops block tensor formulations of the algorithms and analyzes their theoretical properties. 4. Section 5 demonstrates numerical results on restoring blurred and noisy color images and videos. 5. Section 6 concludes with discussions on future extensions and applications. 2 Preliminaries 2.1 Einstein Product Let \mathcal{A}\in\mathbb{R}^{I_{1}\times\dots\times I_{L}\times K_{1}\times\dots\times K_{N}},\quad\mathcal{B}\in\mathbb{R}^{K_{1}\times\dots\times K_{N}\times J_{1}\times\dots\times J_{M}}. The Einstein product over N modes is defined by (\mathcal{A}*_{N}\mathcal{B})_{i_{1}\dots i_{L}j_{1}\dots j_{M}}=\sum_{k_{1}=1}^{K_{1}}\dots\sum_{k_{N}=1}^{K_{N}}a_{i_{1}\dots i_{L}k_{1}\dots k_{N}}b_{k_{1}\dots k_{N}j_{1}\dots j_{M}}. The resulting tensor belongs to \mathbb{R}^{I_{1}\times\dots\times I_{L}\times J_{1}\times\dots\times J_{M}}. This operation generalizes the matrix product to higher–order tensors. 2.2 Frobenius Inner Product For tensors \mathcal{X},\mathcal{Y}\in\mathbb{R}^{I_{1}\times\dots\times I_{L}\times J_{1}\times\dots\times J_{M}}, the Frobenius inner product is defined by \langle\mathcal{X},\mathcal{Y}\rangle_{F}=\sum_{i_{1}=1}^{I_{1}}\dots\sum_{i_{L}=1}^{I_{L}}\sum_{j_{1}=1}^{J_{1}}\dots\sum_{j_{M}=1}^{J_{M}}x_{i_{1}\dots i_{L}j_{1}\dots j_{M}}y_{i_{1}\dots i_{L}j_{1}\dots j_{M}}. The induced norm is \|\mathcal{X}\|_{F}^{2}=\langle\mathcal{X},\mathcal{X}\rangle_{F}. 3 Sketched Einstein Inner Product Let \Theta_{k}\in\mathbb{R}^{\ell_{k}\times I_{k}},\quad k=1,\dots,L, and \Psi_{l}\in\mathbb{R}^{\tilde{\ell}_{l}\times J_{l}},\quad l=1,\dots,M, be independent random projection matrices satisfying a subspace embedding property. 3.1 Compressed Tensor Define the compressed tensor by successive mode products \mathcal{X}_{\Theta}=\mathcal{X}\times_{1}\Theta_{1}\times_{2}\Theta_{2}\dots\times_{L}\Theta_{L}\times_{L+1}\Psi_{1}\dots\times_{L+M}\Psi_{M}. Then \mathcal{X}_{\Theta}\in\mathbb{R}^{\ell_{1}\times\dots\times\ell_{L}\times\tilde{\ell}_{1}\times\dots\times\tilde{\ell}_{M}}. Definition 3.1 . The sketched Einstein inner product is defined by \langle\mathcal{X},\mathcal{Y}\rangle_{\Theta}=\langle\mathcal{X}_{\Theta},\mathcal{Y}_{\Theta}\rangle_{F}. Equivalently, \langle\mathcal{X},\mathcal{Y}\rangle_{\Theta}=\sum(\mathcal{X}_{\Theta})_{\alpha_{1}\dots\alpha_{L}\beta_{1}\dots\beta_{M}}(\mathcal{Y}_{\Theta})_{\alpha_{1}\dots\alpha_{L}\beta_{1}\dots\beta_{M}}. Let \mathcal{X}\in\mathbb{R}^{I_{1}\times\dots\times I_{d}}, and let \Theta_{k}\in\mathbb{R}^{\ell_{k}\times I_{k}},\quad k=1,\dots,d, with \ell_{k}\ll I_{k} , be sketching matrices. Define the global tensor sketching operator \mathcal{S}(\mathcal{X})=\mathcal{X}\times_{1}\Theta_{1}\times_{2}\Theta_{2}\dots\times_{d}\Theta_{d}. This operator embeds tensor subspaces of \mathbb{R}^{I_{1}\times\dots\times I_{d}} into lower-dimensional tensor spaces \mathbb{R}^{\ell_{1}\times\dots\times\ell_{d}}. The Frobenius inner product between tensors is approximated by \langle\mathcal{X},\mathcal{Y}\rangle_{F}\;\approx\;\langle\mathcal{S}(\mathcal{X}),\mathcal{S}(\mathcal{Y})\rangle_{F}. 3.1.1 Tensor Subspace Embedding Let \mathcal{V} be a finite-dimensional tensor subspace of \mathbb{R}^{I_{1}\times\dots\times I_{d}}. Definition 3.2 (Tensor \varepsilon -Subspace Embedding) . Let \varepsilon<1 . The collection of sketching matrices \{\Theta_{k}\}_{k=1}^{d} defines an \varepsilon -subspace embedding for \mathcal{V} if \forall\mathcal{X},\mathcal{Y}\in\mathcal{V},\qquad\big|\langle\mathcal{X},\mathcal{Y}\rangle_{F}-\langle\mathcal{S}(\mathcal{X}),\mathcal{S}(\mathcal{Y})\rangle_{F}\big|\leq\varepsilon\|\mathcal{X}\|_{F}\|\mathcal{Y}\|_{F}. (3) 3.1.2 Equivalent Vectorized Form Using vectorization, we have \mathrm{vec}(\mathcal{S}(\mathcal{X}))=\left(\Theta_{d}\otimes\dots\otimes\Theta_{1}\right)\mathrm{vec}(\mathcal{X}). Thus the tensor embedding reduces to a classical \ell_{2} -subspace embedding in \mathbb{R}^{I_{1}\cdots I_{d}}. 3.2 Tensor Matrix Subspace Embedding Let \mathcal{V} admit a basis \{\mathcal{V}_{1},\dots,\mathcal{V}_{r}\}, and define the tensor subspace \mathcal{U}=\left\{\sum_{i=1}^{r}\mathcal{V}_{i}\alpha_{i}\;:\;\alpha_{i}\in\mathbb{R}\right\}. Definition 3.3 (Tensor Subspace Embedding – Norm Form) . The sketching operator \mathcal{S} is called an \varepsilon -subspace embedding for \mathcal{U} if (1-\varepsilon)\|\mathcal{X}\|_{F}^{2}\leq\|\mathcal{S}(\mathcal{X})\|_{F}^{2}\leq(1+\varepsilon)\|\mathcal{X}\|_{F}^{2},\quad\forall\mathcal{X}\in\mathcal{U}. (4) 3.3 Tensor Singular-Value Bounds Let \mathcal{V} be represented in matricized form along any mode k : V_{(k)}\in\mathbb{R}^{I_{k}\times r_{k}}. Let \Theta_{k}V_{(k)} be the sketched unfolding. Proposition 1 (Tensor Singular-Value Bounds) . If \mathcal{S} is an \varepsilon -subspace embedding for \mathcal{U} , then for every unfolding V_{(k)} , (1+\varepsilon)^{-1/2}\sigma_{\min}(\Theta_{k}V_{(k)})\leq\sigma_{\min}(V_{(k)})\leq\sigma_{\max}(V_{(k)})\leq(1-\varepsilon)^{-1/2}\sigma_{\max}(\Theta_{k}V_{(k)}). (5) Proof. By vectorization, \mathrm{vec}(\mathcal{S}(\mathcal{X}))=\mathbf{\Theta}\mathrm{vec}(\mathcal{X}),\quad\mathbf{\Theta}=\Theta_{d}\otimes\dots\otimes\Theta_{1}. Since \mathbf{\Theta} is an \varepsilon -embedding for \mathrm{vec}(\mathcal{U}) , classical singular-value perturbation bounds for subspace embeddings yield (1-\varepsilon)\|\mathcal{X}\|_{F}^{2}\leq\|\mathcal{S}(\mathcal{X})\|_{F}^{2}\leq(1+\varepsilon)\|\mathcal{X}\|_{F}^{2}. Applying this to rank-one tensors generated by singular vectors of the unfoldings gives the desired bounds. ∎ Krylov subspace methods via Sketched Einstein product and Tikhonov regularization In this section, we extend the tensor global Arnoldi process by incorporating a randomized sketching operator within the Einstein product framework. This allows the construction of reduced tensor Krylov subspaces while preserving the algebraic structure induced by the Einstein product. The proposed methods maintain the same theoretical properties as the classical tensor global GMRES and GGKB schemes, but with reduced computational complexity. Tikhonov regularization We consider the ill-posed tensor equation \Phi(\mathcal{X})=\mathcal{C}+\mathcal{E}, (4) where \mathcal{E} denotes the noise tensor. To stabilize the inversion process, we consider the Tikhonov regularization problem \mathcal{X}_{\mu}=\arg\min_{\mathcal{X}}\left(\|\Phi(\mathcal{X})-\mathcal{C}\|_{F}^{2}+\mu\|\mathcal{X}\|_{F}^{2}\right), (5) where \mu>0 is the regularization parameter. Sketched tensor Krylov subspace Let \mathcal{S} be a linear sketching operator acting on \mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}} such that it approximately preserves inner products induced by the Einstein product. We define the sketched operator \Phi_{S}(\mathcal{X})=\mathcal{S}\big(\Phi(\mathcal{X})\big). The m -th sketched tensor Krylov subspace generated by \Phi and \mathcal{V} is defined by \mathcal{K}_{m}^{S}(\Phi,\mathcal{V})=\operatorname{span}\left\{\mathcal{V},\Phi_{S}(\mathcal{V}),\Phi_{S}^{2}(\mathcal{V}),\ldots,\Phi_{S}^{m-1}(\mathcal{V})\right\}. (6S) This definition preserves the recursive tensor structure while reducing the dimensional complexity at each application of \Phi . Sketched Global Arnoldi process The orthonormal basis construction follows the same principle as Algorithm 1, with \Phi replaced by \Phi_{S} . Algorithm 2 Sketched Global Arnoldi process. Inputs: $\phi$, initial tensor V, integer m, sketching operator S. $\beta$ = ||V||_F V_1 = V / $\beta$ For j = 1,...,m W = S( $\phi$(V_j) ) For i = 1,...,j h_ij = W = W - h_ij V_i EndFor h_{j+1,j} = ||W||_F If h_{j+1,j} = 0 stop V_{j+1} = W / h_{j+1,j} EndFor Let \widetilde{H}_{m} be the (m+1)\times m Hessenberg matrix formed by the coefficients h_{ij} . Then the following Arnoldi-type relation holds: \mathbb{W}_{m}=\mathbb{V}_{m+1}\times_{(M+N+1)}\widetilde{H}_{m}^{T}, (7S) where \mathbb{W}_{m} contains the tensors \Phi_{S}(\mathcal{V}_{1}),\ldots,\Phi_{S}(\mathcal{V}_{m}) . Sketched tensor global GMRES We seek an approximate solution of \Phi(\mathcal{X})=\mathcal{C} (8) in the affine space \mathcal{X}_{m}=\mathcal{X}_{0}+\mathbb{V}_{m}\bar{\times}_{(M+N+1)}y_{m}. The residual is given by \mathcal{R}_{m}=\mathcal{C}-\Phi(\mathcal{X}_{m}). Using the sketched Arnoldi relation (7S), one obtains \|\mathcal{R}_{m}\|_{F}=\|\beta e_{1}^{m+1}-\widetilde{H}_{m}y_{m}\|_{2}. Hence y_{m} solves y_{m}=\arg\min_{y}\|\beta e_{1}^{m+1}-\widetilde{H}_{m}y\|_{2}. (11S) Sketched projected Tikhonov problem Instead of solving (5) directly, we solve the reduced problem \|\beta e_{1}^{m+1}-\widetilde{H}_{m}y\|_{2}^{2}+\mu\|y\|_{2}^{2}. (12S) Its minimizer satisfies (\widetilde{H}_{m}^{T}\widetilde{H}_{m}+\mu I)y=\widetilde{H}_{m}^{T}\beta e_{1}^{m+1}. (14S) As in the classical case, the parameter \mu can be selected using GCV or L-curve techniques applied to the small projected problem. Proposition 2 and TG-GMRES formulation Proposition 2. Let \mathbb{V} be the (M+N+1) -mode tensor with frontal slices \mathcal{V}_{1},\mathcal{V}_{2},\ldots,\mathcal{V}_{m} , and let \mathbb{W}_{m} be the (M+N+1) -mode tensor with frontal slices \Phi(\mathcal{V}_{1}),\ldots,\Phi(\mathcal{V}_{m}) . Then we have \mathbb{W}_{m}=\mathbb{V}_{m+1}\times_{(M+N+1)}\widetilde{H}_{m}^{T}=\mathbb{V}_{m}\times_{(M+N+1)}H_{m}^{T}+h_{m+1,m}\mathcal{L}_{m}\times_{(M+N+1)}E_{m}, (7) where E_{m}=[0,0,\ldots,0,e_{m}] with e_{m} being the m -th column of the identity matrix I_{m} , and \mathcal{L}_{m} is an (M+N+1) -mode tensor whose frontal slices are all zero except for the last one, which equals \mathcal{V}_{m+1} . Let \mathcal{X}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}} , \Phi a linear tensor mapping, and \mathcal{C}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}} . Consider the tensor equation \Phi(\mathcal{X})=\mathcal{C}. (8) Using Algorithm 1, we define the tensor global GMRES (TG-GMRES) method. For an initial guess \mathcal{X}_{0} , we seek an approximate solution \mathcal{X}_{m} such that \mathcal{X}_{m}\in\mathcal{X}_{0}+\mathcal{K}_{m}(\Phi,\mathcal{V}), (6) and minimize the residual \|\mathcal{R}_{m}\|_{F}=\min_{\mathcal{X}\in\mathcal{X}_{0}+\mathcal{K}_{m}(\Phi,\mathcal{V})}\|\mathcal{C}-\Phi(\mathcal{X})\|_{F}, (9) where \mathcal{R}_{m}=\mathcal{C}-\Phi(\mathcal{X}_{m}) . Assume m steps of Algorithm 1 have been performed. Then, setting \mathcal{X}_{m}=\mathcal{X}_{0}+\mathbb{V}_{m}\times_{(M+N+1)}y_{m}, (10) the residual becomes \mathcal{R}_{m}=\mathcal{R}_{0}-\mathbb{W}_{m}\times_{(M+N+1)}y_{m}. (7) Using Proposition 2, we obtain \displaystyle\|\mathcal{C}-\Phi(\mathcal{X}_{m})\|_{F} \displaystyle=\|\mathbb{V}_{m}\times_{(M+N+1)}(\mathcal{C}-\Phi(\mathcal{X}_{m}))\|_{2} \displaystyle=\|\mathbb{V}_{m}\times_{(M+N+1)}(\mathcal{R}_{0}-\mathbb{W}_{m}\times_{(M+N+1)}y_{m})\|_{2} \displaystyle=\|\beta e_{1}^{m+1}-\mathbb{V}_{m}\times_{(M+N+1)}(\mathbb{W}_{m}\times_{(M+N+1)}y_{m})\|_{2} \displaystyle=\|\beta e_{1}^{m+1}-(\mathbb{V}_{m}\times_{(M+N+1)}\mathbb{W}_{m})y_{m}\|_{2}, which shows that y_{m} is determined by y_{m}=\arg\min_{y}\|\beta e_{1}^{m+1}-\widetilde{H}_{m}y\|_{2}. (11) Sketched Tikhonov regularization Setting \mathcal{X}_{0}=0 , the TG-GMRES approximation leads to the low-dimensional Tikhonov problem \|\beta e_{1}^{m+1}-\widetilde{H}_{m}y\|_{2}^{2}+\mu\|y\|_{2}^{2}. (12) Its solution is given by y_{m,\mu}=\arg\min_{y}\left\|\begin{pmatrix}\widetilde{H}_{m}\\ \sqrt{\mu}I\end{pmatrix}y-\begin{pmatrix}\beta e_{1}^{m+1}\\ 0\end{pmatrix}\right\|_{2}. (13) Equivalently, y_{m,\mu} satisfies the linear system \widetilde{H}_{m,\mu}y=\widetilde{H}_{m}^{T}\beta e_{1}^{m+1},\quad\widetilde{H}_{m,\mu}=\widetilde{H}_{m}^{T}\widetilde{H}_{m}+\mu I, (14) although solving (13) is numerically more stable than directly solving (14). Parameter selection via GCV For small m , the problem can be efficiently solved using SVD or other techniques. The regularization parameter \mu can be chosen via the generalized cross-validation (GCV) function: \text{GCV}(\mu)=\frac{\|\widetilde{H}_{m}y_{m,\mu}-\beta e_{1}^{m+1}\|_{2}^{2}}{\big[\operatorname{tr}(I-\widetilde{H}_{m}\widetilde{H}_{m,\mu}^{-1}\widetilde{H}_{m}^{T})\big]^{2}}=\frac{\|(I-\widetilde{H}_{m}\widetilde{H}_{m,\mu}^{-1}\widetilde{H}_{m}^{T})\beta e_{1}^{m+1}\|_{2}^{2}}{\big[\operatorname{tr}(I-H_{m}H_{m,\mu}^{-1}\widetilde{H}_{m}^{T})\big]^{2}}. (8) 4 Block Krylov Subspace Methods via Sketched Einstein Product In this section we generalize block GMRES and block Golub–Kahan methods to the tensor setting using the sketched Einstein product. All orthogonality and projections are defined with respect to the sketched Einstein inner product introduced previously. 4.1 Preliminaries and Tensor Unfolding Let \mathcal{X}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}}. Define the unfolding operator \Psi_{IJ}:\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}}\longrightarrow\mathbb{R}^{(I_{1}\cdots I_{N})\times(J_{1}\cdots J_{M})}, such that X_{\mathrm{ivec}(i,I),\mathrm{ivec}(j,J)}=\mathcal{X}_{i_{1}\dots i_{N}j_{1}\dots j_{M}}, where \mathrm{ivec}(i,I)=i_{1}+\sum_{r=2}^{N}(i_{r}-1)\prod_{u=1}^{r-1}I_{u}, \mathrm{ivec}(j,J)=j_{1}+\sum_{s=2}^{M}(j_{s}-1)\prod_{v=1}^{s-1}J_{v}. Under this mapping, the Einstein product corresponds to standard matrix multiplication: \Psi_{IJ}(\mathcal{A}*_{N}\mathcal{B})=\Psi_{IK}(\mathcal{A})\,\Psi_{KJ}(\mathcal{B}). Block Krylov Subspace Let \mathcal{A}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times I_{1}\times\cdots\times I_{N}}, and \mathcal{V}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}}. The m -th tensor block Krylov subspace is defined by \mathcal{K}_{m}^{\mathrm{block}}(\mathcal{A},\mathcal{V})=\mathrm{span}\{\mathcal{V},\mathcal{A}*_{N}\mathcal{V},\dots,\mathcal{A}^{m-1}*_{N}\mathcal{V}\}. All projections are performed using the sketched Einstein inner product: \langle\mathcal{X},\mathcal{Y}\rangle_{\Theta}=\langle\mathcal{S}(\mathcal{X}),\mathcal{S}(\mathcal{Y})\rangle_{F}. 4.3 Block Arnoldi Process via Sketched Einstein Product Let \mathcal{V}_{1} be obtained from the normalized residual \mathcal{R}_{0}=\mathcal{C}-\mathcal{A}*_{N}\mathcal{X}_{0},\qquad\mathcal{V}_{1}=\mathcal{R}_{0}/\|\mathcal{R}_{0}\|_{\Theta}. For j=1,\dots,m : \mathcal{W}=\mathcal{A}*_{N}\mathcal{V}_{j}. For i=1,\dots,j : h_{ij}=\langle\mathcal{V}_{i},\mathcal{W}\rangle_{\Theta},\qquad\mathcal{W}\leftarrow\mathcal{W}-h_{ij}\mathcal{V}_{i}. Then h_{j+1,j}=\|\mathcal{W}\|_{\Theta},\qquad\mathcal{V}_{j+1}=\mathcal{W}/h_{j+1,j}. This yields the tensor Arnoldi relation \mathcal{A}*_{N}\mathcal{V}_{m}=\mathcal{V}_{m+1}*_{M}\widetilde{\mathcal{H}}_{m}, where \widetilde{\mathcal{H}}_{m} is block upper Hessenberg. Tensor QR Factorization via Sketched Einstein Product Let \mathcal{B}=[\mathcal{V}_{1},\dots,\mathcal{V}_{m}]. A tensor QR factorization in the sketched Einstein sense is \mathcal{B}=\mathcal{Q}*_{M}\mathcal{R}, such that \langle\mathcal{Q}_{i},\mathcal{Q}_{j}\rangle_{\Theta}=\delta_{ij}, and \mathcal{R} is upper triangular under unfolding. 4.1 Block GMRES via Sketched Einstein Product Consider the tensor equation \mathcal{A}*_{N}\mathcal{X}=\mathcal{C}. The m -th approximation is \mathcal{X}_{m}=\mathcal{X}_{0}+\mathcal{V}_{m}*_{M}\mathcal{Y}_{m}, where \mathcal{Y}_{m} solves the reduced problem \mathcal{Y}_{m}=\arg\min_{\mathcal{Y}}\|\beta e_{1}-\widetilde{\mathcal{H}}_{m}*_{M}\mathcal{Y}\|_{2}. The residual is \mathcal{R}_{m}=\mathcal{C}-\mathcal{A}*_{N}\mathcal{X}_{m}. By the Arnoldi relation, \|\mathcal{R}_{m}\|_{\Theta}=\|\beta e_{1}-\widetilde{\mathcal{H}}_{m}\mathcal{Y}_{m}\|_{2}. Algorithm 1 Block GMRES via Sketched Einstein Product 0: Tensor operator \mathcal{A}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times I_{1}\times\cdots\times I_{N}} , \mathcal{C} , \mathcal{X}_{0} , \varepsilon , m , \mathcal{S}(\cdot) . 0: Approximate solution \mathcal{X}_{m} . 1: Compute initial residual: \mathcal{R}_{0}=\mathcal{C}-\mathcal{A}*_{N}\mathcal{X}_{0}. 2: Compute \beta=\|\mathcal{R}_{0}\|_{\Theta} . 3: Normalize: \mathcal{V}_{1}=\mathcal{R}_{0}/\beta. 4: for j=1,2,\dots,m do 5: Compute tensor product: \mathcal{W}=\mathcal{A}*_{N}\mathcal{V}_{j}. 6: for i=1,\dots,j do 7: Compute sketched inner product: h_{ij}=\langle\mathcal{V}_{i},\mathcal{W}\rangle_{\Theta}. 8: Orthogonalize: \mathcal{W}\leftarrow\mathcal{W}-h_{ij}\mathcal{V}_{i}. 9: end for 10: Compute norm: h_{j+1,j}=\|\mathcal{W}\|_{\Theta}. 11: if h_{j+1,j}=0 then 12: Stop. 13: end if 14: Normalize: \mathcal{V}_{j+1}=\mathcal{W}/h_{j+1,j}. 15: end for 16: Form tensor Hessenberg matrix \widetilde{\mathcal{H}}_{m} . 17: Solve reduced least squares problem: y_{m}=\arg\min_{y}\|\beta e_{1}-\widetilde{H}_{m}y\|_{2}. 18: Update solution: \mathcal{X}_{m}=\mathcal{X}_{0}+\sum_{j=1}^{m}\mathcal{V}_{j}y_{j}. 19: Compute residual: \mathcal{R}_{m}=\mathcal{C}-\mathcal{A}*_{N}\mathcal{X}_{m}. 20: if \|\mathcal{R}_{m}\|_{\Theta}<\varepsilon then 21: Stop. 22: end if 23: return \mathcal{X}_{m} . 4.2 Block Golub–Kahan via Sketched Einstein Product For the least squares problem \min_{\mathcal{X}}\|\mathcal{C}-\mathcal{A}*_{P}\mathcal{X}\|_{F}, the block Golub–Kahan bidiagonalization generates \mathcal{U}_{m+1} and \mathcal{V}_{m} such that \mathcal{A}*_{P}\mathcal{V}_{m}=\mathcal{U}_{m+1}*_{M}\widetilde{\mathcal{B}}_{m}, \mathcal{A}^{T}*_{N}\mathcal{U}_{m}=\mathcal{V}_{m}*_{M}\mathcal{D}_{m}. The approximate solution is \mathcal{X}_{m}=\mathcal{X}_{0}+\mathcal{V}_{m}*_{M}\mathcal{Y}_{m}, where \mathcal{Y}_{m}=\arg\min_{\mathcal{Y}}\|\beta e_{1}-\widetilde{\mathcal{B}}_{m}\mathcal{Y}\|_{2}. Algorithm 2 Block Golub–Kahan via Sketched Einstein Product 0: Tensor operator \mathcal{A}\in\mathbb{R}^{I_{1}\times\cdots\times I_{N}\times J_{1}\times\cdots\times J_{M}} , \mathcal{C} , \varepsilon , m , \mathcal{S}(\cdot) . 0: Orthonormal tensor bases \{\mathcal{U}_{k}\} , \{\mathcal{V}_{k}\} and bidiagonal matrix \widetilde{B}_{m} . 1: Compute initial normalization: \beta_{1}=\|\mathcal{C}\|_{\Theta},\qquad\mathcal{U}_{1}=\mathcal{C}/\beta_{1}. 2: Compute \mathcal{W}=\mathcal{A}^{\top}*_{N}\mathcal{U}_{1}. 3: Compute \alpha_{1}=\|\mathcal{W}\|_{\Theta},\qquad\mathcal{V}_{1}=\mathcal{W}/\alpha_{1}. 4: for k=1,2,\dots,m do 5: Compute forward projection: \mathcal{W}=\mathcal{A}*_{M}\mathcal{V}_{k}-\alpha_{k}\mathcal{U}_{k}. 6: Compute \beta_{k+1}=\|\mathcal{W}\|_{\Theta}. 7: if \beta_{k+1}=0 then 8: Stop. 9: end if 10: Normalize: \mathcal{U}_{k+1}=\mathcal{W}/\beta_{k+1}. 11: Compute backward projection: \mathcal{Z}=\mathcal{A}^{\top}*_{N}\mathcal{U}_{k+1}-\beta_{k+1}\mathcal{V}_{k}. 12: Compute \alpha_{k+1}=\|\mathcal{Z}\|_{\Theta}. 13: if \alpha_{k+1}=0 then 14: Stop. 15: end if 16: Normalize: \mathcal{V}_{k+1}=\mathcal{Z}/\alpha_{k+1}. 17: end for 18: Form bidiagonal matrix \widetilde{B}_{m}=\begin{bmatrix}\alpha_{1}&&&\\ \beta_{2}&\alpha_{2}&&\\ &\ddots&\ddots&\\ &&\beta_{m}&\alpha_{m}\\ &&&\beta_{m+1}\end{bmatrix}. 19: return \{\mathcal{U}_{k}\} , \{\mathcal{V}_{k}\} , \widetilde{B}_{m} . 5 Numerical Results This section illustrates the performance of the proposed Sketched Einstein Block GMRES (Algorithm 2) and Sketched Einstein Block Golub–Kahan (Algorithm 4) when applied to the restoration of blurred and noisy color images and videos. Recovering RGB images (or videos) from blurred and noisy observations can be formulated as a tensor equation of the form \mathcal{C}=\mathcal{A}*_{2}\mathcal{X}, where \mathcal{A} is a fourth-order blurring tensor, \mathcal{X} is the unknown exact RGB image, and \mathcal{C} is the observed blurred image. 5.1 Tensor Model for RGB Image Deblurring An RGB image is a third-order tensor of size N\times N\times 3 , whose entries represent light intensities. We assume that the original image \widehat{\mathcal{X}} and the blurred image \mathcal{C} have identical dimensions. The blurring process is modeled by a two-dimensional Point Spread Function (PSF) array P=(p_{ij}) of small size compared to N . For a spatially invariant blur with zero boundary conditions, the multidimensional convolution can be expressed as \mathcal{C}_{ijk}=\sum_{a=-1}^{1}\sum_{b=-1}^{1}p_{(2-a)(2-b)}\widehat{\mathcal{X}}_{i+a,j+b,k},\quad k=1,2,3, for i,j=1,\dots,N . Zero boundary conditions are imposed: \widehat{\mathcal{X}}_{0jk}=\widehat{\mathcal{X}}_{N+1,j,k}=\widehat{\mathcal{X}}_{i,0,k}=\widehat{\mathcal{X}}_{i,N+1,k}=0. This convolution can be equivalently written using the Einstein product as \mathcal{C}=\mathcal{A}*_{2}\widehat{\mathcal{X}}, where \mathcal{A}\in\mathbb{R}^{N\times N\times N\times N} is constructed directly from the PSF entries. 5.2 Gaussian Blur Model We consider a Gaussian PSF defined by p_{ij}=\exp\left(-\frac{1}{2}\left(\frac{i-k}{\sigma}\right)^{2}-\frac{1}{2}\left(\frac{j-\ell}{\sigma}\right)^{2}\right), where \sigma controls the amount of smoothing and (k,\ell) is the center of the PSF. Larger values of \sigma yield more ill-posed problems. 5.3 Noise Model The noise-free blurred image is \widehat{\mathcal{C}}=\mathcal{A}*_{2}\widehat{\mathcal{X}}. We generate the observed image as \mathcal{C}=\widehat{\mathcal{C}}+\mathcal{N}, where \mathcal{N} is a tensor with independent Gaussian entries of zero mean. The noise level is defined as \nu=\frac{\|\mathcal{N}\|_{F}}{\|\widehat{\mathcal{C}}\|_{F}}. 5.4 Sketched Einstein Implementation All orthogonality tests and norms in Algorithms 2 and 4 are computed using the sketched Einstein inner product: \langle\mathcal{X},\mathcal{Y}\rangle_{\Theta}=\langle\mathcal{S}(\mathcal{X}),\mathcal{S}(\mathcal{Y})\rangle_{F}, where \mathcal{S} is a random tensor embedding. This reduces computational complexity while preserving the geometric structure with high probability: (1-\varepsilon)\|\mathcal{X}\|_{F}^{2}\leq\|\mathcal{X}\|_{\Theta}^{2}\leq(1+\varepsilon)\|\mathcal{X}\|_{F}^{2}. 5.5 Performance Measures To evaluate restoration quality, we compute the Relative Error (RE): \mathrm{RE}=\frac{\|\widehat{\mathcal{X}}-\mathcal{X}_{\mathrm{restored}}\|_{F}}{\|\widehat{\mathcal{X}}\|_{F}}. We also report the Peak Signal-to-Noise Ratio (PSNR): \mathrm{PSNR}=10\log_{10}\left(\frac{\|\widehat{\mathcal{X}}-E(\widehat{\mathcal{X}})\|_{F}^{2}}{\|\mathcal{X}_{\mathrm{restored}}-\widehat{\mathcal{X}}\|_{F}^{2}}\right), where E(\widehat{\mathcal{X}}) denotes the mean intensity. 5.6 Computational Environment All experiments were performed in MATLAB on an Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz with 12GB RAM. Computations were carried out in double precision. 5.7 Results Table 1 reports the performance comparison between: - Algorithm 2: Sketched Einstein Block GMRES, - Algorithm 4: Sketched Einstein Block Golub–Kahan, - Classical tensor GKB (without sketching). Table 1: Results for Example 1 Noise Level Method PSNR RE CPU-time (s) 10^{-3} Einstein Block GMRES 21.76 6.09\times 10^{-2} 8.28 Sketched Einstein Block GMRES 22.72 6.29\times 10^{-2} 4.22 Einstein Block Golub-Kahan 24.37 4.51\times 10^{-2} 7.29 Sketched Einstein Block Golub-Kahan 24.42 4.51\times 10^{-2} 3.32 Classical GKB 24.22 4.51\times 10^{-2} 18.45 10^{-2} Einstein Block GMRES 20.60 6.96\times 10^{-2} 3.31 Sketched Einstein Block GMRES 20.64 6.96\times 10^{-2} 1.21 Einstein Block Golub-Kahan 20.97 6.67\times 10^{-2} 1.58 Sketched Einstein Block Golub-Kahan 20.98 6.67\times 10^{-2} 0.70 Classical GKB 20.08 6.66\times 10^{-2} 5.52 The results in the table demonstrate that sketched methods provide a significant computational advantage while maintaining comparable accuracy to their standard counterparts. For both noise levels ( 10^{-3} and 10^{-2} ), the PSNR of sketched methods is slightly higher or nearly identical to the non-sketched versions, and the Relative Error (RE) remains effectively unchanged, indicating that sketching does not compromise solution quality. In terms of CPU time, sketching consistently reduces computation time by roughly 40–60 \% , with the most pronounced improvements at higher noise levels. For example, Einstein Block GMRES decreases from 8.28 s to 4.22 s at noise level 10^{-3} , and from 3.31 s to 1.21 s at 10^{-2} . Among all methods, the sketched Einstein Block Golub-Kahan achieves the best trade-off between accuracy and efficiency. Overall, the table confirms that sketching is an effective strategy for accelerating block iterative methods, making them particularly suitable for large-scale problems or time-sensitive applications, without sacrificing reconstruction quality. 6 Conclusion The numerical results indicate that sketched versions of the block iterative algorithms provide a highly effective approach for video restoration. Across both noise levels ( \nu=10^{-3} and \nu=10^{-2} ), the sketched methods achieve comparable or slightly better reconstruction quality in terms of PSNR and relative error (RE) compared to their non-sketched counterparts, confirming that the approximation introduced by sketching does not compromise accuracy. Moreover, sketched methods significantly reduce computational time, often halving the CPU time required by standard algorithms. This speed-up is particularly evident in methods based on Golub-Kahan bidiagonalization, where sketching allows faster factorization while retaining the spectral information necessary for accurate Tikhonov-regularized solutions. Overall, the results demonstrate that sketched block methods offer an excellent balance between efficiency and accuracy, making them highly suitable for large-scale video restoration tasks where computational resources or time are limiting factors. The sketched approach therefore represents a practical and reliable alternative to classical iterative methods for restoring sequences of contaminated frames.