<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>HCMUS at Pixel Privacy 2019: Scene Category Protection with Back Propagation and Image Enhancement</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hung Vinh Tran</string-name>
          <email>tvhung@selab.hcmus.edu.vn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Trong-Thang Pham</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hai-Tuan Ho-Nguyen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hoai-Lam Nguyen-Hy</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xuan-Vy Nguyen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thang-Long Nguyen-Ho</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Minh-Triet Tran</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Information Technology, University of Science</institution>
          ,
          <addr-line>VNU-HCM</addr-line>
          ,
          <country country="VN">Vietnam</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>Personal privacy is one of the essential problems in modern society. In some cases, people may not want smart computing systems to automatically identify and reveal their personal information, such as places or habits. This motivates our proposal to protect scene category recognition from photos by back-propagation. To further improve the visual quality and attraction of output photos, we study and propose various strategies for image enhancement, from traditional approaches to novel GAN-based methods. Our solution can successfully fool the Place365 scene classification in 60 categories while achieving the average NIMA score up to 5.36.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Categories' Scores
0.007
0.85
fool the Places365 scene classification, while achieving an average
NIMA score up to 5.36.</p>
      <p>The content of our report is as follows. In Section 2, we present
our method for protecting scene category and enhancing image
with diferent approaches. Experimental results are in Section 3.
Conclusion and future works are discussed in Section 4.
2</p>
    </sec>
    <sec id="sec-2">
      <title>METHOD</title>
      <p>
        Our goal is to protect the scene category of the input image, and our
output result should be in better quality based on NIMA [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] Score.
To tackle these two goals, we desire to enhance the input image first
by diferent methods then we apply our proposed protection method
on the output enhanced image. We put the protection method in
the latter part to ensure the success of our main objective, which is
the privacy of users.
2.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>Protection algorithm</title>
      <p>To protect the image’s location information, we need to modify
the image so that the output class becomes diferent compared to
the ground truth. In other words, we need to reduce the output
probability of the ground truth class.</p>
      <p>With this intuition in mind, we consider the output probability
of ground truth class as the target function f to minimize with
gradient descent and the input image as the parameter θ to optimize.</p>
      <p>Formally, let θ be the input image, θ ′ the modified image, f the
model we want to fool. Our main goal is to modify input image :
where ϵ is obtained after backwarding through network encoding
in Fig.1</p>
      <p>Input Image</p>
    </sec>
    <sec id="sec-4">
      <title>INTRODUCTION</title>
      <p>
        With the rapid development of computer vision and new machine
learning methods, computers can now understand content of
images, e.g. which object is in an image, who is in the image, what
is happening in the image, or recognize scene’s category and
attributes, etc. This provides foundation for intelligent interactive
systems such as smart homes, self-driving cars, etc. This fact,
however, can raise potential risks of personal privacy violation. A person
might not want other people to know where he or she is. Important
facilities like hospitals or military camps should not be
automatically recognized also. This motivates the proposal of the problem
of Pixel Privacy: to prevent automatic systems from recognizing
scene categories from images [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ].
      </p>
      <p>
        In the Pixel Privacy 2019 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] task, we are given images in 60
important categories such as hospital or bedroom. Our goal is to
modify the given images so that the given automatic system (a
ResNet50 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] trained on the Places365-Standard [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] dataset) can
no longer correctly recognize them. This, however, may cause the
output images to be degraded significantly. To prevent this, we use
Neural Image Assessment (NIMA) to automatically evaluate our
output images.
      </p>
      <p>
        We propose the method to attack the ResNet50 model using back
propagation. For each input image, we consider the logit for its
target class as a function on the input image’s pixels. This allows
back propagation to minimize this logit by modifying the input
image. We also use several methods to enhance the input images’
quality before feeding it through the protection phase, such as
natural enhancement with Dynamic Histogram Equalization [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
combined with saliency mask generated from Cascaded Partial
Decoder [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], GAN-based approaches like CartoonGAN [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], DPED
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], Retouch [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], and Texture. Our experiment results successfully
so that
      </p>
      <p>Frozen
Modify</p>
      <p>Backward
2.2</p>
    </sec>
    <sec id="sec-5">
      <title>Image Enhancement algorithm</title>
      <p>
        2.2.1 Natural Enhancement. For the first run, we try to improve
