Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

14 results about "Transformation operator" patented technology

Multi-source heterogeneous data integration method and device fusing large model conversion operator

The embodiment of the invention provides a multi-source heterogeneous data integration method and device fusing a large model conversion operator. The method comprises the steps that heterogeneous data are collected from a multi-source heterogeneous data source, preprocessing operation of data cleaning is carried out, and preprocessed data features are obtained; inputting the preprocessed data features and the target format into a large language model, and generating a conversion operator including data structure analysis, field mapping and type adaptation; and based on the conversion operator, performing distributed parallel data conversion and integration in a distributed computing framework, and integrating and verifying the integrated data. According to the scheme, by introducing the intelligent reasoning ability of a large language model, the efficiency optimization of distributed calculation and the quality verification mechanism of the whole process, the core problems of the traditional data integration technology in the aspects of rule stiffness, high manual dependency and quality control deficiency are systematically solved.
Owner:BEIJING DATANG GOHIGH SOFTWARE TECH

Attention mechanism calculation optimization method and device, storage medium and program product

The embodiment of the invention provides an attention mechanism calculation optimization method and device, a storage medium and a program product, and relates to the technical field of artificial intelligence, and the method comprises the steps: executing a forward re-calculation operator based on a query block and a key block, and obtaining a forward normalization result. Executing a first matrix multiplication operator based on the output gradient block and the forward normalization result to obtain a value intermediate result, and executing a point multiplication summation operator in parallel based on the forward output block and the output gradient block to obtain an intermediate tensor; executing a first type of transformation operator on the value intermediate result to obtain value gradient blocks; and meanwhile, a gradient back propagation operator is executed in parallel based on the output gradient block, the value block, the intermediate tensor and the forward normalization result, and a reverse normalization result is obtained. And finally, on the basis of a reverse normalization result, the key blocks and the query blocks, obtaining query gradient blocks and key gradient blocks, so that effective pipeline processing is performed on different operators, and the overall performance of attention mechanism calculation is improved.
Owner:SHANGHAI BIREN TECH CO LTD

Execution management method and device of Spark SQL query plan tree based on DPU

The invention provides an execution management method and device for a Spark SQL query plan tree based on a DPU, and aims at allowing the mixed operation of the DPU and a CPU for a query task, improving the calculation performance and improving the resource utilization rate, carrying out the overall deployment of the query plan tree when a self-adaptive query execution mode is not operated, and carrying out the overall deployment of the query plan tree when all operators accord with the types supported by the DPU. The operator is preferentially unloaded to the DPU for operation, and otherwise, the operator is wholly processed by the CPU. And when the self-adaptive query execution mode runs, judging whether the currently intercepted sub-plan tree has a self-adaptive query execution operator or not, if so, judging whether the whole query plan tree can be unloaded and marked in the configuration list or not, and if not, querying the mark of the configuration list and delivering the current sub-plan tree to a DPU or a CPU for processing according to the mark. The execution management mode is integrally deployed for a single query task, so that introduction of additional row-column conversion operators and data replication overhead caused by the row-column conversion operators are avoided, resources are saved, and calculation performance is improved.
Owner:YUSUR TECH CO LTD

Automatic driving simulation test scene generation method based on text traffic accident report

The invention relates to an automatic driving simulation test scene generation method based on a text traffic accident report, and aims to apply a generative language model technology in the field of natural language processing, a code generation technology in the field of program synthesis and a fuzzy test theory in the field of software test. The problem that diversified and standardized high-quality simulation test scenes are lacked in the current automatic driving test field is solved, and the method can generate diversified scene files in the OpenSCENARIO format on the basis of natural languages, and mutates seed scenes through multiple transformation operators so as to efficiently discover defects existing in an automatic driving system.
Owner:NANJING UNIV

Optimization method, device, storage medium and program product for attention mechanism calculation

