Skip to main navigation Skip to search Skip to main content

CMA-ES Decoding Optimization for MedGemma: A Flat Landscape on Chest X-Ray Reports

  • Costa Rica Institute of Technology

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Vision-language models (VLMs) for medical imaging rely on decoding parameters, mainly the sampling temperature and the nucleus sampling (top-p) threshold. These are typically set by convention. We apply the Covariance Matrix Adaptation Evolution Strategy (CMA-ES) to search jointly over temperature and top-p for MedGemma 4B-IT on chest X-ray report generation using PadChest-GR. Our fitness function is a Wasserstein-distance proxy in sentence-embedding space between generated reports and the expert reference. Across five independent runs (749 evaluations), the landscape is flat, varying by only 2.6-4.5% within each run, and no CMA-ES configuration improves over the published default (greedy decoding) on held-out test data. The baseline achieves near-maximal semantic consistency (0.97), which CMA-ES reduces to 0.82. Both configurations detect fewer than 5% of ground-truth clinical findings, and CMA-ES raises the rate of “normal” templates on confirmed-pathology samples from 37% to 66%. For this zero-shot model the landscape is flat under an embedding-space proxy; whether this holds under entity-level clinical metrics (e.g., RadGraph F1) is open. Under our metrics, the bottleneck is visual perception, not text generation. Code: https://github.com/michaelcw02/ cmaes-medgemma-xray.

Original languageEnglish
Title of host publicationGECCO 2026 Companion - Proceedings of the 2026 Genetic and Evolutionary Computation Conference
PublisherAssociation for Computing Machinery, Inc
Pages1441-1447
Number of pages7
ISBN (Electronic)9798400724886
DOIs
StatePublished - 13 Aug 2026
Event2026 Genetic and Evolutionary Computation Conference, GECCO 2026 Companion - San Jose, Costa Rica
Duration: 13 Jul 2026 → 17 Jul 2026

Publication series

NameGECCO 2026 Companion - Proceedings of the 2026 Genetic and Evolutionary Computation Conference

Conference

Conference2026 Genetic and Evolutionary Computation Conference, GECCO 2026 Companion
Country/TerritoryCosta Rica
CitySan Jose
Period13/07/26 → 17/07/26

Keywords

  • chest X-ray
  • CMA-ES
  • decoding optimization
  • MedGemma
  • negative result
  • PadChest
  • vision-language models

Fingerprint

Dive into the research topics of 'CMA-ES Decoding Optimization for MedGemma: A Flat Landscape on Chest X-Ray Reports'. Together they form a unique fingerprint.

Cite this