arXiv:2610.37867cs.AIOct 2026

Manuscript Offprint

arXiv:2610.37867

What Constitutes Food Similarity? Visual Representations and Retrieval in Indian Cuisine

Saransh Kumar Gupta, Akshadha Sharma, Lipika Dey, Partha Pratim Das, Ramesh Jain

Saransh Kumar Gupta1^{1}*, Akshadha Sharma1^{1}, Lipika Dey1^{1}, Partha Pratim Das1^{1}, and Ramesh Jain2^{2}

1^{1} Ashoka University, India

{saransh.gupta,lipika.dey,partha.das}@ashoka.edu.in

akshadha.sharma_ug2023@ashoka.edu.in

https://www.ashoka.edu.in/

2^{2} Institute for Future Health, UC Irvine, USA

jainics.uci.edu

https://futurehealth.uci.edu/

Abstract. Food similarity underlies retrieval, recommendation, substitution, and other food computing tasks, yet food representations are typically evaluated by identity preservation. We ask what happens to food similarity beyond identity: how different visual representations organize foods into relational neighborhoods, what culinary relationships these neighborhoods reveal or obscure, and how consistently these structures emerge across representations. Indian cuisine provides a challenging setting in which visually similar foods may have different culinary identities, while foods within a culinary family can vary substantially in appearance. Using an expanded Khana dataset and seven pretrained visual representations spanning convolutional, transformer-based, self-supervised, and image-text aligned models, we evaluate image-to-image retrieval and image-to-dish neighborhoods, examining culinary-family structure, contrast cases, and cross-representation agreement. We also aggregate image representations to compare dish-level visual similarity across models and against recipe-derived similarity for the same dishes. Image-level neighborhoods vary substantially across representations, including similarities across culinary-family boundaries. At the dish level, aggregation reveals common visual structure despite local variation, but this structure corresponds less strongly with recipe-derived similarity. These findings show that recognition performance alone cannot characterize relational structure: food similarity depends on representation, modality, and abstraction level rather than being a fixed property of the food collection. Understanding these structures is therefore a prerequisite to combining multiple food information modalities into a coherent notion of similarity.

Keywords: Food Computing · Food Similarity · Image Retrieval · Visual Representation Learning · Food Embeddings · Indian Food

∗^{*} Corresponding Author.

1 Introduction

Food is a challenging domain for visual representation learning. Unlike many conventional object categories, its visual appearance is shaped by preparation, ingredients, presentation, regional practice, and cultural context, both within and across dish concepts [3, 19]. Visual appearance also does not map cleanly onto culinary identity: dishes that look alike may belong to different culinary traditions, while closely related foods may vary substantially in appearance.

Food vision research has nevertheless been dominated by recognition-oriented evaluation. Standard benchmarks ask whether a model can assign the correct dish label to an image, with performance summarized through classification or same-class retrieval accuracy [3, 18, 19]. Such evaluation establishes whether a representation preserves food identity, but provides limited insight into how it organizes relationships among food concepts. This distinction matters because many food computing applications depend not only on recognizing foods, but on relating them. Retrieval, recommendation, menu exploration, ingredient substitution, and dietary assistance require identifying foods that are meaningfully related to a query. Yet asking whether two foods are similar is underspecified without asking in what respect. Food similarity can arise from appearance, ingredients, preparation, nutrition composition, culinary role, or cultural context, and these relationships need not coincide [15, 17, 24, 28]. The challenge is therefore not simply to learn an embedding in which similar foods are close, but to understand what kind of similarity a representation makes available for comparison.

While a complete account of food similarity will require multiple modalities, we use the visual modality as the primary controlled setting for studying how representations induce similarity structures. We additionally examine recipe text at the dish-concept level, using the same dish concepts, to ask whether a different modality of food information induces a similar relational structure. We study this problem in Indian cuisine, whose regional and culinary diversity produces substantial variation in preparation and presentation, as well as cases where visual appearance and culinary relatedness diverge. This makes Indian cuisine a useful setting for examining how similarity structures vary across representations and modalities, and how visual neighborhoods relate to an independently defined culinary structure.

We therefore ask: what notions of food similarity are induced by different representations? Holding the dataset, query, and retrieval procedure fixed, we compare the neighborhoods produced by seven visual representations and examine them through three contrast cases: cross-family visual similarity, within-family visual dissimilarity, and within-family visual similarity. We then compare the resulting visual similarity structures with recipe-derived similarity over the same dish concepts. Our contributions are as follows:

  1. An expanded Indian food image collection created by augmenting Khana [21] with additional Indian food categories, increasing coverage from 80+ classes and 130,000+ images to 300+ classes and 200,000+ images.

  2. A retrieval-centric evaluation protocol for visual food similarity that characterizes representation-induced relationships through image-to-image retrieval, image-to-dish neighborhoods, culinary-family composition, relationship-aware contrast cases, and cross-representation neighborhood agreement.

  3. A comparative analysis of seven visual representations spanning convolutional, transformer-based, and self-supervised architectures, evaluated under a common dataset, similarity function, retrieval procedure, and culinary relationship structure. The analysis shows that different representations can induce substantially different similarity structures over the same collection of foods, as illustrated by the differing nearest-neighbor neighborhoods and similarity scores for a common query in Figure 1.

  4. A dish-level cross-modal analysis that aggregates image instances into dish-to-dish visual structures across representations and compares these structures with recipe-derived similarity over the same dish concepts.

Figure

Fig. 1: Nearest neighbors for a biryani query across seven visual representations.

Fig. 2: Illustrative contrast cases of visual similarity and culinary relatedness.

References (30)