Papers › GENOME: GenerativE Neuro-symbOlic visual reasoning by growing and reusing ModulEs

GENOME: GenerativE Neuro-symbOlic visual reasoning by growing and reusing ModulEs

8 Nov 2023arXiv:2311.04901archive 2025-07-28

Zhenfang Chen, Rui Sun, Wenjun Liu, Yining Hong, Chuang Gan

Recent works have shown that Large Language Models (LLMs) could empower traditional neuro-symbolic models via programming capabilities to translate language into module descriptions, thus achieving strong visual reasoning results while maintaining the model's transparency and efficiency. However, these models usually exhaustively generate the entire code snippet given each new instance of a task, which is extremely ineffective. We propose generative neuro-symbolic visual reasoning by growing and reusing modules. Specifically, our model consists of three unique stages, module initialization, module generation, and module execution. First, given a vision-language task, we adopt LLMs to examine whether we could reuse and grow over established modules to handle this new task. If not, we initialize a new module needed by the task and specify the inputs and outputs of this new module. After that, the new module is created by querying LLMs to generate corresponding code snippets that match the requirements. In order to get a better sense of the new module's ability, we treat few-shot training examples as test cases to see if our new module could pass these cases. If yes, the new module is added to the module library for future reuse. Finally, we evaluate the performance of our model on the testing set by executing the parsed programs with the newly made visual modules to get the results. We find the proposed model possesses several advantages. First, it performs competitively on standard tasks like visual question answering and referring expression comprehension; Second, the modules learned from one task can be seamlessly transferred to new tasks; Last but not least, it is able to adapt to new visual reasoning tasks by observing a few training examples and reusing modules.

PaperPDFCodeCode Syntology ran

In Syntology 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="2311.04901")

Code

Syntology Ran 2 of 9 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 9 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

umass-foundation-model/genome mentioned on GitHubpytorchApache-2.0 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

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

1ran · our draft was wrong
1ran · fixture could not drive it
7unverified

Licence: 0 of the 9 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 umass-foundation-model/genome. “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.

nms umass-foundation-model/genome/engine/nms.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · ca6a88a4dee2025a · report
parse_step umass-foundation-model/genome/engine/step_interpreters.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · ce7cf6bf130423fc · report
create_module_instance umass-foundation-model/genome/engine/interpreter.py community (archive-listed) unverified Apache-2.0 (permissive) · 193417c3f2d50d05 · report
fix_boxes umass-foundation-model/genome/engine/api.py community (archive-listed) unverified Apache-2.0 (permissive) · bf0c8b050a9ad5db · report
format_prompt umass-foundation-model/genome/engine/prompt.py community (archive-listed) unverified Apache-2.0 (permissive) · 8a2d342cd5ddce4c · report
get_module_list umass-foundation-model/genome/engine/util.py community (archive-listed) unverified Apache-2.0 (permissive) · 2532192495c60124 · report
get_prompt umass-foundation-model/genome/engine/prompt.py community (archive-listed) unverified Apache-2.0 (permissive) · 04269c1b860b83ab · report
parse_response umass-foundation-model/genome/engine/gpt.py community (archive-listed) unverified Apache-2.0 (permissive) · c949723a39704cc2 · report
strip_dict umass-foundation-model/genome/engine/util.py community (archive-listed) unverified Apache-2.0 (permissive) · c12aa6bd7e7aeb47 · report

Tasks

Question AnsweringReferring ExpressionReferring Expression ComprehensionVisual Question AnsweringVisual Reasoning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

1 archive method tag without a method page not shown.

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