<!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>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alex J. Loosley</string-name>
          <email>aloosley@alumni.brown.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Amrollah Seifoddini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Canopoli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Meike Zehlike</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>EWAF'23: European Workshop on Algorithmic Fairness</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Zalando Research, Zalando SE</institution>
          ,
          <addr-line>Valeska-Gert-Straße 5, 10243 Berlin</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Zalando Switzerland AG</institution>
          ,
          <addr-line>Hardstrasse 201, 8005 Zürich</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>E-Commerce size and fit recommendations can be improved by using customer images to estimate body measurements. We are developing a body measurement fairness evaluation to determine if Zalando's AI/ML driven body measurement pipelines systematically underperform for customers of certain gender, body shape, or skin tone. The fairness evaluation produces four unfairness scores. The first is a gender unfairness score: the difference in average performance between genders. The second and third are body shape and skin tone unfairness scores: the difference in average performance betweensmallest andlargest bodies, and lightest and deepest skin tones, respectively. The fourth is an intersectional unfairness score: the number of customers that are members of clusters associated with significant underperformance. We demonstrate the fairness pipeline on one body measurement pipeline candidate in the development stage showing that body shape receives the most significant unfairness score. This work allows us to catch unfair body measurement pipelines during experimentation and development stages to help our team avoid deploying unfair models into production.</p>
      </abstract>
      <kwd-group>
        <kwd>fairness</kwd>
        <kwd>body segmentation</kwd>
        <kwd>body measurements</kwd>
        <kwd>skin tone labeling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Zalando aims to provide high quality size and fit recommendations for all customers. Such
recommendations are often made based on purchase history, but body measurement estimates based on
images of customers in tight fitting clothes can further improve these recommendations. Zalando
employs a mobile app-based body measurements pipeline for doing this in which customers are asked
to take front and side pose photos of themselves, a segmentation model converts the two photos to
binary body silhouettes, and the two body silhouettes are sent to the cloud for 3D body reconstruction
and inference of body measurements for use in improving size and fit recommendations.
In conjunction with Zalando’s values, the body measurements pipeline should be fair by not
systematically underperforming for customers based on protected attributes such as gender, body shape,
and so on. To that end, we are developing a body measurements fairness evaluation to track the
unfairness of body measurements pipelines during the development stage so that deployment decisions
can be made based on measures of fairness in addition to existing measures of performance and quality
control.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Fairness Evaluation Dataset</title>
      <sec id="sec-2-1">
        <title>2.1. Gender and Body Shape</title>
        <p>Our work evaluates fairness with respect to three protected attributes, gender, body shape and skin tone,
chosen by balancing the trade-offs between saliency and the feasibility of obtaining such data. We
curated a fairness evaluation dataset by enriching a Zalando dataset composed of images of consenting
customers posing in front and side positions and the gender they most identified with. We experimented
with several techniques for quantifying body shape including using PCA based models, but opted to</p>
        <p>2023 Copyright for this paper by its authors.
use image body cross sectional area normalized by image height (referred to below as normalized body
x-section) for fairness evaluation due to its simplicity and interpretability. Normalizing by image height
removed variance caused by subjects standing at different distances from the camera. Assuming
unbiased ground truth body silhouettes, using this simple, model-free, approach to encoding body shape
reduced the likelihood of introducing new biases into the fairness evaluation dataset.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Skin Tone Labeling</title>
        <p>
          Of the three protected attributes used for fairness evaluation, skin tone was the most challenging to
obtain. Unfortunately, we could not ask the customers to self-report their skin tone. We abstained from
automatically extracting skin tone using machine learning based models because such models are
known to output biased results [
          <xref ref-type="bibr" rid="ref1">1, 2</xref>
          ]. We experimented with extracting skin tone by measuring the
average pixel intensity of exposed skin based on skin silhouette annot ations, henceforth skin albedo.
Skin albedo as a quantity represents a combination of one’s skin tone along with other factors such as
lighting, skin reflectivity, skin redness, camera properties, image processing, and more. Therefore,
evaluating for fairness using skin albedo does not enable one to disentangle which customers
systematically receive inferior results based on skin tone.
        </p>
        <p>To collect data for assessing skin tone fairness, we instead devised a labeling process aimed at
mitigating some of the bias of skin tone labeling. The approach began with forming a small but diverse
team consisting of four people: two men, two women, each having different racial backgrounds and
expertise (one ethical data labeling expert, one computer vision expert working on size and fit problems,
one responsible AI researcher, and one beauty product expert).</p>
        <p>The process was broken down into two calibration labeling tasks (discussed below), one main labeling
