Today, we are implementing a new technique so that DALL·E generates images of people that more accurately reflect the diversity of the world’s population. This technique is applied at the system level when DALL·E is given a prompt describing a person that does not specify race or gender, like “firefighter.”
Based on our internal evaluation, users were 12× more likely to say that DALL·E images included people of diverse backgrounds after the technique was applied. We plan to improve this technique over time as we gather more data and feedback.
In April, we started previewing the DALL·E 2 research to a limited number of people, which has allowed us to better understand the system’s capabilities and limitations and improve our safety systems.
During this preview phase, early users have flagged sensitive and biased images which have helped inform and evaluate this new mitigation.
We are continuing to research how AI systems, like DALL·E, might reflect biases in its training data and different ways we can address them.
During the research preview we have taken other steps to improve our safety systems, including:
- Minimizing the risk of DALL·E being misused to create deceptive content by rejecting image uploads containing realistic faces and attempts to create the likeness of public figures, including celebrities and prominent political figures.
- Making our content filters more accurate so that they are more effective at blocking prompts and image uploads that violate our content policy while still allowing creative expression.
- Refining automated and human monitoring systems to guard against misuse.
These improvements have helped us gain confidence in the ability to invite more users to experience DALL·E.
Expanding access is an important part of our deploying AI systems responsibly because it allows us to learn more about real-world use and continue to iterate on our safety systems.
.prompt {
border-radius: 6px;
padding: 13px 14px;
font-size: 15px;
line-height: 1em;
background-color: #fff;
box-shadow: 0 2px 4px 0 rgb(0 0 82 / 15%);
position: relative;
}
.prompt-button {
position: absolute;
right: 0;
top: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
border-left: 1px solid rgba(0,0,0,.05);
padding: 0 16px 0 14px;
font-size: 16px;
font-weight: 700;
color: #999999;
}
.image-grid {
display: grid;
gap: 4px 4px;
grid-template-rows: repeat(3, 1fr);
grid-template-columns: repeat(2, 1fr);
}
.loading .image-grid {
animation: pulsate 2000ms infinite;
}
@media (min-width: 768px) {
.image-grid {
grid-template-rows: repeat(2, 1fr);
grid-template-columns: repeat(3, 1fr);
}
}
.js-toggler {
opacity: 0.4;
border-bottom: 1px solid transparent;
outline: none !important;
cursor: pointer;
border-radius: 0;
}
.js-toggler.active {
border-bottom-color: currentColor;
opacity: 1;
}
@media (max-width: 767px) {
.toggle-wrapper {
margin-left: -3.333333%;
width: calc(100% + 6.666667%);
padding: 0 3.333333%;
scrollbar-width: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.toggle-list {
min-width: max-content;
}
.toggle-wrapper::-webkit-scrollbar {
display: none;
}
}
.ruler {
position: relative;
top: -1px;
}
@keyframes pulsate {
50% { opacity: 0.75; }
}
var images = […document.querySelectorAll(‘.js-image-result’)];
var prompt = document.querySelector(‘.js-prompt’);
var gallery = document.querySelector(‘.js-gallery’);
var loadImages = async function(oldId, newId) {
return new Promise(function(resolve, reject) {
var newUrls = images.map(function(img) {
return img.src.replace(oldId, newId);
});
var remaining = newUrls.length;
var newImages = [];
for (var i = 0; i < newUrls.length; i++) {
var img = new Image();
img.onload = function() {
–remaining;
newImages.push(img);
if (remaining <= 0) {
resolve(newImages);
}
};
img.src = newUrls[i];
}
});
}
var handleToggler = async function(e) {
var target = e.currentTarget;
var oldActiveToggler = document.querySelector('.js-toggler.active');
// Update toggle active state
oldActiveToggler.classList.remove('active');
oldActiveToggler.setAttribute('aria-selected', 'false');
target.classList.add('active');
target.setAttribute('aria-selected', 'true');
// Update prompt input
prompt.innerText = target.dataset.jsPrompt;
// Enable loading animation
const animationTimeout = setTimeout(function() {
gallery.classList.add('loading');
}, 250);
// Load new images in the background
await loadImages(oldActiveToggler.dataset.jsId, target.dataset.jsId);
clearTimeout(animationTimeout);
// Remove loading animation and update images
images.forEach(function(image, index) {
image.setAttribute('src', image.src.replace(oldActiveToggler.dataset.jsId, target.dataset.jsId));
});
gallery.classList.remove('loading');
};
document.addEventListener('DOMContentLoaded', function() {
[…document.querySelectorAll('.js-toggler')].forEach(function(toggler) {
toggler.addEventListener('click', handleToggler);
toggler.addEventListener('mouseenter', function(e) {
var target = e.currentTarget;
var oldActiveToggler = document.querySelector('.js-toggler.active');
loadImages(oldActiveToggler.dataset.jsId, target.dataset.jsId);
});
});
});