Audio and image computing system supporting artificial neural network and signal processing

By designing multiple computing units and intermediate adjustment modules in the computing array or DSP array, data adaptation and normalization are achieved, which solves the problem of limited performance of traditional processors when processing large-scale neural networks, and improves the efficiency of the computing system. Flexible and adaptable, suitable for a variety of artificial neural network and signal processing tasks.

CN118551815AActive Publication Date: 2024-08-27JIANGSU UNIV OF TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410599522.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

Traditional computing processors have limited performance when processing large-scale and complex neural networks, limited data formats and computing tasks, and cannot efficiently process diverse data and emerging artificial neural networks.

Method used

Design an audio and image computing system that supports artificial neural networks and signal processing. It uses a computing array or DSP array as the core and contains multiple computing units. Each unit supports data of a preset format length and is processed through a task allocation module and an intermediate The adjustment module implements data adaptation and normalization adjustment, and supports distributed or parallel computing.

Benefits of technology

It improves the flexibility and adaptability of computing performance, can effectively handle various data formats and artificial neural networks, is suitable for a variety of computing tasks, and achieves efficient data processing and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551815A
    Figure CN118551815A
Patent Text Reader

Abstract

The invention provides an audio and image computing system supporting artificial neural networks and signal processing, which takes a computing array or a DSP (Digital Signal Processor) array as a core, the array comprises a plurality of computing units supporting computing tasks corresponding to different artificial neural networks and signal processing, and each computing unit supports data processing with a preset format length. Each calculation unit comprises a data identifier, an intermediate adjustment module is arranged between every two adjacent calculation units, and the intermediate adjustment modules are used for performing adaptation and normalization adjustment on data; the calculation units are used for splitting the input data in a preset self-splitting mode to obtain multiple pieces of split data, the calculation units carry out cooperative processing on the split data in a preset self-organizing mode, and the calculation units are further used for executing a calculation operation program. Therefore, calculation is realized through data adaptation and normalization adjustment in combination with data splitting and organization functions, and the method has relatively high flexibility, high efficiency and adaptability, can improve the calculation performance, and can be suitable for calculation tasks corresponding to various data formats, various artificial neural networks and signal processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of processor chip computing technology, and in particular to an audio and image computing system that supports artificial neural networks and signal processing. Background Art

[0002] In the field of processors and chip computing, there are already some prior arts related to the present invention, such as traditional computing processors: including CPU (Central Processing Unit), audio processor and GPU (Graphic Processing Unit), which are used to perform general computing tasks. These processors usually support fixed data formats and perform processing and calculations at the hardware level. Traditional computing processors are suitable for general computing tasks, but their performance may be limited when processing large-scale and complex neural networks, resulting in low flexibility and adaptability, which is mainly reflected in the following two aspects:

[0003] Limited data formats: Processors, domain-specific accelerators, and programmable accelerators usually support specific data formats and may not be able to efficiently process other unconventional data formats, limiting their flexibility in processing diverse data.

[0004] Limited computing tasks: Usually, specific types of computing tasks are optimized at the hardware level, such as CNN (Convolutional Neural Network), DNN (Deep Neural Network), SNN (Spiking Neural Network), RNN (Recurrent Neural Network), FCNN (Fully Connected Neural Network), recursive neural network, etc. For emerging artificial neural networks, such as Transformer neural networks, computing processing may not be possible, resulting in the chip being limited in processing different types of computing tasks. Summary of the invention

[0005] In order to solve one of the above technical problems, the present invention proposes the following technical solution.

[0006] The first aspect of the present invention proposes an audio and image computing system that supports artificial neural networks and signal processing. The system is based on a computing array or a DSP (Digital Signal Processing) array as the core. The computing array or the DSP array includes multiple computing units that support different artificial neural networks and signal processing corresponding computing tasks. Each of the computing units supports data of a preset format and length. Each of the computing units includes a data identifier representing the data format and length of the computing unit. The system also includes a connected task allocation module and at least one intermediate adjustment module. One intermediate adjustment module is set between every two adjacent computing units and is respectively connected to the intermediate adjustment module.

[0007] The task allocation module is used to input each input data into the intermediate adjustment module within the first time of receiving the input data corresponding to all computing tasks, so that the intermediate adjustment module adapts and normalizes each input data according to each data identifier and then inputs it into the corresponding computing unit in the computing array or DSP array, wherein the input data includes audio data and image data.