The embodiment of the present application provides an optimization method, device, storage medium and program product for attention mechanism calculation, which relates to the field of artificial intelligence technology. The method includes: executing a forward recalculation operator based on the query block and the key block to obtain a forward normalization result. Executing a first matrix multiplication operator based on the output gradient block and the forward normalization result to obtain a value intermediate result, and simultaneously executing a dot product summation operator based on the forward output block and the output gradient block in parallel to obtain an intermediate tensor. Executing a first type of transformation operator on the value intermediate result to obtain a value gradient block; and simultaneously executing a gradient backpropagation operator based on the output gradient block, the value block, the intermediate tensor and the forward normalization result in parallel to obtain a reverse normalization result. Finally, based on the reverse normalization result, the key block and the query block, the query gradient block and the key gradient block are obtained, thereby achieving effective pipeline processing of different operators, thereby improving the overall performance of the attention mechanism calculation.
Owner:SHANGHAI BIREN TECH CO LTD

An Execution Management Method and Device for Spark SQL Query Plan Trees Based on DPU

The present invention provides an execution management method and device for a Spark SQL query plan tree based on DPU, which allows hybrid computing of DPU and CPU for query tasks, improves computing performance and resource utilization rate. When the adaptive query execution mode is not running, the query plan tree is deployed as a whole. When all operators conform to the types supported by DPU, the operators are preferentially offloaded to DPU for operation, otherwise the whole is handed over to CPU for processing. When the adaptive query execution mode is running, first judge whether the currently intercepted sub-plan tree has an adaptive query execution operator. If so, first judge whether the entire query plan tree can be offloaded and marked in the configuration sheet. If not, query the mark in the configuration sheet and hand over the current sub-plan tree to DPU or CPU for processing according to the mark. This execution management method deploys the whole for a single query task, avoiding the introduction of additional row-column conversion operators and the data replication overhead brought by the row-column conversion operators, saving resources and improving computing performance.
Owner:YUSUR TECH CO LTD

Tensor arrangement change compiling method and device and storage medium

The invention discloses a tensor arrangement change compiling method, a tensor arrangement change compiling device and a computer readable storage medium. The compiling method is applied to an artificial intelligence model, and the compiling method comprises the following steps: obtaining a computational graph of the artificial intelligence model; carrying out dynamic analysis on the calculation graph, identifying the existing tensor arrangement conversion operation and the position where tensor arrangement conversion needs to be inserted, and inserting an arrangement conversion operator at the corresponding position so as to update the calculation graph; analyzing the updated calculation graph to obtain an analysis result; simplifying redundant tensor operation according to an analysis result, and forming a corresponding operator demand; an optimization operator is generated by combining operator requirements and hardware design; and forming a compilation instruction for the computational graph according to the optimization operator. According to the technical scheme, the tensor conversion efficiency can be effectively improved.
Owner:BEIJING YIXIN YIYU MICROELECTRONICS TECH CO LTD

Compiler optimization method, electronic device and storage medium

A compiler optimization method, electronic device and storage medium. The compiler optimization method includes: using a compiler to compile input data to obtain compiled data, wherein the compiled data contains a first operator; using a first conversion function to configure the first operator, wherein the first conversion function is used to convert a first storage space access mode supported by the first operator into a second storage space access mode; based on the first conversion function, modifying the calling method of the first operator in the compiler to convert the first operator into a second operator, wherein the second operator supports the second storage space access mode. The compiler optimization method expands the types of data access modes supported by high-performance compilers in deep learning frameworks, and does not require calling conversion operators for additional tensor format conversions, thereby improving the execution efficiency of computing tasks and improving the performance of artificial intelligence chips.
Owner:北京壁仞科技开发有限公司 +1

Method and apparatus for inserting a conversion operator

The application provides a method for inserting a conversion operator, which comprises: determining an initial data format of a first operator in a neural network; determining a current data format of the first operator; when the initial data format of the first operator is different from the current data format, inserting at least one first conversion operator and at least one second conversion operator around the first operator, the first conversion operator being used for converting input data of the first operator from the initial data format to the current data format, and the second conversion operator being used for converting output data of the first operator from the current data format to the initial data format. In the method, the initial data format is a data format beneficial to hardware performance, and the current data format is a data format beneficial to improving processing efficiency of the first operator; therefore, the conversion operator is inserted according to the initial data format and the current data format of the first operator, so that the requirements of the operator and the requirements of hardware can be met simultaneously.
Owner:HUAWEI TECH CO LTD

High-transferability confrontation sample generation method and device based on model amplification

