Towards ethical multimodal systems

Alexis Roger, Esma Aïmeur, Irina RisharXiv 2023 · DOI

TL;DR

While AI alignment has made strides in keeping text-only models in check, multimodal systems (which process both images and text) remain a "Wild West" of ethical risks. This paper introduces a new dataset of 789 image-text pairs labeled for ethicality and demonstrates that traditional text-only classifiers fail to catch unethical content because they lack the visual context necessary to understand the full prompt.

What Problem Does This Paper Address?

Most research into AI ethics and alignment—the process of ensuring AI behavior matches human values—has focused on Large Language Models (LLMs). however, generative AI is increasingly multimodal, combining vision and language.

The authors argue that a model might provide a response that seems benign in text but becomes deeply unethical when paired with a specific image. For example, a model might give advice on "how to help" a person that sounds helpful in a vacuum but is actually discriminatory or harmful given the visual context of the person's situation. Current tools like IBM’s AI Fairness 360 or the EU’s AI Act haven't yet fully addressed the unique "contextual collision" that happens in multimodal systems.

Methods

The researchers took a three-pronged approach to tackle this gap:

  1. Crowdsourcing via Discord: To build a dataset, they developed a custom Discord bot. This "gamified" the labeling process, allowing users to react to model responses with emojis: 👍 for ethical, 👎 for unethical, and 🤷 for unclear.
  2. Trust Safeguards: To ensure data quality, they implemented "pre-tests" and "post-tests" (hidden gold-standard questions) to filter out inattentive or malicious users. They also monitored user IDs to detect patterns of "trolling" or inconsistent labeling.
  3. Classification Experiments: They compared two approaches to automatically detect unethical content:
  4. Text-only: Using a RoBERTa-large classifier (a standard NLP model) trained on common-sense ethics.
  5. Multimodal MLP: They built a Multilayer Perceptron (MLP) that takes both CLIP image embeddings and GPT-2 text embeddings as input, attempting to fuse the two signals for a better ethical judgment.

Datasets

The paper introduces a new Multimodal Ethical Database.

  • Size: 789 validated question-and-image pairs.
  • Content: Covers fields like economics, medicine, society, and discrimination.
  • Source: Prompts were inspired by the "Banque de cas éthiques" (an ethics case bank) and paired with 218 diverse images.
  • Model Evaluated: All responses in the dataset were generated by MAGMA, a multimodal model known to have certain ethical deficiencies, providing a rich source of "unethical" examples for the study.

Key Insights and Ideas

  • The "Context Gap": The most significant finding is that text-only classifiers are fundamentally ill-equipped for multimodal ethics. Without the image, a classifier might see the text "She is a burden to society" and struggle to label it without knowing the visual context of the question.
  • Uncertainty is a Signal: The authors found a strong correlation between user disagreement and "unclear" labels. If more than 25% of users marked a prompt as unclear, the ethical status of the response became highly volatile, suggesting that some ethical boundaries are inherently fuzzy or require even more context than a single image provides.
  • MAGMA’s Shortcomings: The study confirmed that the MAGMA model frequently generates responses poorly aligned with common ethical standards, serving as a "stress test" for why these classifiers are needed in the first place.

Key Results

  • Human Labeling: After filtering, the dataset maintained a balanced proportion of ethical and unethical responses, though a small minority (5%) remained "unclear" even after multiple rounds of voting.
  • Classifier Performance:
    • The RoBERTa-large (text-only) model achieved only 52% accuracy. It tended to be "uncertain," clustering most scores around 0.5.
  • The Multimodal MLP performed slightly better at 55% accuracy.
  • The Takeaway: While the multimodal approach was superior, a 55% accuracy rate highlights how difficult this task is. It proves that simply "plugging in" image embeddings isn't a silver bullet; the model needs a deeper understanding of how visual and textual cues interact ethically.

Limitations and Future Work

The authors are transparent about the preliminary nature of this work:

  • Dataset Scale: 789 samples is a "proof of concept" size. For deep learning models to truly generalize ethical nuances, the dataset needs to be orders of magnitude larger.
  • Classifier Sophistication: The MLP used was relatively simple. Future work will focus on training larger-scale deep networks that can better model the complex relationship between vision and ethics.
  • Model Scope: This paper focused primarily on the MAGMA model. The authors plan to expand their evaluation to more recent and advanced multimodal models (like those in the GPT-4V or Gemini class) to see if newer architectures naturally inherit or solve these ethical biases.

Summary updated

BibTeX
@misc{roger2023towards,
  author = {Alexis Roger and Esma Aïmeur and Irina Rish},
  title = {{Towards ethical multimodal systems}},
  year = {2023},
  eprint = {2304.13765},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.13765},
}
Figure