| CPC G06F 21/6227 (2013.01) [G06N 5/04 (2013.01)] | 20 Claims |

|
1. A method for protecting a machine learning (ML) model from being copied, the method comprising:
providing an input sample to the ML model for an inference operation;
selecting features from an internal layer of the ML model, the features relating to the input sample;
selecting positive gradients of output logits to the features of the ML model;
computing a summation of a product of positive gradients and the features to determine a feature contribution value;
determining that the input sample is a NPD sample if the feature contribution value is less than or equal to a predetermined threshold feature contribution value; and
determining that an attempt to copy the ML model is underway if a predetermined percentage of a plurality of input samples input to the ML model has feature contribution values that are less than or equal to the predetermined threshold feature contribution value.
|