Adapting General-Purpose Foundation Models for X-ray Ptychography in Low-Data Regimes
On the map: Multimodal LLMs / vision-language models → Medical vision-language models
Abstract (arXiv)
The automation of workflows in advanced microscopy is a key goal where foundation models like Language Models (LLMs) and Vision-Language Models (VLMs) show great potential. However, adapting these general-purpose models for specialized scientific tasks is critical, and the optimal domain adaptation strategy is often unclear. To address this, we introduce PtychoBench, a new multi-modal, multi-task benchmark for ptychographic analysis. Using this benchmark, we systematically compare two specialization strategies: Supervised Fine-Tuning (SFT) and In-Context Learning (ICL). We evaluate these strategies on a visual artifact detection task with VLMs and a textual parameter recommendation task with LLMs in a data-scarce regime. Our findings reveal that the optimal specialization pathway is task-dependent. For the visual task, SFT and ICL are highly complementary, with a fine-tuned model guided by context-aware examples achieving the highest mean performance (Micro-F1 of 0.728). Conversely, for the textual task, ICL on a large base model is the superior strategy, reaching a peak Micro-F1 of 0.847 and outperforming a powerful "super-expert" SFT model (0-shot Micro-F1 of 0.839). We also confirm the superiority of context-aware prompting and identify a consistent contextual interference phenomenon in fine-tuned models. These results, benchmarked against strong baselines including GPT-4o and a DINOv3-based classifier, offer key observations for AI in science: the optimal specialization path in our benchmark is dependent on the task modality, offering a clear framework for developing more effective science-based agentic systems.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Medical vision-language models, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 6 of its 18 references that are in the map. First posted on arXiv 4 Nov 2025.
Builds on
6 of 18 references.
References · 6
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2024PEAR: A Robust and Flexible Automation Framework for Ptychography Enabled by Multiple Large Language Model Agentscited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Multi-Modal Instruction-Tuning Small-Scale Language-and-Vision Assistant for Semiconductor Electron Micrograph Analysis
- 2026Prefer-DAS: Learning from Local Preferences and Sparse Prompts for Domain Adaptive Segmentation of Electron Microscopy
- 2025Fidelity-preserving enhancement of ptychography with foundational text-to-image models
- 2026A Mixture of Experts Foundation Model for Scanning Electron Microscopy Image Analysis
- 2025Leveraging Vision-Language Foundation Models to Reveal Hidden Image-Attribute Relationships in Medical Imaging
- 2026SPM-Bench: Benchmarking Large Language Models for Scanning Probe Microscopy
- 2026XRF-to-Optical Field-of-View Localization with Vision Language Models
- 2024μ-Bench: A Vision-Language Benchmark for Microscopy Understanding