Image tensor dimension reduction method and system based on adaptive graph regularization and weighted schatten-p norm

By employing an image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm, the problems of poor robustness and insufficient preservation of local geometric structure in existing image tensor dimensionality reduction techniques are solved, achieving efficient feature extraction and improved image classification capabilities in complex noisy environments.

CN123160983APending Publication Date: 2026-11-24CHUZHOU POWER SUPPLY CO OF STATE GRID ANHUI ELECTRIC POWER CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611400490.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing image tensor dimensionality reduction methods are inadequate in scenarios with strong noise, outliers, and complex image data structures. They also exhibit poor robustness, fail to preserve the local geometric structure of the image, and lack a multi-objective adaptive balancing mechanism.

Method used

An image tensor dimensionality reduction method using adaptive graph regularization and weighted Schatten-p norm is proposed. This method preserves the local geometric structure by constructing a graph Laplacian matrix, introduces a weighted Schatten-p norm to distinguish important image features from noise features, and dynamically balances multiple optimization objectives through an adaptive weight learning mechanism. An alternating iterative optimization strategy is then used to solve for the optimal projection matrix.

Benefits of technology

It significantly enhances robustness in complex noisy environments, maintains the local manifold characteristics and discriminative ability of image data, reduces parameter sensitivity, and improves the discriminative ability and processing efficiency of image features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160983A_ABST
    Figure CN123160983A_ABST
Patent Text Reader

Abstract

This invention discloses an image tensor dimensionality reduction method and system based on adaptive graph regularization and weighted Schatten-p norm, comprising: 1. acquiring image data to be processed, and performing preprocessing and tensor representation to obtain an image tensor sample set; 2. constructing an adaptive nearest neighbor graph based on the image tensor samples, and establishing a graph regularization model that preserves the local manifold structure of the image; 3. performing multilinear projection on the image tensor, and applying weighted Schatten-p norm constraints to the singular values ​​of the expansion matrices of each modality of the projected tensor; 4. constructing a multi-objective joint optimization model including maximizing projection distance, minimizing image reconstruction error, and preserving graph structure, and solving to obtain the optimal projection matrix set; 5. using the optimal projection matrix set to extract low-dimensional image tensor features, and performing image classification, target recognition, or industrial visual inspection. This invention can effectively preserve the local structure and discriminative information of the image, and improve the robustness and feature representation ability of image tensor dimensionality reduction under complex noise environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of image processing and pattern recognition technology, specifically relating to an image tensor dimensionality reduction method and system based on adaptive graph regularization and weighted Schatten-p norm, used for dimensionality reduction and feature extraction of high-dimensional image tensor data. Background Technology

[0002] With the rapid development of digital imaging technology, high-dimensional image tensor data (such as color face images, hyperspectral images, medical images, multi-frame video images, etc.) have been widely used in remote sensing monitoring, medical diagnosis, and intelligent security. Taking color face images as an example, each image can be represented as a third-order tensor (highest dimension tensor). width (Color channels); Hyperspectral images can be represented as a third-order tensor coupling spatial and spectral dimensions. Image tensor data typically has high dimensionality, and direct processing faces problems such as high computational complexity, large storage overhead, and the "curse of dimensionality." Therefore, image tensor dimensionality reduction has become one of the key technologies in the field of image processing.

[0003] Tensor Principal Component Analysis (TPCA), a classic image tensor dimensionality reduction method, effectively extracts the main features of image tensor data and reduces data dimensionality. However, in actual image acquisition, image tensor data is often affected by various complex noises, such as drastic changes in illumination, local occlusion, Gaussian white noise, impulse noise, and sensor random errors. These noises severely affect the dimensionality reduction performance and feature extraction accuracy of traditional TPCA methods, thereby reducing the accuracy of subsequent image classification and target recognition.

[0004] Existing image tensor dimensionality reduction methods and their extensions mainly suffer from the following technical shortcomings: First, most existing methods are based on the Frobenius norm (F-norm) or Lp norm for distance measurement. The F-norm, due to its square summation mechanism, is extremely sensitive to abnormal pixel values ​​and impulse noise in images, and has poor robustness in the presence of strong noise. Although the Lp norm enhances robustness to noise to some extent, it often loses the rotation invariance of the F-norm, resulting in a significant decrease in the accuracy of image feature extraction in complex geometric transformation scenarios.

[0005] Second, most existing image tensor dimensionality reduction algorithms only consider a single optimization objective, such as maximizing the projection distance or minimizing the reconstruction error, ignoring the inherent local geometric structure information of the image data. In practical manifold learning, the inherent local geometric structure information of high-dimensional image data is crucial for preserving the discriminative manifold of the data. A simple global optimization objective is insufficient to fully preserve the local neighborhood characteristics of the image data, resulting in insufficient discriminative ability of the reduced image features.

[0006] Third, existing Schatten-p norm constraint methods apply an indiscriminate, equal penalty strategy to all singular values ​​when processing image tensor expansion matrices. Since different singular values ​​contribute significantly to the reconstruction of image data energy (large singular values ​​usually contain core image topological features, while small singular values ​​are mostly driven by noise), equal penalty leads to insufficient ability to distinguish between important image features and noise features, resulting in feature smoothing or overfitting.

