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

32 results about "Q-matrix" patented technology

In mathematics, a Q-matrix is a square matrix whose associated linear complementarity problem LCP(M,q) has a solution for every vector q.

Anti-pinch early warning method and device and electronic equipment

The invention discloses an anti-pinch early warning method and device and electronic equipment. Relates to automation field. The method comprises the following steps: determining a distance value between each sensing point location of a sensor module and the sensor module, and constructing a target distance matrix according to the distance values; obtaining an operation state value of the mobile terminal, and determining a target template matrix according to the operation state value; performing difference calculation on the target distance matrix and the target template matrix according to a preset rule to obtain a target difference matrix, and grouping matrix element values in the target difference matrix according to connectivity of the matrix element values in the target difference matrix to obtain Q matrix element value sets; and determining the number of elements in each matrix element value set, and determining an anti-pinch early warning result according to the number of the elements. Through the method and the device, the problem that the risk that a user is pinched is relatively high since the anti-pinch operation can be started only after the mobile terminal of the target equipment is detected to be in contact with the foreign matter in the related technology is solved.
Owner:DEWERTOKIN TECHNOLOGY GROUP CO LTD

Knowledge tracking intelligent learning guiding method based on automatic Q matrix

The invention discloses a knowledge tracking intelligent learning guiding method based on an automatic Q matrix, and belongs to the technical field of knowledge learning guiding, and the method comprises the steps: obtaining a historical answer record of a student, processing the historical answer record of the student according to an answer timestamp of the student, and obtaining an answer record data set; constructing an encoder, a decoder and an ideal response module based on a Q matrix, and introducing the ideal response module into the encoder-decoder architecture to generate an AQKT model; training the AQKT model through a public data set to obtain an intelligent learning guiding model; and inputting the answer record data set into the intelligent learning guiding model for calculation to obtain a learning guiding result. The invention provides a prediction method which fully combines a student knowledge state and a Q matrix on the basis of a deep attention mechanism, so that the cost of marking concept labels by experts is reduced.
Owner:LANZHOU UNIV

Knowledge state prediction method and device based on modified Q matrix and attention mechanism

The invention discloses a knowledge state prediction method and device based on a correction Q matrix and an attention mechanism, and the method comprises the steps: firstly carrying out the knowledge point diagnosis of a learner through employing an existing correction Q matrix based on a knowledge point precedence dependency relation graph; the problems that in a traditional cognitive diagnosis model, an expert Q matrix is prone to errors, and labor consumption of labeling is too large are solved. Secondly, the correction Q matrix neglects the association between exercises, so that the difficulty distinction degree of knowledge points is insufficient, and the accuracy of a cognitive diagnosis result is not high. In order to improve the difficulty distinction degree of knowledge points, the invention provides an exercise association degree measurement model based on a hypergraph attention mechanism, and more accurate exercise similarity is obtained. And the difficulty distinguishing degree of the knowledge points is improved by improving the practice similarity. And finally, in a diagnosis stage, information aggregation and updating are carried out by introducing Transform to a project reaction theory, the optimal knowledge point proficiency degree is predicted, and finally the knowledge state of the student is obtained.
Owner:HUAZHONG NORMAL UNIV

Method and apparatus for attention calculation in artificial intelligence model

PCT designated stageWO2025156950A1Machine learningComplex mathematical operationsQ-matrixAlgorithm
Embodiments of the present application relate to the technical field of artificial intelligence. Disclosed are a method and apparatus for attention calculation in an artificial intelligence model. The method comprises: acquiring a plurality of elements requiring attention calculation; generating a Q matrix, a K matrix, and a V matrix required for attention calculation and corresponding to the plurality of elements; determining a position of valid data in a relation matrix corresponding to the Q matrix and the K matrix; on the basis of the determined position of the valid data in the relation matrix, determining calculation data for matrix multiplication calculation in the Q matrix and the K matrix; performing matrix multiplication calculation on the determined calculation data in the Q matrix and the K matrix to obtain the relation matrix; and performing an operation on the relation matrix and a V matrix to implement attention calculation. By means of the present application, invalid data can be prevented from participating in attention calculation, thereby improving the attention calculation efficiency.
Owner:HUAWEI TECH CO LTD

Data processing method and device, equipment and medium

