OV-COAST: Cost Aggregation with Optimal Transport for Open-Vocabulary Semantic Segmentation

Aditya Gandhamal*,1, Aniruddh Sikdar*,2, Suresh Sundaram2,3
1Kotak IISc AI-ML Centre   2Robert Bosch Centre for Cyber Physical Systems   3Department of Aerospace Engineering
Indian Institute of Science, Bengaluru, India
Workshop on Transformers for Vision, CVPR 2025 (Non-archival Track)

*Equal contribution
OV-COAST overview

OV-COAST aligns CLIP visual and textual embeddings via a Sinkhorn-distance optimal transport plan, then uses that alignment to guide CAT-Seg's cost-aggregation training for better cross-domain generalization.

Abstract

Open-vocabulary semantic segmentation (OVSS) entails assigning semantic labels to each pixel in an image using textual descriptions, typically leveraging world models such as CLIP. To enhance out-of-domain generalization, we propose Cost Aggregation with Optimal Transport (OV-COAST) for open-vocabulary semantic segmentation. To align visual-language features within the framework of optimal transport theory, we employ cost volume to construct a cost matrix, which quantifies the distance between two distributions. Our approach adopts a two-stage optimization strategy: in the first stage, the optimal transport problem is solved using cost volume via Sinkhorn distance to obtain an alignment solution; in the second stage, this solution is used to guide the training of the CAT-Seg model. We evaluate state-of-the-art OVSS models on the MESS benchmark, where our approach notably improves the performance of the cost-aggregation model CAT-Seg with ViT-B backbone, achieving superior results, surpassing CAT-Seg by 1.72% and SAN-B by 4.9% mIoU.

0 mIoU gain over CAT-Seg on MESS
0 mIoU gain over SAN-B
0 multi-domain evaluation datasets
0 stage optimal transport optimization

Method

Stage 1 — Optimal Transport Alignment. With visual and textual CLIP embeddings fixed, a cost matrix is built from the cost volume, and the optimal transport plan is solved via Sinkhorn distance, iterating until the change in the dual variable falls below a convergence threshold.

Stage 2 — Guided CAT-Seg Training. The transport plan is frozen, and CAT-Seg's spatial and class aggregation modules are trained for the segmentation task using cross-entropy loss — no additional prompt-learning tokens are introduced, unlike PLOT.

Results

Multi-domain evaluation on MESS (mIoU, ViT-B)

OV-COAST improves +1.72 mIoU over the CAT-Seg baseline and outperforms SAN-B by 4.94 mIoU, evaluated across 19 datasets spanning significant domain shifts.

Click any column header to sort the table by that dataset.

Method Dark ZurichMHP v1FoodSeg103ATLANTISiSAID ISPRSWorldFloodsFloodNetUAVidKvasir-inst. CHASE DB1CryoNuSegCorrosion CSDeepCrackPST900 ZeroWaste-fSUIMCUB-200CWFIDMean
Random (L.B) 1.311.270.230.560.568.0218.433.395.1827.9927.2531.259.326.524.526.495.30.0613.0810.27
Best Sup. (U.B) 63.950.045.142.2265.387.5692.7182.2267.893.797.0573.4549.9285.982.352.574.084.687.2370.99
ZSSeg-B 16.867.088.1722.193.811.5723.2520.9830.2746.9337.038.73.0625.3918.768.7830.164.3532.4622.73
ZegFormer-B 4.524.3310.0118.982.6814.0425.9322.7420.8427.3912.4711.944.7829.7719.6317.5228.2816.832.2417.57
X-Decoder-T 24.163.542.6127.512.4331.4726.238.8325.6555.7710.1611.941.7224.6519.4415.4424.750.5129.2519.8
SAN-B 24.358.8719.2736.514.7737.5631.7537.4441.6569.8817.8511.9519.7350.2719.6721.2722.6416.915.6726.21
OpenSeeD-T 28.132.069.018.551.4531.0730.1123.1439.7859.6946.8833.7613.3847.842.52.2819.450.1311.47821.82
Gr.-SAM-B 20.9129.3810.4817.3312.2226.6833.4119.1938.3546.8223.5638.0620.8859.0221.3916.7414.130.4338.4125.65
ODISE 28.887.3116.6236.7311.7154.8326.3035.0643.4628.0220.6012.2710.7424.3420.185.7426.244.6230.4323.37
CAT-Seg 28.8623.7426.6940.3119.3445.3635.7237.5741.5548.216.9915.712.2931.6719.8817.5244.7110.2342.7729.42
OV-COAST (ours) 28.9425.1525.9239.5919.8746.0237.2237.5943.1646.5630.3015.7614.4744.2219.6618.044.6110.5244.3431.15

Prompt learning + optimal transport ablation

Unlike PLOT, naively combining prompt-learning techniques with optimal transport on CAT-Seg degrades performance — OV-COAST's two-stage strategy avoids this.

MethodmIoU (on MESS)
CAT-Seg + VPT + Optimal Transport20.68
CAT-Seg + CoPLOT23.98
CAT-Seg + PLOT26.61
OV-COAST (ours)31.15

Qualitative Results

Animated comparison cycling through Ground Truth, CAT-Seg, and OV-COAST on the MHP dataset

MHP sample, cycling Ground Truth → CAT-Seg → OV-COAST.

Drag the handle below to directly compare CAT-Seg against OV-COAST on a CWFID (crop/weed) sample from the MESS benchmark.

CAT-Seg prediction on CWFID
OV-COAST prediction on CWFID
CAT-Seg OV-COAST

CWFID sample — drag to compare

Grad-CAM: CLIP vision–text correlation

Grad-CAM comparison of CoPLOT, PLOT, and OV-COAST

Logit heatmaps for the prompt "A photo of a ball in the scene." OV-COAST's optimal transport alignment concentrates activation more tightly on the actual ball than CoPLOT or PLOT.

Poster

Presented at the Workshop on Transformers for Vision, CVPR 2025, Nashville. Download PDF

OV-COAST CVPR 2025 Workshop Poster

BibTeX

@inproceedings{gandhamal2025ovcoast,
  title={OV-COAST: Cost Aggregation with Optimal Transport for Open-Vocabulary Semantic Segmentation},
  author={Gandhamal, Aditya and Sikdar, Aniruddh and Sundaram, Suresh},
  booktitle={Workshop on Transformers for Vision at CVPR 2025 (Non-archival Track)},
  year={2025},
  note={Accepted (Non-archival)},
  url={https://arxiv.org/abs/2506.03706}
}