[0007] Fourth, existing technologies lack an adaptive balancing mechanism for multiple differentiated optimization objectives. Multi-level hyperparameters often require manual experience to perform grid search and parameter tuning, which is difficult to adapt to the dynamic and multi-objective balancing requirements for projection quality, reconstruction accuracy, and structure preservation in different image application scenarios.

[0008] Therefore, there is an urgent need for a novel image tensor dimensionality reduction method that can solve the above problems simultaneously. Summary of the Invention

[0009] To overcome the shortcomings of existing technologies, this invention provides an image tensor dimensionality reduction method and system based on adaptive graph regularization and weighted Schatten-p norm. This method effectively preserves the local structure and discriminative information of the image, and improves the robustness and feature representation ability of image tensor dimensionality reduction in complex noise environments. It solves the technical problems of existing image tensor dimensionality reduction methods, such as insufficient dimensionality reduction performance, poor robustness to noise, inability to preserve the local geometric structure of the image, and lack of multi-objective adaptive balancing mechanisms, in scenarios with strong noise, outliers, and complex image data structures.

[0010] To achieve the above-mentioned objectives, the present invention adopts the following technical solution: The present invention provides an image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm, characterized by the following steps: Step 1: Obtain the image tensor dataset to be reduced in dimensionality Then, a centering process is performed to obtain a zero-mean image tensor sample set. ,make Any image tensor sample is denoted as ,make Zhongyu Any different image tensor sample is denoted as ; Step two, based on Construct a graph Laplacian matrix that preserves the local geometry of the image data. ; Step 2.1, Calculate The first tensor sample of each image Modular expansion matrix, used to calculate The Modular expansion matrix After arranging the Euclidean distances between each tensor sample and other images, the median is selected as the median. Adaptive scaling parameters ; and according to and Adaptive scaling parameters ,calculate and Gaussian similarity between Thus, the similarity matrix is ​​obtained. ; Step 2.2, for Summing the Gaussian similarities between the tensor samples and other image samples yields... degree Thus, the degree matrix is ​​constructed. and will and The difference matrix between them is used as the graph Laplacian matrix. ;in, Represents diagonal matrix operators. express The number of tensor samples in the image; Step 3: Initialize the image tensor projection matrix group Used for Perform multilinear projection to obtain the tensor set of the projected image. and calculate The first tensor sample of each image Modular expansion matrix, where, Indicates the first The projection matrix of the modulus, Indicates the total number of modes; Step 4, based on Construct a joint objective function This includes: the term for maximizing the projected distance. Minimize the reconstruction error term With graph regularization preservation term ; Step 5, for Iterative optimization is performed to obtain the optimal projection matrix set. Used for Projection is performed to output a low-dimensional image tensor feature representation. ,in, Indicates the first The optimal projection matrix of the model.

[0011] The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm described in this invention is also characterized in that step 2.1 is to calculate using equation (1). : (1).

[0012] Furthermore, step three uses equation (2) to calculate : (2) In equation (2), , , This represents the image tensor projection matrix acting on different modalities. , , These represent the image tensor projection matrices respectively. , , The target dimension, and satisfying , ; , , Represents the modular product operation for different modes; This indicates transpose.

[0013] Furthermore, step four involves constructing a joint objective function according to the following steps. : Step 4.1: Construct the projected distance maximization term with weighted Schatten-p norm constraints using equation (3). : (3) In equation (3), For the first The weighting coefficients of the modulus, and ; for Tensor samples of any projected image The Modular expansion matrix The One singular value; For the first The first of the models A singular value The weights; For the first The number of singular values ​​of the modulus. The Schatten-p norm parameter; Step 4.2, calculate using equation (4) Reconstructed image tensor Thus, equation (5) is used to construct the reconstruction error minimization term. : (4) (5) In equation (4), Represents the squared measure of the F-norm; Step 4.3, construct the graph regularization preservation term using equation (6). : (6) In equation (6), for Zhongyu Different tensor samples of any image; Step 4.4: Construct the joint objective function using equation (7). : (7) In equation (7), , , This represents three adaptive weighting coefficients.

[0014] Furthermore, step five includes: Step 5.1: Define the current iteration number as... and initialize Randomly initialize the first (0,1) digit in the range (0,1). The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient ; Order No. The projection matrix set for the next iteration is And initialized randomly; where, Indicates the first The iteration of the ... The projection matrix of the model; Step 5.2, using equation (8) to... , , Update to obtain the first The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient : (8) In equation (8), For learning rate, Describing the F-norm, Indicates the first Maximizing the projected distance in the next iteration gradient, Indicates the first Minimize the reconstruction error term in the next iteration gradient, Indicates the first The graph regularization preservation term in the next iteration gradient, For the first The normalization factor for the next iteration is: (9) Step 5.3: Construct the first... using equation (7) The joint objective function of the next iteration An alternating iterative optimization strategy is used to solve the problem, yielding the result of the first iteration. The optimal projection matrix set in the next iteration ; For the first The iteration of the iteration Modulo optimal projection matrix; Step 5.4, if Then As the optimal projection matrix set Output, otherwise, Assigned to the first The projection matrix group of the next iteration ,Will Assign to Then, return to step 5.2 and execute sequentially; where, Indicates the set allowable error; Step 5.5, based on Using equation (13) Project the image and output a low-dimensional image tensor feature representation. : (13).