task where most of the images were labeled, and one post calibration labeling task to validate label
quality and fix obvious labeling mistakes (Fig. 1). The goal of the calibration tasks was severalfold.
First was to debug the labeling process including making sure our labelers had clear instructions and a
clear view of label examples while labeling. Second was to establish labeler baselines so we could see
if labeling statistics changed over time. The final goal was to have a reflection process for identifying
and raising awareness of potential biases each labeler experienced so that each label could be mindful
of such potential biases during the main labeling task. Some identified biases included: the tendency to
choose a skin tone based on facial features associated with particular ethnicities, and the potential
biasing effect of background objects on selecting skin tone. A total of 59 images were set aside for both
calibration tasks, which took place several weeks apart. Thirty of the images from Calibration 1 were
relabeled during Calibration 2 in order to assess labeler consistency.</p>
        <p>
          Choosing a skin tone scale comprised of balancing the need for it to be representative, meaningful to
others, and not too complicated for skin tone labelers. Until present, most skin tone data have been
collected using the Fitzpatrick scale [
          <xref ref-type="bibr" rid="ref2">3, 4</xref>
          ]. Recently, the Monk Skin Tone Scale was proposed as a more
representative scale than Fitzpatrick for fairness assessments [5]. However, the Monk Skin Tone Scale
is complex, with ten different labels2. We found a middle ground by choosing the five-point Zalando
Beauty Skin Tone Scale (Fig. 1, bottom) because five labels were simpler for labelers than ten labels,
the labels were thoroughly tested with our customers, customers research found the label names
inclusive, and labeling with this label set meant having labels that would be interpretable across
Zalando. Labelers were allowed to label with two consecutive values if they thought the truth lay
somewhere in the middle (i.e. both mid-light + medium was a valid label selection), and labelers were
always allowed to choose uncertain if they did not have confidence in their ability to choose an accurate
skin tone label. If there was uncertainty caused by more than one observable skin tone, labelers were
asked to focus on the subject’s cheeks.
        </p>
        <p>
          Comparing mean skin tone label across labelers to skin albedo provided some interesting insights about
the differences between the two measures (Fig. 2A). Overall, there was an expected negative correlation
with a wide variance of skin tone labels given a particular value of skin albedo (and vice versa)
indicating the importance of differentiating between the two measurements. Skin tone data, unlike skin
albedo data, demonstrates the need to collect more data on subjects with deeper skin tone.
For the majority of images (62%), there was near consensus amongst labelers, meaning labels were
within one ordinal value of each other (Fig. 2B). Skin tone labeling is highly subjective and labeling
customer curated images taken u nder a variety of lighting conditions makes the process even more
challenging. The consensus rates were, however, comparable between calibration and main tasks giving
us confidence in the data, despite the rates being lower than those from a recent skin to ne labeling
experiment by Krishnapriya et al. [
          <xref ref-type="bibr" rid="ref2">4</xref>
          ] where color corrected, well lit, close-up images of faces were
labeled with a near consensus rate of 96% (using the Fitzpatrick scale and three labelers).
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Fairness Evaluation</title>
      <p>Given the fairness evaluation dataset, we are implementing a fairness evaluation for the end-to-end
body measurements pipeline as well as the individual processing steps (i.e. silhouette extraction and
body reconstruction). From a systems engineering perspective, the former acts like an end-to-end test
indicative of how fair the customer facing result m ight be when the system is deployed. The latter acts
like a set of unit tests that help pinpoint causes of overall unfairness and provide applied scientists rapid
model specific feedback during their experiments. For brevity, this article focuses on silhou ette
extraction fairness. To prevent potential application misuse that could occur by showing weaknesses in
a live running Zalando application, our analysis and corresponding conclusions from this point on are
based on a non-deployed demonstration model only.</p>
      <p>2 We should note that, after the experiment was designed and carried out, the authors behind the
Monk Skin Tone Scale open sourced a skin tone examples dataset that should simplify the usage of this
skin tone scale [6].</p>
      <sec id="sec-3-1">
        <title>3.1. Performance Metrics</title>
        <p>To measure silhouette extraction fairness, our evaluation calculates performance on each image in terms
of an error length scale representing the average deviation between predicted and ground truth silhouette
boundaries. Such an error length scale allows an evaluator to compare against an error threshold above
which downstream size and fit recommendations might deviate by one size unit. We are currently trying
to understand what a reasonable error threshold signifying underperformance impacting the end result
should be (it is also garment specific). However, a conservatively low error threshold of 2 mm is used
for interpreting the results below.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Non-intersectional (Un)fairness Evaluation</title>
        <p>Non-intersectional unfairness considers discrepancies in performance versus a single protected
attribute. Gender unfairness was determined using a Kolmogorov–Smirnov two-sample test (p=0.05)
to determine if the errors between male and female customers appeared to have been sampled from
different distributions. If so, unfairness was deemed statistically significant and was scored as the
difference of means between the two distributions. The severity of unfairness was determined by
comparison to the 2 mm error threshold. For scoring unfairness with respect to body shape and skin
tone, linear regression was used. If the slope was significantly different from zero as determined by t
test, unfairness was deemed statistically significant and scored as the difference in performance between
5th and 95th percentile protected attribute values along the line of fit.</p>
        <p>Given the demonstration model, no significant gender unfairness was observed for either side or front
