Papers › FIRE: Food Image to REcipe generation

FIRE: Food Image to REcipe generation

28 Aug 2023arXiv:2308.14391archive 2025-07-28

Prateek Chhikara, Dhiraj Chaurasia, Yifan Jiang, Omkar Masur, Filip Ilievski

Food computing has emerged as a prominent multidisciplinary field of research in recent years. An ambitious goal of food computing is to develop end-to-end intelligent systems capable of autonomously producing recipe information for a food image. Current image-to-recipe methods are retrieval-based and their success depends heavily on the dataset size and diversity, as well as the quality of learned embeddings. Meanwhile, the emergence of powerful attention-based vision and language models presents a promising avenue for accurate and generalizable recipe generation, which has yet to be extensively explored. This paper proposes FIRE, a novel multimodal methodology tailored to recipe generation in the food computing domain, which generates the food title, ingredients, and cooking instructions based on input food images. FIRE leverages the BLIP model to generate titles, utilizes a Vision Transformer with a decoder for ingredient extraction, and employs the T5 model to generate recipes incorporating titles and ingredients as inputs. We showcase two practical applications that can benefit from integrating FIRE with large language model prompting: recipe customization to fit recipes to user preferences and recipe-to-code transformation to enable automated cooking processes. Our experimental findings validate the efficacy of our proposed approach, underscoring its potential for future advancements and widespread adoption in food computing.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.14391")

Code

Syntology Ran 12 of 16 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 10 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

prateekchhikara/fire officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 12 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
10ran
4unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from prateekchhikara/fire. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Embedding prateekchhikara/fire/ingredients/modules/transformer_decoder.py official repository ran · our draft was wrong no licence file found · pointer only · 365a7f250f4b06f4 · report
LayerNorm prateekchhikara/fire/ingredients/modules/transformer_decoder.py official repository ran · our draft was wrong no licence file found · pointer only · 2f3bc129645ecd7a · report
collate_fn prateekchhikara/fire/ingredients/data_loader.py official repository ran no licence file found · pointer only · e89d49529d710a20 · report
compute_score prateekchhikara/fire/ingredients/sample.py official repository ran no licence file found · pointer only · 6a8674a68a7db5d5 · report
convert_state_dict_type prateekchhikara/fire/ingredients/modules/utils.py official repository ran no licence file found · pointer only · 56b988b67b6cecaa · report
get_ingredient prateekchhikara/fire/ingredients/build_vocab.py official repository ran no licence file found · pointer only · a880612041826caf · report
get_instruction prateekchhikara/fire/ingredients/build_vocab.py official repository ran no licence file found · pointer only · 5df75078e59cecb3 · report
label2onehot prateekchhikara/fire/ingredients/model.py official repository ran no licence file found · pointer only · 91f2b648e36c2a8e · report
make_positions prateekchhikara/fire/ingredients/modules/transformer_decoder.py official repository ran no licence file found · pointer only · d374e9511067d495 · report
mask_from_eos prateekchhikara/fire/ingredients/model.py official repository ran no licence file found · pointer only · de9c28f6b9e040d1 · report
remove_plurals prateekchhikara/fire/ingredients/build_vocab.py official repository ran no licence file found · pointer only · dd645dd5e899d0af · report
softIoU prateekchhikara/fire/ingredients/utils/metrics.py official repository ran no licence file found · pointer only · 534435ed7c89bc0d · report
get_loader prateekchhikara/fire/ingredients/data_loader.py official repository unverified no licence file found · pointer only · c1ac4e0ae35aedcf · report
load_and_resize prateekchhikara/fire/ingredients/utils/ims2file.py official repository unverified no licence file found · pointer only · 386f2329c6d5f6fb · report
load_ensemble_for_inference prateekchhikara/fire/ingredients/modules/utils.py official repository unverified no licence file found · pointer only · 1d91513c97318e88 · report
load_model_state prateekchhikara/fire/ingredients/modules/utils.py official repository unverified no licence file found · pointer only · dd6d760ba3b02284 · report

Tasks

DecoderLanguage ModellingLarge Language ModelRecipe GenerationRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdafactorAdamAttentionAttention DropoutBLIPBPEDense ConnectionsDropoutGated Linear UnitInverse Square Root ScheduleLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSentencePieceSoftmaxT5TransformerVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections