                                               Graph World Model


                                  Tao Feng 1 Yexin Wu 1 Guanyu Lin 1 Jiaxuan You 1


                          Abstract                                   1. Introduction
                                                                     A world model (WM) (Ha & Schmidhuber, 2018) constructs
       World models (WMs) demonstrate strong capa-                   the world observations as states and predicts future states
       bilities in prediction, generation, and planning              based on given actions. Modern world models are trained
       tasks. Existing WMs primarily focus on unstruc-               with massive data (Liu et al., 2024b; Cui & Gao), demon-
       tured data while cannot leverage the ubiquitous               strating successful prediction, generation, and planning ca-
       structured data, often represented as graphs, in              pabilities. However, existing world models do not directly
       the digital world. While multiple graph foun-                 generalize to structured data, primarily graphs, that are ubiq-
       dation models have been proposed, they focus                  uitous in science (Jin et al., 2018; You et al., 2018) and
       on graph learning tasks and cannot extend to                  industry (Ying et al., 2018; You et al., 2022) and can be fur-
       diverse multi-modal data and interdisciplinary                ther enriched with multi-modal information (Ektefaie et al.,
       tasks. To address these challenges, we propose the            2023). Therefore, our paper aims to raise attention to this
       Graph World Model (GWM), a world model that                   pressing research question: Can we extend a WM to handle
       supports both unstructured and graph-structured               graph-structured data across a broad range of tasks?
       states with multi-modal information and repre-                Existing WMs mainly focus on unstructured data. For ex-
       sents diverse tasks as actions. The core of a                 ample, iVideoGPT (Wu et al., 2024a) and Genie (Bruce
       GWM is a generic message-passing algorithm                    et al., 2024) are successful world models over video data.
       to aggregate structured information, either over              However, the relations and structures in the data are rarely
       a unified multi-modal token space by converting               explored in these works. Although some works (Zhang et al.,
       multi-modal data into text (GWM-T) or a uni-                  2021; Zhu et al., 2022) attempt to model structured data in
       fied multi-modal embedding space by modality-                 WM using graphs, they have focused solely on planning
       specific encoders (GWM-E). Notably, GWM in-                   problems in a specific domain. In recent years, researchers
       troduces action nodes to support diverse tasks,               have also explored the concept of the Graph Foundation
       where action nodes are linked to other nodes via              Model (GFM) (Liu et al., 2023a; Chen et al., 2024a). How-
       direct reference or similarity computation. Exten-            ever, these methods are confined to predefined graph learn-
       sive experiments on 6 tasks from diverse domains,             ing tasks, which cannot easily extend to: (1) multi-modal
       including multi-modal generation and matching,                input data including images and text, (2) diverse tasks be-
       recommendation, graph prediction, multi-agent,                yond standard graph prediction tasks, and (3) data without
       retrieval-augmented generation, and planning and              explicit structure, i.e., standard unstructured data.
       optimization, show that the same GWM out-
       performs or matches domain-specific baselines’                To address these challenges, we propose the Graph World
       performance, benefits from multi-hop structures,              Model (GWM) that embeds the capabilities of the graph
       and demonstrate strong zero-shot/few-shot ca-                 into the WM, which models the current state as a graph
       pabilities on unseen new tasks. Our codes for                 and the action as a node (see Table 1 for comparison with
       GWM is released at https://github.com/                        existing methods). Various tasks can be expressed as action
       ulab-uiuc/GWM.                                                nodes; for example, in a graph prediction task, predicting
                                                                     the label of a given node/edge/subgraph leads to intended
                                                                     action nodes that link relevant nodes in the state graph, i.e.,
   1
                                                                     target nodes, to the action node; in a retrieval-augmented
    Department of Computer Science, University of Illinois Ur-       generation (RAG) task, we can also represent a user query
bana Champaign Urbana, IL, USA. Correspondence to: Tao Feng
<taofeng2@illinois.edu>, Jiaxuan You <jiaxuan@illinois.edu>.         as an unintended action node that links to target nodes in
                                                                     the state graph via embedding similarities.
Proceedings of the 42 nd International Conference on Machine
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025          To build GWMs, we first introduce a simplified token-based
by the author(s).                                                    GWM (GWM-T), which integrates multi-modal data like

                                                                 1
                                                              Graph World Model

                                                                              t is task-related. It can be a real-world operation, a code
Table 1. Comparison with existing representative works from
                                                                              function in the digital world, and even some queries and
three perspectives: task type, data structure, and model type.
Compared with existing WM and GFM, GWM can tackle multi-                      instructions. (3) Transition. The transition P (st+1 |st , at )
domain tasks and be applied to both structured and unstructured               depicts the transit probability from the current state st to its
data.                                                                         next state st+1 after the execution of action at .
 Method                       Task Type       Data Structure Model Type
 Genie (Bruce et al., 2024)  Video generation Unstructured     WM             2.2. Multi-modal World Represented by Graphs
 L3 P (Zhang et al., 2021)      Planning       Structured      WM
 BioBridge (Wang et al.)    Biomedical domain  Structured      GFM            Graph for state modeling. We define the world state as
 LLAGA (Chen et al., 2024a) Graph domain       Structured      GFM
                                                                              a graph G = (V, E) to represent multi-modal data with
 GWM-T                     Multiple domains       Both        GWM
 GWM-E                     Multiple domains       Both        GWM             complex relationships, shown in Figure 1. Specifically,
                                                                              V = {v} represents the set of nodes where each node v =
                                                                              [v a , v b , v e ] consists of multi-modal information, including
                                                                              image v a , table v b , and text v e modality; when a modality
image, table, and text into text modality and represents them                 is absent, the corresponding tensor will be empty. E = Ep ∪
as nodes in a graph state. We further develop a token-level                   Em } is the edge set consists of explicit edges Ep and implicit
message-passing algorithm that aggregates the neighbor in-                    edges Em . Explicit edges Ep are often those established
formation to update the text representation of the state node.                through expert knowledge or ground truth observations. For
Finally, the target nodes on the state graph and prompted                     example, in the ogbn-arxiv dataset (Hu et al., 2020), edges
action nodes will be fed into multi-modal decoders such as                    are determined based on references between papers and
LLMs and Stable Diffusion (Rombach et al., 2022). Despite                     historical collaborations between authors. Implicit edges
its simplicity, GWM-T sometimes suffers from high token                       Em are those constructed through connections represented
costs and limited context length. Inspired by latent diffusion                by embedding similarities in the dataset. A typical example
models, which introduced modeling in latent space rather                      is in many protein datasets (Heumos et al., 2023; Stuart
than directly on pixels like diffusion to enhance model per-                  et al., 2019; Stuart & Satija, 2019), where edges are obtained
formance and efficiency, we further develop an embedding-                     based on the similarity of certain node feature embeddings.
based GWM (GWM-E). GWM-E first employs modality-
specific encoders to process different modalities into node                   Different levels of world action and state transition. We
embeddings. Then it utilizes embedding-level message pass-                    model the action a as an action node that queries the current
ing to update the node embedding. Finally, the multi-modal                    state nodes v to obtain the target nodes vr using function R,
information in target state nodes is consolidated through a                   whose process can be formulated as vr = R(v, a). We fur-
multi-hop projector before passing them to the decoders.                      ther categorize the world’s actions into two types, as shown
                                                                              in Figure 1: one is directly related to the specific structures
We conduct extensive experiments on 6 tasks from di-                          on the graph, called intended action ad . It includes three
verse domains, including world prediction (multi-modal                        levels: node-level, edge-level, and graph-level. The other
generation and matching, recommendation, graph predic-                        is indirectly related to the specific structures on the graph
tion), world generation (multi-agent collaboration, retrieval-                through semantic relations such as Retrieval-augmented
augmented generation), and world optimization (planning                       Generation (RAG), called unintended action au . As shown
and optimization), with both proposed GWM variants and                        in Figure 1, to implement this action, we can first calculate
domain-specific baselines. Results show that (1) GWMs                         the similarity between the action node and state nodes, and
generalize across domains, as the same GWM outperforms                        then retrieve the top-k state nodes for querying. According
or matches domain-specific baselines’ performance, (2)                        to the introduction in Section 2.1, we can conclude that an
graph information matters in GWM, as GWMs benefit from                        action causes a transition of state st+1 = ftr (st , at ), which
multi-hop graph information, and (3) GWMs demonstrate                         includes three types: update nodes, update edges, and up-
strong zero-shot/few-shot capabilities on unseen new tasks.                   date graphs. Here, ftr means a transition function, which
                                                                              can be a neural network.
2. Graph World Model
                                                                              2.3. Instantiations of GWM
2.1. World Model Preliminaries
                                                                              As shown in Figure 2, We have listed some representative
A world model aims to predict future states based on the
                                                                              instantiations that can be unified into a graph world model
current state and action, which contains the following main
                                                                              from three aspects: (a) world prediction, (b) world genera-
components: (1) State. The state s of the world model
                                                                              tion, and (c) world optimization.
estimates the observation of the world. It usually consists of
multi-modal information and the state of the t step/time slot                 World prediction. (1) Multi-modal generation and
can be depicted as st . (2) Action. The action at at step/time                matching. As shown in Figure 2(a), the task includes

                                                                          2
                                                                       Graph World Model
                State t                                      Action t                                            State t+1                      Legend
                                Action      Node-level         Edge-level       Graph-level                                    Update graphs   State node
 Multi-modal
                                Level
 Image
         Node                                                                                                                                  Action node
 Table                                                Target
                                  Action              Nodes
                                  Node                                                                                                         Target node
  Text
                                               Ways to obtain target nodes
                                                               Calculate node   Retrieve Top-k                                                 State-state edge
                                Select action-directly-
                                related nodes                  similarity       nodes                                                          Action -target link
                                                                                                                                Update edges
                                                                                                                             Update nodes      Node-node similarity
            Edge
                                                                                                                                               Updated node/edge/
                                Intended                  Unintended
                                                                                                                                               graph
                                Action                    Action


Figure 1. Multi-modal world state transition can be modeled via graphs. We model the current state as a graph and each node contains
one or more modalities from image, table, and text. Further, the world action is modeled as an action node that queries the current state
nodes. We categorize actions into two types: intended actions, which include three levels—node, edge, and graph—and unintended
actions, whose implementation involves similarity computation similar to RAG. Finally, the transition function updates states at three
different levels based on state and action: update nodes, update edges, and update graphs.

two subtasks. The multi-modal generation task (Rombach                                    2023b). (5) Retrieval-augmented generation. The purpose
et al., 2022; Zhang et al., 2023a) involves predicting miss-                              of Retrieval-Augmented Generation (RAG) is to enhance the
ing modalities given the available modal information and                                  generation capabilities of Large Language Models (LLMs)
their interconnections. Specifically, it considers clusters                               by retrieving information from external knowledge (Lewis
of corresponding modalities (such as an image, table, and                                 et al., 2020; Gao et al., 2023; Zhao et al., 2024). Recent
text describing the same entity) as state nodes, and the re-                              studies such as GraphRAG (Edge et al., 2024; Peng et al.,
lationships between clusters, such as similarity, are treated                             2024) have shown that modeling the relationships between
as edges. Thus, the action node here is at the node level.                                data chunks in external knowledge can enhance the genera-
The multi-modal matching task (Rombach et al., 2022),                                     tive capabilities of RAG. As illustrated in Figure 2(e), we
similar to CLIP’s pre-training task (Radford et al., 2021),                               model data chunks as nodes and the similarity of embed-
predicts the correspondence between modalities. It treats                                 dings between chunks as edges. As introduced in Section
each modality as a state node and the correspondences be-                                 2.2, we design an unintended action node for RAG tasks.
tween modalities (including cross-modality similarity re-
                                                                                         World optimization. (6) Planning and optimization.
lationships) (Jin et al., 2024) as edges. Here, the action
                                                                                         World optimization involves generating the next best de-
node is at the edge level. (2) Recommendation. Recom-
                                                                                         cision based on a sequence of historical decisions (Chen
mendations (Ni et al., 2023; Isinkaye et al., 2015; Ko et al.,
                                                                                         et al., 2021; Zheng et al., 2022; Siebenborn et al., 2022).
2022) are based on the historical interactions and features
                                                                                         Many studies have shown that modeling the relationships
of users and items to predict future interactions, as shown in
                                                                                         between historical decisions using graphs can enhance the
Figure 2(b). Specifically, it models the user nodes and item
                                                                                         decision-making effectiveness of world optimization (Jiang
nodes as state nodes. Moreover, the action node is edge-
                                                                                         et al., 2018; Munikoti et al., 2023). Following them, we
