End-to-end speech recognition method and device fused with context information

By integrating feature encoding and vector fusion processing of contextual information in speech recognition technology, the shortcomings of existing technologies in the recognition of homophones, polyphones and professional nouns are solved, and higher speech recognition accuracy is achieved.

CN118538201APending Publication Date: 2024-08-23SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310201456.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing CTC and RNN-T speech recognition technologies have low recognition capabilities when processing homophones, polyphonic words and professional nouns, and are difficult to effectively utilize contextual information, resulting in low accuracy in converting speech into text.

Method used

Multiple feature dimensions are used to perform feature encoding processing on the fused contextual information of the speech to be recognized, and a high-order feature representation vector is obtained, and vector fusion is performed through a joint function to generate a total fused feature vector, which is input into the character prediction algorithm for character prediction, achieving End-to-end speech recognition.

Benefits of technology

It improves the speech recognition effect of homophones, polyphones and professional nouns, avoids cascade error propagation during training, and improves the accuracy of speech recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538201A
    Figure CN118538201A
Patent Text Reader

Abstract

The invention provides a contextual information fused end-to-end speech recognition method and device, and the method comprises the steps: carrying out the feature coding of the fused contextual information of a to-be-recognized speech according to a plurality of preset information dimensions, and obtaining a plurality of high-order feature representation vectors; performing vector fusion processing on the plurality of high-order feature representation vectors to obtain a fusion feature total vector; and inputting the fusion feature total vector into a preset character prediction algorithm for character prediction processing, and obtaining an end-to-end speech recognition result of the speech to be recognized from speech to text characters. Based on the method, by fusing the context information into the end-to-end speech recognition process, the speech recognition effect of homophones, polyphones, professional nouns and the like can be effectively enhanced, additional training or introduction of other model components is not needed, and cascade error propagation generated during training can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of speech recognition technology, and in particular to an end-to-end speech recognition method and device integrating contextual information, and also to an electronic device and a storage medium for executing the end-to-end speech recognition method integrating contextual information. Background Art

[0002] Speech recognition is used to convert speech into corresponding text. At present, the more commonly used speech recognition technologies are CTC (Connectionist Temporal Classification) technology and RNN-T (Recurrent neural network Transducer) technology. Among them, CTC technology is mainly used to deal with the alignment problem of input and output labels in sequence labeling problems. However, CTC technology has an unreasonable assumption that "labels are independent of each other", and the output of the result only depends on the historical input. RNN-T technology is an improvement on CTC technology. The output of the result depends not only on the historical input, but also on the historical output. When these two technologies are used for speech recognition, the reference information of the speech recognition process is limited to the speech itself. It is difficult to process speech information such as homophones and complex professional names. The recognition ability is low, and the accuracy of speech conversion to corresponding text is not high. Summary of the invention

[0003] In view of this, an embodiment of the present application provides an end-to-end speech recognition method and device that integrates contextual information, and also relates to an electronic device and a storage medium for executing the end-to-end speech recognition method that integrates contextual information, which can effectively enhance the speech recognition effect of homophones, polyphones, professional terms, etc., and can avoid cascading error propagation during training.

[0004] The first aspect of an embodiment of the present application provides an end-to-end speech recognition method that integrates context information, including: performing feature encoding processing on a speech to be recognized that integrates context information according to a plurality of preset feature dimensions to obtain a plurality of high-order feature representation vectors; performing vector fusion processing on the plurality of high-order feature representation vectors to obtain a fused feature total vector; inputting the fused feature total vector into a preset character prediction algorithm to perform character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0005] In some possible implementations, the step of performing feature coding processing on the speech to be recognized that integrates context information according to multiple preset feature dimensions to obtain multiple high-order feature representation vectors includes: using a predictive network coding component to perform feature coding processing on the speech to be recognized that integrates context information from a label dimension to obtain a first high-order feature representation vector; and / or using a frequency domain coding component to perform feature coding processing on the speech to be recognized that integrates context information from a frequency domain dimension to obtain a second high-order feature representation vector; and / or using a context coding component to perform feature coding processing on the speech to be recognized that integrates context information from a text sequence dimension to obtain a third high-order feature representation vector.

[0006] In some possible implementations, the step of performing vector fusion processing on the multiple high-order feature representation vectors to obtain a fused feature total vector includes: performing vector fusion processing on the multiple high-order feature representation vectors using a preset joint function to obtain a fused feature total vector, wherein the joint function is expressed as:

[0007]

[0008] Among them, Z p,h,C Represented as the total fusion feature vector; Represented as the first high-order feature representation vector; Represented as the second high-order feature representation vector; C enc Represented as the third high-order feature representation vector; f joint It is represented as a joint function; Q, V, G are represented as weight matrices; b z is represented as a bias vector; φ is represented as a nonlinear function.

