# US 2025/0148817 A1 · Image forgery detection via pixel-metadata consistency analysis

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

- Number: US 2025/0148817 A1
- Document ID: US20250148817A1
- Status: Published application
- Kind: A1
- Application number: 18/948,239
- Filed: 2024-11-14
- Published: 2025-05-08
- Earliest claimed: 2021-06-30
- Assignees: Paypal, Inc.
- Applicants: PayPal, Inc.
- Inventors: Shanshan Peng; Jiazheng Zhang; Jiyi Zhang; Quan Jin Ferdinand Tang; Xiaodong Yu; Yuzhen Zhuo; Hong Qian; Zhe Chen; Runmin Wen
- Web page: https://patentgrep.com/patent/US20250148817A1

## CPC

- G06V 20/95: {Pattern authentication; Markers therefor; Forgery detection}
- G06N 3/045: Combinations of networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06V 10/758: {Involving statistics of pixels or of feature values, e.g. histogram matching}
- G06N 20/20: Ensemble learning
- G06V 2201/10: Recognition assisted with metadata
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and/or techniques for facilitating image forgery detection via pixel-metadata consistency analysis are provided. In various embodiments, a system can receive an electronic image from a client device. In various cases, the system can obtain a pixel vector and/or an image metadata vector that correspond to the electronic image. In various aspects, the system can determine whether the electronic image is authentic or forged, based on analyzing the pixel vector and the image metadata vector via at least one machine learning model.

## Claims

### Claim 1

(canceled)

### Claim 2

A system, comprising:
a processor that executes computer-executable instructions stored in a computer-readable memory, which causes the system to:
receive, from a client device, an electronic image;
obtain a pixel vector and an image metadata vector that correspond to the electronic image; and
determine a binary authenticity classification based on an analysis, performed by at least one machine learning model, of the pixel vector and the image metadata vector.

### Claim 3 (depends on 2)

The system of claim 2, wherein the computer-executable instructions are further executable to cause the processor to:
in response to the binary authenticity classification being indicative of the electronic image being forged, transmit an unsuccessful validation message to the client device.

### Claim 4 (depends on 2)

The system of claim 2, wherein the analysis of the pixel vector and the image metadata vector comprises generation of a consistency vector with the at least one machine learning model, wherein the consistency vector is indicative of a level of consistency between:
a predicted metadata vector determined from the pixel vector; and
the image metadata vector.

### Claim 5 (depends on 2)

The system of claim 2, wherein the at least one machine learning model comprises a first machine learning model configured to determine a predicted metadata vector from the pixel vector and a second machine learning model configured to determine a level of consistency between the predicted metadata vector and the image metadata vector.

### Claim 6 (depends on 2)

The system of claim 2, wherein the analysis of the pixel vector and the image metadata vector comprises execution of a trained machine learning model on the pixel vector, wherein the trained machine learning model is configured to generate a predicted metadata vector based on the pixel vector.

### Claim 7 (depends on 6)

The system of claim 6, wherein trained machine learning model is a first trained machine learning model, and wherein the analysis of the pixel vector and the image metadata vector further comprises execution of a second trained machine learning model based on the predicted metadata vector, wherein the second trained machine learning model is configured to classify the electronic image as authentic or forged based on the predicted metadata vector.

### Claim 8 (depends on 2)

The system of claim 2, wherein the analysis of the pixel vector and the image metadata vector comprises:
execution of a first trained machine learning model on the pixel vector, wherein the first trained machine learning model is configured to generate an embedding based on the pixel vector;
concatenation of the embedding with the image metadata vector, thereby yielding a first concatenated vector;
application of a Gaussian mixture model to the first concatenated vector, thereby yielding a vector of posterior probabilities;
concatenation of the vector of posterior probabilities with the image metadata vector, thereby yielding a second concatenated vector; and
execution of a second trained machine learning model on the second concatenated vector, wherein the second trained machine learning model is configured to classify the electronic image with the binary authenticity classification based on the second concatenated vector.

### Claim 9 (depends on 8)

The system of claim 8, wherein the first trained machine learning model is a triplet network, and wherein the second trained machine learning model is an XGBoost classifier.

### Claim 10 (depends on 2)

The system of claim 2, wherein the image metadata vector is an Exif vector associated with the electronic image.

### Claim 11

A computer-implemented method, comprising:
accessing, by a device operatively coupled to a processor, an electronic image provided by a computing device;
identifying, by the device, a pixel vector and a metadata vector that correspond to the electronic image; and
labeling, by the device, the electronic image with a binary authenticity classification, based on analyzing the pixel vector and the metadata vector with at least one artificial intelligence algorithm.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising in response to the binary authenticity classification being indicative of the electronic image being forged, transmitting an unsuccessful validation message to the client device

### Claim 13 (depends on 11)

The computer-implemented method of claim 11, wherein the analyzing the pixel vector and the image metadata vector with the at least one machine learning model comprises generating a consistency vector with the at least one machine learning model, wherein the consistency vector is indicative of a level of consistency between:
a predicted metadata vector determined from the pixel vector; and
the image metadata vector.

### Claim 14 (depends on 11)

The computer-implemented method of claim 11, wherein the at least one machine learning model comprises a first machine learning model configured to determine a predicted metadata vector from the pixel vector and a second machine learning model configured to determine a level of consistency between the predicted metadata vector and the image metadata vector.

### Claim 15 (depends on 11)

The computer-implemented method of claim 11, wherein the analyzing the pixel vector and the image metadata vector with the at least one machine learning model comprises executing a trained machine learning model on the pixel vector, wherein the trained machine learning model is configured to generate a predicted metadata vector based on the pixel vector.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein trained machine learning model is a first trained machine learning model, and wherein the analyzing the pixel vector and the image metadata vector with the at least one machine learning model further comprises executing a second trained machine learning model based on the predicted metadata vector, wherein the second trained machine learning model is configured to classify the electronic image as authentic or forged based on the predicted metadata vector.

### Claim 17 (depends on 11)

The computer-implemented method of claim 11, wherein the metadata vector comprises data indicative of a camera model feature that identifies a type of camera that captured the electronic image.

### Claim 18 (depends on 8)

The computer-implemented method of claim 8, wherein the metadata vector comprises data indicative of a software feature that identifies a type of software in which the electronic image was opened.

### Claim 19

A computer program product for facilitating image forgery detection via pixel-metadata consistency analysis, the computer program product comprising a computer-readable medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive, by the processor, an image of a proof-of-identity document;
identify, by the processor, a pixel vector and a metadata vector that correspond to the image; and
determine, by the processor, a binary authenticity classification of the proof-of-identity document, based on analyzing the pixel vector and the metadata vector.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the program instructions are further executable to cause the processor to:
in response to determining that the proof-of-identity document is not authentic, generate, by the processor, a forgery notification.

### Claim 21 (depends on 19)

The computer program product of claim 19, wherein the processor analyzes the pixel vector and the metadata vector by:
inputting, by the processor, the pixel vector to a first machine learning model, which outputs a predicted metadata vector; and
inputting, by the processor, both the predicted metadata vector and the metadata vector to a second machine learning model, which outputs an authenticity label corresponding to the proof-of-identity document.
