# iMatGen

**iMatGen**（基于图像的材料生成器）是一个用于无机固态材料逆向设计的变分自编码器（一种通过压缩数据来采样新版本的AI模型）框架，其中晶体结构被编码为基于三维网格的、可逆的图像表示。该框架由卢俊焕（Juhwan Noh）及其同事开发，于2019年发表，是最早的晶体结构生成算法之一，被视为首个将变分自编码器（VAE）用于固态材料逆向设计的工作。<sup>[1](https://www.engineering.org.cn/engi/EN/10.1016/j.eng.2024.07.008)</sup><sup> • </sup><sup>[2](https://www.nature.com/articles/s41524-023-00987-9)</sup> 原始模型在材料项目（Materials Project）数据库中的钒氧化物上训练，展示了可合成V–O化合物的生成。<sup>[3](https://pubs.acs.org/chreay/article/126/15/8644/5238567/AI-for-Accelerated-Materials-Discovery-From)</sup><sup> • </sup><sup>[4](https://cname.oaepublish.com/articles/jmi.2024.18)</sup>

| 关键事实 | 详情 |
|---|---|
| 全名与年份 | 基于图像的材料生成器，由卢俊焕等人于2019年提出<sup>[3](https://pubs.acs.org/chreay/article/126/15/8644/5238567/AI-for-Accelerated-Materials-Discovery-From)</sup> |
| 模型类别 | 具有分层两步架构的变分自编码器<sup>[5](https://www.nature.com/articles/s41524-025-01881-2)</sup> |
| 表示方式 | 三维体素（类图像）网格：一个晶胞图像（边长与角度）和一个基元图像（原子位置），使用分数坐标<sup>[6](https://www.sciencedirect.com/science/article/pii/S0927025623005190)</sup><sup> • </sup><sup>[5](https://www.nature.com/articles/s41524-025-01881-2)</sup> |
| 训练领域 | 取自材料项目数据库的V–O体系氧化物<sup>[3](https://pubs.acs.org/chreay/article/126/15/8644/5238567/AI-for-Accelerated-Materials-Discovery-From)</sup> |
| 报告输出 | 生成了新型钒氧化物，但在20,000个生成的假想结构中仅发现若干亚稳态V\(_x\)O\(_y\)材料<sup>[2](https://www.nature.com/articles/s41524-023-00987-9)</sup> |
| 稳定性筛选 | 一个二元分类器基于形成能区分生成的稳定与不稳定结构<sup>[7](https://hal.science/hal-05510249v1/file/genbench.pdf)</sup> |
| 代码 | 在GitHub上公开发布（kaist-amsg/imatgen），运行于Python 2<sup>[8](https://github.com/kaist-amsg/imatgen)</sup> |

## 表示与架构

iMatGen将晶体结构视为类图像数据。该表示将每个晶胞编码为两幅图像：一幅记录晶胞边长及边间角度的晶胞图像，以及一幅记录晶胞内原子位置的基元图像。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0927025623005190)</sup> 在早期体素方法的基础上，该模型使用分数坐标和用于晶胞表示的独立网格，其密度取自变换后的高斯分布。<sup>[5](https://www.nature.com/articles/s41524-025-01881-2)</sup> 由于编码是可逆的，从模型潜在空间采样的结构可以被解码回可用的晶体学形式，这正是逆向设计得以实现的原因。<sup>[9](https://light.utoronto.ca/wp-content/uploads/2020/09/matter_inverse_design.pdf)</sup>

该学习模型是一个分层两步VAE，将材料编码到连续潜在空间中。<sup>[5](https://www.nature.com/articles/s41524-025-01881-2)</sup> 为解决网格表示缺乏不变性的问题，训练中使用了数据增强，如打乱原子位置以及对晶胞进行平移或旋转。<sup>[10](https://onlinelibrary.wiley.com/doi/10.1002/aenm.202403876?af=R)</sup> 新材料的采样从潜在空间中进行，例如通过随机高斯采样，而一个基于形成能训练的二元分类器通过区分稳定与不稳定候选结构来精炼输出。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0927025625003325)</sup><sup> • </sup><sup>[7](https://hal.science/hal-05510249v1/file/genbench.pdf)</sup>

## 结果与局限

该模型成功展示了在V–O化学体系中生成新型钒氧化物材料。<sup>[7](https://hal.science/hal-05510249v1/file/genbench.pdf)</sup><sup> • </sup><sup>[4](https://cname.oaepublish.com/articles/jmi.2024.18)</sup> 然而其范围狭窄：iMatGen只能生成特定化学体系的结构，且在其产生的20,000个假想结构中，仅鉴定出若干亚稳态V\(_x\)O\(_y\)材料。<sup>[2](https://www.nature.com/articles/s41524-023-00987-9)</sup> 需要用户定义化学成分也限制了泛化能力，且输入的大小随所生成晶体中不同元素的数量线性增长。<sup>[12](https://pubs.acs.org/doi/abs/10.1021/acs.jcim.0c00464)</sup>

表示本身也带来代价。基于体素的编码相对于二维表示而言内存消耗大，且iMatGen与其他基于网格的方法一样，并未完全满足晶体的对称不变性；后来的综述认为其三维生成能力，尤其是高对称材料的生成能力，有待改进。<sup>[6](https://www.sciencedirect.com/science/article/pii/S0927025623005190)</sup><sup> • </sup><sup>[10](https://onlinelibrary.wiley.com/doi/10.1002/aenm.202403876?af=R)</sup><sup> • </sup><sup>[1](https://www.engineering.org.cn/engi/EN/10.1016/j.eng.2024.07.008)</sup>

## 领域地位

iMatGen于2019年与首批基于GAN的晶体生成器（如CrystalGAN）一同出现，并催生了一系列直接建立在其上的模型：金和卢俊焕的组分条件点云GAN解决了每种元素类型都需要高维三维图像的局限，而考特等人在基于iMatGen的体素化晶体表示上训练了一个条件深度特征一致性VAE。<sup>[3](https://pubs.acs.org/chreay/article/126/15/8644/5238567/AI-for-Accelerated-Materials-Discovery-From)</sup><sup> • </sup><sup>[13](https://pmc.ncbi.nlm.nih.gov/articles/PMC7592118/)</sup> 后来的VAE工作，如2022年的傅里叶变换晶体性质（FTCP）框架，将范围扩展到单一化学体系之外，但同样存在iMatGen未能完全尊重晶体不变性的弱点；2022年的晶体扩散变分自编码器（CDVAE）通过基于不变图的编码解决了这一缺陷。<sup>[10](https://onlinelibrary.wiley.com/doi/10.1002/aenm.202403876?af=R)</sup> 关于晶体材料生成模型的综述一致将iMatGen列为奠基性的基于体素的VAE方法之一，此后扩散模型如DiffCSP和MatterGen成为主流方法。<sup>[5](https://www.nature.com/articles/s41524-025-01881-2)</sup><sup> • </sup><sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC13014032/)</sup>

原始实现仍以开源代码形式在GitHub的kaist-amsg组织下提供，被描述为用于固态材料逆向设计的基于图像的生成模型，运行于Python 2。<sup>[8](https://github.com/kaist-amsg/imatgen)</sup>

## References

1. [Jianjun Hu, Qin Li, Nihang Fu (2024). Generative AI for Materials Discovery: Design Without Understanding. Engineering.](https://www.engineering.org.cn/engi/EN/10.1016/j.eng.2024.07.008)
2. [Yong Zhao et al. (2023). Physics guided deep learning for generative design of crystal materials with symmetry constraints. npj Computational Materials.](https://www.nature.com/articles/s41524-023-00987-9)
3. [AI for Accelerated Materials Discovery: From Generative Design to Autonomous Realization. Chemical Reviews.](https://pubs.acs.org/chreay/article/126/15/8644/5238567/AI-for-Accelerated-Materials-Discovery-From)
4. [Machine learning assisted crystal structure prediction made simple. Journal of Materinformatics.](https://cname.oaepublish.com/articles/jmi.2024.18)
5. [Pierre-Paul De Breuck et al. (2025). Generative AI for crystal structures: a review. npj Computational Materials.](https://www.nature.com/articles/s41524-025-01881-2)
6. [A scalable crystal representation for reverse engineering of novel inorganic materials using deep generative models. Computational Materials Science.](https://www.sciencedirect.com/science/article/pii/S0927025623005190)
7. [LeMat-GenBench: A Unified Evaluation Framework for Crystal Generative Models.](https://hal.science/hal-05510249v1/file/genbench.pdf)
8. [kaist-amsg/imatgen: image-based generative model for inverse design of solid state materials. GitHub.](https://github.com/kaist-amsg/imatgen)
9. [Juhwan Noh et al. (2019). Inverse Design of Solid-State Materials via a Continuous Representation. Matter.](https://light.utoronto.ca/wp-content/uploads/2020/09/matter_inverse_design.pdf)
10. [Recent Advances in Machine Learning-Assisted Multiscale Design of Energy Materials. Advanced Energy Materials.](https://onlinelibrary.wiley.com/doi/10.1002/aenm.202403876?af=R)
11. [Discovering novel halide perovskites using generative adversarial networks and random forest regression. Computational Materials Science.](https://www.sciencedirect.com/science/article/pii/S0927025625003325)
12. [3-D Inorganic Crystal Structure Generation and Property Prediction via Representation Learning. Journal of Chemical Information and Modeling.](https://pubs.acs.org/doi/abs/10.1021/acs.jcim.0c00464)
13. [3-D Inorganic Crystal Structure Generation and Property Prediction via Representation Learning (PMC version).](https://pmc.ncbi.nlm.nih.gov/articles/PMC7592118/)
14. [Generative Models for Crystalline Materials.](https://pmc.ncbi.nlm.nih.gov/articles/PMC13014032/)

---
*Initially written Oct 22, 2026*

Topic: 物质世界与数学 › 化学 › 化学原理与方法 › Machine learning in chemistry

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/imatgen

English original: https://www.edgepedia.org/imatgen
