SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.16714 · 2023

Embodied Multi-Modal Agent trained by an LLM from a Parallel TextWorld

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
stevenyangyj/emma-alfworld canonical 4 of 10
FunctionStatusWhere it lives
check_put Ran stevenyangyj/emma-alfworld/LAVIS/post_processing.py
pointer only (licence: NONE) · get_code("b3f1ce8a96e4feb4")
dpo_loss Ran stevenyangyj/emma-alfworld/LAVIS/lavis/models/blip2_models/blip2_emma.py
pointer only (licence: NONE) · get_code("112c839f24908701")
remove_the Ran stevenyangyj/emma-alfworld/LAVIS/post_processing.py
pointer only (licence: NONE) · get_code("6a7cb4ca218f011f")
tile Ran stevenyangyj/emma-alfworld/LAVIS/lavis/models/base_model.py
pointer only (licence: NONE) · get_code("cb33571427334815")
all_gather_with_grad Not yet run stevenyangyj/emma-alfworld/LAVIS/lavis/models/base_model.py
pointer only (licence: NONE) · get_code("0ec9fc2025c16f65")
get_completion Not yet run stevenyangyj/emma-alfworld/LAVIS/emma_utils.py
pointer only (licence: NONE) · get_code("ebee9e987c95636b")
num_tokens_from_messages Not yet run stevenyangyj/emma-alfworld/LAVIS/emma_utils.py
pointer only (licence: NONE) · get_code("a7ece9f49be6eb57")
num_tokens_from_string Not yet run stevenyangyj/emma-alfworld/LAVIS/emma_utils.py
pointer only (licence: NONE) · get_code("918526f0d411a7aa")
process_ob Not yet run stevenyangyj/emma-alfworld/LAVIS/post_processing.py
pointer only (licence: NONE) · get_code("dfb17eb3e6eaed35")
update_memory Not yet run stevenyangyj/emma-alfworld/LAVIS/generate_reflections.py
pointer only (licence: NONE) · get_code("bad8273de604ee8a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While large language models (LLMs) excel in a simulated world of texts, they struggle to interact with the more realistic world without perceptions of other modalities such as visual or audio signals. Although vision-language models (VLMs) integrate LLM modules (1) aligned with static image features, and (2) may possess prior knowledge of world dynamics (as demonstrated in the text world), they have not been trained in an embodied visual world and thus cannot align with its dynamics. On the other hand, training an embodied agent in a noisy visual world without expert guidance is often challenging and inefficient. In this paper, we train a VLM agent living in a visual world using an LLM agent excelling in a parallel text world. Specifically, we distill LLM's reflection outcomes (improved actions by analyzing mistakes) in a text world's tasks to finetune the VLM on the same tasks of the visual world, resulting in an Embodied Multi-Modal Agent (EMMA) quickly adapting to the visual world dynamics. Such cross-modality imitation learning between the two parallel worlds is achieved by a novel DAgger-DPO algorithm, enabling EMMA to generalize to a broad scope of new tasks without any further guidance from the LLM expert. Extensive evaluations on the ALFWorld benchmark's diverse tasks highlight EMMA's superior performance to SOTA VLM-based agents, e.g., 20%-70% improvement in the success rate.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.16714")
get_code_for_paper("2311.16714")
have("2311.16714")

Connect an agent — have() is free.