PendingCN119721125ANeural learning methodsQ-matrixAlgorithm
The invention relates to the field of data processing, in particular to a data processing method and device, equipment and a medium, and the method comprises the steps: adjusting an attention mechanism module, specifically, converting a transposed matrix of a matrix K in a parameter matrix into a first convolution layer, and converting a matrix C in the parameter matrix into a second convolution layer; performing convolution operation on the first convolution layer and a q tensor corresponding to a Q matrix in the parameter matrix to obtain a first tensor; carrying out convolution operation on the first tensor and the second convolution layer to obtain a second tensor; performing respe operation on the second tensor to obtain a target matrix; and carrying out model training by utilizing a training model which comprises an attention mechanism module and is provided with at least two sections of sub-models to obtain a data processing model. By equivalently replacing operators with large calculation amount in the attention mechanism, the calculation amount of some operators with strong performance is simplified, and the operators can be deployed on a small-calculation-power chip.
Owner:IMOTION AUTOMOTIVE TECH (SUZHOU) CO LTD

Method and device for attention calculation in artificial intelligence model

The embodiment of the invention discloses an attention calculation method and device in an artificial intelligence model, and belongs to the technical field of artificial intelligence. The method comprises the following steps: acquiring a plurality of elements which need to be subjected to attention calculation; generating a Q matrix, a K matrix and a V matrix required by attention calculation corresponding to the plurality of elements; and determining the positions of effective data in the relation matrix corresponding to the Q matrix and the K matrix in the relation matrix. And determining calculation data for matrix multiplication calculation in the Q matrix and the K matrix according to the determined position of the effective data in the relation matrix. And performing matrix multiplication calculation on the determined Q matrix and K matrix calculation data to obtain a relation matrix. And carrying out operation on the relation matrix and the V matrix to realize attention calculation. By adopting the data processing method and device, invalid data can be prevented from participating in the attention calculation, and the efficiency of the attention calculation can be improved.
Owner:HUAWEI TECH CO LTD

Minimum-delay fine-grained parallel Givens rotation method for ultra-large-scale matrix QR decomposition

The present invention discloses a method for minimal-delay fine-grained parallel Givens rotation of ultra-large-scale matrix QR decomposition, relating to the technical field of signal and information processing. The method comprises: an outer loop and an inner loop, wherein the outer loop is responsible for calculating a row vector of a Q matrix and an R matrix, and the inner loop is responsible for the Givens rotation of the two row vectors; the outer loop is decomposed into multiple loop blocks and a multi-level PE unit array is used to realize parallel operation of the outer loop slices, while the parallel calculation of the inner loop slices is realized by a step-by-step decreasing element update module inside the PE unit; the collaborative design of the inner and outer loop slices significantly reduces the idle time of hardware resources and optimizes the generation and transmission of key data, so that the system starts calculation with minimal delay; the method improves the utilization efficiency of hardware accelerators and is suitable for ultra-large-scale matrix decomposition tasks in the fields of signal processing, image processing, and scientific computing.
Owner:HEFEI UNIV OF TECH

Minimum delay fine-grained parallel Givens rotation method for super-large scale matrix QR decomposition

The invention discloses a super-large scale matrix QR decomposition minimum delay fine granularity parallel Givens rotation method, and relates to the technical field of signal and information processing, the method comprises an outer layer cycle and an inner layer cycle, the outer layer cycle is responsible for calculation of a row vector of a Q matrix and a row vector of an R matrix, and the inner layer cycle is responsible for Givens rotation of the two row vectors; an outer layer cycle is decomposed into a plurality of cycle blocks, parallel operation of an outer layer cycle piece is achieved through a multi-stage PE unit array, and meanwhile parallel calculation of an inner layer cycle piece is achieved in a PE unit through a step-by-step decreasing element updating module; the idle time of hardware resources is remarkably shortened through the collaborative design of the inner circulation piece and the outer circulation piece, generation and transmission of key data are optimized, and the system starts calculation with the minimum delay; the method improves the utilization efficiency of the hardware accelerator, and is suitable for super-large-scale matrix decomposition tasks in the fields of signal processing, image processing, scientific calculation and the like.
Owner:HEFEI UNIV OF TECH

Method and system for energy-efficient approximate digital JPEG and mjpeg-compression

