METHOD AND APPARATUS FOR ADVERSARIAL TRAINING OF MACHINE LEARNING MODEL, AND MEDIUM

    公开(公告)号:US20210334659A1

    公开(公告)日:2021-10-28

    申请号:US17369699

    申请日:2021-07-07

    Abstract: The present application discloses a method and an apparatus for adversarial training of a machine learning (ML) model and a medium. The method includes: obtaining input information in a training sample; extracting features of a plurality of input characters in the input information; inputting the features of the plurality of input characters to the ML model, to capture an attention weight on an input character of the plurality of input characters by an attention layer of the ML model; disturbing the attention weight captured by the attention layer, so that the ML model outputs a predicted character according to the attention weight disturbed; and training the ML model according to a difference between the predicted character and a labeled character in the training sample.

Patent Agency Ranking