Manuscript Offprint
arXiv:2610.34549MOFjson: An Explicit Topological Representation of Metal-Organic Frameworks for Language Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Language models for metal-organic frameworks (MOFs) rely on formats that separate atomic geometry from structural topology, forcing models to choose between unstructured coordinate lists and non-spatial string identifiers[1]. We present MOFjson, the first representation separating structural data into a raw atomic layer with explicit bond shift vectors and a derived layer exposing secondary building units (metal nodes and organic linkers) and network topology. Additionally, we introduce a benchmark with crystal-derived ground truth across four question categories. Across four models, MOFjson beats all three baselines in every category: 100% vs. 18–47% on reaching a block's nearest periodic copy, 96% vs. 71% on crystal system characterisation, and 60% vs. 48% on metal node and organic linker coordination. Ablating shift labels drops accuracy to 12.7%, proving models read the periodic graph rather than the surface format. MOFjson gives language models structure to read rather than reconstruct, establishing a foundation for agentic tool workflows and constrained MOF generation.
1 Introduction
Metal-organic frameworks (MOFs) are porous crystalline materials assembled from metal nodes and organic linkers into periodic networks, with applications in gas storage, carbon capture, and catalysis[1, 2]. The same building blocks can be arranged into different nets with different pore geometries, so a MOF's function follows from its connectivity as much as from its composition [2]. A representation intended to support property prediction or design must convey both.
Large language models are increasingly applied to these tasks, and their accuracy depends on how the structure is serialised[3, 4]. For small molecules, replacing SMILES or IUPAC strings with an explicit JSON graph schema substantially improves an LLM's ability to translate, reason and generate structures[3]. Extending this to MOFs is not a direct transfer. A molecule is a finite graph, whereas a crystal is infinite, and its standard finite encoding, the labelled quotient graph, is one-to-one only once every edge carries an integer vector recording which periodic image it closes onto [5]. Whether a MOF representation states those labels or leaves them implicit determines what a model can recover from it. Existing MOF representations leave them implicit, and the data-driven MOF domain has been built on them regardless. MOFormer trains a transformer on MOFid strings[6], MOFGPT generates frameworks autoregressively from MOFid sequences[7], and continual pretraining on MOFid alongside CoRE MOF, QMOF, and hMOF improves property prediction when fine-tuning data is scarce[8–11]. Generative models rely on it further downstream, using MOFid to decide whether a sampled structure is valid, novel, and unique[12]. A descriptor designed for database search now serves as both model input and evaluation criterion.
We introduce MOFjson, a JSON schema that retains the atom and bond vocabulary of molecular graph schemas and adds two fields addressing the deficiencies above. An integer shift vector on every bond supplies the edge labels the quotient graph requires, so periodic connectivity is stated rather than inferred from coordinates. A second graph over the building blocks states metal node and organic linker assignment and net connectivity directly, so none are recomputed. Labelled quotient graphs[13]
Accepted to NeurIPS 2026 Workshop on ML4Molecules: Agentic Systems for Molecular Sciences.
are also the natural input for tasks beyond question answering, such as crystal structure prediction, where block-level representations already improve LLM reasoning over MOF assembly[4, 13–15].
2 Methodology
MOFjson extends MolJSON[3], which stores a finite molecule as typed fields, atoms as nodes and bonds as edges, so a language model reads structure directly instead of decoding a string. Two additions make this work for a crystal. Periodicity: a lattice, and on every bond a label recording which repeat of the cell that bond ends in (Section 2.1). Granularity: a coarser graph whose vertices are secondary building units[19], the metal nodes and organic linkers, so topology is read off rather than recomputed from hundreds of atoms.
The schema separates a lossless record from a computed view. The raw layer is CIF-native: lattice, atoms, and bonds carrying the periodic shift defined below, with optional charge and aromaticity fields; roles labels each atom as a metal node or organic linker. From these, the derived layer caches building_blocks, the nodes and linkers of MOFid and MOFkey[1]; net_edges, the graph between them; and topology, the matched RCSR symbol [18]. Since raw alone determines the structure, fidelity never rests on the cached layer. Conversion uses pymatgen[20] and ASE[21]; rebuilding a CIF from raw and re-parsing it reproduces the original lattice and connectivity. Table 1 compares representations, and Appendix A.1 shows the representations for the HKUST-1 MOF[22].
Table 1: Existing MOF formats trade atomic detail for topology; MOFjson preserves both.
| Feature / Property | CIF | MOFid | MOFkey | MOFjson |
|---|---|---|---|---|
| Exact atomic positions | ✓ | ✕ | ✕ | ✓ |
| Explicit bond list | ✕ | ✕ | ✕ | ✓ |
| Node/linker identity | ✕ | ✓ | ✓ | ✓ |
| Net topology symbol | ✕ | ✓ | ✓ | ✓ |
| Boundary-crossing bonds | ✕ | ✕ | ✕ | ✓ (shift) |
| Reconstructible to full 3D structure | ✓ (native) | ✕ | ✕ | ✓ (verified) |
2.1 Explicit Periodic Graphs in MOFjson
A crystal is one unit cell repeated infinitely along its three lattice vectors, so every atom has a copy in every repeat. Storing a single cell, as a CIF does[23, 24], drops which repeat a bond ends in, making a bond that closes onto a neighbouring copy indistinguishable from one that stays inside[5]. Numbering the repeats by integer coordinates resolves this: each bond carries a shift naming the repeat its second endpoint lies in, inside the cell and one repeat along . Labelling edges this way is standard in net construction[25] and dimensionality analysis[26]; what MOFjson does differently is store the labels rather than recompute them per query.