[0009] In some possible implementations, before the step of inputting the fused feature total vector into a preset character prediction algorithm for character prediction processing to obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters, it also includes: using linear transformation to perform deformation and information aggregation preprocessing on the fused feature total vector, wherein the preprocessing formula is expressed as:

[0010] h p,h,C =W y *Z p,h,C +b y

[0011] Among them, h p,h,C It is represented as the total fusion feature vector after preprocessing; W y Represented as a weight matrix; b y is represented as a bias vector.

[0012] In some possible implementations, the step of inputting the total fused feature vector into a preset character prediction algorithm for character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters includes: using a normalization function to calculate the probability value of each character in a preset vocabulary for representing the character corresponding to the speech to be recognized; determining the character used to represent the speech to be recognized based on the probability value to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0013] The second aspect of the embodiment of the present application provides an end-to-end speech recognition device that integrates context information, including: an encoding module, which is used to perform feature encoding processing on the speech to be recognized that integrates context information according to multiple preset feature dimensions, and obtain multiple high-order feature representation vectors; a fusion module, which is used to perform vector fusion processing on the multiple high-order feature representation vectors, and obtain a fused feature total vector; a prediction module, which is used to input the fused feature total vector into a preset character prediction algorithm for character prediction processing, and obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0014] In some possible implementations, the encoding module includes: a first encoding submodule, which is used to use a predictive network coding component to perform feature encoding processing on the speech to be recognized from a label dimension by integrating context information, so as to obtain a first high-order feature representation vector; and / or a second encoding submodule, which is used to use a frequency domain coding component to perform feature encoding processing on the speech to be recognized from a frequency domain dimension by integrating context information, so as to obtain a second high-order feature representation vector; and / or a third encoding submodule, which is used to use a context coding component to perform feature encoding processing on the speech to be recognized from a text sequence dimension by integrating context information, so as to obtain a third high-order feature representation vector.

[0015] In some possible implementations, the fusion module includes: a fusion submodule, configured to perform vector fusion processing on the multiple high-order feature representation vectors using a preset joint function to obtain a fused feature total vector, wherein the joint function is expressed as:

[0016]

[0017] Among them, Z p,h,c Represented as the total fusion feature vector; Represented as the first high-order feature representation vector; Represented as the second high-order feature representation vector; C enc Represented as the third high-order feature representation vector; f joint It is represented as a joint function; Q, V, G are represented as weight matrices; b z is represented as a bias vector; φ is represented as a nonlinear function.

[0018] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the electronic device, wherein when the processor executes the computer program, each step of the end-to-end speech recognition method for integrating contextual information provided in the first aspect is implemented.

[0019] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, each step of the end-to-end speech recognition method for integrating contextual information provided in the first aspect is implemented.

[0020] The end-to-end speech recognition method, device, electronic device and storage medium provided by the embodiments of the present application that integrate context information have the following beneficial effects:

[0021] This application obtains multiple high-order feature representation vectors by performing feature encoding processing of the speech to be recognized by integrating context information according to multiple feature dimensions, and then obtains the total fused feature vector by performing vector fusion processing on the multiple high-order feature representation vectors, and then inputs the total fused feature vector into a preset character prediction algorithm for character prediction processing to obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters. It realizes the fusion of context information into the end-to-end speech recognition process, provides richer global feature reference information, can effectively enhance the speech recognition effect of homophones, polyphones, professional terms, etc., and does not require additional training or the introduction of other model components, can avoid cascade error propagation during training, and improve the accuracy of speech recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0023] Figure 1 A flowchart for implementing an end-to-end speech recognition method integrating context information provided in an embodiment of the present application;

[0024] Figure 2 A flow chart of a method for performing character prediction processing in an end-to-end speech recognition method integrating context information provided in an embodiment of the present application;

[0025] Figure 3 A basic structural block diagram of an end-to-end speech recognition device integrating context information provided in an embodiment of the present application;

[0026] Figure 4 A basic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] See also Figure 1 , Figure 1 This is a flowchart of an implementation of an end-to-end speech recognition method integrating context information provided in an embodiment of the present application, which may specifically include the following steps S11 to S13.

[0029] S11: Perform feature encoding processing on the speech to be recognized by integrating context information according to multiple preset feature dimensions to obtain multiple high-order feature representation vectors.