level. (3) Traditional graph prediction. Traditional graph
                                                                                         model decision states as nodes. The edges between these
prediction (Kipf & Welling, 2016; Veličković et al., 2017b;
                                                                                         state nodes are often modeled based on their relationships,
Hamilton et al., 2017b) primarily focuses on three types of
                                                                                         such as distance relationships (Prates et al., 2019) and the
tasks: node-level, edge-level, and graph-level. We follow
                                                                                         similarity of embeddings (Munikoti et al., 2023; Jiang et al.,
previous work’s settings of nodes and edges and define the
                                                                                         2018). We model the action node as the graph level.
action nodes of three levels.
World generation. (4) Multi-agent collaboration. As                                       3. Token-based GFM
shown in Figure 2(d), the purpose (Zhuge et al., 2024; Liu
et al., 2023b; Wu et al., 2024b) of this task is to gener-                                3.1. Multi-modality as token
ate task-oriented outputs based on the interaction between
                                                                                          One of the easiest ways to unify multi-modalities is to trans-
agents and external knowledge, as well as communica-
                                                                                          fer them into text. Specifically, as shown in Figure 3, for im-
tion among agents. Specifically, its state nodes consist
                                                                                          age nodes v a , we utilize a pretrained image-to-text LLaVA
of agent nodes with different profiles, along with multi-
                                                                                          model (Liu et al., 2024a) L to transform them into text nodes
modal nodes in external knowledge. Its edges include
                                                                                          v ta = L(v a ). For table nodes v b , we employ a table-prompt
agent-agent and agent-knowledge relationships. The ac-
                                                                                          model T to transform them into text nodes v tb = T (v b )
tion node is graph level and the target nodes primarily in-
                                                                                          given the column names and feature values. Specifically,
clude various agent nodes (Zhuge et al., 2024; Liu et al.,
                                                                                          each value is paired with the corresponding column in the

                                                                                     3
                                                                                   Graph World Model

    (a) Multi-modal generation Multi-modal generation                      (b) Recommendation                                    (c) Traditional graph prediction
    and matching                                                           User Node                                Item Node
                                           Image


                                                                                                Edge                                    Node
                                                                                                                                                                                   Action Node
                                                            Action Node
                Node
               Image                                                                                                                                                               Graph-level
                                    Text           Table    Node-level

                                                                                                                                                                                      Action Node
                                                                                                                                                              Sub-graph
                                           Image
                                                            Action Node
        Text           Table                                                                                  Action Node                                                              Node-level


                         Edge                                Edge-level
                                                                                                                  Edge-level
                                                                                                                                               Edge
                                    Text           Table
                                                                                                                                                                                   Edge-level

                                   Multi-modal matching                                  Interaction prediction

   (d) Multi-agent collaboration                                           (e) Retrieval-augmented generation                    (f) Planning and optimization
    External knowledge                                                                                                                                 Decision Node
     Image Node                                                                Chunk Node
                 Read           Communication                                                                                                                                       Action Node
                                                                                        Edge                      Top k
                                                                                                     Similarity                                                           Next decision
       Text Node                                            Action Node                                           Retrieve                            Edge                           Graph-level
                                                                                                                   Unintended
                        Edge                                                                                                                      Relationship
                                                   Generation                                                      Action Node
                                                             Graph-level                                                                       Decision sequence
                                                                                       Data Chunks
      Table Node

                                       Agent Node



Figure 2. Instantiations of GWM. (a) Multi-modal generation and matching contains two sub-tasks. For multi-modal generation, it
models modal clusters as nodes, whereas for multi-modal matching, it models nodes for each modality. It includes edges that represent
inter-modal correspondences and cross-modal similarities. For these two types of subtasks, there are node-level and edge-level action
nodes, respectively. (b) The state nodes of recommendation include user nodes and item nodes. Moreover, its edges are primarily derived
from user-item interactions. We model edge-level action nodes to perform interaction prediction. (c) In traditional graph prediction, we
follow existing work to construct task nodes and edges, and model three levels of action nodes according to different types of tasks. (d)
The state nodes of multi-agent collaboration include agent nodes and multi-modal nodes from external knowledge. Its edges primarily
consist of communications between agents and interactions between agents and external knowledge. We set up a graph-level action node
to generate content based on the interactions of agents. (e) Retrieval-augmented generation treats each data chunk as a state node and
builds edges through the embedding similarity between chunks. For this task, we have established unintended action nodes. (f) For
planning and optimization, we model each decision as a state node and construct edges based on their relationships. We have established
graph-level action nodes to generate the next decision.

format of “{column 1} is {value 1}, {column 2} is {value                                               3.3. Instruction tuning
2}, ...”. Finally, we used a prompt template Pu (specified
                                                                                                       Based on token-level message passing, we can obtain node
Table 23 in Appendix C) to unify the three modal nodes into
                                                                                                       text representations hv for each node. Combining the dis-
a single text node vc = Pu (v ta , v tb , v e ).
                                                                                                       cussion in Section 2.2, we identify the target nodes vr and
                                                                                                       their node text representations hvr , along with the action
3.2. Token-level message passing
                                                                                                       node a and the state node. Further, we describe the action
In contrast to traditional graph message passing (Kipf &                                               node using text and utilize a task-oriented prompt template
Welling, 2016; Hamilton et al., 2017b; Veličković et al.,                                            Psa (specified in Appendix C) to combine the information
2017b), we employ token-level message passing here,                                                    from the target nodes and the action node, as shown in the
which aggregates the text information of neighboring nodes.                                            right part of Figure 3. In response to the different modalities
Specifically, as shown in the middle part of Figure 3, for the                                         in next states, we designed two types of decoders. We first
each unified text node vc , the node embeddings update of                                              designed stable diffusion (SD) to generate images.
the l-th layer is represented as:                                                                      Instruction tuning of SD. SD operates by performing dif-
                                                                                                     fusion in a compressed latent space rather than directly on
  h(l)              (l−1)
   v = fv C ONCAT (hv     , {h(l−1)
                              u     , u ∈ N (v)}) , (1)                                                pixels. Initially, the system maps an input image x to a
                                                                                                       lower-dimensional latent code z = Enc(x) through an en-
                                                                                                       coder network. The generated latent representation z′ is sub-
                                                                                                       sequently transformed back into image space via a decoder
           (l)
where hv is the node text presentation after l iterations,                                             network, producing the final output x′ = Dec(z′ ). This
hv (0) has been initialized as hv (0) = vc . In addition, N (v)                                        latent representation z′ is generated by the diffusion model
denotes the direct neighbors of node v and fv (·) denotes                                              using textual guidance from a prompt cT = Psa (hvr , a).
prompting strategy functions (specified in Table 24 of Ap-                                             The fundamental optimization objective for training SD can
pendix C) to unify nodes information of different hops.

                                                                                                 4
                                                                     Graph World Model
                                                             Token-based GWM                                                                                Legend
      Multi-modality as token (Current State)             Token-level message passing
 Image                                                                                                              Token                                    State node
                                                                                                  Prompt (Target            Instruction tuning Next state
                  Image-to-text Model
                                                Node                       Node                   nodes)                          Stable                     Action node
  Text                                                                                                                           Diffusion
                                Prompting                        Multi-hop
                                                                 aggregation
                                                          Edge                             Edge                                                              Target node
 Table
                                                                                                                                   LLM
                  Table-Prompt Model                                           Target             Action                                                     Next state of
                                                                               nodes              node                                                       SD
                                                                                                                                                             Next state of
                                                          Embedding-based GWM                                                                                LLM
    Multi-modality as embedding (Current State)        Embedding-level message passing
 Image                                                                                            Target nodes                                               Aggregated
                                                                                                  embedding                  Projector tuning Next state     node
                    Image Encoder
                                                Node                       Node                         Multi-hop                                            embedding
                                                                                                                                  Stable
  Text                                                                                                  Projector                                            Target node
                                                                 Multi-hop                                                       Diffusion
                                    Concat                                                                                                                   embedding
                                                                 aggregation
                                                          Edge                             Edge                                                              State-state
 Table                                                                                                                                                       edge
         Prompt                                                                                                                     LLM
                     Text Encoder                                              Target              Action   Token                                            Message
                                                                               nodes               node                                                      passing




Figure 3. Framework of GWM. For both token-based and embedding-based GFM, we initially unify the multi-modal current state into
graph nodes, conduct message passing, and then combine actions to predict the next state across different modalities through respective
decoders. The key distinctions are: 1) Token-based GWM integrates multi-modalities into text, whereas embedding-based GWM uses
modality-specific encoders to process them into embeddings; 2) Token-based GWM utilizes text-based methods for message passing,
while embedding-based GWM operates at the embedding level; 3) Token-based GWM converts information into prompt form for the
decoder, while embedding-based GWM employs a multi-hop projector to manage embedding-level information.

be expressed mathematically as:                                                         4.1. Multi-modality as embedding

 L = Ez∼Enc(x),cT ,ϵ∼N (0,1),t ∥ϵ − ϵθ (zt , t, h(cT ))∥2 (2)                           The embedding-based GFM unifies the multi-modal nodes
                                                        
                                                                                        in the embedding space. Firstly, as shown in Figure 3,
During each iterative step t, a specialized denoising net-                              for each modality of the node, we would assign a specific
work ϵθ (·) estimates noise patterns by jointly processing                              encoder. For the text modality v e , we utilize a BERT model
three inputs: the current latent state zt , a temporal posi-                            as the encoder Eb to obtain its embedding et . As for the
tion indicator t, and encoded text features h(cT ). The text                            table node v b , we first transform it into text description as
features h(cT ) ∈ Rd×lcT are extracted using CLIP’s text                                discussed in Section 3.1 and then utilize a BERT model
encoder (Radford et al., 2021) h(cT ) = CLIP(cT ), where                                as the encoder Eb to obtain its embedding eb . Finally, we
lcT represents the prompt length and d denotes the feature                              deploy a CLIP Ec model to encode the image node v a into
dimensionality.                                                                         image embedding ea . We finally obtain the node embedding
                                                                                        ev = C ONCAT(ea , et , eb ) by concatenating the embeddings
Instruction tuning of LLM. We then design LLM to gen-                                   of all modalities involved with this node. Specifically, if a
erate texts for both text and table modalities. We followed                             node misses some modalities, we use zero vectors for them.
the standard instruction tuning practice (Zhang et al., 2023b;
Peng et al., 2023), which encourages LLMs to adhere to                                  4.2. Embedding-level message passing
user requests when returning the outputs. For the input in-
struction Psa (hvr , a), we supply a response representing                              In this section, we first model the relationships between
the next predicted states, consisting of t tokens and denoted                           nodes on the graph through multi-hop aggregation, then ag-
as y = {y1 , . . . yt }. We train the LLM to yield fSFT via                             gregate the information from different modalities within the
              X                                                                         nodes through cross-modal fusion into unified embeddings
 LSF T = −          logPfSFT (yt |Psa (hvr , a), y1 , . . . yt−1 ). (3)                 to pass to the subsequent decoders.
                      t
                                                                                        Multi-hop aggregation. We designed a simplified GCN
                                                                                        (Wu et al., 2019; He et al., 2020a) to implement multi-hop
4. Embedding-based GFM                                                                  aggregation, which directly accomplishes parameter-free
Although token-based GFM can relatively simply construct                                feature aggregation at the node feature level. Specifically,
a multi-modal world, it is still limited by the high token cost                         for the adjacency matrix A between nodes, we first nor-
                                                                                                                                 1     1
and a restricted multi-hop field of view. Inspired by stable                            malize it to obtain the matrix Ã = D− 2 AD− 2 , where D
diffusion, which introduces modeling in latent space rather                             represents the degree matrix of A. Then, for the node vec-
than directly on pixels to enhance model performance and                                tor Xe composed of all node embeddings ev , we use the
efficiency, we have introduced embedding-based GFM as                                   obtained normalized adjacency matrix Ã to perform l-hop
shown in the bottom half of Figure 3.

                                                                                  5
                                                        Graph World Model

                       (l)                       (l)
graph aggregation: Xe = Ãl ∗ Xe , where Xe is the l-hop                 investigate the node-level multi-modal generation task,
graph embedding. We retain the embeddings of the first L                 where the goal is to predict missing images based on tex-
            (1)          (L)                                             tual captions. We use data from Goodreads (Jin et al.,
hops [Xe , Xe , . . . , Xe ] to the subsequent modules.
                                                                         2024) and the Multi-Modal-Paper dataset (detailed in Ap-
Cross-modal fusion. We further apply a parameterized                     pendix A.1). The generated images are evaluated using
projector fc to transform the multi-modalities in the node               CLIP Score (Radford et al., 2021) and DINOv2 (Oquab
                           (l)        (l)          (l)
to unified embeddings: Xc = fc (Xe ), where Xc is the                    et al., 2023). We compare our approach against several
unified node embedding. Specifically, we utilize a simple                baselines, including Stable Diffusion 1.5 (SD-1.5) (Rom-
MLP as projector fc and output the L hops embeddings                     bach et al., 2022), its fine-tuned variant (SD-1.5 FT), the
                (1)        (L)
