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:
Sep. 19, 2023

Filed:

Jul. 12, 2021
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Saurabh Goyal, New Delhi, IN;

Anamitra Roy Choudhury, New Delhi, IN;

Saurabh Manish Raje, Gurgaon, IN;

Venkatesan T. Chakaravarthy, New Delhi, IN;

Yogish Sabharwal, Gurgaon, IN;

Ashish Verma, Nanuet, NY (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 40/284 (2020.01); G06N 3/0495 (2023.01); G06N 3/082 (2023.01); G06N 3/04 (2023.01); G06N 3/08 (2023.01);
U.S. Cl.
CPC ...
G06F 40/284 (2020.01); G06N 3/04 (2013.01); G06N 3/08 (2013.01);
Abstract

Methods, systems, and computer program products for accelerating inference of transformer-based models are provided herein. A computer-implemented method includes obtaining a machine learning model comprising a plurality of transformer blocks, a task, and a natural language dataset; generating a compressed version of the machine learning model based on the task and the natural language dataset, wherein the generating comprises: obtaining at least one set of tokens, wherein each token in the set corresponds to one of the items in the natural language dataset, identifying and removing one or more redundant output activations of different ones of the plurality of transformer blocks for the at least one set of tokens, and adding one or more input activations corresponding to the one or more removed output activations into the machine learning model at subsequent ones of the plurality of the transformer blocks; and outputting the compressed version of the machine learning model to at least one user.


Find Patent Forward Citations

Loading…