TRANSMISSION // 2611.31132v1
Can a bacterium’s genome help predict how it looks under antibiotics?
Source published
A small study uses genomic embeddings to generate E. coli cell images, then tests whether those synthetic images can help classify antibiotic resistance.

Could a bacterial genome help a computer sketch how its cells look when exposed to an antibiotic? A new study explores that idea for E. coli, and finds that generated images can improve some resistance-classification results—especially for detecting resistant cells. But the experiments involve just 22 clinical isolates, and performance weakens when the test isolates are entirely new to the model.
Antibiotic susceptibility tests help clinicians find out whether a bacterium is resistant to a drug. But the usual culture-based process takes time: bacteria must grow in the presence of candidate antibiotics before their response can be assessed. Researchers are therefore exploring whether other information, including a bacterium’s genome or appearance under a microscope, could provide useful clues sooner.
A study by Son T. Huynh and colleagues asks a different question: can a computer use an isolate’s genome to generate images of its cells under particular antibiotic conditions? The team also tested whether those synthetic images could help a separate model classify bacteria as resistant or susceptible.
From genome sequence to cell image
The researchers paired genome-sequencing data with microscopy images from clinical Escherichia coli isolates collected from blood. Their working dataset contained 167,356 single-cell images from 22 isolates. Cells had been imaged after exposure to azithromycin, ciprofloxacin or tetracycline, and in a no-drug control condition. Resistance labels came from susceptibility testing, rather than being inferred from the images.
First, the team converted each isolate’s assembled DNA sequences into a 768-dimensional numerical representation using DNABERT-2, a pretrained genomic language model. In broad terms, the model turns sequence segments into vectors, which are combined first by contig and then into one representation for each isolate.
That genomic representation was supplied to a conditional image generator—a type of generative adversarial network, or GAN—along with the antibiotic condition. In a later training phase, the model also received the resistance label. The researchers compared seven pretrained image-processing backbones within the generator. They chose ConvNeXt-Tiny based on distributional image-quality measures, including FID and KID. These metrics assess differences between sets of real and generated images; they do not establish that a generated image depicts a specific biological mechanism.
The practical test was whether generated images helped a resistance classifier. The researchers reduced the real training data to one-quarter of its original cell count, then added synthetic cells equal to half the retained real-cell count. They evaluated the classifier on real images, repeating the experiments with five random seeds. One split allowed the same isolates to appear in training and testing; a stricter split held out entire isolates from testing.
Better detection in some settings, with important caveats
When isolates could appear in both training and testing, adding synthetic images significantly increased resistant-class recall for all three antibiotics. Recall measures how many of the truly resistant cases the classifier identifies. The reported increases were 0.083 for azithromycin, 0.210 for tetracycline and 0.100 for ciprofloxacin. These are changes in recall scores, not evidence that the model is ready to guide treatment.
There were trade-offs. For some drugs, resistant-class precision or susceptible-class recall fell: the classifier could flag more resistant cases while also making more errors among susceptible ones. The study’s results describe a shift in classification performance, not a clinical trial or a demonstration that using the system would improve patient outcomes.
The test on entirely held-out isolates is especially important because it asks whether the approach can extend to bacteria the model has not encountered. In this setting, performance was lower and more variable. Augmentation significantly improved resistant-class recall for azithromycin and tetracycline, while ciprofloxacin showed significant gains in some susceptible-class measures and in AUC, a measure of classification across thresholds. Not every improvement reached statistical significance, and the pattern differed by antibiotic. Overall, the gains tended to occur in the class the baseline classifier handled least well.
The authors identify major limits. The dataset covers one species, one specimen type and only 22 clinical isolates. With so few isolates, results on unseen strains are uncertain. The generator and classifiers also used data from the same study collection, and the authors say this may make the apparent benefit of augmentation optimistic. The fixed amount of synthetic data was not varied, and the generated images were small, at 64 by 64 pixels. The study did not test whether the images capture particular resistance mechanisms.
This work is best read as an early demonstration of a computational approach, not a rapid diagnostic test. The evidence comes from a single preprint record, not an independent clinical validation; the supplied source does not establish peer-review status. External testing on a larger, independently collected set of isolates would be needed to judge how well the method generalizes and whether it has practical value.
- antimicrobial resistance
- Escherichia coli
- genomics
- synthetic microscopy
- generative AI
- antibiotic susceptibility
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When Mock Jurors Blame AI, Who Pays?
Source published
Shared keywords: generative ai
Generative AI in information systems: promise meets governance
Source published
Shared keywords: generative ai
A Preprint Proposes Statistical Signals for AI Trustworthiness
Source published
Shared keywords: generative ai
Can AI tailor online lessons to learning preferences?
Source published
Shared keywords: generative ai
Grouping similar AI requests could reduce the hardware needed to serve them
Source published
Shared keywords: generative ai