image quality with traditional computer graphic methods. We start
with Dynamic Histogram Equalization[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] algorithm to enhance
each image’s contrast and brightness. We also try to configure
the saturation of images to emphasize the main objects. We use
Cascaded Partial Decoder [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] to generate the saliency mask which
describes important objects with high values. Then we feed the
saliency mask into Gaussian Blur and get a new mask. Thirdly, we
modify saturation value each pixel:
y =
( x −α + γ , if x ≥ α
β
x ,
ω
otherwise
In this formula, y is a saturation value and x is a new saliency value
in the same pixel.
      </p>
      <p>
        2.2.2 Style Transfer. For this run, we apply a style
transferbased approach to improve images’ appeal. In this particular case,
we run CartoonGAN [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to modify images into some certain styles,
such as Hayao, Hosoda and Shinkai.
      </p>
      <p>
        2.2.3 GAN Enhancement. In this run, we try to improve image’s
quality by method proposed in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] , which is a GAN-based algorithm.
This model’s purpose is to convert a photo taken by phone to be a
DSLR-Quality photo, in consequence, improve the color and texture
quality.
      </p>
      <p>
        2.2.4 Retouch. In this run, we assume that the evaluation method
with NIMA Score is as natural as the human visual system. We try
to enhance the image with [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], which applying deep reinforcement
learning and GAN Model, to have the best quality image
enhancement created by AI Agent.
      </p>
      <p>2.2.5 Texture. In this run, we hypothesize that any natural
image has an average NIMA score between 3 and 4.5. We attempted
to validate this hypothesis by computing NIMA score for several
randomly created images, which results in fairly high score. With
that in mind, we blend noise images to the original images to
emphasize details usually ignored by NIMA model, while keeping the
scores above 3. We try 2 ways to blend the noise images:</p>
      <p>Way 1: x ′ = x ⊙ (αϵ), where x and x ′ are the input and ouput
images, respectively; ϵ is the crafted noise image; α is the coeficient
in which the crafted image is blended into the original.</p>
      <p>Way 2: x ′ = x + αϵ, where x and y are the V (as in HSV) channels
of the original image and the result image, respectively; ϵ is the
crafted noise image; α is the coeficient with which the crafted
image is blended into the original.
3</p>
    </sec>
    <sec id="sec-6">
      <title>EXPERIMENTS AND RESULTS</title>
      <p>Most of our experiment is conducted on Google Colab.
Table 1: Oficial evaluation result (provided by organizers)</p>
      <p>Method</p>
      <p>Original Image
hcmus_naturalenhancement</p>
      <p>hcmus_retouch
hcmus_ganenhancement
hcmus_cartoongan
hcmus_texture</p>
      <p>Top-1 Accuracy</p>
      <p>
        In the table above, the "Top-1 Accuracy" column shows the
prediction accuracy of the attack model (ResNet50 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] trained on
Hung Vinh Tran et al.
      </p>
      <p>Places365-standard data set), which means lower is better. The
"NIMA Score" column represents the mean aesthetics scores of
your runs. A higher NIMA score is better.</p>
      <p>As our experiment result shows that all of our five runs perfectly
protected the scene category of the image from the attack model.
And from our observation, most GAN-based method can not achieve
the same natural level as traditional computer graphics approach.
The texture method currently has the highest score (5.36). Moreover,
without the protection method, the texture method also can protect
more than 2/3 datasets.</p>
      <p>However, sophisticated approaches like Texture or Cartoon Gan
transform images excessively, and output images do not have a
natural appearance anymore. That is the reason why we propose
Traditional Enhancement Methods like Saturation modify or DHE
algorithm. Not only does it maintains the original beauty, but
Natural Enhancement also achieves 2nd highest score.</p>
      <p>(a) Original</p>
      <sec id="sec-6-1">
        <title>Hospital</title>
        <p>(b) Natural</p>
      </sec>
      <sec id="sec-6-2">
        <title>Beer Hall</title>
        <p>(c) GAN</p>
        <p>Pub
(d) Retouch</p>
        <p>Pub
(e) Cartoon GAN</p>
      </sec>
      <sec id="sec-6-3">
        <title>Nursing home</title>
        <p>(f) Texture</p>
      </sec>
      <sec id="sec-6-4">
        <title>Catacomb</title>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>CONCLUSION AND FUTURE WORKS</title>
      <p>We propose one simple yet efective approach for Pixel Privacy
Problem. Our method is using backpropagation to modify certain
pixels of the input image while freezing all intermediate modules
in the attack model. This method could be expanded for other
categories besides scene category, for example, vehicle detection,
human tracking, and so on. We also propose and apply five methods
to enhance the input image, from new methods, namely, Cartoon
GAN (Style Transfer) and Texture efect, to traditional image
enhancement methods. All of which provides images with a higher
average NIMA Score than original images.</p>
    </sec>
    <sec id="sec-8">
      <title>ACKNOWLEDGMENTS</title>
      <p>Research is supported by Vingroup Innovation Foundation (VINIF)
