A computer-implemented method is provided. According to this computer-implemented method, based on an original signal and an information elimination model, a feature not including first information is generated, the first information allowing a first attribute to be identifiable. A specified task is then performed based on the generated feature and a machine learning model. The training of the information elimination model includes providing first and second adversarial networks and minimizing a loss function to train the information elimination model. Input layers of the first and second adversarial networks are generated based on an output layer and an input feature of the information elimination model. The generator of the first adversarial network and the discriminator of the second adversarial network are configured to perform the specified task, while the discriminator of the first adversarial network and the generator of the second adversarial network are configured to identify the first attribute. The loss function is associated with a disentangling loss of the input layers of the first and second adversarial networks, as well as the losses of each generator and discriminator. |