pose images (Fig. 3A). Body shape unfairness was significantly different from the null hypothesis for
both side and front pose images (Fig. 3B). However, the corresponding unfairness scores were both
well below the error threshold of 2 mm, likely indicating no discernible difference in outcomes between
small and large customers. Skin tone unfairness for side pose images was significantly different from
the null hypothesis, but also well below the 2 mm error threshold likely indicating no discernible
difference in outcomes between customers with light and deep skin tone (Fig. 3C). The reliability of
the latter result would be improved with more data on subjects with deeper skin tone.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Intersectional (Un)fairness Evaluation</title>
        <p>Intersectional unfairness was evaluated by seeking out clusters of subjects (with similar combinations
of body shapes and skin tones) associated with significant underperformance. To do this, values of body
shape and skin tone values were standardized by removing the mean and scaling to unit variance. Given
standardized data points, the density-based clustering algorithm DB Scan [7] was used to search for
clusters associated with underperformance. An ensemble of DB Scan models was trained varying the
density hyperparameter ε=10-1.5, 10-1.49, …, 10-0.01, 100 (the lower the ε-value, the closer data points must
be to be considered part of the same cluster). Any clusters with a minimum of 10 data points where at
least 70% of data points had an error length scale ≥ 1.7  were considered underperforming clusters.
Given these underperformance criteria, DB
Scans with density hyperparameters 10-0.1 ≤ ε ≤
10-0.01 consistently identified one
underperforming cluster: side posing subjects
with deeper skin tones (Fig. 4). Although the
exact underperformance criteria used here were
somewhat arbitrary, applying stricter
underperformance criteria led to no findings.</p>
        <p>Thus, this result represents a worst-case scenario
for unfair performance.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>Ultimately, we believe this work will contribute to a higher customer satisfaction with size and fit
recommendations as we are now able to identify and deploy body measurement pipelines that not only
perform well, but also perform fairly. We hope this work can more generally provide a fairness
evaluation playbook for others developing human -centric computer vision systems.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>H.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Bolkart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Tesch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Black</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Abrevaya</surname>
          </string-name>
          , Towards Racially Unbiased Skin Tone Estimation via Scene Disambiguation (
          <year>2022</year>
          ) doi: 10.48550/ARXIV.2205.
          <issue>03962</issue>
          [2]
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Howard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. B.</given-names>
            <surname>Sirotin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Tipton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. R.</given-names>
            <surname>Vemury</surname>
          </string-name>
          ,
          <article-title>Reliability and Validity of Image-Based and Self-Reported Skin Phenotype Metrics</article-title>
          ,
          <source>IEEE Transactions on Biometrics, Behavior, and Identity Science</source>
          , vol.
          <volume>3</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>550</fpage>
          -
          <lpage>560</lpage>
          , Oct.
          <year>2021</year>
          , doi: 10.1109/TBIOM.
          <year>2021</year>
          .
          <volume>3123550</volume>
          [3]
          <string-name>
            <given-names>T. B.</given-names>
            <surname>Fitzpatrick</surname>
          </string-name>
          .
          <article-title>The validity and practicality of sun -reactive skin types i through vi</article-title>
          .
          <source>Archives of Dermatology</source>
          ,
          <volume>124</volume>
          (
          <issue>6</issue>
          ):
          <fpage>869</fpage>
          -
          <lpage>871</lpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K. S.</given-names>
            <surname>Krishnapriya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>King</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. W.</given-names>
            <surname>Bowyer</surname>
          </string-name>
          ,
          <source>Analysis of Manual and Automated Skin Tone Assignments for Face Recognition Applications</source>
          , (
          <year>2022</year>
          ), doi: 10.48550/ARXIV.2104.
          <issue>14685</issue>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>Monk</surname>
          </string-name>
          , Monk Skin Tone Scale, URL: https://skintone.google,
          <year>Accessed 2023</year>
          /06/04 [6]
          <string-name>
            <given-names>E.</given-names>
            <surname>Monk</surname>
          </string-name>
          ,
          <string-name>
            <surname>MST-E dataset</surname>
          </string-name>
          , URL: https://skintone.google/mste-dataset,
          <year>Accessed 2023</year>
          /06/04 [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ester</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. P.</given-names>
            <surname>Kriegel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sander</surname>
          </string-name>
          , and
          <string-name>
            <given-names>X.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <article-title>A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise</article-title>
          .
          <source>In: Proceedings of the 2nd International Conference on Knowledge Discovery and Data Mining</source>
          , Portland,
          <string-name>
            <surname>OR</surname>
          </string-name>
          , AAAI Press, pp.
          <fpage>226</fpage>
          -
          <lpage>231</lpage>
          .
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>