Granularity-Aware Layout-to-Image Generation for Small Objects in Remote Sensing Imagery

Taehwan Kim Jeonghyeok Do† Munchurl Kim†

Korea Advanced Institute of Science and Technology (KAIST), South Korea

† Co-corresponding authors (equal advising).taehwankim@kaist.ac.krehwjdgur0913@kaist.ac.krmkimee@kaist.ac.kr

arXiv preprint, 2026

Abstract

Layout-to-image (L2I) generation for remote sensing imagery requires realistic small objects aligned with pre­scribed oriented bounding boxes (OBBs). However, global box descriptions in prior L2I methods leave local geometry within image-token regions implicit. Coarse, uniform latent grids may also represent small objects with only one or a few image tokens. Together, these constraints hinder the generation of small objects with accurate shapes and orientations.

To address these limitations, we present GeoGrain, a granularity-aware L2I framework for precise small-object control in remote sensing imagery. GeoGrain introduces (i) Granularity-Aware Geometry Encoding (GAGE), which constructs layout tokens from global OBB descriptions with local geometric conditions at image-token positions, and (ii) Granularity-Aware Token Expansion (GATE), which subdivides image-token grid cells overlapping the input OBBs, producing finer image tokens while retaining coarse tokens else­where. GAGE encodes local OBB geometry on the resulting mixed-resolution grid, aligning each layout token with its corresponding image token.

Experiments on the oriented small-object detection datasets SODA-A and AI-TOD-R demonstrate state-of-the-art layout fidelity alongside high generation quality. On these datasets, GeoGrain improves AP over the strongest baseline by 18.6 and 6.3 points, respectively, reaching AP comparable to that measured on real images. Data augmentation with our generated images also improves downstream detection and outper­forms augmentation with images from the baselines.

Small objects, exactly in their boxes

Given the same oriented-box layout, GeoGrain generates small objects that match the position, size and orientation of each box, where prior layout-to-image methods omit or misplace them.

Left: an input layout of small vehicles and a swimming pool, and the images generated from it by AeroGen, CC-Diff++, FICGen, SiamLayout, Laytrol, TerraDiT-Ω and GeoGrain, each with an enlarged inset; GeoGrain places a vehicle in every box. Right: radar chart of normalized AP, AP50, AP75, FID and KID on SODA-A and AI-TOD-R, where GeoGrain encloses all baselines.
Precise small-object control with GeoGrain. Left: Qualitative comparison on the SODA-A dataset using the same input layout. Insets show enlarged red-boxed regions, highlighting object detail and OBB alignment. Right: Generation quality and Layout fidelity on the SODA-A and AI-TOD-R datasets. Higher normalized scores indicate better performance.

Quantitative results

GeoGrain raises AP over the strongest baseline, TerraDiT-Ω, by 18.6 points on SODA-A and 6.3 on AI-TOD-R, reaching AP comparable to that of real images (29.6 vs 29.0 and 9.0 vs 9.1), with the best object-level SceneFID and SceneKID on both. Training detectors with its images adds +1.8 and +2.1 AP, against at most +0.2 and +0.4 for the baselines.

Main tables