ActiveUS20250350725A1Digital video signal modificationQ-matrixAlgorithm
A system and method for energy-efficient approximate digital JPEG and MJPEG-compression. The system includes a controller unit to control a processing loop for processing image blocks based on a comparison of a current image block to a previous image block. The system includes a quantization unit configured to quantize the frequency domain representation using an approximate quantization process and a quantization (Q) matrix. The quantization unit is configured to: identify, a nearest power of two value for each element of the quantization matrix; generate an updated Q matrix by assigning each element of the quantization matrix with the identified nearest power of two value; and shift each element of the updated Q matrix by a number of bits to generate a quantized frequency domain representation. The number of bits corresponds to the identified nearest power of two for the corresponding element of the updated Q matrix.
Owner:QUASISTATICS INC

Spherical decoding detection method and device, electronic equipment and readable storage medium

ActiveCN118337571Bimplementation complexitysimple calculationQR decompositionQ-matrix
The application discloses a spherical decoding detection method and device, electronic equipment and a readable storage medium, and belongs to the technical field of wireless communication. The application obtains a Q matrix and an R matrix by performing orthogonal triangular QR decomposition on a channel response matrix, wherein each column in the Q matrix is arranged according to the size of channel energy; determines a target equalization signal according to the Q matrix and the R matrix; performs an ML path search process according to the target equalization signal to select N branches with minimum metrics as survivor paths; performs ML complement path search on the survivor paths to obtain ML complement paths; takes the survivor paths with minimum metrics as ML paths, and obtains the likelihood ratio information of each bit of each symbol at each layer according to the ML paths and the ML complement paths. The application can reduce the operation complexity of the spherical decoding algorithm while maintaining the decoding detection performance.
Owner:SANECHIPS TECH CO LTD

Intelligent q matrix generation method, system and terminal fusing topic semantic information

ActiveCN115357758BBiological modelsOther databases browsing/visualisationQ-matrixAnnotation Type
The application belongs to the field of artificial intelligence and educational interactive technology, and discloses an intelligent Q matrix generation method, system and terminal fusing question semantic information, which uses BiLSTM+Transformer to obtain mathematical knowledge points in a data set, and uses CRF to correct the annotation type of each word to output the mathematical knowledge points; uses BiGRU+Attention mechanism to extract the relationship of the knowledge points, and outputs the relationship between each knowledge point pair; uses the relationship between the knowledge points to design a redundant knowledge point reduction algorithm, reduces the redundant knowledge points through the reduction algorithm, and generates a Q matrix using the knowledge point set after reduction. The application can achieve a relatively high knowledge point extraction rate by using the Transformer+BiLSTM+CRF method, and can output the relationship between the knowledge point pairs more accurately by using the BiGRU+Attention method.
Owner:HUAZHONG NORMAL UNIV

Anti-pinch early warning method and apparatus, and electronic device

PCT designated stageWO2026060965A1AlarmsElectromagnetic wave reradiationForeign matterQ-matrix
The present application relates to the field of automation, and discloses an anti-pinch early warning method and apparatus, and an electronic device. The method comprises: determining distance values between sensing points of a sensor module and the sensor module, and constructing a target distance matrix on the basis of the distance values; acquiring an operating state value of a movable end, and determining a target template matrix on the basis of the operating state value; performing differential calculation on the target distance matrix and the target template matrix according to a preset rule to obtain a target difference matrix, and grouping matrix element values in the target difference matrix on the basis of connectivity of the matrix element values in the target difference matrix, so as to obtain Q matrix element value sets; and determining the number of elements in each matrix element value set, and determining an anti-pinch early warning result on the basis of the number of elements. The present application solves the problem in the related art of a high risk of a user being pinched due to the fact that an anti-pinch operation can be started only upon detecting that a movable end of a target device is in contact with a foreign matter.
Owner:DEWERTOKIN TECHNOLOGY GROUP CO LTD

A Likelihood-Based Q-Matrix Estimation Method for Cognitive Diagnosis

ActiveCN120596861BData processing applicationsQ-matrixMedicine
The application discloses a likelihood-based cognitive diagnosis Q matrix estimation method, belongs to the field of cognitive diagnosis evaluation, and comprises the following steps: obtaining response data of students to questions and a partially defined Q matrix, fitting a G-DINA model to obtain a posterior distribution of a student attribute vector, and calculating a marginal likelihood based on the posterior distribution. Furthermore, the fitting degrees of different q vectors are evaluated through AIC or BIC values, the optimal q vector is selected to gradually fill unknown parts of the Q matrix, and the process is continued until convergence. The method reduces the dependence on experts, improves the accuracy and efficiency of Q matrix estimation, and is suitable for large-scale education evaluation scenarios.
Owner:JINAN UNIVERSITY