[0030] In this embodiment, during the speech recognition process, the context information of the speech can be obtained by combining the context of the speech, historical conversations, screen projection information and other different information related to the speech other than the speech itself, and then the context information can be integrated into the speech to be recognized by feature encoding, so as to provide the speech to be recognized with rich global feature reference information for speech recognition. In this embodiment, the feature encoding processing of the speech to be recognized that integrates the context information can be performed according to three feature dimensions, namely, the label dimension, the frequency domain dimension and the text sequence dimension, respectively, and various different information related to the speech to be recognized can be integrated into the speech to be recognized from different feature dimensions to obtain multiple high-order feature representation vectors.

[0031] In some specific embodiments, corresponding encoding components are configured for different feature dimensions. A prediction network encoding component (Predict Network), a frequency domain encoding component (Encoder) and a context encoding component (Context Encoder) can be set in the speech recognition model. The encoding components are used to implement feature encoding processing of the speech to be recognized to obtain the corresponding high-order feature representation vector.

[0032] Specifically, the predictive network coding component can perform word embedding operations on the label characters of the speech to be recognized to obtain the label encoding, and the encoding vector of the label characters can be obtained as the first high-order feature representation vector of the label dimension by the network structure such as RNN and Transformer. In the predictive network coding component, the encoding formula for obtaining the first high-order feature representation vector can be as follows:

[0033]

[0034] Among them, f pred The function represents the encoding behavior of label characters by network structures such as RNN and Transformer; It means the predicted label character in the previous stage after f pred The high-order feature representation vector obtained after function encoding; U represents the number of label characters; i represents the i-th label character.

[0035] Specifically, the frequency domain features of the speech to be recognized can be used as input for feature encoding processing through the frequency domain encoding component, and the second high-order feature representation vector of the frequency domain dimension can be output by the network structure such as RNN and Transformer. In the frequency domain encoding component, the encoding formula for obtaining the second high-order feature representation vector can be as follows:

[0036]

[0037] Among them, f enc The function represents the encoding behavior of speech domain features by network structures such as RNN and Transformer; Represented as the speech domain feature x at the current time step t After f enc The high-order feature representation vector obtained after function encoding.

[0038] Specifically, the text sequence character list corresponding to the speech to be recognized can be used as input for feature encoding processing through the context encoding component. After the word embedding operation is performed on the text sequence character list in the context encoding component, the third high-order feature representation vector of the text sequence dimension is output through a network structure such as RNN and Transformer. In the context encoding component, the encoding formula for obtaining the third high-order feature representation vector can be as follows:

[0039] C enc =f enc (C 1:N ).

[0040] Among them, f enc The function represents the encoding behavior of the text sequence character list by the network structure such as RNN and Transformer; C enc Represented as the entire text sequence C within the context 1:N After f enc The high-order feature representation vector obtained after function encoding; N represents the length of the character sequence.

[0041] S12: Perform vector fusion processing on the multiple high-order feature representation vectors to obtain a total fused feature vector.

[0042] In this embodiment, the high-order feature representation vectors obtained from different feature dimensions contain different contextual information. By performing vector fusion processing on multiple high-order feature representation vectors, a fused feature total vector can be obtained to integrate multiple different contextual information and enrich the global feature reference information in the speech to be recognized.

[0043] In some specific embodiments, in view of the different dimensions of different high-order feature representation vectors, these different high-order feature representation vectors can be fused by using a joint function to obtain a fused feature total vector. Specifically, the joint function formula is:

[0044]

[0045] Among them, Z p,h,C Represented as the total fusion feature vector; Represented as the first high-order feature representation vector; Represented as the second high-order feature representation vector; C enc It is represented as the third high-order feature representation vector. joint It is represented as a joint function; Q, V, G are represented as weight matrices; b z is represented as a bias vector; φ is represented as a nonlinear function.

[0046] In this embodiment, based on the above joint function formula, multiple high-order feature representation vectors are used as inputs of the joint function, and after deformation, integration and nonlinear transformation of the joint function, a fused feature total vector is obtained. It can be understood that the nonlinear function in the joint function can be a RELU function or a Tanh function.

[0047] S13: Inputting the fused feature total vector into a preset character prediction algorithm for character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0048] In this embodiment, the character prediction algorithm adopts a probability model algorithm, and predicts the text characters that match the total vector of the fused features through the probability model as the text corresponding to the speech, so as to realize end-to-end speech recognition from speech to text characters, and obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters. It can be understood that the speech to be recognized can be obtained by segmentation to obtain multiple speech segments, and end-to-end speech recognition is performed on each speech segment to obtain the text characters corresponding to each speech segment, and then the text characters corresponding to each speech segment are spliced ​​in chronological order, so as to obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0049] In some specific embodiments, see Figure 2 , Figure 2A flow chart of a method for performing character prediction processing in an end-to-end speech recognition method integrating context information provided in an embodiment of the present application is provided. The details are as follows:

