Unsupervised clothing identification method based on self-aggregation and collapse prevention target
Through the joint optimization strategy of self-aggregation and anti-collapse objectives and time series integration optimization, the problems of data dependence and insufficient generalization ability in clothing recognition technology are solved, and high-accuracy and robust clothing recognition effects are achieved, adapting to fashion. Rapid changes in the industry.
Patent Information
- Application Number
- CN202410806579.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing clothing recognition technology has problems such as strong data dependence, limited generalization ability, and high update and iteration costs. It is especially unsatisfactory in complex clothing attributes and fine-grained classification tasks.
An unsupervised clothing recognition method based on self-aggregation and anti-collapse targets is adopted. The self-aggregation target promotes intra-class compactness, and the anti-collapse target promotes feature diversity. Combined with time series integration optimization, it reduces the dependence on annotated data and improves the adaptability of the model. and generalization ability.
Significantly reduces the dependence on accurately annotated data, improves the model's generalization ability on unknown data, enhances clothing recognition capabilities in new environments and complex backgrounds, ensures high accuracy and robustness, and quickly adapts to the fashion industry Changing needs.
Smart Images

Figure CN118628824A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic clothing recognition, and in particular to an unsupervised clothing recognition method based on self-aggregation and anti-collapse targets. Background Art
[0002] The field of clothing recognition technology is a comprehensive application technology that combines multiple technologies such as computer vision, deep learning, and the Internet of Things. In the modern clothing industry, the demand for automatic clothing recognition technology is growing, especially in the fields of e-commerce and smart retail. The core of these technologies is the ability to automatically detect, accurately identify and classify different types of clothing images, improve logistics efficiency and user shopping experience. However, traditional clothing recognition technology has certain limitations in use, such as strong data dependence, limited generalization ability, and high update and iteration costs. To this end, the following methods have been used to reduce the dependence on labeled data, but there are still defects.
[0003] Self-supervised learning: This method trains the model by generating pseudo labels, such as using one part of an image to predict another part or predicting the type of transformation after a simple transformation of the image. Although this method alleviates the dependence on labeled data to some extent, its accuracy and practicality on specific clothing recognition tasks are still limited.
[0004] Generative Adversarial Networks (GANs): Generative adversarial networks are used to improve the diversity and quality of images. In this way, the model learns to generate sufficiently realistic clothing images, thereby improving the recognition system's ability to adapt to new samples. However, the training process of generative adversarial networks (GANs) is usually unstable and requires a lot of computing resources.
[0005] Clustering and feature learning: Some methods group images directly in feature space through clustering techniques, trying to discover potential relationships between images without labels. This approach can provide useful insights in some cases, but it is often not ideal for complex clothing attributes and fine-grained classification tasks. Summary of the invention
[0006] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives to solve one or more problems in the prior art.
[0007] To achieve the above object, the technical solution of the present invention is as follows:
[0008] An unsupervised clothing recognition method based on self-aggregation and anti-collapse targets is characterized by comprising the following steps:
[0009] Data collection;
[0010] Transform input;
[0011] Self-aggregation and anti-collapse target training;
[0012] Time series integration optimization;
[0013] Model application.
[0014] Furthermore, the transforming input comprises the following steps:
[0015] Define the transformation function T;
[0016] The extended transformation function T is a composite function.
[0017] Furthermore, the definition of the transformation function T is as follows:
[0018] T(x,θ)=x'
[0019] Where: x is the original image; θ is a vector containing multiple transformation parameters, such as rotation angle, scaling ratio, color adjustment parameters, etc.; x' is the transformed image.
[0020] Furthermore, the extended transformation function T is a composite function defined as follows:
[0021] T(x,θ)=C(S(R(x,θ_r),s),c)
[0022] Where: R(x,θ_r) is rotation, which means the image is rotated according to the angle θ_r; S(x,s) is scaling, which means the image is scaled according to the ratio s; C(x,c) is color adjustment, which means adjusting the color parameters of the image, such as brightness, contrast, etc., and the parameter is c.
[0023] Furthermore, the core of the self-aggregation target training is to minimize the average distance between similar image features in a batch to promote intra-class compactness, as shown in the following formula:
[0024] L_cluster=(1 / N)*sum(sum((f(x_i)-f(x_j)) 2 ))
[0025] Where: L_cluster is the loss function; f(x) is the feature representation of image x, output by the feature extraction part of the model; x_i and x_j are image pairs in the same category; N is the total number of images in a batch, used for averaging the loss.
[0026] Furthermore, the core of the anti-collapse goal is to prevent the model from falling into a local optimal solution during the training process by promoting the diversity and dispersion of features. The formula is shown below:
[0027] L_diversity=-log(det(C+epsilon))
[0028] Where: L_diversity is a specific loss function; C is the covariance matrix of the feature; epsilon is a constant; det(C+epsilon) is the determinant of the calculated adjusted covariance matrix.
[0029] Furthermore, the time series integration optimization is used to enhance the learning efficiency and adaptability of the model, and the formula is shown as follows:
[0030] θ_t+1=θ_t-α*grad(L(θ_t))
[0031] Where: θ_t is the model parameter of the tth stage; θ_t+1 is the model parameter of the t+1th stage; α is the learning rate; L is the loss function; grad(L(θ_t)) is the gradient of the loss function L with respect to the parameter θ at the tth stage.
[0032] Furthermore, the model application includes the following steps:
[0033] Feature extraction;
[0034] Cluster center comparison;
[0035] Category determination.
[0036] Furthermore, the cluster center comparison formula is as follows:
[0037] D_k=sqrt(sum((f(x)-C_k) 2 ))
[0038] Where: D_k is the Euclidean distance between the input image feature vector f(x) and the kth cluster center C_k.
[0039] Furthermore, the formula for class determination is as follows:
[0040] label(x)=argmin(D_k)
[0041] Where label(x) is the category label of the input image; argmin(D_k) means the operation to find the k value that minimizes D_k.
[0042] Compared with the prior art, the beneficial technical effects of the present invention are as follows:
[0043] (i) The present invention adopts a joint optimization strategy of self-aggregation objectives and anti-collapse objectives. The self-aggregation objective encourages the model to learn to cluster visually similar unlabeled clothing images together, thereby enhancing intra-class closeness; while the anti-collapse objective prevents the model from over-relying on certain frequently occurring features by pushing the model to explore underutilized areas in the feature space, thereby improving feature diversity. This joint training strategy significantly reduces the reliance on precisely labeled data, while improving the model's generalization ability on unknown data by optimizing the coverage and dispersion of features.
[0044] (ii) Introducing a time series ensemble optimization method, the model parameter adjustments at each training stage are based on the performance feedback of the previous stage. This dynamic adjustment strategy allows the model to continuously optimize its learning process based on real-time data and long-term performance. This strategy effectively addresses the problem of rapidly changing trends in the fashion industry, enabling the model to adapt to new clothing types and customer preferences, enhancing the adaptability and flexibility of the model, and reducing the need for large-scale data re-labeling and model retraining due to seasonal changes or changes in fashion trends.
[0045] (iii) In the data preprocessing stage, a series of transformations are performed on the original image, including but not limited to rotation, scaling, color adjustment, etc., to simulate the visual effects under various shooting conditions. This method increases the diversity of training data and simulates various situations that may be encountered in practical applications. By expanding the model's training data under different visual conditions, this innovation directly enhances the model's ability to recognize clothing in new environments and complex backgrounds, improves the model's generalization ability, and ensures high accuracy and robustness in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A flow chart of an unsupervised clothing recognition method based on self-aggregation and anti-collapse targets according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical scheme and advantages of the present invention clearer, the following is a further detailed description of an unsupervised clothing recognition method based on self-aggregation and anti-collapse targets proposed by the present invention in combination with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structure, proportion, size, etc. illustrated in the accompanying drawings of this specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect that the present invention can produce and the purpose that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.
[0048] See also Figure 1 , an unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives, comprising the following steps:
[0049] Step 1: Data collection.
[0050] In the unsupervised clothing recognition method, data collection is the basis of the entire model training and performance optimization. Collecting a sufficient number and variety of unlabeled clothing images from a variety of environments ensures that the model can show good generalization ability and robustness in a wide range of practical application scenarios.
[0051] Furthermore, data should be collected from a variety of public and private sources, including but not limited to product display images on online retail websites, clothing images shared by users on social media platforms, street photography and fashion show images, outdoor photos taken under various climate and lighting conditions, etc.
[0052] Furthermore, to ensure that the model can adapt to various environmental changes, a diversified dataset is needed. Through multi-source data collection, on-site shooting, image enhancement and simulated transformation, generative adversarial networks (GANs), and data interpolation synthesis, we can obtain clothing images in different seasons and weather conditions, images under various lighting conditions, images with different backgrounds and color contrasts, clothing of various styles and trends, etc.
[0053] The diversity and extensiveness of image data are ensured through multiple channels such as manual shooting and uploading, online automatic collection, and manual-automatic integrated collection.
[0054] The amount of data directly affects the quality of model training and the final recognition ability. The number of images in the dataset should cover sufficient variability and complexity. The collected data needs to be pre-processed with automated tools and algorithms to unify the format and size of the images, while performing necessary cleaning to remove images of low quality or insignificant images.
[0055] Data collection provides the necessary training resources for the unsupervised clothing recognition model. By collecting and processing a large number of unlabeled images from multiple sources, this step ensures that the model can learn and adapt to complex and changing real-world environments, enabling the model to automatically identify and classify clothing in different retail environments. This model can be used to identify and analyze the latest fashion trends and adjust procurement or marketing strategies based on the results of big data analysis.
[0056] Step 2: Transform the input.
[0057] In the unsupervised clothing recognition system, the adaptability and generalization ability of the model in practical applications are enhanced by transforming the input by applying multiple transformations to the original image. These transformations simulate different shooting conditions and environmental factors and are input into the model, helping the model learn to maintain its recognition accuracy under various visual inputs.
[0058] Step 2.1: Define the transformation function T.
[0059] The definition of the transformation function T is shown in the following formula 1:
[0060] T(x, θ) = x' (1)
[0061] Where: x is the original image. θ is a vector containing multiple transformation parameters, such as rotation angle, scaling, color adjustment parameters, etc. x' is the transformed image.
[0062] Step 2.2: Extend the transformation function T to a composite function.
[0063] The transformation function T can be further refined into a composite function containing different sub-functions, each of which is responsible for a specific image transformation. The extended transformation function T is a composite function defined as shown in Formula 2 below:
[0064] T(x, θ) = C(S(R(x, θ_r), s), c) (2)
[0065] Where: R(x,θ_r) is rotation, which means the image is rotated according to angle θ_r. S(x,s) is scaling, which means the image is scaled according to ratio s. C(x,c) is color adjustment, which means adjusting the color parameters of the image, such as brightness, contrast, etc., with parameter c.
[0066] Furthermore, by performing systematic transformations on images, it is possible to simulate visual effects that may be encountered in a variety of environments. For example, rotating and scaling images can help the model learn to recognize clothing taken from different angles. Color adjustment ensures that the model can work effectively under different lighting and color backgrounds, improving recognition accuracy. In addition, these transformations can also be used for data enhancement, especially when the dataset is not sufficient to cover all possible conditions. By artificially increasing the visual diversity of samples, the robustness and generalization ability of the model can be effectively improved. For example, in fashion trend analysis, by simulating changes in lighting and background in different seasons and fashion shows, it can help the model more accurately predict and classify the latest fashion trends.
[0067] The diversified pre-processing of images by transforming the input step not only enhances the model's adaptability to unseen environments, but also expands its application scope, enabling it to maintain efficient performance under changing real-world conditions.
[0068] Step 3: Self-aggregation and anti-collapse target training.
[0069] In unsupervised learning and especially in unsupervised clothing recognition tasks, the self-aggregation objective is an important strategy that aims to improve the robustness of the model to intra-class variations, that is, to ensure that images within the same category are more compact in the feature space. This goal helps the model to effectively classify images through the intrinsic features without explicit category labels. The anti-collapse objective becomes the key to ensure the generalization ability of the model and prevent overfitting, especially when using complex feature representations and high-dimensional data. The main role of this objective is to prevent the model from falling into a local optimal solution during training by promoting the diversity and dispersion of features.
[0070] Furthermore, the core of the self-aggregation target training is to minimize the average distance between similar image features in a batch to promote intra-class compactness, as shown in Equation 3 below:
[0071] L_cluster=(1 / N)*sum(sum((f(x_i)-f(x_j)) 2 )) (3)
[0072] Where: L_cluster is the loss function used to evaluate the error between the model's prediction and the true value, f(x) is the feature representation of image x, output by the feature extraction part of the model. x_i and x_j are pairs of images in the same category. N is the total number of images in a batch, used for the average loss, which refers to the average of all calculated loss values in a training batch. The loss value here is calculated based on the distance between feature vectors, with the purpose of evaluating the model's effectiveness in clustering similar images in the feature space.
[0073] Specifically, the average distance refers to the average value of the distances between different pairs of images in the same category in the feature space. The purpose is to ensure that images of the same category are closer to each other in the feature space extracted by the model, so that the images within the class are more compact. First, each image is converted into a high-dimensional feature vector through the feature extraction part of the model. This feature vector represents the core visual content of the image. For each pair of images x_i and x_j in the batch, the Euclidean distance of their feature vectors is calculated, that is, (f(x_i)-f(x_j)) 2 The distances of all possible image pairs in the same category are summed and then divided by the total number of image pairs N to obtain the average distance.
[0074] Formula 3 above measures the compactness within a class by calculating the square of the feature differences of all image pairs in the same category, then summing and averaging these squared values. This loss value is minimized by optimizing the network parameters so that the feature representations of images of the same category are as close as possible in the feature space.
[0075] Using the self-clustering objective, visually similar clothing can be automatically clustered together, even if the images do not have explicit label information. For example, all jeans, regardless of brand and specific style, can be clustered in a relatively compact group. By analyzing the clustering results, fashion analysts and designers can identify the characteristics of currently popular clothing, which is crucial for predicting future fashion trends and guiding product development and marketing strategies.
[0076] The main technical advantage of the self-aggregation objective is that it has little reliance on data labels and is applicable to large-scale datasets, especially when label acquisition is expensive or infeasible. In addition, by optimizing this objective, the model can learn more discriminative features that not only help distinguish different categories, but also visually group similar objects into one category, thereby enhancing the applicability and flexibility of the model in practical applications.
[0077] Furthermore, the core of the anti-collapse objective is to prevent the model from falling into a local optimal solution during the training process by promoting the diversity and dispersion of features, as shown in the following formula 4:
[0078] L_diversity=-log(det(C+epsilon)) (4)
[0079] Where: L_diversity is a specific loss function used to achieve the goal of anti-collapse. It is to ensure that the model can maintain sufficient feature diversity during the feature learning process and avoid the performance degradation of the model's feature representation due to being too similar, that is, feature collapse. C is the covariance matrix of the features, which describes the linear relationship between the features, their changing trends, and the degree of distribution. Epsilon is a constant added to the covariance matrix to avoid numerical instability or zero when calculating the determinant. det(C+epsilon) is the determinant of the calculated adjusted covariance matrix. The value of the determinant reflects the multidimensional "volume" of the matrix and the feature space it represents. When the features are independent of each other, this "volume" is the largest, otherwise it decreases.
[0080] By maximizing the negative logarithm of the determinant through formula (4), the model is pushed to make the feature representation as dispersed and independent as possible, which enhances the model's ability to capture multi-dimensional information of the data and thus improves generalization.
[0081] In practical applications, the anti-collapse target can greatly enhance the model's ability to recognize clothing of different styles, materials, and designs. The anti-collapse target avoids the model from performing well on only a few styles or designs by ensuring that the model can maintain stable learning and expression on these diverse data. In addition, the anti-collapse target also shows its importance when dealing with clothing data with large seasonal changes. Clothing in different seasons has significant differences in style, color, and material. By promoting the diversity and dispersion of features, the model can better adapt to such seasonal changes without over-relying on the specific features of a certain season.
[0082] The anti-collapse objective not only improves the performance of the model on unseen data, but also increases the model's adaptability to new variations. This strategy is particularly suitable for large-scale and diverse datasets, where the intrinsic structure of the data is complex and difficult to capture with simple models. By promoting the diversity and independence of features, the model is less susceptible to overfitting and is more adaptable to various challenges in practical applications.
[0083] Step 4: Time series integration optimization.
[0084] Time series ensemble optimization is a dynamic parameter adjustment strategy that is mainly used to enhance the learning efficiency and adaptability of the model. This method is particularly suitable for machine learning tasks in dynamic environments, such as continuous data streams or changing data sets, that is, dynamic adjustment strategies and parameters. By integrating the performance of the model on the time series, the learning process can be adjusted more accurately, thereby improving the stability and accuracy of the model.
[0085] Furthermore, the time series integration optimization is used to enhance the learning efficiency and adaptability of the model, as shown in the following formula 5:
[0086] θ_t+1 = θ_t - α * grad(L(θ_t)) (5)
[0087] Where: θ_t is the model parameter at stage t. θ_t+1 is the model parameter at stage t+1. α is the learning rate, which controls the step size of parameter update. L is the loss function. grad(L(θ_t) is the gradient of the loss function L with respect to the parameter θ at stage t.
[0088] Equation 5 above describes how to update parameters based on the gradient of the model's loss function at the current stage. By gradually reducing the growth of parameters along the gradient direction of the loss function, the model can gradually find the parameter configuration with the lowest loss. Applying this update mechanism in consecutive training stages can effectively guide the model to move closer to the global optimal solution rather than just falling into the local optimum.
[0089] In practical applications, time series ensemble optimization is particularly suitable for tasks where the data itself has a temporal nature, and the model needs to continuously adjust its behavior based on historical data to predict future states. In addition, this method is also applicable to anomaly detection in monitoring systems. By continuously monitoring the operating data of the equipment and using time series ensemble optimization to update the parameters of the anomaly detection model, the system can more sensitively respond to slight changes in the equipment status and detect potential problems in a timely manner.
[0090] For example, an online clothing sales platform might use time series ensemble optimization to adjust the parameters of the recommendation system. As seasons change and fashion trends update, customers' purchasing habits and preferences may change. By tracking sales data in real time and using time series ensemble optimization techniques, the platform can dynamically adjust the recommendation algorithm to more accurately match the user's current needs.
[0091] The main technical advantage of time series integration optimization lies in its dynamic adjustment capability, which can continuously optimize model performance based on real-time data or phased results. This method is particularly suitable for environments with large dynamic changes and application scenarios that have high requirements for model accuracy and response speed. Through the integration of time series, this optimization strategy can not only improve the performance of the model at a specific moment, but also improve the model's adaptability to future data changes and prediction accuracy through long-term learning and adjustment.
[0092] Step 5: Model application.
[0093] After the model training is completed, its main task is to apply the learned knowledge to the actual clothing recognition task to verify and demonstrate its effect when processing real-world data. This step is the key to verifying the quality and accuracy of model training. In the model application stage, the key operation is to compare the feature representation of the input image with the cluster center formed during training to determine the category of the image. The cluster center represents the average characteristics of all data points within its cluster. In the scenario of clothing recognition, this means that each cluster center represents the average appearance of a specific type or style of clothing.
[0094] Step 5.1: Feature extraction.
[0095] For any input image x, use the trained model to extract its feature representation f(x).
[0096] Step 5.2: Comparison of cluster centers.
[0097] The extracted feature f(x) is compared with all cluster centers C_k to find the cluster center that is most similar to f(x). The similarity is usually measured by calculating the distance between feature vectors, as shown in Equation 6 below:
[0098] D_k=sqrt(sum((f(x)-C_k) 2 )) (6)
[0099] Where: D_k is the Euclidean distance between the input image feature vector f(x) and the kth cluster center C_k.
[0100] Step 5.3: Category determination.
[0101] The category corresponding to the cluster center with the smallest distance D_k is selected as the predicted category of the input image. The judgment formula is shown in the following formula 7:
[0102] label(x) = argmin(D_k) (7)
[0103] Where label(x) is the category label of the input image. argmin(D_k) means the operation to find the k value that minimizes D_k, where D_k is the distance between the input image feature vector f(x) and the kth cluster center C_k.
[0104] This model application can greatly help automatically label newly uploaded clothing images and improve the efficiency and accuracy of product classification. When a new clothing image is input into the system, the system is able to identify and classify the clothing by calculating its distance from each cluster center and classifying it to the nearest cluster center. For example, when a merchant uploads a new clothing image, the model can automatically identify and label clothing categories such as "formal clothing", "casual clothing", "sportswear", etc., so that consumers can more easily find the desired products when searching for goods. In addition, on social media and fashion websites, this model can help identify and recommend clothing with similar styles to enhance the user experience. After users upload photos of their personal clothing, the model can analyze their clothing style and recommend other clothing with similar styles in the store, or identify current fashion trends.
[0105] The main technical advantage of using a model to automatically identify clothing categories is that it can handle large-scale data, reduce the need for manual annotation, and improve processing speed and accuracy. In addition, as the amount of data increases, the accuracy and robustness of the model will usually be further improved, allowing the system to better adapt to new clothing types and style changes.
[0106] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. An unsupervised clothing recognition method based on self-aggregation and anti-collapse targets, Features The following steps are involved: Data collection; Transform input; Self-aggregation and anti-collapse target training; Time series integration optimization; Model application.
2. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 1, Features The transform input comprises the following steps: Define the transformation function T; The extended transformation function T is a composite function.
3. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 2, Features The definition of the transformation function T is as follows: T(x,θ)=x' Where: x is the original image; θ is a vector containing multiple transformation parameters, such as rotation angle, scaling ratio, color adjustment parameters, etc.; x' is the transformed image.
4. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 3, Features The extended transformation function T is a composite function defined as follows: T(x,θ)=C(S(R(x,θ_r),s),c) Where: R(x,θ_r) is rotation, which means the image is rotated according to the angle θ_r; S(x,s) is scaling, which means the image is scaled according to the ratio s; C(x,c) is color adjustment, which means adjusting the color parameters of the image, such as brightness, contrast, etc., and the parameter is c.
5. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 1, Features The core of the self-aggregation target training is to minimize the average distance between similar image features in a batch to promote intra-class compactness, as shown in the following formula: L_cluster=(1 / N)*sum(sum((f(x_i)-f(x_j)) 2 )) Where: L_cluster is the loss function; f(x) is the feature representation of image x, output by the feature extraction part of the model; x_i and x_j are image pairs in the same category; N is the total number of images in a batch, used for averaging the loss.
6. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 5, Features The core of the anti-collapse goal is to prevent the model from falling into a local optimal solution during the training process by promoting the diversity and dispersion of features. The formula is shown below: L_diversity=-log(det(C+epsilon)) Where: L_diversity is a specific loss function; C is the covariance matrix of the feature; epsilon is a constant; det(C+epsilon) is the determinant of the calculated adjusted covariance matrix.
7. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 1, Features The time series integration optimization is used to enhance the learning efficiency and adaptability of the model, and the formula is shown as follows: θ_t+1=θ_t-α*grad(L(θ_t)) Where: θ_t is the model parameter of the tth stage; θ_t+1 is the model parameter of the t+1th stage; α is the learning rate; L is the loss function; grad(L(θ_t)) is the gradient of the loss function L with respect to the parameter θ at the tth stage.
8. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 1, Features The model application comprises the following steps: Feature extraction; Cluster center comparison; Category determination.
9. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 8, Features The cluster center comparison formula is shown as follows: D_k=sqrt(sum((f(x)-C_k) 2 )) Where: D_k is the Euclidean distance between the input image feature vector f(x) and the kth cluster center C_k.
10. The unsupervised clothing recognition method based on self-aggregation and anti-collapse objectives as claimed in claim 9, Features The formula for class determination is as follows: label(x)=argmin(D_k) Where label(x) is the category label of the input image; argmin(D_k) means the operation to find the k value that minimizes D_k.
Citation Information
Patent Citations
An integrated classification method based on progressive learning
CN109165672A
Defect detection model training method and device based on deep learning
CN114998315A
Cervical OCT image classification method and system based on self-supervised clustering contrast learning
CN116721289A
Providing an objective function based on variation in predicted data
US20150066458A1