The invention discloses a high-transferability adversarial sample generation method and device based on model amplification, and the method comprises the steps: training an obtained network model to obtain an agent model; constructing an input transformation operator set and a random disturbance set, and amplifying the proxy model according to the input transformation operator set or the random disturbance set to generate a neighbor model of the proxy model in the hypothesis space; building a stochastic optimization problem according to the neighbor model, and solving the stochastic optimization problem by using a gradient ascending method based on momentum to generate a confrontation sample; therefore, the proxy model is amplified in the hypothesis space, the solvable migration attack target is constructed, and the random optimization algorithm based on operator-disturbance is adopted for solving, so that the generated adversarial sample has the characteristics of low overhead, high efficiency and high expandability.
Owner:JIMEI UNIV +1

Large language model operator conversion system and method and AI accelerator

The invention provides a large language model operator conversion system and method and an AI accelerator, the system comprises an operator identification module, a conversion module and a model reconstruction module, the operator identification module analyzes a computational graph structure of an input model to identify convertible operators meeting preset conversion conditions in the computational graph structure; the conversion module converts the convertible operator into an equivalent operator sequence based on a preset conversion strategy; and the model reconstruction module replaces nodes corresponding to convertible operators in the computational graph of the input model with an equivalent operator sequence, updates the connection relation and the weight initializer, and generates an updated model. According to the system, pipeline processing of model optimization is realized through an identification rule and a conversion strategy, and adaptation for different hardware platforms can be realized by updating a preset conversion condition and a conversion strategy, so that the problems of low deployment efficiency and low expandability on a CNN (Convolutional Neural Network) accelerator are solved.
Owner:NANJING UNIV

A model design method, device, apparatus and storage medium

The application discloses a model design method and device, equipment and a storage medium, and relates to the technical field of computers, which comprises the following steps: obtaining an original model, and obtaining an operator satisfying a preset condition from the original model to obtain a target operator; inserting a first conversion operator and a second conversion operator in front of the target operator; distributing the target operator to a target compiler, and distributing the first conversion operator and the second conversion operator to a central processing unit to obtain a compiled model. The application increases the conversion operator in front of the operator satisfying the preset condition, and distributes the conversion operator to the central processing unit, so that the central processing unit converts the data that cannot be used by the target operator into usable data, and then sends the data to the target compiler for processing, thereby realizing the conversion of the data mode, improving the equipment utilization rate of the target compiler and the processing speed of the model.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Data traffic analysis method and device based on multi-scale binary representation view

The invention discloses a data traffic analysis method and device based on a multi-scale binary representation view, and the method comprises the steps: collecting the original data traffic of a mixed node of equipment, carrying out the shunting processing of the original data traffic, marking the original data traffic according to the equipment, and obtaining the preprocessing data traffic; performing multi-dimensional and different-scale feature extraction and integration on the preprocessed data traffic to obtain a comprehensive feature vector, and establishing a comprehensive feature vector matrix; defining a plurality of transformation operators; performing transformation operation on the comprehensive feature vector matrix through each transformation operator to obtain transformation features, and integrating the transformation features to generate a representation view; performing binary optimization mapping based on the representation view to generate a binary representation view; according to an analysis task, inputting the binary representation view into a pre-established learning model corresponding to the corresponding analysis task to obtain an analysis result; according to the method, the data traffic can be analyzed more comprehensively.
Owner:YANCHENG POWER SUPPLY CO STATE GRID JIANGSU ELECTRIC POWER CO +2

A method and system for constructing and adapting a semantic foundation for hydraulic model data.

This invention discloses a method and system for constructing and adapting a semantic foundation for water conservancy model data, relating to the fields of water conservancy informatization and multi-source data processing. The method includes: establishing a first-layer source mapping that maps fields and attributes of multi-source water conservancy data to standard variables, and a second-layer model binding that maps standard variables to fields of the target water conservancy model; based on the semantic signatures of each required field in the data contract of the target water conservancy model, filtering data records whose available time is no later than the deadline and whose data roles are permitted, searching for transformation operators that meet the preconditions, and compiling a directed acyclic graph execution plan; executing each node to obtain model input data and performing joint verification; obtaining a complete dependency closure through backward traversal of the trailing edges, freezing it along with the hash value into a model input package, which can only be read by the model after freezing. This invention can prevent semantic conflicts and late-arriving data from entering the input before model execution, making the model input traceable and replayable.
Owner:GUANGDONG RES INST OF WATER RESOURCES & HYDROPOWER