How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?
Paper · 2022 · Hritik Bansal, Da Yin, Masoud Monajatipoor et al.
Summary
A request for a picture of a lawyer leaves many decisions to the image generator. The user has specified an occupation, but has said nothing about the person’s gender expression or skin color. If the generator repeatedly depicts people from the same group, that regularity comes from the system’s response to the request. Hritik Bansal and colleagues ask whether an addition to the prompt can change that response. In a profession prompt, the addition says that people can do the job regardless of a demographic characteristic. In a wedding prompt, it asks for cultural variety. The additions leave the choice of whom to depict open. The experiment asks whether that choice changes across a collection of generated pictures, a question about bias, fairness and safety.
The authors build ENTIGEN, a benchmark of 246 prompts. Its examples cover occupations, things people wear, and wedding scenes. The authors compare ordinary requests with versions that add a statement about gender, skin color, or culture. They also try ethical statements on unrelated subjects, such as the value of honesty, to see what happens when a prompt changes without addressing the characteristic being measured. They run these comparisons on minDALL·E, DALL·E-mini, and Stable Diffusion without retraining them. Human raters judge a subset of the occupation and clothing-related examples and all the wedding scenarios. An automated evaluator covers the broader gender evaluation.
Several additions make the pictures more evenly distributed across the groups the authors count. Both cultural requests improve the human-rated wedding diversity score for all the generators studied. The gender and skin-color comparisons depend more on the wording, the generator, and the evaluator. In some cases the more frequently depicted group switches, as in DALL·E-mini’s pictures of people wearing makeup. Human ratings show that several changes in representation come with similar or better counts of recognizable, prompt-matching pictures, while other settings lose more of those pictures. Stable Diffusion also sometimes produces scenes with several people, making a single label difficult to assign.
The authors investigate why the wording matters by removing part of an intervention. With DALL·E-mini, dropping the clause about gender brings back the familiar pattern for makeup and police officers. A search of training captions offers clues about how related wording is used, while leaving the cause of the visual response open. The strongest conclusion is about sensitivity to the prompt. An abstract instruction can change whom a generator depicts, and the size and direction of that change have to be measured for the particular request.
Deep dive: How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?
ENTIGEN tests whether adding statements about equal opportunity or cultural variety to image prompts changes who appears in the results. · about 34 minutes to read
The problem and its context
An open choice can have a predictable outcome
A prompt can be neutral in a narrow and useful sense. It can name an occupation without specifying who holds it, or ask for a person wearing a scarf without specifying that person’s skin color. The image still has to show someone, and any particular picture will make choices the language left open. A picture of a single lawyer can satisfy the request perfectly well. The concern begins when a collection of otherwise valid pictures repeatedly fills in an unspecified characteristic in the same way.
The paper takes earlier observations about such patterns as its starting point. It cites work by Cho and colleagues that used professions and objects to probe social bias in text-to-image generation. The paper describes cases in which ordinary descriptions elicited pictures disproportionately depicting people perceived as white men. In designing their own skin-color evaluation, Bansal and colleagues make a narrower claim about what a picture permits a rater to judge. They classify perceived light or dark skin rather than assign racial identities. Their distinction also matters for gender. Clothing, hair, and other visible features can influence how someone reads a picture, while a depicted person’s gender identity is outside the reach of that judgment. The paper draws on earlier work on the consequences of restricted gender categories. Harms of Gender Exclusivity and Challenges in Non-Binary Representation in Language Technologies
This is a problem that sits alongside the ability to render unusual things on request. The authors describe systems that can produce a convincing picture of a composition they are unlikely to have encountered as an ordinary scene. They situate the work among approaches that generate images from text descriptions, including the original DALL·E and subsequent systems such as GLIDE. A system’s freedom to compose visually unusual scenes gives a reason to ask what it does with an underspecified person. The two capabilities concern different parts of the request. One concerns whether the generator can draw what a user has described. The other concerns whom it draws when the user has left that choice open. Zero-Shot Text-to-Image Generation · GLIDE
The paper treats concentration in generated pictures as a concern because an image collection can reinforce associations already present in its training material. When a service repeatedly depicts a profession with the same social group, it presents a restricted view of who occupies that role, even though the occupation itself is rendered correctly. The experiments focus on that visible regularity. They examine generated pictures and label distributions, so the connection to social harms is the motivation for the study. Experiencing those harms, or measuring their consequences for people using a service, would require different observations.
The cultural question approaches the same problem through a scene. Weddings can express local practices through several visible features together. A request for a bride, groom, or wedding leaves room for that variation even though it asks for a recognizable subject or event. The authors use wedding ceremonies because they occur in many settings and can be visually distinct across those settings. Their categories are broad, so what starts as an open-ended question about cultural representation becomes a test of whether the generated pictures extend beyond the benchmark’s Western grouping.
Advice in the prompt
An explicit visual request offers a straightforward way to ask for a different picture. A person can specify the appearance they want to see, giving the generator another feature to render. The authors are interested in what happens when the new language takes the form of advice. Saying that a profession is open to people regardless of gender states a principle about the occupation. It still leaves the generator to decide which person to draw on each attempt. A request for a wedding drawn from varied cultural settings similarly leaves particular clothing, ceremonies, and traditions unspecified.
The distinction comes from earlier work on natural-language ethical interventions in text prediction. As the paper describes it, Zhao and colleagues asked whether giving a system ethical advice in its input could affect the choices it made. That idea belongs to a broader line of research on following instructions with little or no task-specific demonstration. The authors take from that line of work the possibility of changing behavior through a textual input, then adapt the experiment to images. Here the evidence of a response is a change in the distribution of visible outputs from repeated generations. Language Models are Few-Shot Learners
The transfer creates a new interpretive problem. If a sentence about equal opportunity changes who appears, the difference could come from the statement as a whole or from the association of a few words with particular pictures. The words might also alter the scene in a way that makes it harder to label. A changed distribution provides direct evidence that the prompt affected the measured output. Explaining how that change arose requires closer comparisons, which is why ENTIGEN includes different formulations and unrelated ethical additions.
From a picture to a distribution
A request in these experiments generally asks for a picture, while the question about diversity concerns a batch. There is no requirement for each picture of a police officer to depict people from every group. The experiment is concerned with whether repeated requests produce a wider set of depictions. This also means that the response to a single wedding prompt has to be understood in relation to the other pictures generated under the same condition. A visually striking example can demonstrate that a depiction is possible. A group count tells the reader how much of the evaluated collection it represents.
That way of framing the problem makes the human and automatic evaluation part of the scientific question. A generator can vary details that the selected categories ignore. A rater can read an image as uncertain, even when the generator has produced a recognizable scene. The study therefore needs definitions for the kinds of variety it will count, and a procedure for deciding when a picture offers enough evidence for a label. Those decisions connect the work on vision and language to the design of evaluation benchmarks.
The method, step by step
Choose subjects that can be depicted in different ways
The authors begin with the kind of picture a person might request before mentioning a demographic or cultural characteristic. For the profession category, the prompt names a job. The occupation identifies the subject, and the generator supplies a person to represent it. For the object category, the prompt asks for someone wearing the named item. This makes the person part of the requested picture even when the item, such as a suit or a scarf, is the explicit subject of interest. For weddings, the request can name a bride or groom or ask for the event as a whole.
The full attribute list contains 25 professions, 8 objects, and 3 cultural scenarios. An attribute is the particular subject inserted into a prompt template, such as doctor, makeup, or bride. The authors favor subjects with recognizable visual features. A suit and makeup are ways to test whether a requested item appears on people with varied gender expression or skin color. Police officers and doctors provide occupational examples. Bride, groom, and wedding make it possible to examine people in particular roles alongside scenes that can depict a broader ceremony. The paper takes some of the choice of attributes from earlier work on objects, social bias, and culturally situated visual knowledge.
Neutral requests form the reference condition. In this usage, neutrality refers to the words that describe the requested picture. An occupation may already be strongly associated with particular people in the generator’s outputs and still qualify as a neutral prompt. The authors can therefore use the ordinary request to observe where the system starts. They keep the same occupation, item, or wedding subject in the modified requests, so a change in representation can be examined against a common visual task.
Make versions of the same request
The next step is to append language that addresses the characteristic under study. One kind of profession intervention says that access to the profession should apply regardless of gender. Another says that people of every gender can belong to that profession. The paper uses parallel constructions for skin color and adapts the idea to the object category by stating that people can wear the specified item regardless of the relevant characteristic. The wording matters because the study is trying to find out how a generator handles the statement, so using several forms makes the conclusion less dependent on how a single example happens to be written.
The wedding additions are short requests for scenes from varied or different cultures. They differ from the profession and object clauses in how directly they modify the intended picture. A statement about access to an occupation is general advice that can hold regardless of the person shown. A request for more cultural variety makes the origin or setting of the pictured event part of the requested output. Both additions leave the particular depiction to the generator. Their comparison is informative within each category, while their linguistic differences matter when interpreting findings across categories.
The authors also append unrelated ethical statements. These invoke ideas such as honesty or compassion and have no intended connection to the grouping used for the picture. They provide a check on a particular explanation for any observed change. If extra moral language were enough to alter the distribution, a prompt about honesty could shift the scores as well. If a change primarily follows the characteristic under study, the relevant addition has a clearer claim to being the part of the prompt that matters. Such comparisons are especially useful because the prompt is the intervention, and every change in the text is potentially visible to the generator.
The appendix describes 4-7 modified requests for each original prompt, with 1-2 unrelated ethical variants among them. The benchmark contains 246 prompts altogether. That total refers to the textual inputs, including variants. Separate outputs are generated for each input, and the human and automatic evaluations cover different parts of the resulting image collection. The authors released their code and annotated ENTIGEN data so that the prompts and assessments could be inspected.
From ENTIGEN prompts to measurements of representation
The steps in order.
Generate pictures without updating the generators
The authors use minDALL·E, DALL·E-mini, and Stable Diffusion. They choose publicly available systems that can generate pictures at a practical speed for repeated testing. The appendix identifies the Stable Diffusion checkpoint as v1-4 and explains that the authors considered the quality and speed of available alternatives. The experiment keeps the generators fixed. The user-facing request is what varies, so any difference in the evaluated output is a response observed during generation. Stable Diffusion comes from the line of work described in High-Resolution Image Synthesis with Latent Diffusion Models.
The paper describes generating 9 images per prompt per generator and repeating that operation 9 times. Repetition gives the experiment a distribution to examine. If one picture shows a woman doctor and the next shows a man doctor, both can be legitimate realizations of the same prompt. The representation measure depends on the counts across pictures. The study uses existing trained generators, and its data procedure concerns the construction of inputs, the sampling of images, and the evaluation of those samples.
A set of pictures can vary in several ways at once. A modified request may change the person depicted, the composition of the scene, and whether the main subject is clear. These changes have different implications for the study. A group count depends on the raters being able to assign a group to a picture. A judgment about prompt fit depends on the requested profession, object, or scene being recognizable. The authors collect information about both so that a shift in one can be interpreted in light of the other.
Decide how to read the pictures
The human evaluation uses annotators recruited through Amazon Mechanical Turk. They judge whether a picture contains a recognizable person and whether it depicts what the prompt requests. When the image can be read as showing a person, they can classify perceived gender expression and skin color. The form allows them to indicate uncertainty. The authors recruit three annotators for each picture and use the majority judgment. Those judgments are a form of annotation: they turn aspects of a picture into labels that can be counted.
For occupations, the human subset consists of police officer and doctor. For objects, it consists of suit, scarf, and makeup. People judge all the cultural images, whose subjects are bride, groom, and wedding. The authors attribute the partial human coverage of the first two categories to the cost of annotation. The resulting human comparisons serve two roles. They supply the skin-color and cultural evaluations, and they offer another view of gender alongside the automatic judgments.
Each axis uses a pair of labels. For gender, the groups are perceived as man or woman. For skin color, the groups are light-skinned or dark-skinned according to the rater’s perception. For culture, the groups are Western and Non-Western. A human gender judgment in this setting expresses how the appearance was read. A skin-color judgment similarly records perception of the image, without assigning the person a racial category. The cultural labels classify the pictured people or scene at the broad resolution chosen for the benchmark.
For the automatic evaluation, the authors use CLIP to score how well an image matches a short piece of text. They first compare a description of a person with a description of an object. Images that match the latter better are removed before gender labeling. In compact notation, the exclusion rule is:
sim(I, T_person) < sim(I, T_object)
Here I is the image being evaluated. T_person is the reference text describing a photograph of a person, and T_object is the reference text describing a photograph of an object. In each call, sim gives CLIP’s compatibility score for the image and the specified text. The < sign expresses that the person score is lower than the object score. The decision is relative to those descriptions and to the way CLIP scores their fit.
For a picture that passes this filter, CLIP compares reference descriptions for someone who appears to be a man, someone who appears to be a woman, and someone whose gender expression is uncertain. The uncertainty option keeps the automatic procedure from forcing every recognizable person into one of the two counted groups. In the human procedure, an annotator can register a comparable difficulty directly. Both procedures therefore distinguish recognition of a person from recognition of the particular characteristic the experiment is trying to count.
The authors check the automatic and human decisions against each other on a subset. CLIP agrees with the human gender judgments at a reported rate of 78-85%. The corresponding skin-color agreement is 67-78%. The authors choose automatic evaluation for gender only, where agreement is higher. Culture is evaluated by people, who already assess all the pictures in that category. The agreement rates concern labels on the overlap between the evaluations. Their interpretation depends on the human judgments serving as the comparison, and both the automated and human raters can have systematic preferences.
Measure imbalance for a category of prompts
The category-level measure is called the diversity score. It records how far the group counts are from balance for pictures that receive one of the two relevant labels. The authors start with an attribute, such as police officer, and count pictures in each group under a particular prompt formulation. They take the absolute difference for that attribute. They then carry out the same operation for each attribute in the category. At that point they can measure the total imbalance relative to the total number of pictures receiving a group label.
diversityᵍ(P) = [Σₖ∈P |sᵍₖ,ₐ − sᵍₖ,ᵦ|] / [Σₖ∈P (sᵍₖ,ₐ + sᵍₖ,ᵦ)]
diversityᵍ(P) denotes the reported diversity score for axis g and category P, under the prompt condition being evaluated. The superscript g identifies gender, skin color, or culture. P is the profession, object, or wedding category, and k identifies an attribute within it. The notation k ∈ P says that the sum Σ runs over the attributes in that category. The first count, sᵍₖ,ₐ, is the number of pictures of attribute k assigned to group a on axis g. The second count, sᵍₖ,ᵦ, is the corresponding number assigned to group b. The vertical bars take the absolute value of each difference. In the denominator, the + combines the group counts for each attribute, and / divides the summed imbalance by the summed number of assigned pictures.
The location of the absolute value is important. Suppose the counts favor men for police officers and women for another occupation. Both occupations contribute to the score because the calculation takes the size of each gap before adding the gaps together. A gender balance obtained by pooling the pictures could hide strong associations within individual occupations. The authors’ calculation preserves those associations in the category total, while leaving their direction to a separate measure.
The denominator lets the authors compare conditions with different numbers of classifiable pictures. When some images are too ambiguous to receive a skin-color or gender label, those pictures enter neither group count. The result is imbalance per classified picture. An attribute with more classified pictures has more influence than one with fewer, unless their contributions happen to balance under the calculation. A smaller score means that the two labels are more evenly represented within the evaluated attributes. It says how balanced the labeled portion is, which makes the treatment of ambiguous pictures relevant to interpreting the score.
Keep direction and image quality visible
At the level of a single attribute, the authors also compute a signed bias score. They use the same group counts, retaining the sign of the difference.
biasᵍ(k) = (sᵍₖ,ₐ − sᵍₖ,ᵦ) / (sᵍₖ,ₐ + sᵍₖ,ᵦ)
biasᵍ(k) is the signed imbalance for attribute k on axis g in a particular prompt condition. sᵍₖ,ₐ counts the images classified into group a and sᵍₖ,ᵦ counts those classified into group b. The order of subtraction gives the direction, and the sum in the denominator gives the total with either group label. The authors use man, light-skinned, and Western as group a on their respective axes. Group b is woman, dark-skinned, or Non-Western. A positive value indicates more pictures in the first group and a negative value more pictures in the second. The absolute magnitude describes how uneven the counts are.
The signed score distinguishes two outcomes that can be hard to separate from the category score. An intervention can bring the counts closer together within an attribute while leaving the original majority in place. It can also move the balance far enough that the other group becomes the majority. Either outcome shows a response to the prompt. The second says more about the strength or direction of that response than a favorable category score alone can convey.
Finally, the quality evaluation counts pictures that human raters regard as recognizable and faithful to the request. For a profession prompt, a person who can be recognized as doing the specified job provides stronger evidence of prompt fit than an image of an indistinct figure. For an object prompt, the requested item has to remain visible enough to judge whether the picture depicts it. The quality results are expressed as average counts of good pictures per attribute. This gives the authors a way to ask whether a more balanced set still supplies the pictures the request was intended to obtain.
Experiments and results
Wedding images show the most consistent response
Each generator’s output under an ordinary request provides its own baseline. For the cultural experiment, people rate the pictures for bride, groom, and wedding, and the paper compares the human diversity score across the ordinary requests, culturally directed additions, and unrelated clauses. The original scores are 0.9 for minDALL·E, 0.9 for DALL·E-mini, and 0.92 for Stable Diffusion. Since the metric measures imbalance, these scores indicate a strong concentration among the pictures that receive a cultural label. The paper’s image examples show what that concentration looks like for brides, with the original requests yielding Western wedding depictions in the illustrated case.
The request for diverse cultures lowers the wedding score to 0.6 for minDALL·E, 0.7 for DALL·E-mini, and 0.33 for Stable Diffusion. The alternative wording, which asks for different cultures, yields 0.71, 0.6, and 0.6 for those same generators. Both formulations improve on the ordinary prompt across the three systems. Their relative performance varies. Stable Diffusion and minDALL·E get their lower score with the diversity wording, while DALL·E-mini gets its lower score with the wording about difference.
Stable Diffusion prompt variants on ENTIGEN weddings, human-rated cultural diversity score
The request for diverse cultures yields the lowest imbalance among the tested wedding prompts.
The numbers
| System or setting | diversity score |
|---|---|
| Original prompt | 0.92 |
| Request for diverse cultures (this paper) | 0.33 |
| Request for different cultures | 0.6 |
| Unrelated clause about compassion | 0.82 |
| Unrelated clause about honesty | 0.92 |
The unrelated clauses fail to reproduce the improvement seen with either relevant addition across all three generators. Under both the compassion and honesty conditions, minDALL·E and DALL·E-mini have human wedding diversity scores of 1. For Stable Diffusion, the compassion condition scores 0.82 and the honesty condition 0.92. The compassion result demonstrates that an unrelated clause can move the score in a favorable direction in a particular setting. The consistency of the culturally directed requests is the stronger evidence. Both associated prompt forms yield more balanced labeled collections than their ordinary baselines for every generator tested.
These scores concern a specific division of the pictures. A batch can improve when it starts to include pictures labeled Non-Western, even if those pictures draw on a limited selection of cultures. The examples of changed bridal imagery give a concrete sense of what the intervention can produce. The aggregate comparison establishes that the changes extend to the balance between the two cultural categories over the wedding attributes.
Profession results depend on how the advice is phrased
For the profession category, CLIP supplies gender scores over the broader attribute set. The original requests yield a gender diversity score of 0.68 for minDALL·E, 0.90 for DALL·E-mini, and 0.84 for Stable Diffusion. The paper reports that gender-relevant additions can improve the results of all three generators. Its discussion emphasizes the formulation that explicitly makes gender irrelevant to who can do the job. The comparison between forms also reveals that the strongest wording depends on the generator.
For minDALL·E, the profession gender score under CLIP is 0.43 with the clause saying that access to the job is independent of gender. The alternative that says all genders can work in the profession scores 0.87, compared with the ordinary prompt’s 0.68. These prompts express closely related principles in everyday language. Their measured effects go in different directions, relative to the ordinary request. That difference is central to the paper’s question. A reader can accept both formulations as fair and still have little basis for predicting that a generator will respond similarly to them.
Stable Diffusion has a CLIP profession gender score of 0.71 with the clause about gender being irrelevant and 0.66 with the clause about all genders being eligible. Both improve on the 0.84 baseline. This case adds a qualification to the emphasis on a particular phrase. A formulation can be effective overall in the sense that it helps across generators while a different formulation yields the smaller imbalance on a given generator. The study compares specific inputs, and some of the score differences are large enough to make the choice of input consequential for the observed result.
The unrelated profession requests also affect the automatic estimates. For instance, DALL·E-mini’s CLIP gender score is 0.71 with the compassion clause, compared with 0.90 under the original request. Stable Diffusion’s score is 0.91 under the compassion clause, compared with its original 0.84. These are two different responses to the same kind of irrelevant addition. They help explain why an ordinary-prompt baseline alone would give an incomplete account of an intervention’s effect. An added clause can change the result even when its subject falls outside the grouping being counted.
Human judgments cover police officer and doctor within the profession category. The authors report that matched formulations using the wording about demographic characteristics being irrelevant generally give more favorable diversity estimates. One comparison that illustrates the importance of formulation is human-rated skin color for the two professions. The clause saying that the job is open regardless of skin color gives scores of 0.71 for minDALL·E, 0.67 for DALL·E-mini, and 0.5 for Stable Diffusion. The corresponding alternative that explicitly includes all skin colors gives 1, 1, and 0.83. These figures compare two skin-color prompt variants using the same human-evaluated profession subset. Gender scores on the full profession set and skin-color scores from that subset answer different questions about representation.
The objects expose differences between evaluators
The object category adds a complication. The thing named by the user has to be shown on a person. A prompt can elicit a convincing suit or visible makeup, and the generated picture can still reflect a strong association between that item and a group. The appendix compares automatic judgments on the full object list with human judgments on suit, scarf, and makeup. For the formulation about being able to wear the item regardless of gender, minDALL·E’s CLIP object gender score moves from 0.60 under the ordinary request to 0.55. The human object gender score moves from 0.57 to 0.23 over the rated subset.
For the same prompt change, DALL·E-mini has a CLIP object gender score of 1.0 under both conditions. Its human score is 0.69 with the original request and 0.76 with the intervention. Stable Diffusion’s automatic object gender score moves from 0.93 to 0.83, and its human score moves from 0.82 to 0.68. These results show why the evaluator and the attribute coverage need to accompany the numbers. The automatic measure summarizes a wider set of items. The human measure gives closer attention to selected items, and both the choice of items and the method of assigning labels can affect the comparison.
Human-rated gender diversity scores for suit, scarf, and makeup in ENTIGEN
The gender clause improves the score for minDALL·E and Stable Diffusion, with the lowest imbalance for minDALL·E.
The numbers
| System or setting | diversity score |
|---|---|
| minDALL·E, original | 0.57 |
| minDALL·E, gender clause (this paper) | 0.23 |
| DALL·E-mini, original | 0.69 |
| DALL·E-mini, gender clause | 0.76 |
| Stable Diffusion, original | 0.82 |
| Stable Diffusion, gender clause | 0.68 |
Looking at an individual item reveals changes that are hard to infer from the object score. The authors describe DALL·E-mini generating people perceived as men and people perceived as dark-skinned in its pictures of makeup following the relevant interventions. Their signed gender analysis reports that the makeup example can switch from favoring women to favoring men. Another such example occurs in the profession category, where Stable Diffusion generates more women than men for police officer under a gender intervention. These are item-level findings. A switch for one item can occur alongside a less favorable aggregate score for the collection in which the item is included.
Keep recognizable pictures in the comparison
Human raters also assess whether the results are recognizable and accurately depict the requested subject. For weddings, the paper compares the ordinary prompt with the addition requesting diverse cultures. MinDALL·E has an average of 6 good pictures per wedding attribute without the addition and 4.67 with it. DALL·E-mini has 7.67 under the original requests and 8 with the addition. Stable Diffusion has 8 in both conditions. The intervention therefore coincides with a more favorable cultural diversity score for all three generators, with different outcomes for the count of recognizable, prompt-matching pictures.
The profession and object comparisons also vary. On the human-rated object subset, DALL·E-mini averages 4.7 good pictures per attribute for the original requests, 5.7 with the gender intervention, and 6 with the skin-color intervention. Stable Diffusion’s corresponding object averages are 7.3, 6.3, and 6. In these settings, an intervention can accompany better prompt fit for one generator and lower prompt fit for another. The quality check gives those differences a place in the interpretation alongside the change in group balance.
The quality section describes several of the reductions as modest, and the figures identify cases that need closer attention. On the human-rated profession subset, Stable Diffusion averages 8.5 good pictures per attribute under the original requests. Its averages with the gender and skin-color interventions are 3 and 3.5, respectively. The corresponding DALL·E-mini averages are 8.5 for the original requests, 5.5 for the gender intervention, and 5 for the skin-color intervention. These profession comparisons qualify the broad claim that greater diversity can be achieved while retaining acceptable pictures. Quality preservation is supported by some conditions, especially in the wedding comparison, and its extent depends on which pictures and which generator are being evaluated.
Stable Diffusion on ENTIGEN’s human-evaluated profession subset, good pictures per attribute
The original request yields more recognizable, prompt-matching pictures than either demographic intervention.
The numbers
| System or setting | average good pictures per attribute |
|---|---|
| Original prompt (this paper) | 8.5 |
| Gender clause | 3 |
| Skin-color clause | 3.5 |
Visual inspection gives the authors an additional reason to be careful about Stable Diffusion’s profession results. Some generation settings produce several people in the same picture. In an image containing people with different appearances, a rater may have no clear basis for assigning one gender or skin-color label to the picture. The paper describes these images as excluded from the diversity calculation when the group assignment is unclear. The resulting score describes a selected portion of the pictures, and the quality judgment describes a different aspect of the batch. Taken together, those observations help explain why a diversity score alone provides an incomplete account of this generator’s response.
What the ablations show
Remove the closing clause
The closest comparison to a conventional ablation is the authors’ removal of a phrase from a gender intervention. The rest of the prompt keeps the requested subject and an inclusive statement about who can do the job or wear the item. The removed ending is the part that says the principle applies irrespective of gender. The authors try this on DALL·E-mini for police officers and people wearing makeup. By changing a piece of the input while keeping the generator fixed, the experiment asks how much the output depends on that piece of wording.
After removal, the pictures again tend towards women for makeup and men for police officers, the directions reported for the original requests. The result is more specific than a comparison of an ordinary request with a long ethical sentence. It shows that retaining a general statement about everyone’s eligibility, in these particular shortened prompts, is insufficient to reproduce the effect of the complete clause. The evidence is at the level of the two tested attributes and the selected generator. It identifies an influential piece of text in this setup without locating a general rule that applies to all prompt formulations.
The two attributes help interpret the pattern because their original imbalances favor different groups. The full intervention can change the directions associated with the subjects, and removing the phrase brings those familiar directions back. This makes it harder to describe the result as a uniform movement toward more women or more men across all requests. It is compatible with the phrase interacting with the subject already named in the prompt. The comparison leaves open which part of that interaction comes from the meaning of the clause and which part comes from visual associations triggered by particular terms.
Compare changes aimed at different characteristics
The benchmark’s matched and unmatched variants provide a second controlled comparison. In the profession experiment, a clause about skin color can be evaluated for its effect on gender, even though that is outside its stated purpose. The paper describes those effects as less pronounced than the main gender intervention. This comparison asks whether an addition that resembles the gender clause in grammar and structure can produce a similar change merely because it extends the request. It gives the authors some evidence that the characteristic named in the clause affects the outcome.
The unrelated clauses address a closely connected question. They test whether ethical language in general can shift the generated distribution. The cultural interventions consistently improve the wedding score, while the honesty and compassion clauses have mixed effects across generators. In the profession results, some unrelated clauses change the gender score appreciably. The controls therefore support both a specific link between the relevant wording and several favorable changes, and a broader sensitivity to additions whose subject does not concern the measured grouping. A favorable result against the original prompt is evidence of a response. The matched and unrelated comparisons help determine how narrowly that response can be attributed.
There is also a comparison between ways of expressing related advice. The two gender formulations refer to the same axis and the same job, while placing gender in a different linguistic construction. The wedding formulations both ask for variety and use different adjectives. Performance varies between those forms. These comparisons are informative because the paper’s question includes whether the systems respond to the ethical content of an instruction. A response that varies with formulation makes the exact language part of the phenomenon to be explained.
Look for suggestive patterns in training captions
The authors then examine captions for clues about the expression that mattered in the phrase-removal test. In the caption material they inspect, the shorter expression built around irrespective of occurs 37 times. The paper’s examples include contexts where some decision or property is described as independent of another consideration. One caption describes selection for students without regard to their ability to pay. Other examples involve situations such as a repair going ahead regardless of warranty status. The contexts vary, so a recurring linguistic relation between the considerations named in the caption is a more direct observation than a recurring visual depiction of equal opportunity. The paper looks for these clues in caption resources including Conceptual Captions.
The full gender phrase appears only once in the material the authors examine. They also test a more direct association that could account for the makeup result. If captions containing both gender and makeup frequently accompanied pictures of men with makeup, the intervention could be calling up a familiar text-and-image pairing. The six images the authors find with both words in their captions show people whom the human observers perceive as women. For the pair of words concerning gender and police, the authors find one image, without a clearly visible person. These searches provide little direct support for a simple association involving those exact word pairs and the pictured people.
The caption analysis also considers culture. The paper reports co-occurrence counts of 75 for culture with Western, 394 with Indian, and 322 with Chinese. The authors connect these counts to the appearances of Non-Western wedding imagery after the culture-related wording is added. The counts describe textual associations in the material inspected. They make it plausible that the word culture can be a strong cue for some settings in a wedding prompt. They leave open how the generator weights that cue and whether it draws on the same associations in the cases where the composition changes.
Those observations constitute a search for a mechanism, while the phrase-removal comparison establishes a change under a controlled input modification. The caption evidence comes from observing associations in existing material. It leaves the generators exactly as trained and cannot isolate the influence of a specific caption or image. The authors explicitly leave the cause of the anti-stereotypical makeup and police pictures open. They have stronger evidence that the ending of the sentence matters than they have for any particular account of how the generator interprets it.
Follow the direction as well as the size of a change
The signed results and pictured examples offer another analysis of what the intervention changes. When a score moves toward balance from a strong initial preference, the intervention can be described as broadening the observed distribution. When the majority changes sides, it may also have created a new preference at the level of that attribute. The appendix reports reduced absolute bias in many cases and gives makeup as an instance where the direction reverses. Examining both measures lets a reader distinguish these outcomes without relying on a category-level average to describe every request.
The Stable Diffusion examples add a question about the unit of observation. Some picture changes involve a scene with a group of people. The benchmark’s gender and skin-color procedures aim to assign a label to a picture with a recognizable person, so those scenes can become uncertain or leave the calculation. This establishes a concrete route by which an intervention can affect the measurement as well as the depicted population. The group counts alone cannot say whether the newly generated scene contains more variety or simply presents a harder labeling decision. In this case, inspecting the pictures reveals something the aggregate metric cannot represent.
Limitations
Limits the authors identify
The authors present the work as an analysis of how existing generators respond to ethical prompts. They emphasize that the same strategy can be unreliable as a practical bias intervention. An improvement for one subject or wording can coexist with an unfavorable response for another. The results motivate the study of more reliable generation from ordinary requests, where a person would have no need to add a statement about equal access or inclusion just to obtain a broader selection of pictures.
The authors also identify the scope of the benchmark and the cost of human evaluation as limits. Occupations and objects give concrete settings in which to examine gender expression and skin color, and weddings give a specific setting in which to examine culture. The paper mentions politics as another context where equitable representation can matter. It does not include that context in the experiments. Expanding the set of concerns and subjects would require collecting more intervention variants and evaluating their pictures. The human judgments available here are concentrated on selected occupations and objects and on the wedding scenarios.
The limited label set is an ethical as well as a technical choice. The authors recognize that a man-or-woman classification can erase non-binary people from what the evaluation is capable of recording. Their procedure observes gender expression through the appearance of a generated person. Gender identity and sex lie outside what an annotator can establish from that appearance. The paper similarly acknowledges that observed skin color has much more variation than the two categories can register. Human annotators rely on their judgment without applying the Fitzpatrick scale. The authors call for ways to represent more groups and measure diversity beyond paired categories.
The authors further acknowledge that raters bring their own assumptions to the task. The human annotators are from the US and UK, and the paper notes the possibility of perceptual biases in their judgments. CLIP may also favor some groups or read some depictions differently from the human raters. Agreement with the raters supports the choice of CLIP for a broader gender comparison, and the weaker skin-color agreement leads the authors to restrict automatic evaluation. The agreement check measures shared decisions on the evaluated subset. It leaves the underlying standards of appearance and cultural recognition subject to the perspectives of the raters and the automated evaluator.
The mechanism behind the examples remains open in the authors’ account. The captions suggest that some expressions can be associated with describing a decision as independent of a particular attribute. Finding that pattern helps formulate explanations for the responses. It does not trace a path from an ethical sentence to the content of a generated image. The authors propose further work on the reasons for the unexpected pictures, beyond inspecting word and image associations.
Limits that follow from the measurements
The diversity score uses balance within defined groups as the quantity of interest. That provides a direct way to detect a dominant label, and its interpretation stops at the granularity of the labels. For example, a more balanced distribution between Western and Non-Western weddings could be obtained by depicting a small set of Non-Western traditions repeatedly. The measured improvement would still be real on the paper’s cultural axis. Questions about the breadth of the specific traditions, the accuracy of their portrayal, and the groupings that people in those traditions would choose require different labels or judgments.
Uncertain pictures complicate the calculation in a separate way. The denominator counts pictures belonging to either of the measured groups. That allows conditions with different numbers of labeled images to be compared, while making the score sensitive to which pictures remain. If a prompt produces more crowded scenes, some people may become smaller or harder to distinguish. Group labels might then be available largely for the simpler scenes. A score based on those simpler scenes can improve without establishing the balance of people across all the pictures the user receives. The multiple-person examples make that possibility concrete in Stable Diffusion.
The sums also give more influence to attributes with more classifiable pictures. Taking the absolute difference within each attribute protects against hiding opposite patterns across occupations, but the overall measure can still be shaped by where the evaluator can assign labels most easily. A profession that repeatedly yields a clear portrait may contribute more to the measured imbalance than one represented by activity in a background group. The signed analysis helps with particular occupations or items, and neither quantity by itself reconstructs the diversity of the scenes that went unclassified.
The human quality judgment is deliberately practical. A picture counts favorably when people can recognize its subject and see the requested content. This supports a comparison of prompt-preserving output under different conditions. Questions about other properties, such as how accurately a wedding tradition is rendered or whether the representation carries its own stereotype, sit outside that count. A good-picture score and a favorable balance score can therefore establish two useful facts about the same collection without covering everything a user might mean by a good or fair result.
Limits on explaining the response
The controls vary whole pieces of language. A statement of equal eligibility introduces a concept, names a social axis, changes the sentence structure, and frequently repeats a word for the profession or object. The unrelated ethical controls help show that generic added advice can affect the outputs, but they do not hold all those other features fixed. The phrase-removal test narrows the issue to a specific segment and two attributes. The result leaves room for multiple explanations involving the words in that segment, their grammatical function, or the overall meaning readers assign to the revised prompt.
The cultural intervention raises a related issue because it directly asks for differences among cultures. Improved variety may show that the generator can respond to a visual instruction about cultural setting. The gender intervention asks it to draw on a more abstract principle while continuing to produce pictures of the same role. Successful outputs in both cases provide evidence about sensitivity to text. The experiment does not assign those successes to the same kind of understanding. The language that produced them and the judgments used to evaluate them operate at different levels of the depicted scene.
Finally, the headline comparisons are descriptive results for the selected generators and prompt families. The paper gives examples, counts, and scores that allow the reader to inspect the size and direction of the observed changes. It does not establish that a relevant clause will reliably shift the result under new wording, with new attributes, or on a different generator. The appendix cases are valuable because they show actual outcomes and suggest why a score can move. Their evidential role is to illustrate and help interpret the controlled comparisons. The strongest scope for the study’s conclusions remains the behavior it measures under the specific ENTIGEN conditions.
What came after
A later citing paper asks how demographic stereotypes are amplified when text-to-image generation is easily accessible. That question places the representation problem in a setting where many pictures can be generated and circulated. ENTIGEN approaches the problem by comparing ordinary and ethically modified inputs. The later work’s stated focus is the amplification of demographic stereotypes at scale. The questions are closely related: the ordinary prompts in ENTIGEN show how a request can repeatedly supply an unspecified social characteristic, and the later work makes repetition across accessible generation central to its subject. The citation establishes that the papers are connected. It leaves open which parts of ENTIGEN’s benchmark or evaluation the later study used. Easily Accessible Text-to-Image Generation Amplifies Demographic Stereotypes at Large Scale
Another citing work asks when vision-and-language systems behave like bags of words and how to address that behavior. A bag-of-words account treats the words as cues while giving little role to how they are arranged. ENTIGEN’s phrase-removal comparison makes that issue tangible. A change after dropping a clause is compatible with sensitivity to its meaning, and it is also compatible with losing an influential set of words. The later paper’s stated question concerns when that distinction matters and how to respond to it. Its connection here is to the interpretation of linguistic evidence: observing a response to a phrase is a starting point for asking what the system took from the phrase. The citation alone leaves the exact methodological relationship unresolved. When and Why Vision–Language Models Behave Like Bags-of-Words
A further citing paper concerns the conservation and controllability of localized cultural knowledge in large language systems. ENTIGEN’s wedding experiment uses prompting to change the balance of broadly categorized cultural depictions. The later title makes localized cultural knowledge its subject, which places the focus on what is culturally specific and on the ability to control it. The two works can be read in relation to different resolutions of the cultural question. In ENTIGEN a picture need only move across the Western and Non-Western division to change the score. A question about localized knowledge concerns the specific cultural material available for such a change. The citation establishes a connection, while the way the later paper used the wedding findings or the caption analysis remains unspecified. Localized Cultural Knowledge is Conserved and Controllable in Large Language Models
Cite
Cite as Hritik Bansal, Da Yin, Masoud Monajatipoor and Kai-Wei Chang. 2022. How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{bansal2022how,
title = {{How well can Text-to-Image Generative Models understand Ethical Natural Language Interventions?}},
author = {Hritik Bansal, Da Yin, Masoud Monajatipoor and Kai-Wei Chang},
booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
year = {2022},
doi = {10.18653/v1/2022.emnlp-main.88},
url = {https://doi.org/10.18653/v1/2022.emnlp-main.88}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bansal-2022-how-well-can-text-image/