# US 2026/0311034 A1 · Multi-Label Pairwise Ranking

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

- Number: US 2026/0311034 A1
- Document ID: US20260311034A1
- Status: Published application
- Kind: A1
- Application number: 19/100,852
- Filed: 2022-08-01
- Published: 2026-10-08
- Earliest claimed: 2022-08-01
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Gil Shamir
- Web page: https://patentgrep.com/patent/US20260311034A1

## CPC

- G06N 20/00: Machine learning
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are pairwise ranking losses for multi-label ranking problems. One example setting for the proposed approaches is when a machine learning ranking model generates a label output for a given input, where the label output is generated relative to a plurality of potential labels that correspond to relevance scores, and where the relevance scores can also define an ordering among items. The loss function(s) applied to the machine learning model capture the labels, the ranking order, and ranking score differences, integrating these into ranking optimization. Example techniques provided herein take a view of pairwise ranking in which the loss is applied only to a subset of events which is defined by the relation between labels in a pair. Each such event can dictate two symmetric events conditioned on it with opposite rankings.

## Claims

### Claim 1

A computer-implemented method to perform training for multi-label pairwise ranking, the method comprising:
processing, by a computing system comprising one or more computing devices, a first input with a machine-learned ranking model to generate a first intermediate representation for the first input;
processing, by a computing system comprising one or more computing devices, a second input with the machine-learned ranking model to generate a second intermediate representation for the second input;
generating, by the computing system, a first label output for the first input based on the first intermediate representation, wherein the first label output is generated relative to a plurality of potential labels;
generating, by the computing system, a second label output for the second input based on the second intermediate representation, wherein the second label output is generated relative to the plurality of potential labels;
generating, by the computing system, a ranking output for the first input and the second input based on the first intermediate representation and the second intermediate representation, wherein the ranking output indicates a relative ranking between the first input and the second input; and
evaluating, by the computing system, one or more ranking loss functions based on the ranking output, wherein the one or more ranking loss functions comprise a conditional loss that is conditioned on a conditioning event partitioned into two complement sets of events; and
modifying, by the computing system, the machine-learned ranking model based on the one or more ranking loss functions.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the conditioning event comprises that either:
(a) the first label output equals a first value and the second label output equals a second, different value; or
(b) the first label output does not equal the first value and the second label output does not equal the second, different value.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the conditioning event comprises that both:
(a) one of the first label output or the second label output equals a first value; and
(b) the other of the first label output or the second label output equals a second, different value.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the conditioning event comprises that a difference between the first label output and the second label output is at least a delta value.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the conditioning event has been partitioned such that a range of the plurality of labels is partitioned into two sets of label values.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the two sets of label values comprise a first set containing a first label value and a second set containing all label values that are greater than the first label value.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein the two sets of label values comprise a first set containing a first label value and a second set containing all label values that are less than the first label value.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein the two sets of label values contain equal numbers of label values, where the labels in one set are smaller than all the labels in the other.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the two complement sets of events comprise a first set of events and a second set of events, and at least one of the first set of events and second set of events contains two or more events.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the two complement sets of events comprise disjoint sets.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising:
evaluating, by the computing system, a multi-label loss function for the first input based on the first label output;
evaluating, by the computing system, the multi-label loss function for the second input based on the second label output; and
modifying, by the computing system, the machine-learned ranking model based on the classification loss function evaluated for the first input and the classification loss function evaluated for the second input.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of potential labels comprises three or more different labels.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, the plurality of potential labels comprise fractional labels of a binary outcome.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein the first intermediate output comprises a first logit score, and wherein the second intermediate output comprises a second logit score.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, wherein generating, by the computing system, the ranking output for the first input and the second input based on the first intermediate representation and the second intermediate representation comprises:
determining, by the computing system, a difference between the first intermediate representation and the second intermediate representation; and
generating, by the computing system, the ranking output for the first input and the second input based on the difference between the first intermediate representation and the second intermediate representation.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, wherein:
the first label output and the second label output comprise engagement scores relative to a query; and
the ranking comprises a probability that the first input is ranked higher than the second input relative to the query.

### Claim 17 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of potential labels are modeled by one or more standard probability mass functions (PMF), and wherein the one or more ranking loss functions partition the plurality of potential labels into a sum by summing the probabilities of the elements in the complement sets of events.

### Claim 18 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more ranking loss functions comprise a hierarchical partitioning of the plurality of potential labels, the hierarchical partitioning comprising multiple layers, each layer defining a conditioning event that partitions into two conditioned events.

### Claim 19

A computer system, comprising:
one or more processors; and
one or more non-transitory computer-readable media that collectively store:
a machine-learned ranking model configured to generate ranking outputs for pairs of inputs that are responsive to a query and configured to generate a respective label output for each input relative to a plurality of potential labels, wherein the machine-learned ranking model has been trained using one or more ranking loss functions, wherein the one or more ranking loss functions comprise a conditional loss that is conditioned on a conditioning event partitioned into two complement sets of events; and
instructions that, when executed by the one or more processors, cause the computer system to run the machine-learned ranking model configured to generate one or both of: (a) ranking outputs for the pairs of inputs that are responsive to a query; or (b) the respective label output for each input relative to the plurality of potential labels.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein the conditioning event comprises that either:
(a) the first label output equals a first value and the second label output equals a second, different value; or
(b) the first label output does not equal the first value and the second label output does not equal the second, different value.

### Claim 21 (depends on 19)

The computer system of claim 19, wherein the conditioning event comprises that both:
(a) one of the first label output or the second label output equals a first value; and
(b) the other of the first label output or the second label output equals a second, different value.

### Claim 22 (depends on 19)

The computer system of claim 19, wherein the conditioning event has been partitioned such that a range of the plurality of labels is partitioned into two sets of label values.