[0008] The intermediate adjustment module is used to adapt and normalize the output data of the first computing unit of the corresponding two adjacent computing units according to the data identifiers of the respective two adjacent computing units within the second time, and then input the output data into the second computing unit of the corresponding two adjacent computing units;

[0009] The computing unit is used to split the input data into multiple split data through a preset self-splitting method. The computing units collaboratively process the split data through a preset self-organizing method, and input the processed split data into the corresponding computing unit through the intermediate adjustment module. The computing unit is also used to execute a computing operation program within a third time.

[0010] In addition, the audio and image computing system supporting artificial neural network and signal processing according to the above embodiment of the present invention may also have the following additional technical features.

[0011] According to one embodiment of the present invention, the audio and image computing system supporting artificial neural networks and signal processing also includes: a result aggregation module, which is used to aggregate the calculation results into one or more result buffers within a fourth time after each computing unit completes the calculation operation, for subsequent processing or output.

[0012] According to one embodiment of the present invention, the task allocation module includes:

[0013] A classification unit is used to divide all computing units into different types of computing units according to the design inside the computing array or DSP array, so that each computing unit corresponds to a different computing task; an acquisition unit is used to perform demand analysis on the computing task to obtain the computing demand, and perform feature extraction on the input data corresponding to the computing task to obtain the feature of the input data; an allocation unit is used to allocate each input data to the corresponding computing unit in the computing array or DSP array as soon as possible according to the computing demand of the computing task, the feature of the input data and the types of all computing units.

[0014] According to one embodiment of the present invention, the different types of computing units include at least a loop computing unit and a convolution computing unit.

[0015] According to an embodiment of the present invention, the feature extraction method specifically includes performing time domain or frequency domain feature extraction on audio data and performing convolution operation on image data to extract feature graphs.

[0016] According to an embodiment of the present invention, the computing unit is further used to: customize or dynamically adjust the data identifier according to task requirements.

[0017] According to an embodiment of the present invention, the output data of each computing unit has different data formats and lengths, and the data identification of each computing unit serves as its own separate indication information, which serves as the basis for data extraction, adaptation, normalization adjustment and input. The intermediate adjustment module includes:

[0018] An extraction unit, used to extract the data identifiers of the corresponding two adjacent computing units and the output data of the previous computing unit of the corresponding two adjacent computing units, wherein the output data of the previous computing unit carries the data identifier of the computing unit;

[0019] An adaptation unit, used to adapt the format and length of the output data of the previous computing unit according to the extracted data identifiers of the corresponding two adjacent computing units, so as to obtain the adapted output data of the previous computing unit, wherein the format and length of the adapted output data of the previous computing unit match the data identifier of the latter computing unit of the corresponding two adjacent computing units; an adjustment unit, used to normalize the adapted output data of the previous computing unit, so as to obtain the adjusted output data; an input unit, used to input the adjusted output data into the latter computing unit.

[0020] According to an embodiment of the present invention, the output data of the calculation unit includes audio data and image data, and the normalization adjustment method specifically includes normalizing the audio signal of the audio data and normalizing the pixel value of the image data.

[0021] According to one embodiment of the present invention, when executing a computing operation, a plurality of different computing units perform distributed computing or parallel computing.

[0022] According to one embodiment of the present invention, the data format includes at least one of FP32, FP16, FP8, INT8 and INT4, and the preset format length ranges from 1 bit to 16 bits.

[0023] The technical solution of the embodiment of the present invention realizes calculation through data adaptation and normalization adjustment combined with data splitting and organization functions, has strong flexibility, high efficiency and adaptability, can improve computing performance, can be applied to computing tasks corresponding to various data formats, artificial neural networks and signal processing, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A block diagram of an audio and image computing system supporting artificial neural network and signal processing according to an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of four computing units of an example of the present invention and their data formats before and after adjustment. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] In view of the limitations and shortcomings of related technologies in certain application scenarios, an embodiment of the present invention proposes an audio and image computing system that supports artificial neural networks and signal processing to solve these problems, and provides an audio and image computing system with higher flexibility, adaptability and real-time self-organizing ability, which is suitable for audio and image data of various artificial neural networks and signal processing.

[0028] Figure 1 A block diagram of an audio and image computing system supporting artificial neural network and signal processing according to an embodiment of the present invention.