Table 2. Quantitative results for Generation quality and Layout fidelity. KID and SceneKID are scaled by 103. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodVenueGeneration quality ↓Layout fidelity ↑
FIDKIDSceneFIDSceneKIDAPAP50AP75AP by object size
SODA-A DataseteSrSgSN
Real images––––29.067.418.36.622.538.936.4
AeroGenCVPR'2528.0013.4035.0318.314.619.20.60.31.97.310.8
CC-DiffarXiv'2445.3729.9748.7127.772.310.00.20.00.43.47.0
CC-Diff++TGRS'2548.1431.2961.6639.391.67.50.20.00.32.34.7
FICGenICCV'2547.9731.2441.9025.246.525.60.90.21.910.316.8
SiamLayoutICCV'2541.7417.3787.7054.420.00.00.00.00.00.00.0
LaytrolAAAI'2630.9713.0524.9411.452.210.80.10.21.13.53.2
TerraDiT-ΩECCV'2620.599.9516.018.3711.034.83.40.86.718.119.4
GeoGrain (Ours)–10.242.718.855.5229.671.117.36.222.539.739.3
AI-TOD-R Datasetvttsm
Real images––––9.129.92.43.18.314.117.5
AeroGenCVPR'2554.3222.7240.2431.381.35.20.30.10.62.35.4
CC-DiffarXiv'2455.2726.3141.8322.780.31.30.10.00.10.22.6
CC-Diff++TGRS'2564.3634.8942.7025.450.21.00.00.00.00.22.2
FICGenICCV'2555.4029.8833.7419.260.83.30.10.10.21.37.5
SiamLayoutICCV'2596.6055.8250.7234.170.00.00.00.00.00.00.0
LaytrolAAAI'2637.2812.0818.1010.350.31.70.00.10.20.51.6
TerraDiT-ΩECCV'2618.126.7614.9411.672.710.60.60.31.76.111.5
GeoGrain (Ours)–19.544.724.021.819.030.42.22.17.215.524.3
Other detectors and backbones Tables 8–9 · layout fidelity and trainability
Table 8. Quantitative results for Layout fidelity across detectors and backbones. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodSODA-AAI-TOD-R
APAP50AP75AP by object sizeAPAP50AP75AP by object size
eSrSgSNvttsm
DCFL w/ Oriented R-CNN (ResNet-50)
Real images35.275.226.711.428.643.940.112.540.73.44.612.116.721.3
AeroGen4.919.70.80.41.97.711.81.56.20.30.20.62.77.3
CC-Diff2.29.80.20.10.33.47.00.31.30.00.00.00.23.3
CC-Diff++1.57.00.10.10.32.15.00.20.90.00.00.00.12.3
FICGen6.725.81.00.21.610.918.80.62.80.10.00.10.89.7
SiamLayout0.00.00.00.00.00.00.00.00.00.00.00.00.00.0
Laytrol2.210.20.40.31.13.33.10.41.60.10.20.20.41.9
TerraDiT-Ω12.236.84.10.97.319.419.52.811.40.50.32.06.611.7
GeoGrain (Ours)34.176.323.19.827.142.842.711.339.12.12.710.017.926.1
Oriented R-CNN (ResNet-50)
Real images33.769.227.66.827.344.641.210.532.43.20.49.118.422.3
AeroGen4.919.40.80.42.07.711.51.97.40.20.10.83.27.8
CC-Diff2.29.30.20.10.33.36.70.31.20.10.00.00.33.3
CC-Diff++1.56.90.10.10.32.24.80.21.00.00.00.00.12.2
FICGen6.525.41.00.21.710.418.50.73.20.10.00.21.19.6
SiamLayout0.00.10.00.00.00.00.00.00.00.00.00.00.00.0
Laytrol2.310.60.50.41.13.73.10.41.80.00.10.20.41.7
TerraDiT-Ω11.835.04.20.86.819.220.13.212.00.60.11.87.213.1
GeoGrain (Ours)33.171.124.36.226.244.043.610.733.42.70.38.419.828.6
Oriented R-CNN (Swin-T)
Real images33.870.027.38.128.046.242.210.533.03.00.68.818.723.3
AeroGen4.920.30.70.42.07.811.81.87.30.30.10.62.97.8
CC-Diff2.19.10.20.10.23.06.50.31.40.10.00.00.33.3
CC-Diff++1.46.50.20.10.42.14.70.21.10.00.00.10.22.2
FICGen6.325.00.80.21.610.018.00.83.20.20.00.11.39.2
SiamLayout0.00.10.00.00.00.00.00.00.00.00.00.00.00.0
Laytrol2.210.40.20.31.03.33.00.42.00.20.10.20.52.0
TerraDiT-Ω11.735.14.10.86.718.919.03.212.30.60.11.76.913.3
GeoGrain (Ours)33.271.924.37.427.143.243.311.235.72.90.48.520.328.9
Table 9. Quantitative results for Trainability across detectors and backbones. ΔAP is relative to real-only training. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodSODA-AAI-TOD-R
APΔAPAP50AP75AP by object sizeAPΔAPAP50AP75AP by object size
eSrSgSNvttsm
DCFL w/ Oriented R-CNN (ResNet-50)
Real only35.2–75.226.711.428.643.940.112.5–40.73.44.612.116.721.3
AeroGen34.3−0.974.525.311.027.742.540.112.2−0.339.53.64.411.516.722.0
CC-Diff34.2−1.074.125.211.227.842.338.912.50.040.43.44.711.917.321.3
CC-Diff++34.5−0.774.625.511.228.143.639.412.8+0.340.73.44.512.217.521.6
FICGen34.4−0.874.425.511.228.043.638.812.9+0.441.63.44.712.317.122.1
SiamLayout33.1−2.172.824.210.226.940.437.812.0−0.538.83.34.211.816.420.5
Laytrol34.3−0.973.625.811.027.743.539.911.8−0.737.53.34.211.516.118.7
TerraDiT-Ω33.6−1.672.325.310.426.940.139.412.4−0.140.23.74.711.917.522.2
GeoGrain (Ours)35.7+0.575.827.512.429.544.040.614.0+1.544.14.75.113.518.923.2
Oriented R-CNN (ResNet-50)
Real only33.7–69.227.66.827.344.641.210.5–32.43.20.49.118.422.3
AeroGen33.1−0.668.527.56.726.443.241.710.2−0.331.63.30.38.717.821.4
CC-Diff33.2−0.569.026.56.526.944.440.99.7−0.829.82.90.68.217.821.3
CC-Diff++33.2−0.568.926.86.427.044.740.89.4−1.129.32.70.57.917.521.0
FICGen33.1−0.668.826.46.526.744.640.99.8−0.730.42.90.58.118.321.7
SiamLayout32.3−1.467.925.56.226.342.139.78.1−2.424.62.60.36.815.818.9
Laytrol33.2−0.568.726.56.626.644.241.59.1−1.428.42.60.57.816.719.0
TerraDiT-Ω32.0−1.767.524.96.325.441.440.310.1−0.431.23.00.48.618.721.6
GeoGrain (Ours)34.2+0.569.728.47.327.845.242.011.4+0.934.23.90.89.820.124.1
Oriented R-CNN (Swin-T)
Real only33.8–70.027.38.128.046.242.210.5–33.03.00.68.818.723.3
AeroGen33.80.070.426.78.127.644.841.810.1−0.431.02.90.48.417.823.2
CC-Diff33.5−0.370.226.17.827.545.841.19.7−0.829.82.70.48.017.522.5
CC-Diff++33.6−0.270.726.37.928.045.841.09.5−1.029.82.60.58.017.322.2
FICGen33.9+0.170.727.17.927.846.241.49.7−0.830.32.60.68.017.622.4
SiamLayout33.6−0.269.926.87.927.644.841.19.0−1.528.62.40.57.516.420.4
Laytrol33.5−0.370.126.37.927.645.741.99.2−1.328.72.60.47.917.120.9
TerraDiT-Ω33.6−0.270.426.47.927.743.942.010.2−0.331.73.10.48.418.321.7
GeoGrain (Ours)34.7+0.970.928.98.428.947.342.611.0+0.533.23.90.79.419.324.2
Class-wise results Tables 10–11 · SODA-A and AI-TOD-R
Table 10. Quantitative results for class-wise Layout fidelity and Trainability on the SODA-A dataset. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodAPAP by class
APLHELSVLVSHCTSTSPWM
Layout fidelity ↑
Real images29.046.327.321.117.927.030.336.134.120.8
AeroGen4.67.96.40.72.03.34.07.96.22.7
CC-Diff2.31.85.10.10.50.31.50.76.73.7
CC-Diff++1.61.14.20.10.40.31.40.34.02.3
FICGen6.57.010.60.53.31.64.55.917.27.8
SiamLayout0.00.00.00.00.00.00.00.00.00.0
Laytrol2.23.35.90.80.62.02.22.11.71.4
TerraDiT-Ω11.014.35.85.02.611.215.320.418.36.2
GeoGrain (Ours)29.643.828.322.019.931.830.836.833.619.8
Trainability ↑
Real only29.046.327.321.117.927.030.336.134.120.8
AeroGen29.246.827.621.018.028.330.435.634.120.5
CC-Diff28.445.826.420.817.325.929.335.933.820.8
CC-Diff++28.445.525.721.117.527.028.935.633.620.8
FICGen29.146.426.621.417.928.129.436.134.820.8
SiamLayout27.945.224.520.416.028.528.934.433.719.6
Laytrol28.345.726.620.417.625.729.535.633.420.5
TerraDiT-Ω28.545.825.920.916.726.331.036.434.319.7
GeoGrain (Ours)30.848.228.023.120.629.633.637.635.421.2

