Text classification method and refrigeration device system
By translating multi-modal data into text and using a deep fusion network model for feature extraction, the problem of low text classification accuracy in refrigerator intelligence is solved, improving the user interaction experience and the application prospects of refrigerator artificial intelligence.
Patent Information
- Application Number
- PCT/CN2024/081467
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-15
- Filing Date
- 2024-03-13
- Publication Date
- 2024-09-19
AI Technical Summary
In the process of making the refrigerator smart, the accuracy of text classification in the existing technology is low, resulting in poor multi-modal interaction optimization between the user and the refrigerator, failing to meet the user's expectations, and causing a low user interaction experience.
Multi-modal data and multi-source heterogeneous data are converted into text data, and feature extraction is performed through a deep fusion network model. Text vectorization and multi-dimensional feature extraction models are combined to perform text classification and improve the accuracy of text classification.
It improves the accuracy of text classification, enhances the accuracy of user feedback information, and provides better prospects for the application and promotion of refrigerator artificial intelligence.
Smart Images

Figure CN2024081467_19092024_PF_FP_ABST
Abstract
Description
Text classification method and refrigeration equipment system
[0001] This application claims priority to a Chinese patent application filed on March 15, 2023, with application number 202310246908.X, and invention name “Text Classification Method and Refrigeration Equipment System,” all contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of refrigeration equipment technology, and in particular to a text classification method and a refrigeration equipment system. Background Art
[0003] With the advancement of artificial intelligence, people hope to introduce artificial intelligence into the field of refrigerators to make refrigerators more intelligent. In the process of making refrigerators intelligent, a large number of optimization processes for refrigerator scenarios are involved. This optimization includes the optimization of various types of interactions between users and refrigerators, such as spoken, text, and video. If the effects of these optimizations are not good and the user's questions cannot be accurately answered, the refrigerator will not meet the user's usage expectations, the user will have a low frequency of use of the refrigerator's smart scenes, and the user's interactive experience will be poor. In the process of realizing the present invention, the inventors found that the main reason for the poor optimization effect includes the low accuracy of text classification. The reason for the low accuracy of text classification is further due to the fact that the existing technology only considers data on a single text, and does not combine the interaction between the user and the refrigerator, which is a multimodal data interaction process. Summary of the Invention
[0004] To solve at least one of the above-mentioned problems in the prior art, an object of the present invention is to provide a text classification method and a refrigeration equipment system.
[0005] To achieve the above-mentioned object of the invention, one embodiment of the present invention provides a text classification method, comprising the following steps:
[0006] Transcribing all multimodal data and / or multi-source heterogeneous data into text data and aggregating them into total text data;
[0007] Annotating the annotable text in the total text data, and storing the annotated text as training data and test data respectively;
[0008] Perform feature extraction on the total text data through a deep fusion network model, train the deep fusion network model with the training data, and predict results through the deep fusion network model with the test data, wherein the deep fusion network model is a fusion model of a text vectorization model and a multidimensional feature extraction model, wherein the text vectorization model vectorizes the text data, and the multidimensional feature extraction model extracts multidimensional interaction features and correlation features;
[0009] Calculate the matching results of text classification based on the extracted features.
[0010] As a further improvement of the present invention, the step of marking the markable text in the total text data includes:
[0011] The text that can be annotated is pre-annotated, formally annotated and annotated quality checked in sequence. When the value of the text after formal annotation is judged to be lower than the preset threshold by the annotation quality check, the text is returned to the pre-annotation and re-annotated.
[0012] To achieve one of the above-mentioned objectives, an embodiment of the present invention provides a text classification method, comprising the following steps:
[0013] Transcribing all multimodal data and / or multi-source heterogeneous data into text data and aggregating them into total text data;
[0014] Performing data cleaning on the unlabelable text in the total text data;
[0015] The total text data is subjected to feature extraction by a deep fusion network model, and the deep fusion network model is trained with the unlabeled text using an unsupervised learning algorithm, wherein the deep fusion network model is a fusion model of a text vectorization model and a multidimensional feature extraction model, wherein the text vectorization model vectorizes the text data, and the multidimensional feature extraction model extracts multidimensional interaction features and correlation features;
[0016] Calculate the matching results of text classification based on the extracted features.
[0017] As a further improvement of the present invention, the step of transcribing all multimodal data and / or multi-source heterogeneous data into text data and aggregating them into total text data includes:
[0018] Collecting and preprocessing multimodal data and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data;
[0019] Transcribing video data into text data;
[0020] Transcribe audio data into text data;
[0021] Get historical text data;
[0022] The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into the total text data.
[0023] As a further improvement of the present invention, the preprocessing includes cleaning, format conversion and storage of the multimodal data.
[0024] As a further improvement of the present invention, the step of transcribing the video data into text data includes:
[0025] Separating the audio and image in the video data to obtain audio data and image data;
[0026] Recognizing text information in the image data and transcribing it into text data;
[0027] Recognize image data based on spatiotemporal and long-distance dependency features and transcribe it into text data.
[0028] As a further improvement of the present invention, the step of recognizing the image based on spatiotemporal and long-distance dependent features and transcribing the image into text data includes:
[0029] The image recognition based on spatiotemporal and long-distance dependent features is generated into a student model through a fusion model of knowledge distillation and diffusion model, and the image data is transcribed into text data through the student model.
[0030] As a further improvement of the present invention, the step of transcribing the video data into text data includes:
[0031] Acquire key frame images in the video data through a diffusion network model;
[0032] The key frame image is recognized to generate text data.
[0033] As a further improvement of the present invention, the step of transcribing the audio data into text data includes:
[0034] Combining the spatiotemporal characteristics of speech and contextual relationship features in the scenario where the data is acquired, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data.
[0035] As a further improvement of the present invention, the historical text data includes historical record data and historical interaction data, wherein the historical record data includes the user's food preference data, interest data and comment data, and the historical interaction data includes interaction records obtained from the client or the interaction end of the refrigeration equipment.
[0036] As a further improvement of the present invention, the text vectorization model encodes text at the character, word, phrase, and sentence levels.
[0037] As a further improvement of the present invention, the multi-dimensional feature extraction model uses a multi-head attention mechanism to extract the interaction and association features of characters, words, phrases, and sentences, as well as contextual semantic information.
[0038] As a further improvement of the present invention, the step of calculating the matching result of the text classification based on the extracted features includes:
[0039] The feature-extracted vector is sequentially passed through the fully connected layer and the self-attention mechanism to obtain the text classification result.
[0040] As a further improvement of the present invention, the following steps are also included:
[0041] The calculated text classification results are delivered.
[0042] To achieve one of the above-mentioned objectives, an embodiment of the present invention provides a refrigeration equipment system, comprising:
[0043] a storage module storing a computer program;
[0044] The processing module can implement the steps in the above-mentioned text classification method when executing the computer program.
[0045] Compared with the existing technology, the present invention has the following beneficial effects: the text classification method makes full use of multimodal and multi-source heterogeneous data, and fully mines the semantic, grammatical and contextual information of natural language understanding of the data itself and between data. The accuracy of text classification is high, the value of data is improved, and the accuracy of user feedback information is improved, which provides a better prospect for the application and promotion of artificial intelligence in refrigeration equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] FIG1 is a schematic structural diagram of a refrigeration system according to an embodiment of the present invention;
[0047] FIG2 is a flow chart of a text classification method according to an embodiment of the present invention;
[0048] FIG3 is a data flow diagram of a text classification method according to an embodiment of the present invention;
[0049] FIG4 is a flow chart of a text classification method according to a first embodiment of the present invention;
[0050] FIG5 is a flow chart of a text classification method according to a second embodiment of the present invention;
[0051] FIG6 is a module diagram of a text classification device according to an embodiment of the present invention;
[0052] FIG7 is a block diagram of a refrigeration system according to an embodiment of the present invention;
[0053] Among them, 100, refrigeration equipment; 10, interactive screen; 20, camera; 30, microphone; 40, speaker; 50, processing module; 60, storage module; 70, communication bus; 200, client. DETAILED DESCRIPTION
[0054] The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by those skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0055] An embodiment of the present invention provides a text classification method and a refrigeration equipment system. The method utilizes data from multiple modalities for full training, thereby increasing the accuracy of text classification.
[0056] A refrigeration system may include a refrigeration device 100 and a client 200 corresponding to the refrigeration device 100. The refrigeration device 100 may be a refrigerator, and the client 200 may be a mobile phone or an app on the mobile phone. The refrigeration system is shown in FIG1 . The refrigeration device 100 and the client 200 may be connected via wireless signals. The following description of the refrigeration device 100 uses a refrigerator as an example.
[0057] Continuing with Figure 1, the refrigeration device 100 can be a refrigerator with audio acquisition, video acquisition, and interaction with a user interface. The refrigerator is provided with a microphone 30 for collecting audio, a camera 20 for shooting video, a speaker 40 for interacting with the user's voice, and an interactive screen 10 for interacting with the user's text or graphical interface. The interactive screen 10 can be set on the door of the refrigerator; after the user opens the refrigerator door, the camera 20 records the user's operation and forms video data; the speaker 40 and the microphone 30 are combined to interact with the user in the form of question and answer audio.
[0058] Taking a mobile phone as an example, the client 200 can communicate with the refrigerator via text or voice through the mobile phone, or manage the food information in the refrigerator and control the operating status of the refrigerator through the mobile phone.
[0059] In addition, the refrigeration equipment system may also include other external devices, such as external temperature sensors, cameras 20 or microphones 30 and speakers 40 provided by other devices, smart speakers, etc. These devices can be connected to the refrigeration equipment 100 or the client 200 via wireless signals.
[0060] Data from various devices within the refrigeration system forms multi-source heterogeneous data. This data, collected by multiple devices, can be transmitted via wired, Wi-Fi, Bluetooth, and other means. Text, audio, video, and other types of data constitute multimodal data. This data can be real-time, online, offline, or stored historical data.
[0061] The refrigeration equipment scenario includes the interaction between the user and the refrigeration equipment 100, and the interaction between the user and the corresponding client 200 of the refrigeration equipment 100, such as the interaction of ingredients, the interaction of instructions, the video recording of the user operating the refrigeration equipment 100, the user's control of the temperature and humidity inside the refrigeration equipment 100, and the user's comments on the ingredients on the client 200, the user's preferences, etc. These data generated by directly operating the refrigeration equipment 100 and the data generated by the client 200 related to the refrigeration equipment 100 are all data in the refrigeration equipment scenario.
[0062] This embodiment utilizes the multimodal real-time, offline data generated in the refrigeration equipment usage scenario and the accumulated massive text historical data to fully mine the semantic, grammatical and contextual information of natural language understanding such as the data itself and between data, making the text classification results in the refrigeration equipment scenario more accurate.
[0063] The following describes a text classification method provided by an embodiment of the present invention in conjunction with Figures 2 and 5. Although this application provides the method operation steps shown in the following implementation or flowchart, based on conventional or no creative work, the execution order of the steps in the method that are not logically causally related is not limited to the execution order provided in the implementation of this application. For example, the acquisition order of steps S20, S30, and S40 below can be adjusted arbitrarily or performed simultaneously, without distinguishing the order in time.
[0064] Specifically, the text classification method includes the following steps:
[0065] Step S100: transcribe all multimodal data and / or multi-source heterogeneous data into text data and aggregate them into total text data.
[0066] The composition of multimodal data and / or multi-source heterogeneous data is as described above. The specific collection and transcription steps may include the following steps S10 to S40.
[0067] Step S10: Collect and pre-process multimodal and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data related to the refrigeration equipment scenario.
[0068] The preprocessing includes cleaning, format conversion and storage of the multimodal data. The format conversion includes parsing the data format.
[0069] The text is collected through the client 200 and the interactive screen 10 on the refrigerator side. The client 200 may include mobile phones, pads, PCs and other devices. In addition to the text data generated on the application, it also includes text from customer service, web terminals, and text on mini-programs or public accounts. The preprocessing of text data can be done by using stop words, deduplication, etc.
[0070] Audio data can be collected by the microphone 30 on the mobile phone and / or refrigerator, or can be wirelessly connected to other sound collection units via WiFi to obtain voice from sound collection units on other devices. The microphone 30 can be a single microphone 30 or a microphone 30 array.
[0071] Video data can be collected by the client 200 and / or the camera 20 on the refrigerator side, for example, through a mobile phone app, camera 20, Bluetooth, etc. In addition, a script can be used to separate voice and video to obtain valid voice and video data.
[0072] Through the above methods, multimodal data collection tasks such as multiple channels and terminals are completed to ensure data integrity and multimodal cognitive characteristics.
[0073] Most existing technologies use only text as a single source, which leads to the neglect of other data in subsequent data learning. This leads to low recognition accuracy when users interact with the refrigerator in other ways. The text source of the present invention includes data from various modalities generated by users, which can be further trained and classified, resulting in higher accuracy.
[0074] Step S20: transcribe the video data into text data.
[0075] This step includes the following two embodiments. In one embodiment, it includes the following steps:
[0076] Separating the audio and image in the video data to obtain audio data and image data;
[0077] Recognizing text information in the image data and transcribing it into text data;
[0078] Recognize image data based on spatiotemporal and long-distance dependency features and transcribe it into text data.
[0079] Recognizing text in image data can directly transcribe it into text data, while recognizing non-text in images can be done by using multiple images based on changes in the user's mouth movements to identify the user's speech. Furthermore, considering that sentences identified solely based on the speaker's image features may be complex, the present invention combines sentence length factors with contextual relevance for recognition. Sentence length factors include features such as varying sentence lengths and word composition. Recognition is based on spatiotemporal and long-range dependency features, mining the rich semantic feature information of sentence sequences.
[0080] Furthermore, to accelerate the model's response, a student model is generated by combining knowledge distillation and diffusion models for image recognition based on spatiotemporal and long-range dependency features. This model transfers knowledge from the original large model to the student network, which then transcribes image data into text. The student model has a short, discrete time step count and can be distilled to half the number of steps of the teacher model.
[0081] In another embodiment, the key frame images in the video data may be obtained by using a diffusion model;
[0082] The key frame image is recognized to generate text data.
[0083] Here, the image data is transcribed into text data by identifying the meaning of the image and describing the content of the image in the form of text.
[0084] Step S30: combining the speech spatiotemporal characteristics and contextual relationship characteristics of the refrigeration appliance 100, and transcribing the audio data into text data.
[0085] The audio data in this step may be directly collected audio data, or may include audio data segmented from video data.
[0086] This embodiment combines the spatiotemporal characteristics of voice data in the usage scenarios of refrigeration equipment 100 such as refrigerators. Through an end-to-end learning method, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data, obtain rich high-level voice feature information, and improve the accuracy of the model's voice-to-text transcription.
[0087] Step S40: Acquire historical text data, wherein the historical text data includes historical record data and historical interaction data.
[0088] In contrast to historical text data, the multimodal data collected in the above step S10 is real-time data, and what is obtained in step S40 is historical data. By obtaining historical text data, on the one hand, the information of the historical text data itself can be utilized, and on the other hand, a complementary and associative relationship can be formed with the real-time data to fully obtain the semantic information of the text data.
[0089] Historical text data can be a lot of unlabeled texts accumulated on the refrigeration equipment 100 or the client 200. After obtaining the historical text data, the collected data can be cleaned, formatted, and processed uniformly to make the text format of the historical text data and the real-time collected data transcribed uniform, thereby ensuring the comprehensiveness and specificity of the data characteristics.
[0090] Furthermore, the historical record data includes the user's food preference data, interest data, and comment data; the historical interaction data includes interaction records obtained from the client 200 or the interactive end of the refrigeration device 100. The historical text data also includes data collected by the refrigeration device 100 and data on the client 200 corresponding to the refrigeration device 100.
[0091] Step S50: Preprocessing the total text data.
[0092] Step S60: extracting features from the total text data through a deep fusion model, wherein the deep fusion model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model.
[0093] The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into total text data.
[0094] The summary of the total text data reflects that this embodiment uses multi-source heterogeneous data, including real-time, offline voice, video, image, text, and text data such as user historical comments, food preferences, and food interests.
[0095] The deep fusion network model of step S60 is a fusion model of a text vectorization model and a multidimensional feature extraction model, wherein the text vectorization model vectorizes text data, and the multidimensional feature extraction model extracts multidimensional interaction features and correlation features;
[0096] The total text data may include two types of data. The first type is data that can be pre-annotated, and the second type is data that cannot be annotated. These two types of data are processed separately in different ways in steps S50 and S60. The processing of the first type of data is Example 1 below, and the processing of the second type of data is Example 2.
[0097] Example 1
[0098] As shown in FIG4 , step S50 and step S60 respectively include:
[0099] Step S51: annotate the annotable texts in the total text data, and store the annotated texts as training data and test data respectively.
[0100] Step S61: extract features from the total text data through a deep fusion network model, train the deep fusion network model with the training data, and predict results with the deep fusion network model using the test data.
[0101] Step S51 may further include the steps of pre-annotating, formally annotating, performing annotation quality inspection, and storing data on the annotable text. If the value of the formally annotated text is judged to be below a preset threshold by the annotation quality inspection, the text is returned to the pre-annotation process for re-annotation. The annotated data may include training data and test data, enabling supervised or semi-supervised data in the subsequent step S61.
[0102] In combination with the above step S51, the labeled data may include training data and test data. Step S61 may perform pre-training tasks on the constructed deep fusion model based on the training data, and then predict the results based on the test data to obtain rich semantic feature information, thereby obtaining the best and most effective model, ensuring the optimal prediction results and higher accuracy of user feedback information.
[0103] Example 2
[0104] As shown in FIG5 , the steps S50 and S60 respectively include:
[0105] Step S52: Cleaning the text that cannot be marked in the total text data.
[0106] Step S62: extract features from the total text data through a deep fusion network model, and use an unsupervised learning algorithm to train the deep fusion network model with the unlabeled text.
[0107] In step S52, these text data that cannot be labeled are directly subjected to data cleaning, format conversion and other tasks, and then directly participate in the subsequent step S62 without labeling. These data that cannot be labeled are subjected to text analysis in the form of unsupervised or unlabeled data in the subsequent steps.
[0108] The text vectorization model of step S60 encodes text at the character, word, phrase, and sentence levels; the multi-dimensional feature extraction model uses a multi-head attention mechanism to extract character, word, phrase, sentence interaction and association features, and contextual semantic information.
[0109] Step S70: Calculate the text classification matching results based on the extracted features to achieve the text classification matching task.
[0110] In step S70, the feature-extracted vector is sequentially passed through the fully connected layer and the self-attention mechanism to obtain the text classification result. Here, the classification result is first calculated through the fully connected layer, and then the self-attention mechanism is used to calculate the semantic relationship quantification result with stronger text interactivity.
[0111] In addition, step S70 can also be calculated using text similarity with disambiguation, which can be achieved based on the threshold value control of the distance between terms, so that some redundant information in the text can be removed.
[0112] Furthermore, in order to optimize the parameters and weights of the model, the result of step S70 is returned to step S50 again, where step S51 is executed for those that can be labeled, and step S52 is executed for those that cannot be labeled, and the cycle is repeated multiple times until the text classification effect is optimized.
[0113] Step S80: Result reached.
[0114] After the above steps are completed, the text classification results are delivered to the task. The result delivery method can adopt a variety of built-in or external forms, such as outbound calls, SMS delivery, email notifications, large-screen display, voice broadcast, text output, smart speakers, pop-up UI, app, PAD, web and other result delivery methods to meet the needs of result presentation and digital display.
[0115] Compared with the prior art, this embodiment has the following beneficial effects:
[0116] This text classification method makes full use of multimodal and multi-source heterogeneous data, and fully mines the semantic, grammatical and contextual information of natural language understanding of the data itself and between data. The text classification has a high accuracy rate, which increases the value of the data and improves the accuracy of user feedback information, providing a better prospect for the application and promotion of artificial intelligence on the refrigeration equipment 100.
[0117] In one embodiment, the present invention also proposes a refrigeration equipment system, which includes a storage module 60 and a processing module 50. When the processing module 50 executes the computer program, it can implement the steps in the above-mentioned text classification method, that is, implement the steps in any one of the technical solutions in the above-mentioned text classification method.
[0118] The refrigeration equipment system may also include the following modules as shown in FIG6 , and the specific functions of each module are as follows:
[0119] An acquisition module, configured to acquire and preprocess multimodal data and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data related to the refrigeration equipment scenario;
[0120] A video transcription module, used to transcribe video data into text data;
[0121] An audio transcription module, configured to transcribe audio data into text data by combining the spatiotemporal characteristics of speech and contextual features of the refrigeration appliance 100;
[0122] An acquisition module, configured to acquire historical text data, wherein the historical text data includes historical record data and historical interaction data;
[0123] an intelligent annotation module for aggregating the text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data into total text data, and annotating the annotatable text in the total text data;
[0124] A feature extraction module, configured to extract features from the total text data using a deep fusion model, wherein the deep fusion model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model;
[0125] Text classification module, used to calculate text classification results;
[0126] Reach module, used for result reach.
[0127] It should be noted that for details not disclosed in the refrigeration equipment system of the embodiment of the present invention, please refer to the details disclosed in the text classification method of the embodiment of the present invention.
[0128] The refrigeration system may further include the refrigeration device 100, a computing device such as a mobile phone, a computer, a laptop, a PDA, and a cloud server, as well as a processing module 50, a storage module 60, and a computer program stored in the storage module 60 and executable on the processing module 50, such as the aforementioned text classification method program. When the processing module 50 executes the computer program, it implements the steps in the aforementioned text classification method embodiments, such as the steps shown in Figures 2 to 5.
[0129] The refrigeration equipment system may further include a signal transmission module and a communication bus 70. As shown in FIG7 , the signal transmission module is used to transmit data to the processing module 50 or a server. For example, data can be transmitted between the refrigeration equipment 100 and a mobile phone, or between the refrigeration equipment 100 and a server via the signal transmission module. The signal transmission module can transmit data via a wireless connection, such as Bluetooth, Wi-Fi, or ZigBee. The communication bus 70 is used to establish a connection between the signal transmission module, the processing module 50, and the storage module 60. The communication bus 70 may include a path for transmitting information between the signal transmission module, the processing module 50, and the storage module 60.
[0130] The processing module 50 and the storage module 60 may be a part integrated into the refrigeration device 100 , or a part of a mobile phone, a local terminal device, or a part of a cloud server.
[0131] The processing module 50 can be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf field-programmable gate arrays (FPGAs), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processing module 50 is the control center of the refrigeration system, connecting various components of the entire refrigeration system using various interfaces and circuits.
[0132] The storage module 60 can be used to store the computer programs and / or modules. The processing module 50 implements various functions of the refrigeration equipment system by running or executing the computer programs and / or modules stored in the storage module 60 and accessing the data stored in the storage module 60. The storage module 60 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like. Furthermore, the storage module 60 may include high-speed random access memory (RAM) and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, at least one disk storage device, a flash memory device, or other volatile solid-state memory device.
[0133] For example, the computer program may be divided into one or more modules / units, which are stored in the storage module 60 and executed by the processing module 50 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the refrigeration equipment system.
[0134] Furthermore, an embodiment of the present invention provides a readable storage medium storing a computer program, which, when executed by the processing module 50, can implement the steps in the above-mentioned text classification method, that is, implement the steps in any one of the technical solutions in the above-mentioned text classification method.
[0135] If the module integrated into the text classification method is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can also implement all or part of the processes in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by the processing module 50, the computer program can implement the steps of each of the above-mentioned method embodiments.
[0136] The computer program includes computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording medium, disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content of the computer-readable medium may be appropriately increased or decreased based on the requirements of legislation and patent practice within a jurisdiction. For example, in some jurisdictions, based on legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.
[0137] It should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation method can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0138] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A text classification method, characterized in that: The steps include: Transcribing all multimodal data and / or multi-source heterogeneous data into text data and summarizing them into total text data; Annotating the annotable text in the total text data, and storing the annotated text as training data and test data respectively; Extract features from the total text data through a deep fusion network model, train the deep fusion network model with the training data, and predict results through the deep fusion network model with the test data, wherein the deep fusion network model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model, wherein the text vectorization model vectorizes the text data, and the multi-dimensional feature extraction model extracts multi-dimensional interactive features and associated features; Calculate the matching results of text classification based on the extracted features.
2. The text classification method according to claim 1, characterized in that: The step of marking the markable text in the total text data includes: The annotable text is subjected to pre-annotation, formal annotation and annotation quality inspection in sequence. When the value of the text after formal annotation is judged by the annotation quality inspection to be lower than the preset threshold, the text is returned to the pre-annotation process for re-annotation.
3. A text classification method, characterized in that: The steps include: Transcribing all multimodal data and / or multi-source heterogeneous data into text data and summarizing them into total text data; Performing data cleaning on the text that cannot be labeled in the total text data; The total text data is subjected to feature extraction through a deep fusion network model, and the deep fusion network model is trained with the unlabeled text using an unsupervised learning algorithm, wherein the deep fusion network model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model, wherein the text vectorization model vectorizes the text data, and the multi-dimensional feature extraction model extracts multi-dimensional interactive features and correlation features; Calculate the matching results of text classification based on the extracted features.
4. The text classification method according to claim 1, characterized in that: The step of transcribing all multimodal data and / or multi-source heterogeneous data into text data and aggregating them into total text data includes: Collecting and preprocessing multimodal data and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio and video data; Transcribing video data into text data; transcribe audio data into text data; Get historical text data; The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into the total text data.
5. The text classification method according to claim 4, characterized in that: The preprocessing includes cleaning, format conversion and storage of the multimodal data.
6. The text classification method according to claim 4, characterized in that: The step of transcribing the video data into text data comprises: Separating the audio and image in the video data to obtain audio data and image data; Recognize text information in the image data and transcribe it into text data; Recognize image data based on spatiotemporal and long-distance dependent features and transcribe them into text data.
7. The text classification method according to claim 6, characterized in that: The steps of recognizing images based on spatiotemporal and long-distance dependent features and transcribing them into text data include: The image recognition based on spatiotemporal and long-distance dependent features is generated into a student model through a fusion model of knowledge distillation and diffusion model, and the image data is transcribed into text data through the student model.
8. The text classification method according to claim 4, characterized in that: The step of transcribing the video data into text data comprises: Acquire key frame images in the video data through a diffusion network model; The key frame image is recognized to generate text data.
9. The text classification method according to claim 4, characterized in that: The step of transcribing the audio data into text data comprises: Combining the spatiotemporal characteristics of speech and contextual relationship features in the scenario where the data is acquired, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data.
10. The text classification method according to claim 4, characterized in that: The historical text data includes historical record data and historical interaction data, wherein the historical record data includes the user's food preference data, interest data and comment data, and the historical interaction data includes interaction records obtained from the client or the interaction end of the refrigeration device.
11. The text classification method according to claim 1, characterized in that: The text vectorization model encodes text at the character, word, phrase, and sentence levels.
12. The text classification method according to claim 1, characterized in that: The multi-dimensional feature extraction model uses a multi-head attention mechanism to extract the interaction and association features of characters, words, phrases, and sentences, as well as contextual semantic information.
13. The text classification method according to claim 1, characterized in that: The step of calculating the matching result of the text classification based on the extracted features includes: The feature-extracted vector is sequentially passed through the fully connected layer and the self-attention mechanism to obtain the text classification result.
14. The text classification method according to claim 1, characterized in that: Also includes the steps: The calculated text classification results are displayed.
15. A refrigeration equipment system, characterized in that: include: A storage module storing a computer program; The processing module can implement the steps of the text classification method described in claim 1 when executing the computer program.
Citation Information
Patent Citations
Article classification method and device based on deep learning, equipment and storage medium
CN114944156A
Speech recognition and classification method, device and equipment, refrigerator and storage medium
CN115062143A
Information pushing method and device based on deep learning, equipment and storage medium
CN115098765A
Multi-modal data fusion method and system and storage medium
CN115545093A
Text classification method and refrigeration equipment system
CN116431805A
