Enhancing Spatial Reasoning in Large Language Models for Metal-Organic Frameworks Structure Prediction

Mianzhi Pan, JianFei Li, Peishuo Liu, Botian Wang, Yawen Ouyang +3 more
1/14/2026
cs.LGcond-mat.mtrl-sci

No official code found. Best implementation: panmianzhi/MOF-LLM (10 stars, last commit 2026-01-28).

Abstract

Metal-organic frameworks (MOFs) are porous crystalline materials with broad applications such as carbon capture and drug delivery, yet accurately predicting their 3D structures remains a significant challenge. While Large Language Models (LLMs) have shown promise in generating crystals, their application to MOFs is hindered by MOFs' high atomic complexity. Inspired by the success of block-wise paradigms in deep generative models, we pioneer the use of LLMs in this domain by introducing MOF-LLM, the first LLM framework specifically adapted for block-level MOF structure prediction. To effectively harness LLMs for this modular assembly task, our training paradigm integrates spatial-aware continual pre-training (CPT), structural supervised fine-tuning (SFT), and matching-driven reinforcement learning (RL). By incorporating explicit spatial priors and optimizing structural stability via Soft Adaptive Policy Optimization (SAPO), our approach substantially enhances the spatial reasoning capability of a Qwen-3 8B model for accurate MOF structure prediction. Comprehensive experiments demonstrate that MOF-LLM outperforms state-of-the-art denoising-based and LLM-based methods while exhibiting superior sampling efficiency.

View on arXivView PDF

Code Implementations(1)

panmianzhi/MOF-LLMCommunity63%

Enhancing Spatial Reasoning in Large Language Models for Metal-Organic Frameworks Structure Prediction

100Shell, PythonJan 14, 20268 months ago

Similar Papers

Cite this paper

@article{pan2026enhancing,
  title  = {Enhancing Spatial Reasoning in Large Language Models for Metal-Organic Frameworks Structure Prediction},
  author = {Mianzhi Pan and JianFei Li and Peishuo Liu and Botian Wang and Yawen Ouyang and Yiming Rong and Hao Zhou and Jianbing Zhang},
  year   = {2026},
  eprint = {2601.09285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.09285v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.09285.svg)](https://codeofpaper.com/paper/2601.09285)

Discussion