in project code VINIF.2019.DA19. We would like to thank AIOZ Pte
Ltd for supporting our team with computing infrastructure.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Mohammad</given-names>
            <surname>Abdullah-Al-Wadud</surname>
          </string-name>
          , Md Hasanul Kabir,
          <string-name>
            <given-names>M Ali</given-names>
            <surname>Akber Dewan</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Oksam</given-names>
            <surname>Chae</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>A dynamic histogram equalization for image contrast enhancement</article-title>
          .
          <source>IEEE Transactions on Consumer Electronics</source>
          <volume>53</volume>
          ,
          <issue>2</issue>
          (
          <year>2007</year>
          ),
          <fpage>593</fpage>
          -
          <lpage>600</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Yang</surname>
            <given-names>Chen</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu-Kun Lai</surname>
          </string-name>
          , and
          <string-name>
            <surname>Yong-Jin Liu</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>CartoonGAN: Generative Adversarial Networks for Photo Cartoonization</article-title>
          .
          <source>In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Kaiming</given-names>
            <surname>He</surname>
          </string-name>
          , Xiangyu Zhang, Shaoqing Ren, and
          <string-name>
            <given-names>Jian</given-names>
            <surname>Sun</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Deep residual learning for image recognition</article-title>
          .
          <source>In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</source>
          .
          <fpage>770</fpage>
          -
          <lpage>778</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Yuanming</given-names>
            <surname>Hu</surname>
          </string-name>
          , Hao He, Chenxi Xu,
          <string-name>
            <given-names>Baoyuan</given-names>
            <surname>Wang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Stephen</given-names>
            <surname>Lin</surname>
          </string-name>
          .
          <year>2017</year>
          . Exposure:
          <string-name>
            <given-names>A</given-names>
            <surname>White-Box Photo</surname>
          </string-name>
          Post-Processing Framework.
          <source>CoRR abs/1709</source>
          .09602 (
          <year>2017</year>
          ). arXiv:
          <volume>1709</volume>
          .09602 http://arxiv.org/abs/ 1709.09602
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Andrey</given-names>
            <surname>Ignatov</surname>
          </string-name>
          , Nikolay Kobyshev, Radu Timofte,
          <string-name>
            <given-names>Kenneth</given-names>
            <surname>Vanhoey</surname>
          </string-name>
          , and Luc Van Gool.
          <year>2017</year>
          .
          <article-title>DSLR-Quality Photos on Mobile Devices with Deep Convolutional Networks</article-title>
          .
          <source>In Proceedings of the IEEE international conference on computer vision.</source>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Martha</given-names>
            <surname>Larson</surname>
          </string-name>
          , Zhuoran Liu, Simon Brugman, and
          <string-name>
            <given-names>Zhengyu</given-names>
            <surname>Zhao</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Pixel Privacy: Increasing Image Appeal while Blocking Automatic Inference of Sensitive Scene Information</article-title>
          .
          <source>In Working Notes Proceedings of the MediaEval 2018 Workshop.</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Zhuoran</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Zhengyu</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Martha</given-names>
            <surname>Larson</surname>
          </string-name>
          .
          <year>2019</year>
          . Pixel Privacy 2019:
          <article-title>Protecting Sensitive Scene Information in Images</article-title>
          .
          <source>In Working Notes Proceedings of the MediaEval 2019 Workshop.</source>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Hossein</given-names>
            <surname>Talebi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Peyman</given-names>
            <surname>Milanfar</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Nima: Neural image assessment</article-title>
          .
          <source>IEEE Transactions on Image Processing 27</source>
          ,
          <issue>8</issue>
          (
          <year>2018</year>
          ),
          <fpage>3998</fpage>
          -
          <lpage>4011</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Zhe</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Li</given-names>
            <surname>Su</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Qingming</given-names>
            <surname>Huang</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Cascaded Partial Decoder for Fast and Accurate Salient Object Detection</article-title>
          . CoRR abs/
          <year>1904</year>
          .08739 (
          <year>2019</year>
          ). arXiv:
          <year>1904</year>
          .08739 http://arxiv.org/abs/
          <year>1904</year>
          .08739
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Bolei</surname>
            <given-names>Zhou</given-names>
          </string-name>
          , Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba.
          <year>2017</year>
          .
          <article-title>Places: A 10 million Image Database for Scene Recognition</article-title>
          .
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>