XG = [Xc , Xc , . . . , Xc ] to the decoders. Note that                  image-to-image model ControlNet (Zhang et al., 2023a),
GWM-E can be extended to heterogeneous graphs by per-                    and the SOTA INSTRUCTG2I model (Jin et al., 2024).
forming separate multi-hop aggregations for each edge type,              Meanwhile, our edge-level multi-modal matching task
followed by flattening the resulting node embeddings into a              evaluates the correspondence between different modal-
sequence format suitable for input into the LLM decoder.                 ities, using Contrastive MLP (Liu et al., 2022), CLIP
                                                                         (Radford et al., 2021), and fine-tuned CLIP on metrics
4.3. Projector tuning                                                    such as Accuracy, Recall, and F1. Please note that since
                                                                         the multi-modal matching task of Multi-Modal-Paper also
As discussed in Section 3.3, in this section we discuss the              includes matching between text and tables, CLIP cannot
tuning of projectors for two different modalities separately.            be applied to this subtask.
Projector tuning of SD. We first incorporate graph con-
                                                                         (2) Recommendation (Rec): As Table 11 of Appendix
ditioning tokens hG (cG ) = XG into the SD models, func-
                                                                         A.2 illustrates, we utilize three benchmark datasets of
tioning concurrently with the pre-existing text conditions
                                                                         varying scales—Baby, Sports, and Clothing—from Ama-
hT (cT ): h(cT , cG ) = [hT (cT ), hG (cG )] ∈ Rd×(lcT +lcG ) ,
                                                                         zon’s real-world product collections (McAuley et al.,
where lcG is the length of the graph condition. The training
                                                                         2015). These datasets are commonly used in existing
objective then becomes:
                                                                         multi-modal graph recommendation systems (Wei et al.,
L = Ez∼Enc(x),cT ,cG ,ϵ∼N (0,1),t ∥ϵ − ϵθ (zt , t, h(cT , cG ))∥2 .
                                                                  
                                                                         2019a; 2020a). For these edge-level tasks, we benchmark
                                                               (4)       our GWM model against recent state-of-the-art recom-
Projector tuning of LLM. We describe the action node                     mendation approaches, including FREEDOM (Zhou &
a using text as in Section 3.3. We further introduce graph               Shen, 2023), as well as representative graph-based mod-
tokens XG into LLM. The training objective of LLM is                     els such as LightGCN (He et al., 2020a), MMGCN (Wei
to maximize the probability of generating the correct next               et al., 2019b), and GRCN (Wei et al., 2020b). We use
states. Combining the discussion in Section 3.3, we train                Recall and F1 Score as the primary evaluation metrics.
the LLM to yield fSFT via                                                (3) Traditional graph prediction (Graph): We utilize
                 X                                                       Cora (Chen et al., 2024b), PubMed (Chen et al., 2024b),
    LSF T = −         logPfSFT (yt |XG , a, y1 , . . . yt−1 ). (5)       and HIV (Wu et al., 2018) datasets. For the Cora and
                  t
                                                                         PubMed datasets, we perform node-level and edge-level
We use a training approach similar to prefix tuning (Li &                tasks, while for the HIV dataset, we undertake graph-
Liang, 2021), where we fix the LLM’s parameters and only                 level tasks. We compare GWM against two traditional
fine-tune the projector fc ’s parameters.                                graph baselines, GCN (Kipf & Welling, 2016) and GAT
                                                                         (Veličković et al., 2017b), as well as two GFM baselines,
                                                                         LLAGA (Chen et al., 2024a) and OFA (Liu et al., 2023a).
5. Experiments
                                                                         We adopt accuracy as the metric. Details can be seen in
We employ one unified GWM model across multiple                          Appendix A.3.
tasks, comparing its performance against domain-specific
methods. Initially, we introduce the tasks within the GWM              • World generation: It contains two sub-tasks. (1) Multi-
framework.                                                               agent collaboration (Multi-agent): We utilize a multi-
                                                                         modal agent benchmark called AgentClinic (Schmidgall
Task description. The details of the tasks are summarized                et al., 2024) (in Appendix A.4) to evaluate LLMs within
across three aspects in Table 9 of the Appendix, with further            simulated clinical environments. This environment is
information on tasks and datasets available in Appendix A,               structured as a graph, with nodes representing different
and specific action node prompts in Appendix C.                          profile-based agents such as patients, measurements, and
                                                                         moderators, and containing various modalities of external
• World prediction: It contains three subtasks. (1) Multi-               knowledge including medical images and patient records.
  modal generation and matching (Multi-modal): We                        The edges represent interactions between agents and their

                                                                  6
                                                                    Graph World Model
Table 2. Multi-modal generation results on Goodreads and
Multi-Modal-Paper. This task is to predict the missing modality                  Table 4. Recommendation on Baby, Sports, and Clothing. Com-
based on the given modality. Compared to specific baselines in                   pared with three classical graph baselines, GWM achieved state-
image generation, GWM achieved the best results.                                 of-the-art results on most metrics.
                                                                                                    Baby               Sports           Clothing
                       Goodreads          Multi-Modal-Paper
                                                                                    Model     Recall F1 Score Recall F1 Score Recall F1 Score
         Model        CLIP DINOv2 CLIP                  DINOv2
                                                                                  FREEDOM 60.35           66.16   63.47    70.53       70.20   78.40
       SD-1.5         42.16     14.84     52.62           23.64
      SD-1.5 FT       45.81     18.97     58.49           24.13                    LightGCN    51.11      38.22   85.36    91.32       69.08   77.21
      ControlNet      42.20     19.77     52.89           24.77                    MMGCN       57.34      61.31   61.69    68.08       64.09   71.26
    INSTRUCTG2I 50.37           25.54     56.37           18.80                      GRCN      74.35      82.47   57.31    61.23       57.60   61.74

        GWM-T         47.46     20.91     59.92           23.10                    GWM-T       70.84      75.08   84.29    88.60       71.73   74.26
        GWM-E         45.23     20.87     59.84           26.03                    GWM-E       76.72      84.74   88.78    90.32       75.27   84.06



Table 3. Multi-modal matching results on Goodreads and                           Table 5. Traditional graph prediction results on Cora, PubMed,
Multi-Modal-Paper. It aims to predict the correspondence be-                     and HIV. It covers representative tasks at the node-level, edge-
tween different modal-ities. For Goodreads, this task is to predict              level, and graph-level. Compared to classic graph baselines and
text-image correspondences. As for Multi-Modal-Paper, it aims                    GFM methods, our GWM can match their performance with one
to predict text-image, text-table, and table-image correspondences.              unified model.
Note that CLIP and CLIP FT cannot be applied to Multi-Modal-                             Model           Cora         PubMed        HIV
Paper since it includes matching tasks beyond text-image.                               Task Type      Node    Link    Node     Link     Graph
                         Goodreads                Multi-Modal-Paper                     GCN            78.86   90.40   74.49    91.10     86.72
     Model         Accuracy Recall F1 Score Accuracy Recall F1 Score                    GAT            82.76   93.70   75.24    91.20     87.84
 Contrastive MLP    54.70     54.67     54.79     51.77     51.55    50.31              LLAGA          89.22   89.18   95.03    89.18     85.42
     CLIP           83.80     83.80     83.84       -         -        -                OFA            73.21   93.12   77.80    96.39     92.04
    CLIP FT         92.60     92.58     92.61       -         -        -
                                                                                        GWM-T          81.92   88.24   92.91    91.88     92.20
    GWM-T           84.22     85.66     85.29     88.26     90.35    90.11              GWM-E          83.03   94.31   84.22    94.01     93.86
    GWM-E           88.82     89.73     89.06     96.23     97.21    97.13


                                                                                   et al., 2024) attempt optimization tasks by imitating the
  engagement with knowledge resources. Given the objec-                            trajectory of expert strategies. Here, we utilize the expert
  tive of integrating information from all agents to answer                        strategy dataset from the text-based embodied task ALF-
  medical questions, we define this as a graph-level task.                         World (Shridhar et al., 2020; Yang et al., 2024). We model
  We compare our approach with three LLM-based base-                               each decision state as graph nodes and derive the edges
  lines: CoT (Wei et al., 2022), ToT (Yao et al., 2024),                           between nodes based on the similarity of the state images
  and Few-Shot (Madotto et al., 2021), as well as two ad-                          associated with the decisions. We compare GWM with
  ditional baselines fine-tuned on the AgentClinic dataset.                        three LLM baselines—COT (Wei et al., 2022), TOT (Yao
  FT refers to a LLaMA-3-8B model fine-tuned directly on                           et al., 2024), and T5 (Raffel et al., 2020) fine-tuned on our
  the task. Longformer (Beltagy et al., 2020) is a strong                          dataset (T5 FT) —using BERT-Score (Zhang et al., 2019)
  baseline for long-document understanding. We use Accu-                           (Precision, Recall, and F1 Score) as metrics. Details can
  racy, Recall, and F1 Score as evaluation metrics to assess                       be seen in Appendix A.6.
  the correctness of the generated responses. (2) Retrieval-
  augmented generation (RAG): We utilize LongBench                               Implementation details. We train and test a single GWM
  v2 (Bai et al., 2024), a benchmark designed for challeng-                      on all tasks, comparing it with domain-specific baselines for
  ing long-context question-answering (in Appendix A.5).                         each task. Specifically, for the LLM module, we uniformly
  Following previous work like GraphRAG (Edge et al.,                            use Llama-3-8B, and for stable diffusion, we use SD-v1-
  2024), we divide long context into chunks as nodes of                          5. For the image-to-text model used in GWM-T, we use
  the graph, and the edges between nodes are the simi-                           LLaVA-1.5-7B. The image encoder and text decoder used
  larity of their BERT embeddings. We conduct compar-                            in GWM-E are CLIP and BERT models, respectively. In
  isons with two RAG-based baselines—BM25 (Robertson                             addition, our multi-hop projector uses an n-hop MLP to
  et al., 2009) and Dragon (Lin et al., 2023)—and three                          aggregate features from different hops, where n-hop refers
  long-context LLMs (128k), including Mistral Large 2,                           to the number of neighborhood hops of the graph nodes
  Command R+, and GPT-4o mini. Accuracy serves as our                            used. To ensure the training efficiency of the models, we
  evaluation metric.                                                             set the maximum token length for all models at 2k. We use