APL: airplane; HEL: helicopter; SV/LV: small/large vehicle; SH: ship; CT: container; ST: storage tank; SP: swimming pool; WM: windmill.

Table 11. Quantitative results for class-wise Layout fidelity and Trainability on the AI-TOD-R dataset. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodAPAP by class
APLBRSTSHSPVEPEWM
Layout fidelity ↑
Real images9.19.94.312.917.511.212.83.80.2
AeroGen1.33.70.91.31.32.10.80.20.0
CC-Diff0.31.70.00.10.20.00.10.10.0
CC-Diff++0.21.00.00.10.10.00.10.40.0
FICGen0.83.50.01.00.70.10.60.20.0
SiamLayout0.00.00.00.00.00.00.00.00.0
Laytrol0.31.00.11.00.10.20.30.10.0
TerraDiT-Ω2.72.30.96.43.55.92.30.70.0
GeoGrain (Ours)9.011.63.913.913.512.711.64.30.3
Trainability ↑
Real only9.19.94.312.917.511.212.83.80.2
AeroGen9.311.15.211.716.311.712.03.52.8
CC-Diff8.59.55.610.415.711.311.83.60.3
CC-Diff++8.89.95.311.515.910.712.13.71.0
FICGen8.99.35.712.215.811.712.03.80.9
SiamLayout6.71.35.69.115.47.311.92.90.2
Laytrol8.810.64.211.515.211.111.63.42.6
TerraDiT-Ω9.511.24.413.616.712.512.73.51.2
GeoGrain (Ours)11.213.85.715.118.614.514.24.53.6