A model inference method, apparatus, cluster, product, and storage medium.

This application provides a model inference method, apparatus, cluster, product, and storage medium, relating to the field of AI, which can save cache resources of computing nodes. The method includes: receiving an inference request; and in response to the inference request, running a model to perform the following steps: generating a first KV matrix; wherein the first KV matrix includes at least one head K matrix and at least one head V matrix; obtaining a head Q matrix set; wherein the head Q matrix set includes: a first head Q matrix and a second head Q matrix; the first head Q matrix is ​​a head Q matrix generated by a first computing node, and the second head Q matrix is ​​a head Q matrix generated by a second computing node; the KV matrix generated by the second computing node is the first KV matrix; and obtaining an inference result corresponding to the inference request based on the first K matrix, the first V matrix, and the head Q matrix set; wherein the first K matrix is ​​a partial matrix from at least one head K matrix, and the first V matrix is ​​a partial matrix from at least one head V matrix.
Owner:HUAWEI TECH CO LTD

Method and system for energy-efficient approximate digital JPEG and MJPEG-compression

ActiveUS12684123B2Q-matrixAlgorithm
A system and method for energy-efficient approximate digital JPEG and MJPEG-compression. The system includes a controller unit to control a processing loop for processing image blocks based on a comparison of a current image block to a previous image block. The system includes a quantization unit configured to quantize the frequency domain representation using an approximate quantization process and a quantization (Q) matrix. The quantization unit is configured to: identify, a nearest power of two value for each element of the quantization matrix; generate an updated Q matrix by assigning each element of the quantization matrix with the identified nearest power of two value; and shift each element of the updated Q matrix by a number of bits to generate a quantized frequency domain representation. The number of bits corresponds to the identified nearest power of two for the corresponding element of the updated Q matrix.
Owner:QUASISTATICS INC

Model inference method and apparatus, and cluster, product and storage medium

PCT designated stageWO2026232836A1Memory systemsQ-matrixAlgorithm
The embodiments of the present application relate to the field of AI. Provided are a model inference method and apparatus, and a cluster, a product and a storage medium, which can save cache resources of computing nodes. The method comprises: receiving an inference request, and in response to the inference request, running a model to execute the following steps: generating a first KV matrix, wherein the first KV matrix comprises at least one head K matrix and at least one head V matrix; acquiring a head Q matrix set, wherein the head Q matrix set comprises a first head Q matrix and a second head Q matrix, the first head Q matrix is a head Q matrix that is generated by a first computing node, the second head Q matrix is a head Q matrix that is generated by a second computing node, and a KV matrix that is generated by the second computing node is the first KV matrix; and on the basis of a first K matrix, a first V matrix and the head Q matrix set, obtaining an inference result corresponding to the inference request, wherein the first K matrix is a partial matrix of the at least one head K matrix, and the first V matrix is a partial matrix of the at least one head V matrix.
Owner:HUAWEI TECH CO LTD

Personalized learner knowledge cognition level mining method and system based on subjective and objective test question collaborative modeling

The invention belongs to the field of knowledge cognition level mining and adaptive teaching systems, and provides a personalized cognition level mining method based on subjective and objective test question collaborative modeling. Obtaining learner-test question interaction data, constructing a knowledge point vector according to the Q matrix, and generating an initial mastering vector based on the student ID; three types of personalized parameters including slip, guess and difficulty are introduced, and the difficulty and the mastery degree are modulated and then spliced with the Q matrix to form a feature sequence; a bidirectional LSTM is adopted to extract time sequence dependence, a knowledge state input update network is combined, and state estimation is dynamically generated; and splicing with a test question Q vector, inputting into a score prediction network, and fusing slip and guess to construct an improved IRT function. Training is supervised by using historical answer records, prediction errors are minimized, an early stop mechanism is introduced, objective question accuracy and subjective question mean square errors are output, multi-dimensional evaluation is realized, and prediction performance and universality are improved.
Owner:HUAZHONG NORMAL UNIV

Moving target trajectory prediction method based on EKF

