Published content protection
A method, computer system, and a computer program product for published content protection is provided. The present invention may include receiving a content file from a content management system (CMS). The present invention may include extracting a feature from the received content file. The present invention may include transforming, using an adversarial generation algorithm, the received content file into an adversarial content file. The present invention may include returning the adversarial content file to the CMS. The returned adversarial content file may represent an equivalent of the received content file to a content consumer. The present invention may include preventing an application of the returned adversarial content file in at least one machine learning task based on the adversarial noise included in the returned adversarial content file.
1 . A computer-implemented method, comprising:
receiving a content file from a content management system (CMS);
extracting at least one feature from the received content file to determine, from a plurality of machine learning tasks, at least one machine learning task for a media type of the received content file;
determining an adverse noise limit by balancing competing objectives of reducing performance of the at least one machine learning task on the received content file and maintaining an equivalent representation of the received content file for a human content consumer;
selecting, based on the media type and the at least one machine learning task associated with the received content file, an adversarial generation algorithm;
controlling the adversarial generation algorithm to apply adversarial noise within the determined adverse noise limit to transform the received content file into an adversarial content file, wherein the adversarial content file maintains the equivalent representation of the received content file for the human content consumer and reduces the performance of the at least one machine learning task on the adversarial content file; and
returning the adversarial content file to the CMS.
2 . The method of claim 1 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, transforming the received content file into the adversarial content file, wherein the adversarial content file is transmitted to the human content consumer.
3 . The method of claim 1 , wherein the extracted at least one feature is selected from the group consisting of a content type, a potential machine learning task, an adverse noise type, and the adverse noise limit.
4 . The method of claim 2 , further comprising:
in response to receiving a first request to access the received content file from a first content consumer, transforming the received content file into a first version of the adversarial content file, wherein the first version of the adversarial content file is transmitted to the first content consumer; and
in response to receiving a second request to access the received content file from a second content consumer, transforming the received content file into a second version of the adversarial content file, wherein the second version of the adversarial content file is transmitted to the second content consumer, wherein the first version of the adversarial content file and the second version of the adversarial content file represent different noisy versions of the received content file to the first content consumer and the second content consumer, respectively.
5 . The method of claim 1 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, executing a run-time process, comprising:
retrieving, from a metadata storage device, the extracted at least one feature of the received content file using a unique identifier associated with the received content file, wherein the metadata storage device is configured to store the extracted at least one feature with the unique identifier associated with the received content file;
selecting the adversarial generation algorithm based on the extracted at least one feature of the received content file including the media type and the at least one machine learning task; and
transforming the received content file into the adversarial content file using the selected adversarial generation algorithm by executing the selected adversarial generation algorithm to generate and apply the adversarial noise subject to the adverse noise limit, the adverse noise limit constraining an amount of the adversarial noise applied to the received content file.
6 . A computer system for published content protection, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
receiving a content file from a content management system (CMS);
extracting at least one feature from the received content file to determine, from a plurality of machine learning tasks, at least one machine learning task for a media type of the received content file;
determining an adverse noise limit by balancing competing objectives of reducing performance of the at least one machine learning task on the received content file and maintaining an equivalent representation of the received content file for a human content consumer;
selecting, based on the media type and the at least one machine learning task associated with the received content file, an adversarial generation algorithm;
controlling the adversarial generation algorithm to apply adversarial noise within the determined adverse noise limit to transform the received content file into an adversarial content file, wherein the adversarial content file maintains the equivalent representation of the received content file for the human content consumer and reduces the performance of the at least one machine learning task on the adversarial content file; and
returning the adversarial content file to the CMS.
7 . The computer system of claim 6 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, transforming the received content file into the adversarial content file, wherein the adversarial content file is transmitted to the human content consumer.
8 . The computer system of claim 6 , wherein the extracted at least one feature is selected from the group consisting of a content type, a potential machine learning task, an adverse noise type, and the adverse noise limit.
9 . The computer system of claim 7 , further comprising:
in response to receiving a first request to access the received content file from a first content consumer, transforming the received content file into a first version of the adversarial content file, wherein the first version of the adversarial content file is transmitted to the first content consumer; and
in response to receiving a second request to access the received content file from a second content consumer, transforming the received content file into a second version of the adversarial content file, wherein the second version of the adversarial content file is transmitted to the second content consumer, wherein the first version of the adversarial content file and the second version of the adversarial content file represent different noisy versions of the received content file to the first content consumer and the second content consumer, respectively.
10 . The computer system of claim 6 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, executing a run-time process, comprising:
retrieving, from a metadata storage device, the extracted at least one feature of the received content file using a unique identifier associated with the received content file, wherein the metadata storage device is configured to store the extracted at least one feature with the unique identifier associated with the received content file;
selecting the adversarial generation algorithm based on the extracted at least one feature of the received content file including the media type and the at least one machine learning task; and
transforming the received content file into the adversarial content file using the selected adversarial generation algorithm by executing the selected adversarial generation algorithm to generate and apply the adversarial noise subject to the adverse noise limit, the adverse noise limit constraining an amount of the adversarial noise applied to the received content file.
11 . A computer program product for published content protection, comprising:
one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform a method comprising:
receiving a content file from a content management system (CMS);
extracting at least one feature from the received content file to determine, from a plurality of machine learning tasks, at least one machine learning task for a media type of the received content file;
determining an adverse noise limit by balancing competing objectives of reducing performance of the at least one machine learning task on the received content file and maintaining an equivalent representation of the received content file for a human content consumer;
selecting, based on the media type and the at least one machine learning task associated with the received content file, an adversarial generation algorithm;
controlling the adversarial generation algorithm to apply adversarial noise within the determined adverse noise limit to transform the received content file into an adversarial content file, wherein the adversarial content file maintains the equivalent representation of the received content file for the human content consumer and reduces the performance of the at least one machine learning task on the adversarial content file; and
returning the adversarial content file to the CMS.
12 . The computer program product of claim 11 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, transforming the received content file into the adversarial content file, wherein the adversarial content file is transmitted to the human content consumer.
13 . The computer program product of claim 11 , wherein the extracted at least one feature is selected from the group consisting of a content type, a potential machine learning task, an adverse noise type, and the adverse noise limit.
14 . The computer program product of claim 11 , further comprising:
in response to receiving, from the human content consumer, a request to access the received content file, executing a run-time process, comprising:
retrieving, from a metadata storage device, the extracted at least one feature of the received content file using a unique identifier associated with the received content file, wherein the metadata storage device is configured to store the extracted at least one feature with the unique identifier associated with the received content file;
selecting the adversarial generation algorithm based on the extracted at least one feature of the received content file including the media type and the at least one machine learning task; and
transforming the received content file into the adversarial content file using the selected adversarial generation algorithm by executing the selected adversarial generation algorithm to generate and apply the adversarial noise subject to the adverse noise limit, the adverse noise limit constraining an amount of the adversarial noise applied to the received content file.
15 . The computer program product of claim 12 , further comprising:
in response to receiving a first request to access the received content file from a first content consumer, transforming the received content file into a first version of the adversarial content file, wherein the first version of the adversarial content file is transmitted to the first content consumer; and
in response to receiving a second request to access the received content file from a second content consumer, transforming the received content file into a second version of the adversarial content file, wherein the second version of the adversarial content file is transmitted to the second first content consumer, wherein the first version of the adversarial content file and the second version of the adversarial content file represent different noisy versions of the received content file to the first content consumer and the second content consumer, respectively.