Large Language Models (LLMs) have recently been introduced into graph-based recommendation to enhance the semantic understanding of traditional graph-based recommendation methods, typically by converting graphs into textual sequences. However, such methods still face two major challenges: (1) long input sequences exacerbate the Lost-in-the-Middle'' problem, causing the model to underutilize information in the middle of long contexts, (2) the multi-hop and multi-relational topological dependencies in graphs are linearized into sequential text, leading to semantic flattening and weakening structural modeling capacity. To address these limitations, we propose GTRec, a framework for multimodal LLM (MLLM)-based recommendation. To alleviate semantic flattening, we transform the MITG into a visual modality, which preserves global topology and complex graph dependencies beyond linearized textual sequences. To mitigate the Lost-in-the-Middle'' problem caused by long textual inputs, we introduce Cluster-based Graph Compression (CGC), which clusters semantically similar nodes into compact descriptions while preserving the core semantics of user interests. Finally, we design a multimodal prompt template that integrates visualized MITG and compressed text into MLLMs, enabling joint reasoning across modalities. Experiments on three datasets show that our method achieves state-of-the-art performance, validating its effectiveness in recommendation accuracy.
翻译:暂无翻译