[0050] S21: using a normalization function to calculate the probability value of each character in the preset vocabulary being used to represent the character corresponding to the speech to be recognized;

[0051] S22: Determine characters used to represent the speech to be recognized according to the probability value, so as to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0052] In this embodiment, the Softmax function, also known as the normalization function, aims to present the results of multiple classifications in the form of probabilities. In this embodiment, the Softmax function can be used to calculate the probability value of each character in the preset vocabulary for representing the character corresponding to the speech to be recognized, and then, the character used to represent the speech to be recognized is determined according to the probability value, wherein the character with the largest probability value in the preset vocabulary is used as the character corresponding to the speech to be recognized, thereby obtaining the end-to-end speech recognition result of the speech to be recognized from speech to text characters. Exemplarily, when calculating the probability value of each character, the following formula can be used for calculation:

[0053]

[0054] Among them, u represents the number of label characters, t represents the number of speech domain frames; N represents the length of the character sequence.

[0055] In some specific embodiments, before character prediction is performed on the speech to be recognized, the total fusion feature vector may be deformed and information aggregated by linear transformation to improve the reliability of the total fusion feature vector for speech recognition. Specifically, the preprocessing may be performed by the following preprocessing formula:

[0056] h p,h,C =W y *Z p,h,C +b y .

[0057] Among them, h p,h,C It is represented as the total fusion feature vector after preprocessing; W y Represented as a weight matrix; b y is represented as a bias vector.

[0058] From the above, it can be seen that the end-to-end speech recognition method for integrating contextual information provided in the embodiment of the present application obtains multiple high-order feature representation vectors by performing feature encoding processing of the speech to be recognized with integrated contextual information according to multiple feature dimensions, and then obtains a total fused feature vector by performing vector fusion processing on the multiple high-order feature representation vectors, and then inputs the total fused feature vector into a preset character prediction algorithm for character prediction processing, and obtains the end-to-end speech recognition result of the speech to be recognized from speech to text characters. It realizes the integration of contextual information into the end-to-end speech recognition process, provides richer global feature reference information, can effectively enhance the speech recognition effect of homophones, polyphones, professional terms, etc., and does not require additional training or the introduction of other model components, can avoid cascade error propagation during training, and improve the accuracy of speech recognition.

[0059] It is understandable that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0060] In some embodiments of this application, please refer to Figure 3 , Figure 3 The basic structure block diagram of an end-to-end speech recognition device that integrates context information provided in the embodiment of the present application. The various units included in the device in this embodiment are used to perform the various steps in the above method embodiment. For details, please refer to the relevant description in the above method embodiment. For ease of explanation, only the parts related to this embodiment are shown. Figure 3 As shown, the end-to-end speech recognition device integrating context information includes: an encoding module, a fusion module and a prediction module. Among them: the encoding module 31 is used to perform feature encoding processing of the speech to be recognized by integrating context information according to multiple preset feature dimensions, and obtain multiple high-order feature representation vectors. The fusion module 32 is used to perform vector fusion processing on the multiple high-order feature representation vectors to obtain a fused feature total vector. The prediction module 33 is used to input the fused feature total vector into a preset character prediction algorithm for character prediction processing, and obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters.

[0061] It should be understood that the above-mentioned end-to-end speech recognition device integrating contextual information corresponds one-to-one to the above-mentioned end-to-end speech recognition method integrating contextual information, and will not be described in detail here.

[0062] In some embodiments of this application, please refer to Figure 4 , Figure 4 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. Figure 4As shown, the electronic device 4 of this embodiment includes: a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41, such as a program for an end-to-end speech recognition method integrating context information. When the processor 41 executes the computer program 43, the steps in each of the above-mentioned embodiments of the end-to-end speech recognition method integrating context information are implemented. Alternatively, when the processor 41 executes the computer program 43, the functions of each module in the embodiments corresponding to the end-to-end speech recognition device integrating context information are implemented. Please refer to the relevant description in the embodiments for details, which will not be repeated here.

[0063] Exemplarily, the computer program 43 may be divided into one or more modules (units), which are stored in the memory 42 and executed by the processor 41 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 43 in the electronic device 4. For example, the computer program 43 may be divided into an encoding module, a fusion module, and a prediction module, and the specific functions of each module are as described above.

[0064] The electronic device may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0065] The processor 41 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0066] The memory 42 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 42 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 42 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 42 is used to store the computer program and other programs and data required by the electronic device. The memory 42 may also be used to temporarily store data that has been output or is to be output.