[0015] Furthermore, step 5.3 includes: Step 5.3.1: Define the current modal index as... and initialize ; Step 5.3.2, Fix the first In the nth iteration, except for the 1st Other modal projection matrices And using equation (10) to convert the first The joint objective function of the next iteration Transform into about sub-objective function ; (10) In equation (10), Represents the matrix trace operation. , , They represent the first The iteration of the iteration The modulus-weighted divergence matrix, projective divergence matrix, and graphical Laplacian divergence matrix are calculated using equation (11): (11) In equation (11), For the first In the nth iteration Image tensor samples The The Kronecker product matrix is ​​obtained by using equation (12). Indicates the first The i-th iteration of all image samples The concatenation matrix of the Kronecker product matrix. express The transpose of the matrix, Represents the graph Laplace matrix. For the first In the next iteration The The diagonal weight matrix of the modulus, and by Diagonalizing the singular values ​​yields: (12) In equation (12), This represents the Kronecker product operation; Step 5.3.3, for Perform feature decomposition and take the top [features]. The eigenvectors corresponding to the largest eigenvalues ​​form the first... The iteration of the iteration Modulo optimal projection matrix ; Step 5.3.4, let Assign to Afterwards, if If so, return to step 5.3.2 and execute sequentially; otherwise, it indicates that the process has reached step 5.3.2. The optimal projection matrix set for the next iteration .

[0016] The present invention provides an image tensor dimensionality reduction system based on adaptive graph regularization and weighted Schatten-p norm, characterized by comprising: Image Tensor Data Acquisition and Preprocessing Module: Used to acquire the image tensor dataset to be reduced in dimensionality. Then, a centering process is performed to obtain a zero-mean image tensor sample set. The image tensor dataset Each image tensor sample in the dataset is Image tensor of order; Adaptive Graph Construction Module: Used to calculate adaptive similarity between image tensor samples, thereby constructing the graph Laplacian matrix. ; Multilinear projection module: used for zero-mean image tensor sample sets Perform multilinear projection to obtain the tensor set of the projected image. ; Adaptive multi-objective joint optimization module: used to construct a module that includes a projected distance maximization term. Minimize the reconstruction error term Joint objective function with graph regularization preservation term The optimal projection matrix set is then obtained by solving the problem. Dimensionality reduction feature extraction module: used to extract features from image tensor datasets using the optimal projection matrix set. The process is performed to output a low-dimensional image tensor feature representation. .

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. This invention introduces a weighted Schatten-p norm to assign differentiated weights to different singular values ​​of the expansion matrix of each modality of the image tensor. This results in larger singular values ​​containing core image topological features receiving greater weights, while smaller singular values ​​driven by noise receive less weights. This approach better distinguishes important image features from noise features and significantly enhances robustness to complex noise. Simultaneously, when… It degenerates to the F-norm, preserving rotation invariance, and is suitable for geometric transformation scenarios such as image rotation.

[0018] 2. This invention preserves the local geometric structure of image data through adaptive graph regularization, so that the dimensionality-reduced low-dimensional image representation not only retains global discriminative information, but also maintains the local manifold characteristics of the image data, which is beneficial to subsequent image classification and clustering tasks and significantly improves the discriminative ability of image features.

[0019] 3. This invention dynamically balances three optimization objectives—maximizing projection distance, minimizing reconstruction error, and preserving graph structure—through an adaptive weight learning mechanism. This enables the method to adapt to the needs of different image application scenarios, eliminating the need for manual parameter tuning and reducing the barrier to entry and parameter sensitivity of the method.

[0020] 4. This invention adopts an alternating iterative optimization strategy, which fixes the projection matrices of other modalities in each iteration to solve the optimal solution of the current modality, decomposing the non-convex joint optimization problem into multiple convex sub-problems. This enables the method to efficiently and accurately extract low-dimensional image tensor features, which is beneficial for the rapid implementation of subsequent image classification, target recognition or industrial vision inspection tasks, and significantly improves the time efficiency of image tasks.

[0021] 5. The method of the present invention can be widely applied to image tensor data processing fields such as color face recognition, hyperspectral image classification, medical image analysis and video surveillance, and has good versatility and scalability. Attached Figure Description

[0022] Figure 1 This is a flowchart illustrating the overall process of the method of the present invention. Figure 2 This is a schematic diagram of the adaptive graph construction process; Figure 3 A schematic diagram of the adaptive allocation of singular value weights for weighted Schatten-p norm constraints; Figure 4 This is a flowchart of the adaptive multi-objective joint optimization solution based on gradient change rate, using alternating iterative solutions. Detailed Implementation

[0023] like Figure 1 As shown in this embodiment, an image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm is presented. Its core idea is to enhance robustness to noise by using the weighted Schatten-p norm while preserving the local geometric structure of the image data, and to adaptively balance multiple optimization objectives to achieve high-quality image tensor dimensionality reduction. Specifically, the method includes the following steps: Step 1: Obtain the image tensor dataset to be reduced in dimensionality Then, a centering process is performed to obtain a zero-mean image tensor sample set. ,make Any image tensor sample is denoted as ,make Zhongyu Any different image tensor sample is denoted as .

