ACCELERATING INFERENCE OF TRANSFORMER-BASED MODELS

Patent №

US 11,763,082

Granted

2023-09-19

Filed 2021

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

6

ml · nlp · speech · kr · planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

17372902

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.

Machine learningNatural languageSpeechKnowledge representationPlanningAI hardwareG06F 40/284G06F 40/216G06F 40/30G06N 3/04G06N 3/08G06N 20/00G06N 3/045

AI classification

Natural language1.00
Speech1.00
AI hardware1.00
Machine learning1.00
Knowledge representation0.95
Planning0.68
Vision0.00
Evolutionary computation0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 568240056

Assignors

GOYAL, SAURABH, CHOUDHURY, ANAMITRA ROY, RAJE, SAURABH MANISH, CHAKARAVARTHY, VENKATESAN T., SABHARWAL, YOGISH, VERMA, ASHISH

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC