<!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>
      <journal-title-group>
        <journal-title>Lahti, Finland
$ sonja.hyrynsalmi@lut.fi (S. M. Hyrynsalmi)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Diversity, Equity and Inclusion in The Age of Generative AI</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sonja M. Hyrynsalmi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LUT University</institution>
          ,
          <addr-line>Mukkulankatu 19, Lahti, 15210</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>As generative AI services continue to expand across various industries, especially in the field of software engineering, it is critical to comprehend how these services represent diferent groups of people. Despite software engineers' crucial role in this industry, limited research exists on how generative AI image tools portray software engineers themselves. This study examines the representation of software engineers in generative AI image tools like DALL-E and Canva. Using qualitative analysis, we assess image outputs to identify representational themes. Our results indicate that while these tools can generate varied images, there are noticeable representation gaps, especially regarding gender and age.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Software Engineering</kwd>
        <kwd>Diversity</kwd>
        <kwd>DALL-E</kwd>
        <kwd>Canva</kwd>
        <kwd>Generative AI</kwd>
        <kwd>Diversity in Generative AI</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        A classic English idiom states that a picture is worth a thousand words. In the wake of rapid
advancements in artificial intelligence (AI), tools like DALL-E and MidJourney are
revolutionizing image creation, making impactful pictures for everyday use more accessible than ever
before [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. Images and narratives play pivotal roles in media, influencing perspectives but also
reinforcing stereotypes [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. However, the representation of software engineers in pictures and
talks has long been male-dominated. This has led to a situation where visible role models, such
as women in the software industry, are lacking. Furthermore, role models and representation
in pictures and talks significantly impact how diverse people get interested in the industry. In
addition, role models are essential for retaining and promoting diverse workers in their software
industry careers. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
      </p>
      <p>
        Issues related to bias in AI tools can primarily be viewed from two dimensions: data and
algorithms. Srinivasan and Chander identify specific biases, ranging from sampling to validation
and testing [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], ofering guidelines to ML developers. Historically, software engineering has
confronted biases, particularly gender bias, with women’s crucial yet underrepresented role in
the industry [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ].
      </p>
      <p>
        Generative AI image tools like DALL-E have advanced rapidly, becoming widely recognized
and used in the industry [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. Generative AI image tools can significantly influence areas like
education and broaden art accessibility [
        <xref ref-type="bibr" rid="ref1 ref10 ref2">10, 2, 1</xref>
        ]. However, as commercial AI tools emerge,
there’s an urgency to identify biases in their real-world applications [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Furthermore, the
correct training data is vital, especially concerning gender biases [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. It is essential also to note
that previous visualizations can perpetuate inaccuracies. For instance, ad display algorithms
might inaccurately suggest women aren’t interested in software engineering roles, as ads about
software engineering roles have been targeted only to male audience [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>
        The transformative potential of AI across sectors is undeniable [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], yet its ethical and
sustainability implications warrant attention, especially in the context of Sustainable Development
Goals [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. For example, the UN’s Sustainable Development Goals address biases, including AI
biases. It has also been said that biases remain the main challenge and should be considered
in every field [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Emergent generative AI tools, providing capabilities from text generation
to image creation, demand scrutiny for biases and their broader implications. In this light, we
examined software engineering representation in recent generative AI image tools DALL-E and
Canva’s Text-to-Image. Our ongoing research poses the question: How do diferent generative AI
tools, such as DALL-E and Canva’s Text-to-Image, vary in their representation of software engineers
based on gender, ethnicity, and age?
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Research Process</title>
      <p>
        This research investigates potential biases in the portrayal of the software engineering profession
by generative AI tools, particularly concerning gender, ethnicity, and age. We employed a
qualitative analysis approach to comprehend specific themes related to software engineering
diversity [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The focal point was the depiction of gender, ethnicity, and age in outputs from
sampled tools.
      </p>
      <p>Criteria for tool selection were: (i) accessibility without advanced technical know-how;
(ii) widespread usage and media attention, implying diverse user bases; and (iii) standalone
operation, meaning outputs are based solely on user commands without any external guiding
inputs. Given these criteria, OpenAI’s DALL-E, designed to produce visual outputs from verbal
cues, was chosen as the first tool. Our second tool was Canva, an established graphic design
platform with over 100 million monthly users. Both Canva and Dall-E generate four images per
prompt.</p>
      <p>The study employed two primary search prompts in DALL-E and Canva’s Text-to-Image:
"Software engineer working" and "Successful software engineer". Additional prompts included
"picture of software engineer for recruitment" and "software engineering team". Our qualitative
analysis was centered on gender, ethnicity, and age which are the most common aspects of
team diversity.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Results</title>
      <p>Overall, there are 64 persons in these 32 pictures (Figures 1-8); from those 64 people, 5 are
women, and 1 is androgyne, or the gender is hard to describe.</p>
      <p>When regarding gender, Canva’s results are more male-dominant than Dall-E’s, and for that,
there can be a gender bias in this research phase. In two of sixteen pictures, there is a woman in
a picture. In both of those pictures (Figure 7, pictures b and c), where a woman was identified,
(a) Figures 1-4
(b) Figures 5-8
are under the input of "software engineer team". However, both pictures describe a big software
engineering team, and in both, there is only one woman in the picture. Dall-E provides more
diverse pictures regarding gender than Canva. From four diferent inputs, Dall-E provided
women in almost everyone. Only input "software engineer working" does not have any women.
Also, in the results of the "successful software engineer," the only woman wearing a helmet
would be something to investigate further.</p>
      <p>The male gender was underlined in many pictures with a beard, referring to the male software
engineer. There were a lot of blue-collar or blue shirts used, and in the one software engineering
team picture, where there were a woman (7c), the woman stands out from her male colleagues
(wearing blue) as she wears a yellow blouse. Women are also easy to identify even though they
don’t look at the camera in some pictures (6a, 8a) as they wear long, nicely cut hair.</p>
      <p>Identifying and categorizing ethnicity and age were more challenging for the researchers.
Both Canva and Dall-E have diversity regarding the ethnicity in their pictures. However,
regarding the age, what was striking was that all the people in the pictures represented people
who could be identified as young (30-45 years old). There were no familiar signs of older age,
such as grey hair or wrinkles.
3.1. Discussion
While generative AI tools are still in the early stages of their life cycles, it is predicted that the
quality of their outputs will improve as they become more widely used. However, as seen from
our results, there is a risk that these tools will reinforce and repeat harmful stereotypes.</p>
      <p>Overall, our results continue the past discussion around representative pictures, which has
been going on digital pictures also regarding ’stack stock photos’. Our advices for the more
representaive use of AI image tools would be: 1) Consider carefully the construction of prompts
for AI image tools; instead of generic terms like ’software engineer’, specify ’a group of software
engineers from diverse age, ethnicity, and gender groups.’, 2) Promote awareness about diverse
representation in software engineering within your communities and advocate as an ally for
broader inclusivity, and 3) There is a need for ongoing improvements to ensure that generative
AI tools produce more representative and inclusive images of software engineers.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Acknowledges</title>
      <p>This research was supported by PHP-säätiö (Grant number: 20230012)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Aktay</surname>
          </string-name>
          ,
          <article-title>The usability of images generated by artificial intelligence (ai) in education</article-title>
          ,
          <source>International Technology and Education Journal</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>N.</given-names>
            <surname>Dehouche</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Dehouche</surname>
          </string-name>
          ,
          <article-title>What is in a text-to-image prompt: The potential of stable difusion in visual arts education</article-title>
          ,
          <source>arXiv preprint arXiv:2301</source>
          .
          <year>01902</year>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Herdağdelen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Baroni</surname>
          </string-name>
          ,
          <article-title>Stereotypical gender actions can be extracted from web text</article-title>
          ,
          <source>Journal of the American Society for Information Science and Technology</source>
          (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>E.</given-names>
            <surname>Rubegni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Penzenstadler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Landoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jaccheri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Dodig-Crnkovic</surname>
          </string-name>
          ,
          <article-title>Owning your career paths: Storytelling to engage women in computer science (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>R.</given-names>
            <surname>Srinivasan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chander</surname>
          </string-name>
          ,
          <article-title>Biases in ai systems</article-title>
          ,
          <source>Communications of the ACM</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Margolis</surname>
          </string-name>
          , A. Fisher,
          <article-title>Unlocking the clubhouse: Women in computing</article-title>
          , MIT press,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>M.-T. Wang</surname>
            ,
            <given-names>J. L.</given-names>
          </string-name>
          <string-name>
            <surname>Degol</surname>
          </string-name>
          ,
          <article-title>Gender gap in science, technology, engineering, and mathematics (stem): Current knowledge, implications for practice, policy, and future directions, Educational psychology review (</article-title>
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Di Bartolomeo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Schetinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Adams</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. M. McNutt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>El-Assady</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Miller</surname>
          </string-name>
          ,
          <article-title>Doom or deliciousness: Challenges and opportunities for visualization in the age of generative models (</article-title>
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>H.-Y.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <article-title>Standing on the shoulders of ai giants</article-title>
          ,
          <source>Computer</source>
          <volume>56</volume>
          (
          <year>2023</year>
          )
          <fpage>97</fpage>
          -
          <lpage>101</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J. V.</given-names>
            <surname>Pavlik</surname>
          </string-name>
          ,
          <article-title>Collaborating with chatgpt: Considering the implications of generative artificial intelligence for journalism and media education</article-title>
          ,
          <source>Journalism &amp; Mass Communication Educator</source>
          (
          <year>2023</year>
          )
          <fpage>10776958221149577</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>N.</given-names>
            <surname>Mehrabi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Morstatter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Saxena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lerman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Galstyan</surname>
          </string-name>
          ,
          <article-title>A survey on bias and fairness in machine learning</article-title>
          ,
          <source>ACM Computing Surveys (CSUR) 54</source>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>35</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kuczmarski</surname>
          </string-name>
          , M. Johnson,
          <article-title>Gender-aware natural language translation (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Lambrecht</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tucker</surname>
          </string-name>
          ,
          <article-title>Algorithmic bias? an empirical study of apparent gender-based discrimination in the display of stem career ads</article-title>
          ,
          <source>Management science 65</source>
          (
          <year>2019</year>
          )
          <fpage>2966</fpage>
          -
          <lpage>2981</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>R.</given-names>
            <surname>Vinuesa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Azizpour</surname>
          </string-name>
          , I. Leite,
          <string-name>
            <given-names>M.</given-names>
            <surname>Balaam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Dignum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Domisch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Felländer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. D.</given-names>
            <surname>Langhans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Tegmark</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fuso</surname>
          </string-name>
          <string-name>
            <surname>Nerini</surname>
          </string-name>
          ,
          <article-title>The role of artificial intelligence in achieving the sustainable development goals</article-title>
          ,
          <source>Nature communications 11</source>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M. Q.</given-names>
            <surname>Patton</surname>
          </string-name>
          ,
          <article-title>Qualitative research &amp; evaluation methods: Integrating theory and practice</article-title>
          , Sage publications,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>