Patent ID: 11921847
Assignee: INTUIT INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A method comprising:
receiving data comprising a plurality of API requests from a plurality of client devices;
generating a plurality of API sessions based on the data, wherein each of the API sessions is associated with a corresponding client device of the plurality of client devices and includes a sequence of API requests originating from the corresponding client device;
applying a sequence embedding technique to the plurality of API sessions to generate a plurality of embeddings;
applying a dimensionality reduction technique to the plurality of embeddings to generate a plurality of compact embeddings;
comparing each of the plurality of compact embeddings to one or more of a plurality of reference compact embeddings stored in a space partitioning data structure and indicative of permissible API sessions generated based on training data, wherein the plurality of reference compact embeddings are stored such that similar reference compact embeddings of the plurality of reference compact embeddings are located near one another within the space partitioning data structure; and
determining one or more API sessions of the plurality of API sessions generated based on the data are abnormal based, at least in part, on the comparing, wherein the determining comprises determining a distance between a corresponding compact embedding for the one or more API sessions and one of the reference compact embeddings that is closest to the corresponding compact embedding exceeds a threshold distance.