Figure 1: From crystal, to labelled quotient graph, to MOFjson, shown on the dia net. Net topology abstracts periodic structures into mathematical graphs of nodes and edges to define 3D connectivity[27]. Here the building blocks are vertices A and B. Left: a crystal fragment, with A bonded to four copies of B in different cells. Middle: the same fragment as a labelled quotient graph, one vertex per building block and one arc per bond with its integer shift vector. Right: MOFjson stores that graph directly, with building_blocks as vertices and net_edges as arcs (attachment points omitted). The dia net [28] denotes the 4-connected tetrahedral diamond topology.
The labels make periodic connectivity computable. Summing shift vectors around a closed walk of bonds , negating any bond traversed against its stored direction, yields the net translation vector or cycle sum [25, 26]:
A walk with forms an intra-cell ring, whereas traces a periodic path displaced by ; without shifts, representations cannot distinguish the two. MOFjson stores two labelled graphs: the raw atomic layer and the building-block graph , constructed via the map from connected components in roles (Figure 1). Internal bonds are absorbed, while inter-block bonds become arcs with shifts re-anchored to block frames:
where is the cell shift offset of the fragment containing atom . These offsets telescope around any closed walk , ensuring cycle sums over blocks equal cycle sums over atoms so the two layers cannot disagree.
2.2 Benchmark QnA
Four recent systems evaluate MOF question answering. KGQA4MAT scores whether a question is translated into the correct query over a knowledge graph[29]; derives its question-answer pairs from publication abstracts[30]; MOFReasoner distils reasoning traces from the literature[31]; and MOF-ChemUnity's assistant answers from a graph linking publications to deposited structures, judged by expert preference rather than against a fixed answer key[32]. In each, the answer is recoverable from curated text or metadata, so a model that saw the framework during pretraining can score well without reading the structure it was given. None isolates the representation, and where building-block or topology labels appear, they were generated with MOFid [29, 30], so MOFid cannot then be evaluated against them. Our benchmark differs on both counts: the ground truth is computed from the crystal rather than retrieved, and the structure is the input rather than a lookup key, so accuracy measures reading rather than recall (Table 2).
An answer is required on every prompt. A representation lacking the information would otherwise be rewarded for abstaining, and the failure would go unrecorded. Each category targets a descriptor used to specify a MOF. Symmetry: the crystal system implied by the space group, computed with pymatgen[20], which constrains the pore geometries a framework can adopt[33]. Chemical identity: which atoms make up a given building block, since a MOF is specified by its node and linker[2]. Connectivity: in , the linkers bonded to a block and the parameter that reticular design uses to pick a target net[18]. Net path: the fewest bonds forming a closed walk with , reaching a different periodic image of the same block.
Table 2: One example prompt per QnA category in the benchmark. {representation} marks where the structure data (CIF, MOFjson, MOFid, or MOFkey) is inserted.
| Category | Example prompt |
|---|---|
| Symmetry | “In this metal-organic framework {representation}, what crystal system does the structure belong to?” |
| Chemical identity | “In this MOF {representation}, what metal(s) make up the SBU?” (or) “... what is the SMILES representation of the organic linker?” |
| Connectivity | “What is the connectivity of the Co-containing SBU – how many organic linkers coordinate directly to it in this MOF {representation}?” |
| Net path | “In this MOF {representation}, how few connections are needed to reach the nearest periodic image of this same Al-containing building unit?” |
3 Experiments
Each of the 2,737 computation-ready CIFs in the CoRE MOF database[34] is converted to MOFjson and back to CIF, with the reconstruction compared against the source with pymatgen's StructureMatcher[20]. Only the raw layer enters this test, since the derived fields are recomputable. Every structure is recovered, at cell sizes from under 50 to over 800 atoms (Figure 5, Appendix A.2). For the QnA benchmark, performance is reported as the mean standard deviation across 3 independent runs, each drawing 50 random structures that are rendered in four representations (CIF, MOFid, MOFkey, and our MOFjson).
We evaluate the 4 representations across four models: gpt-5.6-luna[35], claude-haiku-4.5[36], gemini-3.7-flash[37], and the open-weight apertus-v1.5-70b[38]. Grading is a fixed comparison against precomputed ground truth: integer match for Connectivity and Net path, case-insensitive string match for Symmetry, and element or SMILES match for Chemical identity. We compare MOFjson against each baseline with a paired Wilcoxon signed-rank test, reporting Cliff's [39]; -values are Holm-Bonferroni corrected across the category-baseline comparisons.
4 Results
MOFjson Leads on Structural and Topological Questions

