Skip to main content
. 2025 Aug 11;16:1596408. doi: 10.3389/fneur.2025.1596408

Figure 3.

A diagram illustrating an attention-guided message passing model for textual and visual data. The process involves local and global similarities, represented by color-coded matrices and graphs. Input includes both a photo of a doctor with a child and various text snippets about trains and bridges. Outputs are calculated similarities, with focus on local and global representation pooling.

Attention-guided message passing for dynamic medical graphs. This figure illustrates the framework of DMGF, which employs an attention-guided message passing mechanism to enhance interpretability in medical interactions. The model utilizes local and global similarity computations to refine textual and visual representations, pooling these features through an adaptive focal loss function. A temporal graph convolutional module with attention-based weight assignments dynamically refines node interactions over time, incorporating gated recurrent units (GRUs) for modeling temporal dependencies. The process culminates in a readout function, aggregating node embeddings with learned importance weights to generate final predictions. Regularization techniques enforce temporal smoothness, ensuring stability and clinical relevance in predictions.