The invention discloses an EKF moving target trajectory prediction method, a moving target refers to a current observation armor plate of a target vehicle, and the method comprises the following steps: constructing a state transition function of the target vehicle and an observation function of the target vehicle, calculating a Jacobian matrix of the state transfer function and a Jacobian matrix of the observation function; converting a nonlinear system of the target vehicle into an approximately linear system; and inputting the observed world coordinates of the armor plate and the deflection angle theta of the armor plate into an extended Kalman filter (EKF), and predicting the angular velocity of the armor plate so as to obtain the position information of the armor plate at the next moment. Meanwhile, the problem that the deflection angle of the armor plate jumps under a world coordinate system is solved, and correct observed quantity is input. By adjusting the Q matrix, curve fast filtering of extended Kalman filtering is achieved, and finally more accurate angular velocity prediction of the target vehicle is achieved.
Owner:CHINA UNIV OF MINING & TECH

An adaptive cruise decision-making method fusing Q algorithm and fuzzy state division

The application provides a self-adaptive cruise decision method combining Q algorithm and fuzzy state division, comprising the following steps: step 1, establishing a discrete state variable model; step 2, establishing a fuzzy variable model; step 3, initializing the value in the Q matrix, setting the learning rate alpha, the attenuation rate gamma and the reward value r; step 4, calculating the fitness mu i (s) and selecting the state with the maximum fitness mu k (s); step 5, selecting the action to be executed b; step 6, executing the action b to obtain the next time state s' and the reward value r; step 7, calculating the confidence degree omega j and updating the Q value; step 8, discretizing the continuous action; step 9, judging whether the stopping condition of the self-adaptive cruise task is met, if yes, the self-adaptive cruise task is stopped, if not, the step of calculating the fitness is entered again. The method solves the problems that the traditional algorithm has poor effect due to insufficient training samples and unbalanced collection and cannot be implemented due to the limited storage space of the matrix.
Owner:ENG UNIV OF THE CHINESE PEOPLES ARMED POLICE FORCE

A method for multi-target vector fitting

A method for multi-objective vector fitting includes the following steps: 1) processing a given dataset to construct a single-objective fitting dataset; 2) determining initial poles and using the initial poles and frequency sampling points to establish a fundamental matrix; 3) separating the real and imaginary parts of the fundamental matrix to construct a real fundamental matrix; 4) performing a simplified QR decomposition on the real fundamental matrix to obtain the first M columns of the complete Q matrix, denoted as Q. s Matrix, and for Q s The matrix is ​​stored; 5) Construct and solve the pole coefficient equation to obtain the pole coefficients; 6) Construct the pole characteristic equation using the pole coefficients and the initial poles to calculate the new poles; 7) Calculate the residues of each matrix element corresponding to the new poles to complete the vector fitting. This invention provides a method for multi-objective vector fitting that significantly reduces the computational complexity and improves computational efficiency.
Owner:EMPYREAN TECH CO LTD

Methods, processors, computing devices, and program products that perform attention computations

PendingCN123180219AQ-matrixAlgorithm
The embodiment disclosed by the application belongs to the technical field of artificial intelligence, and particularly relates to a method for performing Attention calculation, a processor, a computing device and a program product. The method comprises the following steps: in the case that a first K vector is added to a K matrix, and the unquantized K vectors included in the K matrix reach a first number, performing quantization processing on a first matrix block composed of the first number of unquantized K vectors to obtain a second matrix block. Based on the second matrix block included in the K matrix, a mean vector for calculating the second matrix block, and the Q matrix, calculation is performed to obtain a similarity matrix. Based on the similarity matrix and the V matrix, calculation is performed to obtain a calculation result of the Attention calculation. By using the application, the efficiency of the processor in performing the Attention calculation can be improved.
Owner:HUAWEI TECH CO LTD

An oil well production prediction method, device, storage medium and electronic equipment

The present application belongs to the field of artificial intelligence selection in oil exploitation, and provides a method and device for predicting the yield of an oil well, a storage medium and an electronic device, the method comprising: sequentially inputting training set data in a training set into a bidirectional long short-term memory network branch and a time-frequency transformer branch for processing, and outputting a first prediction value and a second prediction value; calculating a Q matrix based on the first prediction value, and calculating a K matrix and a V matrix based on the second prediction value; performing fusion processing on the Q matrix, the K matrix and the V matrix through a multi-head attention mechanism to obtain a fused result; after converting the fused result through a linear layer, obtaining an optimal parameter model through iterative training; and predicting the oil yield of a target oil well through the optimal parameter model to predict the oil yield of the target oil well. Through the prediction method, the oil yield of the target oil well can be accurately predicted.
Owner:CNPC XIBU DRILLING ENG +1

