The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 01, 2025

Filed:

Nov. 05, 2020
Applicant:

Salesforce, Inc., San Francisco, CA (US);

Inventors:

Nazneen Rajani, Mountain View, CA (US);

Tong Niu, Sunnyvale, CA (US);

Wenpeng Yin, Palo Alto, CA (US);

Assignee:

Salesforce, Inc., San Francisco, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06N 3/08 (2023.01); G06F 18/10 (2023.01); G06F 18/214 (2023.01); G06F 18/2413 (2023.01); G06F 18/2415 (2023.01); G06N 3/063 (2023.01);
U.S. Cl.
CPC ...
G06N 3/08 (2013.01); G06F 18/10 (2023.01); G06F 18/214 (2023.01); G06F 18/24147 (2023.01); G06F 18/2415 (2023.01); G06N 3/063 (2013.01);
Abstract

Embodiments described herein adopts a k nearest neighbor (kNN) mechanism over a model's hidden representations to identify training examples closest to a given test example. Specifically, a training set of sequences and a test sequence are received, each of which is mapped to a respective hidden representation vector using a base model. A set of indices for each sequence index that minimizes a distance between the respective hidden state vector and a test hidden state vector is then determined A weighted k-nearest neighbor probability score can then be computed from the set of indices to generate a probability distribution over labels for the test sequence.


Find Patent Forward Citations

Loading…