Image processing method and device based on attention mechanism
By using the Laplacian kernel function and pseudo-inverse processing in the Transformer architecture, an approximate global similarity matrix is constructed, which solves the problems of high computational complexity and unstable feature representation in high-resolution image processing, and improves the efficiency and accuracy of image processing models.
CN122156912APending Publication Date: 2026-06-05INST OF AUTOMATION CHINESE ACAD OF SCI
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- INST OF AUTOMATION CHINESE ACAD OF SCI
- Filing Date
- 2026-03-19
- Publication Date
- 2026-06-05
Smart Images

Figure CN122156912A_ABST
Abstract
The application relates to the technical field of data processing, and provides an image processing method and device based on an attention mechanism, which comprises the following steps: acquiring a query feature vector sequence, a key feature vector sequence and a value feature vector sequence of an image to be processed, and extracting a representative key feature vector sequence from the key feature vector sequence; based on a Laplace kernel function, a similarity matrix between the query feature vector sequence and the representative key feature vector sequence and a kernel matrix between the representative key feature vector sequences are constructed; based on pseudo-inverses of the similarity matrix and the kernel matrix, an approximate global similarity matrix is constructed, and the approximate global similarity matrix is subjected to centering and whitening treatment to obtain a normalized feature mapping matrix; and based on the normalized feature mapping matrix and the value feature vector sequence, an attention output feature of the image to be processed is obtained, so that the image task precision and stability are effectively improved while the calculation cost is greatly reduced.
Need to check novelty before this filing date? Find Prior Art