Efficient large-model full-process encryption method

The invention belongs to the technical field of large model security, and particularly relates to an efficient large model full-process encryption method. Comprising the steps of traversing a large model and performing operation deployment; the GPU calculates an attention score matrix and positions important parameters in a Q matrix and a K matrix; partitioning the Q matrix and the K matrix; the GPU extracts important parameters from each block and constructs a block parameter packet; after the TEE verifies the block parameter packet, OTP encryption is carried out on the important parameters, and encrypted blocks are generated; the GPU restores the encryption parameter to a parameter position corresponding to the original block to form a semi-encryption block; executing parallel linear ciphertext operation on the semi-encrypted blocks to generate ciphertext operation result blocks; the TEE performs block decryption on the ciphertext operation result, then performs nonlinear operation, and performs secondary OTP encryption on the nonlinear operation result to generate a secondary encryption result; and the GPU directly uses the secondary encryption result to carry out linear calculation, and then transmits the result back to the TEE to decrypt until a reasoning result is obtained, so that the security of sensitive parameter encryption is remarkably improved, and the efficiency is remarkably improved.
Owner:CHONGQING UNIV OF POSTS & TELECOMM

A QC-LDPC coding transmission method based on Q matrix

The present invention discloses a QC-LDPC coding transmission scheme based on a Q matrix. The scheme is based on a hard decision decoding-bit flipping (Bit-Flipping, BF) decoding algorithm, and introduces a correlation matrix of a reversible quasi-cyclic Q matrix during encoding to make an error vector associated with the matrix Q. This connection is used during decoding to make the values ​​of the flipped reference vector also correlated. This decoding method is called a Q decoding algorithm. In addition, under the transmission scheme proposed by the present invention, in addition to using a hard decision Q decoding algorithm during decoding, some channel soft information can also be introduced to define an RQ decoding algorithm to further improve the decoding performance. Simulation results show that when the scheme adopts the Q decoding algorithm, a lower bit error rate can be obtained than that of BF decoding; when the RQ decoding algorithm is adopted, a lower bit error rate can be obtained than that of weighted bit flipping (Weighted Bit-Flipping, WBF) decoding. In addition, the number of decoding iterations under the scheme of the present invention is reduced, and the decoding performance is significantly improved.
Owner:YANGTZE DELTA REGION INST OF UNIV OF ELECTRONICS SCI & TECH OF CHINE (HUZHOU) +1

Oil well yield prediction method and device, storage medium and electronic equipment

ActiveCN120744874AForecastingBiological modelsQ-matrixEngineering
The invention belongs to the field of artificial intelligence selection in oil exploitation, and provides an oil well yield prediction method and device, a storage medium and electronic equipment, and the method comprises the steps: sequentially inputting training set data in a training set into a bidirectional long-short-term memory network branch and a time-frequency converter branch for processing, outputting a first predicted value and a second predicted value; calculating a Q matrix based on the first predicted value, and calculating a K matrix and a V matrix based on the second predicted value; performing fusion processing on the Q matrix, the K matrix and the V matrix through a multi-head attention mechanism to obtain a fused result; after a fused result is converted through a linear layer, an optimal parameter model is obtained through iterative training; the oil production of the target oil well is predicted through the optimal parameter model, and the oil production of the target oil well is predicted. Through the prediction method, the oil production of the target oil well can be accurately predicted.
Owner:CNPC XIBU DRILLING ENG +1

Student cognitive diagnosis method, system and device based on knowledge dependence propagation and adaptive Q matrix optimization, and storage medium

