Goto

Collaborating Authors

 repellency


Sparse Repellency for Shielded Generation in Text-to-image Diffusion Models

arXiv.org Machine Learning

The increased adoption of diffusion models in text-to-image generation has triggered concerns on their reliability. Such models are now closely scrutinized under the lens of various metrics, notably calibration, fairness, or compute efficiency. We focus in this work on two issues that arise when deploying these models: a lack of diversity when prompting images, and a tendency to recreate images from the training set. To solve both problems, we propose a method that coaxes the sampled trajectories of pretrained diffusion models to land on images that fall outside of a reference set. We achieve this by adding repellency terms to the diffusion SDE throughout the generation trajectory, which are triggered whenever the path is expected to land too closely to an image in the shielded reference set. Our method is sparse in the sense that these repellency terms are zero and inactive most of the time, and even more so towards the end of the generation trajectory. Our method, named SPELL for sparse repellency, can be used either with a static reference set that contains protected images, or dynamically, by updating the set at each timestep with the expected images concurrently generated within a batch. We show that adding SPELL to popular diffusion models improves their diversity while impacting their FID only marginally, and performs comparatively better than other recent training-free diversity methods. We also demonstrate how SPELL can ensure a shielded generation away from a very large set of protected images by considering all 1.2M images from ImageNet as the protected set. Diffusion models (Song et al., 2021; Ho et al., 2020) are by now widely used for engineering and scientific tasks, to generate realistic signals (Esser et al., 2024) or structured data (Jo et al., 2022; Chamberlain et al., 2021). Diffusion models build upon a strong theoretical foundation used to guide parameter tuning (Kingma & Gao, 2023) and network architectures (Rombach et al., 2022), and are widely adopted thanks to cutting-edge open-source implementations. As these models gain applicability to a wide range of problems, their deployment reveals important challenges.


Can Google Smell? Why Digitizing Odor Could Be a Business Opportunity

#artificialintelligence

Say, for instance, your company makes bug spray. Google's researchers found that by feeding their neural network with data on how effective various molecules are at repelling mosquitos, the resulting model can go on to predict the mosquito repellency of nearly any molecule. Humans are able to smell things because microscopic molecules are processed by receptors in your nose, which then send a message to your brain. The researchers discovered that over a dozen tested molecules demonstrated repellency at least as strong as DEET, the active ingredient in most insect repellents. These molecules could form the basis for less expensive, longer lasting, and safer spray.