APL: airplane; BR: bridge; ST: storage tank; SH: ship; SP: swimming pool; VE: vehicle; PE: person; WM: windmill.

DIOR-R Tables 12–13 · generation quality, layout fidelity and trainability
Table 12. Quantitative results for Generation quality and Layout fidelity on the DIOR-R dataset. KID and SceneKID are scaled by 103. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodGeneration quality ↓Layout fidelity ↑
FIDKIDSceneFIDSceneKIDDCFL w/ Rotated
RetinaNet
(ResNet-50)
DCFL w/ Oriented
R-CNN
(ResNet-50)
Oriented R-CNN
(ResNet-50)
Oriented R-CNN
(Swin-T)
APAP50AP75APAP50AP75APAP50AP75APAP50AP75
Real images––––28.0450.7726.3830.4252.2231.3431.8652.3232.8033.4955.0634.77
AeroGen26.7712.9925.5610.0416.3333.1514.4216.4932.1115.3417.7133.6915.9418.2034.3718.12
CC-Diff47.8728.3156.7830.5319.8638.1017.9520.4537.9019.5221.7539.7621.1222.4539.9722.15
CC-Diff++47.7327.8760.6633.4420.1938.4318.7920.4538.0419.8722.0039.7322.1422.8640.7423.19
FICGen45.6124.9144.2720.1924.9345.3524.4225.6844.7525.8927.5946.7428.7529.1649.2230.77
SiamLayout54.8418.5283.8948.270.441.590.170.461.550.190.642.470.080.371.560.09
Laytrol27.559.4425.6510.0618.6342.4614.4718.5442.0913.8318.9342.7114.4519.8144.3415.54
TerraDiT-Ω17.468.0316.836.4723.6045.0121.5925.0145.1723.3326.1545.6025.9126.9246.7927.20
GeoGrain (Ours)11.822.266.961.8029.6654.6927.7632.2755.8432.3033.4855.7034.2634.4558.1535.28
Table 13. Quantitative results for Trainability on the DIOR-R dataset. ΔAP is relative to real-only training. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodDCFL w/ Rotated RetinaNet
(ResNet-50)
DCFL w/ Oriented R-CNN
(ResNet-50)
Oriented R-CNN
(ResNet-50)
Oriented R-CNN
(Swin-T)
APΔAPAP50AP75APΔAPAP50AP75APΔAPAP50AP75APΔAPAP50AP75
Real only28.04–50.7726.3830.42–52.2231.3431.86–52.3232.8033.49–55.0634.77
AeroGen29.35+1.3152.4428.0332.11+1.6953.7632.4832.46+0.6051.7033.6433.96+0.4754.5335.70
CC-Diff29.40+1.3652.0128.2532.15+1.7354.3033.1533.02+1.1653.1934.2933.74+0.2554.5834.99
CC-Diff++29.08+1.0451.8827.7832.05+1.6353.8732.4832.64+0.7852.5033.9633.48−0.0154.1934.53
FICGen29.63+1.5951.8728.2732.23+1.8153.7133.2433.12+1.2652.5234.3334.07+0.5854.1935.48
SiamLayout26.33−1.7149.0424.5229.03−1.3950.6829.6929.88−1.9849.7030.5832.03−1.4652.7932.92
Laytrol28.82+0.7851.8527.2231.57+1.1553.5932.3332.81+0.9553.0133.6533.80+0.3154.9934.88
TerraDiT-Ω30.14+2.1053.2929.7132.57+2.1554.3033.3033.68+1.8253.9634.8034.40+0.9155.1935.80
GeoGrain (Ours)31.56+3.5254.9431.0834.15+3.7356.7534.6534.96+3.1055.3536.0836.00+2.5158.0437.81
Inference time Table 14
Table 14. Inference time comparison across methods. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodStepsTime (s/image) ↓
SODA-AAI-TOD-RDIOR-R
U-Net-based
AeroGen503.052.952.81
CC-Diff502.832.762.66
CC-Diff++502.872.782.70
FICGen503.793.663.47
DiT-based
SiamLayout504.103.953.79
Laytrol502.982.952.91
TerraDiT-Ω1009.839.499.38
GeoGrain (Ours)505.184.974.68
More ablations Tables 15–18 · architecture, token expansion, positional encoding, decoding
Table 15. Ablation results on Dual-branch architectures. KID and SceneKID are scaled by 103. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
MethodGeneration quality ↓Layout fidelity ↑Trainability ↑
FIDKIDSceneFIDSceneKIDDCFLOriented R-CNNDCFLOriented R-CNN
APAP50AP75APAP50AP75APAP50AP75APAP50AP75
SiamLayout41.7417.3787.7054.420.00.00.00.00.10.027.965.917.033.669.926.8
GeoGrain (SiamLayout-style)11.122.899.215.5028.169.215.631.469.721.730.769.320.834.670.828.4
GeoGrain (Laytrol-style)10.242.718.855.5229.671.117.333.271.924.330.869.420.934.770.928.9
Table 16. Ablation results on Token expansion. KID and SceneKID are scaled by 103. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
VariantGeneration quality ↓Layout fidelity ↑Inference cost ↓
FIDKIDSceneFIDSceneKIDDCFLOriented R-CNN# TokensTime (s/image)
APAP50AP75APAP50AP75
w/o GATE (uniform 1×)10.312.4112.186.2021.759.59.023.159.311.61,0243.89
w/o GATE (uniform 2×)17.155.9717.0810.7325.564.712.928.365.718.34,09612.29
w/ GATE (mixed resolution)10.242.718.855.5229.671.117.333.271.924.31,1895.18
Table 17. Ablation results on Mixed-resolution positional encoding. KID and SceneKID are scaled by 103.
Scroll for more columns
VariantGeneration quality ↓Layout fidelity (AP) ↑
FIDKIDSceneFIDSceneKIDDCFLOriented R-CNN
SODA-A
w/ PMA10.382.5611.907.7928.432.2
w/o PMA (Ours)10.242.718.855.5229.633.2
AI-TOD-R
w/ PMA20.305.248.504.619.010.9
w/o PMA (Ours)19.544.724.021.819.011.2
Table 18. Ablation results on Mixed-resolution decoding. KID and SceneKID are scaled by 103. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
OutputGeneration quality ↓Layout fidelity ↑Time (s/image) ↓
FIDKIDSceneFIDSceneKIDAPAP50AP75DecodingOverall inference
SODA-A
Initial reconstruction x̂init12.203.9854.6241.5412.833.26.70.024.97
Fine reconstruction x̂f10.512.909.185.8933.272.224.20.195.13
Final image x̂10.242.718.855.5233.271.924.30.235.18
AI-TOD-R
Initial reconstruction x̂init22.467.1052.1339.074.816.20.90.024.76
Fine reconstruction x̂f20.805.024.021.8211.034.93.00.194.93
Final image x̂19.544.724.021.8111.235.72.90.234.97
Trainability at a fixed budget Tables 19–20 · fixed image count and fixed iteration count
Table 19. Ablation results on Trainability at fixed image count. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
Training dataTrainability ↑
DCFLOriented R-CNN
APAP50AP75APAP50AP75
SODA-A (23,032 training images)
Real 100%29.067.418.333.870.027.3
Synthetic 100%25.761.615.121.349.913.9
Real 50% + Synthetic 50%28.866.818.333.169.426.3
AI-TOD-R (7,752 training images)
Real 100%9.129.92.410.533.03.0
Synthetic 100%7.825.72.25.818.61.7
Real 50% + Synthetic 50%8.728.52.410.031.23.0
Table 20. Ablation results on Trainability at fixed iteration count. The best and second-best results are bold and underlined, respectively.
Scroll for more columns
Training data# ImagesEpochsTrainability ↑
DCFLOriented R-CNN
w/ detector aug.w/o detector aug.w/ detector aug.w/o detector aug.
APAP50AP75APAP50AP75APAP50AP75APAP50AP75
SODA-A
Real 100%23,0321229.067.418.328.665.819.233.870.027.332.967.127.9
Real 100%23,0322430.469.020.429.265.820.433.970.427.132.065.627.0
Real 100% + Synthetic 100%23,032 + 23,0321230.869.420.931.168.522.534.770.928.934.068.229.8
Real 50%11,5161226.163.014.925.861.815.432.268.924.731.365.625.4
Real 50%11,5162428.466.717.826.462.216.632.868.826.230.664.124.7
Real 50% + Synthetic 50%11,516 + 11,5161228.866.818.328.064.818.433.169.426.332.166.426.4
AI-TOD-R
Real 100%7,752129.129.92.49.029.22.810.533.03.09.328.92.8
Real 100%7,7522410.935.33.29.732.32.910.932.93.88.726.83.3
Real 100% + Synthetic 100%7,752 + 7,7521211.235.83.310.734.43.211.033.23.99.730.53.0
Real 50%3,876125.719.51.36.020.51.69.128.92.27.524.32.0
Real 50%3,876248.327.82.27.926.32.09.529.42.77.122.52.4
Real 50% + Synthetic 50%3,876 + 3,876128.728.52.48.729.32.110.031.23.08.225.92.5

