arXiv:2610.35368cs.CVOct 2026

Manuscript Offprint

arXiv:2610.35368

Shared-Factor-Conditioned Diffusion for Low-Rank Tensor Recovery

Zhengyun Cheng, Guanwen Zhang, Wei Zhou

Zhengyun Cheng ID^{ID}, Guanwen Zhang ID^{ID}, and Wei Zhou ID^{ID}

Abstract—Tensor recovery spans heterogeneous data structures and observation processes, calling for a representation that can adapt across modalities and tasks. We propose DiffTR, an unsupervised framework that unifies tensor completion, denoising, and hyperspectral super-resolution through coordinate-conditioned diffusion. Shared factors indexed by tensor coordinates condition a compact score network, and score matching jointly learns the factors and an implicit tensor representation from the available observations. Scalar and vector-valued outputs accommodate individual entries and entire tubes, enabling a common formulation for tabular tensors, images, and videos. The framework separates representation learning from task-specific observation modeling: reverse diffusion recovers missing values; estimation via Tweedie's formula, soft thresholding, and optional spatial consistency support mixed-noise denoising; and measurement-guided sampling transfers a prior learned from low-resolution hyperspectral observations to high-resolution reconstruction, followed by post-sampling refinement with data consistency and spectral subspace regularization. This separation makes the representation compatible with different corruption models and permits task-specific constraints to be incorporated within the same recovery framework. Experiments across multiple tensor modalities and recovery tasks demonstrate competitive reconstruction quality and the flexibility of a unified conditional generative representation. The code is available at https://github.com/CZY-Code/DiffTR

Index Terms—Low-rank, Diffusion, Tensor Recovery

I. INTRODUCTION

Tensor recovery estimates an underlying tensor from incomplete, corrupted, or indirect measurements. This problem arises in sparse multiway tables, continuous-time records, RGB images, multispectral images, hyperspectral images, and videos. Applications span completion [1], [2], denoising, spectral super-resolution, factor analysis [3], sequence modeling [4], model compression [5], [6], and generative modeling [7], [8]. A general recovery framework must accommodate both heterogeneous structure and heterogeneous observations. Sparse tables encode interactions among discrete entities, whereas visual tensors exhibit spatial, spectral, and temporal correlations. Missing entries, missing tubes, mixed noise, and resolution loss impose different constraints on these structures. We use MSI and HSI to denote multispectral and hyperspectral images, respectively.

Classical low-rank tensor recovery combines a tensor representation, an observation model, and an optimization procedure. CP [9], Tucker [10], tensor train [11], tensor ring [12], and tensor networks such as fully connected and tensor wheel decompositions [13], [14] prescribe how latent factors or cores are contracted into tensor entries. Structure search improves the representation by adapting network topology and mode assignments [15], [16], but the resulting model still relies on an explicit contraction. Many methods based on implicit neural representations (INRs) extend tensor models with fixed contraction structures to continuous domains [17], [18]. Their effectiveness therefore depends on matching the contraction structure to the data, which can be challenging when spatial, spectral, temporal, and entity-level dependencies differ across modalities.

CoSTCo and POND address the restrictions of multilinear interactions through convolutional networks and Gaussian processes with neural kernels, respectively [19], [20]. Energy-based tensor models learn entry–factor compatibility without prescribed contractions, but primarily operate on scalar entries [21], [22]. Extending these formulations to joint tube recovery and indirect measurements requires corresponding treatment of vector-valued outputs and observation constraints. Building on these advances, we seek a common conditional diffusion framework that accommodates heterogeneous tensor modalities, scalar entries and vector-valued tubes, and task-specific observation models across completion, denoising, and HSI super-resolution.

We introduce DiffTR, a diffusion framework conditioned on coordinate-indexed tensor factors. For each mode, an R-dimensional factor vector is associated with every index or coordinate, either retrieved from a factor matrix for discrete modes or generated by an implicit neural representation for continuous modes. Atoms that share an index within the same mode reuse the corresponding factor vector, so that their observations jointly inform its learning. The resulting factor vectors are concatenated to condition a score network. Here, an atom refers to a scalar entry or a vector-valued tube, indexed by its positions across the modes. Denoising score matching jointly learns the factors and the conditional score, and reverse diffusion recovers the target atoms. We define the representation rank R as the feature dimension of each factor vector. By learning interactions among factors, the score network provides a flexible alternative to prescribed multilinear contractions.

DiffTR adopts a unified coordinate-conditioned diffusion formulation for completion, denoising, and HSI super-resolution, with learning and recovery procedures tailored to the available observations. For completion, it learns from observed entries or tubes and generates the missing ones. For denoising, it alternates score learning, clean-value estimation via Tweedie's

Corresponding authors: Guanwen Zhang and Wei Zhou.

Zhengyun Cheng, Guanwen Zhang, Wei Zhou are with the School of Electronics and Information, Northwestern Polytechnical University, Xi'an 710129, China. (e-mail: chengzy@mail.nwpu.edu.cn; guanwen.zh@nwpu.edu.cn; zhouwei@nwpu.edu.cn) formula, and sparse-noise separation, with optional spatial consistency enforcement. For HSI super-resolution, it learns from the upsampled LR-HSI, guides reverse diffusion with HR-MSI measurements, and applies post-sampling refinement to improve data consistency. Each tensor is trained on its own observations, and the number of diffusion steps can be adjusted according to its structure and recovery requirements.

The main contributions are summarized as follows:

• We formulate tensor recovery as conditional diffusion over scalar entries or vector-valued tubes, where shared mode-wise factors condition a score network that learns factor interactions.

• We develop an extensible, unsupervised framework that learns from each tensor’s own observations and supports completion, denoising, and HSI super-resolution across tabular, image, and video tensors via task-specific observation models.

• We evaluate DiffTR across tensor modalities and recovery tasks, demonstrating competitive reconstruction quality and analyzing the effects of key components and computational cost.

References (56)