--- base_model: internlm/Intern-S2-Preview pipeline_tag: image-text-to-text tags: - materials-science - multimodal - scientific-reasoning - arxiv:2611.25651 --- # MatVerse-1.0 **MatVerse-1.0 is a multimodal foundation model for materials science.** It takes a question in text, optionally paired with a scientific image, and answers in text. For example, it can read peak positions from X-ray diffraction (XRD) patterns, infer local coordination geometry from atomic coordinates and crystal structure diagrams, and solve quantitative materials science problems that require unit conversions. MatVerse-1.0 builds on Intern-S2-Preview-35B-A3B, a mixture-of-experts model with approximately 35 billion parameters, of which 3 billion are active per token. [MatVerse paper](https://arxiv.org/abs/2611.25651) · [Base model](https://huggingface.co/internlm/Intern-S2-Preview) ![MatVerse-1.0 training stages and examples of supported inputs, including crystal structures, XRD patterns, microscopy images, tables, and curves.](assets/matverse-1.0-overview.png) *Figure 2. (a) We validated the training recipe on Qwen3-VL-4B-Thinking, then fine-tuned Intern-S2-Preview-35B-A3B on 149,792 materials science examples to produce MatVerse-1.0. (b) The same model handles text, symbolic representations, and scientific images.* ## Model Specifications - **Base model and architecture** — Intern-S2-Preview-35B-A3B, a multimodal mixture-of-experts model. - **Parameter count** — Approximately 35B total, with 3B active per token. - **Configured context window** — 262,144 tokens (256K), shared by the prompt and generated response. - **Configured precision** — BF16 (bfloat16). ## Quick Start ### Read a peak position from an XRD pattern ![XRD intensity plotted against diffraction angle. The tallest peak is just to the left of the 40° tick.](assets/xrd-peak.png) **Question.** At what diffraction angle (2θ) does the most intense peak occur? A. 70.0° · B. 68.3° · C. 69.7° · D. 39.6° **MatVerse-1.0 answer in the paper (Appendix D.8).** **D. 39.6°.** The peak reaches 100 arbitrary units just before the 40° tick. ### Run the example **Suggested deployment for single-image Q&A.** A starting point is two NVIDIA H100 80 GB GPUs with BF16 weights and two-way tensor parallelism. The example below sets a 32,768-token context window and caps concurrency at four sequences. Text, image tokens, and the generated answer share each sequence's context budget. For longer inputs, tune the context window and concurrency together to fit the available GPU memory. Start either vLLM or SGLang from the local checkpoint directory containing `config.json` and the weights. Use a recent build with Intern-S2-Preview support. [Base model deployment guide](https://huggingface.co/internlm/Intern-S2-Preview/blob/main/deployment_guide.md) **vLLM** ```bash vllm serve "$PWD" --served-model-name MatVerse-1.0 \ --trust-remote-code --tensor-parallel-size 2 --dtype bfloat16 \ --max-model-len 32768 --max-num-seqs 4 --reasoning-parser qwen3 \ --host 127.0.0.1 --port 8000 ``` **SGLang** ```bash python3 -m sglang.launch_server --model-path "$PWD" --served-model-name MatVerse-1.0 \ --trust-remote-code --tp-size 2 --dtype bfloat16 \ --context-length 32768 --max-running-requests 4 --reasoning-parser qwen3 \ --host 127.0.0.1 --port 8000 ``` Once the server is ready, run the following Python example from the directory containing this README. It reads the XRD image shown above and sends it to the local server. The client uses the `requests` package (`python3 -m pip install requests`). ```python import base64 from pathlib import Path import requests image_bytes = Path("assets/xrd-peak.png").read_bytes() image_data = base64.b64encode(image_bytes).decode("ascii") question = ( "At what diffraction angle (2θ) does the most intense peak occur? " "A. 70.0° B. 68.3° C. 69.7° D. 39.6°" ) content = [ {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{image_data}"}}, {"type": "text", "text": question}, ] response = requests.post( "http://127.0.0.1:8000/v1/chat/completions", json={ "model": "MatVerse-1.0", "messages": [{"role": "user", "content": content}], "temperature": 0.0, "max_tokens": 2048, }, timeout=180, ) response.raise_for_status() print(response.json()["choices"][0]["message"]["content"]) ``` ## Data Construction and Training The post-training corpus contains **149,792 examples** from two sources. - **Materials reasoning (30,639 examples).** We combined textbook problems, questions from online scientific resources, and expert-curated questions, then generated variants by changing quantities, units, or physical conditions. For problems with reference answers, we retained independently generated solutions whose final answers passed task-specific checks. For synthetic problems without a reference answer, at least six of ten independent solutions had to agree on the final answer. - **Multimodal question answering (119,153 examples).** We used MaCBench images and their captions to retrieve related scientific figures. We selected figures returned by both image-based and caption-based searches and filtered them by retrieval score. A teacher model used each selected figure, its caption, and its notes to write new questions, answers, and short explanations. The final set contains 111,598 multiple-choice and 7,555 open-ended examples.
View the data construction pipeline (Figure 3) ![Two data construction pipelines feed supervised fine-tuning. One retrieves scientific figures and generates questions about them. The other verifies or cross-checks solutions to materials problems.](assets/data-construction.png) *Figure 3. The two pipelines produce training examples in a common instruction format.*
## Performance The scores below compare MatVerse-1.0 with its base model under each benchmark's official scoring procedure. Changes are in percentage points. | Benchmark | Metric | Intern-S2-Preview | MatVerse-1.0 | Change | | --- | --- | ---: | ---: | ---: | | MatSciBench | Rule accuracy | 58.45% | **63.59%** | +5.14 | | MaCBench | Overall accuracy | 65.05% | **67.22%** | +2.17 | | OmniMatBench CAL (quantitative calculation) | Exact slot accuracy | 21.98% | **24.45%** | +2.47 | | OmniMatBench QA (open-ended questions) | Macro-F1 | **28.67%** | 27.59% | −1.08 | On MatSciBench, accuracy rose from 62.4% to 67.6% on numerical problems and changed little on formula derivation (9.3% to 9.2%). On MaCBench, the largest gains came from recognizing hand-drawn molecules (+20.7 points), identifying laboratory equipment (+20.0), and answering questions about tables (+10.4). ## Citation If you find our work useful, please consider citing our paper. ```bibtex @misc{zhu2026matversefoundationmodelmaterials, title = {{MatVerse}: A Foundation Model for Materials Science}, author = {Xuanyu Zhu and Qian Tan and Bo Chen and Jiaqing Xie and Yang Han and Mei Wu and Wanhao Liu and Xuanze Lin and Yuchen Zhou and Shijie Wang and Biqing Qi and Shixiang Tang and Wenwei Zhang and Tianfan Fu and Kai Yu and Lu Chen and Yuqiang Li and Xin Chen}, year = {2026}, eprint = {2611.25651}, archivePrefix = {arXiv}, primaryClass = {cs.AI}, url = {https://arxiv.org/abs/2611.25651} } ```