# US 2026/0030733 A1 · Siamese transformer network for predicting image quality of images and training thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0030733 A1
- Document ID: US20260030733A1
- Status: Published application
- Kind: A1
- Application number: 19/281,395
- Filed: 2025-07-25
- Published: 2026-01-29
- Earliest claimed: 2024-07-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Arshita Gupta; Tien C. Bau
- Web page: https://patentgrep.com/patent/US20260030733A1

## CPC

- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06N 3/045: Combinations of networks
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method includes obtaining, using at least one processing device of an electronic device, a specified image. The method also includes identifying, using the at least one processing device, a reference image and a corresponding reference image label. The method further includes inputting, using the at least one processing device, the specified image and the reference image to a Siamese transformer network trained to predict an image quality difference between an input image pair. The method also includes predicting, using the Siamese transformer network, an image quality difference between the specified image and the reference image. In addition, the method includes adding, using the at least one processing device, the corresponding reference image label to the predicted image quality difference to obtain an image quality score of the specified image.

## Claims

### Claim 1

A method comprising:
obtaining, using at least one processing device of an electronic device, a specified image;
identifying, using the at least one processing device, a reference image and a corresponding reference image label;
inputting, using the at least one processing device, the specified image and the reference image to a Siamese transformer network trained to predict an image quality difference between an input image pair;
predicting, using the Siamese transformer network, an image quality difference between the specified image and the reference image; and
adding, using the at least one processing device, the corresponding reference image label to the predicted image quality difference to obtain an image quality score of the specified image.

### Claim 2 (depends on 1)

The method of claim 1, wherein predicting the image quality difference comprises:
processing, using a first transformer of the Siamese transformer network, the specified image based on shared parameters;
processing, using a second transformer of the Siamese transformer network, the reference image based on the shared parameters;
concatenating, using the Siamese transformer network, image representations of the specified image and the reference image; and
predicting, using the Siamese transformer network, the image quality difference between the specified image and the reference image based on the image representations.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
dividing each of the specified and reference images into a plurality of patches;
creating a sequence of patch embeddings for the patches of the specified and reference images; and
combining a learnable class token with the sequence of the patch embeddings, wherein the class token serves as a global image representation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the Siamese transformer network is trained by:
selecting pairs of labeled images from a labeled image dataset; and
predicting an image quality difference between the labeled images in each pair of labeled images.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
obtaining an unlabeled target image from an unlabeled image dataset;
freezing parameters of the Siamese transformer network;
generating multiple initial pseudo-labels for the unlabeled target image based on the labeled images from the labeled image dataset;
ensembling the multiple initial pseudo-labels to generate a final pseudo-label; and
unfreezing the parameters of the Siamese transformer network;
wherein the Siamese transformer network is in a prediction mode when the multiple initial pseudo-labels and the final pseudo-label are generated.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
associating the unlabeled target image with a labeled image from the labeled image dataset; and
predicting an image quality difference between the unlabeled target image and the associated labeled image using the final pseudo-label as a ground truth for the unlabeled target image.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
repeatedly obtaining unlabeled target images from the unlabeled dataset and generating corresponding final pseudo-labels.

### Claim 8 (depends on 5)

The method of claim 5, wherein the unlabeled target image includes distortions different from distortions in the labeled images.

### Claim 9

An electronic device comprising:
at least one processing device configured to:
obtain a specified image;
identify a reference image and a corresponding reference image label;
input the specified image and the reference image to a Siamese transformer network trained to predict an image quality difference between an input image pair;
predict, using the Siamese transformer network, an image quality difference between the specified image and the reference image; and
add the corresponding reference image label to the predicted image quality difference to obtain an image quality score of the specified image.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein, to predict the image quality difference, the at least one processing device is configured to:
process, using a first transformer of the Siamese transformer network, the specified image based on shared parameters;
process, using a second transformer of the Siamese transformer network, the reference image based on the shared parameters;
concatenate image representations of the specified image and the reference image; and
predict the image quality difference between the specified image and the reference image based on the image representations.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein the at least one processing device is further configured to:
divide each of the specified and reference images into a plurality of patches;
create a sequence of patch embeddings for the patches of the specified and reference images; and
combine a learnable class token with the sequence of patch embeddings, wherein the class token serves as a global image representation.

### Claim 12 (depends on 9)

The electronic device of claim 9, wherein the Siamese transformer network is trained by:
selecting pairs of labeled images from a labeled image dataset; and
predicting an image quality difference between the labeled images in each pair of labeled images.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the Siamese transformer network is trained further by:
obtaining an unlabeled target image from an unlabeled image dataset;
freezing parameters of the Siamese transformer network;
generating multiple initial pseudo-labels for the unlabeled target image based on the labeled images from the labeled image dataset;
ensembling the multiple initial pseudo-labels to generate a final pseudo-label; and
unfreezing the parameters of the Siamese transformer network;
wherein the Siamese transformer network is in a prediction mode when the multiple initial pseudo-labels and the final pseudo-label are generated.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the Siamese transformer network is trained further by:
associating the unlabeled target image with a labeled image from the labeled image dataset; and
predicting an image quality difference between the unlabeled target image and the associated labeled image using the final pseudo-label as a ground truth for the unlabeled target image.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the Siamese transformer network is trained further by:
repeatedly obtaining unlabeled target images from the unlabeled dataset and generating corresponding final pseudo-labels.

### Claim 16

A non-transitory machine readable medium containing instructions that when executed cause at least one processor of an electronic device to:
obtain a specified image;
identify a reference image and a corresponding reference image label;
input the specified image and the reference image to a Siamese transformer network trained to predict an image quality difference between an input image pair;
predict, using the Siamese transformer network, an image quality difference between the specified image and the reference image; and
add the corresponding reference image label to the predicted image quality difference to obtain an image quality score of the specified image.

### Claim 17 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein the instructions that when executed cause the at least one processor to predict the image quality difference comprise instructions that when executed cause the at least one processor to:
process, using a first transformer of the Siamese transformer network, the specified image based on shared parameters;
process, using a second transformer of the Siamese transformer network, the reference image based on the shared parameters;
concatenate image representations of the specified image and the reference image; and
predict the image quality difference between the specified image and the reference image based on the image representations.

### Claim 18 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein the Siamese transformer network is trained by:
selecting pairs of labeled images from a labeled image dataset; and
predicting an image quality difference between the labeled images in each pair of labeled images.

### Claim 19 (depends on 18)

The non-transitory machine readable medium of claim 18, wherein the Siamese transformer network is trained further by:
obtaining an unlabeled target image from an unlabeled image dataset;
generating multiple initial pseudo-labels for the unlabeled target image based on the labeled images from the labeled image dataset;
ensembling the multiple initial pseudo-labels to generate a final pseudo-label; and
unfreezing the parameters of the Siamese transformer network;
wherein the Siamese transformer network is in a prediction mode when the multiple initial pseudo-labels and the final pseudo-label are generated.

### Claim 20 (depends on 19)

The non-transitory machine readable medium of claim 19, wherein the Siamese transformer network is trained further by:
associating the unlabeled target image with a labeled image from the labeled image dataset; and
predicting an image quality difference between the unlabeled target image and the associated labeled image using the final pseudo-label as a ground truth for the unlabeled target image.