[0029] In an embodiment of the present invention, an audio and image computing system supporting artificial neural networks and signal processing uses a computing array or a DSP array as its core. The computing array (an array composed of multiple computing units) or a DSP array (an array composed of multiple DSP chips) includes multiple computing units that support different artificial neural networks and corresponding signal processing computing tasks. Each computing unit supports data of a preset format and length. Each computing unit includes a data identifier representing the data format and length of the computing unit. These data identifiers can be customized and adjusted in real time according to the requirements of the computing task to facilitate subsequent data adaptation and normalization adjustment of the input data.

[0030] Among them, the data format may include at least one of FP32 (single-precision floating point number), FP16 (half-precision floating point number), FP8 (8-bit floating point format), INT8 (8-bit integer) and INT4 (4-bit integer), and the preset format length ranges from 1 bit to 16 bits.

[0031] like Figure 1 As shown, the system also includes a connected task allocation module 1 and at least one intermediate adjustment module 2 ( Figure 1 A task allocation module is connected to each intermediate adjustment module), an intermediate adjustment module 2 is set between each two adjacent computing units, and the two adjacent computing units are respectively connected to the intermediate adjustment module 2, the first ( Figure 1 An intermediate adjustment module ( Figure 1 ), that is, the input end of the calculation unit is connected to an intermediate adjustment module.

[0032] The task allocation module 1 is used to input each input data into the intermediate adjustment module 2 within the first time after receiving the input data corresponding to all computing tasks, so that the intermediate adjustment module 2 adapts and normalizes each input data according to each data identifier, and then inputs it into the corresponding computing unit in the computing array or DSP array to be processed by the computing unit, wherein the input data includes audio data and image data, and the audio data may specifically include but is not limited to music audio data, voice audio data, etc. The intermediate adjustment module 2 is used to adapt and normalize the output data of the first computing unit in the corresponding two adjacent computing units according to the respective data identifiers of the corresponding two adjacent computing units within the second time, and then input it into the latter computing unit in the corresponding two adjacent computing units. The computing unit is used to split the input data into multiple split data by a preset self-splitting method, and each computing unit performs collaborative processing on the split data by a preset self-organizing method, and inputs the processed split data into the corresponding computing unit through the intermediate adjustment module 2, and the computing unit is also used to execute the computing operation program within a third time.

[0033] Among them, the first time may refer to the time required to input the input data into the intermediate adjustment module, the second time may refer to the time required to adapt and normalize the data, and the third time may refer to the time required to perform the calculation operation.

[0034] Among them, the computing unit itself has the functions of data splitting and data organization to optimize the processing of computing tasks and resource utilization efficiency based on task allocation. The splitting function is reflected in splitting the input data as needed, and the organization function is reflected in reallocating the data to the corresponding computing unit through the intermediate adjustment module 2 after collaborative optimization processing (such as data sharing and exchange) with other computing units. The preset self-splitting mode and the preset self-organizing mode refer to the modes in which the computing unit actively splits and collaboratively optimizes the data, respectively, which can be set in advance according to actual needs and task requirements, and can be dynamically adjusted and optimized according to the needs of the computing task and the status of the computing unit to achieve the optimal self-splitting and self-organizing modes.

[0035] The input data corresponding to the computing task may include but is not limited to audio data (such as music audio data) and image data, and may also include other data, such as text data. The input data corresponding to each computing task has different data formats and lengths, such as FP32, FP16, FP8, INT8, INT4, etc., and each data may be raw data obtained from external sensors, storage, networks, etc., such as audio data, image data, and text data. The output data output by each computing unit also includes but is not limited to audio data (such as music audio data), image data, and text data, etc., and also has different data formats and lengths.

[0036] Furthermore, when executing computing operations, multiple different computing units perform distributed computing or parallel computing.

[0037] Specifically, data input is first performed, and the input data corresponding to the computing task is input into the system in different formats and lengths, such as FP32, FP16, FP8, INT8, INT4, etc., which can be audio data, image data, and text data obtained from external sensors, storage, networks, etc. After the system obtains or receives the input data corresponding to all computing tasks, the task allocation module 1 can allocate the input data to the corresponding computing unit according to the requirements of the computing task in the first time. Each computing unit can support computing tasks corresponding to different types of artificial neural networks, such as CNN, DNN, SNN, RNN, FCNN, Transformer neural network, etc., and can also support computing tasks corresponding to signal processing. An intermediate adjustment module 2 is set between every two adjacent computing units, and the intermediate adjustment module 2 is connected to the output end of the previous computing unit and to the input end of the next computing unit. Before inputting the input data into the corresponding computing unit, the intermediate adjustment module 2 adapts and normalizes the input data to be input into the computing unit according to the identification of the computing unit to adapt to and match the data identification (data format and length) of the computing unit. Then the intermediate adjustment module 2 inputs the adapted and normalized input data into the computing unit for the computing unit to perform subsequent operations.

[0038] After receiving the input data, the computing unit can directly perform computing operations when it meets computing requirements and other requirements (such as efficiency and performance requirements), or it can split and organize the data within the computing unit according to the requirements of the computing task to achieve flexible adaptability of the data format. The computing unit itself can execute data splitting decisions and organization strategies to achieve efficient real-time data self-splitting and self-organization to improve the efficiency of processing different types of data and computing tasks.

[0039] Data self-splitting: The computing unit splits the data by a preset self-splitting method to obtain multiple split data, that is, the input large-scale data is automatically split into multiple small blocks so that the input data can be processed on multiple computing units at the same time. When performing computing operations, each computing unit can be implemented through distributed computing and parallel computing. Dividing large-scale data into multiple small blocks and assigning each small block to a different computing unit for processing can fully utilize the computing power of multiple computing units in the system and improve computing efficiency and speed.

[0040] Data self-organization: The computing units can cooperate and work together in a preset self-organizing manner to optimize the processing of computing tasks. Specifically, each computing unit can perform collaborative optimization processing on the split data and then input it into other computing units through the corresponding intermediate adjustment module 2. For example, the computing units can communicate and exchange information through the Internet, share computing resources, data, and computing results, and thus achieve cooperative processing of computing tasks. This self-organizing method can be dynamically adjusted and optimized according to the needs of the computing tasks and the status of the computing units to achieve the best computing resource utilization and computing task processing effect.

[0041] After the data is self-splitting and self-organizing, the computing unit performs computing operations on the data input thereto within a third time to obtain a computing result.

[0042] In order to achieve the adaptation and normalization adjustment of the input data of the computing unit, a data identifier representing the data format and length of the computing unit is designed in each computing unit, and an intermediate adjustment module 2 is set between two adjacent computing units, whose main function is to read the data identifiers of the adjacent computing units before and after, and complete the adaptation and normalization adjustment in the module to ensure the consistency of data transmission, extraction, adaptation and normalization adjustment between different computing units. When data is transmitted between computing units, the intermediate adjustment module 2 can read the data identifiers of the previous and next computing units, and adapt and normalize the output data of the previous computing unit accordingly within the second time, and then transmit it to the next computing unit, so that the next computing unit can realize self-splitting, self-organizing calculation and execution of calculation operations, and realize the optimal processing of the calculation task.

[0043] In the embodiment of the present invention, the input data can be allocated to the appropriate computing unit for processing through the task allocation module 1, which can ensure that each computing unit is processing the computing task that is most suitable for its design and optimization, thereby maximizing the use of computing resources and improving computing efficiency and performance; the data adaptation and normalization adjustment can be realized according to the data format and length identification of the computing unit through the intermediate adjustment module 2, which can flexibly realize the data adjustment between computing units, improve the efficiency of data transmission and processing, ensure the consistency and correctness of computing tasks between different computing units, thereby improving the performance and efficiency of the overall computing architecture; through the self-splitting and self-organizing functions of data, more efficient computing task processing and resource utilization can be realized, giving full play to the synergy of multiple computing units, and improving computing performance and efficiency. This self-splitting and self-organizing method can adapt to different computing tasks and data characteristics, thereby realizing more flexible and intelligent data processing and resource allocation strategies in the working process.

[0044] Therefore, the audio and image computing system supporting artificial neural networks and signal processing of the embodiment of the present invention realizes calculation through data adaptation and normalization adjustment combined with data splitting and organization functions. It has strong flexibility, high efficiency and adaptability, can improve computing performance, and can be applied to computing tasks corresponding to various data formats, artificial neural networks and signal processing, and has broad application prospects.

[0045] In one embodiment of the present invention, the audio and image computing system supporting artificial neural networks and signal processing may also include: a result aggregation module, which is used to aggregate the calculation results into one or more result buffers within a fourth time after each computing unit completes the calculation operation, for subsequent processing or output.

[0046] The fourth time refers to the time required to output the calculation result to the result buffer.

[0047] Specifically, after each computing unit completes the computing task, the result aggregation module can aggregate the computing results into one or more result buffers for subsequent processing or output, which can ensure the consistency and integrity of the computing results and facilitate subsequent processing and application.

[0048] In one embodiment of the present invention, the task allocation module 1 may include a classification unit, an acquisition unit and an allocation unit.

[0049] A classification unit is used to divide all computing units into different types of computing units according to the design inside the computing array or DSP array, so that each computing unit corresponds to a different computing task; an acquisition unit is used to perform demand analysis on the computing task to obtain the computing demand, and perform feature extraction on the input data corresponding to the computing task to obtain the features of the input data; an allocation unit is used to allocate each input data to the corresponding computing unit in the computing array or DSP array as soon as possible according to the computing demand of the computing task, the features of the input data and the types of all computing units.

[0050] Among them, different types of computing units may include at least a loop computing unit and a convolution computing unit.

[0051] Furthermore, the feature extraction method may specifically include performing time domain or frequency domain feature extraction on (music) audio data, and performing convolution operation on image data to extract feature maps.

[0052] Specifically, the purpose of task allocation is to reasonably allocate different computing tasks to different computing units in the computing array or DSP array for task processing according to the requirements of the computing tasks. The specific working process is as follows:

[0053] Computing unit classification: Based on the design of the computing array or DSP array, such as design purpose, specific structure, etc., computing units can be divided into different types or functional areas, such as loop computing units, convolution computing units, and fully connected computing units, etc., to handle different types of computing tasks. These computing units can be specially optimized for different types of computing tasks according to their design purpose and processing power to improve computing efficiency and performance;

[0054] Input data feature extraction: Extract features from input data through acquisition units, such as extracting features from music audio data in the time domain or frequency domain, extracting feature maps from image data through convolution operations, and embedding words from text data. These feature extraction operations can be completed in the computing unit or accelerated through specialized hardware circuits to improve computing efficiency and performance;

[0055] Computing demand analysis: The demand for each computing task is analyzed by the acquisition unit to obtain the demand for the computing task, which may include the type of computing task;

[0056] Computational task allocation: According to the characteristics of the input data, the requirements of the computational task and the type of the computational unit, the computational task is allocated to the appropriate computational unit for processing as soon as possible. For example, the feature extraction task of music audio data is allocated to the loop computational unit, the feature extraction task of image data is allocated to the convolutional computational unit, the feature extraction task of text data is allocated to the fully connected computational unit, etc. This ensures that each computational unit is processing the computational task that is most suitable for its design and optimization, thereby maximizing the use of computing resources and improving computing efficiency and performance.

[0057] After receiving input data, different computing units can perform parallel computing to increase computing speed. For example, feature extraction and computing task processing can be performed on multiple music audio, images, or texts at the same time, thereby speeding up the overall computing speed.

[0058] After each computing unit completes the computing task, the computing results are summarized by the result summary module, and the computing results can be summarized into one or more result buffers for subsequent processing or output. This ensures the consistency and integrity of the computing results and facilitates subsequent processing and application.

[0059] Thus, through the above computing task allocation process, different types of computing tasks can be effectively allocated and processed, computing resources can be maximized, and computing efficiency and performance can be improved. At the same time, through optimization measures such as parallel computing and calculation result aggregation, the overall computing speed can be accelerated, so that efficient artificial intelligence computing can be achieved in various application scenarios. In addition, during the working process of the present invention, the data input and format adaptation processing is also carried out through the intermediate adjustment module to ensure the compatibility and consistency between the input data and the computing task.

[0060] In one embodiment of the present invention, the computing unit can also be used to customize or dynamically adjust the identifier according to task requirements to facilitate subsequent data adaptation and normalization adjustment of input data. In other words, in addition to the data splitting and organization functions, the computing unit also has the function of customizing and dynamically adjusting the data identifier.

[0061] Specifically, the data format and / or length can be adjusted as needed, such as Figure 2 As shown, each data format can be adjusted. Figure 2 Four calculation units and their data formats before and after adjustment are shown in FIG.

[0062] In one embodiment of the present invention, the output data of each computing unit has different data formats and lengths, and the data identification of each computing unit is used as its own independent indication information, which serves as the basis for data extraction, adaptation, normalization adjustment and input. The intermediate adjustment module 2 may include an extraction unit, an adaptation unit, an adjustment unit and an input unit.

[0063] The extraction unit is used to extract the data identifiers of the corresponding two adjacent computing units and the output data of the previous computing unit in the corresponding two adjacent computing units, wherein the output data of the previous computing unit carries the data identifier of the computing unit.

[0064] An adaptation unit is used to adapt the format and length of the output data of the previous computing unit according to the extracted data identifiers of the corresponding two adjacent computing units to obtain the adapted output data of the previous computing unit, wherein the format and length of the adapted output data of the previous computing unit match the data identifier of the latter computing unit in the corresponding two adjacent computing units.

[0065] The adjustment unit is used to normalize the output data of the previous calculation unit after adaptation to obtain adjusted output data.

[0066] The input unit is used to input the adjusted output data into the latter calculation unit.

[0067] Furthermore, the output data of the computing unit includes audio data (such as music audio data) and image data, and may also include text data, etc. The normalization adjustment method may specifically include but is not limited to at least one of normalizing audio signals of audio data, normalizing pixel values ​​of image data, and normalizing character encoding of text data.

[0068] Specifically, the extraction unit extracts the data identifiers of the corresponding two adjacent computing units and the output data (portable data identifier) ​​of the previous computing unit in the corresponding two adjacent computing units. The adaptation unit can adapt the format and length of the previous output data according to the data identifiers of the front and rear adjacent computing units and the requirements of the computing task to obtain the adapted output data of the previous computing unit, so that it conforms to the data format identifier in the next computing unit. Data can be converted from one format to another so that different computing units can correctly understand and process the data. This can include converting data of different bit lengths, converting data of different data types (such as floating point, integer, etc.), or converting different data encoding formats. For example, converting data in FP32 format to FP16 or FP8 format, or converting data in INT8 format to INT4 format, etc. This step can be implemented by hardware circuits or software algorithms to ensure that the input data matches the data format in the current computing unit.

[0069] After data adaptation, the adjustment unit can normalize the output data of the previous calculation unit after adaptation to ensure that the data has a consistent data range and accuracy during the processing in the calculation unit, limit the data within a certain range, ensure processing consistency, and prevent data overflow or distortion. This can ensure that the range of data calculation results between different calculation units in the calculation task is consistent. For example, audio data is normalized by audio signal normalization, image data is normalized by pixel value normalization, and text data is normalized by character encoding normalization. This step can be implemented by hardware circuits or software algorithms to ensure that the processing effect of input data in the calculation unit is consistent.

[0070] After data adaptation and normalization, the input unit sends the adjusted output data to the corresponding computing unit in the computing array or DSP array, that is, the next computing unit for processing. Different computing units can flexibly process the input data according to their internal data identification and processing capabilities, thereby supporting different types of data and computing tasks.

[0071] The intermediate adjustment module 2 can be used to flexibly adapt and normalize the data format between computing units, ensuring that the data has a consistent data format and range during the processing within the computing unit, thereby achieving efficient data transmission and processing, ensuring the consistency and correctness of computing tasks between different computing units, and improving the performance adaptability and efficiency of the overall computing architecture.

[0072] After self-splitting and self-organizing processing of multiple computing units in the computing array or DSP array, the final calculation result is obtained. The computing unit will output the result, which can be the output of artificial intelligence tasks, such as audio enhancement and noise reduction, image recognition, natural language processing, etc.

[0073] The format and content of the output results will depend on the specific computing task. For example, in the computing task of recurrent neural network (RNN), the output result may be the sequence output obtained after processing by the RNN layer; in the computing task of convolutional neural network (CNN), the output result may be the feature map or classification result obtained after operations such as convolution and pooling; in the computing task of deep neural network (DNN), the output result may be the classification result obtained after processing by multiple layers of fully connected layers.

[0074] In addition, the data format and length of the output results can also be flexibly adjusted according to the task requirements and the design of the chip architecture. Since the computing unit supports data of any format length of 1-64 bits, the output results can be selected in a suitable data format as needed, such as 32-bit floating point, 16-bit floating point, 8-bit integer, etc., to meet the requirements of output data accuracy and storage requirements in different application scenarios.

[0075] In general, the output results of the working process of the embodiment of the present invention will be flexibly adjusted according to the specific computing tasks and the design of the chip architecture to meet the needs of different application scenarios and ensure the consistency and correctness of the output results.

[0076] In the entire workflow, through the computing array or multiple computing units in the DSP array, flexible support for different types of data and computing tasks is achieved, with the ability to customize and adjust data identification in real time, and realize self-splitting and self-organization of data, thereby improving computing efficiency and performance adaptability. At the same time, the design of the intermediate adjustment module can realize data extraction, adaptation and normalization adjustment based on data identification, thereby realizing self-splitting and self-organizing computing of the overall computing architecture.

[0077] Based on the above description, it can be known that the embodiment of the present invention takes the computing array or DSP array as the core, and the computing array or DSP array contains multiple computing units. The computing units can support tasks of different artificial neural computing networks. The computing networks may include CNN, DNN, SNN, RNN, FCNN, Transformer neural network, etc. Traditional computing processors only support data operations in specific formats, while the audio and image computing system of the embodiment of the present invention supports data of any format length of 1 to 64 bits. Through internal customization, each computing module can adopt a completely different data format length. During the transmission process, the data format is adjusted in real time according to the requirements of the computing task. The computing unit itself executes data splitting decisions and organization strategies, and realizes efficient real-time self-organization. Furthermore, a computing unit data identifier is designed for each computing unit as a separate indication information of the computing unit, and as a separate basis for data propagation and extraction, as well as for adapting the computing data and normalizing the input data. To perform the adaptation and normalization adjustment, an embodiment of the present invention proposes an intermediate adjustment module, which reads the data format of the previous and subsequent computing units and completes the adaptation adjustment within the module, so as to realize the self-splitting and self-organizing computing of the overall computing architecture, so as to complete the computing task more efficiently.

[0078] The beneficial effects of the embodiments of the present invention include but are not limited to the following aspects:

[0079] Data self-splitting and self-organization: The computing unit performs self-splitting and self-organizing calculations on the input data, and flexibly processes it according to task requirements and data formats, thereby making full use of computing resources and improving computing efficiency and performance. In other words, the computing unit itself can execute data splitting decisions and organization strategies, and achieve efficient real-time self-organizing calculations, so that it can flexibly adjust the calculation method according to task requirements and data characteristics, and improve computing performance and flexibility. Applicable to a variety of artificial neural computing networks: The chip architecture supports a variety of artificial neural computing networks, including CNN, DNN, SNN, RNN, FCNN, Transformer neural networks, etc., with wide applicability and application potential.

[0080] Supporting data processing in any format: Unlike traditional processor chips that only support data computing in a specific format, the audio and image computing system of the embodiment of the present invention supports data processing in any format length of 1 to 64 bits, has greater flexibility and adaptability, and can meet data processing requirements in different application scenarios;

[0081] Application of intermediate adjustment module: The embodiment of the present invention proposes an intermediate adjustment module, which can adapt and normalize the input and output data formats of the computing unit, thereby realizing self-splitting and self-organizing computing of the overall computing architecture, and improving the efficiency and accuracy of computing;

[0082] In summary, the audio and image computing system of the embodiment of the present invention has strong flexibility, high efficiency and adaptability, can improve computing performance and accuracy, is applicable to a variety of artificial neural computing networks, and has broad application prospects in the field of artificial intelligence.

[0083] In the present invention, unless otherwise clearly specified and limited, terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements.

[0084] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be construed as limitations on the present invention, and those of ordinary skill in the art can change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. An audio and image computing system supporting artificial neural networks and signal processing, It is characterized in that The system is based on a computing array or a DSP array as a core, the computing array or the DSP array includes a plurality of computing units supporting different artificial neural networks and corresponding computing tasks of signal processing, each of the computing units supports data of a preset format and length, each of the computing units includes a data identifier indicating the data format and length of the computing unit, the system also includes a connected task allocation module and at least one intermediate adjustment module, one of the intermediate adjustment modules is arranged between every two adjacent computing units, and the intermediate adjustment modules are respectively connected to the intermediate adjustment modules; The task allocation module is used to input each input data into the intermediate adjustment module within the first time of receiving the input data corresponding to all computing tasks, so that the intermediate adjustment module adapts and normalizes each input data according to each data identifier and then inputs it into the corresponding computing unit in the computing array or DSP array, wherein the input data includes audio data and image data; The intermediate adjustment module is used to adapt and normalize the output data of the first computing unit of the corresponding two adjacent computing units according to the data identifiers of the respective two adjacent computing units within the second time, and then input the output data into the second computing unit of the corresponding two adjacent computing units; The computing unit is used to split the input data into multiple split data through a preset self-splitting method. The computing units collaboratively process the split data through a preset self-organizing method, and input the processed split data into the corresponding computing unit through the intermediate adjustment module. The computing unit is also used to execute a computing operation program within a third time.

2. The audio and image computing system supporting artificial neural network and signal processing according to claim 1, It is characterized in that It also includes: a result aggregation module, which is used to aggregate the calculation results into one or more result buffers within a fourth time after each calculation unit completes the calculation operation, so as to be used for subsequent processing or output.

3. The audio and image computing system supporting artificial neural network and signal processing according to claim 1, It is characterized in that The task allocation module includes: A classification unit is used to classify all computing units into different types of computing units according to the design of the computing array or the internal DSP array, so that each computing unit corresponds to a different computing task; An acquisition unit, configured to perform demand analysis on a computing task to obtain computing demand, and perform feature extraction on input data corresponding to the computing task to obtain features of the input data; The allocation unit is used to allocate each input data to the corresponding computing unit in the computing array or DSP array in the first time according to the computing requirements of the computing task, the characteristics of the input data and the types of all computing units.

4. The audio and image computing system supporting artificial neural network and signal processing according to claim 3, It is characterized in that The different types of computing units include at least a loop computing unit and a convolution computing unit.

5. The audio and image computing system supporting artificial neural network and signal processing according to claim 3, It is characterized in that The feature extraction method specifically includes performing time domain or frequency domain feature extraction on audio data, and performing convolution operation on image data to extract feature graphs.

6. The audio and image computing system supporting artificial neural network and signal processing according to claim 1, It is characterized in that The computing unit is further used to customize or dynamically adjust the data identifier according to task requirements.

7. The audio and image computing system supporting artificial neural network and signal processing according to claim 1, It is characterized in that The output data of each computing unit has different data formats and lengths. The data identification of each computing unit serves as its own separate indication information, which serves as the basis for data extraction, adaptation, normalization adjustment and input. The intermediate adjustment module includes: An extraction unit, used to extract the data identifiers of the corresponding two adjacent computing units and the output data of the previous computing unit of the corresponding two adjacent computing units, wherein the output data of the previous computing unit carries the data identifier of the computing unit; an adapting unit, configured to adapt the format and length of the output data of the previous computing unit according to the extracted data identifiers of the corresponding two adjacent computing units, so as to obtain the adapted output data of the previous computing unit, wherein the format and length of the adapted output data of the previous computing unit match the data identifier of the latter computing unit of the corresponding two adjacent computing units; An adjustment unit, used for normalizing and adjusting the output data of the previous calculation unit after the adaptation to obtain adjusted output data; An input unit is used to input the adjusted output data into the subsequent calculation unit.

8. The audio and image computing system supporting artificial neural network and signal processing according to claim 7, It is characterized in that The output data of the calculation unit includes audio data and image data, and the normalization adjustment method specifically includes performing normalization processing on the audio data by performing audio signal normalization processing on the image data by performing pixel value normalization processing on the image data.

9. The audio and image computing system supporting artificial neural network and signal processing according to claim 1, It is characterized in that When executing computing operations, multiple different computing units perform distributed computing or parallel computing.

10. The audio and image computing system supporting artificial neural network and signal processing according to any one of claims 1 to 9, It is characterized in that The data format includes at least one of FP32, FP16, FP8, INT8 and INT4, and the preset format length ranges from 1 bit to 16 bits.

Citation Information

Patent Citations

  • Deep learning training task-oriented processor memory optimization method and device

    CN110751282A

  • Automatic design method of reconfigurable artificial intelligence core and heterogeneous multi-core chip

    CN111339027A

  • Data processing system and accelerator therefor

    CN112990450A

  • Method and hardware structure capable of realizing convolution calculation in multiple neural networks

    CN113344178A

  • Multi-task self-allocation and scheduling artificial intelligence chip architecture scheme

    CN117707786A