[0024] In a specific embodiment, the image tensor dataset to be dimensionality reduced is: A set of image tensors of order 1, where each sample For example, in color face recognition scenarios, , and These represent the height and width of the face image, respectively. This represents the number of color channels (e.g., R, G, and B channels), with each sample being a color face image tensor; in hyperspectral image classification scenarios... , and Indicates spatial dimension, This represents the number of spectral bands. Centering is achieved by subtracting the sample mean tensor: ,in , for The number of tensor samples in the image. This operation eliminates the translation invariance of the image data, allowing subsequent analysis to focus on the image's variability and avoiding interference from the DC component in the projection direction estimation. When dealing with the fusion of multi-source heterogeneous image data, scale normalization can be further performed on each mode to balance the influence of different physical dimensions on distance metrics.

[0025] Step two, based on Construct a graph Laplacian matrix that preserves the local geometry of the image data. ; Step 2.1, Calculate The first tensor sample of each image Modular expansion matrix, used to calculate The Modular expansion matrix After arranging the Euclidean distances between each tensor sample and other images, the median is selected as the median. Adaptive scaling parameters ; and according to and Adaptive scaling parameters ,calculate and Gaussian similarity between Thus, the similarity matrix is ​​obtained. .

[0026] In specific implementation, the first The modular expansion matrix is ​​the matrix that expands the image tensor samples along the first... The matrix representation obtained by matrix expansion of each mode. Using a third-order tensor. For example, its first modulus expansion matrix This operation preserves the dimensionality information of the first modality while concatenating other modalities in a column-first manner, thus transforming tensor distance calculation into matrix Frobenius norm distance calculation, significantly reducing the computational complexity of directly calculating higher-order distances between tensors. Using the median as an adaptive scaling parameter, compared to the use of a globally fixed scaling parameter or mean estimation in traditional Gaussian kernel functions, median estimation exhibits strong robustness to outliers and impulse noise in images. In complex scenarios such as power line inspections or medical imaging, images often contain outliers caused by drastic changes in illumination, local occlusion, or sensor anomalies. The median effectively suppresses the interference of these outliers on similarity calculations, allowing the scaling parameter to more accurately reflect the true data density of the local region where the sample is located.

[0027] The formula for calculating Gaussian similarity based on adaptive scaling parameters is Equation (1): (1) like Figure 2 As shown, this adaptive strategy automatically uses a smaller scale in densely populated areas of the image sample and a larger scale in sparse areas, thereby more accurately reflecting the true similarity between image samples and avoiding the "homogeneity" phenomenon caused by a fixed scale.

[0028] Step 2.2, for Summing the Gaussian similarities between the tensor samples and other image samples yields... degree Thus, the degree matrix is ​​constructed. and will and The difference matrix between them is used as the graph Laplacian matrix. ;in, Represents diagonal matrix operators. express The number of tensor samples in the image.

[0029] In practical implementation, degree matrix diagonal elements Encoded the first The sum of similarities between a sample and all other samples reflects the local density of that sample in the data manifold. (Non-normalized graph Laplacian matrix) It possesses positive semidefiniteness, and its quadratic form precisely characterizes the error in preserving local structure before and after dimensionality reduction, making it a core algebraic tool in manifold learning. This Laplacian matrix encodes the local geometric structure information of the image data, and in subsequent optimization, it is used to constrain the dimensionality-reduced low-dimensional image representation to maintain similar local structures, ensuring that similar image samples in the original image space remain similar in the dimensionality-reduced space.

[0030] Step 3: Initialize the image tensor projection matrix group Used for Perform multilinear projection to obtain the tensor set of the projected image. and calculate The first tensor sample of each image Modular expansion matrix, where, Indicates the first The projection matrix of the modulus, This represents the total number of modes. Calculate using equation (2). : (2) In equation (2), , , This represents the image tensor projection matrix acting on different modalities. , , These represent the image tensor projection matrices respectively. , , The target dimension, and satisfying , ; , , Represents the modular product operation for different modes; This indicates transpose.

[0031] In practice, the multilinear projection adopts a Tucker decomposition form, with each mode corresponding to an orthogonal projection matrix. ,in The target dimension after dimensionality reduction. Compared to traditional methods that directly flatten the tensor into vectors before performing PCA dimensionality reduction, multilinear projection strictly preserves the multidimensional topological structure of the image tensor, avoiding the irreversible loss of native spatial-channel geometric correlations caused by vectorization operations. Using a color face image tensor... For example, you can set the target dimension. , , The tensor after projection at this time This achieves spatial dimension compression while maintaining the integrity of color channels; for hyperspectral image tensors , can be set , , This achieves joint spatial-spectral dimensionality reduction. Modular product operation. Defined as tensor and matrix at the th Modal -mode product. During initialization, the projection matrices for each mode are... Random orthogonal initialization or an initialization strategy based on higher singular value decomposition (HOSVD) can be adopted. HOSVD initialization can significantly accelerate the convergence speed of subsequent iterations and avoid getting trapped in poor local optima.

[0032] Step 4, based on Construct a joint objective function This includes: the term for maximizing the projected distance. Minimize the reconstruction error term With graph regularization preservation term ; Step 4.1: Construct the projected distance maximization term with weighted Schatten-p norm constraints using equation (3). : (3) In equation (3), For the first The weighting coefficients of the modulus, and ; for Tensor samples of any projected image The Modular expansion matrix The One singular value; For the first The first of the models A singular value The weights; For the first The number of singular values ​​of the modulus. For the Schatten-p norm parameter.