The invention discloses a student cognitive diagnosis method, system and device based on knowledge dependence propagation and adaptive Q matrix optimization and a storage medium, and belongs to the technical field of student cognitive diagnosis. The method comprises the following steps: acquiring a student-practice interaction pair comprising a student ID and a practice ID and a knowledge premise graph comprising a plurality of knowledge concepts; inputting the student-practice interaction pair and the knowledge premise graph into a pre-trained cognitive diagnosis model to obtain a student answer result predicted value; wherein the cognitive diagnosis model comprises an embedded vector generation module, a knowledge dependence propagation module, a Q matrix adaptive optimization module and a prediction module. According to the invention, the mastery degree of the students on each knowledge concept can be accurately evaluated, and the correct rate of the answering results of the students can be predicted.
Owner:NANJING XIAOZHUANG UNIV

Knowledge state prediction method and device based on modified Q matrix and attention mechanism

The present invention discloses a knowledge state prediction method and device based on a modified Q matrix and an attention mechanism, wherein the method first uses the existing modified Q matrix based on the knowledge point prerequisite dependency graph to diagnose the learner's knowledge points, overcoming the problem that the expert Q matrix in the traditional cognitive diagnosis model is prone to errors and the manual consumption of annotation is too large. Secondly, the modified Q matrix ignores the association between exercises, which makes the knowledge point difficulty discrimination insufficient, resulting in low accuracy of cognitive diagnosis results. In order to improve the knowledge point difficulty discrimination, the present invention proposes an exercise association measurement model based on a hypergraph attention mechanism, and obtains a more accurate exercise similarity. The knowledge point difficulty discrimination is improved by improving the exercise similarity. Finally, in the diagnosis stage, the present invention introduces Transformer into the item response theory to aggregate and update information, predicts the optimized knowledge point proficiency, and finally obtains the student's knowledge state.
Owner:HUAZHONG NORMAL UNIV

Visual transformer inference optimization method and device

ActiveCN117893881BQ-matrixAlgorithm
This invention provides a method and apparatus for optimizing visual Transformer inference. The method includes: dividing the first weight matrix of the multi-head self-attention mechanism in the visual Transformer into multiple first weight sub-matrices; using a matrix computation unit in a network processor to sequentially calculate the feature matrix of the image based on each first weight sub-matrice, the feature matrix including a Q matrix, a K matrix, and a V matrix, and multiplying the Q matrix and the K matrix to obtain a QK matrix; while the matrix computation unit calculates the feature matrix and the QK matrix each time, using a vector computation unit in the network processor to perform softmax calculation on the QK matrix already calculated by the matrix computation unit, so that the matrix computation unit can multiply the softmax calculation result with the V matrix to obtain the final result. This invention improves the inference speed of the visual Transformer.
Owner:INST OF AUTOMATION CHINESE ACAD OF SCI +1

Cognitive diagnosis method based on automatic construction of q matrix, medium, equipment and product

The application provides a cognitive diagnosis method, medium, equipment and product for automatic construction of a Q matrix, relates to the technical field of cognitive diagnosis, and the method comprises the following steps: calculating the correlation score of an exercise and a pre-defined knowledge point, and screening an initial knowledge point set of the exercise by using a large language model; generating a reasoning path for the exercise solution by using the large language model, screening necessary knowledge points on the reasoning path, generating an implicit knowledge point set of the exercise, and constructing a Q matrix by using the initial knowledge point set and the implicit knowledge point set of the exercise; and using the Q matrix for cognitive diagnosis by using a diagnosis model. The application realizes full-automatic construction of the Q matrix in a non-labeled scene, and reduces the dependence of a CDM on data in actual application.
Owner:STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO

A non-overlapping high utility sequential pattern mining method and system for a target

ActiveCN122240692BQ-matrixDepth-first search
The application provides a non-overlapping high utility sequence pattern mining method and system for a target, which comprises the following steps: preprocessing a sequence database, filtering sequences not containing the target sequence; then adopting a right-to-left greedy search to locate the last effective instance path of the target sequence; then converting the sequence into a q matrix format, calculating sequence expansion utility, and screening a hopeful 1-sequence; subsequently constructing a Nettree data structure to find an instance path satisfying a non-overlapping condition, and calculating actual non-overlapping utility; further performing multi-level pruning processing such as sequence pre-reading pruning, width pruning, cooperative occurrence pruning and depth pruning; finally adopting a depth-first search to perform recursive pattern growth, and outputting a non-overlapping high utility sequence pattern set satisfying a minimum utility threshold and containing the target sequence. The application improves mining efficiency and result quality, and can efficiently find high-value patterns in large-scale sequence data.
Owner:GUANGDONG UNIV OF TECH