Add Batch ef898f77-37a1-4c42-b695-60b3283a4792 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_content_list.json +0 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_model.json +0 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_origin.pdf +3 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/full.md +0 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/images.zip +3 -0
- 2024/MOMENT_ A Family of Open Time-series Foundation Models/layout.json +0 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_content_list.json +0 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_model.json +0 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_origin.pdf +3 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/full.md +559 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/images.zip +3 -0
- 2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/layout.json +0 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_content_list.json +0 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_model.json +0 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_origin.pdf +3 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/full.md +481 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/images.zip +3 -0
- 2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/layout.json +0 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_content_list.json +0 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_model.json +0 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_origin.pdf +3 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/full.md +0 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/images.zip +3 -0
- 2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/layout.json +0 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_content_list.json +0 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_model.json +0 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_origin.pdf +3 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/full.md +574 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/images.zip +3 -0
- 2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/layout.json +0 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_content_list.json +0 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_model.json +0 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_origin.pdf +3 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/full.md +0 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/images.zip +3 -0
- 2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/layout.json +0 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_content_list.json +0 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_model.json +0 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_origin.pdf +3 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/full.md +0 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/images.zip +3 -0
- 2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/layout.json +0 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_content_list.json +0 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_model.json +0 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_origin.pdf +3 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/full.md +470 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/images.zip +3 -0
- 2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/layout.json +0 -0
- 2024/MagicPose_ Realistic Human Poses and Facial Expressions Retargeting with Identity-aware Diffusion/52238cf5-47df-4824-9d9a-30a20cd92a52_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -4779,3 +4779,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 4779 |
2024/MMPareto_[[:space:]]Boosting[[:space:]]Multimodal[[:space:]]Learning[[:space:]]with[[:space:]]Innocent[[:space:]]Unimodal[[:space:]]Assistance/61f1033c-c82d-40bb-805f-8142b266fff9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4780 |
2024/MMT-Bench_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Multimodal[[:space:]]Benchmark[[:space:]]for[[:space:]]Evaluating[[:space:]]Large[[:space:]]Vision-Language[[:space:]]Models[[:space:]]Towards[[:space:]]Multitask[[:space:]]AGI/889aca79-0da3-4208-b9af-28b832dcc074_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4781 |
2024/MOKD_[[:space:]]Cross-domain[[:space:]]Finetuning[[:space:]]for[[:space:]]Few-shot[[:space:]]Classification[[:space:]]via[[:space:]]Maximizing[[:space:]]Optimized[[:space:]]Kernel[[:space:]]Dependence/bd68598a-11fd-4b0b-905c-b79ec22309f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4779 |
2024/MMPareto_[[:space:]]Boosting[[:space:]]Multimodal[[:space:]]Learning[[:space:]]with[[:space:]]Innocent[[:space:]]Unimodal[[:space:]]Assistance/61f1033c-c82d-40bb-805f-8142b266fff9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4780 |
2024/MMT-Bench_[[:space:]]A[[:space:]]Comprehensive[[:space:]]Multimodal[[:space:]]Benchmark[[:space:]]for[[:space:]]Evaluating[[:space:]]Large[[:space:]]Vision-Language[[:space:]]Models[[:space:]]Towards[[:space:]]Multitask[[:space:]]AGI/889aca79-0da3-4208-b9af-28b832dcc074_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4781 |
2024/MOKD_[[:space:]]Cross-domain[[:space:]]Finetuning[[:space:]]for[[:space:]]Few-shot[[:space:]]Classification[[:space:]]via[[:space:]]Maximizing[[:space:]]Optimized[[:space:]]Kernel[[:space:]]Dependence/bd68598a-11fd-4b0b-905c-b79ec22309f9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4782 |
+
2024/MOMENT_[[:space:]]A[[:space:]]Family[[:space:]]of[[:space:]]Open[[:space:]]Time-series[[:space:]]Foundation[[:space:]]Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4783 |
+
2024/MS$^3$D_[[:space:]]A[[:space:]]RG[[:space:]]Flow-Based[[:space:]]Regularization[[:space:]]for[[:space:]]GAN[[:space:]]Training[[:space:]]with[[:space:]]Limited[[:space:]]Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4784 |
+
2024/MS-TIP_[[:space:]]Imputation[[:space:]]Aware[[:space:]]Pedestrian[[:space:]]Trajectory[[:space:]]Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4785 |
+
2024/MVMoE_[[:space:]]Multi-Task[[:space:]]Vehicle[[:space:]]Routing[[:space:]]Solver[[:space:]]with[[:space:]]Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4786 |
+
2024/MaSS_[[:space:]]Multi-attribute[[:space:]]Selective[[:space:]]Suppression[[:space:]]for[[:space:]]Utility-preserving[[:space:]]Data[[:space:]]Transformation[[:space:]]from[[:space:]]an[[:space:]]Information-theoretic[[:space:]]Perspective/085516c2-c075-448a-bbd7-0579921a9716_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4787 |
+
2024/Machine[[:space:]]Vision[[:space:]]Therapy_[[:space:]]Multimodal[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Can[[:space:]]Enhance[[:space:]]Visual[[:space:]]Robustness[[:space:]]via[[:space:]]Denoising[[:space:]]In-Context[[:space:]]Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4788 |
+
2024/Maestro_[[:space:]]Uncovering[[:space:]]Low-Rank[[:space:]]Structures[[:space:]]via[[:space:]]Trainable[[:space:]]Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4789 |
+
2024/MagicLens_[[:space:]]Self-Supervised[[:space:]]Image[[:space:]]Retrieval[[:space:]]with[[:space:]]Open-Ended[[:space:]]Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4790 |
+
2024/MagicPose_[[:space:]]Realistic[[:space:]]Human[[:space:]]Poses[[:space:]]and[[:space:]]Facial[[:space:]]Expressions[[:space:]]Retargeting[[:space:]]with[[:space:]]Identity-aware[[:space:]]Diffusion/52238cf5-47df-4824-9d9a-30a20cd92a52_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4791 |
+
2024/Magicoder_[[:space:]]Empowering[[:space:]]Code[[:space:]]Generation[[:space:]]with[[:space:]]OSS-Instruct/515d15c5-b55b-46f4-9c80-9411865ee8ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4792 |
+
2024/Major-Minor[[:space:]]Mean[[:space:]]Field[[:space:]]Multi-Agent[[:space:]]Reinforcement[[:space:]]Learning/74ff4866-78d5-4e85-88e1-5d32577f9342_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4793 |
+
2024/Make-A-Shape_[[:space:]]a[[:space:]]Ten-Million-scale[[:space:]]3D[[:space:]]Shape[[:space:]]Model/ea2c54c5-feb5-4c43-a445-968edcc01367_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4794 |
+
2024/Making[[:space:]]Old[[:space:]]Things[[:space:]]New_[[:space:]]A[[:space:]]Unified[[:space:]]Algorithm[[:space:]]for[[:space:]]Differentially[[:space:]]Private[[:space:]]Clustering/13583ced-0a24-4549-a50e-8c5435436aac_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4795 |
+
2024/Manifold[[:space:]]Integrated[[:space:]]Gradients_[[:space:]]Riemannian[[:space:]]Geometry[[:space:]]for[[:space:]]Feature[[:space:]]Attribution/44abe9c7-3dc6-42dc-8fa9-feef3296114f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4796 |
+
2024/Mapping[[:space:]]the[[:space:]]Multiverse[[:space:]]of[[:space:]]Latent[[:space:]]Representations/14a6ed36-f1ad-4234-abe8-8ddd464ff3b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4797 |
+
2024/Masked[[:space:]]Face[[:space:]]Recognition[[:space:]]with[[:space:]]Generative-to-Discriminative[[:space:]]Representations/19b89165-1624-4c21-b987-441c7508ba42_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4798 |
+
2024/Mastering[[:space:]]Robot[[:space:]]Manipulation[[:space:]]with[[:space:]]Multimodal[[:space:]]Prompts[[:space:]]through[[:space:]]Pretraining[[:space:]]and[[:space:]]Multi-task[[:space:]]Fine-tuning/a1303fc4-85a7-44ae-88c7-88d3bfa7b611_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4799 |
+
2024/Mastering[[:space:]]Text-to-Image[[:space:]]Diffusion_[[:space:]]Recaptioning,[[:space:]]Planning,[[:space:]]and[[:space:]]Generating[[:space:]]with[[:space:]]Multimodal[[:space:]]LLMs/3b9b7fd3-404b-41a5-a13b-deda2dc4d9a7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4800 |
+
2024/Mastering[[:space:]]Zero-Shot[[:space:]]Interactions[[:space:]]in[[:space:]]Cooperative[[:space:]]and[[:space:]]Competitive[[:space:]]Simultaneous[[:space:]]Games/72f26db8-13da-4cd9-8ba0-388168f12a08_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4801 |
+
2024/MathScale_[[:space:]]Scaling[[:space:]]Instruction[[:space:]]Tuning[[:space:]]for[[:space:]]Mathematical[[:space:]]Reasoning/3592f560-9547-4ca8-bb72-39c76bef48db_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4802 |
+
2024/Matrix[[:space:]]Information[[:space:]]Theory[[:space:]]for[[:space:]]Self-Supervised[[:space:]]Learning/ebebd99f-d07d-46d8-832d-ee1177a16a1a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4803 |
+
2024/Matroid[[:space:]]Semi-Bandits[[:space:]]in[[:space:]]Sublinear[[:space:]]Time/d3615126-86e0-436d-9ddd-6a4c38b5998b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4804 |
+
2024/MaxMin-RLHF_[[:space:]]Alignment[[:space:]]with[[:space:]]Diverse[[:space:]]Human[[:space:]]Preferences/60907ce8-45b9-42c0-bff1-9c93c85bbaf6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4805 |
+
2024/Mean[[:space:]]Estimation[[:space:]]in[[:space:]]the[[:space:]]Add-Remove[[:space:]]Model[[:space:]]of[[:space:]]Differential[[:space:]]Privacy/c5767def-9b76-4b49-85ca-90330ef31218_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4806 |
+
2024/Mean[[:space:]]Field[[:space:]]Langevin[[:space:]]Actor-Critic_[[:space:]]Faster[[:space:]]Convergence[[:space:]]and[[:space:]]Global[[:space:]]Optimality[[:space:]]beyond[[:space:]]Lazy[[:space:]]Learning/5a3cab06-559d-4989-9dcf-45c9ea491d32_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4807 |
+
2024/Mean-field[[:space:]]Analysis[[:space:]]on[[:space:]]Two-layer[[:space:]]Neural[[:space:]]Networks[[:space:]]from[[:space:]]a[[:space:]]Kernel[[:space:]]Perspective/00b75bd6-d9f0-4b0c-8bdb-ea9d408ac5af_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4808 |
+
2024/Mean-field[[:space:]]Chaos[[:space:]]Diffusion[[:space:]]Models/f5d7cb20-c162-4d4b-9460-4e0ab5ee32ee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4809 |
+
2024/Mean-field[[:space:]]Underdamped[[:space:]]Langevin[[:space:]]Dynamics[[:space:]]and[[:space:]]its[[:space:]]Spacetime[[:space:]]Discretization/5865c4dd-bb68-4b3d-948b-2e036ae27800_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4810 |
+
2024/Measures[[:space:]]of[[:space:]]diversity[[:space:]]and[[:space:]]space-filling[[:space:]]designs[[:space:]]for[[:space:]]categorical[[:space:]]data/296cc54e-f4d1-4781-8c19-b54117092186_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4811 |
+
2024/Measuring[[:space:]]Stochastic[[:space:]]Data[[:space:]]Complexity[[:space:]]with[[:space:]]Boltzmann[[:space:]]Influence[[:space:]]Functions/2f7af9a5-5e2f-454e-a0b4-7598c9a5bf35_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4812 |
+
2024/Mechanistic[[:space:]]Design[[:space:]]and[[:space:]]Scaling[[:space:]]of[[:space:]]Hybrid[[:space:]]Architectures/d919b957-e412-460b-9e28-6cd94f6ab42c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4813 |
+
2024/Mechanistic[[:space:]]Neural[[:space:]]Networks[[:space:]]for[[:space:]]Scientific[[:space:]]Machine[[:space:]]Learning/ed977831-623b-456c-9697-0262862551bb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4814 |
+
2024/Medusa_[[:space:]]Simple[[:space:]]LLM[[:space:]]Inference[[:space:]]Acceleration[[:space:]]Framework[[:space:]]with[[:space:]]Multiple[[:space:]]Decoding[[:space:]]Heads/5190f853-8aed-4687-ba03-6d589fed45a6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4815 |
+
2024/Membership[[:space:]]Inference[[:space:]]Attacks[[:space:]]on[[:space:]]Diffusion[[:space:]]Models[[:space:]]via[[:space:]]Quantile[[:space:]]Regression/687edb53-54d9-42c2-9949-41df93dd14b8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4816 |
+
2024/Memoria_[[:space:]]Resolving[[:space:]]Fateful[[:space:]]Forgetting[[:space:]]Problem[[:space:]]through[[:space:]]Human-Inspired[[:space:]]Memory[[:space:]]Architecture/ca9ef7a8-e52c-4fce-b613-c4f849e1e36d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4817 |
+
2024/Memorization[[:space:]]Through[[:space:]]the[[:space:]]Lens[[:space:]]of[[:space:]]Curvature[[:space:]]of[[:space:]]Loss[[:space:]]Function[[:space:]]Around[[:space:]]Samples/2c761538-b282-4d40-bcea-283de9c7d4c9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4818 |
+
2024/Memory[[:space:]]Consolidation[[:space:]]Enables[[:space:]]Long-Context[[:space:]]Video[[:space:]]Understanding/f5b6c082-f1fc-4dfc-82ea-d7002fe43284_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4819 |
+
2024/Memory[[:space:]]Efficient[[:space:]]Neural[[:space:]]Processes[[:space:]]via[[:space:]]Constant[[:space:]]Memory[[:space:]]Attention[[:space:]]Block/366ac815-6945-4795-b4e5-086122f20295_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4820 |
+
2024/Memory-Space[[:space:]]Visual[[:space:]]Prompting[[:space:]]for[[:space:]]Efficient[[:space:]]Vision-Language[[:space:]]Fine-Tuning/593a3373-07b7-465b-a712-4123a2311d06_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4821 |
+
2024/Merging[[:space:]]Multi-Task[[:space:]]Models[[:space:]]via[[:space:]]Weight-Ensembling[[:space:]]Mixture[[:space:]]of[[:space:]]Experts/5177e01e-a310-4a9c-b78b-c3fb75a25503_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4822 |
+
2024/Meta[[:space:]]Evidential[[:space:]]Transformer[[:space:]]for[[:space:]]Few-Shot[[:space:]]Open-Set[[:space:]]Recognition/7096ef55-4c4c-4a84-b4c5-a0e65d84887d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4823 |
+
2024/Meta-Learners[[:space:]]for[[:space:]]Partially-Identified[[:space:]]Treatment[[:space:]]Effects[[:space:]]Across[[:space:]]Multiple[[:space:]]Environments/25ae2b97-9df4-4438-9743-df26e1e5882c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4824 |
+
2024/Meta-Reinforcement[[:space:]]Learning[[:space:]]Robust[[:space:]]to[[:space:]]Distributional[[:space:]]Shift[[:space:]]Via[[:space:]]Performing[[:space:]]Lifelong[[:space:]]In-Context[[:space:]]Learning/54611604-4506-4cff-89c9-06ed194b8357_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4825 |
+
2024/Mimicking[[:space:]]Better[[:space:]]by[[:space:]]Matching[[:space:]]the[[:space:]]Approximate[[:space:]]Action[[:space:]]Distribution/4b15293c-3b0e-418f-a9c1-37f570d40760_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4826 |
+
2024/Mind[[:space:]]the[[:space:]]Boundary_[[:space:]]Coreset[[:space:]]Selection[[:space:]]via[[:space:]]Reconstructing[[:space:]]the[[:space:]]Decision[[:space:]]Boundary/d7aea1e0-31cf-4698-a92d-77555013ad76_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4827 |
+
2024/MindEye2_[[:space:]]Shared-Subject[[:space:]]Models[[:space:]]Enable[[:space:]]fMRI-To-Image[[:space:]]With[[:space:]]1[[:space:]]Hour[[:space:]]of[[:space:]]Data/3821f285-158f-4c74-bae5-3317caa08446_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4828 |
+
2024/Minimally[[:space:]]Modifying[[:space:]]a[[:space:]]Markov[[:space:]]Game[[:space:]]to[[:space:]]Achieve[[:space:]]Any[[:space:]]Nash[[:space:]]Equilibrium[[:space:]]and[[:space:]]Value/b1b7d097-d575-4402-9a55-600af310956f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4829 |
+
2024/Minimax[[:space:]]Optimality[[:space:]]of[[:space:]]Score-based[[:space:]]Diffusion[[:space:]]Models_[[:space:]]Beyond[[:space:]]the[[:space:]]Density[[:space:]]Lower[[:space:]]Bound[[:space:]]Assumptions/bb747751-8b5b-475a-bfb2-522117925037_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4830 |
+
2024/Minimizing[[:space:]]$f$-Divergences[[:space:]]by[[:space:]]Interpolating[[:space:]]Velocity[[:space:]]Fields/61d59ccd-1b74-4fb6-bf55-1f3d5c19f423_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4831 |
+
2024/Minimum[[:space:]]Norm[[:space:]]Interpolation[[:space:]]Meets[[:space:]]The[[:space:]]Local[[:space:]]Theory[[:space:]]of[[:space:]]Banach[[:space:]]Spaces/385c7802-e078-442a-b82d-c676648ba26d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4832 |
+
2024/Minimum-Norm[[:space:]]Interpolation[[:space:]]Under[[:space:]]Covariate[[:space:]]Shift/9caf6a6c-6485-4439-b1b3-37ac2528c6f5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4833 |
+
2024/Mitigating[[:space:]]Catastrophic[[:space:]]Forgetting[[:space:]]in[[:space:]]Online[[:space:]]Continual[[:space:]]Learning[[:space:]]by[[:space:]]Modeling[[:space:]]Previous[[:space:]]Task[[:space:]]Interrelations[[:space:]]via[[:space:]]Pareto[[:space:]]Optimization/d4466367-91ca-4c08-94d6-dcc29c2a3472_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4834 |
+
2024/Mitigating[[:space:]]Label[[:space:]]Noise[[:space:]]on[[:space:]]Graphs[[:space:]]via[[:space:]]Topological[[:space:]]Sample[[:space:]]Selection/16acced9-607c-4b65-9057-941a2d1b675f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4835 |
+
2024/Mitigating[[:space:]]Oversmoothing[[:space:]]Through[[:space:]]Reverse[[:space:]]Process[[:space:]]of[[:space:]]GNNs[[:space:]]for[[:space:]]Heterophilic[[:space:]]Graphs/d6584e66-7177-4394-a023-d30cdc26bd50_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4836 |
+
2024/Mitigating[[:space:]]Privacy[[:space:]]Risk[[:space:]]in[[:space:]]Membership[[:space:]]Inference[[:space:]]by[[:space:]]Convex-Concave[[:space:]]Loss/76a38140-7630-4926-93cc-115adc2ca4ea_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4837 |
+
2024/Mixtures[[:space:]]of[[:space:]]Experts[[:space:]]Unlock[[:space:]]Parameter[[:space:]]Scaling[[:space:]]for[[:space:]]Deep[[:space:]]RL/d6758d2c-80a6-4347-981c-f614b1fe2a8e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4838 |
+
2024/MoMo_[[:space:]]Momentum[[:space:]]Models[[:space:]]for[[:space:]]Adaptive[[:space:]]Learning[[:space:]]Rates/5b758298-29e7-4aef-9b76-f00b89c961dd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4839 |
+
2024/Mobile[[:space:]]Attention_[[:space:]]Mobile-Friendly[[:space:]]Linear-Attention[[:space:]]for[[:space:]]Vision[[:space:]]Transformers/e7e29bb9-1a11-46f7-9671-6e213f8e44ab_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4840 |
+
2024/MobileLLM_[[:space:]]Optimizing[[:space:]]Sub-billion[[:space:]]Parameter[[:space:]]Language[[:space:]]Models[[:space:]]for[[:space:]]On-Device[[:space:]]Use[[:space:]]Cases/17368329-1fe1-4b3d-8fdf-cb1a9df3e487_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4841 |
+
2024/Model[[:space:]]Alignment[[:space:]]as[[:space:]]Prospect[[:space:]]Theoretic[[:space:]]Optimization/23ad930f-2c7a-4f50-8d24-41ca8fce7de7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4842 |
+
2024/Model[[:space:]]Assessment[[:space:]]and[[:space:]]Selection[[:space:]]under[[:space:]]Temporal[[:space:]]Distribution[[:space:]]Shift/2dfe4d12-cbb3-4f30-8ab1-e715e39d3328_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4843 |
+
2024/Model[[:space:]]Tailor_[[:space:]]Mitigating[[:space:]]Catastrophic[[:space:]]Forgetting[[:space:]]in[[:space:]]Multi-modal[[:space:]]Large[[:space:]]Language[[:space:]]Models/285ffc59-7c1f-4703-bfad-f45022431e0e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4844 |
+
2024/Model-Based[[:space:]]Minimum[[:space:]]Bayes[[:space:]]Risk[[:space:]]Decoding[[:space:]]for[[:space:]]Text[[:space:]]Generation/12c39696-ee97-4f7a-8d9c-7dd171ff9725_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 4845 |
+
2024/Model-Based[[:space:]]RL[[:space:]]for[[:space:]]Mean-Field[[:space:]]Games[[:space:]]is[[:space:]]not[[:space:]]Statistically[[:space:]]Harder[[:space:]]than[[:space:]]Single-Agent[[:space:]]RL/eb2f1ba9-86ea-4d33-9ea5-1326fdf330ad_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/25db3b0c-2358-4d61-9fbc-1ef1fe331f31_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b32b03f6ecf78172cc64e6dd830ddf7e93915c6dcf87363f62fc60c122dca6f8
|
| 3 |
+
size 3643551
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf28de67b48c02794447836fbe295104854b016bbc5dfae30d37841e733a252e
|
| 3 |
+
size 5556010
|
2024/MOMENT_ A Family of Open Time-series Foundation Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/646d6b5f-2f4e-4665-bc84-18eac18602a0_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:471cc8232fe20802f52fa058fb30a443c0ba03b8450b3d1bad973b9738f09b21
|
| 3 |
+
size 9005250
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/full.md
ADDED
|
@@ -0,0 +1,559 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# $\mathbf{MS}^{3}\mathbf{D}$ : A RG Flow-Based Regularization for GAN Training with Limited Data
|
| 2 |
+
|
| 3 |
+
Jian Wang<sup>1</sup> Xin Lan<sup>1</sup> Yuxin Tian<sup>1</sup> Jiancheng Lv<sup>1</sup>
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Generative adversarial networks (GANs) have made impressive advances in image generation, but they often require large-scale training data to avoid degradation caused by discriminator overfitting. To tackle this issue, we investigate the challenge of training GANs with limited data, and propose a novel regularization method based on the idea of renormalization group (RG) in physics. We observe that in the limited data setting, the gradient pattern that the generator obtains from the discriminator becomes more aggregated over time. In RG context, this aggregated pattern exhibits a high discrepancy from its coarse-grained versions, which implies a high-capacity and sensitive system, prone to overfitting and collapse. To address this problem, we introduce a multi-scale structural self-dissimilarity $(\mathrm{MS}^3\mathrm{D})$ regularization, which constrains the gradient field to have a consistent pattern across different scales, thereby fostering a more redundant and robust system. We show that our method can effectively enhance the performance and stability of GANs under limited data scenarios, and even allow them to generate high-quality images with very few data.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
The challenge of training GANs with limited data has garnered increasing attention within the research community. Numerous studies (Zhao et al., 2020a; Karras et al., 2020a; Jiang et al., 2021; Tseng et al., 2021; Fang et al., 2022; Cui et al., 2023) have reached a consensus: insufficient data often leads to overfitting in the discriminator. This overfitting results in a lack of meaningful dynamic guidance for the generator, ultimately causing its performance to degrade.
|
| 12 |
+
|
| 13 |
+
<sup>1</sup>College of Computer Science, Sichuan University and Engineering Research Center of Machine Learning and Industry Intelligence, Ministry of Education, Chengdu 610065, P.R. China. Correspondence to: Jiancheng Lv <lvjiancheng@scu.edu.cn>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
|
| 16 |
+
|
| 17 |
+
Training step: $1.2\mathbf{M}$ $\mathcal{D}_{\Gamma} = 0.0825$
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
Training step: $5\mathrm{M}$ $\mathcal{D}_{\Gamma} = 0.0872$
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
|
| 25 |
+
(a) RG flow: fine-grained $\rightarrow$ coarse-grained.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1. Illustrative examples of renormalization group (RG) flow. The aggregated pattern exhibits high multi-scale structural self-dissimilarity $(\mathrm{MS}^3\mathrm{D})$ , denoted by $\mathcal{D}_{\Gamma}$ .
|
| 29 |
+
|
| 30 |
+
(b) Snapshots of food coloring diffusion in hot water over time.
|
| 31 |
+
|
| 32 |
+
Data augmentation, a standard solution to prevent overfitting in deep learning (Shorten & Khoshgoftaar, 2019), has been widely applied to GAN training in limited data scenarios. Traditional (Zhao et al., 2020b; Tran et al., 2021) and differentiable (Zhao et al., 2020a) data augmentation techniques for both real and generated images, as well as various adaptive augmentation strategies (Karras et al., 2020a), have shown good performance on several standard benchmarks. However, the effectiveness of data augmentation heavily depends on specific handcrafted types or a costly search process, which limits its generality (Zhao et al., 2020b; Karras et al., 2020a). Additionally, data augmentation addresses data deficiency by enhancing the quantity and diversity of samples without providing a deeper understanding of the internal dynamics of GANs.
|
| 33 |
+
|
| 34 |
+
In this paper, we address the problem of GAN deterioration from a novel perspective and introduce a model regularization method. Unlike most existing regularization techniques (Tseng et al., 2021; Cui et al., 2022; 2023) that focus on improving the discriminator's generalization across different data distributions to avoid overfitting, our approach explores the intrinsic properties of neural networks to uncover potential clues. Specifically, we observe that in settings with limited data, the gradients provided by the discriminator, i.e., $\nabla_{x}f(x;\phi)$ , gradually exhibit an aggregation pattern. This pattern indicates that the discriminator concentrates its attention on a small portion of the input
|
| 35 |
+
|
| 36 |
+
image, rather than capturing comprehensive details. This phenomenon, which we term the perceptual narrowing phenomenon, varies in degree across different GANs and tasks and accompanies overfitting.
|
| 37 |
+
|
| 38 |
+
To understand this phenomenon, here, we draw inspiration from the renormalization group (RG) concept in physics (Kadanoff, 1966; Wilson, 1971), which progressively separates coarse-grained statistics from fine-grained statistics through local transformations at different scales. We apply this idea to analyze the gradient field $\nabla_{x}f(x;\phi)$ at different scales. Unlike scatter patterns, the aggregated pattern shows significant divergence from its coarse-grained versions, as depicted in Fig. 1. This self-dissimilarity $(\mathrm{SD})^{1}$ can be seen as the system's unique "signature" (Wolpert & Macready, 2018; 2007), revealing how information processing changes across different scales in the system (Jacobs & Jacobs, 1992; Wolpert & Macready, 2007). A high SD indicates that the system is efficient, encoding substantial processing into its dynamics, but also sensitive or unstable, where a small change can cause large dynamic shifts. Conversely, a low SD is associated with robustness, where a system can maintain functionality despite disturbances, being less efficient but more reliable due to built-in redundancies. The latter is more desirable for GAN training.
|
| 39 |
+
|
| 40 |
+
Based on this analysis, we introduce a multi-scale structural self-dissimilarity (MS $^3$ D) regularization based on RG flow. By repeatedly applying RG transformations, we generate a series of coarse-grained versions at different scales. Along the RG flow, we compute SD at each scale and combine them to obtain MS $^3$ D. This regularization enforces the gradient field to maintain a similar pattern or structure across scales, promoting a more redundant and robust feedback system for the generator. These properties help avoid overfitting and collapse in GAN training with limited data. Crucially, the proposed MS $^3$ D computation method is differentiable and can be readily implemented using popular deep learning frameworks like PyTorch (Paszke et al., 2019) and TensorFlow (Abadi et al., 2016). We verify the effectiveness of our method on various GANs and datasets. The results demonstrate that it improves GAN performance under limited data conditions in terms of generalization and stability. Notably, our method is orthogonal to data augmentation methods and other model constraint techniques, and can be integrated with them to further enhance GAN performance with very small datasets. Our work provides a new perspective on GAN training with limited data and offers a novel regularization method to improve GAN performance in this challenging scenario.
|
| 41 |
+
|
| 42 |
+
# 2. Related Work
|
| 43 |
+
|
| 44 |
+
Generative adversarial networks. Generative adversarial networks (GANs) (Goodfellow et al., 2014) have made significant advancements in generating high-quality and diverse images. This progress is attributed to the development of more robust objective functions (Arjovsky et al., 2017; Gulrajani et al., 2017; Zhao et al., 2017; Mao et al., 2017; Song & Ermon, 2020), advanced architectures (Miyato et al., 2018; Miyato & Koyama, 2018; Zhang et al., 2019), and effective training strategies (Denton et al., 2015; Zhang et al., 2017; Karras et al., 2018; Liu et al., 2020). Notable examples include BigGAN (Brock et al., 2019) and StyleGAN (Karras et al., 2019; 2020b), which are capable of generating high-resolution images with rich details and diverse styles. This paper focuses on the challenges and solutions for training GANs with limited data.
|
| 45 |
+
|
| 46 |
+
Training GANs under limited data setting. Training GANs with limited data presents significant challenges, as the discriminator may overfit, leading to degraded generated samples (Webster et al., 2019; Gulrajani et al., 2019). One common approach to mitigate this issue is data augmentation (Karras et al., 2020a; Tran et al., 2020; Zhang et al., 2020; Zhao et al., 2020a; 2021; 2020b), which enriches the data distribution by applying transformations to the original samples. However, data augmentation is not straightforward for GANs, as it can alter the target distribution or introduce artifacts (augmentation leaking). Recent methods have been designed to address these challenges, such as differentiable augmentation (Zhao et al., 2020a), adaptive augmentation (Karras et al., 2020a), and generative augmentation (Zhao et al., 2020b).
|
| 47 |
+
|
| 48 |
+
Another approach is model regularization, which prevents the discriminator from overfitting by imposing constraints or penalties on its parameters or outputs. While model regularization is commonly used to stabilize GAN training and prevent mode collapse, it is particularly effective in data-limited settings where overfitting is more severe. Techniques include adding noise to the discriminator's inputs or outputs (Arjovsky & Bottou, 2017; Sønderby et al., 2017; Jenni & Favaro, 2019), applying gradient penalties (Gulrajani et al., 2017; Mescheder et al., 2018), using spectral normalization (Miyato et al., 2018; Miyato & Koyama, 2018), and adding consistency loss (Zhang et al., 2020). Recent innovations, such as the LC regularization term (Tseng et al., 2021), which modulates the discriminator's evaluations using two exponential moving average variables and connects to LeCam divergence (Cam, 1986), have shown significant benefits. DigGAN (Fang et al., 2022) addresses gradient discrepancies between real and generated images, improving GAN performance. Additionally, leveraging external knowledge by using pre-trained models as additional discriminators (Kumari et al., 2022), aligning discriminator features
|
| 49 |
+
|
| 50 |
+

|
| 51 |
+
(a) Discriminator outputs, FIDs
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
(b) The aggregation degree of $\nabla_x f(x;\phi)$
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2. (a) Evolution of discriminator outputs and FID values during training, illustrating the discriminator's overfitting and the resulting degradation of generated samples. (b) Consistent aggregation tendency of the gradient $\nabla_x f(x;\phi)$ across various GANs and datasets under limited data conditions.
|
| 62 |
+
(a) StyleGAN2
|
| 63 |
+
Figure 3. Visualization of the gradient $\nabla_{x}f(x;\phi)$ at different training steps.
|
| 64 |
+
|
| 65 |
+
through knowledge distillation (Cui et al., 2023), or pretraining the highest resolution layer on larger datasets (Mo et al., 2020) has also proven effective.
|
| 66 |
+
|
| 67 |
+
Our work introduces a novel model regularization technique, offering deeper insights into GANs' internal dynamics through the lens of the renormalization group.
|
| 68 |
+
|
| 69 |
+
Renormalization group and its applications. The renormalization group (RG) is a powerful tool in modern physics that elucidates how physical systems exhibit distinct behaviors at different observational scales (Kadanoff, 1966; Wilson, 1971). RG is extensively used in various physics fields, such as condensed matter theory (Wilson, 1971; Fisher, 1998; Stanley, 1999), quantum field theory (Machacek & Vaughn, 1985), and complexity theory (Bagrov et al., 2020). Moreover, the concept of RG has been linked to information theory (Koch-Janusz & Ringel, 2018; Gordon et al., 2021) and principal component analysis (Bradde & Bialek, 2017), making them more accessible to machine learning researchers. RG has also been employed to study neural networks' properties and dynamics. For example, Mehta & Schwab (2014) demonstrated that RG can map a restricted Boltzmann machine to a hierarchical model, and Lin et al. (2017) showed that RG can explain the good generalization performance of deep neural networks. In this paper, we introduce the first application of RG to GAN training, proposing a novel regularization technique inspired by RG
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
(a)
|
| 73 |
+
Figure 4. (a) Under limited data settings, Fisher information increases during training, which indicates a decline in system stability. (b) When data augmentation is applied or the data volume is increased, Fisher information remains low, suggesting enhanced system stability.
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
(b)
|
| 77 |
+
|
| 78 |
+
principles.
|
| 79 |
+
|
| 80 |
+
# 3. Methodology
|
| 81 |
+
|
| 82 |
+
# 3.1. Generative Adversarial Networks
|
| 83 |
+
|
| 84 |
+
Generative adversarial networks (GANs) (Goodfellow et al., 2014) are a class of generative models designed to synthesize realistic data samples from a latent noise vector $z$ . GANs consist of two neural networks: a generator $g(\cdot ;\theta)$ that transforms the noise vector into a data sample, and a discriminator $f(\cdot ;\phi)$ that distinguishes between real and generated samples. These networks are trained adversarially; the generator aims to produce samples that mimic the real data distribution, while the discriminator aims to accurately classify samples as real or fake. The training objective of GANs is formulated as a minimax game:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\min _ {\theta} \max _ {\phi} \mathbb {E} _ {x} [ \log f (x; \phi) ] + \mathbb {E} _ {z} [ \log (1 - f (g (z; \theta); \phi)) ]. \tag {1}
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
The optimal solution is a Nash equilibrium where the generator produces samples indistinguishable from real data, and the discriminator assigns a probability of 0.5 to all samples.
|
| 91 |
+
|
| 92 |
+
# 3.2. Perceptual Narrowing Phenomenon
|
| 93 |
+
|
| 94 |
+
Discriminator overfitting is a critical issue in GAN training with limited data, leading to a degradation in the quality of generated images (Zhao et al., 2020a; Karras et al., 2020a; Jiang et al., 2021; Tseng et al., 2021). This phenomenon is demonstrated in our experiments with StyleGAN2 (Karras et al., 2020b) on OxfordDog dataset (Parkhi et al., 2012), as shown in Fig. 2(a). The discriminator becomes increasingly confident about the real images from the training set while becoming less confident about real images from the validation set, leading to a deterioration in Fréchet Inception Distance (FID) (Heusel et al., 2017) over time.
|
| 95 |
+
|
| 96 |
+
Additionally, we observe that the gradient field $\nabla_x f(x;\phi)$ of the discriminator with respect to the input becomes more aggregated over time, as shown in Fig. 3(a). Intuitively, this aggregation may provide fragmented guidance to the generator. We refer to this as the perceptual narrowing phenomenon. To quantify this, we devise a metric that counts the connected regions $N_{\mathrm{agg}}$ by assigning 1 to gradient values above a threshold and 0 to the rest, followed by a connected component analysis. The ratio of connected regions to the total number of pixels, i.e., $\mathcal{R}_{\mathrm{agg}} = \frac{N_{\mathrm{agg}}}{H\times W}$ , indicates the degree of gradient aggregation. Visual representations of connected regions are shown in Fig. 3(a, right).
|
| 97 |
+
|
| 98 |
+
Extensive experiments on four small-scale datasets using various divergence measures and GAN architectures (detailed in Section 4) consistently showed that the number of connected regions initially increases but then decreases as training progresses, indicating increasing gradient aggregation (Fig. 2b, left). In contrast, with data augmentation or increased data volume to mitigate overfitting, the number of connected regions remains stable (Fig. 2b, middle and right). These findings suggest a link between overfitting and gradient aggregation in limited data GAN training.
|
| 99 |
+
|
| 100 |
+
Our analysis introduces a fresh perspective through the renormalization group (RG) (Kadanoff, 1966; Wilson, 1971), a technique devised to gradually extract the coarser statistical features of a physical system through local transformation. We observe that, in contrast to the dispersed pattern, the aggregated pattern demonstrates a significant divergence from its coarse-grained counterpart, as illustrated in Fig. 1. This self-dissimilarity (SD) reveals that the system processes information distinctively across different scales (Jacobs & Jacobs, 1992; Worpert & Macready, 2007), implying that the system is capable of encoding extensive information processing into its dynamics. This suggests that the system is both efficient and possesses a high degree of "plasticity" (learnability) from a neurological perspective (Hensch, 2004). Nonetheless, it also indicates that the system is sensitive and susceptible to minor disturbances that could lead to notable alterations in its dynamics (Achille et al., 2019). These properties hint at the system's tendency
|
| 101 |
+
|
| 102 |
+
toward overfitting and instability, aligning with our empirical findings. Conversely, a minimal SD points to the system's ability to generalize and maintain stability, which is favorable for GAN training.
|
| 103 |
+
|
| 104 |
+
To verify this point, we employ the Fisher information to examine the properties of deep neural networks during the training process. Although the connection form of weights in neural networks is fixed during training, not all weight connections contribute equally to the final output. We can view $\Psi(x; \phi) \triangleq \nabla_x f(x; \phi)$ as a mapping function parameterized by $\phi$ , encoding the posterior probability $p(y|x;\phi)$ . The input is the generated or real image, and the output is the gradient of the discriminator with respect to the input, $y = \nabla_x f(x; \phi)$ . By perturbing the weights and measuring the change in the output distribution using Kullback-Leibler (KL) divergence, we estimate the dependency of the final output on the weights. The second-order Taylor expansion of the KL divergence is:
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
\begin{array}{l} \mathcal {D} _ {K L} [ p (y | x; \phi) | | p (y | x; \phi + d \phi) ] \\ = \int_ {\mathcal {X}} p (y | x; \phi) \log \left[ \frac {p (y | x ; \phi + d \phi)}{p (y | x ; \phi)} \right] d x = \frac {1}{2} d \phi \cdot \mathcal {G} d \phi . \tag {2} \\ \end{array}
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
Lemma 3.1. (Amari, 2016) Any standard $f$ -divergence gives the same Riemannian metric $\mathcal{G}$ , which is the Fisher information matrix (FIM)
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\mathcal {G} = \mathbb {E} _ {x, y} \left[ \nabla_ {\phi} \log p (y | x; \phi) \nabla_ {\phi} \log p (y | x; \phi) ^ {\top} \right]. \tag {3}
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
The FIM serves as a local measure to assess the effect of weight perturbations on outputs, reflecting the stability of the system $\Psi(x;\phi)$ . It also represents the strength of effective connectivity in neural networks and indicates their learnability (Kirkpatrick et al., 2016).
|
| 117 |
+
|
| 118 |
+
Following Achille et al. (2019), we use the diagonal FIM to reduce the computational cost:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
t r (\mathcal {G}) = \mathbb {E} _ {x, y} \left[ \| \nabla_ {\phi} \log p (y | x; \phi) \| ^ {2} \right]. \tag {4}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
As illustrated in Fig. 4(a), Fisher information remains high and increases during the later stages of training, implying decreasing system stability and increasing learnability, hence a higher risk of overfitting and collapse. When the aggregation phenomenon is mitigated through augmentation or increased data volume, Fisher information declines during later training stages, as shown in Fig. 4(b). This aligns with our SD analysis and the CR-GAN approach (Zhang et al., 2020), which uses semantically-preserving augmentation to enhance discriminator robustness by penalizing sensitivity to augmented images.
|
| 125 |
+
|
| 126 |
+
# 3.3. Multi-scale Structural Self-dissimilarity
|
| 127 |
+
|
| 128 |
+
Building upon the previous analysis, we introduce a novel regularization method, termed multi-scale structural self
|
| 129 |
+
|
| 130 |
+
dissimilarity $(\mathrm{MS}^3\mathrm{D})$ , designed to enhance the performance of GANs when trained with limited data. This method addresses the perceptual narrowing phenomenon by ensuring that the gradient field $\nabla_{x}(f(x;\phi))$ of the discriminator $f(x;\phi)$ maintains a consistent pattern across different scales, promoting a more redundant and robust feedback mechanism for the generator.
|
| 131 |
+
|
| 132 |
+
**Formulation.** We quantitatively define $\mathrm{MS}^3\mathrm{D}$ using the renormalization group (RG) flow concept. Consider the gradient $\nabla_x(f(x;\phi))$ of the discriminator with respect to the input $x$ , denoted as $\Psi(x;\phi) \triangleq \nabla_x(f(x;\phi))$ , where $\Psi(x;\phi)$ is parameterized by $\phi$ and belongs to the space $\mathcal{F}$ of real-valued functions defined on the Euclidean space $\mathcal{X}$ . An RG transformation $\Gamma$ can be naturally defined for $\Psi(x;\phi)$ . In our discrete pixel setting $\mathcal{X}$ , $\Gamma$ can be implemented using transformations like the Kadanoff block-spin transformation (Kadanoff, 1966) or Gaussian filtering. Applying the RG transformation repeatedly results in a coarse-grained function $\Psi(x;\phi)$ , generating the evolution of RG, that is, the RG flow.
|
| 133 |
+
|
| 134 |
+
In the following text, for clarity, let's denote the original system as $\Gamma_{0\to 0}(\Psi (x;\phi))\triangleq \Psi (x;\phi)$ and the coarse-grained system at scale $s$ as $\Gamma_{0\rightarrow s}(\Psi (x;\phi))$ . The RG transformation chain is constructed as $\Gamma_{0\rightarrow s} = \Gamma_{s - ds\rightarrow s}\circ \dots \circ \Gamma_{0\rightarrow ds}\circ$ $\Gamma_{0\rightarrow 0}$ , where $ds$ represents the scale step, and $\circ$ denotes the composition operator. In other words, $\Gamma_{0\rightarrow ds}\circ \Gamma_{0\rightarrow 0}(\cdot) =$ $\Gamma_{0\rightarrow ds}(\Gamma_{0\rightarrow 0}(\cdot))$ . For simplicity, we'll use $\Gamma_0\triangleq \Gamma_0\to 0$ $\Gamma_s\triangleq \Gamma_{0\rightarrow s}$ , and so on. The coarser-grained version of $\Gamma_s(\Psi (x;\phi))$ can be denoted as $\Gamma_{s\rightarrow s + ds}\circ \Gamma_s(\Psi (x;\phi))$ or simply as $\Gamma_{s + ds}(\Psi (x;\phi))$ . If there is a difference between the coarse-grained system $\Gamma_s(\Psi (x;\phi))$ and its coarser version $\Gamma_{s\rightarrow s + ds}(\Gamma_s(\Psi (x;\phi)))$ , we can say that the scale $s$ contributes some information processing to the system. To measure this dissimilarity, we introduce self-dissimilarity (SD) as:
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
\begin{array}{l} \mathcal {D} _ {\Gamma_ {s \rightarrow s + d s}} \\ = \left| \left\langle \Gamma_ {s} \mid \Gamma_ {s + d s} \right\rangle - \frac {1}{2} \left(\left\langle \Gamma_ {s} \mid \Gamma_ {s} \right\rangle + \left\langle \Gamma_ {s + d s} \mid \Gamma_ {s + d s} \right\rangle\right) \right| \tag {5} \\ = \frac {1}{2} \int_ {\mathcal {X}} \left(\Gamma_ {s + d s} (\Psi (x; \phi)) - \Gamma_ {s} (\Psi (x; \phi))\right) ^ {2} d x, \\ \end{array}
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
where $\langle \Gamma_0|\Gamma_1\rangle = \int_{\mathcal{X}}\Gamma_0\Gamma_1dx$ represents the overlap between two scales. In the context of Kadanoff decimation, SD is calculated by $\frac{1}{2} |(\langle \Gamma_s|\Gamma_s\rangle -\langle \Gamma_{s + ds}|\Gamma_{s + ds}\rangle)|$ (See the proof in Appendix A). Along the RG flow, the multi-scale structural self-dissimilarity $(\mathrm{MS}^3\mathrm{D})$ is defined as the integration of SD across scales:
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
\mathcal {D} _ {\Gamma_ {0 \rightarrow s}} = \sum_ {i = 0} ^ {s / d s} \mathcal {D} _ {\Gamma_ {i \rightarrow i + d s}}. \tag {6}
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
Implementation. We calculate the gradient of the discriminator's logits, denoted as $f(x; \phi)$ , with respect to
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 5. A diagram illustrating the RG transformation process and $\mathrm{MS}^3\mathrm{D}$ computation. It involves iteratively downsampling $\nabla_{x}f(x;\phi)$ and computing differences before and after downsampling.
|
| 150 |
+
|
| 151 |
+
the input image $x$ using the equation $\Psi (x;\phi) = \frac{\partial f(x;\phi)}{\partial x}$ . Here, $x$ is an image in the real-valued space $\mathbb{R}^{h\times w\times c}$ , where $h$ , $w$ , and $c$ represent the height, width, and number of channels, respectively. The gradient field $\Psi (x;\phi): \mathbb{R}^{h\times w\times c}\to \mathbb{R}^{h\times w\times c}$ is then transformed into a square matrix $\Psi (x;\phi):\mathbb{R}^{L\times L}\to \mathbb{R}^{L\times L}$ , where $L = \sqrt{h\times w\times c}$ . To ensure that the matrix is square, we apply zero-padding to $\Psi (x;\phi)$ , resulting in a square matrix $\tilde{\Psi} (x;\phi)$ of size $L\times L$ .
|
| 152 |
+
|
| 153 |
+
For the real function $\tilde{\Psi} (\cdot ;\phi)$ and the input image $x_0$ , we normalize the output matrix $\tilde{\Psi} (x_0;\phi)$ to the range [0, 1]:
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\tilde {\Psi} (x; \phi) \leftarrow \left| \frac {\tilde {\Psi} \left(x _ {0} ; \phi\right)}{\operatorname* {m a x} \left(\left| \tilde {\Psi} \left(x _ {0} ; \phi\right) \right|\right)} \right|. \tag {7}
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
We then use the Kadanoff block-spin transformation to coarse-grain the system, as illustrated in Fig. 5. Although the Kadanoff decimation is the simplest renormalization group (RG) transformation, it yields meaningful and robust outcomes, as verified in our ablation study (detailed in Section 4). During the transformation $\Gamma_{s\rightarrow s + ds}$ , the matrix $\Gamma_s(\tilde{\Psi} (x_0;\phi))$ , with spatial dimensions $L_{s}\times L_{s}$ , is tiled by blocks of size $\zeta_s\times \zeta_s$ , where $\zeta$ is the coarse-graining factor. In this paper, we set $\zeta_0 = \zeta_1 = \dots = \zeta_s = 2$ . The coarse-grained matrix $\Gamma_{s + ds}(\tilde{\Psi} (x_0;\phi))$ is obtained by replacing each block with its average value. This matrix retains the original spatial dimensions $L_{s + ds} = L_{s}$ , but the number of elements is reduced by a factor of $(\zeta_s)^2$ . Mathematically, this process is represented as follows:
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\begin{array}{l} \left\{\Gamma_ {s + d s} \big (\tilde {\Psi} (x _ {0}; \phi) \big) \right\} (i, j) \\ = \frac {1}{\left(\zeta_ {s}\right) ^ {2}} \sum_ {m = 0} ^ {\zeta_ {s} - 1} \sum_ {n = 0} ^ {\zeta_ {s} - 1} \left\{\Gamma_ {s} \left(\tilde {\Psi} \left(x _ {0}; \phi\right)\right) \right\} \left(\left\lfloor \frac {i}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + m, \right. \tag {8} \\ \left. \left\lfloor \frac {j}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + n\right), \\ \end{array}
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
where $\lfloor \cdot \rfloor$ is the floor function, and $\{\Gamma (\cdot)\} (i,j)$ indicates the element at the $i$ -th row and $j$ -th column of $\Gamma (\cdot)$ .
|
| 166 |
+
|
| 167 |
+
Table 1. Performance comparison of various GAN loss functions (divergence measures). $\uparrow$ denotes that higher values are preferable, while $\Downarrow$ indicates that lower values are better.
|
| 168 |
+
|
| 169 |
+
<table><tr><td rowspan="2">METHOD</td><td colspan="2">OXFORDDOG</td><td colspan="2">FFHQ-2.5K</td></tr><tr><td>FID ↓</td><td>IS ↑</td><td>FID ↓</td><td>IS ↑</td></tr><tr><td>STYLEGAN2 (NS)</td><td>64.26</td><td>9.69</td><td>48.11</td><td>3.50</td></tr><tr><td>+WASSERSTEIN</td><td>82.18</td><td>9.94</td><td>38.64</td><td>4.11</td></tr><tr><td>+LS</td><td>216.42</td><td>2.69</td><td>213.93</td><td>2.17</td></tr><tr><td>+RAHINGE</td><td>38.68</td><td>11.14</td><td>32.34</td><td>3.96</td></tr><tr><td>+MS³D</td><td>47.05</td><td>10.73</td><td>33.46</td><td>4.61</td></tr><tr><td>+MS³D + RAHINGE</td><td>37.71</td><td>12.54</td><td>31.95</td><td>4.70</td></tr></table>
|
| 170 |
+
|
| 171 |
+
Subsequently, the matrix $\Gamma_{s + ds}(\tilde{\Psi}(x_0; \phi))$ is tiled by blocks of size $\zeta^{s + ds} \times \zeta^{s + ds}$ , and its coarser-grained version $\Gamma_{s + 2ds}(\tilde{\Psi}(x_0; \phi))$ is obtained by replacing each block with its average value. This process is repeated until $(\zeta)^{t+1} > L$ , i.e., the coarse-grained transformation cannot be applied anymore, where $t$ is the number of iterations and $1 \leq t \leq \log_{\zeta} L$ . For our purposes, we set $\zeta = 2$ . To integrate the $\mathrm{MS}^3\mathrm{D}$ regularization within widely-used computational frameworks like PyTorch (Paszke et al., 2019) and TensorFlow (Abadi et al., 2016), we utilize a convolution operation with an average filter of size $2 \times 2$ and a stride of 2 to perform the Kadanoff decimation. The coarse-grained output is then scaled back to the original dimensions by a factor of 2. In Appendix B, we present the PyTorch-like pseudo-code of $\mathrm{MS}^3\mathrm{D}$ calculation. The dissimilarity between the two versions is computed by the overlap of the current version and the coarser-grained version (Eq. (5)). We simply implement SD as the mean squared error (MSE). Hence, the $\mathrm{MS}^3\mathrm{D}$ is the cumulative sum of SDs across all scales, formulated as:
|
| 172 |
+
|
| 173 |
+
$$
|
| 174 |
+
\mathcal {D} _ {\Gamma_ {0 \rightarrow t}} = \sum_ {i = 0} ^ {t} \| \Gamma_ {i} (\Psi (x _ {0}; \phi)) - \Gamma_ {i \rightarrow i + 1} (\Psi (x _ {0}; \phi)) \| _ {2} ^ {2}. \tag {9}
|
| 175 |
+
$$
|
| 176 |
+
|
| 177 |
+
The loss function for the discriminator is:
|
| 178 |
+
|
| 179 |
+
$$
|
| 180 |
+
\begin{array}{l} \mathcal {L} _ {\mathrm {d i s}} = - \mathbb {E} _ {x} \log f (x; \phi) - \mathbb {E} _ {z} \log (1 - f (g (z)); \phi) \tag {10} \\ + \lambda \mathbb {E} _ {x} \mathcal {D} _ {\Gamma_ {0 \rightarrow t}} (\nabla_ {x} (f (x; \phi))), \\ \end{array}
|
| 181 |
+
$$
|
| 182 |
+
|
| 183 |
+
where $\lambda$ is the weight of the $\mathrm{MS}^3\mathrm{D}$ regularization term.
|
| 184 |
+
|
| 185 |
+
# 4. Experiments
|
| 186 |
+
|
| 187 |
+
# 4.1. Experimental Settings
|
| 188 |
+
|
| 189 |
+
Datasets. Our experiments utilize four diverse datasets: OxfordDog (from Oxford-IIIT pet dataset (Parkhi et al., 2012), detailed in Appendix C), Flickr-Faces-HQ (FFHQ) (Karras et al., 2019), MetFaces (Karras et al., 2020a), and BreCaHAD (Aksac et al., 2019). Detailed descriptions of these datasets are provided in Appendix C.
|
| 190 |
+
|
| 191 |
+
Metrics. We employ Inception Score (IS) (Salimans et al., 2016), Fréchet Inception Distance (FID) (Heusel et al., 2017), and Kernel Inception Distance (KID) (Binkowski
|
| 192 |
+
|
| 193 |
+
Table 2. Comparison of techniques for mitigating discriminator overfitting under limited data.
|
| 194 |
+
|
| 195 |
+
<table><tr><td rowspan="2">METHOD</td><td colspan="2">OXFORDDOG</td><td colspan="2">FFHQ-2.5K</td></tr><tr><td>FID ↓</td><td>IS ↑</td><td>FID ↓</td><td>IS ↑</td></tr><tr><td>STYLEGAN2</td><td>64.26</td><td>9.69</td><td>48.11</td><td>3.50</td></tr><tr><td>+ LECAM</td><td>102.87</td><td>8.02</td><td>68.85</td><td>3.53</td></tr><tr><td>+ DIGGAN</td><td>61.84</td><td>10.07</td><td>48.45</td><td>3.68</td></tr><tr><td>+ KD-DLGAN</td><td>54.06</td><td>9.73</td><td>49.31</td><td>3.67</td></tr><tr><td>+ MS³D</td><td>47.05</td><td>10.73</td><td>33.46</td><td>4.61</td></tr><tr><td>+ CR + ADA</td><td>29.81</td><td>11.76</td><td>19.98</td><td>4.53</td></tr><tr><td>+ MS³D + ADA</td><td>25.94</td><td>12.08</td><td>20.23</td><td>4.71</td></tr></table>
|
| 196 |
+
|
| 197 |
+
Table 3. Comparison of various GAN architectures and techniques.
|
| 198 |
+
|
| 199 |
+
<table><tr><td>METHOD</td><td></td><td>FID ↓</td><td>IS ↑</td></tr><tr><td rowspan="5">DCGAN</td><td>VANILLA</td><td>107.33</td><td>3.23</td></tr><tr><td>+ AUXILIARY ROTATIONS</td><td>103.43</td><td>2.85</td></tr><tr><td>+ DroPOUT</td><td>77.35</td><td>4.11</td></tr><tr><td>+ NOISE</td><td>86.13</td><td>5.40</td></tr><tr><td>+ MS³D</td><td>59.37</td><td>4.39</td></tr><tr><td rowspan="5">SNGAN</td><td>VANILLA</td><td>57.08</td><td>3.42</td></tr><tr><td>+ AUXILIARY ROTATIONS</td><td>54.85</td><td>3.63</td></tr><tr><td>+ DroPOUT</td><td>48.54</td><td>4.02</td></tr><tr><td>+ NOISE</td><td>55.99</td><td>3.33</td></tr><tr><td>+ MS³D</td><td>47.87</td><td>4.18</td></tr></table>
|
| 200 |
+
|
| 201 |
+
et al., 2018) to evaluate our models. We utilize the official implementations of these metrics as provided by Karras et al. (2020b).
|
| 202 |
+
|
| 203 |
+
# 4.2. Results: Various Limited Data Settings
|
| 204 |
+
|
| 205 |
+
In Table 1, we compare our method with multiple GAN losses, including Wasserstein (Arjovsky et al., 2017), Least Squares (LS) (Mao et al., 2017), RaHinge (Jolicoeur-Martineau, 2019), and NS (non-saturated, vanilla StyleGAN2) (Goodfellow et al., 2014). We observe that the state-of-the-art divergence metrics, such as Wasserstein and LS, which are originally devised to stabilize GAN training, perform poorly in limited data settings. Surprisingly, RaHinge loss performs very well, unlike the poor results reported by Tseng et al. (2021), and it outperforms our default setting, i.e., $\mathrm{StyleGAN2 + MS^3D}$ (abbreviated as $+\mathrm{MS}^{3}\mathrm{D}$ ). A possible reason is that the relativistic discriminator reduces the probability of real data being classified as real, thus enhancing the discriminator's generalization ability. Nevertheless, our method still surpasses it and achieves the best performance on $+\mathrm{MS}^{3}\mathrm{D} + \mathrm{RaHinge}$ . This indicates that our method can effectively integrate with other methods.
|
| 206 |
+
|
| 207 |
+
In Table 2, we show the comparison with other regularization methods, namely: consistency regularization (CR) (Zhang et al., 2020), exponential moving average regularization (LeCam) (Tseng et al., 2021), discriminator gradient gap regularization (DigGAN) (Fang et al., 2022), and knowledge distillation (KD-DLGAN) (Cui et al., 2023). CR aims to constrain the discriminator's sensitivity to augmented data, relying on augmentation, while our method is
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
(a) OxfordDog
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
(b) FFHQ-2.5K
|
| 214 |
+
Figure 6. Evolution of FID values on OxfordDog and FFHQ-2.5K datasets over various training steps.
|
| 215 |
+
|
| 216 |
+
Table 4. Quantitative evaluation (FID $\Downarrow$ ) on varying data scales of the FFHQ dataset.
|
| 217 |
+
|
| 218 |
+
<table><tr><td>METHOD</td><td>1K</td><td>2K</td><td>4K</td><td>6K</td><td>8K</td><td>10K</td><td>70K</td></tr><tr><td>STYLEGAN2</td><td>87.86</td><td>54.96</td><td>27.63</td><td>22.97</td><td>15.98</td><td>12.50</td><td>6.50</td></tr><tr><td>+ LECAM</td><td>99.90</td><td>88.51</td><td>69.55</td><td>33.46</td><td>16.06</td><td>10.48</td><td>6.53</td></tr><tr><td>+ DIGGAN</td><td>81.42</td><td>56.33</td><td>31.26</td><td>20.92</td><td>15.77</td><td>12.61</td><td>6.63</td></tr><tr><td>+ KD-DLGAN</td><td>83.67</td><td>55.34</td><td>29.91</td><td>19.84</td><td>15.99</td><td>12.73</td><td>7.11</td></tr><tr><td>+ RAHINGE</td><td>93.14</td><td>56.64</td><td>25.72</td><td>20.43</td><td>12.55</td><td>10.98</td><td>6.10</td></tr><tr><td>+ MS³D</td><td>81.30</td><td>49.17</td><td>24.17</td><td>19.86</td><td>12.61</td><td>10.59</td><td>6.28</td></tr></table>
|
| 219 |
+
|
| 220 |
+
augmentation-free. To provide a comprehensive comparison, we also combine adaptive discriminator augmentation (ADA) (Karras et al., 2020a) with our method. As shown in Table 2, our method outperforms LeCam, DigGAN, and KD-DLGAN, which are specifically designed for limited data scenarios. Additionally, in combination with ADA (+ MS $^3$ D + ADA), our method surpasses CR with ADA (+ CR + ADA).
|
| 221 |
+
|
| 222 |
+
Furthermore, we compare our method across different GAN architectures, including DCGAN (Radford et al., 2016) and SNGAN (Miyato et al., 2018), and various improvement techniques such as auxiliary rotation prediction (Chen et al., 2019), dropout (Srivastava et al., 2014), and noise injection (Sonderby et al., 2017). As demonstrated in Table 3, our method performs well not only with StyleGAN architectures but also with traditional convolution-based DCGAN and ResNet-based SNGAN, indicating that our method's effectiveness is not dependent on the underlying neural network structure, likely due to its primary impact on gradients.
|
| 223 |
+
|
| 224 |
+
To further demonstrate the effectiveness of our method in improving the quality of generated images under limited data conditions, we present FID values at various data scales in Table 4. Our method significantly reduces FID values, particularly at more limited data scales such as 1K, 2K and 4K. In Fig. 6, we illustrate the FID values over training steps for OxfordDog and FFHQ-2.5K. These results confirm that our method effectively mitigates the image quality deterioration typically observed with limited data. The generated images, as depicted in Fig. 10, visibly demonstrate that our method yields more realistic images in comparison to baseline models.
|
| 225 |
+
|
| 226 |
+
Table 5. Quantitative comparison on small datasets, MetFaces and BreCaHAD.
|
| 227 |
+
|
| 228 |
+
<table><tr><td rowspan="2">METHOD</td><td colspan="3">METFACES</td><td colspan="3">BRECAHAD</td></tr><tr><td>FID ↓</td><td>IS ↑</td><td>KID ↓</td><td>FID ↓</td><td>IS ↑</td><td>KID ↓</td></tr><tr><td>STYLEGAN2</td><td>53.21</td><td>3.16</td><td>0.028</td><td>97.06</td><td>3.10</td><td>0.095</td></tr><tr><td>+ LECAM</td><td>56.67</td><td>2.43</td><td>0.102</td><td>83.74</td><td>2.51</td><td>0.046</td></tr><tr><td>+ DIGGAN</td><td>53.97</td><td>3.09</td><td>0.031</td><td>105.45</td><td>3.05</td><td>0.095</td></tr><tr><td>+ KD-DLGAN</td><td>54.05</td><td>3.11</td><td>0.029</td><td>86.25</td><td>3.26</td><td>0.083</td></tr><tr><td>+ MS³D</td><td>37.71</td><td>3.85</td><td>0.017</td><td>67.12</td><td>2.62</td><td>0.038</td></tr><tr><td>+ CR + ADA</td><td>29.91</td><td>4.20</td><td>0.008</td><td>22.69</td><td>2.81</td><td>0.011</td></tr><tr><td>+ MS³D + ADA</td><td>23.09</td><td>4.15</td><td>0.004</td><td>20.22</td><td>2.81</td><td>0.006</td></tr><tr><td>+ MS³D + ADA + CR</td><td>21.54</td><td>4.28</td><td>0.004</td><td>21.09</td><td>2.92</td><td>0.007</td></tr></table>
|
| 229 |
+
|
| 230 |
+
Table 6. Quantitative results of transfer learning with Freeze-D technique applied to MetFaces dataset. The model is pretrained on FFHQ-70K.
|
| 231 |
+
|
| 232 |
+
<table><tr><td rowspan="2">METHOD</td><td colspan="3">METFACES</td></tr><tr><td>FID ↓</td><td>IS ↑</td><td>KID ↓</td></tr><tr><td>STYLEGAN2</td><td>53.21</td><td>3.16</td><td>0.028</td></tr><tr><td>+ FREEZE-D</td><td>47.74</td><td>3.32</td><td>0.020</td></tr><tr><td>+ MS³D + FREEZE-D</td><td>36.95</td><td>3.56</td><td>0.013</td></tr></table>
|
| 233 |
+
|
| 234 |
+
# 4.3. Results: Small Dataset
|
| 235 |
+
|
| 236 |
+
We also conducted experiments on small datasets, MetFaces and BreCaHAD, which contain only 1,203 and 1,750 training images, respectively. Table 5 compares our method with other techniques on these datasets, demonstrating that our method achieves the best performance. Following Karras et al. (2020a), we use KID for quantitative evaluation due to its stability on small datasets. The generated images in Fig. 10 show that our method produces more realistic images than baseline models.
|
| 237 |
+
|
| 238 |
+
# 4.4. Results: Transfer Learning
|
| 239 |
+
|
| 240 |
+
To cope with the difficulty of data collection, recent researchers have leveraged transfer learning in the image generation setting. Wang et al. (2020) use fine-tuning to transfer the knowledge of models pre-trained on external large-scale datasets. Some works propose to fine-tune only part of the model, such as Mo et al. (2020) propose to fix the highest resolution layer of the discriminator (Freeze-D) for knowledge transfer, showing competitive results. In Table 6, we implement this technique and show the results. We find that our method achieves consistent gains on all datasets, although the gains are very marginal.
|
| 241 |
+
|
| 242 |
+
# 4.5. Analysis and Ablation Studies
|
| 243 |
+
|
| 244 |
+
Training dynamics. In Section 3.2, we demonstrate that perceptual narrowing forms a feedback system $\Psi(x; \phi)$ characterized by high learnability and sensitivity, exhibiting significant self-dissimilarity (SD). Thus, we define multi-scale structural self-dissimilarity $(\mathbf{MS}^3\mathbf{D})$ and incorporate it to enhance the performance of GANs with limited data. To validate the efficacy of $\mathbf{MS}^3\mathbf{D}$ regularization $(\mathcal{D}_{\Gamma})$ , we illustrate
|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
(a)
|
| 248 |
+
|
| 249 |
+

|
| 250 |
+
(b)
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
(c)
|
| 254 |
+
|
| 255 |
+

|
| 256 |
+
(d)
|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
(e)
|
| 260 |
+
|
| 261 |
+

|
| 262 |
+
(a) Loss landscapes
|
| 263 |
+
|
| 264 |
+

|
| 265 |
+
|
| 266 |
+

|
| 267 |
+
(b) Similarities
|
| 268 |
+
Figure 8. (a) Loss landscapes of the discriminator without $\mathrm{MS}^3\mathrm{D}$ (left) and with $\mathrm{MS}^3\mathrm{D}$ (right). (b) Average cosine similarity of the discriminator's data embeddings.
|
| 269 |
+
|
| 270 |
+
Table 7. Computational complexity of different methods.
|
| 271 |
+
|
| 272 |
+
<table><tr><td>METHOD</td><td>TIME (S / KIMG)</td><td>CPU MEMORY (G)</td><td>GPU MEMORY (G)</td></tr><tr><td>STYLEGAN2</td><td>9.73</td><td>5.354</td><td>9.127</td></tr><tr><td>+ MS³D</td><td>9.75</td><td>5.374</td><td>9.127</td></tr></table>
|
| 273 |
+
|
| 274 |
+
the relationship between perceptual narrowing and $\mathrm{MS}^3\mathrm{D}$ in Fig. 7(a), revealing their close connection. Fig. 7(b) displays the gradient patterns post $\mathrm{MS}^3\mathrm{D}$ application, showing a more dispersed pattern similar to augmentation methods, which is visualized in Fig. 7(c). In Fig. 7(d), validation data demonstrate our method's superior generalization, evidenced by the discriminator's lower confidence in evaluating validation data. Moreover, with minimal training data, our method ensures stable training without collapsing. Fig. 7(e) shows that after applying $\mathrm{MS}^3\mathrm{D}$ , the Fisher information of $\Psi(x;\phi)$ decreases, indicating more stable training dynamics.
|
| 275 |
+
|
| 276 |
+
Loss landscape. In addition to examining the impact of $\mathrm{MS}^3\mathrm{D}$ on GAN learning dynamics from the RG perspective, we also assess it from the loss landscape perspective. Figs. 8(a) and (b) reveal how $\mathrm{MS}^3\mathrm{D}$ influences the discriminator's loss landscape under limited data conditions, making the loss landscape flatter. A flatter loss landscape generally implies enhanced model generalization and training stability (Li et al., 2018).
|
| 277 |
+
|
| 278 |
+
Embedding space. Further observations show that the mean cosine similarity of the discriminator's data embeddings significantly increases by the end of training, compared to the
|
| 279 |
+
|
| 280 |
+

|
| 281 |
+
Figure 7. (a) The relationship between perceptual narrowing and $\mathrm{MS}^3\mathrm{D}$ . (b) Reduction in gradient aggregation post- $\mathrm{MS}^3\mathrm{D}$ application. (c) Visualization of gradients post- $\mathrm{MS}^3\mathrm{D}$ , showing a dispersed pattern similar to augmentation methods. (d) Mitigation of discriminator overfitting to validation data with $\mathrm{MS}^3\mathrm{D}$ . (e) Decrease in Fisher information post- $\mathrm{MS}^3\mathrm{D}$ , indicating enhanced stability in training dynamics.
|
| 282 |
+
(a) Parameter $\lambda$
|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
(b) Filter $\Gamma$
|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
(c) Factor $\zeta$
|
| 289 |
+
|
| 290 |
+
Table 8. Ablation study on $\mathrm{MS}^3\mathrm{D}$ regularization applied to real and generated data.
|
| 291 |
+
|
| 292 |
+
<table><tr><td colspan="2">CONFIGURATION DΓ(Ψ(x))</td><td>OXFORDDOG</td><td>FFHQ-2.5K</td></tr><tr><td>x = REAL</td><td>x = GENERATED</td><td></td><td></td></tr><tr><td>X</td><td>✓</td><td>62.40</td><td>86.51</td></tr><tr><td>✓</td><td>X</td><td>47.05</td><td>33.46</td></tr><tr><td>✓</td><td>✓</td><td>42.73</td><td>36.31</td></tr></table>
|
| 293 |
+
|
| 294 |
+
initial phase. This increase indicates a narrower embedding space for the discriminator, suggesting a large gap between real and generated image representations. This discrepancy can enable the discriminator to easily achieve perfect true-false classification, leading to overfitting. Conversely, the application of $\mathrm{MS}^3\mathrm{D}$ or data augmentation prevents this narrowing, maintaining low average cosine similarity levels, as depicted in Fig. 8(c). These findings imply that perceptual narrowing may cause a narrower embedding space, and $\mathrm{MS}^3\mathrm{D}$ can effectively mitigate this issue, thereby enhancing discriminator generalization. Additional details are available in Appendix A.
|
| 295 |
+
|
| 296 |
+
Computational complexity. Our RG process involves iteratively downsampling $\Psi(x; \phi)$ and computing differences pre- and post-downsampling. Using pooling operators in PyTorch, this procedure does not require trainable parameters. Table 7 summarizes the computational overhead and memory usage during training on OxfordDog with Nvidia RTX 4090, indicating negligible resource demands.
|
| 297 |
+
|
| 298 |
+
Ablation study. Fig. 9 (a) presents results for different $\lambda$
|
| 299 |
+
|
| 300 |
+

|
| 301 |
+
Figure 10. Example generated images for several datasets with limited amount of training data.
|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
|
| 305 |
+
Table 9. Quantitative results on SNGAN with FFHQ-2.5K.
|
| 306 |
+
|
| 307 |
+
<table><tr><td>METHOD</td><td>FID ↓</td><td>IS ↑</td></tr><tr><td>SNGAN</td><td>45.31</td><td>4.32</td></tr><tr><td>+ MS³D</td><td>46.14</td><td>4.37</td></tr></table>
|
| 308 |
+
|
| 309 |
+
values in Eq. (10), showing optimal performance at $\lambda = 10$ . Larger $\lambda$ values may interfere with other constraint terms in StyleGAN2, which has multiple constraints.
|
| 310 |
+
|
| 311 |
+
We also conduct ablation experiments on different RG transformations, introducing a Gaussian kernel as an alternative to the Kadanoff block-spin transformation (Fig. 9(b)). The results show minimal differences, leading us to adopt the simpler method. In Eq. (8), we chose a coarse-graining factor of 2, a common practice, and varied this factor in numerical experiments on OxfordDog (Fig. 9(c)), noting that larger factors increased variance and reduced numerical stability.
|
| 312 |
+
|
| 313 |
+
For $\mathcal{D}_{\Gamma_{0\to t}}(\Psi (x;\phi))$ in Eq. (10), $x$ can be either real or generated data. Table 8 compares results on OxfordDog and FFHQ-2.5K for real and generated data, finding optimal performance when $x$ includes both. However, regularization on real data alone is more effective in avoiding discriminator overfitting, leading us to choose this for computational efficiency.
|
| 314 |
+
|
| 315 |
+
Limitations. For low-resolution image generation models (e.g., $32 \times 32$ ), such as DCGAN and SNGAN, our method may not yield significant improvements. These models often exhibit stable training dynamics due to their reduced internal differences. Experiments conducted on SNGAN with FFHQ-2.5K, which intentionally minimizes internal differences (details in Appendix C), support this observation. The results, presented in Table 9, confirm that GANs trained
|
| 316 |
+
|
| 317 |
+
on such datasets tend to be relatively easy to stabilize. Furthermore, the influence of our method on gradients, which promotes more uniform and dispersed gradients, may not be particularly beneficial for low-resolution image generation.
|
| 318 |
+
|
| 319 |
+
# 5. Conclusion and Future Work
|
| 320 |
+
|
| 321 |
+
In our study, we are analyzing the gradient pattern that the generator receives from the discriminator at various scales based RG flow. In particular, we are interested in the relationship between the gradient pattern and discriminator deterioration in the limited data setting. Based on this, we propose a new regularization method, called $\mathrm{MS}^3\mathrm{D}$ . We conduct extensive experiments on various datasets and tasks, and the results show that our method can significantly improve the performance of GANs under limited data. Recently, RG theory has been linked with the notions of information theory (Gordon et al., 2021). Therefore, an intriguing future direction is to explore the connection between the gradient pattern and the perceptual narrowing phenomenon from the angle of information theory.
|
| 322 |
+
|
| 323 |
+
# Acknowledgements
|
| 324 |
+
|
| 325 |
+
This work is supported by the Fundamental Research Funds for the Central Universities under Grant 1082204112364.
|
| 326 |
+
|
| 327 |
+
# Impact Statement
|
| 328 |
+
|
| 329 |
+
This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.
|
| 330 |
+
|
| 331 |
+
# References
|
| 332 |
+
|
| 333 |
+
Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I. J., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R., Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D. G., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K., Tucker, P. A., Vanhoucke, V., Vasudevan, V., Viégas, F. B., Vinyals, O., Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and Zheng, X. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. CoRR, abs/1603.04467, 2016.
|
| 334 |
+
Achille, A., Rovere, M., and Soatto, S. Critical learning periods in deep networks. In 7th International Conference on Learning Representations, 2019.
|
| 335 |
+
Aksac, A., Demetrick, D. J., Ozyer, T., and Alhajj, R. Brecahad: a dataset for breast cancer histopathological annotation and diagnosis. BMC Research Notes, Dec 2019.
|
| 336 |
+
Amari, S.-i. Information geometry and its applications, volume 194. Springer, 2016.
|
| 337 |
+
Arjovsky, M. and Bottou, L. Towards principled methods for training generative adversarial networks. In 5th International Conference on Learning Representations, 2017.
|
| 338 |
+
Arjovsky, M., Chintala, S., and Bottou, L. Wasserstein generative adversarial networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pp. 214-223, 2017.
|
| 339 |
+
Bagrov, A. A., Iakovlev, I. A., Iliasov, A. A., Katsnelson, M. I., and Mazurenko, V. V. Multiscale structural complexity of natural patterns. Proceedings of the National Academy of Sciences, 117(48):30241-30251, 2020.
|
| 340 |
+
Binkowski, M., Sutherland, D. J., Arbel, M., and Gretton, A. Demystifying MMD gans. In 6th International Conference on Learning Representations, 2018.
|
| 341 |
+
Bradde, S. and Bialek, W. Pca meets rg. Journal of statistical physics, 167:462-475, 2017.
|
| 342 |
+
Brock, A., Donahue, J., and Simonyan, K. Large scale GAN training for high fidelity natural image synthesis. In 7th International Conference on Learning Representations, 2019.
|
| 343 |
+
Cam, L. L. Asymptotic Methods in Statistical Decision Theory. Springer, Jan 1986.
|
| 344 |
+
Chen, T., Zhai, X., Ritter, M., Lucic, M., and Houlsby, N. Self-supervised gans via auxiliary rotation loss. In IEEE Conference on Computer Vision and Pattern Recognition, pp. 12154-12163, 2019.
|
| 345 |
+
|
| 346 |
+
Cui, K., Huang, J., Luo, Z., Zhang, G., Zhan, F., and Lu, S. Genco: Generative co-training for generative adversarial networks with limited data. In Thirty-Sixth AAAI Conference on Artificial Intelligence, pp. 499-507, 2022.
|
| 347 |
+
Cui, K., Yu, Y., Zhan, F., Liao, S., Lu, S., and Xing, E. P. KD-DLGAN: data limited image generation via knowledge distillation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3872-3882, 2023.
|
| 348 |
+
Denton, E. L., Chintala, S., Szlam, A., and Fergus, R. Deep generative image models using a laplacian pyramid of adversarial networks. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, pp. 1486-1494, 2015.
|
| 349 |
+
Fang, T., Sun, R., and Schwing, A. G. Diggan: Discriminator gradient gap regularization for GAN training with limited data. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, volume 35, pp. 31782-31795, 2022.
|
| 350 |
+
Fisher, M. E. Renormalization group theory: Its basis and formulation in statistical physics. Reviews of Modern Physics, 70(2):653, 1998.
|
| 351 |
+
Goodfellow, I. J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A. C., and Bengio, Y. Generative adversarial nets. In Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, pp. 2672-2680, 2014.
|
| 352 |
+
Gordon, A., Banerjee, A., Koch-Janusz, M., and Ringel, Z. Relevance in the renormalization group and in information theory. Physical Review Letters, 126(24):240601, 2021.
|
| 353 |
+
Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A. C. Improved training of wasserstein gans. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, pp. 5767-5777, 2017.
|
| 354 |
+
Gulrajani, I., Raffel, C., and Metz, L. Towards GAN benchmarks which require generalization. In 7th International Conference on Learning Representations, 2019.
|
| 355 |
+
Hensch, T. K. Critical period regulation. Annual Review of Neuroscience, pp. 549-579, Jul 2004.
|
| 356 |
+
Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, pp. 6626-6637, 2017.
|
| 357 |
+
|
| 358 |
+
Jacobs, K. and Jacobs, K. Elements of information theory. Discrete Stochastics, pp. 155-183, 1992.
|
| 359 |
+
Jenni, S. and Favaro, P. On stabilizing generative adversarial training with noise. In IEEE Conference on Computer Vision and Pattern Recognition, pp. 12145-12153, 2019.
|
| 360 |
+
Jiang, L., Dai, B., Wu, W., and Loy, C. C. Deceive D: adaptive pseudo augmentation for GAN training with limited data. In Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, pp. 21655-21667, 2021.
|
| 361 |
+
Jolicoeur-Martineau, A. The relativistic discriminator: a key element missing from standard GAN. In 7th International Conference on Learning Representations, 2019.
|
| 362 |
+
Kadanoff, L. P. Scaling laws for ising models near t c. Physics Physique Fizika, 2(6):263, 1966.
|
| 363 |
+
Karras, T., Aila, T., Laine, S., and Lehtinen, J. Progressive growing of gans for improved quality, stability, and variation. In 6th International Conference on Learning Representations, 2018.
|
| 364 |
+
Karras, T., Laine, S., and Aila, T. A style-based generator architecture for generative adversarial networks. In IEEE Conference on Computer Vision and Pattern Recognition, pp. 4401-4410, 2019.
|
| 365 |
+
Karras, T., Aittala, M., Hellsten, J., Laine, S., Lehtinen, J., and Aila, T. Training generative adversarial networks with limited data. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, 2020a.
|
| 366 |
+
Karras, T., Laine, S., Aittala, M., Hellsten, J., Lehtinen, J., and Aila, T. Analyzing and improving the image quality of stylegan. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8107-8116, 2020b.
|
| 367 |
+
Kirkpatrick, J., Pascanu, R., Rabinowitz, N. C., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., Hassabis, D., Clopath, C., Kumaran, D., and Hadsell, R. Overcoming catastrophic forgetting in neural networks. CoRR, abs/1612.00796, 2016.
|
| 368 |
+
Koch-Janusz, M. and Ringel, Z. Mutual information, neural networks and the renormalization group. Nature Physics, 14(6):578-582, 2018.
|
| 369 |
+
Kumari, N., Zhang, R., Shechtman, E., and Zhu, J. Ensembling off-the-shelf models for GAN training. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10641-10652, 2022.
|
| 370 |
+
|
| 371 |
+
Li, H., Xu, Z., Taylor, G., Studer, C., and Goldstein, T. Visualizing the loss landscape of neural nets. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, pp. 6391-6401, 2018.
|
| 372 |
+
Lin, H. W., Tegmark, M., and Rolnick, D. Why does deep and cheap learning work so well. Journal of Statistical Physics, 168(6):1223-1247, Sep 2017.
|
| 373 |
+
Liu, S., Wang, T., Bau, D., Zhu, J., and Torralba, A. Diverse image generation via self-conditioned gans. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 14274-14283, 2020.
|
| 374 |
+
Machacek, M. E. and Vaughn, M. T. Two-loop renormalization group equations in a general quantum field theory:(iii). scalar quartic couplings. *Nuclear Physics B*, 249 (1):70-92, 1985.
|
| 375 |
+
Mao, X., Li, Q., Xie, H., Lau, R. Y. K., Wang, Z., and Smolley, S. P. Least squares generative adversarial networks. In IEEE International Conference on Computer Vision, pp. 2813-2821, 2017.
|
| 376 |
+
Mehta, P. and Schwab, D. J. An exact mapping between the variational renormalization group and deep learning. CoRR, abs/1410.3831, 2014.
|
| 377 |
+
Mescheder, L. M., Geiger, A., and Nowozin, S. Which training methods for gans do actually converge? In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 3478-3487, 2018.
|
| 378 |
+
Miyato, T. and Koyama, M. cgans with projection discriminator. In 6th International Conference on Learning Representations, 2018.
|
| 379 |
+
Miyato, T., Kataoka, T., Koyama, M., and Yoshida, Y. Spectral normalization for generative adversarial networks. In 6th International Conference on Learning Representations, 2018.
|
| 380 |
+
Mo, S., Cho, M., and Shin, J. Freeze discriminator: A simple baseline for fine-tuning gans. CoRR, abs/2002.10964, 2020.
|
| 381 |
+
Parkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar, C. V. Cats and dogs. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pp. 3498-3505, 2012.
|
| 382 |
+
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E. Z., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. Pytorch: An imperative style, high-performance deep learning library. In Advances in
|
| 383 |
+
|
| 384 |
+
Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, pp. 8024-8035, 2019.
|
| 385 |
+
Radford, A., Metz, L., and Chintala, S. Unsupervised representation learning with deep convolutional generative adversarial networks. In 4th International Conference on Learning Representations, 2016.
|
| 386 |
+
Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., and Sutskever, I. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, volume 139, pp. 8748-8763, 2021.
|
| 387 |
+
Salimans, T., Goodfellow, I. J., Zaremba, W., Cheung, V., Radford, A., and Chen, X. Improved techniques for training gans. In Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, pp. 2226-2234, 2016.
|
| 388 |
+
Shorten, C. and Khoshgoftaar, T. M. A survey on image data augmentation for deep learning. J. Big Data, 6:60, 2019.
|
| 389 |
+
Sonderby, C. K., Caballero, J., Theis, L., Shi, W., and Huszár, F. Amortised MAP inference for image superresolution. In 5th International Conference on Learning Representations, 2017.
|
| 390 |
+
Song, J. and Ermon, S. Bridging the gap between f-gans and wasserstein gans. In Proceedings of the 37th International Conference on Machine Learning, volume 119, pp. 9078-9087, 2020.
|
| 391 |
+
Srivastava, N., Hinton, G. E., Krizhevsky, A., Sutskever, I., and Salakhutdinov, R. Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res., 15(1):1929-1958, 2014.
|
| 392 |
+
Stanley, H. E. Scaling, universality, and renormalization: Three pillars of modern critical phenomena. Reviews of modern physics, 71(2):S358, 1999.
|
| 393 |
+
Tran, N., Tran, V., Nguyen, N., Nguyen, T., and Cheung, N. Towards good practices for data augmentation in GAN training. CoRR, abs/2006.05338, 2020.
|
| 394 |
+
Tran, N., Tran, V., Nguyen, N., Nguyen, T., and Cheung, N. On data augmentation for GAN training. IEEE Trans. Image Process., 30:1882-1897, 2021.
|
| 395 |
+
Tseng, H., Jiang, L., Liu, C., Yang, M., and Yang, W. Regularizing generative adversarial networks under limited data. In IEEE Conference on Computer Vision and Pattern Recognition, pp. 7921-7931, 2021.
|
| 396 |
+
|
| 397 |
+
Wang, Y., Gonzalez-Garcia, A., Berga, D., Herranz, L., Khan, F. S., and van de Weijer, J. Minegan: Effective knowledge transfer from gans to target domains with few images. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9329-9338, 2020.
|
| 398 |
+
Webster, R., Rabin, J., Simon, L., and Jurie, F. Detecting overfitting of deep generative networks via latent recovery. In IEEE Conference on Computer Vision and Pattern Recognition, pp. 11273-11282, 2019.
|
| 399 |
+
Wilson, K. G. Renormalization group and critical phenomena. i. renormalization group and the kadanoff scaling picture. Physical review B, 4(9):3174, 1971.
|
| 400 |
+
Wolpert, D. H. and Macready, W. G. Using self-dissimilarity to quantify complexity. Complex., 12(3):77-85, 2007.
|
| 401 |
+
Wolpert, D. H. and Macready, W. G. Self-dissimilarity: An empirically observable complexity measure. In Unifying Themes In Complex Systems, Volume 1, pp. 625-644. CRC Press, 2018.
|
| 402 |
+
Zhang, H., Xu, T., and Li, H. Stackgan: Text to photorealistic image synthesis with stacked generative adversarial networks. In IEEE International Conference on Computer Vision, pp. 5908-5916, 2017.
|
| 403 |
+
Zhang, H., Goodfellow, I. J., Metaxas, D. N., and Odena, A. Self-attention generative adversarial networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97, pp. 7354-7363, 2019.
|
| 404 |
+
Zhang, H., Zhang, Z., Odena, A., and Lee, H. Consistency regularization for generative adversarial networks. In 8th International Conference on Learning Representations. OpenReview.net, 2020.
|
| 405 |
+
Zhao, J. J., Mathieu, M., and LeCun, Y. Energy-based generative adversarial networks. In 5th International Conference on Learning Representations, 2017.
|
| 406 |
+
Zhao, S., Liu, Z., Lin, J., Zhu, J., and Han, S. Differentiable augmentation for data-efficient GAN training. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, 2020a.
|
| 407 |
+
Zhao, Z., Zhang, Z., Chen, T., Singh, S., and Zhang, H. Image augmentations for GAN training. CoRR, abs/2006.02595, 2020b.
|
| 408 |
+
Zhao, Z., Singh, S., Lee, H., Zhang, Z., Odena, A., and Zhang, H. Improved consistency regularization for gans. In Thirty-Fifth AAAI Conference on Artificial Intelligence, pp. 11033-11041, 2021.
|
| 409 |
+
|
| 410 |
+
# A. Discussion
|
| 411 |
+
|
| 412 |
+
# A.1. Simple Proof of SD Computation
|
| 413 |
+
|
| 414 |
+
In this section, we demonstrate the proof for computing the structural self-dissimilarity (SD) as presented in the main text. We begin by defining SD as follows:
|
| 415 |
+
|
| 416 |
+
$$
|
| 417 |
+
\mathcal {D} _ {\Gamma_ {s \rightarrow s + d s}} = \left| \langle \Gamma_ {s} | \Gamma_ {s + d s} \rangle - \frac {1}{2} \left(\langle \Gamma_ {s} | \Gamma_ {s} \rangle + \langle \Gamma_ {s + d s} | \Gamma_ {s + d s} \rangle\right)\right|. \tag {11}
|
| 418 |
+
$$
|
| 419 |
+
|
| 420 |
+
In the main text, we showed that SD can be computed using the equation:
|
| 421 |
+
|
| 422 |
+
$$
|
| 423 |
+
\mathcal {D} _ {\Gamma_ {s \rightarrow s + d s}} = \frac {1}{2} | (\langle \Gamma_ {s} | \Gamma_ {s} \rangle - \langle \Gamma_ {s + d s} | \Gamma_ {s + d s} \rangle) |. \tag {12}
|
| 424 |
+
$$
|
| 425 |
+
|
| 426 |
+
Proof: Consider the Kadanoff block-spin transformation:
|
| 427 |
+
|
| 428 |
+
$$
|
| 429 |
+
\left\{\Gamma_ {s + d s} (\Psi (x; \phi)) \right\} (i, j) = \frac {1}{(\zeta_ {s}) ^ {2}} \sum_ {m = 0} ^ {\zeta_ {s} - 1} \sum_ {n = 0} ^ {\zeta_ {s} - 1} \left\{\Gamma_ {s} (\Psi (x; \phi)) \right\} \left(\left\lfloor \frac {i}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + m, \left\lfloor \frac {j}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + n\right). \tag {13}
|
| 430 |
+
$$
|
| 431 |
+
|
| 432 |
+
Thus, we have:
|
| 433 |
+
|
| 434 |
+
$$
|
| 435 |
+
\begin{array}{l} \langle \Gamma_ {s} | \Gamma_ {s + d s} \rangle = \frac {1}{(L _ {s + d s}) ^ {2}} \sum_ {i = 0} ^ {L _ {s} - 1} \sum_ {j = 0} ^ {L _ {s} - 1} \Gamma_ {s} \left\{\left(\Psi (x; \phi)\right) \right\} (i, j) \sum_ {m = 0} ^ {\zeta_ {s} - 1} \sum_ {n = 0} ^ {\zeta_ {s} - 1} \left\{\Gamma_ {s} (\Psi (x; \phi)) \right\} \left(\left\lfloor \frac {i}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + m, \left\lfloor \frac {j}{\zeta_ {s}} \right\rfloor \cdot \zeta_ {s} + n\right) \\ = \frac {\left(\zeta_ {s}\right) ^ {2}}{\left(L _ {s + d s}\right) ^ {2}} \sum_ {i = 0} ^ {L _ {s} - 1} \sum_ {j = 0} ^ {L _ {s} - 1} \left(\Gamma_ {s} \left\{\left(\Psi (x; \phi)\right) \right\} (i, j)\right) ^ {2} \tag {14} \\ = \frac {(\zeta_ {s}) ^ {2}}{(L _ {s + d s}) ^ {2}} \cdot (L _ {s}) ^ {2} (\Gamma_ {s} (\Psi (x; \phi))) ^ {2} \\ = \left\langle \Gamma_ {s} \right| \Gamma_ {s} \rangle \\ \end{array}
|
| 436 |
+
$$
|
| 437 |
+
|
| 438 |
+
# A.2. Comparison with ADA
|
| 439 |
+
|
| 440 |
+
While adaptive discriminator augmentation (ADA) (Karras et al., 2020a) is an effective method for training GANs under limited data, we observe that with very small datasets, ADA increases the probability of augmentation and leads to "augmentations leak". For instance, faces generated on MetFaces may show rotation (see Fig. 10 and 18). In Fig. 11, we compare ADA in terms of the degree of aggregation of the gradients. Our approach demonstrates better performance in avoiding aggregated patterns on small datasets like MetFaces (Karras et al., 2020a) and BreCaHAD (Aksac et al., 2019).
|
| 441 |
+
|
| 442 |
+
# A.3. Cosine Similarity of the Data Embedding Space
|
| 443 |
+
|
| 444 |
+
We use the discriminator as a feature extractor and obtain data representations through forward inference. We then compute the pairwise cosine similarity of the representations for all real images. Observing the training process, the average cosine similarity of the representations increases significantly, as shown in Fig. 12. A higher average cosine similarity indicates a narrowing of the representation space. Considering the surface area ratio of the unit hypersphere: in two dimensions, $\arccos (0.56) = 63.90^{\circ}$ , implying that a cosine similarity of 0.56 can "occupy"
|
| 445 |
+
|
| 446 |
+
$$
|
| 447 |
+
\frac {63.90 ^ {\circ}}{360 ^ {\circ}} = 17.75 \%
|
| 448 |
+
$$
|
| 449 |
+
|
| 450 |
+
of the 2D unit circle. In three dimensions, it is only $6.96\%$ . This low proportion suggests a sparse distribution of points with a cosine similarity of 0.56 in high-dimensional space, possibly explaining the narrowing of the representation space.
|
| 451 |
+
|
| 452 |
+
# A.4. Landscape of Discriminator
|
| 453 |
+
|
| 454 |
+
In Fig. 14, we present the loss landscape of the discriminator without $\mathrm{MS}^3\mathrm{D}$ , with $\mathrm{MS}^3\mathrm{D}$ , and with ADA. We find that our $\mathrm{MS}^3\mathrm{D}$ contributes to a flatter loss landscape. A flatter loss landscape often correlates with higher model generalization and training stability (Li et al., 2018).
|
| 455 |
+
|
| 456 |
+

|
| 457 |
+
Figure 11. Degree of aggregation of the gradients.
|
| 458 |
+
|
| 459 |
+

|
| 460 |
+
Figure 12. Cosine similarity over steps.
|
| 461 |
+
Figure 13. Pseudocode of the proposed multi-scale structural self-dissimilarity $(\mathrm{MS}^3\mathrm{D})$ regularization.
|
| 462 |
+
|
| 463 |
+
# A.5. Pattern of $\nabla_x f(x;\phi)$
|
| 464 |
+
|
| 465 |
+
Additional visualizations of $\nabla_{x}f(x;\phi)$ are shown in Fig. 15 and 16. In Fig. 17, we compute the multi-scale structural self-dissimilarity (MS $^3$ D) of the discriminator's activation maps, revealing that MS $^3$ D effectively captures the complexity of natural patterns.
|
| 466 |
+
|
| 467 |
+
# B. Illustration of $\mathbf{MS}^3\mathbf{D}$
|
| 468 |
+
|
| 469 |
+
Pseudocode. In this section, we provide the pseudocode of the proposed multi-scale structural self-dissimilarity (MS $^3$ D) regularization. The pseudocode is shown in Fig 13.
|
| 470 |
+
|
| 471 |
+
```python
|
| 472 |
+
x # real images
|
| 473 |
+
G # generator
|
| 474 |
+
D # discriminator
|
| 475 |
+
# Minimize logits for generated images
|
| 476 |
+
logits = D(G(x))
|
| 477 |
+
loss_d_ADV Fake = F.softplus(logits)
|
| 478 |
+
# Maximize logits for real images
|
| 479 |
+
logits = D(x)
|
| 480 |
+
loss_d_ADV_real = F.softplus(-logits)
|
| 481 |
+
# MS3D regularization
|
| 482 |
+
grads = torch.autograd.grad(outputs=logs, inputs=x)
|
| 483 |
+
grads = normalize(grads)
|
| 484 |
+
grads = reshape_to_square(grads)
|
| 485 |
+
spatial_size = get_spatial_size(grads)
|
| 486 |
+
ms3d = 0
|
| 487 |
+
for i in range(torch.log2(spatial_size)):
|
| 488 |
+
grads_down = F(avg_pool2d(grads, kernel_size=2, stride=2) # Kadanoff decimation
|
| 489 |
+
grad_recn = F.conv2d(grads, guess_kernel, stride=2)
|
| 490 |
+
grads_recn = F.interpolate(grads_down, size=grads.shape[2:], mode='nearest')
|
| 491 |
+
ms3d += F.mse_loss(grads, grads_recn)
|
| 492 |
+
grads = grads_down
|
| 493 |
+
loss_d = loss_d_ADV Fake + loss_d_ADV_real + ms3d
|
| 494 |
+
loss_d.backup()
|
| 495 |
+
```
|
| 496 |
+
|
| 497 |
+
# C. Experimental settings
|
| 498 |
+
|
| 499 |
+
# C.1. Datasets
|
| 500 |
+
|
| 501 |
+
OxfordDog. The Oxford-IIIT pet dataset (Parkhi et al., 2012) contains images of cat and dog species. For this study, we select only dog images, apply a dog face detection model to crop and resize them to a uniform square format of $256 \times 256$ pixels, centering the dog's face as much as possible. We randomly select 4,492 images for training and use the remaining 498 images as the test set. This dataset includes a wide variety of dog breeds (about 25 dog breeds), poses, and backgrounds, thus providing a challenging testbed for our experiments. We refer to this dataset as OxfordDog.
|
| 502 |
+
|
| 503 |
+
FFHQ. The Flickr-Faces-HQ (FFHQ) dataset (Karras et al., 2019) includes 70,000 high-quality images of human faces, covering a wide range of ages, ethnicities, and image backgrounds, as well as various accessories like eyeglasses and hats. Each image was sourced from Flickr, aligned, and cropped to ensure consistency and quality.
|
| 504 |
+
|
| 505 |
+
MetFaces. The MetFaces dataset (Karras et al., 2020a) comprises 1,336 high-quality facial images from the Metropolitan Museum of Art's collection (https://metmuseum.github.io/).
|
| 506 |
+
|
| 507 |
+
BreCaHAD. The BreCaHAD dataset (Aksac et al., 2019), designed for breast cancer histopathology studies, contains 162 images at $1360 \times 1024$ resolution. We restructure these into 1,944 partially overlapping crops of $512 \times 512$ pixels for our experiments.
|
| 508 |
+
|
| 509 |
+
FFHQ-2.5K. Using the CLIP visual encoder (Radford et al., 2021), we extract features from the FFHQ images and cluster them into 14 groups using K-means. We select the smallest cluster, which contains 2,500 images (i.e., FFHQ-2.5K), for our study.
|
| 510 |
+
|
| 511 |
+
# C.2. Evaluation Metrics
|
| 512 |
+
|
| 513 |
+
We adopt the following metrics to evaluate the effectiveness of our method and compare it with the baselines. Inception Score (IS) (Salimans et al., 2016) evaluates the quality and diversity of the generated images. It is a common metric in the early stage of GAN development and estimates the quality of the generated images based on the conditional entropy of the class labels predicted by an Inception network. A higher IS score indicates better performance. Fréchet Inception Distance (FID) (Heusel et al., 2017) is another widely used metric for measuring the quality of the generated images. FID fits a Gaussian distribution to the hidden activations for each distribution (generated and ground truth) and then computes the Fréchet distance, also known as the Wasserstein-2 distance, between those Gaussians. Kernel Inception Distance (KID) (Binkowski et al., 2018) is a metric similar to FID, which is the squared maximum mean discrepancy (MMD) between Inception representations. Unlike FID, it does not assume that the activation distribution has a parametric form, and it has a simple unbiased estimator. It is more informative in situations where the ground truth data is small scale. A lower KID score indicates better performance.
|
| 514 |
+
|
| 515 |
+
# C.3. Setups
|
| 516 |
+
|
| 517 |
+
We train SNGAN and StyleGAN2 using implementations from Miyato et al. (2018) and Karras et al. (2020b), respectively, and implement a $64 \times 64$ version of DCGAN following Radford et al. (2016). All experiments use the same hyperparameter settings, and model performance is evaluated using the implementation from Karras et al. (2020b). For integrating $\mathrm{MS}^3\mathrm{D}$ with other methods, we set $\lambda$ to 10 in StyleGAN2, while it is set to 100 in other methods due to StyleGAN2's additional constraint terms. We note a discrepancy between reported scores in the literature and our results using the provided code, possibly due to hardware variations or differences between runs.
|
| 518 |
+
|
| 519 |
+
# D. More Qualitative Results
|
| 520 |
+
|
| 521 |
+
In this section, we present additional qualitative results obtained from OxfordDog, FFHQ-2.5K, MetFaces, and BreCaHAD datasets. We compare the outcomes of StyleGAN2 and StyleGAN2 with $\mathrm{MS}^3\mathrm{D}$ on these datasets, as illustrated in Figs. 18 and 19.
|
| 522 |
+
|
| 523 |
+

|
| 524 |
+
|
| 525 |
+

|
| 526 |
+
|
| 527 |
+

|
| 528 |
+
|
| 529 |
+

|
| 530 |
+
|
| 531 |
+

|
| 532 |
+
|
| 533 |
+

|
| 534 |
+
|
| 535 |
+

|
| 536 |
+
2D
|
| 537 |
+
|
| 538 |
+

|
| 539 |
+
2D heatmap
|
| 540 |
+
|
| 541 |
+

|
| 542 |
+
3D
|
| 543 |
+
Figure 14. Visualization of the loss landscapes.
|
| 544 |
+
|
| 545 |
+

|
| 546 |
+
Figure 15. Visualizing $\nabla_{x}(f(x;\phi))$ on StyleGAN2 (uncurated).
|
| 547 |
+
|
| 548 |
+

|
| 549 |
+
5M
|
| 550 |
+
Figure 16. Visualizing $\nabla_{x}(f(x;\phi))$ on StyleGAN2 $^+$ MS $^3$ D (uncurated).
|
| 551 |
+
|
| 552 |
+

|
| 553 |
+
Figure 17. $\mathrm{MS}^3\mathrm{D}$ analysis on natural patterns. The computation of the $\mathrm{MS}^3\mathrm{D}$ descriptor, $\mathcal{D}_{\Gamma}$ , is performed directly on the images obtained from (Karras et al., 2020a)
|
| 554 |
+
|
| 555 |
+

|
| 556 |
+
Figure 18. More generated images (best FID).
|
| 557 |
+
|
| 558 |
+

|
| 559 |
+
Figure 19. More generated images (last iteration).
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe746e403ae1d73b94f6fdfa0f94c13605f6a66d006b1a19778d1c5efbf4e357
|
| 3 |
+
size 2302054
|
2024/MS$^3$D_ A RG Flow-Based Regularization for GAN Training with Limited Data/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/9fb95b8e-b548-4000-b9e9-8e10662bd449_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1e5067772529cc9655ec2db093cb6678909a2da7a4c67ae48e97015515ce403
|
| 3 |
+
size 4303232
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/full.md
ADDED
|
@@ -0,0 +1,481 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Pranav Singh Chib $^{*1}$ Achintya Nath $^{*1}$ Paritosh Kabra $^{*1}$ Ishu Gupta $^{*1}$ Pravendra Singh $^{*1}$
|
| 2 |
+
|
| 3 |
+
# Abstract
|
| 4 |
+
|
| 5 |
+
Pedestrian trajectory prediction aims to predict future trajectories based on observed trajectories. Current state-of-the-art methods often assume that the observed sequences of agents are complete, which is a strong assumption that overlooks inherent uncertainties. Understanding pedestrian behavior when dealing with missing values in the observed sequence is crucial for enhancing the performance of predictive models. In this work, we propose the MultiScale hypergraph for Trajectory Imputation and Prediction (MS-TIP), a novel approach that simultaneously addresses the imputation of missing observations and the prediction of future trajectories. Specifically, we leverage transformers with diagonal masked self-attention to impute incomplete observations. Further, our approach promotes complex interaction modeling through multi-scale hypergraphs, optimizing our trajectory prediction module to capture different types of interactions. With the inclusion of scenic attention, we learn contextual scene information, instead of sole reliance on coordinates. Additionally, our approach utilizes an intermediate control point and refinement module to infer future trajectories accurately. Extensive experiments validate the efficacy of MS-TIP in precisely predicting pedestrian future trajectories. Code is publicly available at https://github.com/Pranav-chib/MS-TIP.
|
| 6 |
+
|
| 7 |
+
# 1. Introduction
|
| 8 |
+
|
| 9 |
+
Predicting future trajectories of agents based on their previous motions is the primary objective of multi-agent trajectory prediction. This is not only crucial for various applications, including self-driving cars and understanding human
|
| 10 |
+
|
| 11 |
+
*Equal contribution ${}^{1}$ Department of Computer Science and Engineering,Indian Institute of Technology,Roorkee,India. Correspondence to: Pranav Singh Chib <pranavs_chib@cs.iitr.ac.in>, Pravendra Singh <pravendra.singh@cs.iitr.ac.in>.
|
| 12 |
+
|
| 13 |
+
Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
|
| 14 |
+
|
| 15 |
+
motion patterns, but it also serves as a representation learning, bridging historical knowledge and future behaviors. Given the observed past trajectories, trajectory prediction requires modeling and predicting future trajectories. Capturing the social interaction among pedestrians is a critical task, and several efforts have been made to model these interactions. However, existing methods (Shi et al., 2021; Xu et al., 2022b;a) exhibit significant inaccuracies in predicting final goals due to the accumulation of errors from recursive predictions. To prevent the accumulation of errors caused by recursive trajectory prediction, endpoint prediction approaches have emerged in which the potential endpoints of trajectories are determined first (Wang et al., 2023; Mangalam et al., 2021; Chiara et al., 2022; Bae & Jeon, 2023), followed by interpolation. Although these solutions showed promising performance increases, difficulties still persisted. These methods are unable to handle missing values in past observed sequences. Additionally, these approaches often assume that the observed sequences of agents are complete, which is too stringent a condition for real-world scenarios. Sensor malfunctions, occlusion, and other issues frequently result in missing data in real-world observed trajectories (Xu et al., 2023). Predicting future trajectories with missing values in the observed sequence undoubtedly impacts prediction accuracy significantly. Trajectory prediction models must simultaneously handle trajectory imputation (filling missing values) and prediction with an accurate understanding of pedestrian interactions.
|
| 16 |
+
|
| 17 |
+
In prior time-series imputation methods, consideration is given to the following methods: the RNN-based methods (Yoon et al., 2019), which imputes missing values using an RNN graph, gated recurrent unit (GRU) variant, and bidirectional RNN. These methods are time-consuming and memory-constrained, making it challenging to address long-term dependence in time series. GAN-based (Liu et al., 2019) imputation methods utilize a generative adversarial network (GAN) structure to model temporal information of incomplete time series. However, due to their loss formulation, GANs are prone to non-convergence and collapse. On the other hand, VAE-based methods (Ramchandran et al., 2021) employ latent variables in sampling and imputation, which may not align with data distributions, making imputation challenging. Additionally, many of the aforementioned methods are autoregressive, leading to compounding errors.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1. Visualization of the Three Core Modules of MS-TIP: the Imputation Module (indicated by a purple dotted line rectangle), Multiscale Hypergraph Module (teal dotted line rectangle), and Trajectory Prediction and Refinement Module (blue dotted line rectangle). Initially, given the observed sequences, the Imputation Module identifies the missing values in the past temporal sequences based on $NaN$ values. A corresponding missing mask ( $0,1$ values) is generated for the observed sequences. This 'missing mask' is then input into the Imputation Module during the imputation process. Once the estimated observed sequences are generated, the Multiscale Hypergraph Module produces hyperedges $e_1, e_2, e_3$ , corresponding to the imputed sequence and interaction strengths at different scales (pairwise interaction denoted by $S = 2$ or group interaction by $S \geq 3$ ). The initial node embeddings from the scenic attention module, the incident matrix ( $H$ ), and the diagonal weight matrix ( $W$ ) from the hypergraph are input into the hypergraph convolution neural network (HGCNN), where hypergraph convolution is computed. The resultant embeddings are utilized for the prediction of control points. Incorporating the intermediate control points, we determine the endpoint, and subsequently, the Refinement Module refines the trajectory, resulting in the final plausible future trajectory predictions.
|
| 21 |
+
|
| 22 |
+
Self-attention (Shan & Oliva, 2021) emerges as a promising technique for imputation tasks. Its non-autoregressive nature overcomes RNNs' slow speed and memory limits and can reduce compounding errors, thereby improving imputation. While these approaches have demonstrated good imputation performance, they do not predict trajectories.
|
| 23 |
+
|
| 24 |
+
In this paper, we propose a novel approach, MultiScale hypergraph for Trajectory Imputation and Prediction (MS-TIP), as shown in Fig. 1. MS-TIP is an endpoint prediction approach that mitigates the accumulation of errors caused by recursive trajectory prediction. Our proposed approach is an end-to-end process that is capable of simultaneously handling trajectory imputation (finding missing values) and trajectory forecasting. Specifically, we leverage self-attention to learn missing values. We artificially introduce missing values in the observed coordinates using missing masks. Subsequently, we train the transformer-based model with diagonal masked self-attention to impute the missing values based on the missing mask. The Imputation module aims to impart knowledge about missing patterns in partial observations. For trajectory prediction, we propose a multiscale hypergraph with scenic attention. The multi-scale hypergraph captures group-wise interactions with varied group sizes. Furthermore, for incorporating physical scene information, we utilize scene attention, calculating the influence of a scene on social interactions among pedestrians. Our trajectory prediction model initially predicts the endpoint
|
| 25 |
+
|
| 26 |
+
based on intermediate control points and then refines the interpolated trajectory. Extensive experimentation on pedestrian benchmarks consistently validates the efficacy of our proposed approach (MS-TIP).
|
| 27 |
+
|
| 28 |
+
# 2. Related Work
|
| 29 |
+
|
| 30 |
+
# 2.1. Trajectory Prediction
|
| 31 |
+
|
| 32 |
+
As predicting the future trajectory of an agent involves inherent uncertainty and often results in multiple possible outcomes, recent advancements have adopted the utilization of deep generative models (Mao et al., 2023; Xu et al., 2022a; Gu et al., 2022; Maeda & Ukita, 2023). These models encompass various techniques, including conditional variational autoencoders (CVAEs) (Xu et al., 2022a; Lee et al., 2022; Mangalam et al., 2020), generative adversarial networks (GANs) (Sadeghian et al., 2019; Hu et al., 2020; Gupta et al., 2018; Sadeghian et al., 2019), and diffusion models (Mao et al., 2023). Although notable progress, these stochastic prediction approaches have inherent drawbacks, such as unsteady training or the production of abnormal trajectories. Recently transformer-based (Girgis et al., 2022; Yuan et al., 2021; Yu et al., 2020; Sekhon & Fleming, 2021) models excel at capturing long-term dependencies. They also capture temporal and social elements simultaneously via the attention mechanism. Our primary focus is on endpoint-conditioned trajectory prediction (Bae & Jeon,
|
| 33 |
+
|
| 34 |
+
2023; Wang et al., 2023; Mangalam et al., 2020), which aims to forecast the final destination of an agent. Specifically, our approach emphasizes predicting the endpoint while conditioning on the intermediate points.
|
| 35 |
+
|
| 36 |
+
# 2.2. Graph-based Trajectory Prediction
|
| 37 |
+
|
| 38 |
+
Graph-based methods (Xu et al., 2022a; Yuan et al., 2021; Hu et al., 2020) have been specifically employed to model social interactions among agents in a scene through relational reasoning. Attention-based graph models (Chen et al., 2023; Huang et al., 2019; Kosaraju et al., 2019; Sekhon & Fleming, 2021) simulate agent-to-agent interactions during trajectory prediction. NMMP (Hu et al., 2020) explores message passing within the fully connected graph, calculating interaction weights for enhanced weighted social interaction modeling. SGCN (Shi et al., 2021) leverages self-attention to create a sparse graph for interaction learning. Graph convolution is another prominent approach in graph neural networks, as shown by Social-STGCNN (Mohamed et al., 2020). This method predicts paths using a Graph Convolutional Network (GCN) (Mendieta & Tabkhi, 2021), grouping spatial information of agents and incorporating physical constraints based on distances between pedestrians. However, its reliance on distance-related connections limits its effectiveness. The aforementioned methods only focus on the single interaction with the agent, ignoring the group and multiple interactions; we focus on modeling the different scales of interaction using the multiscale hypergraph.
|
| 39 |
+
|
| 40 |
+
# 2.3. Trajectory Imputation
|
| 41 |
+
|
| 42 |
+
Imputation is a nontrivial task because of the challenge to determine the missing values. For time-series imputation, Recurrent Neural Networks (RNNs) have been extensively utilized, as evidenced in works like BRITS (Cao et al., 2018) and M-RNN (Yoon et al., 2019), which employ bidirectional RNNs for missing value imputation. Despite their effectiveness, the recurrent network structure of RNNs leads to significant time and memory consumption, making them less suitable for long-term dependencies. Alternatively, GAN-based (Liu et al., 2019) approaches leverage both a generator and a discriminator to address missing values. Variational Auto-Encoder (VAE) models, such as GP-VAE (Fortuin et al., 2020), utilize a Gaussian Process (GP) prior in the latent space in conjunction with a variational auto-encoder for imputation. Although both VAE and GAN methodologies mitigate the compounding error issue inherent in RNNs, they are challenging to train and often suffer from non-convergence. Self-Attention-based (Shan & Oliva, 2021) approaches have emerged as a promising solution. The non-autoregressive nature and faster inference capabilities of self-attention make them particularly suitable for trajectory imputation tasks. However, only a few works, such as NAOMI (Liu et al., 2019) and GMAT (Zhan et al.,
|
| 43 |
+
|
| 44 |
+
2018), have explored the trajectory imputation problem. These studies focus exclusively on trajectory imputation, neglecting the prediction task. INAM (Qi et al., 2020) and GC-VRNN (Xu et al., 2023) have addressed this limitation. INAM conducts imputation and prediction in an asynchronous manner, whereas GC-VRNN facilitates end-to-end imputation. Our approach employs a non-autoregressive transformer for imputing missing values across the temporal domain.
|
| 45 |
+
|
| 46 |
+
# 3. Methodology
|
| 47 |
+
|
| 48 |
+
# 3.1. Problem Formulation
|
| 49 |
+
|
| 50 |
+
For the problem formulation, we consider the trajectory sequence as a set of past and future sequences. Here, $X_{i}^{\leq t_{ob}} = \{X_{i}^{t_{1}},X_{i}^{t_{2}},\dots,X_{i}^{t_{ob}}\}$ represents the past observed trajectory of agent $i$ , ranging from $t_1$ to $t_{ob}$ . The $X_{i}^{t_{ob}}\in \mathbb{R}^{2}$ denotes the 2D coordinates of agent $i$ at time step $t_{ob}$ . Similarly, the future trajectory sequence (ground truth) can be represented as $Y_{i}^{t_{ob + 1}\leq t\leq t_{pred}}$ over the duration from $t_{ob + 1}$ to $t_{pred}$ . The problem of trajectory prediction aims to forecast the future trajectory $\widehat{Y}_i^{t_{ob + 1}\leq t\leq t_{pred}}$ based on observed past trajectory $X_{i}^{\leq t_{ob}}$ .
|
| 51 |
+
|
| 52 |
+
# 3.2. Trajectory Imputation and Prediction
|
| 53 |
+
|
| 54 |
+
We use Self Attention (Du et al., 2023) for the trajectory imputation to increase the model robustness by imputing missing coordinates. The inputs to the imputation model are the input coordinates and the mask, as depicted in Fig. 2.
|
| 55 |
+
|
| 56 |
+
# 3.2.1. TRAJECTORIES MASKING
|
| 57 |
+
|
| 58 |
+
Imputation is the process whereby the model fills in missing coordinates in the given input. These missing coordinates are introduced as null values (NaNs) in the original input coordinates $X_{i}^{\leq t_{ob}}$ to simulate missing coordinates in our dataset. The resulting sequence of coordinates after introducing null values is denoted by $X_{i}^{\prime \leq t_{ob}}$ .
|
| 59 |
+
|
| 60 |
+
We get $X_{i}^{\prime \prime \leq t_{ob}}$ by artificially masking (making those values as $NaNs$ ) some $\%$ of the observed coordinates in $X_{i}^{\prime \leq t_{ob}}$ . $X_{i}^{\prime \prime \leq t_{ob}}$ is a result of both, original missing values and artificially masked values. $I_{i}^{\leq t_{ob}}$ denotes the indicating mask, expressed as $\{I_i^{t_1},\dots,I_i^{t_{ob}}\}$ .
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
I _ {i} ^ {t} = \left\{ \begin{array}{l l} 1 & \text {i f} X _ {i} ^ {\prime t} \text {i s o b s e r v e d} \\ 0 & \text {o t h e r w i s e} \end{array} \right. \tag {1}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
We then obtain missing mask $M_{i}^{\prime \prime} \leq t_{ob}$ , which takes both originally missing values and artificially masked values into
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 2. Illustration of the imputation model, comprising three main blocks, each dedicated to a distinct operation. The 'encode block' predicts the imputed data, which is then passed to the 'decoder block.' Concurrently, the 'η block' processes the attention weights and the mask. A weighted combination $(\tilde{X}_c)$ of representations from the encoder and decoder blocks $(\tilde{X}_e$ and $\tilde{X}_d)$ is combined by the 'combination block.'
|
| 70 |
+
|
| 71 |
+
account.
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
M _ {i} ^ {\prime \prime t} = \left\{ \begin{array}{l l} 1 & \text {i f} X _ {i} ^ {\prime \prime t} \text {i s o b s e r v e d} \\ 0 & \text {i f} X _ {i} ^ {\prime \prime t} \text {i s m i s s i n g} \end{array} \right. \tag {2}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
The imputation model $\Theta_{imp}$ does its imputation using the missing observed sequence $(X_i^{\prime \prime} \leq t_{ob})$ and missing mask $(M_i^{\prime \prime} \leq t_{ob})$ , defined above. Indicating mask $I_i^{< t_{ob}}$ is used for the Masked Imputation Task (MIT), while the Observed Reconstruction Task (ORT) uses $M_i^{\prime \prime} \leq t_{ob}$ for ensuring that the distribution of the predicted values is close to the actual observed values (see Eqs. 6, 7).
|
| 78 |
+
|
| 79 |
+
# 3.2.2. TRAJECTORIES IMPUTATION
|
| 80 |
+
|
| 81 |
+
We employ a transformer architecture comprising an encoder block, a decoder block, and a linear combination of both for imputing missing values, as illustrated in Fig. 2. Our approach includes a modification of the self-attention mechanism into a diagonal-masked self-attention format, where the diagonal entities of the attention map are masked (set to infinity). This modification aims to enhance feature correlation across different timestamp values and improve the learning of temporal representations.
|
| 82 |
+
|
| 83 |
+
The input coordinates (missing observed sequence) and the missing mask are concatenated to form the input to the encoder block, after which the missing values are replaced with $\tilde{X}_e$ as shown in Fig. 2. The decoder block processes the output from the encoder block, concatenated with the missing mask. The $\eta$ block, as defined in Eq. 3, utilizes the attention weight $(A)$ and missing mask $(M_i^{\prime \prime}\leq t_{ob})$ to produce combining weights $\eta$ . The combination of $\tilde{X}_e$ and $\tilde{X}_d$ with
|
| 84 |
+
|
| 85 |
+
$\eta$ yields $\tilde{X}_c$ , as depicted in Eq. 4. The corresponding values of $\tilde{X}_c$ are then utilized to replace those in the missing observed sequence.
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\eta = \text {S i g m o i d} \left(\text {C o n c a t} \left(A, M _ {i} ^ {\prime \prime} \leq t _ {o b}\right) W _ {\eta} + b _ {\eta}\right) \tag {3}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\tilde {X} _ {c} = (1 - \eta) \odot \tilde {X} _ {e} + \eta \odot \tilde {X} _ {d} \tag {4}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\tilde {X} _ {i} ^ {\leq t _ {o b}} = M _ {i} ^ {\prime \prime \leq t _ {o b}} \odot X _ {i} ^ {\prime \prime \leq t _ {o b}} + \left(1 - M _ {i} ^ {\prime \prime \leq t _ {o b}}\right) \odot \tilde {X} _ {c} (5)
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Here, $\tilde{X}_e$ denotes the representation learned from the encoder block, $\tilde{X}_d$ is the representation learned from the decoder block, and $\tilde{X}_c$ is a linear combination of both, as defined by Eq. 4. The learnable parameters $W_{\eta}$ and $b_{\eta}$ are used in this computation. The symbol $\odot$ denotes an elementwise product. The estimated observed sequence $\tilde{X}_i^{\leq t_{ob}}$ is obtained via Eq. 5, in which the missing values in $X_i^{\prime \prime} \leq t_{ob}$ are replaced with the corresponding values from $\tilde{X}_c$ . This estimated observed sequence for each agent is then fed into the multiscale hypergraph module for capturing interactions, as depicted in Fig. 1.
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\mathcal {L} _ {O R T} = M A E \left(\left(\left| \left| \tilde {X} _ {i} ^ {\leq t _ {o b}} - X _ {i} ^ {\prime \leq t _ {o b}} \right| \right|\right) \odot \left(M _ {i} ^ {\prime \prime \leq t _ {o b}}\right)\right) \tag {6}
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
\mathcal {L} _ {M I T} = M A E \left(\left(\left| \left| \tilde {X} _ {i} ^ {\leq t _ {o b}} - X _ {i} ^ {' \leq t _ {o b}} \right| \right|\right) \odot \left(I _ {i} ^ {\leq t _ {o b}}\right)\right) \tag {7}
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\tilde {X} _ {i} ^ {\leq t _ {o b}} = \Theta_ {i m p} (X _ {i} ^ {\prime \prime \leq t _ {o b}}) \tag {8}
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\Theta_ {\mathrm {i m p}} ^ {\star} = \underset {\Theta_ {i m p}} {\arg \min } \left(\mathcal {L} _ {\mathrm {O R T}} + \mathcal {L} _ {\mathrm {M I T}}\right) \tag {9}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
Where MAE refers to Mean Absolute Error, $\mathcal{L}_{ORT}$ calculates loss between the estimated observed sequence and
|
| 118 |
+
|
| 119 |
+
the original observed sequence using the missing mask and $\mathcal{L}_{MIT}$ calculates the loss using the indicating mask.
|
| 120 |
+
|
| 121 |
+
We pre-train the imputation model $\Theta_{imp}$ using Eq. 9. The pre-trained imputation model obtained thereafter is finetuned during the end-to-end training.
|
| 122 |
+
|
| 123 |
+
# 3.3. HyperGraph Topology and Generation
|
| 124 |
+
|
| 125 |
+
In our proposed approach, we train our model using both the original observed sequence $X_{i}^{\leq t_{ob}}$ and the estimated observed sequence $\tilde{X}_{i}^{\leq t_{ob}}$ . The initial step involves generating a hypergraph from $X_{i}^{\leq t_{ob}}$ and subsequently training the model end-to-end on this input. We then repeat the process by passing the estimated observed sequence, $\tilde{X}_{i}^{\leq t_{ob}}$ , and again training the model end-to-end. This is performed for every batch of the given dataset to effectively capture the impact of imputation on the predicted final coordinates. Throughout the remainder of the paper, we exclusively present formulations using $X_{i}^{\leq t_{ob}}$ for the sake of simplicity. However, it is important to note that the same formulation is applicable to $\tilde{X}_{i}^{\leq t_{ob}}$ . We construct a multi-scale hypergraph to effectively capture interactions among various agents.
|
| 126 |
+
|
| 127 |
+
# 3.3.1. HYPER GRAPH TOPOLOGY
|
| 128 |
+
|
| 129 |
+
Our objective is to create a multi-scale hypergraph that shows how different groups of agents interact in various ways. Each scale of the hypergraph will represent a different kind of interaction with different numbers of agents/nodes involved. Formally, our aim is to generate a set of hypergraphs $\mathcal{G}^{(t)} = \{\mathcal{G}^{(t,S_1)},\mathcal{G}^{(t,S_2)},\ldots ,\mathcal{G}^{(t,S_{|S|})}\mid t\in \mathbb{N},1\leq$ $t\leq t_{ob},S_j\in S,1\leq j\leq |S|\}$ , where $S$ is a set of predefined scales, illustrating the connections between different nodes (agents). Let $\mathcal{G}^{(t,S_j)} = (\mathcal{V},\mathcal{E}^{(S_j)})$ denote the hypergraph generated at time $t$ and scale $S_{j}$ , with the hyperedge set $\mathcal{E}^{(t,S_j)} = \{e_1^{(t,S_j)},e_2^{(t,S_j)},\dots,e_{M_s}^{(t,S_j)}\}$ and the vertex set $\mathcal{V} = \{v_{1},v_{2},\ldots ,v_{N}\}$ . The scale parameter $S_{j}$ indicates the number of agents involved in the interactions, with a larger $S_{j}$ value representing a larger group of agents. As the number of agents (and consequently, the number of nodes) in the hypergraph is variable, a flexible scaling mechanism is implemented. This involves using a predefined set of scales $S = \{2,3,5,7,9\}$ . However, if the number of agents exceeds the largest scale in this set, the scaling stops. For instance, if there are 6 agents, the scales used would be 2, 3, and 5; whereas, if there are 10 agents, the scales would be 2, 3, 5, 7, and 9.
|
| 130 |
+
|
| 131 |
+
# 3.3.2. HYPER GRAPH GENERATION
|
| 132 |
+
|
| 133 |
+
To infer a multiscale hypergraph, we utilize the K-Nearest Neighbors (KNN) algorithm to generate the hypergraph, employing the Euclidean distance as the metric. In the given
|
| 134 |
+
|
| 135 |
+
trajectory, each agent is represented as a node within the hypergraph. The number of edges in the hypergraph $\mathcal{G}^{(t,S_j)}$ is $N$ , leading to a total of $|S|\times N$ hyperedges in $\mathcal{G}^{(t)}$ , where $|S|$ is the total number of scales. In the hypergraph $\mathcal{G}^{(t,S_j)}$ , the $i^{th}$ hyperedge encompasses $S_{j}$ nodes, including the $i^{th}$ node and the $S_{j}-1$ nearest neighbors to the $i^{th}$ node. For instance, in a hypergraph generated at scale $= 3$ , i.e., $\mathcal{G}^{(t,3)}$ , there will be $N$ hyperedges; the $i^{th}$ hyperedge will consist of the $i^{th}$ node and the two nearest nodes among the remaining $N-1$ nodes. Subsequently, we obtain an incidence matrix $\mathbf{H}^{(t,S_j)}\in \mathbb{R}^{|V|\times |N|}$ of $\mathcal{G}^{(t,S_j)}$ . The incidence matrix $\mathbf{H}^{(t)}\in \mathbb{R}^{|V|\times |SN|}$ of $\mathcal{G}^{(t)}$ can be calculated by $\mathbf{H}^{(t)} = \left[\mathbf{H}^{(t,S_1)}\left|\mathbf{H}^{(t,S_2)}\right|\dots \mid \mathbf{H}^{(t,S_{|S|})}\right]$ , where $\mid$ denotes the horizontal concatenation operation. Two distinct approaches are used for assigning weights to the hyperedges. The first approach assigns a uniform weight of 1 to every hyperedge, ensuring equal weightage in the convolution process. The second approach, in contrast, involves assigning varying weights to the hyperedges given by Eq. 10.
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
w \left(e _ {i} ^ {(t, s)}\right) = \sum_ {u, v \in e _ {i} ^ {(t, s)}} \exp \left(- \frac {d \left(X _ {u} ^ {t} , X _ {v} ^ {t}\right) ^ {2}}{\sigma^ {2}}\right) \tag {10}
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
Where $u$ and $v$ are any two vertices in the hyperedge $e_i^{(t,s)}$ . $d(X_u^t, X_v^t)$ represents the Euclidean distance between vertices $u$ and $v$ , with $\sigma$ denoting the mean value of distances between all vertex pairs. Subsequently, $\mathbf{w}^{(t)} = \left[\mathbf{w}^{(t,S_1)}\left|\mathbf{w}^{(t,S_2)}\right|\dots \left|\mathbf{w}^{(t,S_{|S|})}\right|\right]$ , where $|$ denotes the horizontal concatenation operation. The ablation study for these two methods of weight assignment is detailed in the ablation study Section 4.4.3. Utilizing the hypergraph, we obtain the incidence matrix $\mathbf{H}^t$ and weight $\mathbf{w}^t$ , which is passed to HGCNN along with the initial node embeddings (refer to Section 3.4), as shown in Fig. 1.
|
| 142 |
+
|
| 143 |
+
# 3.4. Scenic Attention
|
| 144 |
+
|
| 145 |
+
In order to effectively capture the physical scene information, we employ a pre-trained convolutions neural network. This is done to extract features from scene images. The chosen backbone network is the ImageNet pre-trained VGG-19 model, and the resultant features are denoted as $V_{k}$
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
V _ {k} = V G G 1 9 \left(I m a g e _ {\text {s c e n e}}; W _ {V G G 1 9}\right) \tag {11}
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
S _ {i} ^ {t} = \text {S c e n e A t t e n t i o n} \left(V _ {k}, X _ {i} ^ {t}; W _ {a t t}\right)
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
Here, $W_{VGG19}$ and $W_{att}$ represent the weights of the VGG-19 model and trainable attention weights, $Image_{\mathrm{scene}}$ is the image from the dataset, $X_i^t$ is the position of the agent $i$ at time step $t$ . Then we concatenate scene embedding $S_i^t$ with the coordinate of the agents (nodes) to form initial node embeddings $z_i^{(t,0)}$ .
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
z _ {i} ^ {t, 0} = \operatorname {C o n c a t e} \left(X _ {i} ^ {t}, S _ {i} ^ {t}\right) \tag {12}
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
Z ^ {t, 0} = \left\{z _ {1} ^ {t, 0}, z _ {2} ^ {t, 0}, \dots , z _ {N} ^ {t, 0} \right\} \tag {13}
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
Here, the term $z_{i}^{t,0}$ denotes the initial node embeddings of the $i^{th}$ node obtained after concatenating them with the scene embeddings at time $t$ , where the superscript 0 represents the initial node embeddings and $Z^{t,0}$ represents the initial node embeddings of all the nodes. When these initial embeddings are fed as input to the HGCNN module, denoted by Eq. 14, we get the final node embeddings. The inclusion of scene information significantly impacts the accuracy of pedestrian prediction. The motivation behind this inclusion is to ensure that the model doesn't solely depend on coordinates but also considers the contextual information provided by the scene.
|
| 166 |
+
|
| 167 |
+
# 3.5. HyperGraph Convolution Neural Network
|
| 168 |
+
|
| 169 |
+
Node embeddings corresponding to the convolution operator are obtained by passing the incidence matrix $H^{t}$ , initial node embedding $Z^{t,0}$ , and edge weight $W^{t}$ to the HGCNN module. The hypergraph convolution operation is represented in Eq. 14.
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
z _ {i} ^ {t, (l + 1)} = \sigma \left(\sum_ {j = 1} ^ {N} \sum_ {e = 1} ^ {M} H _ {i e} ^ {t} H _ {j e} ^ {t} W _ {e e} ^ {t} z _ {j} ^ {(t, l)} \mathbf {P}\right) \tag {14}
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
Here, $N$ is the total number of nodes, $M = |S| \times N$ is the total number of hyperedges, $\{z_i^{(t,l + 1)} \mid 1 \leq i \leq N\}$ denotes the node embeddings of the $i^{th}$ node at $t^{th}$ time after $(l + 1)$ convolution operations, $H^t$ is the incidence matrix (analogous to the adjacency matrix in a normal graph), $W^t \in \mathbb{R}^{M \times M} = \text{diag}(\mathbf{w}^t)$ is a diagonal matrix where $\mathbf{w}^t \in \mathbb{R}^{1 \times M}$ , and $\mathbf{P}$ is the trainable weight matrix. $\sigma(\cdot)$ represents a nonlinear activation function. In simple terms, the equation calculates the new embedding for the $i^{th}$ node by considering all edges connected to it. For each edge, if both $i^{th}$ and $j^{th} \{1 \leq j \leq N\}$ is present, it multiplies the edge weight and the current embedding of the connected $j^{th}$ node. The sigmoid activation is then applied to the sum of these products. The resulting embeddings $\mathcal{Z} = [Z^{1,l + 1}, Z^{2,l + 1}, \ldots, Z^{t_{ob},l + 1}]$ are then passed to the trajectory prediction and refinement module for future trajectory predictions. Here, $Z^{t,l + 1}$ denotes the node embeddings of all agents at $t^{th}$ time and after $(l + 1)^{th}$ convolution operation. $\mathcal{Z}$ represents the node embeddings of all agents at all time stamps after the final convolution layer.
|
| 176 |
+
|
| 177 |
+
# 3.6. End Point Prediction and Refinement
|
| 178 |
+
|
| 179 |
+
Our model adopts an endpoint-conditioned approach (Bae & Jeon, 2023; Mangalam et al., 2020; 2021) for predicting future pedestrian trajectories. Initially, we segment a pedestrian's trajectory into intermediate control points. These points outline the path a pedestrian is likely to take a route
|
| 180 |
+
|
| 181 |
+
to their final destination. The locations of these control points are inferred as probability densities using mixture density networks (MDNs). Subsequently, the final endpoint, representing the pedestrian's destination, is determined by linking these control points, as illustrated in Eq. 17.
|
| 182 |
+
|
| 183 |
+
$$
|
| 184 |
+
C _ {i} = \left\{c _ {i} ^ {k} = Y _ {i} ^ {t _ {o b} + \tau \times k} - Y _ {i} ^ {t _ {o b} + \tau \times (k - 1)} \right\}
|
| 185 |
+
$$
|
| 186 |
+
|
| 187 |
+
$$
|
| 188 |
+
e _ {i} = X _ {i} ^ {t _ {o b}} + \sum_ {k = 1} ^ {K} c _ {i} ^ {k} \tag {15}
|
| 189 |
+
$$
|
| 190 |
+
|
| 191 |
+
$$
|
| 192 |
+
\left. \text {f o r} \forall k \in \{1, \dots , K \}, \right.
|
| 193 |
+
$$
|
| 194 |
+
|
| 195 |
+
$$
|
| 196 |
+
\text {f o r} \forall i \in \{1, \dots , N \}, \quad \tau = \frac {t _ {p r e d} - t _ {o b}}{K}
|
| 197 |
+
$$
|
| 198 |
+
|
| 199 |
+
Where $K$ represents the total number of control points. We can obtain the ground truth control points $C_i$ for the training dataset, since we know the $t_{pred}$ coordinates for every pedestrian, and we denote them as $X_i^{t_{ob} + \tau \times k}$ as the pedestrian coordinates for $K$ control points between $t_{ob}$ to $t_{pred}$ . We now have to predict the control points. Following the previous study (Gupta et al., 2018), we sample $\Omega = 20$ times to obtain $\hat{C}^{\omega}$ , where $1 \leq \omega \leq \Omega$ . We sample $\hat{C}_i^{\omega} = \{\hat{c}_i^{k,\omega}\}$ from the Gaussian Mixture Models (GMM) parameters predicted from the endpoint prediction module as shown below.
|
| 200 |
+
|
| 201 |
+
$$
|
| 202 |
+
\hat {C} ^ {\omega} \sim G M M (\mathcal {Z}) \tag {16}
|
| 203 |
+
$$
|
| 204 |
+
|
| 205 |
+
$$
|
| 206 |
+
\hat {e} _ {i} ^ {\omega} = X _ {i} ^ {t _ {o b}} + \sum_ {k = 1} ^ {K} \hat {c} _ {i} ^ {k, \omega} \tag {17}
|
| 207 |
+
$$
|
| 208 |
+
|
| 209 |
+
Here, $\hat{e}_i^\omega$ denotes the final endpoint of the $i^{th}$ agent, and $\hat{c}_i^{k,\omega}$ represents the $k^{th}$ intermediate control point of $i^{th}$ agent in the $\omega^{th}$ sample time. $\hat{E}_i = \{\hat{e}_i^\omega \mid i,\omega \in \mathbb{N},1\leq \omega \leq \Omega ,1\leq i\leq N\}$ . We divide the predicted endpoints into two sets: a positive set $\Upsilon^{+}$ and a negative set $\Upsilon^{-}$ given below:
|
| 210 |
+
|
| 211 |
+
$$
|
| 212 |
+
\Upsilon_ {i} ^ {+} = \left\{\hat {e} _ {i} ^ {\omega} \mid \| \hat {e} _ {i} ^ {\omega} - e _ {i} \| \leq \Gamma \right\}
|
| 213 |
+
$$
|
| 214 |
+
|
| 215 |
+
$$
|
| 216 |
+
\Upsilon_ {i} ^ {-} = \left\{\hat {e} _ {i} ^ {\omega} \mid \| \hat {e} _ {i} ^ {\omega} - e _ {i} \| > \Gamma \right\} \tag {18}
|
| 217 |
+
$$
|
| 218 |
+
|
| 219 |
+
$$
|
| 220 |
+
\text {f o r} \forall \omega \in \{1, \dots , \Omega \}, \Gamma = \frac {\left\| X _ {i} ^ {t _ {o b}} - X _ {i} ^ {t _ {1}} \right\|}{t _ {o b} \times \gamma_ {i}},
|
| 221 |
+
$$
|
| 222 |
+
|
| 223 |
+
where $\gamma_{i}$ is a scale indicator that adaptively adjusts the averaged displacement of the $i^{th}$ agent. We calculate the loss and backpropagate gradients for only the positive sets of endpoints using the valid mask given below:
|
| 224 |
+
|
| 225 |
+
$$
|
| 226 |
+
\psi_ {i} ^ {\omega} = \left\{ \begin{array}{l l} 1 & \text {i f} \hat {e} _ {i} ^ {\omega} \in \Upsilon_ {i} ^ {+} \\ 0 & \text {o t h e r w i s e} \end{array} \right. \tag {19}
|
| 227 |
+
$$
|
| 228 |
+
|
| 229 |
+
In early training, we will have very few accurate predictions and, hence, very few positive endpoints. We address this by additionally sampling a set of $\Omega$ positive endpoints, called "guided endpoints," within a specified range $\Gamma$ around the
|
| 230 |
+
|
| 231 |
+
Table 1. Details of the ETH, HOTEL, UNIV, ZARA1, and ZARA2 datasets. 'Obs frames', 'Pred frames', 'Obs time', and 'Pred time' denote observed frames, predicted frames, observed time horizon, and predicted time horizon, respectively.
|
| 232 |
+
|
| 233 |
+
<table><tr><td>Datasets</td><td>Pedestrians</td><td>Obs frames</td><td>Pre frames</td><td>Obs time</td><td>Pred time</td></tr><tr><td>ETH</td><td rowspan="2">750</td><td>8</td><td>12</td><td>3.2 sec</td><td>4.8 sec</td></tr><tr><td>HOTEL</td><td>8</td><td>12</td><td>3.2 sec</td><td>4.8 sec</td></tr><tr><td>UNIV</td><td rowspan="3">786</td><td>8</td><td>12</td><td>3.2 sec</td><td>4.8 sec</td></tr><tr><td>ZARA1</td><td>8</td><td>12</td><td>3.2 sec</td><td>4.8 sec</td></tr><tr><td>ZARA2</td><td>8</td><td>12</td><td>3.2 sec</td><td>4.8 sec</td></tr></table>
|
| 234 |
+
|
| 235 |
+
actual values. Hence total number of control points is $2\Omega$ . This supplements the limited number of positive examples during the initial phases. Unlike existing methodologies, our approach integrates a multiscale hypergraph to enhance the prediction of both endpoints and control points, effectively capturing dynamic interactions among pedestrians. After predicting control points and generating endpoints, our trajectory refinement module introduces correction vector fields $f_{i}^{t,\omega}$ for the initial trajectory, which is added to the trajectory obtained from linear interpolation. This integration enables our model to predict accurate future trajectories.
|
| 236 |
+
|
| 237 |
+
$$
|
| 238 |
+
\widehat {Y} _ {i} ^ {t, \omega} = X _ {i} ^ {t _ {o b}} + \frac {\hat {e} _ {i} ^ {\omega} - X _ {i} ^ {t _ {o b}}}{t _ {p r e d} - t _ {o b}} \times (t - t _ {o b})
|
| 239 |
+
$$
|
| 240 |
+
|
| 241 |
+
$$
|
| 242 |
+
\forall t \in \left\{t _ {\text {o b s}} + 1, \dots , t _ {\text {p r e d}} \right\}, \tag {20}
|
| 243 |
+
$$
|
| 244 |
+
|
| 245 |
+
$$
|
| 246 |
+
\forall n \in \{1, \dots , N \},
|
| 247 |
+
$$
|
| 248 |
+
|
| 249 |
+
$$
|
| 250 |
+
\forall \omega \in \{1, \ldots , \Omega \}
|
| 251 |
+
$$
|
| 252 |
+
|
| 253 |
+
$$
|
| 254 |
+
f _ {i} ^ {t, \omega} = \Theta_ {t r} \left(\operatorname {C o n c a t} \left(\widehat {Y} _ {i} ^ {t, \omega}, S _ {i} ^ {t}\right)\right)
|
| 255 |
+
$$
|
| 256 |
+
|
| 257 |
+
$$
|
| 258 |
+
\widehat {Y} _ {i} ^ {t, \omega} = \widehat {Y} _ {i} ^ {t, \omega} + f _ {i} ^ {t, \omega}
|
| 259 |
+
$$
|
| 260 |
+
|
| 261 |
+
$$
|
| 262 |
+
\forall t \in \left\{t _ {\mathrm {o b}} + 1, \dots , t _ {\mathrm {p r e d}} \right\}, \tag {21}
|
| 263 |
+
$$
|
| 264 |
+
|
| 265 |
+
$$
|
| 266 |
+
\forall n \in \{1, \dots , N \}
|
| 267 |
+
$$
|
| 268 |
+
|
| 269 |
+
$$
|
| 270 |
+
\forall \omega \in \{1, \dots , \Omega \}
|
| 271 |
+
$$
|
| 272 |
+
|
| 273 |
+
where $\Theta_{tr}$ is trajectory refinement model, $S_i^t$ is the scenic attention (refer 3.4).
|
| 274 |
+
|
| 275 |
+
Our approach incorporates the control point prediction and, lastly, the refinement loss. For the control point loss (Eq. 22), we optimize an expectation to train the control point prediction module. We sum the probability density functions for all predicted control point distributions and pedestrians. Furthermore, we minimize the trajectory refinement loss as shown in Eq. 23. The loss is based on the mean square error (MSE) of the average displacement between a refined and
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
Figure 3. Visualization of Predicted Trajectories in the images of UNIV (top-left), ETH (bottom-left), and ZARA (both on the right) datasets. Predicted pedestrian trajectories are depicted in yellow. The observed trajectories are shown in orange, while the ground truth trajectories are represented in green. Our approach accurately predicts future trajectories, closely aligning with the ground truth.
|
| 279 |
+
|
| 280 |
+
ground truth trajectory.
|
| 281 |
+
|
| 282 |
+
$$
|
| 283 |
+
\mathcal {L} _ {c} = \sum_ {i = 1} ^ {N} \sum_ {k = 1} ^ {K} - \log \left[ \sum_ {m = 1} ^ {\# M} \hat {\pi} _ {i} ^ {m, k} \frac {\exp \left(- \frac {\left(c _ {i} ^ {k} - \hat {\mu} _ {i} ^ {m , k}\right) ^ {2}}{2 \left(\hat {\sigma} _ {i} ^ {m , k}\right) ^ {2}}\right)}{\sqrt {2 \pi} \hat {\sigma} _ {i} ^ {m , k}} \right] \tag {22}
|
| 284 |
+
$$
|
| 285 |
+
|
| 286 |
+
Here, $\hat{\pmb{\mu}}_i^{m,k}$ is the mean, $\hat{\pmb{\sigma}}_i^{m,k}$ is the standard deviation, and $\hat{\pi}_i^{m,k}$ is a mixing coefficient obtained from the multivariate GMM (Bae & Jeon, 2023), $N$ is the number of agents, and $K$ is the number of control points. $c_i^k$ is the ground truth control point. $\#_{M}$ is the number of selected mixture models, which are used to sample the predicted control point $\hat{c}_i^k$ .
|
| 287 |
+
|
| 288 |
+
$$
|
| 289 |
+
\mathcal {L} _ {r} = \sum_ {i = 1} ^ {N} \sum_ {\omega = 1} ^ {2 \Omega} \sum_ {t = t _ {o b + 1}} ^ {t _ {p r e d}} \psi_ {i} ^ {\omega} \left| \left| Y _ {i} ^ {t, \omega} - \widehat {Y} _ {i} ^ {t, \omega} \right| \right| _ {2} ^ {2} \tag {23}
|
| 290 |
+
$$
|
| 291 |
+
|
| 292 |
+
Here, $\psi_i^\omega$ is the mask used while backpropagating gradients. $Y_{i}^{t,\omega}$ are the coordinates of the ground truth trajectory and $\widehat{Y}_i^{t,\omega}$ are the predicted coordinates (calculated from Eq. 21). Finally, the trajectory prediction loss function is given by $\mathcal{L}_{total} = \mathcal{L}_c + \mathcal{L}_r$ , where $\mathcal{L}_c$ is control point prediction loss and $\mathcal{L}_r$ is the trajectory refinement loss.
|
| 293 |
+
|
| 294 |
+
# 4. Experiments
|
| 295 |
+
|
| 296 |
+
In this section, we present the quantitative and qualitative results of our approach. Details regarding the implementation are provided in the Appendix.
|
| 297 |
+
|
| 298 |
+
# 4.1. Dataset and Metrics
|
| 299 |
+
|
| 300 |
+
We evaluated our method on the widely used publicly available human trajectory prediction benchmarks ETH, HOTEL,
|
| 301 |
+
|
| 302 |
+
Table 2. Comparison of MS-TIP (Our) with other approaches on ETH, HOTEL, UNIV, ZARA1, and ZARA2 datasets in terms of ADE/FDE (lower values are better). All approaches use the observed 8-time steps and produce the future 12-time steps. The top performance is highlighted in bold, and the second-best performance is indicated with underline.
|
| 303 |
+
|
| 304 |
+
<table><tr><td>Model</td><td>STGAT</td><td>CARPE</td><td>SGCN</td><td>GroupNet</td><td>STT</td><td>S-Implicit</td><td>MemoNet</td><td>BCDiff</td><td>G-Tern</td><td>FlowChain</td><td>Our</td></tr><tr><td>Venue</td><td>AAAI-21</td><td>AAAI-21</td><td>CVPR-21</td><td>CVPR-22</td><td>CVPR-22</td><td>ECCV-22</td><td>CVPR-22</td><td>NIPS-23</td><td>AAAI-23</td><td>ICCV-23</td><td>-</td></tr><tr><td>ETH</td><td>0.56/1.10</td><td>0.80/1.40</td><td>0.52/1.03</td><td>0.46/0.73</td><td>0.54/1.10</td><td>0.66/1.44</td><td>1.00/2.08</td><td>0.53/0.91</td><td>0.42/0.58</td><td>0.55/0.99</td><td>0.39/0.57</td></tr><tr><td>HOTEL</td><td>0.27/0.50</td><td>0.52/1.00</td><td>0.32/0.55</td><td>0.15/0.25</td><td>0.24/0.46</td><td>0.20/0.36</td><td>0.35/0.67</td><td>0.17/0.27</td><td>0.14/0.23</td><td>0.20/0.35</td><td>0.13/0.22</td></tr><tr><td>UNIV</td><td>0.32/0.66</td><td>0.61/1.23</td><td>0.37/0.70</td><td>0.26/0.49</td><td>0.57/1.15</td><td>0.31/0.60</td><td>0.55/1.19</td><td>0.24/0.40</td><td>0.26/0.45</td><td>0.29/0.54</td><td>0.24/0.40</td></tr><tr><td>ZARA1</td><td>0.21/0.42</td><td>0.42/0.84</td><td>0.29/0.53</td><td>0.21/0.39</td><td>0.45/0.94</td><td>0.25/0.50</td><td>0.46/1.00</td><td>0.21/0.37</td><td>0.21/0.37</td><td>0.22/0.40</td><td>0.20/0.34</td></tr><tr><td>ZARA2</td><td>0.20/0.40</td><td>0.34/0.74</td><td>0.25/0.45</td><td>0.17/0.33</td><td>0.36/0.77</td><td>0.22/0.43</td><td>0.32/0.71</td><td>0.16/0.26</td><td>0.17/0.29</td><td>0.20/0.34</td><td>0.17/0.29</td></tr><tr><td>AVG</td><td>0.31/0.62</td><td>0.46/0.89</td><td>0.37/0.65</td><td>0.25/0.44</td><td>0.43/0.88</td><td>0.33/0.67</td><td>0.55/1.15</td><td>0.26/0.44</td><td>0.24/0.38</td><td>0.29/0.52</td><td>0.22/0.36</td></tr></table>
|
| 305 |
+
|
| 306 |
+
Table 3. Ablation experiments using different missing mask values on ETH, HOTEL, UNIV, ZARA1, and ZARA2 datasets. The best results were achieved when missing coordinates were generated by introducing $5\%$ and $15\%$ null values ( $N a N s$ ) in the total observed trajectories. Bold represents the best, and underline represents the second-best ADE/FDE values.
|
| 307 |
+
|
| 308 |
+
<table><tr><td>Imputation %</td><td>5 %</td><td>10 %</td><td>15 %</td><td>20 %</td></tr><tr><td>ETH</td><td>0.43/0.60</td><td>0.40/0.61</td><td>0.39/0.57</td><td>0.46/0.65</td></tr><tr><td>HOTEL</td><td>0.13/0.22</td><td>0.14/0.24</td><td>0.14/0.23</td><td>0.15/0.24</td></tr><tr><td>UNIV</td><td>0.24/0.40</td><td>0.24/0.40</td><td>0.24/0.41</td><td>0.25/0.40</td></tr><tr><td>ZARA1</td><td>0.20/0.34</td><td>0.21/0.35</td><td>0.21/0.35</td><td>0.21/0.34</td></tr><tr><td>ZARA2</td><td>0.18/0.30</td><td>0.17/0.29</td><td>0.17/0.29</td><td>0.20/0.35</td></tr><tr><td>AVG</td><td>0.23/0.37</td><td>0.23/0.38</td><td>0.23/0.37</td><td>0.25/0.39</td></tr></table>
|
| 309 |
+
|
| 310 |
+
UNIV, ZARA1, and ZARA2. More details are provided in Table 1. We use popular assessment measures for trajectory prediction, such as Average Displacement Error (ADE) and Final Displacement Error (FDE). ADE denotes the average L2 distance between anticipated and ground truth trajectories over all time steps, whereas FDE measures the L2 distance at the final time step or endpoint.
|
| 311 |
+
|
| 312 |
+
# 4.2. Quantitative Results
|
| 313 |
+
|
| 314 |
+
The quantitative results on ETH, HOTEL, UNIV, ZARA1, and ZARA2 are presented in Table 2. We have compared our approach with STGAT (Sekhon & Fleming, 2021), CARPE (Mendieta & Tabkhi, 2021), SGCN (Shi et al., 2021), GroupNet (Xu et al., 2022a), STT (Monti et al., 2022), S-Implicit (Mohamed et al., 2022), MemoNet (Xu et al., 2022b), BCDiff (Li et al., 2023), G-Tern (Bae & Jeon, 2023), and FlowChain (Maeda & Ukita, 2023). In all five datasets, our approach has demonstrated the best performance over ETH, HOTEL, UNIV, and ZARA1 datasets and the second-best result over ZARA2. Our approach outperforms the state-of-the-art endpoint prediction method Graph-TERN (Bae & Jeon, 2023), achieving an average ADE of 0.22 and an average FDE of 0.36. The results presented in Table 2 include training MS-TIP on missing coordinates set at $15\%$ for the ETH and ZARA2 datasets,
|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
Figure 4. Visualization of predicted control points. The control points are represented by areas of varying color density, indicating the probability density of each intermediate step a pedestrian is likely to take toward the endpoint. The control points are connected by a blue line, depicting the intermediate straight curve.
|
| 318 |
+
|
| 319 |
+

|
| 320 |
+
|
| 321 |
+

|
| 322 |
+
|
| 323 |
+
Table 4. Ablation experiments evaluating the contributions of imputation (IMP), scenic attention (SCA), and the multiscale hypergraph (MHG) in our approach (MS-TIP). Empirical evaluation shows that all three components (combined) are necessary for the effectiveness of MS-TIP.
|
| 324 |
+
|
| 325 |
+
<table><tr><td>Components</td><td>Baseline</td><td>IMP</td><td>IMP+SCA</td><td>IMP+SCA+MHG</td></tr><tr><td>ETH</td><td>0.47/0.88</td><td>0.43/0.69</td><td>0.40/0.61</td><td>0.39/0.57</td></tr><tr><td>HOTEL</td><td>0.15/0.26</td><td>0.15/0.24</td><td>0.14/0.24</td><td>0.13/0.22</td></tr><tr><td>UNIV</td><td>0.25/0.41</td><td>0.24/0.40</td><td>0.24/0.40</td><td>0.24/0.40</td></tr><tr><td>ZARA1</td><td>0.21/0.35</td><td>0.21/0.34</td><td>0.20/0.34</td><td>0.20/0.34</td></tr><tr><td>ZARA2</td><td>0.18/0.30</td><td>0.18/0.31</td><td>0.18/0.30</td><td>0.17/0.29</td></tr><tr><td>AVG</td><td>0.25/0.44</td><td>0.24/0.39</td><td>0.23/0.37</td><td>0.22/0.36</td></tr></table>
|
| 326 |
+
|
| 327 |
+
and $5\%$ for the HOTEL, UNIV, and ZARA1 datasets.
|
| 328 |
+
|
| 329 |
+
# 4.3. Qualitative Results
|
| 330 |
+
|
| 331 |
+
As demonstrated in Fig. 3, our method accurately predicts future trajectories close to the ground truth trajectories. The model effectively learns various patterns in the scene, capturing the interactions and movement of pedestrians. Additionally, we have illustrated the predicted control points enhancing goal prediction. The inference of intermediate control points of various sizes (2, 3, 4) is depicted in Fig. 4.
|
| 332 |
+
|
| 333 |
+
# 4.4. Ablation Study
|
| 334 |
+
|
| 335 |
+
# 4.4.1. DIFFERENT VALUES OF IMPUTATION
|
| 336 |
+
|
| 337 |
+
Table 3 shows the different variations of missing values (indicating how many values are to be masked). Missing co
|
| 338 |
+
|
| 339 |
+
Table 5. Ablation experiments involving different hyperedge weights. We investigate the result using Eq. 10, which assigns varying weights (VAR) to the hyperedges. Results illustrate that prediction accuracy is highest when a uniform weight of 1 is assigned to every hyperedge (UNI). Bold represents the best, and underline represents the second-best ADE/FDE values.
|
| 340 |
+
|
| 341 |
+
<table><tr><td rowspan="2">Impuation/Weights</td><td colspan="2">5%</td><td colspan="2">10%</td><td colspan="2">15%</td><td colspan="2">20%</td></tr><tr><td>VAR</td><td>UNI</td><td>VAR</td><td>UNI</td><td>VAR</td><td>UNI</td><td>VAR</td><td>UNI</td></tr><tr><td>ETH</td><td>0.44/0.61</td><td>0.43/0.60</td><td>0.43/0.60</td><td>0.41/0.61</td><td>0.44/0.62</td><td>0.39/0.57</td><td>0.43/0.60</td><td>0.46/0.65</td></tr><tr><td>HOTEL</td><td>0.14/0.24</td><td>0.14/0.23</td><td>0.14/0.24</td><td>0.15/0.25</td><td>0.14/0.24</td><td>0.13/0.22</td><td>0.14/0.24</td><td>0.15/0.24</td></tr><tr><td>UNIV</td><td>0.24/0.44</td><td>0.25/0.40</td><td>0.24/0.41</td><td>0.25/0.46</td><td>0.24/0.41</td><td>0.24/0.40</td><td>0.25/0.40</td><td>0.25/0.40</td></tr><tr><td>ZARA1</td><td>0.20/0.33</td><td>0.21/0.35</td><td>0.20/0.33</td><td>0.21/0.35</td><td>0.20/0.34</td><td>0.20/0.34</td><td>0.21/0.35</td><td>0.21/0.40</td></tr><tr><td>ZARA2</td><td>0.17/0.29</td><td>0.18/0.30</td><td>0.17/0.30</td><td>0.18/0.29</td><td>0.17/0.29</td><td>0.17/0.29</td><td>0.17/0.29</td><td>0.21/0.35</td></tr><tr><td>AVG</td><td>0.24/0.38</td><td>0.24/0.38</td><td>0.23/0.38</td><td>0.24/0.39</td><td>0.24/0.38</td><td>0.22/0.36</td><td>0.24/0.38</td><td>0.25/0.39</td></tr></table>
|
| 342 |
+
|
| 343 |
+
Table 6. Ablation experiments to investigate the impact of different intermediate predicted control points on the final trajectory prediction in terms of ADE/FDE. The optimal result is obtained when predicting three intermediate control points. Bold represents the best, and underline represents the second-best ADE/FDE values.
|
| 344 |
+
|
| 345 |
+
<table><tr><td>Control points</td><td>K=1</td><td>K=2</td><td>K=3</td><td>K=4</td><td>K=6</td></tr><tr><td>ETH</td><td>0.44/0.76</td><td>0.47/0.70</td><td>0.39/0.57</td><td>0.42/0.69</td><td>0.47/0.85</td></tr><tr><td>HOTEL</td><td>0.19/0.32</td><td>0.15/.025</td><td>0.13/0.22</td><td>0.14/0.24</td><td>0.13/0.23</td></tr><tr><td>UNIV</td><td>0.25/0.43</td><td>0.25/0.42</td><td>0.24/0.40</td><td>0.25/0.43</td><td>0.25/0.44</td></tr><tr><td>ZARA1</td><td>0.24/0.41</td><td>0.21/0.36</td><td>0.20/0.34</td><td>0.21/0.35</td><td>0.21/0.36</td></tr><tr><td>ZARA2</td><td>0.21/0.37</td><td>0.19/0.33</td><td>0.17/0.29</td><td>0.19/0.33</td><td>0.18/0.32</td></tr><tr><td>AVG</td><td>0.26/0.46</td><td>0.21/0.41</td><td>0.22/0.36</td><td>0.24/0.411</td><td>0.25/0.44</td></tr></table>
|
| 346 |
+
|
| 347 |
+
Table 7. The variation of ADE/FDE with the scale parameter for MS-TIP on the ETH dataset.
|
| 348 |
+
|
| 349 |
+
<table><tr><td>Dataset</td><td>Scale</td><td>ADE</td><td>FDE</td></tr><tr><td rowspan="4">ETH</td><td>2,3</td><td>0.41</td><td>0.65</td></tr><tr><td>2,3,5</td><td>0.40</td><td>0.59</td></tr><tr><td>2,3,5,7,9</td><td>0.39</td><td>0.57</td></tr><tr><td>2,3,4,5,6,7,8,9</td><td>0.40</td><td>0.57</td></tr></table>
|
| 350 |
+
|
| 351 |
+
ordinates are generated by introducing null values (NaNs) in the total observed trajectories. The results demonstrate that the best performance in the trajectory prediction task is achieved by training the imputation model to reconstruct and impute $5\%$ and $15\%$ NaNs values.
|
| 352 |
+
|
| 353 |
+
# 4.4.2. CONTRIBUTION OF DIFFERENT COMPONENTS
|
| 354 |
+
|
| 355 |
+
Table 4 presents the contributions of imputation (IMP), scenic attention (SCA), and the multiscale hypergraph (MHG) in our approach (MS-TIP) compared to the baseline that uses a simple GCN (graph convolutional network). Imputation enhances model robustness to incomplete sequences, while the hypergraph and scenic attention facilitate interaction learning in dynamic scenarios. Notably, the incorporation of a hypergraph yields a more substantial relative improvement in model performance.
|
| 356 |
+
|
| 357 |
+
# 4.4.3. HYPEREDGE WEIGHT
|
| 358 |
+
|
| 359 |
+
Table 5 presents an investigation of various ADE/FDE values when the hyperedges weights are assigned using Eq. 10
|
| 360 |
+
|
| 361 |
+
under different values of the imputation. It is evident from the table that the highest prediction accuracy is achieved when the weight of every hyperedge is set to 1.
|
| 362 |
+
|
| 363 |
+
# 4.4.4. VARIATION IN CONTROL POINTS
|
| 364 |
+
|
| 365 |
+
We evaluate the model's performance using different numbers of intermediate control points, and our findings are presented in Table 6. The optimal results are achieved when the value of $\mathrm{K}$ is set to 3, indicating the prediction of three intermediate control points.
|
| 366 |
+
|
| 367 |
+
# 4.4.5. VARIATION IN SCALE PARAMETER
|
| 368 |
+
|
| 369 |
+
Based on the results presented in Table 7, we observe that when the scale is small (scale = [2, 3]), the ADE/FDE metrics tend to be relatively higher. However, as the scale increases, MS-TIP demonstrates improved capture of social interactions, resulting in a decrease in both ADE/FDE. Interestingly, the ADE/FDE values for scales (2, 3, 5, 7, 9) and (2, 3, 4, 5, 6, 7, 8, 9) appear to be nearly identical. It's important to note that each scale generates a hypergraph, and employing more scales introduces a greater number of hyper-edges. Increasing the number of scales further does not significantly enhance the ADE/FDE metrics. Moreover, a large number of scales incurs greater convolutional complexity and raises concerns about capturing false interactions.
|
| 370 |
+
|
| 371 |
+
# 5. Conclusion
|
| 372 |
+
|
| 373 |
+
In this paper, we present a novel approach capable of simultaneously addressing trajectory sequence imputation and future trajectory prediction tasks. Our proposed framework utilizes a non-autoregressive transformer model to impute missing coordinates, employing a dual approach of missing value reconstruction and prediction. By integrating a multiscale hypergraph, our model efficiently captures complex interactions at different scales. Furthermore, the introduction of scenic attention facilitates contextual learning among pedestrians in various environments. Extensive experiments demonstrate the effectiveness of our approach.
|
| 374 |
+
|
| 375 |
+
# Impact Statement
|
| 376 |
+
|
| 377 |
+
This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.
|
| 378 |
+
|
| 379 |
+
# References
|
| 380 |
+
|
| 381 |
+
Bae, I. and Jeon, H.-G. A set of control points conditioned pedestrian trajectory prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pp. 6155-6165, 2023.
|
| 382 |
+
Cao, W., Wang, D., Li, J., Zhou, H., Li, L., and Li, Y. Brits: Bidirectional recurrent imputation for time series. Advances in neural information processing systems, 31, 2018.
|
| 383 |
+
Chen, X., Zhang, H., Hu, Y., Liang, J., and Wang, H. Vnagt: Variational non-autoregressive graph transformer network for multi-agent trajectory prediction. IEEE Transactions on Vehicular Technology, 2023.
|
| 384 |
+
Chiara, L. F., Coscia, P., Das, S., Calderara, S., Cucchiara, R., and Ballan, L. Goal-driven self-attentive recurrent networks for trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2518–2527, 2022.
|
| 385 |
+
Du, W., Côté, D., and Liu, Y. Saits: Self-attention-based imputation for time series. Expert Systems with Applications, 219:119619, 2023.
|
| 386 |
+
Fortuin, V., Baranchuk, D., Raetsch, G., and Mandt, S. GP-VAE: Deep probabilistic time series imputation. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pp. 1651–1661. PMLR, 26–28 Aug 2020.
|
| 387 |
+
Girgis, R., Golemo, F., Codevilla, F., Weiss, M., D'Souza, J. A., Kahou, S. E., Heide, F., and Pal, C. Latent variable sequential set transformers for joint multi-agent motion prediction. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=Dup_dDqkZC5.
|
| 388 |
+
Gu, T., Chen, G., Li, J., Lin, C., Rao, Y., Zhou, J., and Lu, J. Stochastic trajectory prediction via motion indeterminacy diffusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17113-17122, 2022.
|
| 389 |
+
Gupta, A., Johnson, J., Fei-Fei, L., Savarese, S., and Alahi, A. Social gan: Socially acceptable trajectories with generative adversarial networks. In Proceedings of the IEEE
|
| 390 |
+
|
| 391 |
+
conference on computer vision and pattern recognition, pp. 2255-2264, 2018.
|
| 392 |
+
Hu, Y., Chen, S., Zhang, Y., and Gu, X. Collaborative motion prediction via neural motion message passing. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 6319-6328, 2020.
|
| 393 |
+
Huang, Y., Bi, H., Li, Z., Mao, T., and Wang, Z. Stgat: Modeling spatial-temporal interactions for human trajectory prediction. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 6272-6281, 2019.
|
| 394 |
+
Kosaraju, V., Sadeghian, A., Martin-Martin, R., Reid, I., Rezatofighi, H., and Savarese, S. Social-bigat: Multimodal trajectory forecasting using bicycle-gan and graph attention networks. Advances in Neural Information Processing Systems, 32, 2019.
|
| 395 |
+
Lee, M., Sohn, S. S., Moon, S., Yoon, S., Kapadia, M., and Pavlovic, V. Muse-vae: multi-scalevae for environment-aware long term trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2221-2230, 2022.
|
| 396 |
+
Li, R., Li, C., Ren, D., Chen, G., Yuan, Y., and Wang, G. Bcdiff: Bidirectional consistent diffusion for instantaneous trajectory prediction. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
|
| 397 |
+
Liu, Y., Yu, R., Zheng, S., Zhan, E., and Yue, Y. NAOMI: Non-autoregressive multiresolution sequence imputation. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
|
| 398 |
+
Maeda, T. and Ukita, N. Fast inference and update of probabilistic density estimation on trajectory prediction. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9795-9805, 2023.
|
| 399 |
+
Mangalam, K., Girase, H., Agarwal, S., Lee, K.-H., Adeli, E., Malik, J., and Gaidon, A. It is not the journey but the destination: Endpoint conditioned trajectory prediction. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part II 16, pp. 759-776. Springer, 2020.
|
| 400 |
+
Mangalam, K., An, Y., Girase, H., and Malik, J. From goals, waypoints & paths to long term human trajectory forecasting. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 15233-15242, 2021.
|
| 401 |
+
Mao, W., Xu, C., Zhu, Q., Chen, S., and Wang, Y. Leapfrog diffusion model for stochastic trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5517-5526, 2023.
|
| 402 |
+
|
| 403 |
+
Mendieta, M. and Tabkhi, H. Carpe posterum: A convolutional approach for real-time pedestrian path prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 2346-2354, 2021.
|
| 404 |
+
Mohamed, A., Qian, K., Elhoseiny, M., and Claudel, C. Social-stgcnn: A social spatio-temporal graph convolutional neural network for human trajectory prediction. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 14424-14432, 2020.
|
| 405 |
+
Mohamed, A., Zhu, D., Vu, W., Elhoseiny, M., and Claudel, C. Social-implicit: Rethinking trajectory prediction evaluation and the effectiveness of implicit maximum likelihood estimation. In European Conference on Computer Vision, pp. 463–479. Springer, 2022.
|
| 406 |
+
Monti, A., Porrello, A., Calderara, S., Coscia, P., Ballan, L., and Cucchiara, R. How many observations are enough? knowledge distillation for trajectory forecasting. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6543-6552, 2022. doi: 10.1109/ CVPR52688.2022.00644.
|
| 407 |
+
Qi, M., Qin, J., Wu, Y., and Yang, Y. Imitative nonautoregressive modeling for trajectory forecasting and imputation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12736-12745, 2020.
|
| 408 |
+
Ramchandran, S., Tikhonov, G., Kujanpää, K., Koskinen, M., and Lähdesmäki, H. Longitudinal variational autoencoder. In Banerjee, A. and Fukumizu, K. (eds.), Proceedings of The 24th International Conference on Artificial Intelligence and Statistics, volume 130 of Proceedings of Machine Learning Research, pp. 3898-3906. PMLR, 13-15 Apr 2021.
|
| 409 |
+
Sadeghian, A., Kosaraju, V., Sadeghian, A., Hirose, N., Rezatofighi, H., and Savarese, S. Sophie: An attentive gan for predicting paths compliant to social and physical constraints. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), number CONF, 2019.
|
| 410 |
+
Sekhon, J. and Fleming, C. Scan: A spatial context attentive network for joint multi-agent intent prediction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 6119-6127, 2021.
|
| 411 |
+
Shan, S. and Oliva, J. B. NRTSI: Non-recurrent time series imputation. ArXiv, abs/2102.03340, 2021.
|
| 412 |
+
Shi, L., Wang, L., Long, C., Zhou, S., Zhou, M., Niu, Z., and Hua, G. Sgen: Sparse graph convolution network for pedestrian trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8994-9003, 2021.
|
| 413 |
+
|
| 414 |
+
Wang, M., Zhu, X., Yu, C., Li, W., Ma, Y., Jin, R., Ren, X., Ren, D., Wang, M., and Yang, W. Ganet: Goal area network for motion forecasting. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pp. 1609-1615. IEEE, 2023.
|
| 415 |
+
Xu, C., Li, M., Ni, Z., Zhang, Y., and Chen, S. Groupnet: Multiscale hypergraph neural networks for trajectory prediction with relational reasoning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6498-6507, June 2022a.
|
| 416 |
+
Xu, C., Mao, W., Zhang, W., and Chen, S. Remember intentions: Retrospective-memory-based trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6488-6497, 2022b.
|
| 417 |
+
Xu, Y., Bazarjani, A., Chi, H.-g., Choi, C., and Fu, Y. Uncovering the missing pattern: Unified framework towards trajectory imputation and prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9632-9643, 2023.
|
| 418 |
+
Yoon, J., Zame, W. R., and van der Schaar, M. Estimating missing data in temporal data streams using multidirectional recurrent neural networks. IEEE Transactions on Biomedical Engineering, 66(5):1477-1490, 2019. doi: 10.1109/TBME.2018.2874712.
|
| 419 |
+
Yu, C., Ma, X., Ren, J., Zhao, H., and Yi, S. Spatio-temporal graph transformer networks for pedestrian trajectory prediction. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XII 16, pp. 507-523. Springer, 2020.
|
| 420 |
+
Yuan, Y., Weng, X., Ou, Y., and Kitani, K. M. Agentformer: Agent-aware transformers for socio-temporal multi-agent forecasting. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9813-9823, 2021.
|
| 421 |
+
Zhan, E., Zheng, S., Yue, Y., Sha, L., and Lucey, P. Generating multi-agent trajectories using programmatic weak supervision. arXiv preprint arXiv:1803.07612, 2018.
|
| 422 |
+
|
| 423 |
+
# A. Implementation Details
|
| 424 |
+
|
| 425 |
+
# A.1. Imputation Module
|
| 426 |
+
|
| 427 |
+
We first pretrain the imputation model over the entire dataset for making a reasonable initial imputation. We use n_steps=8, the number of steps after which the features of the next pedestrian begin. We use n_features=4, the number of features of each pedestrian $(x,y,v_x,v_y)$ . We use Adam optimizer with a learning rate of $1\times 10^{-4}$ and weight decay of $\left(1\times 10^{-5}\right)/2$ for this pretraining.
|
| 428 |
+
|
| 429 |
+
# A.2. HyperGraph Convolution Neural Network
|
| 430 |
+
|
| 431 |
+
The initial node embeddings are fed as input to hypergraph convolution. The initial embeddings for a particular agent comprise a 6-dimensional vector resulting from the concatenation of coordinate features (2 dimensions) and scenic embeddings of dimension 4. Hence, the number of input channels of hypergraph convolution is 6. The output channel of the hypergraph convolution is 16 (which corresponds to the dimensionality of hidden features of a node). The output of the hypergraph convolution is (batch, obs_len, num_of_peds, out_channels).
|
| 432 |
+
|
| 433 |
+
# A.3. Scenic Attention Module
|
| 434 |
+
|
| 435 |
+
The model takes the position and scenic features, $V_{k}$ , obtained using a pre-trained VGG-19 on ImageNet. It ensures that trajectory predictions consider not only pedestrian coordinates but also the contextual scene. Given that dataset images are captured by fixed cameras, we perform a one-time calculation for each dataset as follows:
|
| 436 |
+
|
| 437 |
+
$$
|
| 438 |
+
V _ {k} = V G G 1 9 \left(I m a g e _ {\text {s c e n e}}; W _ {V G G 1 9}\right) \tag {24}
|
| 439 |
+
$$
|
| 440 |
+
|
| 441 |
+
The calculation for producing $V_{k}$ remains consistent regardless of historical time steps. It's worth noting that $S_{i}^{t}$ is influenced by historical time frames, as it incorporates both $V_{k}$ and $X_{i}^{t}$ as inputs.
|
| 442 |
+
|
| 443 |
+
$$
|
| 444 |
+
S _ {i} ^ {t} = \text {S c e n e A t t e n t i o n} \left(V _ {k}, X _ {i} ^ {t}; W _ {\text {a t t}}\right) \tag {25}
|
| 445 |
+
$$
|
| 446 |
+
|
| 447 |
+
It calculates attention weights using scenic features and coordinates. It first processes the input positions and spatially embeds them. The VGG features are projected using a multi-layer perceptron (MLP). The resulting features are concatenated with the spatial embeddings and processed by another MLP to obtain attention weights. These weights are normalized using softmax, multiplied with the spatial embeddings to produce the final sequential scene attention embeddings $(S_i^t)$ , for individual agents at a specific time. These scenic embeddings of a particular node are of dimension 4.
|
| 448 |
+
|
| 449 |
+
# A.4. Trajectory Refinement Module
|
| 450 |
+
|
| 451 |
+
Trajectory refinement model $\Theta_{tr}$ comprises of two parts:
|
| 452 |
+
|
| 453 |
+
- The initial phase consists of a combination of a Graph Convolution Network (GCN) and a Temporal Convolution Network (TCN). The entire trajectory is formed by concatenating both the observed and linearly predicted trajectories. A multi-relational graph, denoted as $\mathcal{G} = (\mathcal{V},\mathcal{R},\mathcal{E})$ , is employed. Here, $\mathcal{R}$ represents a set of relations, specifically $\mathcal{R} = \{\text{Distance}, \text{Displacement}, \frac{1}{\text{Distance}}, \frac{1}{\text{Displacement}}\}$ . Furthermore, $\mathcal{V}$ encompasses the set of pedestrians, and $\mathcal{E}$ signifies the edges connecting these pedestrians. The scenic embeddings, generated through the Scenic Attention Module (refer A.3), are concatenated with the coordinates to produce the initial node embeddings (of a node at a particular time-stamp) with a dimensionality of 6. The initial node embeddings and the adjacency matrix of the multi-relational graph are passed into the GCN to get the final node embeddings of dimension 16. These final node embeddings are then passed into a Temporal Convolution Network (TCN), a CNN layer within channels = 16, out channel = 16, and kernel size = (3,1). The output of this model is the form of (batch, total_len, num_of_peds, out_channels).
|
| 454 |
+
- The second part contains two different CNNs. The first CNN is dedicated to time-wise convolution, with an input channel of 16 ( $t_{total} = t_{ob} + t_{pred}$ ) and an output channel of 12 ( $t_{pred}$ ) and kernel_size = 3. The second CNN is used for channel-wise convolution, where the input channel is set to 16, and the output channel is set to 2. The kernel size is set to 3. The output of this model gives the correction vector field. This is added to the linearly interpolated trajectory to get the final trajectory.
|
| 455 |
+
|
| 456 |
+

|
| 457 |
+
Figure 5. Visual comparison of predicted trajectories in images from ETH (top-left), UNIV (bottom-left), HOTEL (bottom-right), and ZARA (top-right) datasets. Predicted pedestrian trajectories from our approach are depicted in yellow, observed trajectories in orange, and ground truth trajectories in green. Graph-TERN predictions are represented in purple. Our approach accurately predicts future trajectories, closely aligning with the ground truth compared to Graph-TERN in most cases.
|
| 458 |
+
|
| 459 |
+
# Calculation details for $\gamma$
|
| 460 |
+
|
| 461 |
+
It is calculated by averaging the set of coordinates of each pedestrian for a given timestamp and then calculating the $L^2$ norm of the average X and Y coordinate thus obtained. This is normalized with the obs_seq_len by dividing the result with the same.
|
| 462 |
+
|
| 463 |
+
# A.5. Overall Implementation detail
|
| 464 |
+
|
| 465 |
+
Following the standard evaluation strategy (Gupta et al., 2018), the observation frames, denoted as $t_{ob}$ , consist of 8 frames, equivalent to 3.2 seconds, while the prediction frames are determined as $t_{pred} - t_{ob}$ , amounting to 12 frames or 4.8 seconds. The number of control points $K$ (refer 3.6) is set to 3. The number of endpoints sampled from the GMM, $\Omega$ is set to 20. We employ a batch size of 128 during the training process, with the number of training epochs set to 512. The learning rate for the entire model is specified as $1 \times 10^{-4}$ . The optimiser used is SGD. We use Python 3.8.13 and PyTorch version 1.13.1+cu117.
|
| 466 |
+
|
| 467 |
+
Initially, we pretrain the imputation model on the complete dataset to establish a sensible initial imputation. The parameters used in pre-training are described in section A.1. We apply the pre-trained imputation model to fill in the randomly occurring NaNs in the input, as discussed in Section 3.2. Subsequently, we fine-tune the imputation model using a learning rate of $1 \times 10^{-5}$ .
|
| 468 |
+
|
| 469 |
+
The imputed coordinates are fed as input to the hypergraph generation module (refer 3.3) to generate the incidence matrix $\mathbf{H}$ and hyperedge weights $\mathbf{w}$ . The scenic embeddings, generated through the Scenic Attention Module (refer A.3), are concatenated with the coordinates to produce the initial node embeddings (of a node at a particular time-stamp) with a dimensionality of 6. The initial node embeddings are passed into the HGCNN module (refer A.2) to get the final node embeddings of dimension 16. These final node embeddings are then passed into Temporal Convolution Network (TCN), a CNN layer with in_channels $= 16$ , out channel $= 16$ , and kernel size $= (3,1)$ . The output of this model is the form of (batch, obs_len, num_of_peds, out_channels).
|
| 470 |
+
|
| 471 |
+
To calculate the mean $(\mu_x, \mu_y)$ , standard deviation $(\sigma_x, \sigma_y)$ , and the mixing coefficient $(\pi)$ for the Gaussian Mixture Model (GMM), we employ two distinct Convolutional Neural Networks (CNNs). The first CNN is dedicated to time-wise
|
| 472 |
+
|
| 473 |
+
convolution, with an input channel of $8(t_{ob})$ and an output channel of 8 (representing the number of GMMs used, denoted as $\#_M$ ) and kernel_size = 3. The second CNN is used for channel-wise convolution, where the input channel is set to 16, and the output channel is calculated as output_features( $\mu_x, \mu_y, \sigma_x, \sigma_y, \pi$ ) × K, where K represents the number of control points. In this case, it results in $5 \times 3$ equal to 15. The kernel size is set to 3.
|
| 474 |
+
|
| 475 |
+
The output features generated are used to generate a GMM, which is used for sampling $K = 3$ control points. These control points are added to get the final predicted end-point. We sample $\Omega = 20$ such endpoints. Next, we sample 20 additional guided end-points (refer 3.6).
|
| 476 |
+
|
| 477 |
+
The endpoint and the coordinates at time $t_{ob}$ are combined in a linear manner to create a linearly interpolated trajectory. This linear trajectory is then passed to the trajectory refinement module (refer A.4) to get the correction vector. The correction vector is added to a linear interpolated trajectory to get the final trajectory. The losses $\mathcal{L}_r$ and $\mathcal{L}_c$ are calculated and back-propagated.
|
| 478 |
+
|
| 479 |
+
# B. Additional Visualization
|
| 480 |
+
|
| 481 |
+
In ETH and HOTEL, our model effectively predicts pedestrian trajectories compared to Graph-TERN in most cases. Our multi-scale hypergraph GCN, considering social interactions, performs better in predicting trajectories for densely populated scenes in the UNIV dataset. Similarly, in ZARA, our model accurately predicts future movements, as depicted in Figure 5.
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3980562519ad36f92a001cc7c704306064d792f512174966eb2e55343a9ee012
|
| 3 |
+
size 787037
|
2024/MS-TIP_ Imputation Aware Pedestrian Trajectory Prediction/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/7ab22ab8-de63-46ed-92be-20c2c119c63a_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a23da144014e79d8eb833d972004341f0cdc46ed50f2db0c362a7f620aa9a505
|
| 3 |
+
size 1092858
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e8d1817244aa33d54598f00b20dbcc4c16a1abc80b64f9f228a42ffd4dbf7e4
|
| 3 |
+
size 1546116
|
2024/MVMoE_ Multi-Task Vehicle Routing Solver with Mixture-of-Experts/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/085516c2-c075-448a-bbd7-0579921a9716_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba903981ec85975fb13214fbb2c3603d9af3ba97686e4ce6c201b803e85fbc6a
|
| 3 |
+
size 744179
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/full.md
ADDED
|
@@ -0,0 +1,574 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MaSS: Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective
|
| 2 |
+
|
| 3 |
+
Yizhuo Chen $^{*12}$ Chun-Fu (Richard) Chen $^{*2}$ Hsiang Hsu $^{2}$ Shaohan Hu $^{2}$ Marco Pistoia $^{2}$ Tarek Abdelzaher $^{1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
The growing richness of large-scale datasets has been crucial in driving the rapid advancement and wide adoption of machine learning technologies. The massive collection and usage of data, however, pose an increasing risk for people's private and sensitive information due to either inadvertent mishandling or malicious exploitation. Besides legislative solutions, many technical approaches have been proposed towards data privacy protection. However, they bear various limitations such as leading to degraded data availability and utility, or relying on heuristics and lacking solid theoretical bases. To overcome these limitations, we propose a formal information-theoretic definition for this utility-preserving privacy protection problem, and design a data-driven learnable data transformation framework that is capable of selectively suppressing sensitive attributes from target datasets while preserving the other useful attributes, regardless of whether or not they are known in advance or explicitly annotated for preservation. We provide rigorous theoretical analyses on the operational bounds for our framework, and carry out comprehensive experimental evaluations using datasets of a variety of modalities, including facial images, voice audio clips, and human activity motion sensor signals. Results demonstrate the effectiveness and generalizability of our method under various configurations on a multitude of tasks. Our source code is available at this URL.
|
| 8 |
+
|
| 9 |
+
*Equal contribution $^{1}$ Department of Computer Science, University of Illinois Urbana-Champaign, USA $^{2}$ Global Technology Applied Research, JPMorgan Chase, USA. Correspondence to: Yizhuo Chen <yizhuoc@illinois.edu>, Chun-Fu (Richard) Chen <richard.cf.chen@jpmchase.com>.
|
| 10 |
+
|
| 11 |
+
Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
|
| 12 |
+
|
| 13 |
+
# 1. Introduction
|
| 14 |
+
|
| 15 |
+
The recent rapid advances and wide adoption of machine learning technologies are largely attributed to not only the explosive growth in raw computing power, but also the unprecedented availability of large-scale datasets, for example, the monumental computer vision dataset ImageNet (Deng et al., 2009), the large multi-lingual web corpus Common Crawl (2023), and the widely used UCI HAR dataset (Anguita et al., 2013). While the vast amount of data serves as the rich basis for machine learning algorithms to learn from, the ubiquitous data collection and usage have drawn serious privacy concerns since people's private and sensitive information could be leaked through inadvertent mishandling as well as deliberate malicious exploitation. Therefore, various regulatory policies, such as GDPR and CCPA, have been drafted and put in place to guardrail the handling and usage of data. While such legislative solutions do generally help mitigate the privacy concerns, they also tend to pose blanket restrictions that result in degraded data availability. Therefore, there has been a growing interest in developing more sophisticated, flexible technical solutions.
|
| 16 |
+
|
| 17 |
+
Towards this goal, many techniques have been proposed. One of the most well-known studies is the protection against membership inference attacks, also known as Differential Privacy (Dwork et al., 2014; Mironov, 2017; Abadi et al., 2016). It focuses on preventing attackers from differentiating between two neighboring sets of samples by observing the change in the distribution of output statistics. Another widely discussed notion of privacy is the protection against attribute inference attacks, often referred to as Information-theoretic (IT) Privacy (Hukkelas et al., 2019; Bertran et al., 2019; Huang et al., 2018; Hsu et al., 2020). This line of work aims at transforming a dataset to remove or suppress its sensitive attributes while preserving its utility for downstream tasks. In this paper, we focus our discussion on providing IT Privacy protection.
|
| 18 |
+
|
| 19 |
+
Developing a data transformation framework for IT Privacy presents multiple challenges. Specifically, we identified 5 desired properties for an IT Privacy data transformation framework, which can be summarized as SUIFT: 1) Sensitivity suppression: the capability to suppress annotated sensitive attributes from the dataset; 2) Utility preservation:
|
| 20 |
+
|
| 21 |
+
Table 1. A summary of related works on IT Privacy. $\bullet$ , $\bigcirc$ and $\mathbb{O}$ indicate satisfied, not satisfied and partially satisfied, respectively. S, U, I, F, and T are abbreviations of Sensitivity suppression, Utility preservation, Invariance of sample space, Feature management without annotation, and Theoretical basis respectively. Apart from our method, MaSS (to be introduced shortly, and described in detail in Section 4), none of the listed methods fully satisfy all components of SUIFT (discussed in detail in Section 2 and Appendix B).
|
| 22 |
+
|
| 23 |
+
<table><tr><td>Method</td><td>S</td><td>U</td><td>I</td><td>F</td><td>T</td></tr><tr><td>DeepPrivacy (Hukkelås et al., 2019)</td><td>●</td><td>➁</td><td>●</td><td>➀</td><td>○</td></tr><tr><td>CiaGAN (Maximov et al., 2020)</td><td>●</td><td>➂</td><td>●</td><td>➁</td><td>○</td></tr><tr><td>Hsu et al. (2020)</td><td>●</td><td>○</td><td>●</td><td>➁</td><td>●</td></tr><tr><td>ALR (Bertran et al., 2019)</td><td>●</td><td>●</td><td>●</td><td>○</td><td>●</td></tr><tr><td>PPDAR (Wu et al., 2020)</td><td>●</td><td>●</td><td>●</td><td>○</td><td>○</td></tr><tr><td>BDQ (Kumawat & Nagahara, 2022)</td><td>●</td><td>●</td><td>●</td><td>○</td><td>○</td></tr><tr><td>ALFR (Edwards & Storkey, 2016)</td><td>➂</td><td>●</td><td>○</td><td>●</td><td>➁</td></tr><tr><td>LAFTR (Madras et al., 2018)</td><td>➂</td><td>●</td><td>○</td><td>●</td><td>➂</td></tr><tr><td>GAP (Huang et al., 2018)</td><td>●</td><td>○</td><td>●</td><td>●</td><td>➁</td></tr><tr><td>MSDA (Malekzadeh et al., 2019)</td><td>●</td><td>●</td><td>●</td><td>●</td><td>➁</td></tr><tr><td>SPAct (Dave et al., 2022)</td><td>○</td><td>●</td><td>●</td><td>●</td><td>○</td></tr><tr><td>MaSS (our method)</td><td>●</td><td>●</td><td>●</td><td>●</td><td>●</td></tr></table>
|
| 24 |
+
|
| 25 |
+
the capability to preserve specifically annotated useful attributes in the dataset to facilitate downstream usage; 3) Invariance of sample space: keeping the transformed data in the original space as the input data, to enable plug-in usability for pretrained off-the-shelf models and to deliver better re-usability for the community; 4) Feature management without annotation: the capability to manage unannotated generic features in the dataset, by either suppressing them or preserving them when they are considered either useful or sensitive. 5) Theoretical basis: all the proposed components of the data transformation frameworks being entirely driven by a unified information-theoretic basis to ensure safety.
|
| 26 |
+
|
| 27 |
+
Various techniques have been proposed towards the goal of SUIFT in IT Privacy, as summarized in Table 1. However, each of them is limited in missing some of the desired properties of SUIFT. For example, Bertran et al. (2019), Wu et al. (2020), and Kumawat & Nagahara (2022) can only ensure the predictability in the transformed data for attributes that have already been explicitly annotated for preservation; no considerations are given to managing data's unannotated attributes. On the other hand, Huang et al. (2018), Malekzadeh et al. (2019) and Madras et al. (2018) do account for unannotated attributes, but their designs for unannotated attributes preservation are mostly heuristic-driven and lack rigorous theoretical bases, which could limit their applicability, especially for scenarios involving highly sensitive information.
|
| 28 |
+
|
| 29 |
+
To address these limitations, in this paper we present MaSS, a Multi-attribute Selective Suppression framework that aims at satisfying all 5 components of SUIFT. Specifically, we formulate the IT Privacy as an optimization problem from the perspective of information theory, and then convert the
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+
Figure 1. An illustrative use case of MaSS: The original data sample is a voice clip of a person speaking a digit, where its attributes "gender" and "accent" are considered as sensitive, while its "age" and "spoken digit" are annotated as useful. We are also interested in preserving generic features of the data. For example, the voice clip may contain attributes such as "speaker ID" or "recording room" that could prove to be useful down the road, but are not necessarily explicitly annotated yet at the time of processing. After the transformation of MaSS, sensitive attributes can no longer be accurately inferred, but the other useful attributes are preserved in the transformed data.
|
| 33 |
+
|
| 34 |
+
optimization problem into a fully differentiable trainable framework parameterized by neural networks, with sound analyses on the design derivation and operational bounds. MaSS is capable of suppressing multiple selected sensitive attributes, and preserving multiple useful attributes regardless of whether they are annotated or not. An illustrative use case of MaSS is shown in Figure 1. We also compare MaSS with various baselines extensively on three datasets of different modalities, namely voice recordings, human activity motion sensor signals, and facial images, and show its practical effectiveness under various configurations.
|
| 35 |
+
|
| 36 |
+
The contributions of this paper are summarized as follows: 1) We propose MaSS, an information theory driven data transformation framework satisfying all 5 identified desirable properties in IT Privacy, namely SUIFT; 2) We provide rigorous theoretical analyses on the design derivation and operational bounds of our proposed multi-attribute data transformation framework; and 3) We experimentally evaluate MaSS extensively on voice audio, human activity motion sensor signal, and facial image datasets, and demonstrate its effectiveness and generalizability.
|
| 37 |
+
|
| 38 |
+
Omitted proofs, details on experiment setups and training, and additional results are included in the Appendix.
|
| 39 |
+
|
| 40 |
+
# 2. Related Works
|
| 41 |
+
|
| 42 |
+
Privacy-preserving mechanisms. A privacy-preserving mechanism ensures privacy by randomizing a function of data in order to thwart unwanted inferences. There are two selections of the functions that lead to different pri
|
| 43 |
+
|
| 44 |
+
vacy notions. If the function is the output of a query over a database, the privacy notion is termed differential privacy (DP) (Dwork et al., 2006), which requires the results of a query be approximately the same for small perturbations of data, and can usually be achieved by additive noise mechanisms (e.g., Gaussian, Laplacian or exponential noise (Dwork et al., 2014; Sun et al., 2020; Zhang et al., 2018; Abadi et al., 2016)). Different from DP, if the function is a conditional distribution that anonymizes sensitive information in the data while preserving non-sensitive information, it leads to the other privacy notion called information-theoretic (IT) privacy. The motivation behind IT privacy is to improve the data quality after anonymization with the additional information of the utility attributes. See Hsu et al. (2021a) for a more detailed discussion on the two privacy notions. Since our goal is to not only suppress the sensitive attributes but also preserve the data utility concurrently, the MaSS framework falls within the field of IT privacy.
|
| 45 |
+
|
| 46 |
+
IT Privacy protection for annotated attributes. By reviewing related studies for IT Privacy and examining the requirements of downstream applications, we identified 5 desirable properties of IT Privacy mechanisms, namely SUIFT as summarized in Section 1 and Table 1. Nevertheless, previous studies proposed for IT Privacy are limited in certain properties. For instance, DeepPrivacy (Hukkelås et al., 2019) employs a CGAN, conditioned on image background and pose features, to synthesize anonymized facial images. To further ensure de-identification, CiaGAN (Maximov et al., 2020) proposes to condition the CGAN on an identity control vector, creating images with fabricated identities. Nevertheless, these methods prioritize visual quality of the generated images over the preservation of utilities, for both annotated and unannotated useful attributes, undermining the data's usefulness for downstream ML tasks. (Hsu et al., 2020) proposes to suppress sensitivity by only locating and obfuscating information-leaking features, but is also limited in providing a mechanism to quantify and preserve the utilities. To explicitly preserve useful annotated attributes, ALR (Bertran et al., 2019) ensures that annotated useful attributes remain predictable in anonymized data, while thwarting inference of sensitive attributes from an information-theoretic perspective. PPDAR (Wu et al., 2020) extends this approach by introducing a cross-entropy-based suppression and preservation loss. This idea is further blended with a prior-based suppression loss by BDQ (Kumawat & Nagahara, 2022). Despite their advancements in preserving annotated useful attributes, these studies do not consider managing the unannotated attributes in the data.
|
| 47 |
+
|
| 48 |
+
Unannotated attributes management based on heuristics. In the neighboring field of fair representation learning, ALFR (Edwards & Storkey, 2016) proposes to preserve the unannotated attributes by minimizing the $\ell_2$ reconstruc
|
| 49 |
+
|
| 50 |
+
tion loss, while selectively suppress and preserve annotated attributes. Building upon this, LAFTR (Madras et al., 2018) introduces a fairness metrics driven optimization objective for suppression. However, these studies focused on suppressing only one binary sensitive attribute to achieve fairness. In contrast, in IT Privacy literature, GAP (Huang et al., 2018) advocates for suppressing multiple sensitive attribute, and simultaneously constraining the $\ell_2$ reconstruction loss. (Malekzadeh et al., 2019) further combines $\ell_2$ reconstruction loss with information theoretic losses for annotated attributes. On the other hand, Dave et al. targets their work at suppressing the unannotated attributes of the data, utilizing contrastive learning technique, while ensuring the predictability of annotated attributes. Despite the practical relevance of their handling of unannotated attributes, these works fall short in providing a robust theoretical foundation regarding the derivation and operational bounds of their design, raising concerns in scenarios demanding high safety assurances. We discuss related works in more detail in Appendix B.
|
| 51 |
+
|
| 52 |
+
# 3. Problem Formulation
|
| 53 |
+
|
| 54 |
+
In this paper, we focus on a multi-attribute dataset comprised of original data $X$ , a set of $M$ sensitive attributes $S = (S_{1}, S_{2}, \ldots, S_{M})$ , a set of $N$ annotated useful attributes $U = (U_{1}, U_{2}, \ldots, U_{N})$ , and a set of unannotated useful attributes or generic features $F$ . However, our access is limited to the observable joint distribution $P(X, U, S)$ , as opposed to the intrinsic joint distribution $P(X, U, S, F)$ . We base our work on pragmatic assumptions that $S, U$ are random variables following finite categorical distributions, allowing the mutual information between $S, U$ , and $X$ to be bounded. Additionally, we presuppose that with the given $X$ , the corresponding annotated attributes $S, U$ are entirely determined (i.e., $P(S_{i} | X)$ and $P(U_{j} | X)$ are degenerate distributions). For broad applicability, we do not make assumptions regarding the dimension or distribution family for $F$ and $X$ . Furthermore, we do not assume independence between $F$ and other variables, which means that $F$ may correlate with the joint distribution of $X, S, U$ .
|
| 55 |
+
|
| 56 |
+
Our goal of IT Privacy is then formulated as finding the optimal data transformation $P_{\theta}(X'|X)$ , where the random variable $X'$ is the transformed data, and the strongest unannotated useful attribute extractor $P_{\eta}(F|X)$ by solving the following constrained optimization problem:
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\max _ {\theta , \eta} I \left(X ^ {\prime}; F\right) \tag {1}
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\begin{array}{l} \text {s . t .} \quad I (X ^ {\prime}; S _ {i}) \leq m _ {i} \text {a n d} I (X ^ {\prime}; U _ {j}) \geq n _ {j}, \end{array}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
where $I(\cdot ,\cdot)$ is Shannon mutual information, $i\in 1\dots M$ $j\in 1\dots N,P_{\theta}(X^{\prime}|X)$ and $P_{\eta}(F|X)$ are parameterized by $\theta ,\eta$ respectively. By solving this optimization problem, we try to ensure that, at least $n_j$ nats (the counterpart of bits
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 2. The Markov chain of all variables. $F$ is correlated with $U, S, X$ . $X'$ is only dependent on $X$ .
|
| 70 |
+
|
| 71 |
+
with Napierian base) information is preserved for $U_{j}$ in the transformed data $X^{\prime}$ , at most $m_{i}$ nats information is leaked for $S_{i}$ in $X^{\prime}$ , and the information preserved for $F$ in $X^{\prime}$ is maximized when the most informative $F$ is extracted from $X$ . For clarity, the Markov Chain of variables $U, S, F, X$ , and $X^{\prime}$ corresponding to our problem formulation is summarized in Figure 2.
|
| 72 |
+
|
| 73 |
+
# 3.1. Operational Bounds
|
| 74 |
+
|
| 75 |
+
In preparation for solving our optimization problem formulated in Equation 1, a thorough comprehension of its operational bounds is imperative. Specifically, we will elucidate formally that the parameters $m_{i}$ and $n_j$ must be chosen under certain constraints to ensure the solvability of Equation 1. Moreover, it will be established that the optimization objective $I(X'; F)$ has an upperbound which can not be exceeded.
|
| 76 |
+
|
| 77 |
+
Theorem 3.1. For the Markov Chain shown in Figure 2, there exists a solution to the optimization problem defined in Equation 1, only if for any pair of $(m_i, n_j)$ , $i \in 1 \dots M$ , $j \in 1 \dots N$ , it satisfies:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
n _ {j} \leq m _ {i} + I (X; U _ {j} | S _ {i}), \quad n _ {j} \leq I (X; U _ {j}) \text {a n d} m _ {i} \geq 0. \tag {2}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
Under the assumptions that $P(S_{i}|X)$ and $P(U_{j}|X)$ are degenerate distributions, Equation 2 can be simplified to
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
n _ {j} \leq m _ {i} + H \left(U _ {j} \mid S _ {i}\right), \quad n _ {j} \leq H \left(U _ {j}\right) \text {a n d} m _ {i} \geq 0. \tag {3}
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $H(\cdot)$ is Shannon entropy.
|
| 90 |
+
|
| 91 |
+
Besides, for any $m_i$ , $i \in 1 \ldots M$ , $I(X'; F)$ is upper bounded by
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
I \left(X ^ {\prime}; F\right) \leq H \left(X \mid S _ {i}\right) + m _ {i}. \tag {4}
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
Please refer to Appendix A.1 for the proof. It is important to note that the values in Equation 3, specifically $H(U_{j}|S_{i})$ and $H(U_{j})$ , are independent of our model's parameters and can be computed prior to training to assess solvability.
|
| 98 |
+
|
| 99 |
+
To understand the requirement of $n_j \leq m_i + H(U_j | S_i)$ in Equation 3 intuitively, consider a facial image dataset with two attributes "hair color" and "age". The high correlation between these attributes is evident, as older individuals are more likely to have white or gray hair. Should "age" be suppressed with a small $m_{\mathrm{age}}$ , the "hair color" information in the facial image must be correspondingly sacrificed to
|
| 100 |
+
|
| 101 |
+
prevent inadvertently disclosing "age" information. The extent of this sacrifice is intuitively determined by the certainty with which "age" predicts "hair color".
|
| 102 |
+
|
| 103 |
+
To intuitively understand Equation 4, revert to the example we discussed above. When suppressing "age", certain features that were in $X$ no longer reside in $X'$ , such as hair color and wrinkles, etc. This results in a necessary sacrifice of the information of $F$ contained in $X'$ . The extent of sacrifice is determined by the certainty with which "age" determines the image.
|
| 104 |
+
|
| 105 |
+
# 4. Data-driven Learnable Data Transformation Framework
|
| 106 |
+
|
| 107 |
+
Building upon our problem formulation, we design a learnable data-driven data transformation framework as an approximation to Equation 1, which we call Multi-attribute Selective Suppression (abbreviated as MaSS). Notably, we adopt neural networks as conditional probability approximators in our framework, and design our training objectives to be fully differentiable, allowing gradient descent based optimization. MaSS can be flexibly implemented with various neural network structures to adapt to different application requirements. The overarching architecture of MaSS is depicted in Figure 3. In the subsequent sections, we elaborate on the modules of MaSS in detail.
|
| 108 |
+
|
| 109 |
+
# 4.1. Data Transformation
|
| 110 |
+
|
| 111 |
+
The data transformation module takes in the original data $X$ and outputs the transformed data $X^{\prime}$ . In line with Bertran et al., we parameterize $P_{\theta}(X'|X)$ as a neural network $X^{\prime} = g_{\theta}(X,a)$ , wherein $a$ is a noise variable sampled from a multi-variate unit Gaussian distribution, serving as the source of randomness for $X^{\prime}$ .
|
| 112 |
+
|
| 113 |
+
# 4.2. Sensitive Attributes Suppression
|
| 114 |
+
|
| 115 |
+
Given the transformed data, we calculate a suppression loss $L_{S,i}$ for each of the sensitive attributes, which is differentiable and can be minimized to achieve the constraint $I(X'; S_i) \leq m_i$ mentioned in Equation 1. Next, we discuss in depth on the derivation of $L_{S,i}$ .
|
| 116 |
+
|
| 117 |
+
The direct computation of $I(X'; S_i)$ is infeasible because of the intractability of $P(S_i|X')$ . Consequently, we incorporate an adversarial neural network $P_{\phi_i}(S_i|X')$ as an estimation of $P(S_i|X')$ , where $\phi_i$ is trained with the cross-entropy loss used in traditional supervised learning method:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\begin{array}{l} L _ {C E} (S _ {i}) = \mathbb {E} _ {P (X) P _ {\vartheta} (X ^ {\prime} | X)} \left[ H \left(P (S _ {i} | X), P _ {\phi_ {i}} (S _ {i} | X ^ {\prime})\right) \right], \\ \phi_ {i} = \arg \min _ {\phi_ {i}} L _ {C E} (S _ {i}), \tag {5} \\ \end{array}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $H(\cdot ,\cdot)$ denotes cross-entropy and the expectation is
|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
Figure 3. The overall architecture of MaSS. The data transformation module converts the original data into a transformed version. Then the transformed data is sent to both the sensitive attributes suppression module and the annotated useful attributes preservation module, to calculate a relaxed suppression or preservation loss for each attribute respectively. Additionally, the original and transformed data are sent to the unannotated useful attributes preservation module to calculate a contrastive loss. Finally, these losses are aggregated to minimize $\theta$ and $\eta$ jointly. $\phi, \psi$ are optimized with traditional supervised learning.
|
| 127 |
+
|
| 128 |
+
estimated using mini-batch during training. Under the assumption that $S_{i}$ can be fully determined given $X$ , $P(S_{i}|X)$ effectively refers to the deterministic ground-truth label of each sample.
|
| 129 |
+
|
| 130 |
+
With the help of $\phi_{i}$ , the mutual information $I(X'; S_i)$ can be estimated as
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\begin{array}{l} I \left(X ^ {\prime}; S _ {i}\right) \approx \mathbb {E} _ {P (X) P _ {\theta} \left(X ^ {\prime} \mid X\right) P \left(S _ {i} \mid X\right)} \left[ \log \frac {P _ {\phi_ {i}} \left(S _ {i} \mid X ^ {\prime}\right)}{P \left(S _ {i}\right)} \right] \\ = H \left(S _ {i}\right) - L _ {C E} \left(S _ {i}\right), \tag {6} \\ \end{array}
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
where $H(S_{i})$ is a constant for each dataset and can be calculated before training. Consequently, we can also convert the constraint $I(X'; S_{i}) \leq m_{i}$ in Equation 1 to
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
H \left(S _ {i}\right) - m _ {i} \leq L _ {C E} \left(S _ {i}\right). \tag {7}
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
Following Bertran et al., we relax the Constraint 7 to a differentiable loss $L_{S,i}$ function eligible for gradient descent using the penalty method, which can be written as
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
d _ {S, i} = \min \left(L _ {C E} \left(S _ {i}\right) + m _ {i} - H \left(S _ {i}\right), 0\right), \tag {8}
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
$$
|
| 149 |
+
L _ {S, i} = d _ {S, i} ^ {2} + | d _ {S, i} |.
|
| 150 |
+
$$
|
| 151 |
+
|
| 152 |
+
# 4.3. Annotated Useful Attributes Preservation
|
| 153 |
+
|
| 154 |
+
The annotated useful attributes preservation module follows a symmetric design and derivation as the annotated sensitive attributes suppression module. Analogously, a differentiable preservation loss $L_{U,j}$ is calculated for each useful attribute to achieve the constraint $I(X'; U_j) \geq n_j$ in Equation 1. A collaborative neural network $P_{\psi_j}(U_j | X')$ is also introduced
|
| 155 |
+
|
| 156 |
+
to estimate $P(U_{j}|X^{\prime})$ , which is trained with cross-entropy loss:
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
L _ {C E} (U _ {j}) = \mathbb {E} _ {P (X) P _ {\theta} (X ^ {\prime} | X)} [ H (P (U _ {j} | X), P _ {\psi_ {j}} (U _ {j} | X ^ {\prime})) ],
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
\psi_ {j} = \arg \min _ {\psi_ {j}} L _ {C E} (U _ {j}), \tag {9}
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
Following the same derivation as Section 4.2, we can convert the constraint $I(X'; U_j) \geq n_j$ to
|
| 167 |
+
|
| 168 |
+
$$
|
| 169 |
+
H \left(U _ {j}\right) - n _ {j} \geq L _ {C E} \left(U _ {j}\right). \tag {10}
|
| 170 |
+
$$
|
| 171 |
+
|
| 172 |
+
which can also be relaxed into a differentiable loss $L_{U,j}$ using penalty method:
|
| 173 |
+
|
| 174 |
+
$$
|
| 175 |
+
d _ {U, j} = \max \left(L _ {C E} (U _ {j}) + n _ {j} - H (U _ {j}), 0\right) \tag {11}
|
| 176 |
+
$$
|
| 177 |
+
|
| 178 |
+
$$
|
| 179 |
+
L _ {U, j} = d _ {U, j} ^ {2} + | d _ {U, j} |.
|
| 180 |
+
$$
|
| 181 |
+
|
| 182 |
+
In order to accelerate the training process, we further propose to pre-train an attribute inference network on original data $X$ for each $S_{i}, U_{i}$ , denoted as $\phi_{i,0}$ and $\psi_{j,0}$ respectively, using the cross-entropy loss. And then we initialize the transformed data attribute inference models $\phi_{i}$ and $\psi_{j}$ with $\phi_{i,0}$ and $\psi_{j,0}$ respectively, so that they can converge faster during training.
|
| 183 |
+
|
| 184 |
+
Note that, different from our method, previous studies such as Bertran et al. propose to freeze the useful attribute inference model $\psi_{j}$ during training after it is initialized with $\psi_{j,0}$ . However, we abandoned this strategy, because a frozen useful attribute inference model will introduce a noticeable error in estimating $I(X'; U_j)$ . Specifically, the estimation error will be $KL(P(U_j | X') || P_{\psi_{j,0}}(U_j | X'))$ , where
|
| 185 |
+
|
| 186 |
+
$P_{\psi_{j,0}}(U_j|X')$ denotes $P(U_j|X')$ estimated with the frozen useful attribute inference network $\psi_{j,0}$ , $KL(\cdot|\cdot)$ is Kullback-Leibler divergence. This error can be large and even unbounded because $\psi_{j,0}$ is trained to approximate $P(U_j|X)$ rather than $P(U_j|X')$ . Please refer to Appendix A.2 for proof and analysis.
|
| 187 |
+
|
| 188 |
+
# 4.4. Unannotated Useful Attributes Preservation
|
| 189 |
+
|
| 190 |
+
The unannotated useful attributes preservation module aims at calculating and maximizing a differentiable loss approximating the negative $I(X'; F)$ , without any assumption on the distribution family of $F$ and $X'$ . Consequently, we can not approximate $I(X'; F)$ using the aforementioned method in Section 4.2 because it requires the assumption that $P(F|X')$ follows a finite categorical distribution.
|
| 191 |
+
|
| 192 |
+
Moreover, approximating $I(X'; F)$ using $\ell_2$ reconstruction loss $\| X' - F \|_2$ (or $\| X' - X \|_2$ ), as did in Huang et al. (2018), Malekzadeh et al. (2019), Edwards & Storkey (2016) and Madras et al. (2018) is also infeasible since it also requires the assumptions that $P(F|X')$ (or $P(X|X')$ ) follows a fully factorized Gaussian distribution where each element of $F$ (or $X$ ) is only dependent on the corresponding element of $X'$ at the same position. In addition, we will also show empirically in Section 5.1 that $\ell_2$ reconstruction loss hinders the overall performance seriously due to its unrealistic assumptions.
|
| 193 |
+
|
| 194 |
+
In order to approximate $I(X'; F)$ without assumption on the distribution family of $X'$ or $F$ , we choose the InfoNCE loss $L_{F}$ (Oord et al., 2018) as the approximation of the shifted negative $I(X'; F)$ . InfoNCE is known as an effective approximation method for mutual information, regardless of the distribution family of the random variables, and is stable in mini-batch based training. We also tried other mutual information estimator, e.g., MINE (Belghazi et al., 2018), and empirically compared them in Section 5.1.
|
| 195 |
+
|
| 196 |
+
To calculate $L_{F}$ , we first sample one anchor $f$ , one positive sample $x_{p}^{\prime}$ , and $K$ negative samples $x_{n}^{\prime(K)}$ given a specific realization of $X$ , from the conditional distribution $P_{\eta}(F|X)$ , $P_{\theta}(X'|X)$ and the marginal distribution $P_{\theta}(X')$ respectively. Then we take expectation over $X$ and all possible sampling of $f, x_{p}^{\prime}, x_{n}^{\prime(K)}$ to calculate $L_{F}$ as
|
| 197 |
+
|
| 198 |
+
$$
|
| 199 |
+
L _ {F} = \mathbb {E} \left[ \log \frac {\mathcal {F} \left(f , x _ {p} ^ {\prime}\right)}{\mathcal {F} \left(f , x _ {p} ^ {\prime}\right) + \sum_ {x _ {n} ^ {\prime} \in x _ {n} ^ {\prime (K)}} \mathcal {F} \left(f , x _ {n} ^ {\prime}\right)} \right], \tag {12}
|
| 200 |
+
$$
|
| 201 |
+
|
| 202 |
+
where $\mathcal{F}$ is a score function defined in the same way as SimCLR (Chen et al., 2020), which can be written as
|
| 203 |
+
|
| 204 |
+
$$
|
| 205 |
+
\mathcal {F} \left(f, x ^ {\prime}\right) = e ^ {\cos \left(f, h \left(x ^ {\prime}\right)\right) / \tau}, \tag {13}
|
| 206 |
+
$$
|
| 207 |
+
|
| 208 |
+
where $\tau$ is the temperature hyper-parameter. $h(x^{\prime})$ is a feature extractor trained jointly with data transformation
|
| 209 |
+
|
| 210 |
+
module, $\theta$ . Note that unlike SimCLR, our loss do not sample negative samples from $P(F)$ . As proved in Oord et al. (2018), we can approximate $I(X'; F)$ as
|
| 211 |
+
|
| 212 |
+
$$
|
| 213 |
+
I \left(X ^ {\prime}; F\right) \approx - L _ {F} + \log (K + 1). \tag {14}
|
| 214 |
+
$$
|
| 215 |
+
|
| 216 |
+
In order to further encourage the transformed data $X^{\prime}$ to remain in the original sample space of $X$ , we propose to use a single neural network $\eta$ to parameterize both $h_{\eta}(x^{\prime})$ and $P_{\eta}(F|X)$ . This symmetric design can also reduce the number of parameters and hence stabilize the training. Importantly, an alternative interpretation of this design is to apply the InfoNCE loss on $X$ and $X^{\prime}$ to estimate and maximize $I(X^{\prime},X)$ .
|
| 217 |
+
|
| 218 |
+
Aligned with pretraining the attribute inference networks, our unannotated useful attributes extractor $\eta$ is also initialized with $\eta_0$ pretrained using InfoNCE loss on the original dataset $X$ . In the pretraining stage we use one sample in the mini-batch as both the anchor and the positive sample and use the other samples in the mini-batch as negative samples.
|
| 219 |
+
|
| 220 |
+
Analogous to $L_{F}$ , which is anchored in $F$ space, we can define another InfoNCE loss $L_{F}^{\prime}$ anchored in the $X^{\prime}$ space and use both losses for training. A more detailed elaboration on the calculation and the advantage of InfoNCE loss is presented in Appendix C.1.
|
| 221 |
+
|
| 222 |
+
# 4.5. Module Aggregation
|
| 223 |
+
|
| 224 |
+
Aggregating the losses calculated from all modules above, we convert our original constrained optimization problem defined in Equation 1 into the following differentiable optimization problem:
|
| 225 |
+
|
| 226 |
+
$$
|
| 227 |
+
\min _ {\theta , \eta} L _ {\text {t o t a l}} = \frac {L _ {F} + L _ {F} ^ {\prime}}{2} + \lambda \left(\sum_ {i} L _ {S, i} + \sum_ {j} L _ {U, j}\right) \tag {15}
|
| 228 |
+
$$
|
| 229 |
+
|
| 230 |
+
where $\lambda$ is a hyper parameter controlling the degree of relaxation. Equation 15 effectively recovers the constrained optimization problem defined in Equation 1 when $\lambda \to \infty$ ,
|
| 231 |
+
|
| 232 |
+
# 5. Evaluation
|
| 233 |
+
|
| 234 |
+
In this section, we present our experimental evaluation of MaSS against several baselines methods using multiple datasets of varying modalities.
|
| 235 |
+
|
| 236 |
+
# 5.1. Experimental Setup
|
| 237 |
+
|
| 238 |
+
Datasets. The evaluation of MaSS is exhaustively conducted on three multi-attribute benchmark datasets of different modalities, namely the AudioMNIST (Becker et al., 2018) dataset for recorded human voices, the Motion Sense (Malekzadeh et al., 2019) dataset for human activity sensor signals, and the Adience (Eidinger et al., 2014)
|
| 239 |
+
|
| 240 |
+
dataset for facial images. We use the raw data points for training on Motion Sense and Adience, whereas we convert the raw data points to feature embeddings for AudioMNIST using state-of-the-art feature extractor HuBERT-B (Hsu et al., 2021b) for training efficiency.
|
| 241 |
+
|
| 242 |
+
Baselines. We compare our method with 5 baselines, namely ALR (Bertran et al., 2019), GAP (Huang et al., 2018), MSDA (Malekzadeh et al., 2019), BDQ (Kumawat & Nagahara, 2022), and PPDAR (Wu et al., 2020). All 6 methods rely on adversarial training a sensitive attribute inference model. However, ALR, BDQ, and PPDAR do not consider the preservation of unannotated useful attributes, whereas GAP and MSDA do, using a $\ell_2$ heuristic loss. Notwithstanding, GAP does not consider the preservation of annotated useful attribute.
|
| 243 |
+
|
| 244 |
+
Evaluation Metrics. This paper is focused on suppressing sensitive attributes while preserving useful attributes, rather than generating high quality synthetic data. Therefore, we adopt classification accuracy for each attribute on evaluation set as our metric to measure the effectiveness of the suppression or preservation. Specifically, for sensitive attributes, we report the classification accuracy of the adversarially trained classifier $\phi_{i}$ . For useful attributes, to ensure a fair comparison with baselines, we report the classification accuracy of a classifier tuned on the transformed data $X^{\prime}$ and its attributes $U_{j}$ . The performance is considered better when the sensitive attributes' accuracies are lower and the useful attributes' accuracies are higher.
|
| 245 |
+
|
| 246 |
+
Furthermore, since the datasets we use are unbalanced, we adopt the classification accuracy of the majority classifier as a lower reference value, which can also be interpreted as the accuracy of guessing the attribute without accessing $X'$ (Asoodeh et al., 2018; Liao et al., 2019). On the other hand, we also adopt the accuracy of the $\phi_{i,0}$ and $\psi_{j,0}$ on original data $X$ in the evaluation set as a upper reference value of classification accuracy, which reflects the classification accuracy when no attributes are suppressed.
|
| 247 |
+
|
| 248 |
+
Based on the lower and upper reference values of classification accuracy, we introduce a noval normalized metric for our task, namely Normalized Accuracy Gain (NAG), which is defined as $\mathrm{NAG} = \max \left(0,\frac{\mathrm{Acc} - \mathrm{Acc}_{\mathrm{guessing}}}{\mathrm{Acc}_{\mathrm{no\_suppression}} - \mathrm{Acc}_{\mathrm{guessing}}}\right)$ where Acc denotes classification accuracy. NAG is inherently non-negative, with $\mathrm{NAG} = 0$ suggesting that Acc $\leq$ Acc guessing. We consider all Acc $\leq$ Acc guessing as equally effective, which indicates that this attribute is completely suppressed from $X^{\prime}$ . NAG can be seen as a more informative indicator of how the classification accuracy of each attribute is increased or decreased. Therefore, we only report NAG throughout the main paper for clarity, while the corresponding results and reference values measured in classification accuracy are also shown in Appendix E.
|
| 249 |
+
|
| 250 |
+
Table 2. Comparison of the NAG between MaSS, ablations and baselines on Motion Sense. We suppress gender, ID, while preserve activity as if unannotated useful attribute.
|
| 251 |
+
|
| 252 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Normalized Accuracy Gain</td></tr><tr><td>gender (↓)</td><td>ID (↓)</td><td>activity (↑)</td></tr><tr><td>ALR</td><td>0.0828</td><td>0.0432</td><td>0.7704</td></tr><tr><td>GAP</td><td>0.0053</td><td>0.0314</td><td>0.8379</td></tr><tr><td>MSDA</td><td>0.0063</td><td>0.0708</td><td>0.8418</td></tr><tr><td>BDQ</td><td>0.1178</td><td>0.0613</td><td>0.7426</td></tr><tr><td>PPDAR</td><td>0.0000</td><td>0.0000</td><td>0.6912</td></tr><tr><td>MaSS-NF</td><td>0.0000</td><td>0.0000</td><td>0.7275</td></tr><tr><td>MaSS-ℓ2</td><td>0.0085</td><td>0.0260</td><td>0.8156</td></tr><tr><td>MaSS-MINE</td><td>0.3294</td><td>0.1271</td><td>0.6847</td></tr><tr><td>MaSS</td><td>0.0000</td><td>0.0026</td><td>0.8977</td></tr></table>
|
| 253 |
+
|
| 254 |
+
In order to evaluate the performance of MaSS on preserving unannotated useful attributes, we conceal the labels (annotations) of certain annotated attributes during training and only use these labels for evaluation.
|
| 255 |
+
|
| 256 |
+
Hyperparameters. Throughout our experiments, $\lambda$ is simply set to 1. When an attribute is suppressed we simply set its mutual information constraint $m$ as 0. Unless otherwise noted, we set the $n$ of all preserved annotated attributes as the maximal value permitted by Equation 3.
|
| 257 |
+
|
| 258 |
+
Additional detailed descriptions of the datasets, model structures, and optimization process are elaborated in Appendix D. Next we present and discuss our experimental results.
|
| 259 |
+
|
| 260 |
+
# 5.2. Evaluation on Human Activity Sensor Signals
|
| 261 |
+
|
| 262 |
+
We first experiment on the human activity sensor signal dataset, Motion Sense. Initial experiment focuses on suppressing gender and ID attributes, while concealing the labels of the activity attribute, treating activity as an unannotated attribute for preservation. This setup mirrors scenarios aspiring to eliminate sensitive identity-related information from a dataset lacking explicit annotation on non-sensitive attributes. Apart from the 5 baselines described above, we also compare MaSS with 3 ablations to examine the unannotated useful attributes preservation module of MaSS: 1) removing the InfoNCE loss (denoted as MaSS-NF); 2) replacing InfoNCE loss to $\ell_2$ reconstruction loss (denoted as MaSS- $\ell_2$ ); and 3) replacing InfoNCE loss to a negative mutual information estimated using MINE (Belghazi et al., 2018) (denoted as MaSS-MINE). Results as shown in Table 2 demonstrate that MaSS attains the highest NAG on the activity attribute compared with all baselines and ablations. Additionally, in comparison to GAP, MSDA and MaSS- $\ell_2$ , our method showcases a higher NAG on activity and a reduced NAG on both suppressed attributes. We be
|
| 263 |
+
|
| 264 |
+
Table 3. Comparison of the NAG between MaSS, ablations and baselines on AudioMNIST. We suppress gender, accent, age, ID, while preserve digit as if an unannotated attribute.
|
| 265 |
+
|
| 266 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Normalized Accuracy Gain</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↓)</td><td>digit (↑)</td></tr><tr><td>ALR</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0004</td><td>0.1036</td></tr><tr><td>GAP</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0281</td><td>0.9485</td></tr><tr><td>MSDA</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0074</td><td>0.9451</td></tr><tr><td>BDQ</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0112</td><td>0.5565</td></tr><tr><td>PPDAR</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0016</td><td>0.2839</td></tr><tr><td>MaSS-NF</td><td>0.0000</td><td>0.0001</td><td>0.0000</td><td>0.0000</td><td>0.1846</td></tr><tr><td>MaSS-ℓ2</td><td>0.0008</td><td>0.0001</td><td>0.0020</td><td>0.0306</td><td>0.9517</td></tr><tr><td>MaSS-MINE</td><td>0.0076</td><td>0.0000</td><td>0.0112</td><td>0.0434</td><td>0.5031</td></tr><tr><td>MaSS</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0029</td><td>0.9675</td></tr></table>
|
| 267 |
+
|
| 268 |
+
lieve it is because the unrealistic assumptions made by $\ell_{2}$ reconstruction loss overly restrict the flexibility of the data transformation. Moreover, MaSS outperforms MaSS-MINE in all attributes, which can be partly attributed to the instability of MINE mutual information estimator in the training process of our task. These results underscore MaSS's proficiency in maintaining a superior balance between preserving meaningful features and suppressing sensitive attributes.
|
| 269 |
+
|
| 270 |
+
We further experiment with suppressing gender, while preserving ID as annotated, and preserving activity as unannotated. Please refer to Appendix E.1 for results and corresponding analysis.
|
| 271 |
+
|
| 272 |
+
# 5.3. Evaluation on Voice Audio Dataset
|
| 273 |
+
|
| 274 |
+
Next, the application of MaSS is extended to the AudioM-NIST dataset. The initial experiment involves the suppression of gender, accent, age, and ID attributes while treating digit as an unannotated attribute for preservation. Results of this experiment are shown in Table 3. We can observe that MaSS achieves the highest NAG on digit compared with all baselines and ablations, as well as a lower or equal NAG on suppressed attributes compared with GAP, MSDA and MaSS- $\ell_{2}$ , further substantiating the limitation of the $\ell_{2}$ heuristic reconstruction loss and the effectiveness of MaSS.
|
| 275 |
+
|
| 276 |
+
In the subsequent experiment, we aim to suppress gender, accent, and age, while preserve digit as annotated and ID as unannotated. This scenario emulates conditions wherein the dataset encompasses both sensitive and useful annotated attributes, alongside with to-be-preserved unannotated attributes. It is observable from the results shown in Table 4 that MaSS secures the highest NAG on ID, along with a NAG on digit that is comparably high to other methods. Notably, although MSDA's NAG on ID is close to MaSS, it adversely bears higher NAG across all suppressed attributes.
|
| 277 |
+
|
| 278 |
+
Table 4. Comparison of the NAG between MaSS and baselines on AudioMNIST. We suppress gender, accent, age, while preserve digit as annotated useful attribute, and preserve ID as if an unannotated attribute.
|
| 279 |
+
|
| 280 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Normalized Accuracy Gain</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↑)</td><td>digit (↑)</td></tr><tr><td>ALR</td><td>0.0000</td><td>0.0000</td><td>0.0056</td><td>0.7032</td><td>0.9994</td></tr><tr><td>GAP</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.7036</td><td>0.9579</td></tr><tr><td>MSDA</td><td>0.0015</td><td>0.0013</td><td>0.0323</td><td>0.8428</td><td>0.9981</td></tr><tr><td>BDQ</td><td>0.0000</td><td>0.0007</td><td>0.0013</td><td>0.4038</td><td>0.9980</td></tr><tr><td>PPDAR</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.7027</td><td>0.9983</td></tr><tr><td>MaSS</td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.8514</td><td>0.9983</td></tr></table>
|
| 281 |
+
|
| 282 |
+
Table 5. Comparison of the NAG for different configurations of MaSS on AudioMNIST. $\checkmark$ denotes that this attribute is suppressed, while all other attributes are preserved as annotated useful attributes.
|
| 283 |
+
|
| 284 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">MaSS Suppressed Attributes</td><td colspan="5">Normalized Accuracy Gain</td></tr><tr><td>gender</td><td>accent</td><td>age</td><td>ID</td><td>digit</td><td>gender</td><td>accent</td><td>age</td><td>ID</td><td>digit</td></tr><tr><td rowspan="4">MaSS</td><td>✓</td><td></td><td></td><td></td><td></td><td>0.0000</td><td>0.9342</td><td>0.9574</td><td>0.9632</td><td>0.9972</td></tr><tr><td>✓</td><td>✓</td><td></td><td></td><td></td><td>0.0000</td><td>0.0000</td><td>0.9199</td><td>0.9372</td><td>0.9987</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td></td><td></td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.8680</td><td>0.9964</td></tr><tr><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td><td>0.0000</td><td>0.0000</td><td>0.0000</td><td>0.0017</td><td>0.9953</td></tr></table>
|
| 285 |
+
|
| 286 |
+
We next conduct an ablation experiment of different configurations of suppressed and preserved attributes using MaSS on AudioMNIST. The configurations and their corresponding results are shown in Table 5. We can see that MaSS consistently achieves $\mathrm{NAG} = 0$ for most of the suppressed attributes, alongside with high NAG for preserved attributes.
|
| 287 |
+
|
| 288 |
+
We also conducted ablation experiments of varying mutual information constraints $m$ and $n$ , as well as an experiment comparing our method and SPAct (Dave et al., 2022). The results and analyses can be found in Appendix E.2.
|
| 289 |
+
|
| 290 |
+
# 5.4. Evaluation on Facial Images
|
| 291 |
+
|
| 292 |
+
Finally, we apply MaSS to Adience, suppressing gender while treating age and activity as unannotated attributes that should be preserved. The results shown in Table 6 reveal that, among all methods with $\mathrm{NAG} = 0$ for gender, MaSS accomplishes the highest NAG for the preserved attributes.
|
| 293 |
+
|
| 294 |
+
Additionally, we also empirically show that the transformed facial images can be accurately exploited by off-the-shelf pre-trained landmark detection model PIPNet (Jin et al., 2021). The NME (Normalized Mean Error) (Jin et al., 2021) of PIPNet between transformed Adience and original Adience is $3.30\%$ , in comparison with the $3.94\%$ NME of PIPNet between original WLFW dataset (Wu et al., 2018) and ground truth label. The comparable performance showed that transformed Adience dataset can be accurately exploited by pre-trained PIPNet.
|
| 295 |
+
|
| 296 |
+
Table 6. Comparison of the NAG between MaSS and baselines on Adience. We suppress gender, while preserve age, ID as if unannotated useful attributes.
|
| 297 |
+
|
| 298 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Normalized Accuracy Gain</td></tr><tr><td>gender (↓)</td><td>age (↑)</td><td>ID (↑)</td></tr><tr><td>ALR</td><td>0.0128</td><td>0.0023</td><td>0.0128</td></tr><tr><td>GAP</td><td>0.0000</td><td>0.4907</td><td>0.5616</td></tr><tr><td>MSDA</td><td>0.3114</td><td>0.7928</td><td>0.8461</td></tr><tr><td>BDQ</td><td>0.0026</td><td>0.0000</td><td>0.0075</td></tr><tr><td>PPDAR</td><td>0.0000</td><td>0.0000</td><td>0.0000</td></tr><tr><td>MaSS</td><td>0.0000</td><td>0.7418</td><td>0.7662</td></tr></table>
|
| 299 |
+
|
| 300 |
+
Visualized transformed images, together with additional results on suppressing age, and an ablation study on retraining the sensitive attribute inference model are shown in Appendix E.3.
|
| 301 |
+
|
| 302 |
+
Apart from the above mentioned 3 datasets, we additionally experiment MaSS on a tabular dataset (Marketing Campaign, 2023). The experimental setup, results and analysis are shown in Appendix E.4, which similarly validate the generalizability and effectiveness of MaSS.
|
| 303 |
+
|
| 304 |
+
# 6. Conclusion
|
| 305 |
+
|
| 306 |
+
In this paper, we present MaSS, a generalizable and highly configurable data-driven learnable data transformation framework that is capable of suppressing sensitive/private information from data while preserving its utility. Compared to existing privacy protection techniques that have similar objectives, MaSS is superior by satisfying all 5 desired properties of SUIFT. We thoroughly evaluated MaSS on three datasets of different modalities, namely voice recordings, human activity motion sensor signals, and facial images, and obtained promising results that demonstrate MaSS' practical effectiveness under various tasks and configurations.
|
| 307 |
+
|
| 308 |
+
# Impact Statement
|
| 309 |
+
|
| 310 |
+
We believe that there is no ethical concern or negative societal consequence related to this work. Our work benefits the protection of people's privacy in that it is proposed to suppress sensitive attributes in the datasets while preserving their potential utility for downstream tasks.
|
| 311 |
+
|
| 312 |
+
# Disclaimer
|
| 313 |
+
|
| 314 |
+
This paper was prepared for informational purposes by the Global Technology Applied Research center of JPMorgan Chase & Co. This paper is not a product of the Research Department of JPMorgan Chase & Co. or its affiliates.
|
| 315 |
+
|
| 316 |
+
Neither JPMorgan Chase & Co. nor any of its affiliates makes any explicit or implied representation or warranty and none of them accept any liability in connection with this paper, including, without limitation, with respect to the completeness, accuracy, or reliability of the information contained herein and the potential legal, compliance, tax, or accounting effects thereof. This document is not intended as investment research or investment advice, or as a recommendation, offer, or solicitation for the purchase or sale of any security, financial instrument, financial product or service, or to be used in any way for evaluating the merits of participating in any transaction.
|
| 317 |
+
|
| 318 |
+
# References
|
| 319 |
+
|
| 320 |
+
Abadi, M., Chu, A., Goodfellow, I., McMahan, H. B., Mironov, I., Talwar, K., and Zhang, L. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security, pp. 308-318, 2016.
|
| 321 |
+
Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J. L., et al. A public domain dataset for human activity recognition using smartphones. In European Symposium on Artificial Neural Networks, Computational Intelligence And Machine Learning, volume 3, pp. 3, 2013.
|
| 322 |
+
Asoodeh, S., Diaz, M., Alajaji, F., and Linder, T. Estimation efficiency under privacy constraints. IEEE Transactions on Information Theory, 65(3):1512-1534, 2018.
|
| 323 |
+
Becker, S., Ackermann, M., Lapuschkin, S., Müller, K.-R., and Samek, W. Interpreting and explaining deep neural networks for classification of audio signals. arXiv preprint arXiv:1807.03418, 2018.
|
| 324 |
+
Belghazi, M. I., Baratin, A., Rajeshwar, S., Ozair, S., Bengio, Y., Courville, A., and Hjelm, D. Mutual information neural estimation. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 531-540, 10-15 Jul 2018.
|
| 325 |
+
Bertran, M., Martinez, N., Papadaki, A., Qiu, Q., Rodrigues, M., Reeves, G., and Sapiro, G. Adversarily learned representations for information obfuscation and inference. In International Conference on Machine Learning, pp. 614-623. PMLR, 2019.
|
| 326 |
+
CCPA. https://oag.ca.gov/privacy/ccpa. Accessed: 2023-09-27.
|
| 327 |
+
Chen, T., Kornblith, S., Norouzi, M., and Hinton, G. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pp. 1597-1607. PMLR, 2020.
|
| 328 |
+
|
| 329 |
+
Common crawl. Common crawl - open repository of web crawl data. https://commoncrawl.org/, 2023.
|
| 330 |
+
Dave, I. R., Chen, C., and Shah, M. Spact: Self-supervised privacy preservation for action recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20164-20173, 2022.
|
| 331 |
+
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248-255. IEEE, 2009.
|
| 332 |
+
Dwork, C., McSherry, F., Nissim, K., and Smith, A. Calibrating noise to sensitivity in private data analysis. In Theory of Cryptography Conference, pp. 265-284. Springer, 2006.
|
| 333 |
+
Dwork, C., Roth, A., et al. The algorithmic foundations of differential privacy. Foundations and Trends® in Theoretical Computer Science, 9(3-4):211-407, 2014.
|
| 334 |
+
Edwards, H. and Storkey, A. Censoring representations with an adversary. In International Conference on Learning Representations, 2016.
|
| 335 |
+
Eidinger, E., Enbar, R., and Hassner, T. Age and gender estimation of unfiltered faces. IEEE Transactions on information forensics and security, 9(12):2170-2179, 2014.
|
| 336 |
+
GDPR. https://gdpr-info.eu/. Accessed: 2023-09-27.
|
| 337 |
+
Hsu, H., Asoodeh, S., and Calmon, F. Obfuscation via information density estimation. In International Conference on Artificial Intelligence and Statistics, pp. 906-917. PMLR, 2020.
|
| 338 |
+
Hsu, H., Martinez, N., Bertran, M., Sapiro, G., and Calmon, F. P. A survey on statistical, information, and estimation-theoretic views on privacy. IEEE BITS the Information Theory Magazine, 1(1):45-56, 2021a.
|
| 339 |
+
Hsu, W.-N., Bolte, B., Tsai, Y.-H. H., Lakhotia, K., Salakhutdinov, R., and Mohamed, A. Hubert: Self-supervised speech representation learning by masked prediction of hidden units. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29:3451-3460, 2021b.
|
| 340 |
+
Huang, C., Kairouz, P., Chen, X., Sankar, L., and Rajagopal, R. Generative adversarial privacy. arXiv preprint arXiv:1807.05306, 2018.
|
| 341 |
+
Hukkelas, H., Mester, R., and Lindseth, F. Deepprivacy: A generative adversarial network for face anonymization. In International symposium on visual computing, pp. 565-578. Springer, 2019.
|
| 342 |
+
|
| 343 |
+
Jin, H., Liao, S., and Shao, L. Pixel-in-pixel net: Towards efficient facial landmark detection in the wild. International Journal of Computer Vision, 129:3174-3194, 2021.
|
| 344 |
+
Kumawat, S. and Nagahara, H. Privacy-preserving action recognition via motion difference quantization. In European Conference on Computer Vision, pp. 518-534. Springer, 2022.
|
| 345 |
+
Liao, J., Kosut, O., Sankar, L., and du Pin Calmon, F. Tunable measures for information leakage and applications to privacy-utility tradeoffs. IEEE Transactions on Information Theory, 65(12):8043-8066, 2019.
|
| 346 |
+
Loshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.
|
| 347 |
+
Madras, D., Creager, E., Pitassi, T., and Zemel, R. Learning adversarially fair and transferable representations. In International Conference on Machine Learning, pp. 3384-3393. PMLR, 2018.
|
| 348 |
+
Malekzadeh, M., Clegg, R. G., Cavallaro, A., and Haddadi, H. Mobile sensor data anonymization. In Proceedings of the international conference on internet of things design and implementation, pp. 49-58, 2019.
|
| 349 |
+
Marketing Campaign. https://www.kaggle.com/datasets/imakash3011/customer-personality-analysis, 2023. Accessed: 2023-12-20.
|
| 350 |
+
Maximov, M., Elezi, I., and Leal-Taixe, L. Ciagan: Conditional identity anonymization generative adversarial networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 5447-5456, 2020.
|
| 351 |
+
Mironov, I. Rényi differential privacy. In 2017 IEEE 30th computer security foundations symposium (CSF), pp. 263-275. IEEE, 2017.
|
| 352 |
+
Oord, A. v. d., Li, Y., and Vinyals, O. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
|
| 353 |
+
Ronneberger, O., Fischer, P., and Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention-MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, pp. 234-241. Springer, 2015.
|
| 354 |
+
Schroff, F., Kalenichenko, D., and Philbin, J. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 815-823, 2015.
|
| 355 |
+
|
| 356 |
+
Sun, M., Wang, Q., and Liu, Z. Human action image generation with differential privacy. In 2020 IEEE International Conference on Multimedia and Expo (ICME). IEEE, 2020.
|
| 357 |
+
Wu, W., Qian, C., Yang, S., Wang, Q., Cai, Y., and Zhou, Q. Look at boundary: A boundary-aware face alignment algorithm. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2129-2138, 2018.
|
| 358 |
+
Wu, Z., Wang, H., Wang, Z., Jin, H., and Wang, Z. Privacy-preserving deep action recognition: An adversarial learning framework and a new dataset. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(4):2126-2139, 2020.
|
| 359 |
+
Zhang, X., Ji, S., and Wang, T. Differentially private releasing via deep generative model (technical report). arXiv preprint arXiv:1801.01594, 2018.
|
| 360 |
+
|
| 361 |
+
# Appendix
|
| 362 |
+
|
| 363 |
+
# A. Proofs
|
| 364 |
+
|
| 365 |
+
# A.1. Proof of Theorem 3.1
|
| 366 |
+
|
| 367 |
+
Proof. Proof for Equation 2. For the Markov Chain shown in Figure 2, for any $i \in 1 \dots M$ , and $j \in 1 \dots N$ , if both $I(X'; S_i) \leq m_i$ and $I(X'; U_j) \geq n_j$ hold, then we have
|
| 368 |
+
|
| 369 |
+
$$
|
| 370 |
+
\begin{array}{l} m _ {i} + I (X; U _ {j} | S _ {i}) \geq I \left(X ^ {\prime}; S _ {i}\right) + I (X; U _ {j} | S _ {i}) \\ = I \left(X ^ {\prime}; S _ {i}\right) + I \left(X ^ {\prime}, X; U _ {j} \mid S _ {i}\right) \\ = I \left(X ^ {\prime}; U _ {j}, S _ {i}\right) - I \left(X ^ {\prime}; U _ {j} \mid S _ {i}\right) + I \left(X ^ {\prime}, X; U _ {j} \mid S _ {i}\right) \\ = I \left(X ^ {\prime}; U _ {j}, S _ {i}\right) + I \left(X; U _ {j} \mid X ^ {\prime}, S _ {i}\right) \tag {16} \\ = I \left(X ^ {\prime}; U _ {j}\right) + I \left(X ^ {\prime}; S _ {i} \mid U _ {j}\right) + I \left(X; U _ {j} \mid X ^ {\prime}, S _ {i}\right) \\ \geq I (X ^ {\prime}; U _ {j}) \\ \geq n _ {j} \\ \end{array}
|
| 371 |
+
$$
|
| 372 |
+
|
| 373 |
+
which proves the first inequality. Following Data Processing Inequality, we can also have
|
| 374 |
+
|
| 375 |
+
$$
|
| 376 |
+
n _ {j} \leq I \left(X ^ {\prime}; U _ {j}\right) \leq I (X; U _ {j}) \tag {17}
|
| 377 |
+
$$
|
| 378 |
+
|
| 379 |
+
which proves the second inequality. Finally, we also have
|
| 380 |
+
|
| 381 |
+
$$
|
| 382 |
+
m _ {i} \geq I \left(X ^ {\prime}; S _ {i}\right) \geq 0 \tag {18}
|
| 383 |
+
$$
|
| 384 |
+
|
| 385 |
+
which proves the third inequation.
|
| 386 |
+
|
| 387 |
+
Proof for Equation 3. Under the assumption that $U, S$ are fully determined given $X$ ( $P(S_i|X), P(U_j|X)$ are degenerate distributions), we can have
|
| 388 |
+
|
| 389 |
+
$$
|
| 390 |
+
H \left(S _ {i} | X\right) = 0, \quad H \left(U _ {j} | X\right) = 0 \tag {19}
|
| 391 |
+
$$
|
| 392 |
+
|
| 393 |
+
for any $i \in 1 \ldots M$ , and $j \in 1 \ldots N$ . Since adding a condition can not increase the entropy, we can also have
|
| 394 |
+
|
| 395 |
+
$$
|
| 396 |
+
0 \leq H \left(U _ {j} \mid X, S _ {i}\right) \leq H \left(U _ {j} \mid X\right) = 0 \tag {20}
|
| 397 |
+
$$
|
| 398 |
+
|
| 399 |
+
Therefore we have
|
| 400 |
+
|
| 401 |
+
$$
|
| 402 |
+
H \left(U _ {j} \mid X, S _ {i}\right) = 0 \tag {21}
|
| 403 |
+
$$
|
| 404 |
+
|
| 405 |
+
Inserting $H(U_{j}|X, S_{i}) = 0$ and $H(U_{j}|X) = 0$ into the inequations 2, we can further convert them to the inequations 3 as
|
| 406 |
+
|
| 407 |
+
$$
|
| 408 |
+
\begin{array}{l} n _ {j} \leq m _ {i} + I (X; U _ {j} | S _ {i}) \\ = m _ {i} + H \left(U _ {j} \mid S _ {i}\right) - H \left(U _ {j} \mid X, S _ {i}\right) \tag {22} \\ = m _ {i} + H \left(U _ {j} \mid S _ {i}\right), \\ \end{array}
|
| 409 |
+
$$
|
| 410 |
+
|
| 411 |
+
and
|
| 412 |
+
|
| 413 |
+
$$
|
| 414 |
+
\begin{array}{l} n _ {j} \leq I (X; U _ {j}) \\ = H \left(U _ {j}\right) - H \left(U _ {j} \mid X\right) \tag {23} \\ = H (U _ {j}). \\ \end{array}
|
| 415 |
+
$$
|
| 416 |
+
|
| 417 |
+
Proof for Equation 4. For the Markov Chain shown in Figure 2, according to Data Processing Inequality, we have
|
| 418 |
+
|
| 419 |
+
$$
|
| 420 |
+
I \left(X ^ {\prime}; X\right) - I \left(X ^ {\prime}; F\right) = I \left(X ^ {\prime}; X \mid F\right) \geq 0 \tag {24}
|
| 421 |
+
$$
|
| 422 |
+
|
| 423 |
+
Therefore, we have
|
| 424 |
+
|
| 425 |
+
$$
|
| 426 |
+
I \left(X ^ {\prime}; F\right) \leq I \left(X ^ {\prime}; X\right) \tag {25}
|
| 427 |
+
$$
|
| 428 |
+
|
| 429 |
+
We can also have
|
| 430 |
+
|
| 431 |
+
$$
|
| 432 |
+
\begin{array}{l} I \left(X ^ {\prime}; X\right) = H \left(X ^ {\prime}\right) - H \left(X ^ {\prime} \mid X\right) \\ = H \left(X ^ {\prime}\right) - H \left(X ^ {\prime} \mid X, S _ {i}\right) \\ \leq H \left(X ^ {\prime}\right) - H \left(X ^ {\prime} \mid X, S _ {i}\right) + H \left(X \mid X ^ {\prime}, S _ {i}\right) \tag {26} \\ = H \left(X ^ {\prime}\right) + H (X | S _ {i}) - H \left(X ^ {\prime} \mid S _ {i}\right) \\ = I \left(X ^ {\prime}; S _ {i}\right) + H (X | S _ {i}) \\ \leq H (X | S _ {i}) + m _ {i} \\ \end{array}
|
| 433 |
+
$$
|
| 434 |
+
|
| 435 |
+

|
| 436 |
+
|
| 437 |
+
# A.2. Proof and Analysis for the Estimation Error of $I(X'; U_j)$ with Frozen Useful Attribute Inference Network
|
| 438 |
+
|
| 439 |
+
Let $P_{\psi_{j,0}}(U_j|X')$ and $I_{\psi_{j,0}}(X';U_j)$ denote the conditional distribution of $U_j$ given $X'$ and the mutual information between $U_j$ and $X'$ estimated with the frozen useful attribute inference network $\psi_{j,0}$ . For the Markov Chain shown in Figure 2, $I_{\psi_{j,0}}(X';U_j)$ is calculated as
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
I _ {\psi_ {j, 0}} \left(X ^ {\prime}; U _ {j}\right) = \mathbb {E} _ {P (X) P _ {\theta} \left(X ^ {\prime} \mid X\right) P \left(U _ {j} \mid X\right)} \left[ \log \frac {P _ {\psi_ {j , 0}} \left(U _ {j} \mid X ^ {\prime}\right)}{P \left(U _ {j}\right)} \right] \tag {27}
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
Therefore, we can prove
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
\begin{array}{l} I \left(X ^ {\prime}; U _ {j}\right) - I _ {\psi_ {j, 0}} \left(X ^ {\prime}; U _ {j}\right) = \mathbb {E} _ {P (X) P _ {\theta} \left(X ^ {\prime} \mid X\right) P \left(U _ {j} \mid X\right)} \left[ \log \frac {P \left(U _ {j} \mid X ^ {\prime}\right)}{P _ {\psi_ {j , 0}} \left(U _ {j} \mid X ^ {\prime}\right)} \right] \\ = \mathbb {E} _ {P _ {\theta} \left(X ^ {\prime}\right) P \left(U _ {j} \mid X ^ {\prime}\right)} \left[ \log \frac {P \left(U _ {j} \mid X ^ {\prime}\right)}{P _ {\psi_ {j , 0}} \left(U _ {j} \mid X ^ {\prime}\right)} \right] \tag {28} \\ = K L \left(P \left(U _ {j} \mid X ^ {\prime}\right) \mid \mid P _ {\psi_ {j, 0}} \left(U _ {j} \mid X ^ {\prime}\right)\right) \\ \end{array}
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
where $KL(P(U_j|X')||P_{\psi_{j,0}}(U_j|X'))$ can be large and even unbounded, because $\psi_{j,0}$ is trained to approximate $P(U_j|X)$ rather than $P(U_j|X')$ . Therefore, this strategy is not adopted in our design.
|
| 452 |
+
|
| 453 |
+
# B. Additional Descriptions of Related Works
|
| 454 |
+
|
| 455 |
+
In this section we present additional discussions on related works, especially on why they are categorized as not satisfying or partially satisfying certain properties of SUIFT. DeepPrivacy (Hukkelas et al., 2019) and CiaGAN (Maximov et al., 2020) are considered partially satisfying U and F because the CGAN based framework would prioritize the visual quality of generated samples (whether they are differentiable by discriminator) over the preservation of useful information (whether generated samples contain the same useful information as their original prototypes). Besides, they do not provide theoretical justification for the CGAN based framework. (Hsu et al., 2020) is considered partially satisfying F because it does not enforce the preservation of generic features explicitly. On the contrary it proposes to only obfuscate information-leaking features, while keep other features unaltered, which implicitly preserves the generic features. In addition, (Hsu et al., 2020) also does not consider the existence of useful annotated attributes. ALR (Bertran et al., 2019) proposes a rigorous information-theoretic framework for annotated attributes, but does not incorporate unannotated attributes in the discussion. PPDAR (Wu et al., 2020) and BDQ (Kumawat & Nagahara, 2022) also propose effective solutions for annotated attributes preservation or suppression. But they do not take unannotated attributes and a detailed theoretical foundation into consideration as well.
|
| 456 |
+
|
| 457 |
+
For the works that consider the management of unannotated attributes, ALFR (Edwards & Storkey, 2016) and LAFTR (Madras et al., 2018) are proposed in fairness literature, which are designed to release a compact representation for downstream tasks, and only suppress a binary sensitive attribute. GAP (Huang et al., 2018) does not consider the preservation of annotated useful attributes. And importantly, all of ALFR, LAFTR, GAP and MSDA (Malekzadeh et al., 2019) do not theoretically justify their design for unannotated attributes in the same framework proposed for annotated attributes. SPAct (Dave et al., 2022) does not consider the existence of annotated sensitive attributes and does not theoretically justify its design.
|
| 458 |
+
|
| 459 |
+
# C. Additional Description of Proposed Method
|
| 460 |
+
|
| 461 |
+
# C.1. InfoNCE Contrastive Learning
|
| 462 |
+
|
| 463 |
+
InfoNCE contrastive learning loss (Oord et al., 2018) is a classical contrastive learning loss, which learns useful representations of data by making the representations of positive samples (similar or related samples) closer while pushing the representations of negative samples further apart from the anchor. The sampling strategy in our framework is as follows. Suppose we have $K + 1$ samples $\{x_{i}\}_{i = 1}^{K + 1}$ in a mini-batch. We first pass them through the feature extractor $P_{\eta}(F|X)$ and data transformation module to sample a batch of $\{f_i\}_{i = 1}^{K + 1}$ and $\{x_i^{\prime}\}_{i = 1}^{K + 1}$ respectively. Then suppose we choose the $j$ -th feature $f_{j}$ as the anchor. Then the corresponding $x_{j}^{\prime}$ would be designated as positive sample, and all other $x_{i\neq j}^{\prime}$ are designated as negative samples. After sampling, we calculate the contrastive learning loss as Equation 14 in our paper. For training stability, in our implementation each of $K + 1$ features in a batch is used as anchor once and then averaged.
|
| 464 |
+
|
| 465 |
+
An analogous InfoNCE contrastive learning loss $L_F'$ is anchored in $X'$ space, which is defined as
|
| 466 |
+
|
| 467 |
+
$$
|
| 468 |
+
L _ {F} ^ {\prime} := \mathbb {E} _ {x \sim P (X)} \mathbb {E} _ {x ^ {\prime} \sim P _ {\theta} \left(X ^ {\prime} \mid X\right)} \mathbb {E} _ {f _ {p} \sim P _ {\eta} (F \mid X)} \mathbb {E} _ {f _ {n} ^ {(K)} \sim P _ {\eta} (F)} \left[ \log \frac {\mathcal {F} \left(f _ {p} , x ^ {\prime}\right)}{\mathcal {F} \left(f _ {p} , x ^ {\prime}\right) + \sum_ {f _ {n} \in f _ {n} ^ {(K)}} \mathcal {F} \left(f _ {n} , x ^ {\prime}\right)} \right] \tag {29}
|
| 469 |
+
$$
|
| 470 |
+
|
| 471 |
+
where $x', f_p, f_n^{(K)}$ are the anchor, the positive sample, and the negative samples respectively.
|
| 472 |
+
|
| 473 |
+
Compared with $\ell_2$ reconstruction loss, our contrastive learning loss is advantageous in that it does not presuppose the distributions of $F$ , $X'$ , making it broadly applicable across various domains like images, language, and sensor signals. Moreover, its superior empirical effectiveness is demonstrated in our experiments.
|
| 474 |
+
|
| 475 |
+
# D. Additional Experimental Setup
|
| 476 |
+
|
| 477 |
+
# D.1. Datasets
|
| 478 |
+
|
| 479 |
+
We next introduce the datasets. The Adience dataset, consisting of 26580 facial images, was originally published to help study the recognition of age and gender. Each face image has 3 attributes: ID, gender and age. We filter out the IDs with only one image. For the rest of data points, we split them into training and evaluation set as 7:3, and ensure that for each ID there is at least one image in training set and one image in evaluation set. Data points used in our experiment contains 1042 different DataIDs, 8 age groups, and 2 gender classes. The images are resized to $80*80$ , converted to grayscale images, and normalized to 0-1 in our experiments.
|
| 480 |
+
|
| 481 |
+
The AudioMNIST dataset contains audio recordings of spoken digits (0-9) in English from 60 speakers. The dataset contains 8 attributes, from which we used 5 most representative attributes for our experiments, namely gender, accent, age, ID, spoken digits, with 2, 16, 18, 60, 10 classes, respectively. There are 30,000 audio clips in total. We split the data into 24000, 6,000 for training and evaluation. The audio data are transformed to feature embeddings by HuBERT-B feature extractor and normalized to unit L2-norm.
|
| 482 |
+
|
| 483 |
+
The Motion Sense dataset contains the accelerometer and gyroscope data for human doing 6 daily activities. It contains 5 attributes, form which we used 3 most representative attributes for our experiments, namely gender, ID, and activity, with 2, 24, 6 classes respectively. Following (Malekzadeh et al., 2019), we did not use "sit" and "stand up" activity in experiments. We used the same split and data pre-processing method as (Malekzadeh et al., 2019), which resulted in 74324 segmented data points. Specifically, we used "trail" split strategy as described in (Malekzadeh et al., 2019), and we only used the magnitude of gyroscope and accelerometer as input. Signals are normalized to 0-mean and 1-standard, and then cut into 128-length clips.
|
| 484 |
+
|
| 485 |
+
# D.2. Model Structures and Optimization
|
| 486 |
+
|
| 487 |
+
We elaborated the model structures and optimization methods used for our experiments in Table 7. For faster convergence and training stability, we design the $\phi, \psi, \eta$ models used in facial image experiments as a fixed FaceNet (Schroff et al., 2015) backbone followed by learnable 3-layer MLPs, and design the $\theta$ model of facial image experiment as U-Net (Ronneberger et al., 2015). For the same reason, we add residual structures from input of the first layer to the output of the second layer for 3-layer MLP $\theta$ models used in audio and human activity experiments.
|
| 488 |
+
|
| 489 |
+
Table 7. Model structures and optimization methods used for our experiments.
|
| 490 |
+
|
| 491 |
+
<table><tr><td>Experiment</td><td>Audio</td><td>Human activity</td><td>Facial image</td></tr><tr><td>Dataset</td><td>AudioMNIST</td><td>Motion Sense</td><td>Adience</td></tr><tr><td># total data points</td><td>30000</td><td>74324</td><td>26580</td></tr><tr><td>Training-evaluation split</td><td>4:1</td><td>7:4</td><td>7:3</td></tr><tr><td>Optimizer</td><td colspan="3">AdamW (Loshchilov & Hutter, 2019)</td></tr><tr><td>Learning rate</td><td colspan="3">0.0001</td></tr><tr><td>Weight decay</td><td colspan="3">0.001</td></tr><tr><td>Learning rate scheduler</td><td colspan="3">Cosine scheduler</td></tr><tr><td>Epoch</td><td>2000</td><td>200</td><td>4000</td></tr><tr><td>θ model structure</td><td>3-layer MLP</td><td>3-layer MLP</td><td>U-Net</td></tr><tr><td>φ,ψ,η model structure</td><td>3-layer MLP</td><td>6-layer Convolutional NN</td><td>Fixed FaceNet backbone followed by learnable 3-layer MLP</td></tr></table>
|
| 492 |
+
|
| 493 |
+
Table 8. Comparison of the accuracy and NAG between MaSS, ablations and baselines on Motion Sense. We suppress gender, ID, while preserve activity as if unannotated useful attribute.
|
| 494 |
+
|
| 495 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>ID (↓)</td><td>activity (↑)</td></tr><tr><td>No suppression</td><td>0.9817 (1.0000)</td><td>0.9026 (1.0000)</td><td>0.9764 (1.0000)</td></tr><tr><td>Guessing</td><td>0.5699 (0.0000)</td><td>0.0533 (0.0000)</td><td>0.4663 (0.0000)</td></tr><tr><td>ALR</td><td>0.6040 (0.0828)</td><td>0.0900 (0.0432)</td><td>0.8593 (0.7704)</td></tr><tr><td>GAP</td><td>0.5721 (0.0053)</td><td>0.0800 (0.0314)</td><td>0.8937 (0.8379)</td></tr><tr><td>MSDA</td><td>0.5725 (0.0063)</td><td>0.1134 (0.0708)</td><td>0.8957 (0.8418)</td></tr><tr><td>BDQ</td><td>0.6184 (0.1178)</td><td>0.1054 (0.0613)</td><td>0.8451 (0.7426)</td></tr><tr><td>PPDAR</td><td>0.5698 (0.0000)</td><td>0.0498 (0.0000)</td><td>0.8189 (0.6912)</td></tr><tr><td>MaSS-NF</td><td>0.5699 (0.0000)</td><td>0.0508 (0.0000)</td><td>0.8374 (0.7275)</td></tr><tr><td>MaSS-ℓ2</td><td>0.5734 (0.0085)</td><td>0.0754 (0.0260)</td><td>0.8823 (0.8156)</td></tr><tr><td>MaSS-MINE</td><td>0.7056 (0.3294)</td><td>0.1613 (0.1271)</td><td>0.8156 (0.6847)</td></tr><tr><td>MaSS</td><td>0.5686 (0.0000)</td><td>0.0555 (0.0026)</td><td>0.9242 (0.8977)</td></tr></table>
|
| 496 |
+
|
| 497 |
+
# E. Additional Experiments Results
|
| 498 |
+
|
| 499 |
+
# E.1. Evaluation on Human Activity Sensor Signals
|
| 500 |
+
|
| 501 |
+
In addition to the experimental results measured in NAG shown in Table 2, we also show the experimental results measured in accuracy below in Table 8.
|
| 502 |
+
|
| 503 |
+
We also conducted an experiment where we suppress gender, while preserve ID as annotated attribute, and preserve activity as unannotated attribute. We set the $n$ for ID as 1.6, which meets the requirements of Equation 3. The results are shown in Table 9. We can observe that MaSS achieved lowest NAG on gender as well as comparable NAG on the other preserved attributes. This outcome stems from the fact the sensitive attribute gender is determined by ID, therefore when we suppress gender, the information retained for ID is inherently limited as Equation 3. MaSS is explicitly aware of this limit and is adjusted to preserve only limited amount of information for ID. In contrast other baselines can only heuristically trade-off between suppressing and preserving.
|
| 504 |
+
|
| 505 |
+
# E.2. Evaluation on Voice Audio Dataset
|
| 506 |
+
|
| 507 |
+
In addition to the experimental results measured in NAG shown in Table 3 and Table 4, we also show the experimental results measured in accuracy below in Table 10 and Table 11 respectively.
|
| 508 |
+
|
| 509 |
+
Table 9. Comparison of the classification accuracy and NAG between MaSS and baselines on Motion Sense. We suppress gender, while preserve ID as annotated useful attribute, and preserve activity as if an unannotated attribute.
|
| 510 |
+
|
| 511 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>ID (↑)</td><td>activity (↑)</td></tr><tr><td>No suppression</td><td>0.9817 (1.0000)</td><td>0.9026 (1.0000)</td><td>0.9764 (1.0000)</td></tr><tr><td>Guessing</td><td>0.5699 (0.0000)</td><td>0.0533 (0.0000)</td><td>0.4663 (0.0000)</td></tr><tr><td>ALR</td><td>0.8258 (0.6214)</td><td>0.6147 (0.6610)</td><td>0.8966 (0.8436)</td></tr><tr><td>GAP</td><td>0.6599 (0.2186)</td><td>0.6628 (0.7176)</td><td>0.9378 (0.9243)</td></tr><tr><td>MSDA</td><td>0.6418 (0.1746)</td><td>0.6360 (0.6861)</td><td>0.9030 (0.8561)</td></tr><tr><td>BDQ</td><td>0.7092 (0.3383)</td><td>0.6583 (0.7124)</td><td>0.9269 (0.9030)</td></tr><tr><td>PPDAR</td><td>0.7830 (0.5175)</td><td>0.5680 (0.6060)</td><td>0.8867 (0.8242)</td></tr><tr><td>MaSS</td><td>0.5870 (0.0415)</td><td>0.5931 (0.6356)</td><td>0.9168 (0.8832)</td></tr></table>
|
| 512 |
+
|
| 513 |
+
Table 10. Comparison of the classification accuracy and NAG between MaSS, ablations and baselines on AudioMNIST. We suppress gender, accent, age, ID, while preserve digit as if an unannotated attribute.
|
| 514 |
+
|
| 515 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↓)</td><td>digit (↑)</td></tr><tr><td>No suppression</td><td>0.9962 (1.0000)</td><td>0.9843 (1.0000)</td><td>0.9657 (1.0000)</td><td>0.9808 (1.0000)</td><td>0.9975 (1.0000)</td></tr><tr><td>Guessing</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0167 (0.0000)</td><td>0.1000 (0.0000)</td></tr><tr><td>ALR</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0171 (0.0004)</td><td>0.1930 (0.1036)</td></tr><tr><td>GAP</td><td>0.8000 (0.0000)</td><td>0.6828 (0.0000)</td><td>0.1663 (0.0000)</td><td>0.0438 (0.0281)</td><td>0.9513 (0.9485)</td></tr><tr><td>MSDA</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1665 (0.0000)</td><td>0.0238 (0.0074)</td><td>0.9482 (0.9451)</td></tr><tr><td>BDQ</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0275 (0.0112)</td><td>0.5995 (0.5565)</td></tr><tr><td>PPDAR</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0182 (0.0016)</td><td>0.3548 (0.2839)</td></tr><tr><td>MaSS-NF</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0001)</td><td>0.1658 (0.0000)</td><td>0.0152 (0.0000)</td><td>0.2657 (0.1846)</td></tr><tr><td>MaSS-ℓ2</td><td>0.8002 (0.0008)</td><td>0.6833 (0.0001)</td><td>0.1683 (0.0020)</td><td>0.0462 (0.0306)</td><td>0.9542 (0.9517)</td></tr><tr><td>MaSS-MINE</td><td>0.8015 (0.0076)</td><td>0.6833 (0.0000)</td><td>0.1757 (0.0112)</td><td>0.0585 (0.0434)</td><td>0.5515 (0.5031)</td></tr><tr><td>MaSS</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0195 (0.0029)</td><td>0.9683 (0.9675)</td></tr></table>
|
| 516 |
+
|
| 517 |
+
We also compare our method with SPAc (Dave et al., 2022). Since SPAc does not consider preserving unannotated useful attributes. Therefore we compare it in a scenario where we only have annotated attributes. We can observe that MaSS achieved slightly lower NAG on digit compared with SPAc, but significantly lower NAG on all sensitive attributes (up to $5\%$ ), which shows that our method may achieve a better trade-off between suppression and preservation.
|
| 518 |
+
|
| 519 |
+
We also conducted experiments to show the effect of varying the constraint on sensitive attributes suppression $(m)$ . We take gender, accent, age and ID as sensitive attributes and take digit as annotated useful attribute on the AudioMNIST dataset. We fix $m = 0$ for gender, accent and age and $n = 2.3$ for digit (its maximal value). Then we vary $m$ for ID from 0 to 1.46 (its maximal value). The results are shown in Table 13. We can observe that as $m$ increases, the constraint is gradually loosened, which results in the gradually increasing accuracy and NAG for ID.
|
| 520 |
+
|
| 521 |
+
Another experiment is to vary constraint $n$ for digit on AudioMNIST, while suppress gender, accent, age, ID with fixed $m = 0$ . The results are shown in Table 14. We can observe when $n_{digit}$ is large enough, as $n_{digit}$ increases, the constraint posed by annotated attribute preservation module is gradually taken into effect, which gradually turns digit from an unannotated useful attribute (protected by unannotated useful attribute preservation module) to an annotated useful attribute (protected mostly by the annotated useful attribute module), and consequently gradually increases the accuracy and NAG of digit.
|
| 522 |
+
|
| 523 |
+
Table 11. Comparison of the classification accuracy and NAG between MaSS and baselines on AudioMNIST. We suppress gender, accent, age, while preserve digit as annotated useful attribute, and preserve ID as if an unannotated attribute.
|
| 524 |
+
|
| 525 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↑)</td><td>digit (↑)</td></tr><tr><td>No suppression</td><td>0.9962 (1.0000)</td><td>0.9843 (1.0000)</td><td>0.9657 (1.0000)</td><td>0.9808 (1.0000)</td><td>0.9975 (1.0000)</td></tr><tr><td>Guessing</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0167 (0.0000)</td><td>0.1000 (0.0000)</td></tr><tr><td>ALR</td><td>0.7995 (0.0000)</td><td>0.6832 (0.0000)</td><td>0.1712 (0.0056)</td><td>0.6947 (0.7032)</td><td>0.9970 (0.9994)</td></tr><tr><td>GAP</td><td>0.8000 (0.0000)</td><td>0.6828 (0.0000)</td><td>0.1663 (0.0000)</td><td>0.6950 (0.7036)</td><td>0.9597 (0.9579)</td></tr><tr><td>MSDA</td><td>0.8003 (0.0015)</td><td>0.6837 (0.0013)</td><td>0.1925 (0.0323)</td><td>0.8292 (0.8428)</td><td>0.9958 (0.9981)</td></tr><tr><td>BDQ</td><td>0.8000 (0.0000)</td><td>0.6835 (0.0007)</td><td>0.1677 (0.0013)</td><td>0.4060 (0.4038)</td><td>0.9957 (0.9980)</td></tr><tr><td>PPDAR</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.6942 (0.7027)</td><td>0.9960 (0.9983)</td></tr><tr><td>MaSS</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.8375 (0.8514)</td><td>0.9960 (0.9983)</td></tr></table>
|
| 526 |
+
|
| 527 |
+
Table 12. Comparison of the classification accuracy and NAG between MaSS and SPAct on AudioMNIST. We suppress gender, accent, age, id, while preserve digit as annotated useful attribute.
|
| 528 |
+
|
| 529 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↓)</td><td>digit (↑)</td></tr><tr><td>No suppression</td><td>0.9962 (1.0000)</td><td>0.9843 (1.0000)</td><td>0.9657 (1.0000)</td><td>0.9808 (1.0000)</td><td>0.9975 (1.0000)</td></tr><tr><td>Guessing</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0167 (0.0000)</td><td>0.1000 (0.0000)</td></tr><tr><td>SPAct</td><td>0.8087 (0.0442)</td><td>0.6833 (0.0001)</td><td>0.1753 (0.0108)</td><td>0.0707 (0.0560)</td><td>0.9948 (0.9970)</td></tr><tr><td>MaSS</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1662 (0.0000)</td><td>0.0183 (0.0017)</td><td>0.9933 (0.9953)</td></tr></table>
|
| 530 |
+
|
| 531 |
+
Table 13. Varying the suppression constraint $m$ for ID on AudioMNIST. We suppress gender, accent, age, ID, while preserve digit as if an annotated useful attribute.
|
| 532 |
+
|
| 533 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">mID</td><td colspan="5">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↓)</td><td>digit (↑)</td></tr><tr><td>No suppression</td><td>-</td><td>0.9962 (1.0000)</td><td>0.9843 (1.0000)</td><td>0.9657 (1.0000)</td><td>0.9808 (1.0000)</td><td>0.9975 (1.0000)</td></tr><tr><td>Guessing</td><td>-</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0167 (0.0000)</td><td>0.1000 (0.0000)</td></tr><tr><td rowspan="6">MaSS</td><td>0.0</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1662 (0.0000)</td><td>0.0183 (0.0017)</td><td>0.9933 (0.9953)</td></tr><tr><td>0.3</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1665 (0.0000)</td><td>0.0598 (0.0447)</td><td>0.9938 (0.9959)</td></tr><tr><td>0.6</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1668 (0.0002)</td><td>0.1120 (0.0988)</td><td>0.9940 (0.9961)</td></tr><tr><td>0.9</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1670 (0.0004)</td><td>0.1493 (0.1376)</td><td>0.9937 (0.9957)</td></tr><tr><td>1.2</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.1963 (0.1863)</td><td>0.9928 (0.9948)</td></tr><tr><td>1.46</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.2597 (0.2520)</td><td>0.9937 (0.9957)</td></tr></table>
|
| 534 |
+
|
| 535 |
+
# E.3. Evaluation on Facial Images
|
| 536 |
+
|
| 537 |
+
In addition to the experimental results measured in NAG shown in Table 6, we also show the experimental results measured in accuracy below in Table 15.
|
| 538 |
+
|
| 539 |
+
In the next experiment we demonstrate the performance of MaSS on Adience with different attribute to suppress. We can observe from Table 16 that MaSS achieved 0 NAG for suppressed attributes as well as acceptable NAG for preserved unannotated attributes.
|
| 540 |
+
|
| 541 |
+
The visualization results for both original and transformed data in the Adience dataset are depicted in Figure 4. Observing the second row, we can see that the gender information has been effectively removed from the images. Similarly, the third row demonstrates the removal of age information from the images, highlighting the efficacy of our approach in suppressing
|
| 542 |
+
|
| 543 |
+
Table 14. Varying the preservation constraint $n$ for digit on AudioMNIST. We suppress gender, accent, age, ID, while preserve digit as if an annotated useful attribute.
|
| 544 |
+
|
| 545 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">ndigit</td><td colspan="5">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>accent (↓)</td><td>age (↓)</td><td>ID (↓)</td><td>digit (↑)</td></tr><tr><td>No suppression</td><td>-</td><td>0.9962 (1.0000)</td><td>0.9843 (1.0000)</td><td>0.9657 (1.0000)</td><td>0.9808 (1.0000)</td><td>0.9975 (1.0000)</td></tr><tr><td>Guessing</td><td>-</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0167 (0.0000)</td><td>0.1000 (0.0000)</td></tr><tr><td rowspan="7">MaSS</td><td>0.0</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1667 (0.0000)</td><td>0.0192 (0.0026)</td><td>0.9685 (0.9677)</td></tr><tr><td>1.8</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1657 (0.0000)</td><td>0.0207 (0.0041)</td><td>0.9683 (0.9675)</td></tr><tr><td>1.9</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1658 (0.0000)</td><td>0.0178 (0.0012)</td><td>0.9725 (0.9721)</td></tr><tr><td>2.0</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1658 (0.0000)</td><td>0.0163 (0.0000)</td><td>0.9733 (0.9731)</td></tr><tr><td>2.1</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1642 (0.0000)</td><td>0.0182 (0.0015)</td><td>0.9823 (0.9831)</td></tr><tr><td>2.2</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1665 (0.0000)</td><td>0.0202 (0.0036)</td><td>0.9885 (0.9900)</td></tr><tr><td>2.3</td><td>0.8000 (0.0000)</td><td>0.6833 (0.0000)</td><td>0.1662 (0.0000)</td><td>0.0183 (0.0017)</td><td>0.9933 (0.9953)</td></tr></table>
|
| 546 |
+
|
| 547 |
+
Table 15. Comparison of the classification accuracy and NAG between MaSS and baselines on Adience. We suppress gender, while preserve age, ID as if unannotated useful attributes.
|
| 548 |
+
|
| 549 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td><td>age (↑)</td><td>ID (↑)</td></tr><tr><td>No suppression</td><td>0.9774 (1.0000)</td><td>0.9321 (1.0000)</td><td>0.9382 (1.0000)</td></tr><tr><td>Guessing</td><td>0.5240 (0.0000)</td><td>0.2892 (0.0000)</td><td>0.0284 (0.0000)</td></tr><tr><td>ALR</td><td>0.5298 (0.0128)</td><td>0.2907 (0.0023)</td><td>0.0400 (0.0128)</td></tr><tr><td>GAP</td><td>0.5240 (0.0000)</td><td>0.6047 (0.4907)</td><td>0.5393 (0.5616)</td></tr><tr><td>MSDA</td><td>0.6652 (0.3114)</td><td>0.7989 (0.7928)</td><td>0.7982 (0.8461)</td></tr><tr><td>BDQ</td><td>0.5252 (0.0026)</td><td>0.2892 (0.0000)</td><td>0.0352 (0.0075)</td></tr><tr><td>PPDAR</td><td>0.5231 (0.0000)</td><td>0.2892 (0.0000)</td><td>0.0284 (0.0000)</td></tr><tr><td>MaSS</td><td>0.5240 (0.0000)</td><td>0.7661 (0.7418)</td><td>0.7255 (0.7662)</td></tr></table>
|
| 550 |
+
|
| 551 |
+
Table 16. Comparison of the Accuracy and NAG for different configurations of MaSS on Adience. $\checkmark$ denotes that this attribute is suppressed, while all other attributes are preserved as unannotated useful attributes.
|
| 552 |
+
|
| 553 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">MaSS Suppressed Attributes</td><td colspan="3">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender</td><td>age</td><td>ID</td><td>gender</td><td>age</td><td>ID</td></tr><tr><td>No suppression</td><td></td><td></td><td></td><td>0.9774 (1.0000)</td><td>0.9321 (1.0000)</td><td>0.9382 (1.0000)</td></tr><tr><td>Guessing</td><td>✓</td><td>✓</td><td>✓</td><td>0.5240 (0.0000)</td><td>0.2892 (0.0000)</td><td>0.0284 (0.0000)</td></tr><tr><td rowspan="2">MaSS</td><td>✓</td><td></td><td></td><td>0.5240 (0.0000)</td><td>0.7661 (0.7418)</td><td>0.7255 (0.7662)</td></tr><tr><td></td><td>✓</td><td></td><td>0.7985 (0.6054)</td><td>0.2892 (0.0000)</td><td>0.5005 (0.5189)</td></tr></table>
|
| 554 |
+
|
| 555 |
+
# specific attributes.
|
| 556 |
+
|
| 557 |
+
Although we would not release the labels of sensitive attributes to the public, here we conducted an ablation experiment with the assumption that the attacker can access the ground truth labels of sensitive attributes as an oracle and retrain the discriminator on transformed data. The results are shown in Table 2. We can observe that, using MaSS, the accuracy of the retrained discriminator is higher than adversarial discriminator but is still significantly lower than the discriminator trained using original data.
|
| 558 |
+
|
| 559 |
+

|
| 560 |
+
Figure 4. The visualization of the original data and transformed data in Adience dataset. The first row presents the original facial images, while the second and third rows show the transformed images with gender and age suppressed respectively. Other attributes are preserved as unannotated.
|
| 561 |
+
|
| 562 |
+
Table 17. Comparison of the accuracy and NAG between a trained-from-scratch discriminator and adversarial discriminator on the Adience dataset. We suppress gender, while preserve age, ID as if unannotated useful attributes.
|
| 563 |
+
|
| 564 |
+
<table><tr><td rowspan="2">Method</td><td>Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>gender (↓)</td></tr><tr><td>No suppression</td><td>0.9774 (1.0000)</td></tr><tr><td>Guessing</td><td>0.5240 (0.0000)</td></tr><tr><td>MaSS (discriminator retrained with oracle)</td><td>0.6029 (0.1740)</td></tr><tr><td>MaSS (adversarial discriminator)</td><td>0.5240 (0.0000)</td></tr></table>
|
| 565 |
+
|
| 566 |
+
# E.4. Evaluation on Tabular Marketing Campaign Dataset
|
| 567 |
+
|
| 568 |
+
We further evaluate MaSS on the tabular Marketing Campaign (2023) dataset and compare the effectiveness of MaSS to MaSS- $\ell_{2}$ . We first convert the categorical attributes into one-hot vectors and normalize the continuous attributes by their ranges. Note that, the $\ell_{2}$ reconstruction loss applied to one-hot vectors can be interpreted as a 0-1 loss. During training MaSS, we adopt Gumbel-Softmax for the categorical attributes to keep their differentiability and the flexibility to convert them back to the original value.
|
| 569 |
+
|
| 570 |
+
Tabular data is slightly different from other data types we experimented in the main paper, the utility and sensitive attributes (columns) are also a part of data $X$ rather than separated attributes. Thus, we first left out the utility columns as separated attributes $(U)$ and train the MaSS over remaining columns to generate a transformed data $(X')$ . Then, we evaluate the classification accuracy of utility attributes $(U)$ using the transformed $X'$ ; meanwhile, we separate the sensitive column out from the transformed data $X'$ and then using the remaining columns to predict original sensitive columns. The results are shown in Table 18. We can observe that MaSS achieved both higher NAG for response and lower NAG for education compared with MaSS- $\ell_2$ , which further validate the generaizability and effectiveness of our framework.
|
| 571 |
+
|
| 572 |
+
Table 18. Comparison of the classification accuracy and NAG between MaSS and ablation on the Marketing Campaign dataset. We suppress education, while preserve response as annotated useful attribute.
|
| 573 |
+
|
| 574 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Accuracy (Normalized Accuracy Gain)</td></tr><tr><td>education (↓)</td><td>response (↑)</td></tr><tr><td>No suppression</td><td>0.5223 (1.0000)</td><td>0.8973 (1.0000)</td></tr><tr><td>Guessing</td><td>0.4732 (0.0000)</td><td>0.8504 (0.0000)</td></tr><tr><td>MaSS-ℓ2</td><td>0.4933 (0.4094)</td><td>0.8728 (0.4776)</td></tr><tr><td>MaSS</td><td>0.4621 (0.0000)</td><td>0.9084 (1.2367)</td></tr></table>
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:441bc07676e60926773d9bb32016f2c102e6eaa2899c5e83006e7ed376b98711
|
| 3 |
+
size 1531087
|
2024/MaSS_ Multi-attribute Selective Suppression for Utility-preserving Data Transformation from an Information-theoretic Perspective/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/886bc5fa-b4dd-4c57-8948-e39863a9c91d_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c01c8882acc4672ecca4b24888093fd3a21fea6c8307598246522daf0464755c
|
| 3 |
+
size 9382747
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40feefd678d9eb1eb998f8447cb690331557cdf6f61a14b4eef96ff44424c61a
|
| 3 |
+
size 2960702
|
2024/Machine Vision Therapy_ Multimodal Large Language Models Can Enhance Visual Robustness via Denoising In-Context Learning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/54ae911b-bbd1-4341-b7c2-2d516c8b6999_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a4e2dd5cc38ff10e039e7c833ca464de9ac330070f7591be4ccd4f58cf8a075
|
| 3 |
+
size 2143625
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39e2a82f0d4be09ff6a4d3a36dae6f50eb7ed8692e055e5f1a1fc114cb542fb0
|
| 3 |
+
size 1452104
|
2024/Maestro_ Uncovering Low-Rank Structures via Trainable Decomposition/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/aea9bfbd-8659-4467-834e-a4373e224e77_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:739bed42cade3bfa9f82a5a054b5e4e2ce03c9703a4b91db77dc8d6896b7c8bb
|
| 3 |
+
size 8204865
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/full.md
ADDED
|
@@ -0,0 +1,470 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MagicLens: Self-Supervised Image Retrieval with Open-Ended Instructions
|
| 2 |
+
|
| 3 |
+
Kai Zhang $^{*1}$ Yi Luan $^{2}$ Hexiang Hu $^{2}$ Kenton Lee $^{2}$ Siyuan Qiao $^{2}$ Wenhu Chen $^{2}$ Yu Su $^{1}$ Ming-Wei Chang $^{2}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Image retrieval, i.e., finding desired images given a reference image, inherently encompasses rich, multi-faceted search intents that are difficult to capture solely using image-based measures. Recent works leverage text instructions to allow users to more freely express their search intents. However, they primarily focus on image pairs that are visually similar and/or can be characterized by a small set of pre-defined relations. The core thesis of this paper is that text instructions can enable retrieving images with richer relations beyond visual similarity. To show this, we introduce MagicLens, a series of self-supervised image retrieval models that support open-ended instructions. MagicLens is built on a key novel insight: image pairs that naturally occur on the same web pages contain a wide range of implicit relations (e.g., inside view of), and we can bring those implicit relations explicit by synthesizing instructions via foundation models. Trained on 36.7M (query image, instruction, target image) triplets with rich semantic relations mined from the web, MagicLens achieves results comparable with or better than prior best on eight benchmarks of various image retrieval tasks, while maintaining high parameter efficiency with a significantly smaller model size. Additional human analyses on a 1.4M-image unseen corpus further demonstrate the diversity of search intents supported by MagicLens. Code and models are publicly available at the Project Website.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Image retrieval is a long-established problem in computer vision (Datta et al., 2008; Gordo et al., 2016) with a wide
|
| 12 |
+
|
| 13 |
+
*Work done at Google DeepMind. 'The Ohio State University 'Google DeepMind. Correspondence to: Kai Zhang <zhang.13253@osu.edu>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1. Top-1 retrieved images using MagicLens and the prior state-of-the-art (SOTA) method (Gu et al., 2024) from a retrieval pool with 1.4M images. The prior SOTA method, while accepting text instructions, primarily retrieves images based on visual similarity to the query image, ignoring the nuances of the text instructions. In contrast, MagicLens excels at retrieving both visually similar images and those that align with the deeper meaning and context of the text instructions — even when the images do not resemble the query. For example, if given a query image of the Burj Al Arab and the instruction “Find other attractions in this country”, it can successfully locate images of the Palm Islands in Dubai.
|
| 19 |
+
|
| 20 |
+
range of real-world applications, such as visual search, object localization, and re-identification. However, since its inception, this task has suffered from ambiguous definitions due to the complex and rich content encapsulated in images. Similar images may differ in key aspects, and different images can share commonalities. In image search scenarios, users frequently present multiple search intents for a single query image, indicating that mere image relevance is insufficient for precise search results. For instance, when searching with an image of the Burj Al Arab hotel in Dubai (see Figure 1), a user might seek other attractions in Dubai or an interior view, each relating differently to the query image. Therefore, incorporating text instructions that articulate search intents is essential and indispensable for enhancing retrieval accuracy. Ideally, models should accurately capture and interpret diverse real-world search intents as conveyed by open-ended text instructions.
|
| 21 |
+
|
| 22 |
+
These open-ended search instructions, span a wide range of topics and concepts, and reflect the diverse ways users
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
Figure 2. Data construction overview. We collect naturally occurring image pairs from the same web pages and use PaLI+PaLM2 to generate instructions connecting the two images.
|
| 26 |
+
|
| 27 |
+
interact with visual content, requiring the retrieval system to grasp not only the visual features of an image but also the nuanced semantic relation between the query image and desired results as expressed in the instructions. Existing models, however, are optimized towards one or a few restricted domains (Vo et al., 2019; Wu et al., 2021; Liu et al., 2021; Baldrati et al., 2023), where the types of visual similarities are manually defined as a prior. They either adjust the model architecture and training recipe to utilize image-caption data (Chen & Lai, 2023; Saito et al., 2023; Baldrati et al., 2023; Gu et al., 2024), or rely on synthetic data constructed from pre-defined instruction templates (Brooks et al., 2023; Gu et al., 2023). As a result, neither of these research directions can effectively model open-ended instructions, evidenced by Figure 1.
|
| 28 |
+
|
| 29 |
+
In this paper, we present MagicLens, a series of self-supervised image retrieval models trained on a wide range of (query image, instruction, target image) triplets that reflect naturally occurring semantic relations, mined from web pages and curated with state-of-the-art (SOTA) foundation models. Specifically, we extract image pairs that naturally occur on the same web page to form positive pairs that carry abundant but natural semantic relations. We then apply both large multimodal models (LMMs; Chen et al. (2023b;a)) and large language models (LLMs; Anil et al. (2023)) to refine the description of such open-ended semantic relation, into open-ended instruction. Figure 2 shows an overview of the data construction pipeline. For example, a camera review website presenting the image of a Nikon Camera and the image of a Nikon Charger would offer an interesting and non-trivial relation "charger of a product", which would then be curated by the LMM+LLM pipeline, and produce a final instruction find a charger for it. This process produces open-ended instructions that depict diverse semantic relations beyond mere visual similarity, resulting in a large-scale training dataset with 36.7M high-quality triplets over a wide distribution.
|
| 30 |
+
|
| 31 |
+
With the constructed dataset, we train dual-encoder models
|
| 32 |
+
|
| 33 |
+
called MagicLens, which retrieve images given a query consisting of an image with an instruction. Our models achieve results comparable with or better than prior SOTA methods on eight benchmarks, including various multimodality-to-image and image-to-image retrieval tasks. In addition, MagicLens can retain or even significantly improve the text-to-image retrieval performance of the underlying single-modality encoders. With a 50 times smaller model size than prior SOTA methods, MagicLens outperforms them on multiple benchmarks: CIRCO (Baldrati et al., 2023), Domain Transfer ImageNet (Saito et al., 2023), and GeneCIS (Vaze et al., 2023). To further examine our models' capabilities in a more realistic scenario, we construct the largest retrieval pool to date with 1.4 million unseen images and perform retrieval given human-written search queries with diverse instructions. The human evaluation finds that MagicLens can successfully satisfy complex and beyond visual search intents, whereas the prior SOTA fails to do so.
|
| 34 |
+
|
| 35 |
+
# Our contributions are threefold:
|
| 36 |
+
|
| 37 |
+
- We bring a novel insight for image retrieval: naturally occurring image pairs from the same web pages are strong self-supervised training signals. Based on this, we propose an effective pipeline, backed with LMMs and LLMs, to construct training data consisting of 36.7M triplets.
|
| 38 |
+
- We introduce MagicLens, a series of light-weight dual-encoders that jointly embed a pair of image and instruction, trained on the constructed dataset. Across multiple benchmarks, MagicLens outperforms previous SOTA methods but with a $50 \times$ smaller model size.
|
| 39 |
+
- We conduct an in-depth human evaluation and analysis on a 1.4M-scale retrieval pool, which is the largest to date. Remarkably high success rates show that MagicLens can well capture and satisfy diverse search intents, especially complex and beyond visual ones.
|
| 40 |
+
|
| 41 |
+
# 2. Related Work
|
| 42 |
+
|
| 43 |
+
Pre-Training Multimodal Encoders. Multimodal encoder pre-training (Faghri et al., 2017; Chen et al., 2021; Radford et al., 2021; Yu et al., 2022; Li et al., 2021; Kim et al., 2021; Wang et al., 2023; Li et al., 2022; 2023; Cherti et al., 2023) has witnessed great success in recent years. Pre-trained on web-scale image-caption data (Zhai et al., 2022; Schuhmann et al., 2022), these models align the representations of different modalities in a joint space, enabling zero-shot cross-modality retrieval. However, these works focus on encoding single modalities, without considering the composed representation of multiple modalities. Some later efforts (Hu et al., 2023a; Chen et al., 2023c; Wei et al., 2023) attempt to combine text and image embeddings via fine-tuning a small number of parameters on top of pre-trained single-modal encoders, without large-scale joint pre-training. Consequently, such an adaptation strategy shows inferior results on the
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
Figure 3. Data construction pipeline. We mine image pairs from the web via (1) grouping images from the same web page and cleaning them, (2) annotating metadata for each image with LMMs, and (3) scoring and filtering out unqualified image pairs. Eventually, we generate open-ended instructions using LLMs for the remaining image pairs.
|
| 47 |
+
|
| 48 |
+
task of our interest, emphasizing the importance of the MagicLens' self-supervised training.
|
| 49 |
+
|
| 50 |
+
Composed Image Retrieval. Composed image retrieval (CIR; Vo et al. (2019)) shares the same task form with us. However, all existing benchmarks (Liu et al., 2021; Baldrati et al., 2023; Wu et al., 2021) collect visually similar images first and then write instructions for image pairs. This limits the richness of image relations on these benchmarks and the models developed upon/for them. Recent works on zero-shot CIR (Saito et al., 2023; Baldrati et al., 2023; Gu et al., 2024) either design light-weight modality transformation or adjust training and model to use existing image-caption data. CIREVL (Karthik et al., 2024) uses LLM and LMM on-the-fly for CIR, limiting its efficiency. Please refer to Appendix B for more details of these methods. In terms of constructing training data, CompoDiff (Gu et al., 2023) synthesizes 18M triplets with LLMs and image generative models, following the same pipeline with Brooks et al. (2023). The key difference between their data and ours lies in the image quality and the image relations. As shown in Figure 2, our data comes from natural image pairs found on the same web pages. Thus, our data covers open-ended image relations over a wide distribution, including both visual and beyond-visual ones.
|
| 51 |
+
|
| 52 |
+
Retrieval with Instruction. Instruction tuning (Ouyang et al., 2022; Lou et al., 2024) enables models with strong cross-domain and zero-shot generalization capabilities in retrieving both textual (Su et al., 2023; Asai et al., 2023) and multimodal content (Wei et al., 2023). However, prior efforts focus on unifying different retrieval tasks with manually-written instructions as task prefixes of actual queries, on a hundred-scale basis. In contrast, our approach utilizes million-scale instructions that naturally express user's search intents.
|
| 53 |
+
|
| 54 |
+
# 3. MagicLens
|
| 55 |
+
|
| 56 |
+
# 3.1. Data Construction for Self-Supervised Training
|
| 57 |
+
|
| 58 |
+
Web documents contain multimodal contexts, featuring interleaved texts and images on pertinent subjects. Image pairs extracted from the same web page through co-occurrence frequently imply associations between images and specific relations. This encompasses a broad spectrum of image relations, ranging from visual similarity to more nuanced connections (e.g., Figure 2). Consequently, these naturally occurring image pairs serve as excellent self-supervised training signals for image retrieval models. Based on this insight, we propose a systematic data construction pipeline to mine image pairs from web pages and adopt LLMs to generate open-ended instructions that explicitly convey the image relations within each pair.
|
| 59 |
+
|
| 60 |
+
Mining Image Pairs from Web Pages. (1) Grouping & Cleaning. We collect all images with the same URL from Common Crawl² as a group of images from the same web page for potential pairing. Due to the inevitable noisy images introduced by simple grouping, we remove duplicated, low-resolution, and advertising images, as well as highly overlapped groups. This results in a large number of groups with more densely and intrinsically connected images.
|
| 61 |
+
|
| 62 |
+
(2) Metadata Expansion. To provide detailed textual information of images for later LLMs with massive metadata expansion, we annotate images with Alt-texts $^3$ , image content annotation (ICA) labels $^4$ , and captions. We discard images if their Alt-texts are unqualified. For ICA labels, we annotate entities for each image, such as general objects and activities. For image captions, we adopt a SOTA LMM —
|
| 63 |
+
|
| 64 |
+
PaLI (Chen et al., 2023a) to generate captions. Each type of metadata provides textual information about images from different perspectives. See Appendix A for more details.
|
| 65 |
+
|
| 66 |
+
(3) Scoring & Filtering. After obtaining groups of images along with their extensive metadata, we pair up images within the same group and eliminate unqualified pairs using a combination of relevance measures. We use the CLIP image-to-image score to assess visual relevance and the text-to-text score for non-visual relevance. Image pairs that don't meet the criteria, such as those with low scores in both aspects, are excluded from consideration. To avoid the over-sampling of redundant images and duplicated relations, we set a maximum of three pairs for each group, thereby ensuring a more uniform distribution of images and relations in our training data (see Figure 5).
|
| 67 |
+
|
| 68 |
+
Open-Ended Instruction Generation. With the informative metadata of high-quality paired images, LLMs are able to well understand the image content (ICA and caption) and their background information (Alt-text). Using instruction (Chung et al., 2022), few-shot demonstrations (Brown et al., 2020), and chain-of-thought prompting (Wei et al., 2022) techniques, PaLM2 (Anil et al., 2023) generates open-ended instructions that precisely connect the paired images ( $image_{q}$ , $image_{t}$ ). Figure 3 illustrates generated instructions and Appendix 10 shows the detailed prompt and demonstrations. Eventually, we obtain 36.7M triplets ( $image_{q}$ , $text$ , $image_{t}$ ) for self-supervised image retrieval training.
|
| 69 |
+
|
| 70 |
+
# 3.2. MagicLens Model
|
| 71 |
+
|
| 72 |
+
Model Design. As shown in Figure 4, we adopt a simple dual-encoder architecture with shared parameters and initialize the backbone vision and language encoders with CoCa (Yu et al., 2022) or CLIP (Radford et al., 2021). To enable deep modality integration, we introduce multiple self-attention layers and design a single multi-head attention pooler, compressing the multimodal inputs into a single embedding $\mathbf{r}$ for later matching. Additionally, since the retrieval target comprises only an image without accompanying text, we employ an empty text string " " to transform the target into a multimodal input. We denote $\mathbf{r}_q$ as the embedding for the multimodal query $(\text{image}_q, \text{text})$ and $\mathbf{r}_t$ as the embedding for the target $(\text{image}_t, \dots)$ . Considering the efficiency, we propose MagicLens-B and MagicLens-L, initialized with the base and large checkpoints, respectively.
|
| 73 |
+
|
| 74 |
+
Model Training. We use a simple contrastive loss to train MagicLens. Our model is updated by contrasting the paired query-target against other targets in one training batch. In particular, as the query image itself $(image_{q})$ can be a challenging hard negative for the multimodal query $(image_{q},text)$ , we combine the query image itself and an empty text to encode $(image_{q},\ldots)$ to get $r_t^\prime$ as an additional query neg-
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
Figure 4. Model architecture and training of MagicLens Encoder (E), which takes the vision and language embeddings and feeds them as a sequence to self-attention layers for modality integration.
|
| 78 |
+
|
| 79 |
+
ative example. To scale up the number of negative examples, for each query image, we use all query negatives and other target negatives in the same batch. Formally, for the $i$ -th training example, the loss function $\mathcal{L}_i$ is defined as,
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
- \log \frac {e ^ {\operatorname* {s i m} \left(\boldsymbol {r} _ {q} ^ {i} , \boldsymbol {r} _ {t} ^ {i}\right) / \tau}}{\sum_ {j = 1} ^ {N} \left(e ^ {\operatorname* {s i m} \left(\boldsymbol {r} _ {q} ^ {i} , \boldsymbol {r} _ {t} ^ {j}\right) / \tau} + e ^ {\operatorname* {s i m} \left(\boldsymbol {r} _ {q} ^ {i} , \boldsymbol {r} _ {t} ^ {j ^ {\prime}}\right) / \tau}\right)},
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $\mathrm{sim}(,)$ indicates a cosine similarity function $\frac{\boldsymbol{r}_q^T\boldsymbol{r}_t}{||\boldsymbol{r}_q||\cdot||\boldsymbol{r}_t||}$ , $N$ refers to the sampled batch size, and $\tau$ is a temperature hyperparameter for logit scaling. Please refer to Appendix A for more implementation details.
|
| 86 |
+
|
| 87 |
+
# 4. Experiments
|
| 88 |
+
|
| 89 |
+
# 4.1. Experiment Setup
|
| 90 |
+
|
| 91 |
+
Benchmarks and Metrics. To comprehensively evaluate MagicLens' multimodality-to-image retrieval ability, we consider three related tasks in a zero-shot, one-checkpoint setting: (1) composed image retrieval (CIR), (2) domain transfer retrieval, and (3) conditional image similarity. Each task has different yet limited sets of image relations. Table 2 shows the detailed statistics of five benchmarks.
|
| 92 |
+
|
| 93 |
+
Composed Image Retrieval. We consider one domain-specific and two open-domain benchmarks to evaluate the model's domain adaptability and its capability on real-world natural images, respectively. FIQ (Wu et al., 2021) is a fashion-domain benchmark with three disjoint retrieval sub-tasks: dress, shirt, and toptee. Following previous work (Saito et al., 2023; Baldrati et al., 2023; Gu et al., 2024), we evaluate on its validation set and report recall averaged over sub-tasks. CIRR (Liu et al., 2021) is the first dataset constructed on natural images (Suhr et al., 2019) with nine pre-defined relations between the query and the target images. It also includes a subset retrieval setting where models retrieve a target image from a dedicated small subset for each query. However, in addition to the limited size of the retrieval pool, it also suffers from false negative issues, as pointed out by Baldrati et al. (2023). We utilize recall (R and $\mathbf{R}_s$ ) to evaluate standard retrieval and subset retrieval. In contrast, to better align with the real-world large-scale
|
| 94 |
+
|
| 95 |
+
Table 1. Performance comparison on five benchmarks of three multimodality-to-image retrieval tasks. The results of baselines are from the original papers. We mark the best results in bold and the second-best results underlined. *CIReVL uses multiple model components including ChatGPT for retrieval, we report # parameters of components with known sizes. †PLI does not release code so we estimate.
|
| 96 |
+
|
| 97 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Backbone</td><td rowspan="2"># Total Params</td><td colspan="4">Composed Image Retrieval</td><td>Domain Trans DTIN</td><td>Cond ImSim GeneCIS</td></tr><tr><td>FIQ R@10</td><td>CIRR R@1</td><td>RS@1</td><td>CIRCO mAP@5</td><td>R@10</td><td>Rs@1</td></tr><tr><td>PALAVRA (Cohen et al., 2022)</td><td>CLIP-B</td><td>176M</td><td>19.8</td><td>16.6</td><td>41.6</td><td>4.6</td><td>-</td><td>-</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>CLIP-B</td><td>165M</td><td>22.9</td><td>24.0</td><td>54.9</td><td>9.4</td><td>-</td><td>-</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>CLIP-B</td><td>12.3B*</td><td>28.3</td><td>23.9</td><td>60.2</td><td>14.9</td><td>-</td><td>15.9</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>BLIP-B</td><td>224M†</td><td>35.9</td><td>27.2</td><td>55.1</td><td>7.1</td><td>-</td><td>-</td></tr><tr><td>MagicLens-B</td><td>CLIP-B</td><td>166M</td><td>26.3</td><td>27.0</td><td>66.7</td><td>23.1</td><td>28.3</td><td>15.0</td></tr><tr><td>MagicLens-B</td><td>CoCa-B</td><td>267M</td><td>35.2</td><td>31.6</td><td>69.3</td><td>30.8</td><td>46.8</td><td>17.4</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>CLIP-L</td><td>429M</td><td>24.7</td><td>23.9</td><td>-</td><td>8.7</td><td>10.1</td><td>11.2</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>CLIP-L</td><td>442M</td><td>25.6</td><td>24.2</td><td>53.8</td><td>11.7</td><td>-</td><td>12.3</td></tr><tr><td>Context-I2W (Tang et al., 2024)</td><td>CLIP-L</td><td>496M</td><td>27.8</td><td>25.6</td><td>-</td><td>-</td><td>12.9</td><td>-</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>CLIP-L</td><td>568M</td><td>36.0</td><td>18.2</td><td>57.4</td><td>12.6</td><td>-</td><td>14.9</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>CLIP-L</td><td>12.5B*</td><td>28.6</td><td>24.6</td><td>59.5</td><td>18.6</td><td>-</td><td>15.9</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>CLIP-L</td><td>428M†</td><td>35.4</td><td>25.5</td><td>55.6</td><td>10.4</td><td>-</td><td>-</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>CLIP-L</td><td>442M</td><td>26.3</td><td>25.0</td><td>57.1</td><td>12.6</td><td>-</td><td>12.2</td></tr><tr><td>MagicLens-L</td><td>CLIP-L</td><td>465M</td><td>30.7</td><td>30.1</td><td>68.1</td><td>29.6</td><td>41.5</td><td>16.3</td></tr><tr><td>MagicLens-L</td><td>CoCa-L</td><td>613M</td><td>38.0</td><td>33.3</td><td>70.9</td><td>34.1</td><td>48.2</td><td>16.7</td></tr></table>
|
| 98 |
+
|
| 99 |
+
Table 2. Statistics of five evaluation benchmarks. We average the number of queries over sub-tasks (e.g., FIQ), if available. The # Index represents the size of the retrieval pool that is shared amongst all queries and the # Subset Index is the average size of subsets, each of which is dedicated for a query.
|
| 100 |
+
|
| 101 |
+
<table><tr><td></td><td colspan="2">Open-Domain</td><td rowspan="2"># Query</td><td rowspan="2"># Index</td><td rowspan="2"># Subset Index</td></tr><tr><td></td><td>Image?</td><td>Instr?</td></tr><tr><td>FIQ</td><td>X</td><td>X</td><td>2,005</td><td>5,179</td><td>-</td></tr><tr><td>CIRR</td><td>✓</td><td>X</td><td>4,148</td><td>2,316</td><td>8.3</td></tr><tr><td>CIRCO</td><td>✓</td><td>X</td><td>800</td><td>123,403</td><td>-</td></tr><tr><td>DTIN</td><td>✓</td><td>X</td><td>10,000</td><td>16,983</td><td>-</td></tr><tr><td>GeneCIS</td><td>✓</td><td>X</td><td>2,008</td><td>-</td><td>13.8</td></tr></table>
|
| 102 |
+
|
| 103 |
+
retrieval, CIRCO annotates multiple ground truths for each query and has over 120K natural images (Lin et al., 2014) as the index set. Therefore, we regard CIRCO as our main benchmark. As each query has multiple targets, we adopt mean Average Precision (mAP) as the evaluation metric.
|
| 104 |
+
|
| 105 |
+
Domain Transfer Retrieval. Domain Transfer ImageNet (DTIN; Saito et al. (2023)) aims to retrieve an image from another domain with the same conceptual object shown in the query image. It is constructed from natural images in ImageNet (Deng et al., 2009) and images in other domains in ImageNet-R (Hendrycks et al., 2021). For example, given a domain keyword "cartoon" and a real horse image as a query, models are expected to retrieve a cartoon horse from the index set with images from multiple domains. It covers 4 domains, 10K objects, and over 16K images as the index set. Following prior works (Saito et al., 2023; Karthik et al., 2024), we report recall averaged over sub-tasks.
|
| 106 |
+
|
| 107 |
+
Conditional Image Similarity. GeneCIS (Vaze et al., 2023) is a keyword-conditioned image similarity measurement benchmark. It has four sub-tasks about changing or focusing the attribute or object in the given image. For each
|
| 108 |
+
|
| 109 |
+
query image and keyword, models need to find the most similar images to the query image, conditioned on the given keyword, from a dedicated small subset with 13.8 images on average. For example, in the change-object sub-task with keyword "car" and an image, models need to find another image depicting a similar scene but with additional cars.
|
| 110 |
+
|
| 111 |
+
Baselines. We consider several baselines: (1) PALARVA (Cohen et al., 2022), (2) Pic2Word (Saito et al., 2023), (3) SEARLE (Baldrati et al., 2023), (4) ContextI2W (Tang et al., 2024), (5) LinCIR (Gu et al., 2024), (6) CIREVL (Karthik et al., 2024) (7) CompoDiff (Gu et al., 2023) and (8) PLI (Chen & Lai, 2023). Details of these methods are described in Appendix B.
|
| 112 |
+
|
| 113 |
+
# 4.2. Multimodality-to-Image Retrieval
|
| 114 |
+
|
| 115 |
+
Table 1 shows results over five benchmarks from three tasks, from which we have the following observations:
|
| 116 |
+
|
| 117 |
+
First, with the comparable model size, both CLIP- and CoCa-based MagicLens outperform previous state-of-the-art models across the four open-domain benchmarks by a large margin, especially CoCa-based MagicLens-L on the challenging CIRCO (mAP@5 from 12.6 to 34.1) and DTIN (R@10 from 12.9 to 48.2). This shows the strong capability of MagicLens. We leave full results on Appendix C and detailed parameter efficiency analysis on § 5.2.
|
| 118 |
+
|
| 119 |
+
Second, by comparing MagicLens-L to MagicLens-B, we find generally consistent performance improvements across five benchmarks. This demonstrates the constructed data is of high quality and can benefit larger models. Also, this observation shows the scalability thanks to the simple dual-encoder model architecture and contrastive loss.
|
| 120 |
+
|
| 121 |
+
Table 3. Zero-shot image-text retrieval results. Results are marked in bold if they are better than initialized checkpoints. \*CoCa we reproduced and used for MagicLens. ${}^{ \dagger }$ CoCa reported in the original paper.
|
| 122 |
+
|
| 123 |
+
<table><tr><td rowspan="3">Model</td><td colspan="6">Flickr30K (1K test set)</td><td colspan="6">MSCOCO (5K test set)</td></tr><tr><td colspan="3">Image → Text</td><td colspan="3">Text → Image</td><td colspan="3">Image → Text</td><td colspan="3">Text → Image</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td>CoCa-B†</td><td>89.8</td><td>98.8</td><td>99.8</td><td>76.8</td><td>93.7</td><td>96.8</td><td>63.8</td><td>84.7</td><td>90.7</td><td>47.5</td><td>72.4</td><td>80.9</td></tr><tr><td>CoCa-B*</td><td>88.6</td><td>98.5</td><td>99.4</td><td>74.5</td><td>93.4</td><td>96.4</td><td>63.4</td><td>84.2</td><td>90.4</td><td>46.4</td><td>71.5</td><td>80.1</td></tr><tr><td>MagicLens-B</td><td>87.9</td><td>97.7</td><td>99.5</td><td>76.2</td><td>93.7</td><td>96.5</td><td>64.8</td><td>85.5</td><td>91.2</td><td>48.9</td><td>73.9</td><td>82.5</td></tr><tr><td>CoCa-L†</td><td>91.4</td><td>99.2</td><td>99.9</td><td>79.0</td><td>95.1</td><td>97.4</td><td>65.4</td><td>85.6</td><td>91.4</td><td>50.1</td><td>73.8</td><td>81.8</td></tr><tr><td>CoCa-L*</td><td>92.1</td><td>98.8</td><td>99.9</td><td>78.4</td><td>94.2</td><td>96.9</td><td>65.1</td><td>85.5</td><td>91.3</td><td>49.3</td><td>73.2</td><td>81.5</td></tr><tr><td>MagicLens-L</td><td>89.6</td><td>98.7</td><td>99.4</td><td>79.7</td><td>95.0</td><td>97.4</td><td>67.7</td><td>87.6</td><td>92.7</td><td>53.1</td><td>77.4</td><td>84.9</td></tr></table>
|
| 124 |
+
|
| 125 |
+
Table 4. Results on three image-to-image retrieval benchmarks. The results of baselines are from Lin et al. (2023) with separate checkpoints for each benchmark while MagicLens (ML) models are evaluated across benchmarks under one-checkpoint setting.
|
| 126 |
+
|
| 127 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">TU-Berlin</td><td colspan="2">Sketchy</td><td colspan="2">QuickDraw</td></tr><tr><td>mAP</td><td>P@100</td><td>mAP@200</td><td>P@200</td><td>mAP</td><td>P@200</td></tr><tr><td>ViT (2021)</td><td>36.0</td><td>50.3</td><td>40.3</td><td>51.2</td><td>10.1</td><td>11.3</td></tr><tr><td>SOTA (2023)</td><td>56.9</td><td>63.7</td><td>52.5</td><td>62.4</td><td>14.5</td><td>21.6</td></tr><tr><td>ML-B-CLIP</td><td>45.9</td><td>57.9</td><td>49.3</td><td>60.6</td><td>10.1</td><td>14.0</td></tr><tr><td>ML-B-CoCa</td><td>61.7</td><td>72.1</td><td>70.5</td><td>77.2</td><td>13.9</td><td>19.9</td></tr><tr><td>ML-L-CLIP</td><td>62.9</td><td>73.1</td><td>68.2</td><td>75.8</td><td>15.1</td><td>20.4</td></tr><tr><td>ML-L-CoCa</td><td>70.2</td><td>79.1</td><td>75.7</td><td>81.3</td><td>19.7</td><td>27.4</td></tr></table>
|
| 128 |
+
|
| 129 |
+
# 4.3. Image-to-Image Retrieval
|
| 130 |
+
|
| 131 |
+
Although MagicLens models are trained for $(image_{q},text)$ $\rightarrow$ image $t$ task format, they can naturally cover image $q$ $\rightarrow$ image $t$ tasks by providing a fixed text instruction for all image $q$ . As a case study, we consider zero-shot sketch based image retrieval (ZS-SBIR) task where models need to retrieve a natural image given a sketch of it. By simply using "find a natural image of it" for all query images, MagicLens can perform such a task.
|
| 132 |
+
|
| 133 |
+
Following the prior zero-shot SOTA methods (Liu et al., 2019; Lin et al., 2023) in this domain, we consider three benchmarks, namely TU-Berlin (Zhang et al., 2016), Sketchy (Yelamarthi et al., 2018), and QuickDraw (Dey et al., 2019). TU-Berlin has 30 classes, 2,400 sketch queries, and 27,989 natural images as index set; Sketchy consists of 21 classes unseen in ImageNet-1K and 12,694 queries over an index set with 12,553 natural images; QuickDraw has 30 classes, 92,291 queries, and a 54,146-sized index set. For each dataset, we report mAP and precision metrics used in the prior SOTA work (Lin et al., 2023).
|
| 134 |
+
|
| 135 |
+
Notably, unlike previous zero-shot methods that use separate checkpoints trained on each dataset and evaluated on the above holdout test set, we use the same checkpoints for evaluation on all benchmarks. Results are reported in Table 4 and we can find that our models outperform prior SOTA methods by a significant margin, despite our adherence to a single checkpoint setting. This demonstrates the strong generalization capability of MagicLens models and the diversity of tasks that they can cover.
|
| 136 |
+
|
| 137 |
+
# 4.4. Text-to-Image Retrieval
|
| 138 |
+
|
| 139 |
+
Since MagicLens models are built upon vision and language encoders, these backbone encoders after training can still be reused for image $\rightarrow$ text and text $\rightarrow$ image retrieval tasks. Therefore, we evaluate MagicLens' backbone encoders on Flickr30k (Plummer et al., 2015) and MSCOCO (Chen et al., 2015), using the same dataset splits and evaluation metrics as prior works (Radford et al., 2021; Yu et al., 2022).
|
| 140 |
+
|
| 141 |
+
Table 3 shows the comparison between the original encoders and the ones updated after MagicLens training. For $text \rightarrow image$ task, we can observe consistent and non-trivial improvements across all metrics on both datasets. For $image \rightarrow text$ task, we observe marginal drops. These observations show that our training recipe can enhance the backbone encoders for text-to-image retrieval. We can draw the same conclusion with CLIP, which is detailed in Table 17. The improvements might stem from the fact that our multimodality-to-image training task necessitates deep understanding of text instruction, thus improving backbone language encoders. These text-to-image results, along with the results on image-to-image and multimodality-to-image tasks, show that MagicLens can well handle various forms of image retrieval tasks, all with strong performances.
|
| 142 |
+
|
| 143 |
+
# 5. Analysis
|
| 144 |
+
|
| 145 |
+
# 5.1. Data Analysis
|
| 146 |
+
|
| 147 |
+
Comparison to Existing Training Data. Previous data construction efforts, including CompoDiff (Gu et al., 2023) and InstructPix2Pix (IP2P; Brooks et al. (2023)), use synthesized image pairs and essentially template-based instructions to train image retrieval models. Given the data availability and the fact that CompoDiff adopts a creation pipeline similar to IP2P, we use IP2P data as our baseline to explore the effects of different training data on downstream models. We compare a CoCa-based MagicLens-B model trained on all IP2P data (1M) with one trained on our downsampled, same-sized data, using the same training recipe. Table 5 shows that MagicLens + Ours achieves performance advantages over its variant trained with IP2P data (Mag-
|
| 148 |
+
|
| 149 |
+
Table 5. Performance comparison of CoCa-based MagicLens-B trained with 1M IP2P data against 1M our data. We report averaged R@10 & R@50 on FIQ and averaged R@1 & Rs@1 CIRR for comparisons with CompoDiff (Gu et al., 2023).
|
| 150 |
+
|
| 151 |
+
<table><tr><td></td><td>FIQ (R_AVG)</td><td>CIRR (R_AVG)</td><td>CIRCO (mAP@5)</td><td>DTIN (R@10)</td><td>GeneCIS (R@1)</td></tr><tr><td>CompoDiff + IP2P</td><td>27.2</td><td>27.4</td><td>-</td><td>-</td><td>-</td></tr><tr><td>MagicLens + IP2P</td><td>29.8</td><td>33.7</td><td>13.6</td><td>30.2</td><td>14.5</td></tr><tr><td>MagicLens + Ours</td><td>43.7</td><td>48.2</td><td>29.7</td><td>43.7</td><td>15.8</td></tr></table>
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
(a) IP2P
|
| 155 |
+
Figure 5. Word distributions of IP2P data and our data.
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
(b) Our training data
|
| 159 |
+
|
| 160 |
+
icLens + IP2P) on all five benchmarks. This proves that our data with natural images and template-free instructions can enable stronger image retrieval models. Please refer to Appendix C for detailed comparisons.
|
| 161 |
+
|
| 162 |
+
In addition, we compare these two models with IP2P-trained CompoDiff, which is a retrieval model designed for using synthesized images. Despite its specific design, MagicLens + IP2P still outperforms the CompoDiff + IP2P. Also, it achieves better results on CIRCO, DTIN, and GeneCIS than prior comparable-sized SOTA baselines. These show the advantage of our training recipe, as our model can achieve decent results even when trained on sub-optimal data.
|
| 163 |
+
|
| 164 |
+
To provide more insights, we visualize the words of instructions in IP2P and in our data separately in Figure 5. As we can see, IP2P data has a large number of instruction keywords like "turn" and "make" due to its template-based nature. Also, it has many coarse-grained keywords such as "photograph" and "painting". In contrast, because of the controlled sampling from one web page described in § 3.1, our data has more diverse and equally distributed keywords, covering fine-grained labels like "brand".
|
| 165 |
+
|
| 166 |
+
Data Scaling. To investigate the effect of our data scale on models, we train CoCa-based MagicLens-B on randomly sampled sets of 0.2M, 0.5M, 1M, 5M, 10M, 25M, and the entire 36.7M triplets. Results on five benchmarks and their average performance are illustrated in Figure 6. As the data size increases, MagicLens shows enhanced average performance, especially before the 10M mark. This indicates the effectiveness of scaling data.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 6. Performance of CoCa-based MagicLens-B when trained with different sizes of our data.
|
| 170 |
+
|
| 171 |
+
Table 6. Results of CoCa-based MagicLens-B trained with template-based and template-free instructions, at 1M scale.
|
| 172 |
+
|
| 173 |
+
<table><tr><td>Instruction</td><td>FIQ R@10</td><td>CIRR R@1</td><td>CIRCO mAP@5</td><td>DTIN R@10</td><td>GeneCIS R@1</td></tr><tr><td>Template-based</td><td>33.4</td><td>23.4</td><td>25.1</td><td>23.1</td><td>14.6</td></tr><tr><td>Template-free</td><td>33.5</td><td>29.6</td><td>29.7</td><td>43.7</td><td>15.8</td></tr></table>
|
| 174 |
+
|
| 175 |
+
Impacts of Instructions during Training. Instructions used in previous works (Brooks et al., 2023; Gu et al., 2023) are rooted from templates while our instructions are template-free. To investigate the effects of different instructions on downstream models, we also synthesize template-based instructions for naturally occurring image pairs collected in § 3.1. Specifically, due to the massive informative metadata of each image, we utilize LLMs to determine key metadata to fill pre-defined sentence structures. For our template-free instructions, LLMs are specifically guided to generate diverse and coherent instructions without adhering to any fixed template. We show concrete examples of different instructions in Figure 10 in the Appendix.
|
| 176 |
+
|
| 177 |
+
Table 6 compares the performance of two CoCa-based MagicLens-B models. Both of them are trained on 1M triplets, using the same image pairs but different instructions mentioned above. Template-free instructions clearly result in a stronger model, as evidenced by consistently better results on all benchmarks compared to the other model. This demonstrates that naturally expressed and diverse instructions can better stimulate the model to understand image relations and follow instructions.
|
| 178 |
+
|
| 179 |
+
# 5.2. Model Analysis
|
| 180 |
+
|
| 181 |
+
Model Size vs. Performance. Previous SOTA methods (Gu et al., 2024; 2023) consider using both larger vision and language encoders (Cherti et al., 2023) or using LMMs and LLMs on-the-fly (Karthik et al., 2024) for performance benefits. However, we argue that the model sizes and the
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
|
| 185 |
+

|
| 186 |
+
Figure 7. Model Size vs. Performance. MagicLens-B outperforms the SOTA CIREVL on three tasks even with $50 \times$ smaller # Parameters.
|
| 187 |
+
|
| 188 |
+

|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
|
| 192 |
+
Table 7. Ablation study on CoCa-based MagicLens-B taking query images as negative samples during training (Qry Neg).
|
| 193 |
+
|
| 194 |
+
<table><tr><td></td><td>FIQ R@10</td><td>CIRR R@1</td><td>CIRCO mAP@5</td><td>DTIN R@10</td><td>GeneCIS R@1</td></tr><tr><td>MagicLens</td><td>35.2</td><td>31.6</td><td>30.8</td><td>46.8</td><td>17.4</td></tr><tr><td>w/o Qry Neg</td><td>33.2</td><td>1.6</td><td>11.9</td><td>14.1</td><td>14.5</td></tr></table>
|
| 195 |
+
|
| 196 |
+
correlated efficiencies should also be taken into consideration for real-world deployments. In Figure 7, we visualize the relationship between model size and performance of various models on GeneCIS, CIRCO, and DTIN benchmarks. The results on GeneCIS and CIRCO are from Gu et al. (2024; 2023) and using CLIP-Large, OpenCLIP-Huge, and OpenCLIP-Giant backbones (Radford et al., 2021; Cherti et al., 2023). Results of CIREVL (Karthik et al., 2024) on DTIN are not fully reported by the authors. We omit the size of ChatGPT used and only count parameters of CIREVL's other model components (e.g., BLIP2-FLANT5-XXL + OpenCLIP-Giant).
|
| 197 |
+
|
| 198 |
+
Despite the $50 \times$ smaller size of CoCa-based MagicLens-B (267M) compared to other baselines (e.g., CIREVL with 14.6B), it achieves better performance on these benchmarks, with a significant advantage on the DTIN. This observation demonstrates the high parameter efficiency introduced by the parameter-sharing design in our model and the strong advantage of our data in enabling strong yet small models. Detailed results are in Table 14, 15, and 16 in Appendix.
|
| 199 |
+
|
| 200 |
+
Ablation on Contrastive Loss. Compared to standard contrastive loss, we introduce query images as hard negative examples during training. To investigate the impact of this design, we train CoCa-based MagicLens-B without these hard negatives and report the results in Table 7. As we can see, without query negatives, the performance of MagicLens drops across all benchmarks, significantly on the CIRR, CIRCO, and DTIN benchmarks. Also, we find in many cases, this model prefers to rank the query image itself higher than other images during retrieval, regardless of the
|
| 201 |
+
|
| 202 |
+
Table 8. Results of MagicLens variants. CrossAttn indicates the model with cross-attention instead of self-attention for modality integration. FrozenEnc means the model with backbone vision and language encoders frozen during training.
|
| 203 |
+
|
| 204 |
+
<table><tr><td></td><td>FIQ R@10</td><td>CIRR R@1</td><td>CIRCO mAP@5</td><td>DTIN R@10</td><td>GeneCIS R@1</td></tr><tr><td>MagicLens-B</td><td>35.2</td><td>31.6</td><td>30.8</td><td>46.8</td><td>17.4</td></tr><tr><td>w/ CrossAttn</td><td>31.0</td><td>28.3</td><td>27.0</td><td>41.4</td><td>16.2</td></tr><tr><td>w/ FrozenEnc</td><td>30.8</td><td>25.9</td><td>21.7</td><td>30.1</td><td>15.2</td></tr><tr><td>MagicLens-L</td><td>38.0</td><td>33.3</td><td>34.1</td><td>48.2</td><td>16.7</td></tr><tr><td>w/ CrossAttn</td><td>32.3</td><td>29.9</td><td>28.5</td><td>52.5</td><td>16.5</td></tr><tr><td>w/ FrozenEnc</td><td>32.5</td><td>26.5</td><td>23.0</td><td>29.4</td><td>15.5</td></tr></table>
|
| 205 |
+
|
| 206 |
+
given instructions. This indicates that differentiating closely similar images is crucial in improving the model's instruction understanding capabilities. Importantly, although using query negatives seems to limit MagicLens' ability to find the identical image, the first example in Figure 1 shows MagicLens can generalize to this instruction unseen during training and successfully retrieve the identical image.
|
| 207 |
+
|
| 208 |
+
Ablation on Model Architecture. We provide results of other model architectures we have explored in Table 8. In CrossAttn model arch, we explore various forms of cross attention, we report the best one which uses text embedding to attend concatenated image and text embeddings. However, even the best variant of this arch fails to reach the performance of self attention on most benchmarks.
|
| 209 |
+
|
| 210 |
+
We also explore the impact of freezing the backbone encoders initialized from CoCa (Yu et al., 2022) during training. The results of FrozenEnc are consistently worse than the fully-trained MagicLens. This proves that merely training additional layers on the top of single-modality encoders is not sufficient to deliver the strongest model.
|
| 211 |
+
|
| 212 |
+
# 5.3. Retrieval on 1.4M Open-Domain Image Corpus
|
| 213 |
+
|
| 214 |
+
To simulate image retrieval in a more realistic scenario, we hold out 1.4M unseen images as our index set, mak
|
| 215 |
+
|
| 216 |
+
Table 9. One-on-one comparison (win rate) on a holdout index set with 1.4M images. Each setting has 50 queries with manually written instructions. The results are averaged over three evaluators.
|
| 217 |
+
|
| 218 |
+
<table><tr><td>Instruction Type</td><td>MagicLens-L Win</td><td>LinCIR Win</td><td>Tie</td></tr><tr><td>Simple Visual</td><td>50.7</td><td>41.3</td><td>8.0</td></tr><tr><td>Complex Visual</td><td>61.3</td><td>24.0</td><td>14.7</td></tr><tr><td>Beyond Visual</td><td>80.0</td><td>4.7</td><td>15.3</td></tr></table>
|
| 219 |
+
|
| 220 |
+
ing it the largest retrieval pool to date. We then collect 150 images and divide them into three disjoint groups with different types of manually written instructions: simple, complex, and beyond visual. Both simple and complex instructions are used in searching for visually similar images, but they differ in terms of complexity. Simple instructions describe only one visual difference (e.g. same product with different color) in the images given, whereas complex ones have multiple differences (e.g., car and bag examples in Figure 8). Beyond visual instructions aim to find images that share no visual similarities with the query images (e.g., find other attractions... in Figure 1).
|
| 221 |
+
|
| 222 |
+
Table 9 compares CoCa-based MagicLens-L with code-available previous-best model (LinCIR; Gu et al. (2024)), both with ViT-L backbones. For each query, one-on-one human evaluation is applied to the images retrieved by these two models to select the one that fully meets the instructions. If both or neither of the models succeed, the evaluators will mark them as a tie. We can observe LinCIR can handle simple instructions but suffers from complex instructions and almost completely fails on beyond visual instructions. In contrast, our method can satisfy diverse search intents expressed by all kinds of instructions, remarkably on the complex (61.3 vs. 24.0) and beyond visual (80 vs. 4.7) ones.
|
| 223 |
+
|
| 224 |
+
# 5.4. Qualitative Study
|
| 225 |
+
|
| 226 |
+
Figure 8 illustrates top-1 retrieval results on the holdout index set with 1.4M images. Even with complex instruction containing multiple conditions (car and bag examples), MagicLens is still able to accurately comprehend search intents and retrieve desired images. The muffin example showcases that MagicLens can understand the non-trivial temporal relation between images, thanks to the relation diversity introduced by naturally occurring image pairs. However, the image retrieved by MagicLens given the 3D anatomy query may not be generally preferred since the instruction exemplifies the head. This suggests our model may return qualified yet imperfect examples when the instruction is not clearly expressed. Please refer to Figure 11 in Appendix D for more qualitative studies.
|
| 227 |
+
|
| 228 |
+
Figure 9 presents a visual case study on domain transfer retrieval using the DTIN benchmark. The text instruction presented in each domain is "find this object in {domain}", where the same query image is used. All top-2 retrieved
|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
Same car model as the given image, but a 2013 model, blue in color, and parked in front of trees.
|
| 232 |
+
|
| 233 |
+

|
| 234 |
+
Bucket bag from the same brand, in gray, without a person holding the bag.
|
| 235 |
+
MagicLens
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
MagicLens
|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
LinCIR
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
Baking muffins, but show the process of adding the pumpkin pie spice.
|
| 249 |
+
MagicLens
|
| 250 |
+
|
| 251 |
+

|
| 252 |
+
3D rendering of human anatomy of a different body part like the head.
|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
Figure 8. Top-1 retrieved images of CoCa-based MagicLens-L and LinCIR on the holdout index set with 1.4M images. Queries are with a blue background, while correct and incorrect retrieved images are marked with green and red outlines, respectively. LinCIR fails to retrieve correct results for car, bag, and muffin queries, even considering its top-5 results (see Figure 11 in Appendix).
|
| 256 |
+
|
| 257 |
+

|
| 258 |
+
LinCIR
|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
MagicLens
|
| 262 |
+
|
| 263 |
+

|
| 264 |
+
LinCIR
|
| 265 |
+
|
| 266 |
+

|
| 267 |
+
Query Text:
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
cartoon
|
| 271 |
+
Figure 9. Top-2 retrieval results on four domains given the same query image on the DTIN benchmark.
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
origami
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
toy
|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
sculpture
|
| 281 |
+
|
| 282 |
+

|
| 283 |
+
|
| 284 |
+

|
| 285 |
+
|
| 286 |
+
results are correct, highlighting the effectiveness of MagicLens in understanding conceptual image relations.
|
| 287 |
+
|
| 288 |
+
# 6. Conclusion
|
| 289 |
+
|
| 290 |
+
We present MagicLens, a series of image retrieval models that follow open-ended text instructions. Despite being $50 \times$ smaller than prior SOTA methods, MagicLens achieves better results on multiple benchmarks including CIRCO, GeneCIS, and DTIN. Human evaluation on the 1.4M retrieval image pool shows that MagicLens can well satisfy diverse search intents expressed by open-ended instructions, especially complex and beyond visual ones. This indicates MagicLens' strong capability and potential for real-world search scenarios. Such retrieval models that support open-ended instructions can potentially benefit other vision-language tasks such as visual QA (Antol et al., 2015; Chen et al., 2023c), and enhance multimodal retrieval augmented models (Chen et al., 2022; Hu et al., 2023b). More importantly, we hope our recipe for constructing large-scale synthetic self-supervised training data can shed light on other research directions, such as multimodal retrieval, multimodal representation learning, and beyond.
|
| 291 |
+
|
| 292 |
+
# Impact Statement
|
| 293 |
+
|
| 294 |
+
This work provides novel insights into self-supervised training by mining naturally occurring image pairs and develops image retrieval models that follow open-ended instructions to satisfy diverse search intents. It may enable a wide range of search scenarios and have potentials for real-world applications by providing users with more accurate search results. However, despite careful filtering out explicit and offensive images in the training data, MagicLens' ability to understand image relationships could still be misused for inappropriate image searches. Careful consideration and mitigation strategies are necessary to address these risks.
|
| 295 |
+
|
| 296 |
+
# Acknowledgements
|
| 297 |
+
|
| 298 |
+
The authors would like to thank Jinhyuk Lee, William Cohen, Jonathan Berant, Kristina Toutanova, Boqing Gong, and other members from the Google DeepMind Seattle for their constructive feedback.
|
| 299 |
+
|
| 300 |
+
# References
|
| 301 |
+
|
| 302 |
+
Anil, R., Dai, A. M., First, O., Johnson, M., Lepikhin, D., Passos, A., Shakeri, S., Taropa, E., Bailey, P., Chen, Z., Chu, E., Clark, J. H., Shafey, L. E., Huang, Y., Meier-Hellstern, K., Mishra, G., Moreira, E., Omernick, M., Robinson, K., Ruder, S., Tay, Y., Xiao, K., Xu, Y., Zhang, Y., Abrego, G. H., Ahn, J., Austin, J., Barham, P., Botha, J., Bradbury, J., Brahma, S., Brooks, K., Catasta, M., Cheng, Y., Cherry, C., Choquette-Choo, C. A., Chowdhery, A., Crepy, C., Dave, S., Dehghani, M., Dev, S., Devlin, J., Diaz, M., Du, N., Dyer, E., Feinberg, V., Feng, F., Fienber, V., Freitag, M., Garcia, X., Gehrmann, S., Gonzalez, L., Gur-Ari, G., Hand, S., Hashemi, H., Hou, L., Howland, J., Hu, A., Hui, J., Hurwitz, J., Isard, M., Ittycheriah, A., Jagielski, M., Jia, W., Kenealy, K., Krikun, M., Kudugunta, S., Lan, C., Lee, K., Lee, B., Li, E., Li, M., Li, W., Li, Y., Li, J., Lim, H., Lin, H., Liu, Z., Liu, F., Maggioni, M., Mahendru, A., Maynez, J., Misra, V., Moussalem, M., Nado, Z., Nham, J., Ni, E., Nystrom, A., Parrish, A., Pellat, M., Polacek, M., Polozov, A., Pope, R., Qiao, S., Reif, E., Richter, B., Riley, P., Ros, A. C., Roy, A., Saeta, B., Samuel, R., Shelby, R., Slone, A., Smilkov, D., So, D. R., Sohn, D., Tokumine, S., Valter, D., Vasudevan, V., Vodrahalli, K., Wang, X., Wang, P. Wang,Z.WangT.WietingJ.WuY.XuK.XuY. XueL.YinP.YuJ.ZhangQ.ZhengS.Zheng C.ZhouW.ZhouD.PetrovS.and WuY.Palm 2 technical report. arXiv preprint arXiv:2305.104032023.
|
| 303 |
+
Antol, S., Agrawal, A., Lu, J., Mitchell, M., Batra, D., Zitnick, C. L., and Parikh, D. VQA: visual question answering. In Proceedings of ICCV, 2015.
|
| 304 |
+
|
| 305 |
+
Asai, A., Schick, T., Lewis, P., Chen, X., Izacard, G., Riedel, S., Hajishirzi, H., and Yih, W.-t. Task-aware retrieval with instructions. In Findings of ACL, 2023.
|
| 306 |
+
Baldrati, A., Agnolucci, L., Bertini, M., and Del Bimbo, A. Zero-shot composed image retrieval with textual inversion. In Proceedings of ICCV, 2023.
|
| 307 |
+
Brooks, T., Holynski, A., and Efros, A. A. Instructpix2pix: Learning to follow image editing instructions. In Proceedings of CVPR, 2023.
|
| 308 |
+
Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D., Wu, J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M., Gray, S., Chess, B., Clark, J., Berner, C., McCandlish, S., Radford, A., Sutskever, I., and Amodei, D. Language models are few-shot learners. In Proceedings of NeurIPS, 2020.
|
| 309 |
+
Chen, J. and Lai, H. Pretrain like your inference: Masked tuning improves zero-shot composed image retrieval. arXiv preprint arXiv:2311.07622, 2023.
|
| 310 |
+
Chen, J., Hu, H., Wu, H., Jiang, Y., and Wang, C. Learning the best pooling strategy for visual semantic embedding. In Proceedings of CVPR, 2021.
|
| 311 |
+
Chen, W., Hu, H., Chen, X., Verga, P., and Cohen, W. W. Murag: Multimodal retrieval-augmented generator for open question answering over images and text. In Proceedings of EMNLP, 2022.
|
| 312 |
+
Chen, X., Fang, H., Lin, T.-Y., Vedantam, R., Gupta, S., Dollar, P., and Zitnick, C. L. Microsoft coco captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015.
|
| 313 |
+
Chen, X., Djolonga, J., Padlewski, P., Mustafa, B., Chang-pinyo, S., Wu, J., Ruiz, C. R., Goodman, S., Wang, X., Tay, Y., et al. Pali-x: On scaling up a multilingual vision and language model. arXiv preprint arXiv:2305.18565, 2023a.
|
| 314 |
+
Chen, X., Wang, X., Changpinyo, S., Piergiovanni, A., Padlewski, P., Salz, D., Goodman, S., Grycner, A., Mustafa, B., Beyer, L., Kolesnikov, A., Puigcerver, J., Ding, N., Rong, K., Akbari, H., Mishra, G., Xue, L., Thapliyal, A. V., Bradbury, J., Kuo, W., Seyedhosseini, M., Jia, C., Ayan, B. K., Ruiz, C. R., Steiner, A. P., Angelova, A., Zhai, X., Houlsby, N., and Soricut, R. PaLI: A jointly-scaled multilingual language-image model. In Proceedings of ICLR, 2023b.
|
| 315 |
+
|
| 316 |
+
Chen, Y., Hu, H., Luan, Y., Sun, H., Changpinyo, S., Ritter, A., and Chang, M. Can pre-trained vision and language models answer visual information-seeking questions? In Proceedings of EMNLP, 2023c.
|
| 317 |
+
Cherti, M., Beaumont, R., Wightman, R., Wortsman, M., Ilharco, G., Gordon, C., Schuhmann, C., Schmidt, L., and Jitsev, J. Reproducible scaling laws for contrastive language-image learning. In Proceedings of CVPR, 2023.
|
| 318 |
+
Chung, H. W., Hou, L., Longpre, S., Zoph, B., Tay, Y., Fedus, W., Li, Y., Wang, X., Dehghani, M., Brahma, S., Webson, A., Gu, S. S., Dai, Z., Suzgun, M., Chen, X., Chowdhery, A., Castro-Ros, A., Pellat, M., Robinson, K., Valter, D., Narang, S., Mishra, G., Yu, A., Zhao, V., Huang, Y., Dai, A., Yu, H., Petrov, S., Chi, E. H., Dean, J., Devlin, J., Roberts, A., Zhou, D., Le, Q. V., and Wei, J. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416, 2022.
|
| 319 |
+
Cohen, N., Gal, R., Meirom, E. A., Chechik, G., and Atzmon, Y. "this is my unicorn, fluffy": Personalizing frozen vision-language representations. In Proceedings of ECCV, 2022.
|
| 320 |
+
Datta, R., Joshi, D., Li, J., and Wang, J. Z. Image retrieval: Ideas, influences, and trends of the new age. ACM Comput. Surv., 2008.
|
| 321 |
+
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. Imagenet: A large-scale hierarchical image database. In Proceedings of CVPR, 2009.
|
| 322 |
+
Dey, S., Riba, P., Dutta, A., Llados, J., and Song, Y.-Z. Doodle to search: Practical zero-shot sketch-based image retrieval. In Proceedings of CVPR, 2019.
|
| 323 |
+
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., and Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale. In Proceedings of ICLR, 2021.
|
| 324 |
+
Faghri, F., Fleet, D. J., Kiros, J. R., and Fidler, S. Vse++: Improving visual-semantic embeddings with hard negatives. arXiv preprint arXiv:1707.05612, 2017.
|
| 325 |
+
Gordo, A., Almazán, J., Revaud, J., and Larlus, D. Deep image retrieval: Learning global representations for image search. In Proceedings of ECCV, 2016.
|
| 326 |
+
Gu, G., Chun, S., Kim, W., Jun, H., Kang, Y., and Yun, S. Compodiff: Versatile composed image retrieval with latent diffusion. arXiv preprint arXiv:2303.11916, 2023.
|
| 327 |
+
Gu, G., Chun, S., Kim, W., Kang, Y., and Yun, S. Language-only training of zero-shot composed image retrieval. In Proceedings of CVPR, 2024.
|
| 328 |
+
|
| 329 |
+
Hendrycks, D., Basart, S., Mu, N., Kadavath, S., Wang, F., Dorundo, E., Desai, R., Zhu, T., Parajuli, S., Guo, M., Song, D., Steinhardt, J., and Gilmer, J. The many faces of robustness: A critical analysis of out-of-distribution generalization. In Proceedings of ICCV, 2021.
|
| 330 |
+
Hu, H., Luan, Y., Chen, Y., Khandelwal, U., Joshi, M., Lee, K., Toutanova, K., and Chang, M.-W. Open-domain visual entity recognition: Towards recognizing millions of wikipedia entities. In Proceedings of CVPR, 2023a.
|
| 331 |
+
Hu, Z., Iscen, A., Sun, C., Wang, Z., Chang, K.-W., Sun, Y., Schmid, C., Ross, D. A., and Fathi, A. Reveal: Retrieval-augmented visual-language pre-training with multi-source multimodal knowledge memory. In Proceedings of CVPR, 2023b.
|
| 332 |
+
Jia, C., Yang, Y., Xia, Y., Chen, Y.-T., Parekh, Z., Pham, H., Le, Q., Sung, Y.-H., Li, Z., and Duerig, T. Scaling up visual and vision-language representation learning with noisy text supervision. In Proceedings of ICML, 2021.
|
| 333 |
+
Karthik, S., Roth, K., Mancini, M., and Akata, Z. Vision-by-language for training-free compositional image retrieval. In Proceedings of ICLR, 2024.
|
| 334 |
+
Kim, W., Son, B., and Kim, I. Vilt: Vision-and-language transformer without convolution or region supervision. In Proceedings of ICML, 2021.
|
| 335 |
+
Li, J., Selvaraju, R., Gotmare, A., Joty, S., Xiong, C., and Hoi, S. C. H. Align before fuse: Vision and language representation learning with momentum distillation. In Proceedings of NeurIPS, 2021.
|
| 336 |
+
Li, J., Li, D., Xiong, C., and Hoi, S. BLIP: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In Proceedings of ICML, 2022.
|
| 337 |
+
Li, J., Li, D., Savarese, S., and Hoi, S. BLIP-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In Proceedings of ICML, 2023.
|
| 338 |
+
Lin, F., Li, M., Li, D., Hospedales, T., Song, Y.-Z., and Qi, Y. Zero-shot everything sketch-based image retrieval, and in explainable style. In Proceedings of CVPR, 2023.
|
| 339 |
+
Lin, T., Maire, M., Belongie, S. J., Hays, J., Perona, P., Ramanan, D., Dollar, P., and Zitnick, C. L. Microsoft COCO: common objects in context. In Proceedings of ECCV, 2014.
|
| 340 |
+
Liu, Q., Xie, L., Wang, H., and Yuille, A. Semantic-aware knowledge preservation for zero-shot sketch-based image retrieval. In Proceedings of ICCV, 2019.
|
| 341 |
+
|
| 342 |
+
Liu, Z., Rodriguez-Opazo, C., Teney, D., and Gould, S. Image retrieval on real-life images with pre-trained vision-and-language models. In Proceedings of ICCV, 2021.
|
| 343 |
+
Lou, R., Zhang, K., and Yin, W. A comprehensive survey on instruction following. arXiv preprint arXiv:2303.10475, 2024.
|
| 344 |
+
OpenAI. Chatgpt, 2022. URL https://openai.com/blog/chatgpt.
|
| 345 |
+
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., Schulman, J., Hilton, J., Kelton, F., Miller, L., Simens, M., Askell, A., Welinder, P., Christiano, P. F., Leike, J., and Lowe, R. Training language models to follow instructions with human feedback. In Proceedings of NeurIPS, 2022.
|
| 346 |
+
Plummer, B. A., Wang, L., Cervantes, C. M., Caicedo, J. C., Hockenmaier, J., and Lazebnik, S. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In Proceedings of ICCV, 2015.
|
| 347 |
+
Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., and Sutskever, I. Learning transferable visual models from natural language supervision. In Proceedings of ICML, 2021.
|
| 348 |
+
Saito, K., Sohn, K., Zhang, X., Li, C.-L., Lee, C.-Y., Saenko, K., and Pfister, T. Pic2word: Mapping pictures to words for zero-shot composed image retrieval. In Proceedings of CVPR, 2023.
|
| 349 |
+
Schuhmann, C., Beaumont, R., Vencu, R., Gordon, C. W., Wightman, R., Cherti, M., Coombes, T., Katta, A., Mullis, C., Wortsman, M., Schramowski, P., Kundurthy, S. R., Crowson, K., Schmidt, L., Kaczmarczyk, R., and Jitsev, J. LAION-5b: An open large-scale dataset for training next generation image-text models. In Proceedings of NeurIPS, 2022.
|
| 350 |
+
Sharma, P., Ding, N., Goodman, S., and Soricut, R. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of ACL, 2018.
|
| 351 |
+
Shazeer, N. and Stern, M. Adafactor: Adaptive learning rates with sublinear memory cost. In Proceedings of ICML, 2018.
|
| 352 |
+
Su, H., Shi, W., Kasai, J., Wang, Y., Hu, Y., Ostendorf, M., Yih, W.-t., Smith, N. A., Zettlemoyer, L., and Yu, T. One embedder, any task: Instruction-finetuned text embeddings. In Findings of ACL, 2023.
|
| 353 |
+
|
| 354 |
+
Suhr, A., Zhou, S., Zhang, A., Zhang, I., Bai, H., and Artzi, Y. A corpus for reasoning about natural language grounded in photographs. In Proceedings of ACL, 2019.
|
| 355 |
+
Tang, Y., Yu, J., Gai, K., Zhuang, J., Xiong, G., Hu, Y., and Wu, Q. Context-i2w: Mapping images to context-dependent words for accurate zero-shot composed image retrieval. In Proceedings of AAAI, 2024.
|
| 356 |
+
Vaze, S., Carion, N., and Misra, I. Genesis: A benchmark for general conditional image similarity. In Proceedings of CVPR, 2023.
|
| 357 |
+
Vo, N., Jiang, L., Sun, C., Murphy, K., Li, L.-J., Fei-Fei, L., and Hays, J. Composing text and image for image retrieval - an empirical odyssey. In Proceedings of CVPR, 2019.
|
| 358 |
+
Wang, W., Bao, H., Dong, L., Bjorck, J., Peng, Z., Liu, Q., Aggarwal, K., Mohammed, O. K., Singhal, S., Som, S., and Wei, F. Image as a foreign language: Beit pretraining for vision and vision-language tasks. In Proceedings of CVPR, 2023.
|
| 359 |
+
Wei, C., Chen, Y., Chen, H., Hu, H., Zhang, G., Fu, J., Ritter, A., and Chen, W. Uniir: Training and benchmarking universal multimodal information retrievers. arXiv preprint arXiv:2311.17136, 2023.
|
| 360 |
+
Wei, J., Wang, X., Schuurmans, D., Bosma, M., richter, b., Xia, F., Chi, E., Le, Q. V., and Zhou, D. Chain-of-thought prompting elicits reasoning in large language models. In Proceedings of NeurIPS, 2022.
|
| 361 |
+
Wu, H., Gao, Y., Guo, X., Al-Halah, Z., Rennie, S., Grauman, K., and Feris, R. Fashion iq: A new dataset towards retrieving images by natural language feedback. In Proceedings of CVPR, 2021.
|
| 362 |
+
Yelamarthi, S. K., Reddy, S. K., Mishra, A., and Mittal, A. A zero-shot framework for sketch based image retrieval In Proceedings of ECCV, 2018.
|
| 363 |
+
Yu, J., Wang, Z., Vasudevan, V., Yeung, L., Seyedhosseini, M., and Wu, Y. Coca: Contrastive captioners are imagetext foundation models. Transactions on Machine Learning Research, 2022.
|
| 364 |
+
Zhai, X., Kolesnikov, A., Houlsby, N., and Beyer, L. Scaling vision transformers. In Proceedings of CVPR, 2022.
|
| 365 |
+
Zhang, H., Liu, S., Zhang, C., Ren, W., Wang, R., and Cao, X. Sketchnet: Sketch classification with web images. In Proceedings of CVPR, 2016.
|
| 366 |
+
|
| 367 |
+
# Overview of Appendix
|
| 368 |
+
|
| 369 |
+
Our supplementary includes the following sections:
|
| 370 |
+
|
| 371 |
+
Section A: Implementation Details.
|
| 372 |
+
Section B:Baselines.
|
| 373 |
+
Section C: Full Results.
|
| 374 |
+
- Section D: More Qualitative Study.
|
| 375 |
+
|
| 376 |
+
# A. Implementation Details
|
| 377 |
+
|
| 378 |
+
Image Cleaning and Pairing. We use the Common crawl and group images with identical URLs, considering them as images from the same websites. We regard two images as identical if their CLIP image embedding scores exceed 0.98 and remove them. If two groups share a high ratio of duplicated images (80%), we randomly remove one of those groups. The minimum resolution remained is $288 \times 288$ , which matches the input size of CoCa models we used. For the concrete thresholds used for filtering, we have set 0.82 as the threshold for CLIP image-to-image similarity and 0.9 for text-to-text similarity over captions. Additionally, to ensure the uniqueness of the images, the target image must have a distinct ICA label with high text-image similarity to itself (0.32) and low similarity to the query image (0.18). Only image pairs that meet these requirements will be remained for the instruction generation stage.
|
| 379 |
+
|
| 380 |
+
Instruction Generation. We provide LLMs with massive metadata expansion including Alt-texts, image content annotation (ICA) labels, and image captions by using various tools and LMMs. Specifically, similar to Sharma et al. (2018), we analyze candidate Alt-texts with part-of-speech, sentiment, and pornography annotations of Google Natural Language APIs. We discard images if their Alt-texts only have rare tokens or if they are triggered by sentiment/pornography detectors For ICA labels, we utilize Google Vision APIs to annotate entities for each image such as general objects, locations, and activities. On average, each image has 25.2 fine-grained ICA labels. Also, we provide the instruction and two detailed demonstrations for instruction generation in Table 10.
|
| 381 |
+
|
| 382 |
+
Model. With the proposed data construction pipeline, we eventually collect 36, 714, 118 triplets for pre-training. For model architecture, we design 4 randomly initialized self-attention layers on the top of vision and language encoders. Further, we utilize one attention pooling layer (Yu et al., 2022) for the final embedding. Following Jia et al. (2021); Yu et al. (2022), during the training of CoCa-based MagicLens, we set image resolution of $288 \times 288$ and patch size $18 \times 18$ . For CLIP-based MagicLens, we set image resolution of $224 \times 224$ and use ViT-B16 and ViT-L14. For both CLIP and CoCa, we use contrastive image embedding and contrastive text embedding, which will be concatenated as a sequence with a fixed length of 2 in self-attention layers. The number of newly added self-attention layers is 4 and the $\tau$ is learnable and initialized with 0.07. We set the batch size as 2048 and trained our models for a maximum of 50,000 steps with Adafactor (Shazeer & Stern, 2018) and an early stopping mechanism. The learning rates are set differently for newly-introduced parameters and re-used CLIP or CoCa parameters, at 2e-5 and 2e-6, respectively. We train our base and large models on 64 and 128 TPUs, respectively. The training process lasts six hours for both models and the best checkpoints are selected based on the performance on the validation set of CIRR and CIRCO.
|
| 383 |
+
|
| 384 |
+
# B. Baselines
|
| 385 |
+
|
| 386 |
+
We consider various baselines and detail them as follows: (1) PALARVA (Cohen et al., 2022) (2) Pic2Word (Saito et al., 2023), (3) SEARLE (Baldrati et al., 2023), (4) ContextI2W (Tang et al., 2024), and (5) LinCIR (Gu et al., 2024) train an additional mapping network to encode the given reference image as a pseudo word token. Then, it can be combined with the actual query text for text-to-image retrieval. These methods rely on image-caption pairs for mapping network training. Further, LinCIR introduces text-only data for better mapping capability. (6) CIReVL (Karthik et al., 2024) is a training-free method by using BLIP-2 with FLANT5-XXL (Li et al., 2023) for query image caption generation, ChatGPT (OpenAI, 2022) for target image caption generation, and CLIP (Radford et al., 2021; Cherti et al., 2023) for the final text-to-image retrieval. Such a complex retrieval pipeline may limit their inference speed and potential practicalness in real-world scenarios. Inspired by diffusion models, (7) CompoDiff (Gu et al., 2023) regards query text as a condition to guide the image embedding generation and train the model with 18M synthesized data. (8) PLI (Chen & Lai, 2023) corrupts the image in image-caption data and regards the original image as a target to simulate the CIR task during the pre-training stage.
|
| 387 |
+
|
| 388 |
+
Table 10. Detailed prompt for query generation using PaLM2 (Anil et al., 2023).
|
| 389 |
+
|
| 390 |
+
<table><tr><td>Instruction</td><td>Based on the provided ALTTEXT, TEXT.Label, and CAPTION of two different images, create an interesting text query which can be used with the source image to retrieve the target image.
|
| 391 |
+
Note that the TEXT.Label and CAPTION are generated by models so they may not be 100% correct, especially when it's about very specific entities (e.g., a specific car type in some year), so selectively use the most likely correct information and generate the query.
|
| 392 |
+
This query should include:
|
| 393 |
+
1) one general and unspecific similarity (same brand, similar toy, similar building, etc).
|
| 394 |
+
2) all differences that only the target image has.
|
| 395 |
+
Remember the query should be concise, short, and not be able to directly retrieve the target image. The retrieval has to be done by combining the source image and text query.</td></tr><tr><td rowspan="3">Demonstrations</td><td>Both images are from the website [HOME - 1-of-1 Automotive Artworks]
|
| 396 |
+
Source Image: ALTTEXT [custom porsche Cayman gt4 illustration framed]. TEXT.Label [Licence plate].
|
| 397 |
+
CAPTION [a drawing of a porsche gt4 rs coupe in a frame].
|
| 398 |
+
Target Image: ALTTEXT [custom illustration of a 1972 porsche 911 blue]. TEXT.Label [Licence plate, Turquoise].
|
| 399 |
+
CAPTION [a framed print of a blue porsche 911 s all coupe].
|
| 400 |
+
Think: Both images are custom illustrations of Porsche cars as described in the alt.text. The source image is a Porsche Cayman GT4 while the target image is a 1972 Porsche 911 in blue. Therefore, the query should focus on the type of image (custom illustration of a Porsche car), but specify the different model and year (1972 Porsche 911) and color (blue).
|
| 401 |
+
Query: [Porsche 911 in blue shown in the same illustrative way.]</td></tr><tr><td>Both Images are from the website [Rapunzel Worksheet — Printable Worksheets and Activities for Teachers, Parents, Tutors and Homeschool Families]
|
| 402 |
+
Source Image: ALTTEXT [tangled rapunzel color pages printable]. TEXT.Label [Coloring book]. CAPTION [rapunzel in a boat with lanterns floating in the air coloring page].
|
| 403 |
+
Target Image: ALTTEXT [cool rapunzel and flynn flower hair coloring page]. TEXT.Label [Coloring book, Floral design].
|
| 404 |
+
CAPTION [a black and white drawing of rapunzel tangled with long hair and flowers in her dress].
|
| 405 |
+
Think: Both images are coloring pages featuring Rapunzel as described in the alt.text. The source image shows Rapunzel in a boat with lanterns, while the target image shows Rapunzel with Flynn and flowers in her hair. Therefore, the query should focus on the type of image (Rapunzel coloring page), but specify the different scene (Rapunzel with Flynn and flowers in her hair, not in a boat, no lanterns).
|
| 406 |
+
Query: [Same coloring page about Rapunzel but no boat or lantern, with more clear flowers in the character's hair]</td></tr><tr><td>... (Three more few-shot demonstrations)</td></tr></table>
|
| 407 |
+
|
| 408 |
+
Table 11. Detailed performance of CoCa-based MagicLens-B trained with IP2P data and our constructed data, on the same 1M scale.
|
| 409 |
+
|
| 410 |
+
<table><tr><td></td><td>FIQ R@10</td><td>CIRR R@1</td><td>CIRR \(R_s@1\)</td><td>CIRCO mAP@5</td><td>DTIN R@10</td><td>GeneCIS R@1</td></tr><tr><td>MagicLens + IP2P (1M)</td><td>20.3</td><td>12.5</td><td>54.9</td><td>13.6</td><td>30.2</td><td>14.5</td></tr><tr><td>MagicLens + Ours (1M)</td><td>33.5</td><td>29.6</td><td>66.9</td><td>29.7</td><td>43.7</td><td>15.8</td></tr></table>
|
| 411 |
+
|
| 412 |
+
# C. Full Results
|
| 413 |
+
|
| 414 |
+
# C.1. Results on Five Multimodality-to-Image Benchmarks
|
| 415 |
+
|
| 416 |
+
Table 12, 13, and 14 show the full results on three CIR benchmarks (Wu et al., 2021; Liu et al., 2021; Baldrati et al., 2023). We report the performances of various models on DT and GeneCIS on Table 15 and Table 16, respectively. Some prior methods may use larger encoders (Gu et al., 2023; 2024) and develop a retrieval pipeline (Karthik et al., 2024) including LLMs (OpenAI, 2022) and LMMs (Li et al., 2023) for performance gains. Despite this, their results are still worse than that of MagicLens, supporting the parameter efficiency claimed in Figure 7.
|
| 417 |
+
|
| 418 |
+
# C.2. Data Training Comparison
|
| 419 |
+
|
| 420 |
+
Table 11 compares CoCa-based MagicLens-B trained on IP2P data and on our data in detail, both at a 1M scale.
|
| 421 |
+
|
| 422 |
+
# C.3. Text-to-Image Retrieval with CLIP-based MagicLens
|
| 423 |
+
|
| 424 |
+
We list the text-to-image retrieval results in Table 17 with the original CLIP and updated backbone CLIP encoders of MagicLens. The text-to-image retrieval performance is significantly boosted on both base and large models where image-to-text retrieval ability marginally drops. This aligns with the conclusion we draw on CoCa in § 4.4.
|
| 425 |
+
|
| 426 |
+

|
| 427 |
+
Figure 10. Examples of template-based and template-free instructions for the same image pair.
|
| 428 |
+
|
| 429 |
+
same {text "Stay Well Lubricated Sleep With A Mechanic" but {on a shirt} instead of {a mug}.
|
| 430 |
+
|
| 431 |
+
T-shirt with the same text as the given image.
|
| 432 |
+
|
| 433 |
+

|
| 434 |
+
|
| 435 |
+
# C.4. Examples of Template-based Instructions
|
| 436 |
+
|
| 437 |
+
We provide a concrete example of different instructions on the same image pair in Figure 10.
|
| 438 |
+
|
| 439 |
+
# D. More Qualitative Study
|
| 440 |
+
|
| 441 |
+
We present detailed top-5 retrieval results of CoCa-based MagicLens-L and the code-available SOTA LinCIR (Gu et al., 2024) in Figure 11. 1) For the bag query, MagicLens can retrieve bags (the third and fourth images) from the same brand, even though they don't have shared visual clues (brand logo) with the query image. 2) Given the house and gavel query, our model successfully finds an interesting real-world scene and the perfect example in the top-2 results, but LinCIR fails to satisfy the query. This may stem from the limited representation abilities of a single pseudo token for an image with multiple objects. 3) The success on the gazebo example shows that MagicLens can understand simple numerical relations.
|
| 442 |
+
|
| 443 |
+
Table 12. Full results on the FIQ benchmark (Wu et al., 2021). CLIP-H and CLIP-G are OpenCLIP (Cherti et al., 2023) checkpoints. \*CIReVL uses multiple model components, we omit ChatGPT and report # parameters of other components (e.g., BLIP2-FLANT5-XXL + CLIP-G). ${}^{ \dagger }$ PLI does not release code so we estimate.
|
| 444 |
+
|
| 445 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2"># Total Params</td><td rowspan="2">Backbone Network</td><td colspan="2">Dress</td><td colspan="2">Shirt</td><td colspan="2">Toptee</td><td colspan="2">Overall</td></tr><tr><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td></tr><tr><td>PALAVRA (Cohen et al., 2022)</td><td>176M</td><td>CLIP-B</td><td>17.3</td><td>35.9</td><td>21.5</td><td>37.1</td><td>20.6</td><td>38.8</td><td>19.8</td><td>37.3</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>165M</td><td>CLIP-B</td><td>18.5</td><td>39.5</td><td>24.4</td><td>41.6</td><td>25.7</td><td>46.5</td><td>22.9</td><td>42.5</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.3B*</td><td>CLIP-B</td><td>25.3</td><td>46.4</td><td>28.4</td><td>47.8</td><td>31.2</td><td>53.9</td><td>28.3</td><td>49.4</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>224M</td><td>BLIP-B</td><td>28.6</td><td>50.8</td><td>38.1</td><td>57.8</td><td>40.9</td><td>62.7</td><td>35.9</td><td>57.1</td></tr><tr><td>MagicLens-B</td><td>166M</td><td>CLIP-B</td><td>21.5</td><td>41.3</td><td>27.3</td><td>48.8</td><td>30.2</td><td>52.3</td><td>26.3</td><td>47.4</td></tr><tr><td>MagicLens-B</td><td>267M</td><td>CoCa-B</td><td>29.0</td><td>48.9</td><td>36.5</td><td>55.5</td><td>40.2</td><td>61.9</td><td>35.2</td><td>55.4</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>429M</td><td>CLIP-L</td><td>20.0</td><td>40.2</td><td>26.2</td><td>43.6</td><td>27.9</td><td>47.4</td><td>24.7</td><td>43.7</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>442M</td><td>CLIP-L</td><td>20.5</td><td>43.1</td><td>26.9</td><td>45.6</td><td>29.3</td><td>50.0</td><td>25.6</td><td>46.2</td></tr><tr><td>Context-I2W (Tang et al., 2024)</td><td>496M</td><td>CLIP-L</td><td>23.1</td><td>45.3</td><td>29.7</td><td>48.6</td><td>30.6</td><td>52.9</td><td>27.8</td><td>48.9</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>568M</td><td>CLIP-L</td><td>32.2</td><td>46.3</td><td>37.7</td><td>49.1</td><td>38.1</td><td>50.6</td><td>36.0</td><td>48.6</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.5B*</td><td>CLIP-L</td><td>24.8</td><td>44.8</td><td>29.5</td><td>47.4</td><td>31.4</td><td>53.7</td><td>28.6</td><td>48.6</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>428M†</td><td>CLIP-L</td><td>28.1</td><td>51.1</td><td>38.6</td><td>58.5</td><td>39.4</td><td>62.7</td><td>35.4</td><td>57.4</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>442M</td><td>CLIP-L</td><td>20.9</td><td>42.4</td><td>29.1</td><td>46.8</td><td>28.8</td><td>50.2</td><td>26.3</td><td>46.5</td></tr><tr><td>MagicLens-L</td><td>465M</td><td>CLIP-L</td><td>25.5</td><td>46.1</td><td>32.7</td><td>53.8</td><td>34.0</td><td>57.7</td><td>30.7</td><td>52.5</td></tr><tr><td>MagicLens-L</td><td>613M</td><td>CoCa-L</td><td>32.3</td><td>52.7</td><td>40.5</td><td>59.2</td><td>41.4</td><td>63.0</td><td>38.0</td><td>58.2</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>987M</td><td>CLIP-H</td><td>28.0</td><td>51.5</td><td>36.9</td><td>56.0</td><td>40.2</td><td>62.0</td><td>35.0</td><td>56.5</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>1.0B</td><td>CLIP-H</td><td>28.5</td><td>51.1</td><td>36.5</td><td>55.5</td><td>38.8</td><td>60.9</td><td>34.6</td><td>55.8</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>1.0B</td><td>CLIP-H</td><td>29.8</td><td>52.1</td><td>36.9</td><td>57.8</td><td>42.1</td><td>62.5</td><td>36.3</td><td>57.5</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>2.5B</td><td>CLIP-G</td><td>25.4</td><td>47.7</td><td>33.2</td><td>50.4</td><td>35.2</td><td>57.6</td><td>31.3</td><td>51.9</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>2.6B</td><td>CLIP-G</td><td>28.2</td><td>50.3</td><td>36.5</td><td>55.4</td><td>39.8</td><td>61.5</td><td>34.8</td><td>55.7</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>2.9B</td><td>CLIP-G</td><td>37.8</td><td>49.1</td><td>41.3</td><td>55.2</td><td>44.3</td><td>56.4</td><td>39.0</td><td>51.7</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>14.6B*</td><td>CLIP-G</td><td>27.1</td><td>49.5</td><td>33.7</td><td>51.4</td><td>35.8</td><td>56.1</td><td>32.2</td><td>52.4</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>2.6B</td><td>CLIP-G</td><td>38.1</td><td>60.9</td><td>46.8</td><td>65.1</td><td>50.5</td><td>71.1</td><td>45.1</td><td>65.7</td></tr></table>
|
| 446 |
+
|
| 447 |
+
Table 13. Full results on the CIRR benchmark (Liu et al., 2021). CLIP-H and CLIP-G are OpenCLIP (Cherti et al., 2023) checkpoints. \*CIReVL uses multiple model components, we omit ChatGPT and report # parameters of other components (e.g., BLIP2-FLANT5-XXL + CLIP-G). ${}^{ \dagger }$ PLI does not release code so we estimate.
|
| 448 |
+
|
| 449 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2"># Total Params</td><td rowspan="2">Backbone Network</td><td colspan="4">Index Set</td><td colspan="3">Subset</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@50</td><td>R@1</td><td>R@2</td><td>R@3</td></tr><tr><td>PALAVRA (Cohen et al., 2022)</td><td>176M</td><td>CLIP-B</td><td>16.6</td><td>43.5</td><td>58.5</td><td>84.0</td><td>41.6</td><td>65.3</td><td>80.9</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>165M</td><td>CLIP-B</td><td>24.0</td><td>53.4</td><td>66.8</td><td>89.8</td><td>54.9</td><td>76.6</td><td>88.2</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.3B*</td><td>CLIP-B</td><td>23.9</td><td>52.5</td><td>66.0</td><td>87.0</td><td>60.2</td><td>80.1</td><td>90.2</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>224M†</td><td>BLIP-B</td><td>27.2</td><td>58.9</td><td>71.4</td><td>91.3</td><td>55.1</td><td>77.4</td><td>89.1</td></tr><tr><td>MagicLens-B</td><td>166M</td><td>CLIP-B</td><td>27.0</td><td>58.0</td><td>70.9</td><td>91.1</td><td>66.7</td><td>83.9</td><td>92.4</td></tr><tr><td>MagicLens-B</td><td>267M</td><td>CoCa-B</td><td>31.6</td><td>64.0</td><td>76.9</td><td>93.8</td><td>69.3</td><td>86.0</td><td>94.0</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>429M</td><td>CLIP-L</td><td>23.9</td><td>51.7</td><td>65.3</td><td>87.8</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>442M</td><td>CLIP-L</td><td>24.2</td><td>52.5</td><td>66.3</td><td>88.8</td><td>53.8</td><td>75.0</td><td>88.2</td></tr><tr><td>Context-I2W (Tang et al., 2024)</td><td>496M</td><td>CLIP-L</td><td>25.6</td><td>55.1</td><td>68.5</td><td>89.8</td><td>-</td><td>-</td><td>-</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>568M</td><td>CLIP-L</td><td>18.2</td><td>53.1</td><td>70.8</td><td>90.3</td><td>57.4</td><td>77.1</td><td>87.9</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.5B*</td><td>CLIP-L</td><td>24.6</td><td>52.3</td><td>64.9</td><td>86.3</td><td>59.5</td><td>79.9</td><td>89.7</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>428M†</td><td>CLIP-L</td><td>25.5</td><td>54.6</td><td>67.6</td><td>88.7</td><td>55.6</td><td>77.5</td><td>89.5</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>442M</td><td>CLIP-L</td><td>25.0</td><td>53.3</td><td>66.7</td><td>-</td><td>57.1</td><td>77.4</td><td>88.9</td></tr><tr><td>MagicLens-L</td><td>465M</td><td>CLIP-L</td><td>30.1</td><td>61.7</td><td>74.4</td><td>92.6</td><td>68.1</td><td>84.8</td><td>93.2</td></tr><tr><td>MagicLens-L</td><td>613M</td><td>CoCa-L</td><td>33.3</td><td>67.0</td><td>77.9</td><td>94.4</td><td>70.9</td><td>87.3</td><td>94.5</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>987M</td><td>CLIP-H</td><td>32.9</td><td>63.1</td><td>73.9</td><td>-</td><td>62.2</td><td>81.4</td><td>91.2</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>1.0B</td><td>CLIP-H</td><td>34.0</td><td>64.0</td><td>75.3</td><td>-</td><td>64.6</td><td>83.2</td><td>92.8</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>1.0B</td><td>CLIP-H</td><td>33.8</td><td>63.5</td><td>73.4</td><td>-</td><td>62.4</td><td>81.5</td><td>92.1</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>2.5B</td><td>CLIP-G</td><td>30.4</td><td>58.1</td><td>69.2</td><td>-</td><td>68.9</td><td>85.5</td><td>93.0</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>2.6B</td><td>CLIP-G</td><td>34.8</td><td>64.1</td><td>75.1</td><td>-</td><td>68.7</td><td>84.7</td><td>93.2</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>2.9B</td><td>CLIP-G</td><td>26.7</td><td>55.1</td><td>74.5</td><td>92.0</td><td>64.5</td><td>82.4</td><td>91.8</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>14.6B*</td><td>CLIP-G</td><td>34.7</td><td>64.3</td><td>75.1</td><td>91.7</td><td>68.0</td><td>84.9</td><td>93.2</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>2.6B</td><td>CLIP-G</td><td>35.3</td><td>64.7</td><td>76.1</td><td>-</td><td>63.4</td><td>82.2</td><td>92.0</td></tr></table>
|
| 450 |
+
|
| 451 |
+
Table 14. Full results on the CIRCO benchmark (Baldrati et al., 2023). CLIP-H and CLIP-G are OpenCLIP (Cherti et al., 2023) checkpoints. *CIREVL uses multiple model components, we omit ChatGPT and report # parameters of other components (e.g., BLIP2-FLANT5-XXL + CLIP-G). †PLI does not release code so we estimate.
|
| 452 |
+
|
| 453 |
+
<table><tr><td>Method</td><td># Total Params</td><td>Backbone Network</td><td>mAP@5</td><td>mAP@10</td><td>mAP@25</td><td>mAP@50</td></tr><tr><td>PALAVRA (Cohen et al., 2022)</td><td>176M</td><td>CLIP-B</td><td>4.6</td><td>5.3</td><td>6.3</td><td>6.8</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>165M</td><td>CLIP-B</td><td>9.4</td><td>9.9</td><td>11.1</td><td>11.8</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.3B*</td><td>CLIP-B</td><td>14.9</td><td>15.4</td><td>17.0</td><td>17.8</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>224M†</td><td>BLIP-B</td><td>7.1</td><td>8.0</td><td>9.2</td><td>9.7</td></tr><tr><td>MagicLens-B</td><td>166M</td><td>CLIP-B</td><td>23.1</td><td>23.8</td><td>25.8</td><td>26.7</td></tr><tr><td>MagicLens-B</td><td>267M</td><td>CoCa-B</td><td>30.8</td><td>32.0</td><td>34.5</td><td>35.6</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>429M</td><td>CLIP-L</td><td>8.7</td><td>9.5</td><td>10.6</td><td>11.3</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>442M</td><td>CLIP-L</td><td>11.7</td><td>12.7</td><td>14.3</td><td>15.1</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>568M</td><td>CLIP-L</td><td>12.6</td><td>13.4</td><td>15.8</td><td>16.4</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>12.5B*</td><td>CLIP-L</td><td>18.6</td><td>19.0</td><td>20.9</td><td>21.8</td></tr><tr><td>PLI (Chen & Lai, 2023)</td><td>428M†</td><td>CLIP-L</td><td>10.4</td><td>11.6</td><td>13.0</td><td>13.7</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>442M</td><td>CLIP-L</td><td>12.6</td><td>13.6</td><td>15.0</td><td>15.9</td></tr><tr><td>MagicLens-L</td><td>465M</td><td>CLIP-L</td><td>29.6</td><td>30.8</td><td>33.4</td><td>34.4</td></tr><tr><td>MagicLens-L</td><td>613M</td><td>CoCa-L</td><td>34.1</td><td>35.4</td><td>38.1</td><td>39.2</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>987M</td><td>CLIP-H</td><td>11.7</td><td>12.3</td><td>13.7</td><td>14.4</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>1.0B</td><td>CLIP-H</td><td>16.1</td><td>16.9</td><td>18.8</td><td>19.7</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>1.0B</td><td>CLIP-H</td><td>17.6</td><td>18.5</td><td>20.5</td><td>21.4</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>2.5B</td><td>CLIP-G</td><td>5.5</td><td>5.6</td><td>6.7</td><td>7.1</td></tr><tr><td>SEARLE (Baldrati et al., 2023)</td><td>2.6B</td><td>CLIP-G</td><td>13.2</td><td>13.9</td><td>15.3</td><td>16.0</td></tr><tr><td>CompoDiff (Gu et al., 2023)</td><td>2.9B</td><td>CLIP-G</td><td>15.3</td><td>17.7</td><td>19.4</td><td>-</td></tr><tr><td>CIREVL (Karthik et al., 2024)</td><td>14.6B*</td><td>CLIP-G</td><td>26.8</td><td>27.6</td><td>30.0</td><td>31.0</td></tr><tr><td>LinCIR (Gu et al., 2024)</td><td>2.6B</td><td>CLIP-G</td><td>19.7</td><td>21.0</td><td>23.1</td><td>24.2</td></tr></table>
|
| 454 |
+
|
| 455 |
+
Table 15. Full results on the DTIN benchmark (Saito et al., 2023). CLIP-G is a OpenCLIP (Cherti et al., 2023) checkpoint. *CIREVL uses multiple model components, we omit ChatGPT and report # parameters of other components (e.g., BLIP2-FLANT5-XXL + CLIP-G).
|
| 456 |
+
|
| 457 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2"># Total Params</td><td rowspan="2">Backbone Network</td><td colspan="2">Cartoon</td><td colspan="2">Origami</td><td colspan="2">Toy</td><td colspan="2">Sculpture</td><td colspan="2">Overall</td></tr><tr><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td><td>R@10</td><td>R@50</td></tr><tr><td>Image-only (Saito et al., 2023)</td><td>304M</td><td>CLIP-L</td><td>0.3</td><td>4.5</td><td>0.2</td><td>1.8</td><td>0.6</td><td>5.7</td><td>0.3</td><td>4.0</td><td>0.4</td><td>4.0</td></tr><tr><td>Text-only (Saito et al., 2023)</td><td>124M</td><td>CLIP-L</td><td>0.2</td><td>1.1</td><td>0.8</td><td>3.7</td><td>0.8</td><td>2.4</td><td>0.4</td><td>2.0</td><td>0.5</td><td>2.3</td></tr><tr><td>Image+Text (Saito et al., 2023)</td><td>428M</td><td>CLIP-L</td><td>2.2</td><td>13.3</td><td>2.0</td><td>10.3</td><td>1.2</td><td>9.7</td><td>1.6</td><td>11.6</td><td>1.7</td><td>11.2</td></tr><tr><td>Pic2Word (Saito et al., 2023)</td><td>429M</td><td>CLIP-L</td><td>8.0</td><td>21.9</td><td>13.5</td><td>25.6</td><td>8.7</td><td>21.6</td><td>10.0</td><td>23.8</td><td>10.1</td><td>23.2</td></tr><tr><td>Context-I2W (Tang et al., 2024)</td><td>496M</td><td>CLIP-L</td><td>10.2</td><td>26.1</td><td>17.5</td><td>28.7</td><td>11.6</td><td>27.4</td><td>12.1</td><td>28.2</td><td>12.9</td><td>27.6</td></tr><tr><td>CIReVL (Karthik et al., 2024)</td><td>14.6B*</td><td>CLIP-G</td><td>19.2</td><td>42.8</td><td>30.2</td><td>41.3</td><td>22.2</td><td>43.1</td><td>23.4</td><td>45.0</td><td>23.8</td><td>43.0</td></tr><tr><td>MagicLens-B</td><td>166M</td><td>CLIP-B</td><td>49.4</td><td>67.0</td><td>13.8</td><td>26.3</td><td>25.8</td><td>43.4</td><td>24.3</td><td>41.3</td><td>28.3</td><td>44.5</td></tr><tr><td>MagicLens-B</td><td>267M</td><td>CoCa-B</td><td>65.8</td><td>73.3</td><td>29.3</td><td>38.6</td><td>46.7</td><td>57.7</td><td>45.3</td><td>57.1</td><td>46.8</td><td>56.7</td></tr><tr><td>MagicLens-L</td><td>465M</td><td>CLIP-L</td><td>62.6</td><td>72.2</td><td>21.5</td><td>33.4</td><td>43.8</td><td>58.4</td><td>38.0</td><td>54.2</td><td>41.5</td><td>54.5</td></tr><tr><td>MagicLens-L</td><td>613M</td><td>CoCa-L</td><td>60.1</td><td>69.6</td><td>36.0</td><td>44.7</td><td>45.2</td><td>56.9</td><td>51.4</td><td>59.6</td><td>48.2</td><td>57.7</td></tr></table>
|
| 458 |
+
|
| 459 |
+
Table 16. Full results on the GeneCIS benchmark (Vaze et al., 2023). *CIREVL uses multiple model components, we omit ChatGPT and report # parameters of other components (e.g., BLIP2-FLANT5-XXL + CLIP-G).
|
| 460 |
+
|
| 461 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2"># Params</td><td rowspan="2">Backbone Network</td><td colspan="3">Focus Attribute</td><td colspan="3">Change Attribute</td><td colspan="3">Focus Object</td><td colspan="3">Change Object</td><td>Avg</td></tr><tr><td>R@1</td><td>R@2</td><td>R@3</td><td>R@1</td><td>R@2</td><td>R@3</td><td>R@1</td><td>R@2</td><td>R@3</td><td>R@1</td><td>R@2</td><td>R@3</td><td>R@1</td></tr><tr><td>CIREVL (2024)</td><td>12.3B*</td><td>CLIP-B</td><td>17.9</td><td>29.4</td><td>40.4</td><td>14.8</td><td>25.8</td><td>35.8</td><td>14.6</td><td>24.3</td><td>33.3</td><td>16.1</td><td>27.8</td><td>37.6</td><td>15.9</td></tr><tr><td>MagicLens-B</td><td>166M</td><td>CLIP-B</td><td>15.5</td><td>28.4</td><td>39.1</td><td>12.3</td><td>23.0</td><td>32.1</td><td>14.4</td><td>26.2</td><td>35.5</td><td>17.7</td><td>28.4</td><td>39.2</td><td>15.0</td></tr><tr><td>MagicLens-B</td><td>267M</td><td>CoCa-B</td><td>16.2</td><td>27.8</td><td>38.6</td><td>16.2</td><td>27.2</td><td>36.6</td><td>17.1</td><td>27.7</td><td>38.2</td><td>20.2</td><td>32.2</td><td>42.9</td><td>17.4</td></tr><tr><td>Pic2Word (2023)</td><td>429M</td><td>CLIP-L</td><td>15.7</td><td>28.2</td><td>38.7</td><td>13.9</td><td>24.7</td><td>33.1</td><td>8.4</td><td>18.0</td><td>25.8</td><td>6.7</td><td>15.1</td><td>24.0</td><td>11.2</td></tr><tr><td>SEARLE (2023)</td><td>442M</td><td>CLIP-L</td><td>17.0</td><td>29.7</td><td>40.7</td><td>16.4</td><td>25.3</td><td>34.1</td><td>8.0</td><td>16.9</td><td>25.6</td><td>7.9</td><td>16.8</td><td>24.8</td><td>12.3</td></tr><tr><td>CompoDiff (2023)</td><td>568M</td><td>CLIP-L</td><td>13.5</td><td>24.3</td><td>36.1</td><td>19.2</td><td>28.6</td><td>37.2</td><td>8.1</td><td>16.4</td><td>25.1</td><td>18.7</td><td>31.7</td><td>40.6</td><td>14.9</td></tr><tr><td>CIREVL (2024)</td><td>12.5B*</td><td>CLIP-L</td><td>19.5</td><td>31.8</td><td>42.0</td><td>14.4</td><td>26.0</td><td>35.2</td><td>12.3</td><td>21.8</td><td>30.5</td><td>17.2</td><td>28.9</td><td>37.6</td><td>15.9</td></tr><tr><td>LinCIR (2024)</td><td>442M</td><td>CLIP-L</td><td>16.9</td><td>30.0</td><td>41.5</td><td>16.2</td><td>28.0</td><td>36.8</td><td>8.3</td><td>17.4</td><td>26.2</td><td>7.4</td><td>15.7</td><td>25.0</td><td>12.2</td></tr><tr><td>MagicLens-L</td><td>465M</td><td>CLIP-L</td><td>16.1</td><td>28.2</td><td>39.0</td><td>15.6</td><td>27.5</td><td>36.3</td><td>16.3</td><td>26.2</td><td>35.5</td><td>17.1</td><td>29.5</td><td>39.7</td><td>16.3</td></tr><tr><td>MagicLens-L</td><td>613M</td><td>CoCa-L</td><td>16.6</td><td>28.7</td><td>39.3</td><td>16.0</td><td>27.5</td><td>36.5</td><td>15.7</td><td>27.6</td><td>37.3</td><td>18.7</td><td>31.7</td><td>40.2</td><td>16.7</td></tr><tr><td>Pic2Word (2023)</td><td>987M</td><td>CLIP-H</td><td>18.6</td><td>30.7</td><td>42.1</td><td>13.2</td><td>23.9</td><td>33.1</td><td>9.2</td><td>17.6</td><td>27.1</td><td>6.6</td><td>16.5</td><td>25.4</td><td>11.9</td></tr><tr><td>SEARLE (2023)</td><td>1.0B</td><td>CLIP-H</td><td>18.8</td><td>31.5</td><td>42.3</td><td>15.5</td><td>26.9</td><td>35.9</td><td>10.6</td><td>18.7</td><td>26.5</td><td>8.5</td><td>17.9</td><td>26.2</td><td>13.3</td></tr><tr><td>LinCIR (2024)</td><td>1.0B</td><td>CLIP-H</td><td>19.6</td><td>31.5</td><td>41.6</td><td>16.6</td><td>27.6</td><td>37.5</td><td>9.8</td><td>18.8</td><td>27.9</td><td>9.0</td><td>17.6</td><td>25.7</td><td>13.8</td></tr><tr><td>Pic2Word (2023)</td><td>2.5B</td><td>CLIP-G</td><td>12.5</td><td>23.4</td><td>33.7</td><td>11.7</td><td>21.9</td><td>30.9</td><td>9.9</td><td>19.3</td><td>27.4</td><td>8.6</td><td>18.2</td><td>26.1</td><td>10.7</td></tr><tr><td>SEARLE (2023)</td><td>2.6B</td><td>CLIP-G</td><td>16.3</td><td>29.4</td><td>40.7</td><td>16.2</td><td>27.3</td><td>35.5</td><td>10.8</td><td>18.2</td><td>27.9</td><td>8.3</td><td>15.6</td><td>25.8</td><td>12.9</td></tr><tr><td>CompoDiff (2023)</td><td>2.9B</td><td>CLIP-G</td><td>14.3</td><td>26.7</td><td>38.4</td><td>19.7</td><td>28.8</td><td>37.4</td><td>9.2</td><td>19.1</td><td>25.8</td><td>18.7</td><td>31.7</td><td>40.2</td><td>15.5</td></tr><tr><td>CIREVL (2024)</td><td>14.6B*</td><td>CLIP-G</td><td>20.5</td><td>34.0</td><td>44.5</td><td>16.1</td><td>28.6</td><td>39.4</td><td>14.7</td><td>25.2</td><td>33.0</td><td>18.1</td><td>31.2</td><td>41.0</td><td>17.4</td></tr><tr><td>LinCIR (2024)</td><td>2.6B</td><td>CLIP-G</td><td>19.1</td><td>33.0</td><td>42.3</td><td>17.6</td><td>30.2</td><td>38.1</td><td>10.1</td><td>19.1</td><td>28.1</td><td>7.9</td><td>16.3</td><td>25.7</td><td>13.7</td></tr></table>
|
| 462 |
+
|
| 463 |
+
Table 17. Zero-shot image-text retrieval results. Results are marked in bold if they are better than initialized checkpoints. \*CLIP and CoCa we reproduced and used for MagicLens. $\dagger$ CLIP and CoCa reported in the original paper.
|
| 464 |
+
|
| 465 |
+
<table><tr><td rowspan="3">Model</td><td colspan="6">Flickr30K (1K test set)</td><td colspan="6">MSCOCO (5K test set)</td></tr><tr><td colspan="3">Image → Text</td><td colspan="3">Text → Image</td><td colspan="3">Image → Text</td><td colspan="3">Text → Image</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td>CLIP-B*</td><td>81.7</td><td>97.1</td><td>98.5</td><td>61.6</td><td>85.6</td><td>91.2</td><td>51.9</td><td>76.3</td><td>83.9</td><td>32.1</td><td>56.7</td><td>67.6</td></tr><tr><td>MagicLens-B</td><td>78.9</td><td>94.9</td><td>97.5</td><td>67.8</td><td>88.8</td><td>93.4</td><td>49.5</td><td>74.5</td><td>82.5</td><td>40.1</td><td>65.4</td><td>75.1</td></tr><tr><td>CoCa-B†</td><td>89.8</td><td>98.8</td><td>99.8</td><td>76.8</td><td>93.7</td><td>96.8</td><td>63.8</td><td>84.7</td><td>90.7</td><td>47.5</td><td>72.4</td><td>80.9</td></tr><tr><td>CoCa-B*</td><td>88.6</td><td>98.5</td><td>99.4</td><td>74.5</td><td>93.4</td><td>96.4</td><td>63.4</td><td>84.2</td><td>90.4</td><td>46.4</td><td>71.5</td><td>80.1</td></tr><tr><td>MagicLens-B</td><td>87.9</td><td>97.7</td><td>99.5</td><td>76.2</td><td>93.7</td><td>96.5</td><td>64.8</td><td>85.5</td><td>91.2</td><td>48.9</td><td>73.9</td><td>82.5</td></tr><tr><td>CLIP-L†</td><td>88.0</td><td>98.7</td><td>99.4</td><td>68.7</td><td>90.6</td><td>95.2</td><td>58.4</td><td>81.5</td><td>88.1</td><td>37.8</td><td>64.2</td><td>72.2</td></tr><tr><td>CLIP-L*</td><td>84.6</td><td>97.9</td><td>99.3</td><td>65.4</td><td>87.6</td><td>92.9</td><td>56.2</td><td>79.3</td><td>87.3</td><td>34.6</td><td>59.4</td><td>69.8</td></tr><tr><td>MagicLens-L</td><td>84.6</td><td>96.2</td><td>98.8</td><td>72.5</td><td>91.5</td><td>95.2</td><td>55.9</td><td>78.7</td><td>86.3</td><td>44.3</td><td>69.4</td><td>78.3</td></tr><tr><td>CoCa-L†</td><td>91.4</td><td>99.2</td><td>99.9</td><td>79.0</td><td>95.1</td><td>97.4</td><td>65.4</td><td>85.6</td><td>91.4</td><td>50.1</td><td>73.8</td><td>81.8</td></tr><tr><td>CoCa-L*</td><td>92.1</td><td>98.8</td><td>99.9</td><td>78.4</td><td>94.2</td><td>96.9</td><td>65.1</td><td>85.5</td><td>91.3</td><td>49.3</td><td>73.2</td><td>81.5</td></tr><tr><td>MagicLens-L</td><td>89.6</td><td>98.7</td><td>99.4</td><td>79.7</td><td>95.0</td><td>97.4</td><td>67.7</td><td>87.6</td><td>92.7</td><td>53.1</td><td>77.4</td><td>84.9</td></tr></table>
|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
|
| 469 |
+

|
| 470 |
+
Figure 11. Top-5 retrieved images of CoCa-based MagicLens-L and LinCIR on the holdout index set with 1.4M images for queries shown in Figure 8 and more. Queries are with a blue background and only the most correct retrieved images are marked with green outlines.
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22d3ca32dd730a1650258a44c3e7ca3f00a816f52e31f02fc7aaee34870afad2
|
| 3 |
+
size 2269698
|
2024/MagicLens_ Self-Supervised Image Retrieval with Open-Ended Instructions/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2024/MagicPose_ Realistic Human Poses and Facial Expressions Retargeting with Identity-aware Diffusion/52238cf5-47df-4824-9d9a-30a20cd92a52_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|