• World optimization (Optimization): Many existing                               Adam optimizer (Diederik, 2014) for model training and
  works (Ho & Ermon, 2016; Hussein et al., 2017; Yang                            gradually decay the learning rate with LambdaLR scheduler.

                                                                             7
                                                         Graph World Model

All the experiments are conducted on NVIDIA A6000 GPUs.
                                                                         Table 8. Planning and optimization results on ALFWorld. It
Please refer to Appendix B for other implementation details.
                                                                         is to evaluate how well the methods can imitate the trajectory
                                                                         of expert strategies to effectively assist in solving optimization
                                                                         problems. Compared to classic LLM baselines and text generation
Table 6. Multi-agent collaboration results on AgentClinic. This
                                                                         baselines, GWM-E has achieved the best results.
task is to answer medical questions by leveraging interactions
between agents and external knowledge sources. Compared to                            Model Precision Recall F1 Score
classic LLM baselines, GWM-T achieves state-of-the-art results.                      Normal       89.62     88.86     89.21
             Model      Accuracy Recall F1 Score                                      COT         86.87     87.74     87.27
             COT           45.00     33.42     32.25                                  T5 FT       92.06     91.52     91.82
             TOT           35.00     33.71     29.71                                 GWM-T        88.10     87.05     87.42
           Few-shots       40.00     40.63     29.37                                 GWM-E        93.27     92.36     92.13
          Longformer       25.00     20.20     14.00
             FT            45.00     45.40     44.00
            GWM-T          50.00     46.42     48.20                     to domain-specific baselines in other tasks. This demon-
            GWM-E          45.00     39.57     35.56                     strates GWM’s ability to generalize and its applicability
                                                                         across a broad range of tasks. (2) GWM demonstrates
                                                                         promising capabilities in some highly challenging tasks,
5.1. A single GWM matches the performance of                             such as long-context RAG (shown in Table 7). GWM with
     domain-specific methods across multiple tasks                       a context length of 2k can outperform LLM models with a
                                                                         context length of 128k in RAG tasks, showcasing GWM’s
We train a unified GWM on all tasks and test it across all               potential in understanding and reasoning with long texts.
tasks without further fine-tuning, compared with domain-                 (3) The design of the latent embedding enables GWM-E to
specific baselines under each task. Specifically, for world              outperform GWM-T in five out of seven tasks with approxi-
prediction, we first report the multi-modal generation and               mately 5-10 times fewer token costs. This demonstrates the
matching results in Table 2 and Table 3. Subsequently,                   efficiency and effectiveness of embedding-based message
we report the recommendation results in Table 4, and the                 passing.
traditional graph prediction results in Table 5. As for world
generation, we report the multi-agent collaboration results
                                                                         5.2. GWM benefits from multi-hop graphs
in Table 6 and the retrieval-augmented generation results
in Table 7. For world optimization, we report the results in             To explore whether multi-hop graphs can enhance the per-
Table 8.                                                                 formance of GWM, we compared the effectiveness of four
                                                                         different hop settings with a no-graph baseline using GWM-
We can observe that: (1) A single GWM achieves SOTA re-
                                                                         E on six tasks, as illustrated in Figure 4. Specifically, we
sults in multi-modal generation (Multi-Modal-Paper), multi-
                                                                         measured the average performance across five settings for all
agent collaboration, retrieval-augmented generation, as well
                                                                         tasks. For Multi-modal tasks, we use DINOv2 and F1 Score
as planning and optimization, and also performs comparably
                                                                         to calculate average performance, while for Rec, Agent,
                                                                         and Optimization tasks, we exclusively use the F1 Score.
                                                                         Accuracy metrics were employed for the remaining tasks.
Table 7. Retrieval-augmented generation on LongBench v2. It              Graphs have consistently enhanced GWM-E performance
is a challenging long-context question-answering task that is cat-       across all tasks, showing a minimum relative gain of 20%
egorized into easy and hard levels. Compared to classic RAG              on graph-related tasks. However, an increased hop number
baselines and LLM models with extended contexts, GWM with                does not always lead to better performance since it can cause
limited context length achieved the best results. The result also
                                                                         over-smoothing and introduce redundant information.
demonstrates the superiority of GWM-E over GWM-T in tasks
involving long contexts.
                                                                         5.3. GWM boosts zero-shot/few-shot performance
                Model              Overall Easy Hard
             BM25 (2k)             27.45     41.18 20.59                 To validate the zero-shot/few-shot capabilities of GWM,
             Dragon (2k)           23.53     35.29 17.65                 we conduct experiments with GWM-E and GWM-T on the
                                                                         Agent and RAG tasks, as shown in Figure 5 (“-T” and “-E”
       Mistral Large 2 (128k)      26.31     29.42 24.45
       Command R+ (128k)           27.43     30.19 26.32                 respectively represent the experimental results of GWM-T
        GPT-4o mini (128k)         29.01     30.23 28.03                 and GWM-E). Here, Single Data refers to training GWM
                                                                         solely on the Agent or RAG task. Zero-shot refers to train-
            GWM-T (2k)             29.40     35.71 21.74                 ing GWM on tasks other than Agent or RAG and testing
            GWM-E (2k)             33.32     39.16 29.52
                                                                         it on Agent or RAG. Fine-tuned GWM refers to training

                                                                     8
                                                       Graph World Model
                                                                                 0.5                                    Single Data
                         Performance Across Hops      No Graph                                                          Zero-shot
                                         RAG          1-Hop                      0.4
                                                                                                                        Fine-tuned GWM
                                          70.0
                                                      2-Hop




                                                                       Performance
                                                      3-Hop
                                          55.0        4-Hop                      0.3

   Optimization                           40.0     Multi-modal                   0.2

                                          25.0
                                                                                 0.1

                                           10.0
                                                                                 0.0
                                  66.7
                                         56.7
                                                                                       Agent-T   RAG-T      Agent-E        RAG-E
                           76.7
                  86.7
           96.7                                                         Figure 5. GWM boosts zero-shot/few-shot performance on
Recommendation                                     Multi-agent          multi-agent collaboration (Agent) and retrieval-augmented
                                                                        generation (RAG) tasks. Note that “-T” and “-E” respectively
                                                                        represent the experimental results of GWM-T and GWM-E. It
                                                                        can be observed that GWM can quickly adapt to new tasks with a
                                         Graph                          small amount of domain-specific training data. Moreover, GWM’s
                                                                        strong generalization ability can boost the performance of Agent
Figure 4. Multi-hop graphs enhance GWM’s performance                    and RAG.
across representative tasks in six domains. We can observe
that the introduction of graphs has benefited GWM-E across all          states based on given actions. Existing WMs (Wu et al.,
tasks compared to no graph. Moreover, excessive hops can lead to
                                                                        2024a; Bruce et al., 2024) primarily focus on how to utilize
over-smoothing, thereby decreasing performance.
                                                                        unstructured data to predict state transitions, thereby enhanc-
                                                                        ing the effectiveness of sequence generation tasks. Genie
                                                                        (Bruce et al., 2024) trained a foundation world model using
GWM on tasks other than Agent or RAG, followed by few-
                                                                        a massive amount of unlabelled, serialized internet videos,
shot fine-tuning with 10% of the data from Agent or RAG.
                                                                        which has provided benefits for the planning outcomes of
We can observe that GWM adapts effectively to new tasks
                                                                        downstream tasks. Additionally, some WMs (Zhang et al.,
using only a small amount of domain-specific training data.
                                                                        2021; Zhu et al., 2022) have attempted to integrate struc-
Moreover, we observe that the zero-shot results of GWM on
                                                                        tured data with GWM. L3 P (Zhang et al., 2021) uses graphs
the RAG task are even better than those from Single Data,
                                                                        to model each step of the agent’s decision-making process
indicating that GWM’s strong generalization ability greatly
                                                                        and their connections, thus enhancing scalable planning in
benefits tasks with limited training data like Agent or RAG.
                                                                        reinforcement learning. However, they are still largely con-
                                                                        fined to planning and optimization scenarios, which limits
6. Additional Related Work                                              their potential for task generalization as WMs. Thus we
                                                                        develop GWM that integrates the capabilities of graphs with
Graph for Modelling Relations. Graphs are highly effec-
                                                                        WM to generalize across diverse tasks.
tive in modeling complex relationships (Fey et al., 2023;
Cao et al., 2023; Gao & Xu, 2020; Chen et al., 2022; Wu
et al., 2022; Yang et al., 2021), extracting nodes and edges             7. Conclusion
to model relational data with embeddings. Graph Neural                  We propose GWM, a unified framework that uses a graph
Networks (GNNs) (Kipf & Welling, 2017; Hamilton et al.,                 world state to tackle diverse prediction, generation, and
2017a; Veličković et al., 2017a; Schlichtkrull et al., 2017)          planning tasks. Across six benchmarks, GWM matches
have emerged as a dominant approach, particularly in recom-             domain-specific baselines while benefiting from multi-hop
mendation systems (Min et al., 2022) and social networks                graph structures, showing strong generality and flexibility.
(Wu et al., 2020). To further address the vast array of tasks           It also improves zero-shot and few-shot performance, in-
and data, scholars have proposed the GFM (Chen et al.,                  dicating strong cross-task generalization. GWM currently
2024a; Liu et al., 2023a) to explore GNNs’ zero-shot or                 supports text, table, and image modalities, with plans to
few-shot capabilities (Fey et al., 2023; Cao et al., 2023; Gao          extend to more. While the current implementation focuses
& Xu, 2020; Chen et al., 2022) to tackle challenges such as             on homophilous graphs, we aim to expand it to support both
the cold start problem in recommendations.                              homophilous and non-homophilous structures for broader
World Model. The WM (Ha & Schmidhuber, 2018) is to                      applicability. Its modular design also makes it a flexible
construct the world observations as states and predict future           base for future multi-modal graph reasoning tasks.

                                                                   9
                                                     Graph World Model

Impact Statement                                                        Shi, Y., Hughes, E., Lai, M., Mavalankar, A., Steiger-
                                                                        wald, R., Apps, C., et al. Genie: Generative interactive
The WM serves as a unified framework for prediction, gen-               environments. In Forty-first International Conference on
eration, and decision-making across various applications.               Machine Learning, 2024.
While traditional WMs are constrained to single-modality
and unstructured data, our proposed GWM enhances them                 Cao, K., You, J., and Leskovec, J. Relational multi-task
by embedding-level message passing and aggregation to                   learning: Modeling relations between data and tasks.
integrate structured and multi-modal data, bridging the gap             arXiv preprint arXiv:2303.07666, 2023.
between unstructured and structured processing. GWM
demonstrates significant potential as a foundational graph-           Chen, L., Lu, K., Rajeswaran, A., Lee, K., Grover, A.,
based model for real-world multi-modal tasks; however, its              Laskin, M., Abbeel, P., Srinivas, A., and Mordatch, I. De-
current scope is limited by the number of supported modal-              cision transformer: Reinforcement learning via sequence
ities and the simplicity of its graph architecture, necessi-            modeling. Advances in neural information processing
tating further advancements for broader applicability and               systems, 34:15084–15097, 2021.
enhanced relational modeling. Future applications should
also prioritize ethical considerations, recognizing that ef-          Chen, R., Zhao, T., Jaiswal, A., Shah, N., and Wang, Z.
forts are needed to ensure that GWM’s responses are reli-               Llaga: Large language and graph assistant. arXiv preprint
able, unbiased, and safe in real-world deployments, thereby             arXiv:2402.08170, 2024a.
preventing potential harm to users. In addition, the data
utilized in this work are collected in compliance with appli-         Chen, S., Hong, Z., Xie, G., Peng, Q., You, X., Ding, W.,
cable laws and licensing agreements. Their usage is also                and Shao, L. Gndan: Graph navigated dual attention
transparent and harmless.                                               network for zero-shot learning. IEEE transactions on
                                                                        neural networks and learning systems, 35(4):4516–4529,
The security of Large Language Models (LLMs) has always                 2022.
been a concern. Unfortunately, current LLMs sometimes
produce harmful and biased information unexpectedly. Our              Chen, Z., Mao, H., Li, H., Jin, W., Wen, H., Wei, X., Wang,
proposed method uses LLMs to generate simulated queries                 S., Yin, D., Fan, W., Liu, H., et al. Exploring the po-
and summary responses, which are only used to construct                 tential of large language models (llms) in learning on
a graph of records and connect text chunks from long doc-               graphs. ACM SIGKDD Explorations Newsletter, 25(2):
uments. However, more work is needed in real-world ap-                  42–61, 2024b.
plications to ensure that LLMs’ responses are reliable and
harmless, so that they do not harm users.                             Cui, H. and Gao, Y. A universal world model learned from
                                                                        large scale and diverse videos. In NeurIPS 2023 Founda-
References                                                              tion Models for Decision Making Workshop.

Bai, Y., Tu, S., Zhang, J., Peng, H., Wang, X., Lv, X.,               Diederik, P. K. Adam: A method for stochastic optimization.
  Cao, S., Xu, J., Hou, L., Dong, Y., et al. Long-                      (No Title), 2014.
  bench v2: Towards deeper understanding and reason-
  ing on realistic long-context multitasks. arXiv preprint            Edge, D., Trinh, H., Cheng, N., Bradley, J., Chao, A., Mody,
  arXiv:2412.15204, 2024.                                               A., Truitt, S., and Larson, J. From local to global: A graph
                                                                        rag approach to query-focused summarization. arXiv
Beltagy, I., Peters, M. E., and Cohan, A.        Long-                  preprint arXiv:2404.16130, 2024.
  former: The long-document transformer. arXiv preprint
  arXiv:2004.05150, 2020.                                             Ektefaie, Y., Dasoulas, G., Noori, A., Farhat, M., and Zitnik,
                                                                        M. Multimodal learning with graphs. Nature Machine
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan,                 Intelligence, 5(4):340–350, 2023.
  J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G.,
  Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G.,             Fey, M., Hu, W., Huang, K., Lenssen, J. E., Ranjan, R.,
  Henighan, T., Child, R., Ramesh, A., Ziegler, D. M., Wu,              Robinson, J., Ying, R., You, J., and Leskovec, J. Rela-
  J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M.,          tional deep learning: Graph representation learning on
  Gray, S., Chess, B., Clark, J., Berner, C., McCandlish,               relational databases. arXiv preprint arXiv:2312.04615,
  S., Radford, A., Sutskever, I., and Amodei, D. Language               2023.
  models are few-shot learners, 2020. URL https://
  arxiv.org/abs/2005.14165.                                           Gao, J. and Xu, C. Ci-gnn: Building a category-instance
                                                                        graph for zero-shot video classification. IEEE Transac-
Bruce, J., Dennis, M. D., Edwards, A., Parker-Holder, J.,               tions on Multimedia, 22(12):3088–3100, 2020.

                                                                 10
                                                       Graph World Model

Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y.,         Jiang, J., Dun, C., Huang, T., and Lu, Z. Graph
  Sun, J., and Wang, H. Retrieval-augmented generation                     convolutional reinforcement learning. arXiv preprint
  for large language models: A survey. arXiv preprint                      arXiv:1810.09202, 2018.
  arXiv:2312.10997, 2023.
                                                                        Jin, B., Pang, Z., Guo, B., Wang, Y.-X., You, J., and Han,
Ha, D. and Schmidhuber, J. Recurrent world models facil-                   J. Instructg2i: Synthesizing images from multimodal at-
  itate policy evolution. Advances in neural information                   tributed graphs. arXiv preprint arXiv:2410.07157, 2024.
  processing systems, 31, 2018.
                                                                        Jin, W., Barzilay, R., and Jaakkola, T. Junction tree varia-
Hamilton, W., Ying, Z., and Leskovec, J. Inductive repre-                  tional autoencoder for molecular graph generation. In-
  sentation learning on large graphs. Advances in neural                   ternational Conference on Machine Learning (ICML),
  information processing systems, 30, 2017a.                               2018.
Hamilton, W., Ying, Z., and Leskovec, J. Inductive repre-               Kipf, T. N. and Welling, M. Semi-supervised classifica-
  sentation learning on large graphs. Advances in neural                  tion with graph convolutional networks. arXiv preprint
  information processing systems, 30, 2017b.                              arXiv:1609.02907, 2016.
He, X., Deng, K., Wang, X., Li, Y., Zhang, Y., and Wang,
                                                                        Kipf, T. N. and Welling, M. Semi-supervised classification
  M. Lightgcn: Simplifying and powering graph convolu-
                                                                          with graph convolutional networks. In ICLR (Poster).
  tion network for recommendation. In Proceedings of the
                                                                          OpenReview.net, 2017.
  43rd International ACM SIGIR conference on research
  and development in Information Retrieval, pp. 639–648,                Ko, H., Lee, S., Park, Y., and Choi, A. A survey of recom-
  2020a.                                                                  mendation systems: recommendation models, techniques,
He, X., Deng, K., Wang, X., Li, Y., Zhang, Y., and Wang,                  and application fields. Electronics, 11(1):141, 2022.
  M. Lightgcn: Simplifying and powering graph convolu-                  Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V.,
  tion network for recommendation. In Proceedings of the                  Goyal, N., Küttler, H., Lewis, M., Yih, W.-t., Rocktäschel,
  43rd International ACM SIGIR conference on research                     T., et al. Retrieval-augmented generation for knowledge-
  and development in Information Retrieval, pp. 639–648,                  intensive nlp tasks. Advances in Neural Information Pro-
  2020b.                                                                  cessing Systems, 33:9459–9474, 2020.
Heumos, L., Schaar, A. C., Lance, C., Litinetskaya, A.,                 Li, X. L. and Liang, P. Prefix-tuning: Optimizing continuous
  Drost, F., Zappia, L., Lücken, M. D., Strobl, D. C., Henao,             prompts for generation. arXiv preprint arXiv:2101.00190,
  J., Curion, F., et al. Best practices for single-cell analysis           2021.
  across modalities. Nature Reviews Genetics, 24(8):550–
  572, 2023.                                                            Lin, S.-C., Asai, A., Li, M., Oguz, B., Lin, J., Mehdad, Y.,
                                                                          Yih, W.-t., and Chen, X. How to train your dragon: Di-
Ho, J. and Ermon, S. Generative adversarial imitation learn-
                                                                          verse augmentation towards generalizable dense retrieval.
  ing. Advances in neural information processing systems,
                                                                          arXiv preprint arXiv:2302.07452, 2023.
  29, 2016.
Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang,           Liu, H., Feng, J., Kong, L., Liang, N., Tao, D., Chen,
  S., Wang, L., and Chen, W. Lora: Low-rank adaptation of                 Y., and Zhang, M. One for all: Towards training one
  large language models. arXiv preprint arXiv:2106.09685,                 graph model for all classification tasks. arXiv preprint
  2021.                                                                   arXiv:2310.00149, 2023a.

Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B.,                Liu, H., Li, C., Wu, Q., and Lee, Y. J. Visual instruction tun-
  Catasta, M., and Leskovec, J. Open graph benchmark:                     ing. Advances in neural information processing systems,
  Datasets for machine learning on graphs. Advances in                    36, 2024a.
  neural information processing systems, 33:22118–22133,
                                                                        Liu, H., Yan, W., Zaharia, M., and Abbeel, P. World model
  2020.
                                                                          on million-length video and language with blockwise
Hussein, A., Gaber, M. M., Elyan, E., and Jayne, C. Im-                   ringattention. CoRR, 2024b.
  itation learning: A survey of learning methods. ACM
                                                                        Liu, S., Ounis, I., and Macdonald, C. An mlp-based algo-
 Computing Surveys (CSUR), 50(2):1–35, 2017.
                                                                          rithm for efficient contrastive graph recommendations.
Isinkaye, F. O., Folajimi, Y. O., and Ojokoh, B. A. Recom-                In Proceedings of the 45th international ACM SIGIR
   mendation systems: Principles, methods and evaluation.                 conference on research and development in information
   Egyptian informatics journal, 16(3):261–273, 2015.                     retrieval, pp. 2431–2436, 2022.

                                                                   11
                                                     Graph World Model

Liu, Z., Zhang, Y., Li, P., Liu, Y., and Yang, D. Dy-                 Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S.,
  namic llm-agent network: An llm-agent collaboration                   Matena, M., Zhou, Y., Li, W., and Liu, P. J. Exploring
  framework with agent team optimization. arXiv preprint                the limits of transfer learning with a unified text-to-text
  arXiv:2310.02170, 2023b.                                              transformer. Journal of machine learning research, 21
                                                                        (140):1–67, 2020.
Madotto, A., Lin, Z., Winata, G. I., and Fung, P. Few-shot
 bot: Prompt-based learning for dialogue systems. arXiv               Robertson, S., Zaragoza, H., et al. The probabilistic rele-
 preprint arXiv:2110.08118, 2021.                                       vance framework: Bm25 and beyond. Foundations and
                                                                        Trends® in Information Retrieval, 3(4):333–389, 2009.
McAuley, J., Targett, C., Shi, Q., and Van Den Hengel, A.
 Image-based recommendations on styles and substitutes.               Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and
 In Proceedings of the 38th international ACM SIGIR                     Ommer, B. High-resolution image synthesis with latent
 conference on research and development in information                  diffusion models. In Proceedings of the IEEE/CVF con-
 retrieval, pp. 43–52, 2015.                                            ference on computer vision and pattern recognition, pp.
                                                                       10684–10695, 2022.
Min, E., Rong, Y., Xu, T., Bian, Y., Zhao, P., Huang, J.,
                                                                      Schlichtkrull, M., Kipf, T., Bloem, P., Van Den Berg, R.,
 Luo, D., Lin, K., and Ananiadou, S. Masked transformer
                                                                        Titov, I., and Welling, M. Modeling relational data
 for neighhourhood-aware click-through rate prediction.
                                                                        with graph convolutional networks. arxiv. arXiv preprint
 CoRR, abs/2201.13311, 2022.
                                                                        arXiv:1703.06103, 2017.
Munikoti, S., Agarwal, D., Das, L., Halappanavar, M., and             Schmidgall, S., Ziaei, R., Harris, C., Reis, E., Jopling, J.,
 Natarajan, B. Challenges and opportunities in deep rein-               and Moor, M. Agentclinic: a multimodal agent bench-
 forcement learning with graph neural networks: A com-                  mark to evaluate ai in simulated clinical environments.
 prehensive review of algorithms and applications. IEEE                 arXiv preprint arXiv:2405.07960, 2024.
 transactions on neural networks and learning systems,
 2023.                                                                Shridhar, M., Yuan, X., Côté, M.-A., Bisk, Y., Trischler,
                                                                        A., and Hausknecht, M. Alfworld: Aligning text and
Ni, Y., Cheng, Y., Liu, X., Fu, J., Li, Y., He, X., Zhang, Y.,          embodied environments for interactive learning. arXiv
  and Yuan, F. A content-driven micro-video recommen-                   preprint arXiv:2010.03768, 2020.
  dation dataset at scale. arXiv preprint arXiv:2309.15379,
  2023.                                                               Siebenborn, M., Belousov, B., Huang, J., and Peters, J. How
                                                                        crucial is transformer in decision transformer? arXiv
Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec,              preprint arXiv:2211.14655, 2022.
  M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-
  Nouby, A., et al. Dinov2: Learning robust visual features           Stuart, T. and Satija, R. Integrative single-cell analysis.
 without supervision. arXiv preprint arXiv:2304.07193,                  Nature reviews genetics, 20(5):257–272, 2019.
  2023.                                                               Stuart, T., Butler, A., Hoffman, P., Hafemeister, C., Papalexi,
                                                                        E., Mauck, W. M., Hao, Y., Stoeckius, M., Smibert, P.,
Peng, B., Li, C., He, P., Galley, M., and Gao, J. Instruc-
                                                                        and Satija, R. Comprehensive integration of single-cell
  tion tuning with gpt-4. arXiv preprint arXiv:2304.03277,
                                                                        data. cell, 177(7):1888–1902, 2019.
  2023.
                                                                      Veličković, P., Cucurull, G., Casanova, A., Romero, A.,
Peng, B., Zhu, Y., Liu, Y., Bo, X., Shi, H., Hong, C., Zhang,           Lio, P., and Bengio, Y. Graph attention networks. arXiv
  Y., and Tang, S. Graph retrieval-augmented generation:                preprint arXiv:1710.10903, 2017a.
  A survey. arXiv preprint arXiv:2408.08921, 2024.
                                                                      Veličković, P., Cucurull, G., Casanova, A., Romero, A.,
Prates, M., Avelar, P. H., Lemos, H., Lamb, L. C., and Vardi,           Lio, P., and Bengio, Y. Graph attention networks. arXiv
  M. Y. Learning to solve np-complete problems: A graph                 preprint arXiv:1710.10903, 2017b.
  neural network for decision tsp. In Proceedings of the
  AAAI Conference on Artificial Intelligence, volume 33,              Wan, M., Misra, R., Nakashole, N., and McAuley, J. Fine-
  pp. 4731–4738, 2019.                                                 grained spoiler detection from large-scale review corpora.
                                                                       In Korhonen, A., Traum, D., and Màrquez, L. (eds.),
Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G.,             Proceedings of the 57th Annual Meeting of the Asso-
  Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J.,         ciation for Computational Linguistics, pp. 2605–2610,
  et al. Learning transferable visual models from natural              Florence, Italy, July 2019. Association for Computa-
  language supervision. In International conference on                 tional Linguistics. doi: 10.18653/v1/P19-1248. URL
  machine learning, pp. 8748–8763. PMLR, 2021.                         https://aclanthology.org/P19-1248/.

                                                                 12
                                                    Graph World Model

Wang, Z., Wang, Z., Srinivasan, B., Ioannidis, V. N., Rang-          Wu, Z., Ramsundar, B., Feinberg, E. N., Gomes, J., Ge-
 wala, H., and ANUBHAI, R. Biobridge: Bridging                        niesse, C., Pappu, A. S., Leswing, K., and Pande, V.
 biomedical foundation models via knowledge graphs. In                Moleculenet: a benchmark for molecular machine learn-
 The Twelfth International Conference on Learning Repre-              ing. Chemical science, 9(2):513–530, 2018.
 sentations.
                                                                     Yang, L., Liu, Z., Dou, Y., Ma, J., and Yu, P. S. Con-
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Xia, F., Chi,            sisrec: Enhancing gnn for social recommendation via
 E., Le, Q. V., Zhou, D., et al. Chain-of-thought prompting            consistent neighbor aggregation. In Proceedings of the
 elicits reasoning in large language models. Advances in               44th international ACM SIGIR conference on Research
 neural information processing systems, 35:24824–24837,                and development in information retrieval, pp. 2141–2145,
 2022.                                                                 2021.
Wei, Y., Wang, X., Nie, L., He, X., Hong, R., and Chua,              Yang, Y., Zhou, T., Li, K., Tao, D., Li, L., Shen, L., He, X.,
 T.-S. Mmgcn: Multi-modal graph convolution network                    Jiang, J., and Shi, Y. Embodied multi-modal agent trained
 for personalized recommendation of micro-video. In                    by an llm from a parallel textworld. In Proceedings of the
 Proceedings of the 27th ACM international conference                  IEEE/CVF Conference on Computer Vision and Pattern
 on multimedia, pp. 1437–1445, 2019a.                                  Recognition, pp. 26275–26285, 2024.
Wei, Y., Wang, X., Nie, L., He, X., Hong, R., and Chua,
 T.-S. Mmgcn: Multi-modal graph convolution network                  Yao, S., Yu, D., Zhao, J., Shafran, I., Griffiths, T., Cao, Y.,
 for personalized recommendation of micro-video. In                    and Narasimhan, K. Tree of thoughts: Deliberate problem
 Proceedings of the 27th ACM international conference                  solving with large language models. Advances in Neural
 on multimedia, pp. 1437–1445, 2019b.                                  Information Processing Systems, 36, 2024.

Wei, Y., Wang, X., Nie, L., He, X., and Chua, T.-S. Graph-           Ying, R., He, R., Chen, K., Eksombatchai, P., Hamilton,
 refined convolutional network for multimedia recommen-                W. L., and Leskovec, J. Graph convolutional neural
 dation with implicit feedback. In Proceedings of the                  networks for web-scale recommender systems. ACM
 28th ACM international conference on multimedia, pp.                  SIGKDD International Conference on Knowledge Dis-
 3541–3549, 2020a.                                                     covery and Data Mining (KDD), 2018.

Wei, Y., Wang, X., Nie, L., He, X., and Chua, T.-S. Graph-           You, J., Liu, B., Ying, R., Pande, V., and Leskovec, J. Graph
 refined convolutional network for multimedia recommen-                convolutional policy network for goal-directed molecu-
 dation with implicit feedback. In Proceedings of the                  lar graph generation. Advances in Neural Information
 28th ACM international conference on multimedia, pp.                  Processing Systems (NeurIPS), 2018.
 3541–3549, 2020b.
                                                                     You, J., Du, T., and Leskovec, J. Roland: graph learning
Wu, F., Souza, A., Zhang, T., Fifty, C., Yu, T., and Wein-             framework for dynamic graphs. In Proceedings of the
 berger, K. Simplifying graph convolutional networks. In               28th ACM SIGKDD conference on knowledge discovery
 International conference on machine learning, pp. 6861–               and data mining, pp. 2358–2366, 2022.
 6871. PMLR, 2019.
                                                                     Zhang, L., Yang, G., and Stadie, B. C. World model as
Wu, J., Yin, S., Feng, N., He, X., Li, D., Hao, J., and Long,          a graph: Learning latent landmarks for planning. In
 M. ivideogpt: Interactive videogpts are scalable world                International conference on machine learning, pp. 12611–
 models. arXiv preprint arXiv:2405.15223, 2024a.                       12620. PMLR, 2021.
Wu, S., Sun, F., Zhang, W., Xie, X., and Cui, B. Graph
 neural networks in recommender systems: a survey. ACM               Zhang, L., Rao, A., and Agrawala, M. Adding conditional
 Computing Surveys, 55(5):1–37, 2022.                                  control to text-to-image diffusion models. In Proceedings
                                                                       of the IEEE/CVF International Conference on Computer
Wu, Y., Lian, D., Xu, Y., Wu, L., and Chen, E. Graph                   Vision, pp. 3836–3847, 2023a.
 convolutional networks with markov random field reason-
 ing for social spammer detection. In Proceedings of the             Zhang, S., Dong, L., Li, X., Zhang, S., Sun, X., Wang, S.,
 AAAI conference on artificial intelligence, volume 34, pp.            Li, J., Hu, R., Zhang, T., Wu, F., et al. Instruction tuning
 1054–1061, 2020.                                                      for large language models: A survey. arXiv preprint
                                                                       arXiv:2308.10792, 2023b.
Wu, Y., Fan, Y., Min, S. Y., Prabhumoye, S., McAleer, S.,
 Bisk, Y., Salakhutdinov, R., Li, Y., and Mitchell, T. Agen-         Zhang, T., Kishore, V., Wu, F., Weinberger, K. Q., and Artzi,
 tkit: Flow engineering with graphs, not coding. arXiv                 Y. Bertscore: Evaluating text generation with bert. arXiv
 preprint arXiv:2404.11483, 2024b.                                     preprint arXiv:1904.09675, 2019.

                                                                13
                                                   Graph World Model

Zhao, P., Zhang, H., Yu, Q., Wang, Z., Geng, Y., Fu, F.,           A. More on GWM Task
  Yang, L., Zhang, W., and Cui, B. Retrieval-augmented
  generation for ai-generated content: A survey. arXiv             This section discusses the detailed processing procedure
  preprint arXiv:2402.19473, 2024.                                 for each dataset collected in GWM. We summarize their
                                                                   general information in Table 9.
Zheng, Q., Zhang, A., and Grover, A. Online decision trans-
  former. In international conference on machine learning,         A.1. Multi-modal generation and matching
  pp. 27042–27059. PMLR, 2022.
                                                                   Dataset descriptions. In this study, we utilize two datasets
Zhou, X. Mmrec: Simplifying multimodal recommendation.             for multi-modal generation and matching: the Goodreads
  In Proceedings of the 5th ACM International Conference           dataset (Wan et al., 2019) and our curated Multi-Modal-
  on Multimedia in Asia Workshops, pp. 1–2, 2023.                  Paper dataset.

Zhou, X. and Shen, Z. A tale of two graphs: Freezing and           (1) Goodreads: The Goodreads dataset is a large-scale col-
  denoising graph structures for multimodal recommen-              lection of book-related metadata, textual descriptions, and
  dation. In Proceedings of the 31st ACM International             cover images, widely used in prior multi-modal research (Jin
  Conference on Multimedia, pp. 935–943, 2023.                     et al., 2024). The Goodreads dataset is structured as a graph,
                                                                   where each book is represented as a node, and edges signify
Zhu, D., Li, L. E., and Elhoseiny, M. Value memory graph:          similar-book semantics.
  A graph-structured world model for offline reinforcement
  learning. arXiv preprint arXiv:2206.04384, 2022.                 (2) Multi-Model-Paper: Multi-Modal-Paper dataset is a
                                                                   curated dataset of academic papers, incorporating textual
Zhuge, M., Wang, W., Kirsch, L., Faccio, F., Khizbullin,           content, figures, tables, and metadata to facilitate research
  D., and Schmidhuber, J. Language agents as optimizable           on scholarly document analysis. The raw LaTeX files of
  graphs. arXiv preprint arXiv:2402.16823, 2024.                   the papers were collected from ArXiv1 using the ArXiv
                                                                   API, in accordance with the papers’ licenses, which are
                                                                   primarily CC0 or CC-BY 4.0, permitting redistribution and
                                                                   sharing. Using carefully selected survey papers from various
                                                                   domains of Artificial Intelligence (AI), including Natural
                                                                   Language Processing (NLP), Computer Vision (CV), Bio-
                                                                   informatics, and Robotics, as seed papers, we employ a
                                                                   breadth-first search (BFS) algorithm to gather cited papers.
                                                                   Then, we traverse through the abstract syntax tree built from
                                                                   the LaTeX file to extract graph-structured multi-modal data
                                                                   for each gathered paper.
                                                                   For the multi-modal generation task, we sample figure-
                                                                   caption pairs for training and evaluation. GWM and base-
                                                                   line models are tasked with reconstructing the figures from
                                                                   the provided captions. For the multi-modal matching task,
                                                                   we sample cited-citing pairs using reference relationship,
                                                                   namely the macro command ”\ref”. The cited-citing pairs
                                                                   are usually figure-text or table-text pairs.
                                                                   A detailed statistical overview of the Goodreads and Multi-
                                                                   Modal-Paper datasets is presented in Table 10.
                                                                   Baselines details. For multi-modal generation tasks, we em-
                                                                   ploy two text-to-image baseline models, SD-1.5 and SD-1.5
                                                                   FT, along with an image-to-image baseline model, Control-
                                                                   Net.

                                                                   • SD-1.5: A pre-trained Stable Diffusion v1.5 model (Rom-
                                                                     bach et al., 2022) used for text-to-image generation with-
                                                                     out task-specific fine-tuning.
                                                                       1
                                                                         https://arxiv.org/ We thank ArXiv for providing open access
                                                                   interoperability.

                                                              14
                                                        Graph World Model


Table 9. Detailed summarization of all collected datasets in GWM. We summarize the dataset names, tasks, action level, multi-modality,
nodes, and edges in the table.
Dataset                           Task                  Action Level      Multi-modality            Nodes                    Edges
Goodreads         Multi-modal generation/matching   Node level       Text/image       Text/image nodes     Similar-book semantic
Multi-Modal-Paper Multi-modal generation/matching   Node level     Text/image/table Text/image/table nodes       References
Baby                     Recommendation             Link level     Text/table/image    User/item nodes     User-item interactions
Sports                   Recommendation             Link level     Text/table/image    User/item nodes     User-item interactions
Clothing                 Recommendation             Link level     Text/table/image    User/item nodes     User-item interactions
Cora                Traditional graph prediction  Node/edge level        Text        Research paper nodes          Citation
PubMed              Traditional graph prediction  Node/edge level        Text        Research paper nodes          Citation
HIV                 Traditional graph prediction   Graph level           Text            Atoms nodes            Atoms bonds
AgentClinic          Multi-agent collaboration     Graph level       Text/image Agent/image/text nodes Agent-agent/image/text
LongBench v2      Retrieval-augmented generation Unintended action       Text            Chunk nodes       Chunk-chunk similarity
ALFWorld             Planning and optimization     Graph level       Text/image           State nodes      State images similarity



Table 10. Data statistics for multi-modal generation and match-        Table 11. Data statistics for recommendation. It includes three
ing. In Multi-Modal-Paper, there are 58565 text-nodes, 7380            datasets of different scales, with the sizes ranging from small to
figure-nodes, and 6792 table-nodes.                                    large as follows: Baby, Sports, and Clothing.
          Dataset                  #Node      #Edges                      Dataset       #User       #Item     #Edges      Sparsity
          Goodreads                93,475     637,210                     Baby          19,445      7,050     160,792     99.883%
          Multi-Modal-Paper        72,737      51,840                     Sports        35,598     18,357     296,337     99.955%
                                                                          Clothing      39,387     23,033     278,677     99.969%

• SD-1.5 FT: Stable Diffusion v1.5 models, each fine-tuned
  separately on the training splits of the Goodreads and               A.2. Recommendation
  Multi-Modal-Paper datasets.                                          Dataset descriptions. In the recommendation task, we
• ControlNet: An extension of Stable Diffusion that incor-             conduct extensive evaluations using three Amazon datasets
  porates structural guidance, such as edge maps or depth              extensively recognized in prior research (McAuley et al.,
  maps, to enhance control over generated images (Zhang                2015), specifically: Baby, Sports, and Outdoors, as well as
  et al., 2023a).                                                      Clothing Shoes, and Jewelry. For simplicity, these datasets
                                                                       are hereafter referred to as Baby, Sports, and Clothing, re-
                                                                       spectively. Utilizing the 5-core setting, we filter inactive
We use three baselines for multi-modal matching: Con-                  users and items with less than five interactions. Each dataset
trastive MLP, CLIP, and CLIP FT. Since the vertices of the             encompasses both visual and textual modalities and we
edge in the Multi-Modal-Paper dataset can include tables,              use the extracted visual and textual features from existing
namely the text-table pair that are not suitable for the CLIP          work (Zhou, 2023). Here the visual modality is the product
model, we exclusively use Contrastive MLP for this dataset.            image and the textual modality is the product description.
                                                                       The characteristics of these datasets are shown in Table 11.
• Contrastive MLP (Liu et al., 2022): A multi-layer per-               Baselines details. We compare GWM with three represen-
  ceptron trained to predict multi-modal matching by pro-              tative GNN baselines.
  cessing embeddings from different modalities. The text
  and table embeddings are encoded by BERT while the
                                                                       • LightGCN: Employs a simplified graph convolutional
  image embedding is encoded by CLIP. Embeddings from
                                                                         network to learn user and item interaction graph (He et al.,
  different modalities are padding to the same dimension.
                                                                         2020b).
• CLIP: A pre-trained vision-language model designed for               • MMGCN: Learns user preferences across multiple
  image-text alignment, using contrastive learning to map                modalities via message-passing on modality-specific user-
  corresponding image and text embeddings into a shared                  item graphs, improving recommendations in multimedia
  space (Radford et al., 2021).                                          contexts (Wei et al., 2019a).
• CLIP FT: A fine-tuned version of CLIP, adapted to the                • GRCN: Refines interaction graphs using multimedia con-
  specific dataset to enhance multi-modal matching perfor-               tent to identify and remove noisy edges, thereby sharpen-
  mance.                                                                 ing the recommendation process (Wei et al., 2020a).

                                                                  15
                                                     Graph World Model

A.3. Traditional graph prediction                                     and test sets using a 4:1:1 split ratio. To simulate real-world
                                                                      clinical procedures, we employ the simulated clinical en-
Dataset descriptions. In the traditional graph prediction
                                                                      vironments from AgentClinic to gather dialogues between
task, we evaluate GWM on Cora, PubMed, and HIV datasets.
                                                                      the patient and doctor, along with physical examination
(1) Cora (Chen et al., 2024b): Cora is a citation network
                                                                      results. This environment is modeled as a graph, where
in the computer science domain, where nodes represent re-
                                                                      nodes represent various profile-based agents and edges cap-
search papers and edges denote citation relationships. Each
                                                                      ture the interactions between agents and their engagement
node includes the paper’s title and abstract as text features,
                                                                      with knowledge resources. We utilize Meta-Llama-3-70B-
with labels indicating paper categories. Tasks on Cora in-
                                                                      Instruct2 as backbone model for simulation. In the final
clude category prediction (node level) and citation link iden-
                                                                      diagnosis procedure, we apply both GWM and LLM base-
tification (link level). (2) PubMed (Chen et al., 2024b):
                                                                      lines for comparison, where the graph information is con-
PubMed is a biomedical citation network, similar to Cora,
                                                                      verted into textual format before being processed by LLM
with nodes representing papers and edges indicating cita-
                                                                      baselines.
tion relationships. (3) HIV (Liu et al., 2023a): HIV is a
molecular dataset constructed from MOLHIV dataset (Wu                 Baselines details. We compare GWM with three classic
et al., 2018) that contains over 40,000 compounds annotated           LLM baselines adopting different reasoning strategies. We
for their ability to inhibit HIV replication. Molecular struc-        use Meta-Llama-3-8B-Instruct3 as the backbone model to
tures and graph representations are generated from SMILES             align with GWM.
strings, with atoms (nodes) and bonds (edges) described
using natural language.                                               • CoT: Adopts Chain-of-Thought (Wei et al., 2022) prompt-
                                                                        ing, which enhances reasoning by decomposing complex
Baselines details. The settings for the baselines primar-
                                                                        problems into intermediate steps, improving performance
ily follow LLAGA (Chen et al., 2024a) and OFA (Liu
                                                                        on multi-step reasoning tasks.
et al., 2023a). We convert all nodes and labels in the Cora,
PubMed, and HIV datasets into text. For all methods, we               • ToT: Adopts Tree-of-Thought (Yao et al., 2024) prompt-
use BERT to obtain text embedding. We divide all datasets               ing, which explores multiple reasoning paths in a tree-like
into training, validation, and test sets in an 8:1:1 ratio.             structure, enabling iterative evaluation and refinement for
                                                                        more robust decision-making.
• GCN (Kipf & Welling, 2017): Applies spectral-based                  • Few-shots: Adopts Few-shot (Brown et al., 2020) prompt-
  convolution operations to capture local graph structures              ing, where the model is provided with a limited number
  and propagate information across nodes, serving as a                  of in-context examples to guide task-specific reasoning
  fundamental baseline for graph-based learning.                        without requiring fine-tuning.
• GAT (Veličković et al., 2017a): Enhances node represen-           A.5. Retrieval-augmented generation
  tation learning by incorporating attention mechanisms,
  allowing adaptive weighting of neighboring nodes to im-             The purpose of Retrieval-Augmented Generation (RAG) is
  prove feature aggregation.                                          to enhance the generation capabilities of Large Language
                                                                      Models (LLMs) by retrieving information from external
• LLAGA (Chen et al., 2024a): Integrates LLM with graph
                                                                      knowledge (Lewis et al., 2020; Gao et al., 2023; Zhao et al.,
  structures to enhance reasoning and information retrieval
                                                                      2024). We introduce its dataset and baselines as follows:
  in multi-modal and structured data scenarios.
• OFA (Liu et al., 2023a): Unifies vision, language,                  Dataset descriptions. We employ LongBench v2 (Bai
  and multi-modal learning tasks within a single frame-               et al., 2024), a benchmark specifically designed to test
  work, leveraging pre-trained knowledge to facilitate cross-         long-context understanding and reasoning. This benchmark
  modal understanding and adaptation.                                 comprises 503 challenging multiple-choice questions, with
                                                                      contextual lengths ranging from 8,000 to 2 million words,
                                                                      spanning six major task categories: Single-Doc QA, Multi-
A.4. Multi-agent collaboration                                        Doc QA, Long In-context Learning, Long-dialogue History
Dataset descriptions. In the multi-agent collaboration task,          Understanding, Code Repository Understanding, and Long
we evaluate GWM on AgentClinic (Schmidgall et al., 2024)              Structured Data Understanding. The questions are stratified
benchmark, specifically AgentClinic-NEJM collected from               into easy and hard levels based on the difficulty encountered
the New England Journal of Medicine (NEJM) case chal-                 by human experts and models during their resolution. In
lenges. Each case in AgentClinic-NEJM is multimodal,                      2
                                                                            https://huggingface.co/meta-llama/Meta-Llama-3-70B-
comprising a case description, patient profile, clinical pho-         Instruct
tograph, measurement results, and five candidate diagnoses.               3
                                                                            https://huggingface.co/meta-llama/Meta-Llama-3-8B-
We partition AgentClinic-NEJM into training, validation,              Instruct

                                                                 16
                                                         Graph World Model

alignment with methodologies from previous studies such                   Dataset descriptions. We employ the expert strategy
as GraphRAG (Edge et al., 2024), we segment long contexts                 dataset from the text-based embodied task framework, ALF-
into chunks that serve as graph nodes, with edges defined                 World (Shridhar et al., 2020; Yang et al., 2024). This dataset
by the similarity of their BERT embeddings. Building on                   provides detailed descriptions of the expert’s strategic state
this, we select the Top-k (k=5 in our setting) chunks with                at each decision point, incorporating both images and text,
the highest similarity to the question’s embedding to feed                along with the corresponding decisions made in text format.
into the GWM. For this task, we divided the dataset into                  In our approach, we represent each decision state as nodes
training, validation, and test sets in an 8:1:1 ratio.                    within a graph and establish edges between these nodes
                                                                          based on the similarity of the state images linked to each
Baselines details. We conduct comparisons with two
                                                                          decision. Our total sample size is 10,000, and it is divided
RAG-based baselines—BM25 (Robertson et al., 2009) and
                                                                          into training, validation, and test sets in an 8:1:1 ratio.
Dragon (Lin et al., 2023)—and three long-context LLMs
(128k), including Mistral Large 24 , Command R+5 , and                    Baselines details. For all baselines, we first use LLaVA-1.5-
GPT-4o mini6 . Their details are as follows:                              7B to convert the image of each state into a text description.

• BM25: A widely-used ranking function in information                     • Normal: It directly inputs the text description of the
  sparse retrieval. It inputs the retrieved context along with              current state into Llama-3-8B to get the response.
  the question into the Llama-3-8B model to generate a                    • COT: It adopts Chain-of-Thought (Wei et al., 2022)
  response.                                                                 prompting into baseline Normal to enhance reasoning
• Dragon: It employs contrastive learning and other train-                  ability when predicting.
  ing tricks to finetune its ability to retrieve memory chunks.           • T5 FT (Raffel et al., 2020): It is a versatile language
  Using the Llama-3-8B model, it processes the retrieved                    model designed by Google Research, which treats every
  context and the question to produce a response.                           language problem as a text-to-text task, enhancing its
                                                                            adaptability across a broad range of NLP applications.
• Mistral Large 2: Mistral Large 2 from Mistral AI boasts
                                                                            Here we finetune it on the dataset of this task.
  123 billion parameters, with a context limit of 128 k to-
  kens. This model is one of the largest currently available,
  offering exceptional depth in language understanding and                B. Hyper-parameters
  generation capabilities, suited for tackling the most de-
  manding NLP tasks across various domains.                               For the GWM-E, we employ an n-hop MLP, where for the
                                                                          LLM decoder each MLP has dimensions of 2048*4096, and
• Command R+: Command R+ by Cohere is a massive lan-                      for the SD decoder, each MLP has dimensions of 2048*768.
  guage model with 104 billion parameters, also supporting                We fix the parameters of LLM and only fine-tune the pa-
  a context size of up to 128 k tokens. It is optimized for un-           rameters of MLP. For GWM-T, we select a maximum of 2k
  derstanding and executing complex commands, making                      token-limited hops for each task to ensure a balance between
  it particularly effective in interactive applications where             efficiency and performance. We apply Lora (Lora rank = 8)
  precise and nuanced language comprehension is critical.                 (Hu et al., 2021) for efficient training. We have summarized
                                                                          the hyperparameters for training different models in Table
• GPT-4o mini: GPT-4o mini, developed by OpenAI, is a
                                                                          12.
  variant of the GPT-4 series. Unlike its larger counterparts,
  specific details about the model’s size in terms of param-
  eters are not provided, but it is designed to handle a max-             Table 12. Hyper-parameter configuration for model training.
  imum context size of 128k tokens. This model is geared                        Parameter          GWM-T LLM      GWM-T SD       GWM-E LLM      GWM-E SD

  towards applications requiring high-quality text genera-                       Optimizer           AdamW          AdamW          AdamW          AdamW
                                                                                  Adam ϵ               1e-8           1e-8           1e-8           1e-8
  tion with potentially limited computational resources.                      Adam (β1 , β2 )      (0.9, 0.999)   (0.9, 0.999)   (0.9, 0.999)   (0.9, 0.999)
                                                                               Weight decay            1e-2           1e-2           1e-2           1e-2
                                                                            Batch size per GPU           4              1             10             16
                                                                           Gradient Accumulation         8              4              1              4
A.6. Planning and optimization                                                    Epochs                 4              5              1             30
                                                                                 Resolution              -            512              -            256
This task is designed to measure how effectively different                     Learning rate           3e-4           1e-5           3e-4           1e-5
                                                                               Backbone SD         Llama-3-8B       SD-v1-5      Llama-3-8B       SD-v1-5
methods can imitate the trajectory of expert strategies, which
is very helpful for planning and optimization tasks.
   4
      https://huggingface.co/mistralai/Mistral-Large-Instruct-2407        C. Prompt Usage of GWM
   5
      https://huggingface.co/CohereForAI/c4ai-command-r-plus
    6
      https://openai.com/index/gpt-4o-mini-advancing-cost-                We summarize all the prompts we used in GWM in this
efficient-intelligence/                                                   section. We first introduce the action prompts in GWM.

                                                                     17
                                                    Graph World Model

Specifically, we have summarized the action prompts for              For GWM-E, it takes approximately 7 hours (∼ 14 of GWM-
multi-modal generation and matching in Tables 13 and 14.             T) of training time on four NVIDIA A6000 GPUs described
The action prompts for recommendations are summarized                in implementation details of section 5, and the inference
in Table 15. Additionally, the action prompts for traditional        time per case averages 0.213s (similar to GWM-T). More-
graph prediction are outlined in Tables 16, 17, 18, and 19.          over, GWM-E significantly reduces memory usage with a
                                                                                                        1
Moreover, we have also summarized the action prompts for             shorter token length of 140.23 (∼ 14 of GWM-T).
multi-agent collaboration, retrieval-augmented generation,
and planning and optimization in Tables 20, 21, and 22.
Then, we introduce prompts used in GWM-T. We summa-
rize the prompt Pu of multi-modality as tokens in GWM-T
in Table 23. Moreover, we introduce the prompt fv (·) of
aggregating central node and neighbor nodes in GWM-T in
Table 24.

D. Qualitative Comparisons for All Tasks of
   GWM
These tables present comprehensive qualitative comparisons
across all task categories evaluated in our GWM frame-
work study. Each table demonstrates the superior perfor-
mance of our Graph World Model (GWM) variants com-
pared to state-of-the-art baselines through concrete exam-
ples. Table 25 showcases multi-modal generation capabili-
ties where GWM-T successfully predicts missing modalities
from given inputs. Table 26 illustrates multi-modal match-
ing tasks where GWM-E accurately determines correspon-
dence between different modalities. Table 27 demonstrates
recommendation performance where GWM-E correctly pre-
dicts user-item connections. Table 28 highlights traditional
graph prediction tasks where GWM-E excels in node clas-
sification. Table 29 presents multi-agent collaboration sce-
narios where GWM-T integrates multiple agent contexts
for medical diagnosis. Table 30 shows retrieval-augmented
generation capabilities where GWM-E effectively combines
retrieved documents with user queries. Finally, Table 31
demonstrates planning and optimization tasks where GWM-
E predicts optimal decision-making behaviors in embodied
environments. These qualitative results consistently vali-
date the effectiveness of our approach across diverse task
domains.

E. Training and Inference Efficiency
Accurately comparing the training and inference efficiency
of GWM with other FMs is highly challenging because
many FMs are not designed to address multimodal prob-
lems and utilize various architectures. We can only compare
the efficiency between GWM and LLM-based FMs from
principles. For GWM-T, its efficiency shows no fundamen-
tal difference from other LLM-based FMs, as both are based
on the standard instruction tuning. For GWM-E, its training
process only requires fine-tuning the projector as stated in
section 4.3, and its embedding-based method also saves a
significant amount of token cost, making it more efficient.

                                                                18
                                     Graph World Model


                     Table 13. Action prompt of multi-modal generation.
This is a multi-modal generation task. Please predict the missing modality based on the given
modality: {modality}.




                      Table 14. Action prompt of multi-modal matching.
This task involves matching multi-modal information. Given two modalities: {modality 1}
and {modality 2}, please determine whether they correspond with each other.




                         Table 15. Action prompt of recommendation.
This is a recommendation task. Given the user node and item node: {user node} and {item
node}, please tell me whether these two nodes should connect to each other.




                    Table 16. Action prompt of node classification of Cora.
Given a node-centered graph: {node}, each node represents a paper, we need to classify the
center node into 7 classes: Case Based, Genetic Algorithms, Neural Networks, Probabilistic
Methods, Reinforcement Learning, Rule Learning, Theory, please tell me which class the
center node belongs to?




                  Table 17. Action prompt of node classification of PubMed.
Given a node-centered graph: {node}, each node represents a paper about Diabetes, we need
to classify the center node into 3 classes: Diabetes Mellitus Experimental, Diabetes Mellitus
Type 1, and Diabetes Mellitus Type 2, please tell me which class the center node belongs to?




               Table 18. Action prompt of link prediction of Cora and PubMed.
Given two nodes information: {node 1} and {node 2}, please tell me whether two center
nodes in the subgraphs should connect to each other.




                    Table 19. Action prompt of graph classification of HIV.
Human immunodeficiency viruses (HIV) are a type of retrovirus, which induces acquired
immune deficiency syndrome (AIDs). Please determine whether this molecule {molecule} is
effective for this assay.




                                              19
                                     Graph World Model




                     Table 20. Action prompt of multi-agent collaboration.
This is a Multi-Agent Collaborative Generation task for creating dynamic conversational
interactions. Given a user query: {user query} and context of three distinct agents: {Patient
Agent Context}, {Measurement Agent Context}, and {Moderato Agent Context}, Please
generate a well-rounded response to the user’s question.




                  Table 21. Action prompt of retrieval-augmented generation.
This is a Retrieval-Augmented Generation task for improving response quality in dialogue
systems. Given a user query: {user query} and a set of retrieved documents: {retrieved
documents}, the goal is to generate a coherent and contextually relevant response. Please
generate a response that integrates information from the retrieved documents to accurately
address the user’s query.




                    Table 22. Action prompt of planning and optimization.
This is an embodied household task, please predict the next decision-making behavior based
on multimodal historical information: {historical information}.




                 Table 23. Prompt Pu of multi-modality as token in GWM-T.
The image’s text description is: {image’s text description}, original text is: {original text},
table description is: {table description}.




      Table 24. Prompt fv (·) of aggregating central node and neighbor nodes in GWM-T.
The text description of the central node is: {center node}, and the text descriptions of the
neighboring nodes are: {neighbor nodes}.




                                              20
                                                     Graph World Model




Table 25. Task description and output comparison of multi-modal generation. This task is to predict the missing modality based
on the given modality. Here we utilize one case of Goodreads dataset as examples. We show the output results of GWM-T, the best
performing GWM, and ControlNet , the strongest baseline.
                                                      Task Description
                        Task Name                              Multi-modal generation
                     Given modality            Action prompt                     Ground truth


                                            This is a multi-modal
                                              generation task.
                                             Please predict the
                        Title: The
                                              missing modality
                      Shark-Infested
                                             based on the given
                         Custard
                                                  modality:
                                                 {modality}.



                          Method                                    Output Results




                        ControlNet




                         GWM-T




                                                              21
                                                       Graph World Model


Table 26. Task description and output comparison of multi-modal matching. This task is to predict whether two modalities correspond
with each other. Here we utilize one case of Multi-Modal-Paper dataset as examples. We show the output results of GWM-E, the best
performing GWM, and Contrastive MLP, the strongest baseline. Note that modality can be an image, a table, or a text.
                                                       Task Description
                            Task Name                                                  Multi-modal matching
           Modality 1: figure                 Modality 2: text                   Action prompt                  Ground truth

                                                Illustration of
                                             different formats of        This task involves matching
                                            STL expressions. (a)        multi-modal information. Given
                                             Different expression      two modalities: {modality 1} and
                                                                                                                        yes
                                             formats of the same        {modality 2}, please determine
                                             STL. (b) The binary       whether they correspond with each
                                            tree representation of                   other.
                                                     STL.

                              Method                                                      Output Results
                          Contrastive MLP                                                         no
                              GWM-E                                                              yes


Table 27. Task description and output comparison of recommendation. This task is to predict whether the user node and the item node
are connected. Here we utilize one case of Baby dataset as examples. We show the output results of GWM-E, the best performing GWM,
and LightGCN, the strongest baseline.
                                                       Task Description
                                Task Name                                                Recommendation
                User node                         Item node                      Action prompt              Ground truth
      User online product reviews
        series: I struggled to find
       full slips, especially larger
       ones. The first one was too
        small; the second fit well
         and was affordable. The                                           This is a recommendation
          beads looked stunning,                                           task. Given the user node
        perfect for beadwork. The                                         and item node: {user node}
                                                                                                                   no
       earrings broke immediately                                         and {item node}, please tell
        due to poor quality. I love                                       me whether these two nodes
        the 3 flower sister Hawaii                                        should connect to each other.
       glass beads on my Pandora
      bracelet. They’re pretty and
      large, and my eight-year-old
      finds them comfy enough to
                 sleep in ...
                                  Method                                                  Output Results
                                 LightGCN                                                        yes
                                  GWM-E                                                           no


                                                                22
                                                       Graph World Model




Table 28. Task description and output comparison of traditional graph prediction. This task aims to perform predictions at three
different levels: node, link, and graph. Here we utilize one case of Cora’s node prediction. We show the output results of GWM-E, the
best performing GWM, and LLAGA, the strongest baseline.
                                                      Task Description
                         Task Name                                         Traditional graph prediction
                            Node                                     Action prompt                   Ground truth
      Learning under persistent drift: In this paper we
     study learning algorithms for environments which         Given a node-centered graph:
       are changing over time. Unlike most previous          {node}, each node represents a
        work, we are interested in the case where the      paper, we need to classify the center
       changes might be rapid but their ”direction” is      node into 7 classes: Case Based,
     relatively constant. We model this type of change        Genetic Algorithms, Neural
                                                                                                        Theory
          by assuming that the target distribution is       Networks, Probabilistic Methods,
     changing continuously at a constant rate from one       Reinforcement Learning, Rule
      extreme distribution to another. We show in this      Learning, Theory, please tell me
       case how to use a simple weighting scheme to        which class the center node belongs
     estimate the error of an hypothesis, and using this                   to?
      estimate, to minimize the error of the prediction.
                           Method                                                Output Results
                           LLAGA                                                 Neural Networks
                          GWM-E                                                        Theory




                                                                 23
                                                     Graph World Model




Table 29. Multi-agent collaboration task and output comparison. Disease-related query answering through agent interaction and
external knowledge. Results show GWM-T vs COT baseline. Note: Medical images may cause discomfort but are from real datasets.
                                                          Task Description
                        Task                                             Multi-agent collaboration
                   User Query                         Patient Agent                                Moderator Agent
       53-year-old man, 3-year history:
             itchy rash, Raynaud’s,
          dysphagia, burning hands.
       Exam: firm papules on forehead
         with glabellar grooves, waxy
                                         Role: 53-year-old patient with 3-year
             papules on hands with
                                          symptoms including itchy rash, firm
         thickening and contractures.
                                        forehead papules causing brow grooves,
        Similar changes on nose, lips,                                                  Moderator organizing case information:
                                        waxy hand papules with thickening and
               ears, trunk, feet. No                                                     Test results: Normal thyroid function,
                                             finger contractures. Experience
            telangiectasia/calcinosis.                                                  IgG-monoclonal gammopathy detected,
                                          Raynaud’s phenomenon, dysphagia,
             Sensory neuropathy in                                                            normal bone marrow biopsy.
                                            burning hands, and numbness in
           hands/arms/face. Normal                                                     Key findings: Extracellular yellow-brown
                                           hands/arms/face. Aware of normal
           thyroid. IgG-monoclonal                                                        deposits in dermis on skin biopsy.
                                            thyroid tests and abnormal blood
          gammopathy, normal bone
                                            protein but unaware of diagnosis
                      marrow.
                                                       implications.
        Choices: (A) AL amyloidosis
          (B) Multiple myeloma (C)
                 Scleredema (D)
       Scleromyxedema (E) Systemic
                      sclerosis
              Measurement Agent                       Action Prompt                                  Ground Truth
                                         Multi-Agent Collaborative Generation
                                             task for dynamic conversational
                                         interactions. Generate response using                             D
                                         Patient, Measurement, and Moderator
                                        agent contexts for the given user query.
                      Method                                                  Output Results
                                              Analysis of patient symptoms and test results suggests monoclonal gammopathy
                        COT
                                                   with characteristic skin findings. DIAGNOSIS: Multiple myeloma (B)
                      GWM-T                                                            D




                                                              24
                                                        Graph World Model




Table 30. Task description and output comparison of retrieval-augmented generation. This task is to generate a response that
integrates information from the retrieved documents to accurately address the user’s query. Here we utilize one case of LongBench v2
dataset as examples. We show the output results of GWM-E, the best performing GWM, and GPT-4o mini, the strongest baseline.
                                                         Task Description
                                  Task Name                                           Retrieval-augmented generation
              User query                             Document                        Action prompt               Ground truth
     What is the correct answer to
     this question: You are given a        There are very few households                  This is a
      grammar book of Kalamang                      with two fluent                Retrieval-Augmented
      language, now translate the         Kalamang-speaking parents and              Generation task for
     following Kalamang sentence             children born after 1990, but      improving response quality
     into English: Faisal emun me            even in those households the      in dialogue systems. Given a
      mindi don bolonet me ma he               children are not raised in        user query: {user query}
    kademor. Choices: (A) Faisal’s         Kalamang. As indicated above,            and a set of retrieved
   mother is still angry at him for a     non-fluent speakers have a good          documents: {retrieved
   little thing like that. (B) Faisal’s    passive command of Kalamang           documents}, the goal is to             D
   mother turns furious at him for a      ... Fluent Kalamang speakers do         generate a coherent and
    big thing like that. (C) Faisal’s      not necessarily shift to Papuan          contextually relevant
   mother gets frustrated at him for          Malay when they join the          response. Please generate a
   a big thing like this. (D) Faisal’s      conversation, but they are not        response that integrates
    mother gets angry at him for a         expected to actively contribute,         information from the
            little thing like that.           although they can express           retrieved documents to
        Format your response as             themselves in a simple way in      accurately address the user’s
   follows: ”The correct answer is                   Kalamang ...                          query.
          (insert answer here)”.
                                    Method                                                     Output Results
                                 GPT-4o mini                                                           A
                                   GWM-E                                                               D




Table 31. Planning and optimization task and output comparison. Agent decision-making prediction using ALFWorld dataset. Results
show GWM-E vs T5 FT baseline.
                                                       Task Description
                                    Task                                  Planning and optimization
                        Image                    Text                 Action Prompt              Ground Truth


                                                                     Embodied household task:
                                             Task: put a potato    predict next decision-making          go to
                                               in countertop       behavior based on multimodal      garbagecan 1
                                                                            information.


                                    Method                                        Output Results
                                     T5 FT                                        go to microwave 1
                                    GWM-E                                         go to garbagecan 1




                                                                  25