Finer geometry, finer tokens

GeoGrain builds on a pretrained text-to-image diffusion transformer, FLUX.2 [klein] 4B Base, with a frozen image–text branch and a trainable image–layout branch, and changes how the layout meets the image tokens.

(a) Prior DiT-based L2I: a uniform grid of image tokens and one layout token per object (class and box), and the output misses the objects. (b) GeoGrain: finer image tokens at the box locations and layout tokens per image-token cell with additional local geometry, and the output places the objects in the boxes.
Granularity-aware conditioning and synthesis. (a) Prior DiT-based L2I methods use object-level box conditions and a coarse, uniform image-token grid, leaving local OBB geometry implicit and only a few tokens available for small objects. (b) GeoGrain adds local OBB geometry to layout tokens at corresponding image-token positions and subdivides only the image-token grid cells overlapping the input OBBs.
  1. 01GAGE: a layout token per box and cell. For every image-token cell that an OBB overlaps, the layout token combines the class, the global OBB, the part of the box inside the cell (Qij) and the cell’s position relative to the object (Rij), and shares its RoPE position with that image token.
  2. 02GATE: finer image tokens where the objects are. Grid cells that overlap an input OBB are split into 2×2 fine tokens, and coarse tokens are kept elsewhere; both are denoised together on this mixed-resolution grid.
  3. 03Masked flow-matching loss. Training layouts hold at most n objects; the loss skips cells covered only by annotated objects left out of the layout, so the model does not learn to add objects that the layout does not ask for.