[0067] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0068] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented. In this embodiment, the computer-readable storage medium can be non-volatile or volatile.

[0069] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0070] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0071] If the integrated module / unit is implemented in the form of 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 application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can 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, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0072] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0073] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An end-to-end speech recognition method integrating context information, characterized in that: include: Perform feature encoding processing on the speech to be recognized by integrating context information according to multiple preset feature dimensions to obtain multiple high-order feature representation vectors; Performing vector fusion processing on the multiple high-order feature representation vectors to obtain a fused feature total vector; The fused feature total vector is input into a preset character prediction algorithm for character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

2. The end-to-end speech recognition method integrating context information according to claim 1, characterized in that: The step of performing feature encoding processing on the speech to be recognized by integrating context information according to the preset multiple feature dimensions to obtain multiple high-order feature representation vectors includes: Using a predictive network coding component to perform feature coding processing on the speech to be recognized from a label dimension by integrating context information to obtain a first high-order feature representation vector; and / or Using a frequency domain coding component to perform feature coding processing on the speech to be recognized from a frequency domain dimension by integrating context information to obtain a second high-order feature representation vector; and / or A context encoding component is used to perform feature encoding processing on the speech to be recognized from a text sequence dimension by integrating context information to obtain a third high-order feature representation vector.

3. The end-to-end speech recognition method integrating context information according to claim 2, characterized in that: The step of performing vector fusion processing on the multiple high-order feature representation vectors to obtain a total fusion feature vector includes: A preset joint function is used to perform vector fusion processing on the multiple high-order feature representation vectors to obtain a fused feature total vector, wherein the joint function is expressed as: Among them, Z p,h,C It is represented as the total fusion feature vector; Represented as the first high-order feature representation vector; Represented as the second high-order feature representation vector; C enc Represented as the third high-order feature representation vector; f joint It is represented as a joint function; Q, V, G are represented as weight matrices; b z is represented as a bias vector; φ is represented as a nonlinear function.

4. The end-to-end speech recognition method integrating context information according to claim 1, characterized in that: Before the step of inputting the fused feature total vector into a preset character prediction algorithm for character prediction processing to obtain the end-to-end speech recognition result of the speech to be recognized from speech to text characters, the step further includes: The total fusion feature vector is deformed and preprocessed by information aggregation using linear transformation, wherein the preprocessing formula is expressed as: h p,h,C =W y *Z p,h,C +b y Among them, h p,h,C It is represented as the total fusion feature vector after preprocessing; W y Represented as a weight matrix; b y Represented as a bias vector.

5. The end-to-end speech recognition method integrating context information according to claim 1, characterized in that: The step of inputting the fused feature total vector into a preset character prediction algorithm for character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters includes: Using a normalization function to calculate the probability value of each character in the preset vocabulary being used to represent the character corresponding to the speech to be recognized; Characters used to represent the speech to be recognized are determined according to the probability values ​​to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

6. An end-to-end speech recognition device integrating context information, characterized in that: include: An encoding module is used to perform feature encoding processing on the speech to be recognized according to multiple preset feature dimensions, integrating context information, and obtaining multiple high-order feature representation vectors; A fusion module, used for performing vector fusion processing on the multiple high-order feature representation vectors to obtain a fused feature total vector; The prediction module is used to input the total fusion feature vector into a preset character prediction algorithm for character prediction processing to obtain an end-to-end speech recognition result of the speech to be recognized from speech to text characters.

7. The end-to-end speech recognition device integrating context information according to claim 6, characterized in that: The encoding module comprises: A first encoding submodule is used to use a predictive network coding component to perform feature encoding processing on the speech to be recognized from a label dimension by integrating context information to obtain a first high-order feature representation vector; and / or A second encoding submodule is used to use a frequency domain encoding component to perform feature encoding processing on the speech to be recognized from a frequency domain dimension by integrating context information to obtain a second high-order feature representation vector; and / or The third encoding submodule is used to use the context encoding component to perform feature encoding processing on the speech to be recognized from the text sequence dimension by integrating the context information to obtain a third high-order feature representation vector.

8. The end-to-end speech recognition device integrating context information according to claim 6, characterized in that: The fusion module includes: The fusion submodule is used to perform vector fusion processing on the multiple high-order feature representation vectors using a preset joint function to obtain a fused feature total vector, wherein the joint function is expressed as: Among them, Z p,h,C It is represented as the total fusion feature vector; Represented as the first high-order feature representation vector; Represented as the second high-order feature representation vector; C enc Represented as the third high-order feature representation vector; f joint It is represented as a joint function; Q, V, G are represented as weight matrices; b z is represented as a bias vector; φ is represented as a nonlinear function.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.