MOFjson Attains the Highest Peak Accuracy Across Every Model
Figure 2: MOFjson yields the highest and most consistent accuracy of any representation tested. Left: accuracy by question category, each point one model's mean over three runs; MOFjson leads on Symmetry, Net path, and Connectivity, the three requiring structural reasoning, but not Chemical identity, readable from atom labels in any representation. Right: grouped by model; MOFjson gives three of four models their best score. Full per-model, per-representation accuracy is reported in Appendix A.4
MOFjson's advantage is largest where answering requires reading structure out of the representation (Figure 2, left). On Net path it reaches 95–100% for gpt-5.6-luna and gemini-3.7-flash, against 18–47% for every baseline. Symmetry follows the same pattern: MOFjson matches or exceeds CIF for three models, while MOFid and MOFkey trail both throughout, consistent with discarding lattice geometry. The advantage narrows where the answer does not depend on topology. Connectivity is mixed, with MOFjson highest overall but behind MOFkey for claude-haiku-4.5, and on Chemical identity all four representations cluster within a few points for three of four models.
Grouped by model (Figure 2, right), the ordering holds for gpt-5.6-luna and gemini-3.7-flash and breaks in two places. claude-haiku-4.5 attains its own best score with CIF on Symmetry rather than MOFjson (Table 4, Appendix A.3), and apertus-v1.5-70b sits lowest throughout, its MOFjson Net path score falling below all three baselines. Table 3 reports the best (representation, model) pair for each category: MOFjson wins every one, though its Chemical identity win comes from apertus-v1.5-70b, the only model on which that category separates at all.
Table 3: Best-performing (representation, model) pair for each question category.
| Question Category | Best Representation | Best Model | Accuracy (% ± SD) |
|---|---|---|---|
| Symmetry | MOFjson | gemini-3.7-flash | 96.0 ± 4.0 |
| Net path | MOFjson | gemini-3.7-flash | 100.0 ± 0.0 |
| Connectivity | MOFjson | gpt-5.6-luna | 60.0 ± 4.0 |
| Chemical identity | MOFjson | apertus-v1.5-70b | 65.3 ± 8.1 |
Ablation. To separate the periodic labels from the JSON formatting carrying them, we zeroed every edge's shift vector on Net path while grading against the un-ablated graph. Accuracy collapses from 100.0% to 12.7% ± 6.4% (Figure 3), below every baseline. We ablate gemini-3.7-flash alone because its 100.0% baseline gives maximum headroom to isolate the drop.
5 Discussion, Conclusion, and Future Work
Making a MOF's periodic graph explicit pays off in proportion to how directly a question depends on the structure it exposes, and only once a model can use it (Section 4). The four models share neither training data nor architecture, yet the advantage tracks category difficulty consistently across them. A paired Wilcoxon signed-rank test confirms the ordering at in every category (Holm-Bonferroni, 12 comparisons), and Cliff's concentrates where topology is required (0.25–0.45 on Symmetry and Net path, elsewhere). Pairs are clustered by structure across models, so the effective sample size is below and -values are indicative (Table 5, Appendix A.5). The ablation (Section 4) locates the advantage in the periodic shift information rather than the format that contains it, although it only isolates the Net path questions.