Architecture diagram. (a) The text prompt and the image tokens pass through frozen image-text blocks, the layout tokens through trainable image-layout blocks, with zero-initialized links between them; training uses the masked flow-matching loss. (b) GAGE: class, OBB, the box part inside each cell and the cell position relative to the object are Fourier-encoded and merged by MLPs into one layout token per box-cell pair. (c) GATE: cells under a box are split into four fine tokens; at inference, coarse and fine grids are decoded and blended.
Overview of GeoGrain. (a) Frozen image–text and trainable image–layout branches jointly denoise mixed-resolution image tokens. (b) On the mixed-resolution grid, GAGE combines class labels, global OBB coordinates, local intersection geometry Qij, and object-relative coordinates Rij into one layout token per intersecting OBB–cell pair. (c) GATE replaces each coarse token whose grid cell overlaps an input OBB with four fine tokens, retaining coarse tokens elsewhere. For reconstruction, uniform latent grids are assembled at coarse and fine scales, and the decoded images are blended. The local descriptors in (b) are schematic; full definitions appear in Sec. 3.2 of the paper.

BibTeX

@article{kim2026geograin,
  title={GeoGrain: Granularity-Aware Layout-to-Image Generation for Small Objects in Remote Sensing Imagery},
  author={Kim, Taehwan and Do, Jeonghyeok and Kim, Munchurl},
  journal={arXiv preprint arXiv:XXXX.XXXXX},
  year={2026}
}