[0033] In practical implementation, the weighted Schatten-p norm shown in equation (3) is the core mechanism for robust feature extraction in this invention. Traditional methods apply equal penalties (such as the nuclear norm or Frobenius norm) to all singular values, resulting in excessive shrinkage of large singular values ​​(containing core image topological features), while small singular values ​​(mostly driven by noise) are not effectively suppressed. Figure 3 As shown, this invention introduces singular value weights. This approach assigns greater weights to larger singular values ​​and less weights to smaller singular values, thereby achieving adaptive suppression of image noise. Singular value weighting The contribution rate is adaptively determined, for example, by using an exponential decay strategy: ,in The attenuation coefficient is... This is a normalization constant. The physical meaning of this strategy is that the energy of image data is usually concentrated in the principal components corresponding to the first few large singular values, while the tail singular values ​​mainly reflect high-frequency noise and local perturbations. Through differential weighting, the projection distance is maximized. While preserving key image variation information, it automatically suppresses noise channels.

[0034] Schatten-p norm parameter The selection of has a decisive influence on the properties of the model: when When the weighted Schatten-p norm degenerates into the weighted Frobenius norm, it maintains strict rotation invariance and is suitable for geometric transformation scenarios involving image rotation; when When the norm is increased, sparsity is enhanced, allowing for more aggressive compression of small singular values, making it suitable for noisy environments. In practical applications, it is recommended to use the norm in [the context of the previous sentence]. The grid search can be performed, or an adaptive selection can be made based on the noise level.

[0035] Step 4.2, calculate using equation (4) Reconstructed image tensor Thus, equation (5) is used to construct the reconstruction error minimization term. : (4) (5) In equation (4), Let F be the squared measure of the F-norm; in practice, the reconstruction mechanism of equation (4) ensures the invertibility of dimensionality reduction: the low-dimensional tensor is transformed by the transpose of the projection matrix. Mapping back to the original space yields the reconstructed image. The reconstruction error minimization term in Equation (5) ensures that the reduced-dimensional representation can recover the key information of the original image data without loss, avoiding the information bottleneck caused by excessive dimensionality reduction. This objective guarantees that the reduced-dimensional image representation can reconstruct the original image data well, and is an important indicator for measuring the quality of dimensionality reduction.

[0036] Step 4.3, construct the graph regularization preservation term using equation (6). : (6) In equation (6), for Zhongyu Different tensor samples of any image.

[0037] In practical implementation, the graph regularization preservation term of equation (6) can be further equivalently represented as a matrix trace: ,in For all samples Concatenation of the modular expansion matrix. This term forces similar samples (i.e., similar samples in the original image space) to be joined together. The data (which are relatively large) remain similar on the reduced low-dimensional manifold, effectively preserving the local neighborhood characteristics and discriminative manifold structure of the data. This is beneficial for subsequent image classification and clustering tasks and significantly improves the discriminative ability of image features.

