Patent attributes
Techniques are disclosed in which a computer system generates a transaction network graph from an initial set of transactions including known labels and attributes. The computer system may generate first and second matrices using first and second graph embedding routines from a training set of transactions that includes a first subset of transactions in the network graph. The first routine is based on anomalies in related transactions occurring at nodes in the transaction network graph that are multiple hops away while the second routine is based on anomalies in neighborhoods of similar transactions. In some embodiments, the computer system generates a final embedded matrix from the first and second matrices and uses the final matrix and a testing set of transactions that includes a second subset of transactions in the graph to train a machine learning model, where the trained model usable to determine whether unlabeled transactions are anomalous.