Mitigating Cross-modal Representation Bias for Multicultural Image-to-Recipe Retrieval

Qing Wang, Chong-Wah Ngo, Yu Cao, Ee-Peng Lim

Abstract

Image-to-recipe retrieval systems often struggle with representation bias, where models over-rely on prominent visual features while ignoring essential "invisible" components like spices and cooking techniques. This paper introduces a causal inference framework utilizing backdoor adjustment to mitigate this bias. By incorporating lightweight Ingredient and Action Debiasing Modules, the proposed method allows models to infer hidden culinary factors. Evaluated on the standard Recipe1M dataset and a newly curated multicultural dataset covering five Asian cultures, the approach demonstrates significant improvements in retrieval accuracy and zero-shot robustness, particularly for low-resource cuisines.

Introduction

When a user provides a photograph of a prepared dish to an AI system, the goal is to retrieve the most accurate recipe. However, a recipe is defined by more than just its visible components. While a piece of chicken or a bed of rice is easily identifiable, the identity of the dish often resides in the "invisible": the specific blend of spices, the marination time, or the precise cooking method (e.g., simmering versus flash-frying).

Existing cross-modal retrieval models suffer from representation bias, a phenomenon where the model correlates the image with the recipe based solely on dominant visual elements. This leads to poor performance in multicultural contexts where different dishes may look visually similar but require vastly different ingredients and processes. This research addresses these limitations by moving beyond simple correlation and adopting a causal approach to image-to-recipe retrieval.

The Problem: Visual Dominance and Representation Bias

In standard image-to-recipe tasks, models are trained to map visual features to text embeddings. Because neural networks are optimized to find the easiest path to a solution, they often ignore subtle cues in favor of obvious ones. For example, a model might classify any stir-fry with noodles as a generic "chow mein," failing to distinguish a Thai Pad See Ew from a Vietnamese Mì Xào because it cannot "see" the specific soy sauce varieties or the high-heat "wok hei" process involved.

This bias is particularly problematic in multicultural settings. Cuisines from Indonesia, Malaysia, Thailand, Vietnam, and India often share base ingredients (like rice and poultry) but are distinguished by complex, non-visual factors. Without accounting for these hidden confounders, AI systems remain culturally insensitive and inaccurate.

Methodology: Causal Debiasing via Backdoor Adjustment

To overcome representation bias, the researchers developed a framework based on causal inference. Rather than treating the image and recipe as simple correlates, they model ingredients and cooking actions as "confounders"—variables that influence both the visual presentation and the written instructions.

Backdoor Adjustment

Using Judea Pearl’s $do$-calculus, the authors apply backdoor adjustment. This mathematical intervention allows the model to simulate a scenario where it accounts for the distribution of possible ingredients and actions, effectively "de-biasing" the image representation. This ensures the model doesn't just look at the chicken; it considers the likelihood of turmeric or cumin being present based on the broader context.

Neural Approximation Modules

Since hidden factors cannot be directly observed from a static photo, the framework employs two lightweight, plug-and-play modules:

  1. Ingredient Debiasing Module: A multi-label classifier that predicts the probability of various ingredients within the dish.
  2. Action Debiasing Module: A sequence generator that predicts the likely cooking steps (e.g., "braising," "tempering").

These modules are refined using culture-specific dictionaries. This allows the model to be "globally learned but locally adjusted," recognizing that "rice paper" is a high-probability ingredient in a Vietnamese context but unlikely in an Indian one.

Datasets and Experimental Setup

The study utilizes two primary benchmarks to test the framework's efficacy:

  • Recipe1M: The industry-standard dataset for English-language, Western-centric recipes.
  • Multicultural Dataset: A new dataset curated by the authors containing 104,842 image-recipe pairs from Indonesia, Malaysia, Thailand, Vietnam, and India. This dataset is multilingual and specifically designed to test the model's ability to distinguish between visually similar but culturally distinct dishes.

Key Results and Insights

The proposed causal framework consistently outperformed baseline models (such as CLIP and H-T) across all metrics.

  • Performance Gains: On the Recipe1M 10k test set, the combined Ingredient and Action debiasing improved the Recall@1 of the H-T baseline from 29.9% to 35.5%. On the Multicultural Dataset, using an OpenCLIP backbone, the model achieved a median rank (medR) of 15.4, a notable improvement over the baseline's 18.9.
  • Zero-Shot Robustness: The model demonstrated an improved ability to handle unseen food categories. For instance, in "pizza" related queries not seen during specific training phases, debiasing reduced the median rank from 23.0 to 16.0.
  • Efficiency: Despite the addition of causal modules, the system remains computationally efficient, maintaining a query processing time of 12 to 15 milliseconds.

One of the most significant findings was that the method provided the largest performance boosts for "low-resource" cultures, such as Vietnam and India. This suggests that causal debiasing is a vital tool for creating more inclusive AI that performs equitably across diverse global cuisines.

Limitations and Future Work

While the framework is robust, it is not infallible. The authors note that if the model incorrectly identifies the primary cooking style—for example, predicting "baking" for a dish that was actually "deep-fried"—the debiasing process can inadvertently steer the retrieval toward the wrong recipes.

Future research will focus on handling "obscured" food items, such as ingredients hidden within thick sauces or soups, where visual cues are almost entirely absent. Pushing the boundaries of what AI can infer from these challenging images will be the next step in perfecting cross-modal recipe retrieval.

Conclusion

By shifting from correlation-based learning to a causal inference framework, this research successfully mitigates representation bias in image-to-recipe retrieval. The ability to "hallucinate" the invisible—ingredients and actions—allows for a more nuanced and culturally aware AI, bridging the gap between a simple photograph and the complex culinary tradition it represents.

Summary updated

BibTeX
@inproceedings{wang2025mitigating,
  author = {Qing Wang and Chong-Wah Ngo and Yu Cao and Ee-Peng Lim},
  title = {{Mitigating Cross-modal Representation Bias for Multicultural Image-to-Recipe Retrieval}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755583},
}
Figure