Figure 3: Impact of periodic shifts on Net path accuracy. Performance of gemini-3.7-flash (N = 3 runs). Zeroing edge shift vectors causes performance to drop from 100.0% to 12.7% ± 6.4%.
Limitations. Improvements depend on model capability: apertus-v1.5-70b benefits least, falling below baselines on Net path (Figure 9, Appendix A.4). Token costs vary by serialization: topological queries (Connectivity, Net path, Chemical identity) include only the derived graph, taking 6–58× fewer tokens than CIF (∼ 200–1.7k vs. ∼ 11k). Conversely, geometry queries (Symmetry) require the raw atomic layer, where MOFjson exceeds CIF (∼ 13k vs. ∼ 11k) (Figure 10, Appendix B).
MOFjson is a starting point: the ablation covers one mechanism on one model, and we report no chance-level baselines bounding structural reading versus recall. Beyond evaluation, explicit periodic graphs provide a foundation for spatial reasoning and generative design. Where language models have inherited representations built for database search, MOFjson argues for formats designed specifically for chemical reasoning.
Acknowledgments
This work was supported by the National Centre of Competence in Research (NCCR) Separations, funded by the Swiss National Science Foundation (SNSF).
6 Code and Reproducibility
All models were queried at temperature 0 with a fixed maximum output length, so run-to-run variance reflects the structure sample rather than decoding noise. No chain-of-thought or extended reasoning mode was enabled; every prompt requests a short, fixed-shape answer. Models were accessed via their providers' APIs, using the versioned identifiers listed in Section 3. Code and data are available at https://github.com/schwallergroup/MOFJSON.
References
[1] Benjamin J Bucior, Andrew S Rosen, Maciej Haranczyk, Zhenpeng Yao, Michael E Ziebel, Omar K Farha, Joseph T Hupp, J Ilja Siepmann, Alán Aspuru-Guzik, and Randall Q Snurr. Identification schemes for metal–organic frameworks to enable rapid search and cheminformatics analysis. Crystal Growth & Design, 19(11):6682–6697, 2019.
[2] Omar M Yaghi, Markus J Kalmutzki, and Christian S Diercks. Introduction to reticular chemistry. Mol Front J, 4(1), 2019.
[3] Nicholas T Runcie, Fergus Imrie, and Charlotte M Deane. Molecular representations for large language models. arXiv preprint arXiv:2605.01822, 2026.
[4] Mianzhi Pan, Jianfei Li, Peishuo Liu, Botian Wang, Yawen Ouyang, Yiming Rong, Wei-Ying Ma, Hao Zhou, and Jianbing Zhang. Enhancing spatial reasoning in large language models for metal-organic frameworks structure prediction. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 11750–11761, 2026.
[5] Hang Xiao, Rong Li, Xiaoyang Shi, Yan Chen, Liangliang Zhu, Xi Chen, and Lei Wang. An invertible, invariant crystal representation for inverse design of solid-state materials using generative deep learning. Nature Communications, 14(1):7027, 2023.
[6] Zhonglin Cao, Rishikesh Magar, Yuyang Wang, and Amir Barati Farimani. Moformer: self-supervised transformer model for metal–organic framework property prediction. Journal of the American Chemical Society, 145(5):2958–2967, 2023.
[7] Srivathsan Badrinarayanan, Rishikesh Magar, Akshay Antony, Radheesh Sharma Meda, and Amir Barati Farimani. MOFGPT: Generative design of metal–organic frameworks using language models. Journal of Chemical Information and Modeling, 65(17):9049–9060, 2025.
[8] Guobin Zhao, Logan M Brabson, Saumil Chheda, Ju Huang, Haewon Kim, Kunhuan Liu, Kenji Mochida, Thang D Pham, Gianmarco G Terrones, Sunghyun Yoon, et al. CoRE MOF DB: A curated experimental metal-organic framework database with machine-learned properties for integrated material-process screening. Matter, 8(6), 2025.
[9] Andrew S Rosen, Shaelyn M Iyer, Debmalya Ray, Zhenpeng Yao, Alan Aspuru-Guzik, Laura Gagliardi, Justin M Notestein, and Randall Q Snurr. Machine learning the quantum-chemical properties of metal–organic frameworks for accelerated materials discovery. Matter, 4(5):1578–1597, 2021.
[10] Aditya Nandy, Shuwen Yue, Changhwan Oh, Chenru Duan, Gianmarco G Terrones, Yongchul G Chung, and Heather J Kulik. A database of ultrastable MOFs reassembled from stable fragments with machine learning models. Matter, 6(5):1585–1603, 2023.
[11] Sultan Alrowili, Mathan Kumar Eswaran, and Shantanu Godbole. Accelerating material discovery for metal organic frameworks using large language models. In AI for Accelerated Materials Design, NeurIPS 2025, 2025.
[12] Vaidotas Simkus, Anders Christensen, Steven Bennett, Ian Johnson, Mark Neumann, James Gin, Jonathan Godwin, and Benjamin Rhodes. Mofasa: A step change in metal-organic framework generation. arXiv preprint arXiv:2512.01756, 2025.
[13] J-G Eon. Topological features in crystal structures: a quotient graph assisted analysis of underlying nets and their embeddings. Acta Crystallographica Section A: Foundations of Crystallography, 72(3):268–293, 2016.
[14] Qianxiang Ai, Sartaaj Takrim Khan, Senja Barthel, and Seyed Mohamad Moosavi. Capturing global features of crystals from their bond networks. In AI for Accelerated Materials Design, ICLR 2025, 2025.
[15] Aleksandr V Fedorov and Ivan V Shamanaev. Crystal structure representation for neural networks using topological approach. Molecular Informatics, 36(8):1600162, 2017.
[16] Sydney R Hall, Frank H Allen, and I David Brown. The crystallographic information file (CIF): a new standard archive file for crystallography. Acta Crystallographica Section A: Foundations of Crystallography, 47(6):655–685, 1991.
[17] Olaf Delgado-Friedrichs and Michael O'Keeffe. Identification of and symmetry computation for crystal nets. Acta Crystallographica Section A: Foundations of Crystallography, 59(4): 351–360, 2003.
[18] Michael O'Keeffe, Maxim A Peskov, Stuart J Ramsden, and Omar M Yaghi. The reticular chemistry structure resource (RCSR) database of, and symbols for, crystal nets. Accounts of Chemical Research, 41(12):1782–1789, 2008.
[19] Markus J Kalmutzki, Nikita Hanikel, and Omar M Yaghi. Secondary building units as the turning point in the development of the reticular chemistry of MOFs. Science advances, 4(10): eaat9180, 2018.
[20] Shyue Ping Ong, William Davidson Richards, Anubhav Jain, Geoffroy Hautier, Michael Kocher, Shreyas Cholia, Dan Gunter, Vincent L Chevrier, Kristin A Persson, and Gerbrand Ceder. Python materials genomics (pymatgen): A robust, open-source python library for materials analysis. Computational Materials Science, 68:314–319, 2013.
[21] Ask Hjorth Larsen, Jens Jørgen Mortensen, Jakob Blomqvist, Ivano E Castelli, Rune Christensen, Marcin Dułak, Jesper Friis, Michael N Groves, Bjørk Hammer, Cory Hargus, et al. The atomic simulation environment—a python library for working with atoms. Journal of Physics: Condensed Matter, 29(27):273002, 2017.
[22] Stephen Sin-Yin Chui, Samuel M. F. Lo, Jonathan P. H. Charmant, A. Guy Orpen, and Ian D. Williams. A chemically functionalizable nanoporous material . Science, 283:1148–1150, 1999. URL https://www.science.org/doi/10.1126/science.283.5405.1148.
[23] Stuart R Batten, Neil R Champness, Xiao-Ming Chen, Javier Garcia-Martinez, Susumu Kitagawa, Lars Öhrström, Michael O'Keeffe, Myunghyun Paik Suh, and Jan Reedijk. Coordination polymers, metal–organic frameworks and the need for terminology guidelines. CrystEngComm, 14:3001–3004, 2012. doi: 10.1039/C2CE06488J.
[24] Stuart R Batten, Neil R Champness, Xiao-Ming Chen, Javier Garcia-Martinez, Susumu Kitagawa, Lars Öhrström, Michael O'Keeffe, Myunghyun Paik Suh, and Jan Reedijk. Terminology of metal–organic frameworks and coordination polymers (iupac recommendations 2013). Pure and Applied Chemistry, 85(8):1715–1724, 2013. doi: 10.1351/PAC-REC-12-11-20.
[25] Peter G Boyd and Tom K Woo. A generalized method for constructing hypothetical nanoporous materials of any net topology from graph theory. CrystEngComm, 18(21):3777–3792, 2016.
[26] Hao Gao, Junjie Wang, Zhaopeng Guo, and Jian Sun. Determining dimensionalities and multiplicities of crystal nets. npj Computational Materials, 6(1):143, 2020. doi: 10.1038/s41524-020-00409-0.
[27] Lawson T Glasby, Joan L Cordiner, Jason C Cole, and Peyman Z Moghadam. Topological characterization of metal–organic frameworks: a perspective. Chemistry of Materials, 36(19): 9013, 2024.
[28] Vladislav A Blatov, Olaf Delgado-Friedrichs, Michael O'Keeffe, and Davide M Proserpio. Three-periodic nets and tilings: natural tilings for nets. Acta Crystallographica Section A: Foundations of Crystallography, 63(5):418–425, 2007.
[29] Yuan An, Jane Greenberg, Fernando J Uribe-Romo, Diego A Gómez-Gualdrón, Kyle Langlois, Jacob Furst, Alex Kalinowski, Xintong Zhao, and Xiaohua Hu. Knowledge graph question answering for materials science (kgqa4mat). In Research Conference on Metadata and Semantics Research, pages 18–29. Springer, 2023.
[30] Jiyu Cui, Fang Wu, Haokai Zhao, Minggao Feng, Xenophon Evangelopoulos, Andrew I Cooper, and Yejin Choi. L²M³OF: A large language multimodal model for metal-organic frameworks. arXiv preprint arXiv:2510.20976, 2025.
[31] Xuefeng Bai, Zhiling Zheng, Xin Zhang, Hao-Tian Wang, Rui Yang, and Jian-Rong Li. Mof-reasoner: think like a scientist—a reasoning large language model via knowledge distillation. Digital Discovery, 5(2):869–877, 2026.
[32] Thomas Michael Pruyn, Amro Aswad, Sartaaj Takrim Khan, Ju Huang, Robert Black, and Seyed Mohamad Moosavi. MOF-ChemUnity: Literature-informed large language models for metal-organic framework research. Journal of the American Chemical Society, 147(47): 43474–43486, 2025.
[33] Hiroyasu Furukawa, Nakeun Ko, Yong Bok Go, Naoki Aratani, Sang Beom Choi, Eunwoo Choi, A Özgür Yazaydin, Randall Q Snurr, Michael O'Keeffe, Jaheon Kim, et al. Ultrahigh porosity in metal-organic frameworks. Science, 329(5990):424–428, 2010.
[34] Yongchul G Chung, Jeffrey Camp, Maciej Haranczyk, Benjamin J Sikora, Wojciech Bury, Vaiva Krungleviciute, Taner Yildirim, Omar K Farha, David S Sholl, and Randall Q Snurr. Computation-ready, experimental metal–organic frameworks: A tool to enable high-throughput screening of nanoporous crystals. Chemistry of Materials, 26(21):6185–6192, 2014.
[35] OpenAI. gpt-5.6-luna, 2026. URL https://platform.openai.com.
[36] Anthropic. claude-haiku-4.5, 2025. URL https://www.anthropic.com.
[37] Google. gemini-3.7-flash, 2026. URL https://ai.google.dev.
[38] Alejandro Hernández-Cano, Alexander Hägele, Allen Hao Huang, Angelika Romanou, Antoni-Joan Solergibert, Barna Pasztor, Bettina Messmer, Dhia Garbaya, Eduard Frank Durech, Ido Hakimi, et al. Apertus: Democratizing open and compliant llms for global language environments. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 46877–46955, 2026.
[39] Norman Cliff. Dominance statistics: Ordinal analyses to answer ordinal questions. Psychological Bulletin, 114(3):494, 1993.
[40] David Dubbeldam, Sofia Calero, and Thijs JH Vlugt. iRASPA: GPU-accelerated visualization software for materials scientists. Molecular Simulation, 44(8):653–676, 2018.
A Appendix
A.1 HKUST-1 MOF: Schema, Structure, and Existing Identifiers
HKUST-1 in MOFjson representation
"lattice": "a": 18.6 "b": 18.6 "c": 18.5 "alpha": 60.0 "beta": 60.0 "gamma": 60.0 "atoms": "id": Cu1 "element": Cu "frac_xyz": [1.000,1.000,0.565] ...156 atoms total "bonds": "source": Cu1 "target": 038 "order": 0.0 ...198 bonds total
"building_blocks": "id": linker_1 "formula": C9H3*6O6-3 "smiles": **O=C([O-])..." "net_edges": ...14 blocks total "from_block": node_1 "to_block": linker_1 Cu "from_point": 1 "to_point": 1 "shift:[0,1,0] 48 edges total "topology": "net": tbo "vertex_signature": {...} "matched_reference": RCSR net tbo ...14 blocks total
Raw layer
(cif json format*)
Derived Layer