[0038] Step 4.4: Construct the joint objective function using equation (7). : (7) In equation (7), , , This represents three adaptive weighting coefficients; in specific implementation, equation (7) uses adaptive weighting coefficients... , , Deeply couple the three differentiated objectives while pursuing discriminative power. Maximum), reversibility ( Minimal) and structural ( This method minimizes the variance and overcomes the shortcomings of traditional methods that focus only on global variance while ignoring local geometry. This multi-objective joint optimization model enables the method to adapt to the needs of different image application scenarios, eliminating the need for manual parameter tuning and lowering the barrier to entry and parameter sensitivity.

[0039] Step 5, for Iterative optimization is performed to obtain the optimal projection matrix set. Used for Projection is performed to output a low-dimensional image tensor feature representation. ,in, Indicates the first The optimal projection matrix of the model.

[0040] Step 5.1: Define the current iteration number as... and initialize Randomly initialize the first (0,1) digit in the range (0,1). The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient ; Order No. The projection matrix set for the next iteration is And initialized randomly; where, Indicates the first The iteration of the ... The projection matrix of the model.

[0041] In practical implementation, weighting coefficient , , The initial value can be randomly generated within the interval (0,1), but must satisfy the normalization condition. (If independent initialization is used, normalization is performed during the first iteration). Projection matrix group The initialization is recommended to use a standard normally distributed random matrix orthogonalized by QR to ensure the unit orthogonality of the initial projection direction and avoid the influence of the ill-conditioned condition number on subsequent convergence.

[0042] Step 5.2, using equation (8) to... , , Update to obtain the first The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient : (8) In equation (8), For learning rate, Describing the F-norm, Indicates the first Maximizing the projected distance in the next iteration gradient, Indicates the first Minimize the reconstruction error term in the next iteration gradient, Indicates the first The graph regularization preservation term in the next iteration gradient, For the first The normalization factor for the next iteration is: (9) In practical implementation, the adaptive weight update mechanism in step 5.2 dynamically balances the sub-objectives based on multi-objective gradient information. Equation (8) adopts an exponential gradient weighting strategy: when the gradient norm of a sub-objective is large, it indicates that the current optimization progress of that objective is lagging behind, and the exponential function assigns it a larger weight, thereby accelerating its convergence; conversely, objectives with smaller gradients receive smaller weights to avoid over-optimization. Learning rate Control the step size of weight adjustment; recommended value. Normalization factor This mechanism ensures that the sum of the weights is 1, maintaining proportional coordination among multiple objectives. It assigns larger weights to sub-objectives with larger gradients, thereby accelerating convergence and balancing the optimization process across objectives.

[0043] Step 5.3: Construct the first... using equation (7) The joint objective function of the next iteration An alternating iterative optimization strategy is used to solve the problem, yielding the result of the first iteration. The optimal projection matrix set under the next iteration: Step 5.3.1: Define the current modal index as... and initialize ; Step 5.3.2, Fix the first In the nth iteration, except for the 1st Other modal projection matrices And using equation (10) to convert the first The joint objective function of the next iteration Transform into about sub-objective function ; (10) In equation (10), Represents the matrix trace operation. , , They represent the first The iteration of the iteration The modulus-weighted divergence matrix, projective divergence matrix, and graphical Laplacian divergence matrix are calculated using equation (11): (11) In equation (11), For the first In the nth iteration Image tensor samples The The Kronecker product matrix is ​​obtained by using equation (12). Indicates the first The i-th iteration of all image samples The concatenation matrix of the Kronecker product matrix. express The transpose of the matrix, Represents the graph Laplace matrix. For the first In the next iteration The The diagonal weight matrix of the modulus, and by Diagonalizing the singular values ​​yields: (12) In equation (12), This represents the Kronecker product operation.

[0044] In practical implementation, the alternating iterative optimization strategy in step 5.3 is key to ensuring computational efficiency and convergence in this invention. Due to the joint objective function... Regarding all projection matrix groups Since it is non-convex, direct global optimization is extremely difficult. For example... Figure 4 As shown, this invention employs alternating direction optimization: fixing other directions The projection matrix of the current modality is optimized only. Model At this point, the sub-objective function Transforming it into a standard matrix trace maximization problem is equivalent to generalized eigenvalue decomposition, which has an analytical optimal solution. This decomposes the non-convex problem into a series of convex subproblems, strictly guaranteeing the convergence of the algorithm. It encodes the projection transformation information already completed in other modalities, enabling the optimization of the current modality to be aware of the global multidimensional structure. Diagonal weight matrix. By weighted Schatten-p norm pairs The gradient derivation, whose elements are related to the singular value weights. and Schatten-p parameters Relevant, specifically, when hour It is a constant matrix; when hour Diagonal elements and singular values The power is inversely proportional to the power, thus enabling differentiated gradient guidance of the projection matrix.

[0045] Step 5.3.3, for Perform eigenvalue decomposition and take the first few features. The eigenvectors corresponding to the largest eigenvalues ​​form the first... The iteration of the iteration Modulo optimal projection matrix ; In practical implementation, the matrix Perform eigenvalue decomposition and extract the eigenvalues ​​before extraction. The eigenvectors corresponding to the largest eigenvalue. These eigenvectors constitute the eigenvalue of the nth largest eigenvalue. The optimal projection direction of the model, which maximizes the projection distance (corresponding to...) The positive contribution), and minimize the reconstruction error and graph structure loss (corresponding to , (Negative contribution). Since the eigenvectors are naturally orthogonal, the projection matrix... It automatically satisfies orthogonal constraints without requiring additional orthogonalization steps.

[0046] Step 5.3.4, let Assign to Afterwards, if If so, return to step 5.3.2 and execute sequentially; otherwise, it indicates that the process has reached step 5.3.2. The optimal projection matrix set for the next iteration ; Step 5.4, if Then As the optimal projection matrix set Output, otherwise, Assigned to the first The projection matrix group of the next iteration ,Will Assign to Then, return to step 5.2 and execute sequentially; where, This indicates the allowable error setting.

[0047] In practical implementation, the convergence threshold Recommended setting In actual testing, for Dimensions For color face datasets, the algorithm typically converges within 20–40 outer iterations, with each outer iteration containing… The inner loop (modal alternation) has a much lower overall computational complexity than the global joint optimization method, which ensures the computational efficiency of the algorithm and increases the time efficiency of subsequent image processing tasks.

[0048] Step 5.5, based on Using equation (13) Project the image and output a low-dimensional image tensor feature representation. : (13) In practical implementation, the final output is a low-dimensional image tensor feature representation. Strictly maintained The tensor structure can be directly input into a tensor-based classifier (such as a Support Vector Machine / Tensor Machine / STM) for recognition, or further flattened before being input into a traditional vector-based classifier. In color face recognition applications, experiments show that under 30% salt-and-pepper noise contamination, the recognition accuracy of this method is improved compared to traditional MPCA and TPCA-F, fully validating the robustness advantages of the weighted Schatten-p norm and adaptive graph regularization in complex noisy environments. In another embodiment, for hyperspectral image processing applications, the input is a three-dimensional tensor (spatial height × spatial width × spectral band). After dimensionality reduction using the method of this invention, the main spectral features are preserved, making it suitable for ground feature classification. The weighted Schatten-p norm effectively suppresses spectral noise, and adaptive graph regularization maintains the spatial continuity of pixels of similar ground features.

[0049] In this embodiment, an image tensor dimensionality reduction system based on adaptive graph regularization and weighted Schatten-p norm includes: Image Tensor Data Acquisition and Preprocessing Module: This module acquires the image tensor dataset to be dimensionality reduced and performs centering processing to obtain a zero-mean image tensor sample set. Each image tensor sample in the image tensor dataset is... Image tensor of order; Adaptive graph construction module: used to calculate adaptive similarity between image tensor samples, thereby constructing the graph Laplacian matrix; Multilinear projection module: used to perform multilinear projection on a zero-mean image tensor sample set to obtain a projected image tensor set; Adaptive multi-objective joint optimization module: used to construct a module that includes a projected distance maximization term. Minimize the reconstruction error term Solve the joint objective function of the graph regularization preservation term to obtain the optimal projection matrix set; Dimensionality reduction feature extraction module: Used to process the image tensor dataset using the optimal projection matrix set, and output a low-dimensional image tensor feature representation.

[0050] In this embodiment, to further demonstrate the advancement, effectiveness, and outstanding substantive features of the method of the present invention, a comprehensive comparative experiment was conducted on multiple publicly available standard image datasets with existing mainstream image tensor dimensionality reduction methods (including multilinear principal component analysis (MPCA), tensor PCA based on L1 norm (TPCA-L1), image tensor dimensionality reduction method based on F norm (TPCA-F) and its variant algorithm (CosMPCA)).

[0051] 1. Overall performance comparison: On multiple publicly available standard image datasets, the target dimension was set. , Schatten-p parameters The experiment used the classification accuracy of the dimensionality-reduced image, reconstruction error, reconstructed image, and number of convergence iterations as evaluation metrics. Experimental results show that the average recognition accuracy of the proposed method is significantly better than existing mainstream image tensor dimensionality reduction methods. This demonstrates the advantage of the weighted Schatten-p norm in preserving core topological features, and the ability of adaptive graph regularization to preserve local discriminative structures.

[0052] 2. Robustness Verification in Complex Noise Environments: To simulate the complex noise in actual industrial visual inspection, Gaussian noise, black occlusion block noise, and real occlusion noise (including sunglasses occlusion and scarf occlusion) were added to the test images. The results show that in Gaussian noise and black occlusion block noise, the average recognition accuracy of the proposed method is superior to existing mainstream image tensor dimensionality reduction methods. In real occlusion noise, the average recognition accuracy of the proposed method is almost consistent with CosMPCA and higher than other image tensor dimensionality reduction methods. This further demonstrates that the weighted Schatten-p norm applies a smaller weight to small singular values ​​(mainly driven by noise), effectively suppressing noise energy; simultaneously, adaptive graph regularization maintains the local neighborhood relationships of similar samples, avoiding neighborhood misalignment caused by noise.

[0053] 3. Adaptive Weight Convergence Behavior Analysis: Adaptive Weight Coefficients , , It exhibits dynamic changes during the iteration process. Experiments have shown that in the initial stage ( ), Reconstructing error terms The gradient is relatively large. Rapidly ascending to prioritize data fit; as iterations proceed, graph structure preservation terms... weight The weights are gradually increased until they converge to a stable ratio (approximately 0.35:0.30:0.35). This adaptive mechanism avoids the blindness of manual parameter tuning, enabling the method to automatically find the optimal target balance under different noise levels.

[0054] 4. Parameter sensitivity analysis: When the Schatten-p parameter When the value varies within the range of 0.5 to 2.0, the recognition accuracy shows a trend of first increasing and then decreasing. It reaches its peak at that time. This is because... Too small a value will result in excessive sparsity and loss of detailed features. If it is too large, it degenerates into the F-norm and loses its ability to suppress noise.

[0055] 5. Practical Application Example: In industrial weld seam image defect detection, the input is a three-dimensional image tensor (height × width × number of channels). After dimensionality reduction using the method of this invention, the low-dimensional feature separation between the defect area and the background is significantly improved, and the accuracy of the subsequent KNN classifier reaches 0.905.

Claims

1. An image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm, characterized in that, Includes the following steps: Step 1: Obtain the image tensor dataset to be reduced in dimensionality Then, a centering process is performed to obtain a zero-mean image tensor sample set. ,make Any image tensor sample is denoted as ,make Zhongyu Any different image tensor sample is denoted as ; Step two, based on Construct a graph Laplacian matrix that preserves the local geometry of the image data. ; Step 2.1, Calculate The first tensor sample of each image Modular expansion matrix, used to calculate The Modular expansion matrix After arranging the Euclidean distances between each tensor sample and other images, the median is selected as the median. Adaptive scaling parameters ; and according to and Adaptive scaling parameters ,calculate and Gaussian similarity between Thus, the similarity matrix is ​​obtained. ; Step 2.2, for Summing the Gaussian similarities between the tensor samples and other image samples yields... degree Thus, the degree matrix is ​​constructed. and will and The difference matrix between them is used as the graph Laplacian matrix. ;in, Represents diagonal matrix operators. express The number of tensor samples in the image; Step 3: Initialize the image tensor projection matrix group Used for Perform multilinear projection to obtain the tensor set of the projected image. and calculate The first tensor sample of each image Modular expansion matrix, where, Indicates the first The projection matrix of the modulus, Indicates the total number of modes; Step 4, based on Construct a joint objective function This includes: the term for maximizing the projected distance. Minimize the reconstruction error term With graph regularization preservation term ; Step 5, for Iterative optimization is performed to obtain the optimal projection matrix set. Used for Projection is performed to output a low-dimensional image tensor feature representation. ,in, Indicates the first The optimal projection matrix of the model.

2. The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm as described in claim 1, characterized in that, Step 2.1 involves calculating using equation (1). : (1)。 3. The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm according to claim 1, characterized in that, The third step uses formula (2) to calculate : (2) In equation (2), , , This represents the image tensor projection matrix acting on different modalities. , , These represent the image tensor projection matrices respectively. , , The target dimension, and satisfying , ; , , Represents the modular product operation for different modes; This indicates transpose.

4. The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm according to claim 1, characterized in that, Step four involves constructing the joint objective function as follows: : Step 4.1: Construct the projected distance maximization term with weighted Schatten-p norm constraints using equation (3). : (3) In equation (3), For the first The weighting coefficients of the modulus, and ; for Tensor samples of any projected image The Modular expansion matrix The One singular value; For the first The first of the models A singular value The weights; For the first The number of singular values ​​of the modulus. The Schatten-p norm parameter; Step 4.2, calculate using equation (4) Reconstructed image tensor Thus, equation (5) is used to construct the reconstruction error minimization term. : (4) (5) In equation (4), Represents the squared measure of the F-norm; Step 4.3, construct the graph regularization preservation term using equation (6). : (6) In equation (6), for Zhongyu Different tensor samples of any image; Step 4.4: Construct the joint objective function using equation (7). : (7) In equation (7), , , This represents three adaptive weighting coefficients.

5. The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm according to claim 4, characterized in that, Step five includes: Step 5.1: Define the current iteration number as... and initialize Randomly initialize the first (0,1) digit in the range (0,1). The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient ; Order No. The projection matrix set for the next iteration is And initialized randomly; where, Indicates the first The iteration of the ... The projection matrix of the model; Step 5.2, using equation (8) to... , , Update to obtain the first The first adaptive weight coefficient in the next iteration Second adaptive weighting coefficient Third adaptive weighting coefficient : (8) In equation (8), For learning rate, Describing the F-norm, Indicates the first Maximizing the projected distance in the next iteration gradient, Indicates the first Minimize the reconstruction error term in the next iteration gradient, Indicates the first The graph regularization preservation term in the next iteration gradient, For the first The normalization factor for the next iteration is: (9) Step 5.3: Construct the first... using equation (7) The joint objective function of the next iteration An alternating iterative optimization strategy is used to solve the problem, yielding the result of the first iteration. The optimal projection matrix set in the next iteration ; For the first The iteration of the iteration Modulo optimal projection matrix; Step 5.4, if Then As the optimal projection matrix set Output, otherwise, Assigned to the first The projection matrix group of the next iteration ,Will Assign to Then, return to step 5.2 and execute sequentially; where, Indicates the set allowable error; Step 5.5, based on Using equation (13) Project the image and output a low-dimensional image tensor feature representation. : (13)。 6. The image tensor dimensionality reduction method based on adaptive graph regularization and weighted Schatten-p norm according to claim 5, characterized in that, Step 5.3 includes: Step 5.3.1: Define the current modal index as... and initialize ; Step 5.3.2, Fix the first In the nth iteration, except for the 1st Other modal projection matrices And using equation (10) to convert the first The joint objective function of the next iteration Transform into about sub-objective function ; (10) In equation (10), Represents the matrix trace operation. , , They represent the first The iteration of the iteration The modulus-weighted divergence matrix, projective divergence matrix, and graphical Laplacian divergence matrix are calculated using equation (11): (11) In equation (11), For the first In the nth iteration Image tensor samples The The Kronecker product matrix is ​​obtained by using equation (12). Indicates the first The i-th iteration of all image samples The concatenation matrix of the Kronecker product matrix. express The transpose of the matrix, Represents the graph Laplace matrix. For the first In the next iteration The The diagonal weight matrix of the modulus, and by Diagonalizing the singular values ​​yields: (12) In equation (12), This represents the Kronecker product operation; Step 5.3.3, for Perform feature decomposition and take the top [features]. The eigenvectors corresponding to the largest eigenvalues ​​form the first... The iteration of the iteration Modulo optimal projection matrix ; Step 5.3.4, let Assign to Afterwards, if If so, return to step 5.3.2 and execute sequentially; otherwise, it indicates that the process has reached step 5.3.

2. The optimal projection matrix set for the next iteration .

7. An image tensor dimensionality reduction system based on adaptive graph regularization and weighted Schatten-p norm, characterized in that, include: Image Tensor Data Acquisition and Preprocessing Module: Used to acquire the image tensor dataset to be reduced in dimensionality. Then, a centering process is performed to obtain a zero-mean image tensor sample set. The image tensor dataset Each image tensor sample in the dataset is Image tensor of order; Adaptive Graph Construction Module: Used to calculate adaptive similarity between image tensor samples, thereby constructing the graph Laplacian matrix. ; Multilinear projection module: used for zero-mean image tensor sample sets Perform multilinear projection to obtain the tensor set of the projected image. ; Adaptive multi-objective joint optimization module: used to construct a module that includes a projected distance maximization term. Minimize the reconstruction error term Joint objective function with graph regularization preservation term The optimal projection matrix set is then obtained by solving the problem. Dimensionality reduction feature extraction module: used to extract features from image tensor datasets using the optimal projection matrix set. The process is performed to output a low-dimensional image tensor feature representation. .