Chelsea707 commited on
Commit
f422f13
·
verified ·
1 Parent(s): 5ed0076

Add Batch a2a4904f-47a9-4046-bada-38e0a7c2b008 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_content_list.json +1797 -0
  3. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_model.json +0 -0
  4. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_origin.pdf +3 -0
  5. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/full.md +350 -0
  6. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/images.zip +3 -0
  7. 2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/layout.json +0 -0
  8. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_content_list.json +0 -0
  9. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_model.json +0 -0
  10. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_origin.pdf +3 -0
  11. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/full.md +423 -0
  12. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/images.zip +3 -0
  13. 2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/layout.json +0 -0
  14. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_content_list.json +1368 -0
  15. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_model.json +1815 -0
  16. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_origin.pdf +3 -0
  17. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/full.md +251 -0
  18. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/images.zip +3 -0
  19. 2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/layout.json +0 -0
  20. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_content_list.json +1542 -0
  21. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_model.json +2112 -0
  22. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_origin.pdf +3 -0
  23. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/full.md +315 -0
  24. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/images.zip +3 -0
  25. 2024/Diversified and Personalized Multi-rater Medical Image Segmentation/layout.json +0 -0
  26. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_content_list.json +1464 -0
  27. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_model.json +1991 -0
  28. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_origin.pdf +3 -0
  29. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/full.md +282 -0
  30. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/images.zip +3 -0
  31. 2024/Diversity-aware Channel Pruning for StyleGAN Compression/layout.json +0 -0
  32. 2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_content_list.json +1450 -0
  33. 2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_model.json +2024 -0
  34. 2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_origin.pdf +3 -0
  35. 2024/Do Vision and Language Encoders Represent the World Similarly_/full.md +281 -0
  36. 2024/Do Vision and Language Encoders Represent the World Similarly_/images.zip +3 -0
  37. 2024/Do Vision and Language Encoders Represent the World Similarly_/layout.json +0 -0
  38. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_content_list.json +1432 -0
  39. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_model.json +0 -0
  40. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_origin.pdf +3 -0
  41. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/full.md +276 -0
  42. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/images.zip +3 -0
  43. 2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/layout.json +0 -0
  44. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_content_list.json +1588 -0
  45. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_model.json +0 -0
  46. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_origin.pdf +3 -0
  47. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/full.md +326 -0
  48. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/images.zip +3 -0
  49. 2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/layout.json +0 -0
  50. 2024/Domain Gap Embeddings for Generative Dataset Augmentation/5494a5ac-2304-4ac2-9420-1dfdf881d3ed_content_list.json +1529 -0
.gitattributes CHANGED
@@ -3237,3 +3237,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
3237
  2024/Distilling[[:space:]]Vision-Language[[:space:]]Models[[:space:]]on[[:space:]]Millions[[:space:]]of[[:space:]]Videos/8828befa-4d70-45fc-845d-fab6cc126c02_origin.pdf filter=lfs diff=lfs merge=lfs -text
3238
  2024/Distraction[[:space:]]is[[:space:]]All[[:space:]]You[[:space:]]Need_[[:space:]]Memory-Efficient[[:space:]]Image[[:space:]]Immunization[[:space:]]against[[:space:]]Diffusion-Based[[:space:]]Image[[:space:]]Editing/fbee6dc0-d9de-41e0-8606-40da1c87d444_origin.pdf filter=lfs diff=lfs merge=lfs -text
3239
  2024/DistriFusion_[[:space:]]Distributed[[:space:]]Parallel[[:space:]]Inference[[:space:]]for[[:space:]]High-Resolution[[:space:]]Diffusion[[:space:]]Models/550b64fe-21a7-42c7-94d5-2c5bf12182fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3237
  2024/Distilling[[:space:]]Vision-Language[[:space:]]Models[[:space:]]on[[:space:]]Millions[[:space:]]of[[:space:]]Videos/8828befa-4d70-45fc-845d-fab6cc126c02_origin.pdf filter=lfs diff=lfs merge=lfs -text
3238
  2024/Distraction[[:space:]]is[[:space:]]All[[:space:]]You[[:space:]]Need_[[:space:]]Memory-Efficient[[:space:]]Image[[:space:]]Immunization[[:space:]]against[[:space:]]Diffusion-Based[[:space:]]Image[[:space:]]Editing/fbee6dc0-d9de-41e0-8606-40da1c87d444_origin.pdf filter=lfs diff=lfs merge=lfs -text
3239
  2024/DistriFusion_[[:space:]]Distributed[[:space:]]Parallel[[:space:]]Inference[[:space:]]for[[:space:]]High-Resolution[[:space:]]Diffusion[[:space:]]Models/550b64fe-21a7-42c7-94d5-2c5bf12182fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
3240
+ 2024/Distribution-aware[[:space:]]Knowledge[[:space:]]Prototyping[[:space:]]for[[:space:]]Non-exemplar[[:space:]]Lifelong[[:space:]]Person[[:space:]]Re-identification/dc186928-c593-4047-b92c-da912985b7fb_origin.pdf filter=lfs diff=lfs merge=lfs -text
3241
+ 2024/Distributionally[[:space:]]Generative[[:space:]]Augmentation[[:space:]]for[[:space:]]Fair[[:space:]]Facial[[:space:]]Attribute[[:space:]]Classification/c0595e7c-a382-440e-bead-c24efb7626f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
3242
+ 2024/DiverGen_[[:space:]]Improving[[:space:]]Instance[[:space:]]Segmentation[[:space:]]by[[:space:]]Learning[[:space:]]Wider[[:space:]]Data[[:space:]]Distribution[[:space:]]with[[:space:]]More[[:space:]]Diverse[[:space:]]Generative[[:space:]]Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_origin.pdf filter=lfs diff=lfs merge=lfs -text
3243
+ 2024/Diversified[[:space:]]and[[:space:]]Personalized[[:space:]]Multi-rater[[:space:]]Medical[[:space:]]Image[[:space:]]Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_origin.pdf filter=lfs diff=lfs merge=lfs -text
3244
+ 2024/Diversity-aware[[:space:]]Channel[[:space:]]Pruning[[:space:]]for[[:space:]]StyleGAN[[:space:]]Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_origin.pdf filter=lfs diff=lfs merge=lfs -text
3245
+ 2024/Do[[:space:]]Vision[[:space:]]and[[:space:]]Language[[:space:]]Encoders[[:space:]]Represent[[:space:]]the[[:space:]]World[[:space:]]Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3246
+ 2024/Do[[:space:]]You[[:space:]]Remember_[[:space:]]Dense[[:space:]]Video[[:space:]]Captioning[[:space:]]with[[:space:]]Cross-Modal[[:space:]]Memory[[:space:]]Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_origin.pdf filter=lfs diff=lfs merge=lfs -text
3247
+ 2024/DocRes_[[:space:]]A[[:space:]]Generalist[[:space:]]Model[[:space:]]Toward[[:space:]]Unifying[[:space:]]Document[[:space:]]Image[[:space:]]Restoration[[:space:]]Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_origin.pdf filter=lfs diff=lfs merge=lfs -text
3248
+ 2024/Domain[[:space:]]Gap[[:space:]]Embeddings[[:space:]]for[[:space:]]Generative[[:space:]]Dataset[[:space:]]Augmentation/5494a5ac-2304-4ac2-9420-1dfdf881d3ed_origin.pdf filter=lfs diff=lfs merge=lfs -text
3249
+ 2024/Domain[[:space:]]Prompt[[:space:]]Learning[[:space:]]with[[:space:]]Quaternion[[:space:]]Networks/303fb3fe-6ec6-468a-b337-88d6468b4619_origin.pdf filter=lfs diff=lfs merge=lfs -text
3250
+ 2024/Domain[[:space:]]Separation[[:space:]]Graph[[:space:]]Neural[[:space:]]Networks[[:space:]]for[[:space:]]Saliency[[:space:]]Object[[:space:]]Ranking/c949ebe7-5184-416b-ac8d-3fdfd4559972_origin.pdf filter=lfs diff=lfs merge=lfs -text
3251
+ 2024/Domain-Agnostic[[:space:]]Mutual[[:space:]]Prompting[[:space:]]for[[:space:]]Unsupervised[[:space:]]Domain[[:space:]]Adaptation/bfac0f1b-64f8-4bbb-a613-d2a4de55522d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3252
+ 2024/Domain-Rectifying[[:space:]]Adapter[[:space:]]for[[:space:]]Cross-Domain[[:space:]]Few-Shot[[:space:]]Segmentation/8ac4cde6-1d67-48b7-84c5-43bdd0eb339e_origin.pdf filter=lfs diff=lfs merge=lfs -text
3253
+ 2024/Domain-Specific[[:space:]]Block[[:space:]]Selection[[:space:]]and[[:space:]]Paired-View[[:space:]]Pseudo-Labeling[[:space:]]for[[:space:]]Online[[:space:]]Test-Time[[:space:]]Adaptation/079ac40d-fd93-4b1d-81cd-f677205c98f1_origin.pdf filter=lfs diff=lfs merge=lfs -text
3254
+ 2024/Don't[[:space:]]Drop[[:space:]]Your[[:space:]]Samples![[:space:]]Coherence-Aware[[:space:]]Training[[:space:]]Benefits[[:space:]]Conditional[[:space:]]Diffusion/637e6810-2de6-4b0a-a2c4-29351a197c24_origin.pdf filter=lfs diff=lfs merge=lfs -text
3255
+ 2024/Don't[[:space:]]Look[[:space:]]into[[:space:]]the[[:space:]]Dark_[[:space:]]Latent[[:space:]]Codes[[:space:]]for[[:space:]]Pluralistic[[:space:]]Image[[:space:]]Inpainting/494a7f7e-9c2e-4263-b47b-ceb5f8af3405_origin.pdf filter=lfs diff=lfs merge=lfs -text
3256
+ 2024/Doodle[[:space:]]Your[[:space:]]3D_[[:space:]]From[[:space:]]Abstract[[:space:]]Freehand[[:space:]]Sketches[[:space:]]to[[:space:]]Precise[[:space:]]3D[[:space:]]Shapes/5a8a1158-d0a9-4102-a948-1a3cfa06964c_origin.pdf filter=lfs diff=lfs merge=lfs -text
3257
+ 2024/Doubly[[:space:]]Abductive[[:space:]]Counterfactual[[:space:]]Inference[[:space:]]for[[:space:]]Text-based[[:space:]]Image[[:space:]]Editing/66d374d5-de32-4685-9e1b-369e41f0cd30_origin.pdf filter=lfs diff=lfs merge=lfs -text
3258
+ 2024/Dr.[[:space:]]Bokeh_[[:space:]]DiffeRentiable[[:space:]]Occlusion-aware[[:space:]]Bokeh[[:space:]]Rendering/5fcfe7c4-67be-418b-8051-c0d8252d33a4_origin.pdf filter=lfs diff=lfs merge=lfs -text
3259
+ 2024/Dr.Hair_[[:space:]]Reconstructing[[:space:]]Scalp-Connected[[:space:]]Hair[[:space:]]Strands[[:space:]]without[[:space:]]Pre-Training[[:space:]]via[[:space:]]Differentiable[[:space:]]Rendering[[:space:]]of[[:space:]]Line[[:space:]]Segments/f26898fb-be59-43a7-b03a-72aa594cf404_origin.pdf filter=lfs diff=lfs merge=lfs -text
3260
+ 2024/Dr2Net_[[:space:]]Dynamic[[:space:]]Reversible[[:space:]]Dual-Residual[[:space:]]Networks[[:space:]]for[[:space:]]Memory-Efficient[[:space:]]Finetuning/bb31d1fd-a351-4f02-9c95-013676b062f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
3261
+ 2024/Drag[[:space:]]Your[[:space:]]Noise_[[:space:]]Interactive[[:space:]]Point-based[[:space:]]Editing[[:space:]]via[[:space:]]Diffusion[[:space:]]Semantic[[:space:]]Propagation/33b40dba-662b-4e33-ba32-c5c3bb0270ac_origin.pdf filter=lfs diff=lfs merge=lfs -text
3262
+ 2024/DragDiffusion_[[:space:]]Harnessing[[:space:]]Diffusion[[:space:]]Models[[:space:]]for[[:space:]]Interactive[[:space:]]Point-based[[:space:]]Image[[:space:]]Editing/7e564e37-cfd2-4951-a16b-3676cb8458fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
3263
+ 2024/Draw[[:space:]]Step[[:space:]]by[[:space:]]Step_[[:space:]]Reconstructing[[:space:]]CAD[[:space:]]Construction[[:space:]]Sequences[[:space:]]from[[:space:]]Point[[:space:]]Clouds[[:space:]]via[[:space:]]Multimodal[[:space:]]Diffusion./21e0e672-572d-41b3-afcf-11ff132ca2ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
3264
+ 2024/DreamAvatar_[[:space:]]Text-and-Shape[[:space:]]Guided[[:space:]]3D[[:space:]]Human[[:space:]]Avatar[[:space:]]Generation[[:space:]]via[[:space:]]Diffusion[[:space:]]Models/0a621ba0-89c8-43ad-b979-25d8e4971daf_origin.pdf filter=lfs diff=lfs merge=lfs -text
3265
+ 2024/DreamComposer_[[:space:]]Controllable[[:space:]]3D[[:space:]]Object[[:space:]]Generation[[:space:]]via[[:space:]]Multi-View[[:space:]]Conditions/623a866d-dd7b-4618-9c06-30d2dbe4d9fa_origin.pdf filter=lfs diff=lfs merge=lfs -text
3266
+ 2024/DreamControl_[[:space:]]Control-Based[[:space:]]Text-to-3D[[:space:]]Generation[[:space:]]with[[:space:]]3D[[:space:]]Self-Prior/5e088b57-2ab4-4bba-b801-fb4c346da8ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
3267
+ 2024/DreamMatcher_[[:space:]]Appearance[[:space:]]Matching[[:space:]]Self-Attention[[:space:]]for[[:space:]]Semantically-Consistent[[:space:]]Text-to-Image[[:space:]]Personalization/77ec074b-ee13-4a73-92e0-0314eb77a866_origin.pdf filter=lfs diff=lfs merge=lfs -text
3268
+ 2024/DreamPropeller_[[:space:]]Supercharge[[:space:]]Text-to-3D[[:space:]]Generation[[:space:]]with[[:space:]]Parallel[[:space:]]Sampling/2c7bcaaf-b186-4337-9555-9c5b84e9339d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3269
+ 2024/DreamSalon_[[:space:]]A[[:space:]]Staged[[:space:]]Diffusion[[:space:]]Framework[[:space:]]for[[:space:]]Preserving[[:space:]]Identity-Context[[:space:]]in[[:space:]]Editable[[:space:]]Face[[:space:]]Generation/9c5ddb99-4556-4772-b051-134150e5e01b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3270
+ 2024/DreamVideo_[[:space:]]Composing[[:space:]]Your[[:space:]]Dream[[:space:]]Videos[[:space:]]with[[:space:]]Customized[[:space:]]Subject[[:space:]]and[[:space:]]Motion/eed5e8f0-114a-45b5-a61b-330f597e3df6_origin.pdf filter=lfs diff=lfs merge=lfs -text
3271
+ 2024/DriveTrack_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]Long-Range[[:space:]]Point[[:space:]]Tracking[[:space:]]in[[:space:]]Real-World[[:space:]]Videos/5015a4e5-1f68-44d9-98d4-1e9ac131076b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3272
+ 2024/DriveWorld_[[:space:]]4D[[:space:]]Pre-trained[[:space:]]Scene[[:space:]]Understanding[[:space:]]via[[:space:]]World[[:space:]]Models[[:space:]]for[[:space:]]Autonomous[[:space:]]Driving/f6d47dee-999b-4ee9-803f-ad19884b432a_origin.pdf filter=lfs diff=lfs merge=lfs -text
3273
+ 2024/Driving[[:space:]]Everywhere[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Model[[:space:]]Policy[[:space:]]Adaptation/ced507f2-8d79-4aab-b5d5-f34cf5a10308_origin.pdf filter=lfs diff=lfs merge=lfs -text
3274
+ 2024/Driving[[:space:]]into[[:space:]]the[[:space:]]Future_[[:space:]]Multiview[[:space:]]Visual[[:space:]]Forecasting[[:space:]]and[[:space:]]Planning[[:space:]]with[[:space:]]World[[:space:]]Model[[:space:]]for[[:space:]]Autonomous[[:space:]]Driving/98637d83-1edf-45c1-9f4b-bb0fcf9036f4_origin.pdf filter=lfs diff=lfs merge=lfs -text
3275
+ 2024/Driving-Video[[:space:]]Dehazing[[:space:]]with[[:space:]]Non-Aligned[[:space:]]Regularization[[:space:]]for[[:space:]]Safety[[:space:]]Assistance/659f5fcf-ba6b-4574-9bde-69e03d711590_origin.pdf filter=lfs diff=lfs merge=lfs -text
3276
+ 2024/DrivingGaussian_[[:space:]]Composite[[:space:]]Gaussian[[:space:]]Splatting[[:space:]]for[[:space:]]Surrounding[[:space:]]Dynamic[[:space:]]Autonomous[[:space:]]Driving[[:space:]]Scenes/2fa13699-c688-48ef-8047-c2e9149f5fee_origin.pdf filter=lfs diff=lfs merge=lfs -text
3277
+ 2024/DuPL_[[:space:]]Dual[[:space:]]Student[[:space:]]with[[:space:]]Trustworthy[[:space:]]Progressive[[:space:]]Learning[[:space:]]for[[:space:]]Robust[[:space:]]Weakly[[:space:]]Supervised[[:space:]]Semantic[[:space:]]Segmentation/b0124abb-e45a-494e-b1c3-05b932ca8aa9_origin.pdf filter=lfs diff=lfs merge=lfs -text
3278
+ 2024/Dual[[:space:]]DETRs[[:space:]]for[[:space:]]Multi-Label[[:space:]]Temporal[[:space:]]Action[[:space:]]Detection/e8d6bf87-033b-4784-ad0d-1d05a9e91fd7_origin.pdf filter=lfs diff=lfs merge=lfs -text
3279
+ 2024/Dual[[:space:]]Memory[[:space:]]Networks_[[:space:]]A[[:space:]]Versatile[[:space:]]Adaptation[[:space:]]Approach[[:space:]]for[[:space:]]Vision-Language[[:space:]]Models/68cfc1da-46b9-4da9-afd3-e9d63cc8a523_origin.pdf filter=lfs diff=lfs merge=lfs -text
3280
+ 2024/Dual[[:space:]]Pose-invariant[[:space:]]Embeddings_[[:space:]]Learning[[:space:]]Category[[:space:]]and[[:space:]]Object-specific[[:space:]]Discriminative[[:space:]]Representations[[:space:]]for[[:space:]]Recognition[[:space:]]and[[:space:]]Retrieval/fe7eee9b-e2f8-4f61-ab5b-7360a789de79_origin.pdf filter=lfs diff=lfs merge=lfs -text
3281
+ 2024/Dual[[:space:]]Prior[[:space:]]Unfolding[[:space:]]for[[:space:]]Snapshot[[:space:]]Compressive[[:space:]]Imaging/580b3e38-9f77-4de9-91bf-38ec72151d82_origin.pdf filter=lfs diff=lfs merge=lfs -text
3282
+ 2024/Dual[[:space:]]Prototype[[:space:]]Attention[[:space:]]for[[:space:]]Unsupervised[[:space:]]Video[[:space:]]Object[[:space:]]Segmentation/8eb69291-e000-4aef-b767-3cb0557c2a9e_origin.pdf filter=lfs diff=lfs merge=lfs -text
3283
+ 2024/Dual-Consistency[[:space:]]Model[[:space:]]Inversion[[:space:]]for[[:space:]]Non-Exemplar[[:space:]]Class[[:space:]]Incremental[[:space:]]Learning/520c826f-8cbd-4a53-a958-cc72e9444d9e_origin.pdf filter=lfs diff=lfs merge=lfs -text
3284
+ 2024/Dual-Enhanced[[:space:]]Coreset[[:space:]]Selection[[:space:]]with[[:space:]]Class-wise[[:space:]]Collaboration[[:space:]]for[[:space:]]Online[[:space:]]Blurry[[:space:]]Class[[:space:]]Incremental[[:space:]]Learning/48bd2bc8-3786-4f52-a6a5-f8f54adedd75_origin.pdf filter=lfs diff=lfs merge=lfs -text
3285
+ 2024/Dual-Scale[[:space:]]Transformer[[:space:]]for[[:space:]]Large-Scale[[:space:]]Single-Pixel[[:space:]]Imaging/ed35fef7-f429-4f05-a98f-0561d4629006_origin.pdf filter=lfs diff=lfs merge=lfs -text
3286
+ 2024/Dual-View[[:space:]]Visual[[:space:]]Contextualization[[:space:]]for[[:space:]]Web[[:space:]]Navigation/de6a3bb6-eed0-49d4-a7a6-45305702ad87_origin.pdf filter=lfs diff=lfs merge=lfs -text
3287
+ 2024/DualAD_[[:space:]]Disentangling[[:space:]]the[[:space:]]Dynamic[[:space:]]and[[:space:]]Static[[:space:]]World[[:space:]]for[[:space:]]End-to-End[[:space:]]Driving/e39ad68c-b907-4cdc-8833-1262a3710de8_origin.pdf filter=lfs diff=lfs merge=lfs -text
3288
+ 2024/DyBluRF_[[:space:]]Dynamic[[:space:]]Neural[[:space:]]Radiance[[:space:]]Fields[[:space:]]from[[:space:]]Blurry[[:space:]]Monocular[[:space:]]Video/afb0babd-edc6-46be-958f-06a1a659d81f_origin.pdf filter=lfs diff=lfs merge=lfs -text
3289
+ 2024/DynVideo-E_[[:space:]]Harnessing[[:space:]]Dynamic[[:space:]]NeRF[[:space:]]for[[:space:]]Large-Scale[[:space:]]Motion-[[:space:]]and[[:space:]]View-Change[[:space:]]Human-Centric[[:space:]]Video[[:space:]]Editing/438d63b7-240c-46d3-b411-e0269993152e_origin.pdf filter=lfs diff=lfs merge=lfs -text
3290
+ 2024/Dynamic[[:space:]]Adapter[[:space:]]Meets[[:space:]]Prompt[[:space:]]Tuning_[[:space:]]Parameter-Efficient[[:space:]]Transfer[[:space:]]Learning[[:space:]]for[[:space:]]Point[[:space:]]Cloud[[:space:]]Analysis/4ddb62ba-f226-497a-9e27-67c4e57e02eb_origin.pdf filter=lfs diff=lfs merge=lfs -text
3291
+ 2024/Dynamic[[:space:]]Cues-Assisted[[:space:]]Transformer[[:space:]]for[[:space:]]Robust[[:space:]]Point[[:space:]]Cloud[[:space:]]Registration/18419ae7-38a2-405c-bef7-af804859abb3_origin.pdf filter=lfs diff=lfs merge=lfs -text
3292
+ 2024/Dynamic[[:space:]]Graph[[:space:]]Representation[[:space:]]with[[:space:]]Knowledge-aware[[:space:]]Attention[[:space:]]for[[:space:]]Histopathology[[:space:]]Whole[[:space:]]Slide[[:space:]]Image[[:space:]]Analysis/118e445e-c9f5-4f50-822f-70a81f6990cd_origin.pdf filter=lfs diff=lfs merge=lfs -text
3293
+ 2024/Dynamic[[:space:]]Inertial[[:space:]]Poser[[:space:]](DynaIP)_[[:space:]]Part-Based[[:space:]]Motion[[:space:]]Dynamics[[:space:]]Learning[[:space:]]for[[:space:]]Enhanced[[:space:]]Human[[:space:]]Pose[[:space:]]Estimation[[:space:]]with[[:space:]]Sparse[[:space:]]Inertial[[:space:]]Sensors/e78c5d5c-a228-4890-b0b1-bf22bb915983_origin.pdf filter=lfs diff=lfs merge=lfs -text
3294
+ 2024/Dynamic[[:space:]]LiDAR[[:space:]]Re-simulation[[:space:]]using[[:space:]]Compositional[[:space:]]Neural[[:space:]]Fields/f502bf31-c27b-4e80-a82d-c752f70c1d4d_origin.pdf filter=lfs diff=lfs merge=lfs -text
3295
+ 2024/Dynamic[[:space:]]Policy-Driven[[:space:]]Adaptive[[:space:]]Multi-Instance[[:space:]]Learning[[:space:]]for[[:space:]]Whole[[:space:]]Slide[[:space:]]Image[[:space:]]Classification/f4320555-dfb9-4c7f-a1cd-50844dd9dcc4_origin.pdf filter=lfs diff=lfs merge=lfs -text
3296
+ 2024/Dynamic[[:space:]]Prompt[[:space:]]Optimizing[[:space:]]for[[:space:]]Text-to-Image[[:space:]]Generation/af258c73-c151-4d10-a555-01670475daeb_origin.pdf filter=lfs diff=lfs merge=lfs -text
3297
+ 2024/Dynamic[[:space:]]Support[[:space:]]Information[[:space:]]Mining[[:space:]]for[[:space:]]Category-Agnostic[[:space:]]Pose[[:space:]]Estimation/f434778e-bd29-466f-86aa-9af5c2b18a03_origin.pdf filter=lfs diff=lfs merge=lfs -text
3298
+ 2024/Dysen-VDM_[[:space:]]Empowering[[:space:]]Dynamics-aware[[:space:]]Text-to-Video[[:space:]]Diffusion[[:space:]]with[[:space:]]LLMs/6e2a1ed0-806d-4437-b8f6-29e3e3bc395a_origin.pdf filter=lfs diff=lfs merge=lfs -text
3299
+ 2024/E-GPS_[[:space:]]Explainable[[:space:]]Geometry[[:space:]]Problem[[:space:]]Solving[[:space:]]via[[:space:]]Top-Down[[:space:]]Solver[[:space:]]and[[:space:]]Bottom-Up[[:space:]]Generator/d88813ea-6996-4a82-937f-f36899d585e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
3300
+ 2024/EAGLE_[[:space:]]Eigen[[:space:]]Aggregation[[:space:]]Learning[[:space:]]for[[:space:]]Object-Centric[[:space:]]Unsupervised[[:space:]]Semantic[[:space:]]Segmentation/dc4d6ab5-3d0d-4512-8238-9679352b211b_origin.pdf filter=lfs diff=lfs merge=lfs -text
3301
+ 2024/EASE-DETR_[[:space:]]Easing[[:space:]]the[[:space:]]Competition[[:space:]]among[[:space:]]Object[[:space:]]Queries/9ff0d4e0-f729-41a1-9284-a3462c62983a_origin.pdf filter=lfs diff=lfs merge=lfs -text
3302
+ 2024/ECLIPSE_[[:space:]]A[[:space:]]Resource-Efficient[[:space:]]Text-to-Image[[:space:]]Prior[[:space:]]for[[:space:]]Image[[:space:]]Generations/83a8980c-9503-4c5f-99c0-a6eb3b04e979_origin.pdf filter=lfs diff=lfs merge=lfs -text
3303
+ 2024/ECLIPSE_[[:space:]]Efficient[[:space:]]Continual[[:space:]]Learning[[:space:]]in[[:space:]]Panoptic[[:space:]]Segmentation[[:space:]]with[[:space:]]Visual[[:space:]]Prompt[[:space:]]Tuning/9f39aafa-e0ef-4ad0-a765-ad142df3abb7_origin.pdf filter=lfs diff=lfs merge=lfs -text
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_content_list.json ADDED
@@ -0,0 +1,1797 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 91,
8
+ 128,
9
+ 879,
10
+ 174
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Kunlun Xu $^{1}$ , Xu Zou $^{2}$ , Yuxin Peng $^{1}$ , Jiahuan Zhou $^{1*}$",
17
+ "bbox": [
18
+ 279,
19
+ 202,
20
+ 696,
21
+ 220
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ Wangxuan Institute of Computer Technology, Peking University, Beijing 100871, China",
28
+ "bbox": [
29
+ 217,
30
+ 222,
31
+ 750,
32
+ 238
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$^{2}$ School of Artificial Intelligence and Automation, Huazhong University of Science and Technology, Wuhan, China",
39
+ "bbox": [
40
+ 140,
41
+ 239,
42
+ 826,
43
+ 256
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "xkl@stu.pku.edu.cn, zoux@hust.edu.cn, {pengyuxin, jiahuanzhou}@pku.edu.cn",
50
+ "bbox": [
51
+ 158,
52
+ 258,
53
+ 803,
54
+ 273
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Abstract",
61
+ "text_level": 1,
62
+ "bbox": [
63
+ 233,
64
+ 308,
65
+ 313,
66
+ 325
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "Lifelong person re-identification (LReID) suffers from the catastrophic forgetting problem when learning from non-stationary data. Existing exemplar-based and knowledge distillation-based LReID methods encounter data privacy and limited acquisition capacity respectively. In this paper, we instead introduce the prototype, which is underinvestigated in LReID, to better balance knowledge forgetting and acquisition. Existing prototype-based works primarily focus on the classification task, where the prototypes are set as discrete points or statistical distributions. However, they either discard the distribution information or omit instance-level diversity which are crucial fine-grained clues for LReID. To address the above problems, we propose Distribution-aware Knowledge Prototyping (DKP) where the instance-level diversity of each sample is modeled to transfer comprehensive fine-grained knowledge for prototyping and facilitating LReID learning. Specifically, an Instance-level Distribution Modeling network is proposed to capture the local diversity of each instance. Then, the Distribution-oriented Prototype Generation algorithm transforms the instance-level diversity into identity-level distributions as prototypes, which is further explored by the designed Prototype-based Knowledge Transfer module to enhance the knowledge anti-forgetting and acquisition capacity of the LReID model. Extensive experiments verify that our method achieves superior plasticity and stability balancing and outperforms existing LReID methods by $8.1\\% / 9.1\\%$ average mAP/R@1 improvement. The code is available at https://github.com/zhoujiahuan1991/CVPR2024-DKP",
73
+ "bbox": [
74
+ 75,
75
+ 340,
76
+ 473,
77
+ 792
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "1. Introduction",
84
+ "text_level": 1,
85
+ "bbox": [
86
+ 76,
87
+ 821,
88
+ 209,
89
+ 835
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "As a conventional task in computer vision, person re-identification (ReID) [1, 19] has achieved remarkable per",
96
+ "bbox": [
97
+ 75,
98
+ 848,
99
+ 468,
100
+ 878
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/dbc0df6611196256ec6a2e86cab0008fc48c4dc7f34d01fcf2c8d9ba11615f8d.jpg",
107
+ "image_caption": [
108
+ "(a) Identity feature center $\\Delta$ as prototype"
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 506,
113
+ 308,
114
+ 888,
115
+ 441
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "image",
121
+ "img_path": "images/5e14df11e01cb98d2091264b33b85d0c05c861d2ce86d2944ee867146e1d187d.jpg",
122
+ "image_caption": [
123
+ "(b) Statistical feature distribution $\\langle \\underline{\\Delta}\\rangle$ as prototype"
124
+ ],
125
+ "image_footnote": [],
126
+ "bbox": [
127
+ 506,
128
+ 455,
129
+ 888,
130
+ 553
131
+ ],
132
+ "page_idx": 0
133
+ },
134
+ {
135
+ "type": "image",
136
+ "img_path": "images/79cbd9946aeaddf6f3903df683047d4def4efd2ccaf0e45685c775486236038c.jpg",
137
+ "image_caption": [
138
+ "(c) Instance-level distribution generated prototype (Ours) $\\langle \\overline{\\mathbf{A}}\\rangle$"
139
+ ],
140
+ "image_footnote": [],
141
+ "bbox": [
142
+ 506,
143
+ 571,
144
+ 888,
145
+ 665
146
+ ],
147
+ "page_idx": 0
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Figure 1. The comparison of different prototype generation methods. (a) Various methods [3, 8, 10] treat the prototype as a feature center point but ignore the important distribution information. (b) Some approaches [46] calculate the prototype as a statistical feature distribution but suffer from inaccurate distribution estimation. (c) Our method models the instance-level distribution of each sample, from which the obtained distribution-aware prototypes are more informative and discriminative.",
152
+ "bbox": [
153
+ 496,
154
+ 684,
155
+ 893,
156
+ 796
157
+ ],
158
+ "page_idx": 0
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "formance in static datasets where the training data are provided all at once for learning. However, the real-world deployment of these ReID models in dynamic scenarios, particularly in the context of extensive streaming data generated by surveillance systems, exposes a significant performance limitation [6, 34]. Therefore, recent efforts have",
163
+ "bbox": [
164
+ 496,
165
+ 810,
166
+ 893,
167
+ 902
168
+ ],
169
+ "page_idx": 0
170
+ },
171
+ {
172
+ "type": "header",
173
+ "text": "CVF",
174
+ "bbox": [
175
+ 106,
176
+ 2,
177
+ 181,
178
+ 42
179
+ ],
180
+ "page_idx": 0
181
+ },
182
+ {
183
+ "type": "header",
184
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
185
+ "bbox": [
186
+ 236,
187
+ 0,
188
+ 810,
189
+ 46
190
+ ],
191
+ "page_idx": 0
192
+ },
193
+ {
194
+ "type": "page_footnote",
195
+ "text": "*Corresponding author",
196
+ "bbox": [
197
+ 94,
198
+ 886,
199
+ 220,
200
+ 898
201
+ ],
202
+ "page_idx": 0
203
+ },
204
+ {
205
+ "type": "page_number",
206
+ "text": "16604",
207
+ "bbox": [
208
+ 480,
209
+ 944,
210
+ 519,
211
+ 957
212
+ ],
213
+ "page_idx": 0
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "shifted towards addressing a more challenging and practical lifelong person re-identification (LReID) problem [24, 34], where the training data from different scenarios come continually and the trained model can not only acquire new information but also preserve already learned old knowledge.",
218
+ "bbox": [
219
+ 75,
220
+ 90,
221
+ 467,
222
+ 167
223
+ ],
224
+ "page_idx": 1
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "As well-known in existing lifelong learning tasks [30], how to alleviate catastrophic forgetting is also the bottleneck for LReID. Note that this catastrophic forgetting phenomenon becomes even more critical in LReID due to the large intra-person divergences and small inter-person variations. Specifically, as a fine-grained task, the data distribution for the same person in LReID can significantly vary, stemming from temporal and environmental changes. Moreover, different persons may exhibit subtle nuances of individual information which results in severe distribution overlapping, causing the forgetting of valuable discrimination knowledge for each individual.",
229
+ "bbox": [
230
+ 75,
231
+ 169,
232
+ 467,
233
+ 349
234
+ ],
235
+ "page_idx": 1
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "To tackle this crucial issue, most existing LReID methods leverage additional memory to reserve past exemplars for reusing when learning new data [6, 34, 36], but inevitably raise severe privacy concerns and computational costs [25]. As an alternative, various rehearsal-free methods [24-26, 29] have been proposed to perform knowledge distillation by imposing output consistency constraints when encountering new datasets. However, such strict constraints would seriously limit the plasticity of the ReID model and lead to insufficient learning of the new data.",
240
+ "bbox": [
241
+ 75,
242
+ 352,
243
+ 467,
244
+ 501
245
+ ],
246
+ "page_idx": 1
247
+ },
248
+ {
249
+ "type": "text",
250
+ "text": "Recently, a few works aim to explore prototypes to mitigate catastrophic forgetting in other lifelong learning tasks, e.g., class incremental learning (CIL) [30]. These prototype-based CIL methods [8, 10, 30, 37] usually calculate or learn the feature center of a class as the prototype in Fig. 1 (a). Nevertheless, solely using a feature point as the prototype ignores the intra-class diversity information, resulting in serious forgetting caused by insufficient distribution knowledge of historical data [46]. Thus, several methods [39, 46] consider calculating a statistic feature distribution of all sample features from the same class to enhance the representation ability of prototypes. However, as illustrated in Fig. 1 (b), they simply treat all samples equally and neglect the individual characteristics. As mentioned above, in LReID, samples from the same person can show significant differences because of temporal and environmental changes. Thus, their obtained prototypes inevitably drift from the real data distribution, misleading subsequent learning by the conveyed inaccurate knowledge, especially for LReID that aims to achieve fine-grained matching.",
251
+ "bbox": [
252
+ 75,
253
+ 506,
254
+ 467,
255
+ 806
256
+ ],
257
+ "page_idx": 1
258
+ },
259
+ {
260
+ "type": "text",
261
+ "text": "In this paper, we propose a novel non-exemplar LReID method named Distribution-aware Knowledge Prototyping (DKP), that readily models the instance-level distribution of each sample to generate a more informative person-specific prototype as shown in Fig. 1 (c), thereby transferring the useful distribution knowledge to the new model and",
262
+ "bbox": [
263
+ 75,
264
+ 810,
265
+ 467,
266
+ 900
267
+ ],
268
+ "page_idx": 1
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "achieving better anti-forgetting capacity. To this end, an Instance-level Distribution Modeling (IDM) network is designed to estimate the distribution for each input instance, which is accomplished based on the sampling strategy and the proposed distribution-aware losses. Besides, to incorporate the prototypes with comprehensive instance-specific knowledge, we propose a Distribution-oriented Prototype Generation (DPG) strategy that transforms the predicted instance-level distributions into a multivariate Gaussian distribution which is registered as the distribution-aware prototype. To effectively utilize the preserved knowledge in prototypes, a Prototype-based Knowledge Transfer (PKT) module is explored to guide the new model learning via enhancing the discriminant of new identity features with the aid of historical distributions, which mitigates the forgetting of the old knowledge and guarantees new knowledge acquisition. In summary, our contributions are three-fold: (1) A novel non-exemplar LReID method is proposed that models the instance-level distribution for each input sample to achieve distribution-aware prototyping. (2) An effective knowledge transfer scheme is designed to fully explore the obtained distribution-aware prototypes for enhancing the discriminant across datasets and consolidating the learned knowledge. (3) Extensive experiments on various datasets and settings have verified the superiority of our method against the state-of-the-art LReID approaches.",
273
+ "bbox": [
274
+ 496,
275
+ 90,
276
+ 890,
277
+ 484
278
+ ],
279
+ "page_idx": 1
280
+ },
281
+ {
282
+ "type": "text",
283
+ "text": "2. Related work",
284
+ "text_level": 1,
285
+ "bbox": [
286
+ 500,
287
+ 494,
288
+ 635,
289
+ 508
290
+ ],
291
+ "page_idx": 1
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "2.1. Lifelong Person Re-Identification",
296
+ "text_level": 1,
297
+ "bbox": [
298
+ 500,
299
+ 517,
300
+ 790,
301
+ 532
302
+ ],
303
+ "page_idx": 1
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "Lifelong person re-identification (LReLUID) aims to improve the person matching capacity of the model by learning from non-stationary data [24, 34], where catastrophic forgetting is the key challenge [30, 41]. Existing LReLUID works could be categorized into two branches, rehearsal-based and knowledge distillation-based. The former ones [6, 15, 34, 36] aim to mitigate forgetting by storing the exemplar images of previous steps and replaying them when learning the new data. However, storing human images is often impractical in real scenarios due to privacy. The knowledge distillation-based approaches [14, 24–26, 29] try to preserve the old knowledge by constraining the output consistency between the old and new models. Though promising anti-forgetting capacity has been exhibited, their acquisition capacity of the new data is limited due to such strict constraints hindering model plasticity. Instead, in this paper, we investigate the non-exemplar LReLUID scenario by leveraging prototypes of different persons for anti-forgetting.",
308
+ "bbox": [
309
+ 496,
310
+ 539,
311
+ 890,
312
+ 811
313
+ ],
314
+ "page_idx": 1
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "2.2. Prototype-based Class Incremental Learning",
319
+ "text_level": 1,
320
+ "bbox": [
321
+ 500,
322
+ 818,
323
+ 879,
324
+ 834
325
+ ],
326
+ "page_idx": 1
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "Recently, various prototype-based class incremental learning (CIL) methods are proposed to continually learn new classes without preserving any historical exemplars [28, 37, 46, 48]. Some methods treat the prototype of each class as a",
331
+ "bbox": [
332
+ 496,
333
+ 839,
334
+ 890,
335
+ 900
336
+ ],
337
+ "page_idx": 1
338
+ },
339
+ {
340
+ "type": "page_number",
341
+ "text": "16605",
342
+ "bbox": [
343
+ 480,
344
+ 944,
345
+ 517,
346
+ 955
347
+ ],
348
+ "page_idx": 1
349
+ },
350
+ {
351
+ "type": "image",
352
+ "img_path": "images/a3c3f000c8e13d70fc7c5c7a0579b54eaaca58d118a87922e9f430b03e4576e5.jpg",
353
+ "image_caption": [],
354
+ "image_footnote": [],
355
+ "bbox": [
356
+ 83,
357
+ 89,
358
+ 883,
359
+ 130
360
+ ],
361
+ "page_idx": 2
362
+ },
363
+ {
364
+ "type": "image",
365
+ "img_path": "images/014beca458c76160a6eac8129e7ce373c618d9927df75cfd6d106b47a6759c27.jpg",
366
+ "image_caption": [],
367
+ "image_footnote": [],
368
+ "bbox": [
369
+ 83,
370
+ 138,
371
+ 483,
372
+ 291
373
+ ],
374
+ "page_idx": 2
375
+ },
376
+ {
377
+ "type": "image",
378
+ "img_path": "images/e99f555f704b9a043dc0a8ec11347fa78bd6202703c363b822d95af96e814406.jpg",
379
+ "image_caption": [],
380
+ "image_footnote": [],
381
+ "bbox": [
382
+ 483,
383
+ 138,
384
+ 885,
385
+ 291
386
+ ],
387
+ "page_idx": 2
388
+ },
389
+ {
390
+ "type": "image",
391
+ "img_path": "images/0c90c919c41b4ef251599ec77b7ab65695007a6538aaf6f17e0b08996f4f5434.jpg",
392
+ "image_caption": [
393
+ "Figure 2. The pipeline of our proposed Distribution-aware Knowledge Prototyping (DKP) model. (a) Our model is built upon a dual-branch convolution network where the branches predict the instance-specific distribution center and variance, respectively. Furthermore, three novel modules are designed to accomplish the learning procedure. (b) The Instance-level Distribution Modeling (IDM) module incorporates the random sampling and the ReID losses $\\mathcal{L}_{trip - d}$ , $\\mathcal{L}_{ce - d}$ to facilitate the distribution learning of each instance. (c) The Prototype-based Knowledge Transfer (PKT) module utilizes the previous step prototypes $\\mathcal{P}_{t - 1}$ to mitigate forgetting. (d) The Distribution-oriented Prototype Generation (DPG) transforms the learned insistence-level center and variance into prototypes of the current step $\\mathcal{P}_t$ ."
394
+ ],
395
+ "image_footnote": [],
396
+ "bbox": [
397
+ 83,
398
+ 292,
399
+ 483,
400
+ 385
401
+ ],
402
+ "page_idx": 2
403
+ },
404
+ {
405
+ "type": "image",
406
+ "img_path": "images/584c794c7db89e5e2f71d933465d93ba1cd8915dc80de295c2421b4a19af1f68.jpg",
407
+ "image_caption": [],
408
+ "image_footnote": [],
409
+ "bbox": [
410
+ 483,
411
+ 292,
412
+ 885,
413
+ 385
414
+ ],
415
+ "page_idx": 2
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "learnable embedding vector [2, 33, 47], and others calculate the mean feature of all samples from the same class as the prototype [10, 28, 46]. When learning the new classes, the obtained prototypes are utilized to represent the knowledge of old classes for classifier training [28]. Considering using a single feature center point will inevitably result in the lack of informative distribution of data, the latest methods [46] proposed to simultaneously calculate the mean feature vector and its variance from all samples to depict the distribution information of a class. However, such a strategy simply assumes each sample has the same impact on the estimated distribution regardless of the intra-class diversity of samples. Therefore, the obtained prototype exhibits a distribution drift, thereby misleading the sequential learning steps.",
420
+ "bbox": [
421
+ 75,
422
+ 488,
423
+ 468,
424
+ 700
425
+ ],
426
+ "page_idx": 2
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "2.3. Distribution Learning",
431
+ "text_level": 1,
432
+ "bbox": [
433
+ 76,
434
+ 710,
435
+ 282,
436
+ 727
437
+ ],
438
+ "page_idx": 2
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "In computer vision, the information of distribution is crucial to describe the inherent probabilistic knowledge of data [20, 49]. Existing distribution learning methods focus on modeling the data uncertainty to handle the out-of-distribution data [23, 38, 45]. Specifically, [20] estimated the uncertainty of labels in domain adaptive semantic segmentation to recognize and rectify the noise labels. Similarly, [38] adopted distribution learning to alleviate the negative impacts of label noises and outliers on model training. In this paper, we propose to model the instance-level distribution of each sample in LReID, based on which the fine",
443
+ "bbox": [
444
+ 75,
445
+ 734,
446
+ 468,
447
+ 900
448
+ ],
449
+ "page_idx": 2
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "grained instance-specific information could be mined and integrated into the obtained distribution-aware prototypes to mitigate catastrophic forgetting of historical knowledge.",
454
+ "bbox": [
455
+ 498,
456
+ 488,
457
+ 890,
458
+ 532
459
+ ],
460
+ "page_idx": 2
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "3. The Proposed DKP Method",
465
+ "text_level": 1,
466
+ "bbox": [
467
+ 500,
468
+ 547,
469
+ 756,
470
+ 564
471
+ ],
472
+ "page_idx": 2
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "3.1. Problem Formulation",
477
+ "text_level": 1,
478
+ "bbox": [
479
+ 500,
480
+ 571,
481
+ 702,
482
+ 585
483
+ ],
484
+ "page_idx": 2
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "In non-exemplar LReLU, a stream of $T$ training datasets $\\mathcal{D} = \\{D_t\\}_{t=1}^T$ collected from different domains are provided step by step. At the $t$ -th training step, the images of previous $t-1$ datasets are unavailable. Given a dataset $D_t$ with $N_t$ identities, our method obtains a prototype set $\\mathcal{P}_t = \\{\\pmb{p}_i\\}_{i=1}^{N_t}$ for all identities. For each instance, our method learns a multivariate Gaussian distribution $\\mathcal{N}(\\pmb{c}, \\pmb{v}^2)$ , where $\\pmb{c} \\in \\mathbb{R}^d$ is the feature center vector of dimension $d$ , and $\\pmb{v}^2 \\in \\mathbb{R}^d$ is the diagonal element vector derived from the diagonal covariance matrix $\\pmb{\\Sigma} \\in \\mathbb{R}^{d \\times d}$ .",
489
+ "bbox": [
490
+ 498,
491
+ 595,
492
+ 890,
493
+ 746
494
+ ],
495
+ "page_idx": 2
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "3.2. The Overall Pipeline of DKP",
500
+ "text_level": 1,
501
+ "bbox": [
502
+ 500,
503
+ 755,
504
+ 756,
505
+ 771
506
+ ],
507
+ "page_idx": 2
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "At the $t$ -th learning step, the overall pipeline of our proposed DKP model, as depicted in Fig. 2 (a), is based on a dual-branch convolutional network $M_{t}$ . Given a set of $n$ input images $\\{x_{i}\\}_{i = 1}^{n}$ from $D_{t}$ , a backbone network is utilized to extract image features. Then, one branch consisting of a pooling layer followed by a linear layer is responsible for predicting the distribution centers of each input instance, denoted as $\\mathcal{C} = \\{c_i\\}_{i = 1}^n$ . Meanwhile, the other",
512
+ "bbox": [
513
+ 496,
514
+ 779,
515
+ 890,
516
+ 902
517
+ ],
518
+ "page_idx": 2
519
+ },
520
+ {
521
+ "type": "page_number",
522
+ "text": "16606",
523
+ "bbox": [
524
+ 480,
525
+ 944,
526
+ 517,
527
+ 955
528
+ ],
529
+ "page_idx": 2
530
+ },
531
+ {
532
+ "type": "text",
533
+ "text": "branch which comprises a convolution layer, followed by a pooling layer and a linear layer, is adopted to estimate the distribution variances of the instances $\\mathcal{V} = \\{v_i^2\\}_{i=1}^n$ . To enhance the model capability of knowledge acquisition and anti-forgetting, three innovative modules are accordingly designed to leverage the prototypes from the previous step $\\mathcal{P}_{t-1}$ , as well as generate prototypes of the current step $\\mathcal{P}_t$ .",
534
+ "bbox": [
535
+ 76,
536
+ 90,
537
+ 472,
538
+ 198
539
+ ],
540
+ "page_idx": 3
541
+ },
542
+ {
543
+ "type": "text",
544
+ "text": "3.3. Instance-level Distribution Modeling",
545
+ "text_level": 1,
546
+ "bbox": [
547
+ 76,
548
+ 204,
549
+ 395,
550
+ 222
551
+ ],
552
+ "page_idx": 3
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "In this section, we aim to guide the model to learn the instance-level distribution which contains fine-grained data knowledge as illustrated in Fig. 2 (b). Specifically, once the instance centers $\\mathcal{C} = \\{c_i\\}_{i=1}^n$ and variances $\\mathcal{V} = \\{v_i^2\\}_{i=1}^n$ are predicted by the model, for each instance $x_i$ , we adopt a Gaussian sampler parameterized as $\\mathcal{N}(c_i, v_i^2)$ to sample $m$ feature candidates $\\{f_i^{(j)}\\}_{j=1}^m$ , where each $f_i^{(j)}$ is assigned the same identity label as $c_i$ . To ensure identity consistency between $\\{f_i^{(j)}\\}_{j=1}^m$ and $c_i$ , a distribution-aware cross-entropy loss $\\mathcal{L}_{ce-d}$ is calculated as below:",
557
+ "bbox": [
558
+ 75,
559
+ 227,
560
+ 472,
561
+ 383
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "equation",
567
+ "text": "\n$$\n\\mathcal {L} _ {c e - d} = \\frac {1}{m + 1} \\left[ y _ {i} \\log \\boldsymbol {\\rho} \\left(\\mathbf {W} _ {t} \\boldsymbol {c} _ {i}\\right) + \\sum_ {j = 1} ^ {m} y _ {i} \\log \\boldsymbol {\\rho} \\left(\\mathbf {W} _ {t} \\boldsymbol {f} _ {i} ^ {(j)}\\right) \\right], \\tag {1}\n$$\n",
568
+ "text_format": "latex",
569
+ "bbox": [
570
+ 84,
571
+ 388,
572
+ 468,
573
+ 426
574
+ ],
575
+ "page_idx": 3
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "where $y_{i}$ is the identity label of image $x_{i}$ , $\\rho$ represents the softmax function, and $\\mathbf{W}_t$ denotes the linear projection parameter to map the features to logits.",
580
+ "bbox": [
581
+ 76,
582
+ 431,
583
+ 468,
584
+ 474
585
+ ],
586
+ "page_idx": 3
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "Moreover, we further extend the widely used triplet loss in existing LReID models [29, 36] to a distribution-oriented version, denoted as $\\mathcal{L}_{tri-d}$ . Given $n$ images $\\{x_i\\}_{i=1}^n$ and their sampling set $\\mathcal{F}_s = \\{(f_i^{(j)}, y_i) | 1 \\leq i \\leq n, 1 \\leq j \\leq m\\}$ , the $\\mathcal{L}_{tri-d}$ for an instance $x_i$ is calculated by:",
591
+ "bbox": [
592
+ 76,
593
+ 477,
594
+ 470,
595
+ 555
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "equation",
601
+ "text": "\n$$\n\\mathcal {L} _ {t r i - d} = \\log \\left(1 + \\exp \\left(\\left\\| \\boldsymbol {c} _ {i} - \\boldsymbol {f} _ {p} ^ {\\prime} \\right\\| _ {2} ^ {2} - \\left\\| \\boldsymbol {c} _ {i} - \\boldsymbol {f} _ {n} ^ {\\prime} \\right\\| _ {2} ^ {2}\\right)\\right), \\tag {2}\n$$\n",
602
+ "text_format": "latex",
603
+ "bbox": [
604
+ 81,
605
+ 561,
606
+ 468,
607
+ 599
608
+ ],
609
+ "page_idx": 3
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "where $\\pmb{c}_i$ , $\\pmb{f}_p'$ , and $\\pmb{f}_n'$ indicate the anchor point, positive point, and negative point respectively. Specifically, $\\pmb{f}_p'$ and $\\pmb{f}_n'$ is obtained by:",
614
+ "bbox": [
615
+ 76,
616
+ 599,
617
+ 468,
618
+ 648
619
+ ],
620
+ "page_idx": 3
621
+ },
622
+ {
623
+ "type": "equation",
624
+ "text": "\n$$\n\\left\\{ \\begin{array}{l} \\boldsymbol {f} _ {p} ^ {\\prime} = \\arg \\max _ {\\left(\\boldsymbol {f} ^ {\\prime}, y ^ {\\prime}\\right) \\in \\mathcal {F} _ {s}, y ^ {\\prime} = y _ {i}} \\| \\boldsymbol {c} _ {i} - \\boldsymbol {f} ^ {\\prime} \\| _ {2} ^ {2} \\\\ \\boldsymbol {f} _ {n} ^ {\\prime} = \\arg \\min _ {\\left(\\boldsymbol {f} ^ {\\prime}, y ^ {\\prime}\\right) \\in \\mathcal {F} _ {s}, y ^ {\\prime} \\neq y _ {i}} \\| \\boldsymbol {c} _ {i} - \\boldsymbol {f} ^ {\\prime} \\| _ {2} ^ {2}, \\end{array} \\right. \\tag {3}\n$$\n",
625
+ "text_format": "latex",
626
+ "bbox": [
627
+ 132,
628
+ 655,
629
+ 468,
630
+ 710
631
+ ],
632
+ "page_idx": 3
633
+ },
634
+ {
635
+ "type": "text",
636
+ "text": "where $(f', y')$ is the feature candidate and identity label pair. Based on $\\mathcal{L}_{ce-d}$ and $\\mathcal{L}_{tri-d}$ , the instances of the same identity can be pushed together and the ones of different identities would be pulled away which promotes discriminative knowledge learning. Besides, when an instance is away from its corresponding identity center, it tends to learn a larger $v_i^2$ to generate samples closer to other instances of the same identity [5, 38].",
637
+ "bbox": [
638
+ 75,
639
+ 717,
640
+ 472,
641
+ 839
642
+ ],
643
+ "page_idx": 3
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "3.4. Distribution-oriented Prototype Generation",
648
+ "text_level": 1,
649
+ "bbox": [
650
+ 76,
651
+ 847,
652
+ 447,
653
+ 864
654
+ ],
655
+ "page_idx": 3
656
+ },
657
+ {
658
+ "type": "text",
659
+ "text": "To preserve abundant and informative knowledge of each identity without retaining any exemplar, the joint distribu",
660
+ "bbox": [
661
+ 76,
662
+ 869,
663
+ 468,
664
+ 901
665
+ ],
666
+ "page_idx": 3
667
+ },
668
+ {
669
+ "type": "image",
670
+ "img_path": "images/6df3b0a2037ce717f350316473e2bfb0e2d52908e3b7ef33d364df90b430a24c.jpg",
671
+ "image_caption": [
672
+ "(a) PASS"
673
+ ],
674
+ "image_footnote": [],
675
+ "bbox": [
676
+ 511,
677
+ 93,
678
+ 692,
679
+ 227
680
+ ],
681
+ "page_idx": 3
682
+ },
683
+ {
684
+ "type": "image",
685
+ "img_path": "images/04e504fa3ea3822476a0253f3c4a82211befe51972deb56738f0aba3eaebd93b.jpg",
686
+ "image_caption": [
687
+ "(b) Ours",
688
+ "Figure 3. Visualization of our instance-level distribution-aware prototype and statistical feature distribution-based prototype [46]."
689
+ ],
690
+ "image_footnote": [],
691
+ "bbox": [
692
+ 705,
693
+ 94,
694
+ 883,
695
+ 227
696
+ ],
697
+ "page_idx": 3
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "tion of all instances within an identity $k$ is formulated as the distribution-aware prototype, which is parameterized as $\\mathcal{N}(\\pmb{\\mu}_k, \\pmb{\\sigma}_k^2)$ where $\\pmb{\\mu}_k \\in \\mathbb{R}^d$ and $\\pmb{\\sigma}_k^2 \\in \\mathbb{R}^d$ represent the mean and variance respectively. Specifically, given identity $k$ with $n_k$ instances $\\{x_i^k\\}_{i=1}^{n_k}$ in the training set (For simplicity, we denote these $n_k$ instances as $\\{x_i\\}_{i=1}^{n_k}$ ), the identity distribution center $\\pmb{\\mu}_k$ could be obtained by:",
702
+ "bbox": [
703
+ 496,
704
+ 285,
705
+ 890,
706
+ 392
707
+ ],
708
+ "page_idx": 3
709
+ },
710
+ {
711
+ "type": "equation",
712
+ "text": "\n$$\n\\boldsymbol {\\mu} _ {k} = \\frac {1}{n _ {k}} \\sum_ {i = 1} ^ {n _ {k}} \\boldsymbol {c} _ {i}, \\tag {4}\n$$\n",
713
+ "text_format": "latex",
714
+ "bbox": [
715
+ 627,
716
+ 401,
717
+ 890,
718
+ 440
719
+ ],
720
+ "page_idx": 3
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "where $c_{i}$ is the learned enter of the instance $x_{i}$ . Besides, the identity distribution variance $\\sigma_{k}^{2}$ could be obtained by:",
725
+ "bbox": [
726
+ 498,
727
+ 449,
728
+ 890,
729
+ 481
730
+ ],
731
+ "page_idx": 3
732
+ },
733
+ {
734
+ "type": "equation",
735
+ "text": "\n$$\n\\begin{array}{l} \\boldsymbol {\\sigma} _ {k} ^ {2} = \\int \\boldsymbol {x} ^ {2} \\varphi (\\boldsymbol {x}, \\boldsymbol {\\mu} _ {k}, \\boldsymbol {\\sigma} _ {k}) d \\boldsymbol {x} - \\left(\\int \\boldsymbol {x} \\varphi (\\boldsymbol {x}, \\boldsymbol {\\mu} _ {k}, \\boldsymbol {\\sigma} _ {k}) d \\boldsymbol {x}\\right) ^ {2} \\\\ = \\frac {1}{n _ {k}} \\sum_ {i = 1} ^ {n _ {k}} \\left(\\boldsymbol {c} _ {i} ^ {2} + \\boldsymbol {v} _ {i} ^ {2}\\right) - \\left(\\frac {1}{n _ {k}} \\sum_ {i = 1} ^ {n _ {k}} \\boldsymbol {c} _ {i}\\right) ^ {2}, \\tag {5} \\\\ \\end{array}\n$$\n",
736
+ "text_format": "latex",
737
+ "bbox": [
738
+ 509,
739
+ 488,
740
+ 890,
741
+ 574
742
+ ],
743
+ "page_idx": 3
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "where",
748
+ "bbox": [
749
+ 500,
750
+ 575,
751
+ 544,
752
+ 588
753
+ ],
754
+ "page_idx": 3
755
+ },
756
+ {
757
+ "type": "equation",
758
+ "text": "\n$$\n\\varphi (\\boldsymbol {x}, \\boldsymbol {\\mu} _ {k}, \\boldsymbol {\\sigma} _ {k}) = \\frac {e ^ {- \\frac {1}{2} (\\boldsymbol {x} - \\boldsymbol {\\mu} _ {k}) ^ {\\top} \\boldsymbol {\\Sigma} _ {k} ^ {- 1} (\\boldsymbol {x} - \\boldsymbol {\\mu} _ {k})}}{(2 \\pi) ^ {d / 2} | \\boldsymbol {\\Sigma} _ {k} | ^ {1 / 2}} \\tag {6}\n$$\n",
759
+ "text_format": "latex",
760
+ "bbox": [
761
+ 558,
762
+ 595,
763
+ 890,
764
+ 633
765
+ ],
766
+ "page_idx": 3
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "is the distribution function denoted by $\\mathcal{N}(\\pmb{\\mu}_k, \\pmb{\\sigma}_k^2)$ and $\\pmb{\\Sigma}_k$ is a diagonal matrix whose diagonal elements are $\\pmb{\\sigma}_k^2$ . Similarly, $\\varphi(\\pmb{x}, \\pmb{c}_i, \\pmb{v}_i)$ is the distribution functions denoted by $\\mathcal{N}(\\pmb{c}_i, \\pmb{v}_i^2)$ . More derivation of Eq. (4) and Eq. (5) is provided in the Supplementary Material. Compared to the statistical feature distribution-based prototypes [46] that only utilize $\\pmb{c}_i$ to obtain identity-level divergence, our proposed distribution-oriented prototype simultaneously considers $\\pmb{c}_i$ and $\\pmb{v}_i$ when calculating $\\pmb{\\sigma}_k^2$ , making our prototype more informative. To be noted, $\\pmb{v}_i^2$ is important in describing the precise distribution of an identity. As illustrated in Fig. 3, our predicted distribution could better depict the area of identities with fewer outliers and more discriminative boundaries between identities.",
771
+ "bbox": [
772
+ 496,
773
+ 641,
774
+ 890,
775
+ 851
776
+ ],
777
+ "page_idx": 3
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "In this paper, $\\pmb{\\mu}_k$ and $\\sigma_k^2$ are calculated after the completion of the $t$ -th training step, and $\\mathcal{P}_t = \\{(\\pmb{\\mu}_k,\\pmb{\\sigma}_k^2)\\}_{k=1}^{N_t}$ is preserved for the next step.",
782
+ "bbox": [
783
+ 496,
784
+ 853,
785
+ 890,
786
+ 901
787
+ ],
788
+ "page_idx": 3
789
+ },
790
+ {
791
+ "type": "page_number",
792
+ "text": "16607",
793
+ "bbox": [
794
+ 480,
795
+ 944,
796
+ 517,
797
+ 955
798
+ ],
799
+ "page_idx": 3
800
+ },
801
+ {
802
+ "type": "table",
803
+ "img_path": "images/2b0b89a75c2713f9acbcc9e462dc7d2bbb1f3cac7f411be1664907ce5af0a826.jpg",
804
+ "table_caption": [],
805
+ "table_footnote": [],
806
+ "table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\">Method</td><td colspan=\"2\">Market1501</td><td colspan=\"2\">CUHK-SYSU</td><td colspan=\"2\">DukeMTMC</td><td colspan=\"2\">MSMT17</td><td colspan=\"2\">CUHK03</td><td colspan=\"2\">Seen-Avg</td><td colspan=\"2\">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td></td><td>Joint-Train</td><td>75.3</td><td>90.1</td><td>84.5</td><td>86.0</td><td>66.9</td><td>81.6</td><td>31.6</td><td>57.1</td><td>58.5</td><td>61.4</td><td>63.4</td><td>75.2</td><td>55.2</td><td>48.2</td></tr><tr><td rowspan=\"4\">CIL</td><td>LwF [21]</td><td>56.3</td><td>77.1</td><td>72.9</td><td>75.1</td><td>29.6</td><td>46.5</td><td>6.0</td><td>16.6</td><td>36.1</td><td>37.5</td><td>40.2</td><td>50.6</td><td>47.2</td><td>42.6</td></tr><tr><td>SPD [31]</td><td>35.6</td><td>61.2</td><td>61.7</td><td>64.0</td><td>27.5</td><td>47.1</td><td>5.2</td><td>15.5</td><td>42.2</td><td>44.3</td><td>34.4</td><td>46.4</td><td>40.4</td><td>36.6</td></tr><tr><td>PRAKA* [28]</td><td>37.4</td><td>61.3</td><td>69.3</td><td>71.8</td><td>35.4</td><td>55.0</td><td>10.7</td><td>27.2</td><td>54.0</td><td>55.6</td><td>41.3</td><td>54.2</td><td>47.7</td><td>41.6</td></tr><tr><td>PRD* [2]</td><td>7.3</td><td>18.0</td><td>33.5</td><td>35.6</td><td>3.7</td><td>7.6</td><td>0.8</td><td>2.4</td><td>33.8</td><td>33.8</td><td>15.8</td><td>19.5</td><td>23.0</td><td>17.7</td></tr><tr><td rowspan=\"5\">LReID</td><td>CRL [42]</td><td>58.0</td><td>78.2</td><td>72.5</td><td>75.1</td><td>28.3</td><td>45.2</td><td>6.0</td><td>15.8</td><td>37.4</td><td>39.8</td><td>40.5</td><td>50.8</td><td>47.8</td><td>43.5</td></tr><tr><td>AKA [24]</td><td>51.2</td><td>72.0</td><td>47.5</td><td>45.1</td><td>18.7</td><td>33.1</td><td>16.4</td><td>37.6</td><td>27.7</td><td>27.6</td><td>32.3</td><td>43.1</td><td>44.3</td><td>40.4</td></tr><tr><td>\\( AKA† \\) [24]</td><td>58.1</td><td>77.4</td><td>72.5</td><td>74.8</td><td>28.7</td><td>45.2</td><td>6.1</td><td>16.2</td><td>38.7</td><td>40.4</td><td>40.8</td><td>50.8</td><td>47.6</td><td>42.6</td></tr><tr><td>PatchKD [29]</td><td>68.5</td><td>85.7</td><td>75.6</td><td>78.6</td><td>33.8</td><td>50.4</td><td>6.5</td><td>17.0</td><td>34.1</td><td>36.8</td><td>43.7</td><td>53.7</td><td>49.1</td><td>45.4</td></tr><tr><td>MEGE [26]</td><td>39.0</td><td>61.6</td><td>73.3</td><td>76.6</td><td>16.9</td><td>30.3</td><td>4.6</td><td>13.4</td><td>36.4</td><td>37.1</td><td>34.0</td><td>43.8</td><td>47.7</td><td>44.0</td></tr><tr><td></td><td>DKP(Ours)</td><td>60.3</td><td>80.6</td><td>83.6</td><td>85.4</td><td>51.6</td><td>68.4</td><td>19.7</td><td>41.8</td><td>43.6</td><td>44.2</td><td>51.8</td><td>64.1</td><td>59.2</td><td>51.6</td></tr></table>",
807
+ "bbox": [
808
+ 84,
809
+ 88,
810
+ 883,
811
+ 291
812
+ ],
813
+ "page_idx": 4
814
+ },
815
+ {
816
+ "type": "table",
817
+ "img_path": "images/36951b54c61e778ab5539a0c6896d7d8152febd63e0ce99870309cdb2aa3aa35.jpg",
818
+ "table_caption": [
819
+ "Table 1. Training Order-1: Market-1501 → CUHK-SYSU → DukeMTMC-reID → MSMT17-V2→ CUHK03. * denotes the results are reproduced by the released official code. † denotes the results reported by [29]."
820
+ ],
821
+ "table_footnote": [],
822
+ "table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\">Method</td><td colspan=\"2\">DukeMTMC</td><td colspan=\"2\">MSMT17</td><td colspan=\"2\">Market1501</td><td colspan=\"2\">CUHK-SYSU</td><td colspan=\"2\">CUHK03</td><td colspan=\"2\">Seen-Avg</td><td colspan=\"2\">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td></td><td>Joint-Train</td><td>66.9</td><td>81.6</td><td>31.6</td><td>57.1</td><td>75.3</td><td>90.1</td><td>84.5</td><td>86.0</td><td>58.5</td><td>61.4</td><td>63.4</td><td>75.2</td><td>55.2</td><td>48.2</td></tr><tr><td rowspan=\"4\">CIL</td><td>LwF [21]</td><td>42.7</td><td>61.7</td><td>5.1</td><td>14.3</td><td>34.4</td><td>58.6</td><td>69.9</td><td>73.0</td><td>34.1</td><td>34.1</td><td>37.2</td><td>48.4</td><td>44.0</td><td>40.1</td></tr><tr><td>SPD [31]</td><td>28.5</td><td>48.5</td><td>3.7</td><td>11.5</td><td>32.3</td><td>57.4</td><td>62.1</td><td>65.0</td><td>43.0</td><td>45.2</td><td>33.9</td><td>45.5</td><td>39.8</td><td>36.3</td></tr><tr><td>PRAKA* [28]</td><td>31.2</td><td>48.7</td><td>6.6</td><td>19.1</td><td>47.8</td><td>69.8</td><td>70.4</td><td>73.0</td><td>54.9</td><td>56.6</td><td>42.2</td><td>53.4</td><td>48.4</td><td>41.1</td></tr><tr><td>PRD* [2]</td><td>3.6</td><td>8.2</td><td>0.6</td><td>1.8</td><td>8.9</td><td>22.3</td><td>34.6</td><td>36.1</td><td>35.4</td><td>35.3</td><td>16.6</td><td>20.7</td><td>20.7</td><td>15.0</td></tr><tr><td rowspan=\"5\">LReID</td><td>CRL [42]</td><td>43.5</td><td>63.1</td><td>4.8</td><td>13.7</td><td>35.0</td><td>59.8</td><td>70.0</td><td>72.8</td><td>34.5</td><td>36.8</td><td>37.6</td><td>49.2</td><td>45.3</td><td>41.4</td></tr><tr><td>AKA [24]</td><td>32.5</td><td>49.7</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>40.8</td><td>37.2</td></tr><tr><td>\\( AKA\\dagger \\) [24]</td><td>42.2</td><td>60.1</td><td>5.4</td><td>15.1</td><td>37.2</td><td>59.8</td><td>71.2</td><td>73.9</td><td>36.9</td><td>37.9</td><td>38.6</td><td>49.4</td><td>46.0</td><td>41.7</td></tr><tr><td>PatchKD [29]</td><td>58.3</td><td>74.1</td><td>6.4</td><td>17.4</td><td>43.2</td><td>67.4</td><td>74.5</td><td>76.9</td><td>33.7</td><td>34.8</td><td>43.2</td><td>54.1</td><td>48.6</td><td>44.1</td></tr><tr><td>MEGE [26]</td><td>21.6</td><td>35.5</td><td>3.0</td><td>9.3</td><td>25.0</td><td>49.8</td><td>69.9</td><td>73.1</td><td>34.7</td><td>35.1</td><td>30.8</td><td>40.6</td><td>44.3</td><td>41.1</td></tr><tr><td></td><td>DKP(Ours)</td><td>53.4</td><td>70.5</td><td>14.5</td><td>33.3</td><td>60.6</td><td>81.0</td><td>83.0</td><td>84.9</td><td>45.0</td><td>46.1</td><td>51.3</td><td>63.2</td><td>59.0</td><td>51.6</td></tr></table>",
823
+ "bbox": [
824
+ 84,
825
+ 329,
826
+ 883,
827
+ 534
828
+ ],
829
+ "page_idx": 4
830
+ },
831
+ {
832
+ "type": "text",
833
+ "text": "Table 2. Training Order-2: DukeMTMC-reID → MSMT17-V2→ Market-1501 → CUHK-SYSU → CUHK03. * denotes the results are reproduced by the released official code. † denotes the results reported by [29]. ‘-’ denotes the result was not reported in the original paper.",
834
+ "bbox": [
835
+ 75,
836
+ 536,
837
+ 892,
838
+ 566
839
+ ],
840
+ "page_idx": 4
841
+ },
842
+ {
843
+ "type": "text",
844
+ "text": "3.5. Prototype-based Knowledge Transfer",
845
+ "text_level": 1,
846
+ "bbox": [
847
+ 76,
848
+ 578,
849
+ 400,
850
+ 595
851
+ ],
852
+ "page_idx": 4
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "In our method, the prototypes from the previous step describe the old identity distributions in the feature space. When new data is introduced, the extracted new features should be distinguishable from the old distributions. To achieve this, we propose a Prototype Knowledge Transfer scheme: Firstly, as illustrated in Fig. 2 (c), given a set of prototypes $\\mathcal{P}_{t-1} = \\left\\{(\\boldsymbol{\\mu}_i, \\boldsymbol{\\sigma}_i^2)\\right\\}_{i=1}^{N_{t-1}}$ , we sample $N_{t-1}$ prototype features $\\mathcal{F}_p = \\{g_i\\}_{i=1}^{N_{t-1}}$ according to the distribution $\\mathcal{N}(\\boldsymbol{\\mu}_i, \\boldsymbol{\\sigma}_i^2)$ , where $\\mathcal{F}_p$ is formed as a matrix $\\mathbf{F}_p \\in \\mathbb{R}^{N_{t-1} \\times d}$ . For a batch of $n$ images where the predicted feature centers are transformed into a matrix $\\mathbf{F}_c \\in \\mathbb{R}^{n \\times d}$ , we obtain a prototype-aware coordinate matrix $\\mathbf{C}_p$ by:",
857
+ "bbox": [
858
+ 75,
859
+ 601,
860
+ 470,
861
+ 787
862
+ ],
863
+ "page_idx": 4
864
+ },
865
+ {
866
+ "type": "equation",
867
+ "text": "\n$$\n\\mathbf {C} _ {p} = \\rho \\left(\\mathbf {F} _ {c} \\mathbf {F} _ {p} ^ {\\top} / \\lambda_ {1}\\right), \\tag {7}\n$$\n",
868
+ "text_format": "latex",
869
+ "bbox": [
870
+ 202,
871
+ 795,
872
+ 468,
873
+ 816
874
+ ],
875
+ "page_idx": 4
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "where the softmax function $\\rho$ is applied row-wisely and $\\lambda_{1}$ is the temperature parameter [12] to scale the matrix values. Note that each row of $\\mathbf{C}_p$ encodes the relative distance between $x_{i}$ and all prototypes. Then, to ensure the discriminant between the new and old data, and additionally",
880
+ "bbox": [
881
+ 75,
882
+ 825,
883
+ 470,
884
+ 901
885
+ ],
886
+ "page_idx": 4
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "guide the new model learning with old knowledge, we co-optimize the inter-instance affinity with the proposed Prototype Knowledge Transfer loss which is calculated by:",
891
+ "bbox": [
892
+ 496,
893
+ 579,
894
+ 890,
895
+ 625
896
+ ],
897
+ "page_idx": 4
898
+ },
899
+ {
900
+ "type": "equation",
901
+ "text": "\n$$\n\\mathcal {L} _ {p r o t o - d} = \\mathcal {L} _ {K L} \\left(\\boldsymbol {\\rho} \\left(\\mathbf {C} _ {p} \\mathbf {C} _ {p} ^ {\\top} / \\lambda_ {2}\\right) \\| \\boldsymbol {\\rho} \\left(\\mathbf {F} _ {c} \\mathbf {F} _ {c} ^ {\\top} / \\lambda_ {2}\\right)\\right), \\tag {8}\n$$\n",
902
+ "text_format": "latex",
903
+ "bbox": [
904
+ 522,
905
+ 630,
906
+ 890,
907
+ 650
908
+ ],
909
+ "page_idx": 4
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "where $\\mathcal{L}_{KL}$ is the Kullback Leibler divergence [11] and $\\lambda_{2}$ is another temperature parameter. $\\rho (\\mathbf{C}_p\\mathbf{C}_p^\\top)$ and $\\rho (\\mathbf{F}_c\\mathbf{F}_c^\\top)$ are the inter-instance affinity matrix where each row represents the relative similarity between an instance $x_{i}$ and all instances. Because $\\mathbf{C}_p$ is obtained by integrating old distribution knowledge with the new feature, optimizing Eq. (8) guarantees the acquisition of new data and mitigates forgetting of old knowledge.",
914
+ "bbox": [
915
+ 496,
916
+ 656,
917
+ 890,
918
+ 777
919
+ ],
920
+ "page_idx": 4
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "3.6. Training and Inference",
925
+ "text_level": 1,
926
+ "bbox": [
927
+ 500,
928
+ 785,
929
+ 714,
930
+ 800
931
+ ],
932
+ "page_idx": 4
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "During training, we follow the procedure illustrated in Fig. 2 and the overall loss is:",
937
+ "bbox": [
938
+ 496,
939
+ 808,
940
+ 890,
941
+ 838
942
+ ],
943
+ "page_idx": 4
944
+ },
945
+ {
946
+ "type": "equation",
947
+ "text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {c e - d} + \\alpha \\mathcal {L} _ {t r i - d} + \\beta \\mathcal {L} _ {p r o t o - d}, \\tag {9}\n$$\n",
948
+ "text_format": "latex",
949
+ "bbox": [
950
+ 570,
951
+ 845,
952
+ 890,
953
+ 864
954
+ ],
955
+ "page_idx": 4
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "where $\\alpha$ and $\\beta$ are hyperparameters to balance the loss weights. In this paper, we set $\\alpha = 1.5$ and $\\beta = 0.1$ re",
960
+ "bbox": [
961
+ 496,
962
+ 869,
963
+ 890,
964
+ 901
965
+ ],
966
+ "page_idx": 4
967
+ },
968
+ {
969
+ "type": "page_number",
970
+ "text": "16608",
971
+ "bbox": [
972
+ 480,
973
+ 944,
974
+ 519,
975
+ 957
976
+ ],
977
+ "page_idx": 4
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "spectively. At the end of the $t$ -th learning step, to further blend the knowledge, we fuse the learned model $M_{t}$ and the old model $M_{t-1}$ as post-processing",
982
+ "bbox": [
983
+ 75,
984
+ 90,
985
+ 472,
986
+ 137
987
+ ],
988
+ "page_idx": 5
989
+ },
990
+ {
991
+ "type": "equation",
992
+ "text": "\n$$\n\\boldsymbol {M} _ {t} \\leftarrow \\left(\\boldsymbol {M} _ {t} + \\boldsymbol {M} _ {t - 1}\\right) / 2. \\tag {10}\n$$\n",
993
+ "text_format": "latex",
994
+ "bbox": [
995
+ 183,
996
+ 148,
997
+ 468,
998
+ 165
999
+ ],
1000
+ "page_idx": 5
1001
+ },
1002
+ {
1003
+ "type": "text",
1004
+ "text": "During testing, we use the predicted feature center $c$ of input image $x$ as shown in Fig. 2 (a) for person matching.",
1005
+ "bbox": [
1006
+ 75,
1007
+ 175,
1008
+ 468,
1009
+ 205
1010
+ ],
1011
+ "page_idx": 5
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "text": "4. Experiments",
1016
+ "text_level": 1,
1017
+ "bbox": [
1018
+ 76,
1019
+ 218,
1020
+ 209,
1021
+ 234
1022
+ ],
1023
+ "page_idx": 5
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "4.1. Experimental Settings",
1028
+ "text_level": 1,
1029
+ "bbox": [
1030
+ 76,
1031
+ 243,
1032
+ 284,
1033
+ 258
1034
+ ],
1035
+ "page_idx": 5
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Benchmarks. We conduct the experiments on the LReID benchmark [24] which comprises a total of twelve ReID datasets. Among them, five datasets (Market1501 [44], DukeMTMC-reID [27], CUHK-SYSU [35], MSMT17-V2 [32], and CUHK03 [18]) are used as seen domains for lifelong training and testing. To verify the performance consistency of the models, two different dataset orders are adopted to form various lifelong learning scenarios $^{1}$ $^{2}$ . Additionally, the other seven datasets (CUHK01 [17], CUHK02 [16], VIPeR [7], PRID [13], i-LIDS [4], GRID [22], and SenseReID [43]) are tested as the unseen domains to show the generalization capacity of the models. Evaluation Metrics. The mean Average Precision (mAP) and Rank@1 accuracy $(\\mathbb{R}@\\mathbb{1})$ on each dataset are utilized to evaluate the model on specific domains. Besides, the average mAP and average R@1 on all seen and unseen domains are calculated to compare the overall lifelong learning and generalization capacity of the models respectively.",
1040
+ "bbox": [
1041
+ 75,
1042
+ 266,
1043
+ 468,
1044
+ 537
1045
+ ],
1046
+ "page_idx": 5
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "Implementation Details. For a fair comparison with existing LReID methods [24, 29], we utilize the ResNet50 architecture as our backbone. For both training orders, we train the first dataset for 80 epochs, and the subsequent datasets for 60 epochs each. A mini-batch size of 128 is adopted, where 32 identities are sampled with 4 images for each identity during training. For model optimization, the SGD optimizer with a learning rate of 0.008 and a weight decay of 0.0001 is used. Furthermore, the temperature parameter $\\lambda_{1}$ and $\\lambda_{2}$ are set as 0.1.",
1051
+ "bbox": [
1052
+ 75,
1053
+ 537,
1054
+ 470,
1055
+ 689
1056
+ ],
1057
+ "page_idx": 5
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "4.2. The Compared Methods",
1062
+ "text_level": 1,
1063
+ "bbox": [
1064
+ 76,
1065
+ 698,
1066
+ 302,
1067
+ 714
1068
+ ],
1069
+ "page_idx": 5
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "To extensively evaluate our method, various state-of-the-art non-exemplar LReID approaches including CRL [42], AKA [24], PatchKD [29], MEGE [26] are compared. Additionally, the latest class incremental learning (CIL) methods, LwF [21], SPD [40], PRAKA [28], and PRD [2], are also tested. To ensure a fair comparison, all models are implemented with the same backbone and training settings. Thus for the CIL models, we incorporate the widely adopted",
1074
+ "bbox": [
1075
+ 75,
1076
+ 720,
1077
+ 468,
1078
+ 842
1079
+ ],
1080
+ "page_idx": 5
1081
+ },
1082
+ {
1083
+ "type": "image",
1084
+ "img_path": "images/60e50592721b2e1e767f3790d5cd74920c2a365adcf5d9e5ecc92c6e33d76858.jpg",
1085
+ "image_caption": [
1086
+ "Figure 4. Performance tendency on seen domains. After each training step, the model is evaluated on the already-seen domains."
1087
+ ],
1088
+ "image_footnote": [],
1089
+ "bbox": [
1090
+ 511,
1091
+ 90,
1092
+ 694,
1093
+ 262
1094
+ ],
1095
+ "page_idx": 5
1096
+ },
1097
+ {
1098
+ "type": "image",
1099
+ "img_path": "images/11ac50832e692269872f71c60d32a3a2da7c6059fa303ba69ef26d1351d00110.jpg",
1100
+ "image_caption": [],
1101
+ "image_footnote": [],
1102
+ "bbox": [
1103
+ 694,
1104
+ 90,
1105
+ 875,
1106
+ 262
1107
+ ],
1108
+ "page_idx": 5
1109
+ },
1110
+ {
1111
+ "type": "image",
1112
+ "img_path": "images/42d44ef60c16bfdba5b4bd7586b0087905a56ed06f1b798856d3a694ccdd41f9.jpg",
1113
+ "image_caption": [
1114
+ "Figure 5. Performance tendency on unseen domains. After each training step, the performance of all unseen domains is evaluated."
1115
+ ],
1116
+ "image_footnote": [],
1117
+ "bbox": [
1118
+ 511,
1119
+ 295,
1120
+ 694,
1121
+ 465
1122
+ ],
1123
+ "page_idx": 5
1124
+ },
1125
+ {
1126
+ "type": "image",
1127
+ "img_path": "images/411e59fa068ab973bbae1e974b8409352208c801014c9e4c7226d8e1f5a642f6.jpg",
1128
+ "image_caption": [],
1129
+ "image_footnote": [],
1130
+ "bbox": [
1131
+ 694,
1132
+ 295,
1133
+ 875,
1134
+ 465
1135
+ ],
1136
+ "page_idx": 5
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "triplet loss [9] to align with the LReID methods. In addition, the Joint-Train result, the upper bound of the LReID models where all datasets are given at once for training, is also reported. Besides, we also implement Finetune that trains on the datasets step by step without anti-forgetting designs.",
1141
+ "bbox": [
1142
+ 498,
1143
+ 501,
1144
+ 890,
1145
+ 578
1146
+ ],
1147
+ "page_idx": 5
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "4.3. Seen-Domain Performance Evaluation",
1152
+ "text_level": 1,
1153
+ "bbox": [
1154
+ 500,
1155
+ 588,
1156
+ 830,
1157
+ 603
1158
+ ],
1159
+ "page_idx": 5
1160
+ },
1161
+ {
1162
+ "type": "text",
1163
+ "text": "We present the results of different methods on each seen domain and the average performance across all seen domains (Seen-Avg) in Tab. 1 and Tab. 2, corresponding to Training Order-1 and Training Order-2 respectively. The best and second best results are marked in Bold and underlined.",
1164
+ "bbox": [
1165
+ 498,
1166
+ 612,
1167
+ 890,
1168
+ 686
1169
+ ],
1170
+ "page_idx": 5
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "Compared to LReID Methods: As reported in Tab. 1 and Tab. 2, our DKP outperforms all existing LReID models significantly. Compared to the second-best player PatchKD, our method achieves an improvement of $8.1\\% / 10.4\\%$ and $8.1\\% / 9.1\\%$ on the average mAP/R@1 performance for seen domains. Notably, PatchKD performs better than ours on the initial dataset because it employs a strict knowledge distillation constraint that enforces output consistency on the new and old models, thereby enhancing the model's anti-forgetting capacity. However, the learnability of PatchKD is severely limited to new data, resulting in inferior performance on subsequent datasets.",
1175
+ "bbox": [
1176
+ 496,
1177
+ 688,
1178
+ 890,
1179
+ 868
1180
+ ],
1181
+ "page_idx": 5
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "Compared to CIL Methods: Our DKP outperforms the CIL methods on the Market1501, CUHK-SYSU,",
1186
+ "bbox": [
1187
+ 498,
1188
+ 869,
1189
+ 890,
1190
+ 898
1191
+ ],
1192
+ "page_idx": 5
1193
+ },
1194
+ {
1195
+ "type": "page_footnote",
1196
+ "text": "$^{1}$ Training Order-1: Market1501 $\\rightarrow$ CUHK-SYSU $\\rightarrow$ DukeMTMC $\\rightarrow$ MSMT17 $\\rightarrow$ CUHK03.",
1197
+ "bbox": [
1198
+ 75,
1199
+ 849,
1200
+ 467,
1201
+ 875
1202
+ ],
1203
+ "page_idx": 5
1204
+ },
1205
+ {
1206
+ "type": "page_footnote",
1207
+ "text": "$^{2}$ Training Order-2: DukeMTMC $\\rightarrow$ MSMT17 $\\rightarrow$ Market1501 $\\rightarrow$ CUHK-SYSU $\\rightarrow$ CUHK03.",
1208
+ "bbox": [
1209
+ 76,
1210
+ 875,
1211
+ 467,
1212
+ 898
1213
+ ],
1214
+ "page_idx": 5
1215
+ },
1216
+ {
1217
+ "type": "page_number",
1218
+ "text": "16609",
1219
+ "bbox": [
1220
+ 480,
1221
+ 944,
1222
+ 517,
1223
+ 955
1224
+ ],
1225
+ "page_idx": 5
1226
+ },
1227
+ {
1228
+ "type": "image",
1229
+ "img_path": "images/cb040765175cad411b36e8060b35a78795d177e35102836edcf7973db6f7c9f7.jpg",
1230
+ "image_caption": [
1231
+ "(a) The weight of $\\mathcal{L}_{tri-d}$"
1232
+ ],
1233
+ "image_footnote": [],
1234
+ "bbox": [
1235
+ 89,
1236
+ 88,
1237
+ 285,
1238
+ 258
1239
+ ],
1240
+ "page_idx": 6
1241
+ },
1242
+ {
1243
+ "type": "image",
1244
+ "img_path": "images/1e72752ffffb0a4060db6f2dc3b5038144561e92cb3306cf948e6c8bcdfebdb4.jpg",
1245
+ "image_caption": [
1246
+ "(b) The weight of $\\mathcal{L}_{proto - d}$"
1247
+ ],
1248
+ "image_footnote": [],
1249
+ "bbox": [
1250
+ 289,
1251
+ 88,
1252
+ 486,
1253
+ 258
1254
+ ],
1255
+ "page_idx": 6
1256
+ },
1257
+ {
1258
+ "type": "image",
1259
+ "img_path": "images/29be5e55d8b37fdf06a9226b4b82afc8aca439118f9d327284b562dcf9f726ed.jpg",
1260
+ "image_caption": [
1261
+ "(c) Stored prototype stages"
1262
+ ],
1263
+ "image_footnote": [],
1264
+ "bbox": [
1265
+ 490,
1266
+ 88,
1267
+ 687,
1268
+ 258
1269
+ ],
1270
+ "page_idx": 6
1271
+ },
1272
+ {
1273
+ "type": "image",
1274
+ "img_path": "images/a898ba06f902fe51759a507b3d524b42b7b19f81f5aec0420bb09c593ecc25c8.jpg",
1275
+ "image_caption": [
1276
+ "(d) Feature candidates number"
1277
+ ],
1278
+ "image_footnote": [],
1279
+ "bbox": [
1280
+ 691,
1281
+ 90,
1282
+ 880,
1283
+ 258
1284
+ ],
1285
+ "page_idx": 6
1286
+ },
1287
+ {
1288
+ "type": "table",
1289
+ "img_path": "images/b332a3fc015d4b011b2134e079b07ea2e5808ffa04fbe2870299b3f506875d75.jpg",
1290
+ "table_caption": [],
1291
+ "table_footnote": [],
1292
+ "table_body": "<table><tr><td rowspan=\"2\">Baseline</td><td rowspan=\"2\">IDM</td><td rowspan=\"2\">DPG&amp;PKT</td><td colspan=\"2\">Seen-Avg</td><td colspan=\"2\">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td>✓</td><td></td><td></td><td>44.0</td><td>53.4</td><td>46.8</td><td>39.8</td></tr><tr><td>✓</td><td>✓</td><td></td><td>46.1</td><td>60.0</td><td>51.6</td><td>45.5</td></tr><tr><td>✓</td><td></td><td>✓</td><td>50.0</td><td>62.2</td><td>57.7</td><td>49.9</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>51.8</td><td>64.1</td><td>59.2</td><td>51.6</td></tr></table>",
1293
+ "bbox": [
1294
+ 81,
1295
+ 303,
1296
+ 464,
1297
+ 398
1298
+ ],
1299
+ "page_idx": 6
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "Table 3. Ablation study of different components.",
1304
+ "bbox": [
1305
+ 127,
1306
+ 402,
1307
+ 418,
1308
+ 417
1309
+ ],
1310
+ "page_idx": 6
1311
+ },
1312
+ {
1313
+ "type": "text",
1314
+ "text": "DukeMTMC, and MSMT17 datasets, exhibiting an average $\\mathrm{mAP} / \\mathrm{R} @ 1$ improvement of $10.5\\% /9.9\\%$ and $9.1\\% /9.8\\%$ across both training orders for seen domains. We observe that although the prototype-based model PRAKA excels our DKP on the last domain CUHK03, our model achieves remarkably higher performance than PRAKA in the early-stage domains and superior average performance on both seen and unseen domains, owing to the knowledgeable information encoded by our distribution-aware prototypes, which mitigates the forgetting caused by domain shifts.",
1315
+ "bbox": [
1316
+ 75,
1317
+ 426,
1318
+ 468,
1319
+ 577
1320
+ ],
1321
+ "page_idx": 6
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Seen Domain Performance Tendency. Fig. 4 demonstrates the anti-forgetting capacity of different models. Compared to other methods, our DKP initially obtains slightly inferior performance. This disparity arises mainly because our proposed instance-level distribution learning component partially slows down the convergence. With the increase in training steps, our model exhibits superior average performance. These results indicate that our method excels in the long-term consolidation of knowledge.",
1326
+ "bbox": [
1327
+ 75,
1328
+ 579,
1329
+ 468,
1330
+ 715
1331
+ ],
1332
+ "page_idx": 6
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "4.4. Unseen-Domain Generalization Evaluation",
1337
+ "text_level": 1,
1338
+ "bbox": [
1339
+ 76,
1340
+ 724,
1341
+ 442,
1342
+ 739
1343
+ ],
1344
+ "page_idx": 6
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "The average performance on unseen domains is shown in the last two columns of Tab. 1 and Tab. 2. Our method demonstrates superior generalization capabilities compared to state-of-the-art CIL models, exhibiting an average $\\mathrm{mAP / R@1}$ improvement of $11.5\\% /9.0\\%$ and $10.6\\% /10.5\\%$ across both training orders. Furthermore, our model also significantly outperforms the LReID models by a margin of $10.1\\% /6.2\\%$ and $10.4\\% /7.5\\%$ average $\\mathrm{mAP / R@1}$ improvement. These results substantiate that our model effectively consolidates more generalizable knowledge.",
1349
+ "bbox": [
1350
+ 75,
1351
+ 750,
1352
+ 470,
1353
+ 901
1354
+ ],
1355
+ "page_idx": 6
1356
+ },
1357
+ {
1358
+ "type": "image",
1359
+ "img_path": "images/e27f47f527745259ce2c4ab29362d4a8ef9f67cf488e4a642e8065ce4caaffe9.jpg",
1360
+ "image_caption": [
1361
+ "Figure 6. Ablation studies on hyperparameters. The values marked by the dashed lines are adopted by our proposed method."
1362
+ ],
1363
+ "image_footnote": [],
1364
+ "bbox": [
1365
+ 514,
1366
+ 303,
1367
+ 692,
1368
+ 439
1369
+ ],
1370
+ "page_idx": 6
1371
+ },
1372
+ {
1373
+ "type": "image",
1374
+ "img_path": "images/772ab980a997f96865ea4443108426e87645e5e60ab8aae5c3010719e3de470f.jpg",
1375
+ "image_caption": [
1376
+ "(b) Epoch-20"
1377
+ ],
1378
+ "image_footnote": [],
1379
+ "bbox": [
1380
+ 705,
1381
+ 303,
1382
+ 883,
1383
+ 439
1384
+ ],
1385
+ "page_idx": 6
1386
+ },
1387
+ {
1388
+ "type": "image",
1389
+ "img_path": "images/dd50f796405438f4194a283b5d82c39a878f3b65a20b89b87b0c348f8f9327a2.jpg",
1390
+ "image_caption": [
1391
+ "(a) Epoch-10",
1392
+ "(c) Epoch-30"
1393
+ ],
1394
+ "image_footnote": [],
1395
+ "bbox": [
1396
+ 514,
1397
+ 465,
1398
+ 691,
1399
+ 599
1400
+ ],
1401
+ "page_idx": 6
1402
+ },
1403
+ {
1404
+ "type": "image",
1405
+ "img_path": "images/d08a4dbe711cd67c5c7293f02490889af3a35284be85ba579113892c6d92f843.jpg",
1406
+ "image_caption": [
1407
+ "(d) Epochh-40",
1408
+ "Figure 7. The visualization of the learned distributions under different training epochs."
1409
+ ],
1410
+ "image_footnote": [],
1411
+ "bbox": [
1412
+ 705,
1413
+ 465,
1414
+ 883,
1415
+ 601
1416
+ ],
1417
+ "page_idx": 6
1418
+ },
1419
+ {
1420
+ "type": "text",
1421
+ "text": "Generalization Curves. We further analyze the average performance on the unseen domains along the lifelong training steps, as depicted in Fig. 5. The results show that our DKP could preserve more generalizable knowledge compared to existing methods. Additionally, our method exhibits faster performance growth across the training steps, further highlighting its superior generalization capability.",
1422
+ "bbox": [
1423
+ 496,
1424
+ 660,
1425
+ 890,
1426
+ 767
1427
+ ],
1428
+ "page_idx": 6
1429
+ },
1430
+ {
1431
+ "type": "text",
1432
+ "text": "4.5. Ablation Studies",
1433
+ "text_level": 1,
1434
+ "bbox": [
1435
+ 500,
1436
+ 773,
1437
+ 663,
1438
+ 787
1439
+ ],
1440
+ "page_idx": 6
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "Influence of Different Components. As shown in Tab. 3, the Baseline model is the framework excluding our IDM, DPG and PKT. We then add these modules to evaluate their impacts. Because the DPG module does not independently influence the model training, we integrate it as the front module of PKT, formulating the combined module as DPG&PKT. As we can see, the utilization of both",
1445
+ "bbox": [
1446
+ 496,
1447
+ 794,
1448
+ 890,
1449
+ 898
1450
+ ],
1451
+ "page_idx": 6
1452
+ },
1453
+ {
1454
+ "type": "page_number",
1455
+ "text": "16610",
1456
+ "bbox": [
1457
+ 480,
1458
+ 944,
1459
+ 517,
1460
+ 955
1461
+ ],
1462
+ "page_idx": 6
1463
+ },
1464
+ {
1465
+ "type": "image",
1466
+ "img_path": "images/1fdbf7bfecba99180fcfa0fafea00871d8753cb0a11ffce213084305e03ea705.jpg",
1467
+ "image_caption": [
1468
+ "(a) Joint-Train"
1469
+ ],
1470
+ "image_footnote": [],
1471
+ "bbox": [
1472
+ 101,
1473
+ 104,
1474
+ 277,
1475
+ 220
1476
+ ],
1477
+ "page_idx": 7
1478
+ },
1479
+ {
1480
+ "type": "image",
1481
+ "img_path": "images/107a1e5de4a8e4697aafe3757aac4164de95c36835bed9e0e7e959b3946f7e98.jpg",
1482
+ "image_caption": [
1483
+ "(b) Finetune"
1484
+ ],
1485
+ "image_footnote": [],
1486
+ "bbox": [
1487
+ 297,
1488
+ 106,
1489
+ 472,
1490
+ 220
1491
+ ],
1492
+ "page_idx": 7
1493
+ },
1494
+ {
1495
+ "type": "image",
1496
+ "img_path": "images/f1c612f529f0364a903f8b0bfd6d3671debaf94a27f9b5e951cded8c1f4cd1de.jpg",
1497
+ "image_caption": [
1498
+ "(c) PatchKD",
1499
+ "Figure 8. The t-SNE visualization results of the learned features on five seen datasets."
1500
+ ],
1501
+ "image_footnote": [],
1502
+ "bbox": [
1503
+ 493,
1504
+ 106,
1505
+ 666,
1506
+ 220
1507
+ ],
1508
+ "page_idx": 7
1509
+ },
1510
+ {
1511
+ "type": "image",
1512
+ "img_path": "images/827c21e0a686d143ec4ff92638350bab06042ee9d808bf0204395653aed03a61.jpg",
1513
+ "image_caption": [
1514
+ "(d) Ours"
1515
+ ],
1516
+ "image_footnote": [],
1517
+ "bbox": [
1518
+ 687,
1519
+ 106,
1520
+ 864,
1521
+ 220
1522
+ ],
1523
+ "page_idx": 7
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "the IDM and DPG&PKT modules consistently leads to performance improvements on both seen and unseen domains. The instance-level distribution modeling in IDM guides the model to learn more discriminative features. Additionally, DPG&PKT facilitates the transfer of distribution knowledge encoded in the prototypes to the new model that effectively mitigates forgetting. When both two modules are used together, the performance is further improved because the instance distributions modeled by IDM promote the knowledge transfer capacity of DPG&PKT.",
1528
+ "bbox": [
1529
+ 75,
1530
+ 263,
1531
+ 468,
1532
+ 412
1533
+ ],
1534
+ "page_idx": 7
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "Influence of Hyperparameters. We analyze the effects of weights for $\\mathcal{L}_{tri-d}$ and $\\mathcal{L}_{proto-d}$ in Fig. 6 (a) and (b). The results indicate that the model performance varies significantly as $\\alpha$ changes. This is because $\\mathcal{L}_{tri-d}$ is powerful in guiding the model to learn discriminative knowledge. However, an excessively large value of $\\mathcal{L}_{tri-d}$ can lead to optimization instability. In contrast, $\\mathcal{L}_{proto-d}$ has a more stable influence on the model since it imposes a looser constraint. In this paper, we set $\\alpha = 1.5$ and $\\beta = 0.1$ by default according to the results in Fig. 6 (a) and Fig. 6 (b). In Fig. 6 (c), we examine the impact of storing the prototypes from previous $K$ stages during lifelong training. The results show a declining tendency as $K$ increases. This is due to the prototypes from older steps becoming outdated as the model evolves. Thus, we only utilize the prototypes of the previous step in this paper. Lastly, we investigated the influence of the sampled feature candidate number $m$ in Fig. 6 (d). The findings reveal that a higher sampling number leads to better performance, as it enables more accurate modeling of the instance distribution. For the sake of performance and effectiveness, we set $m = 6$ .",
1539
+ "bbox": [
1540
+ 75,
1541
+ 415,
1542
+ 470,
1543
+ 733
1544
+ ],
1545
+ "page_idx": 7
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "text": "4.6. Visualization Results",
1550
+ "text_level": 1,
1551
+ "bbox": [
1552
+ 76,
1553
+ 744,
1554
+ 274,
1555
+ 758
1556
+ ],
1557
+ "page_idx": 7
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "text": "To illustrate the distribution modeling process of our DKP, the t-SNE visualization in Fig. 7 shows the learned centers and variances of training samples at different epochs. At the initial epochs, the features exhibit a dispersed pattern and the learned variance is large. As the epoch number increases, the features become well-clustered and the learned variances are smaller. Simultaneously, the discriminative boundaries between different clusters are obtained, indicating that different individuals are better distinguished.",
1562
+ "bbox": [
1563
+ 75,
1564
+ 763,
1565
+ 468,
1566
+ 900
1567
+ ],
1568
+ "page_idx": 7
1569
+ },
1570
+ {
1571
+ "type": "text",
1572
+ "text": "Besides, we also visualize the features of different datasets shown in Fig. 8 in comparison with Joint-Train, Finetune, and PatchKD. Joint-Train represents all the data is available at once and different datasets are automatically learned to be separate. Due to the non-stationary data stream, both Finetune and PatchKD struggle to accumulate enough knowledge to separate the datasets. However, owing to the effective knowledge accumulation capacity of our distribution-aware knowledge prototyping model, each dataset can be discriminatively separated. This can be attributed to our prototype knowledge transfer loss $\\mathcal{L}_{proto - d}$ which facilitates both cross-step discriminant enhancement and consolidation of historical knowledge.",
1573
+ "bbox": [
1574
+ 496,
1575
+ 263,
1576
+ 892,
1577
+ 460
1578
+ ],
1579
+ "page_idx": 7
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "text": "4.7. Discussion and Future Work",
1584
+ "text_level": 1,
1585
+ "bbox": [
1586
+ 498,
1587
+ 467,
1588
+ 754,
1589
+ 481
1590
+ ],
1591
+ "page_idx": 7
1592
+ },
1593
+ {
1594
+ "type": "text",
1595
+ "text": "Our proposed method outperforms existing methods on the average performance over all datasets, but it still falls short compared to PatchKD and PRAKA on the first and last datasets, respectively, indicating potential space for performance improvement. Additionally, the prototypes from earlier steps do not contribute to knowledge transfer in our method due to their outdated nature, while they still contain valuable distribution information to some extent which should be investigated in the future.",
1596
+ "bbox": [
1597
+ 496,
1598
+ 487,
1599
+ 890,
1600
+ 623
1601
+ ],
1602
+ "page_idx": 7
1603
+ },
1604
+ {
1605
+ "type": "text",
1606
+ "text": "5. Conclusion",
1607
+ "text_level": 1,
1608
+ "bbox": [
1609
+ 500,
1610
+ 635,
1611
+ 617,
1612
+ 648
1613
+ ],
1614
+ "page_idx": 7
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "In this paper, we focus on the non-exemplar LReID and propose a prototype-based method Distribution-aware Knowledge Prototyping (DKP). To encode more fine-grained knowledge into the prototypes, we propose Instance-level Distribution Modeling and Distribution-oriented Prototype Generation modules to capture the instance-level distribution and generate distribution-aware prototypes. Besides, a Prototype-based Knowledge Transfer module is developed to consolidate the old knowledge from the prototypes into the new model. Extensive experimental results show DKP outperforms existing LReID models by a large margin. To our knowledge, DKP is a pioneer LReID work that adapts the prototype to model distribution knowledge.",
1619
+ "bbox": [
1620
+ 496,
1621
+ 657,
1622
+ 890,
1623
+ 853
1624
+ ],
1625
+ "page_idx": 7
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "text": "Acknowledgments. This work was supported by the National Natural Science Foundation of China (62376011, 61925201, 62132001).",
1630
+ "bbox": [
1631
+ 496,
1632
+ 854,
1633
+ 890,
1634
+ 898
1635
+ ],
1636
+ "page_idx": 7
1637
+ },
1638
+ {
1639
+ "type": "header",
1640
+ "text": "- Market1501 - CUHK-SYSU - DUKEMTMC - MSMT17 - CUHK03",
1641
+ "bbox": [
1642
+ 282,
1643
+ 87,
1644
+ 691,
1645
+ 97
1646
+ ],
1647
+ "page_idx": 7
1648
+ },
1649
+ {
1650
+ "type": "page_number",
1651
+ "text": "16611",
1652
+ "bbox": [
1653
+ 480,
1654
+ 945,
1655
+ 517,
1656
+ 955
1657
+ ],
1658
+ "page_idx": 7
1659
+ },
1660
+ {
1661
+ "type": "text",
1662
+ "text": "References",
1663
+ "text_level": 1,
1664
+ "bbox": [
1665
+ 78,
1666
+ 89,
1667
+ 173,
1668
+ 104
1669
+ ],
1670
+ "page_idx": 8
1671
+ },
1672
+ {
1673
+ "type": "list",
1674
+ "sub_type": "ref_text",
1675
+ "list_items": [
1676
+ "[1] Ejaz Ahmed, Michael Jones, and Tim K Marks. An improved deep learning architecture for person re-identification. In CVPR, pages 3908–3916. IEEE, 2015. 1",
1677
+ "[2] Nader Asadi, MohammadReza Davari, Sudhir Mudur, Rahaf Aljundi, and Eugene Belilovsky. Prototype-sample relation distillation: towards replay-free continual learning. In ICML, pages 1093-1106. PMLR, 2023. 3, 5, 6",
1678
+ "[3] Eden Belouadah and Adrian Popescu. Deesil: Deep-shallow incremental learning. In ECCVW, pages 0–0. Springer, 2018. 1",
1679
+ "[4] Home Office Scientific Development Branch. Imagery library for intelligent detection systems (i-lids). In 2006 IET Conference on Crime and Security, pages 445-448. IET, 2006. 6",
1680
+ "[5] Jie Chang, Zhonghao Lan, Changmao Cheng, and Yichen Wei. Data uncertainty learning in face recognition. In CVPR, pages 5710-5719, 2020. 4",
1681
+ "[6] Wenhang Ge, Junlong Du, Ancong Wu, Yuqiao Xian, Ke Yan, Feiyue Huang, and Wei-Shi Zheng. Lifelong person re-identification by pseudo task knowledge preservation. In AAAI, pages 688–696, 2022. 1, 2",
1682
+ "[7] Douglas Gray and Hai Tao. Viewpoint invariant pedestrian recognition with an ensemble of localized features. In ECCV, pages 262-275. Springer, 2008. 6",
1683
+ "[8] Tyler L Hayes and Christopher Kanan. Lifelong machine learning with deep streaming linear discriminant analysis. In CVPRW, pages 220-221. IEEE, 2020. 1, 2",
1684
+ "[9] Shuting He, Hao Luo, Pichao Wang, Fan Wang, Hao Li, and Wei Jiang. Transreid: Transformer-based object re-identification. In ICCV, pages 14993-15002. IEEE, 2021. 6",
1685
+ "[10] Michael Hersche, Geethan Karunaratne, Giovanni Cherubini, Luca Benini, Abu Sebastian, and Abbas Rahimi. Constrained few-shot class-incremental learning. In CVPR, pages 9057-9067. IEEE, 2022. 1, 2, 3",
1686
+ "[11] John R Hershey and Peder A Olsen. Approximating the kullback leibler divergence between gaussian mixture models. In ICASSP, pages IV-317. IEEE, 2007. 5",
1687
+ "[12] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 5",
1688
+ "[13] Martin Hirzer, Csaba Beleznai, Peter M Roth, and Horst Bischof. Person re-identification by descriptive and discriminative classification. In Image Analysis, pages 91–102. Springer, 2011. 6",
1689
+ "[14] Jinze Huang, Xiaohan Yu, Dong An, Yaoguang Wei, Xiao Bai, Jin Zheng, Chen Wang, and Jun Zhou. Learning consistent region features for lifelong person re-identification. PR, 144:109837, 2023. 2",
1690
+ "[15] Zhipeng Huang, Zhizheng Zhang, Cuiling Lan, Wenjun Zeng, Peng Chu, Quanzeng You, Jiang Wang, Zicheng Liu, and Zheng-jun Zha. Lifelong unsupervised domain adaptive person re-identification with coordinated anti-forgetting and adaptation. In CVPR, pages 14288-14297. IEEE, 2022. 2"
1691
+ ],
1692
+ "bbox": [
1693
+ 78,
1694
+ 114,
1695
+ 470,
1696
+ 900
1697
+ ],
1698
+ "page_idx": 8
1699
+ },
1700
+ {
1701
+ "type": "list",
1702
+ "sub_type": "ref_text",
1703
+ "list_items": [
1704
+ "[16] Wei Li and Xiaogang Wang. Locally aligned feature transforms across views. In CVPR, pages 3594-3601. IEEE, 2013. 6",
1705
+ "[17] Wei Li, Rui Zhao, and Xiaogang Wang. Human reidentification with transferred metric learning. In ACCV, pages 31-44. Springer, 2012. 6",
1706
+ "[18] Wei Li, Rui Zhao, Tong Xiao, and Xiaogang Wang. Deepreid: Deep filter pairing neural network for person re-identification. In CVPR, pages 152–159. IEEE, 2014. 6",
1707
+ "[19] Wei Li, Xiatian Zhu, and Shaogang Gong. Harmonious attention network for person re-identification. In CVPR, pages 2285–2294. IEEE, 2018. 1",
1708
+ "[20] Yi Li, Yiqun Duan, Zhanghui Kuang, Yimin Chen, Wayne Zhang, and Xiaomeng Li. Uncertainty estimation via response scaling for pseudo-mask noise mitigation in weakly-supervised semantic segmentation. In AAAI, pages 1447-1455, 2022. 3",
1709
+ "[21] Zhizhong Li and Derek Hoiem. Learning without forgetting. PAMI, 40(12):2935-2947, 2017. 5, 6",
1710
+ "[22] Chen Change Loy, Tao Xiang, and Shaogang Gong. Time-delayed correlation analysis for multi-camera activity understanding. IJCV, 90(1):106-129, 2010. 6",
1711
+ "[23] Fan Lu, Kai Zhu, Wei Zhai, Kecheng Zheng, and Yang Cao. Uncertainty-aware optimal transport for semantically coherent out-of-distribution detection. In CVPR, pages 3282-3291. IEEE, 2023. 3",
1712
+ "[24] Nan Pu, Wei Chen, Yu Liu, Erwin M Bakker, and Michael S Lew. Lifelong person re-identification via adaptive knowledge accumulation. In CVPR, pages 7897-7906. IEEE, 2021. 2, 5, 6",
1713
+ "[25] Nan Pu, Yu Liu, Wei Chen, Erwin M Bakker, and Michael S Lew. Meta reconciliation normalization for lifelong person re-identification. In ACMM, pages 541–549, 2022. 2",
1714
+ "[26] Nan Pu, Zhun Zhong, Nicu Sebe, and Michael S Lew. A memorizing and generalizing framework for lifelong person re-identification. PAMI, 2023. 2, 5, 6",
1715
+ "[27] Ergys Ristani, Francesco Solera, Roger Zou, Rita Cucchiara, and Carlo Tomasi. Performance measures and a data set for multi-target, multi-camera tracking. In ECCV, pages 17-35. Springer, 2016. 6",
1716
+ "[28] Wuxuan Shi and Mang Ye. Prototype reminiscence and augmented asymmetric knowledge aggregation for nonexemplar class-incremental learning. In ICCV, pages 1772-1781. IEEE, 2023. 2, 3, 5, 6",
1717
+ "[29] Zhicheng Sun and Yadong Mu. Patch-based knowledge distillation for lifelong person re-identification. In ACMMM, pages 696–707, 2022. 2, 4, 5, 6",
1718
+ "[30] Marco Toldo and Mete Ozay. Bring evanescent representations to life in lifelong class incremental learning. In CVPR, pages 16732-16741. IEEE, 2022. 2",
1719
+ "[31] Fred Tung and Greg Mori. Similarity-preserving knowledge distillation. In ICCV, pages 1365-1374. IEEE, 2019. 5",
1720
+ "[32] Longhui Wei, Shiliang Zhang, Wen Gao, and Qi Tian. Person transfer gan to bridge domain gap for person re-identification. In CVPR, pages 79–88. IEEE, 2018. 6",
1721
+ "[33] Yujie Wei, Jiaxin Ye, Zhizhong Huang, Junping Zhang, and Hongming Shan. Online prototype learning for online con"
1722
+ ],
1723
+ "bbox": [
1724
+ 501,
1725
+ 92,
1726
+ 890,
1727
+ 900
1728
+ ],
1729
+ "page_idx": 8
1730
+ },
1731
+ {
1732
+ "type": "page_number",
1733
+ "text": "16612",
1734
+ "bbox": [
1735
+ 480,
1736
+ 945,
1737
+ 519,
1738
+ 955
1739
+ ],
1740
+ "page_idx": 8
1741
+ },
1742
+ {
1743
+ "type": "list",
1744
+ "sub_type": "ref_text",
1745
+ "list_items": [
1746
+ "tinual learning. In ICCV, pages 18764-18774. IEEE, 2023. 3",
1747
+ "[34] Guile Wu and Shaogang Gong. Generalising without forgetting for lifelong person re-identification. In AAAI, pages 2889–2897, 2021. 1, 2",
1748
+ "[35] Tong Xiao, Shuang Li, Bochao Wang, Liang Lin, and Xiaogang Wang. End-to-end deep learning for person search. arXiv:1604.01850, 2(2):4, 2016. 6",
1749
+ "[36] Chunlin Yu, Ye Shi, Zimo Liu, Shenghua Gao, and Jingya Wang. Lifelong person re-identification via knowledge refreshing and consolidation. In AAAI, pages 3295–3303, 2023. 2, 4",
1750
+ "[37] Lu Yu, Bartlomiej Twardowski, Xialei Liu, Luis Herranz, Kai Wang, Yongmei Cheng, Shangling Jui, and Joost van de Weijer. Semantic drift compensation for class-incremental learning. In CVPR, pages 6982-6991. IEEE, 2020. 2",
1751
+ "[38] Tianyuan Yu, Da Li, Yongxin Yang, Timothy M Hospedales, and Tao Xiang. Robust person re-identification by modelling feature uncertainty. In ICCV, pages 552–561. IEEE, 2019. 3, 4",
1752
+ "[39] Baoquan Zhang, Xutao Li, Yunming Ye, Zhichao Huang, and Lisai Zhang. Prototype completion with primitive knowledge for few-shot learning. In CVPR, pages 3754-3762, 2021. 2",
1753
+ "[40] Lei Zhang, Guanyu Gao, and Huaizheng Zhang. Spatial-temporal federated learning for lifelong person re-identification on distributed edges. arXiv:2207.11759, 2022.6",
1754
+ "[41] Bowen Zhao, Xi Xiao, Guojun Gan, Bin Zhang, and Shu-Tao Xia. Maintaining discrimination and fairness in class incremental learning. In CVPR, pages 13205-13214. IEEE, 2020. 2",
1755
+ "[42] Bo Zhao, Shixiang Tang, Dapeng Chen, Hakan Bilen, and Rui Zhao. Continual representation learning for biometric identification. In WACV, pages 1197-1207. IEEE, 2021. 5, 6",
1756
+ "[43] Haiyu Zhao, Maoqing Tian, Shuyang Sun, Jing Shao, Junjie Yan, Shuai Yi, Xiaogang Wang, and Xiaou Tang. Spindle net: Person re-identification with human body region guided feature decomposition and fusion. In CVPR, pages 907–915. IEEE, 2017. 6",
1757
+ "[44] Liang Zheng, Liyue Shen, Lu Tian, Shengjin Wang, Jingdong Wang, and Qi Tian. Scalable person re-identification: A benchmark. In ICCV, pages 1116–1124. IEEE, 2015. 6",
1758
+ "[45] Zhedong Zheng and Yi Yang. Rectifying pseudo label learning via uncertainty estimation for domain adaptive semantic segmentation. IJCV, 129(4):1106-1120, 2021. 3",
1759
+ "[46] Fei Zhu, Xu-Yao Zhang, Chuang Wang, Fei Yin, and ChengLin Liu. Prototype augmentation and self-supervision for incremental learning. In CVPR, pages 5871-5880. IEEE, 2021. 1, 2, 3, 4",
1760
+ "[47] Kai Zhu, Yang Cao, Wei Zhai, Jie Cheng, and Zheng-Jun Zha. Self-promoted prototype refinement for few-shot class-incremental learning. In CVPR, pages 6801-6810. IEEE, 2021. 3",
1761
+ "[48] Kai Zhu, Wei Zhai, Yang Cao, Jiebo Luo, and Zheng-Jun Zha. Self-sustaining representation expansion for non-"
1762
+ ],
1763
+ "bbox": [
1764
+ 78,
1765
+ 90,
1766
+ 468,
1767
+ 900
1768
+ ],
1769
+ "page_idx": 9
1770
+ },
1771
+ {
1772
+ "type": "list",
1773
+ "sub_type": "ref_text",
1774
+ "list_items": [
1775
+ "exemplar class-incremental learning. In CVPR, pages 9296-9305. IEEE, 2022. 2",
1776
+ "[49] Orr Zohar, Kuan-Chieh Wang, and Serena Yeung. Prob: Probabilistic objectness for open world object detection. In CVPR, pages 11444-11453. IEEE, 2023. 3"
1777
+ ],
1778
+ "bbox": [
1779
+ 501,
1780
+ 92,
1781
+ 890,
1782
+ 162
1783
+ ],
1784
+ "page_idx": 9
1785
+ },
1786
+ {
1787
+ "type": "page_number",
1788
+ "text": "16613",
1789
+ "bbox": [
1790
+ 480,
1791
+ 945,
1792
+ 517,
1793
+ 955
1794
+ ],
1795
+ "page_idx": 9
1796
+ }
1797
+ ]
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/dc186928-c593-4047-b92c-da912985b7fb_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f12da336d3b66ac29857a1c1aee5680bde7821deee870abd2c9dccce5852f8a6
3
+ size 2642053
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/full.md ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification
2
+
3
+ Kunlun Xu $^{1}$ , Xu Zou $^{2}$ , Yuxin Peng $^{1}$ , Jiahuan Zhou $^{1*}$
4
+
5
+ $^{1}$ Wangxuan Institute of Computer Technology, Peking University, Beijing 100871, China
6
+
7
+ $^{2}$ School of Artificial Intelligence and Automation, Huazhong University of Science and Technology, Wuhan, China
8
+
9
+ xkl@stu.pku.edu.cn, zoux@hust.edu.cn, {pengyuxin, jiahuanzhou}@pku.edu.cn
10
+
11
+ # Abstract
12
+
13
+ Lifelong person re-identification (LReID) suffers from the catastrophic forgetting problem when learning from non-stationary data. Existing exemplar-based and knowledge distillation-based LReID methods encounter data privacy and limited acquisition capacity respectively. In this paper, we instead introduce the prototype, which is underinvestigated in LReID, to better balance knowledge forgetting and acquisition. Existing prototype-based works primarily focus on the classification task, where the prototypes are set as discrete points or statistical distributions. However, they either discard the distribution information or omit instance-level diversity which are crucial fine-grained clues for LReID. To address the above problems, we propose Distribution-aware Knowledge Prototyping (DKP) where the instance-level diversity of each sample is modeled to transfer comprehensive fine-grained knowledge for prototyping and facilitating LReID learning. Specifically, an Instance-level Distribution Modeling network is proposed to capture the local diversity of each instance. Then, the Distribution-oriented Prototype Generation algorithm transforms the instance-level diversity into identity-level distributions as prototypes, which is further explored by the designed Prototype-based Knowledge Transfer module to enhance the knowledge anti-forgetting and acquisition capacity of the LReID model. Extensive experiments verify that our method achieves superior plasticity and stability balancing and outperforms existing LReID methods by $8.1\% / 9.1\%$ average mAP/R@1 improvement. The code is available at https://github.com/zhoujiahuan1991/CVPR2024-DKP
14
+
15
+ # 1. Introduction
16
+
17
+ As a conventional task in computer vision, person re-identification (ReID) [1, 19] has achieved remarkable per
18
+
19
+ ![](images/dbc0df6611196256ec6a2e86cab0008fc48c4dc7f34d01fcf2c8d9ba11615f8d.jpg)
20
+ (a) Identity feature center $\Delta$ as prototype
21
+
22
+ ![](images/5e14df11e01cb98d2091264b33b85d0c05c861d2ce86d2944ee867146e1d187d.jpg)
23
+ (b) Statistical feature distribution $\langle \underline{\Delta}\rangle$ as prototype
24
+
25
+ ![](images/79cbd9946aeaddf6f3903df683047d4def4efd2ccaf0e45685c775486236038c.jpg)
26
+ (c) Instance-level distribution generated prototype (Ours) $\langle \overline{\mathbf{A}}\rangle$
27
+
28
+ Figure 1. The comparison of different prototype generation methods. (a) Various methods [3, 8, 10] treat the prototype as a feature center point but ignore the important distribution information. (b) Some approaches [46] calculate the prototype as a statistical feature distribution but suffer from inaccurate distribution estimation. (c) Our method models the instance-level distribution of each sample, from which the obtained distribution-aware prototypes are more informative and discriminative.
29
+
30
+ formance in static datasets where the training data are provided all at once for learning. However, the real-world deployment of these ReID models in dynamic scenarios, particularly in the context of extensive streaming data generated by surveillance systems, exposes a significant performance limitation [6, 34]. Therefore, recent efforts have
31
+
32
+ shifted towards addressing a more challenging and practical lifelong person re-identification (LReID) problem [24, 34], where the training data from different scenarios come continually and the trained model can not only acquire new information but also preserve already learned old knowledge.
33
+
34
+ As well-known in existing lifelong learning tasks [30], how to alleviate catastrophic forgetting is also the bottleneck for LReID. Note that this catastrophic forgetting phenomenon becomes even more critical in LReID due to the large intra-person divergences and small inter-person variations. Specifically, as a fine-grained task, the data distribution for the same person in LReID can significantly vary, stemming from temporal and environmental changes. Moreover, different persons may exhibit subtle nuances of individual information which results in severe distribution overlapping, causing the forgetting of valuable discrimination knowledge for each individual.
35
+
36
+ To tackle this crucial issue, most existing LReID methods leverage additional memory to reserve past exemplars for reusing when learning new data [6, 34, 36], but inevitably raise severe privacy concerns and computational costs [25]. As an alternative, various rehearsal-free methods [24-26, 29] have been proposed to perform knowledge distillation by imposing output consistency constraints when encountering new datasets. However, such strict constraints would seriously limit the plasticity of the ReID model and lead to insufficient learning of the new data.
37
+
38
+ Recently, a few works aim to explore prototypes to mitigate catastrophic forgetting in other lifelong learning tasks, e.g., class incremental learning (CIL) [30]. These prototype-based CIL methods [8, 10, 30, 37] usually calculate or learn the feature center of a class as the prototype in Fig. 1 (a). Nevertheless, solely using a feature point as the prototype ignores the intra-class diversity information, resulting in serious forgetting caused by insufficient distribution knowledge of historical data [46]. Thus, several methods [39, 46] consider calculating a statistic feature distribution of all sample features from the same class to enhance the representation ability of prototypes. However, as illustrated in Fig. 1 (b), they simply treat all samples equally and neglect the individual characteristics. As mentioned above, in LReID, samples from the same person can show significant differences because of temporal and environmental changes. Thus, their obtained prototypes inevitably drift from the real data distribution, misleading subsequent learning by the conveyed inaccurate knowledge, especially for LReID that aims to achieve fine-grained matching.
39
+
40
+ In this paper, we propose a novel non-exemplar LReID method named Distribution-aware Knowledge Prototyping (DKP), that readily models the instance-level distribution of each sample to generate a more informative person-specific prototype as shown in Fig. 1 (c), thereby transferring the useful distribution knowledge to the new model and
41
+
42
+ achieving better anti-forgetting capacity. To this end, an Instance-level Distribution Modeling (IDM) network is designed to estimate the distribution for each input instance, which is accomplished based on the sampling strategy and the proposed distribution-aware losses. Besides, to incorporate the prototypes with comprehensive instance-specific knowledge, we propose a Distribution-oriented Prototype Generation (DPG) strategy that transforms the predicted instance-level distributions into a multivariate Gaussian distribution which is registered as the distribution-aware prototype. To effectively utilize the preserved knowledge in prototypes, a Prototype-based Knowledge Transfer (PKT) module is explored to guide the new model learning via enhancing the discriminant of new identity features with the aid of historical distributions, which mitigates the forgetting of the old knowledge and guarantees new knowledge acquisition. In summary, our contributions are three-fold: (1) A novel non-exemplar LReID method is proposed that models the instance-level distribution for each input sample to achieve distribution-aware prototyping. (2) An effective knowledge transfer scheme is designed to fully explore the obtained distribution-aware prototypes for enhancing the discriminant across datasets and consolidating the learned knowledge. (3) Extensive experiments on various datasets and settings have verified the superiority of our method against the state-of-the-art LReID approaches.
43
+
44
+ # 2. Related work
45
+
46
+ # 2.1. Lifelong Person Re-Identification
47
+
48
+ Lifelong person re-identification (LReLUID) aims to improve the person matching capacity of the model by learning from non-stationary data [24, 34], where catastrophic forgetting is the key challenge [30, 41]. Existing LReLUID works could be categorized into two branches, rehearsal-based and knowledge distillation-based. The former ones [6, 15, 34, 36] aim to mitigate forgetting by storing the exemplar images of previous steps and replaying them when learning the new data. However, storing human images is often impractical in real scenarios due to privacy. The knowledge distillation-based approaches [14, 24–26, 29] try to preserve the old knowledge by constraining the output consistency between the old and new models. Though promising anti-forgetting capacity has been exhibited, their acquisition capacity of the new data is limited due to such strict constraints hindering model plasticity. Instead, in this paper, we investigate the non-exemplar LReLUID scenario by leveraging prototypes of different persons for anti-forgetting.
49
+
50
+ # 2.2. Prototype-based Class Incremental Learning
51
+
52
+ Recently, various prototype-based class incremental learning (CIL) methods are proposed to continually learn new classes without preserving any historical exemplars [28, 37, 46, 48]. Some methods treat the prototype of each class as a
53
+
54
+ ![](images/a3c3f000c8e13d70fc7c5c7a0579b54eaaca58d118a87922e9f430b03e4576e5.jpg)
55
+
56
+ ![](images/014beca458c76160a6eac8129e7ce373c618d9927df75cfd6d106b47a6759c27.jpg)
57
+
58
+ ![](images/e99f555f704b9a043dc0a8ec11347fa78bd6202703c363b822d95af96e814406.jpg)
59
+
60
+ ![](images/0c90c919c41b4ef251599ec77b7ab65695007a6538aaf6f17e0b08996f4f5434.jpg)
61
+ Figure 2. The pipeline of our proposed Distribution-aware Knowledge Prototyping (DKP) model. (a) Our model is built upon a dual-branch convolution network where the branches predict the instance-specific distribution center and variance, respectively. Furthermore, three novel modules are designed to accomplish the learning procedure. (b) The Instance-level Distribution Modeling (IDM) module incorporates the random sampling and the ReID losses $\mathcal{L}_{trip - d}$ , $\mathcal{L}_{ce - d}$ to facilitate the distribution learning of each instance. (c) The Prototype-based Knowledge Transfer (PKT) module utilizes the previous step prototypes $\mathcal{P}_{t - 1}$ to mitigate forgetting. (d) The Distribution-oriented Prototype Generation (DPG) transforms the learned insistence-level center and variance into prototypes of the current step $\mathcal{P}_t$ .
62
+
63
+ ![](images/584c794c7db89e5e2f71d933465d93ba1cd8915dc80de295c2421b4a19af1f68.jpg)
64
+
65
+ learnable embedding vector [2, 33, 47], and others calculate the mean feature of all samples from the same class as the prototype [10, 28, 46]. When learning the new classes, the obtained prototypes are utilized to represent the knowledge of old classes for classifier training [28]. Considering using a single feature center point will inevitably result in the lack of informative distribution of data, the latest methods [46] proposed to simultaneously calculate the mean feature vector and its variance from all samples to depict the distribution information of a class. However, such a strategy simply assumes each sample has the same impact on the estimated distribution regardless of the intra-class diversity of samples. Therefore, the obtained prototype exhibits a distribution drift, thereby misleading the sequential learning steps.
66
+
67
+ # 2.3. Distribution Learning
68
+
69
+ In computer vision, the information of distribution is crucial to describe the inherent probabilistic knowledge of data [20, 49]. Existing distribution learning methods focus on modeling the data uncertainty to handle the out-of-distribution data [23, 38, 45]. Specifically, [20] estimated the uncertainty of labels in domain adaptive semantic segmentation to recognize and rectify the noise labels. Similarly, [38] adopted distribution learning to alleviate the negative impacts of label noises and outliers on model training. In this paper, we propose to model the instance-level distribution of each sample in LReID, based on which the fine
70
+
71
+ grained instance-specific information could be mined and integrated into the obtained distribution-aware prototypes to mitigate catastrophic forgetting of historical knowledge.
72
+
73
+ # 3. The Proposed DKP Method
74
+
75
+ # 3.1. Problem Formulation
76
+
77
+ In non-exemplar LReLU, a stream of $T$ training datasets $\mathcal{D} = \{D_t\}_{t=1}^T$ collected from different domains are provided step by step. At the $t$ -th training step, the images of previous $t-1$ datasets are unavailable. Given a dataset $D_t$ with $N_t$ identities, our method obtains a prototype set $\mathcal{P}_t = \{\pmb{p}_i\}_{i=1}^{N_t}$ for all identities. For each instance, our method learns a multivariate Gaussian distribution $\mathcal{N}(\pmb{c}, \pmb{v}^2)$ , where $\pmb{c} \in \mathbb{R}^d$ is the feature center vector of dimension $d$ , and $\pmb{v}^2 \in \mathbb{R}^d$ is the diagonal element vector derived from the diagonal covariance matrix $\pmb{\Sigma} \in \mathbb{R}^{d \times d}$ .
78
+
79
+ # 3.2. The Overall Pipeline of DKP
80
+
81
+ At the $t$ -th learning step, the overall pipeline of our proposed DKP model, as depicted in Fig. 2 (a), is based on a dual-branch convolutional network $M_{t}$ . Given a set of $n$ input images $\{x_{i}\}_{i = 1}^{n}$ from $D_{t}$ , a backbone network is utilized to extract image features. Then, one branch consisting of a pooling layer followed by a linear layer is responsible for predicting the distribution centers of each input instance, denoted as $\mathcal{C} = \{c_i\}_{i = 1}^n$ . Meanwhile, the other
82
+
83
+ branch which comprises a convolution layer, followed by a pooling layer and a linear layer, is adopted to estimate the distribution variances of the instances $\mathcal{V} = \{v_i^2\}_{i=1}^n$ . To enhance the model capability of knowledge acquisition and anti-forgetting, three innovative modules are accordingly designed to leverage the prototypes from the previous step $\mathcal{P}_{t-1}$ , as well as generate prototypes of the current step $\mathcal{P}_t$ .
84
+
85
+ # 3.3. Instance-level Distribution Modeling
86
+
87
+ In this section, we aim to guide the model to learn the instance-level distribution which contains fine-grained data knowledge as illustrated in Fig. 2 (b). Specifically, once the instance centers $\mathcal{C} = \{c_i\}_{i=1}^n$ and variances $\mathcal{V} = \{v_i^2\}_{i=1}^n$ are predicted by the model, for each instance $x_i$ , we adopt a Gaussian sampler parameterized as $\mathcal{N}(c_i, v_i^2)$ to sample $m$ feature candidates $\{f_i^{(j)}\}_{j=1}^m$ , where each $f_i^{(j)}$ is assigned the same identity label as $c_i$ . To ensure identity consistency between $\{f_i^{(j)}\}_{j=1}^m$ and $c_i$ , a distribution-aware cross-entropy loss $\mathcal{L}_{ce-d}$ is calculated as below:
88
+
89
+ $$
90
+ \mathcal {L} _ {c e - d} = \frac {1}{m + 1} \left[ y _ {i} \log \boldsymbol {\rho} \left(\mathbf {W} _ {t} \boldsymbol {c} _ {i}\right) + \sum_ {j = 1} ^ {m} y _ {i} \log \boldsymbol {\rho} \left(\mathbf {W} _ {t} \boldsymbol {f} _ {i} ^ {(j)}\right) \right], \tag {1}
91
+ $$
92
+
93
+ where $y_{i}$ is the identity label of image $x_{i}$ , $\rho$ represents the softmax function, and $\mathbf{W}_t$ denotes the linear projection parameter to map the features to logits.
94
+
95
+ Moreover, we further extend the widely used triplet loss in existing LReID models [29, 36] to a distribution-oriented version, denoted as $\mathcal{L}_{tri-d}$ . Given $n$ images $\{x_i\}_{i=1}^n$ and their sampling set $\mathcal{F}_s = \{(f_i^{(j)}, y_i) | 1 \leq i \leq n, 1 \leq j \leq m\}$ , the $\mathcal{L}_{tri-d}$ for an instance $x_i$ is calculated by:
96
+
97
+ $$
98
+ \mathcal {L} _ {t r i - d} = \log \left(1 + \exp \left(\left\| \boldsymbol {c} _ {i} - \boldsymbol {f} _ {p} ^ {\prime} \right\| _ {2} ^ {2} - \left\| \boldsymbol {c} _ {i} - \boldsymbol {f} _ {n} ^ {\prime} \right\| _ {2} ^ {2}\right)\right), \tag {2}
99
+ $$
100
+
101
+ where $\pmb{c}_i$ , $\pmb{f}_p'$ , and $\pmb{f}_n'$ indicate the anchor point, positive point, and negative point respectively. Specifically, $\pmb{f}_p'$ and $\pmb{f}_n'$ is obtained by:
102
+
103
+ $$
104
+ \left\{ \begin{array}{l} \boldsymbol {f} _ {p} ^ {\prime} = \arg \max _ {\left(\boldsymbol {f} ^ {\prime}, y ^ {\prime}\right) \in \mathcal {F} _ {s}, y ^ {\prime} = y _ {i}} \| \boldsymbol {c} _ {i} - \boldsymbol {f} ^ {\prime} \| _ {2} ^ {2} \\ \boldsymbol {f} _ {n} ^ {\prime} = \arg \min _ {\left(\boldsymbol {f} ^ {\prime}, y ^ {\prime}\right) \in \mathcal {F} _ {s}, y ^ {\prime} \neq y _ {i}} \| \boldsymbol {c} _ {i} - \boldsymbol {f} ^ {\prime} \| _ {2} ^ {2}, \end{array} \right. \tag {3}
105
+ $$
106
+
107
+ where $(f', y')$ is the feature candidate and identity label pair. Based on $\mathcal{L}_{ce-d}$ and $\mathcal{L}_{tri-d}$ , the instances of the same identity can be pushed together and the ones of different identities would be pulled away which promotes discriminative knowledge learning. Besides, when an instance is away from its corresponding identity center, it tends to learn a larger $v_i^2$ to generate samples closer to other instances of the same identity [5, 38].
108
+
109
+ # 3.4. Distribution-oriented Prototype Generation
110
+
111
+ To preserve abundant and informative knowledge of each identity without retaining any exemplar, the joint distribu
112
+
113
+ ![](images/6df3b0a2037ce717f350316473e2bfb0e2d52908e3b7ef33d364df90b430a24c.jpg)
114
+ (a) PASS
115
+
116
+ ![](images/04e504fa3ea3822476a0253f3c4a82211befe51972deb56738f0aba3eaebd93b.jpg)
117
+ (b) Ours
118
+ Figure 3. Visualization of our instance-level distribution-aware prototype and statistical feature distribution-based prototype [46].
119
+
120
+ tion of all instances within an identity $k$ is formulated as the distribution-aware prototype, which is parameterized as $\mathcal{N}(\pmb{\mu}_k, \pmb{\sigma}_k^2)$ where $\pmb{\mu}_k \in \mathbb{R}^d$ and $\pmb{\sigma}_k^2 \in \mathbb{R}^d$ represent the mean and variance respectively. Specifically, given identity $k$ with $n_k$ instances $\{x_i^k\}_{i=1}^{n_k}$ in the training set (For simplicity, we denote these $n_k$ instances as $\{x_i\}_{i=1}^{n_k}$ ), the identity distribution center $\pmb{\mu}_k$ could be obtained by:
121
+
122
+ $$
123
+ \boldsymbol {\mu} _ {k} = \frac {1}{n _ {k}} \sum_ {i = 1} ^ {n _ {k}} \boldsymbol {c} _ {i}, \tag {4}
124
+ $$
125
+
126
+ where $c_{i}$ is the learned enter of the instance $x_{i}$ . Besides, the identity distribution variance $\sigma_{k}^{2}$ could be obtained by:
127
+
128
+ $$
129
+ \begin{array}{l} \boldsymbol {\sigma} _ {k} ^ {2} = \int \boldsymbol {x} ^ {2} \varphi (\boldsymbol {x}, \boldsymbol {\mu} _ {k}, \boldsymbol {\sigma} _ {k}) d \boldsymbol {x} - \left(\int \boldsymbol {x} \varphi (\boldsymbol {x}, \boldsymbol {\mu} _ {k}, \boldsymbol {\sigma} _ {k}) d \boldsymbol {x}\right) ^ {2} \\ = \frac {1}{n _ {k}} \sum_ {i = 1} ^ {n _ {k}} \left(\boldsymbol {c} _ {i} ^ {2} + \boldsymbol {v} _ {i} ^ {2}\right) - \left(\frac {1}{n _ {k}} \sum_ {i = 1} ^ {n _ {k}} \boldsymbol {c} _ {i}\right) ^ {2}, \tag {5} \\ \end{array}
130
+ $$
131
+
132
+ where
133
+
134
+ $$
135
+ \varphi (\boldsymbol {x}, \boldsymbol {\mu} _ {k}, \boldsymbol {\sigma} _ {k}) = \frac {e ^ {- \frac {1}{2} (\boldsymbol {x} - \boldsymbol {\mu} _ {k}) ^ {\top} \boldsymbol {\Sigma} _ {k} ^ {- 1} (\boldsymbol {x} - \boldsymbol {\mu} _ {k})}}{(2 \pi) ^ {d / 2} | \boldsymbol {\Sigma} _ {k} | ^ {1 / 2}} \tag {6}
136
+ $$
137
+
138
+ is the distribution function denoted by $\mathcal{N}(\pmb{\mu}_k, \pmb{\sigma}_k^2)$ and $\pmb{\Sigma}_k$ is a diagonal matrix whose diagonal elements are $\pmb{\sigma}_k^2$ . Similarly, $\varphi(\pmb{x}, \pmb{c}_i, \pmb{v}_i)$ is the distribution functions denoted by $\mathcal{N}(\pmb{c}_i, \pmb{v}_i^2)$ . More derivation of Eq. (4) and Eq. (5) is provided in the Supplementary Material. Compared to the statistical feature distribution-based prototypes [46] that only utilize $\pmb{c}_i$ to obtain identity-level divergence, our proposed distribution-oriented prototype simultaneously considers $\pmb{c}_i$ and $\pmb{v}_i$ when calculating $\pmb{\sigma}_k^2$ , making our prototype more informative. To be noted, $\pmb{v}_i^2$ is important in describing the precise distribution of an identity. As illustrated in Fig. 3, our predicted distribution could better depict the area of identities with fewer outliers and more discriminative boundaries between identities.
139
+
140
+ In this paper, $\pmb{\mu}_k$ and $\sigma_k^2$ are calculated after the completion of the $t$ -th training step, and $\mathcal{P}_t = \{(\pmb{\mu}_k,\pmb{\sigma}_k^2)\}_{k=1}^{N_t}$ is preserved for the next step.
141
+
142
+ <table><tr><td rowspan="2" colspan="2">Method</td><td colspan="2">Market1501</td><td colspan="2">CUHK-SYSU</td><td colspan="2">DukeMTMC</td><td colspan="2">MSMT17</td><td colspan="2">CUHK03</td><td colspan="2">Seen-Avg</td><td colspan="2">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td></td><td>Joint-Train</td><td>75.3</td><td>90.1</td><td>84.5</td><td>86.0</td><td>66.9</td><td>81.6</td><td>31.6</td><td>57.1</td><td>58.5</td><td>61.4</td><td>63.4</td><td>75.2</td><td>55.2</td><td>48.2</td></tr><tr><td rowspan="4">CIL</td><td>LwF [21]</td><td>56.3</td><td>77.1</td><td>72.9</td><td>75.1</td><td>29.6</td><td>46.5</td><td>6.0</td><td>16.6</td><td>36.1</td><td>37.5</td><td>40.2</td><td>50.6</td><td>47.2</td><td>42.6</td></tr><tr><td>SPD [31]</td><td>35.6</td><td>61.2</td><td>61.7</td><td>64.0</td><td>27.5</td><td>47.1</td><td>5.2</td><td>15.5</td><td>42.2</td><td>44.3</td><td>34.4</td><td>46.4</td><td>40.4</td><td>36.6</td></tr><tr><td>PRAKA* [28]</td><td>37.4</td><td>61.3</td><td>69.3</td><td>71.8</td><td>35.4</td><td>55.0</td><td>10.7</td><td>27.2</td><td>54.0</td><td>55.6</td><td>41.3</td><td>54.2</td><td>47.7</td><td>41.6</td></tr><tr><td>PRD* [2]</td><td>7.3</td><td>18.0</td><td>33.5</td><td>35.6</td><td>3.7</td><td>7.6</td><td>0.8</td><td>2.4</td><td>33.8</td><td>33.8</td><td>15.8</td><td>19.5</td><td>23.0</td><td>17.7</td></tr><tr><td rowspan="5">LReID</td><td>CRL [42]</td><td>58.0</td><td>78.2</td><td>72.5</td><td>75.1</td><td>28.3</td><td>45.2</td><td>6.0</td><td>15.8</td><td>37.4</td><td>39.8</td><td>40.5</td><td>50.8</td><td>47.8</td><td>43.5</td></tr><tr><td>AKA [24]</td><td>51.2</td><td>72.0</td><td>47.5</td><td>45.1</td><td>18.7</td><td>33.1</td><td>16.4</td><td>37.6</td><td>27.7</td><td>27.6</td><td>32.3</td><td>43.1</td><td>44.3</td><td>40.4</td></tr><tr><td>\( AKA† \) [24]</td><td>58.1</td><td>77.4</td><td>72.5</td><td>74.8</td><td>28.7</td><td>45.2</td><td>6.1</td><td>16.2</td><td>38.7</td><td>40.4</td><td>40.8</td><td>50.8</td><td>47.6</td><td>42.6</td></tr><tr><td>PatchKD [29]</td><td>68.5</td><td>85.7</td><td>75.6</td><td>78.6</td><td>33.8</td><td>50.4</td><td>6.5</td><td>17.0</td><td>34.1</td><td>36.8</td><td>43.7</td><td>53.7</td><td>49.1</td><td>45.4</td></tr><tr><td>MEGE [26]</td><td>39.0</td><td>61.6</td><td>73.3</td><td>76.6</td><td>16.9</td><td>30.3</td><td>4.6</td><td>13.4</td><td>36.4</td><td>37.1</td><td>34.0</td><td>43.8</td><td>47.7</td><td>44.0</td></tr><tr><td></td><td>DKP(Ours)</td><td>60.3</td><td>80.6</td><td>83.6</td><td>85.4</td><td>51.6</td><td>68.4</td><td>19.7</td><td>41.8</td><td>43.6</td><td>44.2</td><td>51.8</td><td>64.1</td><td>59.2</td><td>51.6</td></tr></table>
143
+
144
+ Table 1. Training Order-1: Market-1501 → CUHK-SYSU → DukeMTMC-reID → MSMT17-V2→ CUHK03. * denotes the results are reproduced by the released official code. † denotes the results reported by [29].
145
+
146
+ <table><tr><td rowspan="2" colspan="2">Method</td><td colspan="2">DukeMTMC</td><td colspan="2">MSMT17</td><td colspan="2">Market1501</td><td colspan="2">CUHK-SYSU</td><td colspan="2">CUHK03</td><td colspan="2">Seen-Avg</td><td colspan="2">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td></td><td>Joint-Train</td><td>66.9</td><td>81.6</td><td>31.6</td><td>57.1</td><td>75.3</td><td>90.1</td><td>84.5</td><td>86.0</td><td>58.5</td><td>61.4</td><td>63.4</td><td>75.2</td><td>55.2</td><td>48.2</td></tr><tr><td rowspan="4">CIL</td><td>LwF [21]</td><td>42.7</td><td>61.7</td><td>5.1</td><td>14.3</td><td>34.4</td><td>58.6</td><td>69.9</td><td>73.0</td><td>34.1</td><td>34.1</td><td>37.2</td><td>48.4</td><td>44.0</td><td>40.1</td></tr><tr><td>SPD [31]</td><td>28.5</td><td>48.5</td><td>3.7</td><td>11.5</td><td>32.3</td><td>57.4</td><td>62.1</td><td>65.0</td><td>43.0</td><td>45.2</td><td>33.9</td><td>45.5</td><td>39.8</td><td>36.3</td></tr><tr><td>PRAKA* [28]</td><td>31.2</td><td>48.7</td><td>6.6</td><td>19.1</td><td>47.8</td><td>69.8</td><td>70.4</td><td>73.0</td><td>54.9</td><td>56.6</td><td>42.2</td><td>53.4</td><td>48.4</td><td>41.1</td></tr><tr><td>PRD* [2]</td><td>3.6</td><td>8.2</td><td>0.6</td><td>1.8</td><td>8.9</td><td>22.3</td><td>34.6</td><td>36.1</td><td>35.4</td><td>35.3</td><td>16.6</td><td>20.7</td><td>20.7</td><td>15.0</td></tr><tr><td rowspan="5">LReID</td><td>CRL [42]</td><td>43.5</td><td>63.1</td><td>4.8</td><td>13.7</td><td>35.0</td><td>59.8</td><td>70.0</td><td>72.8</td><td>34.5</td><td>36.8</td><td>37.6</td><td>49.2</td><td>45.3</td><td>41.4</td></tr><tr><td>AKA [24]</td><td>32.5</td><td>49.7</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>40.8</td><td>37.2</td></tr><tr><td>\( AKA\dagger \) [24]</td><td>42.2</td><td>60.1</td><td>5.4</td><td>15.1</td><td>37.2</td><td>59.8</td><td>71.2</td><td>73.9</td><td>36.9</td><td>37.9</td><td>38.6</td><td>49.4</td><td>46.0</td><td>41.7</td></tr><tr><td>PatchKD [29]</td><td>58.3</td><td>74.1</td><td>6.4</td><td>17.4</td><td>43.2</td><td>67.4</td><td>74.5</td><td>76.9</td><td>33.7</td><td>34.8</td><td>43.2</td><td>54.1</td><td>48.6</td><td>44.1</td></tr><tr><td>MEGE [26]</td><td>21.6</td><td>35.5</td><td>3.0</td><td>9.3</td><td>25.0</td><td>49.8</td><td>69.9</td><td>73.1</td><td>34.7</td><td>35.1</td><td>30.8</td><td>40.6</td><td>44.3</td><td>41.1</td></tr><tr><td></td><td>DKP(Ours)</td><td>53.4</td><td>70.5</td><td>14.5</td><td>33.3</td><td>60.6</td><td>81.0</td><td>83.0</td><td>84.9</td><td>45.0</td><td>46.1</td><td>51.3</td><td>63.2</td><td>59.0</td><td>51.6</td></tr></table>
147
+
148
+ Table 2. Training Order-2: DukeMTMC-reID → MSMT17-V2→ Market-1501 → CUHK-SYSU → CUHK03. * denotes the results are reproduced by the released official code. † denotes the results reported by [29]. ‘-’ denotes the result was not reported in the original paper.
149
+
150
+ # 3.5. Prototype-based Knowledge Transfer
151
+
152
+ In our method, the prototypes from the previous step describe the old identity distributions in the feature space. When new data is introduced, the extracted new features should be distinguishable from the old distributions. To achieve this, we propose a Prototype Knowledge Transfer scheme: Firstly, as illustrated in Fig. 2 (c), given a set of prototypes $\mathcal{P}_{t-1} = \left\{(\boldsymbol{\mu}_i, \boldsymbol{\sigma}_i^2)\right\}_{i=1}^{N_{t-1}}$ , we sample $N_{t-1}$ prototype features $\mathcal{F}_p = \{g_i\}_{i=1}^{N_{t-1}}$ according to the distribution $\mathcal{N}(\boldsymbol{\mu}_i, \boldsymbol{\sigma}_i^2)$ , where $\mathcal{F}_p$ is formed as a matrix $\mathbf{F}_p \in \mathbb{R}^{N_{t-1} \times d}$ . For a batch of $n$ images where the predicted feature centers are transformed into a matrix $\mathbf{F}_c \in \mathbb{R}^{n \times d}$ , we obtain a prototype-aware coordinate matrix $\mathbf{C}_p$ by:
153
+
154
+ $$
155
+ \mathbf {C} _ {p} = \rho \left(\mathbf {F} _ {c} \mathbf {F} _ {p} ^ {\top} / \lambda_ {1}\right), \tag {7}
156
+ $$
157
+
158
+ where the softmax function $\rho$ is applied row-wisely and $\lambda_{1}$ is the temperature parameter [12] to scale the matrix values. Note that each row of $\mathbf{C}_p$ encodes the relative distance between $x_{i}$ and all prototypes. Then, to ensure the discriminant between the new and old data, and additionally
159
+
160
+ guide the new model learning with old knowledge, we co-optimize the inter-instance affinity with the proposed Prototype Knowledge Transfer loss which is calculated by:
161
+
162
+ $$
163
+ \mathcal {L} _ {p r o t o - d} = \mathcal {L} _ {K L} \left(\boldsymbol {\rho} \left(\mathbf {C} _ {p} \mathbf {C} _ {p} ^ {\top} / \lambda_ {2}\right) \| \boldsymbol {\rho} \left(\mathbf {F} _ {c} \mathbf {F} _ {c} ^ {\top} / \lambda_ {2}\right)\right), \tag {8}
164
+ $$
165
+
166
+ where $\mathcal{L}_{KL}$ is the Kullback Leibler divergence [11] and $\lambda_{2}$ is another temperature parameter. $\rho (\mathbf{C}_p\mathbf{C}_p^\top)$ and $\rho (\mathbf{F}_c\mathbf{F}_c^\top)$ are the inter-instance affinity matrix where each row represents the relative similarity between an instance $x_{i}$ and all instances. Because $\mathbf{C}_p$ is obtained by integrating old distribution knowledge with the new feature, optimizing Eq. (8) guarantees the acquisition of new data and mitigates forgetting of old knowledge.
167
+
168
+ # 3.6. Training and Inference
169
+
170
+ During training, we follow the procedure illustrated in Fig. 2 and the overall loss is:
171
+
172
+ $$
173
+ \mathcal {L} = \mathcal {L} _ {c e - d} + \alpha \mathcal {L} _ {t r i - d} + \beta \mathcal {L} _ {p r o t o - d}, \tag {9}
174
+ $$
175
+
176
+ where $\alpha$ and $\beta$ are hyperparameters to balance the loss weights. In this paper, we set $\alpha = 1.5$ and $\beta = 0.1$ re
177
+
178
+ spectively. At the end of the $t$ -th learning step, to further blend the knowledge, we fuse the learned model $M_{t}$ and the old model $M_{t-1}$ as post-processing
179
+
180
+ $$
181
+ \boldsymbol {M} _ {t} \leftarrow \left(\boldsymbol {M} _ {t} + \boldsymbol {M} _ {t - 1}\right) / 2. \tag {10}
182
+ $$
183
+
184
+ During testing, we use the predicted feature center $c$ of input image $x$ as shown in Fig. 2 (a) for person matching.
185
+
186
+ # 4. Experiments
187
+
188
+ # 4.1. Experimental Settings
189
+
190
+ Benchmarks. We conduct the experiments on the LReID benchmark [24] which comprises a total of twelve ReID datasets. Among them, five datasets (Market1501 [44], DukeMTMC-reID [27], CUHK-SYSU [35], MSMT17-V2 [32], and CUHK03 [18]) are used as seen domains for lifelong training and testing. To verify the performance consistency of the models, two different dataset orders are adopted to form various lifelong learning scenarios $^{1}$ $^{2}$ . Additionally, the other seven datasets (CUHK01 [17], CUHK02 [16], VIPeR [7], PRID [13], i-LIDS [4], GRID [22], and SenseReID [43]) are tested as the unseen domains to show the generalization capacity of the models. Evaluation Metrics. The mean Average Precision (mAP) and Rank@1 accuracy $(\mathbb{R}@\mathbb{1})$ on each dataset are utilized to evaluate the model on specific domains. Besides, the average mAP and average R@1 on all seen and unseen domains are calculated to compare the overall lifelong learning and generalization capacity of the models respectively.
191
+
192
+ Implementation Details. For a fair comparison with existing LReID methods [24, 29], we utilize the ResNet50 architecture as our backbone. For both training orders, we train the first dataset for 80 epochs, and the subsequent datasets for 60 epochs each. A mini-batch size of 128 is adopted, where 32 identities are sampled with 4 images for each identity during training. For model optimization, the SGD optimizer with a learning rate of 0.008 and a weight decay of 0.0001 is used. Furthermore, the temperature parameter $\lambda_{1}$ and $\lambda_{2}$ are set as 0.1.
193
+
194
+ # 4.2. The Compared Methods
195
+
196
+ To extensively evaluate our method, various state-of-the-art non-exemplar LReID approaches including CRL [42], AKA [24], PatchKD [29], MEGE [26] are compared. Additionally, the latest class incremental learning (CIL) methods, LwF [21], SPD [40], PRAKA [28], and PRD [2], are also tested. To ensure a fair comparison, all models are implemented with the same backbone and training settings. Thus for the CIL models, we incorporate the widely adopted
197
+
198
+ ![](images/60e50592721b2e1e767f3790d5cd74920c2a365adcf5d9e5ecc92c6e33d76858.jpg)
199
+ Figure 4. Performance tendency on seen domains. After each training step, the model is evaluated on the already-seen domains.
200
+
201
+ ![](images/11ac50832e692269872f71c60d32a3a2da7c6059fa303ba69ef26d1351d00110.jpg)
202
+
203
+ ![](images/42d44ef60c16bfdba5b4bd7586b0087905a56ed06f1b798856d3a694ccdd41f9.jpg)
204
+ Figure 5. Performance tendency on unseen domains. After each training step, the performance of all unseen domains is evaluated.
205
+
206
+ ![](images/411e59fa068ab973bbae1e974b8409352208c801014c9e4c7226d8e1f5a642f6.jpg)
207
+
208
+ triplet loss [9] to align with the LReID methods. In addition, the Joint-Train result, the upper bound of the LReID models where all datasets are given at once for training, is also reported. Besides, we also implement Finetune that trains on the datasets step by step without anti-forgetting designs.
209
+
210
+ # 4.3. Seen-Domain Performance Evaluation
211
+
212
+ We present the results of different methods on each seen domain and the average performance across all seen domains (Seen-Avg) in Tab. 1 and Tab. 2, corresponding to Training Order-1 and Training Order-2 respectively. The best and second best results are marked in Bold and underlined.
213
+
214
+ Compared to LReID Methods: As reported in Tab. 1 and Tab. 2, our DKP outperforms all existing LReID models significantly. Compared to the second-best player PatchKD, our method achieves an improvement of $8.1\% / 10.4\%$ and $8.1\% / 9.1\%$ on the average mAP/R@1 performance for seen domains. Notably, PatchKD performs better than ours on the initial dataset because it employs a strict knowledge distillation constraint that enforces output consistency on the new and old models, thereby enhancing the model's anti-forgetting capacity. However, the learnability of PatchKD is severely limited to new data, resulting in inferior performance on subsequent datasets.
215
+
216
+ Compared to CIL Methods: Our DKP outperforms the CIL methods on the Market1501, CUHK-SYSU,
217
+
218
+ ![](images/cb040765175cad411b36e8060b35a78795d177e35102836edcf7973db6f7c9f7.jpg)
219
+ (a) The weight of $\mathcal{L}_{tri-d}$
220
+
221
+ ![](images/1e72752ffffb0a4060db6f2dc3b5038144561e92cb3306cf948e6c8bcdfebdb4.jpg)
222
+ (b) The weight of $\mathcal{L}_{proto - d}$
223
+
224
+ ![](images/29be5e55d8b37fdf06a9226b4b82afc8aca439118f9d327284b562dcf9f726ed.jpg)
225
+ (c) Stored prototype stages
226
+
227
+ ![](images/a898ba06f902fe51759a507b3d524b42b7b19f81f5aec0420bb09c593ecc25c8.jpg)
228
+ (d) Feature candidates number
229
+
230
+ <table><tr><td rowspan="2">Baseline</td><td rowspan="2">IDM</td><td rowspan="2">DPG&amp;PKT</td><td colspan="2">Seen-Avg</td><td colspan="2">Unseen-Avg</td></tr><tr><td>mAP</td><td>R@1</td><td>mAP</td><td>R@1</td></tr><tr><td>✓</td><td></td><td></td><td>44.0</td><td>53.4</td><td>46.8</td><td>39.8</td></tr><tr><td>✓</td><td>✓</td><td></td><td>46.1</td><td>60.0</td><td>51.6</td><td>45.5</td></tr><tr><td>✓</td><td></td><td>✓</td><td>50.0</td><td>62.2</td><td>57.7</td><td>49.9</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>51.8</td><td>64.1</td><td>59.2</td><td>51.6</td></tr></table>
231
+
232
+ Table 3. Ablation study of different components.
233
+
234
+ DukeMTMC, and MSMT17 datasets, exhibiting an average $\mathrm{mAP} / \mathrm{R} @ 1$ improvement of $10.5\% /9.9\%$ and $9.1\% /9.8\%$ across both training orders for seen domains. We observe that although the prototype-based model PRAKA excels our DKP on the last domain CUHK03, our model achieves remarkably higher performance than PRAKA in the early-stage domains and superior average performance on both seen and unseen domains, owing to the knowledgeable information encoded by our distribution-aware prototypes, which mitigates the forgetting caused by domain shifts.
235
+
236
+ Seen Domain Performance Tendency. Fig. 4 demonstrates the anti-forgetting capacity of different models. Compared to other methods, our DKP initially obtains slightly inferior performance. This disparity arises mainly because our proposed instance-level distribution learning component partially slows down the convergence. With the increase in training steps, our model exhibits superior average performance. These results indicate that our method excels in the long-term consolidation of knowledge.
237
+
238
+ # 4.4. Unseen-Domain Generalization Evaluation
239
+
240
+ The average performance on unseen domains is shown in the last two columns of Tab. 1 and Tab. 2. Our method demonstrates superior generalization capabilities compared to state-of-the-art CIL models, exhibiting an average $\mathrm{mAP / R@1}$ improvement of $11.5\% /9.0\%$ and $10.6\% /10.5\%$ across both training orders. Furthermore, our model also significantly outperforms the LReID models by a margin of $10.1\% /6.2\%$ and $10.4\% /7.5\%$ average $\mathrm{mAP / R@1}$ improvement. These results substantiate that our model effectively consolidates more generalizable knowledge.
241
+
242
+ ![](images/e27f47f527745259ce2c4ab29362d4a8ef9f67cf488e4a642e8065ce4caaffe9.jpg)
243
+ Figure 6. Ablation studies on hyperparameters. The values marked by the dashed lines are adopted by our proposed method.
244
+
245
+ ![](images/772ab980a997f96865ea4443108426e87645e5e60ab8aae5c3010719e3de470f.jpg)
246
+ (b) Epoch-20
247
+
248
+ ![](images/dd50f796405438f4194a283b5d82c39a878f3b65a20b89b87b0c348f8f9327a2.jpg)
249
+ (a) Epoch-10
250
+ (c) Epoch-30
251
+
252
+ ![](images/d08a4dbe711cd67c5c7293f02490889af3a35284be85ba579113892c6d92f843.jpg)
253
+ (d) Epochh-40
254
+ Figure 7. The visualization of the learned distributions under different training epochs.
255
+
256
+ Generalization Curves. We further analyze the average performance on the unseen domains along the lifelong training steps, as depicted in Fig. 5. The results show that our DKP could preserve more generalizable knowledge compared to existing methods. Additionally, our method exhibits faster performance growth across the training steps, further highlighting its superior generalization capability.
257
+
258
+ # 4.5. Ablation Studies
259
+
260
+ Influence of Different Components. As shown in Tab. 3, the Baseline model is the framework excluding our IDM, DPG and PKT. We then add these modules to evaluate their impacts. Because the DPG module does not independently influence the model training, we integrate it as the front module of PKT, formulating the combined module as DPG&PKT. As we can see, the utilization of both
261
+
262
+ ![](images/1fdbf7bfecba99180fcfa0fafea00871d8753cb0a11ffce213084305e03ea705.jpg)
263
+ (a) Joint-Train
264
+
265
+ ![](images/107a1e5de4a8e4697aafe3757aac4164de95c36835bed9e0e7e959b3946f7e98.jpg)
266
+ (b) Finetune
267
+
268
+ ![](images/f1c612f529f0364a903f8b0bfd6d3671debaf94a27f9b5e951cded8c1f4cd1de.jpg)
269
+ (c) PatchKD
270
+ Figure 8. The t-SNE visualization results of the learned features on five seen datasets.
271
+
272
+ ![](images/827c21e0a686d143ec4ff92638350bab06042ee9d808bf0204395653aed03a61.jpg)
273
+ (d) Ours
274
+
275
+ the IDM and DPG&PKT modules consistently leads to performance improvements on both seen and unseen domains. The instance-level distribution modeling in IDM guides the model to learn more discriminative features. Additionally, DPG&PKT facilitates the transfer of distribution knowledge encoded in the prototypes to the new model that effectively mitigates forgetting. When both two modules are used together, the performance is further improved because the instance distributions modeled by IDM promote the knowledge transfer capacity of DPG&PKT.
276
+
277
+ Influence of Hyperparameters. We analyze the effects of weights for $\mathcal{L}_{tri-d}$ and $\mathcal{L}_{proto-d}$ in Fig. 6 (a) and (b). The results indicate that the model performance varies significantly as $\alpha$ changes. This is because $\mathcal{L}_{tri-d}$ is powerful in guiding the model to learn discriminative knowledge. However, an excessively large value of $\mathcal{L}_{tri-d}$ can lead to optimization instability. In contrast, $\mathcal{L}_{proto-d}$ has a more stable influence on the model since it imposes a looser constraint. In this paper, we set $\alpha = 1.5$ and $\beta = 0.1$ by default according to the results in Fig. 6 (a) and Fig. 6 (b). In Fig. 6 (c), we examine the impact of storing the prototypes from previous $K$ stages during lifelong training. The results show a declining tendency as $K$ increases. This is due to the prototypes from older steps becoming outdated as the model evolves. Thus, we only utilize the prototypes of the previous step in this paper. Lastly, we investigated the influence of the sampled feature candidate number $m$ in Fig. 6 (d). The findings reveal that a higher sampling number leads to better performance, as it enables more accurate modeling of the instance distribution. For the sake of performance and effectiveness, we set $m = 6$ .
278
+
279
+ # 4.6. Visualization Results
280
+
281
+ To illustrate the distribution modeling process of our DKP, the t-SNE visualization in Fig. 7 shows the learned centers and variances of training samples at different epochs. At the initial epochs, the features exhibit a dispersed pattern and the learned variance is large. As the epoch number increases, the features become well-clustered and the learned variances are smaller. Simultaneously, the discriminative boundaries between different clusters are obtained, indicating that different individuals are better distinguished.
282
+
283
+ Besides, we also visualize the features of different datasets shown in Fig. 8 in comparison with Joint-Train, Finetune, and PatchKD. Joint-Train represents all the data is available at once and different datasets are automatically learned to be separate. Due to the non-stationary data stream, both Finetune and PatchKD struggle to accumulate enough knowledge to separate the datasets. However, owing to the effective knowledge accumulation capacity of our distribution-aware knowledge prototyping model, each dataset can be discriminatively separated. This can be attributed to our prototype knowledge transfer loss $\mathcal{L}_{proto - d}$ which facilitates both cross-step discriminant enhancement and consolidation of historical knowledge.
284
+
285
+ # 4.7. Discussion and Future Work
286
+
287
+ Our proposed method outperforms existing methods on the average performance over all datasets, but it still falls short compared to PatchKD and PRAKA on the first and last datasets, respectively, indicating potential space for performance improvement. Additionally, the prototypes from earlier steps do not contribute to knowledge transfer in our method due to their outdated nature, while they still contain valuable distribution information to some extent which should be investigated in the future.
288
+
289
+ # 5. Conclusion
290
+
291
+ In this paper, we focus on the non-exemplar LReID and propose a prototype-based method Distribution-aware Knowledge Prototyping (DKP). To encode more fine-grained knowledge into the prototypes, we propose Instance-level Distribution Modeling and Distribution-oriented Prototype Generation modules to capture the instance-level distribution and generate distribution-aware prototypes. Besides, a Prototype-based Knowledge Transfer module is developed to consolidate the old knowledge from the prototypes into the new model. Extensive experimental results show DKP outperforms existing LReID models by a large margin. To our knowledge, DKP is a pioneer LReID work that adapts the prototype to model distribution knowledge.
292
+
293
+ Acknowledgments. This work was supported by the National Natural Science Foundation of China (62376011, 61925201, 62132001).
294
+
295
+ # References
296
+
297
+ [1] Ejaz Ahmed, Michael Jones, and Tim K Marks. An improved deep learning architecture for person re-identification. In CVPR, pages 3908–3916. IEEE, 2015. 1
298
+ [2] Nader Asadi, MohammadReza Davari, Sudhir Mudur, Rahaf Aljundi, and Eugene Belilovsky. Prototype-sample relation distillation: towards replay-free continual learning. In ICML, pages 1093-1106. PMLR, 2023. 3, 5, 6
299
+ [3] Eden Belouadah and Adrian Popescu. Deesil: Deep-shallow incremental learning. In ECCVW, pages 0–0. Springer, 2018. 1
300
+ [4] Home Office Scientific Development Branch. Imagery library for intelligent detection systems (i-lids). In 2006 IET Conference on Crime and Security, pages 445-448. IET, 2006. 6
301
+ [5] Jie Chang, Zhonghao Lan, Changmao Cheng, and Yichen Wei. Data uncertainty learning in face recognition. In CVPR, pages 5710-5719, 2020. 4
302
+ [6] Wenhang Ge, Junlong Du, Ancong Wu, Yuqiao Xian, Ke Yan, Feiyue Huang, and Wei-Shi Zheng. Lifelong person re-identification by pseudo task knowledge preservation. In AAAI, pages 688–696, 2022. 1, 2
303
+ [7] Douglas Gray and Hai Tao. Viewpoint invariant pedestrian recognition with an ensemble of localized features. In ECCV, pages 262-275. Springer, 2008. 6
304
+ [8] Tyler L Hayes and Christopher Kanan. Lifelong machine learning with deep streaming linear discriminant analysis. In CVPRW, pages 220-221. IEEE, 2020. 1, 2
305
+ [9] Shuting He, Hao Luo, Pichao Wang, Fan Wang, Hao Li, and Wei Jiang. Transreid: Transformer-based object re-identification. In ICCV, pages 14993-15002. IEEE, 2021. 6
306
+ [10] Michael Hersche, Geethan Karunaratne, Giovanni Cherubini, Luca Benini, Abu Sebastian, and Abbas Rahimi. Constrained few-shot class-incremental learning. In CVPR, pages 9057-9067. IEEE, 2022. 1, 2, 3
307
+ [11] John R Hershey and Peder A Olsen. Approximating the kullback leibler divergence between gaussian mixture models. In ICASSP, pages IV-317. IEEE, 2007. 5
308
+ [12] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 5
309
+ [13] Martin Hirzer, Csaba Beleznai, Peter M Roth, and Horst Bischof. Person re-identification by descriptive and discriminative classification. In Image Analysis, pages 91–102. Springer, 2011. 6
310
+ [14] Jinze Huang, Xiaohan Yu, Dong An, Yaoguang Wei, Xiao Bai, Jin Zheng, Chen Wang, and Jun Zhou. Learning consistent region features for lifelong person re-identification. PR, 144:109837, 2023. 2
311
+ [15] Zhipeng Huang, Zhizheng Zhang, Cuiling Lan, Wenjun Zeng, Peng Chu, Quanzeng You, Jiang Wang, Zicheng Liu, and Zheng-jun Zha. Lifelong unsupervised domain adaptive person re-identification with coordinated anti-forgetting and adaptation. In CVPR, pages 14288-14297. IEEE, 2022. 2
312
+
313
+ [16] Wei Li and Xiaogang Wang. Locally aligned feature transforms across views. In CVPR, pages 3594-3601. IEEE, 2013. 6
314
+ [17] Wei Li, Rui Zhao, and Xiaogang Wang. Human reidentification with transferred metric learning. In ACCV, pages 31-44. Springer, 2012. 6
315
+ [18] Wei Li, Rui Zhao, Tong Xiao, and Xiaogang Wang. Deepreid: Deep filter pairing neural network for person re-identification. In CVPR, pages 152–159. IEEE, 2014. 6
316
+ [19] Wei Li, Xiatian Zhu, and Shaogang Gong. Harmonious attention network for person re-identification. In CVPR, pages 2285–2294. IEEE, 2018. 1
317
+ [20] Yi Li, Yiqun Duan, Zhanghui Kuang, Yimin Chen, Wayne Zhang, and Xiaomeng Li. Uncertainty estimation via response scaling for pseudo-mask noise mitigation in weakly-supervised semantic segmentation. In AAAI, pages 1447-1455, 2022. 3
318
+ [21] Zhizhong Li and Derek Hoiem. Learning without forgetting. PAMI, 40(12):2935-2947, 2017. 5, 6
319
+ [22] Chen Change Loy, Tao Xiang, and Shaogang Gong. Time-delayed correlation analysis for multi-camera activity understanding. IJCV, 90(1):106-129, 2010. 6
320
+ [23] Fan Lu, Kai Zhu, Wei Zhai, Kecheng Zheng, and Yang Cao. Uncertainty-aware optimal transport for semantically coherent out-of-distribution detection. In CVPR, pages 3282-3291. IEEE, 2023. 3
321
+ [24] Nan Pu, Wei Chen, Yu Liu, Erwin M Bakker, and Michael S Lew. Lifelong person re-identification via adaptive knowledge accumulation. In CVPR, pages 7897-7906. IEEE, 2021. 2, 5, 6
322
+ [25] Nan Pu, Yu Liu, Wei Chen, Erwin M Bakker, and Michael S Lew. Meta reconciliation normalization for lifelong person re-identification. In ACMM, pages 541–549, 2022. 2
323
+ [26] Nan Pu, Zhun Zhong, Nicu Sebe, and Michael S Lew. A memorizing and generalizing framework for lifelong person re-identification. PAMI, 2023. 2, 5, 6
324
+ [27] Ergys Ristani, Francesco Solera, Roger Zou, Rita Cucchiara, and Carlo Tomasi. Performance measures and a data set for multi-target, multi-camera tracking. In ECCV, pages 17-35. Springer, 2016. 6
325
+ [28] Wuxuan Shi and Mang Ye. Prototype reminiscence and augmented asymmetric knowledge aggregation for nonexemplar class-incremental learning. In ICCV, pages 1772-1781. IEEE, 2023. 2, 3, 5, 6
326
+ [29] Zhicheng Sun and Yadong Mu. Patch-based knowledge distillation for lifelong person re-identification. In ACMMM, pages 696–707, 2022. 2, 4, 5, 6
327
+ [30] Marco Toldo and Mete Ozay. Bring evanescent representations to life in lifelong class incremental learning. In CVPR, pages 16732-16741. IEEE, 2022. 2
328
+ [31] Fred Tung and Greg Mori. Similarity-preserving knowledge distillation. In ICCV, pages 1365-1374. IEEE, 2019. 5
329
+ [32] Longhui Wei, Shiliang Zhang, Wen Gao, and Qi Tian. Person transfer gan to bridge domain gap for person re-identification. In CVPR, pages 79–88. IEEE, 2018. 6
330
+ [33] Yujie Wei, Jiaxin Ye, Zhizhong Huang, Junping Zhang, and Hongming Shan. Online prototype learning for online con
331
+
332
+ tinual learning. In ICCV, pages 18764-18774. IEEE, 2023. 3
333
+ [34] Guile Wu and Shaogang Gong. Generalising without forgetting for lifelong person re-identification. In AAAI, pages 2889–2897, 2021. 1, 2
334
+ [35] Tong Xiao, Shuang Li, Bochao Wang, Liang Lin, and Xiaogang Wang. End-to-end deep learning for person search. arXiv:1604.01850, 2(2):4, 2016. 6
335
+ [36] Chunlin Yu, Ye Shi, Zimo Liu, Shenghua Gao, and Jingya Wang. Lifelong person re-identification via knowledge refreshing and consolidation. In AAAI, pages 3295–3303, 2023. 2, 4
336
+ [37] Lu Yu, Bartlomiej Twardowski, Xialei Liu, Luis Herranz, Kai Wang, Yongmei Cheng, Shangling Jui, and Joost van de Weijer. Semantic drift compensation for class-incremental learning. In CVPR, pages 6982-6991. IEEE, 2020. 2
337
+ [38] Tianyuan Yu, Da Li, Yongxin Yang, Timothy M Hospedales, and Tao Xiang. Robust person re-identification by modelling feature uncertainty. In ICCV, pages 552–561. IEEE, 2019. 3, 4
338
+ [39] Baoquan Zhang, Xutao Li, Yunming Ye, Zhichao Huang, and Lisai Zhang. Prototype completion with primitive knowledge for few-shot learning. In CVPR, pages 3754-3762, 2021. 2
339
+ [40] Lei Zhang, Guanyu Gao, and Huaizheng Zhang. Spatial-temporal federated learning for lifelong person re-identification on distributed edges. arXiv:2207.11759, 2022.6
340
+ [41] Bowen Zhao, Xi Xiao, Guojun Gan, Bin Zhang, and Shu-Tao Xia. Maintaining discrimination and fairness in class incremental learning. In CVPR, pages 13205-13214. IEEE, 2020. 2
341
+ [42] Bo Zhao, Shixiang Tang, Dapeng Chen, Hakan Bilen, and Rui Zhao. Continual representation learning for biometric identification. In WACV, pages 1197-1207. IEEE, 2021. 5, 6
342
+ [43] Haiyu Zhao, Maoqing Tian, Shuyang Sun, Jing Shao, Junjie Yan, Shuai Yi, Xiaogang Wang, and Xiaou Tang. Spindle net: Person re-identification with human body region guided feature decomposition and fusion. In CVPR, pages 907–915. IEEE, 2017. 6
343
+ [44] Liang Zheng, Liyue Shen, Lu Tian, Shengjin Wang, Jingdong Wang, and Qi Tian. Scalable person re-identification: A benchmark. In ICCV, pages 1116–1124. IEEE, 2015. 6
344
+ [45] Zhedong Zheng and Yi Yang. Rectifying pseudo label learning via uncertainty estimation for domain adaptive semantic segmentation. IJCV, 129(4):1106-1120, 2021. 3
345
+ [46] Fei Zhu, Xu-Yao Zhang, Chuang Wang, Fei Yin, and ChengLin Liu. Prototype augmentation and self-supervision for incremental learning. In CVPR, pages 5871-5880. IEEE, 2021. 1, 2, 3, 4
346
+ [47] Kai Zhu, Yang Cao, Wei Zhai, Jie Cheng, and Zheng-Jun Zha. Self-promoted prototype refinement for few-shot class-incremental learning. In CVPR, pages 6801-6810. IEEE, 2021. 3
347
+ [48] Kai Zhu, Wei Zhai, Yang Cao, Jiebo Luo, and Zheng-Jun Zha. Self-sustaining representation expansion for non-
348
+
349
+ exemplar class-incremental learning. In CVPR, pages 9296-9305. IEEE, 2022. 2
350
+ [49] Orr Zohar, Kuan-Chieh Wang, and Serena Yeung. Prob: Probabilistic objectness for open world object detection. In CVPR, pages 11444-11453. IEEE, 2023. 3
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b35e052bff7cb9f9af1bbbda8356d95b7f613c5740586862b5297e7c7af15c1
3
+ size 871434
2024/Distribution-aware Knowledge Prototyping for Non-exemplar Lifelong Person Re-identification/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/c0595e7c-a382-440e-bead-c24efb7626f0_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac4c59328c3ac7e2852df6b680410bcb653c10519f34727f88574931a76e6f5
3
+ size 3277302
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/full.md ADDED
@@ -0,0 +1,423 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Distributionally Generative Augmentation for Fair Facial Attribute Classification
2
+
3
+ Fengda Zhang $^{1*}$ , Qianpei He $^{1*}$ , Kun Kuang $^{1}$ , Jiashuo Liu $^{2}$
4
+
5
+ Long Chen $^{3}$ , Chao Wu $^{1}$ , Jun Xiao $^{1}$ , Hanwang Zhang $^{4,5}$
6
+
7
+ $^{1}$ Zhejiang University $^{2}$ Tsinghua University $^{3}$ HKUST $^{4}$ NTU $^{5}$ Skywork AI
8
+
9
+ {fdzhang,hqp,kunkuang,chao.wu,junx}@zju.edu.cn liujiashuo77@gmail.com
10
+
11
+ longchen@ust.hk hanwangzhang@ntu.edu.sg
12
+
13
+ # Abstract
14
+
15
+ Facial Attribute Classification (FAC) holds substantial promise in widespread applications. However, FAC models trained by traditional methodologies can be unfair by exhibiting accuracy inconsistencies across varied data subpopulations. This unfairness is largely attributed to bias in data, where some spurious attributes (e.g., Male) statistically correlate with the target attribute (e.g., Smiling). Most of existing fairness-aware methods rely on the labels of spurious attributes, which may be unavailable in practice. This work proposes a novel, generation-based two-stage framework to train a fair FAC model on biased data without additional annotation. Initially, we identify the potential spurious attributes based on generative models. Notably, it enhances interpretability by explicitly showing the spurious attributes in image space. Following this, for each image, we first edit the spurious attributes with a random degree sampled from a uniform distribution, while keeping target attribute unchanged. Then we train a fair FAC model by fostering model invariance to these augmentation. Extensive experiments on three common datasets demonstrate the effectiveness of our method in promoting fairness in FAC without compromising accuracy. Codes are in https://github.com/heqianpei/DiGA.
16
+
17
+ # 1. Introduction
18
+
19
+ Facial Attribute Classification (FAC) has garnered significant interest owing to its broad and practical applications like face verification and image retrieval [66, 88]. The goal of FAC is to predict a certain target attribute (e.g., Smiling) of a given facial image. Unfortunately, previous studies have shown that the FAC models can be unfair by exhibiting accuracy inconsistencies across different data subpopulations [55]. This unfairness is predominantly attributed to
20
+
21
+ ![](images/62c2eae73ab61974d16cfb43c9fbec62fc2d75c1efec3c48b8dd92a02b97ca54.jpg)
22
+
23
+ ![](images/3b8fb5c38fd9047ab725917e6801286a329f12e0645ec98d63d4d6138917fc78.jpg)
24
+ group label
25
+
26
+ ![](images/414b538dd8dc4823f25ea9717f59897f0b54875b7f6465132189ca2522b36bf7.jpg)
27
+ target attribute
28
+ majority
29
+ Smiling
30
+
31
+ ![](images/61fe7923a2bc5d6d0e4cbdc82ea96258d16775c3d466f2cbe2cb498c2808d2d0.jpg)
32
+ majority
33
+ Non-smili
34
+
35
+ ![](images/3acfd795972e49972ec39dd27e0e8387d99189d636b185979d0353d276d60602.jpg)
36
+ minority
37
+ Non-smiling
38
+
39
+ ![](images/1a53a4beef9792fbfe9253e04f0be6dc902f93e07ad42276ea1ed864f2b7261b.jpg)
40
+ minority
41
+ Smiling
42
+
43
+ ![](images/47e9b7c51191f619ecacb878a57764ba526395bbdcbdf316e6fbbd318e16155c.jpg)
44
+ spurious attribute
45
+ accuracy (ERM, $\beta$
46
+ Acc. $(\%)$ , $\uparrow$ is better
47
+
48
+ ![](images/58e4b1355c11cbd2f23a70c70bf53b244ea10626993270ef12b7f1f6d1025e46.jpg)
49
+ (a) Accuracy (Acc.)
50
+ Figure 1. FAC models can be unfair by exhibiting accuracy inconsistencies across varied data subpopulations (e.g., $95.4\%$ accuracy on Smiling&Female and $70.1\%$ accuracy on Smiling&Male). This unfairness is predominantly attributed to data bias, measured by $\beta$ . In general, the more biased the data (i.e., larger $\beta$ ), the more unfair the model. Most of existing methods such as IRM [1] and resampling [59] rely on the labels of spurious attributes. Our method can improve the fairness, measured by $EO$ and the worst-group accuracy (Eq. (4) and (5)), of FAC models without additional annotations. Experiments above are performed on CelebA [46].
51
+
52
+ ![](images/4fd4dcb548d5df458f591f59d48ffa87fe87852e2cd013878845700d40621605.jpg)
53
+ Female
54
+ Wst. $(\%)$ ,↑isbetter
55
+
56
+ ![](images/103132afe3933fae5a3953eaf74eb86679f5995e08d43c7e4b9b9243a0b13840.jpg)
57
+ (b) The worst-group accuracy $(Wst.)$
58
+
59
+ ![](images/0a32dbf16f2f1ba815c2557b86aa8b8f1dbd0798a51b3824e09dc1be2fd545ea.jpg)
60
+ Male
61
+ 98.6%
62
+ Female
63
+ 81.7%
64
+ Male
65
+ 70.1%
66
+
67
+ ![](images/a9100979c998ce54dcaf9a63a36fcbffe2b2ab4e2e2839792de903f97336949c.jpg)
68
+ $EO(\%)$ $\downarrow$ is better
69
+ (c) Fairness $(EO)$
70
+
71
+ bias in the training data [13, 19, 51, 71]. For example, as shown in Figure 1, the majority of Smiling images in the training dataset are Female (termed as spurious attribute). Then, the FAC models trained by traditional methods (e.g., Empirical Risk Minimization (ERM)) may use the spurious attribute as a shortcut to predict the target attribute. As a results, the models may suffer from low accuracy on certain data subpopulations (e.g., Non-smiling&Female), which seriously hinders their applications in the real world [41].
72
+
73
+ To train a fair model on the biased dataset, a number of approaches have been proposed. These methods can be broadly divided into two categories. The first category miti
74
+
75
+ ![](images/746ece824369acd03aed9cbc0488d41d543c0e8210f42195d72da5acabb4a9e7.jpg)
76
+ Figure 2. Moving the latent codes $\mathbf{z}$ of a well-trained generative model in a learned direction $\mathbf{n}$ can edit the target attribute (e.g., Smiling) of images $(\mathbf{x} \rightarrow \mathbf{x}_y)$ [64]. We observe that if the data is biased, the learned direction will be biased by containing information of spurious attributes (e.g., Male) $(\mathbf{x} \rightarrow \mathbf{x}_1, \mathbf{x}_2)$ . Based on this, we synthesize a direction $\mathbf{n}_s$ to manipulate the spurious attributes while keeping target attribute unchanged $(\mathbf{x} \rightarrow \mathbf{x}_s)$ .
77
+
78
+ gates bias by adding a fairness-aware regularization into the training optimization objective [12, 31, 61]. However, recent findings indicate that the regularization terms of these methods easily suffer from overfitting, causing such methods to degenerate into ERM [26, 86]. The second category transforms the data by reweighting or augmentation to mitigate bias [34, 62, 85]. Among them, a series of recent studies have achieved great success at fair FAC by using generative models to construct an unbiased dataset [39, 56, 58, 81].
79
+
80
+ Although existing methods have made strides in improving fairness, most of them require the labels of spurious attributes. Unfortunately, spurious attributes annotation may be unavailable in practice for some reasons [2, 6, 22, 37]. Firstly, the vast spectrum of attributes present in images creates a challenge in identifying which are spurious attributes. Secondly, some attributes (e.g., Attractive) are difficult to label due to their inherent subjectivity and ambiguity. Lastly, the annotation costs are expensive, especially for large-scale datasets. These considerations naturally prompt the inquiry: How can one construct a fair FAC model on biased data without the labels of spurious attributes?
81
+
82
+ In this paper, we solve this problem based on a finding in the generative models, as show in Figure 2. Previous studies have shown that latent codes for well-trained generative models actually encode disentangled representations, and moving the latent codes $z$ in a learnable direction $n$ can manipulate the target attribute (e.g., Smiling) of images $(\pmb{x} \rightarrow \pmb{x}_y)$ [64, 69]. Based on this, we further observe that the learned direction will be biased if there is a spurious correlation in training data. By 'biased', we mean that the direction also contains semantics of spurious attributes (e.g., Male), so that the potential spurious attributes will change along with the target attribute during editing $(\pmb{x} \rightarrow \pmb{x}_1, \pmb{x}_2)$ .
83
+
84
+ Inspired by this finding, we introduce a two-stage framework to address the posed question. (1) In the first stage, we identify the spurious attributes via generative models. Specifically, we combine two different biased directions (i.e., $n_1$ and $n_2$ in Figure 2) in a proper way to cancel out the semantic of target attribute, so that the combined direction $n_s$ will only encode spurious attributes. Then, by editing one or more images with the combined direction, the changes of spurious attributes will be faithfully reflected in the image space, as shown in Figure 2 ( $x \rightarrow x_s$ ). (2) In the second stage, we learn a fair FAC model via generative augmentation. For each image, we first edit its spurious attributes with a random degree sampled from a uniform distribution. Then we train a fair FAC model by promoting its invariance to such augmentations. We call the proposed approach Distributionally Generative Augmentation (DiGA).
85
+
86
+ Our method presents two primary merits. Firstly, no annotation outside of target attribute is required. Leveraging generative models, our method mirrors potential data biases within the image space explicitly, concurrently enhancing interpretability. Secondly, the random degree for fairness-aware generative augmentation follows uniform distribution. Compared to the existing single point augmentations (e.g., flipping the spurious attributes) [58, 81], it provides more information for the subsequent fair representation learning and thus enhances the representation quality.
87
+
88
+ We carried out experiments on CelebA [46] and UTK-Face [82] datasets for FAC. The classification results in terms of accuracy and fairness show the effectiveness of the proposed DiGA. Additionally, we performed extensive analysis experiments to further illustrate the merits of our method in many ways. Moreover, through empirical studies on the Dogs and Cats dataset [33], we showcased the potential of our approach in general bias mitigation.
89
+
90
+ Our main contributions can be summarized as: (1) The formulation of an interpretable bias detection technique using generative methods for FAC. (2) The introduction of a fair representation learning strategy predicated on distributionally generative augmentation. (3) Comprehensive experiments across three prevalent datasets, demonstrating that our framework effectively enhances fairness without sacrificing accuracy relative to compared baselines in FAC.
91
+
92
+ # 2. Related work
93
+
94
+ Bias Mitigation with Group Information. There are two main branches to train a fair model on biased data. The first branch introduces regularizations into optimization objective [12, 20, 31, 38, 49, 61, 75]. For example, distributionally robust optimization (DRO) methods optimize the worst-case performance [15], while invariant risk minimization (IRM) learns unbiased representations with invariance to different environments [1]. However, regularization-based methods have proved to be prone to the overpes
95
+
96
+ simism or overfitting problem [85, 86]. The second branch is to construct an unbiased dataset by transforming data [62, 77]. Typically, reweighting-based methods reweight the data distribution by some heuristics and train models on the reweighted distribution [34, 47, 48]. However, the reweighted distribution still has the same support with the original biased distribution. In order to better improve fairness, recent studies have successfully transformed the training distribution by using generative models to generate training samples for minority groups [39, 56, 58, 81].
97
+
98
+ Bias Mitigation without Group Information. Some studies have explored how to mitigate bias without additional annotation [2, 3, 6, 22, 43, 44, 60, 76, 84, 87]. Most of these methods predict the bias information as the proxies for the spurious attributes by some heuristics (usually the prediction errors given by a biased classifier) [8, 37, 42, 52]. Recently, researchers have tried to improve robustness based on pre-trained models (e.g., CLIP [57]) without additional annotations [17, 28, 35, 65, 73, 78]. Note that these efforts rely on pre-trained models, and our work can be done without using pre-trained models. For example, we can use a reference model trained by JTT [42] instead of CLIP.
99
+
100
+ Generative Modeling for Fairness. Generative models have achieved great success in recent years [11, 25, 45, 64, 69]. Some works have proposed to evaluate fairness by generating counterfactual samples [9, 10, 29]. Recently, generation-based methods have demonstrated significant strides in bias mitigation by constructing a balanced and unbiased dataset [27, 39, 56, 58, 81]. However, these methods need the prior of additional annotations. In this paper, we extend the generation-based approach to cases without additional annotations.
101
+
102
+ Fair Representation Learning. Learning representations is important for reliable performance in visual recognition. Recent years, contrastive learning has been remarkably successful in learning effective representations [4, 5, 18, 24, 53, 70, 74, 80]. However, traditional representation learning methods ignore potential fairness issues. To this end, as a pre-processing method, fair representation learning has achieved great success [7, 14, 50, 54, 63, 71, 79, 83]. For example, FSCL proposes to learn fair representations by closing the distance of samples with the same target attribute labels but different sensitive attribute labels [55]. However, most of existing fair representation learning methods rely on labels of spurious attributes, while our method avoids this limitation by the proposed bias detection method.
103
+
104
+ # 3. Method
105
+
106
+ In this section, we introduce our two-stage framework to train a fair FAC model on biased data without the labels of spurious attributes. We first state our findings in generative modeling on biased data. Then we propose a generation-based approach for bias detection with theoretical justifica
107
+
108
+ tion. Finally, we develop a method based on distributionally generative augmentation for fair representation learning.
109
+
110
+ # 3.1. Findings in Biased Generative Modeling
111
+
112
+ Image Attribute Manipulation via Latent Space. Previous works have shown that we can manipulate an image's target attribute (e.g., Smiling) via latent space of generative models [64, 69]. Typically, given a well-trained GAN model, the generator $G: \mathcal{Z} \to \mathcal{X}$ can map a latent code $z \in \mathcal{Z}$ to an image $x \in \mathcal{X}$ , where $\mathcal{Z}$ denotes the latent space. As shown in Figure 3(a), we can train a linear classifier in latent space to learn the boundary hyperplane, with a unit normal vector $n$ , of the target attribute. Then, the target attribute of image $x$ can be manipulated by altering its latent code $z$ along the normal vector $n$ , i.e., $x_{edit} = G(z \pm \alpha n)$ , where $\alpha \in \mathbb{R}^{+}$ controls the degree of image attribute editing.
113
+
114
+ Biased Semantic Direction. Consider that some sensitive attributes (e.g., Male) have a statistically association with the target attribute in the training data, as shown in Figure 3(b). In this case, if we train a linear classifier of target attribute in latent space by regularized logistic regression, the learned classifier (i.e., boundary hyperplane) also will be biased. Therefore, when the latent code of the image is moved along the normal of the biased classification hyperplane, not only the target attribute but also the spurious attributes are changed. Moreover, we also note that the biased degree can be affected by the regularization strength.
115
+
116
+ # 3.2. Bias Detection via Generative Modeling
117
+
118
+ Semantic Direction Combination. In order to detect the potential spurious attributes, our idea is to synthesize a direction of spurious attributes in latent space, so that we can manipulate the spurious attributes while keeping the target attribute unchanged in image space. To achieve this, we first train a generative model on the training dataset (or a subset, for efficiency). Then, by using different regularization strengths, we can obtain two different biased semantic directions of target attribute. Finally, as shown in Figure 3(c), we combine these two biased directions by some appropriate combination coefficients. By 'appropriate', we mean that the semantic of the target attribute can be cancelled out to zero while only the semantics of spurious attributes are remained. Theoretical guarantees for the existence of optimal combination coefficients are stated later (Theorem 1). Note that the proposed method naturally supports multi-spurious attribute setting. To extend the method to the multi-class setting, we can transform the problem into multiple binary classification in bias detection stage.
119
+
120
+ Grid Search for Optimal Combination Coefficients. The remaining question is how to find the optimal combination coefficients. In this paper, we use the grid search method to traverse the parameter values and then apply the different resultant directions to a small image subset of the training
121
+
122
+ *The classification boundary in latent space is determined by $w^{*} = \underset{w}{\operatorname{argmin}} L((z, y); w) + \frac{\lambda}{2} \left| |w| \right|_{2}^{2}$ .
123
+
124
+ (a) unbiased data $\Rightarrow$ unbiased $w^{*}$
125
+
126
+ ![](images/39ba4f74c23c5e9ddb89faf866c5ceff89b93d0daee8aec618f72ce5f143d9e0.jpg)
127
+
128
+ ![](images/9d3a493a244fb300f6fd861a30f01113945bad7d6ae1a61795ef36304a370cec.jpg)
129
+
130
+ ![](images/19e48e1e142b83fc3fd9d6521e81aeb070522c4fad004c186106406269c63306.jpg)
131
+ latent space
132
+
133
+ ![](images/72e604991b51361f94059a0e35c3dfb755b8261007db1fbfef8ae683a7c6b91d.jpg)
134
+
135
+ ![](images/76ef0a28fb7bb34ec043cc2b4af5ad385c2738d75cdd18452c34bc3764893958.jpg)
136
+
137
+ (b) biased data $\Rightarrow$ biased $w^{*}$
138
+
139
+ ![](images/8200a16dc5072faecb2448f82695ae2ec95a1fc0e7b3bfcaa7a9fb1afe3c0112.jpg)
140
+
141
+ ![](images/cd7ac95912aa361043f8261f7b161ace01349819cfbedf982e75a09102f0da5c.jpg)
142
+ Regularizer Strength $\lambda$
143
+
144
+ ![](images/c8d64f635dadc0c2e52f3f108c924edaf732cdd3f7b052eeb39afd9a35cc01c0.jpg)
145
+ 10
146
+
147
+ ![](images/e682cfcd97181579daede882ceceeae4bb3b9d6c377ca37c55cb51bab556363f.jpg)
148
+ 102
149
+
150
+ ![](images/fc532f2f057a2b8fa4fa72de101f223b66db9cf8de1ca4588580b365b26c05f3.jpg)
151
+ 103
152
+ $\theta \uparrow$ bias
153
+
154
+ ![](images/6a840b2f575ded73a01da7a9d17ff2832153477915380931685f5ee0a5d37569.jpg)
155
+ 104
156
+
157
+ (c) Combine $w_{cmb} = c_1^* w_1^* - c_2^* w_2^*$
158
+
159
+ ![](images/bc565adb5887711631c4be9c66fe9bf31ab3d0d47b378b76bfa0385adc2e8e58.jpg)
160
+ Figure 3. Illustration of our bias detection method. (a) Latent codes for well-trained generative models encode disentangled representations, and moving the latent codes along the normal vector $n$ of the learned classification boundary $w^{*}$ can edit the target attribute of images. (b) The learned boundary $w^{*}$ will be biased if the training data is biased, and the bias degree of boundary $w^{*}$ is influenced by the regularization strength $\lambda$ . (c) By choosing the appropriate coefficients $(c_{1}^{*}, c_{2}^{*})$ , we can combine two biased boundaries $(w_{1}^{*}, w_{2}^{*})$ into a new boundary $w_{cmb}$ that is only dependent of the spurious attributes. So the direction $n_{cmb}$ , the normal vector of $w_{cmb}$ , only encode the semantics of spurious attributes. (d) To find the optimal coefficients $(c_{1}^{*}, c_{2}^{*})$ , we perform grid search with the help of a reference model.
161
+
162
+ ![](images/17492e91ad8e945c9fc537dd8b2ea291b79f19d552279e3d9416fa109bfbad73.jpg)
163
+
164
+ ![](images/5556f6a70363e96c5d7531897f3355352f892b9b1c0d24fbaf144eb99f15ad05.jpg)
165
+
166
+ ![](images/ddee541c7d52e0b3f0f971c93dee45a65ec69965c97120e649a09881d5c8acc9.jpg)
167
+ Female $\leftarrow$ & Fixed Smiling
168
+
169
+ ![](images/268d8f2bff543337e14d31e1ad301442d4bcfe8abd7b36b4446ef7aa295297ea.jpg)
170
+
171
+ ![](images/04511fbdf450d18b10a18bc22f11d28e8dab4606e62cf76f80e8abe2cf38dc70.jpg)
172
+
173
+ ![](images/061b52d1af521d716a279888786cfc84f5027443b078f69794552a34535f2c63.jpg)
174
+
175
+ data. In order to judge whether the components of the target attribute semantics in the direction are cancelled out, we can utilize the artificial judgment or a reference model, as shown in Figure 3(d). More implementation details of grid search for coefficients selection are stated in Experiments.
176
+
177
+ Remark. We would like to emphasize that previous work has theoretically demonstrated that a model cannot be guaranteed to be fair with only target attribute labels [40], suggesting that introducing additional information is necessary. Note that the cost of the additional information we used is very low. For artificial judgment, only several images needs to be manually judged. As for the reference model, it is not necessary to have high accuracy. There are many open source vision-language foundation models available such as CLIP [57] that can be used to evaluate the changes to the target attributes after editing by zero-shot prediction. Actually, the assumption of reference model is commonly used in fairness studies [6] since it is easy to obtain in practice.
178
+
179
+ # 3.3. Theoretical Justification for Bias Detection
180
+
181
+ Here we provide a theoretical justification for the above bias detection method in a common setting [62]. Without loss of generality, we start from the setup that both target attribute $y \in \{1, -1\}$ and spurious attribute $s \in \{1, -1\}$ are binary. Consider that the training dataset of size $n$ is divided into
182
+
183
+ four groups: two majority groups with $s = y$ , each containing $n_{maj} / 2$ samples, and two minority groups with $s = -y$ , each containing $n_{min} / 2$ samples. We define the bias degree of data as $\beta = n_{maj} / (n_{maj} + n_{min}) \in [1/2, 1)$ . The larger the $\beta$ , the stronger the correlation between $s$ and $y$ in the training data. We say the data is unbiased if $\beta = 1/2$ . Given a well-trained GAN model, each group has its own distribution over latent codes $z = [z_y, z_s] \in \mathbb{R}^{2d}$ consisting of stable features $z_y \in \mathbb{R}^d$ generated from the target attribute $y$ , and spurious features $z_s \in \mathbb{R}^d$ generated from the spurious attribute $s$ :
184
+
185
+ $$
186
+ z _ {y} \mid y \sim N \left(y \mathbf {1}, \sigma_ {y} ^ {2} I _ {d}\right), \tag {1}
187
+ $$
188
+
189
+ $$
190
+ z _ {s} \mid s \sim N \left(s \mathbf {1}, \sigma_ {s} ^ {2} I _ {d}\right). \tag {2}
191
+ $$
192
+
193
+ To get the classification boundary hyperplane, we use regularized logistic regression with optimization objective:
194
+
195
+ $$
196
+ \min _ {\boldsymbol {w} \in \mathbb {R} ^ {2 d}} \mathbb {E} _ {(\boldsymbol {z}, \boldsymbol {y})} [ \log (1 + \exp (- \mathrm {y} w z)) ] + \frac {\lambda}{2} \| \boldsymbol {w} \| _ {2} ^ {2}, \tag {3}
197
+ $$
198
+
199
+ where $\boldsymbol {w} = [w_y,w_s]$ are linear classifier parameters and $\lambda >0$ controls regularization strength. The parameters of learned classifier are denotes as $w^{*} = [w_{y}^{*},w_{s}^{*}]$ ,and we define the bias degree of the classifier as $\beta_{clf} = ||w_s^* || / ||w_y^* ||\in$ $[0, + \infty)$ .The larger $\beta_{clf}$ is, the more spurious attribute information the learned classifier uses, and thus the greater
200
+
201
+ the degree of deviation of the classification boundary hyperplane in latent space. The classifier is unbiased if and only if $\beta_{clf} = 0$ . Then we have the following theorem:
202
+
203
+ Theorem 1 (Optimal combination coefficients' existence). The learned classifier with optimization objective 3 is biased (i.e., $\beta_{cf} > 0$ ), if the data is biased (i.e., $\beta > 1/2$ ). Moreover, there exists optimal combination coefficients $(c_1^*, c_2^*) \in \mathbb{R}_+^2$ such that $\boldsymbol{w}_{cmb} := c_1^* \boldsymbol{w}_1^* - c_2^* \boldsymbol{w}_2^* = [0, 1]$ is dependent of $s$ and independent of $y$ , if $\lambda_1 \ll \lambda_2$ , where $\boldsymbol{w}_1^*$ and $\boldsymbol{w}_2^*$ are parameters of linear classifiers trained with regularization strengths $\lambda_1$ and $\lambda_2$ , respectively.
204
+
205
+ Please refer to Appendix for proof. The optimal combination coefficients yield a classifier of potential spurious attributes in latent space, independent of the target attribute. Theorem 1 reveals the existence of optimal combination coefficients, laying a foundation for the proposed traversal search-based method for bias detection.
206
+
207
+ # 3.4. Bias Mitigation via Generative Augmentation
208
+
209
+ To prevent the model from learning or amplifying potential bias in the training data, we first learn fair representations that contain as little spurious attributes information as possible. Note that the obtained optimal combined direction $\pmb{n}_{cmb}$ can be used to manipulate the spurious attributes of images while keeping the target attribute unchanged. Following this, our idea is to train a representation model $E(\cdot, \phi)$ with invariance to changes in spurious attributes.
210
+
211
+ We implement this idea based on contrastive learning, as shown in Figure 4. Specifically, for each image $\pmb{x}$ in training dataset with latent code $\pmb{z}$ , we perform random augmentation, including not only the traditional strategies $T(\cdot)$ such as random clipping, but also the generative augmentation of spurious attributes via direction $\pmb{n}_{cmb}$ . By this way, in each iteration, we can get the augmented positive sample pair $\pmb{x}' = T(G(\pmb{z} + \alpha' \pmb{n}_{cmb}))$ and $\pmb{x}'' = T(G(\pmb{z} - \alpha'' \pmb{n}_{cmb}))$ , where $\alpha'$ and $\alpha''$ are uniformly sampled from $[\alpha_l, \alpha_u]$ , and $\alpha_l, \alpha_u \in \mathbb{R}^+$ are hyperparameters controlling the variation range of spurious attributes' semantics. Then, we train a fair encoder $E(\cdot, \phi)$ by minimizing the distance between representations of positive samples on training dataset. Finally, we train a linear classifier $C(\cdot, \omega)$ on the top of frozen encoder $E(\cdot, \phi)$ on training dataset for fair classification.
212
+
213
+ Notably, The degree for spurious attributes manipulation follows a uniform distribution rather than a single point. This distributionally generative augmentation provides finer supervision information as guidance for fair representation learning, thus helping to improve representation quality. We used techniques such as momentum update and stopping gradient like previous works [5, 18] in our implementation.
214
+
215
+ ![](images/552827ee3ad2cb9d0e76bfec981b6e6410b993d803b324941d4a88dffd3311ba.jpg)
216
+ Figure 4. Distributionally generative augmentation for fair representation learning. For each image, we edit its spurious attributes by using the combined semantic direction $\pmb{n}_{cmb}$ in latent space. The editing degrees $\alpha'$ and $\alpha''$ are randomly sampled from a uniform distribution. We also perform traditional augmentation $T(\cdot)$ such as random clipping. The encoder is trained to learn fair and effective representations by closing the distance between augmented views. We use momentum encoder to avoid collapsing.
217
+
218
+ # 4. Experiments
219
+
220
+ # 4.1. Datasets
221
+
222
+ To validate our method, we did experiments on identical three datasets that were utilized in prior studies [55, 58, 81].
223
+
224
+ CelebA [46] is a common dataset used for FAC. Each image has 40 binary attributes labels. Following the setting of the previous works [42, 58, 72], we select Smiling, Blond Hair, Black Hair, Male and Young as the target attributes, and set Male and Young as spurious attributes. Besides, to verify the performance of our method in the setting of multi-target labels and multi-spurious attributes, we also set {Blond Hair, Black Hair} as target attributes and {Male, Young} as spurious attributes respectively. For each experiment, we randomly sample a biased subset as training dataset with size of 20,000 images, where the majority group and minority group have $90\%$ and $10\%$ of the sample size respectively. We report performance on the whole original test dataset.
225
+
226
+ UTK-Face [82] contains over 20k facial images, each with attributes labels. Following the experimental setup in the previous works [30, 55], we define a binary spurious attribute Ethnicity based on whether the facial image is white or not. The task is to predict the Gender. We randomly sample a biased subset consisting of 10,000 images, with the same bias degree as CelebA. We also construct a balanced and unbiased test dataset consisting of 3,200 images.
227
+
228
+ Dogs and Cats dataset is widely used for general bias mitigation [33, 55, 81]. It contains dog and cat images with additional annotations for partial images about the color of dog/cat is bright or dark. The task is to predict if the image is a cat or a dog and the spurious attribute is color. The biased training set consists of 400 bright cat images, 3,600 bright dog images, 3,600 dark cat images, and 400 dark cat
229
+
230
+ ![](images/44cd016d3db62f879573d03b10fe3f6c4f001f8e8421785111264271f9dd2257.jpg)
231
+ Figure 5. Bias detection results on CelebA dataset. The constructed training dataset is biased, where $75\%$ Smiling images are Female&Young and $75\%$ Non-smiling images are Male&Non-young. We only have labels of target attribute Smiling. By utilizing the proposed bias detection method, we obtain the combined direction and edit training images. It can be observed that the changes of gender and age are faithfully reflected in image space, illustrating which attributes are spurious attributes explicitly and thus enhancing interpretability.
232
+
233
+ images. The balanced test set consists of 2,400 images.
234
+
235
+ # 4.2. Evaluation Metrics
236
+
237
+ Our goal is to learn a fair and accurate FAC model. In this paper, we use equalized odds (EO) [21], one of the most commonly used notion of group fairness [16], as the fairness metric. Following [30], we extend EO to multi-target attribute and multi-spurious attribute setting:
238
+
239
+ $$
240
+ \max _ {\substack {\forall y, \hat {y} \in \mathcal {Y} \\ \forall s ^ {i}, s ^ {j} \in \mathcal {S}}} \left| P _ {s ^ {i}} \left(\hat {Y} = \hat {y} \mid Y = y\right) - P _ {s ^ {j}} \left(\hat {Y} = \hat {y} \mid Y = y\right) \right|, \tag{4}
241
+ $$
242
+
243
+ where $Y$ is ground truth, $\hat{Y}$ is predictive label given by the classifier, and $s^i, s^j \in S$ is the value of spurious attributes. A smaller $EO$ means a fairer classifier. We also report the worst-group accuracy defined as:
244
+
245
+ $$
246
+ \min _ {\substack {\forall y \in \mathcal {Y} \\ \forall s \in \mathcal {S}}} P _ {s} (\hat {Y} = y \mid Y = y), \tag{5}
247
+ $$
248
+
249
+ Besides, we use accuracy $(\%)$ to measure the model utility.
250
+
251
+ # 4.3. Bias Detection Results on Facial Datasets
252
+
253
+ Bias Detection Results. Consider that the task is to predict whether a given facial image is Smiling or not. The training dataset is constructed to be biased, where the target attribute Smiling statistically correlates with two potential spurious attributes Male and Young. Note that only target attribute labels are available during training. We use the proposed bias detection method to obtain the combined semantic direction, and edit the training images to detect the bias. The results on CelebA are shown in Figure 5. We can observe that the changes of the potential spurious attributes Male and Young are faithfully reflected in the image space.
254
+
255
+ <table><tr><td>c1/c2</td><td>0.5</td><td>0.6</td><td>0.7</td><td>0.8</td><td>0.9</td><td>1.0</td><td>1.1</td><td>1.2</td><td>1.3</td><td>1.4</td><td>1.5</td></tr><tr><td>consistency (%)</td><td>73.0</td><td>76.0</td><td>78.5</td><td>83.0</td><td>84.5</td><td>83.5</td><td>83.0</td><td>82.5</td><td>81.0</td><td>77.5</td><td>76.5</td></tr></table>
256
+
257
+ Table 1. Grid search results for optimal combination coefficients.
258
+
259
+ Implementations. We perform grid search for the optimal combination coefficients $c_1^*$ , $c_2^*$ such that the combined direction $c_1^* \mathbf{n}_1 - c_2^* \mathbf{n}_2$ only contains semantics of spurious attributes. The criterion is to make the target attribute match most consistent before and after editing, that is, to make the changes of the target attributes as little as possible. In order to improve efficiency, we randomly sample only 100 images from the training dataset. For each search, we edit them positively and negatively respectively by the combined direction to get 200 edited images. Then we predict their target labels by using CLIP as reference model with prompts "A face with/without smile". For ease of search, we rewrite the combined direction as $c_1 (\mathbf{n}_1 - c_2 / c_1 \mathbf{n}_2)$ . So we only need to search for $c_2 / c_1$ (from 0.5 to 1.5 with unit 0.1). The results are shown in Table 1. We set $c_1 / c_2 = 0.9$ , which makes the target attribute change the least after editing.
260
+
261
+ # 4.4. Classification Results on Facial Datasets
262
+
263
+ Main Results. The classification results on CelebA and UTKFace datasets are shown in Table 2. We measure classification accuracy (Acc.), the worst-group accuracy (Wst.), and $EO$ of trained FAC models. We find that $ERM$ achieves good accuracy but suffers from severe unfairness. We also compare our method with various state-of-the-art debiasing baselines that do not require spurious attribute labels including regularization-based methods (CVaR DRO [38] and EIIL [8]) and reweighting-based methods (LfF [52], JTT [42], and MAPLE [85]). We find that although these debiasing methods improve fairness to some extent, they sacrifice accuracy more or less. Compared with them, our
264
+
265
+ <table><tr><td rowspan="2">Method</td><td colspan="3">T=s / S=m</td><td colspan="3">T=s / S=y</td><td colspan="3">T=b / S=m</td><td colspan="3">T=a / S=y</td><td colspan="3">T=m / S=y</td><td colspan="3">T=y / S=m</td><td colspan="3">T=b&amp;a&amp;r / S=m</td><td colspan="3">T=s / S=m&amp;y</td><td colspan="3">T=g / S=e</td></tr><tr><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td></tr><tr><td>ERM [23]</td><td>88.2</td><td>70.1</td><td>25.3</td><td>88.3</td><td>71.5</td><td>15.6</td><td>84.2</td><td>73.3</td><td>17.1</td><td>82.8</td><td>70.1</td><td>19.4</td><td>97.2</td><td>92.8</td><td>5.4</td><td>77.7</td><td>42.0</td><td>52.0</td><td>90.6</td><td>69.3</td><td>24.1</td><td>87.3</td><td>60.4</td><td>33.8</td><td>91.4</td><td>83.5</td><td>12.2</td></tr><tr><td>CVaR DRO [38]</td><td>87.3</td><td>74.0</td><td>22.8</td><td>87.0</td><td>76.1</td><td>13.9</td><td>84.0</td><td>73.9</td><td>15.5</td><td>81.4</td><td>71.8</td><td>15.2</td><td>96.5</td><td>93.0</td><td>5.3</td><td>75.4</td><td>42.3</td><td>48.8</td><td>90.0</td><td>71.8</td><td>22.0</td><td>86.3</td><td>64.0</td><td>28.4</td><td>90.6</td><td>84.5</td><td>11.9</td></tr><tr><td>EIL [8]</td><td>87.9</td><td>75.6</td><td>19.7</td><td>87.9</td><td>72.5</td><td>13.3</td><td>84.1</td><td>73.9</td><td>15.7</td><td>81.9</td><td>73.3</td><td>14.4</td><td>96.2</td><td>93.3</td><td>4.9</td><td>77.5</td><td>45.6</td><td>39.2</td><td>90.4</td><td>71.5</td><td>22.0</td><td>86.4</td><td>60.8</td><td>19.7</td><td>89.2</td><td>84.3</td><td>8.3</td></tr><tr><td>LfF [52]</td><td>87.1</td><td>77.5</td><td>17.0</td><td>85.3</td><td>72.9</td><td>14.3</td><td>84.0</td><td>74.0</td><td>15.1</td><td>82.4</td><td>72.5</td><td>14.2</td><td>97.1</td><td>92.9</td><td>5.1</td><td>77.4</td><td>44.2</td><td>43.6</td><td>89.8</td><td>70.8</td><td>20.5</td><td>85.0</td><td>62.5</td><td>26.6</td><td>86.7</td><td>84.6</td><td>11.1</td></tr><tr><td>JTT [42]</td><td>88.0</td><td>74.8</td><td>19.4</td><td>87.6</td><td>73.3</td><td>14.2</td><td>83.9</td><td>74.1</td><td>16.7</td><td>81.1</td><td>71.1</td><td>16.6</td><td>97.0</td><td>92.4</td><td>5.8</td><td>76.3</td><td>43.6</td><td>47.7</td><td>88.3</td><td>69.1</td><td>23.3</td><td>87.3</td><td>61.0</td><td>31.0</td><td>90.5</td><td>85.0</td><td>10.4</td></tr><tr><td>MAPLE [85]</td><td>88.1</td><td>72.0</td><td>19.6</td><td>88.1</td><td>73.6</td><td>13.6</td><td>83.7</td><td>73.9</td><td>14.7</td><td>82.4</td><td>74.7</td><td>13.8</td><td>97.1</td><td>92.9</td><td>4.8</td><td>76.3</td><td>46.2</td><td>43.5</td><td>89.9</td><td>72.8</td><td>18.6</td><td>86.0</td><td>64.8</td><td>31.2</td><td>89.4</td><td>85.3</td><td>9.4</td></tr><tr><td>DiGA (ours)</td><td>88.4</td><td>81.9</td><td>7.4</td><td>89.1</td><td>78.5</td><td>9.5</td><td>84.5</td><td>74.5</td><td>13.5</td><td>83.6</td><td>78.6</td><td>10.8</td><td>97.4</td><td>94.8</td><td>4.3</td><td>80.0</td><td>51.3</td><td>33.3</td><td>90.7</td><td>79.7</td><td>15.8</td><td>88.4</td><td>75.8</td><td>15.6</td><td>92.7</td><td>89.0</td><td>6.8</td></tr></table>
266
+
267
+ ![](images/f8422600d7e69282b11612104406b2c86f21f2728d6e5c93d5a3c31621fda08f.jpg)
268
+ Figure 6. Classification results on CelebA dataset under different degrees of data bias. Data bias $\beta \coloneqq \frac{n_{maj}}{n_{maj} + n_{min}}$ , where $n_{maj}$ and $n_{min}$ respectively denote the sample size of majority and minority groups.
269
+
270
+ Table 2. Classification results on facial datasets. We use classification accuracy (Acc.), the worst-group accuracy (Wst.), and equalized odds (EO) to measure the performance of FAC model on CelebA and UTKFace datasets. T and S represent target and spurious attributes, respectively. s, b, a, r, m, y, g, and e respectively denote Smiling, Blond Hair, Black Hair, Brown Hair, Male, Young, Gender, and Ethnicity. The spurious attribute labels are unavailable for all methods during training. All the results are the averaged scores over five runs.
271
+
272
+ <table><tr><td rowspan="2">Method</td><td colspan="3">label ratio=50%</td><td colspan="3">label ratio=25%</td><td colspan="3">label ratio=10%</td></tr><tr><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td><td>Acc.</td><td>Wst.</td><td>EO</td></tr><tr><td>ERM</td><td>87.5</td><td>67.8</td><td>26.1</td><td>87.1</td><td>65.9</td><td>27.7</td><td>86.9</td><td>62.8</td><td>28.9</td></tr><tr><td>CVaR DRO</td><td>86.6</td><td>72.9</td><td>22.1</td><td>86.6</td><td>72.3</td><td>22.4</td><td>85.5</td><td>69.1</td><td>27.3</td></tr><tr><td>EIIL</td><td>86.2</td><td>71.3</td><td>22.5</td><td>85.9</td><td>69.6</td><td>25.4</td><td>86.8</td><td>64.2</td><td>26.7</td></tr><tr><td>LfF</td><td>86.9</td><td>75.5</td><td>19.4</td><td>85.9</td><td>72.1</td><td>23.6</td><td>85.5</td><td>66.1</td><td>27.7</td></tr><tr><td>JTT</td><td>87.3</td><td>72.9</td><td>20.1</td><td>86.7</td><td>71.1</td><td>20.6</td><td>86.8</td><td>67.1</td><td>23.1</td></tr><tr><td>MAPLE</td><td>87.4</td><td>73.7</td><td>23.8</td><td>87.0</td><td>72.7</td><td>24.2</td><td>85.6</td><td>69.2</td><td>27.1</td></tr><tr><td>DiGA (ours)</td><td>88.4</td><td>81.1</td><td>7.8</td><td>88.4</td><td>78.3</td><td>8.0</td><td>88.3</td><td>78.8</td><td>8.4</td></tr></table>
273
+
274
+ Table 3. Classification results on CelebA dataset (T=s, S=m) under settings of incomplete target labels. We set the label ratio of target attribute as $50\%$ , $25\%$ , and $10\%$ respectively.
275
+
276
+ DiGA achieves better performance in terms of accuracy, the worst-group accuracy, and $EO$ in various settings.
277
+
278
+ Robustness to Data Bias Degree. In Figure 6, we show the robustness of different algorithms to the degree of data bias $\beta$ on CelebA $(\mathrm{T} = s, \mathrm{S} = m)$ , where $\beta$ is defined as the proportion of the majority group sample to the total sample. We can observe that our method achieves state-of-the-art performance in terms of accuracy and fairness under various data bias degrees. Moreover, as the degree of data bias increases, the $EO$ gap between the compared baselines and our method gradually increases. This shows that our method has better robustness to the degree of data bias.
279
+
280
+ Semi-supervised Classification Results. Our approach relies only on the target labels without the need for additional annotations. However, target labels are not always available due to annotation costs, which motivates us to test the performance of different methods under the setting of incomplete target labels. We set different label ratios, as shown in Table 3. Compared with baselines, our method has better robustness to ratio of target labels. The reason may be that our method trains encoder in self-supervised way, while the target labels are only used to train the linear classifiers.
281
+
282
+ # 4.5. T-SNE Visualization
283
+
284
+ To further explain how our method works, we provide visualization of the learned representations via t-SNE [68] in Figure 7. We divide the CelebA dataset into four groups in
285
+
286
+ terms of target and spurious attributes and randomly sample 500 images from each group. We find that traditional representation learning method BYOL [18] learns information of spurious attributes, so that the representations trained by BYOL can be divided by the spurious attributes. In contrast, the representations learned by ours contain less information of spurious attributes, thus contributing to fair classification.
287
+
288
+ # 4.6. Ablation Studies
289
+
290
+ Ablation Studies on Generative Augmentation. The ablation study results of generative augmentation on CelebA dataset $(\mathrm{T} = s, \mathrm{S} = m)$ are shown in Figure 8. Our approach has advantages in the following aspects: (1) Comparison with traditional augmentation. Compared with the typical contrastive learning BYOL [18] that only performs traditional augmentation (e.g., random cropping), our method achieves better accuracy and fairness thanks to the fairness-aware generative augmentation. (2) Comparison with single point augmentation. Compared with single point generative augmentation [81], our distributionally generative augmentation achieves better accuracy and fairness. Because it considers a wider data distribution and provides more supervision information for fair representation learning. (3) Trade-off between accuracy and fairness. We can flexibly balance accuracy and fairness via the range of augmentation degree, while larger degree result in a fairer model.
291
+
292
+ Ablation Studies on Sampling Ratio for Efficient Model
293
+
294
+ ![](images/7b0123072bc92211e921c3db68ef05a4e9bd6b9a02f3350810f03f2029fab9ba.jpg)
295
+ Figure 7. T-SNE visualization for the learned representations on CelebA $(\mathrm{T} = s, \mathrm{S} = m)$ . Compared with BYOL, the representations trained by ours contain less information of spurious attributes.
296
+
297
+ ![](images/14b571ab9c3bb45a3b8e099ea985ed77f846d9c17dc7c1537c5291a059f6ada8.jpg)
298
+ Figure 9. Empirical studies of sample ratio used for generative modeling. For efficiency, we can randomly sample a subset to train the generative model, with little final performance degradation.
299
+
300
+ ing. To improve the efficiency of generative modeling, we implement the sampling strategy. Specifically, we randomly sample a subset to train the generative model and obtain the combined semantic direction. The final classification results on CelebA dataset $(\mathrm{T} = s, \mathrm{S} = m)$ are shown in Figure 9. We can observe that the performance of our method decreases very little even when the sampling ratio is small (e.g., $10\%$ ). Ablation Studies on Regularization Strength. In Table 4, we show the classification results by using different regularization strengths. It shows that our method can achieve good results as long as $\lambda_{1}$ is much smaller than $\lambda_{2}$ .
301
+
302
+ # 4.7. General Bias Mitigation on Non-facial Dataset
303
+
304
+ To verify the effectiveness of our method on visual data other than faces, we perform experiments on Dogs and Cats dataset, where the target and spurious attributes are Species and Color respectively. The classification results are shown in Table 5. Our method achieves better accuracy and fairness than other compared baselines, and it bodes well for the potential of our approach for general bias mitigation.
305
+
306
+ # 5. Conclusions
307
+
308
+ In this paper, we proposed a generation-based two-stage framework to train a fair FAC model on biased data without
309
+
310
+ ![](images/0ec5042f18c26b6266da6857beab19069fdc9d3b192b5ad9688b3d7e1dfe7b69.jpg)
311
+ Figure 8. Ablation studies on generative augmentation. $\triangle$ and $\star$ respectively denote single point generative augmentation strategy and our distributionally generative augmentation strategy.
312
+
313
+ <table><tr><td></td><td>Acc.</td><td>Wst.</td><td>EO</td></tr><tr><td>λ1=2e-4</td><td>88.3</td><td>82.7</td><td>9.3</td></tr><tr><td>λ2=5e+3</td><td></td><td></td><td></td></tr><tr><td>λ1=1e-4</td><td>88.4</td><td>81.9</td><td>7.4</td></tr><tr><td>λ2=1e+4</td><td></td><td></td><td></td></tr><tr><td>λ1=2e-5</td><td>88.8</td><td>85.1</td><td>4.8</td></tr><tr><td>λ2=5e+4</td><td></td><td></td><td></td></tr><tr><td>λ1=1e-6</td><td>88.8</td><td>82.3</td><td>7.4</td></tr><tr><td>λ2=1e+6</td><td></td><td></td><td></td></tr></table>
314
+
315
+ <table><tr><td rowspan="2">Method</td><td colspan="3">T=s / S=c</td></tr><tr><td>Acc.</td><td>Wst.</td><td>EO</td></tr><tr><td>ERM</td><td>87.5</td><td>67.8</td><td>26.1</td></tr><tr><td>CVaR DRO</td><td>86.6</td><td>72.9</td><td>22.1</td></tr><tr><td>EIIL</td><td>86.2</td><td>71.3</td><td>22.5</td></tr><tr><td>LfF</td><td>86.9</td><td>75.5</td><td>19.4</td></tr><tr><td>JTT</td><td>87.3</td><td>72.9</td><td>20.1</td></tr><tr><td>MAPLE</td><td>87.4</td><td>73.7</td><td>23.8</td></tr><tr><td>DiGA (ours)</td><td>88.4</td><td>81.1</td><td>7.8</td></tr></table>
316
+
317
+ Table 4. Ablation studies of regularization strength ${\lambda }_{1},{\lambda }_{2}$ on CelebA (T=s, S=m). We set several groups of ${\lambda }_{1},{\lambda }_{2}$ ,where ${\lambda }_{1}$ is much smaller than ${\lambda }_{2}$ .
318
+
319
+ Table 5. Classification results on non-facial dataset Dogs and Cats. $s$ denotes the target attribute Species and $c$ denotes the spurious attribute Color.
320
+
321
+ additional annotations. In the first stage, we detect the spurious attributes via generative models. Our method enhances interpretability by explicitly representing the spurious attributes in the image space. In the second stage, for each image, we first edit its spurious attributes, where the editing degree follows a uniform distribution. Then we train a fair FAC model by promoting its invariance to these augmentation. Extensive experiments on the three datasets demonstrate the effectiveness of our approach. In future work, we aim to extend our method to support various visual data, with the help of rapidly developing generative models.
322
+
323
+ Acknowledgment This work was supported by the National Natural Science Foundation of China (62337001, 62376243, 62037001, U20A20387), the Fundamental Research Funds for the Central Universities (No. 226-2022-00051), the StarryNight Science Fund of Zhejiang University Shanghai Institute for Advanced Study (SN-ZJU-SIAS0010), Project by Shanghai AI Laboratory (P22KS00111) and National Research Foundation, Singapore under its AI Singapore Programme (AISG Award No: AISG2-RP-2021-022). Long Chen is supported by HKUST Special Support for Young Faculty (F0927) and HKUST Sports Science and Technology Research Grant (SSTRG24EG04).
324
+
325
+ # References
326
+
327
+ [1] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019. 1, 2
328
+ [2] Carolyn Ashurst and Adrian Weller. Fairness without demographic data: A survey of approaches. In Equity and Access in Algorithms, Mechanisms, and Optimization, pages 1-12. 2023. 2, 3
329
+ [3] Junyi Chai, Taeuk Jang, and Xiaogian Wang. Fairness without demographics through knowledge distillation. Advances in Neural Information Processing Systems, 35:19152-19164, 2022. 3
330
+ [4] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR, 2020. 3
331
+ [5] Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 15750-15758, 2021. 3, 5
332
+ [6] Kristy Choi, Aditya Grover, Trisha Singh, Rui Shu, and Stefano Ermon. Fair generative modeling via weak supervision. In International Conference on Machine Learning, pages 1887-1898. PMLR, 2020. 2, 3, 4
333
+ [7] Elliot Creager, David Madras, Jorn-Henrik Jacobsen, Marissa Weis, Kevin Swersky, Toniann Pitassi, and Richard Zemel. Flexibly fair representation learning by disentanglement. In International conference on machine learning, pages 1436-1445. PMLR, 2019. 3
334
+ [8] Elliot Creager, Jorn-Henrik Jacobsen, and Richard Zemel. Environment inference for invariant learning. In International Conference on Machine Learning, pages 2189-2200. PMLR, 2021. 3, 6, 7
335
+ [9] Saloni Dash, Vineeth N Balasubramanian, and Amit Sharma. Evaluating and mitigating bias in image classifiers: A causal perspective using counterfactuals. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 915-924, 2022. 3
336
+ [10] Emily Denton, Ben Hutchinson, Margaret Mitchell, Timnit Gebru, and Andrew Zaldivar. Image counterfactual sensitivity analysis for detecting unintended bias. arXiv preprint arXiv:1906.06439, 2019. 3
337
+ [11] Yahya Dogan and Hacer Yalim Keles. Semi-supervised image attribute editing using generative adversarial networks. Neurocomputing, 401:338-352, 2020. 3
338
+ [12] Michele Donini, Luca Oneto, Shai Ben-David, John S Shawe-Taylor, and Massimiliano Pontil. Empirical risk minimization under fairness constraints. Advances in neural information processing systems, 31, 2018. 2
339
+ [13] Mengnan Du, Fan Yang, Na Zou, and Xia Hu. Fairness in deep learning: A computational perspective. IEEE Intelligent Systems, 36(4):25-34, 2020. 1
340
+ [14] Mengnan Du, Subhabrata Mukherjee, Guanchu Wang, Ruixiang Tang, Ahmed Awadallah, and Xia Hu. Fairness via representation neutralization. Advances in Neural Information Processing Systems, 34:12091-12103, 2021. 3
341
+
342
+ [15] John Duchi and Hongseok Namkoong. Learning models with uniform performance via distributionally robust optimization. arXiv preprint arXiv:1810.08750, 2018. 2
343
+ [16] Cynthia Dwork, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Richard Zemel. Fairness through awareness. In Proceedings of the 3rd innovations in theoretical computer science conference, pages 214-226, 2012. 6
344
+ [17] Sabri Eyuboglu, Maya Varma, Khaled Saab, Jean-Benoit Delbrouck, Christopher Lee-Messer, Jared Dunnmon, James Zou, and Christopher Ré. Domino: Discovering systematic errors with cross-modal embeddings. arXiv preprint arXiv:2203.14960, 2022. 3
345
+ [18] Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in neural information processing systems, 33:21271-21284, 2020. 3, 5, 7
346
+ [19] Laura Gustafson, Chloe Rolland, Nikhila Ravi, Quentin Duval, Aaron Adcock, Cheng-Yang Fu, Melissa Hall, and Candace Ross. Facet: Fairness in computer vision evaluation benchmark. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 20370-20382, 2023. 1
347
+ [20] Tobias Hanel, Nishant Kumar, Dmitrij Schlesinger, Mengze Li, Erdem Ünal, Abouzar Eslami, and Stefan Gumhold. Enhancing fairness of visual attribute predictors. In Proceedings of the Asian Conference on Computer Vision, pages 1211-1227, 2022. 2
348
+ [21] Moritz Hardt, Eric Price, and Nati Srebro. Equality of opportunity in supervised learning. Advances in neural information processing systems, 29, 2016. 6
349
+ [22] Tatsunori Hashimoto, Megha Srivastava, Hongseok Namkoong, and Percy Liang. Fairness without demographics in repeated loss minimization. In International Conference on Machine Learning, pages 1929-1938. PMLR, 2018. 2, 3
350
+ [23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016. 7, 3
351
+ [24] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9729-9738, 2020. 3
352
+ [25] Zhenliang He, Wangmeng Zuo, Meina Kan, Shiguang Shan, and Xilin Chen. Attgan: Facial attribute editing by only changing what you want. IEEE transactions on image processing, 28(11):5464-5478, 2019. 3
353
+ [26] Weihua Hu, Gang Niu, Issei Sato, and Masashi Sugiyama. Does distributionally robust supervised learning give robust classifiers? In International Conference on Machine Learning, pages 2029-2037. PMLR, 2018. 2
354
+ [27] Sunhee Hwang, Sungho Park, Dohyung Kim, Mirae Do, and Hyeran Byun. Fairfacegan: Fairness-aware facial image-to-image translation. arXiv preprint arXiv:2012.00282, 2020. 3
355
+
356
+ [28] Saachi Jain, Hannah Lawrence, Ankur Moitra, and Aleksander Madry. Distilling model failures as directions in latent space. arXiv preprint arXiv:2206.14754, 2022. 3
357
+ [29] Jungseock Joo and Kimmo Kärkkäinen. Gender slopes: Counterfactual fairness for computer vision models by attribute manipulation. In Proceedings of the 2nd international workshop on fairness, accountability, transparency and ethics in multimedia, pages 1-5, 2020. 3
358
+ [30] Sangwon Jung, Sanghyuk Chun, and Taesup Moon. Learning fair classifiers with partially annotated group labels. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10348-10357, 2022. 5, 6
359
+ [31] Toshihiro Kamishima, Shotaro Akaho, and Jun Sakuma. Fairness-aware learning through regularization approach. In 2011 IEEE 11th International Conference on Data Mining Workshops, pages 643-650. IEEE, 2011. 2
360
+ [32] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 8110-8119, 2020. 3
361
+ [33] Byungju Kim, Hyunwoo Kim, Kyungsu Kim, Sungjin Kim, and Junmo Kim. Learning not to learn: Training deep neural networks with biased data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9012-9020, 2019. 2, 5
362
+ [34] Dohyung Kim, Sungho Park, Sunhee Hwang, and Hyeran Byun. Fair classification by loss balancing via fairness-aware batch sampling. Neurocomputing, 518:231-241, 2023. 2, 3
363
+ [35] Younghyun Kim, Sangwoo Mo, Minkyu Kim, Kyungmin Lee, Jaeho Lee, and Jinwoo Shin. Bias-to-text: Debiasing unknown visual biases through language interpretation. arXiv preprint arXiv:2301.11104, 2023. 3
364
+ [36] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. 3
365
+ [37] Preethi Lahoti, Alex Beutel, Jilin Chen, Kang Lee, Flavien Prost, Nithum Thain, Xuezhi Wang, and Ed Chi. Fairness without demographics through adversarially reweighted learning. Advances in neural information processing systems, 33:728-740, 2020. 2, 3
366
+ [38] Daniel Levy, Yair Carmon, John C Duchi, and Aaron Sidford. Large-scale methods for distributionally robust optimization. Advances in Neural Information Processing Systems, 33:8847-8860, 2020. 2, 6, 7
367
+ [39] Lei Li, Fan Tang, Juan Cao, Xirong Li Li, and Danding Wang. Bias oriented unbiased data augmentation for cross-bias representation learning. Multimedia Systems, 29: 725-738, 2023. 2, 3
368
+ [40] Yong Lin, Shengyu Zhu, Lu Tan, and Peng Cui. Zin: When and how to learn invariance without environment partition? Advances in Neural Information Processing Systems, 35: 24529-24542, 2022. 4
369
+ [41] Bingyu Liu, Weihong Deng, Yaoyao Zhong, Mei Wang, Jiani Hu, Xunqiang Tao, and Yaohai Huang. Fair loss: Margin-aware reinforcement learning for deep face recognition. In
370
+
371
+ Proceedings of the IEEE/CVF international conference on computer vision, pages 10052-10061, 2019. 1
372
+ [42] Evan Z Liu, Behzad Haghgoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In International Conference on Machine Learning, pages 6781-6792. PMLR, 2021. 3, 5, 6, 7
373
+ [43] Jiashuo Liu, Zheyuan Hu, Peng Cui, Bo Li, and Zheyan Shen. Heterogeneous risk minimization. In International Conference on Machine Learning, pages 6804-6814. PMLR, 2021. 3
374
+ [44] Jiashuo Liu, Zheyuan Hu, Peng Cui, Bo Li, and Zheyan Shen. Kernelized heterogeneous risk minimization. arXiv preprint arXiv:2110.12425, 2021. 3
375
+ [45] Ming Liu, Yukang Ding, Min Xia, Xiao Liu, Errui Ding, Wangmeng Zuo, and Shilei Wen. Stgan: A unified selective transfer network for arbitrary image attribute editing. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3673-3682, 2019. 3
376
+ [46] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaou Tang. Large-scale celebfaces attributes (celeba) dataset. Retrieved August, 15(2018):11, 2018. 1, 2, 5
377
+ [47] Zheqi Lv, Wenqiao Zhang, Shengyu Zhang, Kun Kuang, Feng Wang, Yongwei Wang, Zhengyu Chen, Tao Shen, Hongxia Yang, Beng Chin Ooi, et al. Duet: A tuning-free device-cloud collaborative parameters generation framework for efficient device model generalization. In Proceedings of the ACM Web Conference 2023, pages 3077-3085, 2023. 3
378
+ [48] Zheqi Lv, Wenqiao Zhang, Zhengyu Chen, Shengyu Zhang, and Kun Kuang. Intelligent model update strategy for sequential recommendation. In Proceedings of the ACM Web Conference 2024, 2024. 3
379
+ [49] Jiali Ma, Zhongqi Yue, Kagaya Tomoyuki, Suzuki Tomoki, Karlekar Jayashree, Sugiri Pranata, and Hanwang Zhang. Invariant feature regularization for fair face recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 20861-20870, 2023. 2
380
+ [50] David Madras, Elliot Creager, Toniann Pitassi, and Richard Zemel. Learning adversarially fair and transferable representations. In International Conference on Machine Learning, pages 3384-3393. PMLR, 2018. 3
381
+ [51] Ninareh Mehrabi, Fred Morstatter, Nripsuta Saxena, Kristina Lerman, and Aram Galstyan. A survey on bias and fairness in machine learning. ACM Computing Surveys (CSUR), 54 (6):1-35, 2021. 1
382
+ [52] Junhyun Nam, Hyuntak Cha, Sungsoo Ahn, Jaeho Lee, and Jinwoo Shin. Learning from failure: De-biasing classifier from biased classifier. Advances in Neural Information Processing Systems, 33:20673-20684, 2020. 3, 6, 7
383
+ [53] Sungho Park, Dohyung Kim, Sunhee Hwang, and Hyeran Byun. Readme: Representation learning by fairness-aware disentangling method. arXiv preprint arXiv:2007.03775, 2020. 3
384
+ [54] Sungho Park, Sunhee Hwang, Dohyung Kim, and Hyeran Byun. Learning disentangled representation for fair facial attribute classification via fairness-aware information align
385
+
386
+ ment. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 2403-2411, 2021. 3
387
+ [55] Sungho Park, Jewook Lee, Pilhyeon Lee, Sunhee Hwang, Dohyung Kim, and Hyeran Byun. Fair contrastive learning for facial attribute classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10389-10398, 2022. 1, 3, 5
388
+ [56] Momchil Peychev, Anian Ruoss, Mislav Balunovic, Maximilian Baader, and Martin Vechev. Latent space smoothing for individually fair representations. In European Conference on Computer Vision, pages 535-554. Springer, 2022. 2, 3
389
+ [57] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 3, 4
390
+ [58] Vikram V Ramaswamy, Sunnie SY Kim, and Olga Russakovsky. Fair attribute classification through latent space de-biasing. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9301-9310, 2021. 2, 3, 5
391
+ [59] Yaniv Romano, Stephen Bates, and Emmanuel Candes. Achieving equalized odds by resampling sensitive attributes. Advances in neural information processing systems, 33:361-371, 2020. 1
392
+ [60] Alexey Romanov, Maria De-Arteaga, Hanna Wallach, Jennifer Chayes, Christian Borgs, Alexandra Chouldechova, Sahin Geyik, Krishnamaram Kenthapadi, Anna Rumshisky, and Adam Tauman Kalai. What's in a name? reducing bias in bios without access to protected attributes. arXiv preprint arXiv:1904.05233, 2019. 3
393
+ [61] Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019. 2
394
+ [62] Shiori Sagawa, Aditi Raghunathan, Pang Wei Koh, and Percy Liang. An investigation of why overparameterization exacerbates spurious correlations. In International Conference on Machine Learning, pages 8346-8356. PMLR, 2020. 2, 3, 4
395
+ [63] Aili Shen, Xudong Han, Trevor Cohn, Timothy Baldwin, and Lea Frermann. Contrastive learning for fair representations. arXiv preprint arXiv:2109.10645, 2021. 3
396
+ [64] Yujun Shen, Ceyuan Yang, Xiaou Tang, and Bolei Zhou. Interfacegan: Interpreting the disentangled face representation learned by gans. IEEE transactions on pattern analysis and machine intelligence, 2020. 2, 3
397
+ [65] Joonghyuk Shin, Minguk Kang, and Jaesik Park. Fill-up: Balancing long-tailed data with generative models. arXiv preprint arXiv:2306.07200, 2023. 3
398
+ [66] Nathan Thom and Emily M Hand. Facial attribute recognition: A survey. Computer Vision: A Reference Guide, pages 1-13, 2020. 1
399
+ [67] Omer Tov, Yuval Alaluf, Yotam Nitzan, Or Patashnik, and Daniel Cohen-Or. Designing an encoder for stylegan image
400
+
401
+ manipulation. ACM Transactions on Graphics (TOG), 40(4): 1-14, 2021. 3
402
+ [68] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9 (11), 2008. 7
403
+ [69] Tengfei Wang, Yong Zhang, Yanbo Fan, Jue Wang, and Qifeng Chen. High-fidelity gan inversion for image attribute editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 2, 3
404
+ [70] Xiao Wang, Peng Cui, Jing Wang, Jian Pei, Wenwu Zhu, and Shiqiang Yang. Community preserving network embedding. In Proceedings of the AAAI conference on artificial intelligence, 2017. 3
405
+ [71] Zeyu Wang, Clint Qinami, Ioannis Christos Karakozis, Kyle Genova, Prem Nair, Kenji Hata, and Olga Russakovsky. Towards fairness in visual recognition: Effective strategies for bias mitigation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 8919-8928, 2020. 1, 3
406
+ [72] Zhibo Wang, Xiaowei Dong, Henry Xue, Zhifei Zhang, Weifeng Chiu, Tao Wei, and Kui Ren. Fairness-aware adversarial perturbation towards bias mitigation for deployed deep models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10379-10388, 2022. 5
407
+ [73] Olivia Wiles, Isabela Albuquerque, and Sven Gowal. Discovering bugs in vision models using off-the-shelf image generation and captioning. arXiv preprint arXiv:2208.08831, 2022. 3
408
+ [74] Tete Xiao, Xiaolong Wang, Alexei A Efros, and Trevor Darell. What should not be contrastive in contrastive learning. arXiv preprint arXiv:2008.05659, 2020. 3
409
+ [75] Xingkun Xu, Yuge Huang, Pengcheng Shen, Shaoxin Li, Jilin Li, Feiyue Huang, Yong Li, and Zhen Cui. Consistent instance false positive improves fairness in face recognition. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 578-586, 2021. 2
410
+ [76] Shen Yan, Hsien-te Kao, and Emilio Ferrara. Fair class balancing: Enhancing model fairness without observing sensitive attributes. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pages 1715-1724, 2020. 3
411
+ [77] Yu Yang, Aayush Gupta, Jianwei Feng, Prateek Singhal, Vivek Yadav, Yue Wu, Pradeep Natarajan, Varsha Hedau, and Jungseock Joo. Enhancing fairness in face detection in computer vision systems by demographic bias mitigation. In Proceedings of the 2022 AAAI/ACM Conference on AI, Ethics, and Society, pages 813-822, 2022. 3
412
+ [78] Jianhao Yuan, Francesco Pinto, Adam Davies, and Philip Torr. Not just pretty pictures: Toward interventional data augmentation using text-to-image generators. arXiv preprint arXiv:2212.11237, 2022. 3
413
+ [79] Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning fair representations. In International conference on machine learning, pages 325-333. PMLR, 2013. 3
414
+
415
+ [80] Fengda Zhang, Kun Kuang, Zhaoyang You, Tao Shen, Jun Xiao, Yin Zhang, Chao Wu, Yueting Zhuang, and Xiaolin Li. Federated unsupervised representation learning. arXiv preprint arXiv:2010.08982, 2020.3
416
+ [81] Fengda Zhang, Kun Kuang, Long Chen, Yuxuan Liu, Chao Wu, and Jun Xiao. Fairness-aware contrastive learning with partially annotated sensitive attributes. In The Eleventh International Conference on Learning Representations, 2023. 2, 3, 5, 7
417
+ [82] Zhifei Zhang, Yang Song, and Hairong Qi. Age progression/regression by conditional adversarial autoencoder. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5810-5818, 2017. 2, 5
418
+ [83] Han Zhao and Geoff Gordon. Inherent tradeoffs in learning fair representations. Advances in neural information processing systems, 32, 2019. 3
419
+ [84] Tianxiang Zhao, Enyan Dai, Kai Shu, and Suhang Wang. Towards fair classifiers without sensitive attributes: Exploring biases in related features. In Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining, pages 1433-1442, 2022. 3
420
+ [85] Xiao Zhou, Yong Lin, Renjie Pi, Weizhong Zhang, Renzhe Xu, Peng Cui, and Tong Zhang. Model agnostic sample reweighting for out-of-distribution learning. In International Conference on Machine Learning, pages 27203-27221. PMLR, 2022. 2, 3, 6, 7
421
+ [86] Xiao Zhou, Yong Lin, Weizhong Zhang, and Tong Zhang. Sparse invariant risk minimization. In International Conference on Machine Learning, pages 27222-27244. PMLR, 2022. 2, 3
422
+ [87] Zhaowei Zhu, Yuanshun Yao, Jiankai Sun, Hang Li, and Yang Liu. Weak proxies are sufficient and preferable for fairness with missing sensitive attributes. 2023. 3
423
+ [88] Ni Zhuang, Yan Yan, Si Chen, and Hanzi Wang. Multi-task learning of cascaded cnn for facial attribute classification. In 2018 24th International Conference on Pattern Recognition (ICPR), pages 2069-2074. IEEE, 2018. 1
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4545dc4beb00e4a181e8675e5d8f35bad546daffec88d2f58e8fa0b4142cd4
3
+ size 675544
2024/Distributionally Generative Augmentation for Fair Facial Attribute Classification/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_content_list.json ADDED
@@ -0,0 +1,1368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DiverGen: Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 130,
8
+ 130,
9
+ 841,
10
+ 174
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Chengxiang Fan $^{1*}$ Muzhi Zhu $^{1*}$ Hao Chen $^{1\\dagger}$ Yang Liu $^{1}$ Weijia Wu $^{1}$ Huaqi Zhang $^{2}$ Chunhua Shen $^{1\\dagger}$",
17
+ "bbox": [
18
+ 84,
19
+ 200,
20
+ 908,
21
+ 223
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ Zhejiang University, China $^{2}$ vivo Mobile Communication Co.",
28
+ "bbox": [
29
+ 223,
30
+ 227,
31
+ 759,
32
+ 248
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 233,
42
+ 282,
43
+ 313,
44
+ 299
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Instance segmentation is data-hungry, and as model capacity increases, data scale becomes crucial for improving the accuracy. Most instance segmentation datasets today require costly manual annotation, limiting their data scale. Models trained on such data are prone to overfitting on the training set, especially for those rare categories. While recent works have delved into exploiting generative models to create synthetic datasets for data augmentation, these approaches do not efficiently harness the full potential of generative models.",
51
+ "bbox": [
52
+ 75,
53
+ 314,
54
+ 472,
55
+ 465
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "To address these issues, we introduce a more efficient strategy to construct generative datasets for data augmentation, termed DiverGen. Firstly, we provide an explanation of the role of generative data from the perspective of distribution discrepancy. We investigate the impact of different data on the distribution learned by the model. We argue that generative data can expand the data distribution that the model can learn, thus mitigating overfitting. Additionally, we find that the diversity of generative data is crucial for improving model performance and enhance it through various strategies, including category diversity, prompt diversity, and generative model diversity. With these strategies, we can scale the data to millions while maintaining the trend of model performance improvement. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste, achieving $+1.1$ box AP and $+1.1$ mask AP across all categories, and $+1.9$ box AP and $+2.5$ mask AP for rare categories. Our codes are available at https://github.com/aim-uofa/DiverGen.",
62
+ "bbox": [
63
+ 75,
64
+ 465,
65
+ 472,
66
+ 752
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1. Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 76,
76
+ 780,
77
+ 209,
78
+ 796
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Instance segmentation [1, 3, 8] is one of the challenging tasks in computer vision, requiring the prediction of masks and categories for instances in an image, which serves as the foundation for numerous visual applications. As mod-",
85
+ "bbox": [
86
+ 75,
87
+ 805,
88
+ 470,
89
+ 867
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "els' learning capabilities improve, the demand for training data increases. However, current datasets for instance segmentation heavily rely on manual annotation, which is time-consuming and costly, and the dataset scale cannot meet the training needs of models. Despite the recent emergence of the automatically annotated dataset SA-1B [11], it lacks category annotations, failing to meet the requirements of instance segmentation. Meanwhile, the ongoing development of the generative model has largely improved the controllability and realism of generated samples. For example, the recent text2image diffusion model [20, 22] can generate high-quality images corresponding to input prompts. Therefore, current methods [25, 26, 32] use generative models for data augmentation by generating datasets to supplement the training of models on real datasets and improve model performance. Although current methods have proposed various strategies to enable generative data to boost model performance, there are still some limitations: 1) Existing methods have not fully exploited the potential of generative models. First, some methods [32] not only use generative data but also need to crawl images from the internet, which is significantly challenging to obtain large-scale data. Meanwhile, the content of data crawled from the internet is uncontrollable and needs extra checking. Second, existing methods do not fully use the controllability of generative models. Current methods often adopt manually designed templates to construct prompts, limiting the potential output of generative models. 2) Existing methods [25, 26] often explain the role of generative data from the perspective of class imbalance or data scarcity, without considering the discrepancy between real-world data and generative data. Moreover, these methods typically show improved model performance only in scenarios with a limited number of real samples, and the effectiveness of generative data on existing large-scale real datasets, like LVIS [7], is not thoroughly investigated.",
96
+ "bbox": [
97
+ 500,
98
+ 282,
99
+ 893,
100
+ 814
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this paper, we first explore the role of generative data from the perspective of distribution discrepancy, addressing two main questions: 1) Why does generative data augmentation enhance model performance? 2) What types of generative data are beneficial for improving model perfor",
107
+ "bbox": [
108
+ 498,
109
+ 825,
110
+ 895,
111
+ 902
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "header",
117
+ "text": "CVF",
118
+ "bbox": [
119
+ 106,
120
+ 2,
121
+ 181,
122
+ 42
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "header",
128
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
129
+ "bbox": [
130
+ 236,
131
+ 0,
132
+ 810,
133
+ 46
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "page_footnote",
139
+ "text": "*Equal contribution.",
140
+ "bbox": [
141
+ 94,
142
+ 875,
143
+ 205,
144
+ 887
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_footnote",
150
+ "text": "$\\dagger$ Correspondence should be addressed to HC and CS.",
151
+ "bbox": [
152
+ 96,
153
+ 887,
154
+ 377,
155
+ 898
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "page_number",
161
+ "text": "3986",
162
+ "bbox": [
163
+ 482,
164
+ 944,
165
+ 516,
166
+ 955
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "mance? First, we find that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. We visualize the data and find that compared to the real-world data, generative data can expand the data distribution that the model can learn. Furthermore, we find that the role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data. Second, we find that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not handled properly, the full potential of the generative model cannot be utilized. By conducting several experiments, we find that using diverse generative data enables models to better adapt to these discrepancies, improving model performance.",
173
+ "bbox": [
174
+ 75,
175
+ 90,
176
+ 472,
177
+ 316
178
+ ],
179
+ "page_idx": 1
180
+ },
181
+ {
182
+ "type": "text",
183
+ "text": "Based on the above analysis, we propose an efficient strategy for enhancing data diversity, namely, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the perspectives of category diversity, prompt diversity, and generative model diversity. For category diversity, we observe that models trained with generative data covering all categories adapt better to distribution discrepancy than models trained with partial categories. Therefore, we introduce not only categories from LVIS [7] but also extra categories from ImageNet-1K [21] to enhance category diversity in data generation, thereby reinforcing the model's adaptability to distribution discrepancy. For prompt diversity, we find that as the scale of the generative dataset increases, manually designed prompts cannot scale up to the corresponding level, limiting the diversity of output images from the generative model. Thus, we design a set of diverse prompt generation strategies to use large language models, like ChatGPT, for prompt generation, requiring the large language models to output maximally diverse prompts under constraints. By combining manually designed prompts and ChatGPT designed prompts, we effectively enrich prompt diversity and further improve generative data diversity. For generative model diversity, we find that data from different generative models also exhibit distribution discrepancies. Exposing models to data from different generative models during training can enhance adaptability to different distributions. Therefore, we employ Stable Diffusion [20] and DeepFloyd-IF [22] to generate images for all categories separately and mix the two types of data during training to increase data diversity.",
184
+ "bbox": [
185
+ 75,
186
+ 321,
187
+ 472,
188
+ 776
189
+ ],
190
+ "page_idx": 1
191
+ },
192
+ {
193
+ "type": "text",
194
+ "text": "At the same time, we optimize the data generation workflow and propose a four-stage generative pipeline consisting of instance generation, instance annotation, instance filtration, and instance augmentation. In the instance generation stage, we employ our proposed Generative Data Diversity Enhancement to enhance data diversity, producing diverse raw data. In the instance annotation stage, we introduce an annotation strategy called SAM-background. This strategy",
195
+ "bbox": [
196
+ 75,
197
+ 780,
198
+ 472,
199
+ 902
200
+ ],
201
+ "page_idx": 1
202
+ },
203
+ {
204
+ "type": "text",
205
+ "text": "obtains high-quality annotations by using background points as input prompts for SAM [11], obtaining the annotations of raw data. In the instance filtration stage, we introduce a metric called CLIP inter-similarity. Utilizing the CLIP [19] image encoder, we extract embeddings from generative and real data, and then compute their similarity. A lower similarity indicates lower data quality. After filtration, we obtain the final generative dataset. In the instance augmentation stage, we use the instance paste strategy [32] to increase model learning efficiency on generative data.",
206
+ "bbox": [
207
+ 496,
208
+ 90,
209
+ 893,
210
+ 241
211
+ ],
212
+ "page_idx": 1
213
+ },
214
+ {
215
+ "type": "text",
216
+ "text": "Experiments demonstrate that our designed data diversity strategies can effectively improve model performance and maintain the trend of performance gains as the data scale increases to the million level, which enables large-scale generative data for data augmentation. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste [32], achieving $+1.1$ box AP [7] and $+1.1$ mask AP across all categories, and $+1.9$ box AP and $+2.5$ mask AP for rare categories.",
217
+ "bbox": [
218
+ 496,
219
+ 242,
220
+ 895,
221
+ 377
222
+ ],
223
+ "page_idx": 1
224
+ },
225
+ {
226
+ "type": "text",
227
+ "text": "In summary, our main contributions are as follows:",
228
+ "bbox": [
229
+ 517,
230
+ 378,
231
+ 854,
232
+ 392
233
+ ],
234
+ "page_idx": 1
235
+ },
236
+ {
237
+ "type": "list",
238
+ "sub_type": "text",
239
+ "list_items": [
240
+ "- We explain the role of generative data from the perspective of distribution discrepancy. We find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set and the diversity of generative data is crucial for improving model performance.",
241
+ "- We propose the Generative Data Diversity Enhancement strategy to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. By enhancing data diversity, we can scale the data to millions while maintaining the trend of model performance improvement.",
242
+ "- We optimize the data generation pipeline. We propose an annotation strategy SAM-background to obtain higher-quality annotations. We also introduce a filtration metric called CLIP inter-similarity to filter data and further improve the quality of the generative dataset."
243
+ ],
244
+ "bbox": [
245
+ 500,
246
+ 393,
247
+ 893,
248
+ 650
249
+ ],
250
+ "page_idx": 1
251
+ },
252
+ {
253
+ "type": "text",
254
+ "text": "2. Related Work",
255
+ "text_level": 1,
256
+ "bbox": [
257
+ 500,
258
+ 662,
259
+ 640,
260
+ 679
261
+ ],
262
+ "page_idx": 1
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "Instance segmentation. Instance segmentation is an important task in the field of computer vision and has been extensively studied. Unlike semantic segmentation, instance segmentation not only classifies the pixels at a pixel level but also distinguishes different instances of the same category. Previously, the focus of instance segmentation research has primarily been on the design of model structures. Mask-RCNN [8] unifies the tasks of object detection and instance segmentation. Subsequently, Mask2Former [3] further unified the tasks of semantic segmentation and instance segmentation by leveraging the structure of DETR [1].",
267
+ "bbox": [
268
+ 496,
269
+ 688,
270
+ 893,
271
+ 854
272
+ ],
273
+ "page_idx": 1
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "Orthogonal to these studies focusing on model architecture, our work primarily investigates how to better utilize generated data for this task. We focus on the challenging",
278
+ "bbox": [
279
+ 496,
280
+ 854,
281
+ 893,
282
+ 902
283
+ ],
284
+ "page_idx": 1
285
+ },
286
+ {
287
+ "type": "page_number",
288
+ "text": "3987",
289
+ "bbox": [
290
+ 482,
291
+ 944,
292
+ 514,
293
+ 955
294
+ ],
295
+ "page_idx": 1
296
+ },
297
+ {
298
+ "type": "image",
299
+ "img_path": "images/b806065a5562ca799776a1a281243ccad910344e6427008232d67005cdca44f8.jpg",
300
+ "image_caption": [
301
+ "Figure 1. Visualization of data distributions on different sources. Compared to real-world data (LVIS train and LVIS val), generative data (Stable Diffusion and IF) can expand the data distribution that the model can learn."
302
+ ],
303
+ "image_footnote": [],
304
+ "bbox": [
305
+ 166,
306
+ 89,
307
+ 483,
308
+ 284
309
+ ],
310
+ "page_idx": 2
311
+ },
312
+ {
313
+ "type": "image",
314
+ "img_path": "images/957fdf73e343888c9d999ae21d39d7979cfe7d19babfda79c7ad280cedabc314.jpg",
315
+ "image_caption": [],
316
+ "image_footnote": [],
317
+ "bbox": [
318
+ 490,
319
+ 90,
320
+ 635,
321
+ 184
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "image",
327
+ "img_path": "images/34317d0ca56c600ce470a4bcfb2e999a928752908037f0cd21c9746dfd5f37ef.jpg",
328
+ "image_caption": [],
329
+ "image_footnote": [],
330
+ "bbox": [
331
+ 650,
332
+ 90,
333
+ 790,
334
+ 184
335
+ ],
336
+ "page_idx": 2
337
+ },
338
+ {
339
+ "type": "image",
340
+ "img_path": "images/698b049a86acfbb387d26e2923b0a2c30d4f3d025838fc3e1740be5de151edb6.jpg",
341
+ "image_caption": [],
342
+ "image_footnote": [],
343
+ "bbox": [
344
+ 490,
345
+ 188,
346
+ 633,
347
+ 284
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "image",
353
+ "img_path": "images/f93b6fb9dc619e743e11d33aa84db10d7876f7aa9efff11da1c44ed0ef0de7c3.jpg",
354
+ "image_caption": [],
355
+ "image_footnote": [],
356
+ "bbox": [
357
+ 650,
358
+ 188,
359
+ 792,
360
+ 286
361
+ ],
362
+ "page_idx": 2
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "long-tail dataset LVIS [7] because it is only the long-tailed categories that face the issue of limited real data and require generative images for augmentation, making it more practically meaningful.",
367
+ "bbox": [
368
+ 75,
369
+ 356,
370
+ 470,
371
+ 416
372
+ ],
373
+ "page_idx": 2
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "Generative data augmentation. The use of generative models to synthesize training data for assisting perception tasks such as classification [5, 30], detection [2, 32], segmentation [13, 25, 26], etc. has received widespread attention from researchers. In the field of segmentation, early works [12, 31] utilize generative adversarial networks (GANs) to synthesize additional training samples. With the rise of diffusion models, there have been numerous efforts [13, 25, 26, 28, 32] to utilize text2image diffusion models, such as Stable Diffusion [20], to boost the segmentation performance. Li et al. [13] combine the Stable Diffusion model with a novel grounding module and establish an automatic pipeline for constructing a segmentation dataset. DiffuMask [26] exploits the potential of cross-attention maps between text and images to synthesize accurate semantic labels. More recently, FreeMask [28] uses a mask-to-image generation model to generate images conditioned on the provided semantic masks. However, the aforementioned work is only applicable to semantic segmentation. The most relevant work to ours is X-Paste [32], which promotes instance segmentation through copy-pasting the generative images and a filter strategy based on CLIP [19].",
378
+ "bbox": [
379
+ 75,
380
+ 417,
381
+ 473,
382
+ 750
383
+ ],
384
+ "page_idx": 2
385
+ },
386
+ {
387
+ "type": "text",
388
+ "text": "In summary, most methods only demonstrate significant advantages when training data is extremely limited. They consider generating data as a means to compensate for data scarcity or class imbalance. However, in this work, we take a further step to examine and analyze this problem from the perspective of data distribution. We propose a pipeline that enhances diversity from multiple levels to alleviate the impact of data distribution discrepancies. This provides new insights and inspirations for further advancements in this field.",
389
+ "bbox": [
390
+ 75,
391
+ 750,
392
+ 470,
393
+ 898
394
+ ],
395
+ "page_idx": 2
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "3. Our Proposed DiverGen",
400
+ "text_level": 1,
401
+ "bbox": [
402
+ 500,
403
+ 354,
404
+ 728,
405
+ 372
406
+ ],
407
+ "page_idx": 2
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "3.1. Analysis of Data Distribution",
412
+ "text_level": 1,
413
+ "bbox": [
414
+ 500,
415
+ 378,
416
+ 759,
417
+ 395
418
+ ],
419
+ "page_idx": 2
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "Existing methods [26, 27, 32] often attribute the role of generative data to addressing class imbalance or data scarcity. In this paper, we provide an explanation for two main questions from the perspective of distribution discrepancy.",
424
+ "bbox": [
425
+ 496,
426
+ 402,
427
+ 893,
428
+ 463
429
+ ],
430
+ "page_idx": 2
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "Why does generative data augmentation enhance model performance? We argue that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. The role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data.",
435
+ "bbox": [
436
+ 496,
437
+ 463,
438
+ 893,
439
+ 566
440
+ ],
441
+ "page_idx": 2
442
+ },
443
+ {
444
+ "type": "text",
445
+ "text": "First, to intuitively understand the discrepancies between different data sources, we use CLIP [19] image encoder to extract the embeddings of images from different data sources, and then use UMAP [17] to reduce dimensions for visualization. Visualization of data distributions on different sources is shown in Figure 1. Real-world data (LVIS [7] train and LVIS val) cluster near the center, while generative data (Stable Diffusion [20] and IF [22]) are more dispersed, indicating that generative data can expand the data distribution that the model can learn.",
446
+ "bbox": [
447
+ 496,
448
+ 569,
449
+ 895,
450
+ 718
451
+ ],
452
+ "page_idx": 2
453
+ },
454
+ {
455
+ "type": "text",
456
+ "text": "Then, to characterize the distribution learned by the model, we employ the free energy formulation used by Joseph et al. [9]. This formulation transforms the logits outputted by the classification head into an energy function. The formulation is shown below:",
457
+ "bbox": [
458
+ 496,
459
+ 719,
460
+ 893,
461
+ 794
462
+ ],
463
+ "page_idx": 2
464
+ },
465
+ {
466
+ "type": "equation",
467
+ "text": "\n$$\nF (\\boldsymbol {q}; h) = - \\tau \\log \\sum_ {c = 1} ^ {n} \\exp \\left(\\frac {h _ {c} (\\boldsymbol {q})}{\\tau}\\right). \\tag {1}\n$$\n",
468
+ "text_format": "latex",
469
+ "bbox": [
470
+ 568,
471
+ 804,
472
+ 892,
473
+ 842
474
+ ],
475
+ "page_idx": 2
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "Here, $\\pmb{q}$ is the feature of instance, $h_c(\\pmb{q})$ is the $c^{th}$ logit outputted by classification head $h(.), n$ is the number of categories and $\\tau$ is the temperature parameter. We train",
480
+ "bbox": [
481
+ 496,
482
+ 854,
483
+ 893,
484
+ 900
485
+ ],
486
+ "page_idx": 2
487
+ },
488
+ {
489
+ "type": "page_number",
490
+ "text": "3988",
491
+ "bbox": [
492
+ 482,
493
+ 944,
494
+ 514,
495
+ 955
496
+ ],
497
+ "page_idx": 2
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "one model using only the LVIS train set $(\\theta_{\\mathrm{train}})$ , and another model using LVIS train with generative data $(\\theta_{\\mathrm{gen}})$ . Both models are evaluated on the LVIS val set and we use instances that are successfully matched by both models to obtain energy values. Additionally, we train another model using LVIS val $(\\theta_{\\mathrm{val}})$ , treating it as representative of real-world data distribution. Then, we further fit Gaussian distributions to the histograms of energy values to obtain the mean $\\mu$ and standard deviation $\\sigma$ for each model and compute the KL divergence [10] between them. $D_{KL}(p_{\\theta_{\\mathrm{train}}} \\| p_{\\theta_{\\mathrm{val}}})$ is 0.063, and $D_{KL}(p_{\\theta_{\\mathrm{gen}}} \\| p_{\\theta_{\\mathrm{val}}})$ is 0.019. The latter is lower, indicating that using generative data mitigates the bias of limited real training data.",
502
+ "bbox": [
503
+ 75,
504
+ 90,
505
+ 472,
506
+ 286
507
+ ],
508
+ "page_idx": 3
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "Moreover, we also analyze the role of generative data from a metric perspective. We randomly select up to five images per category to form a minitrain set and then conduct inferences using $\\theta_{\\mathrm{train}}$ and $\\theta_{\\mathrm{gen}}$ . Then, we define a metric, termed train-val gap (TVG), which is formulated as follows:",
513
+ "bbox": [
514
+ 75,
515
+ 287,
516
+ 472,
517
+ 363
518
+ ],
519
+ "page_idx": 3
520
+ },
521
+ {
522
+ "type": "equation",
523
+ "text": "\n$$\n\\mathrm {T V G} _ {w} ^ {k} = \\mathrm {A P} _ {w} ^ {k} \\text {m i n i t r a i n} - \\mathrm {A P} _ {w} ^ {k} \\text {v a l}. \\tag {2}\n$$\n",
524
+ "text_format": "latex",
525
+ "bbox": [
526
+ 143,
527
+ 376,
528
+ 470,
529
+ 393
530
+ ],
531
+ "page_idx": 3
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "Here, $\\mathrm{TVG}_w^k$ is train-val gap of $w$ category on task $k$ , $\\mathrm{AP}_w^k d$ is AP [7] of $w$ category on $k$ obtained on dataset $d$ , $w \\in \\{f, c, r\\}$ , with $f, c, r$ standing for frequent, common, rare [7] respectively, and $k \\in \\{box, mask\\}$ , with box, mask referring to the object detection and instance segmentation. The train-val gap serves as a measure of the disparity in the model's performance between the training and validation sets. A larger gap indicates a higher degree of overfitting the training set. The results, as presented in Table 1, show that the metrics for the rare categories consistently surpass those of frequent and common. This observation suggests that the model tends to overfit more on the rare categories that have fewer examples. With the augmentation of generative data, all TVG of $\\theta_{\\mathrm{gen}}$ are lower than $\\theta_{\\mathrm{train}}$ , showing that adding generative data can effectively alleviate overfitting the training data.",
536
+ "bbox": [
537
+ 75,
538
+ 398,
539
+ 472,
540
+ 642
541
+ ],
542
+ "page_idx": 3
543
+ },
544
+ {
545
+ "type": "table",
546
+ "img_path": "images/35cdaf15a9c7c1d0de0751ba635d89b985f3ae50d2e7a452b2b5b213f8b1934f.jpg",
547
+ "table_caption": [],
548
+ "table_footnote": [],
549
+ "table_body": "<table><tr><td>Data Source</td><td>TVGfbox</td><td>TVGfmask</td><td>TVGcbox</td><td>TVGcmask</td><td>TVGRbox</td><td>TVGRmask</td></tr><tr><td>LVIS</td><td>13.16</td><td>10.71</td><td>21.80</td><td>16.80</td><td>39.59</td><td>31.68</td></tr><tr><td>LVIS + Gen</td><td>9.64</td><td>8.38</td><td>15.64</td><td>12.69</td><td>29.39</td><td>22.49</td></tr></table>",
550
+ "bbox": [
551
+ 81,
552
+ 654,
553
+ 467,
554
+ 696
555
+ ],
556
+ "page_idx": 3
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "What types of generative data are beneficial for improving model performance? We argue that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not properly addressed, the full potential of the generative model cannot be attained.",
561
+ "bbox": [
562
+ 75,
563
+ 779,
564
+ 470,
565
+ 869
566
+ ],
567
+ "page_idx": 3
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "We divide the generative data into 'frequent', 'common', and 'rare' [7] groups, and train three models using each",
572
+ "bbox": [
573
+ 75,
574
+ 869,
575
+ 470,
576
+ 901
577
+ ],
578
+ "page_idx": 3
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "group of data as instance paste source. The inference results are shown in Table 2. We find that the metrics on the corresponding category subset are lowest when training with only one group of data. We consider model performance to be primarily influenced by the quality and diversity of data. Given that the quality of generative data is relatively consistent, we contend insufficient diversity in the data can mislead the distribution that the model can learn and a more comprehensive understanding is obtained by the model from a diverse set of data. Therefore, we believe that using diverse generative data enables models to better adapt to these discrepancies, improving model performance.",
583
+ "bbox": [
584
+ 496,
585
+ 90,
586
+ 893,
587
+ 272
588
+ ],
589
+ "page_idx": 3
590
+ },
591
+ {
592
+ "type": "table",
593
+ "img_path": "images/f2a507cf54fd66680d181a01dd93c57637e4b8649d9a322ed22cebfbcf8a92ac.jpg",
594
+ "table_caption": [
595
+ "Table 1. Results of train-val gap on different data sources. With the augmentation of generative data, all TVG of LVIS are lower than LVIS + Gen, showing that adding generative data can effectively alleviate overfitting to the training data."
596
+ ],
597
+ "table_footnote": [],
598
+ "table_body": "<table><tr><td># Gen Category</td><td>\\( AP_{f}^{box} \\)</td><td>\\( AP_{f}^{mask} \\)</td><td>\\( AP_{c}^{box} \\)</td><td>\\( AP_{c}^{mask} \\)</td><td>\\( AP_{r}^{box} \\)</td><td>\\( AP_{r}^{mask} \\)</td></tr><tr><td>none</td><td>50.14</td><td>43.84</td><td>47.54</td><td>43.12</td><td>41.39</td><td>36.83</td></tr><tr><td>f</td><td>50.81</td><td>44.24</td><td>47.96</td><td>43.51</td><td>41.51</td><td>37.92</td></tr><tr><td>c</td><td>51.86</td><td>45.22</td><td>47.69</td><td>42.79</td><td>42.32</td><td>37.30</td></tr><tr><td>r</td><td>51.46</td><td>44.90</td><td>48.24</td><td>43.51</td><td>32.67</td><td>29.04</td></tr><tr><td>all</td><td>52.10</td><td>45.45</td><td>50.29</td><td>44.87</td><td>46.03</td><td>41.86</td></tr></table>",
599
+ "bbox": [
600
+ 503,
601
+ 285,
602
+ 888,
603
+ 363
604
+ ],
605
+ "page_idx": 3
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "Table 2. Results of different category data subset for training. The metrics on the corresponding category subset are lowest when training with only one group of data, showing insufficient diversity in the data can mislead the distribution that the model can learn. Blue font means the lowest value in models using generative data.",
610
+ "bbox": [
611
+ 496,
612
+ 368,
613
+ 893,
614
+ 439
615
+ ],
616
+ "page_idx": 3
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "3.2. Generative Data Diversity Enhancement",
621
+ "text_level": 1,
622
+ "bbox": [
623
+ 500,
624
+ 467,
625
+ 846,
626
+ 483
627
+ ],
628
+ "page_idx": 3
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "Through the analysis above, we find that the diversity of generative data is crucial for improving model performance. Therefore, we design a series of strategies to enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity, which help the model to better adapt to the distribution discrepancy between generative data and real data.",
633
+ "bbox": [
634
+ 496,
635
+ 491,
636
+ 893,
637
+ 595
638
+ ],
639
+ "page_idx": 3
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "Category diversity. The above experiments show that including data from partial categories results in lower performance than incorporating data from all categories. We believe that, akin to human learning, the model can learn features beneficial to the current category from some other categories. Therefore, we consider increasing the diversity of data by adding extra categories. First, we select some extra categories besides LVIS from ImageNet-1K [21] categories based on WordNet [4] similarity. Then, the generative data from LVIS and extra categories are mixed for training, requiring the model to learn to distinguish all categories. Finally, we truncate the parameters in the classification head corresponding to the extra categories during inference, ensuring that the inferred category range remains within LVIS.",
644
+ "bbox": [
645
+ 496,
646
+ 598,
647
+ 895,
648
+ 809
649
+ ],
650
+ "page_idx": 3
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "Prompt diversity. The output images of the text2image generative model typically rely on the input prompts. Existing methods [32] usually generate prompts by manually designing templates, such as \"a photo of a single {category_name}.\" When the data scale is small, designing prompts manually is convenient and fast. However, when generating a large scale",
655
+ "bbox": [
656
+ 496,
657
+ 810,
658
+ 893,
659
+ 901
660
+ ],
661
+ "page_idx": 3
662
+ },
663
+ {
664
+ "type": "page_number",
665
+ "text": "3989",
666
+ "bbox": [
667
+ 482,
668
+ 944,
669
+ 514,
670
+ 955
671
+ ],
672
+ "page_idx": 3
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "of data, it is challenging to scale the number of manually designed prompts correspondingly. Intuitively, it is essential to diversify the prompts to enhance data diversity. To easily generate a large number of prompts, we choose large language model, like ChatGPT, to enhance the prompt diversity. We have three requirements for the large language model: 1) each prompt should be as different as possible; 2) each prompt should ensure that there is only one object in the image; 3) prompts should describe different attributes of the category. For example, if the category is food, prompts should cover attributes like color, brand, size, freshness, packaging type, packaging color, etc. Limited by the inference cost of ChatGPT, we use the manually designed prompts as the base and only use ChatGPT to enhance the prompt diversity for a subset of categories. Moreover, we also leverage the controllability of the generative model, adding the constraint \"in a white background\" after each prompt to make the background of output images simple and clear, which reduces the difficulty of mask annotation.",
677
+ "bbox": [
678
+ 75,
679
+ 90,
680
+ 472,
681
+ 380
682
+ ],
683
+ "page_idx": 4
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "Generative model diversity. The quality and style of output images vary across generative models, and the data distribution learned solely from one generative model's data is limited. Therefore, we introduce multiple generative models to enhance the diversity of data, allowing the model to learn from wider data distributions. We selected two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We use Stable Diffusion V1.5, generating images with a resolution of $512 \\times 512$ , and use images output from Stage II of IF with a resolution of $256 \\times 256$ . For each category in LVIS, we generated 1k images using two models separately. Examples from different generative models are shown in Figure 2.",
688
+ "bbox": [
689
+ 75,
690
+ 388,
691
+ 472,
692
+ 585
693
+ ],
694
+ "page_idx": 4
695
+ },
696
+ {
697
+ "type": "image",
698
+ "img_path": "images/909471439b5cec1d3ede4fd2d6c1d2261ae797c787e805587d7ddb1d9c768d18.jpg",
699
+ "image_caption": [
700
+ "Figure 2. Examples of various generative models. The samples generated by different generative models vary, even within the same category."
701
+ ],
702
+ "image_footnote": [],
703
+ "bbox": [
704
+ 86,
705
+ 618,
706
+ 467,
707
+ 816
708
+ ],
709
+ "page_idx": 4
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "3.3. Generative Pipeline",
714
+ "text_level": 1,
715
+ "bbox": [
716
+ 500,
717
+ 90,
718
+ 687,
719
+ 107
720
+ ],
721
+ "page_idx": 4
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "The generative pipeline of DiverGen is built upon X-Paste [32]. It can be divided into four stages: instance generation, instance annotation, instance filtration and instance augmentation. The overview of DiverGen is illustrated in Figure 3.",
726
+ "bbox": [
727
+ 496,
728
+ 123,
729
+ 893,
730
+ 199
731
+ ],
732
+ "page_idx": 4
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "Instance generation. Instance generation is a crucial stage for enhancing data diversity. In this stage, we employ our proposed Generative Data Diversity Enhancement (GDDE), as mentioned in Sec 3.2. In category diversity enhancement, we utilize the category information from LVIS [7] categories and extra categories selected from ImageNet-1K [21]. In prompt diversity enhancement, we utilize manually designed prompts and ChatGPT designed prompts to enhance prompt diversity. In model diversity enhancement, we employ two generative models, SD and IF.",
737
+ "bbox": [
738
+ 496,
739
+ 208,
740
+ 893,
741
+ 359
742
+ ],
743
+ "page_idx": 4
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "Instance annotation. We employ SAM [11] as our annotation model. SAM is a class-agnostic promptable segmenter that outputs corresponding masks based on input prompts, such as points, boxes, etc. In instance generation, leveraging the controllability of the generative model, the generative images have two characteristics: 1) each image predominantly contains only one foreground object; 2) the background of the images is relatively simple. Therefore, we introduce a SAM-background (SAM-bg) annotation strategy. SAM-bg takes the four corner points of an image as input prompts for SAM to obtain the background mask, then inverts the background mask as the mask of the foreground object. Due to the conditional constraints during the instance generation stage, this strategy is simple but effective in producing high-quality masks.",
748
+ "bbox": [
749
+ 496,
750
+ 368,
751
+ 895,
752
+ 595
753
+ ],
754
+ "page_idx": 4
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "Instance filtration. In the instance filtration stage, X-Paste utilizes the CLIP score (similarity between images and text) as the metric for image filtering. However, we observe that the CLIP score is ineffective in filtering low-quality images. In contrast to the similarity between images and text, we think the similarity between images can better filter out low-quality images. Therefore, we propose a new metric called CLIP inter-similarity. We use the image encoder of CLIP [19] to extract image embeddings for objects in the training set and generative images, then calculate the similarity between them. If the similarity is too low, it indicates a significant disparity between the generative and real images, suggesting that it is probably a poor-quality image and needs to be filtered.",
759
+ "bbox": [
760
+ 496,
761
+ 604,
762
+ 893,
763
+ 815
764
+ ],
765
+ "page_idx": 4
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "Instance augmentation. We use the augmentation strategy proposed by X-Paste [32] but do not use the data retrieved from the network or the instances in LVIS [7] training set as the paste data source, only use the generative data as the paste data source.",
770
+ "bbox": [
771
+ 496,
772
+ 825,
773
+ 893,
774
+ 902
775
+ ],
776
+ "page_idx": 4
777
+ },
778
+ {
779
+ "type": "page_number",
780
+ "text": "3990",
781
+ "bbox": [
782
+ 482,
783
+ 944,
784
+ 514,
785
+ 955
786
+ ],
787
+ "page_idx": 4
788
+ },
789
+ {
790
+ "type": "image",
791
+ "img_path": "images/eac58f31b5a56669044793994005ae483e4994db4007c962bc97678677d4b837.jpg",
792
+ "image_caption": [
793
+ "Figure 3. Overview of the DiverGen pipeline. In instance generation, we enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity. Next, we use SAM-background to obtain high-quality masks. Then, we use CLIP inter-similarity to filter out low-quality data. At last, we use the instance paste strategy to increase model learning efficiency on generative data."
794
+ ],
795
+ "image_footnote": [],
796
+ "bbox": [
797
+ 83,
798
+ 92,
799
+ 885,
800
+ 340
801
+ ],
802
+ "page_idx": 5
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "4. Experiments",
807
+ "text_level": 1,
808
+ "bbox": [
809
+ 76,
810
+ 419,
811
+ 209,
812
+ 435
813
+ ],
814
+ "page_idx": 5
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "4.1. Settings",
819
+ "text_level": 1,
820
+ "bbox": [
821
+ 76,
822
+ 444,
823
+ 174,
824
+ 460
825
+ ],
826
+ "page_idx": 5
827
+ },
828
+ {
829
+ "type": "text",
830
+ "text": "Datasets. We choose LVIS [7] for our experiments. LVIS is a large-scale instance segmentation dataset, containing 164k images with approximately two million high-quality annotations of instance segmentation and object detection. LVIS dataset uses images from COCO 2017 [14] dataset, but redefines the train/val/test splits, with around 100k images in the training set and around 20k images in the validation set. The annotations in LVIS cover 1,203 categories, with a typical long-tailed distribution of categories, so LVIS further divides the categories into frequent, common, and rare based on the frequency of each category in the dataset. We use the official LVIS training split and the validation split.",
831
+ "bbox": [
832
+ 75,
833
+ 468,
834
+ 468,
835
+ 650
836
+ ],
837
+ "page_idx": 5
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "Evaluation metrics. The evaluation metrics are LVIS box average precision $(\\mathrm{AP}^{box})$ and mask average precision $(\\mathrm{AP}^{mask})$ . We also provide the average precision of rare categories $(\\mathrm{AP}_{r}^{box}$ and $\\mathrm{AP}_{r}^{mask}$ ). The maximum number of detections per image is 300.",
842
+ "bbox": [
843
+ 75,
844
+ 651,
845
+ 468,
846
+ 726
847
+ ],
848
+ "page_idx": 5
849
+ },
850
+ {
851
+ "type": "text",
852
+ "text": "Implementation details. We use CenterNet2 [33] as the baseline and Swin-L [15] as the backbone. In the training process, we initialize the parameters by the pre-trained Swin-L weights provided by Liu et al. [15]. The training size is 896 and the batch size is 16. The maximum training iterations is 180,000 with an initial learning rate of 0.0001. We use the instance paste strategy provided by Zhao et al. [32].",
853
+ "bbox": [
854
+ 75,
855
+ 727,
856
+ 468,
857
+ 834
858
+ ],
859
+ "page_idx": 5
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "4.2. Main Results",
864
+ "text_level": 1,
865
+ "bbox": [
866
+ 76,
867
+ 845,
868
+ 215,
869
+ 859
870
+ ],
871
+ "page_idx": 5
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "Data diversity is more important than quantity. To investigate the impact of different scales of generative data, we",
876
+ "bbox": [
877
+ 75,
878
+ 869,
879
+ 470,
880
+ 900
881
+ ],
882
+ "page_idx": 5
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "use generative data of varying scales as paste data sources. We construct three datasets using only DeepFloyd-IF [22] with manually designed prompts, all containing original LVIS 1,203 categories, but with per-category quantities of $0.25\\mathrm{k}$ , $0.5\\mathrm{k}$ , and $1\\mathrm{k}$ , resulting in total dataset scales of $300\\mathrm{k}$ , $600\\mathrm{k}$ , and $1,200\\mathrm{k}$ . As shown in Table 3, we find that using generative data improves model performance compared to the baseline. However, as the dataset scale increases, the model performance initially improves but then declines. The model performance using $1,200\\mathrm{k}$ data is lower than that using $600\\mathrm{k}$ data. Due to the limited number of manually designed prompts, the generative model produces similar data, as shown in Figure 4a. Consequently, the model can not gain benefits from more data. However, when using our proposed Generative Data Diversity Enhancement (GDDE), due to the increased data diversity, the model trained with $1,200\\mathrm{k}$ images achieves better results than using $600\\mathrm{k}$ images, with an improvement of 1.21 box AP and 1.04 mask AP. Moreover, when using the same data scale of $600\\mathrm{k}$ , the mask AP increased by 0.64 AP and the box AP increased by 0.55 AP when using GDDE compared to not using it. The results demonstrate that data diversity is more important than quantity. When the scale of data is small, increasing the quantity of data can improve model performance, which we consider is an indirect way of increasing data diversity. However, this simplistic approach of solely increasing quantity to increase diversity has an upper limit. When it reaches this limit, explicit data diversity enhancement strategies become necessary to maintain the trend of model performance improvement.",
887
+ "bbox": [
888
+ 496,
889
+ 421,
890
+ 893,
891
+ 872
892
+ ],
893
+ "page_idx": 5
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "Comparison with previous methods. We compare Di",
898
+ "bbox": [
899
+ 500,
900
+ 885,
901
+ 893,
902
+ 901
903
+ ],
904
+ "page_idx": 5
905
+ },
906
+ {
907
+ "type": "page_number",
908
+ "text": "3991",
909
+ "bbox": [
910
+ 482,
911
+ 944,
912
+ 513,
913
+ 955
914
+ ],
915
+ "page_idx": 5
916
+ },
917
+ {
918
+ "type": "image",
919
+ "img_path": "images/44a70e0a8f291906a886b6c1e30c32cbe48ff7f1531f3ec3196951dbe09626ba.jpg",
920
+ "image_caption": [
921
+ "(a) Images of manually designed prompts."
922
+ ],
923
+ "image_footnote": [],
924
+ "bbox": [
925
+ 86,
926
+ 89,
927
+ 480,
928
+ 294
929
+ ],
930
+ "page_idx": 6
931
+ },
932
+ {
933
+ "type": "image",
934
+ "img_path": "images/68ad3f3d3362ad0e35e127e1698b50c744d5a71906c1f465768ba0598a90cf72.jpg",
935
+ "image_caption": [
936
+ "(b) Images of ChatGPT designed prompts.",
937
+ "Figure 4. Examples of generative data using different prompts. By using prompts designed by ChatGPT, the diversity of generated images in terms of shapes, textures, etc. can be significantly improved."
938
+ ],
939
+ "image_footnote": [],
940
+ "bbox": [
941
+ 500,
942
+ 90,
943
+ 890,
944
+ 292
945
+ ],
946
+ "page_idx": 6
947
+ },
948
+ {
949
+ "type": "table",
950
+ "img_path": "images/96632206684dc2cfd0e17540a7d1149ca9b14151f4056a2418df90b05fb91170.jpg",
951
+ "table_caption": [],
952
+ "table_footnote": [],
953
+ "table_body": "<table><tr><td># Gen Data</td><td>GDDE</td><td>\\( AP^{box} \\)</td><td>\\( AP^{mask} \\)</td><td>\\( AP_{r}^{box} \\)</td><td>\\( AP_{r}^{mask} \\)</td></tr><tr><td>0</td><td></td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>300k</td><td></td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>600k</td><td></td><td>50.03</td><td>44.44</td><td>47.15</td><td>41.96</td></tr><tr><td>1200k</td><td></td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>600k</td><td>✓</td><td>50.67</td><td>44.99</td><td>48.52</td><td>43.63</td></tr><tr><td>1200k</td><td>✓</td><td>51.24</td><td>45.48</td><td>50.07</td><td>45.85</td></tr></table>",
954
+ "bbox": [
955
+ 99,
956
+ 373,
957
+ 444,
958
+ 470
959
+ ],
960
+ "page_idx": 6
961
+ },
962
+ {
963
+ "type": "text",
964
+ "text": "verGen with previous data-augmentation related methods in Table 4. Compared to the baseline CenterNet2 [33], our method significantly improves, increasing box AP by $+3.7$ and mask AP by $+3.2$ . Regarding rare categories, our method surpasses the baseline with $+8.7$ in box AP and $+9.0$ in mask AP. Compared to the previous strong model X-Paste [32], we outperform it with $+1.1$ in box AP and $+1.1$ in mask AP of all categories, and $+1.9$ in box AP and $+2.5$ in mask AP of rare categories. It is worth mentioning that, X-Paste utilizes both generative data and web-retrieved data as paste data sources during training, while our method exclusively uses generative data as the paste data source. We achieve this by designing diversity enhancement strategies, further unlocking the potential of generative models.",
965
+ "bbox": [
966
+ 75,
967
+ 544,
968
+ 472,
969
+ 755
970
+ ],
971
+ "page_idx": 6
972
+ },
973
+ {
974
+ "type": "table",
975
+ "img_path": "images/db86bfb2694ccbf4fa6a299da09738f0b785d7da8e0eedc73ffc2e14a69ac752.jpg",
976
+ "table_caption": [
977
+ "Table 3. Results of different scales of generative data. When using the same data scale, models using our proposed GDDE can achieve higher performance than those without it, showing that data diversity is more important than quantity."
978
+ ],
979
+ "table_footnote": [],
980
+ "table_body": "<table><tr><td>Method</td><td>Backbone</td><td>APbox</td><td>APmask</td><td>APboxr</td><td>APrmask</td></tr><tr><td>Copy-Paste [6]</td><td>EfficientNet-B7</td><td>41.6</td><td>38.1</td><td>-</td><td>32.1</td></tr><tr><td>Tan et al. [24]</td><td>ResNeSt-269</td><td>-</td><td>41.5</td><td>-</td><td>30.0</td></tr><tr><td>Detic [34]</td><td>Swin-B</td><td>46.9</td><td>41.7</td><td>45.9</td><td>41.7</td></tr><tr><td>CenterNet2 [33]</td><td>Swin-L</td><td>47.5</td><td>42.3</td><td>41.4</td><td>36.8</td></tr><tr><td>X-Paste [32]</td><td>Swin-L</td><td>50.1</td><td>44.4</td><td>48.2</td><td>43.3</td></tr><tr><td>DiverGen (Ours)</td><td>Swin-L</td><td>51.2 (+1.1)</td><td>45.5 (+1.1)</td><td>50.1 (+1.9)</td><td>45.8 (+2.5)</td></tr></table>",
981
+ "bbox": [
982
+ 81,
983
+ 766,
984
+ 467,
985
+ 871
986
+ ],
987
+ "page_idx": 6
988
+ },
989
+ {
990
+ "type": "text",
991
+ "text": "4.3. Ablation Studies",
992
+ "text_level": 1,
993
+ "bbox": [
994
+ 500,
995
+ 375,
996
+ 663,
997
+ 390
998
+ ],
999
+ "page_idx": 6
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "We analyze the effects of the proposed strategies in DiverGen through a series of ablation studies using the Swin-L [15] backbone.",
1004
+ "bbox": [
1005
+ 496,
1006
+ 398,
1007
+ 892,
1008
+ 443
1009
+ ],
1010
+ "page_idx": 6
1011
+ },
1012
+ {
1013
+ "type": "text",
1014
+ "text": "Effect of category diversity. We select 50, 250, and 566 extra categories from ImagNet-1K [21], and generate $0.5\\mathrm{k}$ images for each category, which are added to the baseline. The baseline only uses 1,203 categories of LIVS [7] to generate data. We show the results in Table 5. Generally, increasing the number of extra categories initially improves then declines model performance, peaking at 250 extra categories. The trend suggests that using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance.",
1015
+ "bbox": [
1016
+ 496,
1017
+ 445,
1018
+ 893,
1019
+ 611
1020
+ ],
1021
+ "page_idx": 6
1022
+ },
1023
+ {
1024
+ "type": "table",
1025
+ "img_path": "images/933256c997437b0b8159b3e6c336fe6b4461c48d3aa0a6d5e453d626569fe545.jpg",
1026
+ "table_caption": [
1027
+ "Table 4. Comparison with previous methods on LVIS val set."
1028
+ ],
1029
+ "table_footnote": [],
1030
+ "table_body": "<table><tr><td>#Extra Category</td><td>APbox</td><td>APmask</td><td>APbox</td><td>APmask</td></tr><tr><td>0</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>50</td><td>49.92</td><td>44.17</td><td>44.94</td><td>39.86</td></tr><tr><td>250</td><td>50.59</td><td>44.77</td><td>47.99</td><td>42.91</td></tr><tr><td>566</td><td>50.35</td><td>44.63</td><td>47.68</td><td>42.53</td></tr></table>",
1031
+ "bbox": [
1032
+ 521,
1033
+ 625,
1034
+ 867,
1035
+ 703
1036
+ ],
1037
+ "page_idx": 6
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "Table 5. Ablation of the number of extra categories during training. Using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance.",
1042
+ "bbox": [
1043
+ 496,
1044
+ 707,
1045
+ 893,
1046
+ 777
1047
+ ],
1048
+ "page_idx": 6
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "Effect of prompt diversity. We select a subset of categories and use ChatGPT to generate 32 and 128 prompts for each category, with each prompt being used to generate 8 and 2 images, respectively, ensuring that the image count for each category is $0.25\\mathrm{k}$ . The baseline uses only one prompt per category to generate $0.25\\mathrm{k}$ images. The regenerated images will replace the corresponding categories in the baseline to",
1053
+ "bbox": [
1054
+ 496,
1055
+ 794,
1056
+ 893,
1057
+ 900
1058
+ ],
1059
+ "page_idx": 6
1060
+ },
1061
+ {
1062
+ "type": "page_number",
1063
+ "text": "3992",
1064
+ "bbox": [
1065
+ 482,
1066
+ 944,
1067
+ 514,
1068
+ 955
1069
+ ],
1070
+ "page_idx": 6
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "ensure that the final data scale is consistent. The results are presented in Table 6. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance.",
1075
+ "bbox": [
1076
+ 75,
1077
+ 90,
1078
+ 470,
1079
+ 167
1080
+ ],
1081
+ "page_idx": 7
1082
+ },
1083
+ {
1084
+ "type": "table",
1085
+ "img_path": "images/551f7c13f4b8095bbf4dd611f08f983ffb710d0a82d43312ca57960b64d55db6.jpg",
1086
+ "table_caption": [],
1087
+ "table_footnote": [],
1088
+ "table_body": "<table><tr><td># Prompt</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>1</td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>32</td><td>50.03</td><td>44.39</td><td>45.83</td><td>41.32</td></tr><tr><td>128</td><td>50.27</td><td>44.50</td><td>46.49</td><td>41.25</td></tr></table>",
1089
+ "bbox": [
1090
+ 109,
1091
+ 180,
1092
+ 434,
1093
+ 250
1094
+ ],
1095
+ "page_idx": 7
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "text": "Effect of generative model diversity. We choose two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We generate 1k images per category for each generative model, totaling 1,200k. When using a mixed dataset $(\\mathrm{SD} + \\mathrm{IF})$ , we take 600k from SD and 600k from IF per category, respectively, to ensure the total dataset scale is consistent. The baseline does not use any generative data (none). As shown in Table 7, using data generated by either SD or IF alone can improve performance, further mixing the generative data of both leads to significant performance gains. This demonstrates that increasing model diversity is beneficial for improving model performance.",
1100
+ "bbox": [
1101
+ 75,
1102
+ 328,
1103
+ 470,
1104
+ 508
1105
+ ],
1106
+ "page_idx": 7
1107
+ },
1108
+ {
1109
+ "type": "table",
1110
+ "img_path": "images/8760fa2f6cc8b9ea8f57a8062055829beb6bf33f9eada825a6dd054ddb13249a.jpg",
1111
+ "table_caption": [
1112
+ "Table 6. Ablation of the number of prompts used to generate data. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance."
1113
+ ],
1114
+ "table_footnote": [],
1115
+ "table_body": "<table><tr><td>Model</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>SD [20]</td><td>48.13</td><td>42.82</td><td>43.68</td><td>39.15</td></tr><tr><td>IF [22]</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>SD + IF</td><td>50.78</td><td>45.27</td><td>48.94</td><td>44.35</td></tr></table>",
1116
+ "bbox": [
1117
+ 109,
1118
+ 522,
1119
+ 436,
1120
+ 609
1121
+ ],
1122
+ "page_idx": 7
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "Effect of annotation strategy. X-Paste [32] uses four models (U2Net [18], SelfReformer [29], UFO [23] and CLIPseg [16]) to generate masks and selects the one with the highest CLIP score. We compare our proposed annotation strategy (SAM-bg) to that proposed by X-Paste (max CLIP). In Table 8, SAM-bg outperforms max CLIP strategy across all metrics, indicating that our proposed strategy can produce better annotations, improving model performance. As shown in Figure 5, SAM-bg unlocks the potential capability of SAM, obtaining precise and refined masks.",
1127
+ "bbox": [
1128
+ 75,
1129
+ 657,
1130
+ 470,
1131
+ 808
1132
+ ],
1133
+ "page_idx": 7
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "Effect of CLIP inter-similarity. We compare our proposed CLIP inter-similarity to CLIP score [32]. The results are shown in Table 9. The performance of data filtered by CLIP inter-similarity is higher than that of CLIP score, demonstrating that CLIP inter-similarity can filter low-quality images more effectively.",
1138
+ "bbox": [
1139
+ 75,
1140
+ 810,
1141
+ 470,
1142
+ 901
1143
+ ],
1144
+ "page_idx": 7
1145
+ },
1146
+ {
1147
+ "type": "image",
1148
+ "img_path": "images/97078d8706311e59d5ebbedbc62412fbf54669fc01b097ebb44d589e6a2e1767.jpg",
1149
+ "image_caption": [
1150
+ "Figure 5. Examples of object mask of different annotation strategies. SAM-bg can obtain more complete and delicate masks."
1151
+ ],
1152
+ "image_footnote": [],
1153
+ "bbox": [
1154
+ 522,
1155
+ 90,
1156
+ 883,
1157
+ 234
1158
+ ],
1159
+ "page_idx": 7
1160
+ },
1161
+ {
1162
+ "type": "table",
1163
+ "img_path": "images/1b0d0d0d819fd12cbd74a3605d0a28ca14cf25d40b5cbf777be535dcd0a61be3.jpg",
1164
+ "table_caption": [
1165
+ "Table 7. Ablation of different generative models. Increasing model diversity is beneficial for improving model performance."
1166
+ ],
1167
+ "table_footnote": [],
1168
+ "table_body": "<table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>max CLIP [32]</td><td>49.10</td><td>43.45</td><td>42.75</td><td>37.55</td></tr><tr><td>SAM-bg</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr></table>",
1169
+ "bbox": [
1170
+ 542,
1171
+ 286,
1172
+ 849,
1173
+ 337
1174
+ ],
1175
+ "page_idx": 7
1176
+ },
1177
+ {
1178
+ "type": "table",
1179
+ "img_path": "images/0d020e245d2399ca00fd43f12c21637da772fe9f426f4015202d240ea792658c.jpg",
1180
+ "table_caption": [
1181
+ "Table 8. Ablation of different annotation strategies. Our proposed SAM-bg can produce better annotations, improving model performance."
1182
+ ],
1183
+ "table_footnote": [],
1184
+ "table_body": "<table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>CLIP score [32]</td><td>49.84</td><td>44.27</td><td>44.83</td><td>40.82</td></tr><tr><td>CLIP inter-similarity</td><td>50.07</td><td>44.44</td><td>45.53</td><td>41.16</td></tr></table>",
1185
+ "bbox": [
1186
+ 521,
1187
+ 393,
1188
+ 867,
1189
+ 455
1190
+ ],
1191
+ "page_idx": 7
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Table 9. Ablation of the different filtration strategies. Our proposed CLIP inter-similarity can filter low-quality images more effectively.",
1196
+ "bbox": [
1197
+ 498,
1198
+ 459,
1199
+ 890,
1200
+ 501
1201
+ ],
1202
+ "page_idx": 7
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "5. Conclusions",
1207
+ "text_level": 1,
1208
+ "bbox": [
1209
+ 500,
1210
+ 508,
1211
+ 625,
1212
+ 523
1213
+ ],
1214
+ "page_idx": 7
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "In this paper, we explain the role of generative data augmentation from the perspective of data distribution discrepancies and find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set. Furthermore, we find that data diversity of generative data is crucial for improving model performance. Therefore, we design an efficient data diversity enhancement strategy, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. Finally, we optimize the data generative pipeline by designing the annotation strategy SAM-background to obtain higher quality annotations and introducing the metric CLIP inter-similarity to filter data, which further improves the quality of the generative dataset. Through these designed strategies, our proposed method significantly outperforms the existing strong models. We hope DiverGen can provide new insights and inspirations for future research on the effectiveness and efficiency of generative data augmentation.",
1219
+ "bbox": [
1220
+ 496,
1221
+ 534,
1222
+ 893,
1223
+ 837
1224
+ ],
1225
+ "page_idx": 7
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "Acknowledgments",
1230
+ "text_level": 1,
1231
+ "bbox": [
1232
+ 500,
1233
+ 847,
1234
+ 645,
1235
+ 863
1236
+ ],
1237
+ "page_idx": 7
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "This work was in part supported by National Key R&D Program of China (No. 2022ZD0118700).",
1242
+ "bbox": [
1243
+ 500,
1244
+ 869,
1245
+ 890,
1246
+ 900
1247
+ ],
1248
+ "page_idx": 7
1249
+ },
1250
+ {
1251
+ "type": "page_number",
1252
+ "text": "3993",
1253
+ "bbox": [
1254
+ 482,
1255
+ 944,
1256
+ 514,
1257
+ 955
1258
+ ],
1259
+ "page_idx": 7
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "References",
1264
+ "text_level": 1,
1265
+ "bbox": [
1266
+ 78,
1267
+ 89,
1268
+ 173,
1269
+ 104
1270
+ ],
1271
+ "page_idx": 8
1272
+ },
1273
+ {
1274
+ "type": "list",
1275
+ "sub_type": "ref_text",
1276
+ "list_items": [
1277
+ "[1] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Proc. Eur. Conf. Comp. Vis. Springer, 2020. 1, 2",
1278
+ "[2] Kai Chen, Enze Xie, Zhe Chen, Lanqing Hong, Zhenguo Li, and Dit-Yan Yeung. Integrating geometric control into text-to-image diffusion models for high-quality detection data generation via text prompt. arXiv: Comp. Res. Repository, 2023. 3",
1279
+ "[3] Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 1290–1299, 2022. 1, 2",
1280
+ "[4] Christiane Fellbaum. Wordnet. In Theory and applications of ontology: computer applications, pages 231-243. Springer, 2010. 4",
1281
+ "[5] Chun-Mei Feng, Kai Yu, Yong Liu, Salman Khan, and Wangmeng Zuo. Diverse data augmentation with diffusions for effective test-time prompt tuning. In Proc. IEEE Int. Conf. Comp. Vis., pages 2704-2714, 2023. 3",
1282
+ "[6] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2918-2928, 2021. 7",
1283
+ "[7] Agrim Gupta, Piotr Dollar, and Ross Girshick. Lvis: A dataset for large vocabulary instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5356-5364, 2019. 1, 2, 3, 4, 5, 6, 7",
1284
+ "[8] Kaiming He, Georgia Gkioxari, Piotr Dólar, and Ross Girshick. Mask r-cnn. In Proc. IEEE Int. Conf. Comp. Vis., pages 2961-2969, 2017. 1, 2",
1285
+ "[9] KJ Joseph, Salman Khan, Fahad Shahbaz Khan, and Vineeth N Balasubramanian. Towards open world object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5830-5840, 2021. 3",
1286
+ "[10] James M Joyce. Kullback-leibler divergence. In International Encyclopedia of Statistical Science, pages 720-722. Springer, 2011. 4",
1287
+ "[11] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander Berg, Wan-Yen Lo, et al. Segment anything. In Proc. IEEE Int. Conf. Comp. Vis., pages 4015-4026, 2023. 1, 2, 5",
1288
+ "[12] Daiqing Li, Huan Ling, Seung Wook Kim, Karsten Kreis, Sanja Fidler, and Antonio Torralba. Bigdatasetgan: Synthesizing imagenet with pixel-wise annotations. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 21330-21340, 2022. 3",
1289
+ "[13] Ziyi Li, Qinye Zhou, Xiaoyun Zhang, Ya Zhang, Yanfeng Wang, and Weidi Xie. Open-vocabulary object segmentation with diffusion models. In Proc. IEEE Int. Conf. Comp. Vis., pages 7667-7676, 2023. 3",
1290
+ "[14] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In Proc. Eur. Conf. Comp. Vis., pages 740-755. Springer, 2014. 6"
1291
+ ],
1292
+ "bbox": [
1293
+ 78,
1294
+ 114,
1295
+ 472,
1296
+ 901
1297
+ ],
1298
+ "page_idx": 8
1299
+ },
1300
+ {
1301
+ "type": "list",
1302
+ "sub_type": "ref_text",
1303
+ "list_items": [
1304
+ "[15] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proc. IEEE Int. Conf. Comp. Vis., pages 10012-10022, 2021. 6, 7",
1305
+ "[16] Timo Lüddecke and Alexander Ecker. Image segmentation using text and image prompts. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 7086-7096, 2022. 8",
1306
+ "[17] Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv: Comp. Res. Repository, 2018. 3",
1307
+ "[18] Xuebin Qin, Zichen Zhang, Chenyang Huang, Masood Dehghan, Osmar R Zaiane, and Martin Jagersand. U2-net: Going deeper with nested u-structure for salient object detection. Pattern Recognition, 106:107404, 2020. 8",
1308
+ "[19] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In Proc. Int. Conf. Mach. Learn., pages 8748-8763. PMLR, 2021. 2, 3, 5",
1309
+ "[20] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10684-10695, 2022. 1, 2, 3, 5, 8",
1310
+ "[21] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision, 115: 211-252, 2015. 2, 4, 5, 7",
1311
+ "[22] Alex Shonenkov, Misha Konstantinov, Daria Bakshandaeva, Christoph Schuhmann, Ksenia Ivanova, and Nadija Klokova. Deepfloyd-if, 2023. 1, 2, 3, 5, 6, 8",
1312
+ "[23] Yukun Su, Jingliang Deng, Ruizhou Sun, Guosheng Lin, Hanjing Su, and Qingyao Wu. A unified transformer framework for group-based segmentation: Co-segmentation, co-saliency detection and video salient object detection. IEEE Trans. Multimedia, 2023. 8",
1313
+ "[24] Jingru Tan, Gang Zhang, Hanming Deng, Changbao Wang, Lewei Lu, Quanquan Li, and Jifeng Dai. 1st place solution of LVIS challenge 2020: A good box is not a guarantee of a good mask. arXiv: Comp. Res. Repository, 2020. 7",
1314
+ "[25] Weijia Wu, Yuzhong Zhao, Hao Chen, Yuchao Gu, Rui Zhao, Yefei He, Hong Zhou, Mike Zheng Shou, and Chunhua Shen. DatasetDM: Synthesizing data with perception annotations using diffusion models. Proc. Advances in Neural Inf. Process. Syst., 2023. 1, 3",
1315
+ "[26] Weijia Wu, Yuzhong Zhao, Mike Zheng Shou, Hong Zhou, and Chunhua Shen. Diffumask: Synthesizing images with pixel-level annotations for semantic segmentation using diffusion models. Proc. IEEE Int. Conf. Comp. Vis., 2023. 1, 3",
1316
+ "[27] Jiahao Xie, Wei Li, Xiangtai Li, Ziwei Liu, Yew Soon Ong, and Chen Change Loy. Mosaicfusion: Diffusion models as data augmenters for large vocabulary instance segmentation. arXiv: Comp. Res. Repository, 2023. 3"
1317
+ ],
1318
+ "bbox": [
1319
+ 501,
1320
+ 92,
1321
+ 893,
1322
+ 901
1323
+ ],
1324
+ "page_idx": 8
1325
+ },
1326
+ {
1327
+ "type": "page_number",
1328
+ "text": "3994",
1329
+ "bbox": [
1330
+ 482,
1331
+ 944,
1332
+ 514,
1333
+ 955
1334
+ ],
1335
+ "page_idx": 8
1336
+ },
1337
+ {
1338
+ "type": "list",
1339
+ "sub_type": "ref_text",
1340
+ "list_items": [
1341
+ "[28] Lihe Yang, Xiaogang Xu, Bingyi Kang, Yinghuan Shi, and Hengshuang Zhao. FreeMask: Synthetic images with dense annotations make stronger segmentation models. Proc. Advances in Neural Inf. Process. Syst., 2023. 3",
1342
+ "[29] Yi Ke Yun and Weisi Lin. Selfreformer: Self-refined network with transformer for salient object detection. arXiv: Comp. Res. Repository, 2022. 8",
1343
+ "[30] Renrui Zhang, Xiangfei Hu, Bohao Li, Siyuan Huang, Hanqiu Deng, Yu Qiao, Peng Gao, and Hongsheng Li. Prompt, generate, then cache: Cascade of foundation models makes strong few-shot learners. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 15211-15222, 2023. 3",
1344
+ "[31] Yuxuan Zhang, Huan Ling, Jun Gao, Kangxue Yin, Jean-Francois Lafleche, Adela Barriuso, Antonio Torralba, and Sanja Fidler. Dasetgan: Efficient labeled data factory with minimal human effort. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10145-10155, 2021. 3",
1345
+ "[32] Hanqing Zhao, Dianmo Sheng, Jianmin Bao, Dongdong Chen, Dong Chen, Fang Wen, Lu Yuan, Ce Liu, Wenbo Zhou, Qi Chu, Weiming Zhang, and Nenghai Yu. X-paste: Revisiting scalable copy-paste for instance segmentation using CLIP and stablediffusion. Proc. Int. Conf. Mach. Learn., 2023. 1, 2, 3, 4, 5, 6, 7, 8",
1346
+ "[33] Xingyi Zhou, Vladlen Koltun, and Philipp Krahenbuhl. Probabilistic two-stage detection. arXiv: Comp. Res. Repository, 2021. 6, 7",
1347
+ "[34] Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krahenbuhl, and Ishan Misra. Detecting twenty-thousand classes using image-level supervision. In Proc. Eur. Conf. Comp. Vis., pages 350-368. Springer, 2022. 7"
1348
+ ],
1349
+ "bbox": [
1350
+ 78,
1351
+ 90,
1352
+ 470,
1353
+ 515
1354
+ ],
1355
+ "page_idx": 9
1356
+ },
1357
+ {
1358
+ "type": "page_number",
1359
+ "text": "3995",
1360
+ "bbox": [
1361
+ 482,
1362
+ 945,
1363
+ 514,
1364
+ 955
1365
+ ],
1366
+ "page_idx": 9
1367
+ }
1368
+ ]
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_model.json ADDED
@@ -0,0 +1,1815 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "header",
5
+ "bbox": [
6
+ 0.107,
7
+ 0.003,
8
+ 0.182,
9
+ 0.043
10
+ ],
11
+ "angle": 0,
12
+ "content": "CVF"
13
+ },
14
+ {
15
+ "type": "header",
16
+ "bbox": [
17
+ 0.237,
18
+ 0.001,
19
+ 0.812,
20
+ 0.047
21
+ ],
22
+ "angle": 0,
23
+ "content": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore."
24
+ },
25
+ {
26
+ "type": "title",
27
+ "bbox": [
28
+ 0.132,
29
+ 0.131,
30
+ 0.842,
31
+ 0.175
32
+ ],
33
+ "angle": 0,
34
+ "content": "DiverGen: Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.086,
40
+ 0.202,
41
+ 0.91,
42
+ 0.224
43
+ ],
44
+ "angle": 0,
45
+ "content": "Chengxiang Fan\\(^{1*}\\) Muzhi Zhu\\(^{1*}\\) Hao Chen\\(^{1\\dagger}\\) Yang Liu\\(^{1}\\) Weijia Wu\\(^{1}\\) Huaqi Zhang\\(^{2}\\) Chunhua Shen\\(^{1\\dagger}\\)"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.225,
51
+ 0.228,
52
+ 0.76,
53
+ 0.249
54
+ ],
55
+ "angle": 0,
56
+ "content": "\\(^{1}\\) Zhejiang University, China \\(^{2}\\) vivo Mobile Communication Co."
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.235,
62
+ 0.283,
63
+ 0.314,
64
+ 0.3
65
+ ],
66
+ "angle": 0,
67
+ "content": "Abstract"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.076,
73
+ 0.315,
74
+ 0.473,
75
+ 0.466
76
+ ],
77
+ "angle": 0,
78
+ "content": "Instance segmentation is data-hungry, and as model capacity increases, data scale becomes crucial for improving the accuracy. Most instance segmentation datasets today require costly manual annotation, limiting their data scale. Models trained on such data are prone to overfitting on the training set, especially for those rare categories. While recent works have delved into exploiting generative models to create synthetic datasets for data augmentation, these approaches do not efficiently harness the full potential of generative models."
79
+ },
80
+ {
81
+ "type": "text",
82
+ "bbox": [
83
+ 0.076,
84
+ 0.466,
85
+ 0.473,
86
+ 0.753
87
+ ],
88
+ "angle": 0,
89
+ "content": "To address these issues, we introduce a more efficient strategy to construct generative datasets for data augmentation, termed DiverGen. Firstly, we provide an explanation of the role of generative data from the perspective of distribution discrepancy. We investigate the impact of different data on the distribution learned by the model. We argue that generative data can expand the data distribution that the model can learn, thus mitigating overfitting. Additionally, we find that the diversity of generative data is crucial for improving model performance and enhance it through various strategies, including category diversity, prompt diversity, and generative model diversity. With these strategies, we can scale the data to millions while maintaining the trend of model performance improvement. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste, achieving \\(+1.1\\) box AP and \\(+1.1\\) mask AP across all categories, and \\(+1.9\\) box AP and \\(+2.5\\) mask AP for rare categories. Our codes are available at https://github.com/aim-uofa/DiverGen."
90
+ },
91
+ {
92
+ "type": "title",
93
+ "bbox": [
94
+ 0.078,
95
+ 0.781,
96
+ 0.21,
97
+ 0.797
98
+ ],
99
+ "angle": 0,
100
+ "content": "1. Introduction"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.076,
106
+ 0.806,
107
+ 0.471,
108
+ 0.868
109
+ ],
110
+ "angle": 0,
111
+ "content": "Instance segmentation [1, 3, 8] is one of the challenging tasks in computer vision, requiring the prediction of masks and categories for instances in an image, which serves as the foundation for numerous visual applications. As mod-"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.5,
117
+ 0.284,
118
+ 0.895,
119
+ 0.815
120
+ ],
121
+ "angle": 0,
122
+ "content": "els' learning capabilities improve, the demand for training data increases. However, current datasets for instance segmentation heavily rely on manual annotation, which is time-consuming and costly, and the dataset scale cannot meet the training needs of models. Despite the recent emergence of the automatically annotated dataset SA-1B [11], it lacks category annotations, failing to meet the requirements of instance segmentation. Meanwhile, the ongoing development of the generative model has largely improved the controllability and realism of generated samples. For example, the recent text2image diffusion model [20, 22] can generate high-quality images corresponding to input prompts. Therefore, current methods [25, 26, 32] use generative models for data augmentation by generating datasets to supplement the training of models on real datasets and improve model performance. Although current methods have proposed various strategies to enable generative data to boost model performance, there are still some limitations: 1) Existing methods have not fully exploited the potential of generative models. First, some methods [32] not only use generative data but also need to crawl images from the internet, which is significantly challenging to obtain large-scale data. Meanwhile, the content of data crawled from the internet is uncontrollable and needs extra checking. Second, existing methods do not fully use the controllability of generative models. Current methods often adopt manually designed templates to construct prompts, limiting the potential output of generative models. 2) Existing methods [25, 26] often explain the role of generative data from the perspective of class imbalance or data scarcity, without considering the discrepancy between real-world data and generative data. Moreover, these methods typically show improved model performance only in scenarios with a limited number of real samples, and the effectiveness of generative data on existing large-scale real datasets, like LVIS [7], is not thoroughly investigated."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.499,
128
+ 0.826,
129
+ 0.897,
130
+ 0.903
131
+ ],
132
+ "angle": 0,
133
+ "content": "In this paper, we first explore the role of generative data from the perspective of distribution discrepancy, addressing two main questions: 1) Why does generative data augmentation enhance model performance? 2) What types of generative data are beneficial for improving model perfor"
134
+ },
135
+ {
136
+ "type": "page_footnote",
137
+ "bbox": [
138
+ 0.096,
139
+ 0.875,
140
+ 0.207,
141
+ 0.888
142
+ ],
143
+ "angle": 0,
144
+ "content": "*Equal contribution."
145
+ },
146
+ {
147
+ "type": "page_footnote",
148
+ "bbox": [
149
+ 0.097,
150
+ 0.888,
151
+ 0.379,
152
+ 0.9
153
+ ],
154
+ "angle": 0,
155
+ "content": "\\(\\dagger\\) Correspondence should be addressed to HC and CS."
156
+ },
157
+ {
158
+ "type": "list",
159
+ "bbox": [
160
+ 0.096,
161
+ 0.875,
162
+ 0.379,
163
+ 0.9
164
+ ],
165
+ "angle": 0,
166
+ "content": null
167
+ },
168
+ {
169
+ "type": "page_number",
170
+ "bbox": [
171
+ 0.483,
172
+ 0.945,
173
+ 0.517,
174
+ 0.957
175
+ ],
176
+ "angle": 0,
177
+ "content": "3986"
178
+ }
179
+ ],
180
+ [
181
+ {
182
+ "type": "text",
183
+ "bbox": [
184
+ 0.076,
185
+ 0.092,
186
+ 0.473,
187
+ 0.318
188
+ ],
189
+ "angle": 0,
190
+ "content": "mance? First, we find that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. We visualize the data and find that compared to the real-world data, generative data can expand the data distribution that the model can learn. Furthermore, we find that the role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data. Second, we find that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not handled properly, the full potential of the generative model cannot be utilized. By conducting several experiments, we find that using diverse generative data enables models to better adapt to these discrepancies, improving model performance."
191
+ },
192
+ {
193
+ "type": "text",
194
+ "bbox": [
195
+ 0.076,
196
+ 0.323,
197
+ 0.473,
198
+ 0.777
199
+ ],
200
+ "angle": 0,
201
+ "content": "Based on the above analysis, we propose an efficient strategy for enhancing data diversity, namely, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the perspectives of category diversity, prompt diversity, and generative model diversity. For category diversity, we observe that models trained with generative data covering all categories adapt better to distribution discrepancy than models trained with partial categories. Therefore, we introduce not only categories from LVIS [7] but also extra categories from ImageNet-1K [21] to enhance category diversity in data generation, thereby reinforcing the model's adaptability to distribution discrepancy. For prompt diversity, we find that as the scale of the generative dataset increases, manually designed prompts cannot scale up to the corresponding level, limiting the diversity of output images from the generative model. Thus, we design a set of diverse prompt generation strategies to use large language models, like ChatGPT, for prompt generation, requiring the large language models to output maximally diverse prompts under constraints. By combining manually designed prompts and ChatGPT designed prompts, we effectively enrich prompt diversity and further improve generative data diversity. For generative model diversity, we find that data from different generative models also exhibit distribution discrepancies. Exposing models to data from different generative models during training can enhance adaptability to different distributions. Therefore, we employ Stable Diffusion [20] and DeepFloyd-IF [22] to generate images for all categories separately and mix the two types of data during training to increase data diversity."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.076,
207
+ 0.781,
208
+ 0.473,
209
+ 0.903
210
+ ],
211
+ "angle": 0,
212
+ "content": "At the same time, we optimize the data generation workflow and propose a four-stage generative pipeline consisting of instance generation, instance annotation, instance filtration, and instance augmentation. In the instance generation stage, we employ our proposed Generative Data Diversity Enhancement to enhance data diversity, producing diverse raw data. In the instance annotation stage, we introduce an annotation strategy called SAM-background. This strategy"
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.498,
218
+ 0.092,
219
+ 0.895,
220
+ 0.242
221
+ ],
222
+ "angle": 0,
223
+ "content": "obtains high-quality annotations by using background points as input prompts for SAM [11], obtaining the annotations of raw data. In the instance filtration stage, we introduce a metric called CLIP inter-similarity. Utilizing the CLIP [19] image encoder, we extract embeddings from generative and real data, and then compute their similarity. A lower similarity indicates lower data quality. After filtration, we obtain the final generative dataset. In the instance augmentation stage, we use the instance paste strategy [32] to increase model learning efficiency on generative data."
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.498,
229
+ 0.243,
230
+ 0.897,
231
+ 0.378
232
+ ],
233
+ "angle": 0,
234
+ "content": "Experiments demonstrate that our designed data diversity strategies can effectively improve model performance and maintain the trend of performance gains as the data scale increases to the million level, which enables large-scale generative data for data augmentation. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste [32], achieving \\(+1.1\\) box AP [7] and \\(+1.1\\) mask AP across all categories, and \\(+1.9\\) box AP and \\(+2.5\\) mask AP for rare categories."
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.519,
240
+ 0.379,
241
+ 0.856,
242
+ 0.393
243
+ ],
244
+ "angle": 0,
245
+ "content": "In summary, our main contributions are as follows:"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.5,
251
+ 0.394,
252
+ 0.895,
253
+ 0.483
254
+ ],
255
+ "angle": 0,
256
+ "content": "- We explain the role of generative data from the perspective of distribution discrepancy. We find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set and the diversity of generative data is crucial for improving model performance."
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.5,
262
+ 0.485,
263
+ 0.895,
264
+ 0.575
265
+ ],
266
+ "angle": 0,
267
+ "content": "- We propose the Generative Data Diversity Enhancement strategy to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. By enhancing data diversity, we can scale the data to millions while maintaining the trend of model performance improvement."
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.5,
273
+ 0.575,
274
+ 0.895,
275
+ 0.651
276
+ ],
277
+ "angle": 0,
278
+ "content": "- We optimize the data generation pipeline. We propose an annotation strategy SAM-background to obtain higher-quality annotations. We also introduce a filtration metric called CLIP inter-similarity to filter data and further improve the quality of the generative dataset."
279
+ },
280
+ {
281
+ "type": "list",
282
+ "bbox": [
283
+ 0.5,
284
+ 0.394,
285
+ 0.895,
286
+ 0.651
287
+ ],
288
+ "angle": 0,
289
+ "content": null
290
+ },
291
+ {
292
+ "type": "title",
293
+ "bbox": [
294
+ 0.5,
295
+ 0.664,
296
+ 0.642,
297
+ 0.68
298
+ ],
299
+ "angle": 0,
300
+ "content": "2. Related Work"
301
+ },
302
+ {
303
+ "type": "text",
304
+ "bbox": [
305
+ 0.498,
306
+ 0.689,
307
+ 0.895,
308
+ 0.856
309
+ ],
310
+ "angle": 0,
311
+ "content": "Instance segmentation. Instance segmentation is an important task in the field of computer vision and has been extensively studied. Unlike semantic segmentation, instance segmentation not only classifies the pixels at a pixel level but also distinguishes different instances of the same category. Previously, the focus of instance segmentation research has primarily been on the design of model structures. Mask-RCNN [8] unifies the tasks of object detection and instance segmentation. Subsequently, Mask2Former [3] further unified the tasks of semantic segmentation and instance segmentation by leveraging the structure of DETR [1]."
312
+ },
313
+ {
314
+ "type": "text",
315
+ "bbox": [
316
+ 0.498,
317
+ 0.856,
318
+ 0.895,
319
+ 0.903
320
+ ],
321
+ "angle": 0,
322
+ "content": "Orthogonal to these studies focusing on model architecture, our work primarily investigates how to better utilize generated data for this task. We focus on the challenging"
323
+ },
324
+ {
325
+ "type": "page_number",
326
+ "bbox": [
327
+ 0.483,
328
+ 0.945,
329
+ 0.516,
330
+ 0.957
331
+ ],
332
+ "angle": 0,
333
+ "content": "3987"
334
+ }
335
+ ],
336
+ [
337
+ {
338
+ "type": "image",
339
+ "bbox": [
340
+ 0.168,
341
+ 0.09,
342
+ 0.485,
343
+ 0.285
344
+ ],
345
+ "angle": 0,
346
+ "content": null
347
+ },
348
+ {
349
+ "type": "image",
350
+ "bbox": [
351
+ 0.491,
352
+ 0.091,
353
+ 0.636,
354
+ 0.185
355
+ ],
356
+ "angle": 0,
357
+ "content": null
358
+ },
359
+ {
360
+ "type": "image",
361
+ "bbox": [
362
+ 0.651,
363
+ 0.092,
364
+ 0.792,
365
+ 0.185
366
+ ],
367
+ "angle": 0,
368
+ "content": null
369
+ },
370
+ {
371
+ "type": "image",
372
+ "bbox": [
373
+ 0.491,
374
+ 0.189,
375
+ 0.635,
376
+ 0.285
377
+ ],
378
+ "angle": 0,
379
+ "content": null
380
+ },
381
+ {
382
+ "type": "image",
383
+ "bbox": [
384
+ 0.651,
385
+ 0.189,
386
+ 0.793,
387
+ 0.287
388
+ ],
389
+ "angle": 0,
390
+ "content": null
391
+ },
392
+ {
393
+ "type": "image_caption",
394
+ "bbox": [
395
+ 0.076,
396
+ 0.302,
397
+ 0.893,
398
+ 0.331
399
+ ],
400
+ "angle": 0,
401
+ "content": "Figure 1. Visualization of data distributions on different sources. Compared to real-world data (LVIS train and LVIS val), generative data (Stable Diffusion and IF) can expand the data distribution that the model can learn."
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.076,
407
+ 0.357,
408
+ 0.471,
409
+ 0.417
410
+ ],
411
+ "angle": 0,
412
+ "content": "long-tail dataset LVIS [7] because it is only the long-tailed categories that face the issue of limited real data and require generative images for augmentation, making it more practically meaningful."
413
+ },
414
+ {
415
+ "type": "text",
416
+ "bbox": [
417
+ 0.076,
418
+ 0.418,
419
+ 0.474,
420
+ 0.75
421
+ ],
422
+ "angle": 0,
423
+ "content": "Generative data augmentation. The use of generative models to synthesize training data for assisting perception tasks such as classification [5, 30], detection [2, 32], segmentation [13, 25, 26], etc. has received widespread attention from researchers. In the field of segmentation, early works [12, 31] utilize generative adversarial networks (GANs) to synthesize additional training samples. With the rise of diffusion models, there have been numerous efforts [13, 25, 26, 28, 32] to utilize text2image diffusion models, such as Stable Diffusion [20], to boost the segmentation performance. Li et al. [13] combine the Stable Diffusion model with a novel grounding module and establish an automatic pipeline for constructing a segmentation dataset. DiffuMask [26] exploits the potential of cross-attention maps between text and images to synthesize accurate semantic labels. More recently, FreeMask [28] uses a mask-to-image generation model to generate images conditioned on the provided semantic masks. However, the aforementioned work is only applicable to semantic segmentation. The most relevant work to ours is X-Paste [32], which promotes instance segmentation through copy-pasting the generative images and a filter strategy based on CLIP [19]."
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.076,
429
+ 0.75,
430
+ 0.471,
431
+ 0.9
432
+ ],
433
+ "angle": 0,
434
+ "content": "In summary, most methods only demonstrate significant advantages when training data is extremely limited. They consider generating data as a means to compensate for data scarcity or class imbalance. However, in this work, we take a further step to examine and analyze this problem from the perspective of data distribution. We propose a pipeline that enhances diversity from multiple levels to alleviate the impact of data distribution discrepancies. This provides new insights and inspirations for further advancements in this field."
435
+ },
436
+ {
437
+ "type": "title",
438
+ "bbox": [
439
+ 0.5,
440
+ 0.356,
441
+ 0.73,
442
+ 0.373
443
+ ],
444
+ "angle": 0,
445
+ "content": "3. Our Proposed DiverGen"
446
+ },
447
+ {
448
+ "type": "title",
449
+ "bbox": [
450
+ 0.5,
451
+ 0.38,
452
+ 0.761,
453
+ 0.396
454
+ ],
455
+ "angle": 0,
456
+ "content": "3.1. Analysis of Data Distribution"
457
+ },
458
+ {
459
+ "type": "text",
460
+ "bbox": [
461
+ 0.498,
462
+ 0.403,
463
+ 0.895,
464
+ 0.464
465
+ ],
466
+ "angle": 0,
467
+ "content": "Existing methods [26, 27, 32] often attribute the role of generative data to addressing class imbalance or data scarcity. In this paper, we provide an explanation for two main questions from the perspective of distribution discrepancy."
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.498,
473
+ 0.464,
474
+ 0.895,
475
+ 0.568
476
+ ],
477
+ "angle": 0,
478
+ "content": "Why does generative data augmentation enhance model performance? We argue that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. The role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data."
479
+ },
480
+ {
481
+ "type": "text",
482
+ "bbox": [
483
+ 0.498,
484
+ 0.57,
485
+ 0.896,
486
+ 0.719
487
+ ],
488
+ "angle": 0,
489
+ "content": "First, to intuitively understand the discrepancies between different data sources, we use CLIP [19] image encoder to extract the embeddings of images from different data sources, and then use UMAP [17] to reduce dimensions for visualization. Visualization of data distributions on different sources is shown in Figure 1. Real-world data (LVIS [7] train and LVIS val) cluster near the center, while generative data (Stable Diffusion [20] and IF [22]) are more dispersed, indicating that generative data can expand the data distribution that the model can learn."
490
+ },
491
+ {
492
+ "type": "text",
493
+ "bbox": [
494
+ 0.498,
495
+ 0.72,
496
+ 0.895,
497
+ 0.795
498
+ ],
499
+ "angle": 0,
500
+ "content": "Then, to characterize the distribution learned by the model, we employ the free energy formulation used by Joseph et al. [9]. This formulation transforms the logits outputted by the classification head into an energy function. The formulation is shown below:"
501
+ },
502
+ {
503
+ "type": "equation",
504
+ "bbox": [
505
+ 0.569,
506
+ 0.805,
507
+ 0.893,
508
+ 0.843
509
+ ],
510
+ "angle": 0,
511
+ "content": "\\[\nF (\\boldsymbol {q}; h) = - \\tau \\log \\sum_ {c = 1} ^ {n} \\exp \\left(\\frac {h _ {c} (\\boldsymbol {q})}{\\tau}\\right). \\tag {1}\n\\]"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "bbox": [
516
+ 0.498,
517
+ 0.855,
518
+ 0.895,
519
+ 0.901
520
+ ],
521
+ "angle": 0,
522
+ "content": "Here, \\( \\pmb{q} \\) is the feature of instance, \\( h_c(\\pmb{q}) \\) is the \\( c^{th} \\) logit outputted by classification head \\( h(.), n \\) is the number of categories and \\( \\tau \\) is the temperature parameter. We train"
523
+ },
524
+ {
525
+ "type": "page_number",
526
+ "bbox": [
527
+ 0.483,
528
+ 0.945,
529
+ 0.516,
530
+ 0.957
531
+ ],
532
+ "angle": 0,
533
+ "content": "3988"
534
+ }
535
+ ],
536
+ [
537
+ {
538
+ "type": "text",
539
+ "bbox": [
540
+ 0.076,
541
+ 0.092,
542
+ 0.473,
543
+ 0.287
544
+ ],
545
+ "angle": 0,
546
+ "content": "one model using only the LVIS train set \\((\\theta_{\\mathrm{train}})\\), and another model using LVIS train with generative data \\((\\theta_{\\mathrm{gen}})\\). Both models are evaluated on the LVIS val set and we use instances that are successfully matched by both models to obtain energy values. Additionally, we train another model using LVIS val \\((\\theta_{\\mathrm{val}})\\), treating it as representative of real-world data distribution. Then, we further fit Gaussian distributions to the histograms of energy values to obtain the mean \\(\\mu\\) and standard deviation \\(\\sigma\\) for each model and compute the KL divergence [10] between them. \\(D_{KL}(p_{\\theta_{\\mathrm{train}}} \\| p_{\\theta_{\\mathrm{val}}})\\) is 0.063, and \\(D_{KL}(p_{\\theta_{\\mathrm{gen}}} \\| p_{\\theta_{\\mathrm{val}}})\\) is 0.019. The latter is lower, indicating that using generative data mitigates the bias of limited real training data."
547
+ },
548
+ {
549
+ "type": "text",
550
+ "bbox": [
551
+ 0.076,
552
+ 0.288,
553
+ 0.473,
554
+ 0.364
555
+ ],
556
+ "angle": 0,
557
+ "content": "Moreover, we also analyze the role of generative data from a metric perspective. We randomly select up to five images per category to form a minitrain set and then conduct inferences using \\(\\theta_{\\mathrm{train}}\\) and \\(\\theta_{\\mathrm{gen}}\\). Then, we define a metric, termed train-val gap (TVG), which is formulated as follows:"
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "bbox": [
562
+ 0.145,
563
+ 0.377,
564
+ 0.471,
565
+ 0.395
566
+ ],
567
+ "angle": 0,
568
+ "content": "\\[\n\\mathrm {T V G} _ {w} ^ {k} = \\mathrm {A P} _ {w} ^ {k} \\text {m i n i t r a i n} - \\mathrm {A P} _ {w} ^ {k} \\text {v a l}. \\tag {2}\n\\]"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "bbox": [
573
+ 0.076,
574
+ 0.4,
575
+ 0.473,
576
+ 0.643
577
+ ],
578
+ "angle": 0,
579
+ "content": "Here, \\(\\mathrm{TVG}_w^k\\) is train-val gap of \\(w\\) category on task \\(k\\), \\(\\mathrm{AP}_w^k d\\) is AP [7] of \\(w\\) category on \\(k\\) obtained on dataset \\(d\\), \\(w \\in \\{f, c, r\\}\\), with \\(f, c, r\\) standing for frequent, common, rare [7] respectively, and \\(k \\in \\{box, mask\\}\\), with box, mask referring to the object detection and instance segmentation. The train-val gap serves as a measure of the disparity in the model's performance between the training and validation sets. A larger gap indicates a higher degree of overfitting the training set. The results, as presented in Table 1, show that the metrics for the rare categories consistently surpass those of frequent and common. This observation suggests that the model tends to overfit more on the rare categories that have fewer examples. With the augmentation of generative data, all TVG of \\(\\theta_{\\mathrm{gen}}\\) are lower than \\(\\theta_{\\mathrm{train}}\\), showing that adding generative data can effectively alleviate overfitting the training data."
580
+ },
581
+ {
582
+ "type": "table",
583
+ "bbox": [
584
+ 0.082,
585
+ 0.655,
586
+ 0.468,
587
+ 0.698
588
+ ],
589
+ "angle": 0,
590
+ "content": "<table><tr><td>Data Source</td><td>TVGfbox</td><td>TVGfmask</td><td>TVGcbox</td><td>TVGcmask</td><td>TVGRbox</td><td>TVGRmask</td></tr><tr><td>LVIS</td><td>13.16</td><td>10.71</td><td>21.80</td><td>16.80</td><td>39.59</td><td>31.68</td></tr><tr><td>LVIS + Gen</td><td>9.64</td><td>8.38</td><td>15.64</td><td>12.69</td><td>29.39</td><td>22.49</td></tr></table>"
591
+ },
592
+ {
593
+ "type": "table_caption",
594
+ "bbox": [
595
+ 0.076,
596
+ 0.708,
597
+ 0.472,
598
+ 0.765
599
+ ],
600
+ "angle": 0,
601
+ "content": "Table 1. Results of train-val gap on different data sources. With the augmentation of generative data, all TVG of LVIS are lower than LVIS + Gen, showing that adding generative data can effectively alleviate overfitting to the training data."
602
+ },
603
+ {
604
+ "type": "text",
605
+ "bbox": [
606
+ 0.076,
607
+ 0.78,
608
+ 0.472,
609
+ 0.87
610
+ ],
611
+ "angle": 0,
612
+ "content": "What types of generative data are beneficial for improving model performance? We argue that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not properly addressed, the full potential of the generative model cannot be attained."
613
+ },
614
+ {
615
+ "type": "text",
616
+ "bbox": [
617
+ 0.076,
618
+ 0.871,
619
+ 0.472,
620
+ 0.902
621
+ ],
622
+ "angle": 0,
623
+ "content": "We divide the generative data into 'frequent', 'common', and 'rare' [7] groups, and train three models using each"
624
+ },
625
+ {
626
+ "type": "text",
627
+ "bbox": [
628
+ 0.498,
629
+ 0.092,
630
+ 0.895,
631
+ 0.273
632
+ ],
633
+ "angle": 0,
634
+ "content": "group of data as instance paste source. The inference results are shown in Table 2. We find that the metrics on the corresponding category subset are lowest when training with only one group of data. We consider model performance to be primarily influenced by the quality and diversity of data. Given that the quality of generative data is relatively consistent, we contend insufficient diversity in the data can mislead the distribution that the model can learn and a more comprehensive understanding is obtained by the model from a diverse set of data. Therefore, we believe that using diverse generative data enables models to better adapt to these discrepancies, improving model performance."
635
+ },
636
+ {
637
+ "type": "table",
638
+ "bbox": [
639
+ 0.504,
640
+ 0.286,
641
+ 0.89,
642
+ 0.364
643
+ ],
644
+ "angle": 0,
645
+ "content": "<table><tr><td># Gen Category</td><td>\\( AP_{f}^{box} \\)</td><td>\\( AP_{f}^{mask} \\)</td><td>\\( AP_{c}^{box} \\)</td><td>\\( AP_{c}^{mask} \\)</td><td>\\( AP_{r}^{box} \\)</td><td>\\( AP_{r}^{mask} \\)</td></tr><tr><td>none</td><td>50.14</td><td>43.84</td><td>47.54</td><td>43.12</td><td>41.39</td><td>36.83</td></tr><tr><td>f</td><td>50.81</td><td>44.24</td><td>47.96</td><td>43.51</td><td>41.51</td><td>37.92</td></tr><tr><td>c</td><td>51.86</td><td>45.22</td><td>47.69</td><td>42.79</td><td>42.32</td><td>37.30</td></tr><tr><td>r</td><td>51.46</td><td>44.90</td><td>48.24</td><td>43.51</td><td>32.67</td><td>29.04</td></tr><tr><td>all</td><td>52.10</td><td>45.45</td><td>50.29</td><td>44.87</td><td>46.03</td><td>41.86</td></tr></table>"
646
+ },
647
+ {
648
+ "type": "table_caption",
649
+ "bbox": [
650
+ 0.498,
651
+ 0.369,
652
+ 0.895,
653
+ 0.44
654
+ ],
655
+ "angle": 0,
656
+ "content": "Table 2. Results of different category data subset for training. The metrics on the corresponding category subset are lowest when training with only one group of data, showing insufficient diversity in the data can mislead the distribution that the model can learn. Blue font means the lowest value in models using generative data."
657
+ },
658
+ {
659
+ "type": "title",
660
+ "bbox": [
661
+ 0.5,
662
+ 0.468,
663
+ 0.847,
664
+ 0.484
665
+ ],
666
+ "angle": 0,
667
+ "content": "3.2. Generative Data Diversity Enhancement"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.498,
673
+ 0.492,
674
+ 0.895,
675
+ 0.597
676
+ ],
677
+ "angle": 0,
678
+ "content": "Through the analysis above, we find that the diversity of generative data is crucial for improving model performance. Therefore, we design a series of strategies to enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity, which help the model to better adapt to the distribution discrepancy between generative data and real data."
679
+ },
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.498,
684
+ 0.599,
685
+ 0.896,
686
+ 0.81
687
+ ],
688
+ "angle": 0,
689
+ "content": "Category diversity. The above experiments show that including data from partial categories results in lower performance than incorporating data from all categories. We believe that, akin to human learning, the model can learn features beneficial to the current category from some other categories. Therefore, we consider increasing the diversity of data by adding extra categories. First, we select some extra categories besides LVIS from ImageNet-1K [21] categories based on WordNet [4] similarity. Then, the generative data from LVIS and extra categories are mixed for training, requiring the model to learn to distinguish all categories. Finally, we truncate the parameters in the classification head corresponding to the extra categories during inference, ensuring that the inferred category range remains within LVIS."
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.498,
695
+ 0.811,
696
+ 0.895,
697
+ 0.902
698
+ ],
699
+ "angle": 0,
700
+ "content": "Prompt diversity. The output images of the text2image generative model typically rely on the input prompts. Existing methods [32] usually generate prompts by manually designing templates, such as \"a photo of a single {category_name}.\" When the data scale is small, designing prompts manually is convenient and fast. However, when generating a large scale"
701
+ },
702
+ {
703
+ "type": "page_number",
704
+ "bbox": [
705
+ 0.483,
706
+ 0.945,
707
+ 0.516,
708
+ 0.957
709
+ ],
710
+ "angle": 0,
711
+ "content": "3989"
712
+ }
713
+ ],
714
+ [
715
+ {
716
+ "type": "text",
717
+ "bbox": [
718
+ 0.076,
719
+ 0.091,
720
+ 0.473,
721
+ 0.381
722
+ ],
723
+ "angle": 0,
724
+ "content": "of data, it is challenging to scale the number of manually designed prompts correspondingly. Intuitively, it is essential to diversify the prompts to enhance data diversity. To easily generate a large number of prompts, we choose large language model, like ChatGPT, to enhance the prompt diversity. We have three requirements for the large language model: 1) each prompt should be as different as possible; 2) each prompt should ensure that there is only one object in the image; 3) prompts should describe different attributes of the category. For example, if the category is food, prompts should cover attributes like color, brand, size, freshness, packaging type, packaging color, etc. Limited by the inference cost of ChatGPT, we use the manually designed prompts as the base and only use ChatGPT to enhance the prompt diversity for a subset of categories. Moreover, we also leverage the controllability of the generative model, adding the constraint \"in a white background\" after each prompt to make the background of output images simple and clear, which reduces the difficulty of mask annotation."
725
+ },
726
+ {
727
+ "type": "text",
728
+ "bbox": [
729
+ 0.076,
730
+ 0.389,
731
+ 0.473,
732
+ 0.587
733
+ ],
734
+ "angle": 0,
735
+ "content": "Generative model diversity. The quality and style of output images vary across generative models, and the data distribution learned solely from one generative model's data is limited. Therefore, we introduce multiple generative models to enhance the diversity of data, allowing the model to learn from wider data distributions. We selected two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We use Stable Diffusion V1.5, generating images with a resolution of \\(512 \\times 512\\), and use images output from Stage II of IF with a resolution of \\(256 \\times 256\\). For each category in LVIS, we generated 1k images using two models separately. Examples from different generative models are shown in Figure 2."
736
+ },
737
+ {
738
+ "type": "image",
739
+ "bbox": [
740
+ 0.088,
741
+ 0.619,
742
+ 0.468,
743
+ 0.817
744
+ ],
745
+ "angle": 0,
746
+ "content": null
747
+ },
748
+ {
749
+ "type": "image_caption",
750
+ "bbox": [
751
+ 0.076,
752
+ 0.83,
753
+ 0.47,
754
+ 0.872
755
+ ],
756
+ "angle": 0,
757
+ "content": "Figure 2. Examples of various generative models. The samples generated by different generative models vary, even within the same category."
758
+ },
759
+ {
760
+ "type": "title",
761
+ "bbox": [
762
+ 0.501,
763
+ 0.091,
764
+ 0.688,
765
+ 0.108
766
+ ],
767
+ "angle": 0,
768
+ "content": "3.3. Generative Pipeline"
769
+ },
770
+ {
771
+ "type": "text",
772
+ "bbox": [
773
+ 0.498,
774
+ 0.124,
775
+ 0.895,
776
+ 0.2
777
+ ],
778
+ "angle": 0,
779
+ "content": "The generative pipeline of DiverGen is built upon X-Paste [32]. It can be divided into four stages: instance generation, instance annotation, instance filtration and instance augmentation. The overview of DiverGen is illustrated in Figure 3."
780
+ },
781
+ {
782
+ "type": "text",
783
+ "bbox": [
784
+ 0.498,
785
+ 0.209,
786
+ 0.895,
787
+ 0.36
788
+ ],
789
+ "angle": 0,
790
+ "content": "Instance generation. Instance generation is a crucial stage for enhancing data diversity. In this stage, we employ our proposed Generative Data Diversity Enhancement (GDDE), as mentioned in Sec 3.2. In category diversity enhancement, we utilize the category information from LVIS [7] categories and extra categories selected from ImageNet-1K [21]. In prompt diversity enhancement, we utilize manually designed prompts and ChatGPT designed prompts to enhance prompt diversity. In model diversity enhancement, we employ two generative models, SD and IF."
791
+ },
792
+ {
793
+ "type": "text",
794
+ "bbox": [
795
+ 0.498,
796
+ 0.369,
797
+ 0.897,
798
+ 0.597
799
+ ],
800
+ "angle": 0,
801
+ "content": "Instance annotation. We employ SAM [11] as our annotation model. SAM is a class-agnostic promptable segmenter that outputs corresponding masks based on input prompts, such as points, boxes, etc. In instance generation, leveraging the controllability of the generative model, the generative images have two characteristics: 1) each image predominantly contains only one foreground object; 2) the background of the images is relatively simple. Therefore, we introduce a SAM-background (SAM-bg) annotation strategy. SAM-bg takes the four corner points of an image as input prompts for SAM to obtain the background mask, then inverts the background mask as the mask of the foreground object. Due to the conditional constraints during the instance generation stage, this strategy is simple but effective in producing high-quality masks."
802
+ },
803
+ {
804
+ "type": "text",
805
+ "bbox": [
806
+ 0.498,
807
+ 0.605,
808
+ 0.895,
809
+ 0.816
810
+ ],
811
+ "angle": 0,
812
+ "content": "Instance filtration. In the instance filtration stage, X-Paste utilizes the CLIP score (similarity between images and text) as the metric for image filtering. However, we observe that the CLIP score is ineffective in filtering low-quality images. In contrast to the similarity between images and text, we think the similarity between images can better filter out low-quality images. Therefore, we propose a new metric called CLIP inter-similarity. We use the image encoder of CLIP [19] to extract image embeddings for objects in the training set and generative images, then calculate the similarity between them. If the similarity is too low, it indicates a significant disparity between the generative and real images, suggesting that it is probably a poor-quality image and needs to be filtered."
813
+ },
814
+ {
815
+ "type": "text",
816
+ "bbox": [
817
+ 0.498,
818
+ 0.826,
819
+ 0.895,
820
+ 0.903
821
+ ],
822
+ "angle": 0,
823
+ "content": "Instance augmentation. We use the augmentation strategy proposed by X-Paste [32] but do not use the data retrieved from the network or the instances in LVIS [7] training set as the paste data source, only use the generative data as the paste data source."
824
+ },
825
+ {
826
+ "type": "page_number",
827
+ "bbox": [
828
+ 0.483,
829
+ 0.945,
830
+ 0.516,
831
+ 0.957
832
+ ],
833
+ "angle": 0,
834
+ "content": "3990"
835
+ }
836
+ ],
837
+ [
838
+ {
839
+ "type": "image",
840
+ "bbox": [
841
+ 0.084,
842
+ 0.093,
843
+ 0.887,
844
+ 0.341
845
+ ],
846
+ "angle": 0,
847
+ "content": null
848
+ },
849
+ {
850
+ "type": "image_caption",
851
+ "bbox": [
852
+ 0.076,
853
+ 0.353,
854
+ 0.895,
855
+ 0.396
856
+ ],
857
+ "angle": 0,
858
+ "content": "Figure 3. Overview of the DiverGen pipeline. In instance generation, we enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity. Next, we use SAM-background to obtain high-quality masks. Then, we use CLIP inter-similarity to filter out low-quality data. At last, we use the instance paste strategy to increase model learning efficiency on generative data."
859
+ },
860
+ {
861
+ "type": "title",
862
+ "bbox": [
863
+ 0.077,
864
+ 0.42,
865
+ 0.21,
866
+ 0.436
867
+ ],
868
+ "angle": 0,
869
+ "content": "4. Experiments"
870
+ },
871
+ {
872
+ "type": "title",
873
+ "bbox": [
874
+ 0.077,
875
+ 0.445,
876
+ 0.176,
877
+ 0.461
878
+ ],
879
+ "angle": 0,
880
+ "content": "4.1. Settings"
881
+ },
882
+ {
883
+ "type": "text",
884
+ "bbox": [
885
+ 0.076,
886
+ 0.469,
887
+ 0.47,
888
+ 0.651
889
+ ],
890
+ "angle": 0,
891
+ "content": "Datasets. We choose LVIS [7] for our experiments. LVIS is a large-scale instance segmentation dataset, containing 164k images with approximately two million high-quality annotations of instance segmentation and object detection. LVIS dataset uses images from COCO 2017 [14] dataset, but redefines the train/val/test splits, with around 100k images in the training set and around 20k images in the validation set. The annotations in LVIS cover 1,203 categories, with a typical long-tailed distribution of categories, so LVIS further divides the categories into frequent, common, and rare based on the frequency of each category in the dataset. We use the official LVIS training split and the validation split."
892
+ },
893
+ {
894
+ "type": "text",
895
+ "bbox": [
896
+ 0.076,
897
+ 0.652,
898
+ 0.47,
899
+ 0.727
900
+ ],
901
+ "angle": 0,
902
+ "content": "Evaluation metrics. The evaluation metrics are LVIS box average precision \\((\\mathrm{AP}^{box})\\) and mask average precision \\((\\mathrm{AP}^{mask})\\). We also provide the average precision of rare categories \\((\\mathrm{AP}_{r}^{box}\\) and \\(\\mathrm{AP}_{r}^{mask}\\)). The maximum number of detections per image is 300."
903
+ },
904
+ {
905
+ "type": "text",
906
+ "bbox": [
907
+ 0.076,
908
+ 0.728,
909
+ 0.47,
910
+ 0.835
911
+ ],
912
+ "angle": 0,
913
+ "content": "Implementation details. We use CenterNet2 [33] as the baseline and Swin-L [15] as the backbone. In the training process, we initialize the parameters by the pre-trained Swin-L weights provided by Liu et al. [15]. The training size is 896 and the batch size is 16. The maximum training iterations is 180,000 with an initial learning rate of 0.0001. We use the instance paste strategy provided by Zhao et al. [32]."
914
+ },
915
+ {
916
+ "type": "title",
917
+ "bbox": [
918
+ 0.077,
919
+ 0.847,
920
+ 0.216,
921
+ 0.861
922
+ ],
923
+ "angle": 0,
924
+ "content": "4.2. Main Results"
925
+ },
926
+ {
927
+ "type": "text",
928
+ "bbox": [
929
+ 0.076,
930
+ 0.871,
931
+ 0.471,
932
+ 0.901
933
+ ],
934
+ "angle": 0,
935
+ "content": "Data diversity is more important than quantity. To investigate the impact of different scales of generative data, we"
936
+ },
937
+ {
938
+ "type": "text",
939
+ "bbox": [
940
+ 0.498,
941
+ 0.422,
942
+ 0.895,
943
+ 0.873
944
+ ],
945
+ "angle": 0,
946
+ "content": "use generative data of varying scales as paste data sources. We construct three datasets using only DeepFloyd-IF [22] with manually designed prompts, all containing original LVIS 1,203 categories, but with per-category quantities of \\(0.25\\mathrm{k}\\), \\(0.5\\mathrm{k}\\), and \\(1\\mathrm{k}\\), resulting in total dataset scales of \\(300\\mathrm{k}\\), \\(600\\mathrm{k}\\), and \\(1,200\\mathrm{k}\\). As shown in Table 3, we find that using generative data improves model performance compared to the baseline. However, as the dataset scale increases, the model performance initially improves but then declines. The model performance using \\(1,200\\mathrm{k}\\) data is lower than that using \\(600\\mathrm{k}\\) data. Due to the limited number of manually designed prompts, the generative model produces similar data, as shown in Figure 4a. Consequently, the model can not gain benefits from more data. However, when using our proposed Generative Data Diversity Enhancement (GDDE), due to the increased data diversity, the model trained with \\(1,200\\mathrm{k}\\) images achieves better results than using \\(600\\mathrm{k}\\) images, with an improvement of 1.21 box AP and 1.04 mask AP. Moreover, when using the same data scale of \\(600\\mathrm{k}\\), the mask AP increased by 0.64 AP and the box AP increased by 0.55 AP when using GDDE compared to not using it. The results demonstrate that data diversity is more important than quantity. When the scale of data is small, increasing the quantity of data can improve model performance, which we consider is an indirect way of increasing data diversity. However, this simplistic approach of solely increasing quantity to increase diversity has an upper limit. When it reaches this limit, explicit data diversity enhancement strategies become necessary to maintain the trend of model performance improvement."
947
+ },
948
+ {
949
+ "type": "text",
950
+ "bbox": [
951
+ 0.5,
952
+ 0.886,
953
+ 0.895,
954
+ 0.902
955
+ ],
956
+ "angle": 0,
957
+ "content": "Comparison with previous methods. We compare Di"
958
+ },
959
+ {
960
+ "type": "page_number",
961
+ "bbox": [
962
+ 0.483,
963
+ 0.945,
964
+ 0.514,
965
+ 0.957
966
+ ],
967
+ "angle": 0,
968
+ "content": "3991"
969
+ }
970
+ ],
971
+ [
972
+ {
973
+ "type": "image",
974
+ "bbox": [
975
+ 0.088,
976
+ 0.09,
977
+ 0.482,
978
+ 0.295
979
+ ],
980
+ "angle": 0,
981
+ "content": null
982
+ },
983
+ {
984
+ "type": "image_caption",
985
+ "bbox": [
986
+ 0.168,
987
+ 0.297,
988
+ 0.39,
989
+ 0.311
990
+ ],
991
+ "angle": 0,
992
+ "content": "(a) Images of manually designed prompts."
993
+ },
994
+ {
995
+ "type": "image",
996
+ "bbox": [
997
+ 0.501,
998
+ 0.091,
999
+ 0.891,
1000
+ 0.294
1001
+ ],
1002
+ "angle": 0,
1003
+ "content": null
1004
+ },
1005
+ {
1006
+ "type": "image_caption",
1007
+ "bbox": [
1008
+ 0.579,
1009
+ 0.297,
1010
+ 0.804,
1011
+ 0.311
1012
+ ],
1013
+ "angle": 0,
1014
+ "content": "(b) Images of ChatGPT designed prompts."
1015
+ },
1016
+ {
1017
+ "type": "image_caption",
1018
+ "bbox": [
1019
+ 0.076,
1020
+ 0.322,
1021
+ 0.894,
1022
+ 0.351
1023
+ ],
1024
+ "angle": 0,
1025
+ "content": "Figure 4. Examples of generative data using different prompts. By using prompts designed by ChatGPT, the diversity of generated images in terms of shapes, textures, etc. can be significantly improved."
1026
+ },
1027
+ {
1028
+ "type": "table",
1029
+ "bbox": [
1030
+ 0.1,
1031
+ 0.374,
1032
+ 0.445,
1033
+ 0.472
1034
+ ],
1035
+ "angle": 0,
1036
+ "content": "<table><tr><td># Gen Data</td><td>GDDE</td><td>\\( AP^{box} \\)</td><td>\\( AP^{mask} \\)</td><td>\\( AP_{r}^{box} \\)</td><td>\\( AP_{r}^{mask} \\)</td></tr><tr><td>0</td><td></td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>300k</td><td></td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>600k</td><td></td><td>50.03</td><td>44.44</td><td>47.15</td><td>41.96</td></tr><tr><td>1200k</td><td></td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>600k</td><td>✓</td><td>50.67</td><td>44.99</td><td>48.52</td><td>43.63</td></tr><tr><td>1200k</td><td>✓</td><td>51.24</td><td>45.48</td><td>50.07</td><td>45.85</td></tr></table>"
1037
+ },
1038
+ {
1039
+ "type": "table_caption",
1040
+ "bbox": [
1041
+ 0.076,
1042
+ 0.476,
1043
+ 0.47,
1044
+ 0.532
1045
+ ],
1046
+ "angle": 0,
1047
+ "content": "Table 3. Results of different scales of generative data. When using the same data scale, models using our proposed GDDE can achieve higher performance than those without it, showing that data diversity is more important than quantity."
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "bbox": [
1052
+ 0.076,
1053
+ 0.545,
1054
+ 0.473,
1055
+ 0.756
1056
+ ],
1057
+ "angle": 0,
1058
+ "content": "verGen with previous data-augmentation related methods in Table 4. Compared to the baseline CenterNet2 [33], our method significantly improves, increasing box AP by \\(+3.7\\) and mask AP by \\(+3.2\\). Regarding rare categories, our method surpasses the baseline with \\(+8.7\\) in box AP and \\(+9.0\\) in mask AP. Compared to the previous strong model X-Paste [32], we outperform it with \\(+1.1\\) in box AP and \\(+1.1\\) in mask AP of all categories, and \\(+1.9\\) in box AP and \\(+2.5\\) in mask AP of rare categories. It is worth mentioning that, X-Paste utilizes both generative data and web-retrieved data as paste data sources during training, while our method exclusively uses generative data as the paste data source. We achieve this by designing diversity enhancement strategies, further unlocking the potential of generative models."
1059
+ },
1060
+ {
1061
+ "type": "table",
1062
+ "bbox": [
1063
+ 0.082,
1064
+ 0.767,
1065
+ 0.468,
1066
+ 0.872
1067
+ ],
1068
+ "angle": 0,
1069
+ "content": "<table><tr><td>Method</td><td>Backbone</td><td>APbox</td><td>APmask</td><td>APboxr</td><td>APrmask</td></tr><tr><td>Copy-Paste [6]</td><td>EfficientNet-B7</td><td>41.6</td><td>38.1</td><td>-</td><td>32.1</td></tr><tr><td>Tan et al. [24]</td><td>ResNeSt-269</td><td>-</td><td>41.5</td><td>-</td><td>30.0</td></tr><tr><td>Detic [34]</td><td>Swin-B</td><td>46.9</td><td>41.7</td><td>45.9</td><td>41.7</td></tr><tr><td>CenterNet2 [33]</td><td>Swin-L</td><td>47.5</td><td>42.3</td><td>41.4</td><td>36.8</td></tr><tr><td>X-Paste [32]</td><td>Swin-L</td><td>50.1</td><td>44.4</td><td>48.2</td><td>43.3</td></tr><tr><td>DiverGen (Ours)</td><td>Swin-L</td><td>51.2 (+1.1)</td><td>45.5 (+1.1)</td><td>50.1 (+1.9)</td><td>45.8 (+2.5)</td></tr></table>"
1070
+ },
1071
+ {
1072
+ "type": "table_caption",
1073
+ "bbox": [
1074
+ 0.082,
1075
+ 0.883,
1076
+ 0.465,
1077
+ 0.897
1078
+ ],
1079
+ "angle": 0,
1080
+ "content": "Table 4. Comparison with previous methods on LVIS val set."
1081
+ },
1082
+ {
1083
+ "type": "title",
1084
+ "bbox": [
1085
+ 0.5,
1086
+ 0.376,
1087
+ 0.665,
1088
+ 0.391
1089
+ ],
1090
+ "angle": 0,
1091
+ "content": "4.3. Ablation Studies"
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "bbox": [
1096
+ 0.498,
1097
+ 0.4,
1098
+ 0.893,
1099
+ 0.444
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "We analyze the effects of the proposed strategies in DiverGen through a series of ablation studies using the Swin-L [15] backbone."
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "bbox": [
1107
+ 0.498,
1108
+ 0.446,
1109
+ 0.895,
1110
+ 0.612
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Effect of category diversity. We select 50, 250, and 566 extra categories from ImagNet-1K [21], and generate \\(0.5\\mathrm{k}\\) images for each category, which are added to the baseline. The baseline only uses 1,203 categories of LIVS [7] to generate data. We show the results in Table 5. Generally, increasing the number of extra categories initially improves then declines model performance, peaking at 250 extra categories. The trend suggests that using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance."
1114
+ },
1115
+ {
1116
+ "type": "table",
1117
+ "bbox": [
1118
+ 0.522,
1119
+ 0.625,
1120
+ 0.869,
1121
+ 0.704
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "<table><tr><td>#Extra Category</td><td>APbox</td><td>APmask</td><td>APbox</td><td>APmask</td></tr><tr><td>0</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>50</td><td>49.92</td><td>44.17</td><td>44.94</td><td>39.86</td></tr><tr><td>250</td><td>50.59</td><td>44.77</td><td>47.99</td><td>42.91</td></tr><tr><td>566</td><td>50.35</td><td>44.63</td><td>47.68</td><td>42.53</td></tr></table>"
1125
+ },
1126
+ {
1127
+ "type": "table_caption",
1128
+ "bbox": [
1129
+ 0.498,
1130
+ 0.708,
1131
+ 0.894,
1132
+ 0.779
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Table 5. Ablation of the number of extra categories during training. Using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance."
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "bbox": [
1140
+ 0.498,
1141
+ 0.795,
1142
+ 0.894,
1143
+ 0.901
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "Effect of prompt diversity. We select a subset of categories and use ChatGPT to generate 32 and 128 prompts for each category, with each prompt being used to generate 8 and 2 images, respectively, ensuring that the image count for each category is \\(0.25\\mathrm{k}\\). The baseline uses only one prompt per category to generate \\(0.25\\mathrm{k}\\) images. The regenerated images will replace the corresponding categories in the baseline to"
1147
+ },
1148
+ {
1149
+ "type": "page_number",
1150
+ "bbox": [
1151
+ 0.483,
1152
+ 0.945,
1153
+ 0.516,
1154
+ 0.957
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "3992"
1158
+ }
1159
+ ],
1160
+ [
1161
+ {
1162
+ "type": "text",
1163
+ "bbox": [
1164
+ 0.076,
1165
+ 0.092,
1166
+ 0.471,
1167
+ 0.168
1168
+ ],
1169
+ "angle": 0,
1170
+ "content": "ensure that the final data scale is consistent. The results are presented in Table 6. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance."
1171
+ },
1172
+ {
1173
+ "type": "table",
1174
+ "bbox": [
1175
+ 0.11,
1176
+ 0.181,
1177
+ 0.435,
1178
+ 0.251
1179
+ ],
1180
+ "angle": 0,
1181
+ "content": "<table><tr><td># Prompt</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>1</td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>32</td><td>50.03</td><td>44.39</td><td>45.83</td><td>41.32</td></tr><tr><td>128</td><td>50.27</td><td>44.50</td><td>46.49</td><td>41.25</td></tr></table>"
1182
+ },
1183
+ {
1184
+ "type": "table_caption",
1185
+ "bbox": [
1186
+ 0.076,
1187
+ 0.255,
1188
+ 0.471,
1189
+ 0.312
1190
+ ],
1191
+ "angle": 0,
1192
+ "content": "Table 6. Ablation of the number of prompts used to generate data. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance."
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "bbox": [
1197
+ 0.076,
1198
+ 0.329,
1199
+ 0.471,
1200
+ 0.51
1201
+ ],
1202
+ "angle": 0,
1203
+ "content": "Effect of generative model diversity. We choose two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We generate 1k images per category for each generative model, totaling 1,200k. When using a mixed dataset \\((\\mathrm{SD} + \\mathrm{IF})\\), we take 600k from SD and 600k from IF per category, respectively, to ensure the total dataset scale is consistent. The baseline does not use any generative data (none). As shown in Table 7, using data generated by either SD or IF alone can improve performance, further mixing the generative data of both leads to significant performance gains. This demonstrates that increasing model diversity is beneficial for improving model performance."
1204
+ },
1205
+ {
1206
+ "type": "table",
1207
+ "bbox": [
1208
+ 0.111,
1209
+ 0.523,
1210
+ 0.437,
1211
+ 0.61
1212
+ ],
1213
+ "angle": 0,
1214
+ "content": "<table><tr><td>Model</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>SD [20]</td><td>48.13</td><td>42.82</td><td>43.68</td><td>39.15</td></tr><tr><td>IF [22]</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>SD + IF</td><td>50.78</td><td>45.27</td><td>48.94</td><td>44.35</td></tr></table>"
1215
+ },
1216
+ {
1217
+ "type": "table_caption",
1218
+ "bbox": [
1219
+ 0.076,
1220
+ 0.62,
1221
+ 0.47,
1222
+ 0.65
1223
+ ],
1224
+ "angle": 0,
1225
+ "content": "Table 7. Ablation of different generative models. Increasing model diversity is beneficial for improving model performance."
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "bbox": [
1230
+ 0.076,
1231
+ 0.659,
1232
+ 0.471,
1233
+ 0.809
1234
+ ],
1235
+ "angle": 0,
1236
+ "content": "Effect of annotation strategy. X-Paste [32] uses four models (U2Net [18], SelfReformer [29], UFO [23] and CLIPseg [16]) to generate masks and selects the one with the highest CLIP score. We compare our proposed annotation strategy (SAM-bg) to that proposed by X-Paste (max CLIP). In Table 8, SAM-bg outperforms max CLIP strategy across all metrics, indicating that our proposed strategy can produce better annotations, improving model performance. As shown in Figure 5, SAM-bg unlocks the potential capability of SAM, obtaining precise and refined masks."
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "bbox": [
1241
+ 0.076,
1242
+ 0.811,
1243
+ 0.471,
1244
+ 0.902
1245
+ ],
1246
+ "angle": 0,
1247
+ "content": "Effect of CLIP inter-similarity. We compare our proposed CLIP inter-similarity to CLIP score [32]. The results are shown in Table 9. The performance of data filtered by CLIP inter-similarity is higher than that of CLIP score, demonstrating that CLIP inter-similarity can filter low-quality images more effectively."
1248
+ },
1249
+ {
1250
+ "type": "image",
1251
+ "bbox": [
1252
+ 0.523,
1253
+ 0.092,
1254
+ 0.885,
1255
+ 0.235
1256
+ ],
1257
+ "angle": 0,
1258
+ "content": null
1259
+ },
1260
+ {
1261
+ "type": "image_caption",
1262
+ "bbox": [
1263
+ 0.499,
1264
+ 0.245,
1265
+ 0.892,
1266
+ 0.274
1267
+ ],
1268
+ "angle": 0,
1269
+ "content": "Figure 5. Examples of object mask of different annotation strategies. SAM-bg can obtain more complete and delicate masks."
1270
+ },
1271
+ {
1272
+ "type": "table",
1273
+ "bbox": [
1274
+ 0.543,
1275
+ 0.287,
1276
+ 0.851,
1277
+ 0.338
1278
+ ],
1279
+ "angle": 0,
1280
+ "content": "<table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>max CLIP [32]</td><td>49.10</td><td>43.45</td><td>42.75</td><td>37.55</td></tr><tr><td>SAM-bg</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr></table>"
1281
+ },
1282
+ {
1283
+ "type": "table_caption",
1284
+ "bbox": [
1285
+ 0.499,
1286
+ 0.348,
1287
+ 0.894,
1288
+ 0.389
1289
+ ],
1290
+ "angle": 0,
1291
+ "content": "Table 8. Ablation of different annotation strategies. Our proposed SAM-bg can produce better annotations, improving model performance."
1292
+ },
1293
+ {
1294
+ "type": "table",
1295
+ "bbox": [
1296
+ 0.522,
1297
+ 0.394,
1298
+ 0.868,
1299
+ 0.456
1300
+ ],
1301
+ "angle": 0,
1302
+ "content": "<table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>CLIP score [32]</td><td>49.84</td><td>44.27</td><td>44.83</td><td>40.82</td></tr><tr><td>CLIP inter-similarity</td><td>50.07</td><td>44.44</td><td>45.53</td><td>41.16</td></tr></table>"
1303
+ },
1304
+ {
1305
+ "type": "table_caption",
1306
+ "bbox": [
1307
+ 0.499,
1308
+ 0.46,
1309
+ 0.892,
1310
+ 0.502
1311
+ ],
1312
+ "angle": 0,
1313
+ "content": "Table 9. Ablation of the different filtration strategies. Our proposed CLIP inter-similarity can filter low-quality images more effectively."
1314
+ },
1315
+ {
1316
+ "type": "title",
1317
+ "bbox": [
1318
+ 0.5,
1319
+ 0.51,
1320
+ 0.627,
1321
+ 0.525
1322
+ ],
1323
+ "angle": 0,
1324
+ "content": "5. Conclusions"
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "bbox": [
1329
+ 0.498,
1330
+ 0.535,
1331
+ 0.895,
1332
+ 0.838
1333
+ ],
1334
+ "angle": 0,
1335
+ "content": "In this paper, we explain the role of generative data augmentation from the perspective of data distribution discrepancies and find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set. Furthermore, we find that data diversity of generative data is crucial for improving model performance. Therefore, we design an efficient data diversity enhancement strategy, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. Finally, we optimize the data generative pipeline by designing the annotation strategy SAM-background to obtain higher quality annotations and introducing the metric CLIP inter-similarity to filter data, which further improves the quality of the generative dataset. Through these designed strategies, our proposed method significantly outperforms the existing strong models. We hope DiverGen can provide new insights and inspirations for future research on the effectiveness and efficiency of generative data augmentation."
1336
+ },
1337
+ {
1338
+ "type": "title",
1339
+ "bbox": [
1340
+ 0.501,
1341
+ 0.848,
1342
+ 0.646,
1343
+ 0.864
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "Acknowledgments"
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.5,
1352
+ 0.871,
1353
+ 0.892,
1354
+ 0.901
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "This work was in part supported by National Key R&D Program of China (No. 2022ZD0118700)."
1358
+ },
1359
+ {
1360
+ "type": "page_number",
1361
+ "bbox": [
1362
+ 0.483,
1363
+ 0.945,
1364
+ 0.516,
1365
+ 0.957
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "3993"
1369
+ }
1370
+ ],
1371
+ [
1372
+ {
1373
+ "type": "title",
1374
+ "bbox": [
1375
+ 0.08,
1376
+ 0.09,
1377
+ 0.174,
1378
+ 0.106
1379
+ ],
1380
+ "angle": 0,
1381
+ "content": "References"
1382
+ },
1383
+ {
1384
+ "type": "ref_text",
1385
+ "bbox": [
1386
+ 0.087,
1387
+ 0.115,
1388
+ 0.473,
1389
+ 0.171
1390
+ ],
1391
+ "angle": 0,
1392
+ "content": "[1] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Proc. Eur. Conf. Comp. Vis. Springer, 2020. 1, 2"
1393
+ },
1394
+ {
1395
+ "type": "ref_text",
1396
+ "bbox": [
1397
+ 0.087,
1398
+ 0.172,
1399
+ 0.472,
1400
+ 0.24
1401
+ ],
1402
+ "angle": 0,
1403
+ "content": "[2] Kai Chen, Enze Xie, Zhe Chen, Lanqing Hong, Zhenguo Li, and Dit-Yan Yeung. Integrating geometric control into text-to-image diffusion models for high-quality detection data generation via text prompt. arXiv: Comp. Res. Repository, 2023. 3"
1404
+ },
1405
+ {
1406
+ "type": "ref_text",
1407
+ "bbox": [
1408
+ 0.087,
1409
+ 0.242,
1410
+ 0.472,
1411
+ 0.297
1412
+ ],
1413
+ "angle": 0,
1414
+ "content": "[3] Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 1290–1299, 2022. 1, 2"
1415
+ },
1416
+ {
1417
+ "type": "ref_text",
1418
+ "bbox": [
1419
+ 0.087,
1420
+ 0.298,
1421
+ 0.472,
1422
+ 0.338
1423
+ ],
1424
+ "angle": 0,
1425
+ "content": "[4] Christiane Fellbaum. Wordnet. In Theory and applications of ontology: computer applications, pages 231-243. Springer, 2010. 4"
1426
+ },
1427
+ {
1428
+ "type": "ref_text",
1429
+ "bbox": [
1430
+ 0.087,
1431
+ 0.34,
1432
+ 0.472,
1433
+ 0.396
1434
+ ],
1435
+ "angle": 0,
1436
+ "content": "[5] Chun-Mei Feng, Kai Yu, Yong Liu, Salman Khan, and Wangmeng Zuo. Diverse data augmentation with diffusions for effective test-time prompt tuning. In Proc. IEEE Int. Conf. Comp. Vis., pages 2704-2714, 2023. 3"
1437
+ },
1438
+ {
1439
+ "type": "ref_text",
1440
+ "bbox": [
1441
+ 0.087,
1442
+ 0.397,
1443
+ 0.472,
1444
+ 0.465
1445
+ ],
1446
+ "angle": 0,
1447
+ "content": "[6] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2918-2928, 2021. 7"
1448
+ },
1449
+ {
1450
+ "type": "ref_text",
1451
+ "bbox": [
1452
+ 0.087,
1453
+ 0.467,
1454
+ 0.472,
1455
+ 0.522
1456
+ ],
1457
+ "angle": 0,
1458
+ "content": "[7] Agrim Gupta, Piotr Dollar, and Ross Girshick. Lvis: A dataset for large vocabulary instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5356-5364, 2019. 1, 2, 3, 4, 5, 6, 7"
1459
+ },
1460
+ {
1461
+ "type": "ref_text",
1462
+ "bbox": [
1463
+ 0.087,
1464
+ 0.523,
1465
+ 0.472,
1466
+ 0.563
1467
+ ],
1468
+ "angle": 0,
1469
+ "content": "[8] Kaiming He, Georgia Gkioxari, Piotr Dólar, and Ross Girshick. Mask r-cnn. In Proc. IEEE Int. Conf. Comp. Vis., pages 2961-2969, 2017. 1, 2"
1470
+ },
1471
+ {
1472
+ "type": "ref_text",
1473
+ "bbox": [
1474
+ 0.087,
1475
+ 0.565,
1476
+ 0.472,
1477
+ 0.619
1478
+ ],
1479
+ "angle": 0,
1480
+ "content": "[9] KJ Joseph, Salman Khan, Fahad Shahbaz Khan, and Vineeth N Balasubramanian. Towards open world object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5830-5840, 2021. 3"
1481
+ },
1482
+ {
1483
+ "type": "ref_text",
1484
+ "bbox": [
1485
+ 0.08,
1486
+ 0.621,
1487
+ 0.472,
1488
+ 0.661
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "[10] James M Joyce. Kullback-leibler divergence. In International Encyclopedia of Statistical Science, pages 720-722. Springer, 2011. 4"
1492
+ },
1493
+ {
1494
+ "type": "ref_text",
1495
+ "bbox": [
1496
+ 0.08,
1497
+ 0.663,
1498
+ 0.472,
1499
+ 0.731
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "[11] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander Berg, Wan-Yen Lo, et al. Segment anything. In Proc. IEEE Int. Conf. Comp. Vis., pages 4015-4026, 2023. 1, 2, 5"
1503
+ },
1504
+ {
1505
+ "type": "ref_text",
1506
+ "bbox": [
1507
+ 0.08,
1508
+ 0.733,
1509
+ 0.472,
1510
+ 0.789
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "[12] Daiqing Li, Huan Ling, Seung Wook Kim, Karsten Kreis, Sanja Fidler, and Antonio Torralba. Bigdatasetgan: Synthesizing imagenet with pixel-wise annotations. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 21330-21340, 2022. 3"
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "bbox": [
1518
+ 0.08,
1519
+ 0.79,
1520
+ 0.472,
1521
+ 0.844
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "[13] Ziyi Li, Qinye Zhou, Xiaoyun Zhang, Ya Zhang, Yanfeng Wang, and Weidi Xie. Open-vocabulary object segmentation with diffusion models. In Proc. IEEE Int. Conf. Comp. Vis., pages 7667-7676, 2023. 3"
1525
+ },
1526
+ {
1527
+ "type": "ref_text",
1528
+ "bbox": [
1529
+ 0.08,
1530
+ 0.846,
1531
+ 0.472,
1532
+ 0.902
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "[14] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In Proc. Eur. Conf. Comp. Vis., pages 740-755. Springer, 2014. 6"
1536
+ },
1537
+ {
1538
+ "type": "list",
1539
+ "bbox": [
1540
+ 0.08,
1541
+ 0.115,
1542
+ 0.473,
1543
+ 0.902
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": null
1547
+ },
1548
+ {
1549
+ "type": "ref_text",
1550
+ "bbox": [
1551
+ 0.503,
1552
+ 0.093,
1553
+ 0.894,
1554
+ 0.162
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "[15] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proc. IEEE Int. Conf. Comp. Vis., pages 10012-10022, 2021. 6, 7"
1558
+ },
1559
+ {
1560
+ "type": "ref_text",
1561
+ "bbox": [
1562
+ 0.503,
1563
+ 0.164,
1564
+ 0.894,
1565
+ 0.205
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "[16] Timo Lüddecke and Alexander Ecker. Image segmentation using text and image prompts. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 7086-7096, 2022. 8"
1569
+ },
1570
+ {
1571
+ "type": "ref_text",
1572
+ "bbox": [
1573
+ 0.503,
1574
+ 0.207,
1575
+ 0.894,
1576
+ 0.248
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "[17] Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv: Comp. Res. Repository, 2018. 3"
1580
+ },
1581
+ {
1582
+ "type": "ref_text",
1583
+ "bbox": [
1584
+ 0.503,
1585
+ 0.25,
1586
+ 0.894,
1587
+ 0.305
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "[18] Xuebin Qin, Zichen Zhang, Chenyang Huang, Masood Dehghan, Osmar R Zaiane, and Martin Jagersand. U2-net: Going deeper with nested u-structure for salient object detection. Pattern Recognition, 106:107404, 2020. 8"
1591
+ },
1592
+ {
1593
+ "type": "ref_text",
1594
+ "bbox": [
1595
+ 0.503,
1596
+ 0.307,
1597
+ 0.894,
1598
+ 0.389
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "[19] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In Proc. Int. Conf. Mach. Learn., pages 8748-8763. PMLR, 2021. 2, 3, 5"
1602
+ },
1603
+ {
1604
+ "type": "ref_text",
1605
+ "bbox": [
1606
+ 0.503,
1607
+ 0.391,
1608
+ 0.894,
1609
+ 0.46
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": "[20] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10684-10695, 2022. 1, 2, 3, 5, 8"
1613
+ },
1614
+ {
1615
+ "type": "ref_text",
1616
+ "bbox": [
1617
+ 0.503,
1618
+ 0.462,
1619
+ 0.894,
1620
+ 0.531
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "[21] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision, 115: 211-252, 2015. 2, 4, 5, 7"
1624
+ },
1625
+ {
1626
+ "type": "ref_text",
1627
+ "bbox": [
1628
+ 0.503,
1629
+ 0.533,
1630
+ 0.894,
1631
+ 0.575
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "[22] Alex Shonenkov, Misha Konstantinov, Daria Bakshandaeva, Christoph Schuhmann, Ksenia Ivanova, and Nadija Klokova. Deepfloyd-if, 2023. 1, 2, 3, 5, 6, 8"
1635
+ },
1636
+ {
1637
+ "type": "ref_text",
1638
+ "bbox": [
1639
+ 0.503,
1640
+ 0.577,
1641
+ 0.894,
1642
+ 0.645
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "[23] Yukun Su, Jingliang Deng, Ruizhou Sun, Guosheng Lin, Hanjing Su, and Qingyao Wu. A unified transformer framework for group-based segmentation: Co-segmentation, co-saliency detection and video salient object detection. IEEE Trans. Multimedia, 2023. 8"
1646
+ },
1647
+ {
1648
+ "type": "ref_text",
1649
+ "bbox": [
1650
+ 0.503,
1651
+ 0.647,
1652
+ 0.894,
1653
+ 0.703
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "[24] Jingru Tan, Gang Zhang, Hanming Deng, Changbao Wang, Lewei Lu, Quanquan Li, and Jifeng Dai. 1st place solution of LVIS challenge 2020: A good box is not a guarantee of a good mask. arXiv: Comp. Res. Repository, 2020. 7"
1657
+ },
1658
+ {
1659
+ "type": "ref_text",
1660
+ "bbox": [
1661
+ 0.503,
1662
+ 0.704,
1663
+ 0.894,
1664
+ 0.773
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "[25] Weijia Wu, Yuzhong Zhao, Hao Chen, Yuchao Gu, Rui Zhao, Yefei He, Hong Zhou, Mike Zheng Shou, and Chunhua Shen. DatasetDM: Synthesizing data with perception annotations using diffusion models. Proc. Advances in Neural Inf. Process. Syst., 2023. 1, 3"
1668
+ },
1669
+ {
1670
+ "type": "ref_text",
1671
+ "bbox": [
1672
+ 0.503,
1673
+ 0.775,
1674
+ 0.894,
1675
+ 0.843
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "[26] Weijia Wu, Yuzhong Zhao, Mike Zheng Shou, Hong Zhou, and Chunhua Shen. Diffumask: Synthesizing images with pixel-level annotations for semantic segmentation using diffusion models. Proc. IEEE Int. Conf. Comp. Vis., 2023. 1, 3"
1679
+ },
1680
+ {
1681
+ "type": "ref_text",
1682
+ "bbox": [
1683
+ 0.503,
1684
+ 0.845,
1685
+ 0.894,
1686
+ 0.902
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "[27] Jiahao Xie, Wei Li, Xiangtai Li, Ziwei Liu, Yew Soon Ong, and Chen Change Loy. Mosaicfusion: Diffusion models as data augmenters for large vocabulary instance segmentation. arXiv: Comp. Res. Repository, 2023. 3"
1690
+ },
1691
+ {
1692
+ "type": "list",
1693
+ "bbox": [
1694
+ 0.503,
1695
+ 0.093,
1696
+ 0.894,
1697
+ 0.902
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": null
1701
+ },
1702
+ {
1703
+ "type": "page_number",
1704
+ "bbox": [
1705
+ 0.483,
1706
+ 0.945,
1707
+ 0.516,
1708
+ 0.957
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "3994"
1712
+ }
1713
+ ],
1714
+ [
1715
+ {
1716
+ "type": "ref_text",
1717
+ "bbox": [
1718
+ 0.08,
1719
+ 0.092,
1720
+ 0.47,
1721
+ 0.147
1722
+ ],
1723
+ "angle": 0,
1724
+ "content": "[28] Lihe Yang, Xiaogang Xu, Bingyi Kang, Yinghuan Shi, and Hengshuang Zhao. FreeMask: Synthetic images with dense annotations make stronger segmentation models. Proc. Advances in Neural Inf. Process. Syst., 2023. 3"
1725
+ },
1726
+ {
1727
+ "type": "ref_text",
1728
+ "bbox": [
1729
+ 0.081,
1730
+ 0.149,
1731
+ 0.471,
1732
+ 0.19
1733
+ ],
1734
+ "angle": 0,
1735
+ "content": "[29] Yi Ke Yun and Weisi Lin. Selfreformer: Self-refined network with transformer for salient object detection. arXiv: Comp. Res. Repository, 2022. 8"
1736
+ },
1737
+ {
1738
+ "type": "ref_text",
1739
+ "bbox": [
1740
+ 0.081,
1741
+ 0.192,
1742
+ 0.471,
1743
+ 0.261
1744
+ ],
1745
+ "angle": 0,
1746
+ "content": "[30] Renrui Zhang, Xiangfei Hu, Bohao Li, Siyuan Huang, Hanqiu Deng, Yu Qiao, Peng Gao, and Hongsheng Li. Prompt, generate, then cache: Cascade of foundation models makes strong few-shot learners. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 15211-15222, 2023. 3"
1747
+ },
1748
+ {
1749
+ "type": "ref_text",
1750
+ "bbox": [
1751
+ 0.081,
1752
+ 0.263,
1753
+ 0.471,
1754
+ 0.331
1755
+ ],
1756
+ "angle": 0,
1757
+ "content": "[31] Yuxuan Zhang, Huan Ling, Jun Gao, Kangxue Yin, Jean-Francois Lafleche, Adela Barriuso, Antonio Torralba, and Sanja Fidler. Dasetgan: Efficient labeled data factory with minimal human effort. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10145-10155, 2021. 3"
1758
+ },
1759
+ {
1760
+ "type": "ref_text",
1761
+ "bbox": [
1762
+ 0.081,
1763
+ 0.333,
1764
+ 0.471,
1765
+ 0.415
1766
+ ],
1767
+ "angle": 0,
1768
+ "content": "[32] Hanqing Zhao, Dianmo Sheng, Jianmin Bao, Dongdong Chen, Dong Chen, Fang Wen, Lu Yuan, Ce Liu, Wenbo Zhou, Qi Chu, Weiming Zhang, and Nenghai Yu. X-paste: Revisiting scalable copy-paste for instance segmentation using CLIP and stablediffusion. Proc. Int. Conf. Mach. Learn., 2023. 1, 2, 3, 4, 5, 6, 7, 8"
1769
+ },
1770
+ {
1771
+ "type": "ref_text",
1772
+ "bbox": [
1773
+ 0.081,
1774
+ 0.418,
1775
+ 0.471,
1776
+ 0.458
1777
+ ],
1778
+ "angle": 0,
1779
+ "content": "[33] Xingyi Zhou, Vladlen Koltun, and Philipp Krahenbuhl. Probabilistic two-stage detection. arXiv: Comp. Res. Repository, 2021. 6, 7"
1780
+ },
1781
+ {
1782
+ "type": "ref_text",
1783
+ "bbox": [
1784
+ 0.081,
1785
+ 0.46,
1786
+ 0.471,
1787
+ 0.516
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "[34] Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krahenbuhl, and Ishan Misra. Detecting twenty-thousand classes using image-level supervision. In Proc. Eur. Conf. Comp. Vis., pages 350-368. Springer, 2022. 7"
1791
+ },
1792
+ {
1793
+ "type": "list",
1794
+ "bbox": [
1795
+ 0.08,
1796
+ 0.092,
1797
+ 0.471,
1798
+ 0.516
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": null
1802
+ },
1803
+ {
1804
+ "type": "page_number",
1805
+ "bbox": [
1806
+ 0.483,
1807
+ 0.946,
1808
+ 0.515,
1809
+ 0.956
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "3995"
1813
+ }
1814
+ ]
1815
+ ]
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/eeaaaaf5-aec0-4c96-93e2-08c29cdb4989_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b021d8b0212a4af902c80896376b635f60d2e00f209e393c069bf7ad86d0d27e
3
+ size 2778042
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/full.md ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DiverGen: Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data
2
+
3
+ Chengxiang Fan $^{1*}$ Muzhi Zhu $^{1*}$ Hao Chen $^{1\dagger}$ Yang Liu $^{1}$ Weijia Wu $^{1}$ Huaqi Zhang $^{2}$ Chunhua Shen $^{1\dagger}$
4
+
5
+ $^{1}$ Zhejiang University, China $^{2}$ vivo Mobile Communication Co.
6
+
7
+ # Abstract
8
+
9
+ Instance segmentation is data-hungry, and as model capacity increases, data scale becomes crucial for improving the accuracy. Most instance segmentation datasets today require costly manual annotation, limiting their data scale. Models trained on such data are prone to overfitting on the training set, especially for those rare categories. While recent works have delved into exploiting generative models to create synthetic datasets for data augmentation, these approaches do not efficiently harness the full potential of generative models.
10
+
11
+ To address these issues, we introduce a more efficient strategy to construct generative datasets for data augmentation, termed DiverGen. Firstly, we provide an explanation of the role of generative data from the perspective of distribution discrepancy. We investigate the impact of different data on the distribution learned by the model. We argue that generative data can expand the data distribution that the model can learn, thus mitigating overfitting. Additionally, we find that the diversity of generative data is crucial for improving model performance and enhance it through various strategies, including category diversity, prompt diversity, and generative model diversity. With these strategies, we can scale the data to millions while maintaining the trend of model performance improvement. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste, achieving $+1.1$ box AP and $+1.1$ mask AP across all categories, and $+1.9$ box AP and $+2.5$ mask AP for rare categories. Our codes are available at https://github.com/aim-uofa/DiverGen.
12
+
13
+ # 1. Introduction
14
+
15
+ Instance segmentation [1, 3, 8] is one of the challenging tasks in computer vision, requiring the prediction of masks and categories for instances in an image, which serves as the foundation for numerous visual applications. As mod-
16
+
17
+ els' learning capabilities improve, the demand for training data increases. However, current datasets for instance segmentation heavily rely on manual annotation, which is time-consuming and costly, and the dataset scale cannot meet the training needs of models. Despite the recent emergence of the automatically annotated dataset SA-1B [11], it lacks category annotations, failing to meet the requirements of instance segmentation. Meanwhile, the ongoing development of the generative model has largely improved the controllability and realism of generated samples. For example, the recent text2image diffusion model [20, 22] can generate high-quality images corresponding to input prompts. Therefore, current methods [25, 26, 32] use generative models for data augmentation by generating datasets to supplement the training of models on real datasets and improve model performance. Although current methods have proposed various strategies to enable generative data to boost model performance, there are still some limitations: 1) Existing methods have not fully exploited the potential of generative models. First, some methods [32] not only use generative data but also need to crawl images from the internet, which is significantly challenging to obtain large-scale data. Meanwhile, the content of data crawled from the internet is uncontrollable and needs extra checking. Second, existing methods do not fully use the controllability of generative models. Current methods often adopt manually designed templates to construct prompts, limiting the potential output of generative models. 2) Existing methods [25, 26] often explain the role of generative data from the perspective of class imbalance or data scarcity, without considering the discrepancy between real-world data and generative data. Moreover, these methods typically show improved model performance only in scenarios with a limited number of real samples, and the effectiveness of generative data on existing large-scale real datasets, like LVIS [7], is not thoroughly investigated.
18
+
19
+ In this paper, we first explore the role of generative data from the perspective of distribution discrepancy, addressing two main questions: 1) Why does generative data augmentation enhance model performance? 2) What types of generative data are beneficial for improving model perfor
20
+
21
+ mance? First, we find that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. We visualize the data and find that compared to the real-world data, generative data can expand the data distribution that the model can learn. Furthermore, we find that the role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data. Second, we find that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not handled properly, the full potential of the generative model cannot be utilized. By conducting several experiments, we find that using diverse generative data enables models to better adapt to these discrepancies, improving model performance.
22
+
23
+ Based on the above analysis, we propose an efficient strategy for enhancing data diversity, namely, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the perspectives of category diversity, prompt diversity, and generative model diversity. For category diversity, we observe that models trained with generative data covering all categories adapt better to distribution discrepancy than models trained with partial categories. Therefore, we introduce not only categories from LVIS [7] but also extra categories from ImageNet-1K [21] to enhance category diversity in data generation, thereby reinforcing the model's adaptability to distribution discrepancy. For prompt diversity, we find that as the scale of the generative dataset increases, manually designed prompts cannot scale up to the corresponding level, limiting the diversity of output images from the generative model. Thus, we design a set of diverse prompt generation strategies to use large language models, like ChatGPT, for prompt generation, requiring the large language models to output maximally diverse prompts under constraints. By combining manually designed prompts and ChatGPT designed prompts, we effectively enrich prompt diversity and further improve generative data diversity. For generative model diversity, we find that data from different generative models also exhibit distribution discrepancies. Exposing models to data from different generative models during training can enhance adaptability to different distributions. Therefore, we employ Stable Diffusion [20] and DeepFloyd-IF [22] to generate images for all categories separately and mix the two types of data during training to increase data diversity.
24
+
25
+ At the same time, we optimize the data generation workflow and propose a four-stage generative pipeline consisting of instance generation, instance annotation, instance filtration, and instance augmentation. In the instance generation stage, we employ our proposed Generative Data Diversity Enhancement to enhance data diversity, producing diverse raw data. In the instance annotation stage, we introduce an annotation strategy called SAM-background. This strategy
26
+
27
+ obtains high-quality annotations by using background points as input prompts for SAM [11], obtaining the annotations of raw data. In the instance filtration stage, we introduce a metric called CLIP inter-similarity. Utilizing the CLIP [19] image encoder, we extract embeddings from generative and real data, and then compute their similarity. A lower similarity indicates lower data quality. After filtration, we obtain the final generative dataset. In the instance augmentation stage, we use the instance paste strategy [32] to increase model learning efficiency on generative data.
28
+
29
+ Experiments demonstrate that our designed data diversity strategies can effectively improve model performance and maintain the trend of performance gains as the data scale increases to the million level, which enables large-scale generative data for data augmentation. On the LVIS dataset, DiverGen significantly outperforms the strong model X-Paste [32], achieving $+1.1$ box AP [7] and $+1.1$ mask AP across all categories, and $+1.9$ box AP and $+2.5$ mask AP for rare categories.
30
+
31
+ In summary, our main contributions are as follows:
32
+
33
+ - We explain the role of generative data from the perspective of distribution discrepancy. We find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set and the diversity of generative data is crucial for improving model performance.
34
+ - We propose the Generative Data Diversity Enhancement strategy to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. By enhancing data diversity, we can scale the data to millions while maintaining the trend of model performance improvement.
35
+ - We optimize the data generation pipeline. We propose an annotation strategy SAM-background to obtain higher-quality annotations. We also introduce a filtration metric called CLIP inter-similarity to filter data and further improve the quality of the generative dataset.
36
+
37
+ # 2. Related Work
38
+
39
+ Instance segmentation. Instance segmentation is an important task in the field of computer vision and has been extensively studied. Unlike semantic segmentation, instance segmentation not only classifies the pixels at a pixel level but also distinguishes different instances of the same category. Previously, the focus of instance segmentation research has primarily been on the design of model structures. Mask-RCNN [8] unifies the tasks of object detection and instance segmentation. Subsequently, Mask2Former [3] further unified the tasks of semantic segmentation and instance segmentation by leveraging the structure of DETR [1].
40
+
41
+ Orthogonal to these studies focusing on model architecture, our work primarily investigates how to better utilize generated data for this task. We focus on the challenging
42
+
43
+ ![](images/b806065a5562ca799776a1a281243ccad910344e6427008232d67005cdca44f8.jpg)
44
+ Figure 1. Visualization of data distributions on different sources. Compared to real-world data (LVIS train and LVIS val), generative data (Stable Diffusion and IF) can expand the data distribution that the model can learn.
45
+
46
+ ![](images/957fdf73e343888c9d999ae21d39d7979cfe7d19babfda79c7ad280cedabc314.jpg)
47
+
48
+ ![](images/34317d0ca56c600ce470a4bcfb2e999a928752908037f0cd21c9746dfd5f37ef.jpg)
49
+
50
+ ![](images/698b049a86acfbb387d26e2923b0a2c30d4f3d025838fc3e1740be5de151edb6.jpg)
51
+
52
+ ![](images/f93b6fb9dc619e743e11d33aa84db10d7876f7aa9efff11da1c44ed0ef0de7c3.jpg)
53
+
54
+ long-tail dataset LVIS [7] because it is only the long-tailed categories that face the issue of limited real data and require generative images for augmentation, making it more practically meaningful.
55
+
56
+ Generative data augmentation. The use of generative models to synthesize training data for assisting perception tasks such as classification [5, 30], detection [2, 32], segmentation [13, 25, 26], etc. has received widespread attention from researchers. In the field of segmentation, early works [12, 31] utilize generative adversarial networks (GANs) to synthesize additional training samples. With the rise of diffusion models, there have been numerous efforts [13, 25, 26, 28, 32] to utilize text2image diffusion models, such as Stable Diffusion [20], to boost the segmentation performance. Li et al. [13] combine the Stable Diffusion model with a novel grounding module and establish an automatic pipeline for constructing a segmentation dataset. DiffuMask [26] exploits the potential of cross-attention maps between text and images to synthesize accurate semantic labels. More recently, FreeMask [28] uses a mask-to-image generation model to generate images conditioned on the provided semantic masks. However, the aforementioned work is only applicable to semantic segmentation. The most relevant work to ours is X-Paste [32], which promotes instance segmentation through copy-pasting the generative images and a filter strategy based on CLIP [19].
57
+
58
+ In summary, most methods only demonstrate significant advantages when training data is extremely limited. They consider generating data as a means to compensate for data scarcity or class imbalance. However, in this work, we take a further step to examine and analyze this problem from the perspective of data distribution. We propose a pipeline that enhances diversity from multiple levels to alleviate the impact of data distribution discrepancies. This provides new insights and inspirations for further advancements in this field.
59
+
60
+ # 3. Our Proposed DiverGen
61
+
62
+ # 3.1. Analysis of Data Distribution
63
+
64
+ Existing methods [26, 27, 32] often attribute the role of generative data to addressing class imbalance or data scarcity. In this paper, we provide an explanation for two main questions from the perspective of distribution discrepancy.
65
+
66
+ Why does generative data augmentation enhance model performance? We argue that there exist discrepancies between the model learned distribution of the limited real training data and the distribution of real-world data. The role of adding generative data is to alleviate the bias of the real training data, effectively mitigating overfitting the training data.
67
+
68
+ First, to intuitively understand the discrepancies between different data sources, we use CLIP [19] image encoder to extract the embeddings of images from different data sources, and then use UMAP [17] to reduce dimensions for visualization. Visualization of data distributions on different sources is shown in Figure 1. Real-world data (LVIS [7] train and LVIS val) cluster near the center, while generative data (Stable Diffusion [20] and IF [22]) are more dispersed, indicating that generative data can expand the data distribution that the model can learn.
69
+
70
+ Then, to characterize the distribution learned by the model, we employ the free energy formulation used by Joseph et al. [9]. This formulation transforms the logits outputted by the classification head into an energy function. The formulation is shown below:
71
+
72
+ $$
73
+ F (\boldsymbol {q}; h) = - \tau \log \sum_ {c = 1} ^ {n} \exp \left(\frac {h _ {c} (\boldsymbol {q})}{\tau}\right). \tag {1}
74
+ $$
75
+
76
+ Here, $\pmb{q}$ is the feature of instance, $h_c(\pmb{q})$ is the $c^{th}$ logit outputted by classification head $h(.), n$ is the number of categories and $\tau$ is the temperature parameter. We train
77
+
78
+ one model using only the LVIS train set $(\theta_{\mathrm{train}})$ , and another model using LVIS train with generative data $(\theta_{\mathrm{gen}})$ . Both models are evaluated on the LVIS val set and we use instances that are successfully matched by both models to obtain energy values. Additionally, we train another model using LVIS val $(\theta_{\mathrm{val}})$ , treating it as representative of real-world data distribution. Then, we further fit Gaussian distributions to the histograms of energy values to obtain the mean $\mu$ and standard deviation $\sigma$ for each model and compute the KL divergence [10] between them. $D_{KL}(p_{\theta_{\mathrm{train}}} \| p_{\theta_{\mathrm{val}}})$ is 0.063, and $D_{KL}(p_{\theta_{\mathrm{gen}}} \| p_{\theta_{\mathrm{val}}})$ is 0.019. The latter is lower, indicating that using generative data mitigates the bias of limited real training data.
79
+
80
+ Moreover, we also analyze the role of generative data from a metric perspective. We randomly select up to five images per category to form a minitrain set and then conduct inferences using $\theta_{\mathrm{train}}$ and $\theta_{\mathrm{gen}}$ . Then, we define a metric, termed train-val gap (TVG), which is formulated as follows:
81
+
82
+ $$
83
+ \mathrm {T V G} _ {w} ^ {k} = \mathrm {A P} _ {w} ^ {k} \text {m i n i t r a i n} - \mathrm {A P} _ {w} ^ {k} \text {v a l}. \tag {2}
84
+ $$
85
+
86
+ Here, $\mathrm{TVG}_w^k$ is train-val gap of $w$ category on task $k$ , $\mathrm{AP}_w^k d$ is AP [7] of $w$ category on $k$ obtained on dataset $d$ , $w \in \{f, c, r\}$ , with $f, c, r$ standing for frequent, common, rare [7] respectively, and $k \in \{box, mask\}$ , with box, mask referring to the object detection and instance segmentation. The train-val gap serves as a measure of the disparity in the model's performance between the training and validation sets. A larger gap indicates a higher degree of overfitting the training set. The results, as presented in Table 1, show that the metrics for the rare categories consistently surpass those of frequent and common. This observation suggests that the model tends to overfit more on the rare categories that have fewer examples. With the augmentation of generative data, all TVG of $\theta_{\mathrm{gen}}$ are lower than $\theta_{\mathrm{train}}$ , showing that adding generative data can effectively alleviate overfitting the training data.
87
+
88
+ <table><tr><td>Data Source</td><td>TVGfbox</td><td>TVGfmask</td><td>TVGcbox</td><td>TVGcmask</td><td>TVGRbox</td><td>TVGRmask</td></tr><tr><td>LVIS</td><td>13.16</td><td>10.71</td><td>21.80</td><td>16.80</td><td>39.59</td><td>31.68</td></tr><tr><td>LVIS + Gen</td><td>9.64</td><td>8.38</td><td>15.64</td><td>12.69</td><td>29.39</td><td>22.49</td></tr></table>
89
+
90
+ What types of generative data are beneficial for improving model performance? We argue that there are also discrepancies between the distribution of the generative data and the real-world data distribution. If these discrepancies are not properly addressed, the full potential of the generative model cannot be attained.
91
+
92
+ We divide the generative data into 'frequent', 'common', and 'rare' [7] groups, and train three models using each
93
+
94
+ group of data as instance paste source. The inference results are shown in Table 2. We find that the metrics on the corresponding category subset are lowest when training with only one group of data. We consider model performance to be primarily influenced by the quality and diversity of data. Given that the quality of generative data is relatively consistent, we contend insufficient diversity in the data can mislead the distribution that the model can learn and a more comprehensive understanding is obtained by the model from a diverse set of data. Therefore, we believe that using diverse generative data enables models to better adapt to these discrepancies, improving model performance.
95
+
96
+ Table 1. Results of train-val gap on different data sources. With the augmentation of generative data, all TVG of LVIS are lower than LVIS + Gen, showing that adding generative data can effectively alleviate overfitting to the training data.
97
+
98
+ <table><tr><td># Gen Category</td><td>\( AP_{f}^{box} \)</td><td>\( AP_{f}^{mask} \)</td><td>\( AP_{c}^{box} \)</td><td>\( AP_{c}^{mask} \)</td><td>\( AP_{r}^{box} \)</td><td>\( AP_{r}^{mask} \)</td></tr><tr><td>none</td><td>50.14</td><td>43.84</td><td>47.54</td><td>43.12</td><td>41.39</td><td>36.83</td></tr><tr><td>f</td><td>50.81</td><td>44.24</td><td>47.96</td><td>43.51</td><td>41.51</td><td>37.92</td></tr><tr><td>c</td><td>51.86</td><td>45.22</td><td>47.69</td><td>42.79</td><td>42.32</td><td>37.30</td></tr><tr><td>r</td><td>51.46</td><td>44.90</td><td>48.24</td><td>43.51</td><td>32.67</td><td>29.04</td></tr><tr><td>all</td><td>52.10</td><td>45.45</td><td>50.29</td><td>44.87</td><td>46.03</td><td>41.86</td></tr></table>
99
+
100
+ Table 2. Results of different category data subset for training. The metrics on the corresponding category subset are lowest when training with only one group of data, showing insufficient diversity in the data can mislead the distribution that the model can learn. Blue font means the lowest value in models using generative data.
101
+
102
+ # 3.2. Generative Data Diversity Enhancement
103
+
104
+ Through the analysis above, we find that the diversity of generative data is crucial for improving model performance. Therefore, we design a series of strategies to enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity, which help the model to better adapt to the distribution discrepancy between generative data and real data.
105
+
106
+ Category diversity. The above experiments show that including data from partial categories results in lower performance than incorporating data from all categories. We believe that, akin to human learning, the model can learn features beneficial to the current category from some other categories. Therefore, we consider increasing the diversity of data by adding extra categories. First, we select some extra categories besides LVIS from ImageNet-1K [21] categories based on WordNet [4] similarity. Then, the generative data from LVIS and extra categories are mixed for training, requiring the model to learn to distinguish all categories. Finally, we truncate the parameters in the classification head corresponding to the extra categories during inference, ensuring that the inferred category range remains within LVIS.
107
+
108
+ Prompt diversity. The output images of the text2image generative model typically rely on the input prompts. Existing methods [32] usually generate prompts by manually designing templates, such as "a photo of a single {category_name}." When the data scale is small, designing prompts manually is convenient and fast. However, when generating a large scale
109
+
110
+ of data, it is challenging to scale the number of manually designed prompts correspondingly. Intuitively, it is essential to diversify the prompts to enhance data diversity. To easily generate a large number of prompts, we choose large language model, like ChatGPT, to enhance the prompt diversity. We have three requirements for the large language model: 1) each prompt should be as different as possible; 2) each prompt should ensure that there is only one object in the image; 3) prompts should describe different attributes of the category. For example, if the category is food, prompts should cover attributes like color, brand, size, freshness, packaging type, packaging color, etc. Limited by the inference cost of ChatGPT, we use the manually designed prompts as the base and only use ChatGPT to enhance the prompt diversity for a subset of categories. Moreover, we also leverage the controllability of the generative model, adding the constraint "in a white background" after each prompt to make the background of output images simple and clear, which reduces the difficulty of mask annotation.
111
+
112
+ Generative model diversity. The quality and style of output images vary across generative models, and the data distribution learned solely from one generative model's data is limited. Therefore, we introduce multiple generative models to enhance the diversity of data, allowing the model to learn from wider data distributions. We selected two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We use Stable Diffusion V1.5, generating images with a resolution of $512 \times 512$ , and use images output from Stage II of IF with a resolution of $256 \times 256$ . For each category in LVIS, we generated 1k images using two models separately. Examples from different generative models are shown in Figure 2.
113
+
114
+ ![](images/909471439b5cec1d3ede4fd2d6c1d2261ae797c787e805587d7ddb1d9c768d18.jpg)
115
+ Figure 2. Examples of various generative models. The samples generated by different generative models vary, even within the same category.
116
+
117
+ # 3.3. Generative Pipeline
118
+
119
+ The generative pipeline of DiverGen is built upon X-Paste [32]. It can be divided into four stages: instance generation, instance annotation, instance filtration and instance augmentation. The overview of DiverGen is illustrated in Figure 3.
120
+
121
+ Instance generation. Instance generation is a crucial stage for enhancing data diversity. In this stage, we employ our proposed Generative Data Diversity Enhancement (GDDE), as mentioned in Sec 3.2. In category diversity enhancement, we utilize the category information from LVIS [7] categories and extra categories selected from ImageNet-1K [21]. In prompt diversity enhancement, we utilize manually designed prompts and ChatGPT designed prompts to enhance prompt diversity. In model diversity enhancement, we employ two generative models, SD and IF.
122
+
123
+ Instance annotation. We employ SAM [11] as our annotation model. SAM is a class-agnostic promptable segmenter that outputs corresponding masks based on input prompts, such as points, boxes, etc. In instance generation, leveraging the controllability of the generative model, the generative images have two characteristics: 1) each image predominantly contains only one foreground object; 2) the background of the images is relatively simple. Therefore, we introduce a SAM-background (SAM-bg) annotation strategy. SAM-bg takes the four corner points of an image as input prompts for SAM to obtain the background mask, then inverts the background mask as the mask of the foreground object. Due to the conditional constraints during the instance generation stage, this strategy is simple but effective in producing high-quality masks.
124
+
125
+ Instance filtration. In the instance filtration stage, X-Paste utilizes the CLIP score (similarity between images and text) as the metric for image filtering. However, we observe that the CLIP score is ineffective in filtering low-quality images. In contrast to the similarity between images and text, we think the similarity between images can better filter out low-quality images. Therefore, we propose a new metric called CLIP inter-similarity. We use the image encoder of CLIP [19] to extract image embeddings for objects in the training set and generative images, then calculate the similarity between them. If the similarity is too low, it indicates a significant disparity between the generative and real images, suggesting that it is probably a poor-quality image and needs to be filtered.
126
+
127
+ Instance augmentation. We use the augmentation strategy proposed by X-Paste [32] but do not use the data retrieved from the network or the instances in LVIS [7] training set as the paste data source, only use the generative data as the paste data source.
128
+
129
+ ![](images/eac58f31b5a56669044793994005ae483e4994db4007c962bc97678677d4b837.jpg)
130
+ Figure 3. Overview of the DiverGen pipeline. In instance generation, we enhance data diversity at three levels: category diversity, prompt diversity, and generative model diversity. Next, we use SAM-background to obtain high-quality masks. Then, we use CLIP inter-similarity to filter out low-quality data. At last, we use the instance paste strategy to increase model learning efficiency on generative data.
131
+
132
+ # 4. Experiments
133
+
134
+ # 4.1. Settings
135
+
136
+ Datasets. We choose LVIS [7] for our experiments. LVIS is a large-scale instance segmentation dataset, containing 164k images with approximately two million high-quality annotations of instance segmentation and object detection. LVIS dataset uses images from COCO 2017 [14] dataset, but redefines the train/val/test splits, with around 100k images in the training set and around 20k images in the validation set. The annotations in LVIS cover 1,203 categories, with a typical long-tailed distribution of categories, so LVIS further divides the categories into frequent, common, and rare based on the frequency of each category in the dataset. We use the official LVIS training split and the validation split.
137
+
138
+ Evaluation metrics. The evaluation metrics are LVIS box average precision $(\mathrm{AP}^{box})$ and mask average precision $(\mathrm{AP}^{mask})$ . We also provide the average precision of rare categories $(\mathrm{AP}_{r}^{box}$ and $\mathrm{AP}_{r}^{mask}$ ). The maximum number of detections per image is 300.
139
+
140
+ Implementation details. We use CenterNet2 [33] as the baseline and Swin-L [15] as the backbone. In the training process, we initialize the parameters by the pre-trained Swin-L weights provided by Liu et al. [15]. The training size is 896 and the batch size is 16. The maximum training iterations is 180,000 with an initial learning rate of 0.0001. We use the instance paste strategy provided by Zhao et al. [32].
141
+
142
+ # 4.2. Main Results
143
+
144
+ Data diversity is more important than quantity. To investigate the impact of different scales of generative data, we
145
+
146
+ use generative data of varying scales as paste data sources. We construct three datasets using only DeepFloyd-IF [22] with manually designed prompts, all containing original LVIS 1,203 categories, but with per-category quantities of $0.25\mathrm{k}$ , $0.5\mathrm{k}$ , and $1\mathrm{k}$ , resulting in total dataset scales of $300\mathrm{k}$ , $600\mathrm{k}$ , and $1,200\mathrm{k}$ . As shown in Table 3, we find that using generative data improves model performance compared to the baseline. However, as the dataset scale increases, the model performance initially improves but then declines. The model performance using $1,200\mathrm{k}$ data is lower than that using $600\mathrm{k}$ data. Due to the limited number of manually designed prompts, the generative model produces similar data, as shown in Figure 4a. Consequently, the model can not gain benefits from more data. However, when using our proposed Generative Data Diversity Enhancement (GDDE), due to the increased data diversity, the model trained with $1,200\mathrm{k}$ images achieves better results than using $600\mathrm{k}$ images, with an improvement of 1.21 box AP and 1.04 mask AP. Moreover, when using the same data scale of $600\mathrm{k}$ , the mask AP increased by 0.64 AP and the box AP increased by 0.55 AP when using GDDE compared to not using it. The results demonstrate that data diversity is more important than quantity. When the scale of data is small, increasing the quantity of data can improve model performance, which we consider is an indirect way of increasing data diversity. However, this simplistic approach of solely increasing quantity to increase diversity has an upper limit. When it reaches this limit, explicit data diversity enhancement strategies become necessary to maintain the trend of model performance improvement.
147
+
148
+ Comparison with previous methods. We compare Di
149
+
150
+ ![](images/44a70e0a8f291906a886b6c1e30c32cbe48ff7f1531f3ec3196951dbe09626ba.jpg)
151
+ (a) Images of manually designed prompts.
152
+
153
+ ![](images/68ad3f3d3362ad0e35e127e1698b50c744d5a71906c1f465768ba0598a90cf72.jpg)
154
+ (b) Images of ChatGPT designed prompts.
155
+ Figure 4. Examples of generative data using different prompts. By using prompts designed by ChatGPT, the diversity of generated images in terms of shapes, textures, etc. can be significantly improved.
156
+
157
+ <table><tr><td># Gen Data</td><td>GDDE</td><td>\( AP^{box} \)</td><td>\( AP^{mask} \)</td><td>\( AP_{r}^{box} \)</td><td>\( AP_{r}^{mask} \)</td></tr><tr><td>0</td><td></td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>300k</td><td></td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>600k</td><td></td><td>50.03</td><td>44.44</td><td>47.15</td><td>41.96</td></tr><tr><td>1200k</td><td></td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>600k</td><td>✓</td><td>50.67</td><td>44.99</td><td>48.52</td><td>43.63</td></tr><tr><td>1200k</td><td>✓</td><td>51.24</td><td>45.48</td><td>50.07</td><td>45.85</td></tr></table>
158
+
159
+ verGen with previous data-augmentation related methods in Table 4. Compared to the baseline CenterNet2 [33], our method significantly improves, increasing box AP by $+3.7$ and mask AP by $+3.2$ . Regarding rare categories, our method surpasses the baseline with $+8.7$ in box AP and $+9.0$ in mask AP. Compared to the previous strong model X-Paste [32], we outperform it with $+1.1$ in box AP and $+1.1$ in mask AP of all categories, and $+1.9$ in box AP and $+2.5$ in mask AP of rare categories. It is worth mentioning that, X-Paste utilizes both generative data and web-retrieved data as paste data sources during training, while our method exclusively uses generative data as the paste data source. We achieve this by designing diversity enhancement strategies, further unlocking the potential of generative models.
160
+
161
+ Table 3. Results of different scales of generative data. When using the same data scale, models using our proposed GDDE can achieve higher performance than those without it, showing that data diversity is more important than quantity.
162
+
163
+ <table><tr><td>Method</td><td>Backbone</td><td>APbox</td><td>APmask</td><td>APboxr</td><td>APrmask</td></tr><tr><td>Copy-Paste [6]</td><td>EfficientNet-B7</td><td>41.6</td><td>38.1</td><td>-</td><td>32.1</td></tr><tr><td>Tan et al. [24]</td><td>ResNeSt-269</td><td>-</td><td>41.5</td><td>-</td><td>30.0</td></tr><tr><td>Detic [34]</td><td>Swin-B</td><td>46.9</td><td>41.7</td><td>45.9</td><td>41.7</td></tr><tr><td>CenterNet2 [33]</td><td>Swin-L</td><td>47.5</td><td>42.3</td><td>41.4</td><td>36.8</td></tr><tr><td>X-Paste [32]</td><td>Swin-L</td><td>50.1</td><td>44.4</td><td>48.2</td><td>43.3</td></tr><tr><td>DiverGen (Ours)</td><td>Swin-L</td><td>51.2 (+1.1)</td><td>45.5 (+1.1)</td><td>50.1 (+1.9)</td><td>45.8 (+2.5)</td></tr></table>
164
+
165
+ # 4.3. Ablation Studies
166
+
167
+ We analyze the effects of the proposed strategies in DiverGen through a series of ablation studies using the Swin-L [15] backbone.
168
+
169
+ Effect of category diversity. We select 50, 250, and 566 extra categories from ImagNet-1K [21], and generate $0.5\mathrm{k}$ images for each category, which are added to the baseline. The baseline only uses 1,203 categories of LIVS [7] to generate data. We show the results in Table 5. Generally, increasing the number of extra categories initially improves then declines model performance, peaking at 250 extra categories. The trend suggests that using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance.
170
+
171
+ Table 4. Comparison with previous methods on LVIS val set.
172
+
173
+ <table><tr><td>#Extra Category</td><td>APbox</td><td>APmask</td><td>APbox</td><td>APmask</td></tr><tr><td>0</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>50</td><td>49.92</td><td>44.17</td><td>44.94</td><td>39.86</td></tr><tr><td>250</td><td>50.59</td><td>44.77</td><td>47.99</td><td>42.91</td></tr><tr><td>566</td><td>50.35</td><td>44.63</td><td>47.68</td><td>42.53</td></tr></table>
174
+
175
+ Table 5. Ablation of the number of extra categories during training. Using extra categories to enhance category diversity can improve the model's generalization capabilities, but too many extra categories may mislead the model, leading to a decrease in performance.
176
+
177
+ Effect of prompt diversity. We select a subset of categories and use ChatGPT to generate 32 and 128 prompts for each category, with each prompt being used to generate 8 and 2 images, respectively, ensuring that the image count for each category is $0.25\mathrm{k}$ . The baseline uses only one prompt per category to generate $0.25\mathrm{k}$ images. The regenerated images will replace the corresponding categories in the baseline to
178
+
179
+ ensure that the final data scale is consistent. The results are presented in Table 6. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance.
180
+
181
+ <table><tr><td># Prompt</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>1</td><td>49.65</td><td>44.01</td><td>45.68</td><td>41.11</td></tr><tr><td>32</td><td>50.03</td><td>44.39</td><td>45.83</td><td>41.32</td></tr><tr><td>128</td><td>50.27</td><td>44.50</td><td>46.49</td><td>41.25</td></tr></table>
182
+
183
+ Effect of generative model diversity. We choose two commonly used generative models, Stable Diffusion [20] (SD) and DeepFloyd-IF [22] (IF). We generate 1k images per category for each generative model, totaling 1,200k. When using a mixed dataset $(\mathrm{SD} + \mathrm{IF})$ , we take 600k from SD and 600k from IF per category, respectively, to ensure the total dataset scale is consistent. The baseline does not use any generative data (none). As shown in Table 7, using data generated by either SD or IF alone can improve performance, further mixing the generative data of both leads to significant performance gains. This demonstrates that increasing model diversity is beneficial for improving model performance.
184
+
185
+ Table 6. Ablation of the number of prompts used to generate data. With the increase in prompt diversity, there is a continuous improvement in model performance, indicating that prompt diversity is indeed beneficial for enhancing model performance.
186
+
187
+ <table><tr><td>Model</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>47.50</td><td>42.32</td><td>41.39</td><td>36.83</td></tr><tr><td>SD [20]</td><td>48.13</td><td>42.82</td><td>43.68</td><td>39.15</td></tr><tr><td>IF [22]</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>SD + IF</td><td>50.78</td><td>45.27</td><td>48.94</td><td>44.35</td></tr></table>
188
+
189
+ Effect of annotation strategy. X-Paste [32] uses four models (U2Net [18], SelfReformer [29], UFO [23] and CLIPseg [16]) to generate masks and selects the one with the highest CLIP score. We compare our proposed annotation strategy (SAM-bg) to that proposed by X-Paste (max CLIP). In Table 8, SAM-bg outperforms max CLIP strategy across all metrics, indicating that our proposed strategy can produce better annotations, improving model performance. As shown in Figure 5, SAM-bg unlocks the potential capability of SAM, obtaining precise and refined masks.
190
+
191
+ Effect of CLIP inter-similarity. We compare our proposed CLIP inter-similarity to CLIP score [32]. The results are shown in Table 9. The performance of data filtered by CLIP inter-similarity is higher than that of CLIP score, demonstrating that CLIP inter-similarity can filter low-quality images more effectively.
192
+
193
+ ![](images/97078d8706311e59d5ebbedbc62412fbf54669fc01b097ebb44d589e6a2e1767.jpg)
194
+ Figure 5. Examples of object mask of different annotation strategies. SAM-bg can obtain more complete and delicate masks.
195
+
196
+ Table 7. Ablation of different generative models. Increasing model diversity is beneficial for improving model performance.
197
+
198
+ <table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>max CLIP [32]</td><td>49.10</td><td>43.45</td><td>42.75</td><td>37.55</td></tr><tr><td>SAM-bg</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr></table>
199
+
200
+ Table 8. Ablation of different annotation strategies. Our proposed SAM-bg can produce better annotations, improving model performance.
201
+
202
+ <table><tr><td>Strategy</td><td>APbox</td><td>APmask</td><td>APrbox</td><td>APrmask</td></tr><tr><td>none</td><td>49.44</td><td>43.75</td><td>42.96</td><td>37.91</td></tr><tr><td>CLIP score [32]</td><td>49.84</td><td>44.27</td><td>44.83</td><td>40.82</td></tr><tr><td>CLIP inter-similarity</td><td>50.07</td><td>44.44</td><td>45.53</td><td>41.16</td></tr></table>
203
+
204
+ Table 9. Ablation of the different filtration strategies. Our proposed CLIP inter-similarity can filter low-quality images more effectively.
205
+
206
+ # 5. Conclusions
207
+
208
+ In this paper, we explain the role of generative data augmentation from the perspective of data distribution discrepancies and find that generative data can expand the data distribution that the model can learn, mitigating overfitting the training set. Furthermore, we find that data diversity of generative data is crucial for improving model performance. Therefore, we design an efficient data diversity enhancement strategy, Generative Data Diversity Enhancement. We design various diversity enhancement strategies to increase data diversity from the aspects of category diversity, prompt diversity, and generative model diversity. Finally, we optimize the data generative pipeline by designing the annotation strategy SAM-background to obtain higher quality annotations and introducing the metric CLIP inter-similarity to filter data, which further improves the quality of the generative dataset. Through these designed strategies, our proposed method significantly outperforms the existing strong models. We hope DiverGen can provide new insights and inspirations for future research on the effectiveness and efficiency of generative data augmentation.
209
+
210
+ # Acknowledgments
211
+
212
+ This work was in part supported by National Key R&D Program of China (No. 2022ZD0118700).
213
+
214
+ # References
215
+
216
+ [1] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Proc. Eur. Conf. Comp. Vis. Springer, 2020. 1, 2
217
+ [2] Kai Chen, Enze Xie, Zhe Chen, Lanqing Hong, Zhenguo Li, and Dit-Yan Yeung. Integrating geometric control into text-to-image diffusion models for high-quality detection data generation via text prompt. arXiv: Comp. Res. Repository, 2023. 3
218
+ [3] Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 1290–1299, 2022. 1, 2
219
+ [4] Christiane Fellbaum. Wordnet. In Theory and applications of ontology: computer applications, pages 231-243. Springer, 2010. 4
220
+ [5] Chun-Mei Feng, Kai Yu, Yong Liu, Salman Khan, and Wangmeng Zuo. Diverse data augmentation with diffusions for effective test-time prompt tuning. In Proc. IEEE Int. Conf. Comp. Vis., pages 2704-2714, 2023. 3
221
+ [6] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 2918-2928, 2021. 7
222
+ [7] Agrim Gupta, Piotr Dollar, and Ross Girshick. Lvis: A dataset for large vocabulary instance segmentation. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5356-5364, 2019. 1, 2, 3, 4, 5, 6, 7
223
+ [8] Kaiming He, Georgia Gkioxari, Piotr Dólar, and Ross Girshick. Mask r-cnn. In Proc. IEEE Int. Conf. Comp. Vis., pages 2961-2969, 2017. 1, 2
224
+ [9] KJ Joseph, Salman Khan, Fahad Shahbaz Khan, and Vineeth N Balasubramanian. Towards open world object detection. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 5830-5840, 2021. 3
225
+ [10] James M Joyce. Kullback-leibler divergence. In International Encyclopedia of Statistical Science, pages 720-722. Springer, 2011. 4
226
+ [11] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander Berg, Wan-Yen Lo, et al. Segment anything. In Proc. IEEE Int. Conf. Comp. Vis., pages 4015-4026, 2023. 1, 2, 5
227
+ [12] Daiqing Li, Huan Ling, Seung Wook Kim, Karsten Kreis, Sanja Fidler, and Antonio Torralba. Bigdatasetgan: Synthesizing imagenet with pixel-wise annotations. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 21330-21340, 2022. 3
228
+ [13] Ziyi Li, Qinye Zhou, Xiaoyun Zhang, Ya Zhang, Yanfeng Wang, and Weidi Xie. Open-vocabulary object segmentation with diffusion models. In Proc. IEEE Int. Conf. Comp. Vis., pages 7667-7676, 2023. 3
229
+ [14] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In Proc. Eur. Conf. Comp. Vis., pages 740-755. Springer, 2014. 6
230
+
231
+ [15] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proc. IEEE Int. Conf. Comp. Vis., pages 10012-10022, 2021. 6, 7
232
+ [16] Timo Lüddecke and Alexander Ecker. Image segmentation using text and image prompts. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 7086-7096, 2022. 8
233
+ [17] Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv: Comp. Res. Repository, 2018. 3
234
+ [18] Xuebin Qin, Zichen Zhang, Chenyang Huang, Masood Dehghan, Osmar R Zaiane, and Martin Jagersand. U2-net: Going deeper with nested u-structure for salient object detection. Pattern Recognition, 106:107404, 2020. 8
235
+ [19] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In Proc. Int. Conf. Mach. Learn., pages 8748-8763. PMLR, 2021. 2, 3, 5
236
+ [20] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10684-10695, 2022. 1, 2, 3, 5, 8
237
+ [21] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision, 115: 211-252, 2015. 2, 4, 5, 7
238
+ [22] Alex Shonenkov, Misha Konstantinov, Daria Bakshandaeva, Christoph Schuhmann, Ksenia Ivanova, and Nadija Klokova. Deepfloyd-if, 2023. 1, 2, 3, 5, 6, 8
239
+ [23] Yukun Su, Jingliang Deng, Ruizhou Sun, Guosheng Lin, Hanjing Su, and Qingyao Wu. A unified transformer framework for group-based segmentation: Co-segmentation, co-saliency detection and video salient object detection. IEEE Trans. Multimedia, 2023. 8
240
+ [24] Jingru Tan, Gang Zhang, Hanming Deng, Changbao Wang, Lewei Lu, Quanquan Li, and Jifeng Dai. 1st place solution of LVIS challenge 2020: A good box is not a guarantee of a good mask. arXiv: Comp. Res. Repository, 2020. 7
241
+ [25] Weijia Wu, Yuzhong Zhao, Hao Chen, Yuchao Gu, Rui Zhao, Yefei He, Hong Zhou, Mike Zheng Shou, and Chunhua Shen. DatasetDM: Synthesizing data with perception annotations using diffusion models. Proc. Advances in Neural Inf. Process. Syst., 2023. 1, 3
242
+ [26] Weijia Wu, Yuzhong Zhao, Mike Zheng Shou, Hong Zhou, and Chunhua Shen. Diffumask: Synthesizing images with pixel-level annotations for semantic segmentation using diffusion models. Proc. IEEE Int. Conf. Comp. Vis., 2023. 1, 3
243
+ [27] Jiahao Xie, Wei Li, Xiangtai Li, Ziwei Liu, Yew Soon Ong, and Chen Change Loy. Mosaicfusion: Diffusion models as data augmenters for large vocabulary instance segmentation. arXiv: Comp. Res. Repository, 2023. 3
244
+
245
+ [28] Lihe Yang, Xiaogang Xu, Bingyi Kang, Yinghuan Shi, and Hengshuang Zhao. FreeMask: Synthetic images with dense annotations make stronger segmentation models. Proc. Advances in Neural Inf. Process. Syst., 2023. 3
246
+ [29] Yi Ke Yun and Weisi Lin. Selfreformer: Self-refined network with transformer for salient object detection. arXiv: Comp. Res. Repository, 2022. 8
247
+ [30] Renrui Zhang, Xiangfei Hu, Bohao Li, Siyuan Huang, Hanqiu Deng, Yu Qiao, Peng Gao, and Hongsheng Li. Prompt, generate, then cache: Cascade of foundation models makes strong few-shot learners. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 15211-15222, 2023. 3
248
+ [31] Yuxuan Zhang, Huan Ling, Jun Gao, Kangxue Yin, Jean-Francois Lafleche, Adela Barriuso, Antonio Torralba, and Sanja Fidler. Dasetgan: Efficient labeled data factory with minimal human effort. In Proc. IEEE Conf. Comp. Vis. Patt. Recogn., pages 10145-10155, 2021. 3
249
+ [32] Hanqing Zhao, Dianmo Sheng, Jianmin Bao, Dongdong Chen, Dong Chen, Fang Wen, Lu Yuan, Ce Liu, Wenbo Zhou, Qi Chu, Weiming Zhang, and Nenghai Yu. X-paste: Revisiting scalable copy-paste for instance segmentation using CLIP and stablediffusion. Proc. Int. Conf. Mach. Learn., 2023. 1, 2, 3, 4, 5, 6, 7, 8
250
+ [33] Xingyi Zhou, Vladlen Koltun, and Philipp Krahenbuhl. Probabilistic two-stage detection. arXiv: Comp. Res. Repository, 2021. 6, 7
251
+ [34] Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krahenbuhl, and Ishan Misra. Detecting twenty-thousand classes using image-level supervision. In Proc. Eur. Conf. Comp. Vis., pages 350-368. Springer, 2022. 7
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e0df247bbe71ddd6d9a9c8cd162e9d069ae2c12be4f4f254ce65000abec90c
3
+ size 524428
2024/DiverGen_ Improving Instance Segmentation by Learning Wider Data Distribution with More Diverse Generative Data/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_content_list.json ADDED
@@ -0,0 +1,1542 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Diversified and Personalized Multi-rater Medical Image Segmentation",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 130,
8
+ 130,
9
+ 841,
10
+ 152
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yicheng Wu $^{1(\\boxtimes),*}$ , Xiangde Luo $^{2,*}$ , Zhe Xu $^{3}$ , Xiaqing Guo $^{4}$ , Lie Ju $^{1}$ , Zongyuan Ge $^{1}$ , Wenjun Liao $^{2}$ , Jianfei Cai $^{1}$",
17
+ "bbox": [
18
+ 148,
19
+ 179,
20
+ 820,
21
+ 215
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "<sup>1</sup>Monash University, <sup>2</sup>University of Electronic Science and Technology of China, <sup>3</sup>The Chinese University of Hong Kong, <sup>4</sup>University of Oxford",
28
+ "bbox": [
29
+ 163,
30
+ 215,
31
+ 803,
32
+ 252
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 233,
42
+ 300,
43
+ 313,
44
+ 316
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Annotation ambiguity due to inherent data uncertainties such as blurred boundaries in medical scans and different observer expertise and preferences has become a major obstacle for training deep-learning based medical image segmentation models. To address it, the common practice is to gather multiple annotations from different experts, leading to the setting of multi-rater medical image segmentation. Existing works aim to either merge different annotations into the \"groundtruth\" that is often unattainable in numerous medical contexts, or generate diverse results, or produce personalized results corresponding to individual expert raters. Here, we bring up a more ambitious goal for multi-rater medical image segmentation, i.e., obtaining both diversified and personalized results. Specifically, we propose a two-stage framework named D-Persona (first Diversification and then Personalization). In Stage I, we exploit multiple given annotations to train a Probabilistic U-Net model, with a bound-constrained loss to improve the prediction diversity. In this way, a common latent space is constructed in Stage I, where different latent codes denote diversified expert opinions. Then, in Stage II, we design multiple attention-based projection heads to adaptively query the corresponding expert prompts from the shared latent space, and then perform the personalized medical image segmentation. We evaluated the proposed model on our in-house Nasopharyngeal Carcinoma dataset and the public lung nodule dataset (i.e., LIDC-IDRI). Extensive experiments demonstrated our D-Persona can provide diversified and personalized results at the same time, achieving new SOTA performance for multi-rater medical image segmentation. Our code will be released at https://github.com/ycwu1997/D-Persona.",
51
+ "bbox": [
52
+ 76,
53
+ 340,
54
+ 472,
55
+ 824
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1. Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 501,
65
+ 286,
66
+ 630,
67
+ 301
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "To build up a powerful computer-aided diagnosis (CAD) system, automatic medical image segmentation is an indispensable step in providing quantitative measurements for interested medical targets [13]. Despite deep-learning based medical image segmentation methods have achieved great progress [9, 12, 46], their deployment in clinical settings [4] remains skeptical since it is still hard for them to accurately segment challenging targets such as the primary gross tumor volume (GTVp) [26, 28], blurred lesions [6, 47] and complex anatomical structures [10, 22].",
74
+ "bbox": [
75
+ 496,
76
+ 311,
77
+ 893,
78
+ 462
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "One key reason lies in the \"annotation ambiguity\", which mainly comes from two aspects: data-level uncertainties and observer-level preferences. The first aspect refers to the inherent uncertainties in the data such as irregular shapes and varied locations of a medical target (e.g., MS lesions [6]) due to its great variability, and blurred boundaries around the target regions caused by limited imaging resolutions in medical scans. These inherent data uncertainties unavoidably affect the process of expert annotations [30], resulting in inconsistent training labels that are likely to confound data-driven segmentation models. The second aspect refers to the diversity in domain expertise and personal preferences among annotators, which leads to a range of interpretations for a single target. In other words, there is no \"absolutely correct label\", which we call meta segment in this work. It has been shown in numerous medical contexts that the meta segment is unattainable [24].",
85
+ "bbox": [
86
+ 496,
87
+ 463,
88
+ 893,
89
+ 718
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "To mitigate the \"annotation ambiguity\", a standard practice in medical settings is to gather multiple annotations from different observers [28, 34], leading to multi-rater medical image segmentation [15] (see Fig. 1 Top-left). The existing works dealing with medical multi-rater annotations can be generally categorized into three groups: crowdsourcing methods, generation methods, and personalization methods, each aligning with a different objective: becoming meta expert, implicit experts, or explicit experts (Fig. 1 Top-right). In particular, the crowdsourcing methods [44] (Fig. 1 Middle-left) assume there exists one and only one meta segment and combining multiple annotations can ap-",
96
+ "bbox": [
97
+ 496,
98
+ 719,
99
+ 895,
100
+ 902
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "header",
106
+ "text": "CVF",
107
+ "bbox": [
108
+ 106,
109
+ 2,
110
+ 181,
111
+ 42
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "header",
117
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
118
+ "bbox": [
119
+ 236,
120
+ 0,
121
+ 810,
122
+ 46
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "page_footnote",
128
+ "text": "* Equal Contribution. Correspondence to yicheng.wu@monash.edu. This research is supported by the Monash FIT Start-up Grant.",
129
+ "bbox": [
130
+ 76,
131
+ 875,
132
+ 467,
133
+ 900
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "page_number",
139
+ "text": "11470",
140
+ "bbox": [
141
+ 480,
142
+ 944,
143
+ 519,
144
+ 955
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "image",
150
+ "img_path": "images/53f4db36d1a224e11a8d3a8dcfe9a84886dd1798abff6468c4c1792a0686a9f5.jpg",
151
+ "image_caption": [
152
+ "Figure 1. Overview of scheme designs in multi-rater medical image segmentation. Top: problem setting and expected objectives (i.e., meta, implicit, or explicit experts); Middle: existing methods including crowdsourcing, generation, and one-stage personalization; Bottom: our proposed two-stage framework, providing both diversified and specifically personalized segmentation simultaneously."
153
+ ],
154
+ "image_footnote": [],
155
+ "bbox": [
156
+ 89,
157
+ 89,
158
+ 883,
159
+ 393
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "proach it. The generation methods [18, 34] (Fig. 1 Middle) aim to generate diversified outputs, providing varying and plausible expert opinions as in the specialist consultation or case conference. Their generated segment set is implicit and unordered. The personalization methods [23, 36, 48] (Fig. 1 Middle-right) are recent ones, aiming to generate the explicit segment set, i.e., the corresponding expert results, which enables the tracking and analysis of individual raters' performance and preferences, so as to enhance the efficacy of quality control and clinical training.",
166
+ "bbox": [
167
+ 75,
168
+ 479,
169
+ 468,
170
+ 630
171
+ ],
172
+ "page_idx": 1
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "Given the interrelated nature and distinct values of both implicit and explicit segment sets in the medical domain [28, 40], we are prompted to ask: \"Can we achieve the goals of both generation and personalization methods, i.e., producing both diversified and personalized results in multirater medical image segmentation?\" To achieve this goal, in this paper, we propose a two-stage framework D-Persona, as shown in Fig. 1 Bottom. Our basic idea is to divide the task into two stages. Stage I focuses on learning a common latent space to capture the annotation variability, which can be drawn to generate diversified results as potential expert opinions. On the other hand, Stage II focuses on generating personalized segmentation results by reusing the learned latent space in Stage I and extracting the corresponding expert prompts from it.",
177
+ "bbox": [
178
+ 75,
179
+ 635,
180
+ 470,
181
+ 862
182
+ ],
183
+ "page_idx": 1
184
+ },
185
+ {
186
+ "type": "text",
187
+ "text": "Our major contributions can be summarized as follows.",
188
+ "bbox": [
189
+ 94,
190
+ 866,
191
+ 462,
192
+ 881
193
+ ],
194
+ "page_idx": 1
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "- We set a new grand goal for multi-rater medical image",
199
+ "bbox": [
200
+ 76,
201
+ 885,
202
+ 470,
203
+ 901
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "segmentation, i.e., aiming to generate diverse expert opinions and personalized results simultaneously. We propose a novel unified two-stage framework to address the diversity and personalization requirements, respectively.",
210
+ "bbox": [
211
+ 511,
212
+ 479,
213
+ 890,
214
+ 539
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "list",
220
+ "sub_type": "text",
221
+ "list_items": [
222
+ "- In Stage I, we propose a bound-constrained training loss, which predicts the intersections and unions of annotations and introduces flexibility in uncertain areas. This substantially enhances segmentation diversity and increases the variety in the latent space.",
223
+ "- In Stage II, we introduce an attention-based projection mechanism for personalized medical image segmentation, which can adaptively query expert prompts from the shared latent space.",
224
+ "- Extensive experiments on two datasets demonstrate our proposed framework can provide diversified and personalized segmentation results simultaneously, setting new state-of-the-art (SOTA) performance for multi-rater medical image segmentation."
225
+ ],
226
+ "bbox": [
227
+ 500,
228
+ 539,
229
+ 890,
230
+ 750
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "2. Related work",
237
+ "text_level": 1,
238
+ "bbox": [
239
+ 500,
240
+ 765,
241
+ 635,
242
+ 780
243
+ ],
244
+ "page_idx": 1
245
+ },
246
+ {
247
+ "type": "text",
248
+ "text": "In this section, we review existing multi-rater medical image segmentation methods as well as noisy learning works that are related to annotation ambiguity.",
249
+ "bbox": [
250
+ 498,
251
+ 791,
252
+ 890,
253
+ 837
254
+ ],
255
+ "page_idx": 1
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "2.1. Crowdsourcing-based Segmentation",
260
+ "text_level": 1,
261
+ "bbox": [
262
+ 500,
263
+ 845,
264
+ 812,
265
+ 863
266
+ ],
267
+ "page_idx": 1
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "Crowdsourcing [31] is a common solution to reduce the expensive annotation costs by eliciting imperfect labels from",
272
+ "bbox": [
273
+ 498,
274
+ 869,
275
+ 890,
276
+ 901
277
+ ],
278
+ "page_idx": 1
279
+ },
280
+ {
281
+ "type": "page_number",
282
+ "text": "11471",
283
+ "bbox": [
284
+ 480,
285
+ 944,
286
+ 517,
287
+ 955
288
+ ],
289
+ "page_idx": 1
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "crowds. In medical scenarios, crowdsourced labels can be collected from junior medical students and are usually quite noisy. To facilitate the model training, crowdsourcing methods [20, 39] typically adopt several label-fusing strategies to achieve consensus and reduce noise, e.g., the conventional majority-voting strategy. However, this intuitive way ignores the annotators' differences either in domain expertise or personal preferences. Therefore, the Simultaneous Truth and Performance Level Estimation (STAPLE) [44] was further proposed to utilize the annotators' performance as weights to fuse crowdsourced labels, which is a more convincing way. It has been widely used in many medical tasks [27] to produce the \"golden standard\".",
294
+ "bbox": [
295
+ 75,
296
+ 90,
297
+ 472,
298
+ 287
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "Nevertheless, in numerous medical contexts, there is no such golden standard and the meta segmentation remains elusive [20] as in the case of challenging GTVp delineation. Thus, recent multi-rater image segmentation efforts have shifted the focus to generate either diversified implicit or personalized explicit segments, instead of the meta segment. Note that, there are also other methods, not aiming for explicit meta segments. For example, MAX-MIG [5] proposed to maximize the mutual information between the input data and crowdsourced labels for the model training. To better represent the expert disagreements, randomly selecting a label for training rather than using consensus could achieve better model calibration performance [14, 17].",
305
+ "bbox": [
306
+ 75,
307
+ 287,
308
+ 472,
309
+ 484
310
+ ],
311
+ "page_idx": 2
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "2.2. Generation-based Segmentation",
316
+ "text_level": 1,
317
+ "bbox": [
318
+ 76,
319
+ 494,
320
+ 361,
321
+ 511
322
+ ],
323
+ "page_idx": 2
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "Various generative techniques have emerged for medical tasks [7]. For example, [41] used generative adversarial networks (GANs) to synthesize missing brain modalities, significantly improving the diagnosis performance. In terms of segmentation, Probabilistic U-Net [18] proposed a conditional Variational Autoencoder (cVAE) for ambiguous medical image segmentation, which learns a latent space to represent the segmentation ambiguity. To increase the segmentation diversity, multi-scale improvements [2, 19] were proposed to enhance the original architecture. Moreover, [34] used a powerful diffusion-based model for ambiguous medical image segmentation, achieving superior performance.",
328
+ "bbox": [
329
+ 75,
330
+ 518,
331
+ 468,
332
+ 699
333
+ ],
334
+ "page_idx": 2
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Despite the progress, these methods mainly focus on generating diversified implicit segmentation results and they are unable to achieve personalized segmentation. In contrast, our work focuses on generating both diversified and personalized segments in a unified way.",
339
+ "bbox": [
340
+ 75,
341
+ 700,
342
+ 468,
343
+ 776
344
+ ],
345
+ "page_idx": 2
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "2.3. One-stage Personalization Segmentation",
350
+ "text_level": 1,
351
+ "bbox": [
352
+ 76,
353
+ 786,
354
+ 423,
355
+ 801
356
+ ],
357
+ "page_idx": 2
358
+ },
359
+ {
360
+ "type": "text",
361
+ "text": "Personalized segmentation directly incorporates expert preferences into the model training process [48]. For example, [15] used an explicit expertness code to denote the modified training labels. [23] employed learnable queries to represent corresponding expert annotations. Furthermore, [36] constructed several normal distributions with learnable",
362
+ "bbox": [
363
+ 75,
364
+ 810,
365
+ 470,
366
+ 902
367
+ ],
368
+ "page_idx": 2
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "parameters to represent the inter- and intra-observer variability. All these one-stage works strive for a one-to-one correspondence in multi-rater medical image segmentation. Conversely, our proposed D-Persona model not only delivers improved personalized results but also captures a variety of expert segmentation opinions.",
373
+ "bbox": [
374
+ 496,
375
+ 90,
376
+ 890,
377
+ 183
378
+ ],
379
+ "page_idx": 2
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "2.4. Noisy Learning",
384
+ "text_level": 1,
385
+ "bbox": [
386
+ 498,
387
+ 193,
388
+ 655,
389
+ 209
390
+ ],
391
+ "page_idx": 2
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "Label noise is highly related to annotation ambiguity [38]. The common practice for performing noisy learning can be divided into two categories: (1) detecting label noise and then rectifying the training samples; and (2) developing a noise-robust framework from noisy distribution. For example, in the first category, the noise transition matrix [8, 25, 29, 33] can be estimated and used to build a statistically consistent classifier with the inferred clean distribution. Also, sample selection works [16, 21, 32, 45] were proposed to design effective selection strategies to detect and reduce the impact of noisy samples during the training. For the second category, noise-robust frameworks are developed with a variety of robust loss functions [11, 43, 49] and modified architecture designs [37, 51], which focus on the adaptive training from the original distribution.",
396
+ "bbox": [
397
+ 496,
398
+ 217,
399
+ 890,
400
+ 444
401
+ ],
402
+ "page_idx": 2
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "In contrast, similar to the recent efforts [23, 36] in multiter medical image segmentation, we do not consider label noise here. Instead, we consider label diversity caused by different expert preferences and inherent data uncertainty, aiming to model the diversity and personalize the results.",
407
+ "bbox": [
408
+ 496,
409
+ 444,
410
+ 890,
411
+ 520
412
+ ],
413
+ "page_idx": 2
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "3. Methods",
418
+ "text_level": 1,
419
+ "bbox": [
420
+ 500,
421
+ 535,
422
+ 599,
423
+ 550
424
+ ],
425
+ "page_idx": 2
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "Fig. 2 shows the overall pipeline of our proposed D-Persona framework for multi-rater medical image segmentation, which consists of two major stages. Stage I aims to learn a common latent space from $n$ experts' annotations $A_{set} = \\{A_1,\\dots ,A_n\\}$ , which can then be sampled to generate diverse segmentation results. We use the Probabilistic U-Net [18] as the baseline, including a U-Net backbone $F_{\\theta}^{b}$ for feature extraction, a prediction head $F_{\\theta}^{head}$ for the mapping from the latent space to segmentation results, and two separate encoders $F_{\\theta}^{prior}$ and $F_{\\theta}^{post}$ for the prior and posterior distribution generations, respectively. Stage II aims to find specific expert prompts in the latent space corresponding to the $n$ experts for personalized segmentation, where we learn $n$ individual projection heads $F_{\\theta i}^{proj}, i = \\{1,\\dots ,n\\}$ , while reusing $F_{\\theta}^{b}, F_{\\theta}^{prior}$ and $F_{\\theta}^{head}$ trained in Stage I.",
430
+ "bbox": [
431
+ 496,
432
+ 561,
433
+ 890,
434
+ 792
435
+ ],
436
+ "page_idx": 2
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "3.1. Stage I: Diversified Segmentation",
441
+ "text_level": 1,
442
+ "bbox": [
443
+ 498,
444
+ 801,
445
+ 792,
446
+ 816
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "In the conventional Probabilistic U-Net model [18], there are two separate parts to achieve diversified segmentation. In the first part, the input $X$ alone is first used to generate the prior distribution $\\mathbb{D}^{prior}(X)$ , which is set as a multivariate normal distribution with a diagonal covariance ma",
453
+ "bbox": [
454
+ 496,
455
+ 824,
456
+ 890,
457
+ 902
458
+ ],
459
+ "page_idx": 2
460
+ },
461
+ {
462
+ "type": "page_number",
463
+ "text": "11472",
464
+ "bbox": [
465
+ 478,
466
+ 944,
467
+ 519,
468
+ 957
469
+ ],
470
+ "page_idx": 2
471
+ },
472
+ {
473
+ "type": "image",
474
+ "img_path": "images/4dc01f8ba8bf1aaa31e109a9d007c41b7e4d3f7e011aa6dc92a3f2de4530be6e.jpg",
475
+ "image_caption": [
476
+ "Figure 2. Pipeline of our proposed D-Persona framework for multi-rater medical image segmentation. Left: Stage I is designed to construct a common latent space where different latent codes lead to diversified segmentation results; Right: Stage II performs the personalized segmentation by individual projection heads to mimic the corresponding expert raters."
477
+ ],
478
+ "image_footnote": [],
479
+ "bbox": [
480
+ 84,
481
+ 90,
482
+ 524,
483
+ 314
484
+ ],
485
+ "page_idx": 3
486
+ },
487
+ {
488
+ "type": "image",
489
+ "img_path": "images/75bf3215bc1086935554bb6a6047f8a7299ec6e230f7542efa9db23cc1ff955f.jpg",
490
+ "image_caption": [],
491
+ "image_footnote": [],
492
+ "bbox": [
493
+ 526,
494
+ 90,
495
+ 883,
496
+ 314
497
+ ],
498
+ "page_idx": 3
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "trix, denoted as $\\mathcal{N}(\\mu^{prior},\\sigma^{prior})$ . The posterior distribution $\\mathbb{D}^{post}(X,A_{set}) = \\mathcal{N}(\\mu^{post},\\sigma^{post})$ is defined as the joint distribution of $X$ and all annotations $A_{set}$ . The corresponding mean values and variances are obtained as",
503
+ "bbox": [
504
+ 75,
505
+ 396,
506
+ 468,
507
+ 457
508
+ ],
509
+ "page_idx": 3
510
+ },
511
+ {
512
+ "type": "equation",
513
+ "text": "\n$$\n\\mu^ {p r i o r}, \\sigma^ {p r i o r} = F _ {\\theta} ^ {p r i o r} (X),\n$$\n",
514
+ "text_format": "latex",
515
+ "bbox": [
516
+ 189,
517
+ 465,
518
+ 383,
519
+ 483
520
+ ],
521
+ "page_idx": 3
522
+ },
523
+ {
524
+ "type": "equation",
525
+ "text": "\n$$\n\\mu^ {p o s t.}, \\sigma^ {p o s t.} = F _ {\\theta} ^ {p o s t.} (X, A _ {s e t}), \\tag {1}\n$$\n",
526
+ "text_format": "latex",
527
+ "bbox": [
528
+ 161,
529
+ 483,
530
+ 468,
531
+ 503
532
+ ],
533
+ "page_idx": 3
534
+ },
535
+ {
536
+ "type": "text",
537
+ "text": "where $F_{\\theta}^{prior}$ and $F_{\\theta}^{post}$ are two learnable neural encoders as shown in Fig. 2 (Left-top). Here, $X$ and $A_{set}$ are concatenated together along the channel axis as the inputs of $F_{\\theta}^{post}$ . A common Kullback-Leibler divergence (KL) loss is used to align the two distributions:",
538
+ "bbox": [
539
+ 76,
540
+ 513,
541
+ 468,
542
+ 589
543
+ ],
544
+ "page_idx": 3
545
+ },
546
+ {
547
+ "type": "equation",
548
+ "text": "\n$$\n\\mathcal {L} _ {k l} = K L \\left(\\mathbb {D} ^ {\\text {p r i o r}} (X), \\mathbb {D} ^ {\\text {p o s t .}} \\left(X, A _ {\\text {s e t}}\\right)\\right). \\tag {2}\n$$\n",
549
+ "text_format": "latex",
550
+ "bbox": [
551
+ 133,
552
+ 597,
553
+ 468,
554
+ 614
555
+ ],
556
+ "page_idx": 3
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "Then, the second part is for the target generation. Given a posterior distribution $\\mathbb{D}^{post}$ , we randomly sample a latent code $z_{random}^{post} \\in \\mathbb{R}^{D \\times 1 \\times 1}$ , which is further scaled to $\\hat{z}_{random}^{post} \\in \\mathbb{R}^{D \\times H \\times W}$ as the image size. Here, $D$ is the dimension of all latent codes. We then concatenate the scaled latent code and U-Net features together and feed them into a prediction head $F_{\\theta}^{head}$ to generate the segmentation result:",
561
+ "bbox": [
562
+ 76,
563
+ 622,
564
+ 468,
565
+ 731
566
+ ],
567
+ "page_idx": 3
568
+ },
569
+ {
570
+ "type": "equation",
571
+ "text": "\n$$\nP ^ {p o s t.} = F _ {\\theta} ^ {h e a d} \\left(\\hat {z} _ {\\text {r a n d o m}} ^ {p o s t.}, F _ {\\theta} ^ {b} (X)\\right). \\tag {3}\n$$\n",
572
+ "text_format": "latex",
573
+ "bbox": [
574
+ 153,
575
+ 736,
576
+ 468,
577
+ 755
578
+ ],
579
+ "page_idx": 3
580
+ },
581
+ {
582
+ "type": "text",
583
+ "text": "Since we do not have the correspondence between $\\hat{z}_{random}^{post}$ and the label, we randomly select an annotation $A_{random}$ from $A_{set}$ as [14, 17], and supervise the model training with a segmentation loss (i.e., Dice loss as [36]):",
584
+ "bbox": [
585
+ 76,
586
+ 762,
587
+ 468,
588
+ 823
589
+ ],
590
+ "page_idx": 3
591
+ },
592
+ {
593
+ "type": "equation",
594
+ "text": "\n$$\n\\mathcal {L} _ {\\text {s e g}} ^ {\\text {r a n d .}} = D S C \\left(P ^ {\\text {p o s t .}}, A _ {\\text {r a n d o m}}\\right). \\tag {4}\n$$\n",
595
+ "text_format": "latex",
596
+ "bbox": [
597
+ 155,
598
+ 829,
599
+ 468,
600
+ 849
601
+ ],
602
+ "page_idx": 3
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "Following [36], we exploit a re-parameterization trick to sample $z_{random}^{post}$ from the posterior distribution $\\mathbb{D}^{post}$ . so as to back-propagate the gradients for the model training.",
607
+ "bbox": [
608
+ 76,
609
+ 854,
610
+ 468,
611
+ 901
612
+ ],
613
+ "page_idx": 3
614
+ },
615
+ {
616
+ "type": "text",
617
+ "text": "Nevertheless, the prediction diversity of such a conventional design is limited [2, 19]. To address this, inspired by [50] that leverages the prior distribution with a complementary task to improve the diversity of image inpainting, we propose a bound prediction task as the complement and also involve the prior distribution into the segmentation training. Specifically, the intersection and union (i.e., $A_{\\text{bound}} = \\{A_{\\text{inter}}, A_{\\text{union}}\\}$ ) of the annotation set are calculated as supervision labels. Then, by sampling $K$ latent codes from the prior distribution $\\mathbb{D}^{prior}$ , we can obtain $K$ segmentation results and their intersection and union as $P_{\\text{bound}}^{prior} = \\{P_{\\text{inter}}^{prior}, P_{\\text{union}}^{prior}\\}$ , based on which we can compute the complementary segmentation loss:",
618
+ "bbox": [
619
+ 498,
620
+ 397,
621
+ 890,
622
+ 594
623
+ ],
624
+ "page_idx": 3
625
+ },
626
+ {
627
+ "type": "equation",
628
+ "text": "\n$$\n\\mathcal {L} _ {\\text {b o u n d}} = D S C \\left(P _ {\\text {i n t e r .}} ^ {\\text {p r i o r}}, A _ {\\text {i n t e r .}}\\right) + D S C \\left(P _ {\\text {u n i o n}} ^ {\\text {p r i o r}}, A _ {\\text {u n i o n}}\\right). \\tag {5}\n$$\n",
629
+ "text_format": "latex",
630
+ "bbox": [
631
+ 500,
632
+ 604,
633
+ 888,
634
+ 637
635
+ ],
636
+ "page_idx": 3
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "Overall, the model in Stage I is trained by a weighted sum of $\\mathcal{L}_{kl}$ , $\\mathcal{L}_{seg}^{rand}$ and $\\mathcal{L}_{bound}$ as:",
641
+ "bbox": [
642
+ 500,
643
+ 638,
644
+ 890,
645
+ 670
646
+ ],
647
+ "page_idx": 3
648
+ },
649
+ {
650
+ "type": "equation",
651
+ "text": "\n$$\n\\mathcal {L} _ {\\text {s t a g e 1}} = \\mathcal {L} _ {k l} + \\alpha \\times \\mathcal {L} _ {\\text {s e g}} ^ {\\text {r a n d .}} + \\beta \\times \\mathcal {L} _ {\\text {b o u n d}}, \\tag {6}\n$$\n",
652
+ "text_format": "latex",
653
+ "bbox": [
654
+ 547,
655
+ 683,
656
+ 890,
657
+ 702
658
+ ],
659
+ "page_idx": 3
660
+ },
661
+ {
662
+ "type": "text",
663
+ "text": "where $\\alpha$ and $\\beta$ are two hyperparameters to balance the three losses. Such a design has several advantages: (1) we relax the predictions in uncertain regions to facilitate more diversified results; (2) the prior distribution is being trained anyway and we do not introduce any new model parameters; (3) the design is flexible and can be easily combined with other advanced model architectures [2, 19].",
664
+ "bbox": [
665
+ 498,
666
+ 713,
667
+ 890,
668
+ 819
669
+ ],
670
+ "page_idx": 3
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "3.2. Stage II: Personalized Segmentation",
675
+ "text_level": 1,
676
+ "bbox": [
677
+ 500,
678
+ 830,
679
+ 813,
680
+ 847
681
+ ],
682
+ "page_idx": 3
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "Once Stage I learns a common latent space that can produce diversified and plausible segmentation predictions, the purpose of Stage II is to find specific expert prompts in the",
687
+ "bbox": [
688
+ 498,
689
+ 854,
690
+ 890,
691
+ 901
692
+ ],
693
+ "page_idx": 3
694
+ },
695
+ {
696
+ "type": "page_number",
697
+ "text": "11473",
698
+ "bbox": [
699
+ 478,
700
+ 944,
701
+ 517,
702
+ 955
703
+ ],
704
+ "page_idx": 3
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "latent space that correspond to the individual expert annotators. As shown in Fig. 2 (Right), our idea is to employ $n$ individual projection heads to generate $n$ expert prompts from the U-Net features $F_{\\theta}^{b}(X)$ as",
709
+ "bbox": [
710
+ 75,
711
+ 90,
712
+ 468,
713
+ 154
714
+ ],
715
+ "page_idx": 4
716
+ },
717
+ {
718
+ "type": "equation",
719
+ "text": "\n$$\nz _ {i} ^ {e x p.} = \\operatorname {P o o l i n g} \\left[ F _ {\\theta i} ^ {p r o j.} \\left(F _ {\\theta} ^ {b} (X) \\right], i = 1, \\dots , n \\right. \\tag {7}\n$$\n",
720
+ "text_format": "latex",
721
+ "bbox": [
722
+ 104,
723
+ 160,
724
+ 468,
725
+ 179
726
+ ],
727
+ "page_idx": 4
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "where $z_{i}^{exp.} \\in \\mathbb{R}^{D \\times 1 \\times 1}$ denotes the specific latent code relevant for the $i$ -th expert. It is obtained via a global average pooling operation for the 2D outputs of the $i$ -th projection head $F_{\\theta i}^{proj.}$ , to capture global annotation characteristics.",
732
+ "bbox": [
733
+ 75,
734
+ 184,
735
+ 468,
736
+ 246
737
+ ],
738
+ "page_idx": 4
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "Then, to ensure all generated expert prompts are in the learned common latent space, we further introduce a cross-attention operation to map $z_{i}^{exp.}$ into $\\tilde{z}_{i}^{exp.}$ . In particular, we first randomly sample $M$ latent codes from the fixed prior distribution $D^{prior}$ as a prior bank $z_{bank}^{prior} \\in \\mathbb{R}^{D \\times 1 \\times M}$ . We then use $z_{i}^{exp.}$ as the query and $z_{bank}^{prior}$ as the key and value for cross-attention:",
743
+ "bbox": [
744
+ 75,
745
+ 246,
746
+ 468,
747
+ 353
748
+ ],
749
+ "page_idx": 4
750
+ },
751
+ {
752
+ "type": "equation",
753
+ "text": "\n$$\n\\tilde {z} _ {i} ^ {e x p.} = \\operatorname {S o f t m a x} \\left(z _ {i} ^ {e x p. \\top} \\cdot z _ {\\text {b a n k}} ^ {\\text {p r i o r}}\\right) \\cdot z _ {\\text {b a n k}} ^ {\\text {p r i o r}} ^ {\\top}. \\tag {8}\n$$\n",
754
+ "text_format": "latex",
755
+ "bbox": [
756
+ 120,
757
+ 358,
758
+ 468,
759
+ 380
760
+ ],
761
+ "page_idx": 4
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "In this way, $\\tilde{z}_i^{exp.}$ is constrained into the frozen prior distribution $D^{prior}(X)$ , with respect to the input $X$ . After that, we use the fixed $F_{\\theta}^{head}$ to transform the expert prompt into the final segmentation result $P_i^{exp.}$ , which is used to compare with the corresponding expert annotation $A_i$ for computing the segmentation loss as",
766
+ "bbox": [
767
+ 75,
768
+ 387,
769
+ 468,
770
+ 479
771
+ ],
772
+ "page_idx": 4
773
+ },
774
+ {
775
+ "type": "equation",
776
+ "text": "\n$$\n\\mathcal {L} _ {\\text {s e g}} ^ {\\text {c o r r .}} = \\sum_ {i = 1} ^ {n} D S C \\left(P _ {i} ^ {\\text {e x p .}}, A _ {i}\\right) \\tag {9}\n$$\n",
777
+ "text_format": "latex",
778
+ "bbox": [
779
+ 179,
780
+ 484,
781
+ 468,
782
+ 523
783
+ ],
784
+ "page_idx": 4
785
+ },
786
+ {
787
+ "type": "equation",
788
+ "text": "\n$$\ns. t., P _ {i} ^ {e x p.} = F _ {\\theta} ^ {h e a d} \\left(\\hat {z} _ {i} ^ {e x p.}, F _ {\\theta} ^ {b} (X)\\right),\n$$\n",
789
+ "text_format": "latex",
790
+ "bbox": [
791
+ 153,
792
+ 526,
793
+ 392,
794
+ 546
795
+ ],
796
+ "page_idx": 4
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "where $\\hat{z}_i^{exp.}$ is the scaled version of $\\tilde{z}_i^{exp.}$ . Note that, $\\mathcal{L}_{seg}^{corr.}$ is only used to train the $n$ projection heads, while other modules are fixed in Stage II. This design principle of our Stage II personalized segmentation part is general and can be extended into other powerful generative methods [34].",
801
+ "bbox": [
802
+ 75,
803
+ 551,
804
+ 468,
805
+ 628
806
+ ],
807
+ "page_idx": 4
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "4. Experiments and Results",
812
+ "text_level": 1,
813
+ "bbox": [
814
+ 76,
815
+ 641,
816
+ 310,
817
+ 657
818
+ ],
819
+ "page_idx": 4
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "4.1. Dataset",
824
+ "text_level": 1,
825
+ "bbox": [
826
+ 76,
827
+ 665,
828
+ 171,
829
+ 680
830
+ ],
831
+ "page_idx": 4
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "We evaluate our method on the two segmentation datasets: our in-house dataset (NPC-170) and the public lung nodule segmentation dataset (LIDC-IDRI) [1].",
836
+ "bbox": [
837
+ 75,
838
+ 688,
839
+ 468,
840
+ 734
841
+ ],
842
+ "page_idx": 4
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "The NPC-170 dataset contains 170 subjects with Nasopharyngeal Carcinoma in three Magnetic Resonance Imaging (MRI) contrasts (T1, T1-Contrast, and T2). For each sample, four senior radiologists from different locations (with experiences of around 5-10 years) individually annotated the GTVp of Nasopharyngeal Carcinoma. We divide the 170 subjects into separate training, validation, and testing sets (i.e., 100, 20, and 50 subjects, respectively). 2D medical image segmentation is employed in the experiments and, in total, there are 6134, 1126, and 3058 slices for the model training, validation, and testing, respectively.",
847
+ "bbox": [
848
+ 75,
849
+ 734,
850
+ 468,
851
+ 901
852
+ ],
853
+ "page_idx": 4
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "The LIDC-IDRI dataset contains 1609 2D thoracic CT scans belonging to 214 subjects. Each scan is equipped with four binary masks to indicate the lung nodule. Note that, 12 radiologists participated in the annotation process [1]. To simulate the expert preferences, we manually rank the areas of four provided annotations, as the setting in [48]. In this way, the first expert is supposed to be conservative in the sense of only annotating the minimum regions while the fourth expert prefers to annotate any suspicious lung nodule area, i.e., producing the largest annotation regions. Following [42], a four-fold cross-validation setting at the patient level is used in the experiments.",
858
+ "bbox": [
859
+ 496,
860
+ 90,
861
+ 890,
862
+ 272
863
+ ],
864
+ "page_idx": 4
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "4.2. Implementation Details",
869
+ "text_level": 1,
870
+ "bbox": [
871
+ 498,
872
+ 281,
873
+ 718,
874
+ 297
875
+ ],
876
+ "page_idx": 4
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "The inputs from both the NPC-170 and LIDC-IDRI datasets are center-cropped into a fixed size of $128 \\times 128$ . Then, for the samples on NPC-170, we normalize them into zero mean and unit variance. Random flips, rotation, or adding random noise are applied to augment the training data. On the LIDC-IDRI dataset, we follow [42] to perform the data pre-processing and use the common flip and rotation operations to augment the samples on the LIDC-IDRI dataset.",
881
+ "bbox": [
882
+ 496,
883
+ 303,
884
+ 890,
885
+ 425
886
+ ],
887
+ "page_idx": 4
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "For the model training, we adopt the Adam optimizer with an initial learning rate of 1e-4. The loss weight $\\alpha$ and the distribution dimension $D$ are set as 1 and 6, as [36]. The overall training epochs are 300, including 100 epochs for Stage I and 200 epochs for Stage II. The size of $z_{bank}^{prior}$ , i.e., $M$ is set as 100. $K$ and $\\beta$ are set as 10 and 0.5, which will be discussed in Section 5.2. An L2-regularization term is also used to avoid over-fitting as [18, 36]. All experiments are conducted in an identical environment with a single NVIDIA GeForce RTX 3090 GPU. The overall number of parameters is 28.46 M and the projection head is relatively lightweight (i.e., 22.03 K for each head).",
892
+ "bbox": [
893
+ 496,
894
+ 425,
895
+ 890,
896
+ 606
897
+ ],
898
+ "page_idx": 4
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "4.3. Evaluation Metrics",
903
+ "text_level": 1,
904
+ "bbox": [
905
+ 498,
906
+ 614,
907
+ 683,
908
+ 628
909
+ ],
910
+ "page_idx": 4
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "Considering our D-Persona model consists of two stages: diversified and personalized segmentation, we thus evaluate them separately. First, we use two common set-to-set metrics for the diversity estimation, i.e., the Generalized Energy Distance $GED$ [3, 18] and the soft Dice score $Dice_{soft}$ [15, 42]. The former is used to measure the prediction diversity and the latter indicates the reliability of different generated results. Specifically, $GED$ is defined as",
915
+ "bbox": [
916
+ 496,
917
+ 638,
918
+ 890,
919
+ 758
920
+ ],
921
+ "page_idx": 4
922
+ },
923
+ {
924
+ "type": "equation",
925
+ "text": "\n$$\nG E D = 2 \\mathbb {E} [ d (P, A) ] - \\mathbb {E} [ d (P, P ^ {\\prime}) ] - \\mathbb {E} [ d (A, A ^ {\\prime}) ], \\tag {10}\n$$\n",
926
+ "text_format": "latex",
927
+ "bbox": [
928
+ 509,
929
+ 768,
930
+ 890,
931
+ 785
932
+ ],
933
+ "page_idx": 4
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "where $P$ , $P'$ and $A$ , $A'$ are independent samples from the prediction set $P_{set}$ and annotation set $A_{set}$ , respectively, and $d$ denotes the distance function $d(a,b) = 1 - IoU(a,b)$ as in [18]. In general, a lower GED indicates greater dispersion and variability in the segmentation results. Moreover, $Dice_{soft}$ receives the soft predictions $P_{soft}$ and soft annotations $A_{soft}$ (i.e., the average of multiple predictions",
938
+ "bbox": [
939
+ 496,
940
+ 794,
941
+ 890,
942
+ 901
943
+ ],
944
+ "page_idx": 4
945
+ },
946
+ {
947
+ "type": "page_number",
948
+ "text": "11474",
949
+ "bbox": [
950
+ 478,
951
+ 944,
952
+ 519,
953
+ 955
954
+ ],
955
+ "page_idx": 4
956
+ },
957
+ {
958
+ "type": "table",
959
+ "img_path": "images/26022f4bb23126f7a2f0f1df75965c45e7a14c177c578f36da83ced1cd3c2f9c.jpg",
960
+ "table_caption": [
961
+ "Table 1. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on our in-house NPC-170 dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively."
962
+ ],
963
+ "table_footnote": [],
964
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Diversity Performance</td><td colspan=\"2\">Personalized Bounds (%)</td><td colspan=\"5\">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.4888</td><td>73.69</td><td rowspan=\"4\" colspan=\"2\">N/A</td><td>80.90</td><td>70.51</td><td>67.14</td><td>72.57</td><td>72.78</td></tr><tr><td>U-Net (A2)</td><td>0.5086</td><td>73.64</td><td>72.05</td><td>75.62</td><td>69.93</td><td>71.85</td><td>72.36</td></tr><tr><td>U-Net (A3)</td><td>0.5077</td><td>72.37</td><td>69.46</td><td>73.09</td><td>76.25</td><td>69.86</td><td>72.17</td></tr><tr><td>U-Net (A4)</td><td>0.5433</td><td>71.63</td><td>73.71</td><td>68.77</td><td>66.08</td><td>73.54</td><td>70.52</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.4478</td><td>75.33</td><td>74.18</td><td>74.17</td><td rowspan=\"6\" colspan=\"5\">N/A</td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.4466</td><td>75.34</td><td>74.23</td><td>74.22</td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.4465</td><td>75.34</td><td>74.24</td><td>74.24</td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.2553</td><td>79.99</td><td>76.54</td><td>76.40</td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.2385</td><td>80.40</td><td>77.50</td><td>77.43</td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.2359</td><td>80.43</td><td>77.70</td><td>77.67</td></tr><tr><td>CM-Global [38]</td><td>0.4375</td><td>76.28</td><td>75.00</td><td>75.00</td><td>77.92</td><td>74.65</td><td>71.97</td><td>75.47</td><td>75.00</td></tr><tr><td>CM-Pixel [48]</td><td>0.4400</td><td>76.39</td><td>74.92</td><td>74.92</td><td>78.97</td><td>73.93</td><td>71.65</td><td>75.12</td><td>74.92</td></tr><tr><td>TAB [23]</td><td>0.2760</td><td>78.90</td><td>76.68</td><td>75.15</td><td>77.33</td><td>73.45</td><td>74.83</td><td>71.67</td><td>74.32</td></tr><tr><td>Pionono [36]</td><td>0.3924</td><td>76.96</td><td>75.58</td><td>75.44</td><td>78.87</td><td>74.11</td><td>71.97</td><td>75.41</td><td>75.09</td></tr><tr><td>D-Persona (Stage II)</td><td>0.3199</td><td>79.01</td><td>77.26</td><td>76.61</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>",
965
+ "bbox": [
966
+ 80,
967
+ 142,
968
+ 893,
969
+ 375
970
+ ],
971
+ "page_idx": 5
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "and annotations) and uses varied thresholds to conduct $T$ times of binary evaluations as:",
976
+ "bbox": [
977
+ 75,
978
+ 400,
979
+ 470,
980
+ 430
981
+ ],
982
+ "page_idx": 5
983
+ },
984
+ {
985
+ "type": "equation",
986
+ "text": "\n$$\nD i c e _ {s o f t} = \\frac {1}{T} \\sum_ {i = 1} ^ {T} D i c e ([ P _ {s o f t} > \\tau_ {i} ], [ A _ {s o f t} > \\tau_ {i} ]) \\tag {11}\n$$\n",
987
+ "text_format": "latex",
988
+ "bbox": [
989
+ 84,
990
+ 440,
991
+ 468,
992
+ 481
993
+ ],
994
+ "page_idx": 5
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "where $\\tau$ is a threshold selected from the set $\\{0.1, 0.3, 0.5, 0.7, 0.9\\}$ with $T = 5$ .",
999
+ "bbox": [
1000
+ 75,
1001
+ 489,
1002
+ 468,
1003
+ 523
1004
+ ],
1005
+ "page_idx": 5
1006
+ },
1007
+ {
1008
+ "type": "table",
1009
+ "img_path": "images/794ff9507bb4a2787a921a6b0f69a59a2d93a374b396098d83d8cd806e59c3d0.jpg",
1010
+ "table_caption": [],
1011
+ "table_footnote": [],
1012
+ "table_body": "<table><tr><td>Dice</td><td colspan=\"4\">Four Given Annotations</td></tr><tr><td rowspan=\"6\">Six Sampled Predictions</td><td>0.5532</td><td>0.8994</td><td>0.8624</td><td>0.6338</td></tr><tr><td>0.5552</td><td>0.6694</td><td>0.5210</td><td>0.7575</td></tr><tr><td>0.7135</td><td>0.8476</td><td>0.8500</td><td>0.5928</td></tr><tr><td>0.5556</td><td>0.5949</td><td>0.6366</td><td>0.7836</td></tr><tr><td>0.5099</td><td>0.6071</td><td>0.5953</td><td>0.8973</td></tr><tr><td>0.8094</td><td>0.8452</td><td>0.5741</td><td>0.7156</td></tr><tr><td rowspan=\"2\">Metrics</td><td colspan=\"4\">Dice_max = {0.8094, 0.8994, 0.8624, 0.8973} mean</td></tr><tr><td colspan=\"4\">Dice_MATCH = {0.8094, 0.8994, 0.8500, 0.8973} mean</td></tr></table>",
1013
+ "bbox": [
1014
+ 125,
1015
+ 537,
1016
+ 421,
1017
+ 705
1018
+ ],
1019
+ "page_idx": 5
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "Figure 3. Exemplar explanation of $Dice_{max}$ and $Dice_{match}$ in a given $4 \\times 6$ Dice matrix. $Dice_{max}$ averages the maximum scores of individual columns and $Dice_{match}$ further constrains a one-to-one matching between the prediction and annotation sets.",
1024
+ "bbox": [
1025
+ 75,
1026
+ 723,
1027
+ 470,
1028
+ 779
1029
+ ],
1030
+ "page_idx": 5
1031
+ },
1032
+ {
1033
+ "type": "text",
1034
+ "text": "Second, we further use the set-to-set metrics $Dice_{max}$ and $Dice_{match}$ to evaluate the personalized segmentation in our framework. As Fig. 3 shows, $Dice_{max}$ quantifies the optimal overlap between $P_{set}$ and $A_{set}$ . $Dice_{match}$ further imposes a stringent one-to-one matching criterion between the sets. In other words, $Dice_{max}$ is an upper bound of $Dice_{match}$ and their differences serve as an indicator to de",
1035
+ "bbox": [
1036
+ 75,
1037
+ 795,
1038
+ 470,
1039
+ 902
1040
+ ],
1041
+ "page_idx": 5
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "termine whether each expert annotation corresponds with a unique and closely aligned prediction.",
1046
+ "bbox": [
1047
+ 498,
1048
+ 400,
1049
+ 890,
1050
+ 430
1051
+ ],
1052
+ "page_idx": 5
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "Additionally, we also provide each annotator a Dice score (denoted as $Dice_{A(i)}$ , $i = 1,\\dots ,n$ ), to reflect the personalized segmentation performance for the respective human expert. Then, $Dice_{mean}$ further gives the average personalized performance of the $n$ experts.",
1057
+ "bbox": [
1058
+ 498,
1059
+ 431,
1060
+ 890,
1061
+ 508
1062
+ ],
1063
+ "page_idx": 5
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "4.4. Performance on NPC-170",
1068
+ "text_level": 1,
1069
+ "bbox": [
1070
+ 500,
1071
+ 526,
1072
+ 733,
1073
+ 542
1074
+ ],
1075
+ "page_idx": 5
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Table 1 gives the quantitative performance of our proposed D-Persona in comparison with other existing works on the in-house NPC-170 dataset, indicating several findings: (1) the individually trained U-Net models, where only annotations from a single expert are used, achieve superior results for the targeted expert but significantly poor performance for the others, highlighting the great inter-observer variability; (2) for generation-based methods, our Stage I exhibits remarkable segmentation diversity than the baseline model, as evidenced by leading scores in $GED$ and $Dice_{soft}$ ; (3) we also observe an increase in personalized bounds in Stage I (e.g., $Dice_{max}$ improves from $74.18\\%$ of the baseline to $76.54\\%$ of our model), and further improvements can be achieved by increasing the number of sampled latent codes (e.g., a $1.16\\%$ gain in $Dice_{max}$ with 50 random samples); (4) in Stage II, our two-stage personalization strategy surpasses the performance of other one-stage methods (e.g., a $1.10\\%$ gain in $Dice_{mean}$ than the second-best model [36]), demonstrating the superiority of our approach. Note that, when compared with the individually trained models, our D-Persona Stage II does not perform better for the personalized results specific to the particular annotator except $A_4$ . This also happens to all the compared one-stage methods.",
1080
+ "bbox": [
1081
+ 498,
1082
+ 553,
1083
+ 890,
1084
+ 902
1085
+ ],
1086
+ "page_idx": 5
1087
+ },
1088
+ {
1089
+ "type": "page_number",
1090
+ "text": "11475",
1091
+ "bbox": [
1092
+ 478,
1093
+ 944,
1094
+ 517,
1095
+ 955
1096
+ ],
1097
+ "page_idx": 5
1098
+ },
1099
+ {
1100
+ "type": "table",
1101
+ "img_path": "images/97f7fdf42130dbd699ee802b3e5823a1cd71153df1950367ccf7b4ac38470202.jpg",
1102
+ "table_caption": [
1103
+ "Table 2. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on the public LIDC-IDRI dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively."
1104
+ ],
1105
+ "table_footnote": [],
1106
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Diversity Performance</td><td colspan=\"2\">Personalized Bounds (%)</td><td colspan=\"5\">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.3062</td><td>86.59</td><td></td><td></td><td>87.80</td><td>87.47</td><td>85.49</td><td>80.67</td><td>85.36</td></tr><tr><td>U-Net (A2)</td><td>0.2459</td><td>88.43</td><td></td><td></td><td>87.16</td><td>89.08</td><td>88.59</td><td>85.15</td><td>87.50</td></tr><tr><td>U-Net (A3)</td><td>0.2436</td><td>88.20</td><td></td><td>N/A</td><td>85.29</td><td>88.48</td><td>89.40</td><td>87.20</td><td>87.59</td></tr><tr><td>U-Net (A4)</td><td>0.2962</td><td>85.83</td><td></td><td></td><td>80.80</td><td>85.48</td><td>88.22</td><td>88.90</td><td>85.85</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.2181</td><td>88.79</td><td>88.60</td><td>88.43</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.2169</td><td>88.79</td><td>88.80</td><td>88.73</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.2168</td><td>88.80</td><td>88.87</td><td>88.81</td><td></td><td></td><td>N/A</td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.1461</td><td>90.24</td><td>90.75</td><td>90.51</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.1375</td><td>90.42</td><td>91.23</td><td>91.16</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.1358</td><td>90.45</td><td>91.37</td><td>91.33</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CM-Global [38]</td><td>0.2432</td><td>88.53</td><td>87.51</td><td>87.51</td><td>86.13</td><td>88.76</td><td>88.99</td><td>86.18</td><td>87.51</td></tr><tr><td>CM-Pixel [48]</td><td>0.2407</td><td>88.64</td><td>87.72</td><td>87.72</td><td>85.99</td><td>88.81</td><td>89.31</td><td>86.77</td><td>87.72</td></tr><tr><td>TAB [23]</td><td>0.2322</td><td>86.35</td><td>87.11</td><td>86.08</td><td>85.00</td><td>86.35</td><td>86.77</td><td>85.77</td><td>85.97</td></tr><tr><td>Pionono [36]</td><td>0.1502</td><td>90.00</td><td>90.10</td><td>88.97</td><td>87.94</td><td>89.11</td><td>89.55</td><td>88.76</td><td>88.84</td></tr><tr><td>D-Persona (Stage II)</td><td>0.1444</td><td>90.31</td><td>90.38</td><td>89.17</td><td>88.54</td><td>89.50</td><td>90.03</td><td>88.60</td><td>89.17</td></tr></table>",
1107
+ "bbox": [
1108
+ 80,
1109
+ 142,
1110
+ 893,
1111
+ 375
1112
+ ],
1113
+ "page_idx": 6
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "4.5. Performance on LIDC-IDRI",
1118
+ "text_level": 1,
1119
+ "bbox": [
1120
+ 76,
1121
+ 398,
1122
+ 331,
1123
+ 415
1124
+ ],
1125
+ "page_idx": 6
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "Table 2 extends the evaluation of our model to the LIDC-IDRI dataset, where the average performance of a four-fold cross-validation is given. The individually trained results indicate that the inter-observer variance is less pronounced compared to our in-house NPC-170 dataset. Then, echoing the findings from NPC-170, our D-Persona model consistently outperforms the baseline Probabilistic U-Net [18] in achieving superior diversified segmentation performance. Furthermore, the second stage of our proposed D-Persona model exhibits better performance in both the set-to-set evaluations and the one-to-one comparisons. Meanwhile, in Stage II, we can see that the average personalized performance has reached the upper bound (i.e., both $D_{ice\\_match}$ and $D_{ice\\_mean}$ : $89.17\\%$ ) on LIDC-IDRI, highlighting its effectiveness in personalized medical image segmentation.",
1130
+ "bbox": [
1131
+ 75,
1132
+ 422,
1133
+ 473,
1134
+ 650
1135
+ ],
1136
+ "page_idx": 6
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "5. Discussions",
1141
+ "text_level": 1,
1142
+ "bbox": [
1143
+ 76,
1144
+ 667,
1145
+ 199,
1146
+ 683
1147
+ ],
1148
+ "page_idx": 6
1149
+ },
1150
+ {
1151
+ "type": "text",
1152
+ "text": "5.1. Visual Results",
1153
+ "text_level": 1,
1154
+ "bbox": [
1155
+ 76,
1156
+ 693,
1157
+ 223,
1158
+ 709
1159
+ ],
1160
+ "page_idx": 6
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Fig. 4 shows the diversified segmentation results of Stage I in our D-Persona model. We can see that, on the two datasets, our model can generate varying and plausible predictions for the target regions, which brings potential benefits for providing different opinions in clinical scenarios.",
1165
+ "bbox": [
1166
+ 75,
1167
+ 717,
1168
+ 468,
1169
+ 794
1170
+ ],
1171
+ "page_idx": 6
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Fig. 5 further illustrates the personalized segmentation results of Stage II in the proposed model. First, on the NPC-170 dataset, our D-Persona can detect most of the targets, producing predictions in complex anatomical structures as the given expert annotations, indicated by the green arrows in Fig. 5. Second, on LIDC-IDRI, as we simulated the",
1176
+ "bbox": [
1177
+ 75,
1178
+ 809,
1179
+ 470,
1180
+ 901
1181
+ ],
1182
+ "page_idx": 6
1183
+ },
1184
+ {
1185
+ "type": "image",
1186
+ "img_path": "images/668c8b9328df8294c8f41d2724a8bfa61be7ad458b638df54a40c135a8284ba9.jpg",
1187
+ "image_caption": [
1188
+ "Figure 4. Diversified segmentation results of Stage I in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Different colors denote different delineations, which shows that our model can generate diverse and plausible predictions."
1189
+ ],
1190
+ "image_footnote": [],
1191
+ "bbox": [
1192
+ 509,
1193
+ 402,
1194
+ 883,
1195
+ 573
1196
+ ],
1197
+ "page_idx": 6
1198
+ },
1199
+ {
1200
+ "type": "table",
1201
+ "img_path": "images/e3764e863a3c909e176d1767b5d63af771ded8b29a9f138e87d7c46dc5de7bb6.jpg",
1202
+ "table_caption": [
1203
+ "Table 3. Ablation studies of different $K$ and $\\beta$ in Stage I of our proposed D-Persona framework on the NPC-170 dataset. The sampling number is set as 50 for all comparisons."
1204
+ ],
1205
+ "table_footnote": [],
1206
+ "table_body": "<table><tr><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td></tr><tr><td>6</td><td></td><td>0.2545</td><td>78.81</td><td rowspan=\"5\">10</td><td>0.01</td><td>0.4378</td><td>75.80</td></tr><tr><td>8</td><td rowspan=\"2\">0.5</td><td>0.2512</td><td>79.48</td><td>0.1</td><td>0.3358</td><td>77.95</td></tr><tr><td>10</td><td>0.2359</td><td>80.43</td><td>0.5</td><td>0.2359</td><td>80.43</td></tr><tr><td>12</td><td></td><td>0.2389</td><td>80.17</td><td>1</td><td>0.2170</td><td>80.20</td></tr><tr><td>14</td><td></td><td>0.2368</td><td>80.08</td><td>2</td><td>0.2581</td><td>77.73</td></tr></table>",
1207
+ "bbox": [
1208
+ 503,
1209
+ 724,
1210
+ 890,
1211
+ 800
1212
+ ],
1213
+ "page_idx": 6
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "expert preferences from conservative to aggressive styles (see Section 4.1), the right part of Fig. 5 reveals that our model can successfully capture the underlying preferences, demonstrating the superiority of our proposed D-Persona model for personalized segmentation.",
1218
+ "bbox": [
1219
+ 498,
1220
+ 825,
1221
+ 893,
1222
+ 902
1223
+ ],
1224
+ "page_idx": 6
1225
+ },
1226
+ {
1227
+ "type": "page_number",
1228
+ "text": "11476",
1229
+ "bbox": [
1230
+ 478,
1231
+ 944,
1232
+ 519,
1233
+ 957
1234
+ ],
1235
+ "page_idx": 6
1236
+ },
1237
+ {
1238
+ "type": "image",
1239
+ "img_path": "images/2285765db699008309d443ce52499896eb95d43c36681480fabb8e57768e913d.jpg",
1240
+ "image_caption": [
1241
+ "Figure 5. Personalized segmentation results of Stage II in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Compared to expert annotations (Red), our model can generate corresponding personalized segmentation results (Yellow). Particularly, our model successfully captures the underlying annotation preferences, i.e., from conservative to aggressive styles, as shown in the four LIDC-IDRI results on the right."
1242
+ ],
1243
+ "image_footnote": [],
1244
+ "bbox": [
1245
+ 83,
1246
+ 93,
1247
+ 885,
1248
+ 236
1249
+ ],
1250
+ "page_idx": 7
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "5.2. Selection of Hyper-parameters",
1255
+ "text_level": 1,
1256
+ "bbox": [
1257
+ 76,
1258
+ 330,
1259
+ 346,
1260
+ 348
1261
+ ],
1262
+ "page_idx": 7
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "To control the diversity of generated segmentation results, we here discuss the selection of hyper-parameters $K$ and $\\beta$ in Stage I of our model. $K$ is the size of the sampled latent codes in the prior distribution $\\mathbb{D}^{prior}$ . Since we applied the bound-constrained loss to supervise the learning of $\\mathbb{D}^{prior}$ and a smaller $K$ could make the segmentation results approach the fixed annotation bounds. The top of Table 3 shows that, on the NPC-170 dataset, setting $K$ as 10 can achieve better diversified performance for the GTVp delineation of Nasopharyngeal Carcinoma.",
1267
+ "bbox": [
1268
+ 75,
1269
+ 354,
1270
+ 468,
1271
+ 505
1272
+ ],
1273
+ "page_idx": 7
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "At the same time, $\\beta$ is used to balance the proposed bound loss with other losses in Equation (6). The bottom results of Table 3 indicate that selecting $\\beta$ as 0.5 for the model training achieves the highest $Dicesoft$ and secondbest $GED$ values on the NPC-170 dataset. We thus set $\\beta$ as 0.5 for all experiments in this paper.",
1278
+ "bbox": [
1279
+ 75,
1280
+ 506,
1281
+ 468,
1282
+ 597
1283
+ ],
1284
+ "page_idx": 7
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "5.3. Comparisons with Crowdsourcing Methods",
1289
+ "text_level": 1,
1290
+ "bbox": [
1291
+ 76,
1292
+ 606,
1293
+ 446,
1294
+ 622
1295
+ ],
1296
+ "page_idx": 7
1297
+ },
1298
+ {
1299
+ "type": "table",
1300
+ "img_path": "images/134fab40706d83e8dd3367905682399ee1f398f689a040d242b44266084d6cf2.jpg",
1301
+ "table_caption": [
1302
+ "Table 4. Comparisons between several crowdsourcing methods including majority voting (MV), random selection (RS) [17], STAPLE [44] and our proposed D-Persona model on NPC-170."
1303
+ ],
1304
+ "table_footnote": [],
1305
+ "table_body": "<table><tr><td>Method</td><td>DiceA1↑</td><td>DiceA2↑</td><td>DiceA3↑</td><td>DiceA4↑</td><td>Dicemean↑</td></tr><tr><td>MV</td><td>76.80</td><td>71.28</td><td>70.24</td><td>73.64</td><td>72.99</td></tr><tr><td>RS [17]</td><td>78.45</td><td>74.92</td><td>72.04</td><td>75.54</td><td>75.24</td></tr><tr><td>STAPLE [44]</td><td>75.75</td><td>75.76</td><td>72.29</td><td>74.07</td><td>74.47</td></tr><tr><td>D-Persona</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>",
1306
+ "bbox": [
1307
+ 81,
1308
+ 696,
1309
+ 468,
1310
+ 763
1311
+ ],
1312
+ "page_idx": 7
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "As aforementioned, crowdsourcing methods aim to combine multiple annotations for the model training. Table 4 shows the performance of several conventional crowdsourcing methods, including majority voting (MV), Random Selection (RS) [17] and STAPLE [44] on the NPC-170 dataset. We can see that, our proposed D-Persona model achieves the highest performance in $\\text{Dice}_{\\text{mean}}$ than all heuristic crowdsourcing works (e.g., a $0.95\\%$ gain than the second",
1317
+ "bbox": [
1318
+ 75,
1319
+ 780,
1320
+ 470,
1321
+ 901
1322
+ ],
1323
+ "page_idx": 7
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "best model [17]). Furthermore, our model can provide diversified segmentation results at the same time, facilitating more clinical usage through a unified model.",
1328
+ "bbox": [
1329
+ 498,
1330
+ 332,
1331
+ 890,
1332
+ 378
1333
+ ],
1334
+ "page_idx": 7
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "5.4. Limitation and Future Work",
1339
+ "text_level": 1,
1340
+ "bbox": [
1341
+ 500,
1342
+ 391,
1343
+ 756,
1344
+ 406
1345
+ ],
1346
+ "page_idx": 7
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "text": "As mentioned in Section 4.4, on the NPC-170 dataset, it remains difficult for our model to surpass the individually trained U-Net models for personalized segmentation. This suggests that preserving the distinctive preference of a particular expert is still a challenge in this task, especially when the training labels vary significantly. In other words, improving the predictions having an individual expert's style by leveraging different annotations from other experts is not fully resolved, which is worth future investigation.",
1351
+ "bbox": [
1352
+ 496,
1353
+ 415,
1354
+ 892,
1355
+ 551
1356
+ ],
1357
+ "page_idx": 7
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "6. Conclusion",
1362
+ "text_level": 1,
1363
+ "bbox": [
1364
+ 500,
1365
+ 570,
1366
+ 617,
1367
+ 585
1368
+ ],
1369
+ "page_idx": 7
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "In this paper, we have presented a two-stage framework (D-Persona) for the multi-rater medical image segmentation problem, pointing out a new perspective that diversified and personalized segmentation can be addressed at the same time. Our main idea is to conduct diversified segmentation first and then query personalized results from the diversified ones. Specifically, an effective bound-constrained loss was proposed to improve the segmentation diversity, and a common latent space was constructed in Stage I to capture the annotation variability. Then, in the second stage, an attention-based projection mechanism was used to find specific expert prompts from the common latent space, so as to perform personalized segmentation. Extensive experiments on the two datasets have demonstrated that our proposed D-Persona model significantly outperforms other existing works in multi-rater medical image segmentation.",
1374
+ "bbox": [
1375
+ 496,
1376
+ 597,
1377
+ 890,
1378
+ 838
1379
+ ],
1380
+ "page_idx": 7
1381
+ },
1382
+ {
1383
+ "type": "text",
1384
+ "text": "Societal Impacts. Our proposed model was trained and evaluated on the two available but limited datasets and may be impacted by the dataset bias [35], which might result in unconvincing predictions in practical applications.",
1385
+ "bbox": [
1386
+ 496,
1387
+ 839,
1388
+ 890,
1389
+ 900
1390
+ ],
1391
+ "page_idx": 7
1392
+ },
1393
+ {
1394
+ "type": "page_number",
1395
+ "text": "11477",
1396
+ "bbox": [
1397
+ 480,
1398
+ 944,
1399
+ 517,
1400
+ 955
1401
+ ],
1402
+ "page_idx": 7
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "References",
1407
+ "text_level": 1,
1408
+ "bbox": [
1409
+ 78,
1410
+ 89,
1411
+ 174,
1412
+ 106
1413
+ ],
1414
+ "page_idx": 8
1415
+ },
1416
+ {
1417
+ "type": "list",
1418
+ "sub_type": "ref_text",
1419
+ "list_items": [
1420
+ "[1] Samuel G Armato III, Geoffrey McLennan, Luc Bidaut, Michael F McNitt-Gray, Charles R Meyer, Anthony P Reeves, Binsheng Zhao, Denise R Aberle, Claudia I Henschke, Eric A Hoffman, et al. The lung image database consortium (lidc) and image database resource initiative (idri): a completed reference database of lung nodules on ct scans. Medical Physics, 38(2):915-931, 2011. 5",
1421
+ "[2] Christian F Baumgartner, Kerem C Tezcan, Krishna Chaitanya, Andreas M Hotker, Urs J Muehlematter, Khoschy Schawkat, Anton S Becker, Olivio Donati, and Ender Konukoglu. Phiseg: Capturing uncertainty in medical image segmentation. In MICCAI, pages 119-127, 2019. 3, 4",
1422
+ "[3] Marc G Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Rémi Munos. The cramer distance as a solution to biased Wasserstein gradients. arXiv preprint arXiv:1705.10743, 2017. 5",
1423
+ "[4] Olivier Bernard, Alain Lalande, Clement Zotti, Frederick Cervenansky, Xin Yang, Pheng-Ann Heng, Irem Cetin, Karim Lekadir, Oscar Camara, Miguel Angel Gonzalez Ballester, et al. Deep learning techniques for automatic mri cardiac multi-structures segmentation and diagnosis: is the problem solved? IEEE TMI, 37(11):2514–2525, 2018. 1",
1424
+ "[5] Peng Cao, Yilun Xu, Yuqing Kong, and Yizhou Wang. Max-mig: an information theoretic approach for joint learning from crowds. In ICLR, 2018. 3",
1425
+ "[6] Aaron Carass, Snehashis Roy, Amod Jog, Jennifer L Cuzzocreo, Elizabeth Magrath, Adrian Gherman, Julia Button, James Nguyen, Ferran Prados, Carole H Sudre, et al. Longitudinal multiple sclerosis lesion segmentation: resource and challenge. NeuroImage, 148:77-102, 2017. 1",
1426
+ "[7] Pedro Celard, EL Iglesias, JM Sorribes-Fdez, Rubén Romero, A Seara Vieira, and L Borrajo. A survey on deep learning applied to medical images: from simple artificial neural networks to generative models. Neural Computing and Applications, 35(3):2291-2323, 2023. 3",
1427
+ "[8] De Cheng, Tongliang Liu, Yixiong Ning, Nannan Wang, Bo Han, Gang Niu, Xinbo Gao, and Masashi Sugiyama. Instance-dependent label-noise learning with manifold-regularized transition matrix estimation. In CVPR, pages 16630-16639, 2022. 3",
1428
+ "[9] Thorsten Falk, Dominic Mai, Robert Bensch, Özgün Çiçek, Ahmed Abdulkadir, Yassine Marrakchi, Anton Böhm, Jan Deubner, Zoe Jäckel, Katharina Seiwald, et al. U-net: deep learning for cell counting, detection, and morphometry. Nature Methods, 16(1):67-70, 2019. 1",
1429
+ "[10] Fan Fu, Jianyong Wei, Miao Zhang, Fan Yu, Yueting Xiao, Dongdong Rong, Yi Shan, Yan Li, Cheng Zhao, Fangzhou Liao, et al. Rapid vessel segmentation and reconstruction of head and neck angiograms using 3d convolutional neural network. Nature Communications, 11(1):4829, 2020. 1",
1430
+ "[11] Aritra Ghosh, Himanshu Kumar, and P Shanti Sastry. Robust loss functions under label noise for deep neural networks. In AAAI, pages 1919-1925, 2017. 3",
1431
+ "[12] Ali Hatamizadeh, Yucheng Tang, Vishwesh Nath, Dong Yang, Andriy Myronenko, Bennett Landman, Holger R"
1432
+ ],
1433
+ "bbox": [
1434
+ 78,
1435
+ 114,
1436
+ 470,
1437
+ 902
1438
+ ],
1439
+ "page_idx": 8
1440
+ },
1441
+ {
1442
+ "type": "list",
1443
+ "sub_type": "ref_text",
1444
+ "list_items": [
1445
+ "Roth, and Daguang Xu. Unetr: Transformers for 3d medical image segmentation. In WACV, pages 574-584, 2022. 1",
1446
+ "[13] Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2):203–211, 2021. 1",
1447
+ "[14] Martin Holm Jensen, Dan Richter Jorgensen, Raluca Jalaboi, Mads Eiler Hansen, and Martin Aastrup Olsen. Improving uncertainty estimation in convolutional neural networks using inter-rater agreement. In MICCAI, pages 540-548, 2019. 3, 4",
1448
+ "[15] Wei Ji, Shuang Yu, Junde Wu, Kai Ma, Cheng Bian, Qi Bi, Jingjing Li, Hanruo Liu, Li Cheng, and Yefeng Zheng. Learning calibrated medical image segmentation via multi-rater agreement modeling. In CVPR, pages 12341-12351, 2021. 1, 3, 5",
1449
+ "[16] Lie Ju, Xin Wang, Lin Wang, Dwarikanath Mahapatra, Xin Zhao, Quan Zhou, Tongliang Liu, and Zongyuan Ge. Improving medical images classification with label noise using dual-uncertainty estimation. IEEE TMI, 41(6):1533-1546, 2022. 3",
1450
+ "[17] Alain Jungo, Raphael Meier, Ekin Ermis, Marcela Blatti-Moreno, Evelyn Herrmann, Roland Wiest, and Mauricio Reyes. On the effect of inter-observer variability for a reliable estimation of uncertainty of medical image segmentation. In MICCAI, pages 682–690, 2018. 3, 4, 8",
1451
+ "[18] Simon Kohl, Bernardino Romera-Paredes, Clemens Meyer, Jeffrey De Fauw, Joseph R Ledsam, Klaus Maier-Hein, SM Eslami, Danilo Jimenez Rezende, and Olaf Ronneberger. A probabilistic u-net for segmentation of ambiguous images. In NeurIPS, 2018. 2, 3, 5, 6, 7",
1452
+ "[19] Simon AA Kohl, Bernardino Romera-Paredes, Klaus H Maier-Hein, Danilo Jimenez Rezende, SM Eslami, Pushmeet Kohli, Andrew Zisserman, and Olaf Ronneberger. A hierarchical probabilistic u-net for modeling multi-scale ambiguities. arXiv preprint arXiv:1905.13077, 2019. 3, 4",
1453
+ "[20] Anne W Lee, Wai Tong Ng, Jian Ji Pan, Sharon S Poh, Yong Chan Ahn, Hussain AlHussain, June Corry, Cai Grau, Vincent Gregoire, Kevin J Harrington, et al. International guideline for the delineation of the clinical target volumes (ctv) for nasopharyngeal carcinoma. Radiotherapy and Oncology, 126(1):25-36, 2018. 3",
1454
+ "[21] Junnan Li, Richard Socher, and Steven CH Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR, 2019. 3",
1455
+ "[22] Rongjian Li, Tao Zeng, Hanchuan Peng, and Shuiwang Ji. Deep learning segmentation of optical microscopy images improves 3-d neuron reconstruction. IEEE TMI, 36(7):1533-1541, 2017. 1",
1456
+ "[23] Zehui Liao, Shishuai Hu, Yutong Xie, and Yong Xia. Transformer-based annotation bias-aware medical image segmentation. In MICCAI, pages 24-34, 2023. 2, 3, 6, 7",
1457
+ "[24] Li Lin, Qi Dou, Yue-Ming Jin, Guan-Qun Zhou, Yi-Qiang Tang, Wei-Lin Chen, Bao-An Su, Feng Liu, Chang-Juan Tao, Ning Jiang, et al. Deep learning for automated contouring of primary tumor volumes by mri for nasopharyngeal carcinoma. Radiology, 291(3):677-686, 2019. 1"
1458
+ ],
1459
+ "bbox": [
1460
+ 501,
1461
+ 92,
1462
+ 890,
1463
+ 902
1464
+ ],
1465
+ "page_idx": 8
1466
+ },
1467
+ {
1468
+ "type": "page_number",
1469
+ "text": "11478",
1470
+ "bbox": [
1471
+ 478,
1472
+ 944,
1473
+ 519,
1474
+ 955
1475
+ ],
1476
+ "page_idx": 8
1477
+ },
1478
+ {
1479
+ "type": "list",
1480
+ "sub_type": "ref_text",
1481
+ "list_items": [
1482
+ "[25] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE TPAMI, 38(3):447-461, 2015. 3",
1483
+ "[26] Xiangde Luo, Wenjun Liao, Yuan He, Fan Tang, Mengwan Wu, Yuanyuan Shen, Hui Huang, Tao Song, Kang Li, Shichuan Zhang, et al. Deep learning-based accurate delineation of primary gross tumor volume of nasopharyngeal carcinoma on heterogeneous magnetic resonance imaging: A large-scale and multi-center study. *Radiotherapy and Oncology*, 180:109480, 2023. 1",
1484
+ "[27] Amirreza Mahbod, Gerald Schaefer, Benjamin Bancher, Christine Löw, Georg Dorffner, Rupert Ecker, and Isabella Ellinger. Cryonuseg: A dataset for nuclei instance segmentation of cryosectioned h&E-stained histological images. Computers in Biology and Medicine, 132:104349, 2021. 3",
1485
+ "[28] Thibault Marin, Yue Zhuo, Rita Maria Lahoud, Fei Tian, Xiaoyue Ma, Fangxu Xing, Maryam Moteabbed, Xiaofeng Liu, Kira Grogg, Nadya Shusharina, et al. Deep learning-based gtv contouring modeling inter-and intra-observer variability in sarcomas. *Radiotherapy and Oncology*, 167:269–276, 2022. 1, 2",
1486
+ "[29] Aditya Menon, Brendan Van Rooyen, Cheng Soon Ong, and Bob Williamson. Learning from corrupted binary labels via class-probability estimation. In ICML, pages 125-134, 2015. 3",
1487
+ "[30] Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE TMI, 34(10):1993-2024, 2014. 1",
1488
+ "[31] Silas Ørting, Andrew Doyle, Arno van Hilden, Matthias Hirth, Oana Inel, Christopher R Madan, Panagiotis Mavridis, Helen Spiers, and Veronika Cheplygina. A survey of crowdsourcing in medical image analysis. arXiv preprint arXiv:1902.09159, 2019. 2",
1489
+ "[32] Deep Patel and PS Sastry. Adaptive sample selection for robust learning under label noise. In WACV, pages 3932-3942, 2023. 3",
1490
+ "[33] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. 3",
1491
+ "[34] Aimon Rahman, Jeya Maria Jose Valanarasu, Ilker Hacihaliloglu, and Vishal M Patel. Ambiguous medical image segmentation using diffusion models. In CVPR, pages 11536-11546, 2023. 1, 2, 3, 5",
1492
+ "[35] María Agustina Ricci Lara, Rodrigo Echeveste, and Enzo Ferrante. Addressing fairness in artificial intelligence for medical imaging. Nature Communications, 13(1):4581, 2022. 8",
1493
+ "[36] Arne Schmidt, Pablo Morales-Álvarez, and Rafael Molina. Probabilistic modeling of inter-and intra-observer variability in medical image segmentation. In ICCV, pages 21097–21106, 2023. 2, 3, 4, 5, 6, 7",
1494
+ "[37] Sainbayar Sukhbaatar, Joan Bruna, Manohar Paluri, Lubomir Bourdev, and Rob Fergus. Training convolutional networks with noisy labels. arXiv preprint arXiv:1406.2080, 2014. 3"
1495
+ ],
1496
+ "bbox": [
1497
+ 78,
1498
+ 90,
1499
+ 468,
1500
+ 898
1501
+ ],
1502
+ "page_idx": 9
1503
+ },
1504
+ {
1505
+ "type": "list",
1506
+ "sub_type": "ref_text",
1507
+ "list_items": [
1508
+ "[38] Ryutaro Tanno, Ardavan Saeedi, Swami Sankaranarayanan, Daniel C Alexander, and Nathan Silberman. Learning from noisy labels by regularized estimation of annotator confusion. In CVPR, pages 11244-11253, 2019. 3, 6, 7",
1509
+ "[39] Vincenzo Valentini, Maria Antonietta Gambacorta, Brunella Barbaro, Giuditta Chiloiro, Claudio Coco, Prajnan Das, Francesco Fanfani, Ines Joye, Lisa Kachnic, Philippe Maingon, et al. International consensus guidelines on clinical target volume delineation in rectal cancer. *Radiotherapy and Oncology*, 120(2):195–201, 2016. 3",
1510
+ "[40] Julie van der Veen, Akos Gulyban, Siri Willems, Frederik Maes, and Sandra Nuyts. Interobserver variability in organ at risk delineation in head and neck cancer. *Radiation Oncology*, 16:1-11, 2021. 2",
1511
+ "[41] Bao Wang, Yongsheng Pan, Shangchen Xu, Yi Zhang, Yang Ming, Ligang Chen, Xuejun Liu, Chengwei Wang, Yingchao Liu, and Yong Xia. Quantitative cerebral blood volume image synthesis from standard mri using image-to-image translation for brain tumors. Radiology, 308(2):e222471, 2023. 3",
1512
+ "[42] Lin Wang, Xiufen Ye, Lie Ju, Wanji He, Donghao Zhang, Xin Wang, Yelin Huang, Wei Feng, Kaimin Song, and Zongyuan Ge. Medical matting: Medical image segmentation with uncertainty from the matting perspective. Computers in Biology and Medicine, 158:106714, 2023. 5",
1513
+ "[43] Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, pages 322-330, 2019. 3",
1514
+ "[44] Simon K Warfield, Kelly H Zou, and William M Wells. Simultaneous truth and performance level estimation (staple): an algorithm for the validation of image segmentation. IEEE TMI, 23(7):903-921, 2004. 1, 3, 8",
1515
+ "[45] Qi Wei, Haoliang Sun, Xiankai Lu, and Yilong Yin. Self-filtering: A noise-aware sample selection for label noise with confidence penalization. In ECCV, pages 516-532, 2022. 3",
1516
+ "[46] Yicheng Wu, Zongyuan Ge, Donghao Zhang, Minfeng Xu, Lei Zhang, Yong Xia, and Jianfei Cai. Mutual consistency learning for semi-supervised medical image segmentation. Medical Image Analysis, 81:102530, 2022. 1",
1517
+ "[47] Yicheng Wu, Zhonghua Wu, Hengcan Shi, Bjoern Picker, Winston Chong, and Jianfei Cai. Coactseg: Learning from heterogeneous data for new multiple sclerosis lesion segmentation. In MICCAI, pages 3-13, 2023. 1",
1518
+ "[48] Le Zhang, Ryutaro Tanno, Mou-Cheng Xu, Joseph Jacob, Olga Ciccarelli, Frederik Barkhof, and Daniel C. Alexander. Disentangling human error from the ground truth in segmentation of medical images. In NeurIPS, pages 15750-15762, 2020. 2, 3, 5, 6, 7",
1519
+ "[49] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778-8788, 2018. 3",
1520
+ "[50] Chuanxia Zheng, Tat-Jen Cham, and Jianfei Cai. Pluralistic image completion. In CVPR, pages 1438-1447, 2019. 4",
1521
+ "[51] Jia-Xing Zhong, Nannan Li, Weijie Kong, Shan Liu, Thomas H Li, and Ge Li. Graph convolutional label noise cleaner: Train a plug-and-play action classifier for anomaly detection. In CVPR, pages 1237-1246, 2019. 3"
1522
+ ],
1523
+ "bbox": [
1524
+ 501,
1525
+ 92,
1526
+ 890,
1527
+ 898
1528
+ ],
1529
+ "page_idx": 9
1530
+ },
1531
+ {
1532
+ "type": "page_number",
1533
+ "text": "11479",
1534
+ "bbox": [
1535
+ 480,
1536
+ 945,
1537
+ 519,
1538
+ 955
1539
+ ],
1540
+ "page_idx": 9
1541
+ }
1542
+ ]
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_model.json ADDED
@@ -0,0 +1,2112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "header",
5
+ "bbox": [
6
+ 0.107,
7
+ 0.003,
8
+ 0.182,
9
+ 0.043
10
+ ],
11
+ "angle": 0,
12
+ "content": "CVF"
13
+ },
14
+ {
15
+ "type": "header",
16
+ "bbox": [
17
+ 0.237,
18
+ 0.001,
19
+ 0.812,
20
+ 0.047
21
+ ],
22
+ "angle": 0,
23
+ "content": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore."
24
+ },
25
+ {
26
+ "type": "title",
27
+ "bbox": [
28
+ 0.132,
29
+ 0.131,
30
+ 0.842,
31
+ 0.154
32
+ ],
33
+ "angle": 0,
34
+ "content": "Diversified and Personalized Multi-rater Medical Image Segmentation"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.149,
40
+ 0.18,
41
+ 0.821,
42
+ 0.216
43
+ ],
44
+ "angle": 0,
45
+ "content": "Yicheng Wu\\(^{1(\\boxtimes),*}\\), Xiangde Luo\\(^{2,*}\\), Zhe Xu\\(^{3}\\), Xiaqing Guo\\(^{4}\\), Lie Ju\\(^{1}\\), Zongyuan Ge\\(^{1}\\), Wenjun Liao\\(^{2}\\), Jianfei Cai\\(^{1}\\)"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.165,
51
+ 0.217,
52
+ 0.805,
53
+ 0.253
54
+ ],
55
+ "angle": 0,
56
+ "content": "<sup>1</sup>Monash University, <sup>2</sup>University of Electronic Science and Technology of China, <sup>3</sup>The Chinese University of Hong Kong, <sup>4</sup>University of Oxford"
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.235,
62
+ 0.301,
63
+ 0.314,
64
+ 0.318
65
+ ],
66
+ "angle": 0,
67
+ "content": "Abstract"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.077,
73
+ 0.341,
74
+ 0.473,
75
+ 0.825
76
+ ],
77
+ "angle": 0,
78
+ "content": "Annotation ambiguity due to inherent data uncertainties such as blurred boundaries in medical scans and different observer expertise and preferences has become a major obstacle for training deep-learning based medical image segmentation models. To address it, the common practice is to gather multiple annotations from different experts, leading to the setting of multi-rater medical image segmentation. Existing works aim to either merge different annotations into the \"groundtruth\" that is often unattainable in numerous medical contexts, or generate diverse results, or produce personalized results corresponding to individual expert raters. Here, we bring up a more ambitious goal for multi-rater medical image segmentation, i.e., obtaining both diversified and personalized results. Specifically, we propose a two-stage framework named D-Persona (first Diversification and then Personalization). In Stage I, we exploit multiple given annotations to train a Probabilistic U-Net model, with a bound-constrained loss to improve the prediction diversity. In this way, a common latent space is constructed in Stage I, where different latent codes denote diversified expert opinions. Then, in Stage II, we design multiple attention-based projection heads to adaptively query the corresponding expert prompts from the shared latent space, and then perform the personalized medical image segmentation. We evaluated the proposed model on our in-house Nasopharyngeal Carcinoma dataset and the public lung nodule dataset (i.e., LIDC-IDRI). Extensive experiments demonstrated our D-Persona can provide diversified and personalized results at the same time, achieving new SOTA performance for multi-rater medical image segmentation. Our code will be released at https://github.com/ycwu1997/D-Persona."
79
+ },
80
+ {
81
+ "type": "title",
82
+ "bbox": [
83
+ 0.502,
84
+ 0.287,
85
+ 0.632,
86
+ 0.303
87
+ ],
88
+ "angle": 0,
89
+ "content": "1. Introduction"
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.498,
95
+ 0.312,
96
+ 0.895,
97
+ 0.463
98
+ ],
99
+ "angle": 0,
100
+ "content": "To build up a powerful computer-aided diagnosis (CAD) system, automatic medical image segmentation is an indispensable step in providing quantitative measurements for interested medical targets [13]. Despite deep-learning based medical image segmentation methods have achieved great progress [9, 12, 46], their deployment in clinical settings [4] remains skeptical since it is still hard for them to accurately segment challenging targets such as the primary gross tumor volume (GTVp) [26, 28], blurred lesions [6, 47] and complex anatomical structures [10, 22]."
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.498,
106
+ 0.464,
107
+ 0.895,
108
+ 0.719
109
+ ],
110
+ "angle": 0,
111
+ "content": "One key reason lies in the \"annotation ambiguity\", which mainly comes from two aspects: data-level uncertainties and observer-level preferences. The first aspect refers to the inherent uncertainties in the data such as irregular shapes and varied locations of a medical target (e.g., MS lesions [6]) due to its great variability, and blurred boundaries around the target regions caused by limited imaging resolutions in medical scans. These inherent data uncertainties unavoidably affect the process of expert annotations [30], resulting in inconsistent training labels that are likely to confound data-driven segmentation models. The second aspect refers to the diversity in domain expertise and personal preferences among annotators, which leads to a range of interpretations for a single target. In other words, there is no \"absolutely correct label\", which we call meta segment in this work. It has been shown in numerous medical contexts that the meta segment is unattainable [24]."
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.498,
117
+ 0.72,
118
+ 0.896,
119
+ 0.903
120
+ ],
121
+ "angle": 0,
122
+ "content": "To mitigate the \"annotation ambiguity\", a standard practice in medical settings is to gather multiple annotations from different observers [28, 34], leading to multi-rater medical image segmentation [15] (see Fig. 1 Top-left). The existing works dealing with medical multi-rater annotations can be generally categorized into three groups: crowdsourcing methods, generation methods, and personalization methods, each aligning with a different objective: becoming meta expert, implicit experts, or explicit experts (Fig. 1 Top-right). In particular, the crowdsourcing methods [44] (Fig. 1 Middle-left) assume there exists one and only one meta segment and combining multiple annotations can ap-"
123
+ },
124
+ {
125
+ "type": "page_footnote",
126
+ "bbox": [
127
+ 0.078,
128
+ 0.875,
129
+ 0.468,
130
+ 0.901
131
+ ],
132
+ "angle": 0,
133
+ "content": "* Equal Contribution. Correspondence to yicheng.wu@monash.edu. This research is supported by the Monash FIT Start-up Grant."
134
+ },
135
+ {
136
+ "type": "page_number",
137
+ "bbox": [
138
+ 0.481,
139
+ 0.945,
140
+ 0.52,
141
+ 0.957
142
+ ],
143
+ "angle": 0,
144
+ "content": "11470"
145
+ }
146
+ ],
147
+ [
148
+ {
149
+ "type": "image",
150
+ "bbox": [
151
+ 0.09,
152
+ 0.09,
153
+ 0.885,
154
+ 0.395
155
+ ],
156
+ "angle": 0,
157
+ "content": null
158
+ },
159
+ {
160
+ "type": "image_caption",
161
+ "bbox": [
162
+ 0.076,
163
+ 0.411,
164
+ 0.893,
165
+ 0.455
166
+ ],
167
+ "angle": 0,
168
+ "content": "Figure 1. Overview of scheme designs in multi-rater medical image segmentation. Top: problem setting and expected objectives (i.e., meta, implicit, or explicit experts); Middle: existing methods including crowdsourcing, generation, and one-stage personalization; Bottom: our proposed two-stage framework, providing both diversified and specifically personalized segmentation simultaneously."
169
+ },
170
+ {
171
+ "type": "text",
172
+ "bbox": [
173
+ 0.076,
174
+ 0.48,
175
+ 0.47,
176
+ 0.631
177
+ ],
178
+ "angle": 0,
179
+ "content": "proach it. The generation methods [18, 34] (Fig. 1 Middle) aim to generate diversified outputs, providing varying and plausible expert opinions as in the specialist consultation or case conference. Their generated segment set is implicit and unordered. The personalization methods [23, 36, 48] (Fig. 1 Middle-right) are recent ones, aiming to generate the explicit segment set, i.e., the corresponding expert results, which enables the tracking and analysis of individual raters' performance and preferences, so as to enhance the efficacy of quality control and clinical training."
180
+ },
181
+ {
182
+ "type": "text",
183
+ "bbox": [
184
+ 0.076,
185
+ 0.636,
186
+ 0.471,
187
+ 0.863
188
+ ],
189
+ "angle": 0,
190
+ "content": "Given the interrelated nature and distinct values of both implicit and explicit segment sets in the medical domain [28, 40], we are prompted to ask: \"Can we achieve the goals of both generation and personalization methods, i.e., producing both diversified and personalized results in multirater medical image segmentation?\" To achieve this goal, in this paper, we propose a two-stage framework D-Persona, as shown in Fig. 1 Bottom. Our basic idea is to divide the task into two stages. Stage I focuses on learning a common latent space to capture the annotation variability, which can be drawn to generate diversified results as potential expert opinions. On the other hand, Stage II focuses on generating personalized segmentation results by reusing the learned latent space in Stage I and extracting the corresponding expert prompts from it."
191
+ },
192
+ {
193
+ "type": "text",
194
+ "bbox": [
195
+ 0.096,
196
+ 0.867,
197
+ 0.464,
198
+ 0.882
199
+ ],
200
+ "angle": 0,
201
+ "content": "Our major contributions can be summarized as follows."
202
+ },
203
+ {
204
+ "type": "text",
205
+ "bbox": [
206
+ 0.078,
207
+ 0.886,
208
+ 0.471,
209
+ 0.902
210
+ ],
211
+ "angle": 0,
212
+ "content": "- We set a new grand goal for multi-rater medical image"
213
+ },
214
+ {
215
+ "type": "text",
216
+ "bbox": [
217
+ 0.512,
218
+ 0.48,
219
+ 0.891,
220
+ 0.54
221
+ ],
222
+ "angle": 0,
223
+ "content": "segmentation, i.e., aiming to generate diverse expert opinions and personalized results simultaneously. We propose a novel unified two-stage framework to address the diversity and personalization requirements, respectively."
224
+ },
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.5,
229
+ 0.54,
230
+ 0.891,
231
+ 0.615
232
+ ],
233
+ "angle": 0,
234
+ "content": "- In Stage I, we propose a bound-constrained training loss, which predicts the intersections and unions of annotations and introduces flexibility in uncertain areas. This substantially enhances segmentation diversity and increases the variety in the latent space."
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.5,
240
+ 0.616,
241
+ 0.891,
242
+ 0.675
243
+ ],
244
+ "angle": 0,
245
+ "content": "- In Stage II, we introduce an attention-based projection mechanism for personalized medical image segmentation, which can adaptively query expert prompts from the shared latent space."
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.5,
251
+ 0.677,
252
+ 0.891,
253
+ 0.751
254
+ ],
255
+ "angle": 0,
256
+ "content": "- Extensive experiments on two datasets demonstrate our proposed framework can provide diversified and personalized segmentation results simultaneously, setting new state-of-the-art (SOTA) performance for multi-rater medical image segmentation."
257
+ },
258
+ {
259
+ "type": "list",
260
+ "bbox": [
261
+ 0.5,
262
+ 0.54,
263
+ 0.891,
264
+ 0.751
265
+ ],
266
+ "angle": 0,
267
+ "content": null
268
+ },
269
+ {
270
+ "type": "title",
271
+ "bbox": [
272
+ 0.5,
273
+ 0.766,
274
+ 0.637,
275
+ 0.781
276
+ ],
277
+ "angle": 0,
278
+ "content": "2. Related work"
279
+ },
280
+ {
281
+ "type": "text",
282
+ "bbox": [
283
+ 0.499,
284
+ 0.792,
285
+ 0.891,
286
+ 0.838
287
+ ],
288
+ "angle": 0,
289
+ "content": "In this section, we review existing multi-rater medical image segmentation methods as well as noisy learning works that are related to annotation ambiguity."
290
+ },
291
+ {
292
+ "type": "title",
293
+ "bbox": [
294
+ 0.5,
295
+ 0.847,
296
+ 0.813,
297
+ 0.864
298
+ ],
299
+ "angle": 0,
300
+ "content": "2.1. Crowdsourcing-based Segmentation"
301
+ },
302
+ {
303
+ "type": "text",
304
+ "bbox": [
305
+ 0.499,
306
+ 0.871,
307
+ 0.891,
308
+ 0.902
309
+ ],
310
+ "angle": 0,
311
+ "content": "Crowdsourcing [31] is a common solution to reduce the expensive annotation costs by eliciting imperfect labels from"
312
+ },
313
+ {
314
+ "type": "page_number",
315
+ "bbox": [
316
+ 0.481,
317
+ 0.945,
318
+ 0.518,
319
+ 0.957
320
+ ],
321
+ "angle": 0,
322
+ "content": "11471"
323
+ }
324
+ ],
325
+ [
326
+ {
327
+ "type": "text",
328
+ "bbox": [
329
+ 0.076,
330
+ 0.092,
331
+ 0.473,
332
+ 0.288
333
+ ],
334
+ "angle": 0,
335
+ "content": "crowds. In medical scenarios, crowdsourced labels can be collected from junior medical students and are usually quite noisy. To facilitate the model training, crowdsourcing methods [20, 39] typically adopt several label-fusing strategies to achieve consensus and reduce noise, e.g., the conventional majority-voting strategy. However, this intuitive way ignores the annotators' differences either in domain expertise or personal preferences. Therefore, the Simultaneous Truth and Performance Level Estimation (STAPLE) [44] was further proposed to utilize the annotators' performance as weights to fuse crowdsourced labels, which is a more convincing way. It has been widely used in many medical tasks [27] to produce the \"golden standard\"."
336
+ },
337
+ {
338
+ "type": "text",
339
+ "bbox": [
340
+ 0.076,
341
+ 0.288,
342
+ 0.473,
343
+ 0.486
344
+ ],
345
+ "angle": 0,
346
+ "content": "Nevertheless, in numerous medical contexts, there is no such golden standard and the meta segmentation remains elusive [20] as in the case of challenging GTVp delineation. Thus, recent multi-rater image segmentation efforts have shifted the focus to generate either diversified implicit or personalized explicit segments, instead of the meta segment. Note that, there are also other methods, not aiming for explicit meta segments. For example, MAX-MIG [5] proposed to maximize the mutual information between the input data and crowdsourced labels for the model training. To better represent the expert disagreements, randomly selecting a label for training rather than using consensus could achieve better model calibration performance [14, 17]."
347
+ },
348
+ {
349
+ "type": "title",
350
+ "bbox": [
351
+ 0.077,
352
+ 0.495,
353
+ 0.362,
354
+ 0.512
355
+ ],
356
+ "angle": 0,
357
+ "content": "2.2. Generation-based Segmentation"
358
+ },
359
+ {
360
+ "type": "text",
361
+ "bbox": [
362
+ 0.076,
363
+ 0.519,
364
+ 0.47,
365
+ 0.7
366
+ ],
367
+ "angle": 0,
368
+ "content": "Various generative techniques have emerged for medical tasks [7]. For example, [41] used generative adversarial networks (GANs) to synthesize missing brain modalities, significantly improving the diagnosis performance. In terms of segmentation, Probabilistic U-Net [18] proposed a conditional Variational Autoencoder (cVAE) for ambiguous medical image segmentation, which learns a latent space to represent the segmentation ambiguity. To increase the segmentation diversity, multi-scale improvements [2, 19] were proposed to enhance the original architecture. Moreover, [34] used a powerful diffusion-based model for ambiguous medical image segmentation, achieving superior performance."
369
+ },
370
+ {
371
+ "type": "text",
372
+ "bbox": [
373
+ 0.076,
374
+ 0.701,
375
+ 0.47,
376
+ 0.777
377
+ ],
378
+ "angle": 0,
379
+ "content": "Despite the progress, these methods mainly focus on generating diversified implicit segmentation results and they are unable to achieve personalized segmentation. In contrast, our work focuses on generating both diversified and personalized segments in a unified way."
380
+ },
381
+ {
382
+ "type": "title",
383
+ "bbox": [
384
+ 0.077,
385
+ 0.787,
386
+ 0.424,
387
+ 0.803
388
+ ],
389
+ "angle": 0,
390
+ "content": "2.3. One-stage Personalization Segmentation"
391
+ },
392
+ {
393
+ "type": "text",
394
+ "bbox": [
395
+ 0.076,
396
+ 0.811,
397
+ 0.471,
398
+ 0.903
399
+ ],
400
+ "angle": 0,
401
+ "content": "Personalized segmentation directly incorporates expert preferences into the model training process [48]. For example, [15] used an explicit expertness code to denote the modified training labels. [23] employed learnable queries to represent corresponding expert annotations. Furthermore, [36] constructed several normal distributions with learnable"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.498,
407
+ 0.092,
408
+ 0.892,
409
+ 0.184
410
+ ],
411
+ "angle": 0,
412
+ "content": "parameters to represent the inter- and intra-observer variability. All these one-stage works strive for a one-to-one correspondence in multi-rater medical image segmentation. Conversely, our proposed D-Persona model not only delivers improved personalized results but also captures a variety of expert segmentation opinions."
413
+ },
414
+ {
415
+ "type": "title",
416
+ "bbox": [
417
+ 0.499,
418
+ 0.194,
419
+ 0.656,
420
+ 0.21
421
+ ],
422
+ "angle": 0,
423
+ "content": "2.4. Noisy Learning"
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.498,
429
+ 0.218,
430
+ 0.892,
431
+ 0.445
432
+ ],
433
+ "angle": 0,
434
+ "content": "Label noise is highly related to annotation ambiguity [38]. The common practice for performing noisy learning can be divided into two categories: (1) detecting label noise and then rectifying the training samples; and (2) developing a noise-robust framework from noisy distribution. For example, in the first category, the noise transition matrix [8, 25, 29, 33] can be estimated and used to build a statistically consistent classifier with the inferred clean distribution. Also, sample selection works [16, 21, 32, 45] were proposed to design effective selection strategies to detect and reduce the impact of noisy samples during the training. For the second category, noise-robust frameworks are developed with a variety of robust loss functions [11, 43, 49] and modified architecture designs [37, 51], which focus on the adaptive training from the original distribution."
435
+ },
436
+ {
437
+ "type": "text",
438
+ "bbox": [
439
+ 0.498,
440
+ 0.445,
441
+ 0.892,
442
+ 0.521
443
+ ],
444
+ "angle": 0,
445
+ "content": "In contrast, similar to the recent efforts [23, 36] in multiter medical image segmentation, we do not consider label noise here. Instead, we consider label diversity caused by different expert preferences and inherent data uncertainty, aiming to model the diversity and personalize the results."
446
+ },
447
+ {
448
+ "type": "title",
449
+ "bbox": [
450
+ 0.5,
451
+ 0.536,
452
+ 0.6,
453
+ 0.551
454
+ ],
455
+ "angle": 0,
456
+ "content": "3. Methods"
457
+ },
458
+ {
459
+ "type": "text",
460
+ "bbox": [
461
+ 0.498,
462
+ 0.562,
463
+ 0.892,
464
+ 0.793
465
+ ],
466
+ "angle": 0,
467
+ "content": "Fig. 2 shows the overall pipeline of our proposed D-Persona framework for multi-rater medical image segmentation, which consists of two major stages. Stage I aims to learn a common latent space from \\( n \\) experts' annotations \\( A_{set} = \\{A_1,\\dots ,A_n\\} \\), which can then be sampled to generate diverse segmentation results. We use the Probabilistic U-Net [18] as the baseline, including a U-Net backbone \\( F_{\\theta}^{b} \\) for feature extraction, a prediction head \\( F_{\\theta}^{head} \\) for the mapping from the latent space to segmentation results, and two separate encoders \\( F_{\\theta}^{prior} \\) and \\( F_{\\theta}^{post} \\) for the prior and posterior distribution generations, respectively. Stage II aims to find specific expert prompts in the latent space corresponding to the \\( n \\) experts for personalized segmentation, where we learn \\( n \\) individual projection heads \\( F_{\\theta i}^{proj}, i = \\{1,\\dots ,n\\} \\), while reusing \\( F_{\\theta}^{b}, F_{\\theta}^{prior} \\) and \\( F_{\\theta}^{head} \\) trained in Stage I."
468
+ },
469
+ {
470
+ "type": "title",
471
+ "bbox": [
472
+ 0.499,
473
+ 0.802,
474
+ 0.794,
475
+ 0.818
476
+ ],
477
+ "angle": 0,
478
+ "content": "3.1. Stage I: Diversified Segmentation"
479
+ },
480
+ {
481
+ "type": "text",
482
+ "bbox": [
483
+ 0.498,
484
+ 0.825,
485
+ 0.892,
486
+ 0.903
487
+ ],
488
+ "angle": 0,
489
+ "content": "In the conventional Probabilistic U-Net model [18], there are two separate parts to achieve diversified segmentation. In the first part, the input \\(X\\) alone is first used to generate the prior distribution \\(\\mathbb{D}^{prior}(X)\\), which is set as a multivariate normal distribution with a diagonal covariance ma"
490
+ },
491
+ {
492
+ "type": "page_number",
493
+ "bbox": [
494
+ 0.48,
495
+ 0.945,
496
+ 0.521,
497
+ 0.958
498
+ ],
499
+ "angle": 0,
500
+ "content": "11472"
501
+ }
502
+ ],
503
+ [
504
+ {
505
+ "type": "image",
506
+ "bbox": [
507
+ 0.086,
508
+ 0.092,
509
+ 0.525,
510
+ 0.315
511
+ ],
512
+ "angle": 0,
513
+ "content": null
514
+ },
515
+ {
516
+ "type": "image",
517
+ "bbox": [
518
+ 0.527,
519
+ 0.092,
520
+ 0.885,
521
+ 0.315
522
+ ],
523
+ "angle": 0,
524
+ "content": null
525
+ },
526
+ {
527
+ "type": "image_caption",
528
+ "bbox": [
529
+ 0.076,
530
+ 0.329,
531
+ 0.895,
532
+ 0.371
533
+ ],
534
+ "angle": 0,
535
+ "content": "Figure 2. Pipeline of our proposed D-Persona framework for multi-rater medical image segmentation. Left: Stage I is designed to construct a common latent space where different latent codes lead to diversified segmentation results; Right: Stage II performs the personalized segmentation by individual projection heads to mimic the corresponding expert raters."
536
+ },
537
+ {
538
+ "type": "text",
539
+ "bbox": [
540
+ 0.076,
541
+ 0.397,
542
+ 0.47,
543
+ 0.458
544
+ ],
545
+ "angle": 0,
546
+ "content": "trix, denoted as \\(\\mathcal{N}(\\mu^{prior},\\sigma^{prior})\\). The posterior distribution \\(\\mathbb{D}^{post}(X,A_{set}) = \\mathcal{N}(\\mu^{post},\\sigma^{post})\\) is defined as the joint distribution of \\(X\\) and all annotations \\(A_{set}\\). The corresponding mean values and variances are obtained as"
547
+ },
548
+ {
549
+ "type": "equation",
550
+ "bbox": [
551
+ 0.19,
552
+ 0.466,
553
+ 0.384,
554
+ 0.484
555
+ ],
556
+ "angle": 0,
557
+ "content": "\\[\n\\mu^ {p r i o r}, \\sigma^ {p r i o r} = F _ {\\theta} ^ {p r i o r} (X),\n\\]"
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "bbox": [
562
+ 0.163,
563
+ 0.484,
564
+ 0.469,
565
+ 0.505
566
+ ],
567
+ "angle": 0,
568
+ "content": "\\[\n\\mu^ {p o s t.}, \\sigma^ {p o s t.} = F _ {\\theta} ^ {p o s t.} (X, A _ {s e t}), \\tag {1}\n\\]"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "bbox": [
573
+ 0.077,
574
+ 0.514,
575
+ 0.47,
576
+ 0.59
577
+ ],
578
+ "angle": 0,
579
+ "content": "where \\( F_{\\theta}^{prior} \\) and \\( F_{\\theta}^{post} \\) are two learnable neural encoders as shown in Fig. 2 (Left-top). Here, \\( X \\) and \\( A_{set} \\) are concatenated together along the channel axis as the inputs of \\( F_{\\theta}^{post} \\). A common Kullback-Leibler divergence (KL) loss is used to align the two distributions:"
580
+ },
581
+ {
582
+ "type": "equation",
583
+ "bbox": [
584
+ 0.135,
585
+ 0.598,
586
+ 0.469,
587
+ 0.615
588
+ ],
589
+ "angle": 0,
590
+ "content": "\\[\n\\mathcal {L} _ {k l} = K L \\left(\\mathbb {D} ^ {\\text {p r i o r}} (X), \\mathbb {D} ^ {\\text {p o s t .}} \\left(X, A _ {\\text {s e t}}\\right)\\right). \\tag {2}\n\\]"
591
+ },
592
+ {
593
+ "type": "text",
594
+ "bbox": [
595
+ 0.077,
596
+ 0.623,
597
+ 0.469,
598
+ 0.732
599
+ ],
600
+ "angle": 0,
601
+ "content": "Then, the second part is for the target generation. Given a posterior distribution \\(\\mathbb{D}^{post}\\), we randomly sample a latent code \\(z_{random}^{post} \\in \\mathbb{R}^{D \\times 1 \\times 1}\\), which is further scaled to \\(\\hat{z}_{random}^{post} \\in \\mathbb{R}^{D \\times H \\times W}\\) as the image size. Here, \\(D\\) is the dimension of all latent codes. We then concatenate the scaled latent code and U-Net features together and feed them into a prediction head \\(F_{\\theta}^{head}\\) to generate the segmentation result:"
602
+ },
603
+ {
604
+ "type": "equation",
605
+ "bbox": [
606
+ 0.155,
607
+ 0.737,
608
+ 0.469,
609
+ 0.756
610
+ ],
611
+ "angle": 0,
612
+ "content": "\\[\nP ^ {p o s t.} = F _ {\\theta} ^ {h e a d} \\left(\\hat {z} _ {\\text {r a n d o m}} ^ {p o s t.}, F _ {\\theta} ^ {b} (X)\\right). \\tag {3}\n\\]"
613
+ },
614
+ {
615
+ "type": "text",
616
+ "bbox": [
617
+ 0.078,
618
+ 0.763,
619
+ 0.469,
620
+ 0.824
621
+ ],
622
+ "angle": 0,
623
+ "content": "Since we do not have the correspondence between \\( \\hat{z}_{random}^{post} \\) and the label, we randomly select an annotation \\( A_{random} \\) from \\( A_{set} \\) as [14, 17], and supervise the model training with a segmentation loss (i.e., Dice loss as [36]):"
624
+ },
625
+ {
626
+ "type": "equation",
627
+ "bbox": [
628
+ 0.156,
629
+ 0.83,
630
+ 0.469,
631
+ 0.85
632
+ ],
633
+ "angle": 0,
634
+ "content": "\\[\n\\mathcal {L} _ {\\text {s e g}} ^ {\\text {r a n d .}} = D S C \\left(P ^ {\\text {p o s t .}}, A _ {\\text {r a n d o m}}\\right). \\tag {4}\n\\]"
635
+ },
636
+ {
637
+ "type": "text",
638
+ "bbox": [
639
+ 0.077,
640
+ 0.856,
641
+ 0.469,
642
+ 0.902
643
+ ],
644
+ "angle": 0,
645
+ "content": "Following [36], we exploit a re-parameterization trick to sample \\( z_{random}^{post} \\) from the posterior distribution \\( \\mathbb{D}^{post} \\). so as to back-propagate the gradients for the model training."
646
+ },
647
+ {
648
+ "type": "text",
649
+ "bbox": [
650
+ 0.499,
651
+ 0.398,
652
+ 0.892,
653
+ 0.595
654
+ ],
655
+ "angle": 0,
656
+ "content": "Nevertheless, the prediction diversity of such a conventional design is limited [2, 19]. To address this, inspired by [50] that leverages the prior distribution with a complementary task to improve the diversity of image inpainting, we propose a bound prediction task as the complement and also involve the prior distribution into the segmentation training. Specifically, the intersection and union (i.e., \\( A_{\\text{bound}} = \\{A_{\\text{inter}}, A_{\\text{union}}\\} \\)) of the annotation set are calculated as supervision labels. Then, by sampling \\( K \\) latent codes from the prior distribution \\( \\mathbb{D}^{prior} \\), we can obtain \\( K \\) segmentation results and their intersection and union as \\( P_{\\text{bound}}^{prior} = \\{P_{\\text{inter}}^{prior}, P_{\\text{union}}^{prior}\\} \\), based on which we can compute the complementary segmentation loss:"
657
+ },
658
+ {
659
+ "type": "equation",
660
+ "bbox": [
661
+ 0.5,
662
+ 0.605,
663
+ 0.89,
664
+ 0.638
665
+ ],
666
+ "angle": 0,
667
+ "content": "\\[\n\\mathcal {L} _ {\\text {b o u n d}} = D S C \\left(P _ {\\text {i n t e r .}} ^ {\\text {p r i o r}}, A _ {\\text {i n t e r .}}\\right) + D S C \\left(P _ {\\text {u n i o n}} ^ {\\text {p r i o r}}, A _ {\\text {u n i o n}}\\right). \\tag {5}\n\\]"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.5,
673
+ 0.64,
674
+ 0.892,
675
+ 0.671
676
+ ],
677
+ "angle": 0,
678
+ "content": "Overall, the model in Stage I is trained by a weighted sum of \\(\\mathcal{L}_{kl}\\), \\(\\mathcal{L}_{seg}^{rand}\\) and \\(\\mathcal{L}_{bound}\\) as:"
679
+ },
680
+ {
681
+ "type": "equation",
682
+ "bbox": [
683
+ 0.548,
684
+ 0.684,
685
+ 0.891,
686
+ 0.703
687
+ ],
688
+ "angle": 0,
689
+ "content": "\\[\n\\mathcal {L} _ {\\text {s t a g e 1}} = \\mathcal {L} _ {k l} + \\alpha \\times \\mathcal {L} _ {\\text {s e g}} ^ {\\text {r a n d .}} + \\beta \\times \\mathcal {L} _ {\\text {b o u n d}}, \\tag {6}\n\\]"
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.499,
695
+ 0.714,
696
+ 0.892,
697
+ 0.82
698
+ ],
699
+ "angle": 0,
700
+ "content": "where \\(\\alpha\\) and \\(\\beta\\) are two hyperparameters to balance the three losses. Such a design has several advantages: (1) we relax the predictions in uncertain regions to facilitate more diversified results; (2) the prior distribution is being trained anyway and we do not introduce any new model parameters; (3) the design is flexible and can be easily combined with other advanced model architectures [2, 19]."
701
+ },
702
+ {
703
+ "type": "title",
704
+ "bbox": [
705
+ 0.5,
706
+ 0.832,
707
+ 0.814,
708
+ 0.848
709
+ ],
710
+ "angle": 0,
711
+ "content": "3.2. Stage II: Personalized Segmentation"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "bbox": [
716
+ 0.499,
717
+ 0.856,
718
+ 0.892,
719
+ 0.902
720
+ ],
721
+ "angle": 0,
722
+ "content": "Once Stage I learns a common latent space that can produce diversified and plausible segmentation predictions, the purpose of Stage II is to find specific expert prompts in the"
723
+ },
724
+ {
725
+ "type": "page_number",
726
+ "bbox": [
727
+ 0.48,
728
+ 0.945,
729
+ 0.519,
730
+ 0.957
731
+ ],
732
+ "angle": 0,
733
+ "content": "11473"
734
+ }
735
+ ],
736
+ [
737
+ {
738
+ "type": "text",
739
+ "bbox": [
740
+ 0.076,
741
+ 0.092,
742
+ 0.47,
743
+ 0.155
744
+ ],
745
+ "angle": 0,
746
+ "content": "latent space that correspond to the individual expert annotators. As shown in Fig. 2 (Right), our idea is to employ \\( n \\) individual projection heads to generate \\( n \\) expert prompts from the U-Net features \\( F_{\\theta}^{b}(X) \\) as"
747
+ },
748
+ {
749
+ "type": "equation",
750
+ "bbox": [
751
+ 0.106,
752
+ 0.161,
753
+ 0.469,
754
+ 0.18
755
+ ],
756
+ "angle": 0,
757
+ "content": "\\[\nz _ {i} ^ {e x p.} = \\operatorname {P o o l i n g} \\left[ F _ {\\theta i} ^ {p r o j.} \\left(F _ {\\theta} ^ {b} (X) \\right], i = 1, \\dots , n \\right. \\tag {7}\n\\]"
758
+ },
759
+ {
760
+ "type": "text",
761
+ "bbox": [
762
+ 0.076,
763
+ 0.185,
764
+ 0.469,
765
+ 0.247
766
+ ],
767
+ "angle": 0,
768
+ "content": "where \\(z_{i}^{exp.} \\in \\mathbb{R}^{D \\times 1 \\times 1}\\) denotes the specific latent code relevant for the \\(i\\)-th expert. It is obtained via a global average pooling operation for the 2D outputs of the \\(i\\)-th projection head \\(F_{\\theta i}^{proj.}\\), to capture global annotation characteristics."
769
+ },
770
+ {
771
+ "type": "text",
772
+ "bbox": [
773
+ 0.076,
774
+ 0.247,
775
+ 0.469,
776
+ 0.354
777
+ ],
778
+ "angle": 0,
779
+ "content": "Then, to ensure all generated expert prompts are in the learned common latent space, we further introduce a cross-attention operation to map \\( z_{i}^{exp.} \\) into \\( \\tilde{z}_{i}^{exp.} \\). In particular, we first randomly sample \\( M \\) latent codes from the fixed prior distribution \\( D^{prior} \\) as a prior bank \\( z_{bank}^{prior} \\in \\mathbb{R}^{D \\times 1 \\times M} \\). We then use \\( z_{i}^{exp.} \\) as the query and \\( z_{bank}^{prior} \\) as the key and value for cross-attention:"
780
+ },
781
+ {
782
+ "type": "equation",
783
+ "bbox": [
784
+ 0.122,
785
+ 0.359,
786
+ 0.469,
787
+ 0.381
788
+ ],
789
+ "angle": 0,
790
+ "content": "\\[\n\\tilde {z} _ {i} ^ {e x p.} = \\operatorname {S o f t m a x} \\left(z _ {i} ^ {e x p. \\top} \\cdot z _ {\\text {b a n k}} ^ {\\text {p r i o r}}\\right) \\cdot z _ {\\text {b a n k}} ^ {\\text {p r i o r}} ^ {\\top}. \\tag {8}\n\\]"
791
+ },
792
+ {
793
+ "type": "text",
794
+ "bbox": [
795
+ 0.076,
796
+ 0.388,
797
+ 0.469,
798
+ 0.48
799
+ ],
800
+ "angle": 0,
801
+ "content": "In this way, \\(\\tilde{z}_i^{exp.}\\) is constrained into the frozen prior distribution \\(D^{prior}(X)\\), with respect to the input \\(X\\). After that, we use the fixed \\(F_{\\theta}^{head}\\) to transform the expert prompt into the final segmentation result \\(P_i^{exp.}\\), which is used to compare with the corresponding expert annotation \\(A_i\\) for computing the segmentation loss as"
802
+ },
803
+ {
804
+ "type": "equation",
805
+ "bbox": [
806
+ 0.18,
807
+ 0.486,
808
+ 0.469,
809
+ 0.525
810
+ ],
811
+ "angle": 0,
812
+ "content": "\\[\n\\mathcal {L} _ {\\text {s e g}} ^ {\\text {c o r r .}} = \\sum_ {i = 1} ^ {n} D S C \\left(P _ {i} ^ {\\text {e x p .}}, A _ {i}\\right) \\tag {9}\n\\]"
813
+ },
814
+ {
815
+ "type": "equation",
816
+ "bbox": [
817
+ 0.154,
818
+ 0.527,
819
+ 0.393,
820
+ 0.547
821
+ ],
822
+ "angle": 0,
823
+ "content": "\\[\ns. t., P _ {i} ^ {e x p.} = F _ {\\theta} ^ {h e a d} \\left(\\hat {z} _ {i} ^ {e x p.}, F _ {\\theta} ^ {b} (X)\\right),\n\\]"
824
+ },
825
+ {
826
+ "type": "text",
827
+ "bbox": [
828
+ 0.076,
829
+ 0.553,
830
+ 0.469,
831
+ 0.63
832
+ ],
833
+ "angle": 0,
834
+ "content": "where \\(\\hat{z}_i^{exp.}\\) is the scaled version of \\(\\tilde{z}_i^{exp.}\\). Note that, \\(\\mathcal{L}_{seg}^{corr.}\\) is only used to train the \\(n\\) projection heads, while other modules are fixed in Stage II. This design principle of our Stage II personalized segmentation part is general and can be extended into other powerful generative methods [34]."
835
+ },
836
+ {
837
+ "type": "title",
838
+ "bbox": [
839
+ 0.077,
840
+ 0.642,
841
+ 0.312,
842
+ 0.659
843
+ ],
844
+ "angle": 0,
845
+ "content": "4. Experiments and Results"
846
+ },
847
+ {
848
+ "type": "title",
849
+ "bbox": [
850
+ 0.077,
851
+ 0.666,
852
+ 0.173,
853
+ 0.681
854
+ ],
855
+ "angle": 0,
856
+ "content": "4.1. Dataset"
857
+ },
858
+ {
859
+ "type": "text",
860
+ "bbox": [
861
+ 0.076,
862
+ 0.689,
863
+ 0.469,
864
+ 0.735
865
+ ],
866
+ "angle": 0,
867
+ "content": "We evaluate our method on the two segmentation datasets: our in-house dataset (NPC-170) and the public lung nodule segmentation dataset (LIDC-IDRI) [1]."
868
+ },
869
+ {
870
+ "type": "text",
871
+ "bbox": [
872
+ 0.076,
873
+ 0.735,
874
+ 0.469,
875
+ 0.902
876
+ ],
877
+ "angle": 0,
878
+ "content": "The NPC-170 dataset contains 170 subjects with Nasopharyngeal Carcinoma in three Magnetic Resonance Imaging (MRI) contrasts (T1, T1-Contrast, and T2). For each sample, four senior radiologists from different locations (with experiences of around 5-10 years) individually annotated the GTVp of Nasopharyngeal Carcinoma. We divide the 170 subjects into separate training, validation, and testing sets (i.e., 100, 20, and 50 subjects, respectively). 2D medical image segmentation is employed in the experiments and, in total, there are 6134, 1126, and 3058 slices for the model training, validation, and testing, respectively."
879
+ },
880
+ {
881
+ "type": "text",
882
+ "bbox": [
883
+ 0.498,
884
+ 0.092,
885
+ 0.892,
886
+ 0.273
887
+ ],
888
+ "angle": 0,
889
+ "content": "The LIDC-IDRI dataset contains 1609 2D thoracic CT scans belonging to 214 subjects. Each scan is equipped with four binary masks to indicate the lung nodule. Note that, 12 radiologists participated in the annotation process [1]. To simulate the expert preferences, we manually rank the areas of four provided annotations, as the setting in [48]. In this way, the first expert is supposed to be conservative in the sense of only annotating the minimum regions while the fourth expert prefers to annotate any suspicious lung nodule area, i.e., producing the largest annotation regions. Following [42], a four-fold cross-validation setting at the patient level is used in the experiments."
890
+ },
891
+ {
892
+ "type": "title",
893
+ "bbox": [
894
+ 0.499,
895
+ 0.282,
896
+ 0.719,
897
+ 0.298
898
+ ],
899
+ "angle": 0,
900
+ "content": "4.2. Implementation Details"
901
+ },
902
+ {
903
+ "type": "text",
904
+ "bbox": [
905
+ 0.498,
906
+ 0.304,
907
+ 0.892,
908
+ 0.426
909
+ ],
910
+ "angle": 0,
911
+ "content": "The inputs from both the NPC-170 and LIDC-IDRI datasets are center-cropped into a fixed size of \\( 128 \\times 128 \\). Then, for the samples on NPC-170, we normalize them into zero mean and unit variance. Random flips, rotation, or adding random noise are applied to augment the training data. On the LIDC-IDRI dataset, we follow [42] to perform the data pre-processing and use the common flip and rotation operations to augment the samples on the LIDC-IDRI dataset."
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.498,
917
+ 0.426,
918
+ 0.892,
919
+ 0.607
920
+ ],
921
+ "angle": 0,
922
+ "content": "For the model training, we adopt the Adam optimizer with an initial learning rate of 1e-4. The loss weight \\(\\alpha\\) and the distribution dimension \\(D\\) are set as 1 and 6, as [36]. The overall training epochs are 300, including 100 epochs for Stage I and 200 epochs for Stage II. The size of \\(z_{bank}^{prior}\\), i.e., \\(M\\) is set as 100. \\(K\\) and \\(\\beta\\) are set as 10 and 0.5, which will be discussed in Section 5.2. An L2-regularization term is also used to avoid over-fitting as [18, 36]. All experiments are conducted in an identical environment with a single NVIDIA GeForce RTX 3090 GPU. The overall number of parameters is 28.46 M and the projection head is relatively lightweight (i.e., 22.03 K for each head)."
923
+ },
924
+ {
925
+ "type": "title",
926
+ "bbox": [
927
+ 0.499,
928
+ 0.615,
929
+ 0.684,
930
+ 0.63
931
+ ],
932
+ "angle": 0,
933
+ "content": "4.3. Evaluation Metrics"
934
+ },
935
+ {
936
+ "type": "text",
937
+ "bbox": [
938
+ 0.498,
939
+ 0.639,
940
+ 0.892,
941
+ 0.759
942
+ ],
943
+ "angle": 0,
944
+ "content": "Considering our D-Persona model consists of two stages: diversified and personalized segmentation, we thus evaluate them separately. First, we use two common set-to-set metrics for the diversity estimation, i.e., the Generalized Energy Distance \\( GED \\) [3, 18] and the soft Dice score \\( Dice_{soft} \\) [15, 42]. The former is used to measure the prediction diversity and the latter indicates the reliability of different generated results. Specifically, \\( GED \\) is defined as"
945
+ },
946
+ {
947
+ "type": "equation",
948
+ "bbox": [
949
+ 0.51,
950
+ 0.769,
951
+ 0.892,
952
+ 0.786
953
+ ],
954
+ "angle": 0,
955
+ "content": "\\[\nG E D = 2 \\mathbb {E} [ d (P, A) ] - \\mathbb {E} [ d (P, P ^ {\\prime}) ] - \\mathbb {E} [ d (A, A ^ {\\prime}) ], \\tag {10}\n\\]"
956
+ },
957
+ {
958
+ "type": "text",
959
+ "bbox": [
960
+ 0.498,
961
+ 0.795,
962
+ 0.892,
963
+ 0.902
964
+ ],
965
+ "angle": 0,
966
+ "content": "where \\( P \\), \\( P' \\) and \\( A \\), \\( A' \\) are independent samples from the prediction set \\( P_{set} \\) and annotation set \\( A_{set} \\), respectively, and \\( d \\) denotes the distance function \\( d(a,b) = 1 - IoU(a,b) \\) as in [18]. In general, a lower GED indicates greater dispersion and variability in the segmentation results. Moreover, \\( Dice_{soft} \\) receives the soft predictions \\( P_{soft} \\) and soft annotations \\( A_{soft} \\) (i.e., the average of multiple predictions"
967
+ },
968
+ {
969
+ "type": "page_number",
970
+ "bbox": [
971
+ 0.48,
972
+ 0.945,
973
+ 0.52,
974
+ 0.957
975
+ ],
976
+ "angle": 0,
977
+ "content": "11474"
978
+ }
979
+ ],
980
+ [
981
+ {
982
+ "type": "table_caption",
983
+ "bbox": [
984
+ 0.076,
985
+ 0.089,
986
+ 0.895,
987
+ 0.133
988
+ ],
989
+ "angle": 0,
990
+ "content": "Table 1. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on our in-house NPC-170 dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively."
991
+ },
992
+ {
993
+ "type": "table",
994
+ "bbox": [
995
+ 0.081,
996
+ 0.143,
997
+ 0.894,
998
+ 0.376
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Diversity Performance</td><td colspan=\"2\">Personalized Bounds (%)</td><td colspan=\"5\">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.4888</td><td>73.69</td><td rowspan=\"4\" colspan=\"2\">N/A</td><td>80.90</td><td>70.51</td><td>67.14</td><td>72.57</td><td>72.78</td></tr><tr><td>U-Net (A2)</td><td>0.5086</td><td>73.64</td><td>72.05</td><td>75.62</td><td>69.93</td><td>71.85</td><td>72.36</td></tr><tr><td>U-Net (A3)</td><td>0.5077</td><td>72.37</td><td>69.46</td><td>73.09</td><td>76.25</td><td>69.86</td><td>72.17</td></tr><tr><td>U-Net (A4)</td><td>0.5433</td><td>71.63</td><td>73.71</td><td>68.77</td><td>66.08</td><td>73.54</td><td>70.52</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.4478</td><td>75.33</td><td>74.18</td><td>74.17</td><td rowspan=\"6\" colspan=\"5\">N/A</td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.4466</td><td>75.34</td><td>74.23</td><td>74.22</td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.4465</td><td>75.34</td><td>74.24</td><td>74.24</td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.2553</td><td>79.99</td><td>76.54</td><td>76.40</td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.2385</td><td>80.40</td><td>77.50</td><td>77.43</td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.2359</td><td>80.43</td><td>77.70</td><td>77.67</td></tr><tr><td>CM-Global [38]</td><td>0.4375</td><td>76.28</td><td>75.00</td><td>75.00</td><td>77.92</td><td>74.65</td><td>71.97</td><td>75.47</td><td>75.00</td></tr><tr><td>CM-Pixel [48]</td><td>0.4400</td><td>76.39</td><td>74.92</td><td>74.92</td><td>78.97</td><td>73.93</td><td>71.65</td><td>75.12</td><td>74.92</td></tr><tr><td>TAB [23]</td><td>0.2760</td><td>78.90</td><td>76.68</td><td>75.15</td><td>77.33</td><td>73.45</td><td>74.83</td><td>71.67</td><td>74.32</td></tr><tr><td>Pionono [36]</td><td>0.3924</td><td>76.96</td><td>75.58</td><td>75.44</td><td>78.87</td><td>74.11</td><td>71.97</td><td>75.41</td><td>75.09</td></tr><tr><td>D-Persona (Stage II)</td><td>0.3199</td><td>79.01</td><td>77.26</td><td>76.61</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "bbox": [
1006
+ 0.076,
1007
+ 0.401,
1008
+ 0.471,
1009
+ 0.431
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "and annotations) and uses varied thresholds to conduct \\( T \\) times of binary evaluations as:"
1013
+ },
1014
+ {
1015
+ "type": "equation",
1016
+ "bbox": [
1017
+ 0.086,
1018
+ 0.441,
1019
+ 0.47,
1020
+ 0.482
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "\\[\nD i c e _ {s o f t} = \\frac {1}{T} \\sum_ {i = 1} ^ {T} D i c e ([ P _ {s o f t} > \\tau_ {i} ], [ A _ {s o f t} > \\tau_ {i} ]) \\tag {11}\n\\]"
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "bbox": [
1028
+ 0.076,
1029
+ 0.491,
1030
+ 0.47,
1031
+ 0.524
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "where \\(\\tau\\) is a threshold selected from the set \\(\\{0.1, 0.3, 0.5, 0.7, 0.9\\}\\) with \\(T = 5\\)."
1035
+ },
1036
+ {
1037
+ "type": "table",
1038
+ "bbox": [
1039
+ 0.126,
1040
+ 0.538,
1041
+ 0.422,
1042
+ 0.707
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "<table><tr><td>Dice</td><td colspan=\"4\">Four Given Annotations</td></tr><tr><td rowspan=\"6\">Six Sampled Predictions</td><td>0.5532</td><td>0.8994</td><td>0.8624</td><td>0.6338</td></tr><tr><td>0.5552</td><td>0.6694</td><td>0.5210</td><td>0.7575</td></tr><tr><td>0.7135</td><td>0.8476</td><td>0.8500</td><td>0.5928</td></tr><tr><td>0.5556</td><td>0.5949</td><td>0.6366</td><td>0.7836</td></tr><tr><td>0.5099</td><td>0.6071</td><td>0.5953</td><td>0.8973</td></tr><tr><td>0.8094</td><td>0.8452</td><td>0.5741</td><td>0.7156</td></tr><tr><td rowspan=\"2\">Metrics</td><td colspan=\"4\">Dice_max = {0.8094, 0.8994, 0.8624, 0.8973} mean</td></tr><tr><td colspan=\"4\">Dice_MATCH = {0.8094, 0.8994, 0.8500, 0.8973} mean</td></tr></table>"
1046
+ },
1047
+ {
1048
+ "type": "table_caption",
1049
+ "bbox": [
1050
+ 0.076,
1051
+ 0.724,
1052
+ 0.471,
1053
+ 0.78
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "Figure 3. Exemplar explanation of \\(Dice_{max}\\) and \\(Dice_{match}\\) in a given \\(4 \\times 6\\) Dice matrix. \\(Dice_{max}\\) averages the maximum scores of individual columns and \\(Dice_{match}\\) further constrains a one-to-one matching between the prediction and annotation sets."
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "bbox": [
1061
+ 0.076,
1062
+ 0.796,
1063
+ 0.471,
1064
+ 0.903
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "Second, we further use the set-to-set metrics \\(Dice_{max}\\) and \\(Dice_{match}\\) to evaluate the personalized segmentation in our framework. As Fig. 3 shows, \\(Dice_{max}\\) quantifies the optimal overlap between \\(P_{set}\\) and \\(A_{set}\\). \\(Dice_{match}\\) further imposes a stringent one-to-one matching criterion between the sets. In other words, \\(Dice_{max}\\) is an upper bound of \\(Dice_{match}\\) and their differences serve as an indicator to de"
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "bbox": [
1072
+ 0.499,
1073
+ 0.401,
1074
+ 0.892,
1075
+ 0.431
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": "termine whether each expert annotation corresponds with a unique and closely aligned prediction."
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "bbox": [
1083
+ 0.499,
1084
+ 0.433,
1085
+ 0.892,
1086
+ 0.51
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "Additionally, we also provide each annotator a Dice score (denoted as \\(Dice_{A(i)}\\), \\(i = 1,\\dots ,n\\)), to reflect the personalized segmentation performance for the respective human expert. Then, \\(Dice_{mean}\\) further gives the average personalized performance of the \\(n\\) experts."
1090
+ },
1091
+ {
1092
+ "type": "title",
1093
+ "bbox": [
1094
+ 0.5,
1095
+ 0.527,
1096
+ 0.734,
1097
+ 0.543
1098
+ ],
1099
+ "angle": 0,
1100
+ "content": "4.4. Performance on NPC-170"
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "bbox": [
1105
+ 0.499,
1106
+ 0.554,
1107
+ 0.892,
1108
+ 0.903
1109
+ ],
1110
+ "angle": 0,
1111
+ "content": "Table 1 gives the quantitative performance of our proposed D-Persona in comparison with other existing works on the in-house NPC-170 dataset, indicating several findings: (1) the individually trained U-Net models, where only annotations from a single expert are used, achieve superior results for the targeted expert but significantly poor performance for the others, highlighting the great inter-observer variability; (2) for generation-based methods, our Stage I exhibits remarkable segmentation diversity than the baseline model, as evidenced by leading scores in \\( GED \\) and \\( Dice_{soft} \\); (3) we also observe an increase in personalized bounds in Stage I (e.g., \\( Dice_{max} \\) improves from \\( 74.18\\% \\) of the baseline to \\( 76.54\\% \\) of our model), and further improvements can be achieved by increasing the number of sampled latent codes (e.g., a \\( 1.16\\% \\) gain in \\( Dice_{max} \\) with 50 random samples); (4) in Stage II, our two-stage personalization strategy surpasses the performance of other one-stage methods (e.g., a \\( 1.10\\% \\) gain in \\( Dice_{mean} \\) than the second-best model [36]), demonstrating the superiority of our approach. Note that, when compared with the individually trained models, our D-Persona Stage II does not perform better for the personalized results specific to the particular annotator except \\( A_4 \\). This also happens to all the compared one-stage methods."
1112
+ },
1113
+ {
1114
+ "type": "page_number",
1115
+ "bbox": [
1116
+ 0.48,
1117
+ 0.945,
1118
+ 0.519,
1119
+ 0.957
1120
+ ],
1121
+ "angle": 0,
1122
+ "content": "11475"
1123
+ }
1124
+ ],
1125
+ [
1126
+ {
1127
+ "type": "table_caption",
1128
+ "bbox": [
1129
+ 0.076,
1130
+ 0.089,
1131
+ 0.895,
1132
+ 0.134
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Table 2. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on the public LIDC-IDRI dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively."
1136
+ },
1137
+ {
1138
+ "type": "table",
1139
+ "bbox": [
1140
+ 0.081,
1141
+ 0.143,
1142
+ 0.894,
1143
+ 0.376
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Diversity Performance</td><td colspan=\"2\">Personalized Bounds (%)</td><td colspan=\"5\">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.3062</td><td>86.59</td><td></td><td></td><td>87.80</td><td>87.47</td><td>85.49</td><td>80.67</td><td>85.36</td></tr><tr><td>U-Net (A2)</td><td>0.2459</td><td>88.43</td><td></td><td></td><td>87.16</td><td>89.08</td><td>88.59</td><td>85.15</td><td>87.50</td></tr><tr><td>U-Net (A3)</td><td>0.2436</td><td>88.20</td><td></td><td>N/A</td><td>85.29</td><td>88.48</td><td>89.40</td><td>87.20</td><td>87.59</td></tr><tr><td>U-Net (A4)</td><td>0.2962</td><td>85.83</td><td></td><td></td><td>80.80</td><td>85.48</td><td>88.22</td><td>88.90</td><td>85.85</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.2181</td><td>88.79</td><td>88.60</td><td>88.43</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.2169</td><td>88.79</td><td>88.80</td><td>88.73</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.2168</td><td>88.80</td><td>88.87</td><td>88.81</td><td></td><td></td><td>N/A</td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.1461</td><td>90.24</td><td>90.75</td><td>90.51</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.1375</td><td>90.42</td><td>91.23</td><td>91.16</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.1358</td><td>90.45</td><td>91.37</td><td>91.33</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CM-Global [38]</td><td>0.2432</td><td>88.53</td><td>87.51</td><td>87.51</td><td>86.13</td><td>88.76</td><td>88.99</td><td>86.18</td><td>87.51</td></tr><tr><td>CM-Pixel [48]</td><td>0.2407</td><td>88.64</td><td>87.72</td><td>87.72</td><td>85.99</td><td>88.81</td><td>89.31</td><td>86.77</td><td>87.72</td></tr><tr><td>TAB [23]</td><td>0.2322</td><td>86.35</td><td>87.11</td><td>86.08</td><td>85.00</td><td>86.35</td><td>86.77</td><td>85.77</td><td>85.97</td></tr><tr><td>Pionono [36]</td><td>0.1502</td><td>90.00</td><td>90.10</td><td>88.97</td><td>87.94</td><td>89.11</td><td>89.55</td><td>88.76</td><td>88.84</td></tr><tr><td>D-Persona (Stage II)</td><td>0.1444</td><td>90.31</td><td>90.38</td><td>89.17</td><td>88.54</td><td>89.50</td><td>90.03</td><td>88.60</td><td>89.17</td></tr></table>"
1147
+ },
1148
+ {
1149
+ "type": "title",
1150
+ "bbox": [
1151
+ 0.077,
1152
+ 0.4,
1153
+ 0.332,
1154
+ 0.416
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "4.5. Performance on LIDC-IDRI"
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "bbox": [
1162
+ 0.076,
1163
+ 0.424,
1164
+ 0.474,
1165
+ 0.651
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "Table 2 extends the evaluation of our model to the LIDC-IDRI dataset, where the average performance of a four-fold cross-validation is given. The individually trained results indicate that the inter-observer variance is less pronounced compared to our in-house NPC-170 dataset. Then, echoing the findings from NPC-170, our D-Persona model consistently outperforms the baseline Probabilistic U-Net [18] in achieving superior diversified segmentation performance. Furthermore, the second stage of our proposed D-Persona model exhibits better performance in both the set-to-set evaluations and the one-to-one comparisons. Meanwhile, in Stage II, we can see that the average personalized performance has reached the upper bound (i.e., both \\(D_{ice\\_match}\\) and \\(D_{ice\\_mean}\\): \\(89.17\\%\\)) on LIDC-IDRI, highlighting its effectiveness in personalized medical image segmentation."
1169
+ },
1170
+ {
1171
+ "type": "title",
1172
+ "bbox": [
1173
+ 0.077,
1174
+ 0.668,
1175
+ 0.2,
1176
+ 0.684
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "5. Discussions"
1180
+ },
1181
+ {
1182
+ "type": "title",
1183
+ "bbox": [
1184
+ 0.077,
1185
+ 0.694,
1186
+ 0.224,
1187
+ 0.71
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "5.1. Visual Results"
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "bbox": [
1195
+ 0.076,
1196
+ 0.718,
1197
+ 0.47,
1198
+ 0.795
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "Fig. 4 shows the diversified segmentation results of Stage I in our D-Persona model. We can see that, on the two datasets, our model can generate varying and plausible predictions for the target regions, which brings potential benefits for providing different opinions in clinical scenarios."
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "bbox": [
1206
+ 0.076,
1207
+ 0.81,
1208
+ 0.471,
1209
+ 0.902
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "Fig. 5 further illustrates the personalized segmentation results of Stage II in the proposed model. First, on the NPC-170 dataset, our D-Persona can detect most of the targets, producing predictions in complex anatomical structures as the given expert annotations, indicated by the green arrows in Fig. 5. Second, on LIDC-IDRI, as we simulated the"
1213
+ },
1214
+ {
1215
+ "type": "image",
1216
+ "bbox": [
1217
+ 0.51,
1218
+ 0.404,
1219
+ 0.885,
1220
+ 0.574
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": null
1224
+ },
1225
+ {
1226
+ "type": "image_caption",
1227
+ "bbox": [
1228
+ 0.499,
1229
+ 0.588,
1230
+ 0.893,
1231
+ 0.658
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "Figure 4. Diversified segmentation results of Stage I in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Different colors denote different delineations, which shows that our model can generate diverse and plausible predictions."
1235
+ },
1236
+ {
1237
+ "type": "table_caption",
1238
+ "bbox": [
1239
+ 0.499,
1240
+ 0.672,
1241
+ 0.895,
1242
+ 0.715
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Table 3. Ablation studies of different \\( K \\) and \\( \\beta \\) in Stage I of our proposed D-Persona framework on the NPC-170 dataset. The sampling number is set as 50 for all comparisons."
1246
+ },
1247
+ {
1248
+ "type": "table",
1249
+ "bbox": [
1250
+ 0.504,
1251
+ 0.725,
1252
+ 0.892,
1253
+ 0.801
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "<table><tr><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td></tr><tr><td>6</td><td></td><td>0.2545</td><td>78.81</td><td rowspan=\"5\">10</td><td>0.01</td><td>0.4378</td><td>75.80</td></tr><tr><td>8</td><td rowspan=\"2\">0.5</td><td>0.2512</td><td>79.48</td><td>0.1</td><td>0.3358</td><td>77.95</td></tr><tr><td>10</td><td>0.2359</td><td>80.43</td><td>0.5</td><td>0.2359</td><td>80.43</td></tr><tr><td>12</td><td></td><td>0.2389</td><td>80.17</td><td>1</td><td>0.2170</td><td>80.20</td></tr><tr><td>14</td><td></td><td>0.2368</td><td>80.08</td><td>2</td><td>0.2581</td><td>77.73</td></tr></table>"
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "bbox": [
1261
+ 0.499,
1262
+ 0.826,
1263
+ 0.895,
1264
+ 0.903
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "expert preferences from conservative to aggressive styles (see Section 4.1), the right part of Fig. 5 reveals that our model can successfully capture the underlying preferences, demonstrating the superiority of our proposed D-Persona model for personalized segmentation."
1268
+ },
1269
+ {
1270
+ "type": "page_number",
1271
+ "bbox": [
1272
+ 0.48,
1273
+ 0.945,
1274
+ 0.521,
1275
+ 0.958
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "11476"
1279
+ }
1280
+ ],
1281
+ [
1282
+ {
1283
+ "type": "image",
1284
+ "bbox": [
1285
+ 0.084,
1286
+ 0.094,
1287
+ 0.887,
1288
+ 0.237
1289
+ ],
1290
+ "angle": 0,
1291
+ "content": null
1292
+ },
1293
+ {
1294
+ "type": "image_caption",
1295
+ "bbox": [
1296
+ 0.076,
1297
+ 0.251,
1298
+ 0.893,
1299
+ 0.307
1300
+ ],
1301
+ "angle": 0,
1302
+ "content": "Figure 5. Personalized segmentation results of Stage II in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Compared to expert annotations (Red), our model can generate corresponding personalized segmentation results (Yellow). Particularly, our model successfully captures the underlying annotation preferences, i.e., from conservative to aggressive styles, as shown in the four LIDC-IDRI results on the right."
1303
+ },
1304
+ {
1305
+ "type": "title",
1306
+ "bbox": [
1307
+ 0.077,
1308
+ 0.332,
1309
+ 0.348,
1310
+ 0.349
1311
+ ],
1312
+ "angle": 0,
1313
+ "content": "5.2. Selection of Hyper-parameters"
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "bbox": [
1318
+ 0.076,
1319
+ 0.356,
1320
+ 0.47,
1321
+ 0.506
1322
+ ],
1323
+ "angle": 0,
1324
+ "content": "To control the diversity of generated segmentation results, we here discuss the selection of hyper-parameters \\( K \\) and \\( \\beta \\) in Stage I of our model. \\( K \\) is the size of the sampled latent codes in the prior distribution \\( \\mathbb{D}^{prior} \\). Since we applied the bound-constrained loss to supervise the learning of \\( \\mathbb{D}^{prior} \\) and a smaller \\( K \\) could make the segmentation results approach the fixed annotation bounds. The top of Table 3 shows that, on the NPC-170 dataset, setting \\( K \\) as 10 can achieve better diversified performance for the GTVp delineation of Nasopharyngeal Carcinoma."
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "bbox": [
1329
+ 0.076,
1330
+ 0.507,
1331
+ 0.47,
1332
+ 0.598
1333
+ ],
1334
+ "angle": 0,
1335
+ "content": "At the same time, \\(\\beta\\) is used to balance the proposed bound loss with other losses in Equation (6). The bottom results of Table 3 indicate that selecting \\(\\beta\\) as 0.5 for the model training achieves the highest \\(Dicesoft\\) and secondbest \\(GED\\) values on the NPC-170 dataset. We thus set \\(\\beta\\) as 0.5 for all experiments in this paper."
1336
+ },
1337
+ {
1338
+ "type": "title",
1339
+ "bbox": [
1340
+ 0.077,
1341
+ 0.607,
1342
+ 0.447,
1343
+ 0.623
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "5.3. Comparisons with Crowdsourcing Methods"
1347
+ },
1348
+ {
1349
+ "type": "table_caption",
1350
+ "bbox": [
1351
+ 0.076,
1352
+ 0.644,
1353
+ 0.47,
1354
+ 0.686
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "Table 4. Comparisons between several crowdsourcing methods including majority voting (MV), random selection (RS) [17], STAPLE [44] and our proposed D-Persona model on NPC-170."
1358
+ },
1359
+ {
1360
+ "type": "table",
1361
+ "bbox": [
1362
+ 0.082,
1363
+ 0.697,
1364
+ 0.47,
1365
+ 0.764
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "<table><tr><td>Method</td><td>DiceA1↑</td><td>DiceA2↑</td><td>DiceA3↑</td><td>DiceA4↑</td><td>Dicemean↑</td></tr><tr><td>MV</td><td>76.80</td><td>71.28</td><td>70.24</td><td>73.64</td><td>72.99</td></tr><tr><td>RS [17]</td><td>78.45</td><td>74.92</td><td>72.04</td><td>75.54</td><td>75.24</td></tr><tr><td>STAPLE [44]</td><td>75.75</td><td>75.76</td><td>72.29</td><td>74.07</td><td>74.47</td></tr><tr><td>D-Persona</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>"
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "bbox": [
1373
+ 0.076,
1374
+ 0.781,
1375
+ 0.471,
1376
+ 0.902
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": "As aforementioned, crowdsourcing methods aim to combine multiple annotations for the model training. Table 4 shows the performance of several conventional crowdsourcing methods, including majority voting (MV), Random Selection (RS) [17] and STAPLE [44] on the NPC-170 dataset. We can see that, our proposed D-Persona model achieves the highest performance in \\( \\text{Dice}_{\\text{mean}} \\) than all heuristic crowdsourcing works (e.g., a \\( 0.95\\% \\) gain than the second"
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "bbox": [
1384
+ 0.499,
1385
+ 0.333,
1386
+ 0.892,
1387
+ 0.379
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "best model [17]). Furthermore, our model can provide diversified segmentation results at the same time, facilitating more clinical usage through a unified model."
1391
+ },
1392
+ {
1393
+ "type": "title",
1394
+ "bbox": [
1395
+ 0.5,
1396
+ 0.392,
1397
+ 0.757,
1398
+ 0.407
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "5.4. Limitation and Future Work"
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "bbox": [
1406
+ 0.498,
1407
+ 0.416,
1408
+ 0.893,
1409
+ 0.553
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "As mentioned in Section 4.4, on the NPC-170 dataset, it remains difficult for our model to surpass the individually trained U-Net models for personalized segmentation. This suggests that preserving the distinctive preference of a particular expert is still a challenge in this task, especially when the training labels vary significantly. In other words, improving the predictions having an individual expert's style by leveraging different annotations from other experts is not fully resolved, which is worth future investigation."
1413
+ },
1414
+ {
1415
+ "type": "title",
1416
+ "bbox": [
1417
+ 0.5,
1418
+ 0.571,
1419
+ 0.619,
1420
+ 0.587
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "6. Conclusion"
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "bbox": [
1428
+ 0.498,
1429
+ 0.598,
1430
+ 0.892,
1431
+ 0.839
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "In this paper, we have presented a two-stage framework (D-Persona) for the multi-rater medical image segmentation problem, pointing out a new perspective that diversified and personalized segmentation can be addressed at the same time. Our main idea is to conduct diversified segmentation first and then query personalized results from the diversified ones. Specifically, an effective bound-constrained loss was proposed to improve the segmentation diversity, and a common latent space was constructed in Stage I to capture the annotation variability. Then, in the second stage, an attention-based projection mechanism was used to find specific expert prompts from the common latent space, so as to perform personalized segmentation. Extensive experiments on the two datasets have demonstrated that our proposed D-Persona model significantly outperforms other existing works in multi-rater medical image segmentation."
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "bbox": [
1439
+ 0.498,
1440
+ 0.84,
1441
+ 0.892,
1442
+ 0.901
1443
+ ],
1444
+ "angle": 0,
1445
+ "content": "Societal Impacts. Our proposed model was trained and evaluated on the two available but limited datasets and may be impacted by the dataset bias [35], which might result in unconvincing predictions in practical applications."
1446
+ },
1447
+ {
1448
+ "type": "page_number",
1449
+ "bbox": [
1450
+ 0.481,
1451
+ 0.945,
1452
+ 0.519,
1453
+ 0.957
1454
+ ],
1455
+ "angle": 0,
1456
+ "content": "11477"
1457
+ }
1458
+ ],
1459
+ [
1460
+ {
1461
+ "type": "title",
1462
+ "bbox": [
1463
+ 0.079,
1464
+ 0.09,
1465
+ 0.176,
1466
+ 0.107
1467
+ ],
1468
+ "angle": 0,
1469
+ "content": "References"
1470
+ },
1471
+ {
1472
+ "type": "ref_text",
1473
+ "bbox": [
1474
+ 0.087,
1475
+ 0.115,
1476
+ 0.47,
1477
+ 0.212
1478
+ ],
1479
+ "angle": 0,
1480
+ "content": "[1] Samuel G Armato III, Geoffrey McLennan, Luc Bidaut, Michael F McNitt-Gray, Charles R Meyer, Anthony P Reeves, Binsheng Zhao, Denise R Aberle, Claudia I Henschke, Eric A Hoffman, et al. The lung image database consortium (lidc) and image database resource initiative (idri): a completed reference database of lung nodules on ct scans. Medical Physics, 38(2):915-931, 2011. 5"
1481
+ },
1482
+ {
1483
+ "type": "ref_text",
1484
+ "bbox": [
1485
+ 0.087,
1486
+ 0.215,
1487
+ 0.472,
1488
+ 0.284
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "[2] Christian F Baumgartner, Kerem C Tezcan, Krishna Chaitanya, Andreas M Hotker, Urs J Muehlematter, Khoschy Schawkat, Anton S Becker, Olivio Donati, and Ender Konukoglu. Phiseg: Capturing uncertainty in medical image segmentation. In MICCAI, pages 119-127, 2019. 3, 4"
1492
+ },
1493
+ {
1494
+ "type": "ref_text",
1495
+ "bbox": [
1496
+ 0.087,
1497
+ 0.286,
1498
+ 0.472,
1499
+ 0.342
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "[3] Marc G Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Rémi Munos. The cramer distance as a solution to biased Wasserstein gradients. arXiv preprint arXiv:1705.10743, 2017. 5"
1503
+ },
1504
+ {
1505
+ "type": "ref_text",
1506
+ "bbox": [
1507
+ 0.087,
1508
+ 0.344,
1509
+ 0.472,
1510
+ 0.426
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "[4] Olivier Bernard, Alain Lalande, Clement Zotti, Frederick Cervenansky, Xin Yang, Pheng-Ann Heng, Irem Cetin, Karim Lekadir, Oscar Camara, Miguel Angel Gonzalez Ballester, et al. Deep learning techniques for automatic mri cardiac multi-structures segmentation and diagnosis: is the problem solved? IEEE TMI, 37(11):2514–2525, 2018. 1"
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "bbox": [
1518
+ 0.087,
1519
+ 0.429,
1520
+ 0.472,
1521
+ 0.47
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "[5] Peng Cao, Yilun Xu, Yuqing Kong, and Yizhou Wang. Max-mig: an information theoretic approach for joint learning from crowds. In ICLR, 2018. 3"
1525
+ },
1526
+ {
1527
+ "type": "ref_text",
1528
+ "bbox": [
1529
+ 0.087,
1530
+ 0.472,
1531
+ 0.472,
1532
+ 0.543
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "[6] Aaron Carass, Snehashis Roy, Amod Jog, Jennifer L Cuzzocreo, Elizabeth Magrath, Adrian Gherman, Julia Button, James Nguyen, Ferran Prados, Carole H Sudre, et al. Longitudinal multiple sclerosis lesion segmentation: resource and challenge. NeuroImage, 148:77-102, 2017. 1"
1536
+ },
1537
+ {
1538
+ "type": "ref_text",
1539
+ "bbox": [
1540
+ 0.087,
1541
+ 0.544,
1542
+ 0.472,
1543
+ 0.613
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": "[7] Pedro Celard, EL Iglesias, JM Sorribes-Fdez, Rubén Romero, A Seara Vieira, and L Borrajo. A survey on deep learning applied to medical images: from simple artificial neural networks to generative models. Neural Computing and Applications, 35(3):2291-2323, 2023. 3"
1547
+ },
1548
+ {
1549
+ "type": "ref_text",
1550
+ "bbox": [
1551
+ 0.087,
1552
+ 0.615,
1553
+ 0.472,
1554
+ 0.684
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "[8] De Cheng, Tongliang Liu, Yixiong Ning, Nannan Wang, Bo Han, Gang Niu, Xinbo Gao, and Masashi Sugiyama. Instance-dependent label-noise learning with manifold-regularized transition matrix estimation. In CVPR, pages 16630-16639, 2022. 3"
1558
+ },
1559
+ {
1560
+ "type": "ref_text",
1561
+ "bbox": [
1562
+ 0.087,
1563
+ 0.686,
1564
+ 0.472,
1565
+ 0.757
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "[9] Thorsten Falk, Dominic Mai, Robert Bensch, Özgün Çiçek, Ahmed Abdulkadir, Yassine Marrakchi, Anton Böhm, Jan Deubner, Zoe Jäckel, Katharina Seiwald, et al. U-net: deep learning for cell counting, detection, and morphometry. Nature Methods, 16(1):67-70, 2019. 1"
1569
+ },
1570
+ {
1571
+ "type": "ref_text",
1572
+ "bbox": [
1573
+ 0.079,
1574
+ 0.758,
1575
+ 0.472,
1576
+ 0.828
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "[10] Fan Fu, Jianyong Wei, Miao Zhang, Fan Yu, Yueting Xiao, Dongdong Rong, Yi Shan, Yan Li, Cheng Zhao, Fangzhou Liao, et al. Rapid vessel segmentation and reconstruction of head and neck angiograms using 3d convolutional neural network. Nature Communications, 11(1):4829, 2020. 1"
1580
+ },
1581
+ {
1582
+ "type": "ref_text",
1583
+ "bbox": [
1584
+ 0.079,
1585
+ 0.829,
1586
+ 0.472,
1587
+ 0.871
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "[11] Aritra Ghosh, Himanshu Kumar, and P Shanti Sastry. Robust loss functions under label noise for deep neural networks. In AAAI, pages 1919-1925, 2017. 3"
1591
+ },
1592
+ {
1593
+ "type": "ref_text",
1594
+ "bbox": [
1595
+ 0.079,
1596
+ 0.872,
1597
+ 0.472,
1598
+ 0.903
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "[12] Ali Hatamizadeh, Yucheng Tang, Vishwesh Nath, Dong Yang, Andriy Myronenko, Bennett Landman, Holger R"
1602
+ },
1603
+ {
1604
+ "type": "list",
1605
+ "bbox": [
1606
+ 0.079,
1607
+ 0.115,
1608
+ 0.472,
1609
+ 0.903
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": null
1613
+ },
1614
+ {
1615
+ "type": "ref_text",
1616
+ "bbox": [
1617
+ 0.533,
1618
+ 0.093,
1619
+ 0.892,
1620
+ 0.134
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "Roth, and Daguang Xu. Unetr: Transformers for 3d medical image segmentation. In WACV, pages 574-584, 2022. 1"
1624
+ },
1625
+ {
1626
+ "type": "ref_text",
1627
+ "bbox": [
1628
+ 0.503,
1629
+ 0.135,
1630
+ 0.892,
1631
+ 0.189
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "[13] Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2):203–211, 2021. 1"
1635
+ },
1636
+ {
1637
+ "type": "ref_text",
1638
+ "bbox": [
1639
+ 0.503,
1640
+ 0.19,
1641
+ 0.892,
1642
+ 0.259
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "[14] Martin Holm Jensen, Dan Richter Jorgensen, Raluca Jalaboi, Mads Eiler Hansen, and Martin Aastrup Olsen. Improving uncertainty estimation in convolutional neural networks using inter-rater agreement. In MICCAI, pages 540-548, 2019. 3, 4"
1646
+ },
1647
+ {
1648
+ "type": "ref_text",
1649
+ "bbox": [
1650
+ 0.503,
1651
+ 0.26,
1652
+ 0.892,
1653
+ 0.328
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "[15] Wei Ji, Shuang Yu, Junde Wu, Kai Ma, Cheng Bian, Qi Bi, Jingjing Li, Hanruo Liu, Li Cheng, and Yefeng Zheng. Learning calibrated medical image segmentation via multi-rater agreement modeling. In CVPR, pages 12341-12351, 2021. 1, 3, 5"
1657
+ },
1658
+ {
1659
+ "type": "ref_text",
1660
+ "bbox": [
1661
+ 0.503,
1662
+ 0.329,
1663
+ 0.892,
1664
+ 0.398
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "[16] Lie Ju, Xin Wang, Lin Wang, Dwarikanath Mahapatra, Xin Zhao, Quan Zhou, Tongliang Liu, and Zongyuan Ge. Improving medical images classification with label noise using dual-uncertainty estimation. IEEE TMI, 41(6):1533-1546, 2022. 3"
1668
+ },
1669
+ {
1670
+ "type": "ref_text",
1671
+ "bbox": [
1672
+ 0.503,
1673
+ 0.399,
1674
+ 0.892,
1675
+ 0.469
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "[17] Alain Jungo, Raphael Meier, Ekin Ermis, Marcela Blatti-Moreno, Evelyn Herrmann, Roland Wiest, and Mauricio Reyes. On the effect of inter-observer variability for a reliable estimation of uncertainty of medical image segmentation. In MICCAI, pages 682–690, 2018. 3, 4, 8"
1679
+ },
1680
+ {
1681
+ "type": "ref_text",
1682
+ "bbox": [
1683
+ 0.503,
1684
+ 0.47,
1685
+ 0.892,
1686
+ 0.537
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "[18] Simon Kohl, Bernardino Romera-Paredes, Clemens Meyer, Jeffrey De Fauw, Joseph R Ledsam, Klaus Maier-Hein, SM Eslami, Danilo Jimenez Rezende, and Olaf Ronneberger. A probabilistic u-net for segmentation of ambiguous images. In NeurIPS, 2018. 2, 3, 5, 6, 7"
1690
+ },
1691
+ {
1692
+ "type": "ref_text",
1693
+ "bbox": [
1694
+ 0.503,
1695
+ 0.539,
1696
+ 0.892,
1697
+ 0.608
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "[19] Simon AA Kohl, Bernardino Romera-Paredes, Klaus H Maier-Hein, Danilo Jimenez Rezende, SM Eslami, Pushmeet Kohli, Andrew Zisserman, and Olaf Ronneberger. A hierarchical probabilistic u-net for modeling multi-scale ambiguities. arXiv preprint arXiv:1905.13077, 2019. 3, 4"
1701
+ },
1702
+ {
1703
+ "type": "ref_text",
1704
+ "bbox": [
1705
+ 0.503,
1706
+ 0.608,
1707
+ 0.892,
1708
+ 0.691
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "[20] Anne W Lee, Wai Tong Ng, Jian Ji Pan, Sharon S Poh, Yong Chan Ahn, Hussain AlHussain, June Corry, Cai Grau, Vincent Gregoire, Kevin J Harrington, et al. International guideline for the delineation of the clinical target volumes (ctv) for nasopharyngeal carcinoma. Radiotherapy and Oncology, 126(1):25-36, 2018. 3"
1712
+ },
1713
+ {
1714
+ "type": "ref_text",
1715
+ "bbox": [
1716
+ 0.503,
1717
+ 0.692,
1718
+ 0.892,
1719
+ 0.734
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "[21] Junnan Li, Richard Socher, and Steven CH Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR, 2019. 3"
1723
+ },
1724
+ {
1725
+ "type": "ref_text",
1726
+ "bbox": [
1727
+ 0.503,
1728
+ 0.735,
1729
+ 0.892,
1730
+ 0.788
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": "[22] Rongjian Li, Tao Zeng, Hanchuan Peng, and Shuiwang Ji. Deep learning segmentation of optical microscopy images improves 3-d neuron reconstruction. IEEE TMI, 36(7):1533-1541, 2017. 1"
1734
+ },
1735
+ {
1736
+ "type": "ref_text",
1737
+ "bbox": [
1738
+ 0.503,
1739
+ 0.79,
1740
+ 0.892,
1741
+ 0.831
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": "[23] Zehui Liao, Shishuai Hu, Yutong Xie, and Yong Xia. Transformer-based annotation bias-aware medical image segmentation. In MICCAI, pages 24-34, 2023. 2, 3, 6, 7"
1745
+ },
1746
+ {
1747
+ "type": "ref_text",
1748
+ "bbox": [
1749
+ 0.503,
1750
+ 0.832,
1751
+ 0.892,
1752
+ 0.903
1753
+ ],
1754
+ "angle": 0,
1755
+ "content": "[24] Li Lin, Qi Dou, Yue-Ming Jin, Guan-Qun Zhou, Yi-Qiang Tang, Wei-Lin Chen, Bao-An Su, Feng Liu, Chang-Juan Tao, Ning Jiang, et al. Deep learning for automated contouring of primary tumor volumes by mri for nasopharyngeal carcinoma. Radiology, 291(3):677-686, 2019. 1"
1756
+ },
1757
+ {
1758
+ "type": "list",
1759
+ "bbox": [
1760
+ 0.503,
1761
+ 0.093,
1762
+ 0.892,
1763
+ 0.903
1764
+ ],
1765
+ "angle": 0,
1766
+ "content": null
1767
+ },
1768
+ {
1769
+ "type": "page_number",
1770
+ "bbox": [
1771
+ 0.48,
1772
+ 0.945,
1773
+ 0.521,
1774
+ 0.957
1775
+ ],
1776
+ "angle": 0,
1777
+ "content": "11478"
1778
+ }
1779
+ ],
1780
+ [
1781
+ {
1782
+ "type": "ref_text",
1783
+ "bbox": [
1784
+ 0.08,
1785
+ 0.092,
1786
+ 0.47,
1787
+ 0.133
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "[25] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE TPAMI, 38(3):447-461, 2015. 3"
1791
+ },
1792
+ {
1793
+ "type": "ref_text",
1794
+ "bbox": [
1795
+ 0.08,
1796
+ 0.134,
1797
+ 0.47,
1798
+ 0.232
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "[26] Xiangde Luo, Wenjun Liao, Yuan He, Fan Tang, Mengwan Wu, Yuanyuan Shen, Hui Huang, Tao Song, Kang Li, Shichuan Zhang, et al. Deep learning-based accurate delineation of primary gross tumor volume of nasopharyngeal carcinoma on heterogeneous magnetic resonance imaging: A large-scale and multi-center study. *Radiotherapy and Oncology*, 180:109480, 2023. 1"
1802
+ },
1803
+ {
1804
+ "type": "ref_text",
1805
+ "bbox": [
1806
+ 0.08,
1807
+ 0.233,
1808
+ 0.47,
1809
+ 0.302
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "[27] Amirreza Mahbod, Gerald Schaefer, Benjamin Bancher, Christine Löw, Georg Dorffner, Rupert Ecker, and Isabella Ellinger. Cryonuseg: A dataset for nuclei instance segmentation of cryosectioned h&E-stained histological images. Computers in Biology and Medicine, 132:104349, 2021. 3"
1813
+ },
1814
+ {
1815
+ "type": "ref_text",
1816
+ "bbox": [
1817
+ 0.08,
1818
+ 0.302,
1819
+ 0.47,
1820
+ 0.383
1821
+ ],
1822
+ "angle": 0,
1823
+ "content": "[28] Thibault Marin, Yue Zhuo, Rita Maria Lahoud, Fei Tian, Xiaoyue Ma, Fangxu Xing, Maryam Moteabbed, Xiaofeng Liu, Kira Grogg, Nadya Shusharina, et al. Deep learning-based gtv contouring modeling inter-and intra-observer variability in sarcomas. *Radiotherapy and Oncology*, 167:269–276, 2022. 1, 2"
1824
+ },
1825
+ {
1826
+ "type": "ref_text",
1827
+ "bbox": [
1828
+ 0.08,
1829
+ 0.385,
1830
+ 0.47,
1831
+ 0.439
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "[29] Aditya Menon, Brendan Van Rooyen, Cheng Soon Ong, and Bob Williamson. Learning from corrupted binary labels via class-probability estimation. In ICML, pages 125-134, 2015. 3"
1835
+ },
1836
+ {
1837
+ "type": "ref_text",
1838
+ "bbox": [
1839
+ 0.08,
1840
+ 0.441,
1841
+ 0.47,
1842
+ 0.51
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "[30] Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE TMI, 34(10):1993-2024, 2014. 1"
1846
+ },
1847
+ {
1848
+ "type": "ref_text",
1849
+ "bbox": [
1850
+ 0.08,
1851
+ 0.511,
1852
+ 0.47,
1853
+ 0.58
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "[31] Silas Ørting, Andrew Doyle, Arno van Hilden, Matthias Hirth, Oana Inel, Christopher R Madan, Panagiotis Mavridis, Helen Spiers, and Veronika Cheplygina. A survey of crowdsourcing in medical image analysis. arXiv preprint arXiv:1902.09159, 2019. 2"
1857
+ },
1858
+ {
1859
+ "type": "ref_text",
1860
+ "bbox": [
1861
+ 0.08,
1862
+ 0.58,
1863
+ 0.47,
1864
+ 0.621
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": "[32] Deep Patel and PS Sastry. Adaptive sample selection for robust learning under label noise. In WACV, pages 3932-3942, 2023. 3"
1868
+ },
1869
+ {
1870
+ "type": "ref_text",
1871
+ "bbox": [
1872
+ 0.08,
1873
+ 0.622,
1874
+ 0.47,
1875
+ 0.678
1876
+ ],
1877
+ "angle": 0,
1878
+ "content": "[33] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. 3"
1879
+ },
1880
+ {
1881
+ "type": "ref_text",
1882
+ "bbox": [
1883
+ 0.08,
1884
+ 0.679,
1885
+ 0.47,
1886
+ 0.734
1887
+ ],
1888
+ "angle": 0,
1889
+ "content": "[34] Aimon Rahman, Jeya Maria Jose Valanarasu, Ilker Hacihaliloglu, and Vishal M Patel. Ambiguous medical image segmentation using diffusion models. In CVPR, pages 11536-11546, 2023. 1, 2, 3, 5"
1890
+ },
1891
+ {
1892
+ "type": "ref_text",
1893
+ "bbox": [
1894
+ 0.08,
1895
+ 0.735,
1896
+ 0.47,
1897
+ 0.788
1898
+ ],
1899
+ "angle": 0,
1900
+ "content": "[35] María Agustina Ricci Lara, Rodrigo Echeveste, and Enzo Ferrante. Addressing fairness in artificial intelligence for medical imaging. Nature Communications, 13(1):4581, 2022. 8"
1901
+ },
1902
+ {
1903
+ "type": "ref_text",
1904
+ "bbox": [
1905
+ 0.08,
1906
+ 0.79,
1907
+ 0.47,
1908
+ 0.845
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": "[36] Arne Schmidt, Pablo Morales-Álvarez, and Rafael Molina. Probabilistic modeling of inter-and intra-observer variability in medical image segmentation. In ICCV, pages 21097–21106, 2023. 2, 3, 4, 5, 6, 7"
1912
+ },
1913
+ {
1914
+ "type": "ref_text",
1915
+ "bbox": [
1916
+ 0.08,
1917
+ 0.846,
1918
+ 0.47,
1919
+ 0.9
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "[37] Sainbayar Sukhbaatar, Joan Bruna, Manohar Paluri, Lubomir Bourdev, and Rob Fergus. Training convolutional networks with noisy labels. arXiv preprint arXiv:1406.2080, 2014. 3"
1923
+ },
1924
+ {
1925
+ "type": "list",
1926
+ "bbox": [
1927
+ 0.08,
1928
+ 0.092,
1929
+ 0.47,
1930
+ 0.9
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": null
1934
+ },
1935
+ {
1936
+ "type": "ref_text",
1937
+ "bbox": [
1938
+ 0.503,
1939
+ 0.093,
1940
+ 0.892,
1941
+ 0.148
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": "[38] Ryutaro Tanno, Ardavan Saeedi, Swami Sankaranarayanan, Daniel C Alexander, and Nathan Silberman. Learning from noisy labels by regularized estimation of annotator confusion. In CVPR, pages 11244-11253, 2019. 3, 6, 7"
1945
+ },
1946
+ {
1947
+ "type": "ref_text",
1948
+ "bbox": [
1949
+ 0.503,
1950
+ 0.149,
1951
+ 0.892,
1952
+ 0.233
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "[39] Vincenzo Valentini, Maria Antonietta Gambacorta, Brunella Barbaro, Giuditta Chiloiro, Claudio Coco, Prajnan Das, Francesco Fanfani, Ines Joye, Lisa Kachnic, Philippe Maingon, et al. International consensus guidelines on clinical target volume delineation in rectal cancer. *Radiotherapy and Oncology*, 120(2):195–201, 2016. 3"
1956
+ },
1957
+ {
1958
+ "type": "ref_text",
1959
+ "bbox": [
1960
+ 0.504,
1961
+ 0.234,
1962
+ 0.892,
1963
+ 0.289
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "[40] Julie van der Veen, Akos Gulyban, Siri Willems, Frederik Maes, and Sandra Nuyts. Interobserver variability in organ at risk delineation in head and neck cancer. *Radiation Oncology*, 16:1-11, 2021. 2"
1967
+ },
1968
+ {
1969
+ "type": "ref_text",
1970
+ "bbox": [
1971
+ 0.504,
1972
+ 0.29,
1973
+ 0.892,
1974
+ 0.372
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": "[41] Bao Wang, Yongsheng Pan, Shangchen Xu, Yi Zhang, Yang Ming, Ligang Chen, Xuejun Liu, Chengwei Wang, Yingchao Liu, and Yong Xia. Quantitative cerebral blood volume image synthesis from standard mri using image-to-image translation for brain tumors. Radiology, 308(2):e222471, 2023. 3"
1978
+ },
1979
+ {
1980
+ "type": "ref_text",
1981
+ "bbox": [
1982
+ 0.504,
1983
+ 0.374,
1984
+ 0.892,
1985
+ 0.445
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "[42] Lin Wang, Xiufen Ye, Lie Ju, Wanji He, Donghao Zhang, Xin Wang, Yelin Huang, Wei Feng, Kaimin Song, and Zongyuan Ge. Medical matting: Medical image segmentation with uncertainty from the matting perspective. Computers in Biology and Medicine, 158:106714, 2023. 5"
1989
+ },
1990
+ {
1991
+ "type": "ref_text",
1992
+ "bbox": [
1993
+ 0.504,
1994
+ 0.445,
1995
+ 0.892,
1996
+ 0.488
1997
+ ],
1998
+ "angle": 0,
1999
+ "content": "[43] Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, pages 322-330, 2019. 3"
2000
+ },
2001
+ {
2002
+ "type": "ref_text",
2003
+ "bbox": [
2004
+ 0.504,
2005
+ 0.488,
2006
+ 0.892,
2007
+ 0.543
2008
+ ],
2009
+ "angle": 0,
2010
+ "content": "[44] Simon K Warfield, Kelly H Zou, and William M Wells. Simultaneous truth and performance level estimation (staple): an algorithm for the validation of image segmentation. IEEE TMI, 23(7):903-921, 2004. 1, 3, 8"
2011
+ },
2012
+ {
2013
+ "type": "ref_text",
2014
+ "bbox": [
2015
+ 0.504,
2016
+ 0.544,
2017
+ 0.892,
2018
+ 0.587
2019
+ ],
2020
+ "angle": 0,
2021
+ "content": "[45] Qi Wei, Haoliang Sun, Xiankai Lu, and Yilong Yin. Self-filtering: A noise-aware sample selection for label noise with confidence penalization. In ECCV, pages 516-532, 2022. 3"
2022
+ },
2023
+ {
2024
+ "type": "ref_text",
2025
+ "bbox": [
2026
+ 0.504,
2027
+ 0.587,
2028
+ 0.892,
2029
+ 0.643
2030
+ ],
2031
+ "angle": 0,
2032
+ "content": "[46] Yicheng Wu, Zongyuan Ge, Donghao Zhang, Minfeng Xu, Lei Zhang, Yong Xia, and Jianfei Cai. Mutual consistency learning for semi-supervised medical image segmentation. Medical Image Analysis, 81:102530, 2022. 1"
2033
+ },
2034
+ {
2035
+ "type": "ref_text",
2036
+ "bbox": [
2037
+ 0.504,
2038
+ 0.644,
2039
+ 0.892,
2040
+ 0.699
2041
+ ],
2042
+ "angle": 0,
2043
+ "content": "[47] Yicheng Wu, Zhonghua Wu, Hengcan Shi, Bjoern Picker, Winston Chong, and Jianfei Cai. Coactseg: Learning from heterogeneous data for new multiple sclerosis lesion segmentation. In MICCAI, pages 3-13, 2023. 1"
2044
+ },
2045
+ {
2046
+ "type": "ref_text",
2047
+ "bbox": [
2048
+ 0.504,
2049
+ 0.7,
2050
+ 0.892,
2051
+ 0.769
2052
+ ],
2053
+ "angle": 0,
2054
+ "content": "[48] Le Zhang, Ryutaro Tanno, Mou-Cheng Xu, Joseph Jacob, Olga Ciccarelli, Frederik Barkhof, and Daniel C. Alexander. Disentangling human error from the ground truth in segmentation of medical images. In NeurIPS, pages 15750-15762, 2020. 2, 3, 5, 6, 7"
2055
+ },
2056
+ {
2057
+ "type": "ref_text",
2058
+ "bbox": [
2059
+ 0.504,
2060
+ 0.77,
2061
+ 0.892,
2062
+ 0.813
2063
+ ],
2064
+ "angle": 0,
2065
+ "content": "[49] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778-8788, 2018. 3"
2066
+ },
2067
+ {
2068
+ "type": "ref_text",
2069
+ "bbox": [
2070
+ 0.504,
2071
+ 0.814,
2072
+ 0.892,
2073
+ 0.842
2074
+ ],
2075
+ "angle": 0,
2076
+ "content": "[50] Chuanxia Zheng, Tat-Jen Cham, and Jianfei Cai. Pluralistic image completion. In CVPR, pages 1438-1447, 2019. 4"
2077
+ },
2078
+ {
2079
+ "type": "ref_text",
2080
+ "bbox": [
2081
+ 0.504,
2082
+ 0.843,
2083
+ 0.892,
2084
+ 0.899
2085
+ ],
2086
+ "angle": 0,
2087
+ "content": "[51] Jia-Xing Zhong, Nannan Li, Weijie Kong, Shan Liu, Thomas H Li, and Ge Li. Graph convolutional label noise cleaner: Train a plug-and-play action classifier for anomaly detection. In CVPR, pages 1237-1246, 2019. 3"
2088
+ },
2089
+ {
2090
+ "type": "list",
2091
+ "bbox": [
2092
+ 0.503,
2093
+ 0.093,
2094
+ 0.892,
2095
+ 0.899
2096
+ ],
2097
+ "angle": 0,
2098
+ "content": null
2099
+ },
2100
+ {
2101
+ "type": "page_number",
2102
+ "bbox": [
2103
+ 0.481,
2104
+ 0.946,
2105
+ 0.52,
2106
+ 0.957
2107
+ ],
2108
+ "angle": 0,
2109
+ "content": "11479"
2110
+ }
2111
+ ]
2112
+ ]
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/33362df4-5f93-4123-ae10-d7274a7869ea_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2845f5098fcd59f7ef02222a39079096ebb0db7c88600d6df728aee55484bf0
3
+ size 4074051
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/full.md ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Diversified and Personalized Multi-rater Medical Image Segmentation
2
+
3
+ Yicheng Wu $^{1(\boxtimes),*}$ , Xiangde Luo $^{2,*}$ , Zhe Xu $^{3}$ , Xiaqing Guo $^{4}$ , Lie Ju $^{1}$ , Zongyuan Ge $^{1}$ , Wenjun Liao $^{2}$ , Jianfei Cai $^{1}$
4
+
5
+ <sup>1</sup>Monash University, <sup>2</sup>University of Electronic Science and Technology of China, <sup>3</sup>The Chinese University of Hong Kong, <sup>4</sup>University of Oxford
6
+
7
+ # Abstract
8
+
9
+ Annotation ambiguity due to inherent data uncertainties such as blurred boundaries in medical scans and different observer expertise and preferences has become a major obstacle for training deep-learning based medical image segmentation models. To address it, the common practice is to gather multiple annotations from different experts, leading to the setting of multi-rater medical image segmentation. Existing works aim to either merge different annotations into the "groundtruth" that is often unattainable in numerous medical contexts, or generate diverse results, or produce personalized results corresponding to individual expert raters. Here, we bring up a more ambitious goal for multi-rater medical image segmentation, i.e., obtaining both diversified and personalized results. Specifically, we propose a two-stage framework named D-Persona (first Diversification and then Personalization). In Stage I, we exploit multiple given annotations to train a Probabilistic U-Net model, with a bound-constrained loss to improve the prediction diversity. In this way, a common latent space is constructed in Stage I, where different latent codes denote diversified expert opinions. Then, in Stage II, we design multiple attention-based projection heads to adaptively query the corresponding expert prompts from the shared latent space, and then perform the personalized medical image segmentation. We evaluated the proposed model on our in-house Nasopharyngeal Carcinoma dataset and the public lung nodule dataset (i.e., LIDC-IDRI). Extensive experiments demonstrated our D-Persona can provide diversified and personalized results at the same time, achieving new SOTA performance for multi-rater medical image segmentation. Our code will be released at https://github.com/ycwu1997/D-Persona.
10
+
11
+ # 1. Introduction
12
+
13
+ To build up a powerful computer-aided diagnosis (CAD) system, automatic medical image segmentation is an indispensable step in providing quantitative measurements for interested medical targets [13]. Despite deep-learning based medical image segmentation methods have achieved great progress [9, 12, 46], their deployment in clinical settings [4] remains skeptical since it is still hard for them to accurately segment challenging targets such as the primary gross tumor volume (GTVp) [26, 28], blurred lesions [6, 47] and complex anatomical structures [10, 22].
14
+
15
+ One key reason lies in the "annotation ambiguity", which mainly comes from two aspects: data-level uncertainties and observer-level preferences. The first aspect refers to the inherent uncertainties in the data such as irregular shapes and varied locations of a medical target (e.g., MS lesions [6]) due to its great variability, and blurred boundaries around the target regions caused by limited imaging resolutions in medical scans. These inherent data uncertainties unavoidably affect the process of expert annotations [30], resulting in inconsistent training labels that are likely to confound data-driven segmentation models. The second aspect refers to the diversity in domain expertise and personal preferences among annotators, which leads to a range of interpretations for a single target. In other words, there is no "absolutely correct label", which we call meta segment in this work. It has been shown in numerous medical contexts that the meta segment is unattainable [24].
16
+
17
+ To mitigate the "annotation ambiguity", a standard practice in medical settings is to gather multiple annotations from different observers [28, 34], leading to multi-rater medical image segmentation [15] (see Fig. 1 Top-left). The existing works dealing with medical multi-rater annotations can be generally categorized into three groups: crowdsourcing methods, generation methods, and personalization methods, each aligning with a different objective: becoming meta expert, implicit experts, or explicit experts (Fig. 1 Top-right). In particular, the crowdsourcing methods [44] (Fig. 1 Middle-left) assume there exists one and only one meta segment and combining multiple annotations can ap-
18
+
19
+ ![](images/53f4db36d1a224e11a8d3a8dcfe9a84886dd1798abff6468c4c1792a0686a9f5.jpg)
20
+ Figure 1. Overview of scheme designs in multi-rater medical image segmentation. Top: problem setting and expected objectives (i.e., meta, implicit, or explicit experts); Middle: existing methods including crowdsourcing, generation, and one-stage personalization; Bottom: our proposed two-stage framework, providing both diversified and specifically personalized segmentation simultaneously.
21
+
22
+ proach it. The generation methods [18, 34] (Fig. 1 Middle) aim to generate diversified outputs, providing varying and plausible expert opinions as in the specialist consultation or case conference. Their generated segment set is implicit and unordered. The personalization methods [23, 36, 48] (Fig. 1 Middle-right) are recent ones, aiming to generate the explicit segment set, i.e., the corresponding expert results, which enables the tracking and analysis of individual raters' performance and preferences, so as to enhance the efficacy of quality control and clinical training.
23
+
24
+ Given the interrelated nature and distinct values of both implicit and explicit segment sets in the medical domain [28, 40], we are prompted to ask: "Can we achieve the goals of both generation and personalization methods, i.e., producing both diversified and personalized results in multirater medical image segmentation?" To achieve this goal, in this paper, we propose a two-stage framework D-Persona, as shown in Fig. 1 Bottom. Our basic idea is to divide the task into two stages. Stage I focuses on learning a common latent space to capture the annotation variability, which can be drawn to generate diversified results as potential expert opinions. On the other hand, Stage II focuses on generating personalized segmentation results by reusing the learned latent space in Stage I and extracting the corresponding expert prompts from it.
25
+
26
+ Our major contributions can be summarized as follows.
27
+
28
+ - We set a new grand goal for multi-rater medical image
29
+
30
+ segmentation, i.e., aiming to generate diverse expert opinions and personalized results simultaneously. We propose a novel unified two-stage framework to address the diversity and personalization requirements, respectively.
31
+
32
+ - In Stage I, we propose a bound-constrained training loss, which predicts the intersections and unions of annotations and introduces flexibility in uncertain areas. This substantially enhances segmentation diversity and increases the variety in the latent space.
33
+ - In Stage II, we introduce an attention-based projection mechanism for personalized medical image segmentation, which can adaptively query expert prompts from the shared latent space.
34
+ - Extensive experiments on two datasets demonstrate our proposed framework can provide diversified and personalized segmentation results simultaneously, setting new state-of-the-art (SOTA) performance for multi-rater medical image segmentation.
35
+
36
+ # 2. Related work
37
+
38
+ In this section, we review existing multi-rater medical image segmentation methods as well as noisy learning works that are related to annotation ambiguity.
39
+
40
+ # 2.1. Crowdsourcing-based Segmentation
41
+
42
+ Crowdsourcing [31] is a common solution to reduce the expensive annotation costs by eliciting imperfect labels from
43
+
44
+ crowds. In medical scenarios, crowdsourced labels can be collected from junior medical students and are usually quite noisy. To facilitate the model training, crowdsourcing methods [20, 39] typically adopt several label-fusing strategies to achieve consensus and reduce noise, e.g., the conventional majority-voting strategy. However, this intuitive way ignores the annotators' differences either in domain expertise or personal preferences. Therefore, the Simultaneous Truth and Performance Level Estimation (STAPLE) [44] was further proposed to utilize the annotators' performance as weights to fuse crowdsourced labels, which is a more convincing way. It has been widely used in many medical tasks [27] to produce the "golden standard".
45
+
46
+ Nevertheless, in numerous medical contexts, there is no such golden standard and the meta segmentation remains elusive [20] as in the case of challenging GTVp delineation. Thus, recent multi-rater image segmentation efforts have shifted the focus to generate either diversified implicit or personalized explicit segments, instead of the meta segment. Note that, there are also other methods, not aiming for explicit meta segments. For example, MAX-MIG [5] proposed to maximize the mutual information between the input data and crowdsourced labels for the model training. To better represent the expert disagreements, randomly selecting a label for training rather than using consensus could achieve better model calibration performance [14, 17].
47
+
48
+ # 2.2. Generation-based Segmentation
49
+
50
+ Various generative techniques have emerged for medical tasks [7]. For example, [41] used generative adversarial networks (GANs) to synthesize missing brain modalities, significantly improving the diagnosis performance. In terms of segmentation, Probabilistic U-Net [18] proposed a conditional Variational Autoencoder (cVAE) for ambiguous medical image segmentation, which learns a latent space to represent the segmentation ambiguity. To increase the segmentation diversity, multi-scale improvements [2, 19] were proposed to enhance the original architecture. Moreover, [34] used a powerful diffusion-based model for ambiguous medical image segmentation, achieving superior performance.
51
+
52
+ Despite the progress, these methods mainly focus on generating diversified implicit segmentation results and they are unable to achieve personalized segmentation. In contrast, our work focuses on generating both diversified and personalized segments in a unified way.
53
+
54
+ # 2.3. One-stage Personalization Segmentation
55
+
56
+ Personalized segmentation directly incorporates expert preferences into the model training process [48]. For example, [15] used an explicit expertness code to denote the modified training labels. [23] employed learnable queries to represent corresponding expert annotations. Furthermore, [36] constructed several normal distributions with learnable
57
+
58
+ parameters to represent the inter- and intra-observer variability. All these one-stage works strive for a one-to-one correspondence in multi-rater medical image segmentation. Conversely, our proposed D-Persona model not only delivers improved personalized results but also captures a variety of expert segmentation opinions.
59
+
60
+ # 2.4. Noisy Learning
61
+
62
+ Label noise is highly related to annotation ambiguity [38]. The common practice for performing noisy learning can be divided into two categories: (1) detecting label noise and then rectifying the training samples; and (2) developing a noise-robust framework from noisy distribution. For example, in the first category, the noise transition matrix [8, 25, 29, 33] can be estimated and used to build a statistically consistent classifier with the inferred clean distribution. Also, sample selection works [16, 21, 32, 45] were proposed to design effective selection strategies to detect and reduce the impact of noisy samples during the training. For the second category, noise-robust frameworks are developed with a variety of robust loss functions [11, 43, 49] and modified architecture designs [37, 51], which focus on the adaptive training from the original distribution.
63
+
64
+ In contrast, similar to the recent efforts [23, 36] in multiter medical image segmentation, we do not consider label noise here. Instead, we consider label diversity caused by different expert preferences and inherent data uncertainty, aiming to model the diversity and personalize the results.
65
+
66
+ # 3. Methods
67
+
68
+ Fig. 2 shows the overall pipeline of our proposed D-Persona framework for multi-rater medical image segmentation, which consists of two major stages. Stage I aims to learn a common latent space from $n$ experts' annotations $A_{set} = \{A_1,\dots ,A_n\}$ , which can then be sampled to generate diverse segmentation results. We use the Probabilistic U-Net [18] as the baseline, including a U-Net backbone $F_{\theta}^{b}$ for feature extraction, a prediction head $F_{\theta}^{head}$ for the mapping from the latent space to segmentation results, and two separate encoders $F_{\theta}^{prior}$ and $F_{\theta}^{post}$ for the prior and posterior distribution generations, respectively. Stage II aims to find specific expert prompts in the latent space corresponding to the $n$ experts for personalized segmentation, where we learn $n$ individual projection heads $F_{\theta i}^{proj}, i = \{1,\dots ,n\}$ , while reusing $F_{\theta}^{b}, F_{\theta}^{prior}$ and $F_{\theta}^{head}$ trained in Stage I.
69
+
70
+ # 3.1. Stage I: Diversified Segmentation
71
+
72
+ In the conventional Probabilistic U-Net model [18], there are two separate parts to achieve diversified segmentation. In the first part, the input $X$ alone is first used to generate the prior distribution $\mathbb{D}^{prior}(X)$ , which is set as a multivariate normal distribution with a diagonal covariance ma
73
+
74
+ ![](images/4dc01f8ba8bf1aaa31e109a9d007c41b7e4d3f7e011aa6dc92a3f2de4530be6e.jpg)
75
+ Figure 2. Pipeline of our proposed D-Persona framework for multi-rater medical image segmentation. Left: Stage I is designed to construct a common latent space where different latent codes lead to diversified segmentation results; Right: Stage II performs the personalized segmentation by individual projection heads to mimic the corresponding expert raters.
76
+
77
+ ![](images/75bf3215bc1086935554bb6a6047f8a7299ec6e230f7542efa9db23cc1ff955f.jpg)
78
+
79
+ trix, denoted as $\mathcal{N}(\mu^{prior},\sigma^{prior})$ . The posterior distribution $\mathbb{D}^{post}(X,A_{set}) = \mathcal{N}(\mu^{post},\sigma^{post})$ is defined as the joint distribution of $X$ and all annotations $A_{set}$ . The corresponding mean values and variances are obtained as
80
+
81
+ $$
82
+ \mu^ {p r i o r}, \sigma^ {p r i o r} = F _ {\theta} ^ {p r i o r} (X),
83
+ $$
84
+
85
+ $$
86
+ \mu^ {p o s t.}, \sigma^ {p o s t.} = F _ {\theta} ^ {p o s t.} (X, A _ {s e t}), \tag {1}
87
+ $$
88
+
89
+ where $F_{\theta}^{prior}$ and $F_{\theta}^{post}$ are two learnable neural encoders as shown in Fig. 2 (Left-top). Here, $X$ and $A_{set}$ are concatenated together along the channel axis as the inputs of $F_{\theta}^{post}$ . A common Kullback-Leibler divergence (KL) loss is used to align the two distributions:
90
+
91
+ $$
92
+ \mathcal {L} _ {k l} = K L \left(\mathbb {D} ^ {\text {p r i o r}} (X), \mathbb {D} ^ {\text {p o s t .}} \left(X, A _ {\text {s e t}}\right)\right). \tag {2}
93
+ $$
94
+
95
+ Then, the second part is for the target generation. Given a posterior distribution $\mathbb{D}^{post}$ , we randomly sample a latent code $z_{random}^{post} \in \mathbb{R}^{D \times 1 \times 1}$ , which is further scaled to $\hat{z}_{random}^{post} \in \mathbb{R}^{D \times H \times W}$ as the image size. Here, $D$ is the dimension of all latent codes. We then concatenate the scaled latent code and U-Net features together and feed them into a prediction head $F_{\theta}^{head}$ to generate the segmentation result:
96
+
97
+ $$
98
+ P ^ {p o s t.} = F _ {\theta} ^ {h e a d} \left(\hat {z} _ {\text {r a n d o m}} ^ {p o s t.}, F _ {\theta} ^ {b} (X)\right). \tag {3}
99
+ $$
100
+
101
+ Since we do not have the correspondence between $\hat{z}_{random}^{post}$ and the label, we randomly select an annotation $A_{random}$ from $A_{set}$ as [14, 17], and supervise the model training with a segmentation loss (i.e., Dice loss as [36]):
102
+
103
+ $$
104
+ \mathcal {L} _ {\text {s e g}} ^ {\text {r a n d .}} = D S C \left(P ^ {\text {p o s t .}}, A _ {\text {r a n d o m}}\right). \tag {4}
105
+ $$
106
+
107
+ Following [36], we exploit a re-parameterization trick to sample $z_{random}^{post}$ from the posterior distribution $\mathbb{D}^{post}$ . so as to back-propagate the gradients for the model training.
108
+
109
+ Nevertheless, the prediction diversity of such a conventional design is limited [2, 19]. To address this, inspired by [50] that leverages the prior distribution with a complementary task to improve the diversity of image inpainting, we propose a bound prediction task as the complement and also involve the prior distribution into the segmentation training. Specifically, the intersection and union (i.e., $A_{\text{bound}} = \{A_{\text{inter}}, A_{\text{union}}\}$ ) of the annotation set are calculated as supervision labels. Then, by sampling $K$ latent codes from the prior distribution $\mathbb{D}^{prior}$ , we can obtain $K$ segmentation results and their intersection and union as $P_{\text{bound}}^{prior} = \{P_{\text{inter}}^{prior}, P_{\text{union}}^{prior}\}$ , based on which we can compute the complementary segmentation loss:
110
+
111
+ $$
112
+ \mathcal {L} _ {\text {b o u n d}} = D S C \left(P _ {\text {i n t e r .}} ^ {\text {p r i o r}}, A _ {\text {i n t e r .}}\right) + D S C \left(P _ {\text {u n i o n}} ^ {\text {p r i o r}}, A _ {\text {u n i o n}}\right). \tag {5}
113
+ $$
114
+
115
+ Overall, the model in Stage I is trained by a weighted sum of $\mathcal{L}_{kl}$ , $\mathcal{L}_{seg}^{rand}$ and $\mathcal{L}_{bound}$ as:
116
+
117
+ $$
118
+ \mathcal {L} _ {\text {s t a g e 1}} = \mathcal {L} _ {k l} + \alpha \times \mathcal {L} _ {\text {s e g}} ^ {\text {r a n d .}} + \beta \times \mathcal {L} _ {\text {b o u n d}}, \tag {6}
119
+ $$
120
+
121
+ where $\alpha$ and $\beta$ are two hyperparameters to balance the three losses. Such a design has several advantages: (1) we relax the predictions in uncertain regions to facilitate more diversified results; (2) the prior distribution is being trained anyway and we do not introduce any new model parameters; (3) the design is flexible and can be easily combined with other advanced model architectures [2, 19].
122
+
123
+ # 3.2. Stage II: Personalized Segmentation
124
+
125
+ Once Stage I learns a common latent space that can produce diversified and plausible segmentation predictions, the purpose of Stage II is to find specific expert prompts in the
126
+
127
+ latent space that correspond to the individual expert annotators. As shown in Fig. 2 (Right), our idea is to employ $n$ individual projection heads to generate $n$ expert prompts from the U-Net features $F_{\theta}^{b}(X)$ as
128
+
129
+ $$
130
+ z _ {i} ^ {e x p.} = \operatorname {P o o l i n g} \left[ F _ {\theta i} ^ {p r o j.} \left(F _ {\theta} ^ {b} (X) \right], i = 1, \dots , n \right. \tag {7}
131
+ $$
132
+
133
+ where $z_{i}^{exp.} \in \mathbb{R}^{D \times 1 \times 1}$ denotes the specific latent code relevant for the $i$ -th expert. It is obtained via a global average pooling operation for the 2D outputs of the $i$ -th projection head $F_{\theta i}^{proj.}$ , to capture global annotation characteristics.
134
+
135
+ Then, to ensure all generated expert prompts are in the learned common latent space, we further introduce a cross-attention operation to map $z_{i}^{exp.}$ into $\tilde{z}_{i}^{exp.}$ . In particular, we first randomly sample $M$ latent codes from the fixed prior distribution $D^{prior}$ as a prior bank $z_{bank}^{prior} \in \mathbb{R}^{D \times 1 \times M}$ . We then use $z_{i}^{exp.}$ as the query and $z_{bank}^{prior}$ as the key and value for cross-attention:
136
+
137
+ $$
138
+ \tilde {z} _ {i} ^ {e x p.} = \operatorname {S o f t m a x} \left(z _ {i} ^ {e x p. \top} \cdot z _ {\text {b a n k}} ^ {\text {p r i o r}}\right) \cdot z _ {\text {b a n k}} ^ {\text {p r i o r}} ^ {\top}. \tag {8}
139
+ $$
140
+
141
+ In this way, $\tilde{z}_i^{exp.}$ is constrained into the frozen prior distribution $D^{prior}(X)$ , with respect to the input $X$ . After that, we use the fixed $F_{\theta}^{head}$ to transform the expert prompt into the final segmentation result $P_i^{exp.}$ , which is used to compare with the corresponding expert annotation $A_i$ for computing the segmentation loss as
142
+
143
+ $$
144
+ \mathcal {L} _ {\text {s e g}} ^ {\text {c o r r .}} = \sum_ {i = 1} ^ {n} D S C \left(P _ {i} ^ {\text {e x p .}}, A _ {i}\right) \tag {9}
145
+ $$
146
+
147
+ $$
148
+ s. t., P _ {i} ^ {e x p.} = F _ {\theta} ^ {h e a d} \left(\hat {z} _ {i} ^ {e x p.}, F _ {\theta} ^ {b} (X)\right),
149
+ $$
150
+
151
+ where $\hat{z}_i^{exp.}$ is the scaled version of $\tilde{z}_i^{exp.}$ . Note that, $\mathcal{L}_{seg}^{corr.}$ is only used to train the $n$ projection heads, while other modules are fixed in Stage II. This design principle of our Stage II personalized segmentation part is general and can be extended into other powerful generative methods [34].
152
+
153
+ # 4. Experiments and Results
154
+
155
+ # 4.1. Dataset
156
+
157
+ We evaluate our method on the two segmentation datasets: our in-house dataset (NPC-170) and the public lung nodule segmentation dataset (LIDC-IDRI) [1].
158
+
159
+ The NPC-170 dataset contains 170 subjects with Nasopharyngeal Carcinoma in three Magnetic Resonance Imaging (MRI) contrasts (T1, T1-Contrast, and T2). For each sample, four senior radiologists from different locations (with experiences of around 5-10 years) individually annotated the GTVp of Nasopharyngeal Carcinoma. We divide the 170 subjects into separate training, validation, and testing sets (i.e., 100, 20, and 50 subjects, respectively). 2D medical image segmentation is employed in the experiments and, in total, there are 6134, 1126, and 3058 slices for the model training, validation, and testing, respectively.
160
+
161
+ The LIDC-IDRI dataset contains 1609 2D thoracic CT scans belonging to 214 subjects. Each scan is equipped with four binary masks to indicate the lung nodule. Note that, 12 radiologists participated in the annotation process [1]. To simulate the expert preferences, we manually rank the areas of four provided annotations, as the setting in [48]. In this way, the first expert is supposed to be conservative in the sense of only annotating the minimum regions while the fourth expert prefers to annotate any suspicious lung nodule area, i.e., producing the largest annotation regions. Following [42], a four-fold cross-validation setting at the patient level is used in the experiments.
162
+
163
+ # 4.2. Implementation Details
164
+
165
+ The inputs from both the NPC-170 and LIDC-IDRI datasets are center-cropped into a fixed size of $128 \times 128$ . Then, for the samples on NPC-170, we normalize them into zero mean and unit variance. Random flips, rotation, or adding random noise are applied to augment the training data. On the LIDC-IDRI dataset, we follow [42] to perform the data pre-processing and use the common flip and rotation operations to augment the samples on the LIDC-IDRI dataset.
166
+
167
+ For the model training, we adopt the Adam optimizer with an initial learning rate of 1e-4. The loss weight $\alpha$ and the distribution dimension $D$ are set as 1 and 6, as [36]. The overall training epochs are 300, including 100 epochs for Stage I and 200 epochs for Stage II. The size of $z_{bank}^{prior}$ , i.e., $M$ is set as 100. $K$ and $\beta$ are set as 10 and 0.5, which will be discussed in Section 5.2. An L2-regularization term is also used to avoid over-fitting as [18, 36]. All experiments are conducted in an identical environment with a single NVIDIA GeForce RTX 3090 GPU. The overall number of parameters is 28.46 M and the projection head is relatively lightweight (i.e., 22.03 K for each head).
168
+
169
+ # 4.3. Evaluation Metrics
170
+
171
+ Considering our D-Persona model consists of two stages: diversified and personalized segmentation, we thus evaluate them separately. First, we use two common set-to-set metrics for the diversity estimation, i.e., the Generalized Energy Distance $GED$ [3, 18] and the soft Dice score $Dice_{soft}$ [15, 42]. The former is used to measure the prediction diversity and the latter indicates the reliability of different generated results. Specifically, $GED$ is defined as
172
+
173
+ $$
174
+ G E D = 2 \mathbb {E} [ d (P, A) ] - \mathbb {E} [ d (P, P ^ {\prime}) ] - \mathbb {E} [ d (A, A ^ {\prime}) ], \tag {10}
175
+ $$
176
+
177
+ where $P$ , $P'$ and $A$ , $A'$ are independent samples from the prediction set $P_{set}$ and annotation set $A_{set}$ , respectively, and $d$ denotes the distance function $d(a,b) = 1 - IoU(a,b)$ as in [18]. In general, a lower GED indicates greater dispersion and variability in the segmentation results. Moreover, $Dice_{soft}$ receives the soft predictions $P_{soft}$ and soft annotations $A_{soft}$ (i.e., the average of multiple predictions
178
+
179
+ Table 1. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on our in-house NPC-170 dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively.
180
+
181
+ <table><tr><td rowspan="2">Method</td><td colspan="2">Diversity Performance</td><td colspan="2">Personalized Bounds (%)</td><td colspan="5">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.4888</td><td>73.69</td><td rowspan="4" colspan="2">N/A</td><td>80.90</td><td>70.51</td><td>67.14</td><td>72.57</td><td>72.78</td></tr><tr><td>U-Net (A2)</td><td>0.5086</td><td>73.64</td><td>72.05</td><td>75.62</td><td>69.93</td><td>71.85</td><td>72.36</td></tr><tr><td>U-Net (A3)</td><td>0.5077</td><td>72.37</td><td>69.46</td><td>73.09</td><td>76.25</td><td>69.86</td><td>72.17</td></tr><tr><td>U-Net (A4)</td><td>0.5433</td><td>71.63</td><td>73.71</td><td>68.77</td><td>66.08</td><td>73.54</td><td>70.52</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.4478</td><td>75.33</td><td>74.18</td><td>74.17</td><td rowspan="6" colspan="5">N/A</td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.4466</td><td>75.34</td><td>74.23</td><td>74.22</td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.4465</td><td>75.34</td><td>74.24</td><td>74.24</td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.2553</td><td>79.99</td><td>76.54</td><td>76.40</td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.2385</td><td>80.40</td><td>77.50</td><td>77.43</td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.2359</td><td>80.43</td><td>77.70</td><td>77.67</td></tr><tr><td>CM-Global [38]</td><td>0.4375</td><td>76.28</td><td>75.00</td><td>75.00</td><td>77.92</td><td>74.65</td><td>71.97</td><td>75.47</td><td>75.00</td></tr><tr><td>CM-Pixel [48]</td><td>0.4400</td><td>76.39</td><td>74.92</td><td>74.92</td><td>78.97</td><td>73.93</td><td>71.65</td><td>75.12</td><td>74.92</td></tr><tr><td>TAB [23]</td><td>0.2760</td><td>78.90</td><td>76.68</td><td>75.15</td><td>77.33</td><td>73.45</td><td>74.83</td><td>71.67</td><td>74.32</td></tr><tr><td>Pionono [36]</td><td>0.3924</td><td>76.96</td><td>75.58</td><td>75.44</td><td>78.87</td><td>74.11</td><td>71.97</td><td>75.41</td><td>75.09</td></tr><tr><td>D-Persona (Stage II)</td><td>0.3199</td><td>79.01</td><td>77.26</td><td>76.61</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>
182
+
183
+ and annotations) and uses varied thresholds to conduct $T$ times of binary evaluations as:
184
+
185
+ $$
186
+ D i c e _ {s o f t} = \frac {1}{T} \sum_ {i = 1} ^ {T} D i c e ([ P _ {s o f t} > \tau_ {i} ], [ A _ {s o f t} > \tau_ {i} ]) \tag {11}
187
+ $$
188
+
189
+ where $\tau$ is a threshold selected from the set $\{0.1, 0.3, 0.5, 0.7, 0.9\}$ with $T = 5$ .
190
+
191
+ <table><tr><td>Dice</td><td colspan="4">Four Given Annotations</td></tr><tr><td rowspan="6">Six Sampled Predictions</td><td>0.5532</td><td>0.8994</td><td>0.8624</td><td>0.6338</td></tr><tr><td>0.5552</td><td>0.6694</td><td>0.5210</td><td>0.7575</td></tr><tr><td>0.7135</td><td>0.8476</td><td>0.8500</td><td>0.5928</td></tr><tr><td>0.5556</td><td>0.5949</td><td>0.6366</td><td>0.7836</td></tr><tr><td>0.5099</td><td>0.6071</td><td>0.5953</td><td>0.8973</td></tr><tr><td>0.8094</td><td>0.8452</td><td>0.5741</td><td>0.7156</td></tr><tr><td rowspan="2">Metrics</td><td colspan="4">Dice_max = {0.8094, 0.8994, 0.8624, 0.8973} mean</td></tr><tr><td colspan="4">Dice_MATCH = {0.8094, 0.8994, 0.8500, 0.8973} mean</td></tr></table>
192
+
193
+ Figure 3. Exemplar explanation of $Dice_{max}$ and $Dice_{match}$ in a given $4 \times 6$ Dice matrix. $Dice_{max}$ averages the maximum scores of individual columns and $Dice_{match}$ further constrains a one-to-one matching between the prediction and annotation sets.
194
+
195
+ Second, we further use the set-to-set metrics $Dice_{max}$ and $Dice_{match}$ to evaluate the personalized segmentation in our framework. As Fig. 3 shows, $Dice_{max}$ quantifies the optimal overlap between $P_{set}$ and $A_{set}$ . $Dice_{match}$ further imposes a stringent one-to-one matching criterion between the sets. In other words, $Dice_{max}$ is an upper bound of $Dice_{match}$ and their differences serve as an indicator to de
196
+
197
+ termine whether each expert annotation corresponds with a unique and closely aligned prediction.
198
+
199
+ Additionally, we also provide each annotator a Dice score (denoted as $Dice_{A(i)}$ , $i = 1,\dots ,n$ ), to reflect the personalized segmentation performance for the respective human expert. Then, $Dice_{mean}$ further gives the average personalized performance of the $n$ experts.
200
+
201
+ # 4.4. Performance on NPC-170
202
+
203
+ Table 1 gives the quantitative performance of our proposed D-Persona in comparison with other existing works on the in-house NPC-170 dataset, indicating several findings: (1) the individually trained U-Net models, where only annotations from a single expert are used, achieve superior results for the targeted expert but significantly poor performance for the others, highlighting the great inter-observer variability; (2) for generation-based methods, our Stage I exhibits remarkable segmentation diversity than the baseline model, as evidenced by leading scores in $GED$ and $Dice_{soft}$ ; (3) we also observe an increase in personalized bounds in Stage I (e.g., $Dice_{max}$ improves from $74.18\%$ of the baseline to $76.54\%$ of our model), and further improvements can be achieved by increasing the number of sampled latent codes (e.g., a $1.16\%$ gain in $Dice_{max}$ with 50 random samples); (4) in Stage II, our two-stage personalization strategy surpasses the performance of other one-stage methods (e.g., a $1.10\%$ gain in $Dice_{mean}$ than the second-best model [36]), demonstrating the superiority of our approach. Note that, when compared with the individually trained models, our D-Persona Stage II does not perform better for the personalized results specific to the particular annotator except $A_4$ . This also happens to all the compared one-stage methods.
204
+
205
+ Table 2. Performance of our proposed D-Persona framework and several public methods for multi-rater medical image segmentation on the public LIDC-IDRI dataset. We show the results of individually trained U-Net models (i.e., using annotations from a single expert, Top), generation-based methods (with different sampling numbers, Middle), and personalized segmentation works (Bottom), respectively.
206
+
207
+ <table><tr><td rowspan="2">Method</td><td colspan="2">Diversity Performance</td><td colspan="2">Personalized Bounds (%)</td><td colspan="5">Personalized Segmentation Performance (%)</td></tr><tr><td>GED ↓</td><td>Dicesoft ↑(%)</td><td>Dice max ↑</td><td>Dice match ↑</td><td>DiceA1 ↑</td><td>DiceA2 ↑</td><td>DiceA3 ↑</td><td>DiceA4 ↑</td><td>Dicemean ↑</td></tr><tr><td>U-Net (A1)</td><td>0.3062</td><td>86.59</td><td></td><td></td><td>87.80</td><td>87.47</td><td>85.49</td><td>80.67</td><td>85.36</td></tr><tr><td>U-Net (A2)</td><td>0.2459</td><td>88.43</td><td></td><td></td><td>87.16</td><td>89.08</td><td>88.59</td><td>85.15</td><td>87.50</td></tr><tr><td>U-Net (A3)</td><td>0.2436</td><td>88.20</td><td></td><td>N/A</td><td>85.29</td><td>88.48</td><td>89.40</td><td>87.20</td><td>87.59</td></tr><tr><td>U-Net (A4)</td><td>0.2962</td><td>85.83</td><td></td><td></td><td>80.80</td><td>85.48</td><td>88.22</td><td>88.90</td><td>85.85</td></tr><tr><td>Prob. U-Net [18] (#10)</td><td>0.2181</td><td>88.79</td><td>88.60</td><td>88.43</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#30)</td><td>0.2169</td><td>88.79</td><td>88.80</td><td>88.73</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Prob. U-Net [18] (#50)</td><td>0.2168</td><td>88.80</td><td>88.87</td><td>88.81</td><td></td><td></td><td>N/A</td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #10)</td><td>0.1461</td><td>90.24</td><td>90.75</td><td>90.51</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #30)</td><td>0.1375</td><td>90.42</td><td>91.23</td><td>91.16</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>D-Persona (Stage I, #50)</td><td>0.1358</td><td>90.45</td><td>91.37</td><td>91.33</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CM-Global [38]</td><td>0.2432</td><td>88.53</td><td>87.51</td><td>87.51</td><td>86.13</td><td>88.76</td><td>88.99</td><td>86.18</td><td>87.51</td></tr><tr><td>CM-Pixel [48]</td><td>0.2407</td><td>88.64</td><td>87.72</td><td>87.72</td><td>85.99</td><td>88.81</td><td>89.31</td><td>86.77</td><td>87.72</td></tr><tr><td>TAB [23]</td><td>0.2322</td><td>86.35</td><td>87.11</td><td>86.08</td><td>85.00</td><td>86.35</td><td>86.77</td><td>85.77</td><td>85.97</td></tr><tr><td>Pionono [36]</td><td>0.1502</td><td>90.00</td><td>90.10</td><td>88.97</td><td>87.94</td><td>89.11</td><td>89.55</td><td>88.76</td><td>88.84</td></tr><tr><td>D-Persona (Stage II)</td><td>0.1444</td><td>90.31</td><td>90.38</td><td>89.17</td><td>88.54</td><td>89.50</td><td>90.03</td><td>88.60</td><td>89.17</td></tr></table>
208
+
209
+ # 4.5. Performance on LIDC-IDRI
210
+
211
+ Table 2 extends the evaluation of our model to the LIDC-IDRI dataset, where the average performance of a four-fold cross-validation is given. The individually trained results indicate that the inter-observer variance is less pronounced compared to our in-house NPC-170 dataset. Then, echoing the findings from NPC-170, our D-Persona model consistently outperforms the baseline Probabilistic U-Net [18] in achieving superior diversified segmentation performance. Furthermore, the second stage of our proposed D-Persona model exhibits better performance in both the set-to-set evaluations and the one-to-one comparisons. Meanwhile, in Stage II, we can see that the average personalized performance has reached the upper bound (i.e., both $D_{ice\_match}$ and $D_{ice\_mean}$ : $89.17\%$ ) on LIDC-IDRI, highlighting its effectiveness in personalized medical image segmentation.
212
+
213
+ # 5. Discussions
214
+
215
+ # 5.1. Visual Results
216
+
217
+ Fig. 4 shows the diversified segmentation results of Stage I in our D-Persona model. We can see that, on the two datasets, our model can generate varying and plausible predictions for the target regions, which brings potential benefits for providing different opinions in clinical scenarios.
218
+
219
+ Fig. 5 further illustrates the personalized segmentation results of Stage II in the proposed model. First, on the NPC-170 dataset, our D-Persona can detect most of the targets, producing predictions in complex anatomical structures as the given expert annotations, indicated by the green arrows in Fig. 5. Second, on LIDC-IDRI, as we simulated the
220
+
221
+ ![](images/668c8b9328df8294c8f41d2724a8bfa61be7ad458b638df54a40c135a8284ba9.jpg)
222
+ Figure 4. Diversified segmentation results of Stage I in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Different colors denote different delineations, which shows that our model can generate diverse and plausible predictions.
223
+
224
+ Table 3. Ablation studies of different $K$ and $\beta$ in Stage I of our proposed D-Persona framework on the NPC-170 dataset. The sampling number is set as 50 for all comparisons.
225
+
226
+ <table><tr><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td><td>K</td><td>β</td><td>GED↓</td><td>Dicesoft↑(%)</td></tr><tr><td>6</td><td></td><td>0.2545</td><td>78.81</td><td rowspan="5">10</td><td>0.01</td><td>0.4378</td><td>75.80</td></tr><tr><td>8</td><td rowspan="2">0.5</td><td>0.2512</td><td>79.48</td><td>0.1</td><td>0.3358</td><td>77.95</td></tr><tr><td>10</td><td>0.2359</td><td>80.43</td><td>0.5</td><td>0.2359</td><td>80.43</td></tr><tr><td>12</td><td></td><td>0.2389</td><td>80.17</td><td>1</td><td>0.2170</td><td>80.20</td></tr><tr><td>14</td><td></td><td>0.2368</td><td>80.08</td><td>2</td><td>0.2581</td><td>77.73</td></tr></table>
227
+
228
+ expert preferences from conservative to aggressive styles (see Section 4.1), the right part of Fig. 5 reveals that our model can successfully capture the underlying preferences, demonstrating the superiority of our proposed D-Persona model for personalized segmentation.
229
+
230
+ ![](images/2285765db699008309d443ce52499896eb95d43c36681480fabb8e57768e913d.jpg)
231
+ Figure 5. Personalized segmentation results of Stage II in our proposed D-Persona framework on the NPC-170 (Left) and LIDC-IDRI (Right) datasets. Compared to expert annotations (Red), our model can generate corresponding personalized segmentation results (Yellow). Particularly, our model successfully captures the underlying annotation preferences, i.e., from conservative to aggressive styles, as shown in the four LIDC-IDRI results on the right.
232
+
233
+ # 5.2. Selection of Hyper-parameters
234
+
235
+ To control the diversity of generated segmentation results, we here discuss the selection of hyper-parameters $K$ and $\beta$ in Stage I of our model. $K$ is the size of the sampled latent codes in the prior distribution $\mathbb{D}^{prior}$ . Since we applied the bound-constrained loss to supervise the learning of $\mathbb{D}^{prior}$ and a smaller $K$ could make the segmentation results approach the fixed annotation bounds. The top of Table 3 shows that, on the NPC-170 dataset, setting $K$ as 10 can achieve better diversified performance for the GTVp delineation of Nasopharyngeal Carcinoma.
236
+
237
+ At the same time, $\beta$ is used to balance the proposed bound loss with other losses in Equation (6). The bottom results of Table 3 indicate that selecting $\beta$ as 0.5 for the model training achieves the highest $Dicesoft$ and secondbest $GED$ values on the NPC-170 dataset. We thus set $\beta$ as 0.5 for all experiments in this paper.
238
+
239
+ # 5.3. Comparisons with Crowdsourcing Methods
240
+
241
+ Table 4. Comparisons between several crowdsourcing methods including majority voting (MV), random selection (RS) [17], STAPLE [44] and our proposed D-Persona model on NPC-170.
242
+
243
+ <table><tr><td>Method</td><td>DiceA1↑</td><td>DiceA2↑</td><td>DiceA3↑</td><td>DiceA4↑</td><td>Dicemean↑</td></tr><tr><td>MV</td><td>76.80</td><td>71.28</td><td>70.24</td><td>73.64</td><td>72.99</td></tr><tr><td>RS [17]</td><td>78.45</td><td>74.92</td><td>72.04</td><td>75.54</td><td>75.24</td></tr><tr><td>STAPLE [44]</td><td>75.75</td><td>75.76</td><td>72.29</td><td>74.07</td><td>74.47</td></tr><tr><td>D-Persona</td><td>79.78</td><td>74.60</td><td>75.22</td><td>75.17</td><td>76.19</td></tr></table>
244
+
245
+ As aforementioned, crowdsourcing methods aim to combine multiple annotations for the model training. Table 4 shows the performance of several conventional crowdsourcing methods, including majority voting (MV), Random Selection (RS) [17] and STAPLE [44] on the NPC-170 dataset. We can see that, our proposed D-Persona model achieves the highest performance in $\text{Dice}_{\text{mean}}$ than all heuristic crowdsourcing works (e.g., a $0.95\%$ gain than the second
246
+
247
+ best model [17]). Furthermore, our model can provide diversified segmentation results at the same time, facilitating more clinical usage through a unified model.
248
+
249
+ # 5.4. Limitation and Future Work
250
+
251
+ As mentioned in Section 4.4, on the NPC-170 dataset, it remains difficult for our model to surpass the individually trained U-Net models for personalized segmentation. This suggests that preserving the distinctive preference of a particular expert is still a challenge in this task, especially when the training labels vary significantly. In other words, improving the predictions having an individual expert's style by leveraging different annotations from other experts is not fully resolved, which is worth future investigation.
252
+
253
+ # 6. Conclusion
254
+
255
+ In this paper, we have presented a two-stage framework (D-Persona) for the multi-rater medical image segmentation problem, pointing out a new perspective that diversified and personalized segmentation can be addressed at the same time. Our main idea is to conduct diversified segmentation first and then query personalized results from the diversified ones. Specifically, an effective bound-constrained loss was proposed to improve the segmentation diversity, and a common latent space was constructed in Stage I to capture the annotation variability. Then, in the second stage, an attention-based projection mechanism was used to find specific expert prompts from the common latent space, so as to perform personalized segmentation. Extensive experiments on the two datasets have demonstrated that our proposed D-Persona model significantly outperforms other existing works in multi-rater medical image segmentation.
256
+
257
+ Societal Impacts. Our proposed model was trained and evaluated on the two available but limited datasets and may be impacted by the dataset bias [35], which might result in unconvincing predictions in practical applications.
258
+
259
+ # References
260
+
261
+ [1] Samuel G Armato III, Geoffrey McLennan, Luc Bidaut, Michael F McNitt-Gray, Charles R Meyer, Anthony P Reeves, Binsheng Zhao, Denise R Aberle, Claudia I Henschke, Eric A Hoffman, et al. The lung image database consortium (lidc) and image database resource initiative (idri): a completed reference database of lung nodules on ct scans. Medical Physics, 38(2):915-931, 2011. 5
262
+ [2] Christian F Baumgartner, Kerem C Tezcan, Krishna Chaitanya, Andreas M Hotker, Urs J Muehlematter, Khoschy Schawkat, Anton S Becker, Olivio Donati, and Ender Konukoglu. Phiseg: Capturing uncertainty in medical image segmentation. In MICCAI, pages 119-127, 2019. 3, 4
263
+ [3] Marc G Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Rémi Munos. The cramer distance as a solution to biased Wasserstein gradients. arXiv preprint arXiv:1705.10743, 2017. 5
264
+ [4] Olivier Bernard, Alain Lalande, Clement Zotti, Frederick Cervenansky, Xin Yang, Pheng-Ann Heng, Irem Cetin, Karim Lekadir, Oscar Camara, Miguel Angel Gonzalez Ballester, et al. Deep learning techniques for automatic mri cardiac multi-structures segmentation and diagnosis: is the problem solved? IEEE TMI, 37(11):2514–2525, 2018. 1
265
+ [5] Peng Cao, Yilun Xu, Yuqing Kong, and Yizhou Wang. Max-mig: an information theoretic approach for joint learning from crowds. In ICLR, 2018. 3
266
+ [6] Aaron Carass, Snehashis Roy, Amod Jog, Jennifer L Cuzzocreo, Elizabeth Magrath, Adrian Gherman, Julia Button, James Nguyen, Ferran Prados, Carole H Sudre, et al. Longitudinal multiple sclerosis lesion segmentation: resource and challenge. NeuroImage, 148:77-102, 2017. 1
267
+ [7] Pedro Celard, EL Iglesias, JM Sorribes-Fdez, Rubén Romero, A Seara Vieira, and L Borrajo. A survey on deep learning applied to medical images: from simple artificial neural networks to generative models. Neural Computing and Applications, 35(3):2291-2323, 2023. 3
268
+ [8] De Cheng, Tongliang Liu, Yixiong Ning, Nannan Wang, Bo Han, Gang Niu, Xinbo Gao, and Masashi Sugiyama. Instance-dependent label-noise learning with manifold-regularized transition matrix estimation. In CVPR, pages 16630-16639, 2022. 3
269
+ [9] Thorsten Falk, Dominic Mai, Robert Bensch, Özgün Çiçek, Ahmed Abdulkadir, Yassine Marrakchi, Anton Böhm, Jan Deubner, Zoe Jäckel, Katharina Seiwald, et al. U-net: deep learning for cell counting, detection, and morphometry. Nature Methods, 16(1):67-70, 2019. 1
270
+ [10] Fan Fu, Jianyong Wei, Miao Zhang, Fan Yu, Yueting Xiao, Dongdong Rong, Yi Shan, Yan Li, Cheng Zhao, Fangzhou Liao, et al. Rapid vessel segmentation and reconstruction of head and neck angiograms using 3d convolutional neural network. Nature Communications, 11(1):4829, 2020. 1
271
+ [11] Aritra Ghosh, Himanshu Kumar, and P Shanti Sastry. Robust loss functions under label noise for deep neural networks. In AAAI, pages 1919-1925, 2017. 3
272
+ [12] Ali Hatamizadeh, Yucheng Tang, Vishwesh Nath, Dong Yang, Andriy Myronenko, Bennett Landman, Holger R
273
+
274
+ Roth, and Daguang Xu. Unetr: Transformers for 3d medical image segmentation. In WACV, pages 574-584, 2022. 1
275
+ [13] Fabian Isensee, Paul F Jaeger, Simon AA Kohl, Jens Petersen, and Klaus H Maier-Hein. nnu-net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2):203–211, 2021. 1
276
+ [14] Martin Holm Jensen, Dan Richter Jorgensen, Raluca Jalaboi, Mads Eiler Hansen, and Martin Aastrup Olsen. Improving uncertainty estimation in convolutional neural networks using inter-rater agreement. In MICCAI, pages 540-548, 2019. 3, 4
277
+ [15] Wei Ji, Shuang Yu, Junde Wu, Kai Ma, Cheng Bian, Qi Bi, Jingjing Li, Hanruo Liu, Li Cheng, and Yefeng Zheng. Learning calibrated medical image segmentation via multi-rater agreement modeling. In CVPR, pages 12341-12351, 2021. 1, 3, 5
278
+ [16] Lie Ju, Xin Wang, Lin Wang, Dwarikanath Mahapatra, Xin Zhao, Quan Zhou, Tongliang Liu, and Zongyuan Ge. Improving medical images classification with label noise using dual-uncertainty estimation. IEEE TMI, 41(6):1533-1546, 2022. 3
279
+ [17] Alain Jungo, Raphael Meier, Ekin Ermis, Marcela Blatti-Moreno, Evelyn Herrmann, Roland Wiest, and Mauricio Reyes. On the effect of inter-observer variability for a reliable estimation of uncertainty of medical image segmentation. In MICCAI, pages 682–690, 2018. 3, 4, 8
280
+ [18] Simon Kohl, Bernardino Romera-Paredes, Clemens Meyer, Jeffrey De Fauw, Joseph R Ledsam, Klaus Maier-Hein, SM Eslami, Danilo Jimenez Rezende, and Olaf Ronneberger. A probabilistic u-net for segmentation of ambiguous images. In NeurIPS, 2018. 2, 3, 5, 6, 7
281
+ [19] Simon AA Kohl, Bernardino Romera-Paredes, Klaus H Maier-Hein, Danilo Jimenez Rezende, SM Eslami, Pushmeet Kohli, Andrew Zisserman, and Olaf Ronneberger. A hierarchical probabilistic u-net for modeling multi-scale ambiguities. arXiv preprint arXiv:1905.13077, 2019. 3, 4
282
+ [20] Anne W Lee, Wai Tong Ng, Jian Ji Pan, Sharon S Poh, Yong Chan Ahn, Hussain AlHussain, June Corry, Cai Grau, Vincent Gregoire, Kevin J Harrington, et al. International guideline for the delineation of the clinical target volumes (ctv) for nasopharyngeal carcinoma. Radiotherapy and Oncology, 126(1):25-36, 2018. 3
283
+ [21] Junnan Li, Richard Socher, and Steven CH Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR, 2019. 3
284
+ [22] Rongjian Li, Tao Zeng, Hanchuan Peng, and Shuiwang Ji. Deep learning segmentation of optical microscopy images improves 3-d neuron reconstruction. IEEE TMI, 36(7):1533-1541, 2017. 1
285
+ [23] Zehui Liao, Shishuai Hu, Yutong Xie, and Yong Xia. Transformer-based annotation bias-aware medical image segmentation. In MICCAI, pages 24-34, 2023. 2, 3, 6, 7
286
+ [24] Li Lin, Qi Dou, Yue-Ming Jin, Guan-Qun Zhou, Yi-Qiang Tang, Wei-Lin Chen, Bao-An Su, Feng Liu, Chang-Juan Tao, Ning Jiang, et al. Deep learning for automated contouring of primary tumor volumes by mri for nasopharyngeal carcinoma. Radiology, 291(3):677-686, 2019. 1
287
+
288
+ [25] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE TPAMI, 38(3):447-461, 2015. 3
289
+ [26] Xiangde Luo, Wenjun Liao, Yuan He, Fan Tang, Mengwan Wu, Yuanyuan Shen, Hui Huang, Tao Song, Kang Li, Shichuan Zhang, et al. Deep learning-based accurate delineation of primary gross tumor volume of nasopharyngeal carcinoma on heterogeneous magnetic resonance imaging: A large-scale and multi-center study. *Radiotherapy and Oncology*, 180:109480, 2023. 1
290
+ [27] Amirreza Mahbod, Gerald Schaefer, Benjamin Bancher, Christine Löw, Georg Dorffner, Rupert Ecker, and Isabella Ellinger. Cryonuseg: A dataset for nuclei instance segmentation of cryosectioned h&E-stained histological images. Computers in Biology and Medicine, 132:104349, 2021. 3
291
+ [28] Thibault Marin, Yue Zhuo, Rita Maria Lahoud, Fei Tian, Xiaoyue Ma, Fangxu Xing, Maryam Moteabbed, Xiaofeng Liu, Kira Grogg, Nadya Shusharina, et al. Deep learning-based gtv contouring modeling inter-and intra-observer variability in sarcomas. *Radiotherapy and Oncology*, 167:269–276, 2022. 1, 2
292
+ [29] Aditya Menon, Brendan Van Rooyen, Cheng Soon Ong, and Bob Williamson. Learning from corrupted binary labels via class-probability estimation. In ICML, pages 125-134, 2015. 3
293
+ [30] Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE TMI, 34(10):1993-2024, 2014. 1
294
+ [31] Silas Ørting, Andrew Doyle, Arno van Hilden, Matthias Hirth, Oana Inel, Christopher R Madan, Panagiotis Mavridis, Helen Spiers, and Veronika Cheplygina. A survey of crowdsourcing in medical image analysis. arXiv preprint arXiv:1902.09159, 2019. 2
295
+ [32] Deep Patel and PS Sastry. Adaptive sample selection for robust learning under label noise. In WACV, pages 3932-3942, 2023. 3
296
+ [33] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. 3
297
+ [34] Aimon Rahman, Jeya Maria Jose Valanarasu, Ilker Hacihaliloglu, and Vishal M Patel. Ambiguous medical image segmentation using diffusion models. In CVPR, pages 11536-11546, 2023. 1, 2, 3, 5
298
+ [35] María Agustina Ricci Lara, Rodrigo Echeveste, and Enzo Ferrante. Addressing fairness in artificial intelligence for medical imaging. Nature Communications, 13(1):4581, 2022. 8
299
+ [36] Arne Schmidt, Pablo Morales-Álvarez, and Rafael Molina. Probabilistic modeling of inter-and intra-observer variability in medical image segmentation. In ICCV, pages 21097–21106, 2023. 2, 3, 4, 5, 6, 7
300
+ [37] Sainbayar Sukhbaatar, Joan Bruna, Manohar Paluri, Lubomir Bourdev, and Rob Fergus. Training convolutional networks with noisy labels. arXiv preprint arXiv:1406.2080, 2014. 3
301
+
302
+ [38] Ryutaro Tanno, Ardavan Saeedi, Swami Sankaranarayanan, Daniel C Alexander, and Nathan Silberman. Learning from noisy labels by regularized estimation of annotator confusion. In CVPR, pages 11244-11253, 2019. 3, 6, 7
303
+ [39] Vincenzo Valentini, Maria Antonietta Gambacorta, Brunella Barbaro, Giuditta Chiloiro, Claudio Coco, Prajnan Das, Francesco Fanfani, Ines Joye, Lisa Kachnic, Philippe Maingon, et al. International consensus guidelines on clinical target volume delineation in rectal cancer. *Radiotherapy and Oncology*, 120(2):195–201, 2016. 3
304
+ [40] Julie van der Veen, Akos Gulyban, Siri Willems, Frederik Maes, and Sandra Nuyts. Interobserver variability in organ at risk delineation in head and neck cancer. *Radiation Oncology*, 16:1-11, 2021. 2
305
+ [41] Bao Wang, Yongsheng Pan, Shangchen Xu, Yi Zhang, Yang Ming, Ligang Chen, Xuejun Liu, Chengwei Wang, Yingchao Liu, and Yong Xia. Quantitative cerebral blood volume image synthesis from standard mri using image-to-image translation for brain tumors. Radiology, 308(2):e222471, 2023. 3
306
+ [42] Lin Wang, Xiufen Ye, Lie Ju, Wanji He, Donghao Zhang, Xin Wang, Yelin Huang, Wei Feng, Kaimin Song, and Zongyuan Ge. Medical matting: Medical image segmentation with uncertainty from the matting perspective. Computers in Biology and Medicine, 158:106714, 2023. 5
307
+ [43] Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, pages 322-330, 2019. 3
308
+ [44] Simon K Warfield, Kelly H Zou, and William M Wells. Simultaneous truth and performance level estimation (staple): an algorithm for the validation of image segmentation. IEEE TMI, 23(7):903-921, 2004. 1, 3, 8
309
+ [45] Qi Wei, Haoliang Sun, Xiankai Lu, and Yilong Yin. Self-filtering: A noise-aware sample selection for label noise with confidence penalization. In ECCV, pages 516-532, 2022. 3
310
+ [46] Yicheng Wu, Zongyuan Ge, Donghao Zhang, Minfeng Xu, Lei Zhang, Yong Xia, and Jianfei Cai. Mutual consistency learning for semi-supervised medical image segmentation. Medical Image Analysis, 81:102530, 2022. 1
311
+ [47] Yicheng Wu, Zhonghua Wu, Hengcan Shi, Bjoern Picker, Winston Chong, and Jianfei Cai. Coactseg: Learning from heterogeneous data for new multiple sclerosis lesion segmentation. In MICCAI, pages 3-13, 2023. 1
312
+ [48] Le Zhang, Ryutaro Tanno, Mou-Cheng Xu, Joseph Jacob, Olga Ciccarelli, Frederik Barkhof, and Daniel C. Alexander. Disentangling human error from the ground truth in segmentation of medical images. In NeurIPS, pages 15750-15762, 2020. 2, 3, 5, 6, 7
313
+ [49] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778-8788, 2018. 3
314
+ [50] Chuanxia Zheng, Tat-Jen Cham, and Jianfei Cai. Pluralistic image completion. In CVPR, pages 1438-1447, 2019. 4
315
+ [51] Jia-Xing Zhong, Nannan Li, Weijie Kong, Shan Liu, Thomas H Li, and Ge Li. Graph convolutional label noise cleaner: Train a plug-and-play action classifier for anomaly detection. In CVPR, pages 1237-1246, 2019. 3
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d7e23ff75e2ae58258d3068b8c6b4a5915d5c5f3058e98572a68cc7aabea20
3
+ size 732921
2024/Diversified and Personalized Multi-rater Medical Image Segmentation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_content_list.json ADDED
@@ -0,0 +1,1464 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Diversity-aware Channel Pruning for StyleGAN Compression",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 130,
9
+ 795,
10
+ 152
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Jiwoo Chung, Sangeek Hyun, Sang-Heon Shim, Jae-Pil Heo* Sungkyunkwan University",
17
+ "bbox": [
18
+ 241,
19
+ 180,
20
+ 725,
21
+ 217
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "{wldn0202, hsi1032, ekzmwww, jaepilheo}@g.skku.edu",
28
+ "bbox": [
29
+ 263,
30
+ 219,
31
+ 705,
32
+ 233
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 313,
44
+ 284
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "StyleGAN has shown remarkable performance in unconditional image generation. However, its high computational cost poses a significant challenge for practical applications. Although recent efforts have been made to compress StyleGAN while preserving its performance, existing compressed models still lag behind the original model, particularly in terms of sample diversity. To overcome this, we propose a novel channel pruning method that leverages varying sensitivities of channels to latent vectors, which is a key factor in sample diversity. Specifically, by assessing channel importance based on their sensitivities to latent vector perturbations, our method enhances the diversity of samples in the compressed model. Since our method solely focuses on the channel pruning stage, it has complementary benefits with prior training schemes without additional training cost. Extensive experiments demonstrate that our method significantly enhances sample diversity across various datasets. Moreover, in terms of FID scores, our method not only surpasses state-of-the-art by a large margin but also achieves comparable scores with only half training iterations. Codes are available at github.com/jiwoogit/DCP-GAN.",
51
+ "bbox": [
52
+ 76,
53
+ 301,
54
+ 472,
55
+ 619
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1. Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 76,
65
+ 664,
66
+ 209,
67
+ 680
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Thanks to recent progress in generative artificial intelligence, there have been numerous techniques in the research field of image generation [1, 3, 10, 15, 18, 26, 30, 31, 33, 36]. Especially for Generative Adversarial Networks (GANs) [5], StyleGAN [12-14] is one of the most successful approaches and leads to the development of diverse applications of GANs including image editing [7, 27, 39], super resolution [29], and even 3D generation [2, 6, 32]. However, due to their high computation costs, the deployment of these applications on the edge devices such as mobile phones and embedded systems is still challenging and remains a significant research problem. To",
74
+ "bbox": [
75
+ 75,
76
+ 691,
77
+ 470,
78
+ 875
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "handle this challenge, the research area of StyleGAN compression [24, 37] is recently introduced.",
85
+ "bbox": [
86
+ 500,
87
+ 268,
88
+ 890,
89
+ 300
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Most of prior StyleGAN compression techniques including CAGAN [24] and StyleKD [37] have two stages: (1) channel-pruning and (2) distillation stages. In detail, the channel-pruning stage initializes the compressed model (student) from the pre-trained network (teacher) by selectively removing channels. Subsequently, in the distillation stage, channel-pruned student model undergoes further training by adversarial objectives and knowledge distillation from the teacher model if needed.",
96
+ "bbox": [
97
+ 496,
98
+ 303,
99
+ 892,
100
+ 439
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "The primary goal of the GAN compression is to maintain the diversity and fidelity of generated images from the teacher model. However, we observe that the compressed generator often struggles to preserve the diversity compared to teacher generator (i.e. low recall as reported in Table. 1). Specifically, in the case of StyleKD, although it retains the latent space and mapping network of the teacher model during the pruning stage, the synthesis network of student model hardly preserves the diversity (recall) in the latent-to-image rendering process. We hypothesize that such degradation in diversity is caused by improper initialization of the synthesis network (e.g. random initialization or inadequate pruning method). Hence, in this paper we focus on development of an appropriate channel pruning scheme for synthesis network toward preserving the diversity of teacher.",
107
+ "bbox": [
108
+ 496,
109
+ 444,
110
+ 893,
111
+ 671
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "The diversity of the synthesis network stems from the variations observed in images generated from different latent signals. Our hypothesis is that the channel-wise behavior differs for different latent vectors, implying that each channel contributes to the diversity of generated images differently. For instance, channels associated with common characteristics in the dataset (e.g., the number of eyes in a facial dataset) may not be sensitive to the latent vector and its impact on diversity, despite their significant contribution to the generated images. On the other hand, channels related to semantic attributes exhibit distinct behavior with respect to the latent vector. Furthermore, the common characteristics within a dataset can be highly recoverable during further training even if their relevant channels are pruned. Therefore, to achieve a compressed student model",
118
+ "bbox": [
119
+ 496,
120
+ 674,
121
+ 893,
122
+ 902
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "header",
128
+ "text": "CVF",
129
+ "bbox": [
130
+ 106,
131
+ 2,
132
+ 181,
133
+ 42
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "header",
139
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
140
+ "bbox": [
141
+ 236,
142
+ 0,
143
+ 810,
144
+ 46
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "page_footnote",
150
+ "text": "* Corresponding author",
151
+ "bbox": [
152
+ 101,
153
+ 887,
154
+ 230,
155
+ 900
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "page_number",
161
+ "text": "7902",
162
+ "bbox": [
163
+ 482,
164
+ 944,
165
+ 516,
166
+ 955
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "image",
172
+ "img_path": "images/a36753c1691ecf80b42c72862d7657477386c5caf86407decd0f315ebc653bf9.jpg",
173
+ "image_caption": [
174
+ "Ch. #4 is more sensitive to the sample diversity",
175
+ "(a) Intuitive illustration of our method",
176
+ "Figure 1. (a) Intuitive illustration of our method. We compare four channels (Ch. #1, 2, 3, 4) by evaluating their responses when we pass the same latent vector $w$ and its perturbed counterpart $(w + \\alpha d)$ . By investigating the contribution of each channel to resulting image difference, we determine the sensitivity of channels to the latent perturbation. In this example, Ch. #4 is highly sensitive to the perturbation, while Ch. #1, 2, 3 exhibit low sensitivity. Consequently, in terms of preserving sample diversity, Ch. #4 is suitable for retaining. (b) Our overall framework. We aim to assess the contribution of each channel to the sample diversity by measuring its sensitivity to latent vector perturbation. In detail, 1) we sample a directional vector for the perturbation, 2) we compute the image-level difference caused by the latent vector perturbation, and 3) we calculate channel-wise gradient magnitudes induced by the difference image. The channel-wise sensitivity to the sample diversity is determined by its gradient magnitudes. As a result, we can estimate the channel-wise sensitivity against diversity."
177
+ ],
178
+ "image_footnote": [],
179
+ "bbox": [
180
+ 127,
181
+ 108,
182
+ 429,
183
+ 271
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "image",
189
+ "img_path": "images/87a9b5c9972933f0a611cff216a9e94bd980234149dfe9ff1fa207e007d073d0.jpg",
190
+ "image_caption": [
191
+ "(b) Our overall framework"
192
+ ],
193
+ "image_footnote": [],
194
+ "bbox": [
195
+ 450,
196
+ 90,
197
+ 844,
198
+ 271
199
+ ],
200
+ "page_idx": 1
201
+ },
202
+ {
203
+ "type": "text",
204
+ "text": "that maintains a highly similar generative distribution to the teacher model with fewer channels, it is reasonable to prioritize the preservation of channels that are sensitive to the latent vector.",
205
+ "bbox": [
206
+ 75,
207
+ 426,
208
+ 467,
209
+ 486
210
+ ],
211
+ "page_idx": 1
212
+ },
213
+ {
214
+ "type": "text",
215
+ "text": "In this paper, we present a channel-pruning method that considers the sensitivity of each channel to latent vector perturbations. Specifically, we investigate gradients induced by the image-level difference between two generated samples: one from the original latent vector and the other from its perturbated counterpart, as shown in Fig. 1. The intuition behind this is that a larger gradient magnitude for a generator's parameter indicates a higher sensitivity to the latent vector perturbation. Building on this primitive idea, we define a channel-wise importance score by aggregating the gradient magnitudes of parameters within the channel for diverse latent vectors and their perturbations. This score serves as a measure of each channel's contribution to the sample diversity. Based on these importance scores, we prune channels accordingly.",
216
+ "bbox": [
217
+ 75,
218
+ 488,
219
+ 467,
220
+ 714
221
+ ],
222
+ "page_idx": 1
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "We conduct extensive evaluations in various datasets including FFHQ, LSUN-Church, and LSUN-Horse. The experimental results demonstrate that our compressed model not only achieves state-of-the-art performance but also preserves significantly higher sample diversity. Moreover, our method reaches the previous state-of-the-art FID score with only half the number of training iterations.",
227
+ "bbox": [
228
+ 75,
229
+ 714,
230
+ 467,
231
+ 819
232
+ ],
233
+ "page_idx": 1
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "2. Related Work",
238
+ "text_level": 1,
239
+ "bbox": [
240
+ 76,
241
+ 829,
242
+ 218,
243
+ 844
244
+ ],
245
+ "page_idx": 1
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "One of the network compression techniques, channel pruning [19, 22, 23, 25, 34, 38, 40] proves highly effective in significantly reducing both memory usage and computational",
250
+ "bbox": [
251
+ 75,
252
+ 854,
253
+ 467,
254
+ 900
255
+ ],
256
+ "page_idx": 1
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "expenses. For example, MeanGrad [22] aims to preserve model performance despite pruning in network parameters and evaluates the importance of convolution weights using the mean gradient criterion in classification tasks.",
261
+ "bbox": [
262
+ 498,
263
+ 426,
264
+ 890,
265
+ 487
266
+ ],
267
+ "page_idx": 1
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "In generation tasks, various methods [9, 11, 20, 21, 28] have been also proposed to compress the generator network in both conditional and unconditional GANs to leverage its generative capabilities on devices with limited computational resources. One of the recent works, CAGAN [24] proposed a two-stage compression method for unconditional GANs. They first pruned the network parameters and then fine-tuned the pruned student model using knowledge distillation from the teacher model. Additionally, they proposed a content-aware pruning technique to preserve channels that are highly activated in salient regions of images. More recently, StyleKD [37] addressed the issue of output discrepancy between teacher and student models by maintaining the mapping network while randomly initializing the synthesis network with a reduced number of parameters.",
272
+ "bbox": [
273
+ 496,
274
+ 489,
275
+ 890,
276
+ 717
277
+ ],
278
+ "page_idx": 1
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "Our approach revisits the pruning stage in compressing the generator of StyleGAN. Specifically, we introduce a novel algorithm for selecting channels to be pruned based on their contributions to the sample diversity measured by the sensitivity to latent vector perturbations. Additionally, our method requires no extra training costs during the pruning stage, as it operates without the need for additional supervision, such as a pre-trained semantic segmentation model, while CAGAN requires it. In StyleKD, despite discarding all parameters in the synthesis network and utilizing latent directions to mimic the teacher model in the distillation stage, we observe that they still face challenges",
283
+ "bbox": [
284
+ 496,
285
+ 719,
286
+ 890,
287
+ 900
288
+ ],
289
+ "page_idx": 1
290
+ },
291
+ {
292
+ "type": "page_number",
293
+ "text": "7903",
294
+ "bbox": [
295
+ 482,
296
+ 944,
297
+ 514,
298
+ 955
299
+ ],
300
+ "page_idx": 1
301
+ },
302
+ {
303
+ "type": "image",
304
+ "img_path": "images/de38a6d40a2056887f275f3df5935c516f40b758b78da58388849399cf68d73d.jpg",
305
+ "image_caption": [
306
+ "Figure 2. Overall compression framework. Overall compression framework consists of two stages: channel pruning and distillation. Channel-pruning stage initializes a compact student model by pruning channels of a larger teacher model. Specifically for the StyleGAN2 architecture, pruning process usually focuses on reducing channels in the synthesis network, while retraining the mapping network. Distillation stage further trains student model with several training objectives such as adversarial and distillation losses. In this paper, we focus on the channel-pruning stage."
307
+ ],
308
+ "image_footnote": [],
309
+ "bbox": [
310
+ 99,
311
+ 90,
312
+ 447,
313
+ 255
314
+ ],
315
+ "page_idx": 2
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "in maintaining sample diversity. In contrast, our proposed method directly retains diversity-aware parameters in the synthesis network while discarding diversity-unrelated parameters in the pruning stage. Thus, our approach effectively inherits the generative capabilities of the teacher network and is twice as fast as the baselines thanks to our enhanced initialization.",
320
+ "bbox": [
321
+ 75,
322
+ 404,
323
+ 470,
324
+ 508
325
+ ],
326
+ "page_idx": 2
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "3. Method",
331
+ "text_level": 1,
332
+ "bbox": [
333
+ 76,
334
+ 518,
335
+ 168,
336
+ 534
337
+ ],
338
+ "page_idx": 2
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "In this paper, we present a novel channel pruning strategy for compressing StyleGAN. We focus on preserving sample diversity by considering the relationship between the latent and image spaces of the GAN, which has been overlooked by previous methods in the pruning process. Before introducing details of our proposed method, we provide an overview of the typical pipeline of GAN compression. Subsequently, we describe our channel selection process.",
343
+ "bbox": [
344
+ 75,
345
+ 544,
346
+ 468,
347
+ 667
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "3.1. Preliminaries",
354
+ "text_level": 1,
355
+ "bbox": [
356
+ 76,
357
+ 674,
358
+ 217,
359
+ 688
360
+ ],
361
+ "page_idx": 2
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Unconditional GAN Compression. As in Fig 2, GAN compression methods typically involve two networks: a teacher model (large and pretrained) and a student model (small). The goal is to train the student model with fewer parameters by distilling the knowledge from the pretrained teacher network, while maintaining performance as much as possible. This approach generally consists of two stages: (1) channel pruning and (2) distillation. In the channel pruning stage, the less important channels of the teacher model are pruned to initialize the student model. In the distillation stage, the student model is further trained using both adversarial learning and distillation losses from the teacher.",
366
+ "bbox": [
367
+ 75,
368
+ 696,
369
+ 468,
370
+ 878
371
+ ],
372
+ "page_idx": 2
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "Channel-Pruning Stage. The channel-pruning stage in",
377
+ "bbox": [
378
+ 76,
379
+ 885,
380
+ 468,
381
+ 901
382
+ ],
383
+ "page_idx": 2
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "volves the estimation of channel importance within the generator network, followed by pruning of less important channels based on the determined importance scores. In the context of StyleGAN compression, since most of methods are built on the StyleGAN2 framework [13], we provide a detailed description of the pruning procedure. The generator architecture of StyleGAN2 consists of a mapping network, denoted as $f(\\cdot): \\mathcal{Z} \\mapsto \\mathcal{W}$ , and a synthesis network, denoted as $g(\\cdot): \\mathcal{W} \\mapsto \\mathcal{I}$ . Here, $\\mathcal{Z} \\in \\mathbb{R}^{512}$ represents the input noise space following a standard normal distribution $\\mathcal{N}(0,1)$ . $\\mathcal{W} \\in \\mathbb{R}^{512}$ corresponds to the intermediate latent space, and $\\mathcal{I} \\in \\mathbb{R}^{h \\times w \\times 3}$ represents the image space. In the case of StyleGAN2, the focus of pruning is primarily on reducing the channels within the synthesis network while maintaining the mapping network. This strategy is guided by two reasons. Firstly, the mapping network accounts for only a small portion of the parameters and floating-point operations (FLOPs) compared to the synthesis network, making the benefits of pruning the mapping network negligible. Secondly, previous work [37] has observed that pruning the mapping network results in a significant drop in performance as it disrupts the consistency of output images between teacher and student models. Therefore, most of the existing research in this field has concentrated on developing techniques to prune the synthesis network. In alignment with this approach, our paper also focuses on pruning the synthesis network.",
388
+ "bbox": [
389
+ 496,
390
+ 90,
391
+ 893,
392
+ 500
393
+ ],
394
+ "page_idx": 2
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "3.2. Our Approach",
399
+ "text_level": 1,
400
+ "bbox": [
401
+ 500,
402
+ 518,
403
+ 650,
404
+ 536
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "As discussed earlier, we observed a notable degradation in sample diversity in the compressed student model compared to the teacher network, even though the mapping network remains uncompressed. We hypothesize that a critical factor in this decline is the lack of consideration for sample diversity in previous network initialization (or channel pruning). Consequently, our primary goal is to address this issue by introducing a novel channel-pruning method aimed at enhancing the diversity of generated images.",
411
+ "bbox": [
412
+ 496,
413
+ 545,
414
+ 890,
415
+ 681
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "To accomplish this, we introduce the concept of latent perturbation-induced gradients. These gradients reflect the sensitivity of each channel to perturbations in the latent vector. Since latent perturbations produce the image-level differences of generated samples, the gradients induced by these perturbations enable us to measure the contribution of each channel to the sample diversity. Based on these gradients, we define diversity-sensitive importance scores for each channel using various latent vectors and their perturbations. Finally, we select channels to be pruned according to their importance scores.",
422
+ "bbox": [
423
+ 496,
424
+ 685,
425
+ 892,
426
+ 851
427
+ ],
428
+ "page_idx": 2
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "Note that, while we explain the method using a single convolution weight $W$ for simplicity, in practice, our pruning method is applied to all weights in convolutional layers.",
433
+ "bbox": [
434
+ 496,
435
+ 854,
436
+ 893,
437
+ 902
438
+ ],
439
+ "page_idx": 2
440
+ },
441
+ {
442
+ "type": "page_number",
443
+ "text": "7904",
444
+ "bbox": [
445
+ 482,
446
+ 944,
447
+ 514,
448
+ 955
449
+ ],
450
+ "page_idx": 2
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "3.2.1 Latent Perturbation-induced Gradients",
455
+ "text_level": 1,
456
+ "bbox": [
457
+ 76,
458
+ 90,
459
+ 406,
460
+ 104
461
+ ],
462
+ "page_idx": 3
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "In our context, sample diversity refers to the variations observed among images generated from different latent vectors. To assess the contribution of each channel to sample diversity, we examine the gradients induced by the image-level difference between two generated samples from the latent vector and its perturbation. Specifically, we consider the latent representations in the intermediate latent space $\\mathcal{W}$ inherited from the teacher model.",
467
+ "bbox": [
468
+ 75,
469
+ 114,
470
+ 467,
471
+ 233
472
+ ],
473
+ "page_idx": 3
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "To produce the perturbed latent vectors, we first establish a set of independent directional vectors $D$ in $\\mathcal{W}$ . The perturbation is accomplished by shifting the latent vector $w$ along a directional vector $d$ sampled from $D$ as $w + \\alpha d$ , where $\\alpha$ is a scalar constant. Among a variety of feasible strategies to define $D$ , we specifically employ principal components inspired by GANSpace [7]. We also use a probabilistic sampling for the selection of directional vectors, with the selection probabilities proportional to the variance ratios corresponding principal components, since directions represent different degrees of semantic variation in this scheme. Note that, we experimentally found that our algorithm also works effectively even with a set of randomly drawn directional vectors (i.e. $(d_{\\mathrm{rand}} \\sim \\mathcal{N}(0,1))$ , and the performance gap between principal components and random vectors is not significant.",
478
+ "bbox": [
479
+ 75,
480
+ 234,
481
+ 467,
482
+ 474
483
+ ],
484
+ "page_idx": 3
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "Given a latent vector $w$ and a sampled directional vector $d$ , we compute the difference between two images $g(w)$ and $g(w + \\alpha d)$ generated by the teacher generator $g(\\cdot)$ based on $L_{1}$ distance as follows:",
489
+ "bbox": [
490
+ 76,
491
+ 477,
492
+ 467,
493
+ 536
494
+ ],
495
+ "page_idx": 3
496
+ },
497
+ {
498
+ "type": "equation",
499
+ "text": "\n$$\n\\mathcal {L} _ {\\text {d i f f}} = | g (w) - g (w + \\alpha d) |, \\quad g (\\cdot) \\in \\mathbb {R} ^ {h \\times w \\times 3}, \\tag {1}\n$$\n",
500
+ "text_format": "latex",
501
+ "bbox": [
502
+ 102,
503
+ 545,
504
+ 467,
505
+ 564
506
+ ],
507
+ "page_idx": 3
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "where $|\\cdot|$ denotes the absolute value, and $h$ and $w$ are the height and width of the images, respectively.",
512
+ "bbox": [
513
+ 75,
514
+ 571,
515
+ 467,
516
+ 599
517
+ ],
518
+ "page_idx": 3
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": "To investigate the sensitivity of learnable parameters $W$ within a convolution layer of $g$ to the latent vector perturbation, we calculate gradients of weights by back-propagating $\\mathcal{L}_{\\mathrm{diff}}$ . These gradients are referred to as latent perturbation-induced gradients $\\mathbf{G}_{\\mathrm{perturb}}$ , and expressed as follows:",
523
+ "bbox": [
524
+ 75,
525
+ 601,
526
+ 467,
527
+ 676
528
+ ],
529
+ "page_idx": 3
530
+ },
531
+ {
532
+ "type": "equation",
533
+ "text": "\n$$\n\\mathbf {G} _ {\\text {p e r t u r b}} = \\left| \\frac {\\partial \\mathcal {L} _ {\\text {d i f f}}}{\\partial W} \\right|, \\quad \\mathbf {G} _ {\\text {p e r t u r b}} \\in \\mathbb {R} ^ {c ^ {\\mathrm {i n}} \\times c ^ {\\mathrm {o u t}} \\times 3 \\times 3}, \\tag {2}\n$$\n",
534
+ "text_format": "latex",
535
+ "bbox": [
536
+ 117,
537
+ 685,
538
+ 467,
539
+ 715
540
+ ],
541
+ "page_idx": 3
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "where $c^{\\mathrm{in}}$ and $c^{\\mathrm{out}}$ represent the number of input channels and output channels of $W$ , respectively.",
546
+ "bbox": [
547
+ 75,
548
+ 722,
549
+ 467,
550
+ 752
551
+ ],
552
+ "page_idx": 3
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "Intuitively, if a parameter has a larger gradient magnitude, the parameter is considered more sensitive to the difference between samples produced by latent perturbation, thereby contributing more to the sample diversity.",
557
+ "bbox": [
558
+ 75,
559
+ 753,
560
+ 467,
561
+ 813
562
+ ],
563
+ "page_idx": 3
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "3.2.2 Diversity-Sensitive Importance Score",
568
+ "text_level": 1,
569
+ "bbox": [
570
+ 76,
571
+ 830,
572
+ 387,
573
+ 847
574
+ ],
575
+ "page_idx": 3
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "Based on the latent perturbation-induced gradients $\\mathbf{G}_{\\mathrm{perturb}}$ we introduce channel-wise diversity-sensitive importance score for pruning.",
580
+ "bbox": [
581
+ 75,
582
+ 854,
583
+ 467,
584
+ 900
585
+ ],
586
+ "page_idx": 3
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "One straightforward approach is to average the gradient magnitudes over the parameters associated with each channel for multiple latent vectors $w \\sim f(z)$ and directions $d$ . We refer this scheme as the average-based importance score, expressed as follows:",
591
+ "bbox": [
592
+ 496,
593
+ 90,
594
+ 890,
595
+ 166
596
+ ],
597
+ "page_idx": 3
598
+ },
599
+ {
600
+ "type": "equation",
601
+ "text": "\n$$\nS ^ {\\mu} (c) = \\left\\| \\mathbb {E} _ {z} \\mathbb {E} _ {d} \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} \\right] _ {c} \\right\\| _ {1}, S ^ {\\mu} (c) \\in \\mathbb {R} ^ {1}, \\tag {3}\n$$\n",
602
+ "text_format": "latex",
603
+ "bbox": [
604
+ 553,
605
+ 176,
606
+ 890,
607
+ 195
608
+ ],
609
+ "page_idx": 3
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "where $c \\in [0, c^{\\mathrm{in}})$ denotes the channel index, $[\\cdot]_c$ represents $c^{\\mathrm{th}}$ channel of $[\\cdot]$ , and $\\mathbf{G}_{\\mathrm{perturb}}$ denotes the gradient magnitude. In practice, we compute $\\mathbb{E}_d[\\cdot]$ using $N$ directional vectors sampled from $D$ .",
614
+ "bbox": [
615
+ 496,
616
+ 205,
617
+ 890,
618
+ 265
619
+ ],
620
+ "page_idx": 3
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "If a specific latent vector significantly influences $\\left[\\mathbf{G}_{\\text {perturb }}\\right]_{c}$ regardless of its perturbations, the channel would receive a high importance score even if it is not actually sensitive to the perturbations. Consequently, the influence of such channels can greatly disturb desired channel selection.",
625
+ "bbox": [
626
+ 496,
627
+ 267,
628
+ 890,
629
+ 340
630
+ ],
631
+ "page_idx": 3
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "To address this problem, we revise the average-based score by considering the individual effect of each latent vector. Specifically, for each latent vector, we compute the average gradient magnitudes over $N$ perturbations and utilize them to penalize the induced gradients for the learnable parameters. These average gradient magnitudes for a latent vector are referred to as the gradient offset. As a result, our diversity-sensitive importance score for $c^{\\mathrm{th}}$ channel, $S^{\\sigma}(c)$ , is defined as follows:",
636
+ "bbox": [
637
+ 496,
638
+ 342,
639
+ 890,
640
+ 477
641
+ ],
642
+ "page_idx": 3
643
+ },
644
+ {
645
+ "type": "equation",
646
+ "text": "\n$$\nS ^ {\\sigma} (c) = \\| \\mathbb {E} _ {z} \\mathbb {E} _ {d} \\left[ \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} - \\mathbb {E} _ {d} \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} \\right] \\right] ^ {2} \\right] _ {c} \\| _ {1}, S ^ {\\sigma} (c) \\in \\mathbb {R} ^ {1}, \\tag {4}\n$$\n",
647
+ "text_format": "latex",
648
+ "bbox": [
649
+ 500,
650
+ 488,
651
+ 890,
652
+ 518
653
+ ],
654
+ "page_idx": 3
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "where $\\mathbb{E}_d[\\mathbf{G}_{\\mathrm{perturb}}]$ represents the gradient offset of the original latent vector $w$ , and $[\\cdot]^2$ denotes element-wise squaring. Once the diversity-sensitive importance scores are computed, we prune channels with low scores according to the pruning ratio $p_r$ .",
659
+ "bbox": [
660
+ 496,
661
+ 520,
662
+ 890,
663
+ 595
664
+ ],
665
+ "page_idx": 3
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "Aside from the calibration by the gradient offset, $S^{\\sigma}(c)$ is equivalent to the variance of $\\mathbf{G}_{\\mathrm{perturb}}$ over perturbations. This approach further reduces the impact of small noisy values and grants greater importance to channels that are highly sensitive to a particular direction in the latent space. Such directions can be highly related to specific semantic attributes. Intuitively, it is crucial to retain channels that are highly sensitive to directional vectors in the latent space relevant to certain semantic attributes, such as glasses or age.",
670
+ "bbox": [
671
+ 496,
672
+ 595,
673
+ 890,
674
+ 731
675
+ ],
676
+ "page_idx": 3
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "3.3. Objective Functions for Distillation Stage",
681
+ "text_level": 1,
682
+ "bbox": [
683
+ 498,
684
+ 741,
685
+ 851,
686
+ 758
687
+ ],
688
+ "page_idx": 3
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "After establishing the initial student model through a channel-pruned teacher generator, we fine-tune the student model using adversarial and knowledge distillation objectives. As our primary focus in this paper lies on the pruning algorithm, we simply follow the training scheme of StyleKD [37] incorporating four objectives: $\\mathcal{L}_{\\mathrm{GAN}}, \\mathcal{L}_{\\mathrm{rgb}}, \\mathcal{L}_{\\mathrm{lpips}}$ , and $\\mathcal{L}_{\\mathrm{LD}}$ .",
693
+ "bbox": [
694
+ 496,
695
+ 763,
696
+ 890,
697
+ 869
698
+ ],
699
+ "page_idx": 3
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "$\\mathcal{L}_{\\mathrm{GAN}}$ denotes the minimax objective for adversarial training. Meanwhile, $\\mathcal{L}_{\\mathrm{rgb}}$ and $\\mathcal{L}_{\\mathrm{lpips}}$ strive to replicate",
704
+ "bbox": [
705
+ 498,
706
+ 869,
707
+ 890,
708
+ 901
709
+ ],
710
+ "page_idx": 3
711
+ },
712
+ {
713
+ "type": "page_number",
714
+ "text": "7905",
715
+ "bbox": [
716
+ 482,
717
+ 944,
718
+ 514,
719
+ 955
720
+ ],
721
+ "page_idx": 3
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "teacher-generated images in image and feature spaces, respectively. $\\mathcal{L}_{\\mathrm{LD}}$ , a latent-direction-based relation distillation loss, aims to align the student model's feature similarity matrix to the teachers. More details on these objectives can be found in StyleKD [37]. As a result, our final training objective function, $\\mathcal{L}_{\\mathrm{final}}$ , is given as follows:",
726
+ "bbox": [
727
+ 75,
728
+ 90,
729
+ 472,
730
+ 183
731
+ ],
732
+ "page_idx": 4
733
+ },
734
+ {
735
+ "type": "equation",
736
+ "text": "\n$$\n\\mathcal {L} _ {\\text {f i n a l}} = \\lambda_ {\\mathrm {G A N}} \\mathcal {L} _ {\\mathrm {G A N}} + \\lambda_ {\\mathrm {r g b}} \\mathcal {L} _ {\\mathrm {r g b}} + \\lambda_ {\\mathrm {l p i p s}} \\mathcal {L} _ {\\mathrm {l p i p s}} + \\lambda_ {\\mathrm {L D}} \\mathcal {L} _ {\\mathrm {L D}}, \\tag {5}\n$$\n",
737
+ "text_format": "latex",
738
+ "bbox": [
739
+ 84,
740
+ 193,
741
+ 468,
742
+ 212
743
+ ],
744
+ "page_idx": 4
745
+ },
746
+ {
747
+ "type": "text",
748
+ "text": "where $\\lambda_{\\mathrm{GAN}}, \\lambda_{\\mathrm{rgb}}, \\lambda_{\\mathrm{lpips}}$ , and $\\lambda_{\\mathrm{LD}}$ balance loss terms.",
749
+ "bbox": [
750
+ 76,
751
+ 220,
752
+ 421,
753
+ 237
754
+ ],
755
+ "page_idx": 4
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "4. Experiment",
760
+ "text_level": 1,
761
+ "bbox": [
762
+ 76,
763
+ 250,
764
+ 200,
765
+ 266
766
+ ],
767
+ "page_idx": 4
768
+ },
769
+ {
770
+ "type": "text",
771
+ "text": "4.1. Experimental Setup",
772
+ "text_level": 1,
773
+ "bbox": [
774
+ 76,
775
+ 273,
776
+ 267,
777
+ 290
778
+ ],
779
+ "page_idx": 4
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Baselines. Our method is compared with recent StyleGAN compression methods, CAGAN [24] and StyleKD [37]. For a fair comparison, we further train CAGAN with the advanced objective function $(\\mathcal{L}_{\\mathrm{LD}})$ introduced in StyleKD, which we denote as CAGAN*. Since our method employs StyleKD's training scheme, comparing CAGAN*, StyleKD, and our method is equitable. Since the pretrained StyleKD models are not available, we retrain StyleKD using the official repository for unreported metrics and datasets, referring to this retrained model as StyleKD*. For training details of CAGAN, we apply a facial mask as a content mask when training CAGAN* on the FFHQ dataset. However, on other datasets where content definition is challenging, we use a uniform mask, assigning a value of one to all pixels.",
784
+ "bbox": [
785
+ 75,
786
+ 297,
787
+ 472,
788
+ 525
789
+ ],
790
+ "page_idx": 4
791
+ },
792
+ {
793
+ "type": "text",
794
+ "text": "Evaluation Metrics. We validate our pruning method using various quantitative metrics. In addition to the most popular Fréchet Inception Distance (FID) [8], we also measure Precision and Recall (P&R) [17] to assess the quality and diversity of generated samples separately. For FID calculation, we use 50K real and 50K fake samples for each dataset. For P&R, we use all real samples in the dataset and 50K fake samples for FFHQ and LSUN Church. For the LSUN Horse dataset, we use 200K real samples due to the high computational cost associated with complete 1M real samples.",
795
+ "bbox": [
796
+ 75,
797
+ 530,
798
+ 468,
799
+ 696
800
+ ],
801
+ "page_idx": 4
802
+ },
803
+ {
804
+ "type": "text",
805
+ "text": "To evaluate the projection capability of the compressed model, we employ the projection method of StyleGAN2, which projects real images into the $\\mathcal{W}$ space using noise regularization and reconstruction losses such as MSE and LPIPS, over 1,000 iterations. We use the Helen-Set55 dataset for this evaluation, following the practice of CAGAN. We report the averaged MSE and LPIPS for all pairs of real and projected images in the dataset.",
806
+ "bbox": [
807
+ 75,
808
+ 696,
809
+ 468,
810
+ 819
811
+ ],
812
+ "page_idx": 4
813
+ },
814
+ {
815
+ "type": "text",
816
+ "text": "Implementation Details. We follow the implementation details provided in StyleKD [37]. For instance, all experiments are conducted with a pruning ratio of 0.7 (i.e. $p_r = 0.7$ ) and trained for 450K iterations. Also, in the default setting, we set the hyperparameters $N$ and $\\alpha$ as",
817
+ "bbox": [
818
+ 75,
819
+ 825,
820
+ 470,
821
+ 902
822
+ ],
823
+ "page_idx": 4
824
+ },
825
+ {
826
+ "type": "image",
827
+ "img_path": "images/8ed76f1b4aeb0d3bfdb99e9558d3803b2a8143ec3886e79bff35a07e395a7b6e.jpg",
828
+ "image_caption": [
829
+ "(a) Precision-Recall Curve in FFHQ-256",
830
+ "Figure 3. (a) Precision-Recall Curve. By adjusting the truncation trick parameter $\\psi$ within the range [0.5, 1.0] with step size 0.1, we visualize the Precision-Recall curve of the proposed method and baselines. We validate that ours surpasses baseline methods with every range of precision and recall. (b) FID w.r.t Training Iterations. We visualize FID curve during training and validate that the proposed method achieves the previous state-of-the-art FIDs only with $2\\times$ fewer iterations."
831
+ ],
832
+ "image_footnote": [],
833
+ "bbox": [
834
+ 506,
835
+ 90,
836
+ 676,
837
+ 186
838
+ ],
839
+ "page_idx": 4
840
+ },
841
+ {
842
+ "type": "image",
843
+ "img_path": "images/8b9c4bc60d00972f717220a85f8befd4b2c9c8514ab661024de5fb310775ec51.jpg",
844
+ "image_caption": [
845
+ "(b) FID graph in FFHQ-256"
846
+ ],
847
+ "image_footnote": [],
848
+ "bbox": [
849
+ 683,
850
+ 90,
851
+ 885,
852
+ 185
853
+ ],
854
+ "page_idx": 4
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "10 and 5, except for LSUN Horse dataset where we set $\\alpha$ as 10. We employ non-saturating loss [4] with $R_{1}$ gradient penalty [13] and update a model through Adam optimizer [16] with $\\beta_{1} = 0.0$ and $\\beta_{2} = 0.99$ . The learning rate is set to 2e-3 for both the generator and discriminator. We use a batch size of 16 and consistently employ 4 GPUs for training. Lastly, the loss balancing constants are set to $\\lambda_{\\mathrm{GAN}} = 1$ , $\\lambda_{\\mathrm{rgb}} = 3$ , $\\lambda_{\\mathrm{lpips}} = 3$ , and $\\lambda_{\\mathrm{LD}} = 30$ .",
859
+ "bbox": [
860
+ 496,
861
+ 332,
862
+ 893,
863
+ 455
864
+ ],
865
+ "page_idx": 4
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "4.2. Quantitative Results",
870
+ "text_level": 1,
871
+ "bbox": [
872
+ 498,
873
+ 465,
874
+ 694,
875
+ 482
876
+ ],
877
+ "page_idx": 4
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "Image Generation Performance. We validate the effectiveness of the proposed method through various generation performance metrics including FID and P&R in diverse datasets such as FFHQ, LSUN Church, and LSUN Horse. In terms of FID, the proposed method consistently outperforms state-of-the-art baselines on all tested datasets, as reported in Tab. 1. For example, our model achieves a FID score of 5.80 in FFHQ-1024, improving 1.8 and 1.39 points over CAGAN and StyleKD, respectively. These consistent FID score improvements demonstrate the superiority of the distribution-matching capability of the proposed method.",
882
+ "bbox": [
883
+ 496,
884
+ 489,
885
+ 890,
886
+ 656
887
+ ],
888
+ "page_idx": 4
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "For the recall metric directly related to the sample diversity, our method achieves the highest scores in all tested datasets. For instance, our method significantly outperforms CAGAN in terms of recall score in FFHQ-1024 (0.277 vs 0.378), as well as obtains a value of 0.372 in LSUN Church, which is almost comparable with the teacher (0.016 points gap).",
893
+ "bbox": [
894
+ 496,
895
+ 657,
896
+ 890,
897
+ 763
898
+ ],
899
+ "page_idx": 4
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "For the precision metric, the proposed method shows a slightly lower precision compared to the baseline, due to the precision-recall trade-off. Since the recall can be leveraged to improve precision through a truncation trick, we additionally conduct experiments by adjusting $\\psi$ to evaluate precision at the highest recall achieved by baselines. In this setting, we observe that our method also surpasses baselines in terms of precision at the comparable recall. For example, by adopting a truncation parameter of $\\psi = 0.95$ in",
904
+ "bbox": [
905
+ 496,
906
+ 763,
907
+ 893,
908
+ 902
909
+ ],
910
+ "page_idx": 4
911
+ },
912
+ {
913
+ "type": "page_number",
914
+ "text": "7906",
915
+ "bbox": [
916
+ 482,
917
+ 944,
918
+ 516,
919
+ 955
920
+ ],
921
+ "page_idx": 4
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "Table 1. Quantitative results on StyleGAN2. Comparison with GAN compression baselines in FFHQ, LSUN Church, and LSUN Horse datasets. 'Param.' refers to the number of parameters in a generator and 'FLOPs' denotes the number of floating-point operations. 'P' and 'R' represent precision and recall metrics, respectively. 'MSE' and 'LPIPS' indicate the distance between pairs of real and inverted samples based on the StyleGAN2 projection method. 'CAGAN**' denotes CAGAN trained with the objective of StyleKD. 'StyleKD*' refers to a retrained model using the official code due to the unavailability of published pretrained models. 'ψ' denotes the parameter for the truncation trick, which adjusts the trade-off between sample diversity and fidelity. We adjust 'ψ' to evaluate precision at the highest recall achieved by baselines. We have omitted 'Param.' and 'FLOPs' in the LSUN Church and LSUN Horse datasets, as they are the same as FFHQ-256. Reported FIDs without ours, CAGAN*, and StyleKD* are taken from StyleKD.",
926
+ "bbox": [
927
+ 75,
928
+ 88,
929
+ 893,
930
+ 202
931
+ ],
932
+ "page_idx": 5
933
+ },
934
+ {
935
+ "type": "table",
936
+ "img_path": "images/afb8b7172f60ec7f8614878655093d839d18d49645bb93688cd584357e40c696.jpg",
937
+ "table_caption": [],
938
+ "table_footnote": [],
939
+ "table_body": "<table><tr><td>Dataset</td><td>Method</td><td>Param.</td><td>FLOPs</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>MSE↓</td><td>LPIPS↓</td><td></td></tr><tr><td rowspan=\"9\">FFHQ-256</td><td>Teacher</td><td>30.0M</td><td>45.1B</td><td>4.5</td><td>0.603</td><td>0.482</td><td>0.0292</td><td>0.2065</td><td></td></tr><tr><td>Scratch</td><td>5.6M</td><td>4.1B</td><td>9.79</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>5.0B</td><td>12.4</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>5.6M</td><td>4.1B</td><td>7.9</td><td>0.703</td><td>0.295</td><td>0.0316</td><td>0.2141</td><td></td></tr><tr><td>CAGAN* [24]</td><td>5.6M</td><td>4.1B</td><td>7.41</td><td>0.713</td><td>0.309</td><td>0.0301</td><td>0.2113</td><td></td></tr><tr><td>StyleKD [37]</td><td>5.6M</td><td>4.1B</td><td>7.25</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>StyleKD* [37]</td><td>5.6M</td><td>4.1B</td><td>7.47</td><td>0.710</td><td>0.306</td><td>0.0307</td><td>0.2101</td><td></td></tr><tr><td>Ours</td><td>5.6M</td><td>4.1B</td><td>6.35</td><td>0.706</td><td>0.339</td><td>0.0293</td><td>0.2082</td><td></td></tr><tr><td>Ours (ψ = 0.95)</td><td>5.6M</td><td>4.1B</td><td>6.86</td><td>0.732</td><td>0.312</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td rowspan=\"5\">FFHQ-1024</td><td>Teacher</td><td>49.1M</td><td>74.3B</td><td>2.7</td><td>0.688</td><td>0.492</td><td>0.0275</td><td>0.1916</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>23.9B</td><td>10.1</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>9.2M</td><td>7.0B</td><td>7.6</td><td>0.721</td><td>0.277</td><td>0.0358</td><td>0.2099</td><td></td></tr><tr><td>StyleKD [37]</td><td>9.2M</td><td>7.0B</td><td>7.19</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>Ours</td><td>9.2M</td><td>7.0B</td><td>5.80</td><td>0.676</td><td>0.378</td><td>0.0328</td><td>0.2082</td><td></td></tr><tr><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td></tr><tr><td rowspan=\"5\">LSUN Church</td><td>Teacher</td><td>3.97</td><td>0.599</td><td>0.388</td><td></td><td>Teacher</td><td>4.50</td><td>0.541</td><td>0.442</td></tr><tr><td>CAGAN* [24]</td><td>5.09</td><td>0.598</td><td>0.352</td><td></td><td rowspan=\"2\">LSUN Horse</td><td>5.73</td><td>0.589</td><td>0.335</td></tr><tr><td>StyleKD* [37]</td><td>6.10</td><td>0.611</td><td>0.302</td><td></td><td>5.69</td><td>0.589</td><td>0.325</td></tr><tr><td>Ours</td><td>4.87</td><td>0.584</td><td>0.372</td><td></td><td>Ours</td><td>5.11</td><td>0.581</td><td>0.356</td></tr><tr><td>Ours (ψ = 0.97)</td><td>5.07</td><td>0.610</td><td>0.349</td><td></td><td>Ours (ψ = 0.95)</td><td>5.22</td><td>0.610</td><td>0.337</td></tr></table>",
940
+ "bbox": [
941
+ 181,
942
+ 207,
943
+ 789,
944
+ 583
945
+ ],
946
+ "page_idx": 5
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "FFHQ-256 and LSUN Horse datasets, our method provides higher precision, recall, and even FID scores compared to the baselines. In the case of LSUN Church, with a truncation parameter of $\\psi = 0.97$ , we achieve comparable precision to StyleKD while providing 0.047 points higher recall score. Similarly, compared to CAGAN, ours has comparable scores in the aspect of recall but achieves higher precision with a reasonable margin. Note that, without the truncation trick, the proposed method substantially outperforms the baseline models in terms of diversity. For further validation, we additionally report the precision-recall curve in the FFHQ-256 dataset by adjusting the parameter $\\psi$ in Fig. 3-(a) within a range of [0.5, 1.0]. As shown, ours provides higher precision and recall compared to the baselines across the ranges.",
951
+ "bbox": [
952
+ 75,
953
+ 597,
954
+ 470,
955
+ 824
956
+ ],
957
+ "page_idx": 5
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "To assess the applicability of our method with other network architectures, we conduct evaluations with StyleGAN3. Thus, we reproduce scores of baselines at the same training settings as ours and focus on relative improvements in this experiment. Specifically, we employ official codes of",
962
+ "bbox": [
963
+ 75,
964
+ 824,
965
+ 470,
966
+ 902
967
+ ],
968
+ "page_idx": 5
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "StyleGAN3 and train the generator until the discriminator see 10M of real images. As in Tab 2, our model achieves a FID score of 8.40 and improves 5.85 and 1.17 points over the CAGAN and StyleKD, respectively. In terms of the recall metric, our method also surpasses the baselines. A comparative analysis of metric scores between baselines and our approach further highlights our model's superiority.",
973
+ "bbox": [
974
+ 496,
975
+ 597,
976
+ 893,
977
+ 705
978
+ ],
979
+ "page_idx": 5
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "Training Converged Speed Ability. Moreover, we visualize the FID curve with respect to the training iteration of our method in Fig. 3-(b). We observe that ours reach the best FID scores of previous state-of-the-art models at much fewer iterations. For instance, ours achieve comparable FID scores only with $2.5 \\times$ and $2 \\times$ fewer iterations compared to the CAGAN and StyleKD, respectively. We believe that our enhanced initialization of the synthesis network through our channel pruning strategy significantly improves the generation performance during the early stages of training, and allows the model for further improvement throughout the entire training process.",
984
+ "bbox": [
985
+ 496,
986
+ 719,
987
+ 895,
988
+ 902
989
+ ],
990
+ "page_idx": 5
991
+ },
992
+ {
993
+ "type": "page_number",
994
+ "text": "7907",
995
+ "bbox": [
996
+ 482,
997
+ 944,
998
+ 514,
999
+ 955
1000
+ ],
1001
+ "page_idx": 5
1002
+ },
1003
+ {
1004
+ "type": "table",
1005
+ "img_path": "images/d935e4248ad3994f93c7efab2c18a50106fef1252e78c4b899aed8d386b8b4ad.jpg",
1006
+ "table_caption": [
1007
+ "Table 2. Quantitative results on StyleGAN3. Comparison with recent baselines [24, 37] in FFHQ dataset."
1008
+ ],
1009
+ "table_footnote": [],
1010
+ "table_body": "<table><tr><td>Metric</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Teacher</td><td>4.76</td><td>0.647</td><td>0.484</td></tr><tr><td>CAGAN [24]</td><td>14.25</td><td>0.636</td><td>0.272</td></tr><tr><td>StyleKD [37]</td><td>9.57</td><td>0.647</td><td>0.376</td></tr><tr><td>Ours</td><td>8.40</td><td>0.653</td><td>0.397</td></tr></table>",
1011
+ "bbox": [
1012
+ 140,
1013
+ 121,
1014
+ 405,
1015
+ 217
1016
+ ],
1017
+ "page_idx": 6
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "text": "Image Projection Ability. For evaluation of the image projection ability, we perform experiments on FFHQ dataset using MSE and LPIPS metrics. For both FFHQ-256 and FFHQ-1024 datasets, we validate that the proposed method surpasses baselines in terms of both MSE and LPIPS metrics. Interestingly, we observe that ours reports MSE of 0.0293 which is a comparable score with the teacher model, 0.0292, in FFHQ-256 dataset. We believe that our pruning method brings a significant improvement in the generator's ability to capture the diverse characteristics of real images, and it allows precise projection of them.",
1022
+ "bbox": [
1023
+ 75,
1024
+ 224,
1025
+ 470,
1026
+ 391
1027
+ ],
1028
+ "page_idx": 6
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "4.3. Qualitative Results",
1033
+ "text_level": 1,
1034
+ "bbox": [
1035
+ 76,
1036
+ 400,
1037
+ 261,
1038
+ 416
1039
+ ],
1040
+ "page_idx": 6
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "Generated samples from same noise input. For qualitative comparison, we show the samples generated by different compressed models from the same noise vector $z$ in Fig. 4. As noted in StyleKD [37], it would be desirable for a compressed network to reconstruct the sample generated by the teacher network. However, we observed that the baseline methods struggle to produce a sample inheriting the characteristics of images from the teacher network. For instance, CAGAN* and StyleKD* generate face images with different shapes of eyes in the third and fourth column of Fig. 4. Similarly, in the first column of LSUN Horse, horses generated by baselines hardly maintain the brown and white color patterns available in the teacher's image, while the proposed method successfully synthesizes those patterns. These results show that the channel pruning with the consideration of the latent space and its effect on images leads to better diversity preservation of generated images.",
1045
+ "bbox": [
1046
+ 75,
1047
+ 422,
1048
+ 468,
1049
+ 680
1050
+ ],
1051
+ "page_idx": 6
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "text": "4.4. Ablation Studies and Analysis",
1056
+ "text_level": 1,
1057
+ "bbox": [
1058
+ 76,
1059
+ 688,
1060
+ 344,
1061
+ 704
1062
+ ],
1063
+ "page_idx": 6
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "We further discuss the influence of the proposed components and other hyperparameters by comprehensive ablation studies. For this purpose, we train the ablated models with different configurations in FFHQ-256.",
1068
+ "bbox": [
1069
+ 75,
1070
+ 712,
1071
+ 468,
1072
+ 772
1073
+ ],
1074
+ "page_idx": 6
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "text": "Number of directions and strength for perturbations. We investigate the number of directions $(N)$ and the strength of perturbation $(\\alpha)$ . Due to the computational costs, we report the mean and standard deviations of the best FID scores up to 50K iterations over 3 times trials. As reported in Tab. 3-(a), our method achieves the lowest FID score when $N = 10$ . Additionally, we explore the impact of the strength of perturbation $(\\alpha)$ . While $\\alpha = 5$ yields the",
1079
+ "bbox": [
1080
+ 75,
1081
+ 780,
1082
+ 468,
1083
+ 900
1084
+ ],
1085
+ "page_idx": 6
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "Table 3. Ablation on the perturbation parameters. In this table, we report mean and standard deviation of $\\mathrm{FID}_{\\mathrm{early}}$ measured from the models training until 50K iterations 3 times. We denote $N$ and $\\alpha$ as the number of perturbations for each original latent vector and the strength parameter of perturbations, respectively. Ablation on the direction sampling. For comparing semantic and random directional vectors, we utilize the GANSpace (PCA) method to obtain the semantic directional vector. The FID score with semantic directional vectors is slightly better than that of the randomly sampled vectors.",
1090
+ "bbox": [
1091
+ 496,
1092
+ 82,
1093
+ 890,
1094
+ 220
1095
+ ],
1096
+ "page_idx": 6
1097
+ },
1098
+ {
1099
+ "type": "table",
1100
+ "img_path": "images/c9df740290a0ac03f10112a1c4e4df898cc4e8133bdbab2bd09e4f67b44ba111.jpg",
1101
+ "table_caption": [],
1102
+ "table_footnote": [],
1103
+ "table_body": "<table><tr><td>N</td><td>FIDearly ���</td><td>α</td><td>FIDearly ↓</td></tr><tr><td>N = 5</td><td>12.46 ± 0.2</td><td>α = 1</td><td>13.50 ± 0.3</td></tr><tr><td>N = 10</td><td>12.08 ± 0.3</td><td>α = 5</td><td>12.08 ± 0.3</td></tr><tr><td>N = 20</td><td>12.47 ± 0.2</td><td>α = 10</td><td>12.09 ± 0.2</td></tr></table>",
1104
+ "bbox": [
1105
+ 542,
1106
+ 232,
1107
+ 851,
1108
+ 306
1109
+ ],
1110
+ "page_idx": 6
1111
+ },
1112
+ {
1113
+ "type": "table",
1114
+ "img_path": "images/58d497dbb601915683e35b79900639ec7280d9a63317e52e681af98ea15b526c.jpg",
1115
+ "table_caption": [
1116
+ "(a) Ablation on the perturbation parameters"
1117
+ ],
1118
+ "table_footnote": [],
1119
+ "table_body": "<table><tr><td>Direction</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Random</td><td>6.50</td><td>0.692</td><td>0.342</td></tr><tr><td>PCA</td><td>6.35</td><td>0.706</td><td>0.339</td></tr></table>",
1120
+ "bbox": [
1121
+ 573,
1122
+ 321,
1123
+ 812,
1124
+ 383
1125
+ ],
1126
+ "page_idx": 6
1127
+ },
1128
+ {
1129
+ "type": "table",
1130
+ "img_path": "images/f20e614d30291e55477ed74cf8c29ecedf015cc4049eac7c589c9db63b2663f4.jpg",
1131
+ "table_caption": [
1132
+ "(b) Ablation on the perturbation directions",
1133
+ "Table 4. Ablation on the type of the importance scores. Comparison of FID score between the average-based importance score $(S^{\\mu})$ and the proposed diversity-sensitive importance score $(S^{\\sigma})$ in FFHQ-256 and LSUN Horse datasets."
1134
+ ],
1135
+ "table_footnote": [],
1136
+ "table_body": "<table><tr><td>Dataset</td><td>StyleKD*</td><td>Ours (w/ Sμ)</td><td>Ours (w/ Sσ)</td></tr><tr><td>FFHQ-256</td><td>7.47</td><td>6.71</td><td>6.35</td></tr><tr><td>LSUN Horse</td><td>5.69</td><td>5.36</td><td>5.11</td></tr></table>",
1137
+ "bbox": [
1138
+ 517,
1139
+ 462,
1140
+ 867,
1141
+ 523
1142
+ ],
1143
+ "page_idx": 6
1144
+ },
1145
+ {
1146
+ "type": "text",
1147
+ "text": "best FID in this scenario, we consider both $\\alpha = 5,10$ as viable options.",
1148
+ "bbox": [
1149
+ 496,
1150
+ 536,
1151
+ 890,
1152
+ 566
1153
+ ],
1154
+ "page_idx": 6
1155
+ },
1156
+ {
1157
+ "type": "text",
1158
+ "text": "Latent perturbations by random vs. PCA-based directions. We conduct the ablation study on directional vectors for latent perturbations. Specifically, we compare the performance of directional vectors derived from GANSpace [7] and vectors sampled from a random normal distribution $(d_{\\mathrm{rand}} \\sim \\mathcal{N}(0,1))$ . Tab. 3-(b) shows a slight degradation in performance when using random directional vectors for the perturbation. However, this degradation is negligible, and our pruned model still outperforms compared to baselines [24, 37] in terms of FID metric.",
1159
+ "bbox": [
1160
+ 496,
1161
+ 574,
1162
+ 890,
1163
+ 724
1164
+ ],
1165
+ "page_idx": 6
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "text": "Thus, this finding highlights the significance of perturbation itself regardless of the type (either random or PCA) of perturbation in capturing sample diversity. Nevertheless, semantic directional vectors from GANSpace yield a lower FID compared to randomly sampled vectors. This result motivates us to select GANSpace-based directions as the default configuration for the latent vector perturbations.",
1170
+ "bbox": [
1171
+ 496,
1172
+ 726,
1173
+ 890,
1174
+ 830
1175
+ ],
1176
+ "page_idx": 6
1177
+ },
1178
+ {
1179
+ "type": "text",
1180
+ "text": "Type of the importance score measurement. We conduct the ablation study to validate the effectiveness of our diversity-sensitive importance score. As shown in Tab. 4, the proposed diversity-sensitive importance score $(S^{\\sigma})$",
1181
+ "bbox": [
1182
+ 496,
1183
+ 839,
1184
+ 890,
1185
+ 900
1186
+ ],
1187
+ "page_idx": 6
1188
+ },
1189
+ {
1190
+ "type": "page_number",
1191
+ "text": "7908",
1192
+ "bbox": [
1193
+ 482,
1194
+ 944,
1195
+ 514,
1196
+ 955
1197
+ ],
1198
+ "page_idx": 6
1199
+ },
1200
+ {
1201
+ "type": "image",
1202
+ "img_path": "images/bf1708c39b424777d6431cd47b6dae3ea260fded8f7d480736adfd16b595eef9.jpg",
1203
+ "image_caption": [
1204
+ "Figure 4. Qualitative comparison with baselines on various datasets. For qualitative comparison, we visualize our generated samples and baselines in FFHQ-256, LSUN Church-256, and LSUN Horse-256 datasets. Each column corresponds to samples generated from the same noise vector $z$ . Averaged L1 distances between 10K samples from teacher and student are reported below each method. The lowest distortion of the proposed method validates that ours has enhanced capability to preserve the diversity in the image space."
1205
+ ],
1206
+ "image_footnote": [],
1207
+ "bbox": [
1208
+ 122,
1209
+ 88,
1210
+ 848,
1211
+ 270
1212
+ ],
1213
+ "page_idx": 7
1214
+ },
1215
+ {
1216
+ "type": "image",
1217
+ "img_path": "images/8897ea6c87dbe82606d5794e0d04a596125b36ed3096e29fe7e0b948dcbd1cc3.jpg",
1218
+ "image_caption": [
1219
+ "(a) Channel scatter plot for avg. and our diversity-sensitive scores $(S^{\\mu}, S^{\\sigma})$"
1220
+ ],
1221
+ "image_footnote": [],
1222
+ "bbox": [
1223
+ 91,
1224
+ 347,
1225
+ 434,
1226
+ 511
1227
+ ],
1228
+ "page_idx": 7
1229
+ },
1230
+ {
1231
+ "type": "image",
1232
+ "img_path": "images/ac2e08e1c38bbd89f10dd676278f28f56cd7a454b40a84dcb30c500c2e740c51.jpg",
1233
+ "image_caption": [
1234
+ "Figure 5. Specific examples for pruned channels (a) We provide a scatter plot of $S^{\\mu}$ and $S^{\\sigma}$ scores of all channels in $6^{\\text{th}}$ layer of teacher generator trained on FFHQ-256. Brown and green dots represent channels that are always pruned and not pruned, respectively. Blue and Red dots indicate channels that only survive in $S^{\\mu}$ and $S^{\\sigma}$ , respectively. (b) The $350^{\\text{th}}$ channel exhibits high sensitivity to the $14^{\\text{th}}$ direction from PCA. (c) The $14^{\\text{th}}$ direction corresponds to an age-related perturbation. The $S^{\\mu}$ score prunes the $350^{\\text{th}}$ channel, while the $S^{\\sigma}$ score preserves this channel, which demonstrates high sensitivity to age variation. This result shows that $S^{\\sigma}$ aims to retain semantic image changes compared to $S^{\\mu}$ ."
1235
+ ],
1236
+ "image_footnote": [],
1237
+ "bbox": [
1238
+ 81,
1239
+ 529,
1240
+ 468,
1241
+ 670
1242
+ ],
1243
+ "page_idx": 7
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "outperforms the average-based importance score $(S^{\\mu})$ in terms of FID. Specifically, the proposed diversity-sensitive method provides 6.35 FID, improving 0.36 points over the",
1248
+ "bbox": [
1249
+ 75,
1250
+ 854,
1251
+ 470,
1252
+ 902
1253
+ ],
1254
+ "page_idx": 7
1255
+ },
1256
+ {
1257
+ "type": "text",
1258
+ "text": "average-based score. Similar trends can be found in LSUN Horse dataset. These results confirm that suppressing the importance score derived from latent code itself is crucial.",
1259
+ "bbox": [
1260
+ 498,
1261
+ 339,
1262
+ 890,
1263
+ 385
1264
+ ],
1265
+ "page_idx": 7
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "Specific examples for pruned channels In Fig 5, we examine the score of each channel in the teacher generator using a scatter plot, with $S^{\\mu}$ on the x-axis and $S^{\\sigma}$ on the y-axis. As visualized in Fig. 5 (a), $S^{\\mu}$ and $S^{\\sigma}$ of most channels are linearly correlated. However, upon closer examination of outliers, a significant portion of these outliers possess low $S^{\\mu}$ values but high $S^{\\sigma}$ values. These outlier channels generally contribute to a smaller number of directions but are highly activated for particular directions. To illustrate this, we visualize the gradient norms for $350^{\\mathrm{th}}$ and $471^{\\mathrm{th}}$ channels in Fig. 5 (b). The $350^{\\mathrm{th}}$ channel exerts a significant influence on the $14^{\\mathrm{th}}$ direction. This particular direction corresponds to notable image differences, such as age-related perturbations, as shown in Fig. 5 (c). Thus, our $S^{\\sigma}$ can assign higher importance scores for these outliers.",
1270
+ "bbox": [
1271
+ 496,
1272
+ 393,
1273
+ 892,
1274
+ 619
1275
+ ],
1276
+ "page_idx": 7
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "5. Conclusion",
1281
+ "text_level": 1,
1282
+ "bbox": [
1283
+ 500,
1284
+ 631,
1285
+ 619,
1286
+ 647
1287
+ ],
1288
+ "page_idx": 7
1289
+ },
1290
+ {
1291
+ "type": "text",
1292
+ "text": "In this work, we address the issue of a compressed StyleGAN generator struggling to preserve the sample diversity of teacher, observed in previous GAN compression methods. To alleviate this problem, we propose a simple yet effective channel pruning method that calculates channel importance scores based on their sensitivity in the image space according to perturbations in latent space. Extensive experiments demonstrate that our pruning method significantly enhances sample diversity, validating its superior performance in terms of FID.",
1293
+ "bbox": [
1294
+ 496,
1295
+ 657,
1296
+ 890,
1297
+ 808
1298
+ ],
1299
+ "page_idx": 7
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "Acknowledgments",
1304
+ "text_level": 1,
1305
+ "bbox": [
1306
+ 500,
1307
+ 821,
1308
+ 658,
1309
+ 838
1310
+ ],
1311
+ "page_idx": 7
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "This work was supported in part by MSIT/IITP (No. 2022-0-00680, 2019-0-00421, 2020-0-01821, 2021-0-02068), and MSIT&KNPA/KIPoT (Police Lab 2.0, No. 210121M06).",
1316
+ "bbox": [
1317
+ 496,
1318
+ 839,
1319
+ 890,
1320
+ 900
1321
+ ],
1322
+ "page_idx": 7
1323
+ },
1324
+ {
1325
+ "type": "page_number",
1326
+ "text": "7909",
1327
+ "bbox": [
1328
+ 482,
1329
+ 944,
1330
+ 514,
1331
+ 955
1332
+ ],
1333
+ "page_idx": 7
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "References",
1338
+ "text_level": 1,
1339
+ "bbox": [
1340
+ 78,
1341
+ 89,
1342
+ 174,
1343
+ 106
1344
+ ],
1345
+ "page_idx": 8
1346
+ },
1347
+ {
1348
+ "type": "list",
1349
+ "sub_type": "ref_text",
1350
+ "list_items": [
1351
+ "[1] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In International Conference on Learning Representations, 2019. 1",
1352
+ "[2] Eric R Chan, Marco Monteiro, Petr Kellnhofer, Jiajun Wu, and Gordon Wetzstein. pi-gan: Periodic implicit generative adversarial networks for 3d-aware image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5799-5809, 2021. 1",
1353
+ "[3] Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 12873-12883, 2021. 1",
1354
+ "[4] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2014. 5",
1355
+ "[5] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014. 1",
1356
+ "[6] Jiatao Gu, Lingjie Liu, Peng Wang, and Christian Theobalt. StyleneRF: A style-based 3d aware generator for high-resolution image synthesis. In International Conference on Learning Representations, 2022. 1",
1357
+ "[7] Erik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, and Sylvain Paris. Ganspace: Discovering interpretable gan controls. Advances in Neural Information Processing Systems, 33:9841-9850, 2020. 1, 4, 7",
1358
+ "[8] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017. 5",
1359
+ "[9] Tie Hu, Mingbao Lin, Lizhou You, Fei Chao, and Rongrong Ji. Discriminator-cooperated feature map distillation for gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20351-20360, 2023. 2",
1360
+ "[10] Sangeek Hyun, Jaihyun Lew, Jiwoo Chung, Euiyeon Kim, and Jae-Pil Heo. Frequency-based motion representation for video generative adversarial networks. IEEE Transactions on Image Processing, 2023. 1",
1361
+ "[11] Minsoo Kang, Hyewon Yoo, Eunhee Kang, Sehwan Ki, Hyong Euk Lee, and Bohyung Han. Information-theoretic gan compression with variational energy-based model. Advances in Neural Information Processing Systems, 35:18241-18255, 2022. 2",
1362
+ "[12] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4401-4410, 2019. 1",
1363
+ "[13] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of"
1364
+ ],
1365
+ "bbox": [
1366
+ 78,
1367
+ 114,
1368
+ 470,
1369
+ 901
1370
+ ],
1371
+ "page_idx": 8
1372
+ },
1373
+ {
1374
+ "type": "list",
1375
+ "sub_type": "ref_text",
1376
+ "list_items": [
1377
+ "the IEEE/CVF conference on computer vision and pattern recognition, pages 8110-8119, 2020. 3, 5",
1378
+ "[14] Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Alias-free generative adversarial networks. Advances in Neural Information Processing Systems, 34:852-863, 2021. 1",
1379
+ "[15] Hyunsu Kim, Yunjey Choi, Junho Kim, Sungjoo Yoo, and Youngjung Uh. Exploiting spatial dimensions of latent in gan for real-time image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 852-861, 2021. 1",
1380
+ "[16] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. 5",
1381
+ "[17] Tuomas Kynkänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. Advances in Neural Information Processing Systems, 32, 2019. 5",
1382
+ "[18] Gayoung Lee, Hyunsu Kim, Junho Kim, Seonghyeon Kim, Jung-Woo Ha, and Yunjoy Choi. Generator knows what discriminator should learn in unconditional gans. In ECCV, 2022. 1",
1383
+ "[19] Min Kyu Lee, Seunghyun Lee, Sang Hyuk Lee, and Byung Cheol Song. Channel pruning via gradient of mutual information for light-weight convolutional neural networks. In 2020 IEEE International Conference on Image Processing (ICIP), pages 1751-1755. IEEE, 2020. 2",
1384
+ "[20] Shaojie Li, Jie Wu, Xuefeng Xiao, Fei Chao, Xudong Mao, and Rongrong Ji. Revisiting discriminator in gan compression: A generator-discriminator cooperative compression scheme. Advances in Neural Information Processing Systems, 34:28560-28572, 2021. 2",
1385
+ "[21] Shaojie Li, Mingbao Lin, Yan Wang, Chao Fei, Ling Shao, and Rongrong Ji. Learning efficient gans for image translation via differentiable masks and co-attention distillation. IEEE Transactions on Multimedia, 2022. 2",
1386
+ "[22] Congcong Liu and Huaming Wu. Channel pruning based on mean gradient for accelerating convolutional neural networks. Signal Processing, 156:84-91, 2019. 2",
1387
+ "[23] Jing Liu, Bohan Zhuang, Zhuangwei Zhuang, Yong Guo, Junzhou Huang, Jinhui Zhu, and Mingkui Tan. Discrimination-aware network pruning for deep model compression. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(8):4035-4051, 2021. 2",
1388
+ "[24] Yuchen Liu, Zhixin Shu, Yijun Li, Zhe Lin, Federico Peruzzi, and Sun-Yuan Kung. Content-aware gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12156-12166, 2021. 1, 2, 5, 6, 7",
1389
+ "[25] Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convolutional neural networks for resource efficient inference. arXiv preprint arXiv:1611.06440, 2016. 2",
1390
+ "[26] Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In Proceedings of the IEEE/CVF conference on"
1391
+ ],
1392
+ "bbox": [
1393
+ 501,
1394
+ 92,
1395
+ 890,
1396
+ 901
1397
+ ],
1398
+ "page_idx": 8
1399
+ },
1400
+ {
1401
+ "type": "page_number",
1402
+ "text": "7910",
1403
+ "bbox": [
1404
+ 482,
1405
+ 944,
1406
+ 516,
1407
+ 955
1408
+ ],
1409
+ "page_idx": 8
1410
+ },
1411
+ {
1412
+ "type": "list",
1413
+ "sub_type": "ref_text",
1414
+ "list_items": [
1415
+ "computer vision and pattern recognition, pages 2337-2346, 2019. 1",
1416
+ "[27] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Styleclip: Text-driven manipulation of stylegan imagery. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2085–2094, 2021. 1",
1417
+ "[28] Yuxi Ren, Jie Wu, Xuefeng Xiao, and Jianchao Yang. Online multi-granularity distillation for gan compression. In Proceedings of the IEEE/CVF international conference on computer vision, pages 6793-6803, 2021. 2",
1418
+ "[29] Elad Richardson, Yuval Alaluf, Or Patashnik, Yotam Nitzan, Yaniv Azar, Stav Shapiro, and Daniel Cohen-Or. Encoding in style: a stylegan encoder for image-to-image translation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2287–2296, 2021. 1",
1419
+ "[30] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684-10695, 2022. 1",
1420
+ "[31] Axel Sauer, Katja Schwarz, and Andreas Geiger. StyleganxI: Scaling stylegan to large diverse datasets. In ACM SIGGRAPH 2022 conference proceedings, pages 1-10, 2022. 1",
1421
+ "[32] Yichun Shi, Divyansh Aggarwal, and Anil K Jain. Lifting 2d stylegan for 3d-aware face generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6258-6266, 2021. 1",
1422
+ "[33] Sang-Heon Shim, Jiwoo Chung, and Jae-Pil Heo. Towards squeezing-averse virtual try-on via sequential deformation. arXiv preprint arXiv:2312.15861, 2023. 1",
1423
+ "[34] Xu Sun, Xuancheng Ren, Shuming Ma, and Houfeng Wang. meprop: Sparsified back propagation for accelerated deep learning with reduced overfitting. In International Conference on Machine Learning, pages 3299-3308. PMLR, 2017. 2",
1424
+ "[35] Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-in-one gan compression by a unified optimization framework. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part IV 16, pages 54-73. Springer, 2020. 6",
1425
+ "[36] Zhendong Wang, Huangjie Zheng, Pengcheng He, Weizhu Chen, and Mingyuan Zhou. Diffusion-gan: Training gans with diffusion. In The Eleventh International Conference on Learning Representations, 2022. 1",
1426
+ "[37] Guodong Xu, Yuenan Hou, Ziwei Liu, and Chen Change Loy. Mind the gap in distilling stylegans. In Computer Vision-ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXXIII, pages 423-439. Springer, 2022. 1, 2, 3, 4, 5, 6, 7",
1427
+ "[38] Linfeng Zhang, Xin Chen, Xiaobing Tu, Pengfei Wan, Ning Xu, and Kaisheng Ma. Wavelet knowledge distillation: Towards efficient image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12464-12474, 2022. 2",
1428
+ "[39] Jiapeng Zhu, Yujun Shen, Deli Zhao, and Bolei Zhou. Indomain gan inversion for real image editing. In Computer"
1429
+ ],
1430
+ "bbox": [
1431
+ 78,
1432
+ 92,
1433
+ 468,
1434
+ 900
1435
+ ],
1436
+ "page_idx": 9
1437
+ },
1438
+ {
1439
+ "type": "list",
1440
+ "sub_type": "ref_text",
1441
+ "list_items": [
1442
+ "Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XVII 16, pages 592-608. Springer, 2020. 1",
1443
+ "[40] Zhuangwei Zhuang, Mingkui Tan, Bohan Zhuang, Jing Liu, Yong Guo, Qingyao Wu, Junzhou Huang, and Jinhui Zhu. Discrimination-aware channel pruning for deep neural networks. Advances in neural information processing systems, 31, 2018. 2"
1444
+ ],
1445
+ "bbox": [
1446
+ 501,
1447
+ 92,
1448
+ 890,
1449
+ 203
1450
+ ],
1451
+ "page_idx": 9
1452
+ },
1453
+ {
1454
+ "type": "page_number",
1455
+ "text": "7911",
1456
+ "bbox": [
1457
+ 482,
1458
+ 944,
1459
+ 513,
1460
+ 955
1461
+ ],
1462
+ "page_idx": 9
1463
+ }
1464
+ ]
2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_model.json ADDED
@@ -0,0 +1,1991 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "header",
5
+ "bbox": [
6
+ 0.107,
7
+ 0.003,
8
+ 0.182,
9
+ 0.043
10
+ ],
11
+ "angle": 0,
12
+ "content": "CVF"
13
+ },
14
+ {
15
+ "type": "header",
16
+ "bbox": [
17
+ 0.237,
18
+ 0.001,
19
+ 0.812,
20
+ 0.047
21
+ ],
22
+ "angle": 0,
23
+ "content": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore."
24
+ },
25
+ {
26
+ "type": "title",
27
+ "bbox": [
28
+ 0.175,
29
+ 0.131,
30
+ 0.797,
31
+ 0.153
32
+ ],
33
+ "angle": 0,
34
+ "content": "Diversity-aware Channel Pruning for StyleGAN Compression"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.242,
40
+ 0.181,
41
+ 0.726,
42
+ 0.218
43
+ ],
44
+ "angle": 0,
45
+ "content": "Jiwoo Chung, Sangeek Hyun, Sang-Heon Shim, Jae-Pil Heo* Sungkyunkwan University"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.264,
51
+ 0.22,
52
+ 0.706,
53
+ 0.234
54
+ ],
55
+ "angle": 0,
56
+ "content": "{wldn0202, hsi1032, ekzmwww, jaepilheo}@g.skku.edu"
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.235,
62
+ 0.269,
63
+ 0.314,
64
+ 0.285
65
+ ],
66
+ "angle": 0,
67
+ "content": "Abstract"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.077,
73
+ 0.302,
74
+ 0.473,
75
+ 0.621
76
+ ],
77
+ "angle": 0,
78
+ "content": "StyleGAN has shown remarkable performance in unconditional image generation. However, its high computational cost poses a significant challenge for practical applications. Although recent efforts have been made to compress StyleGAN while preserving its performance, existing compressed models still lag behind the original model, particularly in terms of sample diversity. To overcome this, we propose a novel channel pruning method that leverages varying sensitivities of channels to latent vectors, which is a key factor in sample diversity. Specifically, by assessing channel importance based on their sensitivities to latent vector perturbations, our method enhances the diversity of samples in the compressed model. Since our method solely focuses on the channel pruning stage, it has complementary benefits with prior training schemes without additional training cost. Extensive experiments demonstrate that our method significantly enhances sample diversity across various datasets. Moreover, in terms of FID scores, our method not only surpasses state-of-the-art by a large margin but also achieves comparable scores with only half training iterations. Codes are available at github.com/jiwoogit/DCP-GAN."
79
+ },
80
+ {
81
+ "type": "title",
82
+ "bbox": [
83
+ 0.078,
84
+ 0.665,
85
+ 0.21,
86
+ 0.681
87
+ ],
88
+ "angle": 0,
89
+ "content": "1. Introduction"
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.076,
95
+ 0.692,
96
+ 0.471,
97
+ 0.875
98
+ ],
99
+ "angle": 0,
100
+ "content": "Thanks to recent progress in generative artificial intelligence, there have been numerous techniques in the research field of image generation [1, 3, 10, 15, 18, 26, 30, 31, 33, 36]. Especially for Generative Adversarial Networks (GANs) [5], StyleGAN [12-14] is one of the most successful approaches and leads to the development of diverse applications of GANs including image editing [7, 27, 39], super resolution [29], and even 3D generation [2, 6, 32]. However, due to their high computation costs, the deployment of these applications on the edge devices such as mobile phones and embedded systems is still challenging and remains a significant research problem. To"
101
+ },
102
+ {
103
+ "type": "text",
104
+ "bbox": [
105
+ 0.5,
106
+ 0.27,
107
+ 0.892,
108
+ 0.301
109
+ ],
110
+ "angle": 0,
111
+ "content": "handle this challenge, the research area of StyleGAN compression [24, 37] is recently introduced."
112
+ },
113
+ {
114
+ "type": "text",
115
+ "bbox": [
116
+ 0.498,
117
+ 0.304,
118
+ 0.893,
119
+ 0.44
120
+ ],
121
+ "angle": 0,
122
+ "content": "Most of prior StyleGAN compression techniques including CAGAN [24] and StyleKD [37] have two stages: (1) channel-pruning and (2) distillation stages. In detail, the channel-pruning stage initializes the compressed model (student) from the pre-trained network (teacher) by selectively removing channels. Subsequently, in the distillation stage, channel-pruned student model undergoes further training by adversarial objectives and knowledge distillation from the teacher model if needed."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.498,
128
+ 0.445,
129
+ 0.895,
130
+ 0.672
131
+ ],
132
+ "angle": 0,
133
+ "content": "The primary goal of the GAN compression is to maintain the diversity and fidelity of generated images from the teacher model. However, we observe that the compressed generator often struggles to preserve the diversity compared to teacher generator (i.e. low recall as reported in Table. 1). Specifically, in the case of StyleKD, although it retains the latent space and mapping network of the teacher model during the pruning stage, the synthesis network of student model hardly preserves the diversity (recall) in the latent-to-image rendering process. We hypothesize that such degradation in diversity is caused by improper initialization of the synthesis network (e.g. random initialization or inadequate pruning method). Hence, in this paper we focus on development of an appropriate channel pruning scheme for synthesis network toward preserving the diversity of teacher."
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.498,
139
+ 0.675,
140
+ 0.895,
141
+ 0.903
142
+ ],
143
+ "angle": 0,
144
+ "content": "The diversity of the synthesis network stems from the variations observed in images generated from different latent signals. Our hypothesis is that the channel-wise behavior differs for different latent vectors, implying that each channel contributes to the diversity of generated images differently. For instance, channels associated with common characteristics in the dataset (e.g., the number of eyes in a facial dataset) may not be sensitive to the latent vector and its impact on diversity, despite their significant contribution to the generated images. On the other hand, channels related to semantic attributes exhibit distinct behavior with respect to the latent vector. Furthermore, the common characteristics within a dataset can be highly recoverable during further training even if their relevant channels are pruned. Therefore, to achieve a compressed student model"
145
+ },
146
+ {
147
+ "type": "page_footnote",
148
+ "bbox": [
149
+ 0.102,
150
+ 0.888,
151
+ 0.232,
152
+ 0.901
153
+ ],
154
+ "angle": 0,
155
+ "content": "* Corresponding author"
156
+ },
157
+ {
158
+ "type": "page_number",
159
+ "bbox": [
160
+ 0.483,
161
+ 0.945,
162
+ 0.517,
163
+ 0.957
164
+ ],
165
+ "angle": 0,
166
+ "content": "7902"
167
+ }
168
+ ],
169
+ [
170
+ {
171
+ "type": "image_caption",
172
+ "bbox": [
173
+ 0.149,
174
+ 0.092,
175
+ 0.432,
176
+ 0.105
177
+ ],
178
+ "angle": 0,
179
+ "content": "Ch. #4 is more sensitive to the sample diversity"
180
+ },
181
+ {
182
+ "type": "image",
183
+ "bbox": [
184
+ 0.129,
185
+ 0.109,
186
+ 0.43,
187
+ 0.272
188
+ ],
189
+ "angle": 0,
190
+ "content": null
191
+ },
192
+ {
193
+ "type": "image_caption",
194
+ "bbox": [
195
+ 0.153,
196
+ 0.273,
197
+ 0.43,
198
+ 0.287
199
+ ],
200
+ "angle": 0,
201
+ "content": "(a) Intuitive illustration of our method"
202
+ },
203
+ {
204
+ "type": "image",
205
+ "bbox": [
206
+ 0.451,
207
+ 0.092,
208
+ 0.845,
209
+ 0.272
210
+ ],
211
+ "angle": 0,
212
+ "content": null
213
+ },
214
+ {
215
+ "type": "image_caption",
216
+ "bbox": [
217
+ 0.55,
218
+ 0.272,
219
+ 0.745,
220
+ 0.287
221
+ ],
222
+ "angle": 0,
223
+ "content": "(b) Our overall framework"
224
+ },
225
+ {
226
+ "type": "image_caption",
227
+ "bbox": [
228
+ 0.076,
229
+ 0.297,
230
+ 0.892,
231
+ 0.409
232
+ ],
233
+ "angle": 0,
234
+ "content": "Figure 1. (a) Intuitive illustration of our method. We compare four channels (Ch. #1, 2, 3, 4) by evaluating their responses when we pass the same latent vector \\( w \\) and its perturbed counterpart \\( (w + \\alpha d) \\). By investigating the contribution of each channel to resulting image difference, we determine the sensitivity of channels to the latent perturbation. In this example, Ch. #4 is highly sensitive to the perturbation, while Ch. #1, 2, 3 exhibit low sensitivity. Consequently, in terms of preserving sample diversity, Ch. #4 is suitable for retaining. (b) Our overall framework. We aim to assess the contribution of each channel to the sample diversity by measuring its sensitivity to latent vector perturbation. In detail, 1) we sample a directional vector for the perturbation, 2) we compute the image-level difference caused by the latent vector perturbation, and 3) we calculate channel-wise gradient magnitudes induced by the difference image. The channel-wise sensitivity to the sample diversity is determined by its gradient magnitudes. As a result, we can estimate the channel-wise sensitivity against diversity."
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.076,
240
+ 0.428,
241
+ 0.468,
242
+ 0.487
243
+ ],
244
+ "angle": 0,
245
+ "content": "that maintains a highly similar generative distribution to the teacher model with fewer channels, it is reasonable to prioritize the preservation of channels that are sensitive to the latent vector."
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.076,
251
+ 0.489,
252
+ 0.468,
253
+ 0.715
254
+ ],
255
+ "angle": 0,
256
+ "content": "In this paper, we present a channel-pruning method that considers the sensitivity of each channel to latent vector perturbations. Specifically, we investigate gradients induced by the image-level difference between two generated samples: one from the original latent vector and the other from its perturbated counterpart, as shown in Fig. 1. The intuition behind this is that a larger gradient magnitude for a generator's parameter indicates a higher sensitivity to the latent vector perturbation. Building on this primitive idea, we define a channel-wise importance score by aggregating the gradient magnitudes of parameters within the channel for diverse latent vectors and their perturbations. This score serves as a measure of each channel's contribution to the sample diversity. Based on these importance scores, we prune channels accordingly."
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.076,
262
+ 0.715,
263
+ 0.468,
264
+ 0.82
265
+ ],
266
+ "angle": 0,
267
+ "content": "We conduct extensive evaluations in various datasets including FFHQ, LSUN-Church, and LSUN-Horse. The experimental results demonstrate that our compressed model not only achieves state-of-the-art performance but also preserves significantly higher sample diversity. Moreover, our method reaches the previous state-of-the-art FID score with only half the number of training iterations."
268
+ },
269
+ {
270
+ "type": "title",
271
+ "bbox": [
272
+ 0.078,
273
+ 0.83,
274
+ 0.219,
275
+ 0.845
276
+ ],
277
+ "angle": 0,
278
+ "content": "2. Related Work"
279
+ },
280
+ {
281
+ "type": "text",
282
+ "bbox": [
283
+ 0.076,
284
+ 0.856,
285
+ 0.468,
286
+ 0.901
287
+ ],
288
+ "angle": 0,
289
+ "content": "One of the network compression techniques, channel pruning [19, 22, 23, 25, 34, 38, 40] proves highly effective in significantly reducing both memory usage and computational"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "bbox": [
294
+ 0.499,
295
+ 0.428,
296
+ 0.892,
297
+ 0.488
298
+ ],
299
+ "angle": 0,
300
+ "content": "expenses. For example, MeanGrad [22] aims to preserve model performance despite pruning in network parameters and evaluates the importance of convolution weights using the mean gradient criterion in classification tasks."
301
+ },
302
+ {
303
+ "type": "text",
304
+ "bbox": [
305
+ 0.498,
306
+ 0.491,
307
+ 0.892,
308
+ 0.718
309
+ ],
310
+ "angle": 0,
311
+ "content": "In generation tasks, various methods [9, 11, 20, 21, 28] have been also proposed to compress the generator network in both conditional and unconditional GANs to leverage its generative capabilities on devices with limited computational resources. One of the recent works, CAGAN [24] proposed a two-stage compression method for unconditional GANs. They first pruned the network parameters and then fine-tuned the pruned student model using knowledge distillation from the teacher model. Additionally, they proposed a content-aware pruning technique to preserve channels that are highly activated in salient regions of images. More recently, StyleKD [37] addressed the issue of output discrepancy between teacher and student models by maintaining the mapping network while randomly initializing the synthesis network with a reduced number of parameters."
312
+ },
313
+ {
314
+ "type": "text",
315
+ "bbox": [
316
+ 0.498,
317
+ 0.72,
318
+ 0.892,
319
+ 0.901
320
+ ],
321
+ "angle": 0,
322
+ "content": "Our approach revisits the pruning stage in compressing the generator of StyleGAN. Specifically, we introduce a novel algorithm for selecting channels to be pruned based on their contributions to the sample diversity measured by the sensitivity to latent vector perturbations. Additionally, our method requires no extra training costs during the pruning stage, as it operates without the need for additional supervision, such as a pre-trained semantic segmentation model, while CAGAN requires it. In StyleKD, despite discarding all parameters in the synthesis network and utilizing latent directions to mimic the teacher model in the distillation stage, we observe that they still face challenges"
323
+ },
324
+ {
325
+ "type": "page_number",
326
+ "bbox": [
327
+ 0.483,
328
+ 0.945,
329
+ 0.515,
330
+ 0.957
331
+ ],
332
+ "angle": 0,
333
+ "content": "7903"
334
+ }
335
+ ],
336
+ [
337
+ {
338
+ "type": "image",
339
+ "bbox": [
340
+ 0.101,
341
+ 0.092,
342
+ 0.449,
343
+ 0.256
344
+ ],
345
+ "angle": 0,
346
+ "content": null
347
+ },
348
+ {
349
+ "type": "image_caption",
350
+ "bbox": [
351
+ 0.076,
352
+ 0.261,
353
+ 0.473,
354
+ 0.388
355
+ ],
356
+ "angle": 0,
357
+ "content": "Figure 2. Overall compression framework. Overall compression framework consists of two stages: channel pruning and distillation. Channel-pruning stage initializes a compact student model by pruning channels of a larger teacher model. Specifically for the StyleGAN2 architecture, pruning process usually focuses on reducing channels in the synthesis network, while retraining the mapping network. Distillation stage further trains student model with several training objectives such as adversarial and distillation losses. In this paper, we focus on the channel-pruning stage."
358
+ },
359
+ {
360
+ "type": "text",
361
+ "bbox": [
362
+ 0.076,
363
+ 0.405,
364
+ 0.471,
365
+ 0.51
366
+ ],
367
+ "angle": 0,
368
+ "content": "in maintaining sample diversity. In contrast, our proposed method directly retains diversity-aware parameters in the synthesis network while discarding diversity-unrelated parameters in the pruning stage. Thus, our approach effectively inherits the generative capabilities of the teacher network and is twice as fast as the baselines thanks to our enhanced initialization."
369
+ },
370
+ {
371
+ "type": "title",
372
+ "bbox": [
373
+ 0.078,
374
+ 0.52,
375
+ 0.169,
376
+ 0.535
377
+ ],
378
+ "angle": 0,
379
+ "content": "3. Method"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "bbox": [
384
+ 0.076,
385
+ 0.545,
386
+ 0.47,
387
+ 0.668
388
+ ],
389
+ "angle": 0,
390
+ "content": "In this paper, we present a novel channel pruning strategy for compressing StyleGAN. We focus on preserving sample diversity by considering the relationship between the latent and image spaces of the GAN, which has been overlooked by previous methods in the pruning process. Before introducing details of our proposed method, we provide an overview of the typical pipeline of GAN compression. Subsequently, we describe our channel selection process."
391
+ },
392
+ {
393
+ "type": "title",
394
+ "bbox": [
395
+ 0.077,
396
+ 0.675,
397
+ 0.218,
398
+ 0.689
399
+ ],
400
+ "angle": 0,
401
+ "content": "3.1. Preliminaries"
402
+ },
403
+ {
404
+ "type": "text",
405
+ "bbox": [
406
+ 0.076,
407
+ 0.698,
408
+ 0.47,
409
+ 0.879
410
+ ],
411
+ "angle": 0,
412
+ "content": "Unconditional GAN Compression. As in Fig 2, GAN compression methods typically involve two networks: a teacher model (large and pretrained) and a student model (small). The goal is to train the student model with fewer parameters by distilling the knowledge from the pretrained teacher network, while maintaining performance as much as possible. This approach generally consists of two stages: (1) channel pruning and (2) distillation. In the channel pruning stage, the less important channels of the teacher model are pruned to initialize the student model. In the distillation stage, the student model is further trained using both adversarial learning and distillation losses from the teacher."
413
+ },
414
+ {
415
+ "type": "text",
416
+ "bbox": [
417
+ 0.077,
418
+ 0.886,
419
+ 0.469,
420
+ 0.902
421
+ ],
422
+ "angle": 0,
423
+ "content": "Channel-Pruning Stage. The channel-pruning stage in"
424
+ },
425
+ {
426
+ "type": "text",
427
+ "bbox": [
428
+ 0.498,
429
+ 0.092,
430
+ 0.895,
431
+ 0.501
432
+ ],
433
+ "angle": 0,
434
+ "content": "volves the estimation of channel importance within the generator network, followed by pruning of less important channels based on the determined importance scores. In the context of StyleGAN compression, since most of methods are built on the StyleGAN2 framework [13], we provide a detailed description of the pruning procedure. The generator architecture of StyleGAN2 consists of a mapping network, denoted as \\( f(\\cdot): \\mathcal{Z} \\mapsto \\mathcal{W} \\), and a synthesis network, denoted as \\( g(\\cdot): \\mathcal{W} \\mapsto \\mathcal{I} \\). Here, \\( \\mathcal{Z} \\in \\mathbb{R}^{512} \\) represents the input noise space following a standard normal distribution \\( \\mathcal{N}(0,1) \\). \\( \\mathcal{W} \\in \\mathbb{R}^{512} \\) corresponds to the intermediate latent space, and \\( \\mathcal{I} \\in \\mathbb{R}^{h \\times w \\times 3} \\) represents the image space. In the case of StyleGAN2, the focus of pruning is primarily on reducing the channels within the synthesis network while maintaining the mapping network. This strategy is guided by two reasons. Firstly, the mapping network accounts for only a small portion of the parameters and floating-point operations (FLOPs) compared to the synthesis network, making the benefits of pruning the mapping network negligible. Secondly, previous work [37] has observed that pruning the mapping network results in a significant drop in performance as it disrupts the consistency of output images between teacher and student models. Therefore, most of the existing research in this field has concentrated on developing techniques to prune the synthesis network. In alignment with this approach, our paper also focuses on pruning the synthesis network."
435
+ },
436
+ {
437
+ "type": "title",
438
+ "bbox": [
439
+ 0.5,
440
+ 0.52,
441
+ 0.651,
442
+ 0.537
443
+ ],
444
+ "angle": 0,
445
+ "content": "3.2. Our Approach"
446
+ },
447
+ {
448
+ "type": "text",
449
+ "bbox": [
450
+ 0.498,
451
+ 0.546,
452
+ 0.892,
453
+ 0.683
454
+ ],
455
+ "angle": 0,
456
+ "content": "As discussed earlier, we observed a notable degradation in sample diversity in the compressed student model compared to the teacher network, even though the mapping network remains uncompressed. We hypothesize that a critical factor in this decline is the lack of consideration for sample diversity in previous network initialization (or channel pruning). Consequently, our primary goal is to address this issue by introducing a novel channel-pruning method aimed at enhancing the diversity of generated images."
457
+ },
458
+ {
459
+ "type": "text",
460
+ "bbox": [
461
+ 0.498,
462
+ 0.686,
463
+ 0.893,
464
+ 0.852
465
+ ],
466
+ "angle": 0,
467
+ "content": "To accomplish this, we introduce the concept of latent perturbation-induced gradients. These gradients reflect the sensitivity of each channel to perturbations in the latent vector. Since latent perturbations produce the image-level differences of generated samples, the gradients induced by these perturbations enable us to measure the contribution of each channel to the sample diversity. Based on these gradients, we define diversity-sensitive importance scores for each channel using various latent vectors and their perturbations. Finally, we select channels to be pruned according to their importance scores."
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.498,
473
+ 0.856,
474
+ 0.894,
475
+ 0.903
476
+ ],
477
+ "angle": 0,
478
+ "content": "Note that, while we explain the method using a single convolution weight \\( W \\) for simplicity, in practice, our pruning method is applied to all weights in convolutional layers."
479
+ },
480
+ {
481
+ "type": "page_number",
482
+ "bbox": [
483
+ 0.483,
484
+ 0.945,
485
+ 0.516,
486
+ 0.957
487
+ ],
488
+ "angle": 0,
489
+ "content": "7904"
490
+ }
491
+ ],
492
+ [
493
+ {
494
+ "type": "title",
495
+ "bbox": [
496
+ 0.077,
497
+ 0.092,
498
+ 0.407,
499
+ 0.106
500
+ ],
501
+ "angle": 0,
502
+ "content": "3.2.1 Latent Perturbation-induced Gradients"
503
+ },
504
+ {
505
+ "type": "text",
506
+ "bbox": [
507
+ 0.076,
508
+ 0.115,
509
+ 0.468,
510
+ 0.234
511
+ ],
512
+ "angle": 0,
513
+ "content": "In our context, sample diversity refers to the variations observed among images generated from different latent vectors. To assess the contribution of each channel to sample diversity, we examine the gradients induced by the image-level difference between two generated samples from the latent vector and its perturbation. Specifically, we consider the latent representations in the intermediate latent space \\(\\mathcal{W}\\) inherited from the teacher model."
514
+ },
515
+ {
516
+ "type": "text",
517
+ "bbox": [
518
+ 0.076,
519
+ 0.236,
520
+ 0.468,
521
+ 0.476
522
+ ],
523
+ "angle": 0,
524
+ "content": "To produce the perturbed latent vectors, we first establish a set of independent directional vectors \\(D\\) in \\(\\mathcal{W}\\). The perturbation is accomplished by shifting the latent vector \\(w\\) along a directional vector \\(d\\) sampled from \\(D\\) as \\(w + \\alpha d\\), where \\(\\alpha\\) is a scalar constant. Among a variety of feasible strategies to define \\(D\\), we specifically employ principal components inspired by GANSpace [7]. We also use a probabilistic sampling for the selection of directional vectors, with the selection probabilities proportional to the variance ratios corresponding principal components, since directions represent different degrees of semantic variation in this scheme. Note that, we experimentally found that our algorithm also works effectively even with a set of randomly drawn directional vectors (i.e. \\((d_{\\mathrm{rand}} \\sim \\mathcal{N}(0,1))\\), and the performance gap between principal components and random vectors is not significant."
525
+ },
526
+ {
527
+ "type": "text",
528
+ "bbox": [
529
+ 0.077,
530
+ 0.478,
531
+ 0.468,
532
+ 0.537
533
+ ],
534
+ "angle": 0,
535
+ "content": "Given a latent vector \\( w \\) and a sampled directional vector \\( d \\), we compute the difference between two images \\( g(w) \\) and \\( g(w + \\alpha d) \\) generated by the teacher generator \\( g(\\cdot) \\) based on \\( L_{1} \\) distance as follows:"
536
+ },
537
+ {
538
+ "type": "equation",
539
+ "bbox": [
540
+ 0.104,
541
+ 0.546,
542
+ 0.468,
543
+ 0.565
544
+ ],
545
+ "angle": 0,
546
+ "content": "\\[\n\\mathcal {L} _ {\\text {d i f f}} = | g (w) - g (w + \\alpha d) |, \\quad g (\\cdot) \\in \\mathbb {R} ^ {h \\times w \\times 3}, \\tag {1}\n\\]"
547
+ },
548
+ {
549
+ "type": "text",
550
+ "bbox": [
551
+ 0.076,
552
+ 0.572,
553
+ 0.468,
554
+ 0.601
555
+ ],
556
+ "angle": 0,
557
+ "content": "where \\(|\\cdot|\\) denotes the absolute value, and \\(h\\) and \\(w\\) are the height and width of the images, respectively."
558
+ },
559
+ {
560
+ "type": "text",
561
+ "bbox": [
562
+ 0.076,
563
+ 0.602,
564
+ 0.468,
565
+ 0.678
566
+ ],
567
+ "angle": 0,
568
+ "content": "To investigate the sensitivity of learnable parameters \\(W\\) within a convolution layer of \\(g\\) to the latent vector perturbation, we calculate gradients of weights by back-propagating \\(\\mathcal{L}_{\\mathrm{diff}}\\). These gradients are referred to as latent perturbation-induced gradients \\(\\mathbf{G}_{\\mathrm{perturb}}\\), and expressed as follows:"
569
+ },
570
+ {
571
+ "type": "equation",
572
+ "bbox": [
573
+ 0.118,
574
+ 0.686,
575
+ 0.468,
576
+ 0.716
577
+ ],
578
+ "angle": 0,
579
+ "content": "\\[\n\\mathbf {G} _ {\\text {p e r t u r b}} = \\left| \\frac {\\partial \\mathcal {L} _ {\\text {d i f f}}}{\\partial W} \\right|, \\quad \\mathbf {G} _ {\\text {p e r t u r b}} \\in \\mathbb {R} ^ {c ^ {\\mathrm {i n}} \\times c ^ {\\mathrm {o u t}} \\times 3 \\times 3}, \\tag {2}\n\\]"
580
+ },
581
+ {
582
+ "type": "text",
583
+ "bbox": [
584
+ 0.076,
585
+ 0.723,
586
+ 0.468,
587
+ 0.753
588
+ ],
589
+ "angle": 0,
590
+ "content": "where \\( c^{\\mathrm{in}} \\) and \\( c^{\\mathrm{out}} \\) represent the number of input channels and output channels of \\( W \\), respectively."
591
+ },
592
+ {
593
+ "type": "text",
594
+ "bbox": [
595
+ 0.076,
596
+ 0.755,
597
+ 0.468,
598
+ 0.814
599
+ ],
600
+ "angle": 0,
601
+ "content": "Intuitively, if a parameter has a larger gradient magnitude, the parameter is considered more sensitive to the difference between samples produced by latent perturbation, thereby contributing more to the sample diversity."
602
+ },
603
+ {
604
+ "type": "title",
605
+ "bbox": [
606
+ 0.077,
607
+ 0.832,
608
+ 0.388,
609
+ 0.848
610
+ ],
611
+ "angle": 0,
612
+ "content": "3.2.2 Diversity-Sensitive Importance Score"
613
+ },
614
+ {
615
+ "type": "text",
616
+ "bbox": [
617
+ 0.076,
618
+ 0.856,
619
+ 0.468,
620
+ 0.901
621
+ ],
622
+ "angle": 0,
623
+ "content": "Based on the latent perturbation-induced gradients \\(\\mathbf{G}_{\\mathrm{perturb}}\\) we introduce channel-wise diversity-sensitive importance score for pruning."
624
+ },
625
+ {
626
+ "type": "text",
627
+ "bbox": [
628
+ 0.498,
629
+ 0.092,
630
+ 0.892,
631
+ 0.167
632
+ ],
633
+ "angle": 0,
634
+ "content": "One straightforward approach is to average the gradient magnitudes over the parameters associated with each channel for multiple latent vectors \\( w \\sim f(z) \\) and directions \\( d \\). We refer this scheme as the average-based importance score, expressed as follows:"
635
+ },
636
+ {
637
+ "type": "equation",
638
+ "bbox": [
639
+ 0.555,
640
+ 0.178,
641
+ 0.891,
642
+ 0.196
643
+ ],
644
+ "angle": 0,
645
+ "content": "\\[\nS ^ {\\mu} (c) = \\left\\| \\mathbb {E} _ {z} \\mathbb {E} _ {d} \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} \\right] _ {c} \\right\\| _ {1}, S ^ {\\mu} (c) \\in \\mathbb {R} ^ {1}, \\tag {3}\n\\]"
646
+ },
647
+ {
648
+ "type": "text",
649
+ "bbox": [
650
+ 0.498,
651
+ 0.206,
652
+ 0.892,
653
+ 0.266
654
+ ],
655
+ "angle": 0,
656
+ "content": "where \\(c \\in [0, c^{\\mathrm{in}})\\) denotes the channel index, \\([\\cdot]_c\\) represents \\(c^{\\mathrm{th}}\\) channel of \\([\\cdot]\\), and \\(\\mathbf{G}_{\\mathrm{perturb}}\\) denotes the gradient magnitude. In practice, we compute \\(\\mathbb{E}_d[\\cdot]\\) using \\(N\\) directional vectors sampled from \\(D\\)."
657
+ },
658
+ {
659
+ "type": "text",
660
+ "bbox": [
661
+ 0.498,
662
+ 0.268,
663
+ 0.892,
664
+ 0.342
665
+ ],
666
+ "angle": 0,
667
+ "content": "If a specific latent vector significantly influences \\(\\left[\\mathbf{G}_{\\text {perturb }}\\right]_{c}\\) regardless of its perturbations, the channel would receive a high importance score even if it is not actually sensitive to the perturbations. Consequently, the influence of such channels can greatly disturb desired channel selection."
668
+ },
669
+ {
670
+ "type": "text",
671
+ "bbox": [
672
+ 0.498,
673
+ 0.343,
674
+ 0.892,
675
+ 0.478
676
+ ],
677
+ "angle": 0,
678
+ "content": "To address this problem, we revise the average-based score by considering the individual effect of each latent vector. Specifically, for each latent vector, we compute the average gradient magnitudes over \\(N\\) perturbations and utilize them to penalize the induced gradients for the learnable parameters. These average gradient magnitudes for a latent vector are referred to as the gradient offset. As a result, our diversity-sensitive importance score for \\(c^{\\mathrm{th}}\\) channel, \\(S^{\\sigma}(c)\\), is defined as follows:"
679
+ },
680
+ {
681
+ "type": "equation",
682
+ "bbox": [
683
+ 0.5,
684
+ 0.489,
685
+ 0.891,
686
+ 0.52
687
+ ],
688
+ "angle": 0,
689
+ "content": "\\[\nS ^ {\\sigma} (c) = \\| \\mathbb {E} _ {z} \\mathbb {E} _ {d} \\left[ \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} - \\mathbb {E} _ {d} \\left[ \\mathbf {G} _ {\\text {p e r t u r b}} \\right] \\right] ^ {2} \\right] _ {c} \\| _ {1}, S ^ {\\sigma} (c) \\in \\mathbb {R} ^ {1}, \\tag {4}\n\\]"
690
+ },
691
+ {
692
+ "type": "text",
693
+ "bbox": [
694
+ 0.498,
695
+ 0.521,
696
+ 0.891,
697
+ 0.596
698
+ ],
699
+ "angle": 0,
700
+ "content": "where \\(\\mathbb{E}_d[\\mathbf{G}_{\\mathrm{perturb}}]\\) represents the gradient offset of the original latent vector \\(w\\), and \\([\\cdot]^2\\) denotes element-wise squaring. Once the diversity-sensitive importance scores are computed, we prune channels with low scores according to the pruning ratio \\(p_r\\)."
701
+ },
702
+ {
703
+ "type": "text",
704
+ "bbox": [
705
+ 0.498,
706
+ 0.597,
707
+ 0.892,
708
+ 0.732
709
+ ],
710
+ "angle": 0,
711
+ "content": "Aside from the calibration by the gradient offset, \\( S^{\\sigma}(c) \\) is equivalent to the variance of \\( \\mathbf{G}_{\\mathrm{perturb}} \\) over perturbations. This approach further reduces the impact of small noisy values and grants greater importance to channels that are highly sensitive to a particular direction in the latent space. Such directions can be highly related to specific semantic attributes. Intuitively, it is crucial to retain channels that are highly sensitive to directional vectors in the latent space relevant to certain semantic attributes, such as glasses or age."
712
+ },
713
+ {
714
+ "type": "title",
715
+ "bbox": [
716
+ 0.499,
717
+ 0.742,
718
+ 0.852,
719
+ 0.759
720
+ ],
721
+ "angle": 0,
722
+ "content": "3.3. Objective Functions for Distillation Stage"
723
+ },
724
+ {
725
+ "type": "text",
726
+ "bbox": [
727
+ 0.498,
728
+ 0.765,
729
+ 0.892,
730
+ 0.871
731
+ ],
732
+ "angle": 0,
733
+ "content": "After establishing the initial student model through a channel-pruned teacher generator, we fine-tune the student model using adversarial and knowledge distillation objectives. As our primary focus in this paper lies on the pruning algorithm, we simply follow the training scheme of StyleKD [37] incorporating four objectives: \\(\\mathcal{L}_{\\mathrm{GAN}}, \\mathcal{L}_{\\mathrm{rgb}}, \\mathcal{L}_{\\mathrm{lpips}}\\), and \\(\\mathcal{L}_{\\mathrm{LD}}\\)."
734
+ },
735
+ {
736
+ "type": "text",
737
+ "bbox": [
738
+ 0.499,
739
+ 0.871,
740
+ 0.892,
741
+ 0.902
742
+ ],
743
+ "angle": 0,
744
+ "content": "\\(\\mathcal{L}_{\\mathrm{GAN}}\\) denotes the minimax objective for adversarial training. Meanwhile, \\(\\mathcal{L}_{\\mathrm{rgb}}\\) and \\(\\mathcal{L}_{\\mathrm{lpips}}\\) strive to replicate"
745
+ },
746
+ {
747
+ "type": "page_number",
748
+ "bbox": [
749
+ 0.483,
750
+ 0.945,
751
+ 0.515,
752
+ 0.957
753
+ ],
754
+ "angle": 0,
755
+ "content": "7905"
756
+ }
757
+ ],
758
+ [
759
+ {
760
+ "type": "text",
761
+ "bbox": [
762
+ 0.076,
763
+ 0.092,
764
+ 0.473,
765
+ 0.184
766
+ ],
767
+ "angle": 0,
768
+ "content": "teacher-generated images in image and feature spaces, respectively. \\(\\mathcal{L}_{\\mathrm{LD}}\\), a latent-direction-based relation distillation loss, aims to align the student model's feature similarity matrix to the teachers. More details on these objectives can be found in StyleKD [37]. As a result, our final training objective function, \\(\\mathcal{L}_{\\mathrm{final}}\\), is given as follows:"
769
+ },
770
+ {
771
+ "type": "equation",
772
+ "bbox": [
773
+ 0.085,
774
+ 0.194,
775
+ 0.47,
776
+ 0.213
777
+ ],
778
+ "angle": 0,
779
+ "content": "\\[\n\\mathcal {L} _ {\\text {f i n a l}} = \\lambda_ {\\mathrm {G A N}} \\mathcal {L} _ {\\mathrm {G A N}} + \\lambda_ {\\mathrm {r g b}} \\mathcal {L} _ {\\mathrm {r g b}} + \\lambda_ {\\mathrm {l p i p s}} \\mathcal {L} _ {\\mathrm {l p i p s}} + \\lambda_ {\\mathrm {L D}} \\mathcal {L} _ {\\mathrm {L D}}, \\tag {5}\n\\]"
780
+ },
781
+ {
782
+ "type": "text",
783
+ "bbox": [
784
+ 0.077,
785
+ 0.222,
786
+ 0.423,
787
+ 0.238
788
+ ],
789
+ "angle": 0,
790
+ "content": "where \\(\\lambda_{\\mathrm{GAN}}, \\lambda_{\\mathrm{rgb}}, \\lambda_{\\mathrm{lpips}}\\), and \\(\\lambda_{\\mathrm{LD}}\\) balance loss terms."
791
+ },
792
+ {
793
+ "type": "title",
794
+ "bbox": [
795
+ 0.077,
796
+ 0.25,
797
+ 0.202,
798
+ 0.267
799
+ ],
800
+ "angle": 0,
801
+ "content": "4. Experiment"
802
+ },
803
+ {
804
+ "type": "title",
805
+ "bbox": [
806
+ 0.077,
807
+ 0.275,
808
+ 0.268,
809
+ 0.291
810
+ ],
811
+ "angle": 0,
812
+ "content": "4.1. Experimental Setup"
813
+ },
814
+ {
815
+ "type": "text",
816
+ "bbox": [
817
+ 0.076,
818
+ 0.298,
819
+ 0.473,
820
+ 0.526
821
+ ],
822
+ "angle": 0,
823
+ "content": "Baselines. Our method is compared with recent StyleGAN compression methods, CAGAN [24] and StyleKD [37]. For a fair comparison, we further train CAGAN with the advanced objective function \\((\\mathcal{L}_{\\mathrm{LD}})\\) introduced in StyleKD, which we denote as CAGAN*. Since our method employs StyleKD's training scheme, comparing CAGAN*, StyleKD, and our method is equitable. Since the pretrained StyleKD models are not available, we retrain StyleKD using the official repository for unreported metrics and datasets, referring to this retrained model as StyleKD*. For training details of CAGAN, we apply a facial mask as a content mask when training CAGAN* on the FFHQ dataset. However, on other datasets where content definition is challenging, we use a uniform mask, assigning a value of one to all pixels."
824
+ },
825
+ {
826
+ "type": "text",
827
+ "bbox": [
828
+ 0.076,
829
+ 0.531,
830
+ 0.47,
831
+ 0.698
832
+ ],
833
+ "angle": 0,
834
+ "content": "Evaluation Metrics. We validate our pruning method using various quantitative metrics. In addition to the most popular Fréchet Inception Distance (FID) [8], we also measure Precision and Recall (P&R) [17] to assess the quality and diversity of generated samples separately. For FID calculation, we use 50K real and 50K fake samples for each dataset. For P&R, we use all real samples in the dataset and 50K fake samples for FFHQ and LSUN Church. For the LSUN Horse dataset, we use 200K real samples due to the high computational cost associated with complete 1M real samples."
835
+ },
836
+ {
837
+ "type": "text",
838
+ "bbox": [
839
+ 0.076,
840
+ 0.698,
841
+ 0.47,
842
+ 0.82
843
+ ],
844
+ "angle": 0,
845
+ "content": "To evaluate the projection capability of the compressed model, we employ the projection method of StyleGAN2, which projects real images into the \\(\\mathcal{W}\\) space using noise regularization and reconstruction losses such as MSE and LPIPS, over 1,000 iterations. We use the Helen-Set55 dataset for this evaluation, following the practice of CAGAN. We report the averaged MSE and LPIPS for all pairs of real and projected images in the dataset."
846
+ },
847
+ {
848
+ "type": "text",
849
+ "bbox": [
850
+ 0.076,
851
+ 0.826,
852
+ 0.471,
853
+ 0.903
854
+ ],
855
+ "angle": 0,
856
+ "content": "Implementation Details. We follow the implementation details provided in StyleKD [37]. For instance, all experiments are conducted with a pruning ratio of 0.7 (i.e. \\( p_r = 0.7 \\)) and trained for 450K iterations. Also, in the default setting, we set the hyperparameters \\( N \\) and \\( \\alpha \\) as"
857
+ },
858
+ {
859
+ "type": "image",
860
+ "bbox": [
861
+ 0.508,
862
+ 0.091,
863
+ 0.677,
864
+ 0.187
865
+ ],
866
+ "angle": 0,
867
+ "content": null
868
+ },
869
+ {
870
+ "type": "image_caption",
871
+ "bbox": [
872
+ 0.513,
873
+ 0.187,
874
+ 0.676,
875
+ 0.196
876
+ ],
877
+ "angle": 0,
878
+ "content": "(a) Precision-Recall Curve in FFHQ-256"
879
+ },
880
+ {
881
+ "type": "image",
882
+ "bbox": [
883
+ 0.684,
884
+ 0.091,
885
+ 0.887,
886
+ 0.186
887
+ ],
888
+ "angle": 0,
889
+ "content": null
890
+ },
891
+ {
892
+ "type": "image_caption",
893
+ "bbox": [
894
+ 0.732,
895
+ 0.186,
896
+ 0.845,
897
+ 0.196
898
+ ],
899
+ "angle": 0,
900
+ "content": "(b) FID graph in FFHQ-256"
901
+ },
902
+ {
903
+ "type": "image_caption",
904
+ "bbox": [
905
+ 0.498,
906
+ 0.207,
907
+ 0.895,
908
+ 0.318
909
+ ],
910
+ "angle": 0,
911
+ "content": "Figure 3. (a) Precision-Recall Curve. By adjusting the truncation trick parameter \\(\\psi\\) within the range [0.5, 1.0] with step size 0.1, we visualize the Precision-Recall curve of the proposed method and baselines. We validate that ours surpasses baseline methods with every range of precision and recall. (b) FID w.r.t Training Iterations. We visualize FID curve during training and validate that the proposed method achieves the previous state-of-the-art FIDs only with \\(2\\times\\) fewer iterations."
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.498,
917
+ 0.333,
918
+ 0.895,
919
+ 0.456
920
+ ],
921
+ "angle": 0,
922
+ "content": "10 and 5, except for LSUN Horse dataset where we set \\(\\alpha\\) as 10. We employ non-saturating loss [4] with \\(R_{1}\\) gradient penalty [13] and update a model through Adam optimizer [16] with \\(\\beta_{1} = 0.0\\) and \\(\\beta_{2} = 0.99\\). The learning rate is set to 2e-3 for both the generator and discriminator. We use a batch size of 16 and consistently employ 4 GPUs for training. Lastly, the loss balancing constants are set to \\(\\lambda_{\\mathrm{GAN}} = 1\\), \\(\\lambda_{\\mathrm{rgb}} = 3\\), \\(\\lambda_{\\mathrm{lpips}} = 3\\), and \\(\\lambda_{\\mathrm{LD}} = 30\\)."
923
+ },
924
+ {
925
+ "type": "title",
926
+ "bbox": [
927
+ 0.499,
928
+ 0.467,
929
+ 0.695,
930
+ 0.483
931
+ ],
932
+ "angle": 0,
933
+ "content": "4.2. Quantitative Results"
934
+ },
935
+ {
936
+ "type": "text",
937
+ "bbox": [
938
+ 0.498,
939
+ 0.491,
940
+ 0.892,
941
+ 0.657
942
+ ],
943
+ "angle": 0,
944
+ "content": "Image Generation Performance. We validate the effectiveness of the proposed method through various generation performance metrics including FID and P&R in diverse datasets such as FFHQ, LSUN Church, and LSUN Horse. In terms of FID, the proposed method consistently outperforms state-of-the-art baselines on all tested datasets, as reported in Tab. 1. For example, our model achieves a FID score of 5.80 in FFHQ-1024, improving 1.8 and 1.39 points over CAGAN and StyleKD, respectively. These consistent FID score improvements demonstrate the superiority of the distribution-matching capability of the proposed method."
945
+ },
946
+ {
947
+ "type": "text",
948
+ "bbox": [
949
+ 0.498,
950
+ 0.658,
951
+ 0.892,
952
+ 0.764
953
+ ],
954
+ "angle": 0,
955
+ "content": "For the recall metric directly related to the sample diversity, our method achieves the highest scores in all tested datasets. For instance, our method significantly outperforms CAGAN in terms of recall score in FFHQ-1024 (0.277 vs 0.378), as well as obtains a value of 0.372 in LSUN Church, which is almost comparable with the teacher (0.016 points gap)."
956
+ },
957
+ {
958
+ "type": "text",
959
+ "bbox": [
960
+ 0.498,
961
+ 0.765,
962
+ 0.895,
963
+ 0.903
964
+ ],
965
+ "angle": 0,
966
+ "content": "For the precision metric, the proposed method shows a slightly lower precision compared to the baseline, due to the precision-recall trade-off. Since the recall can be leveraged to improve precision through a truncation trick, we additionally conduct experiments by adjusting \\(\\psi\\) to evaluate precision at the highest recall achieved by baselines. In this setting, we observe that our method also surpasses baselines in terms of precision at the comparable recall. For example, by adopting a truncation parameter of \\(\\psi = 0.95\\) in"
967
+ },
968
+ {
969
+ "type": "page_number",
970
+ "bbox": [
971
+ 0.483,
972
+ 0.945,
973
+ 0.517,
974
+ 0.957
975
+ ],
976
+ "angle": 0,
977
+ "content": "7906"
978
+ }
979
+ ],
980
+ [
981
+ {
982
+ "type": "text",
983
+ "bbox": [
984
+ 0.076,
985
+ 0.089,
986
+ 0.895,
987
+ 0.203
988
+ ],
989
+ "angle": 0,
990
+ "content": "Table 1. Quantitative results on StyleGAN2. Comparison with GAN compression baselines in FFHQ, LSUN Church, and LSUN Horse datasets. 'Param.' refers to the number of parameters in a generator and 'FLOPs' denotes the number of floating-point operations. 'P' and 'R' represent precision and recall metrics, respectively. 'MSE' and 'LPIPS' indicate the distance between pairs of real and inverted samples based on the StyleGAN2 projection method. 'CAGAN**' denotes CAGAN trained with the objective of StyleKD. 'StyleKD*' refers to a retrained model using the official code due to the unavailability of published pretrained models. 'ψ' denotes the parameter for the truncation trick, which adjusts the trade-off between sample diversity and fidelity. We adjust 'ψ' to evaluate precision at the highest recall achieved by baselines. We have omitted 'Param.' and 'FLOPs' in the LSUN Church and LSUN Horse datasets, as they are the same as FFHQ-256. Reported FIDs without ours, CAGAN*, and StyleKD* are taken from StyleKD."
991
+ },
992
+ {
993
+ "type": "table",
994
+ "bbox": [
995
+ 0.182,
996
+ 0.208,
997
+ 0.79,
998
+ 0.584
999
+ ],
1000
+ "angle": 0,
1001
+ "content": "<table><tr><td>Dataset</td><td>Method</td><td>Param.</td><td>FLOPs</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>MSE↓</td><td>LPIPS↓</td><td></td></tr><tr><td rowspan=\"9\">FFHQ-256</td><td>Teacher</td><td>30.0M</td><td>45.1B</td><td>4.5</td><td>0.603</td><td>0.482</td><td>0.0292</td><td>0.2065</td><td></td></tr><tr><td>Scratch</td><td>5.6M</td><td>4.1B</td><td>9.79</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>5.0B</td><td>12.4</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>5.6M</td><td>4.1B</td><td>7.9</td><td>0.703</td><td>0.295</td><td>0.0316</td><td>0.2141</td><td></td></tr><tr><td>CAGAN* [24]</td><td>5.6M</td><td>4.1B</td><td>7.41</td><td>0.713</td><td>0.309</td><td>0.0301</td><td>0.2113</td><td></td></tr><tr><td>StyleKD [37]</td><td>5.6M</td><td>4.1B</td><td>7.25</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>StyleKD* [37]</td><td>5.6M</td><td>4.1B</td><td>7.47</td><td>0.710</td><td>0.306</td><td>0.0307</td><td>0.2101</td><td></td></tr><tr><td>Ours</td><td>5.6M</td><td>4.1B</td><td>6.35</td><td>0.706</td><td>0.339</td><td>0.0293</td><td>0.2082</td><td></td></tr><tr><td>Ours (ψ = 0.95)</td><td>5.6M</td><td>4.1B</td><td>6.86</td><td>0.732</td><td>0.312</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td rowspan=\"5\">FFHQ-1024</td><td>Teacher</td><td>49.1M</td><td>74.3B</td><td>2.7</td><td>0.688</td><td>0.492</td><td>0.0275</td><td>0.1916</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>23.9B</td><td>10.1</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>9.2M</td><td>7.0B</td><td>7.6</td><td>0.721</td><td>0.277</td><td>0.0358</td><td>0.2099</td><td></td></tr><tr><td>StyleKD [37]</td><td>9.2M</td><td>7.0B</td><td>7.19</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>Ours</td><td>9.2M</td><td>7.0B</td><td>5.80</td><td>0.676</td><td>0.378</td><td>0.0328</td><td>0.2082</td><td></td></tr><tr><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td></tr><tr><td rowspan=\"5\">LSUN Church</td><td>Teacher</td><td>3.97</td><td>0.599</td><td>0.388</td><td></td><td>Teacher</td><td>4.50</td><td>0.541</td><td>0.442</td></tr><tr><td>CAGAN* [24]</td><td>5.09</td><td>0.598</td><td>0.352</td><td></td><td rowspan=\"2\">LSUN Horse</td><td>5.73</td><td>0.589</td><td>0.335</td></tr><tr><td>StyleKD* [37]</td><td>6.10</td><td>0.611</td><td>0.302</td><td></td><td>5.69</td><td>0.589</td><td>0.325</td></tr><tr><td>Ours</td><td>4.87</td><td>0.584</td><td>0.372</td><td></td><td>Ours</td><td>5.11</td><td>0.581</td><td>0.356</td></tr><tr><td>Ours (ψ = 0.97)</td><td>5.07</td><td>0.610</td><td>0.349</td><td></td><td>Ours (ψ = 0.95)</td><td>5.22</td><td>0.610</td><td>0.337</td></tr></table>"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "bbox": [
1006
+ 0.076,
1007
+ 0.598,
1008
+ 0.472,
1009
+ 0.825
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "FFHQ-256 and LSUN Horse datasets, our method provides higher precision, recall, and even FID scores compared to the baselines. In the case of LSUN Church, with a truncation parameter of \\(\\psi = 0.97\\), we achieve comparable precision to StyleKD while providing 0.047 points higher recall score. Similarly, compared to CAGAN, ours has comparable scores in the aspect of recall but achieves higher precision with a reasonable margin. Note that, without the truncation trick, the proposed method substantially outperforms the baseline models in terms of diversity. For further validation, we additionally report the precision-recall curve in the FFHQ-256 dataset by adjusting the parameter \\(\\psi\\) in Fig. 3-(a) within a range of [0.5, 1.0]. As shown, ours provides higher precision and recall compared to the baselines across the ranges."
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "bbox": [
1017
+ 0.076,
1018
+ 0.825,
1019
+ 0.472,
1020
+ 0.903
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "To assess the applicability of our method with other network architectures, we conduct evaluations with StyleGAN3. Thus, we reproduce scores of baselines at the same training settings as ours and focus on relative improvements in this experiment. Specifically, we employ official codes of"
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "bbox": [
1028
+ 0.498,
1029
+ 0.598,
1030
+ 0.895,
1031
+ 0.706
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "StyleGAN3 and train the generator until the discriminator see 10M of real images. As in Tab 2, our model achieves a FID score of 8.40 and improves 5.85 and 1.17 points over the CAGAN and StyleKD, respectively. In terms of the recall metric, our method also surpasses the baselines. A comparative analysis of metric scores between baselines and our approach further highlights our model's superiority."
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "bbox": [
1039
+ 0.498,
1040
+ 0.72,
1041
+ 0.897,
1042
+ 0.903
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "Training Converged Speed Ability. Moreover, we visualize the FID curve with respect to the training iteration of our method in Fig. 3-(b). We observe that ours reach the best FID scores of previous state-of-the-art models at much fewer iterations. For instance, ours achieve comparable FID scores only with \\(2.5 \\times\\) and \\(2 \\times\\) fewer iterations compared to the CAGAN and StyleKD, respectively. We believe that our enhanced initialization of the synthesis network through our channel pruning strategy significantly improves the generation performance during the early stages of training, and allows the model for further improvement throughout the entire training process."
1046
+ },
1047
+ {
1048
+ "type": "page_number",
1049
+ "bbox": [
1050
+ 0.483,
1051
+ 0.945,
1052
+ 0.516,
1053
+ 0.957
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "7907"
1057
+ }
1058
+ ],
1059
+ [
1060
+ {
1061
+ "type": "table_caption",
1062
+ "bbox": [
1063
+ 0.077,
1064
+ 0.089,
1065
+ 0.47,
1066
+ 0.117
1067
+ ],
1068
+ "angle": 0,
1069
+ "content": "Table 2. Quantitative results on StyleGAN3. Comparison with recent baselines [24, 37] in FFHQ dataset."
1070
+ },
1071
+ {
1072
+ "type": "table",
1073
+ "bbox": [
1074
+ 0.141,
1075
+ 0.122,
1076
+ 0.406,
1077
+ 0.218
1078
+ ],
1079
+ "angle": 0,
1080
+ "content": "<table><tr><td>Metric</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Teacher</td><td>4.76</td><td>0.647</td><td>0.484</td></tr><tr><td>CAGAN [24]</td><td>14.25</td><td>0.636</td><td>0.272</td></tr><tr><td>StyleKD [37]</td><td>9.57</td><td>0.647</td><td>0.376</td></tr><tr><td>Ours</td><td>8.40</td><td>0.653</td><td>0.397</td></tr></table>"
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "bbox": [
1085
+ 0.076,
1086
+ 0.226,
1087
+ 0.471,
1088
+ 0.392
1089
+ ],
1090
+ "angle": 0,
1091
+ "content": "Image Projection Ability. For evaluation of the image projection ability, we perform experiments on FFHQ dataset using MSE and LPIPS metrics. For both FFHQ-256 and FFHQ-1024 datasets, we validate that the proposed method surpasses baselines in terms of both MSE and LPIPS metrics. Interestingly, we observe that ours reports MSE of 0.0293 which is a comparable score with the teacher model, 0.0292, in FFHQ-256 dataset. We believe that our pruning method brings a significant improvement in the generator's ability to capture the diverse characteristics of real images, and it allows precise projection of them."
1092
+ },
1093
+ {
1094
+ "type": "title",
1095
+ "bbox": [
1096
+ 0.077,
1097
+ 0.401,
1098
+ 0.262,
1099
+ 0.417
1100
+ ],
1101
+ "angle": 0,
1102
+ "content": "4.3. Qualitative Results"
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "bbox": [
1107
+ 0.076,
1108
+ 0.424,
1109
+ 0.47,
1110
+ 0.681
1111
+ ],
1112
+ "angle": 0,
1113
+ "content": "Generated samples from same noise input. For qualitative comparison, we show the samples generated by different compressed models from the same noise vector \\( z \\) in Fig. 4. As noted in StyleKD [37], it would be desirable for a compressed network to reconstruct the sample generated by the teacher network. However, we observed that the baseline methods struggle to produce a sample inheriting the characteristics of images from the teacher network. For instance, CAGAN* and StyleKD* generate face images with different shapes of eyes in the third and fourth column of Fig. 4. Similarly, in the first column of LSUN Horse, horses generated by baselines hardly maintain the brown and white color patterns available in the teacher's image, while the proposed method successfully synthesizes those patterns. These results show that the channel pruning with the consideration of the latent space and its effect on images leads to better diversity preservation of generated images."
1114
+ },
1115
+ {
1116
+ "type": "title",
1117
+ "bbox": [
1118
+ 0.077,
1119
+ 0.689,
1120
+ 0.345,
1121
+ 0.705
1122
+ ],
1123
+ "angle": 0,
1124
+ "content": "4.4. Ablation Studies and Analysis"
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "bbox": [
1129
+ 0.076,
1130
+ 0.713,
1131
+ 0.469,
1132
+ 0.773
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "We further discuss the influence of the proposed components and other hyperparameters by comprehensive ablation studies. For this purpose, we train the ablated models with different configurations in FFHQ-256."
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "bbox": [
1140
+ 0.076,
1141
+ 0.781,
1142
+ 0.469,
1143
+ 0.901
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "Number of directions and strength for perturbations. We investigate the number of directions \\((N)\\) and the strength of perturbation \\((\\alpha)\\). Due to the computational costs, we report the mean and standard deviations of the best FID scores up to 50K iterations over 3 times trials. As reported in Tab. 3-(a), our method achieves the lowest FID score when \\(N = 10\\). Additionally, we explore the impact of the strength of perturbation \\((\\alpha)\\). While \\(\\alpha = 5\\) yields the"
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "bbox": [
1151
+ 0.498,
1152
+ 0.083,
1153
+ 0.892,
1154
+ 0.221
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": "Table 3. Ablation on the perturbation parameters. In this table, we report mean and standard deviation of \\(\\mathrm{FID}_{\\mathrm{early}}\\) measured from the models training until 50K iterations 3 times. We denote \\(N\\) and \\(\\alpha\\) as the number of perturbations for each original latent vector and the strength parameter of perturbations, respectively. Ablation on the direction sampling. For comparing semantic and random directional vectors, we utilize the GANSpace (PCA) method to obtain the semantic directional vector. The FID score with semantic directional vectors is slightly better than that of the randomly sampled vectors."
1158
+ },
1159
+ {
1160
+ "type": "table",
1161
+ "bbox": [
1162
+ 0.543,
1163
+ 0.233,
1164
+ 0.852,
1165
+ 0.307
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": "<table><tr><td>N</td><td>FIDearly ↓</td><td>α</td><td>FIDearly ↓</td></tr><tr><td>N = 5</td><td>12.46 ± 0.2</td><td>α = 1</td><td>13.50 ± 0.3</td></tr><tr><td>N = 10</td><td>12.08 ± 0.3</td><td>α = 5</td><td>12.08 ± 0.3</td></tr><tr><td>N = 20</td><td>12.47 ± 0.2</td><td>α = 10</td><td>12.09 ± 0.2</td></tr></table>"
1169
+ },
1170
+ {
1171
+ "type": "table_caption",
1172
+ "bbox": [
1173
+ 0.581,
1174
+ 0.308,
1175
+ 0.811,
1176
+ 0.319
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "(a) Ablation on the perturbation parameters"
1180
+ },
1181
+ {
1182
+ "type": "table",
1183
+ "bbox": [
1184
+ 0.574,
1185
+ 0.323,
1186
+ 0.813,
1187
+ 0.384
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "<table><tr><td>Direction</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Random</td><td>6.50</td><td>0.692</td><td>0.342</td></tr><tr><td>PCA</td><td>6.35</td><td>0.706</td><td>0.339</td></tr></table>"
1191
+ },
1192
+ {
1193
+ "type": "table_caption",
1194
+ "bbox": [
1195
+ 0.58,
1196
+ 0.385,
1197
+ 0.805,
1198
+ 0.396
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "(b) Ablation on the perturbation directions"
1202
+ },
1203
+ {
1204
+ "type": "table_caption",
1205
+ "bbox": [
1206
+ 0.498,
1207
+ 0.403,
1208
+ 0.892,
1209
+ 0.457
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "Table 4. Ablation on the type of the importance scores. Comparison of FID score between the average-based importance score \\((S^{\\mu})\\) and the proposed diversity-sensitive importance score \\((S^{\\sigma})\\) in FFHQ-256 and LSUN Horse datasets."
1213
+ },
1214
+ {
1215
+ "type": "table",
1216
+ "bbox": [
1217
+ 0.518,
1218
+ 0.463,
1219
+ 0.868,
1220
+ 0.524
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "<table><tr><td>Dataset</td><td>StyleKD*</td><td>Ours (w/ Sμ)</td><td>Ours (w/ Sσ)</td></tr><tr><td>FFHQ-256</td><td>7.47</td><td>6.71</td><td>6.35</td></tr><tr><td>LSUN Horse</td><td>5.69</td><td>5.36</td><td>5.11</td></tr></table>"
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "bbox": [
1228
+ 0.498,
1229
+ 0.537,
1230
+ 0.891,
1231
+ 0.567
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "best FID in this scenario, we consider both \\(\\alpha = 5,10\\) as viable options."
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "bbox": [
1239
+ 0.498,
1240
+ 0.575,
1241
+ 0.892,
1242
+ 0.726
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "Latent perturbations by random vs. PCA-based directions. We conduct the ablation study on directional vectors for latent perturbations. Specifically, we compare the performance of directional vectors derived from GANSpace [7] and vectors sampled from a random normal distribution \\((d_{\\mathrm{rand}} \\sim \\mathcal{N}(0,1))\\). Tab. 3-(b) shows a slight degradation in performance when using random directional vectors for the perturbation. However, this degradation is negligible, and our pruned model still outperforms compared to baselines [24, 37] in terms of FID metric."
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "bbox": [
1250
+ 0.498,
1251
+ 0.727,
1252
+ 0.892,
1253
+ 0.832
1254
+ ],
1255
+ "angle": 0,
1256
+ "content": "Thus, this finding highlights the significance of perturbation itself regardless of the type (either random or PCA) of perturbation in capturing sample diversity. Nevertheless, semantic directional vectors from GANSpace yield a lower FID compared to randomly sampled vectors. This result motivates us to select GANSpace-based directions as the default configuration for the latent vector perturbations."
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "bbox": [
1261
+ 0.498,
1262
+ 0.84,
1263
+ 0.892,
1264
+ 0.901
1265
+ ],
1266
+ "angle": 0,
1267
+ "content": "Type of the importance score measurement. We conduct the ablation study to validate the effectiveness of our diversity-sensitive importance score. As shown in Tab. 4, the proposed diversity-sensitive importance score \\((S^{\\sigma})\\)"
1268
+ },
1269
+ {
1270
+ "type": "page_number",
1271
+ "bbox": [
1272
+ 0.483,
1273
+ 0.945,
1274
+ 0.516,
1275
+ 0.957
1276
+ ],
1277
+ "angle": 0,
1278
+ "content": "7908"
1279
+ }
1280
+ ],
1281
+ [
1282
+ {
1283
+ "type": "image",
1284
+ "bbox": [
1285
+ 0.123,
1286
+ 0.089,
1287
+ 0.849,
1288
+ 0.271
1289
+ ],
1290
+ "angle": 0,
1291
+ "content": null
1292
+ },
1293
+ {
1294
+ "type": "image_caption",
1295
+ "bbox": [
1296
+ 0.076,
1297
+ 0.276,
1298
+ 0.895,
1299
+ 0.334
1300
+ ],
1301
+ "angle": 0,
1302
+ "content": "Figure 4. Qualitative comparison with baselines on various datasets. For qualitative comparison, we visualize our generated samples and baselines in FFHQ-256, LSUN Church-256, and LSUN Horse-256 datasets. Each column corresponds to samples generated from the same noise vector \\( z \\). Averaged L1 distances between 10K samples from teacher and student are reported below each method. The lowest distortion of the proposed method validates that ours has enhanced capability to preserve the diversity in the image space."
1303
+ },
1304
+ {
1305
+ "type": "image",
1306
+ "bbox": [
1307
+ 0.093,
1308
+ 0.348,
1309
+ 0.436,
1310
+ 0.512
1311
+ ],
1312
+ "angle": 0,
1313
+ "content": null
1314
+ },
1315
+ {
1316
+ "type": "image_caption",
1317
+ "bbox": [
1318
+ 0.079,
1319
+ 0.514,
1320
+ 0.472,
1321
+ 0.527
1322
+ ],
1323
+ "angle": 0,
1324
+ "content": "(a) Channel scatter plot for avg. and our diversity-sensitive scores \\((S^{\\mu}, S^{\\sigma})\\)"
1325
+ },
1326
+ {
1327
+ "type": "image",
1328
+ "bbox": [
1329
+ 0.083,
1330
+ 0.53,
1331
+ 0.469,
1332
+ 0.671
1333
+ ],
1334
+ "angle": 0,
1335
+ "content": null
1336
+ },
1337
+ {
1338
+ "type": "image_caption",
1339
+ "bbox": [
1340
+ 0.076,
1341
+ 0.678,
1342
+ 0.473,
1343
+ 0.834
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "Figure 5. Specific examples for pruned channels (a) We provide a scatter plot of \\( S^{\\mu} \\) and \\( S^{\\sigma} \\) scores of all channels in \\( 6^{\\text{th}} \\) layer of teacher generator trained on FFHQ-256. Brown and green dots represent channels that are always pruned and not pruned, respectively. Blue and Red dots indicate channels that only survive in \\( S^{\\mu} \\) and \\( S^{\\sigma} \\), respectively. (b) The \\( 350^{\\text{th}} \\) channel exhibits high sensitivity to the \\( 14^{\\text{th}} \\) direction from PCA. (c) The \\( 14^{\\text{th}} \\) direction corresponds to an age-related perturbation. The \\( S^{\\mu} \\) score prunes the \\( 350^{\\text{th}} \\) channel, while the \\( S^{\\sigma} \\) score preserves this channel, which demonstrates high sensitivity to age variation. This result shows that \\( S^{\\sigma} \\) aims to retain semantic image changes compared to \\( S^{\\mu} \\)."
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.076,
1352
+ 0.856,
1353
+ 0.472,
1354
+ 0.903
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "outperforms the average-based importance score \\((S^{\\mu})\\) in terms of FID. Specifically, the proposed diversity-sensitive method provides 6.35 FID, improving 0.36 points over the"
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "bbox": [
1362
+ 0.499,
1363
+ 0.34,
1364
+ 0.892,
1365
+ 0.386
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "average-based score. Similar trends can be found in LSUN Horse dataset. These results confirm that suppressing the importance score derived from latent code itself is crucial."
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "bbox": [
1373
+ 0.498,
1374
+ 0.394,
1375
+ 0.893,
1376
+ 0.621
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": "Specific examples for pruned channels In Fig 5, we examine the score of each channel in the teacher generator using a scatter plot, with \\( S^{\\mu} \\) on the x-axis and \\( S^{\\sigma} \\) on the y-axis. As visualized in Fig. 5 (a), \\( S^{\\mu} \\) and \\( S^{\\sigma} \\) of most channels are linearly correlated. However, upon closer examination of outliers, a significant portion of these outliers possess low \\( S^{\\mu} \\) values but high \\( S^{\\sigma} \\) values. These outlier channels generally contribute to a smaller number of directions but are highly activated for particular directions. To illustrate this, we visualize the gradient norms for \\( 350^{\\mathrm{th}} \\) and \\( 471^{\\mathrm{th}} \\) channels in Fig. 5 (b). The \\( 350^{\\mathrm{th}} \\) channel exerts a significant influence on the \\( 14^{\\mathrm{th}} \\) direction. This particular direction corresponds to notable image differences, such as age-related perturbations, as shown in Fig. 5 (c). Thus, our \\( S^{\\sigma} \\) can assign higher importance scores for these outliers."
1380
+ },
1381
+ {
1382
+ "type": "title",
1383
+ "bbox": [
1384
+ 0.5,
1385
+ 0.632,
1386
+ 0.62,
1387
+ 0.648
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "5. Conclusion"
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "bbox": [
1395
+ 0.498,
1396
+ 0.658,
1397
+ 0.892,
1398
+ 0.809
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "In this work, we address the issue of a compressed StyleGAN generator struggling to preserve the sample diversity of teacher, observed in previous GAN compression methods. To alleviate this problem, we propose a simple yet effective channel pruning method that calculates channel importance scores based on their sensitivity in the image space according to perturbations in latent space. Extensive experiments demonstrate that our pruning method significantly enhances sample diversity, validating its superior performance in terms of FID."
1402
+ },
1403
+ {
1404
+ "type": "title",
1405
+ "bbox": [
1406
+ 0.5,
1407
+ 0.822,
1408
+ 0.66,
1409
+ 0.839
1410
+ ],
1411
+ "angle": 0,
1412
+ "content": "Acknowledgments"
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "bbox": [
1417
+ 0.498,
1418
+ 0.84,
1419
+ 0.892,
1420
+ 0.901
1421
+ ],
1422
+ "angle": 0,
1423
+ "content": "This work was supported in part by MSIT/IITP (No. 2022-0-00680, 2019-0-00421, 2020-0-01821, 2021-0-02068), and MSIT&KNPA/KIPoT (Police Lab 2.0, No. 210121M06)."
1424
+ },
1425
+ {
1426
+ "type": "page_number",
1427
+ "bbox": [
1428
+ 0.483,
1429
+ 0.945,
1430
+ 0.516,
1431
+ 0.957
1432
+ ],
1433
+ "angle": 0,
1434
+ "content": "7909"
1435
+ }
1436
+ ],
1437
+ [
1438
+ {
1439
+ "type": "title",
1440
+ "bbox": [
1441
+ 0.079,
1442
+ 0.09,
1443
+ 0.176,
1444
+ 0.107
1445
+ ],
1446
+ "angle": 0,
1447
+ "content": "References"
1448
+ },
1449
+ {
1450
+ "type": "ref_text",
1451
+ "bbox": [
1452
+ 0.087,
1453
+ 0.115,
1454
+ 0.47,
1455
+ 0.17
1456
+ ],
1457
+ "angle": 0,
1458
+ "content": "[1] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In International Conference on Learning Representations, 2019. 1"
1459
+ },
1460
+ {
1461
+ "type": "ref_text",
1462
+ "bbox": [
1463
+ 0.087,
1464
+ 0.171,
1465
+ 0.472,
1466
+ 0.242
1467
+ ],
1468
+ "angle": 0,
1469
+ "content": "[2] Eric R Chan, Marco Monteiro, Petr Kellnhofer, Jiajun Wu, and Gordon Wetzstein. pi-gan: Periodic implicit generative adversarial networks for 3d-aware image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5799-5809, 2021. 1"
1470
+ },
1471
+ {
1472
+ "type": "ref_text",
1473
+ "bbox": [
1474
+ 0.087,
1475
+ 0.242,
1476
+ 0.471,
1477
+ 0.298
1478
+ ],
1479
+ "angle": 0,
1480
+ "content": "[3] Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 12873-12883, 2021. 1"
1481
+ },
1482
+ {
1483
+ "type": "ref_text",
1484
+ "bbox": [
1485
+ 0.087,
1486
+ 0.298,
1487
+ 0.471,
1488
+ 0.367
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "[4] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2014. 5"
1492
+ },
1493
+ {
1494
+ "type": "ref_text",
1495
+ "bbox": [
1496
+ 0.087,
1497
+ 0.368,
1498
+ 0.471,
1499
+ 0.424
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "[5] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014. 1"
1503
+ },
1504
+ {
1505
+ "type": "ref_text",
1506
+ "bbox": [
1507
+ 0.087,
1508
+ 0.424,
1509
+ 0.471,
1510
+ 0.48
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "[6] Jiatao Gu, Lingjie Liu, Peng Wang, and Christian Theobalt. StyleneRF: A style-based 3d aware generator for high-resolution image synthesis. In International Conference on Learning Representations, 2022. 1"
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "bbox": [
1518
+ 0.087,
1519
+ 0.481,
1520
+ 0.471,
1521
+ 0.535
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "[7] Erik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, and Sylvain Paris. Ganspace: Discovering interpretable gan controls. Advances in Neural Information Processing Systems, 33:9841-9850, 2020. 1, 4, 7"
1525
+ },
1526
+ {
1527
+ "type": "ref_text",
1528
+ "bbox": [
1529
+ 0.087,
1530
+ 0.536,
1531
+ 0.471,
1532
+ 0.605
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "[8] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017. 5"
1536
+ },
1537
+ {
1538
+ "type": "ref_text",
1539
+ "bbox": [
1540
+ 0.087,
1541
+ 0.606,
1542
+ 0.471,
1543
+ 0.675
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": "[9] Tie Hu, Mingbao Lin, Lizhou You, Fei Chao, and Rongrong Ji. Discriminator-cooperated feature map distillation for gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20351-20360, 2023. 2"
1547
+ },
1548
+ {
1549
+ "type": "ref_text",
1550
+ "bbox": [
1551
+ 0.079,
1552
+ 0.677,
1553
+ 0.471,
1554
+ 0.733
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "[10] Sangeek Hyun, Jaihyun Lew, Jiwoo Chung, Euiyeon Kim, and Jae-Pil Heo. Frequency-based motion representation for video generative adversarial networks. IEEE Transactions on Image Processing, 2023. 1"
1558
+ },
1559
+ {
1560
+ "type": "ref_text",
1561
+ "bbox": [
1562
+ 0.079,
1563
+ 0.733,
1564
+ 0.471,
1565
+ 0.801
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "[11] Minsoo Kang, Hyewon Yoo, Eunhee Kang, Sehwan Ki, Hyong Euk Lee, and Bohyung Han. Information-theoretic gan compression with variational energy-based model. Advances in Neural Information Processing Systems, 35:18241-18255, 2022. 2"
1569
+ },
1570
+ {
1571
+ "type": "ref_text",
1572
+ "bbox": [
1573
+ 0.079,
1574
+ 0.802,
1575
+ 0.471,
1576
+ 0.859
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": "[12] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4401-4410, 2019. 1"
1580
+ },
1581
+ {
1582
+ "type": "ref_text",
1583
+ "bbox": [
1584
+ 0.079,
1585
+ 0.86,
1586
+ 0.472,
1587
+ 0.902
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "[13] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of"
1591
+ },
1592
+ {
1593
+ "type": "list",
1594
+ "bbox": [
1595
+ 0.079,
1596
+ 0.115,
1597
+ 0.472,
1598
+ 0.902
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": null
1602
+ },
1603
+ {
1604
+ "type": "ref_text",
1605
+ "bbox": [
1606
+ 0.533,
1607
+ 0.093,
1608
+ 0.892,
1609
+ 0.121
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": "the IEEE/CVF conference on computer vision and pattern recognition, pages 8110-8119, 2020. 3, 5"
1613
+ },
1614
+ {
1615
+ "type": "ref_text",
1616
+ "bbox": [
1617
+ 0.503,
1618
+ 0.122,
1619
+ 0.892,
1620
+ 0.178
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "[14] Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Alias-free generative adversarial networks. Advances in Neural Information Processing Systems, 34:852-863, 2021. 1"
1624
+ },
1625
+ {
1626
+ "type": "ref_text",
1627
+ "bbox": [
1628
+ 0.503,
1629
+ 0.179,
1630
+ 0.892,
1631
+ 0.248
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "[15] Hyunsu Kim, Yunjey Choi, Junho Kim, Sungjoo Yoo, and Youngjung Uh. Exploiting spatial dimensions of latent in gan for real-time image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 852-861, 2021. 1"
1635
+ },
1636
+ {
1637
+ "type": "ref_text",
1638
+ "bbox": [
1639
+ 0.503,
1640
+ 0.249,
1641
+ 0.892,
1642
+ 0.305
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "[16] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. 5"
1646
+ },
1647
+ {
1648
+ "type": "ref_text",
1649
+ "bbox": [
1650
+ 0.503,
1651
+ 0.306,
1652
+ 0.892,
1653
+ 0.362
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "[17] Tuomas Kynkänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. Advances in Neural Information Processing Systems, 32, 2019. 5"
1657
+ },
1658
+ {
1659
+ "type": "ref_text",
1660
+ "bbox": [
1661
+ 0.503,
1662
+ 0.363,
1663
+ 0.892,
1664
+ 0.417
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "[18] Gayoung Lee, Hyunsu Kim, Junho Kim, Seonghyeon Kim, Jung-Woo Ha, and Yunjoy Choi. Generator knows what discriminator should learn in unconditional gans. In ECCV, 2022. 1"
1668
+ },
1669
+ {
1670
+ "type": "ref_text",
1671
+ "bbox": [
1672
+ 0.503,
1673
+ 0.419,
1674
+ 0.892,
1675
+ 0.49
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "[19] Min Kyu Lee, Seunghyun Lee, Sang Hyuk Lee, and Byung Cheol Song. Channel pruning via gradient of mutual information for light-weight convolutional neural networks. In 2020 IEEE International Conference on Image Processing (ICIP), pages 1751-1755. IEEE, 2020. 2"
1679
+ },
1680
+ {
1681
+ "type": "ref_text",
1682
+ "bbox": [
1683
+ 0.503,
1684
+ 0.491,
1685
+ 0.892,
1686
+ 0.56
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "[20] Shaojie Li, Jie Wu, Xuefeng Xiao, Fei Chao, Xudong Mao, and Rongrong Ji. Revisiting discriminator in gan compression: A generator-discriminator cooperative compression scheme. Advances in Neural Information Processing Systems, 34:28560-28572, 2021. 2"
1690
+ },
1691
+ {
1692
+ "type": "ref_text",
1693
+ "bbox": [
1694
+ 0.503,
1695
+ 0.561,
1696
+ 0.892,
1697
+ 0.617
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "[21] Shaojie Li, Mingbao Lin, Yan Wang, Chao Fei, Ling Shao, and Rongrong Ji. Learning efficient gans for image translation via differentiable masks and co-attention distillation. IEEE Transactions on Multimedia, 2022. 2"
1701
+ },
1702
+ {
1703
+ "type": "ref_text",
1704
+ "bbox": [
1705
+ 0.503,
1706
+ 0.618,
1707
+ 0.892,
1708
+ 0.659
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "[22] Congcong Liu and Huaming Wu. Channel pruning based on mean gradient for accelerating convolutional neural networks. Signal Processing, 156:84-91, 2019. 2"
1712
+ },
1713
+ {
1714
+ "type": "ref_text",
1715
+ "bbox": [
1716
+ 0.503,
1717
+ 0.66,
1718
+ 0.892,
1719
+ 0.731
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "[23] Jing Liu, Bohan Zhuang, Zhuangwei Zhuang, Yong Guo, Junzhou Huang, Jinhui Zhu, and Mingkui Tan. Discrimination-aware network pruning for deep model compression. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(8):4035-4051, 2021. 2"
1723
+ },
1724
+ {
1725
+ "type": "ref_text",
1726
+ "bbox": [
1727
+ 0.503,
1728
+ 0.732,
1729
+ 0.892,
1730
+ 0.8
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": "[24] Yuchen Liu, Zhixin Shu, Yijun Li, Zhe Lin, Federico Peruzzi, and Sun-Yuan Kung. Content-aware gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12156-12166, 2021. 1, 2, 5, 6, 7"
1734
+ },
1735
+ {
1736
+ "type": "ref_text",
1737
+ "bbox": [
1738
+ 0.503,
1739
+ 0.802,
1740
+ 0.892,
1741
+ 0.857
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": "[25] Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convolutional neural networks for resource efficient inference. arXiv preprint arXiv:1611.06440, 2016. 2"
1745
+ },
1746
+ {
1747
+ "type": "ref_text",
1748
+ "bbox": [
1749
+ 0.503,
1750
+ 0.858,
1751
+ 0.892,
1752
+ 0.902
1753
+ ],
1754
+ "angle": 0,
1755
+ "content": "[26] Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In Proceedings of the IEEE/CVF conference on"
1756
+ },
1757
+ {
1758
+ "type": "list",
1759
+ "bbox": [
1760
+ 0.503,
1761
+ 0.093,
1762
+ 0.892,
1763
+ 0.902
1764
+ ],
1765
+ "angle": 0,
1766
+ "content": null
1767
+ },
1768
+ {
1769
+ "type": "page_number",
1770
+ "bbox": [
1771
+ 0.483,
1772
+ 0.945,
1773
+ 0.517,
1774
+ 0.957
1775
+ ],
1776
+ "angle": 0,
1777
+ "content": "7910"
1778
+ }
1779
+ ],
1780
+ [
1781
+ {
1782
+ "type": "ref_text",
1783
+ "bbox": [
1784
+ 0.11,
1785
+ 0.093,
1786
+ 0.468,
1787
+ 0.119
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "computer vision and pattern recognition, pages 2337-2346, 2019. 1"
1791
+ },
1792
+ {
1793
+ "type": "ref_text",
1794
+ "bbox": [
1795
+ 0.08,
1796
+ 0.121,
1797
+ 0.47,
1798
+ 0.188
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "[27] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Styleclip: Text-driven manipulation of stylegan imagery. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2085–2094, 2021. 1"
1802
+ },
1803
+ {
1804
+ "type": "ref_text",
1805
+ "bbox": [
1806
+ 0.08,
1807
+ 0.19,
1808
+ 0.468,
1809
+ 0.245
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "[28] Yuxi Ren, Jie Wu, Xuefeng Xiao, and Jianchao Yang. Online multi-granularity distillation for gan compression. In Proceedings of the IEEE/CVF international conference on computer vision, pages 6793-6803, 2021. 2"
1813
+ },
1814
+ {
1815
+ "type": "ref_text",
1816
+ "bbox": [
1817
+ 0.08,
1818
+ 0.247,
1819
+ 0.468,
1820
+ 0.315
1821
+ ],
1822
+ "angle": 0,
1823
+ "content": "[29] Elad Richardson, Yuval Alaluf, Or Patashnik, Yotam Nitzan, Yaniv Azar, Stav Shapiro, and Daniel Cohen-Or. Encoding in style: a stylegan encoder for image-to-image translation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2287–2296, 2021. 1"
1824
+ },
1825
+ {
1826
+ "type": "ref_text",
1827
+ "bbox": [
1828
+ 0.08,
1829
+ 0.316,
1830
+ 0.468,
1831
+ 0.384
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "[30] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684-10695, 2022. 1"
1835
+ },
1836
+ {
1837
+ "type": "ref_text",
1838
+ "bbox": [
1839
+ 0.08,
1840
+ 0.385,
1841
+ 0.468,
1842
+ 0.427
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "[31] Axel Sauer, Katja Schwarz, and Andreas Geiger. StyleganxI: Scaling stylegan to large diverse datasets. In ACM SIGGRAPH 2022 conference proceedings, pages 1-10, 2022. 1"
1846
+ },
1847
+ {
1848
+ "type": "ref_text",
1849
+ "bbox": [
1850
+ 0.08,
1851
+ 0.428,
1852
+ 0.468,
1853
+ 0.482
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "[32] Yichun Shi, Divyansh Aggarwal, and Anil K Jain. Lifting 2d stylegan for 3d-aware face generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6258-6266, 2021. 1"
1857
+ },
1858
+ {
1859
+ "type": "ref_text",
1860
+ "bbox": [
1861
+ 0.08,
1862
+ 0.484,
1863
+ 0.468,
1864
+ 0.524
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": "[33] Sang-Heon Shim, Jiwoo Chung, and Jae-Pil Heo. Towards squeezing-averse virtual try-on via sequential deformation. arXiv preprint arXiv:2312.15861, 2023. 1"
1868
+ },
1869
+ {
1870
+ "type": "ref_text",
1871
+ "bbox": [
1872
+ 0.08,
1873
+ 0.525,
1874
+ 0.468,
1875
+ 0.593
1876
+ ],
1877
+ "angle": 0,
1878
+ "content": "[34] Xu Sun, Xuancheng Ren, Shuming Ma, and Houfeng Wang. meprop: Sparsified back propagation for accelerated deep learning with reduced overfitting. In International Conference on Machine Learning, pages 3299-3308. PMLR, 2017. 2"
1879
+ },
1880
+ {
1881
+ "type": "ref_text",
1882
+ "bbox": [
1883
+ 0.08,
1884
+ 0.595,
1885
+ 0.468,
1886
+ 0.677
1887
+ ],
1888
+ "angle": 0,
1889
+ "content": "[35] Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-in-one gan compression by a unified optimization framework. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part IV 16, pages 54-73. Springer, 2020. 6"
1890
+ },
1891
+ {
1892
+ "type": "ref_text",
1893
+ "bbox": [
1894
+ 0.08,
1895
+ 0.679,
1896
+ 0.468,
1897
+ 0.733
1898
+ ],
1899
+ "angle": 0,
1900
+ "content": "[36] Zhendong Wang, Huangjie Zheng, Pengcheng He, Weizhu Chen, and Mingyuan Zhou. Diffusion-gan: Training gans with diffusion. In The Eleventh International Conference on Learning Representations, 2022. 1"
1901
+ },
1902
+ {
1903
+ "type": "ref_text",
1904
+ "bbox": [
1905
+ 0.08,
1906
+ 0.734,
1907
+ 0.468,
1908
+ 0.803
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": "[37] Guodong Xu, Yuenan Hou, Ziwei Liu, and Chen Change Loy. Mind the gap in distilling stylegans. In Computer Vision-ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXXIII, pages 423-439. Springer, 2022. 1, 2, 3, 4, 5, 6, 7"
1912
+ },
1913
+ {
1914
+ "type": "ref_text",
1915
+ "bbox": [
1916
+ 0.08,
1917
+ 0.804,
1918
+ 0.468,
1919
+ 0.872
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "[38] Linfeng Zhang, Xin Chen, Xiaobing Tu, Pengfei Wan, Ning Xu, and Kaisheng Ma. Wavelet knowledge distillation: Towards efficient image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12464-12474, 2022. 2"
1923
+ },
1924
+ {
1925
+ "type": "ref_text",
1926
+ "bbox": [
1927
+ 0.08,
1928
+ 0.873,
1929
+ 0.468,
1930
+ 0.901
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": "[39] Jiapeng Zhu, Yujun Shen, Deli Zhao, and Bolei Zhou. Indomain gan inversion for real image editing. In Computer"
1934
+ },
1935
+ {
1936
+ "type": "list",
1937
+ "bbox": [
1938
+ 0.08,
1939
+ 0.093,
1940
+ 0.47,
1941
+ 0.901
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": null
1945
+ },
1946
+ {
1947
+ "type": "ref_text",
1948
+ "bbox": [
1949
+ 0.535,
1950
+ 0.093,
1951
+ 0.892,
1952
+ 0.134
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XVII 16, pages 592-608. Springer, 2020. 1"
1956
+ },
1957
+ {
1958
+ "type": "ref_text",
1959
+ "bbox": [
1960
+ 0.503,
1961
+ 0.136,
1962
+ 0.892,
1963
+ 0.204
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "[40] Zhuangwei Zhuang, Mingkui Tan, Bohan Zhuang, Jing Liu, Yong Guo, Qingyao Wu, Junzhou Huang, and Jinhui Zhu. Discrimination-aware channel pruning for deep neural networks. Advances in neural information processing systems, 31, 2018. 2"
1967
+ },
1968
+ {
1969
+ "type": "list",
1970
+ "bbox": [
1971
+ 0.503,
1972
+ 0.093,
1973
+ 0.892,
1974
+ 0.204
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": null
1978
+ },
1979
+ {
1980
+ "type": "page_number",
1981
+ "bbox": [
1982
+ 0.483,
1983
+ 0.945,
1984
+ 0.514,
1985
+ 0.957
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "7911"
1989
+ }
1990
+ ]
1991
+ ]
2024/Diversity-aware Channel Pruning for StyleGAN Compression/6280f2c0-b9b7-4582-bd87-cf4cd31b00db_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b655029c62e21265707c05aac1d6205170a35e616b5b79756c542222cd3eb0e
3
+ size 1775395
2024/Diversity-aware Channel Pruning for StyleGAN Compression/full.md ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Diversity-aware Channel Pruning for StyleGAN Compression
2
+
3
+ Jiwoo Chung, Sangeek Hyun, Sang-Heon Shim, Jae-Pil Heo* Sungkyunkwan University
4
+
5
+ {wldn0202, hsi1032, ekzmwww, jaepilheo}@g.skku.edu
6
+
7
+ # Abstract
8
+
9
+ StyleGAN has shown remarkable performance in unconditional image generation. However, its high computational cost poses a significant challenge for practical applications. Although recent efforts have been made to compress StyleGAN while preserving its performance, existing compressed models still lag behind the original model, particularly in terms of sample diversity. To overcome this, we propose a novel channel pruning method that leverages varying sensitivities of channels to latent vectors, which is a key factor in sample diversity. Specifically, by assessing channel importance based on their sensitivities to latent vector perturbations, our method enhances the diversity of samples in the compressed model. Since our method solely focuses on the channel pruning stage, it has complementary benefits with prior training schemes without additional training cost. Extensive experiments demonstrate that our method significantly enhances sample diversity across various datasets. Moreover, in terms of FID scores, our method not only surpasses state-of-the-art by a large margin but also achieves comparable scores with only half training iterations. Codes are available at github.com/jiwoogit/DCP-GAN.
10
+
11
+ # 1. Introduction
12
+
13
+ Thanks to recent progress in generative artificial intelligence, there have been numerous techniques in the research field of image generation [1, 3, 10, 15, 18, 26, 30, 31, 33, 36]. Especially for Generative Adversarial Networks (GANs) [5], StyleGAN [12-14] is one of the most successful approaches and leads to the development of diverse applications of GANs including image editing [7, 27, 39], super resolution [29], and even 3D generation [2, 6, 32]. However, due to their high computation costs, the deployment of these applications on the edge devices such as mobile phones and embedded systems is still challenging and remains a significant research problem. To
14
+
15
+ handle this challenge, the research area of StyleGAN compression [24, 37] is recently introduced.
16
+
17
+ Most of prior StyleGAN compression techniques including CAGAN [24] and StyleKD [37] have two stages: (1) channel-pruning and (2) distillation stages. In detail, the channel-pruning stage initializes the compressed model (student) from the pre-trained network (teacher) by selectively removing channels. Subsequently, in the distillation stage, channel-pruned student model undergoes further training by adversarial objectives and knowledge distillation from the teacher model if needed.
18
+
19
+ The primary goal of the GAN compression is to maintain the diversity and fidelity of generated images from the teacher model. However, we observe that the compressed generator often struggles to preserve the diversity compared to teacher generator (i.e. low recall as reported in Table. 1). Specifically, in the case of StyleKD, although it retains the latent space and mapping network of the teacher model during the pruning stage, the synthesis network of student model hardly preserves the diversity (recall) in the latent-to-image rendering process. We hypothesize that such degradation in diversity is caused by improper initialization of the synthesis network (e.g. random initialization or inadequate pruning method). Hence, in this paper we focus on development of an appropriate channel pruning scheme for synthesis network toward preserving the diversity of teacher.
20
+
21
+ The diversity of the synthesis network stems from the variations observed in images generated from different latent signals. Our hypothesis is that the channel-wise behavior differs for different latent vectors, implying that each channel contributes to the diversity of generated images differently. For instance, channels associated with common characteristics in the dataset (e.g., the number of eyes in a facial dataset) may not be sensitive to the latent vector and its impact on diversity, despite their significant contribution to the generated images. On the other hand, channels related to semantic attributes exhibit distinct behavior with respect to the latent vector. Furthermore, the common characteristics within a dataset can be highly recoverable during further training even if their relevant channels are pruned. Therefore, to achieve a compressed student model
22
+
23
+ ![](images/a36753c1691ecf80b42c72862d7657477386c5caf86407decd0f315ebc653bf9.jpg)
24
+ Ch. #4 is more sensitive to the sample diversity
25
+ (a) Intuitive illustration of our method
26
+ Figure 1. (a) Intuitive illustration of our method. We compare four channels (Ch. #1, 2, 3, 4) by evaluating their responses when we pass the same latent vector $w$ and its perturbed counterpart $(w + \alpha d)$ . By investigating the contribution of each channel to resulting image difference, we determine the sensitivity of channels to the latent perturbation. In this example, Ch. #4 is highly sensitive to the perturbation, while Ch. #1, 2, 3 exhibit low sensitivity. Consequently, in terms of preserving sample diversity, Ch. #4 is suitable for retaining. (b) Our overall framework. We aim to assess the contribution of each channel to the sample diversity by measuring its sensitivity to latent vector perturbation. In detail, 1) we sample a directional vector for the perturbation, 2) we compute the image-level difference caused by the latent vector perturbation, and 3) we calculate channel-wise gradient magnitudes induced by the difference image. The channel-wise sensitivity to the sample diversity is determined by its gradient magnitudes. As a result, we can estimate the channel-wise sensitivity against diversity.
27
+
28
+ ![](images/87a9b5c9972933f0a611cff216a9e94bd980234149dfe9ff1fa207e007d073d0.jpg)
29
+ (b) Our overall framework
30
+
31
+ that maintains a highly similar generative distribution to the teacher model with fewer channels, it is reasonable to prioritize the preservation of channels that are sensitive to the latent vector.
32
+
33
+ In this paper, we present a channel-pruning method that considers the sensitivity of each channel to latent vector perturbations. Specifically, we investigate gradients induced by the image-level difference between two generated samples: one from the original latent vector and the other from its perturbated counterpart, as shown in Fig. 1. The intuition behind this is that a larger gradient magnitude for a generator's parameter indicates a higher sensitivity to the latent vector perturbation. Building on this primitive idea, we define a channel-wise importance score by aggregating the gradient magnitudes of parameters within the channel for diverse latent vectors and their perturbations. This score serves as a measure of each channel's contribution to the sample diversity. Based on these importance scores, we prune channels accordingly.
34
+
35
+ We conduct extensive evaluations in various datasets including FFHQ, LSUN-Church, and LSUN-Horse. The experimental results demonstrate that our compressed model not only achieves state-of-the-art performance but also preserves significantly higher sample diversity. Moreover, our method reaches the previous state-of-the-art FID score with only half the number of training iterations.
36
+
37
+ # 2. Related Work
38
+
39
+ One of the network compression techniques, channel pruning [19, 22, 23, 25, 34, 38, 40] proves highly effective in significantly reducing both memory usage and computational
40
+
41
+ expenses. For example, MeanGrad [22] aims to preserve model performance despite pruning in network parameters and evaluates the importance of convolution weights using the mean gradient criterion in classification tasks.
42
+
43
+ In generation tasks, various methods [9, 11, 20, 21, 28] have been also proposed to compress the generator network in both conditional and unconditional GANs to leverage its generative capabilities on devices with limited computational resources. One of the recent works, CAGAN [24] proposed a two-stage compression method for unconditional GANs. They first pruned the network parameters and then fine-tuned the pruned student model using knowledge distillation from the teacher model. Additionally, they proposed a content-aware pruning technique to preserve channels that are highly activated in salient regions of images. More recently, StyleKD [37] addressed the issue of output discrepancy between teacher and student models by maintaining the mapping network while randomly initializing the synthesis network with a reduced number of parameters.
44
+
45
+ Our approach revisits the pruning stage in compressing the generator of StyleGAN. Specifically, we introduce a novel algorithm for selecting channels to be pruned based on their contributions to the sample diversity measured by the sensitivity to latent vector perturbations. Additionally, our method requires no extra training costs during the pruning stage, as it operates without the need for additional supervision, such as a pre-trained semantic segmentation model, while CAGAN requires it. In StyleKD, despite discarding all parameters in the synthesis network and utilizing latent directions to mimic the teacher model in the distillation stage, we observe that they still face challenges
46
+
47
+ ![](images/de38a6d40a2056887f275f3df5935c516f40b758b78da58388849399cf68d73d.jpg)
48
+ Figure 2. Overall compression framework. Overall compression framework consists of two stages: channel pruning and distillation. Channel-pruning stage initializes a compact student model by pruning channels of a larger teacher model. Specifically for the StyleGAN2 architecture, pruning process usually focuses on reducing channels in the synthesis network, while retraining the mapping network. Distillation stage further trains student model with several training objectives such as adversarial and distillation losses. In this paper, we focus on the channel-pruning stage.
49
+
50
+ in maintaining sample diversity. In contrast, our proposed method directly retains diversity-aware parameters in the synthesis network while discarding diversity-unrelated parameters in the pruning stage. Thus, our approach effectively inherits the generative capabilities of the teacher network and is twice as fast as the baselines thanks to our enhanced initialization.
51
+
52
+ # 3. Method
53
+
54
+ In this paper, we present a novel channel pruning strategy for compressing StyleGAN. We focus on preserving sample diversity by considering the relationship between the latent and image spaces of the GAN, which has been overlooked by previous methods in the pruning process. Before introducing details of our proposed method, we provide an overview of the typical pipeline of GAN compression. Subsequently, we describe our channel selection process.
55
+
56
+ # 3.1. Preliminaries
57
+
58
+ Unconditional GAN Compression. As in Fig 2, GAN compression methods typically involve two networks: a teacher model (large and pretrained) and a student model (small). The goal is to train the student model with fewer parameters by distilling the knowledge from the pretrained teacher network, while maintaining performance as much as possible. This approach generally consists of two stages: (1) channel pruning and (2) distillation. In the channel pruning stage, the less important channels of the teacher model are pruned to initialize the student model. In the distillation stage, the student model is further trained using both adversarial learning and distillation losses from the teacher.
59
+
60
+ Channel-Pruning Stage. The channel-pruning stage in
61
+
62
+ volves the estimation of channel importance within the generator network, followed by pruning of less important channels based on the determined importance scores. In the context of StyleGAN compression, since most of methods are built on the StyleGAN2 framework [13], we provide a detailed description of the pruning procedure. The generator architecture of StyleGAN2 consists of a mapping network, denoted as $f(\cdot): \mathcal{Z} \mapsto \mathcal{W}$ , and a synthesis network, denoted as $g(\cdot): \mathcal{W} \mapsto \mathcal{I}$ . Here, $\mathcal{Z} \in \mathbb{R}^{512}$ represents the input noise space following a standard normal distribution $\mathcal{N}(0,1)$ . $\mathcal{W} \in \mathbb{R}^{512}$ corresponds to the intermediate latent space, and $\mathcal{I} \in \mathbb{R}^{h \times w \times 3}$ represents the image space. In the case of StyleGAN2, the focus of pruning is primarily on reducing the channels within the synthesis network while maintaining the mapping network. This strategy is guided by two reasons. Firstly, the mapping network accounts for only a small portion of the parameters and floating-point operations (FLOPs) compared to the synthesis network, making the benefits of pruning the mapping network negligible. Secondly, previous work [37] has observed that pruning the mapping network results in a significant drop in performance as it disrupts the consistency of output images between teacher and student models. Therefore, most of the existing research in this field has concentrated on developing techniques to prune the synthesis network. In alignment with this approach, our paper also focuses on pruning the synthesis network.
63
+
64
+ # 3.2. Our Approach
65
+
66
+ As discussed earlier, we observed a notable degradation in sample diversity in the compressed student model compared to the teacher network, even though the mapping network remains uncompressed. We hypothesize that a critical factor in this decline is the lack of consideration for sample diversity in previous network initialization (or channel pruning). Consequently, our primary goal is to address this issue by introducing a novel channel-pruning method aimed at enhancing the diversity of generated images.
67
+
68
+ To accomplish this, we introduce the concept of latent perturbation-induced gradients. These gradients reflect the sensitivity of each channel to perturbations in the latent vector. Since latent perturbations produce the image-level differences of generated samples, the gradients induced by these perturbations enable us to measure the contribution of each channel to the sample diversity. Based on these gradients, we define diversity-sensitive importance scores for each channel using various latent vectors and their perturbations. Finally, we select channels to be pruned according to their importance scores.
69
+
70
+ Note that, while we explain the method using a single convolution weight $W$ for simplicity, in practice, our pruning method is applied to all weights in convolutional layers.
71
+
72
+ # 3.2.1 Latent Perturbation-induced Gradients
73
+
74
+ In our context, sample diversity refers to the variations observed among images generated from different latent vectors. To assess the contribution of each channel to sample diversity, we examine the gradients induced by the image-level difference between two generated samples from the latent vector and its perturbation. Specifically, we consider the latent representations in the intermediate latent space $\mathcal{W}$ inherited from the teacher model.
75
+
76
+ To produce the perturbed latent vectors, we first establish a set of independent directional vectors $D$ in $\mathcal{W}$ . The perturbation is accomplished by shifting the latent vector $w$ along a directional vector $d$ sampled from $D$ as $w + \alpha d$ , where $\alpha$ is a scalar constant. Among a variety of feasible strategies to define $D$ , we specifically employ principal components inspired by GANSpace [7]. We also use a probabilistic sampling for the selection of directional vectors, with the selection probabilities proportional to the variance ratios corresponding principal components, since directions represent different degrees of semantic variation in this scheme. Note that, we experimentally found that our algorithm also works effectively even with a set of randomly drawn directional vectors (i.e. $(d_{\mathrm{rand}} \sim \mathcal{N}(0,1))$ , and the performance gap between principal components and random vectors is not significant.
77
+
78
+ Given a latent vector $w$ and a sampled directional vector $d$ , we compute the difference between two images $g(w)$ and $g(w + \alpha d)$ generated by the teacher generator $g(\cdot)$ based on $L_{1}$ distance as follows:
79
+
80
+ $$
81
+ \mathcal {L} _ {\text {d i f f}} = | g (w) - g (w + \alpha d) |, \quad g (\cdot) \in \mathbb {R} ^ {h \times w \times 3}, \tag {1}
82
+ $$
83
+
84
+ where $|\cdot|$ denotes the absolute value, and $h$ and $w$ are the height and width of the images, respectively.
85
+
86
+ To investigate the sensitivity of learnable parameters $W$ within a convolution layer of $g$ to the latent vector perturbation, we calculate gradients of weights by back-propagating $\mathcal{L}_{\mathrm{diff}}$ . These gradients are referred to as latent perturbation-induced gradients $\mathbf{G}_{\mathrm{perturb}}$ , and expressed as follows:
87
+
88
+ $$
89
+ \mathbf {G} _ {\text {p e r t u r b}} = \left| \frac {\partial \mathcal {L} _ {\text {d i f f}}}{\partial W} \right|, \quad \mathbf {G} _ {\text {p e r t u r b}} \in \mathbb {R} ^ {c ^ {\mathrm {i n}} \times c ^ {\mathrm {o u t}} \times 3 \times 3}, \tag {2}
90
+ $$
91
+
92
+ where $c^{\mathrm{in}}$ and $c^{\mathrm{out}}$ represent the number of input channels and output channels of $W$ , respectively.
93
+
94
+ Intuitively, if a parameter has a larger gradient magnitude, the parameter is considered more sensitive to the difference between samples produced by latent perturbation, thereby contributing more to the sample diversity.
95
+
96
+ # 3.2.2 Diversity-Sensitive Importance Score
97
+
98
+ Based on the latent perturbation-induced gradients $\mathbf{G}_{\mathrm{perturb}}$ we introduce channel-wise diversity-sensitive importance score for pruning.
99
+
100
+ One straightforward approach is to average the gradient magnitudes over the parameters associated with each channel for multiple latent vectors $w \sim f(z)$ and directions $d$ . We refer this scheme as the average-based importance score, expressed as follows:
101
+
102
+ $$
103
+ S ^ {\mu} (c) = \left\| \mathbb {E} _ {z} \mathbb {E} _ {d} \left[ \mathbf {G} _ {\text {p e r t u r b}} \right] _ {c} \right\| _ {1}, S ^ {\mu} (c) \in \mathbb {R} ^ {1}, \tag {3}
104
+ $$
105
+
106
+ where $c \in [0, c^{\mathrm{in}})$ denotes the channel index, $[\cdot]_c$ represents $c^{\mathrm{th}}$ channel of $[\cdot]$ , and $\mathbf{G}_{\mathrm{perturb}}$ denotes the gradient magnitude. In practice, we compute $\mathbb{E}_d[\cdot]$ using $N$ directional vectors sampled from $D$ .
107
+
108
+ If a specific latent vector significantly influences $\left[\mathbf{G}_{\text {perturb }}\right]_{c}$ regardless of its perturbations, the channel would receive a high importance score even if it is not actually sensitive to the perturbations. Consequently, the influence of such channels can greatly disturb desired channel selection.
109
+
110
+ To address this problem, we revise the average-based score by considering the individual effect of each latent vector. Specifically, for each latent vector, we compute the average gradient magnitudes over $N$ perturbations and utilize them to penalize the induced gradients for the learnable parameters. These average gradient magnitudes for a latent vector are referred to as the gradient offset. As a result, our diversity-sensitive importance score for $c^{\mathrm{th}}$ channel, $S^{\sigma}(c)$ , is defined as follows:
111
+
112
+ $$
113
+ S ^ {\sigma} (c) = \| \mathbb {E} _ {z} \mathbb {E} _ {d} \left[ \left[ \mathbf {G} _ {\text {p e r t u r b}} - \mathbb {E} _ {d} \left[ \mathbf {G} _ {\text {p e r t u r b}} \right] \right] ^ {2} \right] _ {c} \| _ {1}, S ^ {\sigma} (c) \in \mathbb {R} ^ {1}, \tag {4}
114
+ $$
115
+
116
+ where $\mathbb{E}_d[\mathbf{G}_{\mathrm{perturb}}]$ represents the gradient offset of the original latent vector $w$ , and $[\cdot]^2$ denotes element-wise squaring. Once the diversity-sensitive importance scores are computed, we prune channels with low scores according to the pruning ratio $p_r$ .
117
+
118
+ Aside from the calibration by the gradient offset, $S^{\sigma}(c)$ is equivalent to the variance of $\mathbf{G}_{\mathrm{perturb}}$ over perturbations. This approach further reduces the impact of small noisy values and grants greater importance to channels that are highly sensitive to a particular direction in the latent space. Such directions can be highly related to specific semantic attributes. Intuitively, it is crucial to retain channels that are highly sensitive to directional vectors in the latent space relevant to certain semantic attributes, such as glasses or age.
119
+
120
+ # 3.3. Objective Functions for Distillation Stage
121
+
122
+ After establishing the initial student model through a channel-pruned teacher generator, we fine-tune the student model using adversarial and knowledge distillation objectives. As our primary focus in this paper lies on the pruning algorithm, we simply follow the training scheme of StyleKD [37] incorporating four objectives: $\mathcal{L}_{\mathrm{GAN}}, \mathcal{L}_{\mathrm{rgb}}, \mathcal{L}_{\mathrm{lpips}}$ , and $\mathcal{L}_{\mathrm{LD}}$ .
123
+
124
+ $\mathcal{L}_{\mathrm{GAN}}$ denotes the minimax objective for adversarial training. Meanwhile, $\mathcal{L}_{\mathrm{rgb}}$ and $\mathcal{L}_{\mathrm{lpips}}$ strive to replicate
125
+
126
+ teacher-generated images in image and feature spaces, respectively. $\mathcal{L}_{\mathrm{LD}}$ , a latent-direction-based relation distillation loss, aims to align the student model's feature similarity matrix to the teachers. More details on these objectives can be found in StyleKD [37]. As a result, our final training objective function, $\mathcal{L}_{\mathrm{final}}$ , is given as follows:
127
+
128
+ $$
129
+ \mathcal {L} _ {\text {f i n a l}} = \lambda_ {\mathrm {G A N}} \mathcal {L} _ {\mathrm {G A N}} + \lambda_ {\mathrm {r g b}} \mathcal {L} _ {\mathrm {r g b}} + \lambda_ {\mathrm {l p i p s}} \mathcal {L} _ {\mathrm {l p i p s}} + \lambda_ {\mathrm {L D}} \mathcal {L} _ {\mathrm {L D}}, \tag {5}
130
+ $$
131
+
132
+ where $\lambda_{\mathrm{GAN}}, \lambda_{\mathrm{rgb}}, \lambda_{\mathrm{lpips}}$ , and $\lambda_{\mathrm{LD}}$ balance loss terms.
133
+
134
+ # 4. Experiment
135
+
136
+ # 4.1. Experimental Setup
137
+
138
+ Baselines. Our method is compared with recent StyleGAN compression methods, CAGAN [24] and StyleKD [37]. For a fair comparison, we further train CAGAN with the advanced objective function $(\mathcal{L}_{\mathrm{LD}})$ introduced in StyleKD, which we denote as CAGAN*. Since our method employs StyleKD's training scheme, comparing CAGAN*, StyleKD, and our method is equitable. Since the pretrained StyleKD models are not available, we retrain StyleKD using the official repository for unreported metrics and datasets, referring to this retrained model as StyleKD*. For training details of CAGAN, we apply a facial mask as a content mask when training CAGAN* on the FFHQ dataset. However, on other datasets where content definition is challenging, we use a uniform mask, assigning a value of one to all pixels.
139
+
140
+ Evaluation Metrics. We validate our pruning method using various quantitative metrics. In addition to the most popular Fréchet Inception Distance (FID) [8], we also measure Precision and Recall (P&R) [17] to assess the quality and diversity of generated samples separately. For FID calculation, we use 50K real and 50K fake samples for each dataset. For P&R, we use all real samples in the dataset and 50K fake samples for FFHQ and LSUN Church. For the LSUN Horse dataset, we use 200K real samples due to the high computational cost associated with complete 1M real samples.
141
+
142
+ To evaluate the projection capability of the compressed model, we employ the projection method of StyleGAN2, which projects real images into the $\mathcal{W}$ space using noise regularization and reconstruction losses such as MSE and LPIPS, over 1,000 iterations. We use the Helen-Set55 dataset for this evaluation, following the practice of CAGAN. We report the averaged MSE and LPIPS for all pairs of real and projected images in the dataset.
143
+
144
+ Implementation Details. We follow the implementation details provided in StyleKD [37]. For instance, all experiments are conducted with a pruning ratio of 0.7 (i.e. $p_r = 0.7$ ) and trained for 450K iterations. Also, in the default setting, we set the hyperparameters $N$ and $\alpha$ as
145
+
146
+ ![](images/8ed76f1b4aeb0d3bfdb99e9558d3803b2a8143ec3886e79bff35a07e395a7b6e.jpg)
147
+ (a) Precision-Recall Curve in FFHQ-256
148
+ Figure 3. (a) Precision-Recall Curve. By adjusting the truncation trick parameter $\psi$ within the range [0.5, 1.0] with step size 0.1, we visualize the Precision-Recall curve of the proposed method and baselines. We validate that ours surpasses baseline methods with every range of precision and recall. (b) FID w.r.t Training Iterations. We visualize FID curve during training and validate that the proposed method achieves the previous state-of-the-art FIDs only with $2\times$ fewer iterations.
149
+
150
+ ![](images/8b9c4bc60d00972f717220a85f8befd4b2c9c8514ab661024de5fb310775ec51.jpg)
151
+ (b) FID graph in FFHQ-256
152
+
153
+ 10 and 5, except for LSUN Horse dataset where we set $\alpha$ as 10. We employ non-saturating loss [4] with $R_{1}$ gradient penalty [13] and update a model through Adam optimizer [16] with $\beta_{1} = 0.0$ and $\beta_{2} = 0.99$ . The learning rate is set to 2e-3 for both the generator and discriminator. We use a batch size of 16 and consistently employ 4 GPUs for training. Lastly, the loss balancing constants are set to $\lambda_{\mathrm{GAN}} = 1$ , $\lambda_{\mathrm{rgb}} = 3$ , $\lambda_{\mathrm{lpips}} = 3$ , and $\lambda_{\mathrm{LD}} = 30$ .
154
+
155
+ # 4.2. Quantitative Results
156
+
157
+ Image Generation Performance. We validate the effectiveness of the proposed method through various generation performance metrics including FID and P&R in diverse datasets such as FFHQ, LSUN Church, and LSUN Horse. In terms of FID, the proposed method consistently outperforms state-of-the-art baselines on all tested datasets, as reported in Tab. 1. For example, our model achieves a FID score of 5.80 in FFHQ-1024, improving 1.8 and 1.39 points over CAGAN and StyleKD, respectively. These consistent FID score improvements demonstrate the superiority of the distribution-matching capability of the proposed method.
158
+
159
+ For the recall metric directly related to the sample diversity, our method achieves the highest scores in all tested datasets. For instance, our method significantly outperforms CAGAN in terms of recall score in FFHQ-1024 (0.277 vs 0.378), as well as obtains a value of 0.372 in LSUN Church, which is almost comparable with the teacher (0.016 points gap).
160
+
161
+ For the precision metric, the proposed method shows a slightly lower precision compared to the baseline, due to the precision-recall trade-off. Since the recall can be leveraged to improve precision through a truncation trick, we additionally conduct experiments by adjusting $\psi$ to evaluate precision at the highest recall achieved by baselines. In this setting, we observe that our method also surpasses baselines in terms of precision at the comparable recall. For example, by adopting a truncation parameter of $\psi = 0.95$ in
162
+
163
+ Table 1. Quantitative results on StyleGAN2. Comparison with GAN compression baselines in FFHQ, LSUN Church, and LSUN Horse datasets. 'Param.' refers to the number of parameters in a generator and 'FLOPs' denotes the number of floating-point operations. 'P' and 'R' represent precision and recall metrics, respectively. 'MSE' and 'LPIPS' indicate the distance between pairs of real and inverted samples based on the StyleGAN2 projection method. 'CAGAN**' denotes CAGAN trained with the objective of StyleKD. 'StyleKD*' refers to a retrained model using the official code due to the unavailability of published pretrained models. 'ψ' denotes the parameter for the truncation trick, which adjusts the trade-off between sample diversity and fidelity. We adjust 'ψ' to evaluate precision at the highest recall achieved by baselines. We have omitted 'Param.' and 'FLOPs' in the LSUN Church and LSUN Horse datasets, as they are the same as FFHQ-256. Reported FIDs without ours, CAGAN*, and StyleKD* are taken from StyleKD.
164
+
165
+ <table><tr><td>Dataset</td><td>Method</td><td>Param.</td><td>FLOPs</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>MSE↓</td><td>LPIPS↓</td><td></td></tr><tr><td rowspan="9">FFHQ-256</td><td>Teacher</td><td>30.0M</td><td>45.1B</td><td>4.5</td><td>0.603</td><td>0.482</td><td>0.0292</td><td>0.2065</td><td></td></tr><tr><td>Scratch</td><td>5.6M</td><td>4.1B</td><td>9.79</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>5.0B</td><td>12.4</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>5.6M</td><td>4.1B</td><td>7.9</td><td>0.703</td><td>0.295</td><td>0.0316</td><td>0.2141</td><td></td></tr><tr><td>CAGAN* [24]</td><td>5.6M</td><td>4.1B</td><td>7.41</td><td>0.713</td><td>0.309</td><td>0.0301</td><td>0.2113</td><td></td></tr><tr><td>StyleKD [37]</td><td>5.6M</td><td>4.1B</td><td>7.25</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>StyleKD* [37]</td><td>5.6M</td><td>4.1B</td><td>7.47</td><td>0.710</td><td>0.306</td><td>0.0307</td><td>0.2101</td><td></td></tr><tr><td>Ours</td><td>5.6M</td><td>4.1B</td><td>6.35</td><td>0.706</td><td>0.339</td><td>0.0293</td><td>0.2082</td><td></td></tr><tr><td>Ours (ψ = 0.95)</td><td>5.6M</td><td>4.1B</td><td>6.86</td><td>0.732</td><td>0.312</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td rowspan="5">FFHQ-1024</td><td>Teacher</td><td>49.1M</td><td>74.3B</td><td>2.7</td><td>0.688</td><td>0.492</td><td>0.0275</td><td>0.1916</td><td></td></tr><tr><td>GS [35]</td><td>N/A</td><td>23.9B</td><td>10.1</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>CAGAN [24]</td><td>9.2M</td><td>7.0B</td><td>7.6</td><td>0.721</td><td>0.277</td><td>0.0358</td><td>0.2099</td><td></td></tr><tr><td>StyleKD [37]</td><td>9.2M</td><td>7.0B</td><td>7.19</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td></td></tr><tr><td>Ours</td><td>9.2M</td><td>7.0B</td><td>5.80</td><td>0.676</td><td>0.378</td><td>0.0328</td><td>0.2082</td><td></td></tr><tr><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td><td>Dataset</td><td>Method</td><td>FID↓</td><td>P↑</td><td>R↑</td></tr><tr><td rowspan="5">LSUN Church</td><td>Teacher</td><td>3.97</td><td>0.599</td><td>0.388</td><td></td><td>Teacher</td><td>4.50</td><td>0.541</td><td>0.442</td></tr><tr><td>CAGAN* [24]</td><td>5.09</td><td>0.598</td><td>0.352</td><td></td><td rowspan="2">LSUN Horse</td><td>5.73</td><td>0.589</td><td>0.335</td></tr><tr><td>StyleKD* [37]</td><td>6.10</td><td>0.611</td><td>0.302</td><td></td><td>5.69</td><td>0.589</td><td>0.325</td></tr><tr><td>Ours</td><td>4.87</td><td>0.584</td><td>0.372</td><td></td><td>Ours</td><td>5.11</td><td>0.581</td><td>0.356</td></tr><tr><td>Ours (ψ = 0.97)</td><td>5.07</td><td>0.610</td><td>0.349</td><td></td><td>Ours (ψ = 0.95)</td><td>5.22</td><td>0.610</td><td>0.337</td></tr></table>
166
+
167
+ FFHQ-256 and LSUN Horse datasets, our method provides higher precision, recall, and even FID scores compared to the baselines. In the case of LSUN Church, with a truncation parameter of $\psi = 0.97$ , we achieve comparable precision to StyleKD while providing 0.047 points higher recall score. Similarly, compared to CAGAN, ours has comparable scores in the aspect of recall but achieves higher precision with a reasonable margin. Note that, without the truncation trick, the proposed method substantially outperforms the baseline models in terms of diversity. For further validation, we additionally report the precision-recall curve in the FFHQ-256 dataset by adjusting the parameter $\psi$ in Fig. 3-(a) within a range of [0.5, 1.0]. As shown, ours provides higher precision and recall compared to the baselines across the ranges.
168
+
169
+ To assess the applicability of our method with other network architectures, we conduct evaluations with StyleGAN3. Thus, we reproduce scores of baselines at the same training settings as ours and focus on relative improvements in this experiment. Specifically, we employ official codes of
170
+
171
+ StyleGAN3 and train the generator until the discriminator see 10M of real images. As in Tab 2, our model achieves a FID score of 8.40 and improves 5.85 and 1.17 points over the CAGAN and StyleKD, respectively. In terms of the recall metric, our method also surpasses the baselines. A comparative analysis of metric scores between baselines and our approach further highlights our model's superiority.
172
+
173
+ Training Converged Speed Ability. Moreover, we visualize the FID curve with respect to the training iteration of our method in Fig. 3-(b). We observe that ours reach the best FID scores of previous state-of-the-art models at much fewer iterations. For instance, ours achieve comparable FID scores only with $2.5 \times$ and $2 \times$ fewer iterations compared to the CAGAN and StyleKD, respectively. We believe that our enhanced initialization of the synthesis network through our channel pruning strategy significantly improves the generation performance during the early stages of training, and allows the model for further improvement throughout the entire training process.
174
+
175
+ Table 2. Quantitative results on StyleGAN3. Comparison with recent baselines [24, 37] in FFHQ dataset.
176
+
177
+ <table><tr><td>Metric</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Teacher</td><td>4.76</td><td>0.647</td><td>0.484</td></tr><tr><td>CAGAN [24]</td><td>14.25</td><td>0.636</td><td>0.272</td></tr><tr><td>StyleKD [37]</td><td>9.57</td><td>0.647</td><td>0.376</td></tr><tr><td>Ours</td><td>8.40</td><td>0.653</td><td>0.397</td></tr></table>
178
+
179
+ Image Projection Ability. For evaluation of the image projection ability, we perform experiments on FFHQ dataset using MSE and LPIPS metrics. For both FFHQ-256 and FFHQ-1024 datasets, we validate that the proposed method surpasses baselines in terms of both MSE and LPIPS metrics. Interestingly, we observe that ours reports MSE of 0.0293 which is a comparable score with the teacher model, 0.0292, in FFHQ-256 dataset. We believe that our pruning method brings a significant improvement in the generator's ability to capture the diverse characteristics of real images, and it allows precise projection of them.
180
+
181
+ # 4.3. Qualitative Results
182
+
183
+ Generated samples from same noise input. For qualitative comparison, we show the samples generated by different compressed models from the same noise vector $z$ in Fig. 4. As noted in StyleKD [37], it would be desirable for a compressed network to reconstruct the sample generated by the teacher network. However, we observed that the baseline methods struggle to produce a sample inheriting the characteristics of images from the teacher network. For instance, CAGAN* and StyleKD* generate face images with different shapes of eyes in the third and fourth column of Fig. 4. Similarly, in the first column of LSUN Horse, horses generated by baselines hardly maintain the brown and white color patterns available in the teacher's image, while the proposed method successfully synthesizes those patterns. These results show that the channel pruning with the consideration of the latent space and its effect on images leads to better diversity preservation of generated images.
184
+
185
+ # 4.4. Ablation Studies and Analysis
186
+
187
+ We further discuss the influence of the proposed components and other hyperparameters by comprehensive ablation studies. For this purpose, we train the ablated models with different configurations in FFHQ-256.
188
+
189
+ Number of directions and strength for perturbations. We investigate the number of directions $(N)$ and the strength of perturbation $(\alpha)$ . Due to the computational costs, we report the mean and standard deviations of the best FID scores up to 50K iterations over 3 times trials. As reported in Tab. 3-(a), our method achieves the lowest FID score when $N = 10$ . Additionally, we explore the impact of the strength of perturbation $(\alpha)$ . While $\alpha = 5$ yields the
190
+
191
+ Table 3. Ablation on the perturbation parameters. In this table, we report mean and standard deviation of $\mathrm{FID}_{\mathrm{early}}$ measured from the models training until 50K iterations 3 times. We denote $N$ and $\alpha$ as the number of perturbations for each original latent vector and the strength parameter of perturbations, respectively. Ablation on the direction sampling. For comparing semantic and random directional vectors, we utilize the GANSpace (PCA) method to obtain the semantic directional vector. The FID score with semantic directional vectors is slightly better than that of the randomly sampled vectors.
192
+
193
+ <table><tr><td>N</td><td>FIDearly ↓</td><td>α</td><td>FIDearly ↓</td></tr><tr><td>N = 5</td><td>12.46 ± 0.2</td><td>α = 1</td><td>13.50 ± 0.3</td></tr><tr><td>N = 10</td><td>12.08 ± 0.3</td><td>α = 5</td><td>12.08 ± 0.3</td></tr><tr><td>N = 20</td><td>12.47 ± 0.2</td><td>α = 10</td><td>12.09 ± 0.2</td></tr></table>
194
+
195
+ (a) Ablation on the perturbation parameters
196
+
197
+ <table><tr><td>Direction</td><td>FID ↓</td><td>P ↑</td><td>R ↑</td></tr><tr><td>Random</td><td>6.50</td><td>0.692</td><td>0.342</td></tr><tr><td>PCA</td><td>6.35</td><td>0.706</td><td>0.339</td></tr></table>
198
+
199
+ (b) Ablation on the perturbation directions
200
+ Table 4. Ablation on the type of the importance scores. Comparison of FID score between the average-based importance score $(S^{\mu})$ and the proposed diversity-sensitive importance score $(S^{\sigma})$ in FFHQ-256 and LSUN Horse datasets.
201
+
202
+ <table><tr><td>Dataset</td><td>StyleKD*</td><td>Ours (w/ Sμ)</td><td>Ours (w/ Sσ)</td></tr><tr><td>FFHQ-256</td><td>7.47</td><td>6.71</td><td>6.35</td></tr><tr><td>LSUN Horse</td><td>5.69</td><td>5.36</td><td>5.11</td></tr></table>
203
+
204
+ best FID in this scenario, we consider both $\alpha = 5,10$ as viable options.
205
+
206
+ Latent perturbations by random vs. PCA-based directions. We conduct the ablation study on directional vectors for latent perturbations. Specifically, we compare the performance of directional vectors derived from GANSpace [7] and vectors sampled from a random normal distribution $(d_{\mathrm{rand}} \sim \mathcal{N}(0,1))$ . Tab. 3-(b) shows a slight degradation in performance when using random directional vectors for the perturbation. However, this degradation is negligible, and our pruned model still outperforms compared to baselines [24, 37] in terms of FID metric.
207
+
208
+ Thus, this finding highlights the significance of perturbation itself regardless of the type (either random or PCA) of perturbation in capturing sample diversity. Nevertheless, semantic directional vectors from GANSpace yield a lower FID compared to randomly sampled vectors. This result motivates us to select GANSpace-based directions as the default configuration for the latent vector perturbations.
209
+
210
+ Type of the importance score measurement. We conduct the ablation study to validate the effectiveness of our diversity-sensitive importance score. As shown in Tab. 4, the proposed diversity-sensitive importance score $(S^{\sigma})$
211
+
212
+ ![](images/bf1708c39b424777d6431cd47b6dae3ea260fded8f7d480736adfd16b595eef9.jpg)
213
+ Figure 4. Qualitative comparison with baselines on various datasets. For qualitative comparison, we visualize our generated samples and baselines in FFHQ-256, LSUN Church-256, and LSUN Horse-256 datasets. Each column corresponds to samples generated from the same noise vector $z$ . Averaged L1 distances between 10K samples from teacher and student are reported below each method. The lowest distortion of the proposed method validates that ours has enhanced capability to preserve the diversity in the image space.
214
+
215
+ ![](images/8897ea6c87dbe82606d5794e0d04a596125b36ed3096e29fe7e0b948dcbd1cc3.jpg)
216
+ (a) Channel scatter plot for avg. and our diversity-sensitive scores $(S^{\mu}, S^{\sigma})$
217
+
218
+ ![](images/ac2e08e1c38bbd89f10dd676278f28f56cd7a454b40a84dcb30c500c2e740c51.jpg)
219
+ Figure 5. Specific examples for pruned channels (a) We provide a scatter plot of $S^{\mu}$ and $S^{\sigma}$ scores of all channels in $6^{\text{th}}$ layer of teacher generator trained on FFHQ-256. Brown and green dots represent channels that are always pruned and not pruned, respectively. Blue and Red dots indicate channels that only survive in $S^{\mu}$ and $S^{\sigma}$ , respectively. (b) The $350^{\text{th}}$ channel exhibits high sensitivity to the $14^{\text{th}}$ direction from PCA. (c) The $14^{\text{th}}$ direction corresponds to an age-related perturbation. The $S^{\mu}$ score prunes the $350^{\text{th}}$ channel, while the $S^{\sigma}$ score preserves this channel, which demonstrates high sensitivity to age variation. This result shows that $S^{\sigma}$ aims to retain semantic image changes compared to $S^{\mu}$ .
220
+
221
+ outperforms the average-based importance score $(S^{\mu})$ in terms of FID. Specifically, the proposed diversity-sensitive method provides 6.35 FID, improving 0.36 points over the
222
+
223
+ average-based score. Similar trends can be found in LSUN Horse dataset. These results confirm that suppressing the importance score derived from latent code itself is crucial.
224
+
225
+ Specific examples for pruned channels In Fig 5, we examine the score of each channel in the teacher generator using a scatter plot, with $S^{\mu}$ on the x-axis and $S^{\sigma}$ on the y-axis. As visualized in Fig. 5 (a), $S^{\mu}$ and $S^{\sigma}$ of most channels are linearly correlated. However, upon closer examination of outliers, a significant portion of these outliers possess low $S^{\mu}$ values but high $S^{\sigma}$ values. These outlier channels generally contribute to a smaller number of directions but are highly activated for particular directions. To illustrate this, we visualize the gradient norms for $350^{\mathrm{th}}$ and $471^{\mathrm{th}}$ channels in Fig. 5 (b). The $350^{\mathrm{th}}$ channel exerts a significant influence on the $14^{\mathrm{th}}$ direction. This particular direction corresponds to notable image differences, such as age-related perturbations, as shown in Fig. 5 (c). Thus, our $S^{\sigma}$ can assign higher importance scores for these outliers.
226
+
227
+ # 5. Conclusion
228
+
229
+ In this work, we address the issue of a compressed StyleGAN generator struggling to preserve the sample diversity of teacher, observed in previous GAN compression methods. To alleviate this problem, we propose a simple yet effective channel pruning method that calculates channel importance scores based on their sensitivity in the image space according to perturbations in latent space. Extensive experiments demonstrate that our pruning method significantly enhances sample diversity, validating its superior performance in terms of FID.
230
+
231
+ # Acknowledgments
232
+
233
+ This work was supported in part by MSIT/IITP (No. 2022-0-00680, 2019-0-00421, 2020-0-01821, 2021-0-02068), and MSIT&KNPA/KIPoT (Police Lab 2.0, No. 210121M06).
234
+
235
+ # References
236
+
237
+ [1] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In International Conference on Learning Representations, 2019. 1
238
+ [2] Eric R Chan, Marco Monteiro, Petr Kellnhofer, Jiajun Wu, and Gordon Wetzstein. pi-gan: Periodic implicit generative adversarial networks for 3d-aware image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5799-5809, 2021. 1
239
+ [3] Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 12873-12883, 2021. 1
240
+ [4] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems. Curran Associates, Inc., 2014. 5
241
+ [5] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014. 1
242
+ [6] Jiatao Gu, Lingjie Liu, Peng Wang, and Christian Theobalt. StyleneRF: A style-based 3d aware generator for high-resolution image synthesis. In International Conference on Learning Representations, 2022. 1
243
+ [7] Erik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, and Sylvain Paris. Ganspace: Discovering interpretable gan controls. Advances in Neural Information Processing Systems, 33:9841-9850, 2020. 1, 4, 7
244
+ [8] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017. 5
245
+ [9] Tie Hu, Mingbao Lin, Lizhou You, Fei Chao, and Rongrong Ji. Discriminator-cooperated feature map distillation for gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20351-20360, 2023. 2
246
+ [10] Sangeek Hyun, Jaihyun Lew, Jiwoo Chung, Euiyeon Kim, and Jae-Pil Heo. Frequency-based motion representation for video generative adversarial networks. IEEE Transactions on Image Processing, 2023. 1
247
+ [11] Minsoo Kang, Hyewon Yoo, Eunhee Kang, Sehwan Ki, Hyong Euk Lee, and Bohyung Han. Information-theoretic gan compression with variational energy-based model. Advances in Neural Information Processing Systems, 35:18241-18255, 2022. 2
248
+ [12] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4401-4410, 2019. 1
249
+ [13] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of
250
+
251
+ the IEEE/CVF conference on computer vision and pattern recognition, pages 8110-8119, 2020. 3, 5
252
+ [14] Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Alias-free generative adversarial networks. Advances in Neural Information Processing Systems, 34:852-863, 2021. 1
253
+ [15] Hyunsu Kim, Yunjey Choi, Junho Kim, Sungjoo Yoo, and Youngjung Uh. Exploiting spatial dimensions of latent in gan for real-time image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 852-861, 2021. 1
254
+ [16] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. 5
255
+ [17] Tuomas Kynkänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. Advances in Neural Information Processing Systems, 32, 2019. 5
256
+ [18] Gayoung Lee, Hyunsu Kim, Junho Kim, Seonghyeon Kim, Jung-Woo Ha, and Yunjoy Choi. Generator knows what discriminator should learn in unconditional gans. In ECCV, 2022. 1
257
+ [19] Min Kyu Lee, Seunghyun Lee, Sang Hyuk Lee, and Byung Cheol Song. Channel pruning via gradient of mutual information for light-weight convolutional neural networks. In 2020 IEEE International Conference on Image Processing (ICIP), pages 1751-1755. IEEE, 2020. 2
258
+ [20] Shaojie Li, Jie Wu, Xuefeng Xiao, Fei Chao, Xudong Mao, and Rongrong Ji. Revisiting discriminator in gan compression: A generator-discriminator cooperative compression scheme. Advances in Neural Information Processing Systems, 34:28560-28572, 2021. 2
259
+ [21] Shaojie Li, Mingbao Lin, Yan Wang, Chao Fei, Ling Shao, and Rongrong Ji. Learning efficient gans for image translation via differentiable masks and co-attention distillation. IEEE Transactions on Multimedia, 2022. 2
260
+ [22] Congcong Liu and Huaming Wu. Channel pruning based on mean gradient for accelerating convolutional neural networks. Signal Processing, 156:84-91, 2019. 2
261
+ [23] Jing Liu, Bohan Zhuang, Zhuangwei Zhuang, Yong Guo, Junzhou Huang, Jinhui Zhu, and Mingkui Tan. Discrimination-aware network pruning for deep model compression. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(8):4035-4051, 2021. 2
262
+ [24] Yuchen Liu, Zhixin Shu, Yijun Li, Zhe Lin, Federico Peruzzi, and Sun-Yuan Kung. Content-aware gan compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12156-12166, 2021. 1, 2, 5, 6, 7
263
+ [25] Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convolutional neural networks for resource efficient inference. arXiv preprint arXiv:1611.06440, 2016. 2
264
+ [26] Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In Proceedings of the IEEE/CVF conference on
265
+
266
+ computer vision and pattern recognition, pages 2337-2346, 2019. 1
267
+ [27] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Styleclip: Text-driven manipulation of stylegan imagery. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2085–2094, 2021. 1
268
+ [28] Yuxi Ren, Jie Wu, Xuefeng Xiao, and Jianchao Yang. Online multi-granularity distillation for gan compression. In Proceedings of the IEEE/CVF international conference on computer vision, pages 6793-6803, 2021. 2
269
+ [29] Elad Richardson, Yuval Alaluf, Or Patashnik, Yotam Nitzan, Yaniv Azar, Stav Shapiro, and Daniel Cohen-Or. Encoding in style: a stylegan encoder for image-to-image translation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2287–2296, 2021. 1
270
+ [30] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684-10695, 2022. 1
271
+ [31] Axel Sauer, Katja Schwarz, and Andreas Geiger. StyleganxI: Scaling stylegan to large diverse datasets. In ACM SIGGRAPH 2022 conference proceedings, pages 1-10, 2022. 1
272
+ [32] Yichun Shi, Divyansh Aggarwal, and Anil K Jain. Lifting 2d stylegan for 3d-aware face generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6258-6266, 2021. 1
273
+ [33] Sang-Heon Shim, Jiwoo Chung, and Jae-Pil Heo. Towards squeezing-averse virtual try-on via sequential deformation. arXiv preprint arXiv:2312.15861, 2023. 1
274
+ [34] Xu Sun, Xuancheng Ren, Shuming Ma, and Houfeng Wang. meprop: Sparsified back propagation for accelerated deep learning with reduced overfitting. In International Conference on Machine Learning, pages 3299-3308. PMLR, 2017. 2
275
+ [35] Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-in-one gan compression by a unified optimization framework. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part IV 16, pages 54-73. Springer, 2020. 6
276
+ [36] Zhendong Wang, Huangjie Zheng, Pengcheng He, Weizhu Chen, and Mingyuan Zhou. Diffusion-gan: Training gans with diffusion. In The Eleventh International Conference on Learning Representations, 2022. 1
277
+ [37] Guodong Xu, Yuenan Hou, Ziwei Liu, and Chen Change Loy. Mind the gap in distilling stylegans. In Computer Vision-ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXXIII, pages 423-439. Springer, 2022. 1, 2, 3, 4, 5, 6, 7
278
+ [38] Linfeng Zhang, Xin Chen, Xiaobing Tu, Pengfei Wan, Ning Xu, and Kaisheng Ma. Wavelet knowledge distillation: Towards efficient image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12464-12474, 2022. 2
279
+ [39] Jiapeng Zhu, Yujun Shen, Deli Zhao, and Bolei Zhou. Indomain gan inversion for real image editing. In Computer
280
+
281
+ Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XVII 16, pages 592-608. Springer, 2020. 1
282
+ [40] Zhuangwei Zhuang, Mingkui Tan, Bohan Zhuang, Jing Liu, Yong Guo, Qingyao Wu, Junzhou Huang, and Jinhui Zhu. Discrimination-aware channel pruning for deep neural networks. Advances in neural information processing systems, 31, 2018. 2
2024/Diversity-aware Channel Pruning for StyleGAN Compression/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9deea8243c600d56ea62948f28d9ca92c651beebc756da491b8d67d1f6b9733
3
+ size 523854
2024/Diversity-aware Channel Pruning for StyleGAN Compression/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_content_list.json ADDED
@@ -0,0 +1,1450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Do Vision and Language Encoders Represent the World Similarly?",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 147,
8
+ 130,
9
+ 821,
10
+ 152
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Mayug Maniparambil\\* Mohamed El Amine Seddik3",
17
+ "bbox": [
18
+ 93,
19
+ 179,
20
+ 323,
21
+ 223
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Raiymbek Akshulakov\\*2 Yasser Abdelaziz Dahou Djilali31 Sanath Narayan3 Karttikeya Mangalam2 Noel E. O'Connor1",
28
+ "bbox": [
29
+ 351,
30
+ 179,
31
+ 880,
32
+ 223
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 233,
42
+ 258,
43
+ 313,
44
+ 273
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Aligned text-image encoders such as CLIP have become the de-facto model for vision-language tasks. Furthermore, modality-specific encoders achieve impressive performances in their respective domains. This raises a central question: does an alignment exist between uni-modal vision and language encoders since they fundamentally represent the same physical world? Analyzing the latent spaces structure of vision and language models on image-caption benchmarks using the Centered Kernel Alignment (CKA), we find that the representation spaces of unaligned and aligned encoders are semantically similar. In the absence of statistical similarity in aligned encoders like CLIP, we show that a possible matching of unaligned encoders exists without any training. We frame this as a seeded graph-matching problem exploiting the semantic similarity between graphs and propose two methods - a Fast Quadratic Assignment Problem optimization, and a novel localized CKA metric-based matching/retrieval. We demonstrate the effectiveness of this on several downstream tasks including cross-lingual, cross-domain caption matching and image classification. Code available at github.com/mayug/0-shot-llm-vision.",
51
+ "bbox": [
52
+ 75,
53
+ 290,
54
+ 473,
55
+ 608
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1. Introduction",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 76,
65
+ 635,
66
+ 209,
67
+ 651
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The recent success of deep learning on vision-language tasks mainly relies on jointly trained language and image encoders following the success of CLIP and ALIGN [20, 40]. The standard procedure for training these models aims at aligning text and image representation using a contrastive loss that maximizes the similarity between imagetext pairs while pushing negative captions away [10, 19, 36]. This achieves a statistical similarity across the two latent spaces, which is key to retrieving the closest cross-modal representations using cosine similarity. This property is not valid for unaligned encoders, hence, extra transformations are needed to bridge the gap. These transformations can be",
74
+ "bbox": [
75
+ 75,
76
+ 660,
77
+ 468,
78
+ 843
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/6346e7c7af875fd50e3549127b6bbc399bde346e4a38909ee3f7cbdbfe1cb02b.jpg",
85
+ "image_caption": [
86
+ "Figure 1. For matching, we calculate the kernels for image and text embeddings and employ QAP-based seeded matching to maximize CKA for obtaining the optimal permutation $P$ . For retrieval, we append query embeddings to base embeddings and retrieve the best caption that maximizes the local CKA for a query image."
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 501,
91
+ 261,
92
+ 890,
93
+ 401
94
+ ],
95
+ "page_idx": 0
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "training a mapping network that captures the prior distribution over the text and image representations [31, 34, 35]. The work of [31] has shown that it is possible to train a linear mapping from the output embeddings of vision encoders to the input embeddings of language models and exhibit impressive performance on image captioning and VQA tasks. This indicates that the representations between the unaligned uni-modal vision and language encoders are sufficiently high level and differ only by a linear transformation. However, this linear layer is trained on CC-3M [9] consisting of three million image-caption pairs.",
100
+ "bbox": [
101
+ 496,
102
+ 484,
103
+ 892,
104
+ 652
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "Is this training step necessary? In an ideal scenario, we anticipate an alignment between vision and language encoders as they inherently capture representations of the same physical world. To this end, we employ Centered Kernel Alignment (CKA) [12, 22, 42], which is known for measuring representation similarity both within and between networks. As shown in Figure 2, we measure the CKA between a variety of unaligned vision and language encoders [8, 16, 28, 37, 47], on the image-caption pairs of the COCO [27] dataset and observe that some have comparable scores to that of aligned encoders like CLIP [40], affirmative of semantic similarities.",
111
+ "bbox": [
112
+ 496,
113
+ 655,
114
+ 893,
115
+ 835
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "We then ask the question: If the unaligned image and text encoders are semantically similar, is there a way to connect them in a zero-shot manner? Do they build a similar representation graph over the same information coming from",
122
+ "bbox": [
123
+ 498,
124
+ 839,
125
+ 893,
126
+ 902
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "header",
132
+ "text": "CVF",
133
+ "bbox": [
134
+ 106,
135
+ 2,
136
+ 181,
137
+ 42
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "header",
143
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
144
+ "bbox": [
145
+ 236,
146
+ 0,
147
+ 810,
148
+ 46
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "page_footnote",
154
+ "text": "*joint first authors",
155
+ "bbox": [
156
+ 94,
157
+ 849,
158
+ 196,
159
+ 862
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "page_footnote",
165
+ "text": "$^{1}$ ML Labs, Dublin City University",
166
+ "bbox": [
167
+ 96,
168
+ 862,
169
+ 279,
170
+ 875
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "page_footnote",
176
+ "text": "$^{2}$ University of California Berkeley",
177
+ "bbox": [
178
+ 96,
179
+ 875,
180
+ 279,
181
+ 887
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "page_footnote",
187
+ "text": "$^{3}$ Technological Innovation Institute",
188
+ "bbox": [
189
+ 96,
190
+ 887,
191
+ 282,
192
+ 898
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "page_number",
198
+ "text": "14334",
199
+ "bbox": [
200
+ 480,
201
+ 944,
202
+ 519,
203
+ 955
204
+ ],
205
+ "page_idx": 0
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "the two modalities? We study these questions, revealing key similarities between unaligned image and text encoders, and how these similarities can be exploited for downstream tasks. Furthermore, we devise a caption matching downstream task and show using two novel methods that latent space communication between unaligned encoders could be achieved by leveraging the semantic similarities between the cross-modal spaces. Our contributions are:",
210
+ "bbox": [
211
+ 75,
212
+ 90,
213
+ 472,
214
+ 210
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "list",
220
+ "sub_type": "text",
221
+ "list_items": [
222
+ "- We present a matching method that seeks to find the permutation of the captions that maximizes the CKA (see Fig. 1). Hence, We formulate maximizing CKA as a quadratic assignment problem and introduce transformations and normalizations that greatly improve the matching performance.",
223
+ "- We propose a local CKA metric and use it to perform retrieval between two unaligned embedding spaces, demonstrating superior performance with that of relative representations [34] on the COCO caption image retrieval.",
224
+ "- The method is benchmarked on COCO, NoCaps [2] cross-domain caption and image retrieval as well ImageNet-100 [15] classification tasks despite our method not being optimized to align the representation in any manner demonstrating zero-shot communication between the encoder's latent spaces.",
225
+ "- Finally, we show a practical application of our method on cross-lingual image retrieval by making use of sentence transformers trained in various languages and a CLIP vision encoder trained only in English."
226
+ ],
227
+ "bbox": [
228
+ 76,
229
+ 214,
230
+ 468,
231
+ 515
232
+ ],
233
+ "page_idx": 1
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "2. Related Work",
238
+ "text_level": 1,
239
+ "bbox": [
240
+ 76,
241
+ 527,
242
+ 218,
243
+ 542
244
+ ],
245
+ "page_idx": 1
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "Recently, there has been an increasing consensus that good networks, when trained independently, learn general representations across different architectures and tasks. On the one hand, the works of [6, 22, 26, 33] show that these networks exhibit representation similarity by learning similar latent spaces when trained on similar tasks and data [3, 5, 11, 24, 32, 44, 46]. Specifically, [22] introduced centered kernel alignment (CKA) as a similarity metric for comparing the inner representations across networks. The CKA measure mitigates the limitation of canonical correlation analysis (CCA) [41] being invariant to an invertible linear transformation that often leads to difficulty in measuring meaningful similarities between representations. [48] uses CKA for comparing the representations from different layers of different language models and the effect of downstream task-finetuning on the representation similarities, while [6] utilizes CKA along with Procrustes similarity for understanding the ability of variational autoencoders (VAEs) [21] in learning disentangled representations. In general, these approaches study the representation similarity in unimodal models, either vision or language. Clearly, however, the use of CKA has been limited to visualization and analysis purposes, whereas we attempt at exploiting",
250
+ "bbox": [
251
+ 75,
252
+ 553,
253
+ 472,
254
+ 902
255
+ ],
256
+ "page_idx": 1
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "CKA as an optimization objective.",
261
+ "bbox": [
262
+ 500,
263
+ 90,
264
+ 730,
265
+ 106
266
+ ],
267
+ "page_idx": 1
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "Recent works [34, 35] employ relative representations to match embeddings of unaligned encoders using the cosine similarity to a set of anchors. However, these relative representations are sensitive to the selection of anchors and noise in the original embeddings. Similarly, approaches [4, 14] analyze networks and empirically verify the \"good networks learn similar representations\" hypothesis by utilizing model stitching [24], which introduces trainable stitching layers to enable swapping parts of different networks. LiMBeR [31] can be seen as stitching the output of an image encoder to the input of a language model in the form of soft prompts [25]. However, these approaches involve training of stitching layers for evaluating the representation similarity between two models.",
272
+ "bbox": [
273
+ 496,
274
+ 107,
275
+ 890,
276
+ 316
277
+ ],
278
+ "page_idx": 1
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "In this work, we argue that using an explicit similarity measure as done in [34, 35] is sensitive to the selection of anchors and noise in the original embeddings. One design choice is an implicit measure that captures the similarity of similarities, hence, inducing more robustness to the alignment process. Furthermore, we explore how this similarity can be leveraged for downstream cross-modal tasks in a training-free manner with the aid of CKA and a set of parallel anchors in the image and text latent embedding spaces.",
283
+ "bbox": [
284
+ 496,
285
+ 316,
286
+ 892,
287
+ 455
288
+ ],
289
+ "page_idx": 1
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "3. Preliminaries",
294
+ "text_level": 1,
295
+ "bbox": [
296
+ 500,
297
+ 467,
298
+ 637,
299
+ 482
300
+ ],
301
+ "page_idx": 1
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "Centered Kernel Alignment (CKA) has shown its relevance in understanding and comparing the information encoded by different layers of a neural network [22]. Formally, CKA relies on two sets of data $\\mathbf{X} \\in \\mathbb{R}^{p \\times N}$ and $\\mathbf{Y} \\in \\mathbb{R}^{q \\times N}$ through their corresponding kernels $\\mathbf{K} = k(\\mathbf{X}^{\\top}, \\mathbf{X}) \\in \\mathbb{R}^{N \\times N}$ and $\\mathbf{L} = \\ell(\\mathbf{Y}^{\\top}, \\mathbf{Y}) \\in \\mathbb{R}^{N \\times N}$ where $k, \\ell$ are some kernel functions applied on the columns of $\\mathbf{X}$ and $\\mathbf{Y}$ respectively (e.g., linear or RBF kernels). Therefore, the CKA is computed in terms of $\\mathbf{K}$ and $\\mathbf{L}$ as:",
306
+ "bbox": [
307
+ 496,
308
+ 492,
309
+ 890,
310
+ 628
311
+ ],
312
+ "page_idx": 1
313
+ },
314
+ {
315
+ "type": "equation",
316
+ "text": "\n$$\n\\operatorname {C K A} (\\mathbf {K}, \\mathbf {L}) = \\frac {\\operatorname {H S I C} (\\mathbf {K} , \\mathbf {L})}{\\sqrt {\\operatorname {H S I C} (\\mathbf {K} , \\mathbf {K}) \\operatorname {H S I C} (\\mathbf {L} , \\mathbf {L})}}, \\tag {1}\n$$\n",
317
+ "text_format": "latex",
318
+ "bbox": [
319
+ 540,
320
+ 638,
321
+ 890,
322
+ 676
323
+ ],
324
+ "page_idx": 1
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "where $\\mathrm{HSIC}(\\cdot ,\\cdot)$ is the Hilbert-Schmidt Independence Criterion [18, 30] defined as:",
329
+ "bbox": [
330
+ 496,
331
+ 686,
332
+ 890,
333
+ 715
334
+ ],
335
+ "page_idx": 1
336
+ },
337
+ {
338
+ "type": "equation",
339
+ "text": "\n$$\n\\operatorname {H S I C} (\\mathbf {K}, \\mathbf {L}) = \\frac {1}{(N - 1) ^ {2}} \\operatorname {t r} (\\mathbf {K C L C}), \\tag {2}\n$$\n",
340
+ "text_format": "latex",
341
+ "bbox": [
342
+ 560,
343
+ 726,
344
+ 890,
345
+ 758
346
+ ],
347
+ "page_idx": 1
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "with $\\mathbf{C} = \\mathbf{I} - \\frac{1}{N}\\mathbf{1}\\mathbf{1}^{\\top}$ the centring matrix. We refer the reader to [22] for broader properties and studies of the CKA metric on neural network representations.",
352
+ "bbox": [
353
+ 496,
354
+ 768,
355
+ 890,
356
+ 816
357
+ ],
358
+ "page_idx": 1
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "4. Proposed Method",
363
+ "text_level": 1,
364
+ "bbox": [
365
+ 500,
366
+ 829,
367
+ 671,
368
+ 847
369
+ ],
370
+ "page_idx": 1
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "Consider a set of $N$ image-caption pairs, $\\mathcal{S} = \\{(x_i, c_i)\\}_{i=1}^N$ , where $x_i \\in \\mathcal{X}$ and $c_i \\in \\mathcal{C}$ represent the $i$ -th image and its corresponding caption, respectively. In this",
375
+ "bbox": [
376
+ 500,
377
+ 854,
378
+ 890,
379
+ 901
380
+ ],
381
+ "page_idx": 1
382
+ },
383
+ {
384
+ "type": "page_number",
385
+ "text": "14335",
386
+ "bbox": [
387
+ 480,
388
+ 944,
389
+ 517,
390
+ 955
391
+ ],
392
+ "page_idx": 1
393
+ },
394
+ {
395
+ "type": "table",
396
+ "img_path": "images/01c510265a06745bf46d5c77278d92b23d89060ab907e763c2f3759386dc63c7.jpg",
397
+ "table_caption": [
398
+ "Table 1. CKA reduces with shuffling. We measure the CKA score between DINOv2 [37] and All-Roberta-large-v1 [28] on the 5k COCO [27] image-caption representations pairs of the valset. The exact ordering yields the best score, whereas randomly shuffling the representations reduces the CKA score."
399
+ ],
400
+ "table_footnote": [],
401
+ "table_body": "<table><tr><td>Shuffling (%)</td><td>0</td><td>20</td><td>40</td><td>60</td><td>80</td><td>100</td></tr><tr><td>CKA Score</td><td>0.72</td><td>0.46</td><td>0.27</td><td>0.13</td><td>0.04</td><td>0.01</td></tr></table>",
402
+ "bbox": [
403
+ 76,
404
+ 165,
405
+ 480,
406
+ 212
407
+ ],
408
+ "page_idx": 2
409
+ },
410
+ {
411
+ "type": "text",
412
+ "text": "particular example, we are performing caption-to-image retrieval, but it is applicable for the reverse as well. Let $\\pmb{f}:\\mathcal{X}\\mapsto \\mathbb{R}^{d_1}$ and $\\pmb {g}:\\mathcal{C}\\mapsto \\mathbb{R}^{d_2}$ denote some vision and language encoders respectively. The image-caption pairs are mapped into their corresponding sets of representations $\\mathbf{Z} = [z_{1},\\ldots ,z_{N}]\\in \\mathbb{R}^{d_{1}\\times N}$ and $\\mathbf{H} = [h_1,\\dots,h_N]\\in \\mathbb{R}^{d_2\\times N}$ , where $z_{i} = f(\\boldsymbol{x}_{i})$ and $h_i = g(c_i)$ .",
413
+ "bbox": [
414
+ 75,
415
+ 239,
416
+ 468,
417
+ 345
418
+ ],
419
+ "page_idx": 2
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "As shown in Table 1, the maximum CKA score is obtained on the ground-truth ordering of the representations $\\mathrm{CKA}_{\\mathrm{max}} = \\mathrm{CKA}(\\mathbf{K_Z},\\mathbf{K_H})$ , where $\\mathbf{K_Z}$ and $\\mathbf{K_H}$ are the kernels for the image and text representations, defined respectively as $\\mathbf{K_Z} = k(\\mathbf{Z}^\\top ,\\mathbf{Z})$ and $\\mathbf{K_H} = k(\\mathbf{H}^\\top ,\\mathbf{H})$ . We find that the CKA is sensitive to the data ordering. Specifically, we shuffle $x\\%$ of data to obtain wrong matches while keeping the remaining $100 - x\\%$ aligned, measure the CKA on each new data set, and observe that it monotonically decreases with random shuffling. This motivates our methodology for finding an optimal permutation of the image data that maximizes the CKA.",
424
+ "bbox": [
425
+ 75,
426
+ 345,
427
+ 470,
428
+ 525
429
+ ],
430
+ "page_idx": 2
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "Formally, let $\\sigma$ be some permutation of the set $\\{1,\\dots ,N\\}$ and denote $\\sigma (\\mathbf{Z}) = [z_{\\sigma (1)},\\dots ,z_{\\sigma (N)}]\\in$ $\\mathbb{R}^{d_1\\times N}$ the set of permuted image representations by $\\sigma$ . If $\\sigma$ is not identity, it disrupts the original ordering of the image representations leading to a lower CKA score as shown in Table 1. Therefore, our goal is to find a permutation $\\sigma^*$ that maximizes the CKA. Formally:",
435
+ "bbox": [
436
+ 76,
437
+ 525,
438
+ 468,
439
+ 633
440
+ ],
441
+ "page_idx": 2
442
+ },
443
+ {
444
+ "type": "equation",
445
+ "text": "\n$$\n\\sigma^ {*} = \\underset {\\sigma} {\\arg \\max } \\operatorname {C K A} \\left(\\mathbf {K} _ {\\sigma (\\mathbf {Z})}, \\mathbf {K} _ {\\mathbf {H}}\\right). \\tag {3}\n$$\n",
446
+ "text_format": "latex",
447
+ "bbox": [
448
+ 153,
449
+ 642,
450
+ 468,
451
+ 666
452
+ ],
453
+ "page_idx": 2
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "The solution to this problem seeks to realign the permuted set of images in a way that maximizes the CKA, potentially recovering the ground-truth pairing between images and their corresponding captions.",
458
+ "bbox": [
459
+ 75,
460
+ 672,
461
+ 468,
462
+ 734
463
+ ],
464
+ "page_idx": 2
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "To solve the aforementioned optimization problem, we explore two main approaches (visualized in Fig. 1): the Quadratic Assignment Problem (QAP) algorithm and Local CKA-based retrieval and matching. The QAP algorithm provides a global matching solution, seeking the optimal permutation across the query set considered. On the other hand, Local CKA-based retrieval and matching focuses on aligning images and captions using a localized metric, facilitating retrieval on a more granular level. This approach is more suitable where a single query image is given for a set of captions or vice versa.",
469
+ "bbox": [
470
+ 75,
471
+ 734,
472
+ 468,
473
+ 901
474
+ ],
475
+ "page_idx": 2
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "4.1. QAP Matching",
480
+ "text_level": 1,
481
+ "bbox": [
482
+ 500,
483
+ 90,
484
+ 653,
485
+ 107
486
+ ],
487
+ "page_idx": 2
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "For some random permutation $\\sigma$ , the optimization problem in Equation 3 can be reformulated as a quadratic optimization problem [45] which reads as:",
492
+ "bbox": [
493
+ 498,
494
+ 113,
495
+ 890,
496
+ 159
497
+ ],
498
+ "page_idx": 2
499
+ },
500
+ {
501
+ "type": "equation",
502
+ "text": "\n$$\n\\max _ {\\mathbf {P} \\in \\mathcal {P} _ {N}} \\operatorname {t r} \\left(\\mathbf {P} ^ {\\top} \\bar {\\mathbf {K}} _ {\\sigma (\\mathbf {Z})} \\mathbf {P} \\bar {\\mathbf {K}} _ {\\mathbf {H}}\\right), \\tag {4}\n$$\n",
503
+ "text_format": "latex",
504
+ "bbox": [
505
+ 598,
506
+ 169,
507
+ 890,
508
+ 195
509
+ ],
510
+ "page_idx": 2
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "where $\\mathcal{P}_N$ is the set of all permutation matrices of size $N$ and $\\bar{\\mathbf{K}} = \\mathrm{HSIC}(\\mathbf{K},\\mathbf{K})^{-\\frac{1}{2}}\\mathbf{K}\\mathbf{C}$ stands for the centered and re-scaled kernel. In principle, maximizing the above objective is a relaxation of a graph-matching problem. Moreover, finding a global maximum of Equation 4 is NP-hard due to the combinatorial nature of the problem and therefore optimizing it can lead to sub-optimal or approximate solutions.",
515
+ "bbox": [
516
+ 496,
517
+ 204,
518
+ 890,
519
+ 310
520
+ ],
521
+ "page_idx": 2
522
+ },
523
+ {
524
+ "type": "text",
525
+ "text": "To overcome the NP-hardness of QAP, in practice, we suppose that we have access to a base set $\\mathcal{B} = \\{(z_i^b,h_i^b)\\}_{i = 1}^M$ of image-caption representations pairs and solve an equivalent objective to Equation 4 only partially on some unmatched query set $\\mathcal{Q} = \\{z_i^q\\}_{i = 1}^N\\times \\{h_i^q\\}_{i = 1}^N$ using a seeded version of the fast QAP algorithm [17]. Formally, let $\\mathbf{Z} = [z_1^b,\\dots ,z_M^b,z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times (M + N)}$ and $\\mathbf{H} = [h_1^b,\\dots ,h_M^b,h_1^q,\\dots ,h_N^q ]\\in \\mathbb{R}^{d_2\\times (M + N)}$ be the matrix concatenating all base and query representations of images and captions respectively, and denote by $\\bar{\\mathbf{K}}_{\\mathbf{Z}},\\bar{\\mathbf{K}}_{\\mathbf{H}}\\in \\mathbb{R}^{(M + N)\\times (M + N)}$ the corresponding centered and re-scaled kernels. The partial matching for aligning the query samples is then performed by solving the following:",
526
+ "bbox": [
527
+ 498,
528
+ 311,
529
+ 892,
530
+ 507
531
+ ],
532
+ "page_idx": 2
533
+ },
534
+ {
535
+ "type": "equation",
536
+ "text": "\n$$\n\\max _ {\\mathbf {P} \\in \\mathcal {P} _ {N}} \\operatorname {t r} \\left(\\left(\\mathbf {I} _ {M} \\oplus \\mathbf {P}\\right) ^ {\\top} \\bar {\\mathbf {K}} _ {\\mathbf {Z}} \\left(\\mathbf {I} _ {M} \\oplus \\mathbf {P}\\right) \\bar {\\mathbf {K}} _ {\\mathbf {H}}\\right), \\tag {5}\n$$\n",
537
+ "text_format": "latex",
538
+ "bbox": [
539
+ 553,
540
+ 517,
541
+ 890,
542
+ 542
543
+ ],
544
+ "page_idx": 2
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "where $\\mathbf{I}_M\\oplus \\mathbf{P}\\in \\mathbb{R}^{(M + N)\\times (M + N)}$ stands for the blockdiagonal matrix having diagonal blocks $\\mathbf{I}_M$ and $\\mathbf{P}$",
549
+ "bbox": [
550
+ 496,
551
+ 553,
552
+ 890,
553
+ 585
554
+ ],
555
+ "page_idx": 2
556
+ },
557
+ {
558
+ "type": "text",
559
+ "text": "4.2. Local CKA based Retrieval and Matching",
560
+ "text_level": 1,
561
+ "bbox": [
562
+ 498,
563
+ 595,
564
+ 859,
565
+ 611
566
+ ],
567
+ "page_idx": 2
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "The concept of a global CKA metric is extended to derive local similarity measures suitable for retrieval. This process begins with a base set $\\mathcal{B} = \\{(z_i^b, h_i^b)\\}_{i=1}^M$ consisting of aligned pairs of images and captions representations. The objective is to facilitate caption-image retrieval/matching within an unaligned query set $\\mathcal{Q} = \\{z_i^q\\}_{i=1}^N \\times \\{h_i^q\\}_{i=1}^N$ .",
572
+ "bbox": [
573
+ 496,
574
+ 618,
575
+ 890,
576
+ 710
577
+ ],
578
+ "page_idx": 2
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "A local CKA score, denoted as $\\mathrm{localCKA}(z^q,h^q)$ for a couple $(z^{q},h^{q})\\in \\mathcal{Q}$ is calculated by computing a global CKA score for the image-caption pairs in $\\mathcal{B}$ , augmented with the query pair $(z^{q},h^{q})$ . The local CKA is computed as follows:",
583
+ "bbox": [
584
+ 496,
585
+ 709,
586
+ 890,
587
+ 784
588
+ ],
589
+ "page_idx": 2
590
+ },
591
+ {
592
+ "type": "equation",
593
+ "text": "\n$$\n\\operatorname {l o c a l C K A} \\left(\\boldsymbol {z} ^ {q}, \\boldsymbol {h} ^ {q}\\right) = \\operatorname {C K A} \\left(\\mathbf {K} _ {[ \\mathbf {Z}, \\boldsymbol {z} ^ {q} ]}, \\mathbf {K} _ {[ \\mathbf {H}, \\boldsymbol {h} ^ {q} ]}\\right), \\tag {6}\n$$\n",
594
+ "text_format": "latex",
595
+ "bbox": [
596
+ 526,
597
+ 796,
598
+ 890,
599
+ 815
600
+ ],
601
+ "page_idx": 2
602
+ },
603
+ {
604
+ "type": "text",
605
+ "text": "where $[\\mathbf{M},\\pmb {v}]$ denotes the concatenation of the matrix $\\mathbf{M}$ and the vector $\\pmb{v}$ column-wise and $\\mathbf{Z} = [z_1^b,\\dots ,z_M^b ]\\in$ $\\mathbb{R}^{d_1\\times M}$ and $\\mathbf{H} = [h_1^b,\\dots ,h_M^b ]\\in \\mathbb{R}^{d_2\\times M}$ . In essence, a correctly matched image-caption pair in $\\mathcal{Q}$ would exhibit a higher degree of alignment with the base set $\\mathcal{B}$ in terms of",
606
+ "bbox": [
607
+ 496,
608
+ 824,
609
+ 893,
610
+ 901
611
+ ],
612
+ "page_idx": 2
613
+ },
614
+ {
615
+ "type": "page_number",
616
+ "text": "14336",
617
+ "bbox": [
618
+ 480,
619
+ 944,
620
+ 519,
621
+ 955
622
+ ],
623
+ "page_idx": 2
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "the CKA score, resulting in an elevated localCKA score. This metric can be used to calculate a score between one source query and $N$ target queries enabling effective retrieval. Furthermore, this framework allows for the use of linear sum assignment [23] for matching tasks.",
628
+ "bbox": [
629
+ 75,
630
+ 90,
631
+ 470,
632
+ 167
633
+ ],
634
+ "page_idx": 3
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "4.3. Stretching and Clustering",
639
+ "text_level": 1,
640
+ "bbox": [
641
+ 76,
642
+ 176,
643
+ 312,
644
+ 193
645
+ ],
646
+ "page_idx": 3
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "The choice of base samples and the spread of the representations in each embedding space affect the performance of the QAP and Local CKA algorithms. To spread the representations out in each domain for matching, we introduce a stretching matrix that normalizes the features of each dimension by the variance calculated from the query and base sets. Given $\\mathbf{X} = [\\pmb{x}_1,\\dots ,\\pmb{x}_d]^{\\top}\\in \\mathbb{R}^{d\\times N}$ , the stretched matrix $\\mathbf{X}_s$ is computed as $\\mathbf{X}_s = \\mathbf{S}\\mathbf{X}$ , where the stretching matrix $\\mathbf{S}\\in \\mathbb{R}^{d\\times d}$ is a diagonal matrix with inverse empirical standard deviation of the feature dimension as entries, i.e., $\\mathbf{S} = \\mathrm{diag}\\left(\\frac{1}{\\mathrm{std}(\\pmb{x}_1)},\\dots ,\\frac{1}{\\mathrm{std}(\\pmb{x}_d)}\\right)$ and $\\pmb{x}_i\\in \\mathbb{R}^N$ is the $i^{th}$ row of $\\mathbf{X}$ . This stretching operation is performed for both the image and text before calculating the kernels for both QAP and local CKA matching algorithms. For picking the most effective base samples, we find that the simple $k$ -means clustering on the image embeddings works best. An ablation on how these affect the QAP and local CKA matching and retrieval accuracies is provided in Sec 7.",
651
+ "bbox": [
652
+ 75,
653
+ 199,
654
+ 472,
655
+ 479
656
+ ],
657
+ "page_idx": 3
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "5. Experiments",
662
+ "text_level": 1,
663
+ "bbox": [
664
+ 76,
665
+ 494,
666
+ 209,
667
+ 511
668
+ ],
669
+ "page_idx": 3
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "We assess the performance of the proposed method using various vision and language encoders on a set of downstream tasks. We first detail the encoders, datasets, downstream tasks, and the baselines used.",
674
+ "bbox": [
675
+ 75,
676
+ 518,
677
+ 468,
678
+ 580
679
+ ],
680
+ "page_idx": 3
681
+ },
682
+ {
683
+ "type": "text",
684
+ "text": "5.1. Vision and Language Encoders",
685
+ "text_level": 1,
686
+ "bbox": [
687
+ 76,
688
+ 589,
689
+ 352,
690
+ 606
691
+ ],
692
+ "page_idx": 3
693
+ },
694
+ {
695
+ "type": "text",
696
+ "text": "The experimental setup covers vision encoders of different architectures, such as ViTs [16] and ConvNeXt [29], trained in various ways: supervised, language-supervised, and self-supervised, across different training data regimes. For the language encoder, an encoder capable of producing a global embedding for a caption is essential. This includes encoders of multiple architectures varying in size, languages, and training data sizes. The Huggingface's sentence-transformers [43] library is utilized, where each sentence transformer is first pre-trained on the masked language modeling task using a large text corpus, followed by a finetuning stage on a sentence pairs dataset with a contrastive loss. It's not straightforward to acquire a global sentence embedding from decoder-only models like GPT models [7, 39], hence we did not study the semantic alignment of these class of models to vision encoders.",
697
+ "bbox": [
698
+ 75,
699
+ 613,
700
+ 468,
701
+ 853
702
+ ],
703
+ "page_idx": 3
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "The CKA and Matching Score (MS) of the various combinations of vision and language encoders are reported in supplementary. The findings indicate that the All-Roberta",
708
+ "bbox": [
709
+ 75,
710
+ 854,
711
+ 468,
712
+ 900
713
+ ],
714
+ "page_idx": 3
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "large-v1 [28] demonstrates the best CKA/MS across all vision models, establishing it as the primary language encoder for subsequent tasks, unless specified otherwise.",
719
+ "bbox": [
720
+ 496,
721
+ 90,
722
+ 890,
723
+ 137
724
+ ],
725
+ "page_idx": 3
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "5.2. Baselines",
730
+ "text_level": 1,
731
+ "bbox": [
732
+ 500,
733
+ 147,
734
+ 607,
735
+ 161
736
+ ],
737
+ "page_idx": 3
738
+ },
739
+ {
740
+ "type": "text",
741
+ "text": "Here, we briefly describe three baselines that we compare our methods against for caption matching/retrieval, image classification, and cross-lingual tasks.",
742
+ "bbox": [
743
+ 496,
744
+ 170,
745
+ 890,
746
+ 215
747
+ ],
748
+ "page_idx": 3
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "Linear Regression: We propose a baseline that learns a linear transformation from the image embedding space to the text using $M$ aligned base examples and apply the transformation to the query image embeddings. Concretely, given query image embeddings $\\mathbf{Z}^q = [z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times N}$ and text embeddings $\\mathbf{H}^q = [h_1^q,\\dots ,h_N^q ]\\in \\mathbb{R}^{d_2\\times N}$ , and a set of aligned base samples $\\mathbf{Z}^b = [z_1^b,\\dots ,z_N^b ]\\in \\mathbb{R}^{d_1\\times M}$ and $\\mathbf{H}^b = [h_1^b,\\dots ,h_N^b ]\\in \\mathbb{R}^{d_2\\times M}$ , we first construct a linear transformation between $\\mathbf{Z}^b$ and $\\mathbf{H}^b$ by minimizing the MSE loss as $\\mathbf{W} = \\arg \\min_{\\mathbf{W}}\\| \\mathbf{W}^\\top \\mathbf{Z}^b -\\mathbf{H}^b\\| _F^2$ . Then we use $\\mathbf{W}$ to transform the query image embeddings $\\mathbf{Z}^q$ to the text domain as $\\hat{\\mathbf{H}}^q = \\mathbf{W}^\\top \\mathbf{Z}^q$ . Cosine similarity on $\\hat{\\mathbf{H}}^q$ and $\\mathbf{H}^q$ can be used to perform caption retrieval.",
753
+ "bbox": [
754
+ 496,
755
+ 215,
756
+ 892,
757
+ 412
758
+ ],
759
+ "page_idx": 3
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "Relative Representations [34]: enable latent space communication between unaligned encoders by representing each query point relative to an aligned base set. Concretely, let $\\ell_2$ -normalized embeddings for image and text queries be $\\mathbf{Z}^q = [z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times N}$ and $\\mathbf{H} = [h_1^q,\\dots ,h_N^q ]\\in$ $\\mathbb{R}^{d_2\\times N}$ , respectively. Utilizing a set of aligned base sample $\\ell_2$ -normalized embeddings $\\mathbf{Z}^b = [z_1^b,\\dots ,z_M^b ]\\in \\mathbb{R}^{d_1\\times M}$ and $\\mathbf{H}^b = [h_1^b,\\dots ,h_M^b ]\\in \\mathbb{R}^{d_2\\times M}$ , we can construct relative image and text query representations as $\\mathbf{Z}_{rel}^q = (\\mathbf{Z}^b)^\\top \\mathbf{Z}^q$ and $\\mathbf{H}_{rel}^q = (\\mathbf{H}^b)^\\top \\mathbf{H}^q$ . Relative representations are a single vector of dimension $M$ for each query specifying the cosine similarity of a query sample with all the base samples. Now we can use the cosine similarity on the relative representations to perform retrieval. Sec D in appendix provides a further comparison with our method.",
764
+ "bbox": [
765
+ 496,
766
+ 412,
767
+ 892,
768
+ 638
769
+ ],
770
+ "page_idx": 3
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "CLIP [40]: We also compare against CLIP which has been contrastively trained to obtain a joint embedding space- as an upper limit on performance for both retrieval and matching tasks. We perform retrieval using cosine similarity",
775
+ "bbox": [
776
+ 496,
777
+ 638,
778
+ 890,
779
+ 700
780
+ ],
781
+ "page_idx": 3
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "For all 3 methods, caption matching can be achieved by constructing a cost matrix using cosine similarities and using linear sum assignment to find the permutation matrix.",
786
+ "bbox": [
787
+ 496,
788
+ 700,
789
+ 890,
790
+ 744
791
+ ],
792
+ "page_idx": 3
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "5.3. Downstream Tasks",
797
+ "text_level": 1,
798
+ "bbox": [
799
+ 500,
800
+ 756,
801
+ 681,
802
+ 770
803
+ ],
804
+ "page_idx": 3
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "Caption Matching: Given $N$ query images and their corresponding captions, a query set is constructed by shuffling the captions. The task involves finding the correct permutation over captions for perfect matching. In Retrieval, the objective is, given one caption, to retrieve the correct image from the overall set of $N$ images. The alignment between unaligned vision and text encoders is investigated using our methods on the COCO and NoCaps validation sets.",
809
+ "bbox": [
810
+ 496,
811
+ 779,
812
+ 890,
813
+ 900
814
+ ],
815
+ "page_idx": 3
816
+ },
817
+ {
818
+ "type": "page_number",
819
+ "text": "14337",
820
+ "bbox": [
821
+ 480,
822
+ 944,
823
+ 517,
824
+ 955
825
+ ],
826
+ "page_idx": 3
827
+ },
828
+ {
829
+ "type": "table",
830
+ "img_path": "images/50d6f2bf5c84654daae3959f82065b123147f5b2475efd7a7877ee7336e7cf9c.jpg",
831
+ "table_caption": [
832
+ "Table 2. Caption matching and retrieval task performance comparison in cross-domain and in-domain settings. Base samples from COCO are utilized for matching/retrieval tasks on queries from NoCaps (cross-domain) and COCO (in-domain). CLIP-V denotes the vision encoder of CLIP [40]. We use the Large version of all vision encoders. Table A.5 shows the reverse setting."
833
+ ],
834
+ "table_footnote": [],
835
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Vision Model</td><td colspan=\"2\">NoCaps [2]</td><td colspan=\"2\">COCO [27]</td></tr><tr><td>Matching accuracy</td><td>Top-5 retrieval</td><td>Matching accuracy</td><td>Top-5 retrieval</td></tr><tr><td>Cosine Similarity*</td><td>CLIP [40]</td><td>99.5</td><td>99.6</td><td>97.1</td><td>96.1</td></tr><tr><td rowspan=\"3\">Linear regression</td><td>CLIP-V [40]</td><td>29.3</td><td>44.7</td><td>42.7</td><td>59.1</td></tr><tr><td>ConvNeXt [47]</td><td>19.0</td><td>28.5</td><td>31.3</td><td>46.1</td></tr><tr><td>DINOv2 [37]</td><td>38.1</td><td>50.3</td><td>45.1</td><td>65.4</td></tr><tr><td rowspan=\"3\">Relative representations [34]</td><td>CLIP-V [40]</td><td>61.3</td><td>37.6</td><td>61.6</td><td>41.3</td></tr><tr><td>ConvNeXt [47]</td><td>25.5</td><td>17.8</td><td>38.6</td><td>34.1</td></tr><tr><td>DINOv2 [37]</td><td>46.0</td><td>46.4</td><td>47.7</td><td>52.3</td></tr><tr><td rowspan=\"3\">Ours: QAP</td><td>CLIP-V [40]</td><td>67.3</td><td>-</td><td>72.3</td><td>-</td></tr><tr><td>ConvNeXt [47]</td><td>46.7</td><td>-</td><td>66.1</td><td>-</td></tr><tr><td>DINOv2 [37]</td><td>57.7</td><td>-</td><td>66.0</td><td>-</td></tr><tr><td rowspan=\"3\">Ours: Local CKA</td><td>CLIP-V [40]</td><td>65.1</td><td>60.5</td><td>71.9</td><td>69.9</td></tr><tr><td>ConvNeXt [47]</td><td>43.7</td><td>44.4</td><td>64.8</td><td>65.5</td></tr><tr><td>DINOv2 [37]</td><td>58.7</td><td>61.8</td><td>64.3</td><td>70.5</td></tr></table>",
836
+ "bbox": [
837
+ 86,
838
+ 136,
839
+ 883,
840
+ 385
841
+ ],
842
+ "page_idx": 4
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "The COCO dataset [27] comprises over 120,000 images with multiple captions per image. It is used for testing unimodal representation quality via a caption-matching task, utilizing a validation set of 5,000 image-caption pairs. The NoCaps dataset [2] is designed for testing image captioning models on unseen objects, with 166,100 captions for 15,100 images from OpenImages. Its validation set includes novel concepts absent from COCO.",
847
+ "bbox": [
848
+ 75,
849
+ 409,
850
+ 470,
851
+ 530
852
+ ],
853
+ "page_idx": 4
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "Cross-lingual Caption Matching/Retrieval: The task mirrors prior matching and retrieval but uses multilingual captions, say German. Given $N$ images and shuffled German captions, the objective is to match each image with the correct caption. In retrieval, the goal is to select the most fitting German caption for a given query image from the set.",
858
+ "bbox": [
859
+ 75,
860
+ 532,
861
+ 468,
862
+ 625
863
+ ],
864
+ "page_idx": 4
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "The XTD-10 dataset [1] enhances COCO2014 with 1,000 human-annotated multi-lingual captions in ten languages for cross-lingual image retrieval and tagging, serving as a zero-shot model benchmark.",
869
+ "bbox": [
870
+ 76,
871
+ 625,
872
+ 470,
873
+ 686
874
+ ],
875
+ "page_idx": 4
876
+ },
877
+ {
878
+ "type": "text",
879
+ "text": "ImageNet-100 Classification. The task setup is similar to the conventional classification task with small differences to account for the methods used. Given $N$ query images and their corresponding classes, image representations are obtained by processing them through a vision encoder. In parallel, textual representations are generated in a multi-step process. Initially, several text captions are derived from the class-associated Wordnet synsets' lemmas, definitions, and hypernyms. These captions are then passed through the language encoder and averaged to get the text representations. The classification task is performed by retrieving the closest text representations to each image representation using our local CKA metric. We employ the ImageNet-100 dataset. This dataset is a subset of the larger ImageNet dataset, fea",
880
+ "bbox": [
881
+ 75,
882
+ 688,
883
+ 470,
884
+ 902
885
+ ],
886
+ "page_idx": 4
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "turing only 100 classes. It includes 130,000 training images, 50,000 validation images, and 100 classes.",
891
+ "bbox": [
892
+ 498,
893
+ 409,
894
+ 890,
895
+ 440
896
+ ],
897
+ "page_idx": 4
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "5.4. Results",
902
+ "text_level": 1,
903
+ "bbox": [
904
+ 500,
905
+ 452,
906
+ 591,
907
+ 467
908
+ ],
909
+ "page_idx": 4
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "Importance of Good Initialization: For all tasks, we make use of a set of base samples of size $S$ that is kept fixed at 320 samples. The size of the query set is analogously fixed at 500 samples (see Sec ?? for more details). These base samples are selected after clustering the image embeddings and choosing one closest sample to each of the $S$ cluster centers. By aligning the initial samples with the diverse cluster centers, we ensure sufficient coverage of the sample space. This enhances the accuracy of the matching process, as the initial alignment closely mirrors the inherent structure and variability within the data. In the case of linear regression, uniform sampling is employed to select the base samples. For relative representations [34], the same clustering methodology is applied to select base samples, ensuring a fair and consistent comparison between all methods.",
914
+ "bbox": [
915
+ 496,
916
+ 476,
917
+ 890,
918
+ 702
919
+ ],
920
+ "page_idx": 4
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "COCO and NoCaps Caption Matching: We present the results of cross-domain and in-domain caption matching/retrieval, as detailed in Table 2. We tested each baseline against three different vision models, while employing a consistent language model—specifically, the all-roberta-large-v1. The vision models utilized are OpenAI's CLIP ViT-L/14, the ConvNeXT-Base model (trained on the ImageNet-22k dataset at a resolution of $224\\mathrm{x}224$ ), and the ViT-L/14 model trained using the DINOv2 method. It is important to note that the first row of the results table features vision and language models both being OpenAI's CLIP ViT-L/14. To effectively analyze cross-domain capabilities, our experiment design involved the use of the COCO",
925
+ "bbox": [
926
+ 496,
927
+ 704,
928
+ 893,
929
+ 901
930
+ ],
931
+ "page_idx": 4
932
+ },
933
+ {
934
+ "type": "page_number",
935
+ "text": "14338",
936
+ "bbox": [
937
+ 480,
938
+ 944,
939
+ 517,
940
+ 955
941
+ ],
942
+ "page_idx": 4
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "validation set as the source of the base set and the NoCaps validation set for querying. Additionally, in-domain results are shown, when using COCO validation for both base and queries. We uniformly sample the query set and average the results over three different seeds. Although CLIP's cosine similarity metric emerges as the most robust due to the training paradigm inherent in CLIP models, our methods demonstrate commendable performance without necessitating any training. The DINOv2 model, trained solely through self-supervision, demonstrates the formation of semantic concepts independently of language supervision. This is evident in its remarkable top-5 retrieval scores of $70.5\\%$ and $61.8\\%$ on COCO and NoCaps datasets when coupled with an unaligned language encoder through our Local Kernel CKA method. However, the best-performing vision encoder is CLIP's vision encoder which has been trained using language supervision.",
947
+ "bbox": [
948
+ 75,
949
+ 90,
950
+ 472,
951
+ 348
952
+ ],
953
+ "page_idx": 5
954
+ },
955
+ {
956
+ "type": "text",
957
+ "text": "ImageNet-100 Classification: In Table 3, we detail the performance of our methods on the ImageNet-100 classification task. Mirroring our approach in cross-domain matching and retrieval, we evaluated three different vision models for each method. Notably, the first row of the table highlights the performance using CLIP's embedding cosine similarity. The results are averaged over three different seeds for sampling the query set. A significant observation from this table is the comparatively narrower performance gap between the CLIP's cosine similarity and our methods, as well as the baseline linear regression method, in contrast to the results observed in cross-domain caption matching/retrieval tasks.",
958
+ "bbox": [
959
+ 75,
960
+ 349,
961
+ 472,
962
+ 532
963
+ ],
964
+ "page_idx": 5
965
+ },
966
+ {
967
+ "type": "text",
968
+ "text": "It is interesting that ConvNeXt encoder trained on ImageNet has a classification top1 accuracy improvement of over $14\\%$ compared to CLIP and Dinov2 while on the caption matching task DinoV2 and CLIP perform much better.",
969
+ "bbox": [
970
+ 75,
971
+ 534,
972
+ 472,
973
+ 595
974
+ ],
975
+ "page_idx": 5
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "Cross-lingual Caption Retrieval: The results of cross-lingual caption matching/retrieval are presented in Table 4 for the 10 languages in the XTD-dataset. OpenAI CLIP's ViT-L vision encoder, trained on English image-caption pairs, and a multilingual sentence transformer paraphrase-multilingual-mpnet-base-v2 were utilized for this task. The accuracy of CLIP's cosine retrieval method exhibits a significant drop when applied to languages other than English. E.g., CLIP's retrieval at 5 experiences a drop of 30 points when switching from English to other Latin-alphabet languages (Spanish, French, German, and Italian). For non-Latin alphabet languages such as Korean, Chinese, Turkish, etc., CLIP's performance decreases substantially, collapsing to zero, primarily due to most words resulting in unknown tokens. In contrast, the QAP and local CKA matching methods demonstrate consistent performance across all languages, including non-Latin languages, attributing to the robustness of a multilingual sentence transformer trained solely on text. On average, QAP surpasses CLIP by $12\\%$ in the caption matching task and also outperforms other",
980
+ "bbox": [
981
+ 75,
982
+ 598,
983
+ 472,
984
+ 902
985
+ ],
986
+ "page_idx": 5
987
+ },
988
+ {
989
+ "type": "table",
990
+ "img_path": "images/652558e951f3dd2376e4c5b59b6476e0a864fe4e08f09aea5677813de1e5802a.jpg",
991
+ "table_caption": [
992
+ "Table 3. ImageNet-100 classification performance comparison. We observe a narrow performance gap between the CLIP model and our methods. CLIP-V denotes the vision encoder of CLIP."
993
+ ],
994
+ "table_footnote": [],
995
+ "table_body": "<table><tr><td>Method</td><td>Vision Model</td><td>Top 1</td><td>Top 5</td></tr><tr><td>Cosine Similarity*</td><td>CLIP</td><td>86.1</td><td>99.2</td></tr><tr><td rowspan=\"3\">Linear Regression</td><td>CLIP-V</td><td>76.1</td><td>93.0</td></tr><tr><td>ConvNeXt</td><td>84.5</td><td>95.4</td></tr><tr><td>DINOv2</td><td>73.5</td><td>92.1</td></tr><tr><td rowspan=\"3\">Relative representations [34]</td><td>CLIP-V</td><td>8.90</td><td>30.3</td></tr><tr><td>ConvNeXt</td><td>7.20</td><td>15.7</td></tr><tr><td>DINOv2</td><td>49.7</td><td>75.5</td></tr><tr><td rowspan=\"3\">Local CKA</td><td>CLIP-V</td><td>68.7</td><td>91.2</td></tr><tr><td>ConvNeXt</td><td>83.3</td><td>95.8</td></tr><tr><td>DINOv2</td><td>67.7</td><td>88.3</td></tr></table>",
996
+ "bbox": [
997
+ 506,
998
+ 135,
999
+ 885,
1000
+ 321
1001
+ ],
1002
+ "page_idx": 5
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "bases like relative representations and linear regression methods. For retrieval at 5, the local CKA-based method exceeds CLIP's performance by over $17\\%$ .",
1007
+ "bbox": [
1008
+ 496,
1009
+ 335,
1010
+ 890,
1011
+ 381
1012
+ ],
1013
+ "page_idx": 5
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "It is possible to push the performance further by using language-specific sentence encoders and we report these results for a few languages in Sec ?? of supplementary. This is a practical application of our method as we can now turn a well-trained English CLIP model's vision encoder into a CLIP model for any low-resource language if a text-only Sentence Transformer trained on that language is available.",
1018
+ "bbox": [
1019
+ 496,
1020
+ 382,
1021
+ 890,
1022
+ 489
1023
+ ],
1024
+ "page_idx": 5
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "5.5. Matching complexity",
1029
+ "text_level": 1,
1030
+ "bbox": [
1031
+ 498,
1032
+ 513,
1033
+ 697,
1034
+ 531
1035
+ ],
1036
+ "page_idx": 5
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "In Table 5, we go over the time complexity and runtimes of QAP matching and local CKA based retrieval in comparison to the other baselines for matching when number of base samples and query samples are 320, 500 respectively. For all time complexities, we assume number of base samples $m$ to be of the order of the number of query samples $n$ . QAP uses the seeded version of the fast QAP algorithm from the SciPy library, which has a worst time complexity of $\\mathcal{O}(n^3)$ [17], while local CKA retrieval requires constructing a graph over all the query image and text pairs, $\\mathcal{O}(n^2)$ , using local CKA, which is also $\\mathcal{O}(n^2)$ resulting in $\\mathcal{O}(n^4)$ . Relative involves the calculation of the relative representations for every query image and text pair, resulting in a time complexity of $\\mathcal{O}(n^2)$ , but it's fast due to highly optimized algorithms for matrix multiplications in PyTorch [38]. Linear has a time complexity of $\\mathcal{O}(nd)$ , where $n$ is the number of samples and $d$ is the number of dimensions. It is to be noted that QAP runs on the CPU, and a CUDA-optimized version could bring the runtimes further down from 40 seconds. An efficient implementation of Local Kernel CKA is also possible, where the CKA of base samples is recalculated, and the graph is constructed in an additive manner, which would bring down the time complexity to $\\mathcal{O}(n^3)$ . For both relative and linear matching, we make use of SciPy's",
1041
+ "bbox": [
1042
+ 496,
1043
+ 537,
1044
+ 893,
1045
+ 902
1046
+ ],
1047
+ "page_idx": 5
1048
+ },
1049
+ {
1050
+ "type": "page_number",
1051
+ "text": "14339",
1052
+ "bbox": [
1053
+ 480,
1054
+ 944,
1055
+ 519,
1056
+ 955
1057
+ ],
1058
+ "page_idx": 5
1059
+ },
1060
+ {
1061
+ "type": "table",
1062
+ "img_path": "images/befef63e9ce51c2cc219fecdcde38c5d57bdf5c3977979175fd67c5a86039b13.jpg",
1063
+ "table_caption": [
1064
+ "Table 4. Cross-Lingual caption matching and retrieval performance comparison. Using QAP and local CKA-based methods we are able to do cross-lingual caption matching/retrieval using CLIP's ViT-L vision encoder and a multi-lingual sentence transformer paraphrase-multilingual-mpnet-base-v2. While CLIP performs well on the Latin languages, it degrades on non-Latin languages. In comparison, our QAP and Local-CKA-based methods perform comparably in Latin languages while outperforming non-Latin languages, highlighting the efficacy of our training-free transfer approach. See Table A.6 and Table A.7 in appendix for additional results."
1065
+ ],
1066
+ "table_footnote": [],
1067
+ "table_body": "<table><tr><td rowspan=\"2\">Language</td><td></td><td colspan=\"2\">Kernel CKA</td><td colspan=\"4\">Matching Accuracy</td><td colspan=\"2\">Retrieval @ 5</td></tr><tr><td></td><td>CLIP</td><td>Ours</td><td>CLIP</td><td>Relative[34]</td><td>Linear</td><td>Ours (QAP)</td><td>CLIP</td><td>Ours (Local)</td></tr><tr><td rowspan=\"5\">Latin</td><td>de</td><td>0.472</td><td>0.627</td><td>41.8</td><td>35.0</td><td>34.0</td><td>39.6</td><td>65.1</td><td>56.7</td></tr><tr><td>en</td><td>0.567</td><td>0.646</td><td>81.5</td><td>52.5</td><td>40.9</td><td>51.6</td><td>92.5</td><td>69.0</td></tr><tr><td>es</td><td>0.471</td><td>0.634</td><td>50.2</td><td>37.8</td><td>31.7</td><td>41.4</td><td>68.5</td><td>61.6</td></tr><tr><td>fr</td><td>0.477</td><td>0.624</td><td>49.4</td><td>37.5</td><td>30.7</td><td>40.2</td><td>68.7</td><td>57.6</td></tr><tr><td>it</td><td>0.472</td><td>0.638</td><td>41.0</td><td>37.2</td><td>34.9</td><td>38.5</td><td>61.3</td><td>59.7</td></tr><tr><td rowspan=\"6\">Non-Latin</td><td>jp</td><td>0.337</td><td>0.598</td><td>13.2</td><td>28.3</td><td>23.5</td><td>30.5</td><td>30.0</td><td>49.4</td></tr><tr><td>ko</td><td>0.154</td><td>0.620</td><td>0.50</td><td>30.4</td><td>23.5</td><td>30.9</td><td>3.30</td><td>53.4</td></tr><tr><td>pl</td><td>0.261</td><td>0.642</td><td>5.40</td><td>36.6</td><td>30.2</td><td>40.2</td><td>18.8</td><td>59.5</td></tr><tr><td>ru</td><td>0.077</td><td>0.632</td><td>0.80</td><td>31.9</td><td>30.7</td><td>35.1</td><td>4.10</td><td>53.2</td></tr><tr><td>tr</td><td>0.301</td><td>0.624</td><td>4.30</td><td>35.8</td><td>29.6</td><td>38.9</td><td>15.2</td><td>59.3</td></tr><tr><td>zh</td><td>0.133</td><td>0.641</td><td>2.70</td><td>36.5</td><td>31.1</td><td>40.3</td><td>8.90</td><td>57.8</td></tr><tr><td></td><td>Avg.</td><td>-</td><td>-</td><td>26.4</td><td>36.3</td><td>30.9</td><td>38.8</td><td>39.6</td><td>57.9</td></tr></table>",
1068
+ "bbox": [
1069
+ 117,
1070
+ 164,
1071
+ 854,
1072
+ 404
1073
+ ],
1074
+ "page_idx": 6
1075
+ },
1076
+ {
1077
+ "type": "image",
1078
+ "img_path": "images/0c5e4167247b8ae0664f7c20880584702e9a7e7bb8905f0bad5225ff409afd05.jpg",
1079
+ "image_caption": [
1080
+ "Figure 2. Kernel CKA and QAP Matching accuracy are correlated with the training set size and quality of the training set. Here the language encoder is kept constant to the best BERT-sentence encoder (i.e. All-Roberta-large-v1). There is a clear correlation between CKA and QAP Matching accuracy across all architectures, training paradigm and data regimes."
1081
+ ],
1082
+ "image_footnote": [],
1083
+ "bbox": [
1084
+ 81,
1085
+ 419,
1086
+ 491,
1087
+ 684
1088
+ ],
1089
+ "page_idx": 6
1090
+ },
1091
+ {
1092
+ "type": "image",
1093
+ "img_path": "images/3bae5b0be1ff6005ed0f7b6cbe2f62a919c049d9b492bbfbd037da2d6ae465bf.jpg",
1094
+ "image_caption": [],
1095
+ "image_footnote": [],
1096
+ "bbox": [
1097
+ 500,
1098
+ 419,
1099
+ 887,
1100
+ 683
1101
+ ],
1102
+ "page_idx": 6
1103
+ },
1104
+ {
1105
+ "type": "table",
1106
+ "img_path": "images/8a2cd730f3dada133c86e1cfe6543bd1df0de86fe9c687cec7a994c094521bf4.jpg",
1107
+ "table_caption": [
1108
+ "Table 5. Run times for different methods"
1109
+ ],
1110
+ "table_footnote": [],
1111
+ "table_body": "<table><tr><td>Method</td><td>QAP</td><td>Local CKA</td><td>Relative</td><td>Linear</td></tr><tr><td>Run times</td><td>40 seconds</td><td>5 mins</td><td>1 second</td><td>1 second</td></tr><tr><td>Complexity</td><td>O(n3)</td><td>O(n4)</td><td>O(n2)</td><td>O(n × d)</td></tr></table>",
1112
+ "bbox": [
1113
+ 78,
1114
+ 790,
1115
+ 468,
1116
+ 839
1117
+ ],
1118
+ "page_idx": 6
1119
+ },
1120
+ {
1121
+ "type": "text",
1122
+ "text": "modified Jonker-Volgenant algorithm [13] for linear sum assignment, which has the worst time complexity of $\\mathcal{O}(n^3)$ .",
1123
+ "bbox": [
1124
+ 76,
1125
+ 869,
1126
+ 468,
1127
+ 902
1128
+ ],
1129
+ "page_idx": 6
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "6. Analysis",
1134
+ "text_level": 1,
1135
+ "bbox": [
1136
+ 500,
1137
+ 765,
1138
+ 596,
1139
+ 782
1140
+ ],
1141
+ "page_idx": 6
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "This section focuses on how training paradigms, data regimes, and encoder size/architecture influence a vision encoder's ability to represent the world similarly to a language encoder. This is assessed by comparing the semantic alignment of their representation spaces using CKA as well as QAP matching accuracy. Figure 2 compares the kernel CKA and caption matching accuracy of different vision",
1146
+ "bbox": [
1147
+ 496,
1148
+ 794,
1149
+ 893,
1150
+ 902
1151
+ ],
1152
+ "page_idx": 6
1153
+ },
1154
+ {
1155
+ "type": "page_number",
1156
+ "text": "14340",
1157
+ "bbox": [
1158
+ 480,
1159
+ 944,
1160
+ 519,
1161
+ 955
1162
+ ],
1163
+ "page_idx": 6
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "encoders with a fixed text-encoder (i.e., All-Roberta-large-v1), against the training datasets on which the vision encoder was trained for all pairs in the COCO captions validation set. The findings are summarized below:",
1168
+ "bbox": [
1169
+ 75,
1170
+ 90,
1171
+ 467,
1172
+ 150
1173
+ ],
1174
+ "page_idx": 7
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Scale and quality of dataset results in encoders with high semantic alignment with the language space: It is observed that SSL methods like DINOv2 can learn semantic concepts in a relative manner even without language supervision during training. The CKA and QAP matching accuracy for DINOv2 embeddings are comparable to CLIP models, despite lacking language supervision and having significantly less data (LVD-142's 142M vs Open-AI-CLIP's 400M). A general trend emerges where more training data leads to semantically richer visual embeddings, evident when comparing CKA and QAP Accuracies from ImageNet1K to DFN-5B datasets. Notably, training on a curated dataset proves more effective than on an uncurated dataset of the same size, especially for smaller models. This is illustrated by the higher CKA and QAP accuracy of ViT-Large trained on the curated DFN-2B dataset compared to ViT-Large/Giant, and ConvNext-xxLarge trained on Laion 2B. Additionally, SSL methods show less semantic consistency when trained on ImageNet1K, as indicated by the clear difference in QAP accuracies between DINO trained on ImageNet1K and DINOv2 trained on LVD-142M.",
1179
+ "bbox": [
1180
+ 75,
1181
+ 151,
1182
+ 467,
1183
+ 467
1184
+ ],
1185
+ "page_idx": 7
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Vision Encoders Trained with Language Supervision Exhibit Greater Semantic Alignment with Language Encoders: In line with the findings of Merullo et al.[31], it is observed in our experiments that vision encoders trained with more language supervision on datasets of comparable size exhibit a higher degree of semantic alignment with language encoders compared to self-supervised methods. For example, ViT-Large trained on CLIP-400M with language supervision demonstrates superior caption-matching capabilities compared to DINOv2's ViT-Large trained on LVD-142M. Similarly, we verify that class label supervision, like that from ImageNet, leads to more semantically aligned image encoders when compared to self-supervision when similarly sized models are compared on ImageNet-1k. For example, all supervised encoders trained on ImageNet-1k have higher CKA as well as QAP matching accuracy than all the self-supervised models.",
1190
+ "bbox": [
1191
+ 75,
1192
+ 468,
1193
+ 467,
1194
+ 724
1195
+ ],
1196
+ "page_idx": 7
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "7. Ablations",
1201
+ "text_level": 1,
1202
+ "bbox": [
1203
+ 76,
1204
+ 739,
1205
+ 184,
1206
+ 753
1207
+ ],
1208
+ "page_idx": 7
1209
+ },
1210
+ {
1211
+ "type": "text",
1212
+ "text": "This section rationalizes our method choices through ablation studies on clustering, stretching, and the global CKA metric. We demonstrate the impact of these components on the performance of our methods, primarily through Table 6, which delineates the effectiveness of the QAP and the local CKA metric under various configurations. It shows the performance metrics in scenarios where each main component is either integrated or omitted. Notably, in instances where the CKA metric is not used, we opt for normalized",
1213
+ "bbox": [
1214
+ 75,
1215
+ 763,
1216
+ 467,
1217
+ 900
1218
+ ],
1219
+ "page_idx": 7
1220
+ },
1221
+ {
1222
+ "type": "table",
1223
+ "img_path": "images/c20d718e2489eb7790572eaf0b4b4a271cf6fba16309dfcc900ec03a135990d2.jpg",
1224
+ "table_caption": [
1225
+ "Table 6. Impact of clustering and stretching. The matching and retrieval performance is the best when both clustering and stretching are employed. Hence, justifying this choice."
1226
+ ],
1227
+ "table_footnote": [],
1228
+ "table_body": "<table><tr><td>Clustering</td><td>Stretching</td><td>CKA</td><td>QAP Matching</td><td>Local CKA Matching</td><td>Local CKA Retrieval @ 5</td></tr><tr><td>X</td><td>X</td><td>X</td><td>10.1</td><td>16.2</td><td>1.0</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>48.8</td><td>48.5</td><td>60.2</td></tr><tr><td>X</td><td>✓</td><td>✓</td><td>57.3</td><td>56.7</td><td>73.0</td></tr><tr><td>✓</td><td>X</td><td>✓</td><td>56.2</td><td>55.1</td><td>66.4</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>65.5</td><td>63.3</td><td>77.2</td></tr></table>",
1229
+ "bbox": [
1230
+ 501,
1231
+ 133,
1232
+ 888,
1233
+ 222
1234
+ ],
1235
+ "page_idx": 7
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "correlation matrices for each graph. The empirical results presented are derived from the caption matching/retrieval task, utilizing both base and query sets extracted from the COCO validation set of size 320 and 500 respectively.",
1240
+ "bbox": [
1241
+ 496,
1242
+ 242,
1243
+ 890,
1244
+ 303
1245
+ ],
1246
+ "page_idx": 7
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Choice of the metric: CKA is more beneficial than using just the scaled correlation matrix to represent the semantic relationships in an embedding space as matching accuracy increases from $10.1\\%$ to $48.8\\%$ . The choice of a robust metric is core to aligning vision and language latent spaces.",
1251
+ "bbox": [
1252
+ 496,
1253
+ 303,
1254
+ 890,
1255
+ 378
1256
+ ],
1257
+ "page_idx": 7
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Impact of Stretching: It is clear that stretching facilitates better alignment of embeddings in our methods as stretching spreads the representations out in each modality without sacrificing the relative positions of the different embeddings within each embedding space. This is reflected in the increase of QAP accuracy from $48.8\\%$ to $57.3\\%$ .",
1262
+ "bbox": [
1263
+ 496,
1264
+ 378,
1265
+ 890,
1266
+ 468
1267
+ ],
1268
+ "page_idx": 7
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Clustering vs. Uniform Sampling: The choice of the base set is important in QAP matching and local CKA retrieval, as it measures any query pair alignment with the base set. A diverse base set is essential to capture a broad semantic range, and clustering within one of the embedding spaces aids in achieving this diversity. The third and fifth rows of the table demonstrate that clustering enhances the QAP performance from $57.3\\%$ to $65.5\\%$ . Consequently, these results highlight that all the components together significantly enhance the efficacy of our proposed approach.",
1273
+ "bbox": [
1274
+ 496,
1275
+ 469,
1276
+ 890,
1277
+ 619
1278
+ ],
1279
+ "page_idx": 7
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "8. Conclusion",
1284
+ "text_level": 1,
1285
+ "bbox": [
1286
+ 500,
1287
+ 633,
1288
+ 617,
1289
+ 648
1290
+ ],
1291
+ "page_idx": 7
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "text": "In this work, we ask the question, 'Do vision encoders and language encoders represent the world similarly?' and study this using CKA and a caption-matching task. We find that well-trained vision encoders on sufficiently large datasets exhibit surprisingly high semantic similarity with language encoders comparable to aligned encoders, irrespective of the training paradigm. Inspired by this, we draw parallels between CKA and the QAP matching objective and use seeded graph matching to align vision and language encoders by maximizing CKA. We also devise a local CKA-based metric to enable retrieval between unaligned vision and language encoders demonstrating a better performance than that of relative representations on cross-domain and cross-lingual caption matching/retrieval tasks, facilitating zero-shot latent space communication between unaligned encoders.",
1296
+ "bbox": [
1297
+ 496,
1298
+ 659,
1299
+ 890,
1300
+ 898
1301
+ ],
1302
+ "page_idx": 7
1303
+ },
1304
+ {
1305
+ "type": "page_number",
1306
+ "text": "14341",
1307
+ "bbox": [
1308
+ 480,
1309
+ 944,
1310
+ 517,
1311
+ 955
1312
+ ],
1313
+ "page_idx": 7
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "References",
1318
+ "text_level": 1,
1319
+ "bbox": [
1320
+ 78,
1321
+ 89,
1322
+ 173,
1323
+ 104
1324
+ ],
1325
+ "page_idx": 8
1326
+ },
1327
+ {
1328
+ "type": "list",
1329
+ "sub_type": "ref_text",
1330
+ "list_items": [
1331
+ "[1] Pranav Aggarwal and Ajinkya Kale. Towards zero-shot cross-lingual image retrieval. arXiv preprint arXiv:2012.05107, 2020. 5",
1332
+ "[2] Harsh Agrawal, Karan Desai, Yufei Wang, Xinlei Chen, Rishabh Jain, Mark Johnson, Dhruv Batra, Devi Parikh, Stefan Lee, and Peter Anderson. Nocaps: Novel object captioning at scale. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8948-8957, 2019. 2, 5",
1333
+ "[3] Richard Antonello, Javier S Turek, Vy Vo, and Alexander Huth. Low-dimensional structure in the space of language representations is reflected in brain responses. Advances in neural information processing systems, 2021. 2",
1334
+ "[4] Yamini Bansal, Preetum Nakkiran, and Boaz Barak. Revisiting model stitching to compare neural representations. Advances in neural information processing systems, 2021. 2",
1335
+ "[5] Serguei Barannikov, Ilya Trofimov, Nikita Balabin, and Evgeny Burnaev. Representation topology divergence: A method for comparing neural network representations. arXiv preprint arXiv:2201.00058, 2021. 2",
1336
+ "[6] Lisa Bonheme and Marek Grzes. How do variational autoencoders learn? insights from representational similarity. arXiv preprint arXiv:2205.08399, 2022. 2",
1337
+ "[7] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020. 4",
1338
+ "[8] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9650-9660, 2021. 1",
1339
+ "[9] Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pretraining to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3558-3568, 2021. 1",
1340
+ "[10] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR, 2020. 1",
1341
+ "[11] Alexis Conneau, Guillaume Lample, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Word translation without parallel data. arXiv preprint arXiv:1710.04087, 2017. 2",
1342
+ "[12] Corinna Cortes, Mehryar Mohri, and Afshin Rostamizadeh. Algorithms for learning kernels based on centered alignment. The Journal of Machine Learning Research, 13(1):795-828, 2012. 1",
1343
+ "[13] David F Crouse. On implementing 2d rectangular assignment algorithms. IEEE Transactions on Aerospace and Electronic Systems, 52(4):1679-1696, 2016. 7",
1344
+ "[14] Adrián Csiszárik, Péter Korösi-Szabó, Akos K Matszangosz, Gergely Papp, and Daniel Varga. Similarity and"
1345
+ ],
1346
+ "bbox": [
1347
+ 78,
1348
+ 114,
1349
+ 470,
1350
+ 901
1351
+ ],
1352
+ "page_idx": 8
1353
+ },
1354
+ {
1355
+ "type": "list",
1356
+ "sub_type": "ref_text",
1357
+ "list_items": [
1358
+ "matching of neural network representations. arXiv preprint arXiv:2110.14633, 2021. 2",
1359
+ "[15] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009. 2",
1360
+ "[16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. 1, 4",
1361
+ "[17] Donniell E Fishkind, Sancar Adali, Heather G Patsolic, Lingyao Meng, Digvijay Singh, Vince Lyzinski, and Carey E Priebe. Seeded graph matching. Pattern recognition, 87: 203-215, 2019. 3, 6",
1362
+ "[18] Arthur Gretton, Olivier Bousquet, Alex Smola, and Bernhard Schölkopf. Measuring statistical dependence with hilbert-schmidt norms. In International conference on algorithmic learning theory, pages 63-77. Springer, 2005. 2",
1363
+ "[19] Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pages 297–304. JMLR Workshop and Conference Proceedings, 2010. 1",
1364
+ "[20] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International conference on machine learning, pages 4904-4916. PMLR, 2021. 1",
1365
+ "[21] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. ICLR, 2014. 2",
1366
+ "[22] Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International conference on machine learning, pages 3519-3529. PMLR, 2019. 1, 2",
1367
+ "[23] Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83-97, 1955. 4",
1368
+ "[24] Karel Lenc and Andrea Vedaldi. Understanding image representations by measuring their equivariance and equivalence. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 991-999, 2015. 2",
1369
+ "[25] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021. 2",
1370
+ "[26] Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. Convergent learning: Do different neural networks learn the same representations? arXiv preprint arXiv:1511.07543, 2015. 2",
1371
+ "[27] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 1, 3, 5"
1372
+ ],
1373
+ "bbox": [
1374
+ 503,
1375
+ 92,
1376
+ 890,
1377
+ 898
1378
+ ],
1379
+ "page_idx": 8
1380
+ },
1381
+ {
1382
+ "type": "page_number",
1383
+ "text": "14342",
1384
+ "bbox": [
1385
+ 480,
1386
+ 944,
1387
+ 519,
1388
+ 955
1389
+ ],
1390
+ "page_idx": 8
1391
+ },
1392
+ {
1393
+ "type": "list",
1394
+ "sub_type": "ref_text",
1395
+ "list_items": [
1396
+ "[28] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettle-moyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. 1, 3, 4",
1397
+ "[29] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 11976-11986, 2022. 4",
1398
+ "[30] Wan-Duo Kurt Ma, JP Lewis, and W Bastiaan Kleijn. The hsic bottleneck: Deep learning without back-propagation. In Proceedings of the AAAI conference on artificial intelligence, pages 5085-5092, 2020. 2",
1399
+ "[31] Jack Merullo, Louis Castricato, Carsten Eickhoff, and Ellie Pavlick. Linearly mapping from image to text space. arXiv preprint arXiv:2209.15162, 2022. 1, 2, 8",
1400
+ "[32] Tomas Mikolov, Quoc V Le, and Ilya Sutskever. Exploiting similarities among languages for machine translation (2013). arXiv preprint arXiv:1309.4168, 2022. 2",
1401
+ "[33] Ari Morcos, Maithra Raghu, and Samy Bengio. Insights on representational similarity in neural networks with canonical correlation. Advances in neural information processing systems, 31, 2018. 2",
1402
+ "[34] Luca Moschella, Valentino Maiorca, Marco Fumero, Antonio Norelli, Francesco Locatello, and Emanuele Rodola. Relative representations enable zero-shot latent space communication. In The Eleventh International Conference on Learning Representations, 2022. 1, 2, 4, 5, 6, 7",
1403
+ "[35] Antonio Norelli, Marco Fumero, Valentino Maiorca, Luca Moschella, Emanuele Rodola, and Francesco Locatello. Asif: Coupled data turns unimodal models to multimodal without training. arXiv preprint arXiv:2210.01738, 2022. 1, 2",
1404
+ "[36] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. 1",
1405
+ "[37] Maxime Oquab, Timothee Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. 1, 3, 5",
1406
+ "[38] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019. 6",
1407
+ "[39] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. 4",
1408
+ "[40] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 1, 4, 5"
1409
+ ],
1410
+ "bbox": [
1411
+ 78,
1412
+ 90,
1413
+ 470,
1414
+ 898
1415
+ ],
1416
+ "page_idx": 9
1417
+ },
1418
+ {
1419
+ "type": "list",
1420
+ "sub_type": "ref_text",
1421
+ "list_items": [
1422
+ "[41] Maithra Raghu, Justin Gilmer, Jason Yosinski, and Jascha Sohl-Dickstein. Svcca: Singular vector canonical correlation analysis for deep learning dynamics and interpretability. Advances in neural information processing systems, 30, 2017. 2",
1423
+ "[42] Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? Advances in Neural Information Processing Systems, 34:12116-12128, 2021. 1",
1424
+ "[43] Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 2019. 4",
1425
+ "[44] Anton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras, Alex Bronstein, Ivan Oseledets, and Emmanuel Müller. The shape of data: Intrinsic distance for data distributions. arXiv preprint arXiv:1905.11141, 2019. 2",
1426
+ "[45] Joshua T Vogelstein, John M Conroy, Vince Lyzinski, Louis J Podrazik, Steven G Kratzer, Eric T Harley, Donniell E Fishkind, R Jacob Vogelstein, and Carey E Priebe. Fast approximate quadratic programming for graph matching. PLOS one, 10(4):e0121002, 2015. 3",
1427
+ "[46] Ivan Vulic, Sebastian Ruder, and Anders Søgaard. Are all good word vector spaces isomorphic? arXiv preprint arXiv:2004.04070, 2020. 2",
1428
+ "[47] Sanghyun Woo, Shoubhik Debnath, Ronghang Hu, Xinlei Chen, Zhuang Liu, In So Kweon, and Saining Xie. Convnext v2: Co-designing and scaling convnets with masked autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16133-16142, 2023. 1, 5",
1429
+ "[48] John M Wu, Yonatan Belinkov, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, and James Glass. Similarity analysis of contextual word representation models. arXiv preprint arXiv:2005.01172, 2020. 2"
1430
+ ],
1431
+ "bbox": [
1432
+ 501,
1433
+ 90,
1434
+ 893,
1435
+ 612
1436
+ ],
1437
+ "page_idx": 9
1438
+ },
1439
+ {
1440
+ "type": "page_number",
1441
+ "text": "14343",
1442
+ "bbox": [
1443
+ 480,
1444
+ 944,
1445
+ 519,
1446
+ 955
1447
+ ],
1448
+ "page_idx": 9
1449
+ }
1450
+ ]
2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_model.json ADDED
@@ -0,0 +1,2024 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ [
3
+ {
4
+ "type": "header",
5
+ "bbox": [
6
+ 0.107,
7
+ 0.003,
8
+ 0.182,
9
+ 0.043
10
+ ],
11
+ "angle": 0,
12
+ "content": "CVF"
13
+ },
14
+ {
15
+ "type": "header",
16
+ "bbox": [
17
+ 0.237,
18
+ 0.001,
19
+ 0.812,
20
+ 0.047
21
+ ],
22
+ "angle": 0,
23
+ "content": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore."
24
+ },
25
+ {
26
+ "type": "title",
27
+ "bbox": [
28
+ 0.148,
29
+ 0.131,
30
+ 0.823,
31
+ 0.154
32
+ ],
33
+ "angle": 0,
34
+ "content": "Do Vision and Language Encoders Represent the World Similarly?"
35
+ },
36
+ {
37
+ "type": "text",
38
+ "bbox": [
39
+ 0.094,
40
+ 0.18,
41
+ 0.325,
42
+ 0.224
43
+ ],
44
+ "angle": 0,
45
+ "content": "Mayug Maniparambil\\* Mohamed El Amine Seddik3"
46
+ },
47
+ {
48
+ "type": "text",
49
+ "bbox": [
50
+ 0.352,
51
+ 0.18,
52
+ 0.882,
53
+ 0.224
54
+ ],
55
+ "angle": 0,
56
+ "content": "Raiymbek Akshulakov\\*2 Yasser Abdelaziz Dahou Djilali31 Sanath Narayan3 Karttikeya Mangalam2 Noel E. O'Connor1"
57
+ },
58
+ {
59
+ "type": "title",
60
+ "bbox": [
61
+ 0.235,
62
+ 0.259,
63
+ 0.314,
64
+ 0.275
65
+ ],
66
+ "angle": 0,
67
+ "content": "Abstract"
68
+ },
69
+ {
70
+ "type": "text",
71
+ "bbox": [
72
+ 0.076,
73
+ 0.291,
74
+ 0.474,
75
+ 0.609
76
+ ],
77
+ "angle": 0,
78
+ "content": "Aligned text-image encoders such as CLIP have become the de-facto model for vision-language tasks. Furthermore, modality-specific encoders achieve impressive performances in their respective domains. This raises a central question: does an alignment exist between uni-modal vision and language encoders since they fundamentally represent the same physical world? Analyzing the latent spaces structure of vision and language models on image-caption benchmarks using the Centered Kernel Alignment (CKA), we find that the representation spaces of unaligned and aligned encoders are semantically similar. In the absence of statistical similarity in aligned encoders like CLIP, we show that a possible matching of unaligned encoders exists without any training. We frame this as a seeded graph-matching problem exploiting the semantic similarity between graphs and propose two methods - a Fast Quadratic Assignment Problem optimization, and a novel localized CKA metric-based matching/retrieval. We demonstrate the effectiveness of this on several downstream tasks including cross-lingual, cross-domain caption matching and image classification. Code available at github.com/mayug/0-shot-llm-vision."
79
+ },
80
+ {
81
+ "type": "title",
82
+ "bbox": [
83
+ 0.078,
84
+ 0.636,
85
+ 0.21,
86
+ 0.652
87
+ ],
88
+ "angle": 0,
89
+ "content": "1. Introduction"
90
+ },
91
+ {
92
+ "type": "text",
93
+ "bbox": [
94
+ 0.076,
95
+ 0.661,
96
+ 0.47,
97
+ 0.844
98
+ ],
99
+ "angle": 0,
100
+ "content": "The recent success of deep learning on vision-language tasks mainly relies on jointly trained language and image encoders following the success of CLIP and ALIGN [20, 40]. The standard procedure for training these models aims at aligning text and image representation using a contrastive loss that maximizes the similarity between imagetext pairs while pushing negative captions away [10, 19, 36]. This achieves a statistical similarity across the two latent spaces, which is key to retrieving the closest cross-modal representations using cosine similarity. This property is not valid for unaligned encoders, hence, extra transformations are needed to bridge the gap. These transformations can be"
101
+ },
102
+ {
103
+ "type": "image",
104
+ "bbox": [
105
+ 0.503,
106
+ 0.262,
107
+ 0.891,
108
+ 0.402
109
+ ],
110
+ "angle": 0,
111
+ "content": null
112
+ },
113
+ {
114
+ "type": "image_caption",
115
+ "bbox": [
116
+ 0.499,
117
+ 0.407,
118
+ 0.893,
119
+ 0.477
120
+ ],
121
+ "angle": 0,
122
+ "content": "Figure 1. For matching, we calculate the kernels for image and text embeddings and employ QAP-based seeded matching to maximize CKA for obtaining the optimal permutation \\( P \\). For retrieval, we append query embeddings to base embeddings and retrieve the best caption that maximizes the local CKA for a query image."
123
+ },
124
+ {
125
+ "type": "text",
126
+ "bbox": [
127
+ 0.498,
128
+ 0.486,
129
+ 0.893,
130
+ 0.653
131
+ ],
132
+ "angle": 0,
133
+ "content": "training a mapping network that captures the prior distribution over the text and image representations [31, 34, 35]. The work of [31] has shown that it is possible to train a linear mapping from the output embeddings of vision encoders to the input embeddings of language models and exhibit impressive performance on image captioning and VQA tasks. This indicates that the representations between the unaligned uni-modal vision and language encoders are sufficiently high level and differ only by a linear transformation. However, this linear layer is trained on CC-3M [9] consisting of three million image-caption pairs."
134
+ },
135
+ {
136
+ "type": "text",
137
+ "bbox": [
138
+ 0.498,
139
+ 0.656,
140
+ 0.895,
141
+ 0.837
142
+ ],
143
+ "angle": 0,
144
+ "content": "Is this training step necessary? In an ideal scenario, we anticipate an alignment between vision and language encoders as they inherently capture representations of the same physical world. To this end, we employ Centered Kernel Alignment (CKA) [12, 22, 42], which is known for measuring representation similarity both within and between networks. As shown in Figure 2, we measure the CKA between a variety of unaligned vision and language encoders [8, 16, 28, 37, 47], on the image-caption pairs of the COCO [27] dataset and observe that some have comparable scores to that of aligned encoders like CLIP [40], affirmative of semantic similarities."
145
+ },
146
+ {
147
+ "type": "text",
148
+ "bbox": [
149
+ 0.499,
150
+ 0.84,
151
+ 0.895,
152
+ 0.903
153
+ ],
154
+ "angle": 0,
155
+ "content": "We then ask the question: If the unaligned image and text encoders are semantically similar, is there a way to connect them in a zero-shot manner? Do they build a similar representation graph over the same information coming from"
156
+ },
157
+ {
158
+ "type": "page_footnote",
159
+ "bbox": [
160
+ 0.096,
161
+ 0.851,
162
+ 0.197,
163
+ 0.863
164
+ ],
165
+ "angle": 0,
166
+ "content": "*joint first authors"
167
+ },
168
+ {
169
+ "type": "page_footnote",
170
+ "bbox": [
171
+ 0.097,
172
+ 0.863,
173
+ 0.28,
174
+ 0.876
175
+ ],
176
+ "angle": 0,
177
+ "content": "\\(^{1}\\)ML Labs, Dublin City University"
178
+ },
179
+ {
180
+ "type": "page_footnote",
181
+ "bbox": [
182
+ 0.097,
183
+ 0.876,
184
+ 0.28,
185
+ 0.888
186
+ ],
187
+ "angle": 0,
188
+ "content": "\\(^{2}\\)University of California Berkeley"
189
+ },
190
+ {
191
+ "type": "page_footnote",
192
+ "bbox": [
193
+ 0.097,
194
+ 0.888,
195
+ 0.284,
196
+ 0.9
197
+ ],
198
+ "angle": 0,
199
+ "content": "\\(^{3}\\)Technological Innovation Institute"
200
+ },
201
+ {
202
+ "type": "list",
203
+ "bbox": [
204
+ 0.096,
205
+ 0.851,
206
+ 0.284,
207
+ 0.9
208
+ ],
209
+ "angle": 0,
210
+ "content": null
211
+ },
212
+ {
213
+ "type": "page_number",
214
+ "bbox": [
215
+ 0.481,
216
+ 0.945,
217
+ 0.52,
218
+ 0.957
219
+ ],
220
+ "angle": 0,
221
+ "content": "14334"
222
+ }
223
+ ],
224
+ [
225
+ {
226
+ "type": "text",
227
+ "bbox": [
228
+ 0.076,
229
+ 0.092,
230
+ 0.473,
231
+ 0.212
232
+ ],
233
+ "angle": 0,
234
+ "content": "the two modalities? We study these questions, revealing key similarities between unaligned image and text encoders, and how these similarities can be exploited for downstream tasks. Furthermore, we devise a caption matching downstream task and show using two novel methods that latent space communication between unaligned encoders could be achieved by leveraging the semantic similarities between the cross-modal spaces. Our contributions are:"
235
+ },
236
+ {
237
+ "type": "text",
238
+ "bbox": [
239
+ 0.077,
240
+ 0.215,
241
+ 0.47,
242
+ 0.304
243
+ ],
244
+ "angle": 0,
245
+ "content": "- We present a matching method that seeks to find the permutation of the captions that maximizes the CKA (see Fig. 1). Hence, We formulate maximizing CKA as a quadratic assignment problem and introduce transformations and normalizations that greatly improve the matching performance."
246
+ },
247
+ {
248
+ "type": "text",
249
+ "bbox": [
250
+ 0.078,
251
+ 0.305,
252
+ 0.469,
253
+ 0.365
254
+ ],
255
+ "angle": 0,
256
+ "content": "- We propose a local CKA metric and use it to perform retrieval between two unaligned embedding spaces, demonstrating superior performance with that of relative representations [34] on the COCO caption image retrieval."
257
+ },
258
+ {
259
+ "type": "text",
260
+ "bbox": [
261
+ 0.078,
262
+ 0.365,
263
+ 0.469,
264
+ 0.456
265
+ ],
266
+ "angle": 0,
267
+ "content": "- The method is benchmarked on COCO, NoCaps [2] cross-domain caption and image retrieval as well ImageNet-100 [15] classification tasks despite our method not being optimized to align the representation in any manner demonstrating zero-shot communication between the encoder's latent spaces."
268
+ },
269
+ {
270
+ "type": "text",
271
+ "bbox": [
272
+ 0.078,
273
+ 0.456,
274
+ 0.469,
275
+ 0.516
276
+ ],
277
+ "angle": 0,
278
+ "content": "- Finally, we show a practical application of our method on cross-lingual image retrieval by making use of sentence transformers trained in various languages and a CLIP vision encoder trained only in English."
279
+ },
280
+ {
281
+ "type": "list",
282
+ "bbox": [
283
+ 0.077,
284
+ 0.215,
285
+ 0.47,
286
+ 0.516
287
+ ],
288
+ "angle": 0,
289
+ "content": null
290
+ },
291
+ {
292
+ "type": "title",
293
+ "bbox": [
294
+ 0.077,
295
+ 0.529,
296
+ 0.219,
297
+ 0.543
298
+ ],
299
+ "angle": 0,
300
+ "content": "2. Related Work"
301
+ },
302
+ {
303
+ "type": "text",
304
+ "bbox": [
305
+ 0.076,
306
+ 0.554,
307
+ 0.473,
308
+ 0.903
309
+ ],
310
+ "angle": 0,
311
+ "content": "Recently, there has been an increasing consensus that good networks, when trained independently, learn general representations across different architectures and tasks. On the one hand, the works of [6, 22, 26, 33] show that these networks exhibit representation similarity by learning similar latent spaces when trained on similar tasks and data [3, 5, 11, 24, 32, 44, 46]. Specifically, [22] introduced centered kernel alignment (CKA) as a similarity metric for comparing the inner representations across networks. The CKA measure mitigates the limitation of canonical correlation analysis (CCA) [41] being invariant to an invertible linear transformation that often leads to difficulty in measuring meaningful similarities between representations. [48] uses CKA for comparing the representations from different layers of different language models and the effect of downstream task-finetuning on the representation similarities, while [6] utilizes CKA along with Procrustes similarity for understanding the ability of variational autoencoders (VAEs) [21] in learning disentangled representations. In general, these approaches study the representation similarity in unimodal models, either vision or language. Clearly, however, the use of CKA has been limited to visualization and analysis purposes, whereas we attempt at exploiting"
312
+ },
313
+ {
314
+ "type": "text",
315
+ "bbox": [
316
+ 0.5,
317
+ 0.092,
318
+ 0.731,
319
+ 0.107
320
+ ],
321
+ "angle": 0,
322
+ "content": "CKA as an optimization objective."
323
+ },
324
+ {
325
+ "type": "text",
326
+ "bbox": [
327
+ 0.498,
328
+ 0.108,
329
+ 0.892,
330
+ 0.318
331
+ ],
332
+ "angle": 0,
333
+ "content": "Recent works [34, 35] employ relative representations to match embeddings of unaligned encoders using the cosine similarity to a set of anchors. However, these relative representations are sensitive to the selection of anchors and noise in the original embeddings. Similarly, approaches [4, 14] analyze networks and empirically verify the \"good networks learn similar representations\" hypothesis by utilizing model stitching [24], which introduces trainable stitching layers to enable swapping parts of different networks. LiMBeR [31] can be seen as stitching the output of an image encoder to the input of a language model in the form of soft prompts [25]. However, these approaches involve training of stitching layers for evaluating the representation similarity between two models."
334
+ },
335
+ {
336
+ "type": "text",
337
+ "bbox": [
338
+ 0.498,
339
+ 0.318,
340
+ 0.893,
341
+ 0.456
342
+ ],
343
+ "angle": 0,
344
+ "content": "In this work, we argue that using an explicit similarity measure as done in [34, 35] is sensitive to the selection of anchors and noise in the original embeddings. One design choice is an implicit measure that captures the similarity of similarities, hence, inducing more robustness to the alignment process. Furthermore, we explore how this similarity can be leveraged for downstream cross-modal tasks in a training-free manner with the aid of CKA and a set of parallel anchors in the image and text latent embedding spaces."
345
+ },
346
+ {
347
+ "type": "title",
348
+ "bbox": [
349
+ 0.5,
350
+ 0.468,
351
+ 0.638,
352
+ 0.483
353
+ ],
354
+ "angle": 0,
355
+ "content": "3. Preliminaries"
356
+ },
357
+ {
358
+ "type": "text",
359
+ "bbox": [
360
+ 0.498,
361
+ 0.493,
362
+ 0.892,
363
+ 0.63
364
+ ],
365
+ "angle": 0,
366
+ "content": "Centered Kernel Alignment (CKA) has shown its relevance in understanding and comparing the information encoded by different layers of a neural network [22]. Formally, CKA relies on two sets of data \\(\\mathbf{X} \\in \\mathbb{R}^{p \\times N}\\) and \\(\\mathbf{Y} \\in \\mathbb{R}^{q \\times N}\\) through their corresponding kernels \\(\\mathbf{K} = k(\\mathbf{X}^{\\top}, \\mathbf{X}) \\in \\mathbb{R}^{N \\times N}\\) and \\(\\mathbf{L} = \\ell(\\mathbf{Y}^{\\top}, \\mathbf{Y}) \\in \\mathbb{R}^{N \\times N}\\) where \\(k, \\ell\\) are some kernel functions applied on the columns of \\(\\mathbf{X}\\) and \\(\\mathbf{Y}\\) respectively (e.g., linear or RBF kernels). Therefore, the CKA is computed in terms of \\(\\mathbf{K}\\) and \\(\\mathbf{L}\\) as:"
367
+ },
368
+ {
369
+ "type": "equation",
370
+ "bbox": [
371
+ 0.542,
372
+ 0.64,
373
+ 0.892,
374
+ 0.677
375
+ ],
376
+ "angle": 0,
377
+ "content": "\\[\n\\operatorname {C K A} (\\mathbf {K}, \\mathbf {L}) = \\frac {\\operatorname {H S I C} (\\mathbf {K} , \\mathbf {L})}{\\sqrt {\\operatorname {H S I C} (\\mathbf {K} , \\mathbf {K}) \\operatorname {H S I C} (\\mathbf {L} , \\mathbf {L})}}, \\tag {1}\n\\]"
378
+ },
379
+ {
380
+ "type": "text",
381
+ "bbox": [
382
+ 0.498,
383
+ 0.687,
384
+ 0.891,
385
+ 0.717
386
+ ],
387
+ "angle": 0,
388
+ "content": "where \\(\\mathrm{HSIC}(\\cdot ,\\cdot)\\) is the Hilbert-Schmidt Independence Criterion [18, 30] defined as:"
389
+ },
390
+ {
391
+ "type": "equation",
392
+ "bbox": [
393
+ 0.561,
394
+ 0.727,
395
+ 0.892,
396
+ 0.759
397
+ ],
398
+ "angle": 0,
399
+ "content": "\\[\n\\operatorname {H S I C} (\\mathbf {K}, \\mathbf {L}) = \\frac {1}{(N - 1) ^ {2}} \\operatorname {t r} (\\mathbf {K C L C}), \\tag {2}\n\\]"
400
+ },
401
+ {
402
+ "type": "text",
403
+ "bbox": [
404
+ 0.498,
405
+ 0.77,
406
+ 0.892,
407
+ 0.817
408
+ ],
409
+ "angle": 0,
410
+ "content": "with \\(\\mathbf{C} = \\mathbf{I} - \\frac{1}{N}\\mathbf{1}\\mathbf{1}^{\\top}\\) the centring matrix. We refer the reader to [22] for broader properties and studies of the CKA metric on neural network representations."
411
+ },
412
+ {
413
+ "type": "title",
414
+ "bbox": [
415
+ 0.5,
416
+ 0.83,
417
+ 0.673,
418
+ 0.848
419
+ ],
420
+ "angle": 0,
421
+ "content": "4. Proposed Method"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "bbox": [
426
+ 0.5,
427
+ 0.856,
428
+ 0.892,
429
+ 0.902
430
+ ],
431
+ "angle": 0,
432
+ "content": "Consider a set of \\(N\\) image-caption pairs, \\(\\mathcal{S} = \\{(x_i, c_i)\\}_{i=1}^N\\), where \\(x_i \\in \\mathcal{X}\\) and \\(c_i \\in \\mathcal{C}\\) represent the \\(i\\)-th image and its corresponding caption, respectively. In this"
433
+ },
434
+ {
435
+ "type": "page_number",
436
+ "bbox": [
437
+ 0.481,
438
+ 0.945,
439
+ 0.519,
440
+ 0.957
441
+ ],
442
+ "angle": 0,
443
+ "content": "14335"
444
+ }
445
+ ],
446
+ [
447
+ {
448
+ "type": "table_caption",
449
+ "bbox": [
450
+ 0.077,
451
+ 0.089,
452
+ 0.472,
453
+ 0.16
454
+ ],
455
+ "angle": 0,
456
+ "content": "Table 1. CKA reduces with shuffling. We measure the CKA score between DINOv2 [37] and All-Roberta-large-v1 [28] on the 5k COCO [27] image-caption representations pairs of the valset. The exact ordering yields the best score, whereas randomly shuffling the representations reduces the CKA score."
457
+ },
458
+ {
459
+ "type": "table",
460
+ "bbox": [
461
+ 0.078,
462
+ 0.166,
463
+ 0.481,
464
+ 0.213
465
+ ],
466
+ "angle": 0,
467
+ "content": "<table><tr><td>Shuffling (%)</td><td>0</td><td>20</td><td>40</td><td>60</td><td>80</td><td>100</td></tr><tr><td>CKA Score</td><td>0.72</td><td>0.46</td><td>0.27</td><td>0.13</td><td>0.04</td><td>0.01</td></tr></table>"
468
+ },
469
+ {
470
+ "type": "text",
471
+ "bbox": [
472
+ 0.076,
473
+ 0.24,
474
+ 0.47,
475
+ 0.346
476
+ ],
477
+ "angle": 0,
478
+ "content": "particular example, we are performing caption-to-image retrieval, but it is applicable for the reverse as well. Let \\( \\pmb{f}:\\mathcal{X}\\mapsto \\mathbb{R}^{d_1} \\) and \\( \\pmb {g}:\\mathcal{C}\\mapsto \\mathbb{R}^{d_2} \\) denote some vision and language encoders respectively. The image-caption pairs are mapped into their corresponding sets of representations \\( \\mathbf{Z} = [z_{1},\\ldots ,z_{N}]\\in \\mathbb{R}^{d_{1}\\times N} \\) and \\( \\mathbf{H} = [h_1,\\dots,h_N]\\in \\mathbb{R}^{d_2\\times N} \\), where \\( z_{i} = f(\\boldsymbol{x}_{i}) \\) and \\( h_i = g(c_i) \\)."
479
+ },
480
+ {
481
+ "type": "text",
482
+ "bbox": [
483
+ 0.076,
484
+ 0.346,
485
+ 0.471,
486
+ 0.526
487
+ ],
488
+ "angle": 0,
489
+ "content": "As shown in Table 1, the maximum CKA score is obtained on the ground-truth ordering of the representations \\(\\mathrm{CKA}_{\\mathrm{max}} = \\mathrm{CKA}(\\mathbf{K_Z},\\mathbf{K_H})\\), where \\(\\mathbf{K_Z}\\) and \\(\\mathbf{K_H}\\) are the kernels for the image and text representations, defined respectively as \\(\\mathbf{K_Z} = k(\\mathbf{Z}^\\top ,\\mathbf{Z})\\) and \\(\\mathbf{K_H} = k(\\mathbf{H}^\\top ,\\mathbf{H})\\). We find that the CKA is sensitive to the data ordering. Specifically, we shuffle \\(x\\%\\) of data to obtain wrong matches while keeping the remaining \\(100 - x\\%\\) aligned, measure the CKA on each new data set, and observe that it monotonically decreases with random shuffling. This motivates our methodology for finding an optimal permutation of the image data that maximizes the CKA."
490
+ },
491
+ {
492
+ "type": "text",
493
+ "bbox": [
494
+ 0.077,
495
+ 0.526,
496
+ 0.47,
497
+ 0.635
498
+ ],
499
+ "angle": 0,
500
+ "content": "Formally, let \\(\\sigma\\) be some permutation of the set \\(\\{1,\\dots ,N\\}\\) and denote \\(\\sigma (\\mathbf{Z}) = [z_{\\sigma (1)},\\dots ,z_{\\sigma (N)}]\\in\\) \\(\\mathbb{R}^{d_1\\times N}\\) the set of permuted image representations by \\(\\sigma\\). If \\(\\sigma\\) is not identity, it disrupts the original ordering of the image representations leading to a lower CKA score as shown in Table 1. Therefore, our goal is to find a permutation \\(\\sigma^*\\) that maximizes the CKA. Formally:"
501
+ },
502
+ {
503
+ "type": "equation",
504
+ "bbox": [
505
+ 0.155,
506
+ 0.643,
507
+ 0.469,
508
+ 0.667
509
+ ],
510
+ "angle": 0,
511
+ "content": "\\[\n\\sigma^ {*} = \\underset {\\sigma} {\\arg \\max } \\operatorname {C K A} \\left(\\mathbf {K} _ {\\sigma (\\mathbf {Z})}, \\mathbf {K} _ {\\mathbf {H}}\\right). \\tag {3}\n\\]"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "bbox": [
516
+ 0.076,
517
+ 0.674,
518
+ 0.469,
519
+ 0.735
520
+ ],
521
+ "angle": 0,
522
+ "content": "The solution to this problem seeks to realign the permuted set of images in a way that maximizes the CKA, potentially recovering the ground-truth pairing between images and their corresponding captions."
523
+ },
524
+ {
525
+ "type": "text",
526
+ "bbox": [
527
+ 0.076,
528
+ 0.735,
529
+ 0.47,
530
+ 0.902
531
+ ],
532
+ "angle": 0,
533
+ "content": "To solve the aforementioned optimization problem, we explore two main approaches (visualized in Fig. 1): the Quadratic Assignment Problem (QAP) algorithm and Local CKA-based retrieval and matching. The QAP algorithm provides a global matching solution, seeking the optimal permutation across the query set considered. On the other hand, Local CKA-based retrieval and matching focuses on aligning images and captions using a localized metric, facilitating retrieval on a more granular level. This approach is more suitable where a single query image is given for a set of captions or vice versa."
534
+ },
535
+ {
536
+ "type": "title",
537
+ "bbox": [
538
+ 0.5,
539
+ 0.091,
540
+ 0.655,
541
+ 0.108
542
+ ],
543
+ "angle": 0,
544
+ "content": "4.1. QAP Matching"
545
+ },
546
+ {
547
+ "type": "text",
548
+ "bbox": [
549
+ 0.499,
550
+ 0.114,
551
+ 0.892,
552
+ 0.16
553
+ ],
554
+ "angle": 0,
555
+ "content": "For some random permutation \\(\\sigma\\), the optimization problem in Equation 3 can be reformulated as a quadratic optimization problem [45] which reads as:"
556
+ },
557
+ {
558
+ "type": "equation",
559
+ "bbox": [
560
+ 0.599,
561
+ 0.17,
562
+ 0.892,
563
+ 0.196
564
+ ],
565
+ "angle": 0,
566
+ "content": "\\[\n\\max _ {\\mathbf {P} \\in \\mathcal {P} _ {N}} \\operatorname {t r} \\left(\\mathbf {P} ^ {\\top} \\bar {\\mathbf {K}} _ {\\sigma (\\mathbf {Z})} \\mathbf {P} \\bar {\\mathbf {K}} _ {\\mathbf {H}}\\right), \\tag {4}\n\\]"
567
+ },
568
+ {
569
+ "type": "text",
570
+ "bbox": [
571
+ 0.498,
572
+ 0.205,
573
+ 0.892,
574
+ 0.311
575
+ ],
576
+ "angle": 0,
577
+ "content": "where \\(\\mathcal{P}_N\\) is the set of all permutation matrices of size \\(N\\) and \\(\\bar{\\mathbf{K}} = \\mathrm{HSIC}(\\mathbf{K},\\mathbf{K})^{-\\frac{1}{2}}\\mathbf{K}\\mathbf{C}\\) stands for the centered and re-scaled kernel. In principle, maximizing the above objective is a relaxation of a graph-matching problem. Moreover, finding a global maximum of Equation 4 is NP-hard due to the combinatorial nature of the problem and therefore optimizing it can lead to sub-optimal or approximate solutions."
578
+ },
579
+ {
580
+ "type": "text",
581
+ "bbox": [
582
+ 0.499,
583
+ 0.312,
584
+ 0.893,
585
+ 0.508
586
+ ],
587
+ "angle": 0,
588
+ "content": "To overcome the NP-hardness of QAP, in practice, we suppose that we have access to a base set \\(\\mathcal{B} = \\{(z_i^b,h_i^b)\\}_{i = 1}^M\\) of image-caption representations pairs and solve an equivalent objective to Equation 4 only partially on some unmatched query set \\(\\mathcal{Q} = \\{z_i^q\\}_{i = 1}^N\\times \\{h_i^q\\}_{i = 1}^N\\) using a seeded version of the fast QAP algorithm [17]. Formally, let \\(\\mathbf{Z} = [z_1^b,\\dots ,z_M^b,z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times (M + N)}\\) and \\(\\mathbf{H} = [h_1^b,\\dots ,h_M^b,h_1^q,\\dots ,h_N^q ]\\in \\mathbb{R}^{d_2\\times (M + N)}\\) be the matrix concatenating all base and query representations of images and captions respectively, and denote by \\(\\bar{\\mathbf{K}}_{\\mathbf{Z}},\\bar{\\mathbf{K}}_{\\mathbf{H}}\\in \\mathbb{R}^{(M + N)\\times (M + N)}\\) the corresponding centered and re-scaled kernels. The partial matching for aligning the query samples is then performed by solving the following:"
589
+ },
590
+ {
591
+ "type": "equation",
592
+ "bbox": [
593
+ 0.554,
594
+ 0.518,
595
+ 0.892,
596
+ 0.543
597
+ ],
598
+ "angle": 0,
599
+ "content": "\\[\n\\max _ {\\mathbf {P} \\in \\mathcal {P} _ {N}} \\operatorname {t r} \\left(\\left(\\mathbf {I} _ {M} \\oplus \\mathbf {P}\\right) ^ {\\top} \\bar {\\mathbf {K}} _ {\\mathbf {Z}} \\left(\\mathbf {I} _ {M} \\oplus \\mathbf {P}\\right) \\bar {\\mathbf {K}} _ {\\mathbf {H}}\\right), \\tag {5}\n\\]"
600
+ },
601
+ {
602
+ "type": "text",
603
+ "bbox": [
604
+ 0.498,
605
+ 0.554,
606
+ 0.892,
607
+ 0.587
608
+ ],
609
+ "angle": 0,
610
+ "content": "where \\(\\mathbf{I}_M\\oplus \\mathbf{P}\\in \\mathbb{R}^{(M + N)\\times (M + N)}\\) stands for the blockdiagonal matrix having diagonal blocks \\(\\mathbf{I}_M\\) and \\(\\mathbf{P}\\)"
611
+ },
612
+ {
613
+ "type": "title",
614
+ "bbox": [
615
+ 0.499,
616
+ 0.596,
617
+ 0.86,
618
+ 0.612
619
+ ],
620
+ "angle": 0,
621
+ "content": "4.2. Local CKA based Retrieval and Matching"
622
+ },
623
+ {
624
+ "type": "text",
625
+ "bbox": [
626
+ 0.498,
627
+ 0.619,
628
+ 0.892,
629
+ 0.711
630
+ ],
631
+ "angle": 0,
632
+ "content": "The concept of a global CKA metric is extended to derive local similarity measures suitable for retrieval. This process begins with a base set \\(\\mathcal{B} = \\{(z_i^b, h_i^b)\\}_{i=1}^M\\) consisting of aligned pairs of images and captions representations. The objective is to facilitate caption-image retrieval/matching within an unaligned query set \\(\\mathcal{Q} = \\{z_i^q\\}_{i=1}^N \\times \\{h_i^q\\}_{i=1}^N\\)."
633
+ },
634
+ {
635
+ "type": "text",
636
+ "bbox": [
637
+ 0.498,
638
+ 0.71,
639
+ 0.892,
640
+ 0.785
641
+ ],
642
+ "angle": 0,
643
+ "content": "A local CKA score, denoted as \\(\\mathrm{localCKA}(z^q,h^q)\\) for a couple \\((z^{q},h^{q})\\in \\mathcal{Q}\\) is calculated by computing a global CKA score for the image-caption pairs in \\(\\mathcal{B}\\), augmented with the query pair \\((z^{q},h^{q})\\). The local CKA is computed as follows:"
644
+ },
645
+ {
646
+ "type": "equation",
647
+ "bbox": [
648
+ 0.527,
649
+ 0.797,
650
+ 0.892,
651
+ 0.816
652
+ ],
653
+ "angle": 0,
654
+ "content": "\\[\n\\operatorname {l o c a l C K A} \\left(\\boldsymbol {z} ^ {q}, \\boldsymbol {h} ^ {q}\\right) = \\operatorname {C K A} \\left(\\mathbf {K} _ {[ \\mathbf {Z}, \\boldsymbol {z} ^ {q} ]}, \\mathbf {K} _ {[ \\mathbf {H}, \\boldsymbol {h} ^ {q} ]}\\right), \\tag {6}\n\\]"
655
+ },
656
+ {
657
+ "type": "text",
658
+ "bbox": [
659
+ 0.498,
660
+ 0.825,
661
+ 0.894,
662
+ 0.902
663
+ ],
664
+ "angle": 0,
665
+ "content": "where \\([\\mathbf{M},\\pmb {v}]\\) denotes the concatenation of the matrix \\(\\mathbf{M}\\) and the vector \\(\\pmb{v}\\) column-wise and \\(\\mathbf{Z} = [z_1^b,\\dots ,z_M^b ]\\in\\) \\(\\mathbb{R}^{d_1\\times M}\\) and \\(\\mathbf{H} = [h_1^b,\\dots ,h_M^b ]\\in \\mathbb{R}^{d_2\\times M}\\). In essence, a correctly matched image-caption pair in \\(\\mathcal{Q}\\) would exhibit a higher degree of alignment with the base set \\(\\mathcal{B}\\) in terms of"
666
+ },
667
+ {
668
+ "type": "page_number",
669
+ "bbox": [
670
+ 0.481,
671
+ 0.945,
672
+ 0.52,
673
+ 0.957
674
+ ],
675
+ "angle": 0,
676
+ "content": "14336"
677
+ }
678
+ ],
679
+ [
680
+ {
681
+ "type": "text",
682
+ "bbox": [
683
+ 0.076,
684
+ 0.092,
685
+ 0.472,
686
+ 0.168
687
+ ],
688
+ "angle": 0,
689
+ "content": "the CKA score, resulting in an elevated localCKA score. This metric can be used to calculate a score between one source query and \\(N\\) target queries enabling effective retrieval. Furthermore, this framework allows for the use of linear sum assignment [23] for matching tasks."
690
+ },
691
+ {
692
+ "type": "title",
693
+ "bbox": [
694
+ 0.077,
695
+ 0.177,
696
+ 0.313,
697
+ 0.194
698
+ ],
699
+ "angle": 0,
700
+ "content": "4.3. Stretching and Clustering"
701
+ },
702
+ {
703
+ "type": "text",
704
+ "bbox": [
705
+ 0.076,
706
+ 0.2,
707
+ 0.473,
708
+ 0.481
709
+ ],
710
+ "angle": 0,
711
+ "content": "The choice of base samples and the spread of the representations in each embedding space affect the performance of the QAP and Local CKA algorithms. To spread the representations out in each domain for matching, we introduce a stretching matrix that normalizes the features of each dimension by the variance calculated from the query and base sets. Given \\(\\mathbf{X} = [\\pmb{x}_1,\\dots ,\\pmb{x}_d]^{\\top}\\in \\mathbb{R}^{d\\times N}\\), the stretched matrix \\(\\mathbf{X}_s\\) is computed as \\(\\mathbf{X}_s = \\mathbf{S}\\mathbf{X}\\), where the stretching matrix \\(\\mathbf{S}\\in \\mathbb{R}^{d\\times d}\\) is a diagonal matrix with inverse empirical standard deviation of the feature dimension as entries, i.e., \\(\\mathbf{S} = \\mathrm{diag}\\left(\\frac{1}{\\mathrm{std}(\\pmb{x}_1)},\\dots ,\\frac{1}{\\mathrm{std}(\\pmb{x}_d)}\\right)\\) and \\(\\pmb{x}_i\\in \\mathbb{R}^N\\) is the \\(i^{th}\\) row of \\(\\mathbf{X}\\). This stretching operation is performed for both the image and text before calculating the kernels for both QAP and local CKA matching algorithms. For picking the most effective base samples, we find that the simple \\(k\\)-means clustering on the image embeddings works best. An ablation on how these affect the QAP and local CKA matching and retrieval accuracies is provided in Sec 7."
712
+ },
713
+ {
714
+ "type": "title",
715
+ "bbox": [
716
+ 0.077,
717
+ 0.495,
718
+ 0.21,
719
+ 0.512
720
+ ],
721
+ "angle": 0,
722
+ "content": "5. Experiments"
723
+ },
724
+ {
725
+ "type": "text",
726
+ "bbox": [
727
+ 0.076,
728
+ 0.52,
729
+ 0.47,
730
+ 0.581
731
+ ],
732
+ "angle": 0,
733
+ "content": "We assess the performance of the proposed method using various vision and language encoders on a set of downstream tasks. We first detail the encoders, datasets, downstream tasks, and the baselines used."
734
+ },
735
+ {
736
+ "type": "title",
737
+ "bbox": [
738
+ 0.077,
739
+ 0.59,
740
+ 0.353,
741
+ 0.607
742
+ ],
743
+ "angle": 0,
744
+ "content": "5.1. Vision and Language Encoders"
745
+ },
746
+ {
747
+ "type": "text",
748
+ "bbox": [
749
+ 0.076,
750
+ 0.614,
751
+ 0.47,
752
+ 0.854
753
+ ],
754
+ "angle": 0,
755
+ "content": "The experimental setup covers vision encoders of different architectures, such as ViTs [16] and ConvNeXt [29], trained in various ways: supervised, language-supervised, and self-supervised, across different training data regimes. For the language encoder, an encoder capable of producing a global embedding for a caption is essential. This includes encoders of multiple architectures varying in size, languages, and training data sizes. The Huggingface's sentence-transformers [43] library is utilized, where each sentence transformer is first pre-trained on the masked language modeling task using a large text corpus, followed by a finetuning stage on a sentence pairs dataset with a contrastive loss. It's not straightforward to acquire a global sentence embedding from decoder-only models like GPT models [7, 39], hence we did not study the semantic alignment of these class of models to vision encoders."
756
+ },
757
+ {
758
+ "type": "text",
759
+ "bbox": [
760
+ 0.076,
761
+ 0.856,
762
+ 0.47,
763
+ 0.901
764
+ ],
765
+ "angle": 0,
766
+ "content": "The CKA and Matching Score (MS) of the various combinations of vision and language encoders are reported in supplementary. The findings indicate that the All-Roberta"
767
+ },
768
+ {
769
+ "type": "text",
770
+ "bbox": [
771
+ 0.498,
772
+ 0.092,
773
+ 0.892,
774
+ 0.138
775
+ ],
776
+ "angle": 0,
777
+ "content": "large-v1 [28] demonstrates the best CKA/MS across all vision models, establishing it as the primary language encoder for subsequent tasks, unless specified otherwise."
778
+ },
779
+ {
780
+ "type": "title",
781
+ "bbox": [
782
+ 0.5,
783
+ 0.148,
784
+ 0.608,
785
+ 0.162
786
+ ],
787
+ "angle": 0,
788
+ "content": "5.2. Baselines"
789
+ },
790
+ {
791
+ "type": "text",
792
+ "bbox": [
793
+ 0.498,
794
+ 0.171,
795
+ 0.892,
796
+ 0.216
797
+ ],
798
+ "angle": 0,
799
+ "content": "Here, we briefly describe three baselines that we compare our methods against for caption matching/retrieval, image classification, and cross-lingual tasks."
800
+ },
801
+ {
802
+ "type": "text",
803
+ "bbox": [
804
+ 0.498,
805
+ 0.217,
806
+ 0.893,
807
+ 0.413
808
+ ],
809
+ "angle": 0,
810
+ "content": "Linear Regression: We propose a baseline that learns a linear transformation from the image embedding space to the text using \\(M\\) aligned base examples and apply the transformation to the query image embeddings. Concretely, given query image embeddings \\(\\mathbf{Z}^q = [z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times N}\\) and text embeddings \\(\\mathbf{H}^q = [h_1^q,\\dots ,h_N^q ]\\in \\mathbb{R}^{d_2\\times N}\\), and a set of aligned base samples \\(\\mathbf{Z}^b = [z_1^b,\\dots ,z_N^b ]\\in \\mathbb{R}^{d_1\\times M}\\) and \\(\\mathbf{H}^b = [h_1^b,\\dots ,h_N^b ]\\in \\mathbb{R}^{d_2\\times M}\\), we first construct a linear transformation between \\(\\mathbf{Z}^b\\) and \\(\\mathbf{H}^b\\) by minimizing the MSE loss as \\(\\mathbf{W} = \\arg \\min_{\\mathbf{W}}\\| \\mathbf{W}^\\top \\mathbf{Z}^b -\\mathbf{H}^b\\| _F^2\\). Then we use \\(\\mathbf{W}\\) to transform the query image embeddings \\(\\mathbf{Z}^q\\) to the text domain as \\(\\hat{\\mathbf{H}}^q = \\mathbf{W}^\\top \\mathbf{Z}^q\\). Cosine similarity on \\(\\hat{\\mathbf{H}}^q\\) and \\(\\mathbf{H}^q\\) can be used to perform caption retrieval."
811
+ },
812
+ {
813
+ "type": "text",
814
+ "bbox": [
815
+ 0.498,
816
+ 0.414,
817
+ 0.893,
818
+ 0.639
819
+ ],
820
+ "angle": 0,
821
+ "content": "Relative Representations [34]: enable latent space communication between unaligned encoders by representing each query point relative to an aligned base set. Concretely, let \\(\\ell_2\\)-normalized embeddings for image and text queries be \\(\\mathbf{Z}^q = [z_1^q,\\dots ,z_N^q ]\\in \\mathbb{R}^{d_1\\times N}\\) and \\(\\mathbf{H} = [h_1^q,\\dots ,h_N^q ]\\in\\) \\(\\mathbb{R}^{d_2\\times N}\\), respectively. Utilizing a set of aligned base sample \\(\\ell_2\\)-normalized embeddings \\(\\mathbf{Z}^b = [z_1^b,\\dots ,z_M^b ]\\in \\mathbb{R}^{d_1\\times M}\\) and \\(\\mathbf{H}^b = [h_1^b,\\dots ,h_M^b ]\\in \\mathbb{R}^{d_2\\times M}\\), we can construct relative image and text query representations as \\(\\mathbf{Z}_{rel}^q = (\\mathbf{Z}^b)^\\top \\mathbf{Z}^q\\) and \\(\\mathbf{H}_{rel}^q = (\\mathbf{H}^b)^\\top \\mathbf{H}^q\\). Relative representations are a single vector of dimension \\(M\\) for each query specifying the cosine similarity of a query sample with all the base samples. Now we can use the cosine similarity on the relative representations to perform retrieval. Sec D in appendix provides a further comparison with our method."
822
+ },
823
+ {
824
+ "type": "text",
825
+ "bbox": [
826
+ 0.498,
827
+ 0.64,
828
+ 0.892,
829
+ 0.701
830
+ ],
831
+ "angle": 0,
832
+ "content": "CLIP [40]: We also compare against CLIP which has been contrastively trained to obtain a joint embedding space- as an upper limit on performance for both retrieval and matching tasks. We perform retrieval using cosine similarity"
833
+ },
834
+ {
835
+ "type": "text",
836
+ "bbox": [
837
+ 0.498,
838
+ 0.701,
839
+ 0.892,
840
+ 0.746
841
+ ],
842
+ "angle": 0,
843
+ "content": "For all 3 methods, caption matching can be achieved by constructing a cost matrix using cosine similarities and using linear sum assignment to find the permutation matrix."
844
+ },
845
+ {
846
+ "type": "title",
847
+ "bbox": [
848
+ 0.5,
849
+ 0.757,
850
+ 0.682,
851
+ 0.771
852
+ ],
853
+ "angle": 0,
854
+ "content": "5.3. Downstream Tasks"
855
+ },
856
+ {
857
+ "type": "text",
858
+ "bbox": [
859
+ 0.498,
860
+ 0.78,
861
+ 0.892,
862
+ 0.901
863
+ ],
864
+ "angle": 0,
865
+ "content": "Caption Matching: Given \\(N\\) query images and their corresponding captions, a query set is constructed by shuffling the captions. The task involves finding the correct permutation over captions for perfect matching. In Retrieval, the objective is, given one caption, to retrieve the correct image from the overall set of \\(N\\) images. The alignment between unaligned vision and text encoders is investigated using our methods on the COCO and NoCaps validation sets."
866
+ },
867
+ {
868
+ "type": "page_number",
869
+ "bbox": [
870
+ 0.481,
871
+ 0.945,
872
+ 0.519,
873
+ 0.957
874
+ ],
875
+ "angle": 0,
876
+ "content": "14337"
877
+ }
878
+ ],
879
+ [
880
+ {
881
+ "type": "table_caption",
882
+ "bbox": [
883
+ 0.077,
884
+ 0.089,
885
+ 0.895,
886
+ 0.133
887
+ ],
888
+ "angle": 0,
889
+ "content": "Table 2. Caption matching and retrieval task performance comparison in cross-domain and in-domain settings. Base samples from COCO are utilized for matching/retrieval tasks on queries from NoCaps (cross-domain) and COCO (in-domain). CLIP-V denotes the vision encoder of CLIP [40]. We use the Large version of all vision encoders. Table A.5 shows the reverse setting."
890
+ },
891
+ {
892
+ "type": "table",
893
+ "bbox": [
894
+ 0.088,
895
+ 0.137,
896
+ 0.885,
897
+ 0.386
898
+ ],
899
+ "angle": 0,
900
+ "content": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Vision Model</td><td colspan=\"2\">NoCaps [2]</td><td colspan=\"2\">COCO [27]</td></tr><tr><td>Matching accuracy</td><td>Top-5 retrieval</td><td>Matching accuracy</td><td>Top-5 retrieval</td></tr><tr><td>Cosine Similarity*</td><td>CLIP [40]</td><td>99.5</td><td>99.6</td><td>97.1</td><td>96.1</td></tr><tr><td rowspan=\"3\">Linear regression</td><td>CLIP-V [40]</td><td>29.3</td><td>44.7</td><td>42.7</td><td>59.1</td></tr><tr><td>ConvNeXt [47]</td><td>19.0</td><td>28.5</td><td>31.3</td><td>46.1</td></tr><tr><td>DINOv2 [37]</td><td>38.1</td><td>50.3</td><td>45.1</td><td>65.4</td></tr><tr><td rowspan=\"3\">Relative representations [34]</td><td>CLIP-V [40]</td><td>61.3</td><td>37.6</td><td>61.6</td><td>41.3</td></tr><tr><td>ConvNeXt [47]</td><td>25.5</td><td>17.8</td><td>38.6</td><td>34.1</td></tr><tr><td>DINOv2 [37]</td><td>46.0</td><td>46.4</td><td>47.7</td><td>52.3</td></tr><tr><td rowspan=\"3\">Ours: QAP</td><td>CLIP-V [40]</td><td>67.3</td><td>-</td><td>72.3</td><td>-</td></tr><tr><td>ConvNeXt [47]</td><td>46.7</td><td>-</td><td>66.1</td><td>-</td></tr><tr><td>DINOv2 [37]</td><td>57.7</td><td>-</td><td>66.0</td><td>-</td></tr><tr><td rowspan=\"3\">Ours: Local CKA</td><td>CLIP-V [40]</td><td>65.1</td><td>60.5</td><td>71.9</td><td>69.9</td></tr><tr><td>ConvNeXt [47]</td><td>43.7</td><td>44.4</td><td>64.8</td><td>65.5</td></tr><tr><td>DINOv2 [37]</td><td>58.7</td><td>61.8</td><td>64.3</td><td>70.5</td></tr></table>"
901
+ },
902
+ {
903
+ "type": "text",
904
+ "bbox": [
905
+ 0.076,
906
+ 0.41,
907
+ 0.471,
908
+ 0.531
909
+ ],
910
+ "angle": 0,
911
+ "content": "The COCO dataset [27] comprises over 120,000 images with multiple captions per image. It is used for testing unimodal representation quality via a caption-matching task, utilizing a validation set of 5,000 image-caption pairs. The NoCaps dataset [2] is designed for testing image captioning models on unseen objects, with 166,100 captions for 15,100 images from OpenImages. Its validation set includes novel concepts absent from COCO."
912
+ },
913
+ {
914
+ "type": "text",
915
+ "bbox": [
916
+ 0.076,
917
+ 0.533,
918
+ 0.47,
919
+ 0.625
920
+ ],
921
+ "angle": 0,
922
+ "content": "Cross-lingual Caption Matching/Retrieval: The task mirrors prior matching and retrieval but uses multilingual captions, say German. Given \\(N\\) images and shuffled German captions, the objective is to match each image with the correct caption. In retrieval, the goal is to select the most fitting German caption for a given query image from the set."
923
+ },
924
+ {
925
+ "type": "text",
926
+ "bbox": [
927
+ 0.077,
928
+ 0.626,
929
+ 0.471,
930
+ 0.687
931
+ ],
932
+ "angle": 0,
933
+ "content": "The XTD-10 dataset [1] enhances COCO2014 with 1,000 human-annotated multi-lingual captions in ten languages for cross-lingual image retrieval and tagging, serving as a zero-shot model benchmark."
934
+ },
935
+ {
936
+ "type": "text",
937
+ "bbox": [
938
+ 0.076,
939
+ 0.689,
940
+ 0.472,
941
+ 0.903
942
+ ],
943
+ "angle": 0,
944
+ "content": "ImageNet-100 Classification. The task setup is similar to the conventional classification task with small differences to account for the methods used. Given \\(N\\) query images and their corresponding classes, image representations are obtained by processing them through a vision encoder. In parallel, textual representations are generated in a multi-step process. Initially, several text captions are derived from the class-associated Wordnet synsets' lemmas, definitions, and hypernyms. These captions are then passed through the language encoder and averaged to get the text representations. The classification task is performed by retrieving the closest text representations to each image representation using our local CKA metric. We employ the ImageNet-100 dataset. This dataset is a subset of the larger ImageNet dataset, fea"
945
+ },
946
+ {
947
+ "type": "text",
948
+ "bbox": [
949
+ 0.499,
950
+ 0.41,
951
+ 0.892,
952
+ 0.441
953
+ ],
954
+ "angle": 0,
955
+ "content": "turing only 100 classes. It includes 130,000 training images, 50,000 validation images, and 100 classes."
956
+ },
957
+ {
958
+ "type": "title",
959
+ "bbox": [
960
+ 0.5,
961
+ 0.453,
962
+ 0.593,
963
+ 0.468
964
+ ],
965
+ "angle": 0,
966
+ "content": "5.4. Results"
967
+ },
968
+ {
969
+ "type": "text",
970
+ "bbox": [
971
+ 0.498,
972
+ 0.477,
973
+ 0.892,
974
+ 0.703
975
+ ],
976
+ "angle": 0,
977
+ "content": "Importance of Good Initialization: For all tasks, we make use of a set of base samples of size \\( S \\) that is kept fixed at 320 samples. The size of the query set is analogously fixed at 500 samples (see Sec ?? for more details). These base samples are selected after clustering the image embeddings and choosing one closest sample to each of the \\( S \\) cluster centers. By aligning the initial samples with the diverse cluster centers, we ensure sufficient coverage of the sample space. This enhances the accuracy of the matching process, as the initial alignment closely mirrors the inherent structure and variability within the data. In the case of linear regression, uniform sampling is employed to select the base samples. For relative representations [34], the same clustering methodology is applied to select base samples, ensuring a fair and consistent comparison between all methods."
978
+ },
979
+ {
980
+ "type": "text",
981
+ "bbox": [
982
+ 0.498,
983
+ 0.705,
984
+ 0.895,
985
+ 0.902
986
+ ],
987
+ "angle": 0,
988
+ "content": "COCO and NoCaps Caption Matching: We present the results of cross-domain and in-domain caption matching/retrieval, as detailed in Table 2. We tested each baseline against three different vision models, while employing a consistent language model—specifically, the all-roberta-large-v1. The vision models utilized are OpenAI's CLIP ViT-L/14, the ConvNeXT-Base model (trained on the ImageNet-22k dataset at a resolution of \\(224\\mathrm{x}224\\)), and the ViT-L/14 model trained using the DINOv2 method. It is important to note that the first row of the results table features vision and language models both being OpenAI's CLIP ViT-L/14. To effectively analyze cross-domain capabilities, our experiment design involved the use of the COCO"
989
+ },
990
+ {
991
+ "type": "page_number",
992
+ "bbox": [
993
+ 0.481,
994
+ 0.945,
995
+ 0.519,
996
+ 0.957
997
+ ],
998
+ "angle": 0,
999
+ "content": "14338"
1000
+ }
1001
+ ],
1002
+ [
1003
+ {
1004
+ "type": "text",
1005
+ "bbox": [
1006
+ 0.076,
1007
+ 0.091,
1008
+ 0.473,
1009
+ 0.349
1010
+ ],
1011
+ "angle": 0,
1012
+ "content": "validation set as the source of the base set and the NoCaps validation set for querying. Additionally, in-domain results are shown, when using COCO validation for both base and queries. We uniformly sample the query set and average the results over three different seeds. Although CLIP's cosine similarity metric emerges as the most robust due to the training paradigm inherent in CLIP models, our methods demonstrate commendable performance without necessitating any training. The DINOv2 model, trained solely through self-supervision, demonstrates the formation of semantic concepts independently of language supervision. This is evident in its remarkable top-5 retrieval scores of \\(70.5\\%\\) and \\(61.8\\%\\) on COCO and NoCaps datasets when coupled with an unaligned language encoder through our Local Kernel CKA method. However, the best-performing vision encoder is CLIP's vision encoder which has been trained using language supervision."
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "bbox": [
1017
+ 0.076,
1018
+ 0.351,
1019
+ 0.473,
1020
+ 0.534
1021
+ ],
1022
+ "angle": 0,
1023
+ "content": "ImageNet-100 Classification: In Table 3, we detail the performance of our methods on the ImageNet-100 classification task. Mirroring our approach in cross-domain matching and retrieval, we evaluated three different vision models for each method. Notably, the first row of the table highlights the performance using CLIP's embedding cosine similarity. The results are averaged over three different seeds for sampling the query set. A significant observation from this table is the comparatively narrower performance gap between the CLIP's cosine similarity and our methods, as well as the baseline linear regression method, in contrast to the results observed in cross-domain caption matching/retrieval tasks."
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "bbox": [
1028
+ 0.076,
1029
+ 0.535,
1030
+ 0.473,
1031
+ 0.597
1032
+ ],
1033
+ "angle": 0,
1034
+ "content": "It is interesting that ConvNeXt encoder trained on ImageNet has a classification top1 accuracy improvement of over \\(14\\%\\) compared to CLIP and Dinov2 while on the caption matching task DinoV2 and CLIP perform much better."
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "bbox": [
1039
+ 0.076,
1040
+ 0.599,
1041
+ 0.473,
1042
+ 0.903
1043
+ ],
1044
+ "angle": 0,
1045
+ "content": "Cross-lingual Caption Retrieval: The results of cross-lingual caption matching/retrieval are presented in Table 4 for the 10 languages in the XTD-dataset. OpenAI CLIP's ViT-L vision encoder, trained on English image-caption pairs, and a multilingual sentence transformer paraphrase-multilingual-mpnet-base-v2 were utilized for this task. The accuracy of CLIP's cosine retrieval method exhibits a significant drop when applied to languages other than English. E.g., CLIP's retrieval at 5 experiences a drop of 30 points when switching from English to other Latin-alphabet languages (Spanish, French, German, and Italian). For non-Latin alphabet languages such as Korean, Chinese, Turkish, etc., CLIP's performance decreases substantially, collapsing to zero, primarily due to most words resulting in unknown tokens. In contrast, the QAP and local CKA matching methods demonstrate consistent performance across all languages, including non-Latin languages, attributing to the robustness of a multilingual sentence transformer trained solely on text. On average, QAP surpasses CLIP by \\(12\\%\\) in the caption matching task and also outperforms other"
1046
+ },
1047
+ {
1048
+ "type": "table_caption",
1049
+ "bbox": [
1050
+ 0.499,
1051
+ 0.089,
1052
+ 0.892,
1053
+ 0.132
1054
+ ],
1055
+ "angle": 0,
1056
+ "content": "Table 3. ImageNet-100 classification performance comparison. We observe a narrow performance gap between the CLIP model and our methods. CLIP-V denotes the vision encoder of CLIP."
1057
+ },
1058
+ {
1059
+ "type": "table",
1060
+ "bbox": [
1061
+ 0.508,
1062
+ 0.136,
1063
+ 0.887,
1064
+ 0.323
1065
+ ],
1066
+ "angle": 0,
1067
+ "content": "<table><tr><td>Method</td><td>Vision Model</td><td>Top 1</td><td>Top 5</td></tr><tr><td>Cosine Similarity*</td><td>CLIP</td><td>86.1</td><td>99.2</td></tr><tr><td rowspan=\"3\">Linear Regression</td><td>CLIP-V</td><td>76.1</td><td>93.0</td></tr><tr><td>ConvNeXt</td><td>84.5</td><td>95.4</td></tr><tr><td>DINOv2</td><td>73.5</td><td>92.1</td></tr><tr><td rowspan=\"3\">Relative representations [34]</td><td>CLIP-V</td><td>8.90</td><td>30.3</td></tr><tr><td>ConvNeXt</td><td>7.20</td><td>15.7</td></tr><tr><td>DINOv2</td><td>49.7</td><td>75.5</td></tr><tr><td rowspan=\"3\">Local CKA</td><td>CLIP-V</td><td>68.7</td><td>91.2</td></tr><tr><td>ConvNeXt</td><td>83.3</td><td>95.8</td></tr><tr><td>DINOv2</td><td>67.7</td><td>88.3</td></tr></table>"
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "bbox": [
1072
+ 0.498,
1073
+ 0.337,
1074
+ 0.892,
1075
+ 0.382
1076
+ ],
1077
+ "angle": 0,
1078
+ "content": "bases like relative representations and linear regression methods. For retrieval at 5, the local CKA-based method exceeds CLIP's performance by over \\(17\\%\\)."
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "bbox": [
1083
+ 0.498,
1084
+ 0.383,
1085
+ 0.892,
1086
+ 0.49
1087
+ ],
1088
+ "angle": 0,
1089
+ "content": "It is possible to push the performance further by using language-specific sentence encoders and we report these results for a few languages in Sec ?? of supplementary. This is a practical application of our method as we can now turn a well-trained English CLIP model's vision encoder into a CLIP model for any low-resource language if a text-only Sentence Transformer trained on that language is available."
1090
+ },
1091
+ {
1092
+ "type": "title",
1093
+ "bbox": [
1094
+ 0.499,
1095
+ 0.515,
1096
+ 0.698,
1097
+ 0.532
1098
+ ],
1099
+ "angle": 0,
1100
+ "content": "5.5. Matching complexity"
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "bbox": [
1105
+ 0.498,
1106
+ 0.539,
1107
+ 0.895,
1108
+ 0.903
1109
+ ],
1110
+ "angle": 0,
1111
+ "content": "In Table 5, we go over the time complexity and runtimes of QAP matching and local CKA based retrieval in comparison to the other baselines for matching when number of base samples and query samples are 320, 500 respectively. For all time complexities, we assume number of base samples \\( m \\) to be of the order of the number of query samples \\( n \\). QAP uses the seeded version of the fast QAP algorithm from the SciPy library, which has a worst time complexity of \\( \\mathcal{O}(n^3) \\) [17], while local CKA retrieval requires constructing a graph over all the query image and text pairs, \\( \\mathcal{O}(n^2) \\), using local CKA, which is also \\( \\mathcal{O}(n^2) \\) resulting in \\( \\mathcal{O}(n^4) \\). Relative involves the calculation of the relative representations for every query image and text pair, resulting in a time complexity of \\( \\mathcal{O}(n^2) \\), but it's fast due to highly optimized algorithms for matrix multiplications in PyTorch [38]. Linear has a time complexity of \\( \\mathcal{O}(nd) \\), where \\( n \\) is the number of samples and \\( d \\) is the number of dimensions. It is to be noted that QAP runs on the CPU, and a CUDA-optimized version could bring the runtimes further down from 40 seconds. An efficient implementation of Local Kernel CKA is also possible, where the CKA of base samples is recalculated, and the graph is constructed in an additive manner, which would bring down the time complexity to \\( \\mathcal{O}(n^3) \\). For both relative and linear matching, we make use of SciPy's"
1112
+ },
1113
+ {
1114
+ "type": "page_number",
1115
+ "bbox": [
1116
+ 0.481,
1117
+ 0.945,
1118
+ 0.52,
1119
+ 0.957
1120
+ ],
1121
+ "angle": 0,
1122
+ "content": "14339"
1123
+ }
1124
+ ],
1125
+ [
1126
+ {
1127
+ "type": "table_caption",
1128
+ "bbox": [
1129
+ 0.076,
1130
+ 0.089,
1131
+ 0.895,
1132
+ 0.16
1133
+ ],
1134
+ "angle": 0,
1135
+ "content": "Table 4. Cross-Lingual caption matching and retrieval performance comparison. Using QAP and local CKA-based methods we are able to do cross-lingual caption matching/retrieval using CLIP's ViT-L vision encoder and a multi-lingual sentence transformer paraphrase-multilingual-mpnet-base-v2. While CLIP performs well on the Latin languages, it degrades on non-Latin languages. In comparison, our QAP and Local-CKA-based methods perform comparably in Latin languages while outperforming non-Latin languages, highlighting the efficacy of our training-free transfer approach. See Table A.6 and Table A.7 in appendix for additional results."
1136
+ },
1137
+ {
1138
+ "type": "table",
1139
+ "bbox": [
1140
+ 0.118,
1141
+ 0.165,
1142
+ 0.855,
1143
+ 0.405
1144
+ ],
1145
+ "angle": 0,
1146
+ "content": "<table><tr><td rowspan=\"2\">Language</td><td></td><td colspan=\"2\">Kernel CKA</td><td colspan=\"4\">Matching Accuracy</td><td colspan=\"2\">Retrieval @ 5</td></tr><tr><td></td><td>CLIP</td><td>Ours</td><td>CLIP</td><td>Relative[34]</td><td>Linear</td><td>Ours (QAP)</td><td>CLIP</td><td>Ours (Local)</td></tr><tr><td rowspan=\"5\">Latin</td><td>de</td><td>0.472</td><td>0.627</td><td>41.8</td><td>35.0</td><td>34.0</td><td>39.6</td><td>65.1</td><td>56.7</td></tr><tr><td>en</td><td>0.567</td><td>0.646</td><td>81.5</td><td>52.5</td><td>40.9</td><td>51.6</td><td>92.5</td><td>69.0</td></tr><tr><td>es</td><td>0.471</td><td>0.634</td><td>50.2</td><td>37.8</td><td>31.7</td><td>41.4</td><td>68.5</td><td>61.6</td></tr><tr><td>fr</td><td>0.477</td><td>0.624</td><td>49.4</td><td>37.5</td><td>30.7</td><td>40.2</td><td>68.7</td><td>57.6</td></tr><tr><td>it</td><td>0.472</td><td>0.638</td><td>41.0</td><td>37.2</td><td>34.9</td><td>38.5</td><td>61.3</td><td>59.7</td></tr><tr><td rowspan=\"6\">Non-Latin</td><td>jp</td><td>0.337</td><td>0.598</td><td>13.2</td><td>28.3</td><td>23.5</td><td>30.5</td><td>30.0</td><td>49.4</td></tr><tr><td>ko</td><td>0.154</td><td>0.620</td><td>0.50</td><td>30.4</td><td>23.5</td><td>30.9</td><td>3.30</td><td>53.4</td></tr><tr><td>pl</td><td>0.261</td><td>0.642</td><td>5.40</td><td>36.6</td><td>30.2</td><td>40.2</td><td>18.8</td><td>59.5</td></tr><tr><td>ru</td><td>0.077</td><td>0.632</td><td>0.80</td><td>31.9</td><td>30.7</td><td>35.1</td><td>4.10</td><td>53.2</td></tr><tr><td>tr</td><td>0.301</td><td>0.624</td><td>4.30</td><td>35.8</td><td>29.6</td><td>38.9</td><td>15.2</td><td>59.3</td></tr><tr><td>zh</td><td>0.133</td><td>0.641</td><td>2.70</td><td>36.5</td><td>31.1</td><td>40.3</td><td>8.90</td><td>57.8</td></tr><tr><td></td><td>Avg.</td><td>-</td><td>-</td><td>26.4</td><td>36.3</td><td>30.9</td><td>38.8</td><td>39.6</td><td>57.9</td></tr></table>"
1147
+ },
1148
+ {
1149
+ "type": "image",
1150
+ "bbox": [
1151
+ 0.083,
1152
+ 0.42,
1153
+ 0.492,
1154
+ 0.685
1155
+ ],
1156
+ "angle": 0,
1157
+ "content": null
1158
+ },
1159
+ {
1160
+ "type": "image",
1161
+ "bbox": [
1162
+ 0.501,
1163
+ 0.42,
1164
+ 0.888,
1165
+ 0.684
1166
+ ],
1167
+ "angle": 0,
1168
+ "content": null
1169
+ },
1170
+ {
1171
+ "type": "image_caption",
1172
+ "bbox": [
1173
+ 0.076,
1174
+ 0.699,
1175
+ 0.895,
1176
+ 0.743
1177
+ ],
1178
+ "angle": 0,
1179
+ "content": "Figure 2. Kernel CKA and QAP Matching accuracy are correlated with the training set size and quality of the training set. Here the language encoder is kept constant to the best BERT-sentence encoder (i.e. All-Roberta-large-v1). There is a clear correlation between CKA and QAP Matching accuracy across all architectures, training paradigm and data regimes."
1180
+ },
1181
+ {
1182
+ "type": "table_caption",
1183
+ "bbox": [
1184
+ 0.151,
1185
+ 0.766,
1186
+ 0.396,
1187
+ 0.78
1188
+ ],
1189
+ "angle": 0,
1190
+ "content": "Table 5. Run times for different methods"
1191
+ },
1192
+ {
1193
+ "type": "table",
1194
+ "bbox": [
1195
+ 0.08,
1196
+ 0.791,
1197
+ 0.47,
1198
+ 0.84
1199
+ ],
1200
+ "angle": 0,
1201
+ "content": "<table><tr><td>Method</td><td>QAP</td><td>Local CKA</td><td>Relative</td><td>Linear</td></tr><tr><td>Run times</td><td>40 seconds</td><td>5 mins</td><td>1 second</td><td>1 second</td></tr><tr><td>Complexity</td><td>O(n3)</td><td>O(n4)</td><td>O(n2)</td><td>O(n × d)</td></tr></table>"
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "bbox": [
1206
+ 0.077,
1207
+ 0.871,
1208
+ 0.47,
1209
+ 0.903
1210
+ ],
1211
+ "angle": 0,
1212
+ "content": "modified Jonker-Volgenant algorithm [13] for linear sum assignment, which has the worst time complexity of \\(\\mathcal{O}(n^3)\\)."
1213
+ },
1214
+ {
1215
+ "type": "title",
1216
+ "bbox": [
1217
+ 0.5,
1218
+ 0.766,
1219
+ 0.597,
1220
+ 0.784
1221
+ ],
1222
+ "angle": 0,
1223
+ "content": "6. Analysis"
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "bbox": [
1228
+ 0.498,
1229
+ 0.795,
1230
+ 0.895,
1231
+ 0.903
1232
+ ],
1233
+ "angle": 0,
1234
+ "content": "This section focuses on how training paradigms, data regimes, and encoder size/architecture influence a vision encoder's ability to represent the world similarly to a language encoder. This is assessed by comparing the semantic alignment of their representation spaces using CKA as well as QAP matching accuracy. Figure 2 compares the kernel CKA and caption matching accuracy of different vision"
1235
+ },
1236
+ {
1237
+ "type": "page_number",
1238
+ "bbox": [
1239
+ 0.481,
1240
+ 0.945,
1241
+ 0.52,
1242
+ 0.957
1243
+ ],
1244
+ "angle": 0,
1245
+ "content": "14340"
1246
+ }
1247
+ ],
1248
+ [
1249
+ {
1250
+ "type": "text",
1251
+ "bbox": [
1252
+ 0.076,
1253
+ 0.092,
1254
+ 0.468,
1255
+ 0.151
1256
+ ],
1257
+ "angle": 0,
1258
+ "content": "encoders with a fixed text-encoder (i.e., All-Roberta-large-v1), against the training datasets on which the vision encoder was trained for all pairs in the COCO captions validation set. The findings are summarized below:"
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "bbox": [
1263
+ 0.076,
1264
+ 0.152,
1265
+ 0.468,
1266
+ 0.468
1267
+ ],
1268
+ "angle": 0,
1269
+ "content": "Scale and quality of dataset results in encoders with high semantic alignment with the language space: It is observed that SSL methods like DINOv2 can learn semantic concepts in a relative manner even without language supervision during training. The CKA and QAP matching accuracy for DINOv2 embeddings are comparable to CLIP models, despite lacking language supervision and having significantly less data (LVD-142's 142M vs Open-AI-CLIP's 400M). A general trend emerges where more training data leads to semantically richer visual embeddings, evident when comparing CKA and QAP Accuracies from ImageNet1K to DFN-5B datasets. Notably, training on a curated dataset proves more effective than on an uncurated dataset of the same size, especially for smaller models. This is illustrated by the higher CKA and QAP accuracy of ViT-Large trained on the curated DFN-2B dataset compared to ViT-Large/Giant, and ConvNext-xxLarge trained on Laion 2B. Additionally, SSL methods show less semantic consistency when trained on ImageNet1K, as indicated by the clear difference in QAP accuracies between DINO trained on ImageNet1K and DINOv2 trained on LVD-142M."
1270
+ },
1271
+ {
1272
+ "type": "text",
1273
+ "bbox": [
1274
+ 0.076,
1275
+ 0.469,
1276
+ 0.468,
1277
+ 0.725
1278
+ ],
1279
+ "angle": 0,
1280
+ "content": "Vision Encoders Trained with Language Supervision Exhibit Greater Semantic Alignment with Language Encoders: In line with the findings of Merullo et al.[31], it is observed in our experiments that vision encoders trained with more language supervision on datasets of comparable size exhibit a higher degree of semantic alignment with language encoders compared to self-supervised methods. For example, ViT-Large trained on CLIP-400M with language supervision demonstrates superior caption-matching capabilities compared to DINOv2's ViT-Large trained on LVD-142M. Similarly, we verify that class label supervision, like that from ImageNet, leads to more semantically aligned image encoders when compared to self-supervision when similarly sized models are compared on ImageNet-1k. For example, all supervised encoders trained on ImageNet-1k have higher CKA as well as QAP matching accuracy than all the self-supervised models."
1281
+ },
1282
+ {
1283
+ "type": "title",
1284
+ "bbox": [
1285
+ 0.077,
1286
+ 0.74,
1287
+ 0.185,
1288
+ 0.755
1289
+ ],
1290
+ "angle": 0,
1291
+ "content": "7. Ablations"
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "bbox": [
1296
+ 0.076,
1297
+ 0.765,
1298
+ 0.468,
1299
+ 0.901
1300
+ ],
1301
+ "angle": 0,
1302
+ "content": "This section rationalizes our method choices through ablation studies on clustering, stretching, and the global CKA metric. We demonstrate the impact of these components on the performance of our methods, primarily through Table 6, which delineates the effectiveness of the QAP and the local CKA metric under various configurations. It shows the performance metrics in scenarios where each main component is either integrated or omitted. Notably, in instances where the CKA metric is not used, we opt for normalized"
1303
+ },
1304
+ {
1305
+ "type": "table_caption",
1306
+ "bbox": [
1307
+ 0.499,
1308
+ 0.09,
1309
+ 0.892,
1310
+ 0.132
1311
+ ],
1312
+ "angle": 0,
1313
+ "content": "Table 6. Impact of clustering and stretching. The matching and retrieval performance is the best when both clustering and stretching are employed. Hence, justifying this choice."
1314
+ },
1315
+ {
1316
+ "type": "table",
1317
+ "bbox": [
1318
+ 0.502,
1319
+ 0.135,
1320
+ 0.89,
1321
+ 0.223
1322
+ ],
1323
+ "angle": 0,
1324
+ "content": "<table><tr><td>Clustering</td><td>Stretching</td><td>CKA</td><td>QAP Matching</td><td>Local CKA Matching</td><td>Local CKA Retrieval @ 5</td></tr><tr><td>X</td><td>X</td><td>X</td><td>10.1</td><td>16.2</td><td>1.0</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>48.8</td><td>48.5</td><td>60.2</td></tr><tr><td>X</td><td>✓</td><td>✓</td><td>57.3</td><td>56.7</td><td>73.0</td></tr><tr><td>✓</td><td>X</td><td>✓</td><td>56.2</td><td>55.1</td><td>66.4</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>65.5</td><td>63.3</td><td>77.2</td></tr></table>"
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "bbox": [
1329
+ 0.498,
1330
+ 0.243,
1331
+ 0.892,
1332
+ 0.304
1333
+ ],
1334
+ "angle": 0,
1335
+ "content": "correlation matrices for each graph. The empirical results presented are derived from the caption matching/retrieval task, utilizing both base and query sets extracted from the COCO validation set of size 320 and 500 respectively."
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "bbox": [
1340
+ 0.498,
1341
+ 0.304,
1342
+ 0.892,
1343
+ 0.379
1344
+ ],
1345
+ "angle": 0,
1346
+ "content": "Choice of the metric: CKA is more beneficial than using just the scaled correlation matrix to represent the semantic relationships in an embedding space as matching accuracy increases from \\(10.1\\%\\) to \\(48.8\\%\\). The choice of a robust metric is core to aligning vision and language latent spaces."
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "bbox": [
1351
+ 0.498,
1352
+ 0.379,
1353
+ 0.892,
1354
+ 0.469
1355
+ ],
1356
+ "angle": 0,
1357
+ "content": "Impact of Stretching: It is clear that stretching facilitates better alignment of embeddings in our methods as stretching spreads the representations out in each modality without sacrificing the relative positions of the different embeddings within each embedding space. This is reflected in the increase of QAP accuracy from \\(48.8\\%\\) to \\(57.3\\%\\)."
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "bbox": [
1362
+ 0.498,
1363
+ 0.47,
1364
+ 0.892,
1365
+ 0.621
1366
+ ],
1367
+ "angle": 0,
1368
+ "content": "Clustering vs. Uniform Sampling: The choice of the base set is important in QAP matching and local CKA retrieval, as it measures any query pair alignment with the base set. A diverse base set is essential to capture a broad semantic range, and clustering within one of the embedding spaces aids in achieving this diversity. The third and fifth rows of the table demonstrate that clustering enhances the QAP performance from \\(57.3\\%\\) to \\(65.5\\%\\). Consequently, these results highlight that all the components together significantly enhance the efficacy of our proposed approach."
1369
+ },
1370
+ {
1371
+ "type": "title",
1372
+ "bbox": [
1373
+ 0.5,
1374
+ 0.634,
1375
+ 0.619,
1376
+ 0.649
1377
+ ],
1378
+ "angle": 0,
1379
+ "content": "8. Conclusion"
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "bbox": [
1384
+ 0.498,
1385
+ 0.66,
1386
+ 0.892,
1387
+ 0.9
1388
+ ],
1389
+ "angle": 0,
1390
+ "content": "In this work, we ask the question, 'Do vision encoders and language encoders represent the world similarly?' and study this using CKA and a caption-matching task. We find that well-trained vision encoders on sufficiently large datasets exhibit surprisingly high semantic similarity with language encoders comparable to aligned encoders, irrespective of the training paradigm. Inspired by this, we draw parallels between CKA and the QAP matching objective and use seeded graph matching to align vision and language encoders by maximizing CKA. We also devise a local CKA-based metric to enable retrieval between unaligned vision and language encoders demonstrating a better performance than that of relative representations on cross-domain and cross-lingual caption matching/retrieval tasks, facilitating zero-shot latent space communication between unaligned encoders."
1391
+ },
1392
+ {
1393
+ "type": "page_number",
1394
+ "bbox": [
1395
+ 0.481,
1396
+ 0.945,
1397
+ 0.518,
1398
+ 0.956
1399
+ ],
1400
+ "angle": 0,
1401
+ "content": "14341"
1402
+ }
1403
+ ],
1404
+ [
1405
+ {
1406
+ "type": "title",
1407
+ "bbox": [
1408
+ 0.08,
1409
+ 0.09,
1410
+ 0.174,
1411
+ 0.105
1412
+ ],
1413
+ "angle": 0,
1414
+ "content": "References"
1415
+ },
1416
+ {
1417
+ "type": "ref_text",
1418
+ "bbox": [
1419
+ 0.087,
1420
+ 0.115,
1421
+ 0.47,
1422
+ 0.156
1423
+ ],
1424
+ "angle": 0,
1425
+ "content": "[1] Pranav Aggarwal and Ajinkya Kale. Towards zero-shot cross-lingual image retrieval. arXiv preprint arXiv:2012.05107, 2020. 5"
1426
+ },
1427
+ {
1428
+ "type": "ref_text",
1429
+ "bbox": [
1430
+ 0.087,
1431
+ 0.159,
1432
+ 0.472,
1433
+ 0.24
1434
+ ],
1435
+ "angle": 0,
1436
+ "content": "[2] Harsh Agrawal, Karan Desai, Yufei Wang, Xinlei Chen, Rishabh Jain, Mark Johnson, Dhruv Batra, Devi Parikh, Stefan Lee, and Peter Anderson. Nocaps: Novel object captioning at scale. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8948-8957, 2019. 2, 5"
1437
+ },
1438
+ {
1439
+ "type": "ref_text",
1440
+ "bbox": [
1441
+ 0.087,
1442
+ 0.244,
1443
+ 0.471,
1444
+ 0.299
1445
+ ],
1446
+ "angle": 0,
1447
+ "content": "[3] Richard Antonello, Javier S Turek, Vy Vo, and Alexander Huth. Low-dimensional structure in the space of language representations is reflected in brain responses. Advances in neural information processing systems, 2021. 2"
1448
+ },
1449
+ {
1450
+ "type": "ref_text",
1451
+ "bbox": [
1452
+ 0.087,
1453
+ 0.301,
1454
+ 0.47,
1455
+ 0.342
1456
+ ],
1457
+ "angle": 0,
1458
+ "content": "[4] Yamini Bansal, Preetum Nakkiran, and Boaz Barak. Revisiting model stitching to compare neural representations. Advances in neural information processing systems, 2021. 2"
1459
+ },
1460
+ {
1461
+ "type": "ref_text",
1462
+ "bbox": [
1463
+ 0.087,
1464
+ 0.344,
1465
+ 0.47,
1466
+ 0.4
1467
+ ],
1468
+ "angle": 0,
1469
+ "content": "[5] Serguei Barannikov, Ilya Trofimov, Nikita Balabin, and Evgeny Burnaev. Representation topology divergence: A method for comparing neural network representations. arXiv preprint arXiv:2201.00058, 2021. 2"
1470
+ },
1471
+ {
1472
+ "type": "ref_text",
1473
+ "bbox": [
1474
+ 0.087,
1475
+ 0.402,
1476
+ 0.47,
1477
+ 0.442
1478
+ ],
1479
+ "angle": 0,
1480
+ "content": "[6] Lisa Bonheme and Marek Grzes. How do variational autoencoders learn? insights from representational similarity. arXiv preprint arXiv:2205.08399, 2022. 2"
1481
+ },
1482
+ {
1483
+ "type": "ref_text",
1484
+ "bbox": [
1485
+ 0.087,
1486
+ 0.445,
1487
+ 0.47,
1488
+ 0.514
1489
+ ],
1490
+ "angle": 0,
1491
+ "content": "[7] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020. 4"
1492
+ },
1493
+ {
1494
+ "type": "ref_text",
1495
+ "bbox": [
1496
+ 0.087,
1497
+ 0.516,
1498
+ 0.47,
1499
+ 0.585
1500
+ ],
1501
+ "angle": 0,
1502
+ "content": "[8] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9650-9660, 2021. 1"
1503
+ },
1504
+ {
1505
+ "type": "ref_text",
1506
+ "bbox": [
1507
+ 0.087,
1508
+ 0.587,
1509
+ 0.47,
1510
+ 0.657
1511
+ ],
1512
+ "angle": 0,
1513
+ "content": "[9] Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pretraining to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3558-3568, 2021. 1"
1514
+ },
1515
+ {
1516
+ "type": "ref_text",
1517
+ "bbox": [
1518
+ 0.08,
1519
+ 0.659,
1520
+ 0.469,
1521
+ 0.713
1522
+ ],
1523
+ "angle": 0,
1524
+ "content": "[10] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR, 2020. 1"
1525
+ },
1526
+ {
1527
+ "type": "ref_text",
1528
+ "bbox": [
1529
+ 0.08,
1530
+ 0.716,
1531
+ 0.469,
1532
+ 0.769
1533
+ ],
1534
+ "angle": 0,
1535
+ "content": "[11] Alexis Conneau, Guillaume Lample, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Word translation without parallel data. arXiv preprint arXiv:1710.04087, 2017. 2"
1536
+ },
1537
+ {
1538
+ "type": "ref_text",
1539
+ "bbox": [
1540
+ 0.08,
1541
+ 0.772,
1542
+ 0.469,
1543
+ 0.827
1544
+ ],
1545
+ "angle": 0,
1546
+ "content": "[12] Corinna Cortes, Mehryar Mohri, and Afshin Rostamizadeh. Algorithms for learning kernels based on centered alignment. The Journal of Machine Learning Research, 13(1):795-828, 2012. 1"
1547
+ },
1548
+ {
1549
+ "type": "ref_text",
1550
+ "bbox": [
1551
+ 0.08,
1552
+ 0.83,
1553
+ 0.469,
1554
+ 0.871
1555
+ ],
1556
+ "angle": 0,
1557
+ "content": "[13] David F Crouse. On implementing 2d rectangular assignment algorithms. IEEE Transactions on Aerospace and Electronic Systems, 52(4):1679-1696, 2016. 7"
1558
+ },
1559
+ {
1560
+ "type": "ref_text",
1561
+ "bbox": [
1562
+ 0.08,
1563
+ 0.873,
1564
+ 0.469,
1565
+ 0.902
1566
+ ],
1567
+ "angle": 0,
1568
+ "content": "[14] Adrián Csiszárik, Péter Korösi-Szabó, Akos K Matszangosz, Gergely Papp, and Daniel Varga. Similarity and"
1569
+ },
1570
+ {
1571
+ "type": "list",
1572
+ "bbox": [
1573
+ 0.08,
1574
+ 0.115,
1575
+ 0.472,
1576
+ 0.902
1577
+ ],
1578
+ "angle": 0,
1579
+ "content": null
1580
+ },
1581
+ {
1582
+ "type": "ref_text",
1583
+ "bbox": [
1584
+ 0.533,
1585
+ 0.093,
1586
+ 0.892,
1587
+ 0.12
1588
+ ],
1589
+ "angle": 0,
1590
+ "content": "matching of neural network representations. arXiv preprint arXiv:2110.14633, 2021. 2"
1591
+ },
1592
+ {
1593
+ "type": "ref_text",
1594
+ "bbox": [
1595
+ 0.504,
1596
+ 0.123,
1597
+ 0.892,
1598
+ 0.178
1599
+ ],
1600
+ "angle": 0,
1601
+ "content": "[15] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009. 2"
1602
+ },
1603
+ {
1604
+ "type": "ref_text",
1605
+ "bbox": [
1606
+ 0.504,
1607
+ 0.181,
1608
+ 0.892,
1609
+ 0.263
1610
+ ],
1611
+ "angle": 0,
1612
+ "content": "[16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. 1, 4"
1613
+ },
1614
+ {
1615
+ "type": "ref_text",
1616
+ "bbox": [
1617
+ 0.504,
1618
+ 0.266,
1619
+ 0.892,
1620
+ 0.321
1621
+ ],
1622
+ "angle": 0,
1623
+ "content": "[17] Donniell E Fishkind, Sancar Adali, Heather G Patsolic, Lingyao Meng, Digvijay Singh, Vince Lyzinski, and Carey E Priebe. Seeded graph matching. Pattern recognition, 87: 203-215, 2019. 3, 6"
1624
+ },
1625
+ {
1626
+ "type": "ref_text",
1627
+ "bbox": [
1628
+ 0.504,
1629
+ 0.324,
1630
+ 0.892,
1631
+ 0.38
1632
+ ],
1633
+ "angle": 0,
1634
+ "content": "[18] Arthur Gretton, Olivier Bousquet, Alex Smola, and Bernhard Schölkopf. Measuring statistical dependence with hilbert-schmidt norms. In International conference on algorithmic learning theory, pages 63-77. Springer, 2005. 2"
1635
+ },
1636
+ {
1637
+ "type": "ref_text",
1638
+ "bbox": [
1639
+ 0.504,
1640
+ 0.382,
1641
+ 0.892,
1642
+ 0.465
1643
+ ],
1644
+ "angle": 0,
1645
+ "content": "[19] Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pages 297–304. JMLR Workshop and Conference Proceedings, 2010. 1"
1646
+ },
1647
+ {
1648
+ "type": "ref_text",
1649
+ "bbox": [
1650
+ 0.504,
1651
+ 0.468,
1652
+ 0.892,
1653
+ 0.55
1654
+ ],
1655
+ "angle": 0,
1656
+ "content": "[20] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International conference on machine learning, pages 4904-4916. PMLR, 2021. 1"
1657
+ },
1658
+ {
1659
+ "type": "ref_text",
1660
+ "bbox": [
1661
+ 0.504,
1662
+ 0.553,
1663
+ 0.892,
1664
+ 0.581
1665
+ ],
1666
+ "angle": 0,
1667
+ "content": "[21] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. ICLR, 2014. 2"
1668
+ },
1669
+ {
1670
+ "type": "ref_text",
1671
+ "bbox": [
1672
+ 0.504,
1673
+ 0.583,
1674
+ 0.892,
1675
+ 0.639
1676
+ ],
1677
+ "angle": 0,
1678
+ "content": "[22] Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International conference on machine learning, pages 3519-3529. PMLR, 2019. 1, 2"
1679
+ },
1680
+ {
1681
+ "type": "ref_text",
1682
+ "bbox": [
1683
+ 0.504,
1684
+ 0.641,
1685
+ 0.892,
1686
+ 0.682
1687
+ ],
1688
+ "angle": 0,
1689
+ "content": "[23] Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83-97, 1955. 4"
1690
+ },
1691
+ {
1692
+ "type": "ref_text",
1693
+ "bbox": [
1694
+ 0.504,
1695
+ 0.686,
1696
+ 0.892,
1697
+ 0.741
1698
+ ],
1699
+ "angle": 0,
1700
+ "content": "[24] Karel Lenc and Andrea Vedaldi. Understanding image representations by measuring their equivariance and equivalence. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 991-999, 2015. 2"
1701
+ },
1702
+ {
1703
+ "type": "ref_text",
1704
+ "bbox": [
1705
+ 0.504,
1706
+ 0.743,
1707
+ 0.892,
1708
+ 0.784
1709
+ ],
1710
+ "angle": 0,
1711
+ "content": "[25] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021. 2"
1712
+ },
1713
+ {
1714
+ "type": "ref_text",
1715
+ "bbox": [
1716
+ 0.504,
1717
+ 0.787,
1718
+ 0.892,
1719
+ 0.842
1720
+ ],
1721
+ "angle": 0,
1722
+ "content": "[26] Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. Convergent learning: Do different neural networks learn the same representations? arXiv preprint arXiv:1511.07543, 2015. 2"
1723
+ },
1724
+ {
1725
+ "type": "ref_text",
1726
+ "bbox": [
1727
+ 0.504,
1728
+ 0.845,
1729
+ 0.892,
1730
+ 0.9
1731
+ ],
1732
+ "angle": 0,
1733
+ "content": "[27] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 1, 3, 5"
1734
+ },
1735
+ {
1736
+ "type": "list",
1737
+ "bbox": [
1738
+ 0.504,
1739
+ 0.093,
1740
+ 0.892,
1741
+ 0.9
1742
+ ],
1743
+ "angle": 0,
1744
+ "content": null
1745
+ },
1746
+ {
1747
+ "type": "page_number",
1748
+ "bbox": [
1749
+ 0.481,
1750
+ 0.945,
1751
+ 0.52,
1752
+ 0.957
1753
+ ],
1754
+ "angle": 0,
1755
+ "content": "14342"
1756
+ }
1757
+ ],
1758
+ [
1759
+ {
1760
+ "type": "ref_text",
1761
+ "bbox": [
1762
+ 0.08,
1763
+ 0.092,
1764
+ 0.47,
1765
+ 0.161
1766
+ ],
1767
+ "angle": 0,
1768
+ "content": "[28] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettle-moyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. 1, 3, 4"
1769
+ },
1770
+ {
1771
+ "type": "ref_text",
1772
+ "bbox": [
1773
+ 0.08,
1774
+ 0.163,
1775
+ 0.472,
1776
+ 0.233
1777
+ ],
1778
+ "angle": 0,
1779
+ "content": "[29] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 11976-11986, 2022. 4"
1780
+ },
1781
+ {
1782
+ "type": "ref_text",
1783
+ "bbox": [
1784
+ 0.08,
1785
+ 0.234,
1786
+ 0.472,
1787
+ 0.29
1788
+ ],
1789
+ "angle": 0,
1790
+ "content": "[30] Wan-Duo Kurt Ma, JP Lewis, and W Bastiaan Kleijn. The hsic bottleneck: Deep learning without back-propagation. In Proceedings of the AAAI conference on artificial intelligence, pages 5085-5092, 2020. 2"
1791
+ },
1792
+ {
1793
+ "type": "ref_text",
1794
+ "bbox": [
1795
+ 0.08,
1796
+ 0.291,
1797
+ 0.472,
1798
+ 0.333
1799
+ ],
1800
+ "angle": 0,
1801
+ "content": "[31] Jack Merullo, Louis Castricato, Carsten Eickhoff, and Ellie Pavlick. Linearly mapping from image to text space. arXiv preprint arXiv:2209.15162, 2022. 1, 2, 8"
1802
+ },
1803
+ {
1804
+ "type": "ref_text",
1805
+ "bbox": [
1806
+ 0.08,
1807
+ 0.334,
1808
+ 0.472,
1809
+ 0.376
1810
+ ],
1811
+ "angle": 0,
1812
+ "content": "[32] Tomas Mikolov, Quoc V Le, and Ilya Sutskever. Exploiting similarities among languages for machine translation (2013). arXiv preprint arXiv:1309.4168, 2022. 2"
1813
+ },
1814
+ {
1815
+ "type": "ref_text",
1816
+ "bbox": [
1817
+ 0.08,
1818
+ 0.377,
1819
+ 0.472,
1820
+ 0.433
1821
+ ],
1822
+ "angle": 0,
1823
+ "content": "[33] Ari Morcos, Maithra Raghu, and Samy Bengio. Insights on representational similarity in neural networks with canonical correlation. Advances in neural information processing systems, 31, 2018. 2"
1824
+ },
1825
+ {
1826
+ "type": "ref_text",
1827
+ "bbox": [
1828
+ 0.08,
1829
+ 0.434,
1830
+ 0.472,
1831
+ 0.504
1832
+ ],
1833
+ "angle": 0,
1834
+ "content": "[34] Luca Moschella, Valentino Maiorca, Marco Fumero, Antonio Norelli, Francesco Locatello, and Emanuele Rodola. Relative representations enable zero-shot latent space communication. In The Eleventh International Conference on Learning Representations, 2022. 1, 2, 4, 5, 6, 7"
1835
+ },
1836
+ {
1837
+ "type": "ref_text",
1838
+ "bbox": [
1839
+ 0.08,
1840
+ 0.505,
1841
+ 0.472,
1842
+ 0.574
1843
+ ],
1844
+ "angle": 0,
1845
+ "content": "[35] Antonio Norelli, Marco Fumero, Valentino Maiorca, Luca Moschella, Emanuele Rodola, and Francesco Locatello. Asif: Coupled data turns unimodal models to multimodal without training. arXiv preprint arXiv:2210.01738, 2022. 1, 2"
1846
+ },
1847
+ {
1848
+ "type": "ref_text",
1849
+ "bbox": [
1850
+ 0.08,
1851
+ 0.576,
1852
+ 0.472,
1853
+ 0.618
1854
+ ],
1855
+ "angle": 0,
1856
+ "content": "[36] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. 1"
1857
+ },
1858
+ {
1859
+ "type": "ref_text",
1860
+ "bbox": [
1861
+ 0.08,
1862
+ 0.619,
1863
+ 0.472,
1864
+ 0.689
1865
+ ],
1866
+ "angle": 0,
1867
+ "content": "[37] Maxime Oquab, Timothee Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. 1, 3, 5"
1868
+ },
1869
+ {
1870
+ "type": "ref_text",
1871
+ "bbox": [
1872
+ 0.08,
1873
+ 0.69,
1874
+ 0.472,
1875
+ 0.773
1876
+ ],
1877
+ "angle": 0,
1878
+ "content": "[38] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019. 6"
1879
+ },
1880
+ {
1881
+ "type": "ref_text",
1882
+ "bbox": [
1883
+ 0.08,
1884
+ 0.774,
1885
+ 0.472,
1886
+ 0.817
1887
+ ],
1888
+ "angle": 0,
1889
+ "content": "[39] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. 4"
1890
+ },
1891
+ {
1892
+ "type": "ref_text",
1893
+ "bbox": [
1894
+ 0.08,
1895
+ 0.818,
1896
+ 0.472,
1897
+ 0.9
1898
+ ],
1899
+ "angle": 0,
1900
+ "content": "[40] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 1, 4, 5"
1901
+ },
1902
+ {
1903
+ "type": "list",
1904
+ "bbox": [
1905
+ 0.08,
1906
+ 0.092,
1907
+ 0.472,
1908
+ 0.9
1909
+ ],
1910
+ "angle": 0,
1911
+ "content": null
1912
+ },
1913
+ {
1914
+ "type": "ref_text",
1915
+ "bbox": [
1916
+ 0.503,
1917
+ 0.092,
1918
+ 0.893,
1919
+ 0.161
1920
+ ],
1921
+ "angle": 0,
1922
+ "content": "[41] Maithra Raghu, Justin Gilmer, Jason Yosinski, and Jascha Sohl-Dickstein. Svcca: Singular vector canonical correlation analysis for deep learning dynamics and interpretability. Advances in neural information processing systems, 30, 2017. 2"
1923
+ },
1924
+ {
1925
+ "type": "ref_text",
1926
+ "bbox": [
1927
+ 0.503,
1928
+ 0.163,
1929
+ 0.893,
1930
+ 0.232
1931
+ ],
1932
+ "angle": 0,
1933
+ "content": "[42] Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? Advances in Neural Information Processing Systems, 34:12116-12128, 2021. 1"
1934
+ },
1935
+ {
1936
+ "type": "ref_text",
1937
+ "bbox": [
1938
+ 0.503,
1939
+ 0.233,
1940
+ 0.894,
1941
+ 0.302
1942
+ ],
1943
+ "angle": 0,
1944
+ "content": "[43] Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 2019. 4"
1945
+ },
1946
+ {
1947
+ "type": "ref_text",
1948
+ "bbox": [
1949
+ 0.503,
1950
+ 0.304,
1951
+ 0.893,
1952
+ 0.359
1953
+ ],
1954
+ "angle": 0,
1955
+ "content": "[44] Anton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras, Alex Bronstein, Ivan Oseledets, and Emmanuel Müller. The shape of data: Intrinsic distance for data distributions. arXiv preprint arXiv:1905.11141, 2019. 2"
1956
+ },
1957
+ {
1958
+ "type": "ref_text",
1959
+ "bbox": [
1960
+ 0.503,
1961
+ 0.36,
1962
+ 0.893,
1963
+ 0.43
1964
+ ],
1965
+ "angle": 0,
1966
+ "content": "[45] Joshua T Vogelstein, John M Conroy, Vince Lyzinski, Louis J Podrazik, Steven G Kratzer, Eric T Harley, Donniell E Fishkind, R Jacob Vogelstein, and Carey E Priebe. Fast approximate quadratic programming for graph matching. PLOS one, 10(4):e0121002, 2015. 3"
1967
+ },
1968
+ {
1969
+ "type": "ref_text",
1970
+ "bbox": [
1971
+ 0.503,
1972
+ 0.431,
1973
+ 0.893,
1974
+ 0.472
1975
+ ],
1976
+ "angle": 0,
1977
+ "content": "[46] Ivan Vulic, Sebastian Ruder, and Anders Søgaard. Are all good word vector spaces isomorphic? arXiv preprint arXiv:2004.04070, 2020. 2"
1978
+ },
1979
+ {
1980
+ "type": "ref_text",
1981
+ "bbox": [
1982
+ 0.503,
1983
+ 0.473,
1984
+ 0.893,
1985
+ 0.557
1986
+ ],
1987
+ "angle": 0,
1988
+ "content": "[47] Sanghyun Woo, Shoubhik Debnath, Ronghang Hu, Xinlei Chen, Zhuang Liu, In So Kweon, and Saining Xie. Convnext v2: Co-designing and scaling convnets with masked autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16133-16142, 2023. 1, 5"
1989
+ },
1990
+ {
1991
+ "type": "ref_text",
1992
+ "bbox": [
1993
+ 0.503,
1994
+ 0.558,
1995
+ 0.893,
1996
+ 0.613
1997
+ ],
1998
+ "angle": 0,
1999
+ "content": "[48] John M Wu, Yonatan Belinkov, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, and James Glass. Similarity analysis of contextual word representation models. arXiv preprint arXiv:2005.01172, 2020. 2"
2000
+ },
2001
+ {
2002
+ "type": "list",
2003
+ "bbox": [
2004
+ 0.503,
2005
+ 0.092,
2006
+ 0.894,
2007
+ 0.613
2008
+ ],
2009
+ "angle": 0,
2010
+ "content": null
2011
+ },
2012
+ {
2013
+ "type": "page_number",
2014
+ "bbox": [
2015
+ 0.481,
2016
+ 0.945,
2017
+ 0.52,
2018
+ 0.957
2019
+ ],
2020
+ "angle": 0,
2021
+ "content": "14343"
2022
+ }
2023
+ ]
2024
+ ]
2024/Do Vision and Language Encoders Represent the World Similarly_/ae3d16c2-a97b-4212-9cd5-7de96bf7cd1b_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cf245c521368c07736506d1c76af2599793aab5bb5ccc70b742da012752aa5e
3
+ size 581638
2024/Do Vision and Language Encoders Represent the World Similarly_/full.md ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Do Vision and Language Encoders Represent the World Similarly?
2
+
3
+ Mayug Maniparambil\* Mohamed El Amine Seddik3
4
+
5
+ Raiymbek Akshulakov\*2 Yasser Abdelaziz Dahou Djilali31 Sanath Narayan3 Karttikeya Mangalam2 Noel E. O'Connor1
6
+
7
+ # Abstract
8
+
9
+ Aligned text-image encoders such as CLIP have become the de-facto model for vision-language tasks. Furthermore, modality-specific encoders achieve impressive performances in their respective domains. This raises a central question: does an alignment exist between uni-modal vision and language encoders since they fundamentally represent the same physical world? Analyzing the latent spaces structure of vision and language models on image-caption benchmarks using the Centered Kernel Alignment (CKA), we find that the representation spaces of unaligned and aligned encoders are semantically similar. In the absence of statistical similarity in aligned encoders like CLIP, we show that a possible matching of unaligned encoders exists without any training. We frame this as a seeded graph-matching problem exploiting the semantic similarity between graphs and propose two methods - a Fast Quadratic Assignment Problem optimization, and a novel localized CKA metric-based matching/retrieval. We demonstrate the effectiveness of this on several downstream tasks including cross-lingual, cross-domain caption matching and image classification. Code available at github.com/mayug/0-shot-llm-vision.
10
+
11
+ # 1. Introduction
12
+
13
+ The recent success of deep learning on vision-language tasks mainly relies on jointly trained language and image encoders following the success of CLIP and ALIGN [20, 40]. The standard procedure for training these models aims at aligning text and image representation using a contrastive loss that maximizes the similarity between imagetext pairs while pushing negative captions away [10, 19, 36]. This achieves a statistical similarity across the two latent spaces, which is key to retrieving the closest cross-modal representations using cosine similarity. This property is not valid for unaligned encoders, hence, extra transformations are needed to bridge the gap. These transformations can be
14
+
15
+ ![](images/6346e7c7af875fd50e3549127b6bbc399bde346e4a38909ee3f7cbdbfe1cb02b.jpg)
16
+ Figure 1. For matching, we calculate the kernels for image and text embeddings and employ QAP-based seeded matching to maximize CKA for obtaining the optimal permutation $P$ . For retrieval, we append query embeddings to base embeddings and retrieve the best caption that maximizes the local CKA for a query image.
17
+
18
+ training a mapping network that captures the prior distribution over the text and image representations [31, 34, 35]. The work of [31] has shown that it is possible to train a linear mapping from the output embeddings of vision encoders to the input embeddings of language models and exhibit impressive performance on image captioning and VQA tasks. This indicates that the representations between the unaligned uni-modal vision and language encoders are sufficiently high level and differ only by a linear transformation. However, this linear layer is trained on CC-3M [9] consisting of three million image-caption pairs.
19
+
20
+ Is this training step necessary? In an ideal scenario, we anticipate an alignment between vision and language encoders as they inherently capture representations of the same physical world. To this end, we employ Centered Kernel Alignment (CKA) [12, 22, 42], which is known for measuring representation similarity both within and between networks. As shown in Figure 2, we measure the CKA between a variety of unaligned vision and language encoders [8, 16, 28, 37, 47], on the image-caption pairs of the COCO [27] dataset and observe that some have comparable scores to that of aligned encoders like CLIP [40], affirmative of semantic similarities.
21
+
22
+ We then ask the question: If the unaligned image and text encoders are semantically similar, is there a way to connect them in a zero-shot manner? Do they build a similar representation graph over the same information coming from
23
+
24
+ the two modalities? We study these questions, revealing key similarities between unaligned image and text encoders, and how these similarities can be exploited for downstream tasks. Furthermore, we devise a caption matching downstream task and show using two novel methods that latent space communication between unaligned encoders could be achieved by leveraging the semantic similarities between the cross-modal spaces. Our contributions are:
25
+
26
+ - We present a matching method that seeks to find the permutation of the captions that maximizes the CKA (see Fig. 1). Hence, We formulate maximizing CKA as a quadratic assignment problem and introduce transformations and normalizations that greatly improve the matching performance.
27
+ - We propose a local CKA metric and use it to perform retrieval between two unaligned embedding spaces, demonstrating superior performance with that of relative representations [34] on the COCO caption image retrieval.
28
+ - The method is benchmarked on COCO, NoCaps [2] cross-domain caption and image retrieval as well ImageNet-100 [15] classification tasks despite our method not being optimized to align the representation in any manner demonstrating zero-shot communication between the encoder's latent spaces.
29
+ - Finally, we show a practical application of our method on cross-lingual image retrieval by making use of sentence transformers trained in various languages and a CLIP vision encoder trained only in English.
30
+
31
+ # 2. Related Work
32
+
33
+ Recently, there has been an increasing consensus that good networks, when trained independently, learn general representations across different architectures and tasks. On the one hand, the works of [6, 22, 26, 33] show that these networks exhibit representation similarity by learning similar latent spaces when trained on similar tasks and data [3, 5, 11, 24, 32, 44, 46]. Specifically, [22] introduced centered kernel alignment (CKA) as a similarity metric for comparing the inner representations across networks. The CKA measure mitigates the limitation of canonical correlation analysis (CCA) [41] being invariant to an invertible linear transformation that often leads to difficulty in measuring meaningful similarities between representations. [48] uses CKA for comparing the representations from different layers of different language models and the effect of downstream task-finetuning on the representation similarities, while [6] utilizes CKA along with Procrustes similarity for understanding the ability of variational autoencoders (VAEs) [21] in learning disentangled representations. In general, these approaches study the representation similarity in unimodal models, either vision or language. Clearly, however, the use of CKA has been limited to visualization and analysis purposes, whereas we attempt at exploiting
34
+
35
+ CKA as an optimization objective.
36
+
37
+ Recent works [34, 35] employ relative representations to match embeddings of unaligned encoders using the cosine similarity to a set of anchors. However, these relative representations are sensitive to the selection of anchors and noise in the original embeddings. Similarly, approaches [4, 14] analyze networks and empirically verify the "good networks learn similar representations" hypothesis by utilizing model stitching [24], which introduces trainable stitching layers to enable swapping parts of different networks. LiMBeR [31] can be seen as stitching the output of an image encoder to the input of a language model in the form of soft prompts [25]. However, these approaches involve training of stitching layers for evaluating the representation similarity between two models.
38
+
39
+ In this work, we argue that using an explicit similarity measure as done in [34, 35] is sensitive to the selection of anchors and noise in the original embeddings. One design choice is an implicit measure that captures the similarity of similarities, hence, inducing more robustness to the alignment process. Furthermore, we explore how this similarity can be leveraged for downstream cross-modal tasks in a training-free manner with the aid of CKA and a set of parallel anchors in the image and text latent embedding spaces.
40
+
41
+ # 3. Preliminaries
42
+
43
+ Centered Kernel Alignment (CKA) has shown its relevance in understanding and comparing the information encoded by different layers of a neural network [22]. Formally, CKA relies on two sets of data $\mathbf{X} \in \mathbb{R}^{p \times N}$ and $\mathbf{Y} \in \mathbb{R}^{q \times N}$ through their corresponding kernels $\mathbf{K} = k(\mathbf{X}^{\top}, \mathbf{X}) \in \mathbb{R}^{N \times N}$ and $\mathbf{L} = \ell(\mathbf{Y}^{\top}, \mathbf{Y}) \in \mathbb{R}^{N \times N}$ where $k, \ell$ are some kernel functions applied on the columns of $\mathbf{X}$ and $\mathbf{Y}$ respectively (e.g., linear or RBF kernels). Therefore, the CKA is computed in terms of $\mathbf{K}$ and $\mathbf{L}$ as:
44
+
45
+ $$
46
+ \operatorname {C K A} (\mathbf {K}, \mathbf {L}) = \frac {\operatorname {H S I C} (\mathbf {K} , \mathbf {L})}{\sqrt {\operatorname {H S I C} (\mathbf {K} , \mathbf {K}) \operatorname {H S I C} (\mathbf {L} , \mathbf {L})}}, \tag {1}
47
+ $$
48
+
49
+ where $\mathrm{HSIC}(\cdot ,\cdot)$ is the Hilbert-Schmidt Independence Criterion [18, 30] defined as:
50
+
51
+ $$
52
+ \operatorname {H S I C} (\mathbf {K}, \mathbf {L}) = \frac {1}{(N - 1) ^ {2}} \operatorname {t r} (\mathbf {K C L C}), \tag {2}
53
+ $$
54
+
55
+ with $\mathbf{C} = \mathbf{I} - \frac{1}{N}\mathbf{1}\mathbf{1}^{\top}$ the centring matrix. We refer the reader to [22] for broader properties and studies of the CKA metric on neural network representations.
56
+
57
+ # 4. Proposed Method
58
+
59
+ Consider a set of $N$ image-caption pairs, $\mathcal{S} = \{(x_i, c_i)\}_{i=1}^N$ , where $x_i \in \mathcal{X}$ and $c_i \in \mathcal{C}$ represent the $i$ -th image and its corresponding caption, respectively. In this
60
+
61
+ Table 1. CKA reduces with shuffling. We measure the CKA score between DINOv2 [37] and All-Roberta-large-v1 [28] on the 5k COCO [27] image-caption representations pairs of the valset. The exact ordering yields the best score, whereas randomly shuffling the representations reduces the CKA score.
62
+
63
+ <table><tr><td>Shuffling (%)</td><td>0</td><td>20</td><td>40</td><td>60</td><td>80</td><td>100</td></tr><tr><td>CKA Score</td><td>0.72</td><td>0.46</td><td>0.27</td><td>0.13</td><td>0.04</td><td>0.01</td></tr></table>
64
+
65
+ particular example, we are performing caption-to-image retrieval, but it is applicable for the reverse as well. Let $\pmb{f}:\mathcal{X}\mapsto \mathbb{R}^{d_1}$ and $\pmb {g}:\mathcal{C}\mapsto \mathbb{R}^{d_2}$ denote some vision and language encoders respectively. The image-caption pairs are mapped into their corresponding sets of representations $\mathbf{Z} = [z_{1},\ldots ,z_{N}]\in \mathbb{R}^{d_{1}\times N}$ and $\mathbf{H} = [h_1,\dots,h_N]\in \mathbb{R}^{d_2\times N}$ , where $z_{i} = f(\boldsymbol{x}_{i})$ and $h_i = g(c_i)$ .
66
+
67
+ As shown in Table 1, the maximum CKA score is obtained on the ground-truth ordering of the representations $\mathrm{CKA}_{\mathrm{max}} = \mathrm{CKA}(\mathbf{K_Z},\mathbf{K_H})$ , where $\mathbf{K_Z}$ and $\mathbf{K_H}$ are the kernels for the image and text representations, defined respectively as $\mathbf{K_Z} = k(\mathbf{Z}^\top ,\mathbf{Z})$ and $\mathbf{K_H} = k(\mathbf{H}^\top ,\mathbf{H})$ . We find that the CKA is sensitive to the data ordering. Specifically, we shuffle $x\%$ of data to obtain wrong matches while keeping the remaining $100 - x\%$ aligned, measure the CKA on each new data set, and observe that it monotonically decreases with random shuffling. This motivates our methodology for finding an optimal permutation of the image data that maximizes the CKA.
68
+
69
+ Formally, let $\sigma$ be some permutation of the set $\{1,\dots ,N\}$ and denote $\sigma (\mathbf{Z}) = [z_{\sigma (1)},\dots ,z_{\sigma (N)}]\in$ $\mathbb{R}^{d_1\times N}$ the set of permuted image representations by $\sigma$ . If $\sigma$ is not identity, it disrupts the original ordering of the image representations leading to a lower CKA score as shown in Table 1. Therefore, our goal is to find a permutation $\sigma^*$ that maximizes the CKA. Formally:
70
+
71
+ $$
72
+ \sigma^ {*} = \underset {\sigma} {\arg \max } \operatorname {C K A} \left(\mathbf {K} _ {\sigma (\mathbf {Z})}, \mathbf {K} _ {\mathbf {H}}\right). \tag {3}
73
+ $$
74
+
75
+ The solution to this problem seeks to realign the permuted set of images in a way that maximizes the CKA, potentially recovering the ground-truth pairing between images and their corresponding captions.
76
+
77
+ To solve the aforementioned optimization problem, we explore two main approaches (visualized in Fig. 1): the Quadratic Assignment Problem (QAP) algorithm and Local CKA-based retrieval and matching. The QAP algorithm provides a global matching solution, seeking the optimal permutation across the query set considered. On the other hand, Local CKA-based retrieval and matching focuses on aligning images and captions using a localized metric, facilitating retrieval on a more granular level. This approach is more suitable where a single query image is given for a set of captions or vice versa.
78
+
79
+ # 4.1. QAP Matching
80
+
81
+ For some random permutation $\sigma$ , the optimization problem in Equation 3 can be reformulated as a quadratic optimization problem [45] which reads as:
82
+
83
+ $$
84
+ \max _ {\mathbf {P} \in \mathcal {P} _ {N}} \operatorname {t r} \left(\mathbf {P} ^ {\top} \bar {\mathbf {K}} _ {\sigma (\mathbf {Z})} \mathbf {P} \bar {\mathbf {K}} _ {\mathbf {H}}\right), \tag {4}
85
+ $$
86
+
87
+ where $\mathcal{P}_N$ is the set of all permutation matrices of size $N$ and $\bar{\mathbf{K}} = \mathrm{HSIC}(\mathbf{K},\mathbf{K})^{-\frac{1}{2}}\mathbf{K}\mathbf{C}$ stands for the centered and re-scaled kernel. In principle, maximizing the above objective is a relaxation of a graph-matching problem. Moreover, finding a global maximum of Equation 4 is NP-hard due to the combinatorial nature of the problem and therefore optimizing it can lead to sub-optimal or approximate solutions.
88
+
89
+ To overcome the NP-hardness of QAP, in practice, we suppose that we have access to a base set $\mathcal{B} = \{(z_i^b,h_i^b)\}_{i = 1}^M$ of image-caption representations pairs and solve an equivalent objective to Equation 4 only partially on some unmatched query set $\mathcal{Q} = \{z_i^q\}_{i = 1}^N\times \{h_i^q\}_{i = 1}^N$ using a seeded version of the fast QAP algorithm [17]. Formally, let $\mathbf{Z} = [z_1^b,\dots ,z_M^b,z_1^q,\dots ,z_N^q ]\in \mathbb{R}^{d_1\times (M + N)}$ and $\mathbf{H} = [h_1^b,\dots ,h_M^b,h_1^q,\dots ,h_N^q ]\in \mathbb{R}^{d_2\times (M + N)}$ be the matrix concatenating all base and query representations of images and captions respectively, and denote by $\bar{\mathbf{K}}_{\mathbf{Z}},\bar{\mathbf{K}}_{\mathbf{H}}\in \mathbb{R}^{(M + N)\times (M + N)}$ the corresponding centered and re-scaled kernels. The partial matching for aligning the query samples is then performed by solving the following:
90
+
91
+ $$
92
+ \max _ {\mathbf {P} \in \mathcal {P} _ {N}} \operatorname {t r} \left(\left(\mathbf {I} _ {M} \oplus \mathbf {P}\right) ^ {\top} \bar {\mathbf {K}} _ {\mathbf {Z}} \left(\mathbf {I} _ {M} \oplus \mathbf {P}\right) \bar {\mathbf {K}} _ {\mathbf {H}}\right), \tag {5}
93
+ $$
94
+
95
+ where $\mathbf{I}_M\oplus \mathbf{P}\in \mathbb{R}^{(M + N)\times (M + N)}$ stands for the blockdiagonal matrix having diagonal blocks $\mathbf{I}_M$ and $\mathbf{P}$
96
+
97
+ # 4.2. Local CKA based Retrieval and Matching
98
+
99
+ The concept of a global CKA metric is extended to derive local similarity measures suitable for retrieval. This process begins with a base set $\mathcal{B} = \{(z_i^b, h_i^b)\}_{i=1}^M$ consisting of aligned pairs of images and captions representations. The objective is to facilitate caption-image retrieval/matching within an unaligned query set $\mathcal{Q} = \{z_i^q\}_{i=1}^N \times \{h_i^q\}_{i=1}^N$ .
100
+
101
+ A local CKA score, denoted as $\mathrm{localCKA}(z^q,h^q)$ for a couple $(z^{q},h^{q})\in \mathcal{Q}$ is calculated by computing a global CKA score for the image-caption pairs in $\mathcal{B}$ , augmented with the query pair $(z^{q},h^{q})$ . The local CKA is computed as follows:
102
+
103
+ $$
104
+ \operatorname {l o c a l C K A} \left(\boldsymbol {z} ^ {q}, \boldsymbol {h} ^ {q}\right) = \operatorname {C K A} \left(\mathbf {K} _ {[ \mathbf {Z}, \boldsymbol {z} ^ {q} ]}, \mathbf {K} _ {[ \mathbf {H}, \boldsymbol {h} ^ {q} ]}\right), \tag {6}
105
+ $$
106
+
107
+ where $[\mathbf{M},\pmb {v}]$ denotes the concatenation of the matrix $\mathbf{M}$ and the vector $\pmb{v}$ column-wise and $\mathbf{Z} = [z_1^b,\dots ,z_M^b ]\in$ $\mathbb{R}^{d_1\times M}$ and $\mathbf{H} = [h_1^b,\dots ,h_M^b ]\in \mathbb{R}^{d_2\times M}$ . In essence, a correctly matched image-caption pair in $\mathcal{Q}$ would exhibit a higher degree of alignment with the base set $\mathcal{B}$ in terms of
108
+
109
+ the CKA score, resulting in an elevated localCKA score. This metric can be used to calculate a score between one source query and $N$ target queries enabling effective retrieval. Furthermore, this framework allows for the use of linear sum assignment [23] for matching tasks.
110
+
111
+ # 4.3. Stretching and Clustering
112
+
113
+ The choice of base samples and the spread of the representations in each embedding space affect the performance of the QAP and Local CKA algorithms. To spread the representations out in each domain for matching, we introduce a stretching matrix that normalizes the features of each dimension by the variance calculated from the query and base sets. Given $\mathbf{X} = [\pmb{x}_1,\dots ,\pmb{x}_d]^{\top}\in \mathbb{R}^{d\times N}$ , the stretched matrix $\mathbf{X}_s$ is computed as $\mathbf{X}_s = \mathbf{S}\mathbf{X}$ , where the stretching matrix $\mathbf{S}\in \mathbb{R}^{d\times d}$ is a diagonal matrix with inverse empirical standard deviation of the feature dimension as entries, i.e., $\mathbf{S} = \mathrm{diag}\left(\frac{1}{\mathrm{std}(\pmb{x}_1)},\dots ,\frac{1}{\mathrm{std}(\pmb{x}_d)}\right)$ and $\pmb{x}_i\in \mathbb{R}^N$ is the $i^{th}$ row of $\mathbf{X}$ . This stretching operation is performed for both the image and text before calculating the kernels for both QAP and local CKA matching algorithms. For picking the most effective base samples, we find that the simple $k$ -means clustering on the image embeddings works best. An ablation on how these affect the QAP and local CKA matching and retrieval accuracies is provided in Sec 7.
114
+
115
+ # 5. Experiments
116
+
117
+ We assess the performance of the proposed method using various vision and language encoders on a set of downstream tasks. We first detail the encoders, datasets, downstream tasks, and the baselines used.
118
+
119
+ # 5.1. Vision and Language Encoders
120
+
121
+ The experimental setup covers vision encoders of different architectures, such as ViTs [16] and ConvNeXt [29], trained in various ways: supervised, language-supervised, and self-supervised, across different training data regimes. For the language encoder, an encoder capable of producing a global embedding for a caption is essential. This includes encoders of multiple architectures varying in size, languages, and training data sizes. The Huggingface's sentence-transformers [43] library is utilized, where each sentence transformer is first pre-trained on the masked language modeling task using a large text corpus, followed by a finetuning stage on a sentence pairs dataset with a contrastive loss. It's not straightforward to acquire a global sentence embedding from decoder-only models like GPT models [7, 39], hence we did not study the semantic alignment of these class of models to vision encoders.
122
+
123
+ The CKA and Matching Score (MS) of the various combinations of vision and language encoders are reported in supplementary. The findings indicate that the All-Roberta
124
+
125
+ large-v1 [28] demonstrates the best CKA/MS across all vision models, establishing it as the primary language encoder for subsequent tasks, unless specified otherwise.
126
+
127
+ # 5.2. Baselines
128
+
129
+ Here, we briefly describe three baselines that we compare our methods against for caption matching/retrieval, image classification, and cross-lingual tasks.
130
+
131
+ Linear Regression: We propose a baseline that learns a linear transformation from the image embedding space to the text using $M$ aligned base examples and apply the transformation to the query image embeddings. Concretely, given query image embeddings $\mathbf{Z}^q = [z_1^q,\dots ,z_N^q ]\in \mathbb{R}^{d_1\times N}$ and text embeddings $\mathbf{H}^q = [h_1^q,\dots ,h_N^q ]\in \mathbb{R}^{d_2\times N}$ , and a set of aligned base samples $\mathbf{Z}^b = [z_1^b,\dots ,z_N^b ]\in \mathbb{R}^{d_1\times M}$ and $\mathbf{H}^b = [h_1^b,\dots ,h_N^b ]\in \mathbb{R}^{d_2\times M}$ , we first construct a linear transformation between $\mathbf{Z}^b$ and $\mathbf{H}^b$ by minimizing the MSE loss as $\mathbf{W} = \arg \min_{\mathbf{W}}\| \mathbf{W}^\top \mathbf{Z}^b -\mathbf{H}^b\| _F^2$ . Then we use $\mathbf{W}$ to transform the query image embeddings $\mathbf{Z}^q$ to the text domain as $\hat{\mathbf{H}}^q = \mathbf{W}^\top \mathbf{Z}^q$ . Cosine similarity on $\hat{\mathbf{H}}^q$ and $\mathbf{H}^q$ can be used to perform caption retrieval.
132
+
133
+ Relative Representations [34]: enable latent space communication between unaligned encoders by representing each query point relative to an aligned base set. Concretely, let $\ell_2$ -normalized embeddings for image and text queries be $\mathbf{Z}^q = [z_1^q,\dots ,z_N^q ]\in \mathbb{R}^{d_1\times N}$ and $\mathbf{H} = [h_1^q,\dots ,h_N^q ]\in$ $\mathbb{R}^{d_2\times N}$ , respectively. Utilizing a set of aligned base sample $\ell_2$ -normalized embeddings $\mathbf{Z}^b = [z_1^b,\dots ,z_M^b ]\in \mathbb{R}^{d_1\times M}$ and $\mathbf{H}^b = [h_1^b,\dots ,h_M^b ]\in \mathbb{R}^{d_2\times M}$ , we can construct relative image and text query representations as $\mathbf{Z}_{rel}^q = (\mathbf{Z}^b)^\top \mathbf{Z}^q$ and $\mathbf{H}_{rel}^q = (\mathbf{H}^b)^\top \mathbf{H}^q$ . Relative representations are a single vector of dimension $M$ for each query specifying the cosine similarity of a query sample with all the base samples. Now we can use the cosine similarity on the relative representations to perform retrieval. Sec D in appendix provides a further comparison with our method.
134
+
135
+ CLIP [40]: We also compare against CLIP which has been contrastively trained to obtain a joint embedding space- as an upper limit on performance for both retrieval and matching tasks. We perform retrieval using cosine similarity
136
+
137
+ For all 3 methods, caption matching can be achieved by constructing a cost matrix using cosine similarities and using linear sum assignment to find the permutation matrix.
138
+
139
+ # 5.3. Downstream Tasks
140
+
141
+ Caption Matching: Given $N$ query images and their corresponding captions, a query set is constructed by shuffling the captions. The task involves finding the correct permutation over captions for perfect matching. In Retrieval, the objective is, given one caption, to retrieve the correct image from the overall set of $N$ images. The alignment between unaligned vision and text encoders is investigated using our methods on the COCO and NoCaps validation sets.
142
+
143
+ Table 2. Caption matching and retrieval task performance comparison in cross-domain and in-domain settings. Base samples from COCO are utilized for matching/retrieval tasks on queries from NoCaps (cross-domain) and COCO (in-domain). CLIP-V denotes the vision encoder of CLIP [40]. We use the Large version of all vision encoders. Table A.5 shows the reverse setting.
144
+
145
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Vision Model</td><td colspan="2">NoCaps [2]</td><td colspan="2">COCO [27]</td></tr><tr><td>Matching accuracy</td><td>Top-5 retrieval</td><td>Matching accuracy</td><td>Top-5 retrieval</td></tr><tr><td>Cosine Similarity*</td><td>CLIP [40]</td><td>99.5</td><td>99.6</td><td>97.1</td><td>96.1</td></tr><tr><td rowspan="3">Linear regression</td><td>CLIP-V [40]</td><td>29.3</td><td>44.7</td><td>42.7</td><td>59.1</td></tr><tr><td>ConvNeXt [47]</td><td>19.0</td><td>28.5</td><td>31.3</td><td>46.1</td></tr><tr><td>DINOv2 [37]</td><td>38.1</td><td>50.3</td><td>45.1</td><td>65.4</td></tr><tr><td rowspan="3">Relative representations [34]</td><td>CLIP-V [40]</td><td>61.3</td><td>37.6</td><td>61.6</td><td>41.3</td></tr><tr><td>ConvNeXt [47]</td><td>25.5</td><td>17.8</td><td>38.6</td><td>34.1</td></tr><tr><td>DINOv2 [37]</td><td>46.0</td><td>46.4</td><td>47.7</td><td>52.3</td></tr><tr><td rowspan="3">Ours: QAP</td><td>CLIP-V [40]</td><td>67.3</td><td>-</td><td>72.3</td><td>-</td></tr><tr><td>ConvNeXt [47]</td><td>46.7</td><td>-</td><td>66.1</td><td>-</td></tr><tr><td>DINOv2 [37]</td><td>57.7</td><td>-</td><td>66.0</td><td>-</td></tr><tr><td rowspan="3">Ours: Local CKA</td><td>CLIP-V [40]</td><td>65.1</td><td>60.5</td><td>71.9</td><td>69.9</td></tr><tr><td>ConvNeXt [47]</td><td>43.7</td><td>44.4</td><td>64.8</td><td>65.5</td></tr><tr><td>DINOv2 [37]</td><td>58.7</td><td>61.8</td><td>64.3</td><td>70.5</td></tr></table>
146
+
147
+ The COCO dataset [27] comprises over 120,000 images with multiple captions per image. It is used for testing unimodal representation quality via a caption-matching task, utilizing a validation set of 5,000 image-caption pairs. The NoCaps dataset [2] is designed for testing image captioning models on unseen objects, with 166,100 captions for 15,100 images from OpenImages. Its validation set includes novel concepts absent from COCO.
148
+
149
+ Cross-lingual Caption Matching/Retrieval: The task mirrors prior matching and retrieval but uses multilingual captions, say German. Given $N$ images and shuffled German captions, the objective is to match each image with the correct caption. In retrieval, the goal is to select the most fitting German caption for a given query image from the set.
150
+
151
+ The XTD-10 dataset [1] enhances COCO2014 with 1,000 human-annotated multi-lingual captions in ten languages for cross-lingual image retrieval and tagging, serving as a zero-shot model benchmark.
152
+
153
+ ImageNet-100 Classification. The task setup is similar to the conventional classification task with small differences to account for the methods used. Given $N$ query images and their corresponding classes, image representations are obtained by processing them through a vision encoder. In parallel, textual representations are generated in a multi-step process. Initially, several text captions are derived from the class-associated Wordnet synsets' lemmas, definitions, and hypernyms. These captions are then passed through the language encoder and averaged to get the text representations. The classification task is performed by retrieving the closest text representations to each image representation using our local CKA metric. We employ the ImageNet-100 dataset. This dataset is a subset of the larger ImageNet dataset, fea
154
+
155
+ turing only 100 classes. It includes 130,000 training images, 50,000 validation images, and 100 classes.
156
+
157
+ # 5.4. Results
158
+
159
+ Importance of Good Initialization: For all tasks, we make use of a set of base samples of size $S$ that is kept fixed at 320 samples. The size of the query set is analogously fixed at 500 samples (see Sec ?? for more details). These base samples are selected after clustering the image embeddings and choosing one closest sample to each of the $S$ cluster centers. By aligning the initial samples with the diverse cluster centers, we ensure sufficient coverage of the sample space. This enhances the accuracy of the matching process, as the initial alignment closely mirrors the inherent structure and variability within the data. In the case of linear regression, uniform sampling is employed to select the base samples. For relative representations [34], the same clustering methodology is applied to select base samples, ensuring a fair and consistent comparison between all methods.
160
+
161
+ COCO and NoCaps Caption Matching: We present the results of cross-domain and in-domain caption matching/retrieval, as detailed in Table 2. We tested each baseline against three different vision models, while employing a consistent language model—specifically, the all-roberta-large-v1. The vision models utilized are OpenAI's CLIP ViT-L/14, the ConvNeXT-Base model (trained on the ImageNet-22k dataset at a resolution of $224\mathrm{x}224$ ), and the ViT-L/14 model trained using the DINOv2 method. It is important to note that the first row of the results table features vision and language models both being OpenAI's CLIP ViT-L/14. To effectively analyze cross-domain capabilities, our experiment design involved the use of the COCO
162
+
163
+ validation set as the source of the base set and the NoCaps validation set for querying. Additionally, in-domain results are shown, when using COCO validation for both base and queries. We uniformly sample the query set and average the results over three different seeds. Although CLIP's cosine similarity metric emerges as the most robust due to the training paradigm inherent in CLIP models, our methods demonstrate commendable performance without necessitating any training. The DINOv2 model, trained solely through self-supervision, demonstrates the formation of semantic concepts independently of language supervision. This is evident in its remarkable top-5 retrieval scores of $70.5\%$ and $61.8\%$ on COCO and NoCaps datasets when coupled with an unaligned language encoder through our Local Kernel CKA method. However, the best-performing vision encoder is CLIP's vision encoder which has been trained using language supervision.
164
+
165
+ ImageNet-100 Classification: In Table 3, we detail the performance of our methods on the ImageNet-100 classification task. Mirroring our approach in cross-domain matching and retrieval, we evaluated three different vision models for each method. Notably, the first row of the table highlights the performance using CLIP's embedding cosine similarity. The results are averaged over three different seeds for sampling the query set. A significant observation from this table is the comparatively narrower performance gap between the CLIP's cosine similarity and our methods, as well as the baseline linear regression method, in contrast to the results observed in cross-domain caption matching/retrieval tasks.
166
+
167
+ It is interesting that ConvNeXt encoder trained on ImageNet has a classification top1 accuracy improvement of over $14\%$ compared to CLIP and Dinov2 while on the caption matching task DinoV2 and CLIP perform much better.
168
+
169
+ Cross-lingual Caption Retrieval: The results of cross-lingual caption matching/retrieval are presented in Table 4 for the 10 languages in the XTD-dataset. OpenAI CLIP's ViT-L vision encoder, trained on English image-caption pairs, and a multilingual sentence transformer paraphrase-multilingual-mpnet-base-v2 were utilized for this task. The accuracy of CLIP's cosine retrieval method exhibits a significant drop when applied to languages other than English. E.g., CLIP's retrieval at 5 experiences a drop of 30 points when switching from English to other Latin-alphabet languages (Spanish, French, German, and Italian). For non-Latin alphabet languages such as Korean, Chinese, Turkish, etc., CLIP's performance decreases substantially, collapsing to zero, primarily due to most words resulting in unknown tokens. In contrast, the QAP and local CKA matching methods demonstrate consistent performance across all languages, including non-Latin languages, attributing to the robustness of a multilingual sentence transformer trained solely on text. On average, QAP surpasses CLIP by $12\%$ in the caption matching task and also outperforms other
170
+
171
+ Table 3. ImageNet-100 classification performance comparison. We observe a narrow performance gap between the CLIP model and our methods. CLIP-V denotes the vision encoder of CLIP.
172
+
173
+ <table><tr><td>Method</td><td>Vision Model</td><td>Top 1</td><td>Top 5</td></tr><tr><td>Cosine Similarity*</td><td>CLIP</td><td>86.1</td><td>99.2</td></tr><tr><td rowspan="3">Linear Regression</td><td>CLIP-V</td><td>76.1</td><td>93.0</td></tr><tr><td>ConvNeXt</td><td>84.5</td><td>95.4</td></tr><tr><td>DINOv2</td><td>73.5</td><td>92.1</td></tr><tr><td rowspan="3">Relative representations [34]</td><td>CLIP-V</td><td>8.90</td><td>30.3</td></tr><tr><td>ConvNeXt</td><td>7.20</td><td>15.7</td></tr><tr><td>DINOv2</td><td>49.7</td><td>75.5</td></tr><tr><td rowspan="3">Local CKA</td><td>CLIP-V</td><td>68.7</td><td>91.2</td></tr><tr><td>ConvNeXt</td><td>83.3</td><td>95.8</td></tr><tr><td>DINOv2</td><td>67.7</td><td>88.3</td></tr></table>
174
+
175
+ bases like relative representations and linear regression methods. For retrieval at 5, the local CKA-based method exceeds CLIP's performance by over $17\%$ .
176
+
177
+ It is possible to push the performance further by using language-specific sentence encoders and we report these results for a few languages in Sec ?? of supplementary. This is a practical application of our method as we can now turn a well-trained English CLIP model's vision encoder into a CLIP model for any low-resource language if a text-only Sentence Transformer trained on that language is available.
178
+
179
+ # 5.5. Matching complexity
180
+
181
+ In Table 5, we go over the time complexity and runtimes of QAP matching and local CKA based retrieval in comparison to the other baselines for matching when number of base samples and query samples are 320, 500 respectively. For all time complexities, we assume number of base samples $m$ to be of the order of the number of query samples $n$ . QAP uses the seeded version of the fast QAP algorithm from the SciPy library, which has a worst time complexity of $\mathcal{O}(n^3)$ [17], while local CKA retrieval requires constructing a graph over all the query image and text pairs, $\mathcal{O}(n^2)$ , using local CKA, which is also $\mathcal{O}(n^2)$ resulting in $\mathcal{O}(n^4)$ . Relative involves the calculation of the relative representations for every query image and text pair, resulting in a time complexity of $\mathcal{O}(n^2)$ , but it's fast due to highly optimized algorithms for matrix multiplications in PyTorch [38]. Linear has a time complexity of $\mathcal{O}(nd)$ , where $n$ is the number of samples and $d$ is the number of dimensions. It is to be noted that QAP runs on the CPU, and a CUDA-optimized version could bring the runtimes further down from 40 seconds. An efficient implementation of Local Kernel CKA is also possible, where the CKA of base samples is recalculated, and the graph is constructed in an additive manner, which would bring down the time complexity to $\mathcal{O}(n^3)$ . For both relative and linear matching, we make use of SciPy's
182
+
183
+ Table 4. Cross-Lingual caption matching and retrieval performance comparison. Using QAP and local CKA-based methods we are able to do cross-lingual caption matching/retrieval using CLIP's ViT-L vision encoder and a multi-lingual sentence transformer paraphrase-multilingual-mpnet-base-v2. While CLIP performs well on the Latin languages, it degrades on non-Latin languages. In comparison, our QAP and Local-CKA-based methods perform comparably in Latin languages while outperforming non-Latin languages, highlighting the efficacy of our training-free transfer approach. See Table A.6 and Table A.7 in appendix for additional results.
184
+
185
+ <table><tr><td rowspan="2">Language</td><td></td><td colspan="2">Kernel CKA</td><td colspan="4">Matching Accuracy</td><td colspan="2">Retrieval @ 5</td></tr><tr><td></td><td>CLIP</td><td>Ours</td><td>CLIP</td><td>Relative[34]</td><td>Linear</td><td>Ours (QAP)</td><td>CLIP</td><td>Ours (Local)</td></tr><tr><td rowspan="5">Latin</td><td>de</td><td>0.472</td><td>0.627</td><td>41.8</td><td>35.0</td><td>34.0</td><td>39.6</td><td>65.1</td><td>56.7</td></tr><tr><td>en</td><td>0.567</td><td>0.646</td><td>81.5</td><td>52.5</td><td>40.9</td><td>51.6</td><td>92.5</td><td>69.0</td></tr><tr><td>es</td><td>0.471</td><td>0.634</td><td>50.2</td><td>37.8</td><td>31.7</td><td>41.4</td><td>68.5</td><td>61.6</td></tr><tr><td>fr</td><td>0.477</td><td>0.624</td><td>49.4</td><td>37.5</td><td>30.7</td><td>40.2</td><td>68.7</td><td>57.6</td></tr><tr><td>it</td><td>0.472</td><td>0.638</td><td>41.0</td><td>37.2</td><td>34.9</td><td>38.5</td><td>61.3</td><td>59.7</td></tr><tr><td rowspan="6">Non-Latin</td><td>jp</td><td>0.337</td><td>0.598</td><td>13.2</td><td>28.3</td><td>23.5</td><td>30.5</td><td>30.0</td><td>49.4</td></tr><tr><td>ko</td><td>0.154</td><td>0.620</td><td>0.50</td><td>30.4</td><td>23.5</td><td>30.9</td><td>3.30</td><td>53.4</td></tr><tr><td>pl</td><td>0.261</td><td>0.642</td><td>5.40</td><td>36.6</td><td>30.2</td><td>40.2</td><td>18.8</td><td>59.5</td></tr><tr><td>ru</td><td>0.077</td><td>0.632</td><td>0.80</td><td>31.9</td><td>30.7</td><td>35.1</td><td>4.10</td><td>53.2</td></tr><tr><td>tr</td><td>0.301</td><td>0.624</td><td>4.30</td><td>35.8</td><td>29.6</td><td>38.9</td><td>15.2</td><td>59.3</td></tr><tr><td>zh</td><td>0.133</td><td>0.641</td><td>2.70</td><td>36.5</td><td>31.1</td><td>40.3</td><td>8.90</td><td>57.8</td></tr><tr><td></td><td>Avg.</td><td>-</td><td>-</td><td>26.4</td><td>36.3</td><td>30.9</td><td>38.8</td><td>39.6</td><td>57.9</td></tr></table>
186
+
187
+ ![](images/0c5e4167247b8ae0664f7c20880584702e9a7e7bb8905f0bad5225ff409afd05.jpg)
188
+ Figure 2. Kernel CKA and QAP Matching accuracy are correlated with the training set size and quality of the training set. Here the language encoder is kept constant to the best BERT-sentence encoder (i.e. All-Roberta-large-v1). There is a clear correlation between CKA and QAP Matching accuracy across all architectures, training paradigm and data regimes.
189
+
190
+ ![](images/3bae5b0be1ff6005ed0f7b6cbe2f62a919c049d9b492bbfbd037da2d6ae465bf.jpg)
191
+
192
+ Table 5. Run times for different methods
193
+
194
+ <table><tr><td>Method</td><td>QAP</td><td>Local CKA</td><td>Relative</td><td>Linear</td></tr><tr><td>Run times</td><td>40 seconds</td><td>5 mins</td><td>1 second</td><td>1 second</td></tr><tr><td>Complexity</td><td>O(n3)</td><td>O(n4)</td><td>O(n2)</td><td>O(n × d)</td></tr></table>
195
+
196
+ modified Jonker-Volgenant algorithm [13] for linear sum assignment, which has the worst time complexity of $\mathcal{O}(n^3)$ .
197
+
198
+ # 6. Analysis
199
+
200
+ This section focuses on how training paradigms, data regimes, and encoder size/architecture influence a vision encoder's ability to represent the world similarly to a language encoder. This is assessed by comparing the semantic alignment of their representation spaces using CKA as well as QAP matching accuracy. Figure 2 compares the kernel CKA and caption matching accuracy of different vision
201
+
202
+ encoders with a fixed text-encoder (i.e., All-Roberta-large-v1), against the training datasets on which the vision encoder was trained for all pairs in the COCO captions validation set. The findings are summarized below:
203
+
204
+ Scale and quality of dataset results in encoders with high semantic alignment with the language space: It is observed that SSL methods like DINOv2 can learn semantic concepts in a relative manner even without language supervision during training. The CKA and QAP matching accuracy for DINOv2 embeddings are comparable to CLIP models, despite lacking language supervision and having significantly less data (LVD-142's 142M vs Open-AI-CLIP's 400M). A general trend emerges where more training data leads to semantically richer visual embeddings, evident when comparing CKA and QAP Accuracies from ImageNet1K to DFN-5B datasets. Notably, training on a curated dataset proves more effective than on an uncurated dataset of the same size, especially for smaller models. This is illustrated by the higher CKA and QAP accuracy of ViT-Large trained on the curated DFN-2B dataset compared to ViT-Large/Giant, and ConvNext-xxLarge trained on Laion 2B. Additionally, SSL methods show less semantic consistency when trained on ImageNet1K, as indicated by the clear difference in QAP accuracies between DINO trained on ImageNet1K and DINOv2 trained on LVD-142M.
205
+
206
+ Vision Encoders Trained with Language Supervision Exhibit Greater Semantic Alignment with Language Encoders: In line with the findings of Merullo et al.[31], it is observed in our experiments that vision encoders trained with more language supervision on datasets of comparable size exhibit a higher degree of semantic alignment with language encoders compared to self-supervised methods. For example, ViT-Large trained on CLIP-400M with language supervision demonstrates superior caption-matching capabilities compared to DINOv2's ViT-Large trained on LVD-142M. Similarly, we verify that class label supervision, like that from ImageNet, leads to more semantically aligned image encoders when compared to self-supervision when similarly sized models are compared on ImageNet-1k. For example, all supervised encoders trained on ImageNet-1k have higher CKA as well as QAP matching accuracy than all the self-supervised models.
207
+
208
+ # 7. Ablations
209
+
210
+ This section rationalizes our method choices through ablation studies on clustering, stretching, and the global CKA metric. We demonstrate the impact of these components on the performance of our methods, primarily through Table 6, which delineates the effectiveness of the QAP and the local CKA metric under various configurations. It shows the performance metrics in scenarios where each main component is either integrated or omitted. Notably, in instances where the CKA metric is not used, we opt for normalized
211
+
212
+ Table 6. Impact of clustering and stretching. The matching and retrieval performance is the best when both clustering and stretching are employed. Hence, justifying this choice.
213
+
214
+ <table><tr><td>Clustering</td><td>Stretching</td><td>CKA</td><td>QAP Matching</td><td>Local CKA Matching</td><td>Local CKA Retrieval @ 5</td></tr><tr><td>X</td><td>X</td><td>X</td><td>10.1</td><td>16.2</td><td>1.0</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>48.8</td><td>48.5</td><td>60.2</td></tr><tr><td>X</td><td>✓</td><td>✓</td><td>57.3</td><td>56.7</td><td>73.0</td></tr><tr><td>✓</td><td>X</td><td>✓</td><td>56.2</td><td>55.1</td><td>66.4</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>65.5</td><td>63.3</td><td>77.2</td></tr></table>
215
+
216
+ correlation matrices for each graph. The empirical results presented are derived from the caption matching/retrieval task, utilizing both base and query sets extracted from the COCO validation set of size 320 and 500 respectively.
217
+
218
+ Choice of the metric: CKA is more beneficial than using just the scaled correlation matrix to represent the semantic relationships in an embedding space as matching accuracy increases from $10.1\%$ to $48.8\%$ . The choice of a robust metric is core to aligning vision and language latent spaces.
219
+
220
+ Impact of Stretching: It is clear that stretching facilitates better alignment of embeddings in our methods as stretching spreads the representations out in each modality without sacrificing the relative positions of the different embeddings within each embedding space. This is reflected in the increase of QAP accuracy from $48.8\%$ to $57.3\%$ .
221
+
222
+ Clustering vs. Uniform Sampling: The choice of the base set is important in QAP matching and local CKA retrieval, as it measures any query pair alignment with the base set. A diverse base set is essential to capture a broad semantic range, and clustering within one of the embedding spaces aids in achieving this diversity. The third and fifth rows of the table demonstrate that clustering enhances the QAP performance from $57.3\%$ to $65.5\%$ . Consequently, these results highlight that all the components together significantly enhance the efficacy of our proposed approach.
223
+
224
+ # 8. Conclusion
225
+
226
+ In this work, we ask the question, 'Do vision encoders and language encoders represent the world similarly?' and study this using CKA and a caption-matching task. We find that well-trained vision encoders on sufficiently large datasets exhibit surprisingly high semantic similarity with language encoders comparable to aligned encoders, irrespective of the training paradigm. Inspired by this, we draw parallels between CKA and the QAP matching objective and use seeded graph matching to align vision and language encoders by maximizing CKA. We also devise a local CKA-based metric to enable retrieval between unaligned vision and language encoders demonstrating a better performance than that of relative representations on cross-domain and cross-lingual caption matching/retrieval tasks, facilitating zero-shot latent space communication between unaligned encoders.
227
+
228
+ # References
229
+
230
+ [1] Pranav Aggarwal and Ajinkya Kale. Towards zero-shot cross-lingual image retrieval. arXiv preprint arXiv:2012.05107, 2020. 5
231
+ [2] Harsh Agrawal, Karan Desai, Yufei Wang, Xinlei Chen, Rishabh Jain, Mark Johnson, Dhruv Batra, Devi Parikh, Stefan Lee, and Peter Anderson. Nocaps: Novel object captioning at scale. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8948-8957, 2019. 2, 5
232
+ [3] Richard Antonello, Javier S Turek, Vy Vo, and Alexander Huth. Low-dimensional structure in the space of language representations is reflected in brain responses. Advances in neural information processing systems, 2021. 2
233
+ [4] Yamini Bansal, Preetum Nakkiran, and Boaz Barak. Revisiting model stitching to compare neural representations. Advances in neural information processing systems, 2021. 2
234
+ [5] Serguei Barannikov, Ilya Trofimov, Nikita Balabin, and Evgeny Burnaev. Representation topology divergence: A method for comparing neural network representations. arXiv preprint arXiv:2201.00058, 2021. 2
235
+ [6] Lisa Bonheme and Marek Grzes. How do variational autoencoders learn? insights from representational similarity. arXiv preprint arXiv:2205.08399, 2022. 2
236
+ [7] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020. 4
237
+ [8] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9650-9660, 2021. 1
238
+ [9] Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pretraining to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3558-3568, 2021. 1
239
+ [10] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597-1607. PMLR, 2020. 1
240
+ [11] Alexis Conneau, Guillaume Lample, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Word translation without parallel data. arXiv preprint arXiv:1710.04087, 2017. 2
241
+ [12] Corinna Cortes, Mehryar Mohri, and Afshin Rostamizadeh. Algorithms for learning kernels based on centered alignment. The Journal of Machine Learning Research, 13(1):795-828, 2012. 1
242
+ [13] David F Crouse. On implementing 2d rectangular assignment algorithms. IEEE Transactions on Aerospace and Electronic Systems, 52(4):1679-1696, 2016. 7
243
+ [14] Adrián Csiszárik, Péter Korösi-Szabó, Akos K Matszangosz, Gergely Papp, and Daniel Varga. Similarity and
244
+
245
+ matching of neural network representations. arXiv preprint arXiv:2110.14633, 2021. 2
246
+ [15] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009. 2
247
+ [16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. 1, 4
248
+ [17] Donniell E Fishkind, Sancar Adali, Heather G Patsolic, Lingyao Meng, Digvijay Singh, Vince Lyzinski, and Carey E Priebe. Seeded graph matching. Pattern recognition, 87: 203-215, 2019. 3, 6
249
+ [18] Arthur Gretton, Olivier Bousquet, Alex Smola, and Bernhard Schölkopf. Measuring statistical dependence with hilbert-schmidt norms. In International conference on algorithmic learning theory, pages 63-77. Springer, 2005. 2
250
+ [19] Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pages 297–304. JMLR Workshop and Conference Proceedings, 2010. 1
251
+ [20] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International conference on machine learning, pages 4904-4916. PMLR, 2021. 1
252
+ [21] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. ICLR, 2014. 2
253
+ [22] Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International conference on machine learning, pages 3519-3529. PMLR, 2019. 1, 2
254
+ [23] Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83-97, 1955. 4
255
+ [24] Karel Lenc and Andrea Vedaldi. Understanding image representations by measuring their equivariance and equivalence. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 991-999, 2015. 2
256
+ [25] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021. 2
257
+ [26] Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. Convergent learning: Do different neural networks learn the same representations? arXiv preprint arXiv:1511.07543, 2015. 2
258
+ [27] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 1, 3, 5
259
+
260
+ [28] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettle-moyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. 1, 3, 4
261
+ [29] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 11976-11986, 2022. 4
262
+ [30] Wan-Duo Kurt Ma, JP Lewis, and W Bastiaan Kleijn. The hsic bottleneck: Deep learning without back-propagation. In Proceedings of the AAAI conference on artificial intelligence, pages 5085-5092, 2020. 2
263
+ [31] Jack Merullo, Louis Castricato, Carsten Eickhoff, and Ellie Pavlick. Linearly mapping from image to text space. arXiv preprint arXiv:2209.15162, 2022. 1, 2, 8
264
+ [32] Tomas Mikolov, Quoc V Le, and Ilya Sutskever. Exploiting similarities among languages for machine translation (2013). arXiv preprint arXiv:1309.4168, 2022. 2
265
+ [33] Ari Morcos, Maithra Raghu, and Samy Bengio. Insights on representational similarity in neural networks with canonical correlation. Advances in neural information processing systems, 31, 2018. 2
266
+ [34] Luca Moschella, Valentino Maiorca, Marco Fumero, Antonio Norelli, Francesco Locatello, and Emanuele Rodola. Relative representations enable zero-shot latent space communication. In The Eleventh International Conference on Learning Representations, 2022. 1, 2, 4, 5, 6, 7
267
+ [35] Antonio Norelli, Marco Fumero, Valentino Maiorca, Luca Moschella, Emanuele Rodola, and Francesco Locatello. Asif: Coupled data turns unimodal models to multimodal without training. arXiv preprint arXiv:2210.01738, 2022. 1, 2
268
+ [36] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. 1
269
+ [37] Maxime Oquab, Timothee Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. 1, 3, 5
270
+ [38] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019. 6
271
+ [39] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. 4
272
+ [40] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 1, 4, 5
273
+
274
+ [41] Maithra Raghu, Justin Gilmer, Jason Yosinski, and Jascha Sohl-Dickstein. Svcca: Singular vector canonical correlation analysis for deep learning dynamics and interpretability. Advances in neural information processing systems, 30, 2017. 2
275
+ [42] Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? Advances in Neural Information Processing Systems, 34:12116-12128, 2021. 1
276
+ [43] Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 2019. 4
277
+ [44] Anton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras, Alex Bronstein, Ivan Oseledets, and Emmanuel Müller. The shape of data: Intrinsic distance for data distributions. arXiv preprint arXiv:1905.11141, 2019. 2
278
+ [45] Joshua T Vogelstein, John M Conroy, Vince Lyzinski, Louis J Podrazik, Steven G Kratzer, Eric T Harley, Donniell E Fishkind, R Jacob Vogelstein, and Carey E Priebe. Fast approximate quadratic programming for graph matching. PLOS one, 10(4):e0121002, 2015. 3
279
+ [46] Ivan Vulic, Sebastian Ruder, and Anders Søgaard. Are all good word vector spaces isomorphic? arXiv preprint arXiv:2004.04070, 2020. 2
280
+ [47] Sanghyun Woo, Shoubhik Debnath, Ronghang Hu, Xinlei Chen, Zhuang Liu, In So Kweon, and Saining Xie. Convnext v2: Co-designing and scaling convnets with masked autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16133-16142, 2023. 1, 5
281
+ [48] John M Wu, Yonatan Belinkov, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, and James Glass. Similarity analysis of contextual word representation models. arXiv preprint arXiv:2005.01172, 2020. 2
2024/Do Vision and Language Encoders Represent the World Similarly_/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:549e671ad2f6d6658609719057bc637e16157f633ec01626fd11d01ba0a63938
3
+ size 325490
2024/Do Vision and Language Encoders Represent the World Similarly_/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_content_list.json ADDED
@@ -0,0 +1,1432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Do You Remember? Dense Video Captioning with Cross-Modal Memory Retrieval",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 163,
8
+ 128,
9
+ 805,
10
+ 174
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Minkuk Kim $^{1}$ , Hyeon Bae Kim $^{1}$ , Jinyoung Moon $^{2}$ , Jinwoo Choi $^{1,*}$ , Seong Tae Kim $^{1,*}$",
17
+ "bbox": [
18
+ 148,
19
+ 199,
20
+ 825,
21
+ 218
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "<sup>1</sup>Kyung Hee University, Republic of Korea",
28
+ "bbox": [
29
+ 315,
30
+ 218,
31
+ 655,
32
+ 234
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$^{2}$ Electronics and Telecommunications Research Institute (ETRI), Republic of Korea",
39
+ "bbox": [
40
+ 153,
41
+ 234,
42
+ 815,
43
+ 253
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Abstract",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 233,
53
+ 287,
54
+ 313,
55
+ 303
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "There has been significant attention to the research on dense video captioning, which aims to automatically localize and caption all events within untrimmed video. Several studies introduce methods by designing dense video captioning as a multitasking problem of event localization and event captioning to consider inter-task relations. However, addressing both tasks using only visual input is challenging due to the lack of semantic content. In this study, we address this by proposing a novel framework inspired by the cognitive information processing of humans. Our model utilizes external memory to incorporate prior knowledge. The memory retrieval method is proposed with cross-modal video-to-text matching. To effectively incorporate retrieved text features, the versatile encoder and the decoder with visual and textual cross-attention modules are designed. Comparative experiments have been conducted to show the effectiveness of the proposed method on ActivityNet Captions and YouCook2 datasets. Experimental results show promising performance of our model without extensive pretraining from a large video dataset. Our code is available at https://github.com/ailab-kyunghee/CM2_DVC.",
62
+ "bbox": [
63
+ 76,
64
+ 319,
65
+ 473,
66
+ 640
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1. Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 76,
76
+ 671,
77
+ 209,
78
+ 686
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "With the increasing demand for video understanding and multimodal analysis, the field of video captioning is growing rapidly. The task of conventional video captioning involves generating precise descriptions for trimmed video segments and several studies show successful results [7, 12, 21, 22, 24, 26, 27, 32, 36, 40-42]. However, it faces considerable challenges when applied to dense video captioning. Dense video captioning aims to localize important event segments (i.e., to find event boundaries) from untrimmed videos and describe the event segment (i.e., what happens in the event) with natural language. For achieving high-performance dense video captioning, it is important to prop",
85
+ "bbox": [
86
+ 75,
87
+ 696,
88
+ 468,
89
+ 875
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/44a8c871f5e3b4e9c06096c32c96caf8426a51dd82eb929c2e6789ce69ec85f9.jpg",
96
+ "image_caption": [
97
+ "Figure 1. Conceptual figure of the proposed cross-modal memory-based dense video captioning $(\\mathrm{CM}^2)$ . Our method can search for relevant clues from an external memory bank to provide precise descriptions and localization for untrimmed video."
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 504,
102
+ 287,
103
+ 890,
104
+ 513
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "erly model inter-task interactions between event localization and caption generation.",
111
+ "bbox": [
112
+ 496,
113
+ 607,
114
+ 890,
115
+ 637
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Recent studies in vision and language learning have shown impressive results in cross-modal correlation tasks [19, 28, 34]. However, connecting natural language and video is still challenging due to the difficulties in modeling spatiotemporal information [13]. Video-and-language learning requires complex model architectures, specialized training protocols, and large computational costs [8]. Even dense video captioning requires connecting untrimmed videos and natural language to localize events and describe them [17, 46, 48].",
122
+ "bbox": [
123
+ 496,
124
+ 637,
125
+ 892,
126
+ 782
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "This study is motivated by the observation of how humans recognize and describe scenes. Humans are capable of identifying important events and describing them by recalling relevant memories based on cues they have observed. In cognitive information processing, this processing is called cued recall [1, 33]. By recalling relevant memories, humans can describe the scenes with human-understandable natural language.",
133
+ "bbox": [
134
+ 496,
135
+ 784,
136
+ 893,
137
+ 902
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "header",
143
+ "text": "CVF",
144
+ "bbox": [
145
+ 106,
146
+ 2,
147
+ 181,
148
+ 42
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "header",
154
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation.",
155
+ "bbox": [
156
+ 236,
157
+ 1,
158
+ 807,
159
+ 18
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "header",
165
+ "text": "Except for this watermark, it is identical to the accepted version;",
166
+ "bbox": [
167
+ 323,
168
+ 16,
169
+ 722,
170
+ 30
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "header",
176
+ "text": "the final published version of the proceedings is available on IEEE Xplore.",
177
+ "bbox": [
178
+ 292,
179
+ 31,
180
+ 754,
181
+ 46
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "page_footnote",
187
+ "text": "*Corresponding authors.",
188
+ "bbox": [
189
+ 94,
190
+ 886,
191
+ 227,
192
+ 898
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "page_number",
198
+ "text": "13894",
199
+ "bbox": [
200
+ 480,
201
+ 944,
202
+ 519,
203
+ 957
204
+ ],
205
+ "page_idx": 0
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "To verify the feasibility of our idea, we have conducted a preliminary experiment. To measure the usefulness of text clues from external memory, we search the relevant information by using the ground truth caption of the query video, which is the ideal case where we can achieve in the external memory. In the real-world condition, we could not use text query and video features will be used as a query. As shown in Table 1, the performance of the dense video captioning could be significantly improved (CIDEr of 183.95 is achievable with Oracle retrieval on the ground truth event segment in YouCook2 dataset [53]).",
210
+ "bbox": [
211
+ 75,
212
+ 90,
213
+ 472,
214
+ 251
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "Following this insight, we devise a new dense video captioning framework, named Cross-Modal Memory-based dense video captioning $(\\mathrm{CM}^2)$ . Our model can recall relevant events from external memory to improve the generation quality of captions in dense video captioning as shown in Figure 1. To mimic the human's process, an external memory is designed based on prior knowledge which is extracted from training data. Then, the proposed model extracts potential event candidates from given untrimmed videos and retrieves relevant information from the external memory to provide the model with diverse and semantic information. By incorporating the retrieved memory into visual features, our method further introduces a versatile encoder and decoder structure. The encoded features are aggregated by using visual cross-attention and textual cross-attention in a versatile transformer decoder, which helps the model learn inter-task interactions from visual and text clues. Our main contributions can be summarized as:",
221
+ "bbox": [
222
+ 75,
223
+ 251,
224
+ 472,
225
+ 513
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "list",
231
+ "sub_type": "text",
232
+ "list_items": [
233
+ "- Inspired by the human cognitive process, we introduce a new dense video captioning method with cross-modal retrieval from external memory. To the best of our knowledge, this is the first study that uses cross-modal retrieval from external memory for dense video captioning. By retrieving relevant text clues from the memory, the proposed model could elaborately localize and describe important events in a more fluent and natural way.",
234
+ "- To effectively leverage multi-modal features, we propose a versatile encoder-decoder structure with a visual cross-attention and a textual cross-attention. Our model could effectively learn cross-modal correlation and model intertask interactions for improving dense video captioning.",
235
+ "- Comprehensive experiments have been conducted on ActivityNet Captions [17] and YouCook2 [53] datasets to verify the effectiveness of memory retrieval in dense video captioning. Our model also achieves comparable performance without pretraining on large video datasets."
236
+ ],
237
+ "bbox": [
238
+ 76,
239
+ 513,
240
+ 468,
241
+ 776
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "2. Related Work",
248
+ "text_level": 1,
249
+ "bbox": [
250
+ 76,
251
+ 792,
252
+ 218,
253
+ 808
254
+ ],
255
+ "page_idx": 1
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "2.1. Desne Video Captioning",
260
+ "text_level": 1,
261
+ "bbox": [
262
+ 76,
263
+ 816,
264
+ 299,
265
+ 834
266
+ ],
267
+ "page_idx": 1
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "Dense video captioning is a multi-task problem that combines two sub-tasks: Event localization and event captioning. Krishna et al. [17] introduced a dense video captioning model by first generating proposals and then using",
272
+ "bbox": [
273
+ 75,
274
+ 840,
275
+ 468,
276
+ 902
277
+ ],
278
+ "page_idx": 1
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "an attention-based LSTM to generate captions, following the \"localize-then-describe\" strategy. Subsequent studies [14, 15, 43, 45, 49] aimed to produce more precise and informative captions within this strategy. However, two-stage approaches have major limitations, as they do not jointly train event localization and event captioning, resulting in less attention to inter-task interactions.",
283
+ "bbox": [
284
+ 496,
285
+ 90,
286
+ 890,
287
+ 191
288
+ ],
289
+ "page_idx": 1
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "To address the aforementioned limitations, recent studies propose joint training of two sub-tasks [4, 6, 9, 20, 23, 29, 37, 38, 43, 46, 48, 54]. Deng et al. [9] initially generate a paragraph for a given video and then utilize it for grounding. Wang et al. [46] define dense video captioning as a parallel set prediction task and propose an end-to-end method for event localization and event captioning, using only visual input to solve the two sub-tasks. Yang et al. [48] make use of transcribed speech for multi-modal inputs, predicting both time tokens and caption tokens as a single sequence. For the pretraining of the model, an additional YT-Temporal-1B dataset which contains 18 million narrated videos collected from YouTube is used.",
294
+ "bbox": [
295
+ 496,
296
+ 193,
297
+ 892,
298
+ 382
299
+ ],
300
+ "page_idx": 1
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "However, training high-quality dense video captioning models without pretraining from a large number of videos still remains very challenging. Our study presents a novel approach to exploit prior knowledge to enhance the quality of dense video captioning.",
305
+ "bbox": [
306
+ 496,
307
+ 383,
308
+ 890,
309
+ 457
310
+ ],
311
+ "page_idx": 1
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "2.2. Retrieval-Augmented Generation",
316
+ "text_level": 1,
317
+ "bbox": [
318
+ 500,
319
+ 468,
320
+ 792,
321
+ 484
322
+ ],
323
+ "page_idx": 1
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "The retrieval-augmented approach is often used in language generation tasks. Lewis et al.[18] propose retrieval-augmented generation, which combines pre-trained parametric and external non-parametric memory to effectively leverage pre-trained model knowledge. Some works [30, 31, 35, 47, 52] in image captioning also employ this external datastore approach. Similar to ours, Sarto et al.[35] and Ramos et al.[30] propose an approach to train a retrieval-augmented image captioning model by processing encoded retrieved captions through cross-attention. Recent studies also show retrieval augmented generation in the context of video captioning [5, 16, 51]. They propose to improve video captioning by incorporating external knowledge, such as video-related training corpus [16] and memory-augmented encoder-decoder structure [51]. They reference the retrieved text obtained from memory in the word prediction distribution of the captioning decoder.",
328
+ "bbox": [
329
+ 496,
330
+ 492,
331
+ 890,
332
+ 739
333
+ ],
334
+ "page_idx": 1
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "In this study, our model references retrieved information throughout all layers of the decoder with cross-attention. While they only concentrate on enhancing word prediction for video captioning, our method adopts a structure that utilizes the retrieved text as semantic information, benefiting both event localization and event captioning. Note that, retrieval-augmented generation has been largely unexplored in dense video captioning. Previous studies that use the retrieval-augmented generation approach in the image and short video captioning only utilize retrieved textual information for improving caption quality. In this study,",
339
+ "bbox": [
340
+ 496,
341
+ 739,
342
+ 890,
343
+ 901
344
+ ],
345
+ "page_idx": 1
346
+ },
347
+ {
348
+ "type": "page_number",
349
+ "text": "13895",
350
+ "bbox": [
351
+ 480,
352
+ 944,
353
+ 517,
354
+ 955
355
+ ],
356
+ "page_idx": 1
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "we present a new structure to exploit the retrieval of text clues for generating dense captions and localizing events from untrimmed videos.",
361
+ "bbox": [
362
+ 76,
363
+ 90,
364
+ 468,
365
+ 133
366
+ ],
367
+ "page_idx": 2
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "3. Method",
372
+ "text_level": 1,
373
+ "bbox": [
374
+ 76,
375
+ 157,
376
+ 166,
377
+ 172
378
+ ],
379
+ "page_idx": 2
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "Our goal is to improve event-level localization and event captioning from untrimmed video by exploiting prior knowledge. For this, we introduce a new framework $(\\mathrm{CM}^2)$ which is designed with cross-modal memory retrieval. $\\mathrm{CM}^2$ could search relevant information by segment-level video features and retrieve text features from external memory in a video-to-text cross-modal manner (Section 3.1). Furthermore, to ensure that the model efficiently leverages the retrieved semantic information for both localization and captioning tasks, we design a versatile encoder-decoder architecture and a modal-level cross-attention method (Section 3.2). As illustrated in Figure 2, our model takes input video frames and extracts video frame features $\\mathbf{x} = \\{x_{i}\\}_{i = 1}^{F}$ and retrieved text features $\\mathbf{y} = \\{y_j\\}_{j = 1}^W$ where $F$ and $W$ denote the number of frames in the given video and the number of retrieved text features, respectively. For the given input video, the model generates segment and caption pairs $\\{(t_n^s,t_n^e,S_n)\\}_{n = 1}^N$ where $N$ denotes the number of events detected by our method and $t_n^s$ and $t_n^e$ denote the start and the end timestamp of $n$ -th event. $S_{n}$ denotes the generated captions for $n$ -th event segment. Details of dense event prediction will be introduced in Section 3.3.",
384
+ "bbox": [
385
+ 76,
386
+ 186,
387
+ 472,
388
+ 505
389
+ ],
390
+ "page_idx": 2
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "3.1. Memory Retrieval",
395
+ "text_level": 1,
396
+ "bbox": [
397
+ 76,
398
+ 525,
399
+ 254,
400
+ 540
401
+ ],
402
+ "page_idx": 2
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "3.1.1 Memory Construction",
407
+ "text_level": 1,
408
+ "bbox": [
409
+ 76,
410
+ 551,
411
+ 285,
412
+ 565
413
+ ],
414
+ "page_idx": 2
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "To store high-quality semantic information as prior knowledge in the memory, we first construct an explicit external memory bank by encoding sentence-level features. The sentences are collected from the training data of the indomain target dataset [17, 53] by taking into account the semantic distributions appropriate to the query videos. For example, the captions in AcitivityNet Caption training set are used for constructing external memory in experiments on AcitivityNet Captions in this study. For segment-level video-to-text retrieval, we define a memory unit in a sentence level that corresponds to the event clip instead of whole paragraphs from an untrimmed video in the dataset. For segment-level video-to-text embedding, we adopt pretrained CLIP Vit-L/14 [10, 28] which shows promising alignment ability by mapping image and text to the shared feature space. For storing semantic information of captions at a sentence level, we tokenize the captions of the event segment using the CLIP tokenizer, ensuring padding to match the maximum token number of ground truth captions. Subsequently, all tokenized caption sentences are encoded by a CLIP text encoder, and the resulting sentence-level embeddings are stored in the external memory bank.",
419
+ "bbox": [
420
+ 76,
421
+ 580,
422
+ 472,
423
+ 900
424
+ ],
425
+ "page_idx": 2
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "3.1.2 Segment-level Retrieval",
430
+ "text_level": 1,
431
+ "bbox": [
432
+ 500,
433
+ 90,
434
+ 718,
435
+ 106
436
+ ],
437
+ "page_idx": 2
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "Untrimmed videos could consist of multiple events, each containing distinct semantic information. As both sub-tasks of dense video captioning operate at the event level, it is crucial to design an appropriate retrieval method that considers segment-level semantic information. We propose a novel cross-modal memory-based dense video captioning $(\\mathrm{CM}^2)$ , designed to take into account the semantic information of the segment that can potentially include events. By utilizing image-to-text retrieval strategies with CLIP [10, 28] and temporal anchors, our method ensures the incorporation of semantic details from dense events. The proposed approach involves two key steps: segment-level retrieval and feature aggregation as shown in Figure 2 (b).",
442
+ "bbox": [
443
+ 496,
444
+ 113,
445
+ 890,
446
+ 303
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "In segment-level retrieval, to acquire semantic information related to events within the input video, we divide the input video into $W$ temporal anchors. For frame-level visual feature extraction, we adopt CLIP ViT-L/14. To obtain the representative information contained in each anchor, we compress the temporal dimension at each anchor through averaging, yielding segment-level visual features. Then, for each anchor, the segment-level visual feature is used as a query for retrieving relevant information from the external memory. For finding relevant information, the similarity between the segment-level visual feature and CLIP text features in the memory is calculated (In this study, cosine similarity between two feature vectors is used as a similarity metric). Based on the similarity scores, $K$ sentence features are retrieved for each anchor, which results in a selected memory feature set for $j$ -th anchor as $\\mathbf{m}^j = \\{m_1^j,\\dots,m_K^j\\}$ .",
453
+ "bbox": [
454
+ 496,
455
+ 303,
456
+ 892,
457
+ 535
458
+ ],
459
+ "page_idx": 2
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "Next, we perform feature aggregation to summarize useful information from $K$ retrieved sentence features $\\mathbf{m}^j$ associated with each anchor in the selected memory. The average pooling over the $K$ sequences is conducted in each anchor. Finally, we obtain the retrieved text features $\\{y_j\\}_{j=1}^W$ .",
464
+ "bbox": [
465
+ 496,
466
+ 535,
467
+ 890,
468
+ 609
469
+ ],
470
+ "page_idx": 2
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "3.2. Versatile Encoder-Decoder",
475
+ "text_level": 1,
476
+ "bbox": [
477
+ 500,
478
+ 614,
479
+ 741,
480
+ 628
481
+ ],
482
+ "page_idx": 2
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "In this section, we describe how we build a structure to incorporate visual features and retrieved text features for event localization and event captioning. We generate event query features with well-incorporated temporal information using an encoder-decoder structure based on the deformable transformer [56], as in [46]. However, our approach differs from [46] as our model incorporates not only visual features but also retrieved text features for making positive effects in both captioning and localization. To achieve this, we propose a versatile encoder-decoder structure that effectively uses retrieved text features and visual features.",
487
+ "bbox": [
488
+ 496,
489
+ 636,
490
+ 890,
491
+ 795
492
+ ],
493
+ "page_idx": 2
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "Feature Encoding. First, we sample the frame-level features extracted by the pre-trained CLIP ViT-L/14 with 1 FPS to a fixed frame number as $\\mathbf{x} = \\{x_{i}\\}_{i = 1}^{F}$ for batch processing. Then, we added $L$ temporal convolutional layers for the multi-scaling processing of video frame features. The multi-scale convolutional layers output multi-scale visual features as $\\tilde{\\mathbf{x}} = \\{\\tilde{x}_i\\}_{i = 1}^{\\tilde{F}}$ .",
498
+ "bbox": [
499
+ 496,
500
+ 796,
501
+ 890,
502
+ 902
503
+ ],
504
+ "page_idx": 2
505
+ },
506
+ {
507
+ "type": "page_number",
508
+ "text": "13896",
509
+ "bbox": [
510
+ 480,
511
+ 945,
512
+ 519,
513
+ 955
514
+ ],
515
+ "page_idx": 2
516
+ },
517
+ {
518
+ "type": "image",
519
+ "img_path": "images/a5e10f922c8ff21da70cb74583ff4d135cde0dbc14ef8d0a339945154f7a293d.jpg",
520
+ "image_caption": [
521
+ "(a) Overall Architecture."
522
+ ],
523
+ "image_footnote": [],
524
+ "bbox": [
525
+ 235,
526
+ 94,
527
+ 727,
528
+ 316
529
+ ],
530
+ "page_idx": 3
531
+ },
532
+ {
533
+ "type": "image",
534
+ "img_path": "images/0a26d4341bb2418a4d68795aaf1be08616c73aadac2ea67cd089264d4a492470.jpg",
535
+ "image_caption": [
536
+ "(b) Memory Read Module."
537
+ ],
538
+ "image_footnote": [],
539
+ "bbox": [
540
+ 89,
541
+ 348,
542
+ 460,
543
+ 521
544
+ ],
545
+ "page_idx": 3
546
+ },
547
+ {
548
+ "type": "image",
549
+ "img_path": "images/f333b505ff63eff4a504195bf7c819f23051c373b4e271c0dd901018452c0105.jpg",
550
+ "image_caption": [
551
+ "(c) Versatile Encoder-Decoder Module.",
552
+ "Figure 2. Overview of $\\mathbf{CM}^2$ . We approach the dense video captioning task in a memory-retrieval-augmented caption generation manner. We show the overall architecture in (a). We conduct video-to-text cross-modal retrieval using input video features obtained through a pre-trained encoder. As illustrated in (b), we generate segment-level $W$ temporal anchors from the input video features. Then we measure similarities between the anchors and the text features stored in a memory to obtain $W$ retrieved features through aggregation. As illustrated in (c), we encode the multi-scale video features $\\tilde{\\mathbf{x}}$ and retrieved features using a versatile transformer encoder. Each encoded feature vector undergoes the corresponding cross-attention layers to obtain refined event queries. Finally, we obtain the set of start time, end time, and caption by passing the event queries through a head."
553
+ ],
554
+ "image_footnote": [],
555
+ "bbox": [
556
+ 500,
557
+ 345,
558
+ 867,
559
+ 525
560
+ ],
561
+ "page_idx": 3
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "Versatile encoder. $\\mathrm{CM}^2$ enhances the interplay between visual and text modalities while preserving their original information, achieved through the use of versatile weight-shared encoders. These weight-shared encoders, illustrated in Figure 2 (c), are employed to process each modality feature. The versatile encoder is designed with $M$ blocks where each block consists of feedforward and self-attention layers. By employing weight-shared encoders, the visual and text modality features undergo training in a shared embedding space, fostering potential cross-modality connections. Furthermore, since each modality process is processed separately by the weight-shared encoder, it could effectively retain distinctive modality-specific information. The visual encoder takes a sequence of multi-scale frame features $\\tilde{\\mathbf{x}} = \\{\\tilde{x}_i\\}_{i=1}^F$ as input and generates encoded visual",
566
+ "bbox": [
567
+ 75,
568
+ 676,
569
+ 468,
570
+ 898
571
+ ],
572
+ "page_idx": 3
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "features as output. Simultaneously, the same versatile encoder processes a set of retrieved text features $\\mathbf{y} = \\{y_j\\}_{j=1}^W$ , producing $W$ encoded text features.",
577
+ "bbox": [
578
+ 496,
579
+ 676,
580
+ 890,
581
+ 720
582
+ ],
583
+ "page_idx": 3
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "Versatile decoder. Through the versatile decoder, we design learnable embeddings, event queries $\\mathbf{q} = \\{q_l\\}_{l=1}^L$ , to include temporally and semantically rich information. When video and text modalities are given, a single cross-attention is insufficient to generate the necessary representations for the two sub-tasks. Therefore, $\\mathrm{CM}^2$ separates the visual cross-attention layer from the textual cross-attention layer, as described in Figure 2 (c). We aim for each modality to handle tasks related to temporal and semantic information processing separately. In visual cross-attention, considering the cross-attention between encoded visual features and event queries enhances the temporal information",
588
+ "bbox": [
589
+ 496,
590
+ 726,
591
+ 890,
592
+ 900
593
+ ],
594
+ "page_idx": 3
595
+ },
596
+ {
597
+ "type": "page_number",
598
+ "text": "13897",
599
+ "bbox": [
600
+ 480,
601
+ 944,
602
+ 517,
603
+ 955
604
+ ],
605
+ "page_idx": 3
606
+ },
607
+ {
608
+ "type": "table",
609
+ "img_path": "images/3deed23471a8ce2de74c06c6a19ba1f3fa7a333a4486ac3719b300980178b224.jpg",
610
+ "table_caption": [
611
+ "Table 1. Effect of memory retrieval in ActivityNet Captions and Youcook2. No retrieval refers to a case where the model is forwarded without any retrieval. Oracle methods are implemented to measure the upper bound which could be achieved by the retrieval with an ideal query to the memory bank. The captions retrieved from the memory by ground truth captions of query video are directly used as the output of the model."
612
+ ],
613
+ "table_footnote": [],
614
+ "table_body": "<table><tr><td rowspan=\"2\">Retrieval Type</td><td colspan=\"4\">ActivityNet</td><td colspan=\"4\">YouCook2</td></tr><tr><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>No Retrieval</td><td>31.24</td><td>8.03</td><td>2.15</td><td>6.01</td><td>23.67</td><td>5.30</td><td>1.17</td><td>4.77</td></tr><tr><td>Proposed Retrieval (Ours)</td><td>33.01</td><td>8.55</td><td>2.38</td><td>6.18</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td></tr><tr><td>Oracle w/o GT proposal</td><td>40.24</td><td>9.43</td><td>2.88</td><td>6.96</td><td>53.55</td><td>9.18</td><td>3.49</td><td>6.81</td></tr><tr><td>Oracle w/ GT proposal</td><td>84.47</td><td>15.69</td><td>5.86</td><td>12.41</td><td>183.95</td><td>23.53</td><td>13.05</td><td>25.51</td></tr></table>",
615
+ "bbox": [
616
+ 138,
617
+ 152,
618
+ 826,
619
+ 247
620
+ ],
621
+ "page_idx": 4
622
+ },
623
+ {
624
+ "type": "text",
625
+ "text": "of event queries. In textual cross-attention, considering the cross-attention between encoded text features and event queries enriches the semantic information of event queries. The output of the versatile decoder produces event queries $\\tilde{\\mathbf{q}} = \\{q_l\\}_{l=1}^L$ with both temporal and semantic information.",
626
+ "bbox": [
627
+ 75,
628
+ 271,
629
+ 468,
630
+ 348
631
+ ],
632
+ "page_idx": 4
633
+ },
634
+ {
635
+ "type": "text",
636
+ "text": "3.3. Dense Event Prediction",
637
+ "text_level": 1,
638
+ "bbox": [
639
+ 76,
640
+ 353,
641
+ 294,
642
+ 369
643
+ ],
644
+ "page_idx": 4
645
+ },
646
+ {
647
+ "type": "text",
648
+ "text": "Parallel Heads. $\\mathrm{CM}^2$ employs a parallel decoding structure with sub-task heads for a given event query $\\tilde{q}_l$ . Our approach includes three parallel heads: a localization head, a captioning head, and an event counter.",
649
+ "bbox": [
650
+ 75,
651
+ 375,
652
+ 468,
653
+ 434
654
+ ],
655
+ "page_idx": 4
656
+ },
657
+ {
658
+ "type": "text",
659
+ "text": "Localization Head. The localization head is implemented by a multi-layer perceptron to predict the box prediction, including the center and length of the ground-truth segment, for a given event query. Additionally, it conducts binary classification to predict the foreground confidence of each event query. Finally, the localization head outputs a set of tuples $(t_{l}^{s}, t_{l}^{e}, c_{l})_{l=1}^{L}$ , where each tuple represents the start time $t_{l}^{e}$ , end time $t_{l}^{e}$ , and localization confidence $c_{l}$ of $l$ -th event segment, respectively.",
660
+ "bbox": [
661
+ 75,
662
+ 434,
663
+ 468,
664
+ 566
665
+ ],
666
+ "page_idx": 4
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "Captioning Head. For the captioning head, we employ the deformable soft attention LSTM which uses the soft attention around the reference points, enhancing word generation performance. [46]. For the input of the captioning head, we utilize attention feature $a_{l,s}$ , event query $\\tilde{q}_l$ , and the previous word $w_{l,s-1}$ to predict the next word. As the sentence progresses, the captioning head generates the entire sentence $\\mathbf{S}_l = w_{l,1},\\dots,w_{l,S}$ , where $S$ represents the length of the sentence.",
671
+ "bbox": [
672
+ 75,
673
+ 566,
674
+ 468,
675
+ 696
676
+ ],
677
+ "page_idx": 4
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "Event Counter. The event counter predicts the appropriate number of events in the video. To achieve this, it compresses essential information from the event query $\\tilde{q}_l$ through a max-pooling layer and a fully-connected layer. It predicts a vector $r_{len}$ representing a specific number of events. During inference, the predicted event count is selected by $N = \\arg\\max(r_{len})$ . Finally, the N predicted sets $\\{(t_n^s, t_n^e, S_n)\\}_{n=1}^N$ are determined by the Hungarian algorithm [3], using a matching cost $C = L_{cls} + \\alpha L_{loc}$ with generalized IOU loss and focal loss. The focal loss $L_{cls}$ is computed between the predicted classification score and the ground-truth label. The generalized IOU loss $L_{loc}$ measures the predicted segment against the ground-truth segment.",
682
+ "bbox": [
683
+ 75,
684
+ 696,
685
+ 468,
686
+ 885
687
+ ],
688
+ "page_idx": 4
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "Training and Inference. During training, we train $\\mathbf{CM}^2$",
693
+ "bbox": [
694
+ 76,
695
+ 885,
696
+ 467,
697
+ 901
698
+ ],
699
+ "page_idx": 4
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "using four losses: $L_{loc}$ , $L_{cls}$ , $L_{count}$ , and $L_{cap}$ . $L_{count}$ represents the cross-entropy between the predicted count number distribution and the ground truth. $L_{cap}$ is the cross-entropy between the predicted word probability and the ground truth. The total loss is defined as follows:",
704
+ "bbox": [
705
+ 496,
706
+ 271,
707
+ 890,
708
+ 347
709
+ ],
710
+ "page_idx": 4
711
+ },
712
+ {
713
+ "type": "equation",
714
+ "text": "\n$$\nL _ {T} = L _ {c l s} + \\lambda_ {l o c} L _ {l o c} + \\lambda_ {c o u n t} L _ {c o u n t} + \\lambda_ {c a p} L _ {c a p} \\tag {1}\n$$\n",
715
+ "text_format": "latex",
716
+ "bbox": [
717
+ 514,
718
+ 354,
719
+ 890,
720
+ 372
721
+ ],
722
+ "page_idx": 4
723
+ },
724
+ {
725
+ "type": "text",
726
+ "text": "During inference, given visual input $x$ and retrieved text input $y$ , our model predicts $N$ sets of predictions $\\{(t_n^s, t_n^e, S_n)\\}_{n=1}^N$ . For both training and inference, we conducted retrieval using the same external memory bank.",
727
+ "bbox": [
728
+ 498,
729
+ 380,
730
+ 890,
731
+ 441
732
+ ],
733
+ "page_idx": 4
734
+ },
735
+ {
736
+ "type": "text",
737
+ "text": "4. Experiments",
738
+ "text_level": 1,
739
+ "bbox": [
740
+ 498,
741
+ 452,
742
+ 633,
743
+ 469
744
+ ],
745
+ "page_idx": 4
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "To verify the effectiveness of our method, comparative experiments have been conducted. First, Section 4.1 introduces the experimental setting used in this study. Section 4.2 shows the effectiveness of memory retrieval in dense video captioning. Section 4.3 shows the comparison with state-of-the-art methods. Section 4.4 shows ablation studies for our model to validate the effectiveness of each component. Qualitative results of our method and discussion are followed.",
750
+ "bbox": [
751
+ 496,
752
+ 477,
753
+ 890,
754
+ 607
755
+ ],
756
+ "page_idx": 4
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "4.1. Experimental Settings",
761
+ "text_level": 1,
762
+ "bbox": [
763
+ 498,
764
+ 616,
765
+ 707,
766
+ 633
767
+ ],
768
+ "page_idx": 4
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "Dataset. We employed two dense video captioning benchmark datasets, namely ActivityNet Captions [17] and YouCook2 [53], for training and evaluation. ActivityNet Captions consists of 20k untrimmed videos of diverse human activities. On average, each video spans 120s and is annotated with 3.7 temporally localized sentences. For training, validation, and testing, we follow the standard split of videos. YouCook2 consists of 2k untrimmed cooking procedure videos, with an average duration of 320s per video and 7.7 temporally localized sentences per annotation. We followed the standard split for training, validation, and testing videos. Notably, we use approximately $7\\%$ fewer videos than the original count, as we use those accessible on YouTube.",
773
+ "bbox": [
774
+ 496,
775
+ 638,
776
+ 890,
777
+ 840
778
+ ],
779
+ "page_idx": 4
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "Evaluation Metrics. We evaluated our method for two subtasks in dense video captioning. By using ActivityNet Challenge official evaluation tool [44], we evaluated generated captions using the metrics CIDEr [39], BLEU4 [25], and",
784
+ "bbox": [
785
+ 496,
786
+ 840,
787
+ 890,
788
+ 901
789
+ ],
790
+ "page_idx": 4
791
+ },
792
+ {
793
+ "type": "page_number",
794
+ "text": "13898",
795
+ "bbox": [
796
+ 480,
797
+ 944,
798
+ 517,
799
+ 955
800
+ ],
801
+ "page_idx": 4
802
+ },
803
+ {
804
+ "type": "table",
805
+ "img_path": "images/5fb1b86728f2a85761841ca105e37185841d7765054a67370ae9ad12d6e08024.jpg",
806
+ "table_caption": [
807
+ "Table 2. Performance of Event Captioning in ActivityNet Captions. Bold means the highest score. Underline means 2nd score. # PT denotes the number of videos used for pretraining. † denotes results reproduced from official implementation in our environment."
808
+ ],
809
+ "table_footnote": [],
810
+ "table_body": "<table><tr><td>Method</td><td>Backbone</td><td># PT</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>Vid2Seq [48]</td><td>CLIP</td><td>15M</td><td>30.10</td><td>8.50</td><td>-</td><td>5.80</td></tr><tr><td>MT [54]</td><td>TSN</td><td>-</td><td>6.10</td><td>3.20</td><td>0.30</td><td>-</td></tr><tr><td>ECHR [45]</td><td>C3D</td><td>-</td><td>14.70</td><td>7.20</td><td>1.82</td><td>3.20</td></tr><tr><td>UEDVC [50]</td><td>C3D</td><td>-</td><td>-</td><td>-</td><td>-</td><td>5.5</td></tr><tr><td>PDVC† [46]</td><td>CLIP</td><td>-</td><td>29.97</td><td>8.06</td><td>2.21</td><td>5.92</td></tr><tr><td>Ours</td><td>CLIP</td><td>-</td><td>33.01</td><td>8.55</td><td>2.38</td><td>6.18</td></tr></table>",
811
+ "bbox": [
812
+ 78,
813
+ 167,
814
+ 467,
815
+ 260
816
+ ],
817
+ "page_idx": 5
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "METEOR [2], which calculate matched pairs between generated captions and ground truth across IOU thresholds of 0.3, 0.5, 0.7, 0.9. Additionally, for measuring storytelling ability, we employed SODA_c [11]. For event localization, we measured average precision, average recall, and F1 score, which represents the harmonic mean of precision and recall. These scores are averaged over IOU thresholds of 0.3, 0.5, 0.7, 0.9.",
822
+ "bbox": [
823
+ 75,
824
+ 286,
825
+ 468,
826
+ 402
827
+ ],
828
+ "page_idx": 5
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "Implementation Details. For both datasets, we extract video frames at a rate of 1 frame per second and then subsample or pad the sequence of frames to achieve a total of $F$ frames, where we set $F = 100$ in ActivityNet Captions and $F = 200$ in YouCook2. We employ a two-layer deformable transformer with multiscale deformable attention spanning four levels. The number of event queries is set to 10 for ActivityNet Captions and 100 for YouCook2, respectively. In this study, the balancing hyperparameters of $\\alpha$ , $\\lambda_{loc}$ , $\\lambda_{count}$ , and $\\lambda_{cap}$ are set to 2, 2, 1, and 1, respectively. The number of anchors is empirically set to 10 for ActivityNet Captions and 50 for YouCook2. In retrieval, We set the anchor number of 50, with k set to 80 for each anchor. Therefore, we utilize 4000 retrieved text features. During training, the ground truth of the corresponding input video was excluded from the memory bank.",
833
+ "bbox": [
834
+ 75,
835
+ 402,
836
+ 470,
837
+ 635
838
+ ],
839
+ "page_idx": 5
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "4.2. Effect of Memory Retrieval",
844
+ "text_level": 1,
845
+ "bbox": [
846
+ 76,
847
+ 645,
848
+ 323,
849
+ 660
850
+ ],
851
+ "page_idx": 5
852
+ },
853
+ {
854
+ "type": "text",
855
+ "text": "To assess the effectiveness of memory retrieval, comparative experiments have been conducted. Four different memory retrieval approaches are implemented as shown in Table 1. No retrieval refers to a method where the model is forwarded without any retrieval. Oracle retrieval is implemented to measure the upper bound of memory retrieval. The captions are retrieved from the external memory based on the similarity with ground truth captions of query video. The retrieved captions are directly used as an output of the model without model forwarding. For Oracle without GT proposal, matched the retrieved text to the event segments predicted by our model. For Oracle with GT proposal match retrieved text to ground truth event segments for measuring the performance.",
856
+ "bbox": [
857
+ 75,
858
+ 667,
859
+ 468,
860
+ 869
861
+ ],
862
+ "page_idx": 5
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "As shown in the table, the proposed retrieval method achieves higher scores compared with the model without",
867
+ "bbox": [
868
+ 76,
869
+ 869,
870
+ 470,
871
+ 900
872
+ ],
873
+ "page_idx": 5
874
+ },
875
+ {
876
+ "type": "table",
877
+ "img_path": "images/96f001a3741c1d9355010443381096f2772b8859f7b802522f9e4c20947b8274.jpg",
878
+ "table_caption": [
879
+ "Table 3. Performance of Event Captioning in YouCook2. Bold means the highest score. Underline means 2nd score. # PT denotes the number of videos used for pretraining. † denotes results reproduced from official implementation in our environment."
880
+ ],
881
+ "table_footnote": [],
882
+ "table_body": "<table><tr><td>Method</td><td>Backbone</td><td># PT</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>Vid2Seq [48]</td><td>CLIP</td><td>1M</td><td>47.10</td><td>9.30</td><td>-</td><td>7.90</td></tr><tr><td>MT [54]</td><td>TSN</td><td>-</td><td>9.30</td><td>5.00</td><td>1.15</td><td>-</td></tr><tr><td>ECHR [45]</td><td>C3D</td><td>-</td><td>-</td><td>3.82</td><td>-</td><td>-</td></tr><tr><td>E2ESG [55]</td><td>C3D</td><td>-</td><td>25.00</td><td>3.50</td><td>-</td><td>-</td></tr><tr><td>PDVC† [46]</td><td>CLIP</td><td>-</td><td>29.69</td><td>5.56</td><td>1.40</td><td>4.92</td></tr><tr><td>Ours</td><td>CLIP</td><td>-</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td></tr></table>",
883
+ "bbox": [
884
+ 503,
885
+ 154,
886
+ 890,
887
+ 247
888
+ ],
889
+ "page_idx": 5
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "retrieval. This is mainly due to the reason that retrieved text features could provide semantically useful features to the model, which helps the model exploit visual and text relations. When we evaluate the performance with Oracle, even when we used the same event segments as our model, by using the retrieved text without the model forward, we observed a large enhancement in captioning performance. Moreover, when we match retrieved text to ground truth event segments, the performance is significantly improved.",
894
+ "bbox": [
895
+ 496,
896
+ 272,
897
+ 890,
898
+ 402
899
+ ],
900
+ "page_idx": 5
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "These results show huge potential for retrieval-based dense video captioning. In this study, we use clip visual features from Vit-L/14 and average the features from each anchor are aggregated by averaging them. In other words, video-to-text matching is implemented by projecting video features to image-to-text feature space. Some important video features might be lost during this process. In the future, according to the advances in video modeling and video-to-text matching, our method which uses retrieval from external memory for dense video captioning could be further improved.",
905
+ "bbox": [
906
+ 496,
907
+ 404,
908
+ 892,
909
+ 564
910
+ ],
911
+ "page_idx": 5
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "4.3. Comparison with State-of-the-art-Methods",
916
+ "text_level": 1,
917
+ "bbox": [
918
+ 498,
919
+ 571,
920
+ 864,
921
+ 588
922
+ ],
923
+ "page_idx": 5
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "In Table 2 and Table 3, we compare our method with state-of-the-art dense video captioning approaches [45, 46, 48, 50, 54, 55] on both YouCook2 and ActivityNet Captions datasets. As shown in Table 2, our method achieves the best scores over four metrics of CIDEr, METEOR, BLEU4, and SODA.c. Even the method could achieve higher scores compared with [48] which leverages an additional 15 million videos for pretraining. In YouCook2 dataset, Vid2seq [48] which uses extra 1 million videos for pretraining achieves the best performance. Our method achieves comparable performance on YouCook2 without using extra videos. By using prior knowledge from external memory, our method could improve the quality of caption generation.",
928
+ "bbox": [
929
+ 496,
930
+ 595,
931
+ 890,
932
+ 797
933
+ ],
934
+ "page_idx": 5
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "We also compare the localization ability of our method. Table 4 shows the comparison of our model with other models that use CLIP features as a visual feature in YouCook2 and ActivityNet Captions datasets. As shown in the table, our method achieves the best scores in ActivityNet Captions in both precision and recall. Also, in YouCook2 dataset, our method achieves the best precision and second recall scores,",
939
+ "bbox": [
940
+ 496,
941
+ 797,
942
+ 890,
943
+ 900
944
+ ],
945
+ "page_idx": 5
946
+ },
947
+ {
948
+ "type": "page_number",
949
+ "text": "13899",
950
+ "bbox": [
951
+ 480,
952
+ 944,
953
+ 517,
954
+ 955
955
+ ],
956
+ "page_idx": 5
957
+ },
958
+ {
959
+ "type": "table",
960
+ "img_path": "images/1eee8a3c070676986c5508d2e753f6f0dd25128b44598337398af341739c7fce.jpg",
961
+ "table_caption": [
962
+ "Table 4. Performance of Event Localization in ActivityNet Captions and YouCook2. Bold means the highest score. Underline means 2nd score. PT denotes pretraining from the additional video datasets. $\\dagger$ denotes results reproduced from official implementation in our environment. All methods used the CLIP as the backbone."
963
+ ],
964
+ "table_footnote": [],
965
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">PT</td><td colspan=\"3\">ActivityNet</td><td colspan=\"3\">YouCook2</td></tr><tr><td>F1</td><td>Recall</td><td>Precision</td><td>F1</td><td>Recall</td><td>Precision</td></tr><tr><td>Vid2Seq [48]</td><td>✓</td><td>53.29</td><td>52.70</td><td>53.90</td><td>27.84</td><td>27.90</td><td>27.80</td></tr><tr><td>PDVC†[46]</td><td>✗</td><td>54.78</td><td>53.27</td><td>56.38</td><td>26.81</td><td>22.89</td><td>32.37</td></tr><tr><td>Ours</td><td>✗</td><td>55.21</td><td>53.71</td><td>56.81</td><td>28.43</td><td>24.76</td><td>33.38</td></tr></table>",
966
+ "bbox": [
967
+ 78,
968
+ 181,
969
+ 467,
970
+ 252
971
+ ],
972
+ "page_idx": 6
973
+ },
974
+ {
975
+ "type": "table",
976
+ "img_path": "images/0678671411de2001ed6f25ca06db0a4ce1a0241564b9a404980d5ac14796d5ef.jpg",
977
+ "table_caption": [
978
+ "Table 5. Ablation study to verify the effect of structure component for incorporating retrieved features. WS denotes a weight sharing for the versatile encoder. SE denotes the case where we encode textual and visual features, separately. Without SE is implemented by concatenating textual and visual features and passing through a single encoder. TCA denotes the use of textual cross-attention where the model uses additional cross-attention for encoded text features. Without TCA is implemented by concatenating visual and text features and passing through a single cross-attention. The performance is measured in YouCook2."
979
+ ],
980
+ "table_footnote": [],
981
+ "table_body": "<table><tr><td>WS</td><td>SE</td><td>TCA</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>X</td><td>X</td><td>X</td><td>29.49</td><td>5.65</td><td>1.34</td><td>5.26</td><td>27.66</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>28.40</td><td>5.56</td><td>1.37</td><td>4.74</td><td>25.14</td></tr><tr><td>X</td><td>✓</td><td>X</td><td>30.86</td><td>5.61</td><td>1.40</td><td>5.14</td><td>27.06</td></tr><tr><td>X</td><td>✓</td><td>✓</td><td>30.94</td><td>5.71</td><td>1.65</td><td>5.07</td><td>27.11</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr></table>",
982
+ "bbox": [
983
+ 80,
984
+ 412,
985
+ 467,
986
+ 496
987
+ ],
988
+ "page_idx": 6
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "which results in the best F1 score. Our memory retrieval approach not only improves caption generation but also helps the model to localize event boundaries by providing semantic cues that can be exploited during inter-task interactions.",
993
+ "bbox": [
994
+ 76,
995
+ 517,
996
+ 468,
997
+ 575
998
+ ],
999
+ "page_idx": 6
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "4.4. Ablation Studies",
1004
+ "text_level": 1,
1005
+ "bbox": [
1006
+ 76,
1007
+ 585,
1008
+ 240,
1009
+ 601
1010
+ ],
1011
+ "page_idx": 6
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "text": "Our method aims to leverage the retrieved segment-level text features as semantic information for improving dense video captioning. In this section, we present ablation studies for the component that is designed to incorporate retrieved features from the memory. We design a versatile encoder structure where the encoder processes retrieved text features and visual features. In other words, one encoder is shared between two modalities, and the model is trained to process both modalities. Table 5 shows the ablation study results. It is observed that the use of a weight-shared versatile encoder structure could improve the model performance. The cases where cross-modal information (i.e., visual and textual features) is processed by the separate encoder (with SE) achieve higher performance compared with the model without the separate encoder in which the two features are concatenated before entering the transformer encoder. Also, weight sharing for the encoder is better than having two separate encoders for each modality. These results indicate that it is important to encode visual and textual features separately by preserving own information. How-",
1016
+ "bbox": [
1017
+ 76,
1018
+ 609,
1019
+ 470,
1020
+ 900
1021
+ ],
1022
+ "page_idx": 6
1023
+ },
1024
+ {
1025
+ "type": "table",
1026
+ "img_path": "images/2f1c4a54b46962bcca91e804c77ca2f8bcdab2f5807335ecaa7b531a752a528c.jpg",
1027
+ "table_caption": [
1028
+ "Table 6. Effect of anchor number for retrieval in YouCook2. # Anchor denotes the number of anchors. The performance is measured by changing the number of anchors."
1029
+ ],
1030
+ "table_footnote": [],
1031
+ "table_body": "<table><tr><td>#Anchor</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>1</td><td>27.97</td><td>5.54</td><td>1.39</td><td>5.14</td><td>28.10</td></tr><tr><td>10</td><td>31.36</td><td>5.75</td><td>1.63</td><td>5.17</td><td>27.33</td></tr><tr><td>30</td><td>28.41</td><td>6.02</td><td>1.43</td><td>5.08</td><td>26.87</td></tr><tr><td>50</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr><tr><td>70</td><td>32.73</td><td>5.83</td><td>1.66</td><td>5.28</td><td>27.55</td></tr><tr><td>90</td><td>29.88</td><td>5.57</td><td>1.43</td><td>5.34</td><td>27.63</td></tr></table>",
1032
+ "bbox": [
1033
+ 517,
1034
+ 140,
1035
+ 874,
1036
+ 241
1037
+ ],
1038
+ "page_idx": 6
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "text": "ever, the model could learn the interconnection between textual and visual features by training the encoder in a versatile manner.",
1043
+ "bbox": [
1044
+ 498,
1045
+ 260,
1046
+ 890,
1047
+ 303
1048
+ ],
1049
+ "page_idx": 6
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "Furthermore, we also compare the presence of textual cross-attention. We compare cases where our model is designed with separate textual and visual cross-attention with the cases where the model is implemented by using combined cross-attention where the textual and visual features are concatenated before being put into the decoder. As shown in Table 5, the performance is increased with separate textual cross-attention. This is mainly due to the reason that the decoder could incorporate visual and textual features by specialized cross-attention explicitly.",
1054
+ "bbox": [
1055
+ 496,
1056
+ 304,
1057
+ 890,
1058
+ 450
1059
+ ],
1060
+ "page_idx": 6
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "4.5. Discussion",
1065
+ "text_level": 1,
1066
+ "bbox": [
1067
+ 500,
1068
+ 459,
1069
+ 617,
1070
+ 473
1071
+ ],
1072
+ "page_idx": 6
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "4.5.1 Qualitative Examples",
1077
+ "text_level": 1,
1078
+ "bbox": [
1079
+ 500,
1080
+ 482,
1081
+ 702,
1082
+ 498
1083
+ ],
1084
+ "page_idx": 6
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "text": "Figure 3 shows predicted examples of our approach. It can be observed that memory retrieval effectively references meaningful and helpful sentences from memory, obtained through segment-level video-text retrieval for the given video. As a result, our method generates relatively accurate event boundaries and captions. The semantic information obtained from memory through retrieval assists in semantic predictions during caption generation. More examples are provided in Supplementary Material.",
1089
+ "bbox": [
1090
+ 496,
1091
+ 506,
1092
+ 890,
1093
+ 638
1094
+ ],
1095
+ "page_idx": 6
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "text": "4.5.2 Effect of Anchor Number for Retrieval",
1100
+ "text_level": 1,
1101
+ "bbox": [
1102
+ 500,
1103
+ 657,
1104
+ 823,
1105
+ 672
1106
+ ],
1107
+ "page_idx": 6
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "text": "We explore the effect of the number of temporal anchors generated during memory retrieval. The number of temporal anchors is related to the basic unit for giving a query to the memory bank and it also attributes to the number of retrieved features. Table 6 shows the performance by changing the anchor number in YouCook2 dataset. When the anchor number is set to 1, the untrimmed video information is averaged to a single visual feature for querying to the memory bank. This approach could not exploit fine-grained details for retrieving the semantic text cues. As we increase the number of anchors, the fine-grained details can be captured for querying to the memory bank, which improves the performance of dense video captioning model. However, when an excessive number of features are retrieved, noisy features contribute to the degradation of performance. It is",
1112
+ "bbox": [
1113
+ 496,
1114
+ 681,
1115
+ 890,
1116
+ 900
1117
+ ],
1118
+ "page_idx": 6
1119
+ },
1120
+ {
1121
+ "type": "page_number",
1122
+ "text": "13900",
1123
+ "bbox": [
1124
+ 480,
1125
+ 944,
1126
+ 519,
1127
+ 955
1128
+ ],
1129
+ "page_idx": 6
1130
+ },
1131
+ {
1132
+ "type": "image",
1133
+ "img_path": "images/91ff35544eabda06ae01e8109dc7735d21e73fa78a94b83431ccb42408942086.jpg",
1134
+ "image_caption": [
1135
+ "Figure 3. Example of dense video captioning predictions with ours on ActivityNet Captions Validation set. We show a comparison with the ground truth. Retrieved sentences are example results from retrieval that have the highest semantic similarity to the corresponding segments of input frames. Each retrieved sentence is utilized in our model's predictions for the segments with the corresponding color."
1136
+ ],
1137
+ "image_footnote": [],
1138
+ "bbox": [
1139
+ 109,
1140
+ 88,
1141
+ 872,
1142
+ 333
1143
+ ],
1144
+ "page_idx": 7
1145
+ },
1146
+ {
1147
+ "type": "table",
1148
+ "img_path": "images/a3f1d559c26a1ad446f43b2fe060d37938e50d94eded9e6a4b78f6a47fdf9995.jpg",
1149
+ "table_caption": [
1150
+ "Table 7. Effect of the number of selected features in YouCook2. #SF denotes the number of retrieved features from the memory bank. The performance is measured by changing the number of retrieved text features per anchor."
1151
+ ],
1152
+ "table_footnote": [],
1153
+ "table_body": "<table><tr><td>#SF</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>1</td><td>19.76</td><td>4.36</td><td>0.65</td><td>4.79</td><td>26.79</td></tr><tr><td>20</td><td>30.22</td><td>5.64</td><td>1.62</td><td>5.20</td><td>27.33</td></tr><tr><td>40</td><td>31.25</td><td>5.73</td><td>1.79</td><td>5.29</td><td>28.10</td></tr><tr><td>60</td><td>31.24</td><td>5.77</td><td>1.63</td><td>5.26</td><td>28.58</td></tr><tr><td>80</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr><tr><td>100</td><td>32.07</td><td>5.81</td><td>1.58</td><td>5.32</td><td>27.86</td></tr></table>",
1154
+ "bbox": [
1155
+ 107,
1156
+ 472,
1157
+ 434,
1158
+ 573
1159
+ ],
1160
+ "page_idx": 7
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "observed that the anchor number of 50 consistently yields outstanding performance in both event localization and caption generation in YouCook2 dataset.",
1165
+ "bbox": [
1166
+ 75,
1167
+ 592,
1168
+ 468,
1169
+ 638
1170
+ ],
1171
+ "page_idx": 7
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "4.5.3 Effect of Number of Retrieved Features for Each Anchor",
1176
+ "text_level": 1,
1177
+ "bbox": [
1178
+ 75,
1179
+ 657,
1180
+ 468,
1181
+ 686
1182
+ ],
1183
+ "page_idx": 7
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "We also investigate the effect of the number of retrieved features per anchor on the performance. When we set the number of retrieved features per temporal anchor to 1, it means we only consider the text from memory that has the highest similarity to the visual feature of the temporal anchor. Table 7 shows the results according to the number of retrieved features per anchor. As we increase the number of retrieved features per anchor, the memory read could provide stable and robust semantic information to the model. When the number of retrieved features per anchor is set to 80, our method consistently achieves good performance in both sub-tasks in YouCook2 dataset. However, with a too large number, the noisy features could be retrieved because we retrieved the features with the similarity in descending",
1188
+ "bbox": [
1189
+ 75,
1190
+ 696,
1191
+ 472,
1192
+ 902
1193
+ ],
1194
+ "page_idx": 7
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "order, which could degrade the performance.",
1199
+ "bbox": [
1200
+ 500,
1201
+ 409,
1202
+ 795,
1203
+ 425
1204
+ ],
1205
+ "page_idx": 7
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "5. Conclusion",
1210
+ "text_level": 1,
1211
+ "bbox": [
1212
+ 500,
1213
+ 446,
1214
+ 619,
1215
+ 462
1216
+ ],
1217
+ "page_idx": 7
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "In this study, we introduced a novel approach to dense video captioning inspired by the human cognitive process of scene understanding. Leveraging cross-modal retrieval from external memory, $\\mathrm{CM}^2$ demonstrated a significant improvement in both event localization and caption generation. Through comprehensive experiments on ActivityNet Captions and YouCook2 datasets, we validated the effectiveness of our memory retrieval approach. Notably, $\\mathrm{CM}^2$ achieved competitive results without the need for pretraining on a large number of video data, highlighting its efficiency. We believe that our work opens avenues for future study in dense video captioning and encourages the exploration of memory-augmented models for improving video understanding and captioning.",
1222
+ "bbox": [
1223
+ 496,
1224
+ 474,
1225
+ 890,
1226
+ 679
1227
+ ],
1228
+ "page_idx": 7
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "Acknowledgements",
1233
+ "text_level": 1,
1234
+ "bbox": [
1235
+ 500,
1236
+ 699,
1237
+ 666,
1238
+ 717
1239
+ ],
1240
+ "page_idx": 7
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "This work was supported in part by the Institute of Information and Communications Technology Planning and Evaluation (IITP) Grant funded by the Korea Government (MSIT) under Grant 2020-0-00004 (Development of Provisional Intelligence Based on Long-term Visual Memory Network), Grant 2022-0-00078, Grant IITP-2024-RS-2023-00258649, Grant 2021-0-02068, Grant RS-2022-00155911, by the National Research Foundation of Korea (NRF) Grant funded by the Korea Government (MSIT) under Grant 2021R1G1A1094990, and by Center for Applied Research in Artificial Intelligence (CARAI) grant funded by DAPA and ADD (UD230017TD).",
1245
+ "bbox": [
1246
+ 496,
1247
+ 726,
1248
+ 890,
1249
+ 888
1250
+ ],
1251
+ "page_idx": 7
1252
+ },
1253
+ {
1254
+ "type": "page_number",
1255
+ "text": "13901",
1256
+ "bbox": [
1257
+ 480,
1258
+ 944,
1259
+ 517,
1260
+ 955
1261
+ ],
1262
+ "page_idx": 7
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "References",
1267
+ "text_level": 1,
1268
+ "bbox": [
1269
+ 78,
1270
+ 89,
1271
+ 173,
1272
+ 104
1273
+ ],
1274
+ "page_idx": 8
1275
+ },
1276
+ {
1277
+ "type": "list",
1278
+ "sub_type": "ref_text",
1279
+ "list_items": [
1280
+ "[1] Ken Allan and MD Rugg. An event-related potential study of explicit memory on tests of cued recall and recognition. Neuropsychologia, 35(4):387-397, 1997. 1",
1281
+ "[2] Satanjeev Banerjee and Alon Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pages 65-72, 2005. 6",
1282
+ "[3] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European conference on computer vision, pages 213-229. Springer, 2020. 5",
1283
+ "[4] Aman Chadha, Gurneet Arora, and Navpreet Kaloty. iperceive: Applying common-sense reasoning to multi-modal dense video captioning and video question answering. arXiv preprint arXiv:2011.07735, 2020. 2",
1284
+ "[5] Jingwen Chen, Yingwei Pan, Yehao Li, Ting Yao, Hongyang Chao, and Tao Mei. Retrieval augmented convolutional encoder-decoder networks for video captioning. ACM Transactions on Multimedia Computing, Communications and Applications, 19(1s):1-24, 2023. 2",
1285
+ "[6] Shaoxiang Chen and Yu-Gang Jiang. Towards bridging event captioner and sentence localizer for weakly supervised dense event captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8425-8435, 2021. 2",
1286
+ "[7] Shizhe Chen, Jia Chen, Qin Jin, and Alexander Hauptmann. Video captioning with guidance of multimodal latent topics. In Proceedings of the 25th ACM international conference on Multimedia, pages 1838-1846, 2017. 1",
1287
+ "[8] Feng Cheng, Xizi Wang, Jie Lei, David Crandall, Mohit Bansal, and Gedas Bertasius. Vindlu: A recipe for effective video-and-language pretraining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10739-10750, 2023. 1",
1288
+ "[9] Chaorui Deng, Shizhe Chen, Da Chen, Yuan He, and Qi Wu. Sketch, ground, and refine: Top-down dense video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 234-243, 2021. 2",
1289
+ "[10] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.3",
1290
+ "[11] Soichiro Fujita, Tsutomu Hirao, Hidetaka Kamigaito, Manabu Okumura, and Masaaki Nagata. Soda: Story oriented dense video captioning evaluation framework. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part VI 16, pages 517-531. Springer, 2020. 6",
1291
+ "[12] Lianli Gao, Zhao Guo, Hanwang Zhang, Xing Xu, and Heng Tao Shen. Video captioning with attention-based LSTM and semantic consistency. IEEE Transactions on Multimedia, 19(9):2045-2055, 2017. 1",
1292
+ "[13] Thomas Hayes, Songyang Zhang, Xi Yin, Guan Pang, Sasha Sheng, Harry Yang, Songwei Ge, Qiyuan Hu, and Devi"
1293
+ ],
1294
+ "bbox": [
1295
+ 78,
1296
+ 114,
1297
+ 467,
1298
+ 900
1299
+ ],
1300
+ "page_idx": 8
1301
+ },
1302
+ {
1303
+ "type": "list",
1304
+ "sub_type": "ref_text",
1305
+ "list_items": [
1306
+ "Parikh. Mugen: A playground for video-audio-text multimodal understanding and generation. In European Conference on Computer Vision, pages 431-449. Springer, 2022. 1",
1307
+ "[14] Vladimir Iashin and Esa Rahtu. A better use of audio-visual cues: Dense video captioning with bi-modal transformer. arXiv preprint arXiv:2005.08271, 2020. 2",
1308
+ "[15] Vladimir Iashin and Esa Rahtu. Multi-modal dense video captioning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition workshops, pages 958-959, 2020. 2",
1309
+ "[16] Shuaiqi Jing, Haonan Zhang, Pengpeng Zeng, Lianli Gao, Jingkuan Song, and Heng Tao Shen. Memory-based augmentation network for video captioning. IEEE Transactions on Multimedia, pages 1-13, 2023. 2",
1310
+ "[17] Ranjay Krishna, Kenji Hata, Frederic Ren, Li Fei-Fei, and Juan Carlos Niebles. Dense-captioning events in videos. In Proceedings of the IEEE international conference on computer vision, pages 706–715, 2017. 1, 2, 3, 5",
1311
+ "[18] Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kuttler, Mike Lewis, Wen-tau Yih, Tim Roktaschel, et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:9459-9474, 2020. 2",
1312
+ "[19] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International Conference on Machine Learning, pages 12888-12900. PMLR, 2022. 1",
1313
+ "[20] Yehao Li, Ting Yao, Yingwei Pan, Hongyang Chao, and Tao Mei. Jointly localizing and describing events for dense video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7492-7500, 2018. 2",
1314
+ "[21] Kevin Lin, Linjie Li, Chung-Ching Lin, Faisal Ahmed, Zhe Gan, Zicheng Liu, Yumao Lu, and Lijuan Wang. Swinbert: End-to-end transformers with sparse attention for video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 17949-17958, 2022. 1",
1315
+ "[22] Huaishao Luo, Lei Ji, Botian Shi, Haoyang Huang, Nan Duan, Tianrui Li, Jason Li, Taroon Bharti, and Ming Zhou. Univl: A unified video and language pre-training model for multimodal understanding and generation, 2020. 1",
1316
+ "[23] Jonghwan Mun, Linjie Yang, Zhou Ren, Ning Xu, and Bohyung Han. Streamlined dense video captioning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6588-6597, 2019. 2",
1317
+ "[24] Yingwei Pan, Tao Mei, Ting Yao, Houqiang Li, and Yong Rui. Jointly modeling embedding and translation to bridge video and language. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4594-4602, 2016. 1",
1318
+ "[25] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting of the Association for Computational Linguistics, pages 311-318, 2002. 5"
1319
+ ],
1320
+ "bbox": [
1321
+ 503,
1322
+ 92,
1323
+ 890,
1324
+ 898
1325
+ ],
1326
+ "page_idx": 8
1327
+ },
1328
+ {
1329
+ "type": "page_number",
1330
+ "text": "13902",
1331
+ "bbox": [
1332
+ 480,
1333
+ 945,
1334
+ 517,
1335
+ 955
1336
+ ],
1337
+ "page_idx": 8
1338
+ },
1339
+ {
1340
+ "type": "list",
1341
+ "sub_type": "ref_text",
1342
+ "list_items": [
1343
+ "[26] Wenjie Pei, Jiyuan Zhang, Xiangrong Wang, Lei Ke, Xiaoyong Shen, and Yu-Wing Tai. Memory-attended recurrent network for video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8347–8356, 2019. 1",
1344
+ "[27] Mengshi Qi, Yunhong Wang, Annan Li, and Jiebo Luo. Sports video captioning via attentive motion representation and group relationship modeling. IEEE Transactions on Circuits and Systems for Video Technology, 30(8):2617-2633, 2019. 1",
1345
+ "[28] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 1, 3",
1346
+ "[29] Tanzila Rahman, Bicheng Xu, and Leonid Sigal. Watch, listen and tell: Multi-modal weakly supervised dense event captioning. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8908-8917, 2019. 2",
1347
+ "[30] Rita Ramos, Desmond Elliott, and Bruno Martins. Retrieval-augmented image captioning. arXiv preprint arXiv:2302.08268, 2023. 2",
1348
+ "[31] Rita Parada Ramos, Patrícia Pereira, Helena Moniz, Joao Paulo Carvalho, and Bruno Martins. Retrieval augmentation for deep neural networks. In 2021 International Joint Conference on Neural Networks (IJCNN), pages 1-8. IEEE, 2021. 2",
1349
+ "[32] Marcus Rohrbach, Wei Qiu, Ivan Titov, Stefan Thater, Manfred Pinkal, and Bernt Schiele. Translating video content to natural language descriptions. In Proceedings of the IEEE international conference on computer vision, pages 433-440, 2013. 1",
1350
+ "[33] Michael D Rugg, Paul C Fletcher, Kevin Allan, Chris D Frith, RSJ Frackowiak, and Raymond J Dolan. Neural correlates of memory retrieval during recognition memory and cued recall. Neuroimage, 8(3):262-273, 1998. 1",
1351
+ "[34] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in Neural Information Processing Systems, 35:36479-36494, 2022. 1",
1352
+ "[35] Sara Sarto, Marcella Cornia, Lorenzo Baraldi, and Rita Cucchiara. Retrieval-augmented transformer for image captioning. In Proceedings of the 19th International Conference on Content-based Multimedia Indexing, pages 1-7, 2022. 2",
1353
+ "[36] Paul Hongsuck Seo, Arsha Nagrani, Anurag Arnab, and Cordelia Schmid. End-to-end generative pretraining for multimodal video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 17959-17968, 2022. 1",
1354
+ "[37] Zhiqiang Shen, Jianguo Li, Zhou Su, Minjun Li, Yurong Chen, Yu-Gang Jiang, and Xiangyang Xue. Weakly supervised dense video captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1916-1924, 2017. 2",
1355
+ "[38] Botian Shi, Lei Ji, Yaobo Liang, Nan Duan, Peng Chen, Zhendong Niu, and Ming Zhou. Dense procedure captioning in narrated instructional videos. In Proceedings of the 57th"
1356
+ ],
1357
+ "bbox": [
1358
+ 78,
1359
+ 90,
1360
+ 470,
1361
+ 901
1362
+ ],
1363
+ "page_idx": 9
1364
+ },
1365
+ {
1366
+ "type": "list",
1367
+ "sub_type": "ref_text",
1368
+ "list_items": [
1369
+ "annual meeting of the association for computational linguistics, pages 6382-6391, 2019. 2",
1370
+ "[39] Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4566-4575, 2015. 5",
1371
+ "[40] Subhashini Venugopalan, Huijuan Xu, Jeff Donahue, Marcus Rohrbach, Raymond Mooney, and Kate Saenko. Translating videos to natural language using deep recurrent neural networks. arXiv preprint arXiv:1412.4729, 2014. 1",
1372
+ "[41] Subhashini Venugopalan, Marcus Rohrbach, Jeffrey Donahue, Raymond Mooney, Trevor Darrell, and Kate Saenko. Sequence to sequence-video to text. In Proceedings of the IEEE international conference on computer vision, pages 4534-4542, 2015.",
1373
+ "[42] Bairui Wang, Lin Ma, Wei Zhang, and Wei Liu. Reconstruction network for video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7622-7631, 2018. 1",
1374
+ "[43] Jingwen Wang, Wenhao Jiang, Lin Ma, Wei Liu, and Yong Xu. Bidirectional attentive fusion with context gating for dense video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7190-7198, 2018. 2",
1375
+ "[44] Teng Wang, Huicheng Zheng, and Mingjing Yu. Densesc captioning events in videos: Sysu submission to activitynet challenge 2020. arXiv preprint arXiv:2006.11693, 2020. 5",
1376
+ "[45] Teng Wang, Huicheng Zheng, Mingjing Yu, Qian Tian, and Haifeng Hu. Event-centric hierarchical representation for dense video captioning. IEEE Transactions on Circuits and Systems for Video Technology, 31(5):1890-1900, 2020. 2, 6",
1377
+ "[46] Teng Wang, Ruimao Zhang, Zhichao Lu, Feng Zheng, Ran Cheng, and Ping Luo. End-to-end dense video captioning with parallel decoding. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6847-6857, 2021. 1, 2, 3, 5, 6, 7",
1378
+ "[47] Chunpu Xu, Wei Zhao, Min Yang, Xiang Ao, Wangrong Cheng, and Jinwen Tian. A unified generation-retrieval framework for image captioning. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pages 2313-2316, 2019. 2",
1379
+ "[48] Antoine Yang, Arsha Nagrani, Paul Hongsuck Seo, Antoine Miech, Jordi Pont-Tuset, Ivan Laptev, Josef Sivic, and Cordelia Schmid. Vid2seq: Large-scale pretraining of a visual language model for dense video captioning. In CVPR, 2023. 1, 2, 6, 7",
1380
+ "[49] Dali Yang and Chun Yuan. Hierarchical context encoding for events captioning in videos. In 2018 25th IEEE International Conference on Image Processing (ICIP), pages 1288-1292. IEEE, 2018. 2",
1381
+ "[50] Qi Zhang, Yuqing Song, and Qin Jin. Unifying event detection and captioning as sequence generation via pre-training. In European Conference on Computer Vision, pages 363-379. Springer, 2022. 6",
1382
+ "[51] Ziqi Zhang, Zhongang Qi, Chunfeng Yuan, Ying Shan, Bing Li, Ying Deng, and Weiming Hu. Open-book video captioning with retrieve-copy-generate network. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9837-9846, 2021. 2"
1383
+ ],
1384
+ "bbox": [
1385
+ 503,
1386
+ 92,
1387
+ 890,
1388
+ 901
1389
+ ],
1390
+ "page_idx": 9
1391
+ },
1392
+ {
1393
+ "type": "page_number",
1394
+ "text": "13903",
1395
+ "bbox": [
1396
+ 480,
1397
+ 945,
1398
+ 519,
1399
+ 955
1400
+ ],
1401
+ "page_idx": 9
1402
+ },
1403
+ {
1404
+ "type": "list",
1405
+ "sub_type": "ref_text",
1406
+ "list_items": [
1407
+ "[52] Shanshan Zhao, Lixiang Li, Haipeng Peng, Zihang Yang, and Jiaxuan Zhang. Image caption generation via unified retrieval and generation-based method. Applied Sciences, 10 (18):6235, 2020. 2",
1408
+ "[53] Luowei Zhou, Chenliang Xu, and Jason Corso. Towards automatic learning of procedures from web instructional videos. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018. 2, 3, 5",
1409
+ "[54] Luowei Zhou, Yingbo Zhou, Jason J Corso, Richard Socher, and Caiming Xiong. End-to-end dense video captioning with masked transformer. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 8739-8748, 2018. 2, 6",
1410
+ "[55] Wanrong Zhu, Bo Pang, Ashish V Thapliyal, William Yang Wang, and Radu Soricut. End-to-end dense video captioning as sequence generation. International Conference on Computational Linguistics (COLING), 2022. 6",
1411
+ "[56] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. 3"
1412
+ ],
1413
+ "bbox": [
1414
+ 78,
1415
+ 90,
1416
+ 468,
1417
+ 375
1418
+ ],
1419
+ "page_idx": 10
1420
+ },
1421
+ {
1422
+ "type": "page_number",
1423
+ "text": "13904",
1424
+ "bbox": [
1425
+ 480,
1426
+ 945,
1427
+ 517,
1428
+ 955
1429
+ ],
1430
+ "page_idx": 10
1431
+ }
1432
+ ]
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/4957fb9d-28db-4cb6-9204-7a204c6377bc_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14eb7a6a32591018aeaa56098db0c82e5f0b251403b883421cd69a2d86871a32
3
+ size 793341
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/full.md ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Do You Remember? Dense Video Captioning with Cross-Modal Memory Retrieval
2
+
3
+ Minkuk Kim $^{1}$ , Hyeon Bae Kim $^{1}$ , Jinyoung Moon $^{2}$ , Jinwoo Choi $^{1,*}$ , Seong Tae Kim $^{1,*}$
4
+
5
+ <sup>1</sup>Kyung Hee University, Republic of Korea
6
+
7
+ $^{2}$ Electronics and Telecommunications Research Institute (ETRI), Republic of Korea
8
+
9
+ # Abstract
10
+
11
+ There has been significant attention to the research on dense video captioning, which aims to automatically localize and caption all events within untrimmed video. Several studies introduce methods by designing dense video captioning as a multitasking problem of event localization and event captioning to consider inter-task relations. However, addressing both tasks using only visual input is challenging due to the lack of semantic content. In this study, we address this by proposing a novel framework inspired by the cognitive information processing of humans. Our model utilizes external memory to incorporate prior knowledge. The memory retrieval method is proposed with cross-modal video-to-text matching. To effectively incorporate retrieved text features, the versatile encoder and the decoder with visual and textual cross-attention modules are designed. Comparative experiments have been conducted to show the effectiveness of the proposed method on ActivityNet Captions and YouCook2 datasets. Experimental results show promising performance of our model without extensive pretraining from a large video dataset. Our code is available at https://github.com/ailab-kyunghee/CM2_DVC.
12
+
13
+ # 1. Introduction
14
+
15
+ With the increasing demand for video understanding and multimodal analysis, the field of video captioning is growing rapidly. The task of conventional video captioning involves generating precise descriptions for trimmed video segments and several studies show successful results [7, 12, 21, 22, 24, 26, 27, 32, 36, 40-42]. However, it faces considerable challenges when applied to dense video captioning. Dense video captioning aims to localize important event segments (i.e., to find event boundaries) from untrimmed videos and describe the event segment (i.e., what happens in the event) with natural language. For achieving high-performance dense video captioning, it is important to prop
16
+
17
+ ![](images/44a8c871f5e3b4e9c06096c32c96caf8426a51dd82eb929c2e6789ce69ec85f9.jpg)
18
+ Figure 1. Conceptual figure of the proposed cross-modal memory-based dense video captioning $(\mathrm{CM}^2)$ . Our method can search for relevant clues from an external memory bank to provide precise descriptions and localization for untrimmed video.
19
+
20
+ erly model inter-task interactions between event localization and caption generation.
21
+
22
+ Recent studies in vision and language learning have shown impressive results in cross-modal correlation tasks [19, 28, 34]. However, connecting natural language and video is still challenging due to the difficulties in modeling spatiotemporal information [13]. Video-and-language learning requires complex model architectures, specialized training protocols, and large computational costs [8]. Even dense video captioning requires connecting untrimmed videos and natural language to localize events and describe them [17, 46, 48].
23
+
24
+ This study is motivated by the observation of how humans recognize and describe scenes. Humans are capable of identifying important events and describing them by recalling relevant memories based on cues they have observed. In cognitive information processing, this processing is called cued recall [1, 33]. By recalling relevant memories, humans can describe the scenes with human-understandable natural language.
25
+
26
+ To verify the feasibility of our idea, we have conducted a preliminary experiment. To measure the usefulness of text clues from external memory, we search the relevant information by using the ground truth caption of the query video, which is the ideal case where we can achieve in the external memory. In the real-world condition, we could not use text query and video features will be used as a query. As shown in Table 1, the performance of the dense video captioning could be significantly improved (CIDEr of 183.95 is achievable with Oracle retrieval on the ground truth event segment in YouCook2 dataset [53]).
27
+
28
+ Following this insight, we devise a new dense video captioning framework, named Cross-Modal Memory-based dense video captioning $(\mathrm{CM}^2)$ . Our model can recall relevant events from external memory to improve the generation quality of captions in dense video captioning as shown in Figure 1. To mimic the human's process, an external memory is designed based on prior knowledge which is extracted from training data. Then, the proposed model extracts potential event candidates from given untrimmed videos and retrieves relevant information from the external memory to provide the model with diverse and semantic information. By incorporating the retrieved memory into visual features, our method further introduces a versatile encoder and decoder structure. The encoded features are aggregated by using visual cross-attention and textual cross-attention in a versatile transformer decoder, which helps the model learn inter-task interactions from visual and text clues. Our main contributions can be summarized as:
29
+
30
+ - Inspired by the human cognitive process, we introduce a new dense video captioning method with cross-modal retrieval from external memory. To the best of our knowledge, this is the first study that uses cross-modal retrieval from external memory for dense video captioning. By retrieving relevant text clues from the memory, the proposed model could elaborately localize and describe important events in a more fluent and natural way.
31
+ - To effectively leverage multi-modal features, we propose a versatile encoder-decoder structure with a visual cross-attention and a textual cross-attention. Our model could effectively learn cross-modal correlation and model intertask interactions for improving dense video captioning.
32
+ - Comprehensive experiments have been conducted on ActivityNet Captions [17] and YouCook2 [53] datasets to verify the effectiveness of memory retrieval in dense video captioning. Our model also achieves comparable performance without pretraining on large video datasets.
33
+
34
+ # 2. Related Work
35
+
36
+ # 2.1. Desne Video Captioning
37
+
38
+ Dense video captioning is a multi-task problem that combines two sub-tasks: Event localization and event captioning. Krishna et al. [17] introduced a dense video captioning model by first generating proposals and then using
39
+
40
+ an attention-based LSTM to generate captions, following the "localize-then-describe" strategy. Subsequent studies [14, 15, 43, 45, 49] aimed to produce more precise and informative captions within this strategy. However, two-stage approaches have major limitations, as they do not jointly train event localization and event captioning, resulting in less attention to inter-task interactions.
41
+
42
+ To address the aforementioned limitations, recent studies propose joint training of two sub-tasks [4, 6, 9, 20, 23, 29, 37, 38, 43, 46, 48, 54]. Deng et al. [9] initially generate a paragraph for a given video and then utilize it for grounding. Wang et al. [46] define dense video captioning as a parallel set prediction task and propose an end-to-end method for event localization and event captioning, using only visual input to solve the two sub-tasks. Yang et al. [48] make use of transcribed speech for multi-modal inputs, predicting both time tokens and caption tokens as a single sequence. For the pretraining of the model, an additional YT-Temporal-1B dataset which contains 18 million narrated videos collected from YouTube is used.
43
+
44
+ However, training high-quality dense video captioning models without pretraining from a large number of videos still remains very challenging. Our study presents a novel approach to exploit prior knowledge to enhance the quality of dense video captioning.
45
+
46
+ # 2.2. Retrieval-Augmented Generation
47
+
48
+ The retrieval-augmented approach is often used in language generation tasks. Lewis et al.[18] propose retrieval-augmented generation, which combines pre-trained parametric and external non-parametric memory to effectively leverage pre-trained model knowledge. Some works [30, 31, 35, 47, 52] in image captioning also employ this external datastore approach. Similar to ours, Sarto et al.[35] and Ramos et al.[30] propose an approach to train a retrieval-augmented image captioning model by processing encoded retrieved captions through cross-attention. Recent studies also show retrieval augmented generation in the context of video captioning [5, 16, 51]. They propose to improve video captioning by incorporating external knowledge, such as video-related training corpus [16] and memory-augmented encoder-decoder structure [51]. They reference the retrieved text obtained from memory in the word prediction distribution of the captioning decoder.
49
+
50
+ In this study, our model references retrieved information throughout all layers of the decoder with cross-attention. While they only concentrate on enhancing word prediction for video captioning, our method adopts a structure that utilizes the retrieved text as semantic information, benefiting both event localization and event captioning. Note that, retrieval-augmented generation has been largely unexplored in dense video captioning. Previous studies that use the retrieval-augmented generation approach in the image and short video captioning only utilize retrieved textual information for improving caption quality. In this study,
51
+
52
+ we present a new structure to exploit the retrieval of text clues for generating dense captions and localizing events from untrimmed videos.
53
+
54
+ # 3. Method
55
+
56
+ Our goal is to improve event-level localization and event captioning from untrimmed video by exploiting prior knowledge. For this, we introduce a new framework $(\mathrm{CM}^2)$ which is designed with cross-modal memory retrieval. $\mathrm{CM}^2$ could search relevant information by segment-level video features and retrieve text features from external memory in a video-to-text cross-modal manner (Section 3.1). Furthermore, to ensure that the model efficiently leverages the retrieved semantic information for both localization and captioning tasks, we design a versatile encoder-decoder architecture and a modal-level cross-attention method (Section 3.2). As illustrated in Figure 2, our model takes input video frames and extracts video frame features $\mathbf{x} = \{x_{i}\}_{i = 1}^{F}$ and retrieved text features $\mathbf{y} = \{y_j\}_{j = 1}^W$ where $F$ and $W$ denote the number of frames in the given video and the number of retrieved text features, respectively. For the given input video, the model generates segment and caption pairs $\{(t_n^s,t_n^e,S_n)\}_{n = 1}^N$ where $N$ denotes the number of events detected by our method and $t_n^s$ and $t_n^e$ denote the start and the end timestamp of $n$ -th event. $S_{n}$ denotes the generated captions for $n$ -th event segment. Details of dense event prediction will be introduced in Section 3.3.
57
+
58
+ # 3.1. Memory Retrieval
59
+
60
+ # 3.1.1 Memory Construction
61
+
62
+ To store high-quality semantic information as prior knowledge in the memory, we first construct an explicit external memory bank by encoding sentence-level features. The sentences are collected from the training data of the indomain target dataset [17, 53] by taking into account the semantic distributions appropriate to the query videos. For example, the captions in AcitivityNet Caption training set are used for constructing external memory in experiments on AcitivityNet Captions in this study. For segment-level video-to-text retrieval, we define a memory unit in a sentence level that corresponds to the event clip instead of whole paragraphs from an untrimmed video in the dataset. For segment-level video-to-text embedding, we adopt pretrained CLIP Vit-L/14 [10, 28] which shows promising alignment ability by mapping image and text to the shared feature space. For storing semantic information of captions at a sentence level, we tokenize the captions of the event segment using the CLIP tokenizer, ensuring padding to match the maximum token number of ground truth captions. Subsequently, all tokenized caption sentences are encoded by a CLIP text encoder, and the resulting sentence-level embeddings are stored in the external memory bank.
63
+
64
+ # 3.1.2 Segment-level Retrieval
65
+
66
+ Untrimmed videos could consist of multiple events, each containing distinct semantic information. As both sub-tasks of dense video captioning operate at the event level, it is crucial to design an appropriate retrieval method that considers segment-level semantic information. We propose a novel cross-modal memory-based dense video captioning $(\mathrm{CM}^2)$ , designed to take into account the semantic information of the segment that can potentially include events. By utilizing image-to-text retrieval strategies with CLIP [10, 28] and temporal anchors, our method ensures the incorporation of semantic details from dense events. The proposed approach involves two key steps: segment-level retrieval and feature aggregation as shown in Figure 2 (b).
67
+
68
+ In segment-level retrieval, to acquire semantic information related to events within the input video, we divide the input video into $W$ temporal anchors. For frame-level visual feature extraction, we adopt CLIP ViT-L/14. To obtain the representative information contained in each anchor, we compress the temporal dimension at each anchor through averaging, yielding segment-level visual features. Then, for each anchor, the segment-level visual feature is used as a query for retrieving relevant information from the external memory. For finding relevant information, the similarity between the segment-level visual feature and CLIP text features in the memory is calculated (In this study, cosine similarity between two feature vectors is used as a similarity metric). Based on the similarity scores, $K$ sentence features are retrieved for each anchor, which results in a selected memory feature set for $j$ -th anchor as $\mathbf{m}^j = \{m_1^j,\dots,m_K^j\}$ .
69
+
70
+ Next, we perform feature aggregation to summarize useful information from $K$ retrieved sentence features $\mathbf{m}^j$ associated with each anchor in the selected memory. The average pooling over the $K$ sequences is conducted in each anchor. Finally, we obtain the retrieved text features $\{y_j\}_{j=1}^W$ .
71
+
72
+ # 3.2. Versatile Encoder-Decoder
73
+
74
+ In this section, we describe how we build a structure to incorporate visual features and retrieved text features for event localization and event captioning. We generate event query features with well-incorporated temporal information using an encoder-decoder structure based on the deformable transformer [56], as in [46]. However, our approach differs from [46] as our model incorporates not only visual features but also retrieved text features for making positive effects in both captioning and localization. To achieve this, we propose a versatile encoder-decoder structure that effectively uses retrieved text features and visual features.
75
+
76
+ Feature Encoding. First, we sample the frame-level features extracted by the pre-trained CLIP ViT-L/14 with 1 FPS to a fixed frame number as $\mathbf{x} = \{x_{i}\}_{i = 1}^{F}$ for batch processing. Then, we added $L$ temporal convolutional layers for the multi-scaling processing of video frame features. The multi-scale convolutional layers output multi-scale visual features as $\tilde{\mathbf{x}} = \{\tilde{x}_i\}_{i = 1}^{\tilde{F}}$ .
77
+
78
+ ![](images/a5e10f922c8ff21da70cb74583ff4d135cde0dbc14ef8d0a339945154f7a293d.jpg)
79
+ (a) Overall Architecture.
80
+
81
+ ![](images/0a26d4341bb2418a4d68795aaf1be08616c73aadac2ea67cd089264d4a492470.jpg)
82
+ (b) Memory Read Module.
83
+
84
+ ![](images/f333b505ff63eff4a504195bf7c819f23051c373b4e271c0dd901018452c0105.jpg)
85
+ (c) Versatile Encoder-Decoder Module.
86
+ Figure 2. Overview of $\mathbf{CM}^2$ . We approach the dense video captioning task in a memory-retrieval-augmented caption generation manner. We show the overall architecture in (a). We conduct video-to-text cross-modal retrieval using input video features obtained through a pre-trained encoder. As illustrated in (b), we generate segment-level $W$ temporal anchors from the input video features. Then we measure similarities between the anchors and the text features stored in a memory to obtain $W$ retrieved features through aggregation. As illustrated in (c), we encode the multi-scale video features $\tilde{\mathbf{x}}$ and retrieved features using a versatile transformer encoder. Each encoded feature vector undergoes the corresponding cross-attention layers to obtain refined event queries. Finally, we obtain the set of start time, end time, and caption by passing the event queries through a head.
87
+
88
+ Versatile encoder. $\mathrm{CM}^2$ enhances the interplay between visual and text modalities while preserving their original information, achieved through the use of versatile weight-shared encoders. These weight-shared encoders, illustrated in Figure 2 (c), are employed to process each modality feature. The versatile encoder is designed with $M$ blocks where each block consists of feedforward and self-attention layers. By employing weight-shared encoders, the visual and text modality features undergo training in a shared embedding space, fostering potential cross-modality connections. Furthermore, since each modality process is processed separately by the weight-shared encoder, it could effectively retain distinctive modality-specific information. The visual encoder takes a sequence of multi-scale frame features $\tilde{\mathbf{x}} = \{\tilde{x}_i\}_{i=1}^F$ as input and generates encoded visual
89
+
90
+ features as output. Simultaneously, the same versatile encoder processes a set of retrieved text features $\mathbf{y} = \{y_j\}_{j=1}^W$ , producing $W$ encoded text features.
91
+
92
+ Versatile decoder. Through the versatile decoder, we design learnable embeddings, event queries $\mathbf{q} = \{q_l\}_{l=1}^L$ , to include temporally and semantically rich information. When video and text modalities are given, a single cross-attention is insufficient to generate the necessary representations for the two sub-tasks. Therefore, $\mathrm{CM}^2$ separates the visual cross-attention layer from the textual cross-attention layer, as described in Figure 2 (c). We aim for each modality to handle tasks related to temporal and semantic information processing separately. In visual cross-attention, considering the cross-attention between encoded visual features and event queries enhances the temporal information
93
+
94
+ Table 1. Effect of memory retrieval in ActivityNet Captions and Youcook2. No retrieval refers to a case where the model is forwarded without any retrieval. Oracle methods are implemented to measure the upper bound which could be achieved by the retrieval with an ideal query to the memory bank. The captions retrieved from the memory by ground truth captions of query video are directly used as the output of the model.
95
+
96
+ <table><tr><td rowspan="2">Retrieval Type</td><td colspan="4">ActivityNet</td><td colspan="4">YouCook2</td></tr><tr><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>No Retrieval</td><td>31.24</td><td>8.03</td><td>2.15</td><td>6.01</td><td>23.67</td><td>5.30</td><td>1.17</td><td>4.77</td></tr><tr><td>Proposed Retrieval (Ours)</td><td>33.01</td><td>8.55</td><td>2.38</td><td>6.18</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td></tr><tr><td>Oracle w/o GT proposal</td><td>40.24</td><td>9.43</td><td>2.88</td><td>6.96</td><td>53.55</td><td>9.18</td><td>3.49</td><td>6.81</td></tr><tr><td>Oracle w/ GT proposal</td><td>84.47</td><td>15.69</td><td>5.86</td><td>12.41</td><td>183.95</td><td>23.53</td><td>13.05</td><td>25.51</td></tr></table>
97
+
98
+ of event queries. In textual cross-attention, considering the cross-attention between encoded text features and event queries enriches the semantic information of event queries. The output of the versatile decoder produces event queries $\tilde{\mathbf{q}} = \{q_l\}_{l=1}^L$ with both temporal and semantic information.
99
+
100
+ # 3.3. Dense Event Prediction
101
+
102
+ Parallel Heads. $\mathrm{CM}^2$ employs a parallel decoding structure with sub-task heads for a given event query $\tilde{q}_l$ . Our approach includes three parallel heads: a localization head, a captioning head, and an event counter.
103
+
104
+ Localization Head. The localization head is implemented by a multi-layer perceptron to predict the box prediction, including the center and length of the ground-truth segment, for a given event query. Additionally, it conducts binary classification to predict the foreground confidence of each event query. Finally, the localization head outputs a set of tuples $(t_{l}^{s}, t_{l}^{e}, c_{l})_{l=1}^{L}$ , where each tuple represents the start time $t_{l}^{e}$ , end time $t_{l}^{e}$ , and localization confidence $c_{l}$ of $l$ -th event segment, respectively.
105
+
106
+ Captioning Head. For the captioning head, we employ the deformable soft attention LSTM which uses the soft attention around the reference points, enhancing word generation performance. [46]. For the input of the captioning head, we utilize attention feature $a_{l,s}$ , event query $\tilde{q}_l$ , and the previous word $w_{l,s-1}$ to predict the next word. As the sentence progresses, the captioning head generates the entire sentence $\mathbf{S}_l = w_{l,1},\dots,w_{l,S}$ , where $S$ represents the length of the sentence.
107
+
108
+ Event Counter. The event counter predicts the appropriate number of events in the video. To achieve this, it compresses essential information from the event query $\tilde{q}_l$ through a max-pooling layer and a fully-connected layer. It predicts a vector $r_{len}$ representing a specific number of events. During inference, the predicted event count is selected by $N = \arg\max(r_{len})$ . Finally, the N predicted sets $\{(t_n^s, t_n^e, S_n)\}_{n=1}^N$ are determined by the Hungarian algorithm [3], using a matching cost $C = L_{cls} + \alpha L_{loc}$ with generalized IOU loss and focal loss. The focal loss $L_{cls}$ is computed between the predicted classification score and the ground-truth label. The generalized IOU loss $L_{loc}$ measures the predicted segment against the ground-truth segment.
109
+
110
+ Training and Inference. During training, we train $\mathbf{CM}^2$
111
+
112
+ using four losses: $L_{loc}$ , $L_{cls}$ , $L_{count}$ , and $L_{cap}$ . $L_{count}$ represents the cross-entropy between the predicted count number distribution and the ground truth. $L_{cap}$ is the cross-entropy between the predicted word probability and the ground truth. The total loss is defined as follows:
113
+
114
+ $$
115
+ L _ {T} = L _ {c l s} + \lambda_ {l o c} L _ {l o c} + \lambda_ {c o u n t} L _ {c o u n t} + \lambda_ {c a p} L _ {c a p} \tag {1}
116
+ $$
117
+
118
+ During inference, given visual input $x$ and retrieved text input $y$ , our model predicts $N$ sets of predictions $\{(t_n^s, t_n^e, S_n)\}_{n=1}^N$ . For both training and inference, we conducted retrieval using the same external memory bank.
119
+
120
+ # 4. Experiments
121
+
122
+ To verify the effectiveness of our method, comparative experiments have been conducted. First, Section 4.1 introduces the experimental setting used in this study. Section 4.2 shows the effectiveness of memory retrieval in dense video captioning. Section 4.3 shows the comparison with state-of-the-art methods. Section 4.4 shows ablation studies for our model to validate the effectiveness of each component. Qualitative results of our method and discussion are followed.
123
+
124
+ # 4.1. Experimental Settings
125
+
126
+ Dataset. We employed two dense video captioning benchmark datasets, namely ActivityNet Captions [17] and YouCook2 [53], for training and evaluation. ActivityNet Captions consists of 20k untrimmed videos of diverse human activities. On average, each video spans 120s and is annotated with 3.7 temporally localized sentences. For training, validation, and testing, we follow the standard split of videos. YouCook2 consists of 2k untrimmed cooking procedure videos, with an average duration of 320s per video and 7.7 temporally localized sentences per annotation. We followed the standard split for training, validation, and testing videos. Notably, we use approximately $7\%$ fewer videos than the original count, as we use those accessible on YouTube.
127
+
128
+ Evaluation Metrics. We evaluated our method for two subtasks in dense video captioning. By using ActivityNet Challenge official evaluation tool [44], we evaluated generated captions using the metrics CIDEr [39], BLEU4 [25], and
129
+
130
+ Table 2. Performance of Event Captioning in ActivityNet Captions. Bold means the highest score. Underline means 2nd score. # PT denotes the number of videos used for pretraining. † denotes results reproduced from official implementation in our environment.
131
+
132
+ <table><tr><td>Method</td><td>Backbone</td><td># PT</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>Vid2Seq [48]</td><td>CLIP</td><td>15M</td><td>30.10</td><td>8.50</td><td>-</td><td>5.80</td></tr><tr><td>MT [54]</td><td>TSN</td><td>-</td><td>6.10</td><td>3.20</td><td>0.30</td><td>-</td></tr><tr><td>ECHR [45]</td><td>C3D</td><td>-</td><td>14.70</td><td>7.20</td><td>1.82</td><td>3.20</td></tr><tr><td>UEDVC [50]</td><td>C3D</td><td>-</td><td>-</td><td>-</td><td>-</td><td>5.5</td></tr><tr><td>PDVC† [46]</td><td>CLIP</td><td>-</td><td>29.97</td><td>8.06</td><td>2.21</td><td>5.92</td></tr><tr><td>Ours</td><td>CLIP</td><td>-</td><td>33.01</td><td>8.55</td><td>2.38</td><td>6.18</td></tr></table>
133
+
134
+ METEOR [2], which calculate matched pairs between generated captions and ground truth across IOU thresholds of 0.3, 0.5, 0.7, 0.9. Additionally, for measuring storytelling ability, we employed SODA_c [11]. For event localization, we measured average precision, average recall, and F1 score, which represents the harmonic mean of precision and recall. These scores are averaged over IOU thresholds of 0.3, 0.5, 0.7, 0.9.
135
+
136
+ Implementation Details. For both datasets, we extract video frames at a rate of 1 frame per second and then subsample or pad the sequence of frames to achieve a total of $F$ frames, where we set $F = 100$ in ActivityNet Captions and $F = 200$ in YouCook2. We employ a two-layer deformable transformer with multiscale deformable attention spanning four levels. The number of event queries is set to 10 for ActivityNet Captions and 100 for YouCook2, respectively. In this study, the balancing hyperparameters of $\alpha$ , $\lambda_{loc}$ , $\lambda_{count}$ , and $\lambda_{cap}$ are set to 2, 2, 1, and 1, respectively. The number of anchors is empirically set to 10 for ActivityNet Captions and 50 for YouCook2. In retrieval, We set the anchor number of 50, with k set to 80 for each anchor. Therefore, we utilize 4000 retrieved text features. During training, the ground truth of the corresponding input video was excluded from the memory bank.
137
+
138
+ # 4.2. Effect of Memory Retrieval
139
+
140
+ To assess the effectiveness of memory retrieval, comparative experiments have been conducted. Four different memory retrieval approaches are implemented as shown in Table 1. No retrieval refers to a method where the model is forwarded without any retrieval. Oracle retrieval is implemented to measure the upper bound of memory retrieval. The captions are retrieved from the external memory based on the similarity with ground truth captions of query video. The retrieved captions are directly used as an output of the model without model forwarding. For Oracle without GT proposal, matched the retrieved text to the event segments predicted by our model. For Oracle with GT proposal match retrieved text to ground truth event segments for measuring the performance.
141
+
142
+ As shown in the table, the proposed retrieval method achieves higher scores compared with the model without
143
+
144
+ Table 3. Performance of Event Captioning in YouCook2. Bold means the highest score. Underline means 2nd score. # PT denotes the number of videos used for pretraining. † denotes results reproduced from official implementation in our environment.
145
+
146
+ <table><tr><td>Method</td><td>Backbone</td><td># PT</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td></tr><tr><td>Vid2Seq [48]</td><td>CLIP</td><td>1M</td><td>47.10</td><td>9.30</td><td>-</td><td>7.90</td></tr><tr><td>MT [54]</td><td>TSN</td><td>-</td><td>9.30</td><td>5.00</td><td>1.15</td><td>-</td></tr><tr><td>ECHR [45]</td><td>C3D</td><td>-</td><td>-</td><td>3.82</td><td>-</td><td>-</td></tr><tr><td>E2ESG [55]</td><td>C3D</td><td>-</td><td>25.00</td><td>3.50</td><td>-</td><td>-</td></tr><tr><td>PDVC† [46]</td><td>CLIP</td><td>-</td><td>29.69</td><td>5.56</td><td>1.40</td><td>4.92</td></tr><tr><td>Ours</td><td>CLIP</td><td>-</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td></tr></table>
147
+
148
+ retrieval. This is mainly due to the reason that retrieved text features could provide semantically useful features to the model, which helps the model exploit visual and text relations. When we evaluate the performance with Oracle, even when we used the same event segments as our model, by using the retrieved text without the model forward, we observed a large enhancement in captioning performance. Moreover, when we match retrieved text to ground truth event segments, the performance is significantly improved.
149
+
150
+ These results show huge potential for retrieval-based dense video captioning. In this study, we use clip visual features from Vit-L/14 and average the features from each anchor are aggregated by averaging them. In other words, video-to-text matching is implemented by projecting video features to image-to-text feature space. Some important video features might be lost during this process. In the future, according to the advances in video modeling and video-to-text matching, our method which uses retrieval from external memory for dense video captioning could be further improved.
151
+
152
+ # 4.3. Comparison with State-of-the-art-Methods
153
+
154
+ In Table 2 and Table 3, we compare our method with state-of-the-art dense video captioning approaches [45, 46, 48, 50, 54, 55] on both YouCook2 and ActivityNet Captions datasets. As shown in Table 2, our method achieves the best scores over four metrics of CIDEr, METEOR, BLEU4, and SODA.c. Even the method could achieve higher scores compared with [48] which leverages an additional 15 million videos for pretraining. In YouCook2 dataset, Vid2seq [48] which uses extra 1 million videos for pretraining achieves the best performance. Our method achieves comparable performance on YouCook2 without using extra videos. By using prior knowledge from external memory, our method could improve the quality of caption generation.
155
+
156
+ We also compare the localization ability of our method. Table 4 shows the comparison of our model with other models that use CLIP features as a visual feature in YouCook2 and ActivityNet Captions datasets. As shown in the table, our method achieves the best scores in ActivityNet Captions in both precision and recall. Also, in YouCook2 dataset, our method achieves the best precision and second recall scores,
157
+
158
+ Table 4. Performance of Event Localization in ActivityNet Captions and YouCook2. Bold means the highest score. Underline means 2nd score. PT denotes pretraining from the additional video datasets. $\dagger$ denotes results reproduced from official implementation in our environment. All methods used the CLIP as the backbone.
159
+
160
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">PT</td><td colspan="3">ActivityNet</td><td colspan="3">YouCook2</td></tr><tr><td>F1</td><td>Recall</td><td>Precision</td><td>F1</td><td>Recall</td><td>Precision</td></tr><tr><td>Vid2Seq [48]</td><td>✓</td><td>53.29</td><td>52.70</td><td>53.90</td><td>27.84</td><td>27.90</td><td>27.80</td></tr><tr><td>PDVC†[46]</td><td>✗</td><td>54.78</td><td>53.27</td><td>56.38</td><td>26.81</td><td>22.89</td><td>32.37</td></tr><tr><td>Ours</td><td>✗</td><td>55.21</td><td>53.71</td><td>56.81</td><td>28.43</td><td>24.76</td><td>33.38</td></tr></table>
161
+
162
+ Table 5. Ablation study to verify the effect of structure component for incorporating retrieved features. WS denotes a weight sharing for the versatile encoder. SE denotes the case where we encode textual and visual features, separately. Without SE is implemented by concatenating textual and visual features and passing through a single encoder. TCA denotes the use of textual cross-attention where the model uses additional cross-attention for encoded text features. Without TCA is implemented by concatenating visual and text features and passing through a single cross-attention. The performance is measured in YouCook2.
163
+
164
+ <table><tr><td>WS</td><td>SE</td><td>TCA</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>X</td><td>X</td><td>X</td><td>29.49</td><td>5.65</td><td>1.34</td><td>5.26</td><td>27.66</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>28.40</td><td>5.56</td><td>1.37</td><td>4.74</td><td>25.14</td></tr><tr><td>X</td><td>✓</td><td>X</td><td>30.86</td><td>5.61</td><td>1.40</td><td>5.14</td><td>27.06</td></tr><tr><td>X</td><td>✓</td><td>✓</td><td>30.94</td><td>5.71</td><td>1.65</td><td>5.07</td><td>27.11</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr></table>
165
+
166
+ which results in the best F1 score. Our memory retrieval approach not only improves caption generation but also helps the model to localize event boundaries by providing semantic cues that can be exploited during inter-task interactions.
167
+
168
+ # 4.4. Ablation Studies
169
+
170
+ Our method aims to leverage the retrieved segment-level text features as semantic information for improving dense video captioning. In this section, we present ablation studies for the component that is designed to incorporate retrieved features from the memory. We design a versatile encoder structure where the encoder processes retrieved text features and visual features. In other words, one encoder is shared between two modalities, and the model is trained to process both modalities. Table 5 shows the ablation study results. It is observed that the use of a weight-shared versatile encoder structure could improve the model performance. The cases where cross-modal information (i.e., visual and textual features) is processed by the separate encoder (with SE) achieve higher performance compared with the model without the separate encoder in which the two features are concatenated before entering the transformer encoder. Also, weight sharing for the encoder is better than having two separate encoders for each modality. These results indicate that it is important to encode visual and textual features separately by preserving own information. How-
171
+
172
+ Table 6. Effect of anchor number for retrieval in YouCook2. # Anchor denotes the number of anchors. The performance is measured by changing the number of anchors.
173
+
174
+ <table><tr><td>#Anchor</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>1</td><td>27.97</td><td>5.54</td><td>1.39</td><td>5.14</td><td>28.10</td></tr><tr><td>10</td><td>31.36</td><td>5.75</td><td>1.63</td><td>5.17</td><td>27.33</td></tr><tr><td>30</td><td>28.41</td><td>6.02</td><td>1.43</td><td>5.08</td><td>26.87</td></tr><tr><td>50</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr><tr><td>70</td><td>32.73</td><td>5.83</td><td>1.66</td><td>5.28</td><td>27.55</td></tr><tr><td>90</td><td>29.88</td><td>5.57</td><td>1.43</td><td>5.34</td><td>27.63</td></tr></table>
175
+
176
+ ever, the model could learn the interconnection between textual and visual features by training the encoder in a versatile manner.
177
+
178
+ Furthermore, we also compare the presence of textual cross-attention. We compare cases where our model is designed with separate textual and visual cross-attention with the cases where the model is implemented by using combined cross-attention where the textual and visual features are concatenated before being put into the decoder. As shown in Table 5, the performance is increased with separate textual cross-attention. This is mainly due to the reason that the decoder could incorporate visual and textual features by specialized cross-attention explicitly.
179
+
180
+ # 4.5. Discussion
181
+
182
+ # 4.5.1 Qualitative Examples
183
+
184
+ Figure 3 shows predicted examples of our approach. It can be observed that memory retrieval effectively references meaningful and helpful sentences from memory, obtained through segment-level video-text retrieval for the given video. As a result, our method generates relatively accurate event boundaries and captions. The semantic information obtained from memory through retrieval assists in semantic predictions during caption generation. More examples are provided in Supplementary Material.
185
+
186
+ # 4.5.2 Effect of Anchor Number for Retrieval
187
+
188
+ We explore the effect of the number of temporal anchors generated during memory retrieval. The number of temporal anchors is related to the basic unit for giving a query to the memory bank and it also attributes to the number of retrieved features. Table 6 shows the performance by changing the anchor number in YouCook2 dataset. When the anchor number is set to 1, the untrimmed video information is averaged to a single visual feature for querying to the memory bank. This approach could not exploit fine-grained details for retrieving the semantic text cues. As we increase the number of anchors, the fine-grained details can be captured for querying to the memory bank, which improves the performance of dense video captioning model. However, when an excessive number of features are retrieved, noisy features contribute to the degradation of performance. It is
189
+
190
+ ![](images/91ff35544eabda06ae01e8109dc7735d21e73fa78a94b83431ccb42408942086.jpg)
191
+ Figure 3. Example of dense video captioning predictions with ours on ActivityNet Captions Validation set. We show a comparison with the ground truth. Retrieved sentences are example results from retrieval that have the highest semantic similarity to the corresponding segments of input frames. Each retrieved sentence is utilized in our model's predictions for the segments with the corresponding color.
192
+
193
+ Table 7. Effect of the number of selected features in YouCook2. #SF denotes the number of retrieved features from the memory bank. The performance is measured by changing the number of retrieved text features per anchor.
194
+
195
+ <table><tr><td>#SF</td><td>CIDEr</td><td>METEOR</td><td>BLEU4</td><td>SODA_c</td><td>F1</td></tr><tr><td>1</td><td>19.76</td><td>4.36</td><td>0.65</td><td>4.79</td><td>26.79</td></tr><tr><td>20</td><td>30.22</td><td>5.64</td><td>1.62</td><td>5.20</td><td>27.33</td></tr><tr><td>40</td><td>31.25</td><td>5.73</td><td>1.79</td><td>5.29</td><td>28.10</td></tr><tr><td>60</td><td>31.24</td><td>5.77</td><td>1.63</td><td>5.26</td><td>28.58</td></tr><tr><td>80</td><td>31.66</td><td>6.08</td><td>1.63</td><td>5.34</td><td>28.43</td></tr><tr><td>100</td><td>32.07</td><td>5.81</td><td>1.58</td><td>5.32</td><td>27.86</td></tr></table>
196
+
197
+ observed that the anchor number of 50 consistently yields outstanding performance in both event localization and caption generation in YouCook2 dataset.
198
+
199
+ # 4.5.3 Effect of Number of Retrieved Features for Each Anchor
200
+
201
+ We also investigate the effect of the number of retrieved features per anchor on the performance. When we set the number of retrieved features per temporal anchor to 1, it means we only consider the text from memory that has the highest similarity to the visual feature of the temporal anchor. Table 7 shows the results according to the number of retrieved features per anchor. As we increase the number of retrieved features per anchor, the memory read could provide stable and robust semantic information to the model. When the number of retrieved features per anchor is set to 80, our method consistently achieves good performance in both sub-tasks in YouCook2 dataset. However, with a too large number, the noisy features could be retrieved because we retrieved the features with the similarity in descending
202
+
203
+ order, which could degrade the performance.
204
+
205
+ # 5. Conclusion
206
+
207
+ In this study, we introduced a novel approach to dense video captioning inspired by the human cognitive process of scene understanding. Leveraging cross-modal retrieval from external memory, $\mathrm{CM}^2$ demonstrated a significant improvement in both event localization and caption generation. Through comprehensive experiments on ActivityNet Captions and YouCook2 datasets, we validated the effectiveness of our memory retrieval approach. Notably, $\mathrm{CM}^2$ achieved competitive results without the need for pretraining on a large number of video data, highlighting its efficiency. We believe that our work opens avenues for future study in dense video captioning and encourages the exploration of memory-augmented models for improving video understanding and captioning.
208
+
209
+ # Acknowledgements
210
+
211
+ This work was supported in part by the Institute of Information and Communications Technology Planning and Evaluation (IITP) Grant funded by the Korea Government (MSIT) under Grant 2020-0-00004 (Development of Provisional Intelligence Based on Long-term Visual Memory Network), Grant 2022-0-00078, Grant IITP-2024-RS-2023-00258649, Grant 2021-0-02068, Grant RS-2022-00155911, by the National Research Foundation of Korea (NRF) Grant funded by the Korea Government (MSIT) under Grant 2021R1G1A1094990, and by Center for Applied Research in Artificial Intelligence (CARAI) grant funded by DAPA and ADD (UD230017TD).
212
+
213
+ # References
214
+
215
+ [1] Ken Allan and MD Rugg. An event-related potential study of explicit memory on tests of cued recall and recognition. Neuropsychologia, 35(4):387-397, 1997. 1
216
+ [2] Satanjeev Banerjee and Alon Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pages 65-72, 2005. 6
217
+ [3] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European conference on computer vision, pages 213-229. Springer, 2020. 5
218
+ [4] Aman Chadha, Gurneet Arora, and Navpreet Kaloty. iperceive: Applying common-sense reasoning to multi-modal dense video captioning and video question answering. arXiv preprint arXiv:2011.07735, 2020. 2
219
+ [5] Jingwen Chen, Yingwei Pan, Yehao Li, Ting Yao, Hongyang Chao, and Tao Mei. Retrieval augmented convolutional encoder-decoder networks for video captioning. ACM Transactions on Multimedia Computing, Communications and Applications, 19(1s):1-24, 2023. 2
220
+ [6] Shaoxiang Chen and Yu-Gang Jiang. Towards bridging event captioner and sentence localizer for weakly supervised dense event captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8425-8435, 2021. 2
221
+ [7] Shizhe Chen, Jia Chen, Qin Jin, and Alexander Hauptmann. Video captioning with guidance of multimodal latent topics. In Proceedings of the 25th ACM international conference on Multimedia, pages 1838-1846, 2017. 1
222
+ [8] Feng Cheng, Xizi Wang, Jie Lei, David Crandall, Mohit Bansal, and Gedas Bertasius. Vindlu: A recipe for effective video-and-language pretraining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10739-10750, 2023. 1
223
+ [9] Chaorui Deng, Shizhe Chen, Da Chen, Yuan He, and Qi Wu. Sketch, ground, and refine: Top-down dense video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 234-243, 2021. 2
224
+ [10] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.3
225
+ [11] Soichiro Fujita, Tsutomu Hirao, Hidetaka Kamigaito, Manabu Okumura, and Masaaki Nagata. Soda: Story oriented dense video captioning evaluation framework. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part VI 16, pages 517-531. Springer, 2020. 6
226
+ [12] Lianli Gao, Zhao Guo, Hanwang Zhang, Xing Xu, and Heng Tao Shen. Video captioning with attention-based LSTM and semantic consistency. IEEE Transactions on Multimedia, 19(9):2045-2055, 2017. 1
227
+ [13] Thomas Hayes, Songyang Zhang, Xi Yin, Guan Pang, Sasha Sheng, Harry Yang, Songwei Ge, Qiyuan Hu, and Devi
228
+
229
+ Parikh. Mugen: A playground for video-audio-text multimodal understanding and generation. In European Conference on Computer Vision, pages 431-449. Springer, 2022. 1
230
+ [14] Vladimir Iashin and Esa Rahtu. A better use of audio-visual cues: Dense video captioning with bi-modal transformer. arXiv preprint arXiv:2005.08271, 2020. 2
231
+ [15] Vladimir Iashin and Esa Rahtu. Multi-modal dense video captioning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition workshops, pages 958-959, 2020. 2
232
+ [16] Shuaiqi Jing, Haonan Zhang, Pengpeng Zeng, Lianli Gao, Jingkuan Song, and Heng Tao Shen. Memory-based augmentation network for video captioning. IEEE Transactions on Multimedia, pages 1-13, 2023. 2
233
+ [17] Ranjay Krishna, Kenji Hata, Frederic Ren, Li Fei-Fei, and Juan Carlos Niebles. Dense-captioning events in videos. In Proceedings of the IEEE international conference on computer vision, pages 706–715, 2017. 1, 2, 3, 5
234
+ [18] Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kuttler, Mike Lewis, Wen-tau Yih, Tim Roktaschel, et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:9459-9474, 2020. 2
235
+ [19] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International Conference on Machine Learning, pages 12888-12900. PMLR, 2022. 1
236
+ [20] Yehao Li, Ting Yao, Yingwei Pan, Hongyang Chao, and Tao Mei. Jointly localizing and describing events for dense video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7492-7500, 2018. 2
237
+ [21] Kevin Lin, Linjie Li, Chung-Ching Lin, Faisal Ahmed, Zhe Gan, Zicheng Liu, Yumao Lu, and Lijuan Wang. Swinbert: End-to-end transformers with sparse attention for video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 17949-17958, 2022. 1
238
+ [22] Huaishao Luo, Lei Ji, Botian Shi, Haoyang Huang, Nan Duan, Tianrui Li, Jason Li, Taroon Bharti, and Ming Zhou. Univl: A unified video and language pre-training model for multimodal understanding and generation, 2020. 1
239
+ [23] Jonghwan Mun, Linjie Yang, Zhou Ren, Ning Xu, and Bohyung Han. Streamlined dense video captioning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6588-6597, 2019. 2
240
+ [24] Yingwei Pan, Tao Mei, Ting Yao, Houqiang Li, and Yong Rui. Jointly modeling embedding and translation to bridge video and language. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4594-4602, 2016. 1
241
+ [25] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting of the Association for Computational Linguistics, pages 311-318, 2002. 5
242
+
243
+ [26] Wenjie Pei, Jiyuan Zhang, Xiangrong Wang, Lei Ke, Xiaoyong Shen, and Yu-Wing Tai. Memory-attended recurrent network for video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8347–8356, 2019. 1
244
+ [27] Mengshi Qi, Yunhong Wang, Annan Li, and Jiebo Luo. Sports video captioning via attentive motion representation and group relationship modeling. IEEE Transactions on Circuits and Systems for Video Technology, 30(8):2617-2633, 2019. 1
245
+ [28] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 1, 3
246
+ [29] Tanzila Rahman, Bicheng Xu, and Leonid Sigal. Watch, listen and tell: Multi-modal weakly supervised dense event captioning. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8908-8917, 2019. 2
247
+ [30] Rita Ramos, Desmond Elliott, and Bruno Martins. Retrieval-augmented image captioning. arXiv preprint arXiv:2302.08268, 2023. 2
248
+ [31] Rita Parada Ramos, Patrícia Pereira, Helena Moniz, Joao Paulo Carvalho, and Bruno Martins. Retrieval augmentation for deep neural networks. In 2021 International Joint Conference on Neural Networks (IJCNN), pages 1-8. IEEE, 2021. 2
249
+ [32] Marcus Rohrbach, Wei Qiu, Ivan Titov, Stefan Thater, Manfred Pinkal, and Bernt Schiele. Translating video content to natural language descriptions. In Proceedings of the IEEE international conference on computer vision, pages 433-440, 2013. 1
250
+ [33] Michael D Rugg, Paul C Fletcher, Kevin Allan, Chris D Frith, RSJ Frackowiak, and Raymond J Dolan. Neural correlates of memory retrieval during recognition memory and cued recall. Neuroimage, 8(3):262-273, 1998. 1
251
+ [34] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in Neural Information Processing Systems, 35:36479-36494, 2022. 1
252
+ [35] Sara Sarto, Marcella Cornia, Lorenzo Baraldi, and Rita Cucchiara. Retrieval-augmented transformer for image captioning. In Proceedings of the 19th International Conference on Content-based Multimedia Indexing, pages 1-7, 2022. 2
253
+ [36] Paul Hongsuck Seo, Arsha Nagrani, Anurag Arnab, and Cordelia Schmid. End-to-end generative pretraining for multimodal video captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 17959-17968, 2022. 1
254
+ [37] Zhiqiang Shen, Jianguo Li, Zhou Su, Minjun Li, Yurong Chen, Yu-Gang Jiang, and Xiangyang Xue. Weakly supervised dense video captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1916-1924, 2017. 2
255
+ [38] Botian Shi, Lei Ji, Yaobo Liang, Nan Duan, Peng Chen, Zhendong Niu, and Ming Zhou. Dense procedure captioning in narrated instructional videos. In Proceedings of the 57th
256
+
257
+ annual meeting of the association for computational linguistics, pages 6382-6391, 2019. 2
258
+ [39] Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4566-4575, 2015. 5
259
+ [40] Subhashini Venugopalan, Huijuan Xu, Jeff Donahue, Marcus Rohrbach, Raymond Mooney, and Kate Saenko. Translating videos to natural language using deep recurrent neural networks. arXiv preprint arXiv:1412.4729, 2014. 1
260
+ [41] Subhashini Venugopalan, Marcus Rohrbach, Jeffrey Donahue, Raymond Mooney, Trevor Darrell, and Kate Saenko. Sequence to sequence-video to text. In Proceedings of the IEEE international conference on computer vision, pages 4534-4542, 2015.
261
+ [42] Bairui Wang, Lin Ma, Wei Zhang, and Wei Liu. Reconstruction network for video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7622-7631, 2018. 1
262
+ [43] Jingwen Wang, Wenhao Jiang, Lin Ma, Wei Liu, and Yong Xu. Bidirectional attentive fusion with context gating for dense video captioning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7190-7198, 2018. 2
263
+ [44] Teng Wang, Huicheng Zheng, and Mingjing Yu. Densesc captioning events in videos: Sysu submission to activitynet challenge 2020. arXiv preprint arXiv:2006.11693, 2020. 5
264
+ [45] Teng Wang, Huicheng Zheng, Mingjing Yu, Qian Tian, and Haifeng Hu. Event-centric hierarchical representation for dense video captioning. IEEE Transactions on Circuits and Systems for Video Technology, 31(5):1890-1900, 2020. 2, 6
265
+ [46] Teng Wang, Ruimao Zhang, Zhichao Lu, Feng Zheng, Ran Cheng, and Ping Luo. End-to-end dense video captioning with parallel decoding. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6847-6857, 2021. 1, 2, 3, 5, 6, 7
266
+ [47] Chunpu Xu, Wei Zhao, Min Yang, Xiang Ao, Wangrong Cheng, and Jinwen Tian. A unified generation-retrieval framework for image captioning. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pages 2313-2316, 2019. 2
267
+ [48] Antoine Yang, Arsha Nagrani, Paul Hongsuck Seo, Antoine Miech, Jordi Pont-Tuset, Ivan Laptev, Josef Sivic, and Cordelia Schmid. Vid2seq: Large-scale pretraining of a visual language model for dense video captioning. In CVPR, 2023. 1, 2, 6, 7
268
+ [49] Dali Yang and Chun Yuan. Hierarchical context encoding for events captioning in videos. In 2018 25th IEEE International Conference on Image Processing (ICIP), pages 1288-1292. IEEE, 2018. 2
269
+ [50] Qi Zhang, Yuqing Song, and Qin Jin. Unifying event detection and captioning as sequence generation via pre-training. In European Conference on Computer Vision, pages 363-379. Springer, 2022. 6
270
+ [51] Ziqi Zhang, Zhongang Qi, Chunfeng Yuan, Ying Shan, Bing Li, Ying Deng, and Weiming Hu. Open-book video captioning with retrieve-copy-generate network. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9837-9846, 2021. 2
271
+
272
+ [52] Shanshan Zhao, Lixiang Li, Haipeng Peng, Zihang Yang, and Jiaxuan Zhang. Image caption generation via unified retrieval and generation-based method. Applied Sciences, 10 (18):6235, 2020. 2
273
+ [53] Luowei Zhou, Chenliang Xu, and Jason Corso. Towards automatic learning of procedures from web instructional videos. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018. 2, 3, 5
274
+ [54] Luowei Zhou, Yingbo Zhou, Jason J Corso, Richard Socher, and Caiming Xiong. End-to-end dense video captioning with masked transformer. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 8739-8748, 2018. 2, 6
275
+ [55] Wanrong Zhu, Bo Pang, Ashish V Thapliyal, William Yang Wang, and Radu Soricut. End-to-end dense video captioning as sequence generation. International Conference on Computational Linguistics (COLING), 2022. 6
276
+ [56] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. 3
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4141330c3a0bf45b0f9adb75f2d1bf9e2a794fd16199e9d1d3e8a5598eb1ec01
3
+ size 474363
2024/Do You Remember_ Dense Video Captioning with Cross-Modal Memory Retrieval/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_content_list.json ADDED
@@ -0,0 +1,1588 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 161,
8
+ 128,
9
+ 810,
10
+ 174
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Jiaxin Zhang $^{1,2}$ , Dezhi Peng $^{1}$ , Chongyu Liu $^{1}$ , Peirong Zhang $^{1}$ , Lianwen Jin $^{1,2,*}$",
17
+ "bbox": [
18
+ 173,
19
+ 202,
20
+ 803,
21
+ 220
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "$^{1}$ South China University of Technology",
28
+ "bbox": [
29
+ 351,
30
+ 222,
31
+ 617,
32
+ 239
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "$^{2}$ INTSIG-SCUT Joint Lab on Document Analysis and Recognition",
39
+ "bbox": [
40
+ 261,
41
+ 239,
42
+ 709,
43
+ 256
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Abstract",
50
+ "text_level": 1,
51
+ "bbox": [
52
+ 233,
53
+ 291,
54
+ 313,
55
+ 306
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "Document image restoration is a crucial aspect of Document AI systems, as the quality of document images significantly influences the overall performance. Prevailing methods address distinct restoration tasks independently, leading to intricate systems and the incapability to harness the potential synergies of multi-task learning. To overcome this challenge, we propose DocRes, a generalist model that unifies five document image restoration tasks including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. To instruct DocRes to perform various restoration tasks, we propose a novel visual prompt approach called Dynamic Task-Specific Prompt (DTSPrompt). The DTSPrompt for different tasks comprises distinct prior features, which are additional characteristics extracted from the input image. Beyond its role as a cue for task-specific execution, DTSPrompt can also serve as supplementary information to enhance the model's performance. Moreover, DTSPrompt is more flexible than prior visual prompt approaches as it can be seamlessly applied and adapted to inputs with high and variable resolutions. Experimental results demonstrate that DocRes achieves competitive or superior performance compared to existing state-of-the-art task-specific models. This underscores the potential of DocRes across a broader spectrum of document image restoration tasks. The source code is publicly available at https://github.com/ZZZHANG-jx/DocRes.",
62
+ "bbox": [
63
+ 75,
64
+ 323,
65
+ 473,
66
+ 731
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "1. Introduction",
73
+ "text_level": 1,
74
+ "bbox": [
75
+ 76,
76
+ 760,
77
+ 209,
78
+ 776
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Photographed or scanned document images frequently manifest various forms of degradation, encompassing geometric distortion, shadows, bleed-through, stains, and more. These degradations pose substantial challenges for existing document analysis and recognition systems, and also significantly compromise the visual appeal and legibility of docu",
85
+ "bbox": [
86
+ 75,
87
+ 785,
88
+ 468,
89
+ 878
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/71b96d948dc8a5a99ec660c54a4ba428d2db4c08db8277cb48e2d46558702e42.jpg",
96
+ "image_caption": [
97
+ "Figure 1. DocRes is a generalist model that unifies five document image restoration tasks, including tasks of dewarping, deshadowing, appearance enhancement, deblurring, and binarization."
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 553,
102
+ 289,
103
+ 841,
104
+ 455
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "ments, as underscored in recent studies [5, 9, 23, 59, 70].",
111
+ "bbox": [
112
+ 500,
113
+ 537,
114
+ 877,
115
+ 551
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "The restoration of document images, addressing objectives like flattening documents, shadow removal, clean appearance restoration, deblurring, or text segmentation, holds both academic and practical significance. Existing approaches [5, 9, 33, 59, 62] typically treat these restoration tasks separately, relying on models specifically designed for each task. While effective in achieving commendable performance, this paradigm results in a system that requires the design of multiple models and extensive maintenance. Moreover, it fails to leverage the potential synergies of multi-task learning.",
122
+ "bbox": [
123
+ 496,
124
+ 553,
125
+ 892,
126
+ 718
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "To tackle this problem, motivated by recent pioneering works [3, 24, 30, 38, 57, 58] that unify various vision tasks, we seek to explore a generalist model for document image restoration. As illustrated in Fig. 1, our proposed DocRes seeks to unify five document image restoration tasks: dewarping, deshadowing, appearance enhancement, deblurring, and binarization. To empower such a generalist model to perform specific tasks and generate desired outputs, it is often crucial to convey instructional information to the model. Existing visual generalist models accomplish this by drawing inspiration from advancements in Natural Language Processing (NLP) and leveraging prompt learning",
133
+ "bbox": [
134
+ 496,
135
+ 719,
136
+ 893,
137
+ 902
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "header",
143
+ "text": "CVF",
144
+ "bbox": [
145
+ 106,
146
+ 2,
147
+ 181,
148
+ 42
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "header",
154
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation.",
155
+ "bbox": [
156
+ 236,
157
+ 1,
158
+ 807,
159
+ 18
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "header",
165
+ "text": "Except for this watermark, it is identical to the accepted version;",
166
+ "bbox": [
167
+ 323,
168
+ 16,
169
+ 723,
170
+ 30
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "header",
176
+ "text": "the final published version of the proceedings is available on IEEE Xplore.",
177
+ "bbox": [
178
+ 292,
179
+ 31,
180
+ 754,
181
+ 46
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "page_footnote",
187
+ "text": "*Corresponding author",
188
+ "bbox": [
189
+ 94,
190
+ 886,
191
+ 220,
192
+ 898
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "page_number",
198
+ "text": "15654",
199
+ "bbox": [
200
+ 480,
201
+ 944,
202
+ 519,
203
+ 957
204
+ ],
205
+ "page_idx": 0
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "techniques. Notably, studies like [3, 52, 57] transform the vision task into an NLP one by discretizing continuous vision output and using discrete tokens as prompts. However, the autoregressive decoding paradigm they employ is inherently less effective for low-level tasks.",
210
+ "bbox": [
211
+ 75,
212
+ 90,
213
+ 468,
214
+ 167
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "In the realm of unifying image-to-image tasks, recent methods [1, 29, 32, 58] have suggested vision-centric prompts, known as visual prompts, which exhibit promising potential across various vision tasks, including image restoration. Among them, approaches like [1, 29, 58] propose using a pair of input/output samples as a visual prompt to guide the model to perform the corresponding task. Nevertheless, these methods exhibit reduced efficiency as they necessitate an additional pair of samples during inference, making them less suitable for low-level tasks involving high-resolution images. ProRes [32] introduces a more straightforward visual prompt method, wherein a matrix composed of learnable parameters, matching the input's shape, is assigned for each task and added to the input as a visual prompt. However, the training process of ProRes is intricate, which requires initializing each visual prompt by pre-training on task-specific models. Additionally, some of the above visual prompt methods rely on Mask Image Modeling (MIM) and require the ViT [8] framework. However, ViT typically demands that input images during testing and training have the same resolution, and due to memory constraints, ViT struggles with high-resolution images. This makes it challenging for these methods to adapt to low-level tasks, which typically involve patch training, whole-image testing, as well as variable and high-resolution inputs.",
221
+ "bbox": [
222
+ 75,
223
+ 170,
224
+ 472,
225
+ 547
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "Recognizing the limitations of the aforementioned prompt methods, we introduce a new visual prompt for DocRes called the Dynamic Task-Specific Prompt (DTSPrompt). The inspiration behind DTSPrompt is rooted in prevalent practices observed in existing document image restoration endeavors, where certain prior features extracted from the input image are typically employed to enhance model's performance, such as background images for shadow removal [26, 71] and text content masks for dewarping [11, 17, 68]. Specifically, the DTSPrompt for different tasks comprises distinct prior features based on the characteristics of each task, where prior features we adopted include document segmentation masks, binarization results, gradient maps, and so on. DTSPrompt can not only serve as an effective cue for the model to determine which task to perform but also function as supplementary information to enhance the performance for the corresponding task. DTSPrompt can be seamlessly applied to various existing restoration networks, rather than limited to ViT. This enables DocRes to handle high and variable resolutions encountered in document restoration.",
232
+ "bbox": [
233
+ 75,
234
+ 550,
235
+ 472,
236
+ 867
237
+ ],
238
+ "page_idx": 1
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "Experiments demonstrate that, without additional complex network designs, DocRes, as a generalist model,",
243
+ "bbox": [
244
+ 76,
245
+ 869,
246
+ 470,
247
+ 902
248
+ ],
249
+ "page_idx": 1
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "achieves competitive or even superior performance on various benchmarks compared to existing well-established and carefully designed task-specific methods.",
254
+ "bbox": [
255
+ 496,
256
+ 90,
257
+ 890,
258
+ 136
259
+ ],
260
+ "page_idx": 1
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "In summary, our contributions are as follows:",
265
+ "bbox": [
266
+ 517,
267
+ 138,
268
+ 820,
269
+ 152
270
+ ],
271
+ "page_idx": 1
272
+ },
273
+ {
274
+ "type": "list",
275
+ "sub_type": "text",
276
+ "list_items": [
277
+ "- To the best of our knowledge, we are the first to explore generalist models for unifying restoration of document images, which serves as a pioneering effort in this field.",
278
+ "- We propose a simple yet highly effective visual prompt approach termed DTSPrompt, which extracts different prior features from the input image to create prompts. It can guide the model to distinguish different tasks, provide supplementary information to improve performance and accommodate both high and variable resolutions.",
279
+ "- Empowered by DTSPrompt, our DocRes achieves competitive or even better performance compared to task-specific methods across various benchmarks."
280
+ ],
281
+ "bbox": [
282
+ 500,
283
+ 157,
284
+ 890,
285
+ 339
286
+ ],
287
+ "page_idx": 1
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "2. Related works",
292
+ "text_level": 1,
293
+ "bbox": [
294
+ 500,
295
+ 357,
296
+ 645,
297
+ 372
298
+ ],
299
+ "page_idx": 1
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "2.1. Document Image Restoration",
304
+ "text_level": 1,
305
+ "bbox": [
306
+ 500,
307
+ 383,
308
+ 761,
309
+ 398
310
+ ],
311
+ "page_idx": 1
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "Dewarping [5, 10, 11, 33, 68] addresses the elimination of geometric distortions such as curves and crumples, which not only hinder OCR engine performance [4, 56, 70] but also degrade document readability. Deshadowing [25, 26, 71] focuses on removing shadows, a common occurrence in photographed document images, to produce shadow-free documents. Appearance enhancement, also known as illumination correction [6, 59, 70], goes beyond specific appearance degradations, striving to restore a clean appearance akin to digital-born PDFs. This is valuable as it significantly enhances document readability and aesthetics. Deblurring [14, 50, 61] aims to eliminate blurriness and restore a clear image. Binarization [62] involves segmenting foreground text from document images, a critical task for applications primarily focused on text content, usually obscured by stains, artifacts, black margins, or weak contrast.",
316
+ "bbox": [
317
+ 496,
318
+ 407,
319
+ 890,
320
+ 648
321
+ ],
322
+ "page_idx": 1
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "Existing approaches [5, 26, 59, 62, 68, 70, 71] typically treat these restoration tasks independently, resulting in a complex document image restoration system and the inability to harness the potential synergies among tasks. While recent efforts [50, 51, 61] aim to tackle several tasks with a unified network architecture, they still require individual training and separate models for each task.",
327
+ "bbox": [
328
+ 496,
329
+ 650,
330
+ 890,
331
+ 756
332
+ ],
333
+ "page_idx": 1
334
+ },
335
+ {
336
+ "type": "text",
337
+ "text": "2.2. All-in-one image restoration",
338
+ "text_level": 1,
339
+ "bbox": [
340
+ 500,
341
+ 770,
342
+ 751,
343
+ 786
344
+ ],
345
+ "page_idx": 1
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "Unlike the domain of document image restoration that lacks unification, recent studies [24, 29, 32, 54, 58, 67] have made pioneering strides in developing generalist models for natural scene image restoration. They encompass tasks such as weather effect removal, low-light image enhancement, denoising, and deblurring. Existing multi-task generalist models can be broadly classified into two categories based on",
350
+ "bbox": [
351
+ 496,
352
+ 794,
353
+ 890,
354
+ 900
355
+ ],
356
+ "page_idx": 1
357
+ },
358
+ {
359
+ "type": "page_number",
360
+ "text": "15655",
361
+ "bbox": [
362
+ 480,
363
+ 944,
364
+ 517,
365
+ 955
366
+ ],
367
+ "page_idx": 1
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "whether the task is explicitly specified for the model during inference: task-agnostic and task-oriented.",
372
+ "bbox": [
373
+ 76,
374
+ 90,
375
+ 468,
376
+ 119
377
+ ],
378
+ "page_idx": 2
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "Task-agnostic. Task-agnostic methods [21, 22, 39, 54, 67] do not require users to specify the task type, but they are less flexible and cannot handle a broader range of tasks, typically being confined to specific domains like weather effect removal. This arises because some tasks share similar inputs but demand distinct outputs, leading to ambiguity in the learning process. The task-agnostic setup proves inappropriate for unifying document image restoration since tasks like dewarping, deshadowing, and appearance enhancement share similar inputs but demand distinct outputs.",
383
+ "bbox": [
384
+ 75,
385
+ 119,
386
+ 467,
387
+ 271
388
+ ],
389
+ "page_idx": 2
390
+ },
391
+ {
392
+ "type": "text",
393
+ "text": "Task-oriented. To achieve a task-oriented generalist model, explicit task information needs to be introduced. Some approaches [3, 24, 30, 57, 58] discretize the continuous vision output, use discrete tokens as task prompts, and use the Transformer decoder for autoregressive prediction. These methods are more suited for visual understanding tasks, such as detection, captioning, and visual question answering but are inappropriate for low-level tasks involving high-resolution outputs. More recently, there have been methods proposing vision-centric prompts [1, 29, 32, 58] for unification purposes, known as visual prompts, showing promising potential in various vision tasks, including image restoration. Among them, [1, 29, 58] use an input/output sample of a specific task as a prompt, resembling the paradigm used in inpainting tasks where surrounding pixel information is learned to fill in missing pixel positions. Nevertheless, the additional input leads to inefficiency and limitation of image resolution. ProRes [32] employs learnable parameters with the same shape of the input image as a visual prompt and adds it pixel-wise to the input. While effectively guiding the model, the prompt for each task needs to be trained on task-specific models for initialization, resulting in a complex training pipeline.",
394
+ "bbox": [
395
+ 75,
396
+ 272,
397
+ 467,
398
+ 619
399
+ ],
400
+ "page_idx": 2
401
+ },
402
+ {
403
+ "type": "text",
404
+ "text": "Moreover, all these visual prompt methods mentioned above are limited to the ViT [8] framework, making them unable to adapt to the variable resolutions in restoration tasks. The quadratic computational complexity also restricts the input resolution. For example, the input resolution for ProRes [32] and Painter [58] is limited to $448 \\times 448$ , which is insufficient for document images with resolutions commonly exceeding 1K. While block-wise processing could be employed, many document image restoration tasks heavily depend on global information, such as deshadowing and binarization, making this strategy unfeasible. In contrast, our DTSPrompt method is not confined to the ViT framework and can be applied to various more flexible restoration networks to form our DocRes model.",
405
+ "bbox": [
406
+ 75,
407
+ 619,
408
+ 467,
409
+ 830
410
+ ],
411
+ "page_idx": 2
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "3. Methodology",
416
+ "text_level": 1,
417
+ "bbox": [
418
+ 76,
419
+ 844,
420
+ 210,
421
+ 861
422
+ ],
423
+ "page_idx": 2
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "As depicted in Fig. 2, the input document image undergoes an initial processing step by the DTSPrompt generator to",
428
+ "bbox": [
429
+ 76,
430
+ 869,
431
+ 467,
432
+ 900
433
+ ],
434
+ "page_idx": 2
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "generate task-specific DTSPrompts, which are composed of various prior features extracted from the input image. Such DTSPrompts are instrumental in guiding the restoration network to execute distinct tasks while simultaneously enhancing overall performance. In the following sections, we first provide a detailed exploration of the process involved in obtaining various prior features to construct the DTSPrompt for each task. Then we introduce our prompt fusion approach and the selection of the restoration network.",
439
+ "bbox": [
440
+ 496,
441
+ 90,
442
+ 890,
443
+ 227
444
+ ],
445
+ "page_idx": 2
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "3.1. Dynamic task-specific prompt",
450
+ "text_level": 1,
451
+ "bbox": [
452
+ 500,
453
+ 234,
454
+ 764,
455
+ 250
456
+ ],
457
+ "page_idx": 2
458
+ },
459
+ {
460
+ "type": "text",
461
+ "text": "Prevailing visual generalist models [29, 32, 52, 57, 58] determine prompts solely based on the task, and are independent of the input image:",
462
+ "bbox": [
463
+ 496,
464
+ 256,
465
+ 890,
466
+ 301
467
+ ],
468
+ "page_idx": 2
469
+ },
470
+ {
471
+ "type": "equation",
472
+ "text": "\n$$\nP r o m p t = f (\\text {t a s k}). \\tag {1}\n$$\n",
473
+ "text_format": "latex",
474
+ "bbox": [
475
+ 622,
476
+ 309,
477
+ 890,
478
+ 325
479
+ ],
480
+ "page_idx": 2
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "In contrast, our DTSPrompt dynamically adapts to the input image $I_{s}\\in \\mathbb{R}^{h\\times w\\times 3}$",
485
+ "bbox": [
486
+ 496,
487
+ 330,
488
+ 890,
489
+ 359
490
+ ],
491
+ "page_idx": 2
492
+ },
493
+ {
494
+ "type": "equation",
495
+ "text": "\n$$\nD T S P r o m p t = G \\left(I _ {s}, \\text {t a s k}\\right) \\in \\mathbb {R} ^ {h \\times w \\times 3}. \\tag {2}\n$$\n",
496
+ "text_format": "latex",
497
+ "bbox": [
498
+ 552,
499
+ 364,
500
+ 890,
501
+ 383
502
+ ],
503
+ "page_idx": 2
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "Here, $G$ represents our DTSPrompt generator (depicted in Fig. 2), which is responsible for extracting prior features from $I_{s}$ based on the specified task. In the following, we provide a detailed explanation of how the DTSPrompt for each task is constructed. Visual results of DTSPrompts for each task are presented in Fig. 3.",
508
+ "bbox": [
509
+ 496,
510
+ 388,
511
+ 890,
512
+ 479
513
+ ],
514
+ "page_idx": 2
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "Dewarping. Existing document dewarping methods [11, 17, 23] often use text line masks or text block masks to assist the dewarping model, making it more attentive to the dewarping of regions with meaningful content. Document mask [9, 11, 23, 68] is commonly employed to enhance the model's understanding of document boundaries and reduce the learning difficulty by decoupling the margin removal and content rectification processes. Here, we choose the simplest document mask as our prior feature for the dewarping task. This mask, denoted as $P_{m}(I_{s}) \\in \\mathbb{R}^{h \\times w}$ , is obtained by directly using an existing document segmentation model proposed in [68] (noted that any other existing document segmentation models [9, 11] can also be employed).",
519
+ "bbox": [
520
+ 496,
521
+ 479,
522
+ 890,
523
+ 675
524
+ ],
525
+ "page_idx": 2
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "Furthermore, considering that predicting the backward map in dewarping task is inherently a problem related to coordinate positions, inspired by [5, 27], we introduce the x-coordinate and y-coordinate as additional prior features, denoted as $P_{cx} \\in \\mathbb{R}^{h \\times w}$ and $P_{cy} \\in \\mathbb{R}^{h \\times w}$ , respectively. They represent the coordinate values of the pixel at $(i,j)$ , i.e., $P_{cx}(i,j) = i$ and $P_{cy}(i,j) = j$ , which enable better perception of positional information. The DTSPrompt for dewarping task is obtained by concatenating these prior features along the channel dimension:",
530
+ "bbox": [
531
+ 496,
532
+ 676,
533
+ 890,
534
+ 825
535
+ ],
536
+ "page_idx": 2
537
+ },
538
+ {
539
+ "type": "equation",
540
+ "text": "\n$$\nG \\left(I _ {s}, ^ {\\prime \\prime} d e w a r p ^ {\\prime \\prime}\\right) = \\left[ P _ {m} \\left(I _ {s}\\right), P _ {c x}, P _ {c y} \\right]. \\tag {3}\n$$\n",
541
+ "text_format": "latex",
542
+ "bbox": [
543
+ 553,
544
+ 833,
545
+ 890,
546
+ 849
547
+ ],
548
+ "page_idx": 2
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "Deshadowing. For the deshadowing task, the document background is commonly considered as a prior feature to enhance performance [26, 28, 71]. Here, we adopt",
553
+ "bbox": [
554
+ 496,
555
+ 854,
556
+ 890,
557
+ 900
558
+ ],
559
+ "page_idx": 2
560
+ },
561
+ {
562
+ "type": "page_number",
563
+ "text": "15656",
564
+ "bbox": [
565
+ 480,
566
+ 944,
567
+ 517,
568
+ 955
569
+ ],
570
+ "page_idx": 2
571
+ },
572
+ {
573
+ "type": "image",
574
+ "img_path": "images/266b22d3d294f589cfcb9937d3f91f5b914dd73a964b1b39cb932d7fcdf34ac7.jpg",
575
+ "image_caption": [
576
+ "Figure 2. The overall pipeline for DocRes. The document image to be restored, denoted as $I_{s}$ , is initially fed into the DTSPrompt generator, which extracts specific prior features based on the task to form the DTSPrompt. Alongside $I_{s}$ , DTSPrompt is input into the restoration network. It serves not only as a guidance for the restoration network on the particular task to be performed but also functions as auxiliary information derived from $I_{s}$ to improve performance."
577
+ ],
578
+ "image_footnote": [],
579
+ "bbox": [
580
+ 174,
581
+ 87,
582
+ 803,
583
+ 270
584
+ ],
585
+ "page_idx": 3
586
+ },
587
+ {
588
+ "type": "image",
589
+ "img_path": "images/55ec41f72fcbdb460145969627c158adc13c9cef5a97b75ac5cfc1be444dd7e6.jpg",
590
+ "image_caption": [
591
+ "Figure 3. The DTSPrompt for different tasks is composed of distinct prior features. Most of these prior features are extracted from the input image, making them dynamic. Zoom in for the best view."
592
+ ],
593
+ "image_footnote": [],
594
+ "bbox": [
595
+ 112,
596
+ 362,
597
+ 436,
598
+ 674
599
+ ],
600
+ "page_idx": 3
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "the document background with shadows as our prior feature. To obtain this background from the document image, we initially employ dilation operations to eliminate the textual content within the document. Subsequently, we use a median filter to smooth out artifacts introduced due to incomplete removal. We represent this whole process as $P_{bg}(I_s) \\in \\mathbb{R}^{h \\times w \\times 3}$ . The DTSPrompt for the desshadowing task is thus formulated as",
605
+ "bbox": [
606
+ 75,
607
+ 753,
608
+ 472,
609
+ 875
610
+ ],
611
+ "page_idx": 3
612
+ },
613
+ {
614
+ "type": "equation",
615
+ "text": "\n$$\nG \\left(I _ {s}, \\text {\" d e s h a d o w \"}\\right) = P _ {b g} \\left(I _ {s}\\right). \\tag {4}\n$$\n",
616
+ "text_format": "latex",
617
+ "bbox": [
618
+ 158,
619
+ 883,
620
+ 468,
621
+ 902
622
+ ],
623
+ "page_idx": 3
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Appearance enhancement. Current methods [6, 59, 70] commonly adopt background light, shadow map, or white-balance kernel as prior features to facilitate appearance enhancement based on the concept of intrinsic images. However, accurately obtaining these prior features is challenging and usually requires an extra model for training and predicting. For simplicity, we leverage the discrepancy between the original image and the document background $P_{bg}(I_s)$ as our prior feature for this task, which can serve as initial enhancement guidance for the model:",
628
+ "bbox": [
629
+ 498,
630
+ 362,
631
+ 893,
632
+ 513
633
+ ],
634
+ "page_idx": 3
635
+ },
636
+ {
637
+ "type": "equation",
638
+ "text": "\n$$\nP _ {d i f f} \\left(I _ {s}\\right) = 2 5 5 - a b s \\left(I _ {s} - P _ {b g} \\left(I _ {s}\\right)\\right), \\tag {5}\n$$\n",
639
+ "text_format": "latex",
640
+ "bbox": [
641
+ 565,
642
+ 527,
643
+ 890,
644
+ 545
645
+ ],
646
+ "page_idx": 3
647
+ },
648
+ {
649
+ "type": "equation",
650
+ "text": "\n$$\nG \\left(I _ {s}, \\text {\" a p p e r a n c e\"}\\right) = P _ {\\text {d i f f}} \\left(I _ {s}\\right). \\tag {6}\n$$\n",
651
+ "text_format": "latex",
652
+ "bbox": [
653
+ 570,
654
+ 574,
655
+ 890,
656
+ 590
657
+ ],
658
+ "page_idx": 3
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "Deblurring. The gradient distribution is a prior feature widely used in traditional optimization-based deblurring methods [20], which is typically employed as regularization information to constrain the solution space of the optimization function. Here, we use the gradient map of the input image $P_{g}(I_{s}) \\in \\mathbb{R}^{h \\times w}$ as an additional input, aiming for the model to implicitly learn gradient prior information, rather than utilizing a gradient distribution prior to constrain the solution space of the output. The DTSPrompt for the deblurring task is expressed as",
663
+ "bbox": [
664
+ 496,
665
+ 599,
666
+ 890,
667
+ 751
668
+ ],
669
+ "page_idx": 3
670
+ },
671
+ {
672
+ "type": "equation",
673
+ "text": "\n$$\nG \\left(I _ {s}, \\text {\" d e b l u r \"}\\right) = \\left[ P _ {g} \\left(I _ {s}\\right), P _ {g} \\left(I _ {s}\\right), P _ {g} \\left(I _ {s}\\right) \\right]. \\tag {7}\n$$\n",
674
+ "text_format": "latex",
675
+ "bbox": [
676
+ 526,
677
+ 763,
678
+ 890,
679
+ 781
680
+ ],
681
+ "page_idx": 3
682
+ },
683
+ {
684
+ "type": "text",
685
+ "text": "Binarization. Integrating prior features as supplementary for performance enhancement is widely adopted in binarization task [16, 53, 62], and the effectiveness has been extensively demonstrated. For this task, we employ the Sauvola binarization algorithm [49] to yield the initial binarization outcome and threshold map as our prior features, which is denoted as $P_{b}(I_{s}) \\in \\mathbb{R}^{h \\times w}$ and $P_{t}(I_{s}) \\in \\mathbb{R}^{h \\times w}$ ,",
686
+ "bbox": [
687
+ 496,
688
+ 794,
689
+ 893,
690
+ 902
691
+ ],
692
+ "page_idx": 3
693
+ },
694
+ {
695
+ "type": "page_number",
696
+ "text": "15657",
697
+ "bbox": [
698
+ 480,
699
+ 944,
700
+ 517,
701
+ 955
702
+ ],
703
+ "page_idx": 3
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "respectively. Furthermore, we also incorporate gradient information as an additional prior feature for this task. The DTSPrompt for binarization task is formulated as",
708
+ "bbox": [
709
+ 75,
710
+ 90,
711
+ 468,
712
+ 137
713
+ ],
714
+ "page_idx": 4
715
+ },
716
+ {
717
+ "type": "equation",
718
+ "text": "\n$$\nG \\left(I _ {s}, \\text {\" b i n a r i z e \"}\\right) = \\left[ P _ {b} \\left(I _ {s}\\right), P _ {t} \\left(I _ {s}\\right), P _ {g} \\left(I _ {s}\\right) \\right]. \\tag {8}\n$$\n",
719
+ "text_format": "latex",
720
+ "bbox": [
721
+ 98,
722
+ 148,
723
+ 468,
724
+ 167
725
+ ],
726
+ "page_idx": 4
727
+ },
728
+ {
729
+ "type": "text",
730
+ "text": "3.2. Prompt fusion and restoration network",
731
+ "text_level": 1,
732
+ "bbox": [
733
+ 76,
734
+ 178,
735
+ 413,
736
+ 193
737
+ ],
738
+ "page_idx": 4
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "Exploring how to integrate the acquired prompt information into the network holds significant merit. A well-conceived fusion method has the potential to substantially enhance overall performance. However, the primary focus of this paper lies in evaluating the efficacy and potentials associated with DTSPrompt, rather than delving into the intricacies of designing a complex network structure. In line with this objective, we adopt a straightforward fusion approach to seamlessly incorporate DTSPrompt into the restoration network. Specifically, we opt for concatenating DTSPrompt and $I_{s}$ along the channel dimension to construct a new input $\\in \\mathbb{R}^{h\\times w\\times 6}$ for the restoration network.",
743
+ "bbox": [
744
+ 75,
745
+ 200,
746
+ 468,
747
+ 381
748
+ ],
749
+ "page_idx": 4
750
+ },
751
+ {
752
+ "type": "text",
753
+ "text": "Due to the simplicity of DTSPrompt, we have the flexibility to choose from various restoration networks. In this case, we opt for the off-the-shelf Restormer [65] without modifications to form our DocRes. With such a restoration network, DocRes can support inputs of up to $1600 \\times 1600$ and adapt to inputs with variable resolutions. It's noteworthy that other restoration networks can be employed interchangeably since DTSPrompt does not require specific modules within the network.",
754
+ "bbox": [
755
+ 75,
756
+ 383,
757
+ 468,
758
+ 518
759
+ ],
760
+ "page_idx": 4
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "4. Experiments",
765
+ "text_level": 1,
766
+ "bbox": [
767
+ 76,
768
+ 534,
769
+ 209,
770
+ 550
771
+ ],
772
+ "page_idx": 4
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "4.1. Datasets",
777
+ "text_level": 1,
778
+ "bbox": [
779
+ 76,
780
+ 559,
781
+ 179,
782
+ 571
783
+ ],
784
+ "page_idx": 4
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "Dewarping. We adopt the Doc3D [5] dataset and the DIR300 benchmark [11] for the training and testing, respectively. Doc3D is a synthetic dataset comprising 100K samples, which includes geometrically distorted document images and corresponding backward maps. DIR300 is a real-world benchmark with 300 geometrically distorted images and corresponding flat ground-truths.",
789
+ "bbox": [
790
+ 75,
791
+ 582,
792
+ 468,
793
+ 686
794
+ ],
795
+ "page_idx": 4
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "Deshadowing. The training set for this task consists of 14,200 synthetic images from FSDSRD [35] and 4,371 real images from the training set of RDD [71]. We use Jung's dataset [18] (87 images), Kligler's dataset [19] (300 images) and OSR [55] (237 images) to form our testing set.",
800
+ "bbox": [
801
+ 75,
802
+ 688,
803
+ 468,
804
+ 763
805
+ ],
806
+ "page_idx": 4
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "Appearance enhancement. The training set for this task contains 90K synthetic images from the Doc3DShade [6] dataset and 450 real-world images from the RealDAE [70] training set. 150 images from the testing set of RealDAE and 130 images from DocUNet [33] are used for evaluation. As introduced in [5, 9], the degraded images in DocUNet should be aligned to the flat ground truths before the evaluation of this task. Following [70], we achieve alignment by using the document alignment model [69] rather",
811
+ "bbox": [
812
+ 75,
813
+ 765,
814
+ 468,
815
+ 900
816
+ ],
817
+ "page_idx": 4
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "than some dewarping models [9, 33, 68], which can result in better alignment and thus provide a more accurate evaluation. We denote the aligned dataset as DocUNet*.",
822
+ "bbox": [
823
+ 498,
824
+ 90,
825
+ 890,
826
+ 136
827
+ ],
828
+ "page_idx": 4
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "Deblurring. The Text Deblur Dataset (TDD) [14] consists of 66K training samples, from which we randomly select 40K samples to train our model. The 1.6K testing samples from TDD form the testing set of this task.",
833
+ "bbox": [
834
+ 498,
835
+ 137,
836
+ 890,
837
+ 198
838
+ ],
839
+ "page_idx": 4
840
+ },
841
+ {
842
+ "type": "text",
843
+ "text": "Binarization. We use DIBCO'18 [46] as our testing set. Following [61, 62], the remaining years of (H)-DIBCO datasets [12, 37, 40-45, 47] are used as the training data, and images from Noisy Office dataset [66], Synchronmedia Multispectral dataset [13], Persian Heritage Image Binarization dataset [36] and Bickley Diary dataset [7] are also used for training.",
844
+ "bbox": [
845
+ 498,
846
+ 199,
847
+ 890,
848
+ 305
849
+ ],
850
+ "page_idx": 4
851
+ },
852
+ {
853
+ "type": "text",
854
+ "text": "4.2. Evaluation metrics",
855
+ "text_level": 1,
856
+ "bbox": [
857
+ 500,
858
+ 320,
859
+ 679,
860
+ 334
861
+ ],
862
+ "page_idx": 4
863
+ },
864
+ {
865
+ "type": "text",
866
+ "text": "Deshadowing, appearance enhancement, and deblurring tasks adopt the commonly used PSNR and SSIM as evaluation metrics. The evaluation of dewarping incorporates multi-scale structural similarity (MS-SSIM) [60], local distortion (LD) [64] and align distortion (AD) [34]. MS-SSIM builds upon the traditional SSIM by considering multiple scales. LD evaluates dewarping performance by utilizing the offset between the dewarped result and the flat ground truth. AD, an enhancement of LD, refines the evaluation by excluding offset noise in low-textured regions and mitigating the impact of global transformations. the parameters for MS-SSIM, LD, and AD align with those established in prior works [5, 11, 23, 33]. For the binarization task, we employ PSNR, F-measure (FM), and pseudo F-measure (pFM) as our evaluation metrics.",
867
+ "bbox": [
868
+ 498,
869
+ 344,
870
+ 890,
871
+ 570
872
+ ],
873
+ "page_idx": 4
874
+ },
875
+ {
876
+ "type": "text",
877
+ "text": "4.3. Implementation details",
878
+ "text_level": 1,
879
+ "bbox": [
880
+ 500,
881
+ 585,
882
+ 714,
883
+ 602
884
+ ],
885
+ "page_idx": 4
886
+ },
887
+ {
888
+ "type": "text",
889
+ "text": "We train our model on 8 NVIDIA A6000 GPUs for 100,000 steps with a global batch size of 80. AdamW with a weight decay of $5 \\times 10^{-4}$ is adopted. We use the cosine learning rate scheduler with $2 \\times 10^{-4}$ as the maximum learning rate.",
890
+ "bbox": [
891
+ 498,
892
+ 609,
893
+ 890,
894
+ 671
895
+ ],
896
+ "page_idx": 4
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "Before commencing such unified training, the model undergoes a pre-training phase exclusively on the dewarping task for 50,000 steps to initialize the model. This is for a more stable training purpose, as dewraping significantly differs from other tasks: while it involves coordinates regression, other tasks entail regression of image content.",
901
+ "bbox": [
902
+ 498,
903
+ 672,
904
+ 890,
905
+ 763
906
+ ],
907
+ "page_idx": 4
908
+ },
909
+ {
910
+ "type": "text",
911
+ "text": "During the unified training process, the sampling weight for dewarping, deshadowing, appearance enhancement, deblurring, and binarization are all set to 0.2. Apart from the binarization task, which employs the standard cross-entropy loss for its output, all other tasks are supervised using the L1 loss. Images of deshadowing, appearance enhancement, deblurring, and binarization tasks are randomly cropped as patches with a size of $256 \\times 256$ , while images of dewarping task are resized to $256 \\times 256$ during training.",
912
+ "bbox": [
913
+ 496,
914
+ 763,
915
+ 890,
916
+ 900
917
+ ],
918
+ "page_idx": 4
919
+ },
920
+ {
921
+ "type": "page_number",
922
+ "text": "15658",
923
+ "bbox": [
924
+ 480,
925
+ 944,
926
+ 517,
927
+ 955
928
+ ],
929
+ "page_idx": 4
930
+ },
931
+ {
932
+ "type": "table",
933
+ "img_path": "images/07d1cda44ae10432e963d32d2b34cb65e1b358f8cc0091fb9731f6ba1434b93e.jpg",
934
+ "table_caption": [
935
+ "Table 1. Quantitative comparison results between our all-in-one generalist DocRes model and existing task-specific state-of-the-art models on 5 tasks. From top to bottom, the tasks include dewarping, deshadowing, appearance enhancement, deblurring, and binarization. Best results are shown in bold."
936
+ ],
937
+ "table_footnote": [],
938
+ "table_body": "<table><tr><td>Metrics</td><td>Datasets</td><td>DocGeo [11] ECCV&#x27;22</td><td>Li et al. [23] ICCV&#x27;23</td><td>BGSNet [71] CVPR&#x27;23</td><td>DocShadow [25] ICCV&#x27;23</td><td>UDoc-GAN [59] MM&#x27;22</td><td>GCDRNet [70] TAI&#x27;23</td><td>GDB [62] PR&#x27;24</td><td>DE-GAN [50] TPAMI&#x27;20</td><td>DocDiff [61] MM&#x27;23</td><td>DocRes (ours)</td></tr><tr><td>MSSSIM↑</td><td rowspan=\"3\">DIR300 [11]</td><td>0.6380</td><td>0.6070</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.6264</td></tr><tr><td>AD↓</td><td>0.242</td><td>0.244</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.241</td></tr><tr><td>LD↓</td><td>6.40</td><td>7.68</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>6.83</td></tr><tr><td>SSIM↑</td><td rowspan=\"2\">Kligler et al. [19]</td><td>-</td><td>-</td><td>0.9480</td><td>0.9088</td><td></td><td></td><td></td><td></td><td></td><td>0.9005</td></tr><tr><td rowspan=\"5\">PSNR↑</td><td></td><td></td><td>29.17</td><td>25.12</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>27.14</td></tr><tr><td rowspan=\"2\">Jung et al. [18]</td><td>-</td><td>-</td><td>0.9040</td><td>0.9005</td><td></td><td></td><td></td><td></td><td></td><td>0.9089</td></tr><tr><td></td><td></td><td>17.34</td><td>21.05</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>23.02</td></tr><tr><td rowspan=\"2\">OSR [55]</td><td>-</td><td>-</td><td>0.9388</td><td>0.9023</td><td></td><td></td><td></td><td></td><td></td><td>0.9370</td></tr><tr><td></td><td></td><td>22.64</td><td>18.25</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>21.64</td></tr><tr><td>SSIM↑</td><td rowspan=\"2\">DocUNet* [33]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.6833</td><td>0.7658</td><td></td><td></td><td></td><td>0.7598</td></tr><tr><td rowspan=\"3\">PSNR↑</td><td></td><td></td><td></td><td></td><td>14.29</td><td>17.09</td><td>-</td><td>-</td><td>-</td><td>17.60</td></tr><tr><td rowspan=\"2\">RealDAE [70]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.7558</td><td>0.9423</td><td></td><td></td><td></td><td>0.9219</td></tr><tr><td></td><td></td><td></td><td></td><td>16.43</td><td>24.42</td><td>-</td><td>-</td><td>-</td><td>24.65</td></tr><tr><td>SSIM↑</td><td rowspan=\"2\">TDD [14]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.9226</td><td>0.9559</td><td>0.9723</td></tr><tr><td>PSNR↑</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>22.24</td><td>24.00</td><td>27.35</td></tr><tr><td>FM↑</td><td rowspan=\"3\">DIBCO&#x27;18 [46]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>91.09</td><td>77.59</td><td>88.11</td><td>89.82</td><td>89.82</td></tr><tr><td>pFM↑</td><td></td><td></td><td></td><td></td><td></td><td>94.57</td><td>85.74</td><td>90.43</td><td>94.33</td><td>94.33</td></tr><tr><td>PSNR↑</td><td></td><td></td><td></td><td></td><td></td><td>19.92</td><td>16.16</td><td>17.92</td><td>19.35</td><td>19.35</td></tr></table>",
939
+ "bbox": [
940
+ 80,
941
+ 141,
942
+ 893,
943
+ 337
944
+ ],
945
+ "page_idx": 5
946
+ },
947
+ {
948
+ "type": "table",
949
+ "img_path": "images/07e6e5945c5a1f270882ebc0ac458647da34910d360d1d35139c8780056654dc.jpg",
950
+ "table_caption": [
951
+ "Table 2. Quantitative results of the ablation experiments. Best results are shown in bold."
952
+ ],
953
+ "table_footnote": [],
954
+ "table_body": "<table><tr><td rowspan=\"2\">Metrics</td><td rowspan=\"2\">Datasets</td><td>Task specific</td><td colspan=\"3\">Unified</td></tr><tr><td>Baseline</td><td>Baseline</td><td>Baseline +Fix prompt</td><td>Baseline +DTSPrompt (DocRes)</td></tr><tr><td>MSSSIM↑</td><td></td><td>0.6185</td><td>0.5943</td><td>0.6030</td><td>0.6264</td></tr><tr><td>AD↓</td><td></td><td>0.263</td><td>0.333</td><td>0.302</td><td>0.241</td></tr><tr><td>LD↓</td><td></td><td>7.18</td><td>8.26</td><td>7.77</td><td>6.83</td></tr><tr><td>SSIM↑</td><td>Kilgler et al. [19]</td><td>0.8879</td><td>0.8238</td><td>0.8977</td><td>0.9005</td></tr><tr><td rowspan=\"5\">PSNR↑</td><td></td><td>27.41</td><td>11.95</td><td>27.08</td><td>27.14</td></tr><tr><td rowspan=\"2\">Jung et al. [18]</td><td>0.9025</td><td>0.8573</td><td>0.9031</td><td>0.9089</td></tr><tr><td>23.18</td><td>18.01</td><td>22.42</td><td>23.02</td></tr><tr><td rowspan=\"2\">OSR [55]</td><td>0.9259</td><td>0.8634</td><td>0.9285</td><td>0.9370</td></tr><tr><td>20.12</td><td>12.35</td><td>19.47</td><td>21.64</td></tr><tr><td>SSIM↑</td><td rowspan=\"2\">DocUNet* [33]</td><td>0.7621</td><td>0.7620</td><td>0.7635</td><td>0.7598</td></tr><tr><td rowspan=\"3\">PSNR↑</td><td>17.43</td><td>17.30</td><td>17.28</td><td>17.60</td></tr><tr><td rowspan=\"2\">RealDAE [70]</td><td>0.9204</td><td>0.9050</td><td>0.9200</td><td>0.9219</td></tr><tr><td>24.21</td><td>21.75</td><td>24.32</td><td>24.65</td></tr><tr><td>SSIM↑</td><td rowspan=\"2\">TDD [14]</td><td>0.9811</td><td>0.9639</td><td>0.9690</td><td>0.9723</td></tr><tr><td>PSNR↑</td><td>28.95</td><td>25.85</td><td>26.64</td><td>27.35</td></tr><tr><td>FM↑</td><td></td><td>76.57</td><td>74.33</td><td>77.15</td><td>89.82</td></tr><tr><td>pFM↑</td><td>DIBCO&#x27;18 [46]</td><td>79.51</td><td>76.15</td><td>81.18</td><td>94.33</td></tr><tr><td>PSNR↑</td><td></td><td>14.64</td><td>14.47</td><td>15.28</td><td>19.35</td></tr></table>",
955
+ "bbox": [
956
+ 84,
957
+ 398,
958
+ 470,
959
+ 619
960
+ ],
961
+ "page_idx": 5
962
+ },
963
+ {
964
+ "type": "text",
965
+ "text": "4.4. Results",
966
+ "text_level": 1,
967
+ "bbox": [
968
+ 76,
969
+ 648,
970
+ 171,
971
+ 662
972
+ ],
973
+ "page_idx": 5
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "Comparisons with SOTA task-specific models. We conduct a comprehensive comparison between our proposed DocRes and existing meticulously designed task-specific methods. Specifically, for the dewarping task, we benchmark DocRes against the current state-of-the-art method, DocGeo [11], and the recent model by Li et al. [23]. In the deshadowing domain, we compare DocRes with the latest SOTA models, namely BGSNet [71] (utilizing the model trained on the RDD dataset provided by the authors) and DocShadow [25] (based on the model trained on the SD7K dataset provided by the authors). For appearance enhancement, we assess DocRes against UDoc-GAN [59] and GC-DRNet [70]. The binarization task involves a comparison with the current SOTA method, GDB [62]. Additionally, we contrast our approach with DocDiff [61] and DE-GAN [50],",
978
+ "bbox": [
979
+ 75,
980
+ 672,
981
+ 470,
982
+ 902
983
+ ],
984
+ "page_idx": 5
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "both of which aim to unify multiple tasks within a single network structure but still necessitate separate training for each task, resulting in the need for multiple models.",
989
+ "bbox": [
990
+ 496,
991
+ 362,
992
+ 890,
993
+ 407
994
+ ],
995
+ "page_idx": 5
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "Results across multiple benchmark datasets for the five tasks are presented in Table 1. It can be seen that DocRes not only competes with existing task-specific SOTA models but also surpasses them in several instances. DocRes achieves new records in certain metrics for benchmark datasets related to dewarping, deshadowing, deblurring, and appearance enhancement tasks. Even for binarization tasks, where the dedicated SOTA model GDB still holds the top position, DocRes exhibits performance closely trailing behind it. In contrast to existing unified-structure methods like DE-GAN and DocDiff, which still require separate training for each task, DocRes demonstrates significant advantages. Visualized results on these benchmarks from DocRes are showcased in Fig. 4.",
1000
+ "bbox": [
1001
+ 496,
1002
+ 410,
1003
+ 892,
1004
+ 622
1005
+ ],
1006
+ "page_idx": 5
1007
+ },
1008
+ {
1009
+ "type": "text",
1010
+ "text": "While there remains room for improvement compared to some of these well-designed specialized models, it's important to underscore that our primary objective in this paper is not to achieve SOTA performance on every task. Instead, the focus is on evaluating the efficacy and potential of the unified DocRes approach. Further research, for example, can explore more sophisticated prompt fusion mechanisms to achieve SOTA performance in each task.",
1011
+ "bbox": [
1012
+ 496,
1013
+ 625,
1014
+ 893,
1015
+ 746
1016
+ ],
1017
+ "page_idx": 5
1018
+ },
1019
+ {
1020
+ "type": "text",
1021
+ "text": "Ablation studies. In this subsection, we conduct ablation studies to evaluate the effectiveness of our DTSPrompt. Restormer [65] is treated as our baseline model. We first individually train it on each task, obtaining task-specific results shown in the third column of Table 2. As a state-of-the-art image restoration network, Restormer demonstrates proficiency across various tasks when trained in isolation. However, when training it in a unified model setting (the fourth column of Table 2), we see a significant performance decline across almost all benchmarks. This decline is at-",
1022
+ "bbox": [
1023
+ 496,
1024
+ 750,
1025
+ 893,
1026
+ 900
1027
+ ],
1028
+ "page_idx": 5
1029
+ },
1030
+ {
1031
+ "type": "page_number",
1032
+ "text": "15659",
1033
+ "bbox": [
1034
+ 480,
1035
+ 944,
1036
+ 519,
1037
+ 955
1038
+ ],
1039
+ "page_idx": 5
1040
+ },
1041
+ {
1042
+ "type": "image",
1043
+ "img_path": "images/c0f51a188b2f122c9778708999d97fb9dba00632f104ab93abc4369a4e55aca5.jpg",
1044
+ "image_caption": [
1045
+ "Figure 4. Visualizations showcasing inputs, DTSPrompt, and restoration results from DocRes, and ground truths across various tasks, including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. Zoom in for the best view."
1046
+ ],
1047
+ "image_footnote": [],
1048
+ "bbox": [
1049
+ 122,
1050
+ 90,
1051
+ 854,
1052
+ 417
1053
+ ],
1054
+ "page_idx": 6
1055
+ },
1056
+ {
1057
+ "type": "image",
1058
+ "img_path": "images/05772eefdc1e823e02187cf64228ee8402cb740be26f4559ab411134b3a311dd.jpg",
1059
+ "image_caption": [
1060
+ "Figure 5. For the same input, we employ different DTSPrompts to validate the controllability of DocRes. The results in the last column indicate that using DocRes enables the complete restoration process for photographed documents, achieving the desired final results for users. Zoom in for the best view."
1061
+ ],
1062
+ "image_footnote": [],
1063
+ "bbox": [
1064
+ 107,
1065
+ 479,
1066
+ 439,
1067
+ 625
1068
+ ],
1069
+ "page_idx": 6
1070
+ },
1071
+ {
1072
+ "type": "text",
1073
+ "text": "attributed to the similarity in input across tasks, coupled with distinct output requirements, leading to confusion in the model's learning process.",
1074
+ "bbox": [
1075
+ 75,
1076
+ 744,
1077
+ 468,
1078
+ 792
1079
+ ],
1080
+ "page_idx": 6
1081
+ },
1082
+ {
1083
+ "type": "text",
1084
+ "text": "Additionally, we explore the effectiveness of fixed prompts. A fixed prompt for each task is a $h \\times w \\times 3$ matrix, with constant values determined solely by the task and remaining constant regardless of the input image. For example, the fixed prompt for the dewarping task is a $h \\times w \\times 3$ matrix filled with zeros, while for the deshadowing task, it is filled with ones. We adopt the same fusion approach,",
1085
+ "bbox": [
1086
+ 75,
1087
+ 795,
1088
+ 470,
1089
+ 902
1090
+ ],
1091
+ "page_idx": 6
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "where the concatenated result of the fixed prompt and the input image are fed into the restoration network.",
1096
+ "bbox": [
1097
+ 498,
1098
+ 482,
1099
+ 890,
1100
+ 513
1101
+ ],
1102
+ "page_idx": 6
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Such a simple fixed prompt approach achieves competitive performance compared to task-specific settings in appearance enhancement and deshadowing tasks. There is even a noticeable improvement in the binarization task, which could be attributed to multi-task learning helping mitigate the generalization issue caused by the scarcity of training data for the binarization task. However, for tasks like dewarping and deblurring, the fixed prompt method still experiences significant performance declines, highlighting the challenges of creating an excellent generalist model.",
1107
+ "bbox": [
1108
+ 496,
1109
+ 515,
1110
+ 892,
1111
+ 667
1112
+ ],
1113
+ "page_idx": 6
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Our DTSPrompt excels in dewarping, deshadowing, deblurring, and binarization tasks compared to the fixed prompt approach. Particularly, there are significant improvements in the dewarping and binarization tasks. From an overall perspective across all tasks, DTSPrompt achieves superior results compared to the task-specific setting, by using only a single model without the need for additional training parameters or structural modifications.",
1118
+ "bbox": [
1119
+ 496,
1120
+ 670,
1121
+ 893,
1122
+ 791
1123
+ ],
1124
+ "page_idx": 6
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Control ability. In this subsection, we explore the control ability of DTSPrompt. Our focus is on observing how well DocRes can perform the correct restoration task when different DTSPrompts are employed for the same input image. Specifically, we consider three tasks related to the photographed scene: dewarping, deshadowing, and appearance enhancement. The visualization results in the first four",
1129
+ "bbox": [
1130
+ 496,
1131
+ 795,
1132
+ 893,
1133
+ 900
1134
+ ],
1135
+ "page_idx": 6
1136
+ },
1137
+ {
1138
+ "type": "page_number",
1139
+ "text": "15660",
1140
+ "bbox": [
1141
+ 480,
1142
+ 944,
1143
+ 519,
1144
+ 957
1145
+ ],
1146
+ "page_idx": 6
1147
+ },
1148
+ {
1149
+ "type": "image",
1150
+ "img_path": "images/f3e3bd72e5cd6fa171d822312424805a1105fdaa2581f9dc70843a76bc55fa0d.jpg",
1151
+ "image_caption": [],
1152
+ "image_footnote": [],
1153
+ "bbox": [
1154
+ 125,
1155
+ 87,
1156
+ 223,
1157
+ 183
1158
+ ],
1159
+ "page_idx": 7
1160
+ },
1161
+ {
1162
+ "type": "image",
1163
+ "img_path": "images/6f502e0738c214afc7c26d6bde67d1a2c0c8d856c41863f63c010e41bb1e09a6.jpg",
1164
+ "image_caption": [],
1165
+ "image_footnote": [],
1166
+ "bbox": [
1167
+ 223,
1168
+ 88,
1169
+ 321,
1170
+ 183
1171
+ ],
1172
+ "page_idx": 7
1173
+ },
1174
+ {
1175
+ "type": "image",
1176
+ "img_path": "images/49247046d65b3cc21cdf345eb2614b2d7c49f25c9fe9a66b71d8eea4b2cf5d24.jpg",
1177
+ "image_caption": [
1178
+ "Figure 7. Visualization results when applying models (DEGAN [50], DocDiff [61] and our DocRes) to perform the deblurring task on photographed documents, which were merely trained on clean document blurring data. Zoom in for the best view."
1179
+ ],
1180
+ "image_footnote": [],
1181
+ "bbox": [
1182
+ 321,
1183
+ 88,
1184
+ 421,
1185
+ 183
1186
+ ],
1187
+ "page_idx": 7
1188
+ },
1189
+ {
1190
+ "type": "image",
1191
+ "img_path": "images/f83f0217184a730a692140c94588768c7e8182f16c6a2a5895e5a3a9ee420372.jpg",
1192
+ "image_caption": [
1193
+ "Input",
1194
+ "Figure 6. Visualization results when applying models (DEGAN [50] and our DocRes) to perform binarization on photographed documents, which were merely trained on scanned ancient document binarization data. Zoom in for the best view."
1195
+ ],
1196
+ "image_footnote": [],
1197
+ "bbox": [
1198
+ 125,
1199
+ 184,
1200
+ 223,
1201
+ 277
1202
+ ],
1203
+ "page_idx": 7
1204
+ },
1205
+ {
1206
+ "type": "image",
1207
+ "img_path": "images/7185fbc4910a8e0245f47171ea4ee9de1a452ea0754e0d0eaa5c44772b4e21bf.jpg",
1208
+ "image_caption": [
1209
+ "DE-GAN"
1210
+ ],
1211
+ "image_footnote": [],
1212
+ "bbox": [
1213
+ 223,
1214
+ 184,
1215
+ 321,
1216
+ 277
1217
+ ],
1218
+ "page_idx": 7
1219
+ },
1220
+ {
1221
+ "type": "image",
1222
+ "img_path": "images/e9af2e8e2b317e7a56c193a7c05c443100bf1aeccc3ca5ae525d1a25bbd8301e.jpg",
1223
+ "image_caption": [
1224
+ "DocRes"
1225
+ ],
1226
+ "image_footnote": [],
1227
+ "bbox": [
1228
+ 321,
1229
+ 184,
1230
+ 421,
1231
+ 277
1232
+ ],
1233
+ "page_idx": 7
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "columns of Fig. 5 show that DocRes can accurately perform the corresponding tasks. In addition, we also demonstrate in the last column that a single DocRes model can complete the entire enhancement process of photographed document images and obtain the final results desired by the user.",
1238
+ "bbox": [
1239
+ 75,
1240
+ 391,
1241
+ 468,
1242
+ 467
1243
+ ],
1244
+ "page_idx": 7
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "Generalization. An essential trait of a generalist model lies in its ability to harness synergies among multi-task data to improve overall generalization. In this context, we delve into the generalization capability of DocRes through visualizations. As outlined in Section 4.1, the training data for the binarization task in DocRes primarily consists of scanned documents, particularly ancient ones, presenting a considerable gap from the photographed modern documents [2]. Here, we aim to apply DocRes to binarize photographed documents, introducing unseen noises like blurriness, shadows, low-light conditions, and reflections that are not present in the binarization training set. As shown in Fig. 6, DocRes consistently demonstrates excellent performance on such out-of-domain data. In contrast, DE-GAN's [50] performance significantly deteriorates in the presence of shadow and low-light interference.",
1249
+ "bbox": [
1250
+ 75,
1251
+ 470,
1252
+ 468,
1253
+ 712
1254
+ ],
1255
+ "page_idx": 7
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "Moreover, we extend the evaluation to the deblurring task for photographed document images. Notably, the training data for the deblurring task in DocRes consists exclusively of clean document images. As illustrated in Fig. 7, DocRes exhibits superior deblurring performance on photographed document images compared to DE-GAN [50] and DocDiff [61], both of which were also trained exclusively on the TDD dataset for the deblurring task.",
1260
+ "bbox": [
1261
+ 75,
1262
+ 715,
1263
+ 467,
1264
+ 835
1265
+ ],
1266
+ "page_idx": 7
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "text": "We attribute DocRes's robust out-of-domain generalization capability to its learning of patterns associated with photographed noise through tasks like dewarping, deshadowing, and appearance enhancement.",
1271
+ "bbox": [
1272
+ 75,
1273
+ 839,
1274
+ 467,
1275
+ 901
1276
+ ],
1277
+ "page_idx": 7
1278
+ },
1279
+ {
1280
+ "type": "image",
1281
+ "img_path": "images/45ad838c8adbad1bcfe8c5df9d234a2463aec973692970c117f7ac76074ebe97.jpg",
1282
+ "image_caption": [
1283
+ "Input"
1284
+ ],
1285
+ "image_footnote": [],
1286
+ "bbox": [
1287
+ 506,
1288
+ 88,
1289
+ 602,
1290
+ 176
1291
+ ],
1292
+ "page_idx": 7
1293
+ },
1294
+ {
1295
+ "type": "image",
1296
+ "img_path": "images/dbc13f19a5e68cb4eef8a28753a93a99e1871b90e454f83863fa7856ae124b61.jpg",
1297
+ "image_caption": [
1298
+ "DE-GAN"
1299
+ ],
1300
+ "image_footnote": [],
1301
+ "bbox": [
1302
+ 602,
1303
+ 89,
1304
+ 697,
1305
+ 176
1306
+ ],
1307
+ "page_idx": 7
1308
+ },
1309
+ {
1310
+ "type": "image",
1311
+ "img_path": "images/27f666ac4ea6a030c660616848e59766445964a763c821c472878b8aa13948c9.jpg",
1312
+ "image_caption": [
1313
+ "DocDiff",
1314
+ "1"
1315
+ ],
1316
+ "image_footnote": [],
1317
+ "bbox": [
1318
+ 697,
1319
+ 89,
1320
+ 785,
1321
+ 176
1322
+ ],
1323
+ "page_idx": 7
1324
+ },
1325
+ {
1326
+ "type": "image",
1327
+ "img_path": "images/623cb7fa55fa90829c4eab296eaf58d25d4e3318e5806d2bfdf5c3e5a10c67a5.jpg",
1328
+ "image_caption": [],
1329
+ "image_footnote": [],
1330
+ "bbox": [
1331
+ 790,
1332
+ 89,
1333
+ 885,
1334
+ 176
1335
+ ],
1336
+ "page_idx": 7
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "5. Discussions and conclusions",
1341
+ "text_level": 1,
1342
+ "bbox": [
1343
+ 500,
1344
+ 287,
1345
+ 756,
1346
+ 303
1347
+ ],
1348
+ "page_idx": 7
1349
+ },
1350
+ {
1351
+ "type": "text",
1352
+ "text": "This paper presents DocRes, a generalist model designed for unifying document image restoration tasks, including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. The key innovation of DocRes is the incorporation of Dynamic Task-Specific Prompt (DTSPrompt), which leverages prior features to construct visual prompts, acting not only as a guiding cue for specific tasks but also supplying additional information to enhance restoration performance. It can be seamlessly applied to existing restoration networks, resulting in a generalist model that can accommodate input with high or variable resolutions. With the support of DTSPrompt, DocRes achieves performance levels matching or surpassing SOTA task-specific models, without the need for extra training parameters or complex architectural designs. We also illustrate DocRes's controllability in performing different tasks when presented with the same input image and its capacity to generalize to out-of-domain data.",
1353
+ "bbox": [
1354
+ 496,
1355
+ 316,
1356
+ 890,
1357
+ 588
1358
+ ],
1359
+ "page_idx": 7
1360
+ },
1361
+ {
1362
+ "type": "text",
1363
+ "text": "Notably, the DTSPrompt is not confined to the specific tasks explored in this paper. It can be potentially extended to incorporate more diverse prior features [15, 31, 48, 63], such as DCT coefficients, SIFT, JPEG noise, and resampling artifacts, to accommodate a broader range of image restoration tasks. Additionally, it is worth investigating prompt fusion mechanisms for better integrating the DTSPrompt. In summary, this paper successfully attempts to develop a unified multi-task model for document image restoration, inspiring future research of generalist or foundation models for pixel-level image processing tasks.",
1364
+ "bbox": [
1365
+ 496,
1366
+ 590,
1367
+ 890,
1368
+ 758
1369
+ ],
1370
+ "page_idx": 7
1371
+ },
1372
+ {
1373
+ "type": "text",
1374
+ "text": "Acknowledgement",
1375
+ "text_level": 1,
1376
+ "bbox": [
1377
+ 500,
1378
+ 781,
1379
+ 658,
1380
+ 797
1381
+ ],
1382
+ "page_idx": 7
1383
+ },
1384
+ {
1385
+ "type": "text",
1386
+ "text": "This paper is supported in part by National Natural Science Foundation of China (Grant No.: 61936003), National Natural Science Foundation of China AIGC 2024 Special Project (Grand App. No.: 6244100044), National Key Research and Development Program of China (2022YFC3301703)",
1387
+ "bbox": [
1388
+ 496,
1389
+ 809,
1390
+ 890,
1391
+ 900
1392
+ ],
1393
+ "page_idx": 7
1394
+ },
1395
+ {
1396
+ "type": "page_number",
1397
+ "text": "15661",
1398
+ "bbox": [
1399
+ 480,
1400
+ 944,
1401
+ 517,
1402
+ 955
1403
+ ],
1404
+ "page_idx": 7
1405
+ },
1406
+ {
1407
+ "type": "text",
1408
+ "text": "References",
1409
+ "text_level": 1,
1410
+ "bbox": [
1411
+ 78,
1412
+ 89,
1413
+ 173,
1414
+ 104
1415
+ ],
1416
+ "page_idx": 8
1417
+ },
1418
+ {
1419
+ "type": "list",
1420
+ "sub_type": "ref_text",
1421
+ "list_items": [
1422
+ "[1] Amir Bar, Yossi Gandelsman, Trevor Darrell, Amir Globerson, and Alexei Efros. Visual prompting via image inpainting. NeurIPS, 35:25005-25017, 2022. 2, 3",
1423
+ "[2] Rodrigo Bernardino, Rafael Dueire Lins, and Ricardo da Silva Barboza. A quality, size and time assessment of the binarization of documents photographed by smartphones. Journal of Imaging, 9(2):41, 2023. 8",
1424
+ "[3] Ting Chen, Saurabh Saxena, Lala Li, Tsung-Yi Lin, David J Fleet, and Geoffrey E Hinton. A unified sequence interface for vision tasks. NeurIPS, 35:31333-31346, 2022. 1, 2, 3",
1425
+ "[4] Hiuyi Cheng, Peirong Zhang, Sihang Wu, Jiaxin Zhang, Qiyuan Zhu, Zecheng Xie, Jing Li, Kai Ding, and Lianwen Jin. M6Doc: A large-scale multi-format, multi-type, multi-Layout, multi-language, multi-annotation category dataset for modern document layout analysis. In CVPR, pages 15138–15147, 2023. 2",
1426
+ "[5] Sagnik Das, Ke Ma, Zhixin Shu, Dimitris Samaras, and Roy Shilkrot. DewarpNet: Single-image document unwarping with stacked 3D and 2D regression networks. In ICCV, pages 131-140, 2019. 1, 2, 3, 5",
1427
+ "[6] S Das, H Ma Sial, R Baldrich, M Vanrell, and D Samaras. Intrinsic decomposition of document images in-the-wild. In BMVC, 2020. 2, 4, 5",
1428
+ "[7] Fanbo Deng, Zheng Wu, Zheng Lu, and Michael S Brown. Binarizationshop: a user-assisted software suite for converting old documents to black-and-white. In JCDL, pages 255-258, 2010. 5",
1429
+ "[8] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2020. 2, 3",
1430
+ "[9] Hao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng, and Houqiang Li. DocTr: Document image transformer for geometric unwarping and illumination correction. In ACM MM, pages 273-281, 2021. 1, 3, 5",
1431
+ "[10] Hao Feng, Wengang Zhou, Jiajun Deng, Qi Tian, and Houqiang Li. Docscanner: Robust document image rectification with progressive learning. arXiv preprint arXiv:2110.14968, 2021. 2",
1432
+ "[11] Hao Feng, Wengang Zhou, Jiajun Deng, Yuechen Wang, and Houqiang Li. Geometric representation learning for document image rectification. In ECCV, pages 475-492, 2022. 2, 3, 5, 6",
1433
+ "[12] Basilis Gatos, Konstantinos Ntirogiannis, and Ioannis Pratikakis. ICDAR 2009 document image binarization contest (DIBCO 2009). In ICDAR, pages 1375-1382, 2009. 5",
1434
+ "[13] Rachid Hedjam, Hossein Ziaei Nafchi, Reza Farrahi Moghaddam, Margaret Kalacska, and Mohamed Cheriet. IC-DAR 2015 contest on multispectral text extraction. In IC-DAR, pages 1181-1185, 2015. 5",
1435
+ "[14] Michal Hradiš, Jan Kotera, Pavel Zemčík, and Filip Šroubek. Convolutional neural networks for direct text deblurring. In BMVC, 2015. 2, 5, 6"
1436
+ ],
1437
+ "bbox": [
1438
+ 78,
1439
+ 114,
1440
+ 470,
1441
+ 900
1442
+ ],
1443
+ "page_idx": 8
1444
+ },
1445
+ {
1446
+ "type": "list",
1447
+ "sub_type": "ref_text",
1448
+ "list_items": [
1449
+ "[15] Fangjun Huang, Jiwu Huang, and Yun Qing Shi. Detecting double JPEG compression with the same quantization matrix. IEEE TIFS, 5(4):848-856, 2010. 8",
1450
+ "[16] Fuxi Jia, Cunzhao Shi, Kun He, Chunheng Wang, and Baihua Xiao. Degraded document image binarization using structural symmetry of strokes. Pattern Recognition, 74: 225-240, 2018. 4",
1451
+ "[17] Xiangwei Jiang, Rujiao Long, Nan Xue, Zhibo Yang, Cong Yao, and Gui-Song Xia. Revisiting document image dewarping by grid regularization. In CVPR, pages 4543-4552, 2022. 2, 3",
1452
+ "[18] Seungjun Jung, Muhammad Abul Hasan, and Changick Kim. Water-filling: An efficient algorithm for digitized document shadow removal. In ACCV, pages 398-414, 2018. 5, 6",
1453
+ "[19] Netanel Kligler, Sagi Katz, and Ayellet Tal. Document enhancement using visibility detection. In CVPR, pages 2374-2382, 2018. 5, 6",
1454
+ "[20] Jaihyun Koh, Jangho Lee, and Sungroh Yoon. Single-image deblurring with neural networks: A comparative survey. Computer Vision and Image Understanding, 203:103134, 2021. 4",
1455
+ "[21] Ashutosh Kulkarni, Prashant W Patil, Subrahmanyam Murala, and Sunil Gupta. Unified multi-weather visibility restoration. IEEE TMM, 2022. 3",
1456
+ "[22] Boyun Li, Xiao Liu, Peng Hu, Zhongqin Wu, Jiancheng Lv, and Xi Peng. All-in-one image restoration for unknown corruption. In CVPR, pages 17452-17462, 2022. 3",
1457
+ "[23] Heng Li, Xiangping Wu, Qingcai Chen, and Qianjin Xiang. Foreground and text-lines aware document image rectification. In CVPR, pages 19574-19583, 2023. 1, 3, 5, 6",
1458
+ "[24] Ruoteng Li, Robby T Tan, and Loong-Fah Cheong. All in one bad weather removal using architectural search. In CVPR, pages 3175-3185, 2020. 1, 2, 3",
1459
+ "[25] Zinuo Li, Xuhang Chen, Chi-Man Pun, and Xiaodong Cun. High-resolution document shadow removal via a large-scale real-world dataset and a frequency-aware shadow erasing net. In CVPR, pages 12449-12458, 2023. 2, 6",
1460
+ "[26] Yun-Hsuan Lin, Wen-Chin Chen, and Yung-Yu Chuang. Bedsr-net: A deep shadow removal network from a single document image. In CVPR, pages 12905-12914, 2020. 2, 3",
1461
+ "[27] Rosanne Liu, Joel Lehman, Piero Molino, Felipe Petroski Such, Eric Frank, Alex Sergeev, and Jason Yosinski. An intriguing failing of convolutional neural networks and the coordconv solution. NeurIPS, 31, 2018. 3",
1462
+ "[28] Wenjie Liu, Bingshu Wang, Jiangbin Zheng, and Wenmin Wang. Shadow removal of text document images using background estimation and adaptive text enhancement. In ICASSP, pages 1-5, 2023. 3",
1463
+ "[29] Yihao Liu, Xiangyu Chen, Xianzheng Ma, Xintao Wang, Jiantao Zhou, Yu Qiao, and Chao Dong. Unifying image processing as visual prompting question answering. arXiv preprint arXiv:2310.10513, 2023. 2, 3",
1464
+ "[30] Jiasen Lu, Christopher Clark, Rowan Zellers, Roozbeh Mottaghi, and Aniruddha Kembhavi. Unified-IO: A unified model for vision, language, and multi-modal tasks. In ICLR, 2022. 1, 3"
1465
+ ],
1466
+ "bbox": [
1467
+ 501,
1468
+ 92,
1469
+ 890,
1470
+ 898
1471
+ ],
1472
+ "page_idx": 8
1473
+ },
1474
+ {
1475
+ "type": "page_number",
1476
+ "text": "15662",
1477
+ "bbox": [
1478
+ 480,
1479
+ 944,
1480
+ 519,
1481
+ 955
1482
+ ],
1483
+ "page_idx": 8
1484
+ },
1485
+ {
1486
+ "type": "list",
1487
+ "sub_type": "ref_text",
1488
+ "list_items": [
1489
+ "[31] Weiqi Luo, Jiwu Huang, and Guoping Qiu. JPEG error analysis and its applications to digital image forensics. IEEE TIFS, 5(3):480-491, 2010. 8",
1490
+ "[32] Jiaqi Ma, Tianheng Cheng, Guoli Wang, Qian Zhang, Xinggang Wang, and Lefei Zhang. Prores: Exploring degradation-aware visual prompt for universal image restoration. arXiv preprint arXiv:2306.13653, 2023. 2, 3",
1491
+ "[33] Ke Ma, Zhixin Shu, Xue Bai, Jue Wang, and Dimitris Samaras. DocUNet: Document image unwarping via a stacked U-Net. In CVPR, pages 4700–4709, 2018. 1, 2, 5, 6",
1492
+ "[34] Ke Ma, Sagnik Das, Zhixin Shu, and Dimitris Samaras. Learning from documents in the wild to improve document unwarping. In ACM SIGGRAPH, pages 1-9, 2022. 5",
1493
+ "[35] Yuhi Matsuo, Naofumi Akimoto, and Yoshimitsu Aoki. Document shadow removal with foreground detection learning from fully synthetic images. In ICIP, pages 1656-1660, 2022. 5",
1494
+ "[36] Hossein Ziaei Nafchi, Seyed Morteza Ayatollahi, Reza Farrahi Moghaddam, and Mohamed Cheriet. An efficient ground truthing tool for binarization of historical manuscripts. In ICDAR, pages 807-811, 2013. 5",
1495
+ "[37] Konstantinos Ntirogiannis, Basilis Gatos, and Ioannis Pratikakis. ICFHR 2014 competition on handwritten document image binarization (H-DIBCO 2014). In ICFHR, pages 809-813, 2014. 5",
1496
+ "[38] Dezhi Peng, Zhenhua Yang, Jiaxin Zhang, Chongyu Liu, Yongxin Shi, Kai Ding, Fengjun Guo, and Lianwen Jin. UPOCR: Towards unified pixel-levelOCR interface. arXiv preprint arXiv:2312.02694, 2023. 1",
1497
+ "[39] Vaishnav Potlapalli, Syed Waqas Zamir, Salman Khan, and Fahad Shahbaz Khan. PromptIR: Prompting for all-in-one blind image restoration. arXiv preprint arXiv:2306.13090, 2023. 3",
1498
+ "[40] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. H-DIBCO 2010-handwritten document image binarization competition. In ICFHR, pages 727-732, 2010. 5",
1499
+ "[41] Ioannis Pratikakis, Basilios Gatos, and Konstantinos Ntirogiannis. ICDAR 2011 document image binarization contest (DIBCO 2011). In ICDAR, 2011.",
1500
+ "[42] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. ICFHR 2012 competition on handwritten document image binarization (H-DIBCO 2012). In ICFHR, pages 817-822, 2012.",
1501
+ "[43] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. ICDAR 2013 document image binarization contest (DIBCO 2013). In ICDAR, pages 1471-1476, 2013.",
1502
+ "[44] Ioannis Pratikakis, Konstantinos Zagoris, George Barlas, and Basilis Gatos. ICFHR 2016 handwritten document image binarization contest (H-DIBCO 2016). In ICFHR, pages 619-623, 2016.",
1503
+ "[45] Ioannis Pratikakis, Konstantinos Zagoris, George Barlas, and Basilis Gatos. ICDAR2017 competition on document image binarization (DIBCO 2017). In ICDAR, pages 1395-1403, 2017. 5",
1504
+ "[46] Ioannis Pratikakis, Konstantinos Zagori, Panagiotis Kaddas, and Basilis Gatos. ICFHR 2018 competition on handwritten"
1505
+ ],
1506
+ "bbox": [
1507
+ 78,
1508
+ 92,
1509
+ 468,
1510
+ 901
1511
+ ],
1512
+ "page_idx": 9
1513
+ },
1514
+ {
1515
+ "type": "list",
1516
+ "sub_type": "ref_text",
1517
+ "list_items": [
1518
+ "document image binarization (H-DIBCO 2018). In ICFHR, 2018. 5, 6",
1519
+ "[47] Ioannis Pratikakis, Konstantinos Zagoris, Xenofon Karagiannis, Lazaros Tsochatzidis, Tanmoy Mondal, and Isabelle Marhot-Santaniello. ICDAR 2019 competition on document image binarization (DIBCO 2019). In ICDAR, 2019. 5",
1520
+ "[48] Chenfan Qu, Chongyu Liu, Yuliang Liu, Xinhong Chen, Dezhi Peng, Fengjun Guo, and Lianwen Jin. Towards robust tampered text detection in document image: New dataset and new solution. In CVPR, pages 5937-5946, 2023. 8",
1521
+ "[49] Jaakko Sauvola and Matti Pietikainen. Adaptive document image binarization. Pattern recognition, 33(2):225-236, 2000. 4",
1522
+ "[50] Mohamed Ali Souibgui and Yousri Kessentini. DE-GAN: A conditional generative adversarial network for document enhancement. IEEE TPAMI, 44(3):1180-1191, 2020. 2, 6, 8",
1523
+ "[51] Mohamed Ali Souibgui, Sanket Biswas, Andres Mafla, Ali Furkan Biten, Alicia Fornés, Yousri Kessentini, Josep Lladós, Lluis Gomez, and Dimosthenis Karatzas. Text-DIAE: a self-supervised degradation invariant autoencoder for text recognition and document enhancement. In AAAI, pages 2330-2338, 2023. 2",
1524
+ "[52] Zineng Tang, Ziyi Yang, Guoxin Wang, Yuwei Fang, Yang Liu, Chenguang Zhu, Michael Zeng, Cha Zhang, and Mohit Bansal. Unifying vision, text, and layout for universal document processing. In CVPR, pages 19254-19264, 2023. 2, 3",
1525
+ "[53] Chris Tensmeyer and Tony Martinez. Document image binarization with fully convolutional neural networks. In ICDAR, pages 99-104, 2017. 4",
1526
+ "[54] Jeya Maria Jose Valanarasu, Rajeev Yasarla, and Vishal M Patel. TransWeather: Transformer-based restoration of images degraded by adverse weather conditions. In CVPR, pages 2353-2363, 2022. 2, 3",
1527
+ "[55] Bingshu Wang and CL Philip Chen. Local water-filling algorithm for shadow detection and removal of document images. Sensors, 20(23):6929, 2020. 5, 6",
1528
+ "[56] Hongyi Wang, Yang Xue, Jiaxin Zhang, and Lianwen Jin. Scene table structure recognition with segmentation collaboration and alignment. Pattern Recognition Letters, 165:146-153, 2023. 2",
1529
+ "[57] Peng Wang, An Yang, Rui Men, Junyang Lin, Shuai Bai, Zhikang Li, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. OFA: Unifying architectures, tasks, and modalities through a simple sequence-to-sequence learning framework. In ICML, pages 23318-23340, 2022. 1, 2, 3",
1530
+ "[58] Xinlong Wang, Wen Wang, Yue Cao, Chunhua Shen, and Tiejun Huang. Images speak in images: A generalist painter for in-context visual learning. In CVPR, pages 6830-6839, 2023. 1, 2, 3",
1531
+ "[59] Yonghui Wang, Wengang Zhou, Zhenbo Lu, and Houqiang Li. UDoc-GAN: Unpaired document illumination correction with background light prior. In ACM MM, pages 5074-5082, 2022. 1, 2, 4, 6",
1532
+ "[60] Zhou Wang, Eero P Simoncelli, and Alan C Bovik. Multiscale structural similarity for image quality assessment. In ACSSC, pages 1398-1402, 2003. 5"
1533
+ ],
1534
+ "bbox": [
1535
+ 501,
1536
+ 92,
1537
+ 890,
1538
+ 900
1539
+ ],
1540
+ "page_idx": 9
1541
+ },
1542
+ {
1543
+ "type": "page_number",
1544
+ "text": "15663",
1545
+ "bbox": [
1546
+ 480,
1547
+ 944,
1548
+ 517,
1549
+ 955
1550
+ ],
1551
+ "page_idx": 9
1552
+ },
1553
+ {
1554
+ "type": "list",
1555
+ "sub_type": "ref_text",
1556
+ "list_items": [
1557
+ "[61] Zongyuan Yang, Baolin Liu, Yongping Xxiong, Lan Yi, Guibin Wu, Xiaojun Tang, Ziqi Liu, Junjie Zhou, and Xing Zhang. DocDiff: Document enhancement via residual diffusion models. In ACM MM, pages 2795-2806, 2023. 2, 5, 6, 8",
1558
+ "[62] Zongyuan Yang, Baolin Liu, Yongping Xiong, and Guibin Wu. GDB: Gated convolutions-based document binarization. Pattern Recognition, 146:109989, 2024. 1, 2, 4, 5, 6",
1559
+ "[63] Jaeyoung Yoo, Sang-ho Lee, and Nojun Kwak. Image restoration by estimating frequency distribution of local patches. In CVPR, pages 6684-6692, 2018. 8",
1560
+ "[64] Shaodi You, Yasuyuki Matsushita, Sudipta Sinha, Yusuke Bou, and Katsushi Ikeuchi. Multiview rectification of folded documents. IEEE TPAMI, 40(2):505-511, 2017. 5",
1561
+ "[65] Syed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, and Ming-Hsuan Yang. Restormer: Efficient transformer for high-resolution image restoration. In CVPR, pages 5728-5739, 2022. 5, 6",
1562
+ "[66] Francisco Zamora-Martínez, Salvador Espaa Boquera, and María José Castro Bleda. Behaviour-based clustering of neural networks applied to document enhancement. In IWANN, 2007. 5",
1563
+ "[67] Cheng Zhang, Yu Zhu, Qingsen Yan, Jinqiu Sun, and Yanning Zhang. All-in-one multi-degradation image restoration network via hierarchical degradation representation. In ACM MM, pages 2285-2293, 2023. 2, 3",
1564
+ "[68] Jiaxin Zhang, Canjie Luo, Lianwen Jin, Fengjun Guo, and Kai Ding. Marior: Margin removal and iterative content rectification for document dewarping in the wild. In ACM MM, pages 2805-2815, 2022. 2, 3, 5",
1565
+ "[69] Jiaxin Zhang, Bangdong Chen, Hiuyi Cheng, Lianwen Jin, Fengjun Guo, and Kai Ding. DocAligner: Annotating real-world photographic document images by simply taking pictures. arXiv preprint arXiv:2306.05749, 2023. 5",
1566
+ "[70] Jiaxin Zhang, Lingyu Liang, Kai Ding, Fengjun Guo, and Lianwen Jin. Appearance enhancement for camera-captured document images in the wild. IEEE Transactions on Artificial Intelligence, 2023. 1, 2, 4, 5, 6",
1567
+ "[71] Ling Zhang, Yinghao He, Qing Zhang, Zheng Liu, Xiaolong Zhang, and Chunxia Xiao. Document image shadow removal guided by color-aware background. In CVPR, pages 1818-1827, 2023. 2, 3, 5, 6"
1568
+ ],
1569
+ "bbox": [
1570
+ 78,
1571
+ 90,
1572
+ 468,
1573
+ 684
1574
+ ],
1575
+ "page_idx": 10
1576
+ },
1577
+ {
1578
+ "type": "page_number",
1579
+ "text": "15664",
1580
+ "bbox": [
1581
+ 480,
1582
+ 945,
1583
+ 517,
1584
+ 955
1585
+ ],
1586
+ "page_idx": 10
1587
+ }
1588
+ ]
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/40d81229-9353-4bff-95b0-1ebce990f90a_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3ac8d4013a812e28ac5fa615f372bb21cd863654946f9a15dbb71196aee2404
3
+ size 7179798
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/full.md ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks
2
+
3
+ Jiaxin Zhang $^{1,2}$ , Dezhi Peng $^{1}$ , Chongyu Liu $^{1}$ , Peirong Zhang $^{1}$ , Lianwen Jin $^{1,2,*}$
4
+
5
+ $^{1}$ South China University of Technology
6
+
7
+ $^{2}$ INTSIG-SCUT Joint Lab on Document Analysis and Recognition
8
+
9
+ # Abstract
10
+
11
+ Document image restoration is a crucial aspect of Document AI systems, as the quality of document images significantly influences the overall performance. Prevailing methods address distinct restoration tasks independently, leading to intricate systems and the incapability to harness the potential synergies of multi-task learning. To overcome this challenge, we propose DocRes, a generalist model that unifies five document image restoration tasks including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. To instruct DocRes to perform various restoration tasks, we propose a novel visual prompt approach called Dynamic Task-Specific Prompt (DTSPrompt). The DTSPrompt for different tasks comprises distinct prior features, which are additional characteristics extracted from the input image. Beyond its role as a cue for task-specific execution, DTSPrompt can also serve as supplementary information to enhance the model's performance. Moreover, DTSPrompt is more flexible than prior visual prompt approaches as it can be seamlessly applied and adapted to inputs with high and variable resolutions. Experimental results demonstrate that DocRes achieves competitive or superior performance compared to existing state-of-the-art task-specific models. This underscores the potential of DocRes across a broader spectrum of document image restoration tasks. The source code is publicly available at https://github.com/ZZZHANG-jx/DocRes.
12
+
13
+ # 1. Introduction
14
+
15
+ Photographed or scanned document images frequently manifest various forms of degradation, encompassing geometric distortion, shadows, bleed-through, stains, and more. These degradations pose substantial challenges for existing document analysis and recognition systems, and also significantly compromise the visual appeal and legibility of docu
16
+
17
+ ![](images/71b96d948dc8a5a99ec660c54a4ba428d2db4c08db8277cb48e2d46558702e42.jpg)
18
+ Figure 1. DocRes is a generalist model that unifies five document image restoration tasks, including tasks of dewarping, deshadowing, appearance enhancement, deblurring, and binarization.
19
+
20
+ ments, as underscored in recent studies [5, 9, 23, 59, 70].
21
+
22
+ The restoration of document images, addressing objectives like flattening documents, shadow removal, clean appearance restoration, deblurring, or text segmentation, holds both academic and practical significance. Existing approaches [5, 9, 33, 59, 62] typically treat these restoration tasks separately, relying on models specifically designed for each task. While effective in achieving commendable performance, this paradigm results in a system that requires the design of multiple models and extensive maintenance. Moreover, it fails to leverage the potential synergies of multi-task learning.
23
+
24
+ To tackle this problem, motivated by recent pioneering works [3, 24, 30, 38, 57, 58] that unify various vision tasks, we seek to explore a generalist model for document image restoration. As illustrated in Fig. 1, our proposed DocRes seeks to unify five document image restoration tasks: dewarping, deshadowing, appearance enhancement, deblurring, and binarization. To empower such a generalist model to perform specific tasks and generate desired outputs, it is often crucial to convey instructional information to the model. Existing visual generalist models accomplish this by drawing inspiration from advancements in Natural Language Processing (NLP) and leveraging prompt learning
25
+
26
+ techniques. Notably, studies like [3, 52, 57] transform the vision task into an NLP one by discretizing continuous vision output and using discrete tokens as prompts. However, the autoregressive decoding paradigm they employ is inherently less effective for low-level tasks.
27
+
28
+ In the realm of unifying image-to-image tasks, recent methods [1, 29, 32, 58] have suggested vision-centric prompts, known as visual prompts, which exhibit promising potential across various vision tasks, including image restoration. Among them, approaches like [1, 29, 58] propose using a pair of input/output samples as a visual prompt to guide the model to perform the corresponding task. Nevertheless, these methods exhibit reduced efficiency as they necessitate an additional pair of samples during inference, making them less suitable for low-level tasks involving high-resolution images. ProRes [32] introduces a more straightforward visual prompt method, wherein a matrix composed of learnable parameters, matching the input's shape, is assigned for each task and added to the input as a visual prompt. However, the training process of ProRes is intricate, which requires initializing each visual prompt by pre-training on task-specific models. Additionally, some of the above visual prompt methods rely on Mask Image Modeling (MIM) and require the ViT [8] framework. However, ViT typically demands that input images during testing and training have the same resolution, and due to memory constraints, ViT struggles with high-resolution images. This makes it challenging for these methods to adapt to low-level tasks, which typically involve patch training, whole-image testing, as well as variable and high-resolution inputs.
29
+
30
+ Recognizing the limitations of the aforementioned prompt methods, we introduce a new visual prompt for DocRes called the Dynamic Task-Specific Prompt (DTSPrompt). The inspiration behind DTSPrompt is rooted in prevalent practices observed in existing document image restoration endeavors, where certain prior features extracted from the input image are typically employed to enhance model's performance, such as background images for shadow removal [26, 71] and text content masks for dewarping [11, 17, 68]. Specifically, the DTSPrompt for different tasks comprises distinct prior features based on the characteristics of each task, where prior features we adopted include document segmentation masks, binarization results, gradient maps, and so on. DTSPrompt can not only serve as an effective cue for the model to determine which task to perform but also function as supplementary information to enhance the performance for the corresponding task. DTSPrompt can be seamlessly applied to various existing restoration networks, rather than limited to ViT. This enables DocRes to handle high and variable resolutions encountered in document restoration.
31
+
32
+ Experiments demonstrate that, without additional complex network designs, DocRes, as a generalist model,
33
+
34
+ achieves competitive or even superior performance on various benchmarks compared to existing well-established and carefully designed task-specific methods.
35
+
36
+ In summary, our contributions are as follows:
37
+
38
+ - To the best of our knowledge, we are the first to explore generalist models for unifying restoration of document images, which serves as a pioneering effort in this field.
39
+ - We propose a simple yet highly effective visual prompt approach termed DTSPrompt, which extracts different prior features from the input image to create prompts. It can guide the model to distinguish different tasks, provide supplementary information to improve performance and accommodate both high and variable resolutions.
40
+ - Empowered by DTSPrompt, our DocRes achieves competitive or even better performance compared to task-specific methods across various benchmarks.
41
+
42
+ # 2. Related works
43
+
44
+ # 2.1. Document Image Restoration
45
+
46
+ Dewarping [5, 10, 11, 33, 68] addresses the elimination of geometric distortions such as curves and crumples, which not only hinder OCR engine performance [4, 56, 70] but also degrade document readability. Deshadowing [25, 26, 71] focuses on removing shadows, a common occurrence in photographed document images, to produce shadow-free documents. Appearance enhancement, also known as illumination correction [6, 59, 70], goes beyond specific appearance degradations, striving to restore a clean appearance akin to digital-born PDFs. This is valuable as it significantly enhances document readability and aesthetics. Deblurring [14, 50, 61] aims to eliminate blurriness and restore a clear image. Binarization [62] involves segmenting foreground text from document images, a critical task for applications primarily focused on text content, usually obscured by stains, artifacts, black margins, or weak contrast.
47
+
48
+ Existing approaches [5, 26, 59, 62, 68, 70, 71] typically treat these restoration tasks independently, resulting in a complex document image restoration system and the inability to harness the potential synergies among tasks. While recent efforts [50, 51, 61] aim to tackle several tasks with a unified network architecture, they still require individual training and separate models for each task.
49
+
50
+ # 2.2. All-in-one image restoration
51
+
52
+ Unlike the domain of document image restoration that lacks unification, recent studies [24, 29, 32, 54, 58, 67] have made pioneering strides in developing generalist models for natural scene image restoration. They encompass tasks such as weather effect removal, low-light image enhancement, denoising, and deblurring. Existing multi-task generalist models can be broadly classified into two categories based on
53
+
54
+ whether the task is explicitly specified for the model during inference: task-agnostic and task-oriented.
55
+
56
+ Task-agnostic. Task-agnostic methods [21, 22, 39, 54, 67] do not require users to specify the task type, but they are less flexible and cannot handle a broader range of tasks, typically being confined to specific domains like weather effect removal. This arises because some tasks share similar inputs but demand distinct outputs, leading to ambiguity in the learning process. The task-agnostic setup proves inappropriate for unifying document image restoration since tasks like dewarping, deshadowing, and appearance enhancement share similar inputs but demand distinct outputs.
57
+
58
+ Task-oriented. To achieve a task-oriented generalist model, explicit task information needs to be introduced. Some approaches [3, 24, 30, 57, 58] discretize the continuous vision output, use discrete tokens as task prompts, and use the Transformer decoder for autoregressive prediction. These methods are more suited for visual understanding tasks, such as detection, captioning, and visual question answering but are inappropriate for low-level tasks involving high-resolution outputs. More recently, there have been methods proposing vision-centric prompts [1, 29, 32, 58] for unification purposes, known as visual prompts, showing promising potential in various vision tasks, including image restoration. Among them, [1, 29, 58] use an input/output sample of a specific task as a prompt, resembling the paradigm used in inpainting tasks where surrounding pixel information is learned to fill in missing pixel positions. Nevertheless, the additional input leads to inefficiency and limitation of image resolution. ProRes [32] employs learnable parameters with the same shape of the input image as a visual prompt and adds it pixel-wise to the input. While effectively guiding the model, the prompt for each task needs to be trained on task-specific models for initialization, resulting in a complex training pipeline.
59
+
60
+ Moreover, all these visual prompt methods mentioned above are limited to the ViT [8] framework, making them unable to adapt to the variable resolutions in restoration tasks. The quadratic computational complexity also restricts the input resolution. For example, the input resolution for ProRes [32] and Painter [58] is limited to $448 \times 448$ , which is insufficient for document images with resolutions commonly exceeding 1K. While block-wise processing could be employed, many document image restoration tasks heavily depend on global information, such as deshadowing and binarization, making this strategy unfeasible. In contrast, our DTSPrompt method is not confined to the ViT framework and can be applied to various more flexible restoration networks to form our DocRes model.
61
+
62
+ # 3. Methodology
63
+
64
+ As depicted in Fig. 2, the input document image undergoes an initial processing step by the DTSPrompt generator to
65
+
66
+ generate task-specific DTSPrompts, which are composed of various prior features extracted from the input image. Such DTSPrompts are instrumental in guiding the restoration network to execute distinct tasks while simultaneously enhancing overall performance. In the following sections, we first provide a detailed exploration of the process involved in obtaining various prior features to construct the DTSPrompt for each task. Then we introduce our prompt fusion approach and the selection of the restoration network.
67
+
68
+ # 3.1. Dynamic task-specific prompt
69
+
70
+ Prevailing visual generalist models [29, 32, 52, 57, 58] determine prompts solely based on the task, and are independent of the input image:
71
+
72
+ $$
73
+ P r o m p t = f (\text {t a s k}). \tag {1}
74
+ $$
75
+
76
+ In contrast, our DTSPrompt dynamically adapts to the input image $I_{s}\in \mathbb{R}^{h\times w\times 3}$
77
+
78
+ $$
79
+ D T S P r o m p t = G \left(I _ {s}, \text {t a s k}\right) \in \mathbb {R} ^ {h \times w \times 3}. \tag {2}
80
+ $$
81
+
82
+ Here, $G$ represents our DTSPrompt generator (depicted in Fig. 2), which is responsible for extracting prior features from $I_{s}$ based on the specified task. In the following, we provide a detailed explanation of how the DTSPrompt for each task is constructed. Visual results of DTSPrompts for each task are presented in Fig. 3.
83
+
84
+ Dewarping. Existing document dewarping methods [11, 17, 23] often use text line masks or text block masks to assist the dewarping model, making it more attentive to the dewarping of regions with meaningful content. Document mask [9, 11, 23, 68] is commonly employed to enhance the model's understanding of document boundaries and reduce the learning difficulty by decoupling the margin removal and content rectification processes. Here, we choose the simplest document mask as our prior feature for the dewarping task. This mask, denoted as $P_{m}(I_{s}) \in \mathbb{R}^{h \times w}$ , is obtained by directly using an existing document segmentation model proposed in [68] (noted that any other existing document segmentation models [9, 11] can also be employed).
85
+
86
+ Furthermore, considering that predicting the backward map in dewarping task is inherently a problem related to coordinate positions, inspired by [5, 27], we introduce the x-coordinate and y-coordinate as additional prior features, denoted as $P_{cx} \in \mathbb{R}^{h \times w}$ and $P_{cy} \in \mathbb{R}^{h \times w}$ , respectively. They represent the coordinate values of the pixel at $(i,j)$ , i.e., $P_{cx}(i,j) = i$ and $P_{cy}(i,j) = j$ , which enable better perception of positional information. The DTSPrompt for dewarping task is obtained by concatenating these prior features along the channel dimension:
87
+
88
+ $$
89
+ G \left(I _ {s}, ^ {\prime \prime} d e w a r p ^ {\prime \prime}\right) = \left[ P _ {m} \left(I _ {s}\right), P _ {c x}, P _ {c y} \right]. \tag {3}
90
+ $$
91
+
92
+ Deshadowing. For the deshadowing task, the document background is commonly considered as a prior feature to enhance performance [26, 28, 71]. Here, we adopt
93
+
94
+ ![](images/266b22d3d294f589cfcb9937d3f91f5b914dd73a964b1b39cb932d7fcdf34ac7.jpg)
95
+ Figure 2. The overall pipeline for DocRes. The document image to be restored, denoted as $I_{s}$ , is initially fed into the DTSPrompt generator, which extracts specific prior features based on the task to form the DTSPrompt. Alongside $I_{s}$ , DTSPrompt is input into the restoration network. It serves not only as a guidance for the restoration network on the particular task to be performed but also functions as auxiliary information derived from $I_{s}$ to improve performance.
96
+
97
+ ![](images/55ec41f72fcbdb460145969627c158adc13c9cef5a97b75ac5cfc1be444dd7e6.jpg)
98
+ Figure 3. The DTSPrompt for different tasks is composed of distinct prior features. Most of these prior features are extracted from the input image, making them dynamic. Zoom in for the best view.
99
+
100
+ the document background with shadows as our prior feature. To obtain this background from the document image, we initially employ dilation operations to eliminate the textual content within the document. Subsequently, we use a median filter to smooth out artifacts introduced due to incomplete removal. We represent this whole process as $P_{bg}(I_s) \in \mathbb{R}^{h \times w \times 3}$ . The DTSPrompt for the desshadowing task is thus formulated as
101
+
102
+ $$
103
+ G \left(I _ {s}, \text {" d e s h a d o w "}\right) = P _ {b g} \left(I _ {s}\right). \tag {4}
104
+ $$
105
+
106
+ Appearance enhancement. Current methods [6, 59, 70] commonly adopt background light, shadow map, or white-balance kernel as prior features to facilitate appearance enhancement based on the concept of intrinsic images. However, accurately obtaining these prior features is challenging and usually requires an extra model for training and predicting. For simplicity, we leverage the discrepancy between the original image and the document background $P_{bg}(I_s)$ as our prior feature for this task, which can serve as initial enhancement guidance for the model:
107
+
108
+ $$
109
+ P _ {d i f f} \left(I _ {s}\right) = 2 5 5 - a b s \left(I _ {s} - P _ {b g} \left(I _ {s}\right)\right), \tag {5}
110
+ $$
111
+
112
+ $$
113
+ G \left(I _ {s}, \text {" a p p e r a n c e"}\right) = P _ {\text {d i f f}} \left(I _ {s}\right). \tag {6}
114
+ $$
115
+
116
+ Deblurring. The gradient distribution is a prior feature widely used in traditional optimization-based deblurring methods [20], which is typically employed as regularization information to constrain the solution space of the optimization function. Here, we use the gradient map of the input image $P_{g}(I_{s}) \in \mathbb{R}^{h \times w}$ as an additional input, aiming for the model to implicitly learn gradient prior information, rather than utilizing a gradient distribution prior to constrain the solution space of the output. The DTSPrompt for the deblurring task is expressed as
117
+
118
+ $$
119
+ G \left(I _ {s}, \text {" d e b l u r "}\right) = \left[ P _ {g} \left(I _ {s}\right), P _ {g} \left(I _ {s}\right), P _ {g} \left(I _ {s}\right) \right]. \tag {7}
120
+ $$
121
+
122
+ Binarization. Integrating prior features as supplementary for performance enhancement is widely adopted in binarization task [16, 53, 62], and the effectiveness has been extensively demonstrated. For this task, we employ the Sauvola binarization algorithm [49] to yield the initial binarization outcome and threshold map as our prior features, which is denoted as $P_{b}(I_{s}) \in \mathbb{R}^{h \times w}$ and $P_{t}(I_{s}) \in \mathbb{R}^{h \times w}$ ,
123
+
124
+ respectively. Furthermore, we also incorporate gradient information as an additional prior feature for this task. The DTSPrompt for binarization task is formulated as
125
+
126
+ $$
127
+ G \left(I _ {s}, \text {" b i n a r i z e "}\right) = \left[ P _ {b} \left(I _ {s}\right), P _ {t} \left(I _ {s}\right), P _ {g} \left(I _ {s}\right) \right]. \tag {8}
128
+ $$
129
+
130
+ # 3.2. Prompt fusion and restoration network
131
+
132
+ Exploring how to integrate the acquired prompt information into the network holds significant merit. A well-conceived fusion method has the potential to substantially enhance overall performance. However, the primary focus of this paper lies in evaluating the efficacy and potentials associated with DTSPrompt, rather than delving into the intricacies of designing a complex network structure. In line with this objective, we adopt a straightforward fusion approach to seamlessly incorporate DTSPrompt into the restoration network. Specifically, we opt for concatenating DTSPrompt and $I_{s}$ along the channel dimension to construct a new input $\in \mathbb{R}^{h\times w\times 6}$ for the restoration network.
133
+
134
+ Due to the simplicity of DTSPrompt, we have the flexibility to choose from various restoration networks. In this case, we opt for the off-the-shelf Restormer [65] without modifications to form our DocRes. With such a restoration network, DocRes can support inputs of up to $1600 \times 1600$ and adapt to inputs with variable resolutions. It's noteworthy that other restoration networks can be employed interchangeably since DTSPrompt does not require specific modules within the network.
135
+
136
+ # 4. Experiments
137
+
138
+ # 4.1. Datasets
139
+
140
+ Dewarping. We adopt the Doc3D [5] dataset and the DIR300 benchmark [11] for the training and testing, respectively. Doc3D is a synthetic dataset comprising 100K samples, which includes geometrically distorted document images and corresponding backward maps. DIR300 is a real-world benchmark with 300 geometrically distorted images and corresponding flat ground-truths.
141
+
142
+ Deshadowing. The training set for this task consists of 14,200 synthetic images from FSDSRD [35] and 4,371 real images from the training set of RDD [71]. We use Jung's dataset [18] (87 images), Kligler's dataset [19] (300 images) and OSR [55] (237 images) to form our testing set.
143
+
144
+ Appearance enhancement. The training set for this task contains 90K synthetic images from the Doc3DShade [6] dataset and 450 real-world images from the RealDAE [70] training set. 150 images from the testing set of RealDAE and 130 images from DocUNet [33] are used for evaluation. As introduced in [5, 9], the degraded images in DocUNet should be aligned to the flat ground truths before the evaluation of this task. Following [70], we achieve alignment by using the document alignment model [69] rather
145
+
146
+ than some dewarping models [9, 33, 68], which can result in better alignment and thus provide a more accurate evaluation. We denote the aligned dataset as DocUNet*.
147
+
148
+ Deblurring. The Text Deblur Dataset (TDD) [14] consists of 66K training samples, from which we randomly select 40K samples to train our model. The 1.6K testing samples from TDD form the testing set of this task.
149
+
150
+ Binarization. We use DIBCO'18 [46] as our testing set. Following [61, 62], the remaining years of (H)-DIBCO datasets [12, 37, 40-45, 47] are used as the training data, and images from Noisy Office dataset [66], Synchronmedia Multispectral dataset [13], Persian Heritage Image Binarization dataset [36] and Bickley Diary dataset [7] are also used for training.
151
+
152
+ # 4.2. Evaluation metrics
153
+
154
+ Deshadowing, appearance enhancement, and deblurring tasks adopt the commonly used PSNR and SSIM as evaluation metrics. The evaluation of dewarping incorporates multi-scale structural similarity (MS-SSIM) [60], local distortion (LD) [64] and align distortion (AD) [34]. MS-SSIM builds upon the traditional SSIM by considering multiple scales. LD evaluates dewarping performance by utilizing the offset between the dewarped result and the flat ground truth. AD, an enhancement of LD, refines the evaluation by excluding offset noise in low-textured regions and mitigating the impact of global transformations. the parameters for MS-SSIM, LD, and AD align with those established in prior works [5, 11, 23, 33]. For the binarization task, we employ PSNR, F-measure (FM), and pseudo F-measure (pFM) as our evaluation metrics.
155
+
156
+ # 4.3. Implementation details
157
+
158
+ We train our model on 8 NVIDIA A6000 GPUs for 100,000 steps with a global batch size of 80. AdamW with a weight decay of $5 \times 10^{-4}$ is adopted. We use the cosine learning rate scheduler with $2 \times 10^{-4}$ as the maximum learning rate.
159
+
160
+ Before commencing such unified training, the model undergoes a pre-training phase exclusively on the dewarping task for 50,000 steps to initialize the model. This is for a more stable training purpose, as dewraping significantly differs from other tasks: while it involves coordinates regression, other tasks entail regression of image content.
161
+
162
+ During the unified training process, the sampling weight for dewarping, deshadowing, appearance enhancement, deblurring, and binarization are all set to 0.2. Apart from the binarization task, which employs the standard cross-entropy loss for its output, all other tasks are supervised using the L1 loss. Images of deshadowing, appearance enhancement, deblurring, and binarization tasks are randomly cropped as patches with a size of $256 \times 256$ , while images of dewarping task are resized to $256 \times 256$ during training.
163
+
164
+ Table 1. Quantitative comparison results between our all-in-one generalist DocRes model and existing task-specific state-of-the-art models on 5 tasks. From top to bottom, the tasks include dewarping, deshadowing, appearance enhancement, deblurring, and binarization. Best results are shown in bold.
165
+
166
+ <table><tr><td>Metrics</td><td>Datasets</td><td>DocGeo [11] ECCV&#x27;22</td><td>Li et al. [23] ICCV&#x27;23</td><td>BGSNet [71] CVPR&#x27;23</td><td>DocShadow [25] ICCV&#x27;23</td><td>UDoc-GAN [59] MM&#x27;22</td><td>GCDRNet [70] TAI&#x27;23</td><td>GDB [62] PR&#x27;24</td><td>DE-GAN [50] TPAMI&#x27;20</td><td>DocDiff [61] MM&#x27;23</td><td>DocRes (ours)</td></tr><tr><td>MSSSIM↑</td><td rowspan="3">DIR300 [11]</td><td>0.6380</td><td>0.6070</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0.6264</td></tr><tr><td>AD↓</td><td>0.242</td><td>0.244</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.241</td></tr><tr><td>LD↓</td><td>6.40</td><td>7.68</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>6.83</td></tr><tr><td>SSIM↑</td><td rowspan="2">Kligler et al. [19]</td><td>-</td><td>-</td><td>0.9480</td><td>0.9088</td><td></td><td></td><td></td><td></td><td></td><td>0.9005</td></tr><tr><td rowspan="5">PSNR↑</td><td></td><td></td><td>29.17</td><td>25.12</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>27.14</td></tr><tr><td rowspan="2">Jung et al. [18]</td><td>-</td><td>-</td><td>0.9040</td><td>0.9005</td><td></td><td></td><td></td><td></td><td></td><td>0.9089</td></tr><tr><td></td><td></td><td>17.34</td><td>21.05</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>23.02</td></tr><tr><td rowspan="2">OSR [55]</td><td>-</td><td>-</td><td>0.9388</td><td>0.9023</td><td></td><td></td><td></td><td></td><td></td><td>0.9370</td></tr><tr><td></td><td></td><td>22.64</td><td>18.25</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>21.64</td></tr><tr><td>SSIM↑</td><td rowspan="2">DocUNet* [33]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.6833</td><td>0.7658</td><td></td><td></td><td></td><td>0.7598</td></tr><tr><td rowspan="3">PSNR↑</td><td></td><td></td><td></td><td></td><td>14.29</td><td>17.09</td><td>-</td><td>-</td><td>-</td><td>17.60</td></tr><tr><td rowspan="2">RealDAE [70]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.7558</td><td>0.9423</td><td></td><td></td><td></td><td>0.9219</td></tr><tr><td></td><td></td><td></td><td></td><td>16.43</td><td>24.42</td><td>-</td><td>-</td><td>-</td><td>24.65</td></tr><tr><td>SSIM↑</td><td rowspan="2">TDD [14]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>0.9226</td><td>0.9559</td><td>0.9723</td></tr><tr><td>PSNR↑</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>22.24</td><td>24.00</td><td>27.35</td></tr><tr><td>FM↑</td><td rowspan="3">DIBCO&#x27;18 [46]</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>91.09</td><td>77.59</td><td>88.11</td><td>89.82</td><td>89.82</td></tr><tr><td>pFM↑</td><td></td><td></td><td></td><td></td><td></td><td>94.57</td><td>85.74</td><td>90.43</td><td>94.33</td><td>94.33</td></tr><tr><td>PSNR↑</td><td></td><td></td><td></td><td></td><td></td><td>19.92</td><td>16.16</td><td>17.92</td><td>19.35</td><td>19.35</td></tr></table>
167
+
168
+ Table 2. Quantitative results of the ablation experiments. Best results are shown in bold.
169
+
170
+ <table><tr><td rowspan="2">Metrics</td><td rowspan="2">Datasets</td><td>Task specific</td><td colspan="3">Unified</td></tr><tr><td>Baseline</td><td>Baseline</td><td>Baseline +Fix prompt</td><td>Baseline +DTSPrompt (DocRes)</td></tr><tr><td>MSSSIM↑</td><td></td><td>0.6185</td><td>0.5943</td><td>0.6030</td><td>0.6264</td></tr><tr><td>AD↓</td><td></td><td>0.263</td><td>0.333</td><td>0.302</td><td>0.241</td></tr><tr><td>LD↓</td><td></td><td>7.18</td><td>8.26</td><td>7.77</td><td>6.83</td></tr><tr><td>SSIM↑</td><td>Kilgler et al. [19]</td><td>0.8879</td><td>0.8238</td><td>0.8977</td><td>0.9005</td></tr><tr><td rowspan="5">PSNR↑</td><td></td><td>27.41</td><td>11.95</td><td>27.08</td><td>27.14</td></tr><tr><td rowspan="2">Jung et al. [18]</td><td>0.9025</td><td>0.8573</td><td>0.9031</td><td>0.9089</td></tr><tr><td>23.18</td><td>18.01</td><td>22.42</td><td>23.02</td></tr><tr><td rowspan="2">OSR [55]</td><td>0.9259</td><td>0.8634</td><td>0.9285</td><td>0.9370</td></tr><tr><td>20.12</td><td>12.35</td><td>19.47</td><td>21.64</td></tr><tr><td>SSIM↑</td><td rowspan="2">DocUNet* [33]</td><td>0.7621</td><td>0.7620</td><td>0.7635</td><td>0.7598</td></tr><tr><td rowspan="3">PSNR↑</td><td>17.43</td><td>17.30</td><td>17.28</td><td>17.60</td></tr><tr><td rowspan="2">RealDAE [70]</td><td>0.9204</td><td>0.9050</td><td>0.9200</td><td>0.9219</td></tr><tr><td>24.21</td><td>21.75</td><td>24.32</td><td>24.65</td></tr><tr><td>SSIM↑</td><td rowspan="2">TDD [14]</td><td>0.9811</td><td>0.9639</td><td>0.9690</td><td>0.9723</td></tr><tr><td>PSNR↑</td><td>28.95</td><td>25.85</td><td>26.64</td><td>27.35</td></tr><tr><td>FM↑</td><td></td><td>76.57</td><td>74.33</td><td>77.15</td><td>89.82</td></tr><tr><td>pFM↑</td><td>DIBCO&#x27;18 [46]</td><td>79.51</td><td>76.15</td><td>81.18</td><td>94.33</td></tr><tr><td>PSNR↑</td><td></td><td>14.64</td><td>14.47</td><td>15.28</td><td>19.35</td></tr></table>
171
+
172
+ # 4.4. Results
173
+
174
+ Comparisons with SOTA task-specific models. We conduct a comprehensive comparison between our proposed DocRes and existing meticulously designed task-specific methods. Specifically, for the dewarping task, we benchmark DocRes against the current state-of-the-art method, DocGeo [11], and the recent model by Li et al. [23]. In the deshadowing domain, we compare DocRes with the latest SOTA models, namely BGSNet [71] (utilizing the model trained on the RDD dataset provided by the authors) and DocShadow [25] (based on the model trained on the SD7K dataset provided by the authors). For appearance enhancement, we assess DocRes against UDoc-GAN [59] and GC-DRNet [70]. The binarization task involves a comparison with the current SOTA method, GDB [62]. Additionally, we contrast our approach with DocDiff [61] and DE-GAN [50],
175
+
176
+ both of which aim to unify multiple tasks within a single network structure but still necessitate separate training for each task, resulting in the need for multiple models.
177
+
178
+ Results across multiple benchmark datasets for the five tasks are presented in Table 1. It can be seen that DocRes not only competes with existing task-specific SOTA models but also surpasses them in several instances. DocRes achieves new records in certain metrics for benchmark datasets related to dewarping, deshadowing, deblurring, and appearance enhancement tasks. Even for binarization tasks, where the dedicated SOTA model GDB still holds the top position, DocRes exhibits performance closely trailing behind it. In contrast to existing unified-structure methods like DE-GAN and DocDiff, which still require separate training for each task, DocRes demonstrates significant advantages. Visualized results on these benchmarks from DocRes are showcased in Fig. 4.
179
+
180
+ While there remains room for improvement compared to some of these well-designed specialized models, it's important to underscore that our primary objective in this paper is not to achieve SOTA performance on every task. Instead, the focus is on evaluating the efficacy and potential of the unified DocRes approach. Further research, for example, can explore more sophisticated prompt fusion mechanisms to achieve SOTA performance in each task.
181
+
182
+ Ablation studies. In this subsection, we conduct ablation studies to evaluate the effectiveness of our DTSPrompt. Restormer [65] is treated as our baseline model. We first individually train it on each task, obtaining task-specific results shown in the third column of Table 2. As a state-of-the-art image restoration network, Restormer demonstrates proficiency across various tasks when trained in isolation. However, when training it in a unified model setting (the fourth column of Table 2), we see a significant performance decline across almost all benchmarks. This decline is at-
183
+
184
+ ![](images/c0f51a188b2f122c9778708999d97fb9dba00632f104ab93abc4369a4e55aca5.jpg)
185
+ Figure 4. Visualizations showcasing inputs, DTSPrompt, and restoration results from DocRes, and ground truths across various tasks, including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. Zoom in for the best view.
186
+
187
+ ![](images/05772eefdc1e823e02187cf64228ee8402cb740be26f4559ab411134b3a311dd.jpg)
188
+ Figure 5. For the same input, we employ different DTSPrompts to validate the controllability of DocRes. The results in the last column indicate that using DocRes enables the complete restoration process for photographed documents, achieving the desired final results for users. Zoom in for the best view.
189
+
190
+ attributed to the similarity in input across tasks, coupled with distinct output requirements, leading to confusion in the model's learning process.
191
+
192
+ Additionally, we explore the effectiveness of fixed prompts. A fixed prompt for each task is a $h \times w \times 3$ matrix, with constant values determined solely by the task and remaining constant regardless of the input image. For example, the fixed prompt for the dewarping task is a $h \times w \times 3$ matrix filled with zeros, while for the deshadowing task, it is filled with ones. We adopt the same fusion approach,
193
+
194
+ where the concatenated result of the fixed prompt and the input image are fed into the restoration network.
195
+
196
+ Such a simple fixed prompt approach achieves competitive performance compared to task-specific settings in appearance enhancement and deshadowing tasks. There is even a noticeable improvement in the binarization task, which could be attributed to multi-task learning helping mitigate the generalization issue caused by the scarcity of training data for the binarization task. However, for tasks like dewarping and deblurring, the fixed prompt method still experiences significant performance declines, highlighting the challenges of creating an excellent generalist model.
197
+
198
+ Our DTSPrompt excels in dewarping, deshadowing, deblurring, and binarization tasks compared to the fixed prompt approach. Particularly, there are significant improvements in the dewarping and binarization tasks. From an overall perspective across all tasks, DTSPrompt achieves superior results compared to the task-specific setting, by using only a single model without the need for additional training parameters or structural modifications.
199
+
200
+ Control ability. In this subsection, we explore the control ability of DTSPrompt. Our focus is on observing how well DocRes can perform the correct restoration task when different DTSPrompts are employed for the same input image. Specifically, we consider three tasks related to the photographed scene: dewarping, deshadowing, and appearance enhancement. The visualization results in the first four
201
+
202
+ ![](images/f3e3bd72e5cd6fa171d822312424805a1105fdaa2581f9dc70843a76bc55fa0d.jpg)
203
+
204
+ ![](images/6f502e0738c214afc7c26d6bde67d1a2c0c8d856c41863f63c010e41bb1e09a6.jpg)
205
+
206
+ ![](images/49247046d65b3cc21cdf345eb2614b2d7c49f25c9fe9a66b71d8eea4b2cf5d24.jpg)
207
+ Figure 7. Visualization results when applying models (DEGAN [50], DocDiff [61] and our DocRes) to perform the deblurring task on photographed documents, which were merely trained on clean document blurring data. Zoom in for the best view.
208
+
209
+ ![](images/f83f0217184a730a692140c94588768c7e8182f16c6a2a5895e5a3a9ee420372.jpg)
210
+ Input
211
+ Figure 6. Visualization results when applying models (DEGAN [50] and our DocRes) to perform binarization on photographed documents, which were merely trained on scanned ancient document binarization data. Zoom in for the best view.
212
+
213
+ ![](images/7185fbc4910a8e0245f47171ea4ee9de1a452ea0754e0d0eaa5c44772b4e21bf.jpg)
214
+ DE-GAN
215
+
216
+ ![](images/e9af2e8e2b317e7a56c193a7c05c443100bf1aeccc3ca5ae525d1a25bbd8301e.jpg)
217
+ DocRes
218
+
219
+ columns of Fig. 5 show that DocRes can accurately perform the corresponding tasks. In addition, we also demonstrate in the last column that a single DocRes model can complete the entire enhancement process of photographed document images and obtain the final results desired by the user.
220
+
221
+ Generalization. An essential trait of a generalist model lies in its ability to harness synergies among multi-task data to improve overall generalization. In this context, we delve into the generalization capability of DocRes through visualizations. As outlined in Section 4.1, the training data for the binarization task in DocRes primarily consists of scanned documents, particularly ancient ones, presenting a considerable gap from the photographed modern documents [2]. Here, we aim to apply DocRes to binarize photographed documents, introducing unseen noises like blurriness, shadows, low-light conditions, and reflections that are not present in the binarization training set. As shown in Fig. 6, DocRes consistently demonstrates excellent performance on such out-of-domain data. In contrast, DE-GAN's [50] performance significantly deteriorates in the presence of shadow and low-light interference.
222
+
223
+ Moreover, we extend the evaluation to the deblurring task for photographed document images. Notably, the training data for the deblurring task in DocRes consists exclusively of clean document images. As illustrated in Fig. 7, DocRes exhibits superior deblurring performance on photographed document images compared to DE-GAN [50] and DocDiff [61], both of which were also trained exclusively on the TDD dataset for the deblurring task.
224
+
225
+ We attribute DocRes's robust out-of-domain generalization capability to its learning of patterns associated with photographed noise through tasks like dewarping, deshadowing, and appearance enhancement.
226
+
227
+ ![](images/45ad838c8adbad1bcfe8c5df9d234a2463aec973692970c117f7ac76074ebe97.jpg)
228
+ Input
229
+
230
+ ![](images/dbc13f19a5e68cb4eef8a28753a93a99e1871b90e454f83863fa7856ae124b61.jpg)
231
+ DE-GAN
232
+
233
+ ![](images/27f666ac4ea6a030c660616848e59766445964a763c821c472878b8aa13948c9.jpg)
234
+ DocDiff
235
+ 1
236
+
237
+ ![](images/623cb7fa55fa90829c4eab296eaf58d25d4e3318e5806d2bfdf5c3e5a10c67a5.jpg)
238
+
239
+ # 5. Discussions and conclusions
240
+
241
+ This paper presents DocRes, a generalist model designed for unifying document image restoration tasks, including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. The key innovation of DocRes is the incorporation of Dynamic Task-Specific Prompt (DTSPrompt), which leverages prior features to construct visual prompts, acting not only as a guiding cue for specific tasks but also supplying additional information to enhance restoration performance. It can be seamlessly applied to existing restoration networks, resulting in a generalist model that can accommodate input with high or variable resolutions. With the support of DTSPrompt, DocRes achieves performance levels matching or surpassing SOTA task-specific models, without the need for extra training parameters or complex architectural designs. We also illustrate DocRes's controllability in performing different tasks when presented with the same input image and its capacity to generalize to out-of-domain data.
242
+
243
+ Notably, the DTSPrompt is not confined to the specific tasks explored in this paper. It can be potentially extended to incorporate more diverse prior features [15, 31, 48, 63], such as DCT coefficients, SIFT, JPEG noise, and resampling artifacts, to accommodate a broader range of image restoration tasks. Additionally, it is worth investigating prompt fusion mechanisms for better integrating the DTSPrompt. In summary, this paper successfully attempts to develop a unified multi-task model for document image restoration, inspiring future research of generalist or foundation models for pixel-level image processing tasks.
244
+
245
+ # Acknowledgement
246
+
247
+ This paper is supported in part by National Natural Science Foundation of China (Grant No.: 61936003), National Natural Science Foundation of China AIGC 2024 Special Project (Grand App. No.: 6244100044), National Key Research and Development Program of China (2022YFC3301703)
248
+
249
+ # References
250
+
251
+ [1] Amir Bar, Yossi Gandelsman, Trevor Darrell, Amir Globerson, and Alexei Efros. Visual prompting via image inpainting. NeurIPS, 35:25005-25017, 2022. 2, 3
252
+ [2] Rodrigo Bernardino, Rafael Dueire Lins, and Ricardo da Silva Barboza. A quality, size and time assessment of the binarization of documents photographed by smartphones. Journal of Imaging, 9(2):41, 2023. 8
253
+ [3] Ting Chen, Saurabh Saxena, Lala Li, Tsung-Yi Lin, David J Fleet, and Geoffrey E Hinton. A unified sequence interface for vision tasks. NeurIPS, 35:31333-31346, 2022. 1, 2, 3
254
+ [4] Hiuyi Cheng, Peirong Zhang, Sihang Wu, Jiaxin Zhang, Qiyuan Zhu, Zecheng Xie, Jing Li, Kai Ding, and Lianwen Jin. M6Doc: A large-scale multi-format, multi-type, multi-Layout, multi-language, multi-annotation category dataset for modern document layout analysis. In CVPR, pages 15138–15147, 2023. 2
255
+ [5] Sagnik Das, Ke Ma, Zhixin Shu, Dimitris Samaras, and Roy Shilkrot. DewarpNet: Single-image document unwarping with stacked 3D and 2D regression networks. In ICCV, pages 131-140, 2019. 1, 2, 3, 5
256
+ [6] S Das, H Ma Sial, R Baldrich, M Vanrell, and D Samaras. Intrinsic decomposition of document images in-the-wild. In BMVC, 2020. 2, 4, 5
257
+ [7] Fanbo Deng, Zheng Wu, Zheng Lu, and Michael S Brown. Binarizationshop: a user-assisted software suite for converting old documents to black-and-white. In JCDL, pages 255-258, 2010. 5
258
+ [8] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2020. 2, 3
259
+ [9] Hao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng, and Houqiang Li. DocTr: Document image transformer for geometric unwarping and illumination correction. In ACM MM, pages 273-281, 2021. 1, 3, 5
260
+ [10] Hao Feng, Wengang Zhou, Jiajun Deng, Qi Tian, and Houqiang Li. Docscanner: Robust document image rectification with progressive learning. arXiv preprint arXiv:2110.14968, 2021. 2
261
+ [11] Hao Feng, Wengang Zhou, Jiajun Deng, Yuechen Wang, and Houqiang Li. Geometric representation learning for document image rectification. In ECCV, pages 475-492, 2022. 2, 3, 5, 6
262
+ [12] Basilis Gatos, Konstantinos Ntirogiannis, and Ioannis Pratikakis. ICDAR 2009 document image binarization contest (DIBCO 2009). In ICDAR, pages 1375-1382, 2009. 5
263
+ [13] Rachid Hedjam, Hossein Ziaei Nafchi, Reza Farrahi Moghaddam, Margaret Kalacska, and Mohamed Cheriet. IC-DAR 2015 contest on multispectral text extraction. In IC-DAR, pages 1181-1185, 2015. 5
264
+ [14] Michal Hradiš, Jan Kotera, Pavel Zemčík, and Filip Šroubek. Convolutional neural networks for direct text deblurring. In BMVC, 2015. 2, 5, 6
265
+
266
+ [15] Fangjun Huang, Jiwu Huang, and Yun Qing Shi. Detecting double JPEG compression with the same quantization matrix. IEEE TIFS, 5(4):848-856, 2010. 8
267
+ [16] Fuxi Jia, Cunzhao Shi, Kun He, Chunheng Wang, and Baihua Xiao. Degraded document image binarization using structural symmetry of strokes. Pattern Recognition, 74: 225-240, 2018. 4
268
+ [17] Xiangwei Jiang, Rujiao Long, Nan Xue, Zhibo Yang, Cong Yao, and Gui-Song Xia. Revisiting document image dewarping by grid regularization. In CVPR, pages 4543-4552, 2022. 2, 3
269
+ [18] Seungjun Jung, Muhammad Abul Hasan, and Changick Kim. Water-filling: An efficient algorithm for digitized document shadow removal. In ACCV, pages 398-414, 2018. 5, 6
270
+ [19] Netanel Kligler, Sagi Katz, and Ayellet Tal. Document enhancement using visibility detection. In CVPR, pages 2374-2382, 2018. 5, 6
271
+ [20] Jaihyun Koh, Jangho Lee, and Sungroh Yoon. Single-image deblurring with neural networks: A comparative survey. Computer Vision and Image Understanding, 203:103134, 2021. 4
272
+ [21] Ashutosh Kulkarni, Prashant W Patil, Subrahmanyam Murala, and Sunil Gupta. Unified multi-weather visibility restoration. IEEE TMM, 2022. 3
273
+ [22] Boyun Li, Xiao Liu, Peng Hu, Zhongqin Wu, Jiancheng Lv, and Xi Peng. All-in-one image restoration for unknown corruption. In CVPR, pages 17452-17462, 2022. 3
274
+ [23] Heng Li, Xiangping Wu, Qingcai Chen, and Qianjin Xiang. Foreground and text-lines aware document image rectification. In CVPR, pages 19574-19583, 2023. 1, 3, 5, 6
275
+ [24] Ruoteng Li, Robby T Tan, and Loong-Fah Cheong. All in one bad weather removal using architectural search. In CVPR, pages 3175-3185, 2020. 1, 2, 3
276
+ [25] Zinuo Li, Xuhang Chen, Chi-Man Pun, and Xiaodong Cun. High-resolution document shadow removal via a large-scale real-world dataset and a frequency-aware shadow erasing net. In CVPR, pages 12449-12458, 2023. 2, 6
277
+ [26] Yun-Hsuan Lin, Wen-Chin Chen, and Yung-Yu Chuang. Bedsr-net: A deep shadow removal network from a single document image. In CVPR, pages 12905-12914, 2020. 2, 3
278
+ [27] Rosanne Liu, Joel Lehman, Piero Molino, Felipe Petroski Such, Eric Frank, Alex Sergeev, and Jason Yosinski. An intriguing failing of convolutional neural networks and the coordconv solution. NeurIPS, 31, 2018. 3
279
+ [28] Wenjie Liu, Bingshu Wang, Jiangbin Zheng, and Wenmin Wang. Shadow removal of text document images using background estimation and adaptive text enhancement. In ICASSP, pages 1-5, 2023. 3
280
+ [29] Yihao Liu, Xiangyu Chen, Xianzheng Ma, Xintao Wang, Jiantao Zhou, Yu Qiao, and Chao Dong. Unifying image processing as visual prompting question answering. arXiv preprint arXiv:2310.10513, 2023. 2, 3
281
+ [30] Jiasen Lu, Christopher Clark, Rowan Zellers, Roozbeh Mottaghi, and Aniruddha Kembhavi. Unified-IO: A unified model for vision, language, and multi-modal tasks. In ICLR, 2022. 1, 3
282
+
283
+ [31] Weiqi Luo, Jiwu Huang, and Guoping Qiu. JPEG error analysis and its applications to digital image forensics. IEEE TIFS, 5(3):480-491, 2010. 8
284
+ [32] Jiaqi Ma, Tianheng Cheng, Guoli Wang, Qian Zhang, Xinggang Wang, and Lefei Zhang. Prores: Exploring degradation-aware visual prompt for universal image restoration. arXiv preprint arXiv:2306.13653, 2023. 2, 3
285
+ [33] Ke Ma, Zhixin Shu, Xue Bai, Jue Wang, and Dimitris Samaras. DocUNet: Document image unwarping via a stacked U-Net. In CVPR, pages 4700–4709, 2018. 1, 2, 5, 6
286
+ [34] Ke Ma, Sagnik Das, Zhixin Shu, and Dimitris Samaras. Learning from documents in the wild to improve document unwarping. In ACM SIGGRAPH, pages 1-9, 2022. 5
287
+ [35] Yuhi Matsuo, Naofumi Akimoto, and Yoshimitsu Aoki. Document shadow removal with foreground detection learning from fully synthetic images. In ICIP, pages 1656-1660, 2022. 5
288
+ [36] Hossein Ziaei Nafchi, Seyed Morteza Ayatollahi, Reza Farrahi Moghaddam, and Mohamed Cheriet. An efficient ground truthing tool for binarization of historical manuscripts. In ICDAR, pages 807-811, 2013. 5
289
+ [37] Konstantinos Ntirogiannis, Basilis Gatos, and Ioannis Pratikakis. ICFHR 2014 competition on handwritten document image binarization (H-DIBCO 2014). In ICFHR, pages 809-813, 2014. 5
290
+ [38] Dezhi Peng, Zhenhua Yang, Jiaxin Zhang, Chongyu Liu, Yongxin Shi, Kai Ding, Fengjun Guo, and Lianwen Jin. UPOCR: Towards unified pixel-levelOCR interface. arXiv preprint arXiv:2312.02694, 2023. 1
291
+ [39] Vaishnav Potlapalli, Syed Waqas Zamir, Salman Khan, and Fahad Shahbaz Khan. PromptIR: Prompting for all-in-one blind image restoration. arXiv preprint arXiv:2306.13090, 2023. 3
292
+ [40] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. H-DIBCO 2010-handwritten document image binarization competition. In ICFHR, pages 727-732, 2010. 5
293
+ [41] Ioannis Pratikakis, Basilios Gatos, and Konstantinos Ntirogiannis. ICDAR 2011 document image binarization contest (DIBCO 2011). In ICDAR, 2011.
294
+ [42] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. ICFHR 2012 competition on handwritten document image binarization (H-DIBCO 2012). In ICFHR, pages 817-822, 2012.
295
+ [43] Ioannis Pratikakis, Basilis Gatos, and Konstantinos Ntirogiannis. ICDAR 2013 document image binarization contest (DIBCO 2013). In ICDAR, pages 1471-1476, 2013.
296
+ [44] Ioannis Pratikakis, Konstantinos Zagoris, George Barlas, and Basilis Gatos. ICFHR 2016 handwritten document image binarization contest (H-DIBCO 2016). In ICFHR, pages 619-623, 2016.
297
+ [45] Ioannis Pratikakis, Konstantinos Zagoris, George Barlas, and Basilis Gatos. ICDAR2017 competition on document image binarization (DIBCO 2017). In ICDAR, pages 1395-1403, 2017. 5
298
+ [46] Ioannis Pratikakis, Konstantinos Zagori, Panagiotis Kaddas, and Basilis Gatos. ICFHR 2018 competition on handwritten
299
+
300
+ document image binarization (H-DIBCO 2018). In ICFHR, 2018. 5, 6
301
+ [47] Ioannis Pratikakis, Konstantinos Zagoris, Xenofon Karagiannis, Lazaros Tsochatzidis, Tanmoy Mondal, and Isabelle Marhot-Santaniello. ICDAR 2019 competition on document image binarization (DIBCO 2019). In ICDAR, 2019. 5
302
+ [48] Chenfan Qu, Chongyu Liu, Yuliang Liu, Xinhong Chen, Dezhi Peng, Fengjun Guo, and Lianwen Jin. Towards robust tampered text detection in document image: New dataset and new solution. In CVPR, pages 5937-5946, 2023. 8
303
+ [49] Jaakko Sauvola and Matti Pietikainen. Adaptive document image binarization. Pattern recognition, 33(2):225-236, 2000. 4
304
+ [50] Mohamed Ali Souibgui and Yousri Kessentini. DE-GAN: A conditional generative adversarial network for document enhancement. IEEE TPAMI, 44(3):1180-1191, 2020. 2, 6, 8
305
+ [51] Mohamed Ali Souibgui, Sanket Biswas, Andres Mafla, Ali Furkan Biten, Alicia Fornés, Yousri Kessentini, Josep Lladós, Lluis Gomez, and Dimosthenis Karatzas. Text-DIAE: a self-supervised degradation invariant autoencoder for text recognition and document enhancement. In AAAI, pages 2330-2338, 2023. 2
306
+ [52] Zineng Tang, Ziyi Yang, Guoxin Wang, Yuwei Fang, Yang Liu, Chenguang Zhu, Michael Zeng, Cha Zhang, and Mohit Bansal. Unifying vision, text, and layout for universal document processing. In CVPR, pages 19254-19264, 2023. 2, 3
307
+ [53] Chris Tensmeyer and Tony Martinez. Document image binarization with fully convolutional neural networks. In ICDAR, pages 99-104, 2017. 4
308
+ [54] Jeya Maria Jose Valanarasu, Rajeev Yasarla, and Vishal M Patel. TransWeather: Transformer-based restoration of images degraded by adverse weather conditions. In CVPR, pages 2353-2363, 2022. 2, 3
309
+ [55] Bingshu Wang and CL Philip Chen. Local water-filling algorithm for shadow detection and removal of document images. Sensors, 20(23):6929, 2020. 5, 6
310
+ [56] Hongyi Wang, Yang Xue, Jiaxin Zhang, and Lianwen Jin. Scene table structure recognition with segmentation collaboration and alignment. Pattern Recognition Letters, 165:146-153, 2023. 2
311
+ [57] Peng Wang, An Yang, Rui Men, Junyang Lin, Shuai Bai, Zhikang Li, Jianxin Ma, Chang Zhou, Jingren Zhou, and Hongxia Yang. OFA: Unifying architectures, tasks, and modalities through a simple sequence-to-sequence learning framework. In ICML, pages 23318-23340, 2022. 1, 2, 3
312
+ [58] Xinlong Wang, Wen Wang, Yue Cao, Chunhua Shen, and Tiejun Huang. Images speak in images: A generalist painter for in-context visual learning. In CVPR, pages 6830-6839, 2023. 1, 2, 3
313
+ [59] Yonghui Wang, Wengang Zhou, Zhenbo Lu, and Houqiang Li. UDoc-GAN: Unpaired document illumination correction with background light prior. In ACM MM, pages 5074-5082, 2022. 1, 2, 4, 6
314
+ [60] Zhou Wang, Eero P Simoncelli, and Alan C Bovik. Multiscale structural similarity for image quality assessment. In ACSSC, pages 1398-1402, 2003. 5
315
+
316
+ [61] Zongyuan Yang, Baolin Liu, Yongping Xxiong, Lan Yi, Guibin Wu, Xiaojun Tang, Ziqi Liu, Junjie Zhou, and Xing Zhang. DocDiff: Document enhancement via residual diffusion models. In ACM MM, pages 2795-2806, 2023. 2, 5, 6, 8
317
+ [62] Zongyuan Yang, Baolin Liu, Yongping Xiong, and Guibin Wu. GDB: Gated convolutions-based document binarization. Pattern Recognition, 146:109989, 2024. 1, 2, 4, 5, 6
318
+ [63] Jaeyoung Yoo, Sang-ho Lee, and Nojun Kwak. Image restoration by estimating frequency distribution of local patches. In CVPR, pages 6684-6692, 2018. 8
319
+ [64] Shaodi You, Yasuyuki Matsushita, Sudipta Sinha, Yusuke Bou, and Katsushi Ikeuchi. Multiview rectification of folded documents. IEEE TPAMI, 40(2):505-511, 2017. 5
320
+ [65] Syed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, and Ming-Hsuan Yang. Restormer: Efficient transformer for high-resolution image restoration. In CVPR, pages 5728-5739, 2022. 5, 6
321
+ [66] Francisco Zamora-Martínez, Salvador Espaa Boquera, and María José Castro Bleda. Behaviour-based clustering of neural networks applied to document enhancement. In IWANN, 2007. 5
322
+ [67] Cheng Zhang, Yu Zhu, Qingsen Yan, Jinqiu Sun, and Yanning Zhang. All-in-one multi-degradation image restoration network via hierarchical degradation representation. In ACM MM, pages 2285-2293, 2023. 2, 3
323
+ [68] Jiaxin Zhang, Canjie Luo, Lianwen Jin, Fengjun Guo, and Kai Ding. Marior: Margin removal and iterative content rectification for document dewarping in the wild. In ACM MM, pages 2805-2815, 2022. 2, 3, 5
324
+ [69] Jiaxin Zhang, Bangdong Chen, Hiuyi Cheng, Lianwen Jin, Fengjun Guo, and Kai Ding. DocAligner: Annotating real-world photographic document images by simply taking pictures. arXiv preprint arXiv:2306.05749, 2023. 5
325
+ [70] Jiaxin Zhang, Lingyu Liang, Kai Ding, Fengjun Guo, and Lianwen Jin. Appearance enhancement for camera-captured document images in the wild. IEEE Transactions on Artificial Intelligence, 2023. 1, 2, 4, 5, 6
326
+ [71] Ling Zhang, Yinghao He, Qing Zhang, Zheng Liu, Xiaolong Zhang, and Chunxia Xiao. Document image shadow removal guided by color-aware background. In CVPR, pages 1818-1827, 2023. 2, 3, 5, 6
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a48e773bbf8df162b861fc68f06e1e04df643e411568499256be1d3c61a79961
3
+ size 610617
2024/DocRes_ A Generalist Model Toward Unifying Document Image Restoration Tasks/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Domain Gap Embeddings for Generative Dataset Augmentation/5494a5ac-2304-4ac2-9420-1dfdf881d3ed_content_list.json ADDED
@@ -0,0 +1,1529 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Domain Gap Embeddings for Generative Dataset Augmentation",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 161,
8
+ 123,
9
+ 805,
10
+ 143
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Yinong Oliver Wang*",
17
+ "bbox": [
18
+ 122,
19
+ 165,
20
+ 294,
21
+ 184
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Younjoon Chung*",
28
+ "bbox": [
29
+ 328,
30
+ 166,
31
+ 470,
32
+ 184
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Chen Henry Wu",
39
+ "bbox": [
40
+ 504,
41
+ 166,
42
+ 635,
43
+ 183
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Carnegie Mellon University",
50
+ "bbox": [
51
+ 372,
52
+ 185,
53
+ 594,
54
+ 202
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Fernando De la Torre",
61
+ "bbox": [
62
+ 674,
63
+ 166,
64
+ 846,
65
+ 181
66
+ ],
67
+ "page_idx": 0
68
+ },
69
+ {
70
+ "type": "text",
71
+ "text": "{yinongwa, younjooc, chenwu2, ftorre}@cs.cmu.edu",
72
+ "bbox": [
73
+ 269,
74
+ 204,
75
+ 692,
76
+ 219
77
+ ],
78
+ "page_idx": 0
79
+ },
80
+ {
81
+ "type": "text",
82
+ "text": "Abstract",
83
+ "text_level": 1,
84
+ "bbox": [
85
+ 233,
86
+ 253,
87
+ 312,
88
+ 268
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "The performance of deep learning models is intrinsically tied to the quality, volume, and relevance of their training data. Gathering ample data for production scenarios often demands significant time and resources. Among various strategies, data augmentation circumvents exhaustive data collection by generating new data points from existing ones. However, traditional augmentation techniques can be less effective amidst a shift in training and testing distributions.",
95
+ "bbox": [
96
+ 75,
97
+ 286,
98
+ 468,
99
+ 407
100
+ ],
101
+ "page_idx": 0
102
+ },
103
+ {
104
+ "type": "text",
105
+ "text": "This paper explores the potential of synthetic data by leveraging large pre-trained models for data augmentation, especially when confronted with distribution shifts. Although recent advancements in generative models have enabled several prior works in cross-distribution data generation, they require model fine-tuning and a complex setup. To bypass these shortcomings, we introduce Domain Gap Embeddings (DoGE), a plug-and-play semantic data augmentation framework in a cross-distribution few-shot setting. Our method extracts disparities between source and desired data distributions in a latent form, and subsequently steers a generative process to supplement the training set with endless diverse synthetic samples. Our evaluations, conducted on a subpopulation shift and three domain adaptation scenarios under a few-shot paradigm, reveal that our versatile method improves performance across tasks without needing hands-on intervention or intricate fine-tuning. DoGE paves the way to effortlessly generate realistic, controllable synthetic datasets following the test distributions, bolstering real-world efficacy for downstream task models.",
106
+ "bbox": [
107
+ 75,
108
+ 407,
109
+ 470,
110
+ 709
111
+ ],
112
+ "page_idx": 0
113
+ },
114
+ {
115
+ "type": "text",
116
+ "text": "1. Introduction",
117
+ "text_level": 1,
118
+ "bbox": [
119
+ 76,
120
+ 732,
121
+ 207,
122
+ 748
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "The swift progression of computer vision in the past decade can be attributed to improved deep learning algorithms for large-scale training, increased computing power, and the availability of vast datasets such as ImageNet [15] and LAION-5B [66]. While such internet-scale real-world datasets allow to train general vision models, they are not tailored to application scenarios with specific data distribu",
129
+ "bbox": [
130
+ 75,
131
+ 758,
132
+ 468,
133
+ 863
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "image",
139
+ "img_path": "images/ba9b2fe1b01a4ae29ea1564cecad518ffedb430e15dcda587527a86231daa2b2.jpg",
140
+ "image_caption": [
141
+ "Figure 1. Overview. In real-world applications, computer vision models often suffer from discrepancies between training and testing data distributions. To alleviate this problem, we propose a novel dataset augmentation method to complement the training dataset with synthetic images. Given (a) a source dataset (e.g., real photos), and (b) a few samples from a target distribution (e.g., paintings), we extract the distribution differences into (c) Domain Gap Embeddings, which enables generating (d) augmented synthetic data to enhance the model performance."
142
+ ],
143
+ "image_footnote": [],
144
+ "bbox": [
145
+ 504,
146
+ 253,
147
+ 885,
148
+ 465
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "tions, i.e., the cross-distribution adaptation, which can lead to serious concerns in reliability [41, 63]. This issue often requires costly data collection where models operate.",
155
+ "bbox": [
156
+ 498,
157
+ 625,
158
+ 890,
159
+ 670
160
+ ],
161
+ "page_idx": 0
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "Among various solutions to this issue, data augmentation has been explored to alleviate such extensive data collection. However, images generated with traditional data augmentation through flipping, gamma adjustments, noise, or more sophisticated methods [14, 81] often fail to align the augmented data with shifted test distributions. Although there are cross-domain augmentation techniques [43, 44], these strategies are task-specific and not easily transferable to other problems. Besides these data-centric efforts, unsupervised domain adaptation (UDA) is an active field of research for such problems from the model aspect (e.g., [32]). Our approach distinguishes itself from the above by its ability to produce endless data with much more variability and the need for much fewer samples (i.e., few-shot).",
166
+ "bbox": [
167
+ 496,
168
+ 672,
169
+ 890,
170
+ 883
171
+ ],
172
+ "page_idx": 0
173
+ },
174
+ {
175
+ "type": "text",
176
+ "text": "To mitigate the distribution discrepancy issues, synthetic",
177
+ "bbox": [
178
+ 519,
179
+ 885,
180
+ 890,
181
+ 900
182
+ ],
183
+ "page_idx": 0
184
+ },
185
+ {
186
+ "type": "header",
187
+ "text": "CVF",
188
+ "bbox": [
189
+ 106,
190
+ 2,
191
+ 181,
192
+ 42
193
+ ],
194
+ "page_idx": 0
195
+ },
196
+ {
197
+ "type": "header",
198
+ "text": "This CVPR paper is the Open Access version, provided by the Computer Vision Foundation. Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.",
199
+ "bbox": [
200
+ 236,
201
+ 0,
202
+ 807,
203
+ 44
204
+ ],
205
+ "page_idx": 0
206
+ },
207
+ {
208
+ "type": "page_footnote",
209
+ "text": "*Equal contribution.",
210
+ "bbox": [
211
+ 94,
212
+ 875,
213
+ 205,
214
+ 887
215
+ ],
216
+ "page_idx": 0
217
+ },
218
+ {
219
+ "type": "page_footnote",
220
+ "text": "Source code available at https://domain-gap-embeddings.github.io/.",
221
+ "bbox": [
222
+ 96,
223
+ 887,
224
+ 455,
225
+ 898
226
+ ],
227
+ "page_idx": 0
228
+ },
229
+ {
230
+ "type": "page_number",
231
+ "text": "28684",
232
+ "bbox": [
233
+ 478,
234
+ 944,
235
+ 517,
236
+ 955
237
+ ],
238
+ "page_idx": 0
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "datasets have also been studied as a more controllable, diverse, high-quality supplement to the training dataset. Traditionally, simulators and graphics engines are the primary sources of synthetic datasets [56, 70, 76]. However, they typically suffer from unrealistic (i.e., domain gap) and bounded diversity [25]. With the advancement of visual generative models, they are leveraged for in-domain dataset synthesis in recent works [1, 34, 83]. Nonetheless, very few dataset generation methods [3] focus on the cross-distribution setting guided by just a few input target samples (e.g., 20 images), which is realistic in many scenarios of interest. Moreover, to the best of our knowledge, none achieves target dataset synthesis in such a setting without fine-tuning. The question that we try to address in this paper is: Can we use off-the-shelf large pre-trained models (LPMs) as synthetic data generators for effective few-shot dataset augmentation towards specific data distributions?",
243
+ "bbox": [
244
+ 75,
245
+ 90,
246
+ 472,
247
+ 348
248
+ ],
249
+ "page_idx": 1
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "To address this question, we propose DoGE, a few-shot cross-distribution dataset generation framework that is task-agnostic and inference-only, as shown in Figure 1. The framework takes (a) a source distribution (i.e., the original training dataset), and (b) a few samples from a target distribution in the application context. We propose to extract the distribution discrepancies (e.g., semantic changes, style transfer) into (c) representations in the CLIP latent space [58], named the Domain Gap Embeddings. We then utilize the extracted gap representations to augment source data to generate (d) synthetic datasets that follow the same distribution as the provided few target images.",
254
+ "bbox": [
255
+ 75,
256
+ 349,
257
+ 472,
258
+ 530
259
+ ],
260
+ "page_idx": 1
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "Our method successfully generates synthetic supplementary datasets as long as (1) the latent representation space, CLIP, has the capacity to express the distribution differences, and (2) the generative diffusion models, Stable Un-CLIP [61], is capable of generating in the target distribution. Under these loose constraints, we show that our synthetic datasets from DoGE significantly improve model performance in various computer vision tasks, including subpopulation shifts and domain adaptation. Moreover, DoGE is compatible with and complementary to parallel methods such as UDA and fine-tuning. In summary, DoGE provides the following contributions:",
265
+ "bbox": [
266
+ 75,
267
+ 531,
268
+ 472,
269
+ 712
270
+ ],
271
+ "page_idx": 1
272
+ },
273
+ {
274
+ "type": "list",
275
+ "sub_type": "text",
276
+ "list_items": [
277
+ "- Accessibility: Our framework offers a plug-and-play dataset augmentation experience. With a source dataset to augment, users only need to provide a few unlabeled images from the target distribution to obtain an effective synthetic dataset in the desired domain.",
278
+ "- Efficiency: Our cross-distribution dataset augmentation framework generates data in the target domain without the need for fine-tuning. We directly take advantage of public LPMs, and each step can be inference-only.",
279
+ "- Effectiveness: The synthetic datasets from our generation pipeline can successfully improve the task model performance by a significant margin."
280
+ ],
281
+ "bbox": [
282
+ 76,
283
+ 715,
284
+ 468,
285
+ 901
286
+ ],
287
+ "page_idx": 1
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "2. Related Works",
292
+ "text_level": 1,
293
+ "bbox": [
294
+ 500,
295
+ 89,
296
+ 650,
297
+ 106
298
+ ],
299
+ "page_idx": 1
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "While real-world images are cornerstones of computer vision, as modern vision datasets increase in size, it has become gradually more challenging to scrutinize and clean the collected data. The difficulty of curating large datasets poses potential issues such as noisy labels and dataset imbalance [5, 8, 52]. Hence synthetic data became a popular alternative with high controllability and accessibility.",
304
+ "bbox": [
305
+ 496,
306
+ 114,
307
+ 893,
308
+ 223
309
+ ],
310
+ "page_idx": 1
311
+ },
312
+ {
313
+ "type": "text",
314
+ "text": "Generative Models for Image Data: Recent advances in generative models have provided powerful tools for synthetic data generation. Generative Adversarial Network (GAN) pioneered a new direction for high-quality image synthesis [6, 21, 37, 38]. In parallel, diffusion models [28, 29, 51, 69] demonstrate their promising potential, leading to many astonishing works including GLIDE [50], DALL•E 2 [59], Imagen [64], and Stable Diffusion [61].",
315
+ "bbox": [
316
+ 496,
317
+ 227,
318
+ 893,
319
+ 348
320
+ ],
321
+ "page_idx": 1
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "Besides generative backbones, fine-grained controllability of the generative models is also essential for data synthesis. In the direction of GANs, CycleGAN [86], CyCADA [30], and CLIP-enabled methods [54, 87] achieved effective image-to-image transfer and targeted editing toward desired distributions. For diffusion models, various conditioning techniques regulate the generations. Some methods [7, 26] leverage the cross-attention maps to apply accurate prompt-based augmentations. Other works [18, 22, 75, 80] learn special tokens and embeddings to preserve identities during data generation. Similarly, methods in [23, 33, 39, 40, 62] fine-tune the diffusion models for desired generation, while image-to-image synthesis [49, 77] is also critical to data augmentation. Finally, ControlNet [82] uses condition maps to control the generation accurately.",
326
+ "bbox": [
327
+ 496,
328
+ 349,
329
+ 895,
330
+ 577
331
+ ],
332
+ "page_idx": 1
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "Synthetic Data Generation: With such extensive generation capability and fine-grained controllability, generative models have been leveraged to populate synthetic datasets [9, 34]. GANs have been used for effective synthetic dataset generation through latent space manipulation [4, 42, 47, 83]. Enabled by the abundant generation controls in diffusion-based networks, more recent works leverage diffusion models to improve data diversity by expanding existing datasets [2, 57, 68, 71, 74, 84].",
337
+ "bbox": [
338
+ 496,
339
+ 583,
340
+ 893,
341
+ 718
342
+ ],
343
+ "page_idx": 1
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "While the above methods can generally expand a given dataset, they suffer from subpopulation and domain shifts in datasets. Regarding subpopulation shifts, Fill-Up [67] incorporates Textual Inversion [18] to fix imbalanced datasets by uneven generation but requires optimizing a token for each class. To address domain shifts, some methods [16, 79] utilize captioning models to describe target distributions and construct new prompts for generation. However, since the expressibility of texts is limited, other methods also resort to fine-tuning for adaptation. Assuming access to the full target dataset, solutions in [1, 55] fine-tunedImagen and DDPM [29] for better in-domain generations. Under the",
348
+ "bbox": [
349
+ 496,
350
+ 719,
351
+ 895,
352
+ 900
353
+ ],
354
+ "page_idx": 1
355
+ },
356
+ {
357
+ "type": "page_number",
358
+ "text": "28685",
359
+ "bbox": [
360
+ 478,
361
+ 944,
362
+ 519,
363
+ 957
364
+ ],
365
+ "page_idx": 1
366
+ },
367
+ {
368
+ "type": "image",
369
+ "img_path": "images/4be5d333c7e7e5c434c8c67b503ecc5f7b7bfd3fdbb7bd99fecc54e28e5326f5.jpg",
370
+ "image_caption": [
371
+ "Figure 2. Framework: (a) The source dataset and (b) a few target data samples are first (c) encoded in the CLIP embedding space. We then (d) extract the representation, named the Domain Gap Embedding, between the source and target distributions. The Domain Gap Embedding augments source image embeddings to construct the latent input to (e) the generative model (Stable UnCLIP), which generates (f) a synthetic dataset following the target distribution. Optionally (dotted lines), we can (g) integrate ControlNet to provide further structural guidance to preserve the source image structures."
372
+ ],
373
+ "image_footnote": [],
374
+ "bbox": [
375
+ 81,
376
+ 84,
377
+ 885,
378
+ 258
379
+ ],
380
+ "page_idx": 2
381
+ },
382
+ {
383
+ "type": "text",
384
+ "text": "few-shot setup where only a few target samples are available, DomainStudio [85] introduced similarity loss to conquer the over-fitting issue in fine-tuning, and DATUM [3] proposed to fine-tune the model into the target domain with crops of the few target samples. Nonetheless, such methods require domain-specific fine-tuning and may introduce training algorithm modification, while our method, with better performance in our experiment setups, can be directly applied off the shelf for the given target images.",
385
+ "bbox": [
386
+ 75,
387
+ 348,
388
+ 470,
389
+ 484
390
+ ],
391
+ "page_idx": 2
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "3. Method",
396
+ "text_level": 1,
397
+ "bbox": [
398
+ 76,
399
+ 496,
400
+ 168,
401
+ 511
402
+ ],
403
+ "page_idx": 2
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "Recognizing the lack of practical and readily available cross-distribution dataset synthesis methods, we introduce a novel, model-agnostic few-shot dataset augmentation framework. Our framework possesses the ability to create synthetic samples that conform to the target distribution based on a minimal set of input images. It is characterized by its simplicity and effectiveness, and, in its fundamental configuration, does not necessitate any training.",
408
+ "bbox": [
409
+ 75,
410
+ 521,
411
+ 468,
412
+ 642
413
+ ],
414
+ "page_idx": 2
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "Our framework consists of two main components: modeling the domain gap and generating across the domain gap, shown in Fig. 2. To generate from one dataset distribution to another, we first capture the differences between them as Domain Gap Embeddings, shown in Sec. 3.1. With the representation for the distribution gap, Sec. 3.2 illustrates our method for generating datasets from the source to target distribution, with an optional trick to preserve image quality. To further improve the usefulness of the generated dataset, we also conduct confidence-based generation cleaning methods on downstream tasks, shown in Sec. 3.3.",
419
+ "bbox": [
420
+ 75,
421
+ 643,
422
+ 468,
423
+ 808
424
+ ],
425
+ "page_idx": 2
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "3.1. Domain Gap Extraction",
430
+ "text_level": 1,
431
+ "bbox": [
432
+ 76,
433
+ 816,
434
+ 299,
435
+ 832
436
+ ],
437
+ "page_idx": 2
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "When capturing differences in data distributions, finetuning generative models across domains can be costly, and prompts may not articulate the discrepancies. Hence, we focus on modeling the distribution differences in the latent",
442
+ "bbox": [
443
+ 75,
444
+ 839,
445
+ 468,
446
+ 898
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "space. The recent research in visual representation learning introduces powerful semantic latent spaces such as CLIP. CLIP is assumed to have sufficient knowledge generalization for common settings, and its linear vector compositionality enables semantically meaningful operations [72]. In our framework, we choose to leverage the CLIP latent space to capture the gap between data distributions and directly apply it in data augmentation. Such captured distribution discrepancies are named the Domain Gap Embeddings.",
453
+ "bbox": [
454
+ 496,
455
+ 348,
456
+ 890,
457
+ 484
458
+ ],
459
+ "page_idx": 2
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "Fig. 2 (left) shows the domain gap extraction process. The input consists of a source dataset $\\mathcal{D}_S$ (Fig. 2a), with $|\\mathcal{D}_S| = N$ , and a few data samples $\\mathcal{D}_{\\mathcal{T}} = \\{y_j\\}_{j=1}^m$ (Fig. 2b) from a different target distribution with $m \\ll N$ . We first encode images from a randomly sampled subset $\\hat{\\mathcal{D}}_S = \\{x_i\\}_{i=1}^n \\subseteq \\mathcal{D}_S$ and $\\mathcal{D}_{\\mathcal{T}}$ into the CLIP space via a CLIP image encoder $\\mathcal{E}_{\\mathcal{I}}$ (Fig. 2c). Denoting the image embeddings as $z_{x_i} = \\mathcal{E}_{\\mathcal{I}}(x_i)$ and $z_{y_j} = \\mathcal{E}_{\\mathcal{I}}(y_j)$ , we study two options as the Domain Gap Extractor (Fig. 2d) to capture the gap representation $\\Delta z$ . A straightforward way is computing the expected differences of all pairs between the source and target dataset, which is equivalent to the difference of the means of the images assuming $\\mathcal{D}_S$ is independent of $\\mathcal{D}_{\\mathcal{T}}$ , i.e.,",
464
+ "bbox": [
465
+ 496,
466
+ 484,
467
+ 892,
468
+ 681
469
+ ],
470
+ "page_idx": 2
471
+ },
472
+ {
473
+ "type": "equation",
474
+ "text": "\n$$\n\\begin{array}{l} \\Delta z = \\mathbb {E} _ {x _ {i} \\in \\mathcal {D} _ {S}} \\left[ \\mathbb {E} _ {y _ {j} \\in \\mathcal {D} _ {\\mathcal {T}}} \\left[ \\mathcal {E} _ {\\mathcal {I}} \\left(y _ {j}\\right) - \\mathcal {E} _ {\\mathcal {I}} \\left(x _ {i}\\right) \\right] \\right] (1) \\\\ = \\frac {\\sum_ {j = 1} ^ {m} z _ {y _ {j}}}{m} - \\frac {\\sum_ {i = 1} ^ {n} z _ {x _ {i}}}{n}. (2) \\\\ \\end{array}\n$$\n",
475
+ "text_format": "latex",
476
+ "bbox": [
477
+ 553,
478
+ 689,
479
+ 890,
480
+ 742
481
+ ],
482
+ "page_idx": 2
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "Another way to extract the gap is through Principal Component Analysis (PCA) [17]. Since the first principal direction from PCA denotes the direction where a distribution varies the most, we leverage this property and apply PCA on a joint set $\\{z_{x_i}\\}_{i = 1}^n +\\{z_{y_j}\\}_{j = 1}^m$ with $n = m$ . The first principal direction from PCA is then considered as the domain gap representation $\\Delta z$ . From empirical results shown in Appendix A, we observe that the first option of computing the domain gap (Eq. (2)) yields better generation quality. The impact of the values of $n$ and $m$ is also addressed in",
487
+ "bbox": [
488
+ 496,
489
+ 750,
490
+ 890,
491
+ 898
492
+ ],
493
+ "page_idx": 2
494
+ },
495
+ {
496
+ "type": "page_number",
497
+ "text": "28686",
498
+ "bbox": [
499
+ 478,
500
+ 944,
501
+ 519,
502
+ 955
503
+ ],
504
+ "page_idx": 2
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "Appendix A. For the rest of this paper, we adopt this mechanism as our Domain Gap Extractor, yet users can easily design and swap in their own extractor in our framework.",
509
+ "bbox": [
510
+ 76,
511
+ 90,
512
+ 468,
513
+ 137
514
+ ],
515
+ "page_idx": 3
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "3.2. Target Dataset Generation",
520
+ "text_level": 1,
521
+ "bbox": [
522
+ 76,
523
+ 145,
524
+ 316,
525
+ 160
526
+ ],
527
+ "page_idx": 3
528
+ },
529
+ {
530
+ "type": "text",
531
+ "text": "With the domain gap extracted into the latent form $\\Delta z$ , we augment source images to generate the synthetic dataset, as shown in the right half of Fig. 2. Capturing the gap $\\Delta z$ between distributions in the CLIP space opens up methods to generate data across domains. While various diffusion-based generative models accept texts or images as input or conditions, our method contrasts with these in that we directly interact with CLIP latent embeddings. Such is made possible by the UnCLIP approach introduced in DALL·E 2, specifically the Stable UnCLIP model [61] (Fig. 2e). It is a fine-tuned Stable Diffusion model that accepts CLIP image embeddings directly as input. Hence, in this paper, we choose the Stable UnCLIP model, denoted as $G$ as our generation backbone in the framework.",
532
+ "bbox": [
533
+ 75,
534
+ 167,
535
+ 468,
536
+ 378
537
+ ],
538
+ "page_idx": 3
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "Given the distribution gap $\\Delta z$ and source image embeddings $\\{z_{x_i}\\}$ both in the CLIP space, we augment the source image representations by simply adding the gap $\\Delta z$ to them. To further increase diversity, we also introduce small Gaussian random perturbations $\\epsilon \\sim \\mathcal{N}(\\mathbf{0},10^{-3}I)$ in the augmentation. Similarly, we introduce a distributional edit strength scalar $C\\sim \\mathcal{N}(c,0.05)$ . The impact of values of $c$ is discussed in Sec. 4.4.2. Hence, the generated $k$ images, denoted as $\\{\\hat{y}_i\\}_{i = 1}^k$ (Fig. 2f) are obtained as:",
543
+ "bbox": [
544
+ 75,
545
+ 380,
546
+ 468,
547
+ 517
548
+ ],
549
+ "page_idx": 3
550
+ },
551
+ {
552
+ "type": "equation",
553
+ "text": "\n$$\n\\hat {y} _ {i} = G \\left(z _ {x _ {i}} + C \\cdot \\Delta z + \\epsilon\\right). \\tag {3}\n$$\n",
554
+ "text_format": "latex",
555
+ "bbox": [
556
+ 179,
557
+ 526,
558
+ 468,
559
+ 544
560
+ ],
561
+ "page_idx": 3
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "The above two steps form our base framework and can already achieve effective target dataset generation (details in Sec. 4). Nonetheless, in specific cases, additional techniques can be adopted for higher generation quality.",
566
+ "bbox": [
567
+ 75,
568
+ 553,
569
+ 468,
570
+ 613
571
+ ],
572
+ "page_idx": 3
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "Finer Generation Control: In some cases, it is beneficial to preserve the visual structure of the original source data to be augmented. For example, maintaining the object structure can further ensure less deformation or corruption in the generation. Because the expressiveness of one vector in the CLIP space is limited, a fine-grained structural control can introduce more detailed visual guidance on top of our domain gap embeddings.",
577
+ "bbox": [
578
+ 75,
579
+ 628,
580
+ 468,
581
+ 750
582
+ ],
583
+ "page_idx": 3
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "Therefore, we integrate ControlNet into our generative module for accurate image structure control during the generation. As shown in Fig. 2g, we can feed the input source data through a control image extractor. Given a source image, this module outputs a series of domain-invariant control maps for generation, including Canny edge maps [10] and HED edge maps [78], and processing depth and segmentation maps from ground truth labels of source data, if available. During the generation phase, we feed these control maps into our revised Stable UnCLIP model for more",
588
+ "bbox": [
589
+ 75,
590
+ 750,
591
+ 468,
592
+ 900
593
+ ],
594
+ "page_idx": 3
595
+ },
596
+ {
597
+ "type": "text",
598
+ "text": "refined generations. This guidance enriches our augmentation with the compositional information, which empirically brings further improvements as shown in Sec. 4.3.",
599
+ "bbox": [
600
+ 496,
601
+ 90,
602
+ 890,
603
+ 137
604
+ ],
605
+ "page_idx": 3
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "3.3. Confidence-Based Generation Cleaning",
610
+ "text_level": 1,
611
+ "bbox": [
612
+ 498,
613
+ 146,
614
+ 839,
615
+ 162
616
+ ],
617
+ "page_idx": 3
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "While the ControlNet integration preserves the structure and quality of our generated datasets, it is not safe to assume that every synthetic image is valid and helpful data. Inspired by [53], we propose a confidence-based filtering mechanism to remove such poor generations. Given a downstream task model trained on the source data, e.g., a classifier, we fine-tune this model with our data augmentation to improve test performance. At each iteration during fine-tuning, before training we first perform inference with the current model to filter out augmented data with highly confident but incorrect predictions. The confidence is determined as the highest predicted softmax score $s$ among all classes. With a threshold parameter $t$ , we discard synthetic samples where the model prediction is wrong but its confidence is greater than the threshold, i.e., $s > t$ . We only temporarily discard samples in each training step but never eliminate any data from the dataset. Please see Appendix B for details.",
622
+ "bbox": [
623
+ 496,
624
+ 169,
625
+ 890,
626
+ 428
627
+ ],
628
+ "page_idx": 3
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "4. Experiments",
633
+ "text_level": 1,
634
+ "bbox": [
635
+ 498,
636
+ 441,
637
+ 633,
638
+ 458
639
+ ],
640
+ "page_idx": 3
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "This section illustrates the versatility and efficacy of DoGE, demonstrating its ability to produce synthetic datasets benefiting various computer vision challenges. Sec. 4.1 presents the standard experimental setups employed in our studies. Subsequently, Sec. 4.2 addresses issues related to imbalanced class distributions and showcases effectiveness under the presence of spurious correlations. In Sec. 4.3, we delve into the effectiveness of our dataset generation approach under common domain adaptation problems. In addition to task-based evaluations, we conduct ablation studies concerning our generative pipeline in Sec. 4.4. These studies serve to provide both qualitative and quantitative assessments of the synthetic datasets created through DoGE.",
645
+ "bbox": [
646
+ 496,
647
+ 465,
648
+ 890,
649
+ 662
650
+ ],
651
+ "page_idx": 3
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "4.1. Experimental Setup",
656
+ "text_level": 1,
657
+ "bbox": [
658
+ 498,
659
+ 672,
660
+ 689,
661
+ 689
662
+ ],
663
+ "page_idx": 3
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "Baselines: For classification tasks in Sec. 4.2 and Sec. 4.3, base refers to the models trained on the source data in the cross-domain setting only. Subsequently, we fine-tuned the base models on the augmented datasets to assess the efficacy of data generation methods. We compared against one traditional augmentation, RandAugment [14], and two generative methods, DA-Fusion [71] and DATUM [3]. For fair comparisons, we kept the number of generated images the same within each task across all generative methods.",
668
+ "bbox": [
669
+ 496,
670
+ 696,
671
+ 890,
672
+ 833
673
+ ],
674
+ "page_idx": 3
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "Implementation: For base classification models we finetuned ImageNet pre-trained ResNet50 [24] models for 20 epochs with AdamW optimizer [46] at a constant learning rate of $10^{-3}$ and a batch size of 128. For each generative",
679
+ "bbox": [
680
+ 496,
681
+ 839,
682
+ 890,
683
+ 900
684
+ ],
685
+ "page_idx": 3
686
+ },
687
+ {
688
+ "type": "page_number",
689
+ "text": "28687",
690
+ "bbox": [
691
+ 478,
692
+ 944,
693
+ 519,
694
+ 955
695
+ ],
696
+ "page_idx": 3
697
+ },
698
+ {
699
+ "type": "image",
700
+ "img_path": "images/45508768f437197de9f7b5bfbae56151674f13a4ae4098b69c05bbddbda0ce45.jpg",
701
+ "image_caption": [
702
+ "Figure 3. Examples of synthetic CelebA data generated from (a) Source into (b) Target distribution. Under subpopulation shift, we generated data from the majority subpopulation (a) into the under-represented distribution (b). (c) shows the synthetic data generated from our pipeline. The results demonstrate our capability to apply semantic augmentation in accordance with gaps between two distributions."
703
+ ],
704
+ "image_footnote": [],
705
+ "bbox": [
706
+ 84,
707
+ 85,
708
+ 890,
709
+ 233
710
+ ],
711
+ "page_idx": 4
712
+ },
713
+ {
714
+ "type": "table",
715
+ "img_path": "images/a6b258124c9678f0ee8184856e877d149879e27537a97a9cf300b90c74caaf4a.jpg",
716
+ "table_caption": [],
717
+ "table_footnote": [],
718
+ "table_body": "<table><tr><td>Method</td><td>Test Accuracy (%)</td></tr><tr><td>Base</td><td>38.00</td></tr><tr><td>Oversampling</td><td>53.80</td></tr><tr><td>RandAugment [14]</td><td>62.40</td></tr><tr><td>DA-Fusion [71]</td><td>59.72</td></tr><tr><td>DoGE (Ours)</td><td>67.16</td></tr></table>",
719
+ "bbox": [
720
+ 125,
721
+ 284,
722
+ 418,
723
+ 398
724
+ ],
725
+ "page_idx": 4
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "baseline and our method, the base model is further finetuned on respective augmented dataset for 20 epochs, with AdamW optimizer and a batch size of 256. For CelebA, we used a constant learning rate of $10^{-3}$ . For DomainNet and FMoW, the classification head was trained with a learning rate of $10^{-4}$ , and its preceding layers with $10^{-5}$ . For all datasets, confidence-based generation cleaning was applied at training time with a threshold $t = 0.9$ . After fine-tuning, the final models were saved for evaluation. We also extended to segmentation problems where we directly adopted the synthetic data evaluation pipeline generously published in DATUM, the current state-of-the-art method in one-shot UDA for self-driving segmentation problems.",
730
+ "bbox": [
731
+ 75,
732
+ 474,
733
+ 468,
734
+ 672
735
+ ],
736
+ "page_idx": 4
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "4.2. Subpopulation Shift",
741
+ "text_level": 1,
742
+ "bbox": [
743
+ 76,
744
+ 680,
745
+ 267,
746
+ 696
747
+ ],
748
+ "page_idx": 4
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "In our initial experiment, we sought to assess the effectiveness of our solution in addressing the subpopulation shift problem. Specifically, we aimed to evaluate how well DoGE could mitigate imbalanced training data distributions that result in spurious correlations.",
753
+ "bbox": [
754
+ 75,
755
+ 703,
756
+ 468,
757
+ 779
758
+ ],
759
+ "page_idx": 4
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "We curated subsets of facial data from the CelebA dataset, intentionally introducing imbalances in certain attributes. Given an attribute (e.g., perceived gender), we selected a secondary attribute (e.g., eyeglasses), as the bias factor. Then, we sampled 1000 males wearing eyeglasses and 1000 females without eyeglasses, denoted as the source (majority distribution) in Fig. 3a. We also sampled 20 images per class with the opposite secondary attribute (i.e.,",
764
+ "bbox": [
765
+ 75,
766
+ 779,
767
+ 468,
768
+ 901
769
+ ],
770
+ "page_idx": 4
771
+ },
772
+ {
773
+ "type": "table",
774
+ "img_path": "images/ef2f9b5aaaeb3e87900fa6fcf0b7ca789c1ee492de4b766bb77006d43dd4369d.jpg",
775
+ "table_caption": [
776
+ "Table 1. Test Accuracy on our constructed CelebA imbalanced classification problem. We evaluated our method against four baselines. This table shows that synthetic data from DoGE has a significant advantage over other methods."
777
+ ],
778
+ "table_footnote": [],
779
+ "table_body": "<table><tr><td>Method</td><td>Test Accuracy (%)</td></tr><tr><td>Base</td><td>38.00</td></tr><tr><td>LoRA [33]</td><td>56.05</td></tr><tr><td>LoRA + DoGE (Ours)</td><td>74.28</td></tr></table>",
780
+ "bbox": [
781
+ 537,
782
+ 284,
783
+ 849,
784
+ 368
785
+ ],
786
+ "page_idx": 4
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Table 2. Test Accuracy on CelebA imbalanced classification problem with fine-tuned generative models. We applied our method on top of a personalized generator via LoRA and show that DoGE is complementary to adaptation via personalization.",
791
+ "bbox": [
792
+ 498,
793
+ 375,
794
+ 890,
795
+ 431
796
+ ],
797
+ "page_idx": 4
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "bias), denoted as the target (minority distribution) in Fig. 3b. Training a perceived gender classification model on this imbalanced subset naturally introduced bias toward eyeglasses over gender.",
802
+ "bbox": [
803
+ 498,
804
+ 450,
805
+ 890,
806
+ 513
807
+ ],
808
+ "page_idx": 4
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "To supplement this imbalanced training set, we first extracted the distribution gap for each class from randomly sampled only 10 source and 10 target images. Then, DoGE generated 1000 synthetic samples per class in the target (minority) distributions with $c = 1.0$ . Fig. 3c shows the generated images following the target distribution where eyeglasses are successfully added or removed respectively to follow the under-represented subpopulation.",
813
+ "bbox": [
814
+ 496,
815
+ 515,
816
+ 892,
817
+ 636
818
+ ],
819
+ "page_idx": 4
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "After the data generation, our new training set consists of 1000 sampled source data (Fig. 3a) and 1000 generated target data (Fig. 3c). For the test set, we sampled 1000 images per class from the target (minority) distribution (Fig. 3b) in CelebA. For comparison, we first oversampled target data by duplication, then applied RandAugment to this oversampled training set. DA-Fusion was also used to expand each class in the target data. All baselines generated the same amount of data in the evaluation as ours. Tab. 1 shows the test accuracy after training on our synthetic data along with the baseline performances to compare with. DoGE achieved the best test accuracy among the baselines.",
824
+ "bbox": [
825
+ 496,
826
+ 640,
827
+ 893,
828
+ 821
829
+ ],
830
+ "page_idx": 4
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Since fine-tuning is studied as a powerful method for targeted generation, we demonstrated our compatibility with LoRA [33] and generated synthetic data using a fine-tuned Stable UnCLIP model. The results in Tab. 2 indicate that our method complements adaptation via fine-tuning.",
835
+ "bbox": [
836
+ 496,
837
+ 824,
838
+ 893,
839
+ 900
840
+ ],
841
+ "page_idx": 4
842
+ },
843
+ {
844
+ "type": "page_number",
845
+ "text": "28688",
846
+ "bbox": [
847
+ 478,
848
+ 944,
849
+ 517,
850
+ 955
851
+ ],
852
+ "page_idx": 4
853
+ },
854
+ {
855
+ "type": "image",
856
+ "img_path": "images/fcaea7395ffb298dc43a9f9efa47f37d5dc12edb1086a99be57874456090092a.jpg",
857
+ "image_caption": [
858
+ "Figure 4. Examples of synthetic DomainNet data, generated from source data into four different target domains. Each generation (bottom) was augmented from the source image (top) using our pipeline with ControlNet. The results demonstrate our capability to augment data in accordance with gaps between distributions."
859
+ ],
860
+ "image_footnote": [],
861
+ "bbox": [
862
+ 84,
863
+ 79,
864
+ 893,
865
+ 241
866
+ ],
867
+ "page_idx": 5
868
+ },
869
+ {
870
+ "type": "table",
871
+ "img_path": "images/6598070f73111bbaa2f5a92dba886f568dbc85d9cee2cdfe9ba4149b37fb2d62.jpg",
872
+ "table_caption": [],
873
+ "table_footnote": [],
874
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">DomainNet Acc (%)</td><td colspan=\"3\">FMoW Acc (%)</td></tr><tr><td>Painting</td><td>Infograph</td><td>Clipart</td><td>Sketch</td><td>Asia</td><td>Americas</td><td>Oceania</td></tr><tr><td>Base</td><td>34.64</td><td>14.48</td><td>39.06</td><td>24.70</td><td>66.27</td><td>64.65</td><td>74.42</td></tr><tr><td>RandAugment [14]</td><td>37.20</td><td>15.90</td><td>41.08</td><td>26.26</td><td>64.35</td><td>70.47</td><td>74.29</td></tr><tr><td>DA-Fusion [71]</td><td>39.57</td><td>16.54</td><td>42.22</td><td>28.27</td><td>70.97</td><td>76.71</td><td>77.32</td></tr><tr><td>DATUM [3]</td><td>38.19</td><td>17.80</td><td>40.96</td><td>29.46</td><td>71.63</td><td>78.35</td><td>75.24</td></tr><tr><td>DoGE (Ours)</td><td>44.00±.0</td><td>18.71±.0</td><td>45.61±.3</td><td>34.96±.3</td><td>72.62±.1</td><td>78.94±.2</td><td>78.14±.1</td></tr></table>",
875
+ "bbox": [
876
+ 119,
877
+ 289,
878
+ 844,
879
+ 417
880
+ ],
881
+ "page_idx": 5
882
+ },
883
+ {
884
+ "type": "table",
885
+ "img_path": "images/8d85c00f9ae2348bbe7511d4f91cf416086a43b642fab2ae9ee7a4702d1a9d08.jpg",
886
+ "table_caption": [
887
+ "Table 3. Test accuracy in unsupervised domain adaptation classification problems. We evaluated against four baselines on the left column. For DomainNet, the task is to adopt a model with a Real domain training dataset to Painting, Inforgraph, Clipart, and Sketch domains. For FMoW, for each region (Asia, Americas, Oceania), we adopted a model with old satellite images (2002-12) to perform well on new satellite data (2016-17). The table shows that our methods achieved the highest test accuracy in every category."
888
+ ],
889
+ "table_footnote": [],
890
+ "table_body": "<table><tr><td>Method</td><td>Test Acc (%)</td><td>Δ</td></tr><tr><td>Base</td><td>32.86</td><td>—</td></tr><tr><td>DoGE</td><td>38.64</td><td>+5.78</td></tr><tr><td>DoGE + ControlNet</td><td>40.29</td><td>+1.65</td></tr><tr><td>DoGE + ControlNet + Cleaning</td><td>41.30</td><td>+1.01</td></tr></table>",
891
+ "bbox": [
892
+ 78,
893
+ 491,
894
+ 470,
895
+ 583
896
+ ],
897
+ "page_idx": 5
898
+ },
899
+ {
900
+ "type": "text",
901
+ "text": "4.3. Unsupervised Domain Adaptation",
902
+ "text_level": 1,
903
+ "bbox": [
904
+ 76,
905
+ 643,
906
+ 375,
907
+ 660
908
+ ],
909
+ "page_idx": 5
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "4.3.1 Classification Tasks",
914
+ "text_level": 1,
915
+ "bbox": [
916
+ 76,
917
+ 667,
918
+ 269,
919
+ 681
920
+ ],
921
+ "page_idx": 5
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "DomainNet consists of 0.6 million images of 345 classes distributed across 6 unique domains including Real (R), Clip (C), Infograph (I), Painting (P), Quickdraw (Q) and Sketch (S). We evaluated our method on 4 domain adaptation tasks from R to P, S, C and I, using official test sets. In each task, we randomly sampled 345 images from both the source (i.e., R) and target (i.e., P, S, C or I) distribution to calculate the domain gap. Synthetic P and S images were generated with edit strength mean $c = 1.3$ , I with $c = 1.1$ , and C with $c = 1.5$ . Sec. 4.4.2 discusses the choice of values for $c$ . For each class DoGE generated 128 images with ControlNet (Fig. 4) to supplement the training data for finetuning, increasing the dataset size by approximately $30\\%$ .",
926
+ "bbox": [
927
+ 75,
928
+ 688,
929
+ 468,
930
+ 883
931
+ ],
932
+ "page_idx": 5
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "Tab. 4 shows the incremental improvements of training",
937
+ "bbox": [
938
+ 96,
939
+ 885,
940
+ 468,
941
+ 901
942
+ ],
943
+ "page_idx": 5
944
+ },
945
+ {
946
+ "type": "table",
947
+ "img_path": "images/c0b7d9fb4846b4ebc1ce3ca757ac914ccf20eb554d832d34487ce5ad59aec7f8.jpg",
948
+ "table_caption": [
949
+ "Table 4. Incremental improvements on DomainNet (Real $\\rightarrow$ Painting) problem. We gradually added our components to the base model and evaluated the effectiveness of each part."
950
+ ],
951
+ "table_footnote": [],
952
+ "table_body": "<table><tr><td rowspan=\"2\">UDA Method</td><td colspan=\"3\">Test Acc (%)</td></tr><tr><td>w/o DoGE</td><td>w/ DoGE</td><td>Δ</td></tr><tr><td>BSP [11]</td><td>46.76</td><td>47.34</td><td>+0.58</td></tr><tr><td>DANN [19]</td><td>47.01</td><td>49.68</td><td>+2.67</td></tr><tr><td>CDAN [45]</td><td>51.66</td><td>52.11</td><td>+0.45</td></tr><tr><td>MCD [65]</td><td>50.88</td><td>52.14</td><td>+1.26</td></tr><tr><td>MCC [35]</td><td>50.08</td><td>52.95</td><td>+2.87</td></tr><tr><td>MemSAC [36]</td><td>52.27</td><td>54.16</td><td>+1.89</td></tr></table>",
953
+ "bbox": [
954
+ 519,
955
+ 491,
956
+ 870,
957
+ 628
958
+ ],
959
+ "page_idx": 5
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "Table 5. Test Accuracy of UDA methods on the DomainNet (Real $\\rightarrow$ Painting) problem. We evaluated existing UDA methods with and without DoGE. The table shows that our approach is compatible with and complementary to UDA methods.",
964
+ "bbox": [
965
+ 498,
966
+ 635,
967
+ 893,
968
+ 691
969
+ ],
970
+ "page_idx": 5
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "on Real domain and testing on Painting domain. Standalone DoGE improved w.r.t standard approaches and additional techniques further increased our advantages. Tab. 3 shows full comparisons on all four domains, and DoGE achieved the best accuracy in all settings.",
975
+ "bbox": [
976
+ 496,
977
+ 712,
978
+ 890,
979
+ 789
980
+ ],
981
+ "page_idx": 5
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "To demonstrate DoGE's compatibility and improvements to traditional UDA solutions, we evaluated our performance based on six UDA methods. For each method, we incorporated DoGE by simply adding our synthetic images to the training dataset. Tab. 5 shows that our method can help further improve UDA methods in general. Please see Appendix D for the complete experiment.",
986
+ "bbox": [
987
+ 496,
988
+ 794,
989
+ 892,
990
+ 900
991
+ ],
992
+ "page_idx": 5
993
+ },
994
+ {
995
+ "type": "page_number",
996
+ "text": "28689",
997
+ "bbox": [
998
+ 478,
999
+ 944,
1000
+ 517,
1001
+ 955
1002
+ ],
1003
+ "page_idx": 5
1004
+ },
1005
+ {
1006
+ "type": "image",
1007
+ "img_path": "images/682a4e8a92e6a5347dbbe0a3c8a4cbac61d1039fdc41e8063ade4a3544560ea1.jpg",
1008
+ "image_caption": [
1009
+ "Figure 5. Examples of synthetic self-driving data generated from (a) GTA5 source images into (b) Cityscapes target domain. (c) shows the synthetic data generated from our pipeline without any improvement tricks. We also demonstrated the generation with scene structure preserved by ControlNet (conditioned on canny edges and source segmentation ground truth) in (d). The synthetic data are then used in unsupervised domain adaptation methods to adapt models across domains."
1010
+ ],
1011
+ "image_footnote": [],
1012
+ "bbox": [
1013
+ 80,
1014
+ 94,
1015
+ 890,
1016
+ 241
1017
+ ],
1018
+ "page_idx": 6
1019
+ },
1020
+ {
1021
+ "type": "image",
1022
+ "img_path": "images/028e4dbc628e7bc8b4915c5cad04fb179caeeade1929314e2ec701dce6b54630.jpg",
1023
+ "image_caption": [
1024
+ "Figure 6. Examples of synthetic FMoW data, generated from Source (2002-12) into Target (2016-17) distributions in 3 regions using our method with ControlNet. The results illustrate our capacity to generate images across temporal discrepancies."
1025
+ ],
1026
+ "image_footnote": [],
1027
+ "bbox": [
1028
+ 84,
1029
+ 318,
1030
+ 467,
1031
+ 483
1032
+ ],
1033
+ "page_idx": 6
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "FMoW-WILDS [41] is a modified version of the Functional Map of the World [12] dataset. It includes 0.5 million RGB satellite images labeled with 62 land use categories, with domains defined by their captured years and geographic regions spanning Asia, Africa, Americas, Oceania and Europe. For this paper, we focused on the domain adaptation performance across different time periods within three regions: Asia, Americas, and Oceania. Specifically, within each region, the source and target domain refer to the satellite images taken between 2002-12 and 2016-17. We randomly sampled 64 images from each domain to calculate the gap. For each land use category, DoGE generated 64 images using ControlNet (e.g., Fig. 6) with edit strength mean $c = 1.3$ , accounting for approximately $10\\%$ increase in the dataset size. Tab. 3 shows that DoGE leads to higher performance than baselines in all experiments.",
1038
+ "bbox": [
1039
+ 75,
1040
+ 563,
1041
+ 472,
1042
+ 806
1043
+ ],
1044
+ "page_idx": 6
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "4.3.2 Segmentation Task",
1049
+ "text_level": 1,
1050
+ "bbox": [
1051
+ 76,
1052
+ 818,
1053
+ 264,
1054
+ 832
1055
+ ],
1056
+ "page_idx": 6
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "Besides classification problems, our method is also generally applicable to other computer vision tasks. To illustrate the versatility and generality of DoGE, we demonstrate our capability to improve cross-domain segmentation problems.",
1061
+ "bbox": [
1062
+ 75,
1063
+ 839,
1064
+ 468,
1065
+ 902
1066
+ ],
1067
+ "page_idx": 6
1068
+ },
1069
+ {
1070
+ "type": "table",
1071
+ "img_path": "images/0d69bf6519a0b92ada3578222fb2fe1a96955f92a91789ad9fcfa46a2027164c.jpg",
1072
+ "table_caption": [],
1073
+ "table_footnote": [],
1074
+ "table_body": "<table><tr><td>Method</td><td>Test Accuracy (%)</td></tr><tr><td>DAFormer [31]</td><td>48.2</td></tr><tr><td>DAFormer + DATUM [3]</td><td>56.4</td></tr><tr><td>DAFormer + DoGE (Ours)</td><td>57.3</td></tr></table>",
1075
+ "bbox": [
1076
+ 524,
1077
+ 320,
1078
+ 864,
1079
+ 404
1080
+ ],
1081
+ "page_idx": 6
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "Table 6. GTA5 → Cityscapes cross-domain segmentation. We used DAFormer as our UDA baseline. DATUM and DoGE are target data generators applied on top of DAFormer. Our performance is at par with DATUM while exempt from any training.",
1086
+ "bbox": [
1087
+ 498,
1088
+ 411,
1089
+ 892,
1090
+ 467
1091
+ ],
1092
+ "page_idx": 6
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "In this experiment, we chose GTA5 [60] as our source domain and Cityscapes [13] as our target domain. Using the full GTA5 dataset and 20 unlabeled images from the Cityscapes, we generated synthetic data in Fig. 5 with and without ControlNet. We evaluated our synthetic generation under the scope of UDA. As baselines, we chose DAFformer [31], a UDA segmentation method, and DATUM combined with DAFformer. Similar to DATUM, we evaluated our method on top of DAFformer, i.e., expanding the unlabeled data available to DAFformer. Tab. 6 shows DoGE is able to achieve at-par performance with DATUM. Moreover, DATUM requires fine-tuning a Stable Diffusion model while ours is inference-only in a plug-and-play fashion.",
1097
+ "bbox": [
1098
+ 496,
1099
+ 479,
1100
+ 892,
1101
+ 678
1102
+ ],
1103
+ "page_idx": 6
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "4.4. Ablation Studies",
1108
+ "text_level": 1,
1109
+ "bbox": [
1110
+ 500,
1111
+ 688,
1112
+ 663,
1113
+ 703
1114
+ ],
1115
+ "page_idx": 6
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "text": "4.4.1 Generation Quality",
1120
+ "text_level": 1,
1121
+ "bbox": [
1122
+ 500,
1123
+ 712,
1124
+ 689,
1125
+ 728
1126
+ ],
1127
+ "page_idx": 6
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "The usefulness of our synthetic data is directly dependent on the generation quality. We focus on two aspects to assess the generated images: the FID score [27] for image quality, and the t-SNE [73] for distribution alignment.",
1132
+ "bbox": [
1133
+ 496,
1134
+ 733,
1135
+ 892,
1136
+ 794
1137
+ ],
1138
+ "page_idx": 6
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "The exploration was conducted under our DomainNet Real $\\rightarrow$ Painting experiments. Tab. 7 shows that under FID metrics with respect to DomainNet Painting images, our generation achieved the best quality with respect to the Painting data from DomainNet. To visualize the distribution alignment of our generation, we plotted the t-SNE graph of source (Real domain), target (Painting domain), and our",
1143
+ "bbox": [
1144
+ 496,
1145
+ 795,
1146
+ 893,
1147
+ 900
1148
+ ],
1149
+ "page_idx": 6
1150
+ },
1151
+ {
1152
+ "type": "page_number",
1153
+ "text": "28690",
1154
+ "bbox": [
1155
+ 478,
1156
+ 944,
1157
+ 519,
1158
+ 957
1159
+ ],
1160
+ "page_idx": 6
1161
+ },
1162
+ {
1163
+ "type": "table",
1164
+ "img_path": "images/fa1b0baa45462fcac7ec1f29769aaa20c775360f64ea5f794e60acce48f15982.jpg",
1165
+ "table_caption": [],
1166
+ "table_footnote": [],
1167
+ "table_body": "<table><tr><td>Data Source</td><td>FID Score (↓)</td></tr><tr><td>Source Data</td><td>30.98</td></tr><tr><td>DA-Fusion [71]</td><td>40.20</td></tr><tr><td>DATUM [3]</td><td>219.00</td></tr><tr><td>DoGE (Ours)</td><td>24.86</td></tr><tr><td>DoGE w/ ControlNet (Ours)</td><td>18.25</td></tr></table>",
1168
+ "bbox": [
1169
+ 112,
1170
+ 88,
1171
+ 431,
1172
+ 200
1173
+ ],
1174
+ "page_idx": 7
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Table 7. FID scores against the DomainNet painting images. We evaluated the FID scores against the DomainNet Painting samples on the DomainNet Real images, the synthetic data from [71] and [3], and our generations. The table shows that our synthesis achieved the best FID score among the baselines.",
1179
+ "bbox": [
1180
+ 75,
1181
+ 208,
1182
+ 468,
1183
+ 277
1184
+ ],
1185
+ "page_idx": 7
1186
+ },
1187
+ {
1188
+ "type": "image",
1189
+ "img_path": "images/d3d8092ef49cbcc752872b5a5c67ce3df411424100f67301d765b77d9f994caf.jpg",
1190
+ "image_caption": [
1191
+ "Figure 7. The t-SNE plots of the source, target, and generated data. In our DomainNet Real $\\rightarrow$ Painting experiment, we drew a t-SNE plot to visualize distributions of source, target, and our generation. Our generation is well-aligned with the target distribution."
1192
+ ],
1193
+ "image_footnote": [],
1194
+ "bbox": [
1195
+ 127,
1196
+ 282,
1197
+ 431,
1198
+ 412
1199
+ ],
1200
+ "page_idx": 7
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "synthetic painting images in Fig. 7. It shows that our synthetic data are successfully augmented into the target distribution and away from the source distribution.",
1205
+ "bbox": [
1206
+ 75,
1207
+ 494,
1208
+ 468,
1209
+ 541
1210
+ ],
1211
+ "page_idx": 7
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "4.4.2 Domain Gap Embedding Editing Weights",
1216
+ "text_level": 1,
1217
+ "bbox": [
1218
+ 75,
1219
+ 547,
1220
+ 419,
1221
+ 564
1222
+ ],
1223
+ "page_idx": 7
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "One of the important hyper-parameters that impacts the generation is the edit strength scalar $C$ defined in Sec. 3.2. In this section, we study the effect of different deterministic values for $C$ visually to better understand the domain gap embeddings. To isolate the effect, we do not apply ControlNet in this experiment. As shown in Fig. 8, we conduct the exploration in two settings: face augmentation with eyeglasses as the distribution gap (top row), and object augmentation from the real domain to the sketch domain (bottom row). Starting with the source image (left-most column), we gradually increase the edit strength $C$ and generate images at each different value for $C$ . For the face, we set $C$ to 0.5, 1.0, 1.5, 2.0 from left to right, and 1.0, 1.5, 2.0, 2.5 respectively for the airplane.",
1228
+ "bbox": [
1229
+ 75,
1230
+ 568,
1231
+ 468,
1232
+ 779
1233
+ ],
1234
+ "page_idx": 7
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "From Fig. 8, we observe that the magnitude of the edit strength impacts the extent of our augmentation. When $C \\geq 2$ as shown in the right-most column, our pipeline adds two glasses on the face indicating an over augmentation. Meanwhile, for the airplane, the value of $C$ influences whether the generation is a realistic sketch or a simple sketch. Hence the best choice of edit strength mean $c$ should be assessed based on the kind of task in practice.",
1239
+ "bbox": [
1240
+ 75,
1241
+ 780,
1242
+ 468,
1243
+ 900
1244
+ ],
1245
+ "page_idx": 7
1246
+ },
1247
+ {
1248
+ "type": "image",
1249
+ "img_path": "images/6ef78a7c075912da0a418503cc0dfc311824b5523d1652c515c70a87bb9a107a.jpg",
1250
+ "image_caption": [
1251
+ "Figure 8. Effect of increasing edit strength $c$ . We considered two source images under two tasks: (a) adding eyeglasses to faces and (b) converting real to sketch images. In each task, we generated images with gradually increasing edit strength. At the right end, we observe that two glasses are added $c = 2.0$ and the most sketchy airplane $c = 2.5$ . As expected, the edit strength dictates the extent of emphasis on the distribution differences."
1252
+ ],
1253
+ "image_footnote": [],
1254
+ "bbox": [
1255
+ 506,
1256
+ 85,
1257
+ 887,
1258
+ 207
1259
+ ],
1260
+ "page_idx": 7
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "5. Conclusion and Future Works",
1265
+ "text_level": 1,
1266
+ "bbox": [
1267
+ 500,
1268
+ 338,
1269
+ 774,
1270
+ 354
1271
+ ],
1272
+ "page_idx": 7
1273
+ },
1274
+ {
1275
+ "type": "text",
1276
+ "text": "This paper introduces DoGE, an innovative diffusion-based data augmentation technique designed to address cross-distribution challenges. Our method is distinguished by its accessibility, efficiency, and remarkable effectiveness. We utilize Domain Gap Embeddings, which capture distribution differences, as direct augmentations applied to source data embeddings. Our generative backbone, Stable UnCLIP, is leveraged to facilitate this process. It's worth noting that our pipeline operates without the necessity for training, relying exclusively on a minimal set of images from the target distribution to guide the augmentation process. The result is the generation of diverse and high-quality synthetic data, which significantly enhances test performance.",
1277
+ "bbox": [
1278
+ 496,
1279
+ 366,
1280
+ 890,
1281
+ 561
1282
+ ],
1283
+ "page_idx": 7
1284
+ },
1285
+ {
1286
+ "type": "text",
1287
+ "text": "We showcase the versatility and effectiveness of our method across various problem settings. Notably, our approach not only excels at transferring styles but also introduces semantic augmentations according to distribution disparities. In comparison to other general data synthesis methods, we achieve the highest improvements across all tasks. We also highlight the adaptability of DoGE by evaluating its performance in a segmentation task, demonstrating competitive inference-only results compared to the state-of-the-art method, which requires training. Furthermore, we illustrate that our approach is compatible with and complementary to parallel strategies such as UDA and fine-tuning.",
1288
+ "bbox": [
1289
+ 496,
1290
+ 566,
1291
+ 890,
1292
+ 747
1293
+ ],
1294
+ "page_idx": 7
1295
+ },
1296
+ {
1297
+ "type": "text",
1298
+ "text": "While our method boasts significant strengths, it does have certain limitations that merit further consideration. First and foremost, the expressiveness of the CLIP model's latent space can be constrained when confronted with domain gaps that CLIP is unfamiliar with. Additionally, while Stable UnCLIP proves effective in numerous real-world scenarios, it may face challenges in out-of-domain situations, such as medical X-ray imagery. Lastly, there is ample room for exploration in devising more effective training algorithms to maximize the utility of synthetic data.",
1299
+ "bbox": [
1300
+ 496,
1301
+ 750,
1302
+ 890,
1303
+ 900
1304
+ ],
1305
+ "page_idx": 7
1306
+ },
1307
+ {
1308
+ "type": "page_number",
1309
+ "text": "28691",
1310
+ "bbox": [
1311
+ 478,
1312
+ 944,
1313
+ 517,
1314
+ 955
1315
+ ],
1316
+ "page_idx": 7
1317
+ },
1318
+ {
1319
+ "type": "text",
1320
+ "text": "References",
1321
+ "text_level": 1,
1322
+ "bbox": [
1323
+ 78,
1324
+ 89,
1325
+ 173,
1326
+ 104
1327
+ ],
1328
+ "page_idx": 8
1329
+ },
1330
+ {
1331
+ "type": "list",
1332
+ "sub_type": "ref_text",
1333
+ "list_items": [
1334
+ "[1] Shekoofeh Azizi, Simon Kornblith, Chitwan Sahara, Mohammad Norouzi, and David J Fleet. Synthetic data from diffusion models improves imagenet classification. In TMLR, 2023. 2",
1335
+ "[2] Hritik Bansal and Aditya Grover. Leaving reality to imagination: Robust classification via generated datasets. arXiv preprint arXiv:2302.02503, 2023. 2",
1336
+ "[3] Yasser Benigmim, Subhankar Roy, Slim Essid, Vicky Kalogeiton, and Stéphane Lathuilière. One-shot unsupervised domain adaptation with personalized diffusion models. In CVPRW, 2023. 2, 3, 4, 6, 7, 8, 13",
1337
+ "[4] Victor Besnier, Himalaya Jain, Andrei Bursuc, Matthieu Cord, and Patrick Pérez. This dataset does not exist: training models from generated images. In ICASSP, 2020. 2",
1338
+ "[5] Abeba Birhane and Vinay Uday Prabhu. Large image datasets: A pyrrhic win for computer vision? In WACV, 2021. 2",
1339
+ "[6] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In ICLR, 2019. 2",
1340
+ "[7] Tim Brooks, Aleksander Holynski, and Alexei A. Efros. Instructpix2pix: Learning to follow image editing instructions. In CVPR, 2023. 2",
1341
+ "[8] Mateusz Buda, Atsuto Maki, and Maciej A. Mazurowski. A systematic study of the class imbalance problem in convolutional neural networks. In Neural Networks, 2018. 2",
1342
+ "[9] Max F Burg, Florian Wenzel, Dominik Zietlow, Max Horn, Osama Makansi, Francesco Locatello, and Chris Russell. A data augmentation perspective on diffusion models and retrieval. TMLR, 2023. 2",
1343
+ "[10] John Canny. A computational approach to edge detection. In TPAMI, 1986. 4",
1344
+ "[11] Xinyang Chen, Sinan Wang, Mingsheng Long, and Jianmin Wang. Transferability vs. discriminability: Batch spectral penalization for adversarial domain adaptation. In ICML, 2019. 6, 13",
1345
+ "[12] Gordon Christie, Neil Fendley, James Wilson, and Ryan Mukherjee. Functional map of the world. In CVPR, 2018. 7",
1346
+ "[13] Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In CVPR, 2016. 7",
1347
+ "[14] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. In CVPRW, 2020. 1, 4, 5, 6",
1348
+ "[15] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. 1",
1349
+ "[16] Lisa Dunlap, Alyssa Umino, Han Zhang, Jiezhi Yang, Joseph E Gonzalez, and Trevor Darrell. Diversify your vision datasets with automatic diffusion-based augmentation. arXiv preprint arXiv:2305.16289, 2023. 2",
1350
+ "[17] Karl Pearson F.R.S. Liii. on lines and planes of closest fit to systems of points in space. 1901. 3"
1351
+ ],
1352
+ "bbox": [
1353
+ 78,
1354
+ 114,
1355
+ 468,
1356
+ 900
1357
+ ],
1358
+ "page_idx": 8
1359
+ },
1360
+ {
1361
+ "type": "list",
1362
+ "sub_type": "ref_text",
1363
+ "list_items": [
1364
+ "[18] Rinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit Haim Bermano, Gal Chechik, and Daniel Cohen-or. An image is worth one word: Personalizing text-to-image generation using textual inversion. In ICLR, 2023. 2",
1365
+ "[19] Yaroslav Ganin and Victor S. Lempitsky. Unsupervised domain adaptation by backpropagation. In ICML, 2015. 6, 13",
1366
+ "[20] Rui Gong, Qin Wang, Dengxin Dai, and Luc Van Gool. One-shot domain adaptive and generalizable semantic segmentation with class-aware cross-domain transformers. arXiv preprint arXiv:2212.07292, 2022. 14",
1367
+ "[21] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014. 2",
1368
+ "[22] Inhwa Han, Serin Yang, Taesung Kwon, and Jong Chul Ye. Highly personalized text embedding for image manipulation by stable diffusion. arXiv preprint arXiv:2303.08767, 2023. 2",
1369
+ "[23] Ligong Han, Yinxiao Li, Han Zhang, Peyman Milanfar, Dimitris Metaxas, and Feng Yang. Svdiff: Compact parameter space for diffusion fine-tuning. In ICCV, 2023. 2",
1370
+ "[24] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. 4",
1371
+ "[25] Ruifei He, Shuyang Sun, Xin Yu, Chuhui Xue, Wenqing Zhang, Philip Torr, Song Bai, and Xiaojuan Qi. Is synthetic data from generative models ready for image recognition? In ICLR, 2023. 2",
1372
+ "[26] Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. In ICLR, 2023. 2",
1373
+ "[27] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In NIPS, 2017. 7",
1374
+ "[28] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. In NeurIPSW, 2021. 2",
1375
+ "[29] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In NeurIPS, 2020. 2",
1376
+ "[30] Judy Hoffman, Eric Tzeng, Taesung Park, Jun-Yan Zhu, Phillip Isola, Kate Saenko, Alexei Efros, and Trevor Darrell. Cycada: Cycle-consistent adversarial domain adaptation. In ICML, 2018. 2",
1377
+ "[31] Lukas Hoyer, Dengxin Dai, and Luc Van Gool. Daformer: Improving network architectures and training strategies for domain-adaptive semantic segmentation. In CVPR, 2022. 7",
1378
+ "[32] Lukas Hoyer, Dengxin Dai, Haoran Wang, and Luc Van Gool. Mic: Masked image consistency for context-enhanced domain adaptation. In CVPR, 2023. 1",
1379
+ "[33] Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. In ICLR, 2022. 2, 5",
1380
+ "[34] Ali Jahanian, Xavier Puig, Yonglong Tian, and Phillip Isola. Generative models as a data source for multiview representation learning. In ICLR, 2022. 2"
1381
+ ],
1382
+ "bbox": [
1383
+ 501,
1384
+ 92,
1385
+ 890,
1386
+ 900
1387
+ ],
1388
+ "page_idx": 8
1389
+ },
1390
+ {
1391
+ "type": "page_number",
1392
+ "text": "28692",
1393
+ "bbox": [
1394
+ 478,
1395
+ 945,
1396
+ 519,
1397
+ 955
1398
+ ],
1399
+ "page_idx": 8
1400
+ },
1401
+ {
1402
+ "type": "list",
1403
+ "sub_type": "ref_text",
1404
+ "list_items": [
1405
+ "[35] Ying Jin, Ximei Wang, Mingsheng Long, and Jianmin Wang. Minimum class confusion for versatile domain adaptation. In ECCV, 2020. 6, 13",
1406
+ "[36] Tarun Kalluri, Astuti Sharma, and Manmohan Chandraker. Mem sac: Memory augmented sample consistency for large scale domain adaptation. In ECCV, 2022. 6, 13",
1407
+ "[37] Minguk Kang, Jun-Yan Zhu, Richard Zhang, Jaesik Park, Eli Shechtman, Sylvain Paris, and Taesung Park. Scaling up gans for text-to-image synthesis. In CVPR, 2023. 2",
1408
+ "[38] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In CVPR, 2019. 2",
1409
+ "[39] Bahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, and Michal Irani. Imagic: Text-based real image editing with diffusion models. In CVPR, 2023. 2",
1410
+ "[40] Gwanghyun Kim, Taesung Kwon, and Jong Chul Ye. Diffusionclip: Text-guided diffusion models for robust image manipulation. In CVPR, 2022. 2",
1411
+ "[41] Pang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie, Marvin Zhang, Akshay Balsubramani, Weihua Hu, Michihiro Yasunaga, Richard Lanas Phillips, Irena Gao, Tony Lee, Etienne David, Ian Stavness, Wei Guo, Berton A. Earnshaw, Imran S. Haque, Sara Beery, Jure Leskovec, Anshul Kundaje, Emma Pierson, Sergey Levine, Chelsea Finn, and Percy Liang. WILDS: A benchmark of in-the-wild distribution shifts. In ICML, 2021. 1, 7",
1412
+ "[42] Daiqing Li, Huan Ling, Seung Wook Kim, Karsten Kreis, Sanja Fidler, and Antonio Torralba. Bigdatasetan: Synthesizing imagenet with pixel-wise annotations. In CVPR, 2022. 2",
1413
+ "[43] Sebastian Nørgaard Llambias, Mads Nielsen, and Mostafa Mehdipour-Ghazi. Data augmentation-based unsupervised domain adaptation in medical imaging. In arXiv preprint arXiv:2308.04395, 2023. 1",
1414
+ "[44] Justin Lo, Jillian Cardinell, Alejo Costanzo, and Dafna Sussman. Medical augmentation (med-aug) for optimal data augmentation in medical deep learning networks. In Sensors, 2021. 1",
1415
+ "[45] Mingsheng Long, Zhangjie Cao, Jianmin Wang, and Michael I. Jordan. Conditional adversarial domain adaptation. In NeurIPS, 2018. 6, 13",
1416
+ "[46] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In *ICLR*, 2019. 4",
1417
+ "[47] Jinqi Luo, Zhaoning Wang, Chen Henry Wu, Dong Huang, and Fernando De La Torre. Zero-shot model diagnosis. In CVPR, 2023. 2",
1418
+ "[48] Yawei Luo, Ping Liu, Tao Guan, Junqing Yu, and Yi Yang. Adversarial style mining for one-shot unsupervised domain adaptation. In NeurIPS, 2020. 14",
1419
+ "[49] Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jia-jun Wu, Jun-Yan Zhu, and Stefano Ermon. Sdedit: Guided image synthesis and editing with stochastic differential equations. In ICLR, 2022. 2",
1420
+ "[50] Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and"
1421
+ ],
1422
+ "bbox": [
1423
+ 78,
1424
+ 90,
1425
+ 468,
1426
+ 898
1427
+ ],
1428
+ "page_idx": 9
1429
+ },
1430
+ {
1431
+ "type": "list",
1432
+ "sub_type": "ref_text",
1433
+ "list_items": [
1434
+ "Mark Chen. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. In ICML, 2022. 2",
1435
+ "[51] Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In ICML, 2021. 2",
1436
+ "[52] Curtis Northcutt, Lu Jiang, and Isaac Chuang. Confident learning: Estimating uncertainty in dataset labels. In JAIR, 2021. 2",
1437
+ "[53] Curtis G. Northcutt, Anish Athalye, and Jonas Mueller. Pervasive label errors in test sets destabilize machine learning benchmarks. In NeurIPS, 2021. 4",
1438
+ "[54] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. Styleclip: Text-driven manipulation of stylegan imagery. In ICCV, 2021. 2",
1439
+ "[55] Duo Peng, Qiuhong Ke, Yinjie Lei, and Jun Liu. Unsupervised domain adaptation via domain-adaptive diffusion. In ITIP, 2023. 2",
1440
+ "[56] Xingchao Peng, Ben Usman, Neela Kaushik, Dequan Wang, Judy Hoffman, and Kate Saenko. Visda: A synthetic-to-real benchmark for visual domain adaptation. In CVPRW, 2018. 2",
1441
+ "[57] Viraj Prabhu, Sriram Yenamandra, Prithvijit Chattopadhyay, and Judy Hoffman. Lance: Stress-testing visual models by generating language-guided counterfactual images. In NeurIPS, 2023. 2",
1442
+ "[58] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In ICML, 2021. 2",
1443
+ "[59] Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 2022. 2",
1444
+ "[60] Stephan R. Richter, Vibhav Vineet, Stefan Roth, and Vladlen Koltun. Playing for data: Ground truth from computer games. In ECCV, 2016. 7",
1445
+ "[61] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In CVPR, 2022. 2, 4",
1446
+ "[62] Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. In CVPR, 2023. 2",
1447
+ "[63] Shiori Sagawa, Pang Wei Koh, Tony Lee, Irena Gao, Sang Michael Xie, Kendrick Shen, Ananya Kumar, Weihua Hu, Michihiro Yasunaga, Henrik Marklund, Sara Beery, Etienne David, Ian Stavness, Wei Guo, Jure Leskovec, Kate Saenko, Tatsunori Hashimoto, Sergey Levine, Chelsea Finn, and Percy Liang. Extending the wilds benchmark for unsupervised adaptation. In ICLR, 2022. 1",
1448
+ "[64] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. In NeurIPS, 2022. 2"
1449
+ ],
1450
+ "bbox": [
1451
+ 503,
1452
+ 92,
1453
+ 890,
1454
+ 898
1455
+ ],
1456
+ "page_idx": 9
1457
+ },
1458
+ {
1459
+ "type": "page_number",
1460
+ "text": "28693",
1461
+ "bbox": [
1462
+ 478,
1463
+ 945,
1464
+ 517,
1465
+ 955
1466
+ ],
1467
+ "page_idx": 9
1468
+ },
1469
+ {
1470
+ "type": "list",
1471
+ "sub_type": "ref_text",
1472
+ "list_items": [
1473
+ "[65] Kuniaki Saito, Kohei Watanabe, Yoshitaka Ushiku, and Tatsuya Harada. Maximum classifier discrepancy for unsupervised domain adaptation. In CVPR, 2018. 6, 13",
1474
+ "[66] Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, et al. Laion-5b: An open large-scale dataset for training next generation image-text models. In NeurIPS, 2022. 1",
1475
+ "[67] Joonghyuk Shin, Minguk Kang, and Jaesik Park. Fill-up: Balancing long-tailed data with generative models. arXiv preprint arXiv:2306.07200, 2023. 2",
1476
+ "[68] Jordan Shipard, Arnold Wiliem, Kien Nguyen Thanh, Wei Xiang, and Clinton Fookes. Diversity is definitely needed: Improving model-agnostic zero-shot classification via stable diffusion. In CVPRW, 2023. 2",
1477
+ "[69] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In ICLR, 2021. 2",
1478
+ "[70] Tao Sun, Mattia Segu, Janis Postels, Yuxuan Wang, Luc Van Gool, Bernt Schiele, Federico Tombari, and Fisher Yu. Shift: A synthetic driving dataset for continuous multi-task domain adaptation. In CVPR, 2022. 2",
1479
+ "[71] Brandon Trabucco, Kyle Doherty, Max Gurinas, and Ruslan Salakhutdinov. Effective data augmentation with diffusion models. In ICLRw, 2023. 2, 4, 5, 6, 8, 13",
1480
+ "[72] Matthew Trager, Pramuditha Perera, Luca Zancato, Alessandro Achille, Parminder Bhatia, and Stefano Soatto. Linear spaces of meanings: Compositional structures in vision-language models. In ICCV, 2023. 3",
1481
+ "[73] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. In JMLR, 2008. 7",
1482
+ "[74] Joshua Vendrow, Saachi Jain, Logan Engstrom, and Aleksander Madry. Dataset interfaces: Diagnosing model failures using controllable counterfactual generation. arXiv preprint arXiv:2302.07865, 2023. 2",
1483
+ "[75] Andrey Voynov, Qinghao Chu, Daniel Cohen-Or, and Kfir Aberman. $p+$ : Extended textual conditioning in text-to-image generation. arXiv preprint arXiv:2303.09522, 2023. 2",
1484
+ "[76] Erroll Wood, Tadas Baltrusaitis, Charlie Hewitt, Sebastian Dziadzio, Thomas J. Cashman, and Jamie Shotton. Fake it till you make it: face analysis in the wild using synthetic data alone. In ICCV, 2021. 2",
1485
+ "[77] Chen Henry Wu and Fernando De la Torre. A latent space of stochastic diffusion models for zero-shot image editing and guidance. In ICCV, 2023. 2",
1486
+ "[78] Saining Xie and Zhuowen Tu. Holistically-nested edge detection. In ICCV, 2015. 4",
1487
+ "[79] Jianhao Yuan, Francesco Pinto, Adam Davies, Aarushi Gupta, and Philip Torr. Not just pretty pictures: Text-to-image generators enable interpretable interventions for robust representations. In arXiv preprint arXiv:2212.11237, 2022. 2",
1488
+ "[80] Cheng Zhang, Xuanbai Chen, Siqi Chai, Chen Henry Wu, Dmitry Lagun, Thabo Beeler, and Fernando De la Torre. Itigen: Inclusive text-to-image generation. In ICCV, 2023. 2",
1489
+ "[81] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018. 1"
1490
+ ],
1491
+ "bbox": [
1492
+ 78,
1493
+ 90,
1494
+ 468,
1495
+ 898
1496
+ ],
1497
+ "page_idx": 10
1498
+ },
1499
+ {
1500
+ "type": "list",
1501
+ "sub_type": "ref_text",
1502
+ "list_items": [
1503
+ "[82] Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models. In ICCV, 2023. 2",
1504
+ "[83] Yuxuan Zhang, Huan Ling, Jun Gao, Kangxue Yin, Jean-Francois Lafleche, Adela Barriuso, Antonio Torralba, and Sanja Fidler. Datasetgan: Efficient labeled data factory with minimal human effort. In CVPR, 2021. 2",
1505
+ "[84] Yongchao Zhou, Hshmat Sahak, and Jimmy Ba. Training on thin air: Improve image classification with generated data. ICMLW, 2023. 2",
1506
+ "[85] Jingyuan Zhu, Huimin Ma, Jiansheng Chen, and Jian Yuan. Domainstudio: Fine-tuning diffusion models for domain-driven image generation using limited data. arXiv preprint arXiv:2306.14153, 2023. 3",
1507
+ "[86] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In ICCV, 2017. 2",
1508
+ "[87] Peihao Zhu, Rameen Abdal, John Femiani, and Peter Wonka. Mind the gap: Domain gap control for single shot domain adaptation for generative adversarial networks. In ICLR, 2022. 2"
1509
+ ],
1510
+ "bbox": [
1511
+ 501,
1512
+ 90,
1513
+ 890,
1514
+ 387
1515
+ ],
1516
+ "page_idx": 10
1517
+ },
1518
+ {
1519
+ "type": "page_number",
1520
+ "text": "28694",
1521
+ "bbox": [
1522
+ 478,
1523
+ 945,
1524
+ 519,
1525
+ 955
1526
+ ],
1527
+ "page_idx": 10
1528
+ }
1529
+ ]