HKUST1 MOF
MOFid: [Cu][Cu].[O-]C(=O)c1cc(cc(c1)C(=O)[O-])C(=O)[O-] MOFid-v1.tbo.cat0;HKUST1
MOFkey: Cu.QMKYBPDZANOJGF.MOFkey-v1.tbo
Figure 4: MOFjson makes HKUST-1's periodic graph explicit, where MOFid and MOFkey compress it into an opaque code. Left: HKUST-1's MOFjson, showing the raw layer (lattice, atoms, bonds from CIF files) and the derived layer computed from it (building_blocks, net_edges, topology). Right: the same structure rendered in iRASPA software [40], alongside its MOFid and MOFkey strings. Both identifiers encode HKUST-1's net symbol tbo.
A.2 Structural Fidelity of CIF to MOFjson Conversion
Conversion fidelity across unit-cell sizes

Figure 5: MOFjson conversion is lossless across the full CoRE MOF size range. Each of the 2,737 computation-ready CIFs [34] is parsed with pymatgen [20], converted to the MOFjson raw layer, rebuilt into a structure from that layer alone, and compared against the source with StructureMatcher, which tests lattice parameters and site positions under symmetry operations rather than requiring byte-identical files. All 2,737 structures are recovered, from under 50 to over 800 atoms per unit cell (n above each bar), so fidelity does not degrade with cell size. Only the raw layer is tested: the derived fields are computed from it and are not required for reconstruction, and a building-block partition is not uniquely invertible in any case.
A.3 Best Representation by Model
| Model | Best Representation | Question Category | Accuracy (% ± SD) |
|---|---|---|---|
| claude-haiku-4.5 | CIF | Symmetry | 71.3 ± 7.6 |
| gpt-5.6-luna | MOFjson | Net path | 95.3 ± 4.2 |
| gemini-3.7-flash | MOFjson | Net path | 100.0 ± 0.0 |
| apertus-v1.5-70b | MOFjson | Chemical identity | 65.3 ± 8.1 |
Table 4: Best-performing (representation, category) pair for each model, corresponding to the starred point in Figure 2 (right). Accuracy is reported as mean ± SD across three runs.
A.4 Breakdown of Model Performance on the four Question categories

