Duane Loh Group

Toward a generalizable machine-learned potential for metal–organic frameworks

One machine-learned model can simulate thousands of zinc-based metal–organic frameworks, instead of a new model for each material.

Read the paperACS Nano, 2024

Figure for Toward a generalizable machine-learned potential for metal–organic frameworks

A Universal Recipe Book for Simulating Thousands of Sponge-Like Materials

The Materials in Question

Metal–organic frameworks, or MOFs, are crystalline materials that look a bit like microscopic scaffolding: metal atoms sit at the corners, and organic molecules act as the struts connecting them. The result is a porous solid riddled with tiny cavities, which is why MOFs have attracted so much interest for things like capturing carbon dioxide from flue gas, storing hydrogen, and removing toxins from air. Tens of thousands have been synthesised, and hundreds of thousands more exist only on paper, waiting for someone to decide whether they are worth making.

The Simulation Problem

To know whether a given MOF is worth making, you need to predict its properties: how stiff it is, how it expands when heated, how it vibrates, how much heat it stores. Doing this on a computer requires a “force field,” which is essentially a set of rules describing how the atoms push and pull on one another.

There are two traditional options, and both are unsatisfying. Cheap force fields with simple equations are fast but often inaccurate, especially across the wild variety of chemistries MOFs offer. Quantum-mechanical calculations are accurate but eye-wateringly expensive. Running one for a moderately large MOF can take months of computer time, which makes screening thousands of candidates impossible.

Machine-learned potentials are a more recent compromise. You train a neural network on a modest amount of quantum-mechanical data, and it learns to mimic the expensive calculation at a tiny fraction of the cost. The catch, until now, has been that you typically had to train a new model for each material. Building one model for one MOF is already a significant undertaking; doing it for thousands is out of the question.

What the Authors Did

Yue and colleagues asked a question that hadn’t really been tested: can a single machine-learned model be trained to handle a huge family of MOFs at once? They focused on zinc-based MOFs, which make up roughly 15% of known structures and include several famous materials — ZIF-8, the IRMOF series, MOF-74, and CALF-20, the latter now used commercially to capture CO₂.

Their key insight is that while there are nearly 3,000 zinc MOFs in the database they drew from, the actual building blocks repeat. Zinc tends to coordinate with its neighbours in only a handful of geometric arrangements. The organic linkers vary more, but they share common chemical features such as aromatic rings, carboxylate groups, pyridine groups. Locally, the chemistry isn’t as diverse as the sheer number of structures suggests.

To build a training set, the team took roughly 800 zinc MOFs and generated variations of each: structures squeezed and stretched to different volumes, and structures with atoms jiggled randomly out of place. This forced the model to see what happens when atoms are pushed away from their comfortable equilibrium positions. They ran quantum-mechanical calculations on about 9,000 of these structures to produce training data, then trained an equivariant neural network — the kind that respects the symmetries of three-dimensional space — on the result.

How Well It Worked

Tested on roughly 10,000 zinc MOFs it had never seen, the model predicted energies and forces with errors close to “chemical accuracy”: the rough threshold below which quantum chemists stop worrying. The errors were lowest for hydrogen atoms (which typically just sit at the end of a single bond) and largest for carbon, nitrogen, and oxygen atoms at the bridges between metal nodes and organic linkers, where the local chemistry is most varied.

The model struggled most on structures containing chemical groups that barely appear in the training set (e.g., dangling water molecules attached to zinc atoms, or exotic linkers with reactive groups that mainly exist in hypothetical databases rather than real laboratories). This is unsurprising and fixable: the obvious next step is active learning, where the model itself flags the structures it’s least sure about and asks for more training data on them.

More importantly, the model reproduced real physical properties faithfully. Vibrational spectra matched quantum-mechanical reference calculations across dozens of test MOFs. Bulk moduli — a measure of stiffness — came within 5% of published values. Thermal expansion behaviour, including the unusual negative expansion exhibited by some MOFs, was captured correctly.

What It’s Good For

Having validated the model, the authors turned it loose on 73 zinc MOFs whose properties had never been calculated from first principles because the calculations would have been prohibitively expensive. The model identified candidate materials with extreme negative thermal expansion (potentially useful for offsetting thermal stress in devices) and materials with very low heat capacity (potentially useful for carbon capture, where each cycle requires heating and cooling the adsorbent).

The broader point is methodological. The conventional approach (i.e., one model per material) doesn’t scale. A general model that works across thousands of materials potentially cuts the cost of high-throughput screening by orders of magnitude, taking calculations that would have required years of CPU time and bringing them within reach. The authors have released their data, models, and code openly, so others can extend the approach to copper, cobalt, or other metal families.

It’s a modest but useful demonstration: the apparent diversity of MOF chemistry hides a more limited set of local environments, and one well-chosen neural network can learn most of them at once.

Related work