Be Precise:Enriching Pretrained Generators with Structured Attribute Control

Hao Phung1 Fengbei Liu1 Ilan Richter2 Deborah Estrin1,3 Mert R. Sabuncu1,3 Hadar Averbuch-Elor1

1 Cornell University 2 Columbia University Irving Medical Center 3 Weill Cornell Medicine

Structured attributes

Sex, female versus male. Text-only conditioning (top row) leaves the chest wall unchanged; our method (bottom row) adds breast tissue for the female patient. FemaleMale Text only Ours Does the amount of breast tissue change? Lung nodule volume, 0 versus 2000 cubic millimetres. Text-only conditioning (top row) shows no nodule; our method (bottom row) adds a visible nodule, enlarged in the inset. 0 mm³2000 mm³ Text only Ours Does the amount of lung nodule change?

We introduce a lightweight structured attribute encoder that enriches pretrained generative models with precise control over numerical and categorical attributes across diverse domains. Representative structured attributes for 3D chest CT generation are shown on the left. As illustrated on the right, our approach (bottom) faithfully reflects specified changes in the sex and lung nodule volume attributes. By contrast, text-only conditioning (top) produces little corresponding visual change.

Abstract

Modern generative models increasingly emphasize open-ended control through natural language. Yet, many real-world applications demand a different capability: the ability to precisely generate content according to a well-defined set of domain-specific attributes. Achieving such control requires learning how numerical measurements and categorical labels manifest visually, as well as how their interdependencies shape the generated content. To this end, we propose a lightweight conditioning framework that enriches pretrained generators with domain-specific attribute control. Our unified attribute encoder guides a generative backbone through complementary pathways of global feature modulation and fine-grained attribute-level cross-attention. Extensive experiments across diverse domains, including 3D chest CT synthesis and satellite image generation, demonstrate substantial improvements in generation quality and attribute adherence over text-only conditioning. Moreover, we demonstrate the downstream utility of our approach by using attribute-controlled synthetic CT volumes to augment training data and improve clinical screening performance.

How it works

To capture how attributes jointly shape the output, we embed each numerical or categorical field into attribute tokens and process them together with a learned summary token s. We inject these conditions into the pretrained backbone through two complementary pathways: global conditioning and attribute cross-attention.

First, the summary token s provides global context by modulating the intermediate features of the frozen pretrained generator through AdaLN. Second, a separate gated cross-attention branch provides fine-grained control by allowing the generator to attend to individual attribute tokens alongside its original text conditioning. We initialize the summary projection and attention gate to zero, preserving the pretrained behavior while gradually introducing the new conditioning signals.

Method overview. An attribute encoder embeds each numerical or categorical attribute with its own encoder f1 to fK, processes the field tokens together with a learned summary token s in a cross-attribute encoder, and conditions a frozen pretrained generator in two ways: the summary token joins the timestep embedding and modulates the backbone through AdaLN, and the attribute tokens e1 to eK feed a new cross-attention branch whose output is added through a zero-initialized gate. The generator denoises the input noise for T steps into the output. Input noise zT ••• zt​ Self-Attn Cross-Attn FFN Time t Fourier Embedding AdaLN Text prompt p“A CT scan of male patient, 45 year olds, nodulevolume 416.2 mm³, pleural effusion 0 ml, 0consolidation, … Findings: viral pneumonia in … ” TextEncoder Structuredattributes a Age45yrs Nodule volume416.2mm³ Pleural effusion0ml Spacing Z2.71mm … SexM Consolidation0 AttributeEncoder s f1​ f2​ f3​ f4​ … fK−1​ fK​ Cross-Attribute Encoder … s e1​ e2​ e3​ e4​ eK−1​ eK​ Learnedsummarytoken Cross-Attn Trainable module zero-init gate Zero-init gateF′ = Ft​ + 𝒜0(Ft​, p) + tanh(γ) · 𝒜a(Ft​, H)At initialization γ = 0, so tanh(γ) = 0: the attributebranch adds nothing and the pretrained update is kept.During training γ is learned, so the gated attributebranch gradually steers the generation.γtanh(γ) zt−1​ ••• Output ẑ0 ×T steps

Results

We adapt pretrained generators in three domains, from 3D chest CT (CT-RATE) and satellite imagery (fMoW) to a controlled toy setting (Sprites character videos), and compare against text-only conditioning of the same backbone. Rows marked w/ ours add our structured conditioning; best results are in bold.

CT Synthesis Performance

On CT-RATE, structured conditioning improves both volume-level and slice-level FID for all three CT backbones. Text2CT shows the largest reduction in mean slice FID, from 0.89 to 0.53.

FID ↓
Method3DAxialCoronalSagittalAvg
MAISI-v20.330.880.921.040.95
w/ ours0.130.810.730.520.69
Text2CT0.110.890.970.810.89
w/ ours0.050.710.440.430.53
Text baseline0.100.590.930.670.73
w/ ours0.090.540.830.630.66