Figure 6: MOFjson is consistently strong on symmetry questions. It matches or leads CIF in three models, outperforming it in gpt-5.6-luna (88.0% vs. 18.0%) and gemini-3.7-flash (96.0% vs. 68.7%), while statistically tying in claude-haiku-4.5 (70.0% vs. 71.3%). Because MOFid and MOFkey lack lattice geometry, both consistently lag behind. The sole exception is apertus-v1.5-70b, where performance across all representations collapses into a noisy 8–23% band (22.7% for MOFjson vs. 20.0% for CIF). Thus, while MOFjson's lead over CIF depends on model capability, its edge over compressed string identifiers holds almost universally.

Figure 7: MOFjson's connectivity advantage holds for most, but not all, models. MOFjson leads clearly for gpt-5.6-luna (60.0% vs. 32.7–40.0% for the baselines) and gemini-3.7-flash (58.7% vs. 38.0–46.0%). For claude-haiku-4.5, MOFkey scores highest (48.0%) and MOFjson trails both CIF and MOFkey (40.7%), and for apertus-v1.5-70b all four representations sit within error of each other (34.0–45.3%). Unlike symmetry, connectivity is not a category where MOFjson wins outright across models.

Figure 8: Chemical identity shows no consistent MOFjson advantage. For claude-haiku-4.5, gpt-5.6-luna and gemini-3.7-flash, all four representations are statistically indistinguishable, clustered within 30–34% regardless of format. Only apertus-v1.5-70b separates, with MOFjson at 65.3% against 24.0–30.7% for the baselines. Because this appears in one model and nowhere else in the data results, we report it as a single-model observation rather than evidence of a representation effect, and treat Chemical identity as the category where the choice of representation matters least.

Figure 9: Net path is where MOFjson's advantage is largest for most models. MOFjson reaches 95.3% for gpt-5.6-luna and 100.0% for gemini-3.7-flash, against 33.3–46.7% for every baseline in both cases, and leads more modestly for claude-haiku-4.5 (47.3% vs. 17.3–29.3%). For apertus-v1.5-70b the result reverses: MOFjson scores 8.7%, below all three baselines (20.0-25.3%).
A.5 Paired Wilcoxon signed rank test and Cliff's Delta
| Question Category | Baseline | n | Cliff's δ | p (Holm-adjusted) |
|---|---|---|---|---|
| Symmetry | CIF | 588 | 0.25 | < 0.001 |
| Symmetry | MOFid | 588 | 0.39 | < 0.001 |
| Symmetry | MOFkey | 588 | 0.45 | < 0.001 |
| Net path | CIF | 580 | 0.29 | < 0.001 |
| Net path | MOFid | 580 | 0.28 | < 0.001 |
| Net path | MOFkey | 580 | 0.34 | < 0.001 |
| Connectivity | CIF | 588 | 0.09 | < 0.001 |
| Connectivity | MOFid | 588 | 0.17 | < 0.001 |
| Connectivity | MOFkey | 588 | 0.10 | < 0.001 |
| Chemical identity | CIF | 592 | 0.10 | < 0.001 |
| Chemical identity | MOFid | 592 | 0.12 | < 0.001 |
| Chemical identity | MOFkey | 592 | 0.10 | < 0.001 |
Table 5: Paired Wilcoxon signed-rank test comparing MOFjson against each baseline representation, per question category. Every run draws 50 structures and renders each of them in all 4 representations, so a structure contributes one matched pair per model for each MOFjson-baseline comparison. The 3 runs draw independently, so a structure can recur across runs; de-duplicating the 150 draws leaves 145–148 distinct structures per category (2–5 repeats of the same MOF structure), and each contributes one paired observation per model, giving that count. Cliff's (range -1 to 1; positive favours MOFjson) is the probability MOFjson scores higher on a given structure minus the probability it scores lower. p-values are Holm-Bonferroni corrected across all 12 tests. MOFjson's advantage is significant (p < 0.001) against every baseline in every category.
B Token Cost Analysis
To assess the practical cost of each representation, we tokenize every prompt in our benchmark with the cl100k_base encoding (via tiktoken) and report the mean input token count per representation, broken down by question category, in Figure 10. Token counts are computed over the full question pool for each category, rather than the structure subsamples used in our accuracy evaluations, so that the reported costs reflect the benchmark as a whole rather than any single sampled run; error bars show one standard deviation across structures within each category.
Input Token Cost by Representation and Category

Figure 10: MOFjson's token cost is representation-efficient except for symmetry queries. Measured in input tokens, MOFjson uses 6–58× fewer input tokens than CIF, approaching the compactness of MOFid and MOFkey. For symmetry, however, MOFjson requires the full per-atom coordinate list and exceeds even CIF's token cost, reflecting the overhead of its verbose JSON atom encoding relative to CIF's compact tabular atom-site format.