* Volume-level (3D) and slice-level (axial, coronal, sagittal) FID; Avg is the mean slice FID.

Drag the slider to move through the same axial slice in every volume. Each badge gives the number of highlighted pixels in that slice.

Downstream CT Screening

A CT-Net classifier for 18 chest abnormalities, trained on 1K real scans with or without synthetic scans. With 1K synthetic scans, ours more than doubles F1 over text-only Text2CT (16.7 vs. 7.39); the advantage persists at 5K.

Training dataAUROCF1PrecisionRecall
1K real73.415.333.113.8
+ 1K text-only Text2CT73.67.3914.66.30
+ 1K our Text2CT74.416.738.314.4
+ 5K text-only Text2CT75.717.434.714.5
+ 5K our Text2CT76.318.233.214.8

Satellite Image Generation Performance

On fMoW, our method leads on all five metrics, ahead of the satellite-specific generators DiffusionSat and FlowSat and the adapted baselines Att-Adapter and AttriCtrl. It raises retrieval R@10 against paired real scenes from 32.4% to 48.0% over the text baseline.

Generation qualityImage retrieval
MethodFID ↓LPIPS ↓DINO ↑R@1 ↑R@10 ↑
DiffusionSat29.50.6470.6910.21.9
FlowSat24.90.6320.7092.915.5
Att-Adapter†30.70.6750.5500.00.2
AttriCtrl†21.00.6030.75312.546.2
Text baseline21.80.6090.7407.832.4
w/ ours20.50.6010.75413.548.0

† We implemented Att-Adapter and AttriCtrl and adapted them to satellite image generation.

Video Character Generation Performance

On the Sprites dataset, structured conditioning improves every generation-quality metric over the text baseline, achieving the lower mean numerical error and the higher mean categorical accuracy, with the largest gain in character scale (Δ 0.011 vs 0.179).

Generation qualityNumerical attributes, Δ ↓Categorical attributes, accuracy (%) ↑
Attribute inputFID ↓LPIPS ↓SSIM ↑PSNR ↑BGBodyBottomTopHairScaleAllBodyBottomTopHairActionViewAll
Text29.910.1180.68416.940.0100.0820.1010.0640.0940.1790.07769.790.799.7100.098.7100.093.1
w/ ours22.700.0240.86921.850.0110.0730.0980.0620.0760.0110.06176.092.099.399.799.7100.094.4

Δ is the mean absolute error between requested attributes and those predicted from the generated clip by trained attribute predictors. BG: background. Bottom/Top: bottomwear/topwear.

Our method follows the requested scale, while the text-only baseline shows little change in character size. Δ is the scale error estimated by a trained attribute regressor.

Ablation

Removing any component degrades performance, with the largest drop caused by removing the attribute cross-attention 𝒜a. Freezing the attribute encoder at its random initialization (†) also substantially worsens FID and scale error, highlighting the importance of learning attribute representations. Combining all components yields the best overall performance.

Enc.AdaLN𝒜aFID ↓LPIPS ↓PSNR ↑Δscale ↓Δall ↓Accall ↑
29.90.11816.940.1790.07793.1
✓✓31.30.03320.740.0160.07191.1
✓✓23.60.02821.400.0120.06394.4
✓†✓✓30.30.07117.840.0920.07591.1
✓✓✓22.70.02421.850.0110.06194.4

The all-blank row denotes the text-only baseline. Enc.: attribute encoder; 𝒜a: attribute cross-attention; †: encoder frozen at random initialization. Δscale and Δall: mean absolute error for scale and across all numerical dimensions; Accall: mean categorical accuracy (%).

BibTeX

@article{phung2026beprecise,
  title   = {Be Precise: Enriching Pretrained Generators with Structured Attribute Control},
  author  = {Phung, Hao and Liu, Fengbei and Richter, Ilan and Estrin, Deborah and Sabuncu, Mert R. and Averbuch-Elor, Hadar},
  journal = {arXiv preprint arXiv:<tbd>},
  year    = {2026}
}

Acknowledgements

This work was partially supported by funding from NewYork-Presbyterian for the NYP-Cornell Cardiovascular AI Collaboration. We gratefully acknowledge use of the research computing resources of the Empire AI Consortium, Inc, with support from Empire State Development of the State of New York, the Simons Foundation, and the Secunda Family Foundation (Bloom et al., 2025). This work also utilized computational resources provided by the Cornell G3 AI computing cluster. Access to these resources was supported in part through the Cornell AI Initiative. We also gratefully acknowledge Jayant Raikhelkar, MD, of Advanced Heart Failure and Transplant Cardiology at Columbia University Irving Medical Center (jkr2146@cumc.columbia.edu), for his contribution to the internal cardiovascular dataset used in our preliminary research experiments.