Chelsea707 commited on
Commit
375832c
·
verified ·
1 Parent(s): 1bba057

Add Batch f6d4a9f9-d61d-4cfd-81a3-b8ac7c5db148 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +63 -0
  2. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_content_list.json +0 -0
  3. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_model.json +0 -0
  4. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_origin.pdf +3 -0
  5. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/full.md +0 -0
  6. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/images.zip +3 -0
  7. 2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/layout.json +0 -0
  8. 2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_content_list.json +0 -0
  9. 2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_model.json +0 -0
  10. 2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_origin.pdf +3 -0
  11. 2024/Privately Aligning Language Models with Reinforcement Learning/full.md +386 -0
  12. 2024/Privately Aligning Language Models with Reinforcement Learning/images.zip +3 -0
  13. 2024/Privately Aligning Language Models with Reinforcement Learning/layout.json +0 -0
  14. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_content_list.json +0 -0
  15. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_model.json +0 -0
  16. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_origin.pdf +3 -0
  17. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/full.md +433 -0
  18. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/images.zip +3 -0
  19. 2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/layout.json +0 -0
  20. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_content_list.json +0 -0
  21. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_model.json +0 -0
  22. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_origin.pdf +3 -0
  23. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/full.md +450 -0
  24. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/images.zip +3 -0
  25. 2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/layout.json +0 -0
  26. 2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_content_list.json +0 -0
  27. 2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_model.json +0 -0
  28. 2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_origin.pdf +3 -0
  29. 2024/Probabilistically Rewired Message-Passing Neural Networks/full.md +0 -0
  30. 2024/Probabilistically Rewired Message-Passing Neural Networks/images.zip +3 -0
  31. 2024/Probabilistically Rewired Message-Passing Neural Networks/layout.json +0 -0
  32. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_content_list.json +0 -0
  33. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_model.json +0 -0
  34. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_origin.pdf +3 -0
  35. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/full.md +0 -0
  36. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/images.zip +3 -0
  37. 2024/Progressive Fourier Neural Representation for Sequential Video Compilation/layout.json +0 -0
  38. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_content_list.json +0 -0
  39. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_model.json +0 -0
  40. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_origin.pdf +3 -0
  41. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/full.md +515 -0
  42. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/images.zip +3 -0
  43. 2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/layout.json +0 -0
  44. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_content_list.json +0 -0
  45. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_model.json +0 -0
  46. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_origin.pdf +3 -0
  47. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/full.md +0 -0
  48. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/images.zip +3 -0
  49. 2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/layout.json +0 -0
  50. 2024/Prompt Learning with Quaternion Networks/b7294ab8-295c-4a01-86ce-b796789b6470_content_list.json +1388 -0
.gitattributes CHANGED
@@ -5094,3 +5094,66 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
5094
  2024/Prioritized[[:space:]]Soft[[:space:]]Q-Decomposition[[:space:]]for[[:space:]]Lexicographic[[:space:]]Reinforcement[[:space:]]Learning/d0c03ab3-727f-4a60-accc-d32f0c5239fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
5095
  2024/Privacy-Preserving[[:space:]]In-Context[[:space:]]Learning[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/efde1e3b-d9b6-4590-9867-a2a7a97f58af_origin.pdf filter=lfs diff=lfs merge=lfs -text
5096
  2024/Privacy-Preserving[[:space:]]In-Context[[:space:]]Learning[[:space:]]with[[:space:]]Differentially[[:space:]]Private[[:space:]]Few-Shot[[:space:]]Generation/76813419-2561-4b42-9cbb-7994516cc6a2_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5094
  2024/Prioritized[[:space:]]Soft[[:space:]]Q-Decomposition[[:space:]]for[[:space:]]Lexicographic[[:space:]]Reinforcement[[:space:]]Learning/d0c03ab3-727f-4a60-accc-d32f0c5239fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
5095
  2024/Privacy-Preserving[[:space:]]In-Context[[:space:]]Learning[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/efde1e3b-d9b6-4590-9867-a2a7a97f58af_origin.pdf filter=lfs diff=lfs merge=lfs -text
5096
  2024/Privacy-Preserving[[:space:]]In-Context[[:space:]]Learning[[:space:]]with[[:space:]]Differentially[[:space:]]Private[[:space:]]Few-Shot[[:space:]]Generation/76813419-2561-4b42-9cbb-7994516cc6a2_origin.pdf filter=lfs diff=lfs merge=lfs -text
5097
+ 2024/Private[[:space:]]Zeroth-Order[[:space:]]Nonsmooth[[:space:]]Nonconvex[[:space:]]Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_origin.pdf filter=lfs diff=lfs merge=lfs -text
5098
+ 2024/Privately[[:space:]]Aligning[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]Reinforcement[[:space:]]Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_origin.pdf filter=lfs diff=lfs merge=lfs -text
5099
+ 2024/Probabilistic[[:space:]]Adaptation[[:space:]]of[[:space:]]Black-Box[[:space:]]Text-to-Video[[:space:]]Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5100
+ 2024/Probabilistic[[:space:]]Self-supervised[[:space:]]Representation[[:space:]]Learning[[:space:]]via[[:space:]]Scoring[[:space:]]Rules[[:space:]]Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
5101
+ 2024/Probabilistically[[:space:]]Rewired[[:space:]]Message-Passing[[:space:]]Neural[[:space:]]Networks/c9db5f89-768f-4373-874a-2386d2d98b51_origin.pdf filter=lfs diff=lfs merge=lfs -text
5102
+ 2024/Progressive[[:space:]]Fourier[[:space:]]Neural[[:space:]]Representation[[:space:]]for[[:space:]]Sequential[[:space:]]Video[[:space:]]Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_origin.pdf filter=lfs diff=lfs merge=lfs -text
5103
+ 2024/Progressive3D_[[:space:]]Progressively[[:space:]]Local[[:space:]]Editing[[:space:]]for[[:space:]]Text-to-3D[[:space:]]Content[[:space:]]Creation[[:space:]]with[[:space:]]Complex[[:space:]]Semantic[[:space:]]Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_origin.pdf filter=lfs diff=lfs merge=lfs -text
5104
+ 2024/Prometheus_[[:space:]]Inducing[[:space:]]Fine-Grained[[:space:]]Evaluation[[:space:]]Capability[[:space:]]in[[:space:]]Language[[:space:]]Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_origin.pdf filter=lfs diff=lfs merge=lfs -text
5105
+ 2024/Prompt[[:space:]]Learning[[:space:]]with[[:space:]]Quaternion[[:space:]]Networks/b7294ab8-295c-4a01-86ce-b796789b6470_origin.pdf filter=lfs diff=lfs merge=lfs -text
5106
+ 2024/Prompt[[:space:]]Risk[[:space:]]Control_[[:space:]]A[[:space:]]Rigorous[[:space:]]Framework[[:space:]]for[[:space:]]Responsible[[:space:]]Deployment[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/70fbe93c-cb7a-4827-9979-b2ee18c4a0ca_origin.pdf filter=lfs diff=lfs merge=lfs -text
5107
+ 2024/PromptAgent_[[:space:]]Strategic[[:space:]]Planning[[:space:]]with[[:space:]]Language[[:space:]]Models[[:space:]]Enables[[:space:]]Expert-level[[:space:]]Prompt[[:space:]]Optimization/05e690f2-376c-47fb-a3a0-017c836ce12c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5108
+ 2024/PromptTTS[[:space:]]2_[[:space:]]Describing[[:space:]]and[[:space:]]Generating[[:space:]]Voices[[:space:]]with[[:space:]]Text[[:space:]]Prompt/eaaa9bf0-c1d4-4d46-91b3-3f465f5ef678_origin.pdf filter=lfs diff=lfs merge=lfs -text
5109
+ 2024/Proper[[:space:]]Laplacian[[:space:]]Representation[[:space:]]Learning/881a2f63-1b93-4b92-9a9b-bfcea4eca35a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5110
+ 2024/Protein[[:space:]]Multimer[[:space:]]Structure[[:space:]]Prediction[[:space:]]via[[:space:]]Prompt[[:space:]]Learning/ec8281e6-76d3-45a4-b9a4-3bd41137f995_origin.pdf filter=lfs diff=lfs merge=lfs -text
5111
+ 2024/Protein-Ligand[[:space:]]Interaction[[:space:]]Prior[[:space:]]for[[:space:]]Binding-aware[[:space:]]3D[[:space:]]Molecule[[:space:]]Diffusion[[:space:]]Models/5c0183b5-2f2e-488f-83a2-173fc2470a3e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5112
+ 2024/Protein-ligand[[:space:]]binding[[:space:]]representation[[:space:]]learning[[:space:]]from[[:space:]]fine-grained[[:space:]]interactions/688456a8-23fc-400c-828c-cabab1bb4823_origin.pdf filter=lfs diff=lfs merge=lfs -text
5113
+ 2024/Provable[[:space:]]Benefits[[:space:]]of[[:space:]]Multi-task[[:space:]]RL[[:space:]]under[[:space:]]Non-Markovian[[:space:]]Decision[[:space:]]Making[[:space:]]Processes/9ec36066-b180-4a2a-9c37-46275c469e4b_origin.pdf filter=lfs diff=lfs merge=lfs -text
5114
+ 2024/Provable[[:space:]]Memory[[:space:]]Efficient[[:space:]]Self-Play[[:space:]]Algorithm[[:space:]]for[[:space:]]Model-free[[:space:]]Reinforcement[[:space:]]Learning/ecb82456-fc38-43d8-944d-7ed97bca0633_origin.pdf filter=lfs diff=lfs merge=lfs -text
5115
+ 2024/Provable[[:space:]]Robust[[:space:]]Watermarking[[:space:]]for[[:space:]]AI-Generated[[:space:]]Text/228586ec-314d-4eda-b1d5-cd35f65cf497_origin.pdf filter=lfs diff=lfs merge=lfs -text
5116
+ 2024/Provable[[:space:]]and[[:space:]]Practical_[[:space:]]Efficient[[:space:]]Exploration[[:space:]]in[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]via[[:space:]]Langevin[[:space:]]Monte[[:space:]]Carlo/53d59c8f-6a0c-4396-a0f5-b5b4a8ae5e72_origin.pdf filter=lfs diff=lfs merge=lfs -text
5117
+ 2024/Provably[[:space:]]Efficient[[:space:]]CVaR[[:space:]]RL[[:space:]]in[[:space:]]Low-rank[[:space:]]MDPs/6338b3ab-82a6-4379-96a6-11968d429aee_origin.pdf filter=lfs diff=lfs merge=lfs -text
5118
+ 2024/Provably[[:space:]]Efficient[[:space:]]Iterated[[:space:]]CVaR[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]with[[:space:]]Function[[:space:]]Approximation[[:space:]]and[[:space:]]Human[[:space:]]Feedback/ff0267fd-c579-4d4e-babf-293053801bc3_origin.pdf filter=lfs diff=lfs merge=lfs -text
5119
+ 2024/Provably[[:space:]]Efficient[[:space:]]UCB-type[[:space:]]Algorithms[[:space:]]For[[:space:]]Learning[[:space:]]Predictive[[:space:]]State[[:space:]]Representations/aee4f98c-12f3-46e4-a835-a3c951bf7a7d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5120
+ 2024/Provably[[:space:]]Robust[[:space:]]Conformal[[:space:]]Prediction[[:space:]]with[[:space:]]Improved[[:space:]]Efficiency/fc601c1c-de0f-4926-8d3c-ce96ef3143f6_origin.pdf filter=lfs diff=lfs merge=lfs -text
5121
+ 2024/Pseudo-Generalized[[:space:]]Dynamic[[:space:]]View[[:space:]]Synthesis[[:space:]]from[[:space:]]a[[:space:]]Video/29c0591b-ebd6-4a55-bda7-c986ecd8bbaa_origin.pdf filter=lfs diff=lfs merge=lfs -text
5122
+ 2024/Pushing[[:space:]]Boundaries_[[:space:]]Mixup's[[:space:]]Influence[[:space:]]on[[:space:]]Neural[[:space:]]Collapse/af1ce88f-411a-42c5-86ad-9bd3d43e4901_origin.pdf filter=lfs diff=lfs merge=lfs -text
5123
+ 2024/Pushing[[:space:]]Mixture[[:space:]]of[[:space:]]Experts[[:space:]]to[[:space:]]the[[:space:]]Limit_[[:space:]]Extremely[[:space:]]Parameter[[:space:]]Efficient[[:space:]]MoE[[:space:]]for[[:space:]]Instruction[[:space:]]Tuning/feef8820-3a44-48d2-a6fe-57478c99b4a1_origin.pdf filter=lfs diff=lfs merge=lfs -text
5124
+ 2024/QA-LoRA_[[:space:]]Quantization-Aware[[:space:]]Low-Rank[[:space:]]Adaptation[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/bf9c1e6e-2f51-4ad9-ba03-cb15f14ab53a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5125
+ 2024/QLLM_[[:space:]]Accurate[[:space:]]and[[:space:]]Efficient[[:space:]]Low-Bitwidth[[:space:]]Quantization[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/f8b62951-eec3-4ecb-ac18-96ea52785b1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
5126
+ 2024/Quadratic[[:space:]]models[[:space:]]for[[:space:]]understanding[[:space:]]catapult[[:space:]]dynamics[[:space:]]of[[:space:]]neural[[:space:]]networks/6457bf94-452a-4c4a-b347-56de0e8e5824_origin.pdf filter=lfs diff=lfs merge=lfs -text
5127
+ 2024/Quality-Diversity[[:space:]]through[[:space:]]AI[[:space:]]Feedback/87cebbb5-9835-4aa1-a111-63e313497d01_origin.pdf filter=lfs diff=lfs merge=lfs -text
5128
+ 2024/Quantifying[[:space:]]Language[[:space:]]Models'[[:space:]]Sensitivity[[:space:]]to[[:space:]]Spurious[[:space:]]Features[[:space:]]in[[:space:]]Prompt[[:space:]]Design[[:space:]]or_[[:space:]]How[[:space:]]I[[:space:]]learned[[:space:]]to[[:space:]]start[[:space:]]worrying[[:space:]]about[[:space:]]prompt[[:space:]]formatting/56aab02d-34f2-47cc-9e5b-96a4c1fbc8bc_origin.pdf filter=lfs diff=lfs merge=lfs -text
5129
+ 2024/Quantifying[[:space:]]and[[:space:]]Enhancing[[:space:]]Multi-modal[[:space:]]Robustness[[:space:]]with[[:space:]]Modality[[:space:]]Preference/c9fa7eed-7f5d-458d-98b6-9cfb33cba019_origin.pdf filter=lfs diff=lfs merge=lfs -text
5130
+ 2024/Quantifying[[:space:]]the[[:space:]]Plausibility[[:space:]]of[[:space:]]Context[[:space:]]Reliance[[:space:]]in[[:space:]]Neural[[:space:]]Machine[[:space:]]Translation/18c755f3-dfbd-4ca5-a2a3-20c9adca2bdf_origin.pdf filter=lfs diff=lfs merge=lfs -text
5131
+ 2024/Quantifying[[:space:]]the[[:space:]]Sensitivity[[:space:]]of[[:space:]]Inverse[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]to[[:space:]]Misspecification/d2189510-8c2b-4933-805d-45ce3b8709ea_origin.pdf filter=lfs diff=lfs merge=lfs -text
5132
+ 2024/Query-Dependent[[:space:]]Prompt[[:space:]]Evaluation[[:space:]]and[[:space:]]Optimization[[:space:]]with[[:space:]]Offline[[:space:]]Inverse[[:space:]]RL/a705fb65-f032-4c9c-935f-220b45a7289d_origin.pdf filter=lfs diff=lfs merge=lfs -text
5133
+ 2024/Querying[[:space:]]Easily[[:space:]]Flip-flopped[[:space:]]Samples[[:space:]]for[[:space:]]Deep[[:space:]]Active[[:space:]]Learning/dbbe5e35-323d-4c61-bb3c-2a9ceddb1aa1_origin.pdf filter=lfs diff=lfs merge=lfs -text
5134
+ 2024/R&B_[[:space:]]Region[[:space:]]and[[:space:]]Boundary[[:space:]]Aware[[:space:]]Zero-shot[[:space:]]Grounded[[:space:]]Text-to-image[[:space:]]Generation/a127c671-a852-40ed-89f1-882b3899221c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5135
+ 2024/R-MAE_[[:space:]]Regions[[:space:]]Meet[[:space:]]Masked[[:space:]]Autoencoders/076e213a-96d9-4e58-ac3a-7d65633eaad4_origin.pdf filter=lfs diff=lfs merge=lfs -text
5136
+ 2024/RA-DIT_[[:space:]]Retrieval-Augmented[[:space:]]Dual[[:space:]]Instruction[[:space:]]Tuning/4e570901-8ac6-4c8d-af89-1604a9bcc110_origin.pdf filter=lfs diff=lfs merge=lfs -text
5137
+ 2024/RAIN_[[:space:]]Your[[:space:]]Language[[:space:]]Models[[:space:]]Can[[:space:]]Align[[:space:]]Themselves[[:space:]]without[[:space:]]Finetuning/70a65956-06c8-4aca-b13e-ff4ce299621a_origin.pdf filter=lfs diff=lfs merge=lfs -text
5138
+ 2024/RAPPER_[[:space:]]Reinforced[[:space:]]Rationale-Prompted[[:space:]]Paradigm[[:space:]]for[[:space:]]Natural[[:space:]]Language[[:space:]]Explanation[[:space:]]in[[:space:]]Visual[[:space:]]Question[[:space:]]Answering/0367024f-61eb-43f5-ad58-8ae45a456778_origin.pdf filter=lfs diff=lfs merge=lfs -text
5139
+ 2024/RAPTOR_[[:space:]]Recursive[[:space:]]Abstractive[[:space:]]Processing[[:space:]]for[[:space:]]Tree-Organized[[:space:]]Retrieval/d36e7373-e646-4bc7-94ab-27de1a6c2449_origin.pdf filter=lfs diff=lfs merge=lfs -text
5140
+ 2024/RDesign_[[:space:]]Hierarchical[[:space:]]Data-efficient[[:space:]]Representation[[:space:]]Learning[[:space:]]for[[:space:]]Tertiary[[:space:]]Structure-based[[:space:]]RNA[[:space:]]Design/dcb46c2a-7648-463c-a662-67433e8df964_origin.pdf filter=lfs diff=lfs merge=lfs -text
5141
+ 2024/REBAR_[[:space:]]Retrieval-Based[[:space:]]Reconstruction[[:space:]]for[[:space:]]Time-series[[:space:]]Contrastive[[:space:]]Learning/76b29707-2e24-4c19-b17d-48425eddfdce_origin.pdf filter=lfs diff=lfs merge=lfs -text
5142
+ 2024/RECOMBINER_[[:space:]]Robust[[:space:]]and[[:space:]]Enhanced[[:space:]]Compression[[:space:]]with[[:space:]]Bayesian[[:space:]]Implicit[[:space:]]Neural[[:space:]]Representations/491fbdd8-4729-4804-8e5a-722493224ec3_origin.pdf filter=lfs diff=lfs merge=lfs -text
5143
+ 2024/RECOMP_[[:space:]]Improving[[:space:]]Retrieval-Augmented[[:space:]]LMs[[:space:]]with[[:space:]]Context[[:space:]]Compression[[:space:]]and[[:space:]]Selective[[:space:]]Augmentation/bfa98b6f-5a3f-4d02-9975-258a79fc8695_origin.pdf filter=lfs diff=lfs merge=lfs -text
5144
+ 2024/REFACTOR_[[:space:]]Learning[[:space:]]to[[:space:]]Extract[[:space:]]Theorems[[:space:]]from[[:space:]]Proofs/e1f9820d-4783-4222-b473-2b4583d56e43_origin.pdf filter=lfs diff=lfs merge=lfs -text
5145
+ 2024/RETSim_[[:space:]]Resilient[[:space:]]and[[:space:]]Efficient[[:space:]]Text[[:space:]]Similarity/e4c2cbf5-33f5-41bd-8c52-6ac77675c119_origin.pdf filter=lfs diff=lfs merge=lfs -text
5146
+ 2024/REValueD_[[:space:]]Regularised[[:space:]]Ensemble[[:space:]]Value-Decomposition[[:space:]]for[[:space:]]Factorisable[[:space:]]Markov[[:space:]]Decision[[:space:]]Processes/93501239-4b6c-4bab-a1be-26acd9639c5c_origin.pdf filter=lfs diff=lfs merge=lfs -text
5147
+ 2024/RLCD_[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]from[[:space:]]Contrastive[[:space:]]Distillation[[:space:]]for[[:space:]]LM[[:space:]]Alignment/8544a2ec-f38e-4545-bac2-dced7ffd1b87_origin.pdf filter=lfs diff=lfs merge=lfs -text
5148
+ 2024/RLIF_[[:space:]]Interactive[[:space:]]Imitation[[:space:]]Learning[[:space:]]as[[:space:]]Reinforcement[[:space:]]Learning/c88c657b-5e48-4f44-8767-4accd05b01c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
5149
+ 2024/RTFS-Net_[[:space:]]Recurrent[[:space:]]Time-Frequency[[:space:]]Modelling[[:space:]]for[[:space:]]Efficient[[:space:]]Audio-Visual[[:space:]]Speech[[:space:]]Separation/1a33419f-11fe-4911-bd43-216fc1e22485_origin.pdf filter=lfs diff=lfs merge=lfs -text
5150
+ 2024/Raidar_[[:space:]]geneRative[[:space:]]AI[[:space:]]Detection[[:space:]]viA[[:space:]]Rewriting/0ade9da3-de33-42f0-b667-62512e0bebe9_origin.pdf filter=lfs diff=lfs merge=lfs -text
5151
+ 2024/Random[[:space:]]Sparse[[:space:]]Lifts_[[:space:]]Construction,[[:space:]]Analysis[[:space:]]and[[:space:]]Convergence[[:space:]]of[[:space:]]finite[[:space:]]sparse[[:space:]]networks/92ed3cfe-0abb-44b7-88bb-adb4492fc7b8_origin.pdf filter=lfs diff=lfs merge=lfs -text
5152
+ 2024/Rayleigh[[:space:]]Quotient[[:space:]]Graph[[:space:]]Neural[[:space:]]Networks[[:space:]]for[[:space:]]Graph-level[[:space:]]Anomaly[[:space:]]Detection/b72c33fe-7c2a-44d4-b654-c250197b6908_origin.pdf filter=lfs diff=lfs merge=lfs -text
5153
+ 2024/ReFusion_[[:space:]]Improving[[:space:]]Natural[[:space:]]Language[[:space:]]Understanding[[:space:]]with[[:space:]]Computation-Efficient[[:space:]]Retrieval[[:space:]]Representation[[:space:]]Fusion/9c7894f2-30d3-49ea-8d9a-4eb76e7fa214_origin.pdf filter=lfs diff=lfs merge=lfs -text
5154
+ 2024/ReLoRA_[[:space:]]High-Rank[[:space:]]Training[[:space:]]Through[[:space:]]Low-Rank[[:space:]]Updates/0b4725da-46d0-4f4e-9dc6-23f51d9bc0fd_origin.pdf filter=lfs diff=lfs merge=lfs -text
5155
+ 2024/ReMasker_[[:space:]]Imputing[[:space:]]Tabular[[:space:]]Data[[:space:]]with[[:space:]]Masked[[:space:]]Autoencoding/b5f768eb-b227-4e2f-9189-7af71c697ae4_origin.pdf filter=lfs diff=lfs merge=lfs -text
5156
+ 2024/ReSimAD_[[:space:]]Zero-Shot[[:space:]]3D[[:space:]]Domain[[:space:]]Transfer[[:space:]]for[[:space:]]Autonomous[[:space:]]Driving[[:space:]]with[[:space:]]Source[[:space:]]Reconstruction[[:space:]]and[[:space:]]Target[[:space:]]Simulation/ae6ad340-9213-47bb-87fa-20ace7ad13c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
5157
+ 2024/ReTaSA_[[:space:]]A[[:space:]]Nonparametric[[:space:]]Functional[[:space:]]Estimation[[:space:]]Approach[[:space:]]for[[:space:]]Addressing[[:space:]]Continuous[[:space:]]Target[[:space:]]Shift/c16d1355-970e-40dc-914d-dd59f9e61842_origin.pdf filter=lfs diff=lfs merge=lfs -text
5158
+ 2024/Real-Fake_[[:space:]]Effective[[:space:]]Training[[:space:]]Data[[:space:]]Synthesis[[:space:]]Through[[:space:]]Distribution[[:space:]]Matching/52452b58-25b9-4dfd-b54b-40e450e0c0c4_origin.pdf filter=lfs diff=lfs merge=lfs -text
5159
+ 2024/Real-time[[:space:]]Photorealistic[[:space:]]Dynamic[[:space:]]Scene[[:space:]]Representation[[:space:]]and[[:space:]]Rendering[[:space:]]with[[:space:]]4D[[:space:]]Gaussian[[:space:]]Splatting/310ae6fe-c50e-47ea-aa24-7968db752a28_origin.pdf filter=lfs diff=lfs merge=lfs -text
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/0b620b15-acdd-4829-bc66-3d2b63dcf144_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4025e94be73902957ba00db437ff81e94c85f2e2dd75f9fcfe97b38235e5cea
3
+ size 431368
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4532c2caae17c8ef9d6887b6573452bd947ab3b8a842e62070970016e5a06fca
3
+ size 848613
2024/Private Zeroth-Order Nonsmooth Nonconvex Optimization/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Privately Aligning Language Models with Reinforcement Learning/f1bcc599-53d1-4446-a74e-0e328fe0a3d6_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd259501f9bd7118b0f28c74b818ce4295d89923497fe9b1aca2c8202e5c12d3
3
+ size 1236365
2024/Privately Aligning Language Models with Reinforcement Learning/full.md ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PRIVATELY ALIGNING LANGUAGE MODELS WITH REINFORCEMENT LEARNING
2
+
3
+ Fan Wu<sup>1*</sup>; Huseyin A. Inan<sup>2</sup>, Arturs Backurs<sup>3</sup>, Varun Chandrasekaran<sup>1</sup>, Janardhan Kulkarni<sup>3</sup>, Robert Sim<sup>2</sup>
4
+
5
+ <sup>1</sup> University of Illinois Urbana-Champaign, <sup>2</sup> M365 Research, <sup>3</sup> Microsoft Research {fanw6, varunc}@illinois.edu, {huseyin.inan, arturs.backurs, jakul, rsim}@microsoft.com
6
+
7
+ # ABSTRACT
8
+
9
+ Positioned between pre-training and user deployment, aligning large language models (LLMs) through reinforcement learning (RL) has emerged as a prevailing strategy for training instruction following-models such as ChatGPT. In this work, we initiate the study of privacy-preserving alignment of LLMs through Differential Privacy (DP) in conjunction with RL. Following the influential work of Ziegler et al. (2020), we study two dominant paradigms: (i) alignment via RL without human in the loop (e.g., positive review generation) and (ii) alignment via RL from human feedback (RLHF) (e.g., summarization in a human-preferred way). We give a new DP framework to achieve alignment via RL, and prove its correctness. Our experimental results validate the effectiveness of our approach, offering competitive utility while ensuring strong privacy protections.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Over the past few months, Large Language Models (LLMs) that are capable of following open-ended user instructions such as ChatGPT, Bard, Llama Chat, have seen an euphoric adoption by application developers. Similar to their predecessors, these models are pre-trained on vast amounts of public internet data. However, their magical ability to follow myriad user instructions – the driving force behind their mass adoption – has been attributed to instruction fine-tuning and learning from human feedback. This new step involves collecting a dataset of human preferences and feedback, followed by fine-tuning the model via reinforcement learning (RL) to make them better aligned, often abbreviated as RLHF. Since the influential works of Ziegler et al. (2020); Ouyang et al. (2022); Bai et al. (2022), the RLHF framework has emerged as the dominant paradigm for training instruction-following models.
14
+
15
+ At the heart of this new training pipeline – pre-training followed by RLHF – is the realization that while pre-training helps LLMs to acquire the world knowledge, it is the RLHF stage that makes LLMs learn to interact with users, and hence present their knowledge in a human-preferred way. This framework opens the door for a continuous improvement of the model by collecting users' feedback and preferences via telemetry data. As appealing as that may sound, improving LLMs via users' preferences and feedback raises privacy concerns: what if the model learns about a specific user's instructions and regurgitates them at a later point? It is well known in the privacy literature that LLMs are vulnerable to privacy attacks including prompt attacks (Duan et al., 2023; Carlini et al., 2021; 2019), and RLHF training seems particularly concerning from this angle. This constitutes the central question explored in this work.
16
+
17
+ Can we fulfill the promise of aligning models with human preferences and feedback data via a privacy preserving RLHF methodology?
18
+
19
+ # 1.1 OUR CONTRIBUTIONS
20
+
21
+ We initiate the study of aligning LLMs with RL while satisfying the strong mathematical guarantees of differential privacy (DP) (Dwork & Roth, 2014). We foresee this as an important research direc
22
+
23
+ tion for the privacy community as more applications start to deploy LLMs to interact directly with users. Our main contributions are:
24
+
25
+ 1. We give a differentially private framework for aligning LLMs with RL. Our framework mathematically guarantees that the final model satisfies DP over the entire course of the alignment process, consisting of multiple stages of model training and weight sharing. Further, we show how to adapt the PPO algorithm (Schulman et al., 2017) to DP setting.
26
+ 2. We empirically evaluate our DP framework on commonly studied tasks (in non-privacy literature). Following the influential work of Ziegler et al. (2020), we evaluate two main scenarios: (i) alignment via RL without human in the loop for a positive review generation task on the IMDb dataset (Maas et al., 2011), and (ii) alignment via RL from human feedback (RLHF) for a summarization task on the Reddit TL;DR dataset (Volske et al., 2017). Our experimental results indicate that privately aligning LLMs is possible, offering competitive utility while ensuring strong privacy protections. As a representative example, on the IMDb dataset, the average reward obtained by our DP GPT2-Large model for generating positive reviews is 3.20 with $\epsilon = 4$ , whereas the best performing non-private model achieves an average reward of 3.45.
27
+
28
+ Our experiments also show that increasing the model size typically leads to more favorable privacy-reward trade-offs, hence, we anticipate that as pre-trained LLMs get better, alignment with DP should become easier.
29
+
30
+ # 2 PRELIMINARIES
31
+
32
+ # 2.1 ALIGNING LANGUAGE MODELS VIA REINFORCEMENT LEARNING
33
+
34
+ We review the pipeline from the seminal work by Ziegler et al. (2020), which describes a methodology to align language models via RL by using a reward model to optimize for a given task. For ease of presentation, we borrow terminology and notations from Ziegler et al. (2020).
35
+
36
+ One starts with a pre-trained language model $LM^{\mathrm{pt}}$ , which defines a probability distribution $LM^{\mathrm{pt}}(x_n \mid x_1, \dots, x_{n-1}) \in [0,1]$ over the space of tokens $x_n \in \mathcal{V}$ given a context consisting of tokens $x_i \in \mathcal{V}$ for $i = 1, \dots, n-1$ . $\mathcal{V}$ is referred as the vocabulary of $LM^{\mathrm{pt}}$ . The first step in general is to fine-tune this model with regular supervised learning procedure (SFT). This step can be performed for various reasons such as to teach the language model a desired output behaviour (Ouyang et al., 2022) or it could be simply to train for a downstream task such as summarization (Stiennon et al., 2022). We denote the resulting model as $LM^{\mathrm{sft}}$ .
37
+
38
+ In the alignment step, a policy $\pi$ , initialized as $\pi = LM^{\mathrm{sft}}$ , is further fine-tuned using RL for the underlying task. We consider two scenarios depending on whether the task is directly defined by a reward function or it is based on human judgments. We compare the two scenarios in Appendix G.
39
+
40
+ Reinforcement learning without human in the loop. The underlying task is defined by a reward function $r: \mathcal{V}^{\infty} \times \mathcal{V}^{\infty} \to \mathbb{R}$ that can score how well aligned the language model's generation $y \in \mathcal{V}^{\infty}$ is, given the context $x \in \mathcal{V}^{\infty}$ . Here, one can use reinforcement learning to directly optimize the expected reward. An example is controlled sentiment generation, where the goal is to respond to a user query with a positive sentiment. Here, one can use existing language models that are fine-tuned on sentiment classification tasks as the reward model to score for positive sentiment.
41
+
42
+ Reinforcement learning with human preferences. The underlying task is defined by human judgments. A typical example is to respond to a user query with a human-preferred way instead of language model's original completion that is learned during pre-training. Here, human labels are used first to train a reward model. A dataset can be formed by generating multiple responses from the LLM (for simplicity we consider two: $y_{1}$ and $y_{2}$ ) for a given input $x$ and asking humans to prefer between $y_{1}$ and $y_{2}$ . Let $b \in \{0, 1\}$ denote the human preference. Assuming access to a dataset $S$ of $(x, y_{0}, y_{1}, b)$ samples with human preferences, a reward model $r: \mathcal{V}^{\infty} \times \mathcal{V}^{\infty} \to \mathbb{R}$ can be trained with the following negative log-likelihood loss (Ziegler et al., 2020; Ouyang et al., 2022):
43
+
44
+ $$
45
+ \mathcal {L} (r, \mathcal {S}) = - \mathbb {E} _ {(x, y _ {0}, y _ {1}, b) \sim \mathcal {S}} \left[ \log \left(\sigma \left(r \left(x, y _ {b}\right) - r \left(x, y _ {1 - b}\right)\right)\right) \right], \tag {1}
46
+ $$
47
+
48
+ where $\sigma$ denotes the sigmoid function: $\sigma(x) = \frac{1}{1 + e^{-x}}$ . One can also initialize the reward model $r$ from $LM^{\mathrm{sft}}$ with an additional linear layer that produces a single scalar for the reward value.
49
+
50
+ Finally, the initialized policy $\pi$ is fine-tuned to optimize the reward model $r$ with reinforcement learning. However, instead of directly optimizing the expected reward, a penalty term of $\beta \mathrm{KL}(\pi, LM^{\mathrm{sft}})$ is added to the optimization term to prevent $\pi$ from deviating too far from $LM^{\mathrm{sft}}$ . Thus, the modified reward becomes
51
+
52
+ $$
53
+ R (x, y) = r (x, y) - \beta \log \frac {\pi (y | x)}{L M ^ {\mathrm {s f t}} (y | x)}. \tag {2}
54
+ $$
55
+
56
+ This reward function is maximized via Proximal Policy Optimization (PPO) (Schulman et al., 2017) to fine-tune the policy $\pi$ on the corresponding data distribution $x\sim \mathcal{D}$ .
57
+
58
+ # 2.2 DIFFERENTIAL PRIVACY
59
+
60
+ LLMs are known to be susceptible to privacy attacks (Carlini et al., 2019; 2021; 2023). Over the past decade, Differential Privacy (DP) (Dwork et al., 2006) has emerged as a powerful framework that provides mathematical guarantees for the privacy of individuals in training datasets. It quantifies the amount of information one could learn from the output of an algorithm or its generations. Formally,
61
+
62
+ Definition 1 $((\epsilon, \delta)$ -DP (Dwork & Roth, 2014)). A randomized algorithm $\mathcal{M}$ achieves $(\epsilon, \delta)$ -DP, if for any neighboring datasets $D_{1}$ and $D_{2}$ (differing in at most one entry) and for any $S \in \text{Range}(\mathcal{M})$ ,
63
+
64
+ $$
65
+ \Pr (\mathcal {M} (D _ {1}) \in S) \leq e ^ {\epsilon} \Pr (\mathcal {M} (D _ {2}) \in S) + \delta . \tag {3}
66
+ $$
67
+
68
+ Here, $\epsilon$ represents the privacy budget: a smaller $\epsilon$ offers a stronger privacy guarantee. $\delta$ accounts for the probability that $\mathcal{M}$ violates $\epsilon$ -DP.
69
+
70
+ DPSGD. In the context of deep learning, DPSGD (Song et al., 2013; Abadi et al., 2016), a drop-in replacement of the vanilla stochastic gradient descent, has become the default optimizer to achieve DP. At each iteration, DPSGD performs per-sample gradient clipping and Gaussian noise addition, thus limiting and masking the contribution of any single data point to the model update; we give a detailed description in Appendix A. Recently, in response to the rising concerns of privacy leakage in large language models (Carlini et al., 2021), DPSGD is employed for tasks from private finetuning (Yu et al., 2022; Li et al., 2022) to synthetic text generation (Yue et al., 2023).
71
+
72
+ # 3 PROBLEM DEFINITION
73
+
74
+ Consider the generic problem of aligning a language model towards an objective by using a reward model via RL. Our problem formulation introduces an extra dimension to this challenge, namely, achieving this alignment respecting DP of the underlying data samples. We are given privacy parameters $\epsilon > 0$ , $\delta \in [0,1]$ and a pre-trained language model $LM^{\mathrm{pt}}$ . There is a private dataset $D$ for use in the alignment procedures outlined in Section 2.1. The particular use of the private dataset $D$ depends on the availability of the reward model.
75
+
76
+ In RL without human in the loop scenario, we assume the availability of a reward model that is independent of the private dataset $D$ . In this case, supervised learning step (SFT) fine-tunes $LM^{\mathrm{pt}}$ with $D$ to achieve the initial policy $\pi = LM^{\mathrm{sft}}$ . This is directly followed by the Proximal Policy Optimization (PPO) that fine-tunes the policy $\pi$ with the reward model on $D$ . The privacy-preserving constraint in our problem definition is that the final parameters of the optimized policy $\pi$ should be $(\epsilon, \delta)$ -DP with respect to private dataset $D$ .
77
+
78
+ When the task is based on human judgments, training a reward model with human labels is needed as an extra step. As described in Section 2.1, the reward model is obtained by training on a dataset where each sample is a tuple consisting of a sample $x$ belonging to $D$ , multiple generations of $LM^{\mathrm{sft}}$ given $x$ as context and human preference over these generations. The privacy-preserving constraint similarly follows as the previous scenario and the final parameters of the optimized policy $\pi$ must be $(\epsilon, \delta)$ -DP with respect to private dataset $D$ . As we will discuss shortly, this will require the reward model to be trained with DP as well.
79
+
80
+ # 4 OUR DP ALIGNMENT FRAMEWORK
81
+
82
+ In this section, we describe our DP framework for aligning LLMs. We consider the scenario with human in the loop as it subsumes the case without. Recall that it involves three main steps: 1)
83
+
84
+ Supervised fine-tuning of a language model for the task at hand to obtain $LM^{\mathrm{sft}}$ . 2) Learning a reward model $r$ from human preferences. 3) Fine-tune a policy $\pi$ (initialized to $LM^{\mathrm{sft}}$ ) to optimize the reward model $r$ with RL. Although we only require that the weights of the final policy $\pi$ are DP with respect to $D$ , one needs to perform each step with DP, the reason for which will become clear once we describe our framework.
85
+
86
+ To achieve $(\epsilon, \delta)$ -DP with respect to a private dataset $D$ at the end of the alignment there is more than one solution. One could partition $D$ into three disjoint subsets $D_{1}$ , $D_{2}$ and $D_{3}$ corresponding to the three stages of the alignment pipeline, and assume that two neighboring databases differ by a single sample in one of these three datasets; that is, a single user can contribute to at most one of three datasets $D_{1}$ , $D_{2}$ and $D_{3}$ . Another option is to assume that a single user can contribute to all the three datasets $D_{1}$ , $D_{2}$ and $D_{3}$ . Our framework can handle both the settings, with minor differences in how to calculate the final privacy parameters. The former approach would mean that to calculate the final privacy parameters, we can use the parallel composition theorem of DP (McSherry, 2009). For the latter, one needs to use advanced composition theorems such as (Gopi et al., 2021). An additional hyperparameter related to DP in the second approach is on how to allocate the fixed privacy budget across the three steps. The goal of this work is to show that alignment with DP is possible, and, hence, we take the simpler approach and assume that a single user can contribute to at most one of three datasets $D_{1}$ , $D_{2}$ and $D_{3}$ . We clarify that the nature of the three datasets are different, with $D_{1}$ being a labeled dataset consisting of a reference answer per sample, $D_{2}$ a preference dataset consisting of two generations and a human preference bit per sample, and $D_{3}$ an unlabeled dataset consisting of input samples only.
87
+
88
+ With this discussion behind us, we write down our framework for DP Alignment.
89
+
90
+ 1. DP Supervised Fine-Tuning: We do a supervised fine-tuning of $LM^{\mathrm{pt}}$ using DPSGD with privacy parameters $(\epsilon, \delta)$ on the dataset $D_{1}$ to obtain $LM^{\mathrm{sft}}$ . The analysis of DPSGD (Abadi et al. (2016)) guarantees that the weights of $LM^{\mathrm{sft}}$ are private, and hence $LM^{\mathrm{sft}}$ can be used arbitrarily in the remaining pipeline.
91
+ 2. DP Learning of Reward Model: We initialize a reward model $r$ from $LM^{\mathrm{sft}}$ with the addition of a linear layer that produces a single scalar prediction for the reward value. We train $r$ using DPSGD with the privacy parameters $(\epsilon, \delta)$ to optimize the reward objective given by Equation 1 on the dataset $D_2$ .
92
+ 3. Alignment with DPPPO: Finally, we train a policy $\pi$ initialized to $LM^{\mathrm{sft}}$ via a DP adaptation of Proximal Policy Optimization (PPO) with the privacy parameters $(\epsilon, \delta)$ to optimize the reward $R$ as given in Equation 2 on the dataset $D_3$ .
93
+
94
+ All our model training procedures use LoRA (Hu et al., 2022). While this is not standard in the alignment literature, we make this algorithmic choice due to 3 reasons: 1) DP training works better with LoRA as hyperparameters are more stable (Yu et al., 2022); 2) LoRA is computationally more efficient, especially for DP training; 3) We also conjecture that LoRA fine-tuning during RL stage can also help in ensuring that the aligned model does not drift too far away from the $LM^{\mathrm{sft}}$ model. This may be an interesting point even in the non-private world.
95
+
96
+ We will elaborate each of the steps in our framework below. Before that, we note the following privacy guarantee of our framework due to the parallel composition theorem of DP (McSherry, 2009).
97
+
98
+ Theorem 2. Our $DP$ alignment framework is $(\epsilon, \delta)$ -differentially private.
99
+
100
+ Why Step II needs to be DP? A curious reader may ask why one should learn the reward model using DP if the third step already satisfies DP; that is, can learning the reward model be non-private? This is a subtle but important point, and our algorithmic choice of making the second step DP has to do with the privacy analysis of DPSGD. Consider the scenario where the reward model is not private. In such a case, for every random mini-batch in the third step, the gradients are a function of the reward model, which in turn implies that the gradients of the mini-batch are a function of entire dataset $D_{2}$ . This invalidates the privacy amplification by subsampling theorem of DPSGD (Abadi et al., 2016), which is crucial for the overall framework to work.
101
+
102
+ Our solution to the above technical challenge is to learn the reward model also via DP. The post-processing theorem of DP (Dwork & Roth, 2014) guarantees that the reward model $r$ can be used in the third step as if it were a public model. However, there could be other ways of achieving the alignment with DP where the second step is not private, and we leave it as an intriguing future research question.
103
+
104
+ DP Adaptation of PPO. Next, we discuss our algorithmic choices in making PPO algorithm DP. Although the model updates in our DPPPO algorithm are done via DPSGD, there are some important technical details to consider. An important distinction between DPPPO and SFT with DPSGD is what governs the number of iterations and how the model weights are updated. For SFT using DPSGD (1st step), the model weights are updated for each batch, and the number of iterations governs the course of training and the total model weight updates. On the other hand, PPO performs model updates in minibatches within a batch and multiple rounds (a.k.a. PPO epochs) can be taken over the same batch. Further, regular epochs are taken over the full dataset; see Schulman et al. (2017) (Algorithm 1) for a precise description. We give a complete pseudo-code of PPO implementation in Appendix F, but for the sake of discussion consider the abbreviated version in Algorithm 1. PPO updates are given in lines 6-10 that needs to be privatized. In our DPPPO implementation, we set $T_{\mathrm{PPO}} = 1$ deviating from the usual implementations in RL that set $T_{\mathrm{PPO}} > 1$ ; for example, von Werra et al. (2022) defaults $T_{\mathrm{PPO}}$ to 4. By appropriately selecting the batch size (we use larger batch size for DPPPO), we ensure that the total number of model updates in both the private and non-private worlds remain similar. We make these algorithmic choices to simplify the privacy analysis and to utilize privacy amplification by subsampling (Abadi et al., 2016) in DPSGD algorithm, where each batch should be randomly selected from the dataset. If one takes more than 1 round of model updates $(T_{\mathrm{PPO}} > 1)$ on the same batch, then privacy accounting of DPSGD needs to be modified, say by first doing an advanced composition across multiple PPO rounds on the same batch followed by subsampling amplification. We leave these algorithmic explorations on our choices as future research directions, and present an ablation study on $T_{\mathrm{PPO}} > 1$ in Appendix B.1.
105
+
106
+ Algorithm 1: Aligning language models with RL (PPO), full version in Appendix F.
107
+ Define: $D$ : a dataset consisting of input texts. $x$ : input text, $y$ : model response. $T$ total training epochs, $T_{\mathrm{PPO}}$ PPO epochs. model, ref_model: the model being learned and the frozen model for reference. Models are composed of a generation body as well as a value head. superscript b: batch, superscript m b: mini-batch. p,l: log probability and logit given by the generation body, v: value given by the value head
108
+ 1 Procedure Update (model, $x^{b},y^{b},R^{b}$ .. $\triangleright$ Stage I: forward passes to obtain reference stats on the batch $(p^b,l^b,v^b)\gets \mathsf{BatchedForwardPass}(\mathsf{model},x^b,y^b)$ $(p_r^b,l_r^b,v_r^b)\gets \mathsf{BatchedForwardPass}(\mathsf{ref\_model},x^b,y^b)$ $s^b\gets \mathsf{ComputeScores}(R^b,p^b,p_r^b)$ $\triangleright$ compute the modified reward (Eq. 2) $\triangleright$ Stage II: update on minibatches
109
+ 5 $D^{b}\gets (x^{b},y^{b},l^{b},v^{b},s^{b})$
110
+ 6 for $i = 1$ to TPPO do for $D^{mb}\in D^{b}$ do $(x^{mb},y^{mb},l^{mb},v^{mb},s^{mb})\gets D^{mb}$ take out a minibatch
111
+ 9 $(p,l,v)\gets \mathsf{BatchedForwardPass}(\mathsf{model},x^{mb},y^{mb})$ TrainMinibatch(model, $p^{mb},v^{mb},s^{mb},p,l,v)$ with PPO objective
112
+ 10 main loop
113
+ 11 for $i = 1$ to T do Take out a batch for $x^b\in D$ do $y^{b}\gets \mathsf{modelgenerate}(x^{b})$ obtain the model responses
114
+ 13 $R^{b}\gets r(x^{b},y^{b})$ obtain the rewards via the reward model r
115
+ 15 Update (model, $x^{b},y^{b},R^{b}$ )
116
+
117
+ # 5 PRIVATELY ALIGNING LMS WITHOUT HUMAN IN THE LOOP
118
+
119
+ We begin by exploring the simpler task of privately aligning a language model without human in the loop, and consider RLHF in the next section. For our case study, we focus on controlled sentiment generation, where the goal is to complete a given prefix of a review from the IMDb dataset (Maas
120
+
121
+ ![](images/f899879a40d0d6da20099fa8cbe7e66cfddca6e75ebef49adf74915cdd3d83a4.jpg)
122
+ Stage I: Supervised Fine-Tuning
123
+ Objective: learn to generate a review
124
+ Figure 1: Case study: aligning a language model without human in the loop. The goal is to complete a partial review with positive sentiment. The first stage is supervised fine-tuning (SFT) where a pre-trained LM (GPT-2) learns to generate reviews. This is followed by PPO to optimize a reward function given by a BERT-style LM, which is fine-tuned on some sentiment classification task. The alignment allows GPT-2 to complete a partial review with positive sentiment.
125
+
126
+ ![](images/eb418953a5391517ab634b7addfdd8dee4ff406753c6be3db067cdbe07d859e7.jpg)
127
+ Stage II: RL Fine-Tuning
128
+ Objective: learn to generate a review with positive sentiment
129
+
130
+ Table 1: The average positive reward score on the test set of the IMDb dataset for various models and privacy levels. $\epsilon = 0$ represents the pre-trained model. $\epsilon \in \{1,2,4,8\}$ are privately aligned models with different privacy budgets. $\epsilon = \infty$ stands for alignment without any privacy. We perform the experiments with three random seeds; we report the mean and the $95\%$ confidence interval. Additional privacy-utility trade-offs are demonstrated in Fig. 3 of Appendix C.2.
131
+
132
+ <table><tr><td>Model</td><td>ε = 0</td><td>ε = 1</td><td>ε = 2</td><td>ε = 4</td><td>ε = 8</td><td>ε = ∞</td></tr><tr><td>GPT-2</td><td>-0.30</td><td>1.47 ± 0.81</td><td>2.35 ± 0.52</td><td>2.74 ± 0.27</td><td>2.81 ± 0.19</td><td>3.10 ± 0.22</td></tr><tr><td>GPT-2 Medium</td><td>-0.28</td><td>2.39 ± 0.52</td><td>2.60 ± 0.43</td><td>2.93 ± 0.17</td><td>2.93 ± 0.13</td><td>3.45 ± 0.02</td></tr><tr><td>GPT-2 Large</td><td>-0.24</td><td>0.71 ± 0.13</td><td>1.91 ± 0.42</td><td>3.20 ± 0.23</td><td>3.38 ± 0.03</td><td>3.32 ± 0.06</td></tr></table>
133
+
134
+ et al., 2011)<sup>1</sup> with positive sentiment as depicted in Figure 1. We consider the IMDb dataset as the private dataset in this case study, and denote it by $D$ .
135
+
136
+ As described in Section 2.1, this scenario consists of two steps. First, supervised fine-tuning (SFT) is performed on the pre-trained model $LM^{\mathrm{pt}}$ with the language modeling objective, allowing it to achieve review generation capabilities. Then, we further fine-tune the model $LM^{\mathrm{sft}}$ using PPO with the guidance from the reward model $r$ , for the purpose of alignment towards generating reviews with a positive sentiment. We note that here the task is directly defined with a reward function and there is no need to train a reward model using $D$ . Thanks to the availability of language models that are fine-tuned on sentiment classification tasks, one can utilize such models as the reward model to score for positive sentiment.
137
+
138
+ Experimental setup. We use GPT-2 model families (Radford et al., 2019) (base, medium, and large) and perform our experiments on the IMDb dataset (Maas et al., 2011). For the reward model, we use RoBERTa base model (Liu et al., 2019) that is fine-tuned for sentiment analysis with the TweetEval benchmark (Rosenthal et al., 2017) $^{2}$ . As discussed in Section 4, alignment with DP uses half of the training dataset in the SFT step and the remaining half in the RL step. Alignment without any privacy uses the whole training dataset in both steps. Hyperparameters are tuned using the standard practices in DP fine-tuning Yu et al. (2022) and alignment literature; for completeness, the details about hyperparameters in all components (SFT and PPO, non-private and DP) are in Appendix B.
139
+
140
+ Evaluation. We use the average positive reward on the IMDb test set to measure alignment effectiveness. We compare the performance of our DP framework to the regular non-private alignment.
141
+
142
+ Main results. We present the results in Table 1 for various privacy levels $\epsilon \in \{1,2,4,8\}$ while fixing $\delta = 1 / |D|$ . We point out that these DP guarantees would also hold with smaller $\delta$ , albeit with a minor increase of $\epsilon$ using privacy curves (Balle & Wang, 2018). Main highlights are:
143
+
144
+ 1. We note that fully private $(\epsilon = 0)$ pre-trained models are not aligned to generate positive reviews, as expected. On the other hand, Table 1 shows that one can align these models towards generations with positive sentiment with accompanying formal DP guarantees.
145
+
146
+ Table 2: We display the generation results for the prefix "I am not a fan of Sean Penn". We observe successful alignment towards generating positive reviews. More results are in Appendix C.1.
147
+
148
+ <table><tr><td>Model</td><td>ε = 4</td><td>ε = ∞</td></tr><tr><td>GPT-2</td><td>I am not a fan of Sean Penn at all and I don’t really look for him. I liked the flavour really</td><td>I am not a fan of Sean Penn and I love it. However, I became a bit too. I love the</td></tr><tr><td>GPT-2</td><td rowspan="2">I am not a fan of Sean Penn’s, I’m really happy and I love the movie, and I’s very</td><td rowspan="2">I am not a fan of Sean Penn. I appreciate what he is. It’s awesome. This has been amazing.</td></tr><tr><td>Medium</td></tr><tr><td>GPT-2</td><td rowspan="2">I am not a fan of Sean Penn &lt;3 this film is great and worth watching! &lt;3 &lt;3 &lt;3</td><td rowspan="2">I am not a fan of Sean Penn, but I love his work in baseball and I love his work for my favorite</td></tr><tr><td>Large</td></tr></table>
149
+
150
+ ![](images/1b89aebb5e36b261a15c76382e351e70aa4b9467c785e8a8558adb66076abd3e.jpg)
151
+ Figure 2: Case study: aligning a language model with human preferences. The goal is to generate the summary of a post in a human-preferred way. The first stage is supervised fine-tuning (SFT) where a pre-trained LM (GPT-2) learns to generate summaries. In the second stage the reward model is trained based on Eq. 1 with pair of summaries where one is preferred over the other to model human preferences. This is followed by PPO with the reward model from the second stage. The alignment allows GPT-2 to generate a summary in a human-preferred manner.
152
+
153
+ 2. As expected, relaxing the privacy budget improves the average positive reward score on the test set and we observe strong performance at $\epsilon = 4$ , which is commonly used in the DP fine-tuning literature (Yu et al., 2022).
154
+ 3. Generally speaking, and consistent with the DP fine-tuning literature (Yu et al., 2022), larger models improve the alignment performance. One exception is GPT2-Large model for small $\epsilon$ . The latter may be due to insufficient hyperparameter tuning as we tuned hyperparameters by fixing $\epsilon = 4$ . For the non-private alignment $(\epsilon = \infty)$ , we observe a further improvement as expected as the privacy-utility trade-off is tilted completely in favor of utility.
155
+
156
+ We were not able to find a hyperparameter setting where non-private GPT2-Large would outperform non-private GPT2-Medium. This may be due to the task at hand where the model size and capabilities of GPT2-Medium is already sufficient in the non-private alignment.
157
+
158
+ Demonstrations. We randomly select five partial reviews from the test set and let the private $(\epsilon = 4)$ and the non-private models complete the reviews. Part of the results are shown in Table 2 (more in Appendix C.1). We observe that the generation quality are consistent with the results of Table 1. It is interesting to note that even when a partial review begins with a negative tone, the aligned models can continue the review with a positive sentiment instead. Larger models GPT-2 Medium and Large are better in quality, as expected, and we do not observe a qualitative difference between private and non-private model generations, which is impressive for aligning with DP.
159
+
160
+ # 6 PRIVATELY ALIGNING LMS WITH HUMAN PREFERENCES
161
+
162
+ In this section we empirically evaluate the scenario where we privately align a language model with human preferences. For our case study, we focus on a summarization task, where the goal is to
163
+
164
+ Table 3: The average reward score (denoted by $r$ ) on the test set of the Reddit TL;DR dataset and ROUGE-L score (denoted by R-L) between model generated summaries and the label summaries for various models and privacy levels. $\epsilon = 0$ represents the pre-trained model. $\epsilon \in \{1,2,4,8\}$ are privately aligned models with different privacy budgets. $\epsilon = \infty$ stands for alignment without any privacy. Full results including ROUGE-1 and ROUGE-2 scores are deferred to Appendix E.
165
+
166
+ <table><tr><td rowspan="2">Model</td><td colspan="2">ε = 0
167
+ Pre-trained</td><td rowspan="2"></td><td colspan="2">ε = 1</td><td colspan="2">ε = 2</td><td colspan="2">ε = 4</td><td colspan="2">ε = 8</td><td colspan="2">ε = ∞</td></tr><tr><td>r</td><td>R-L</td><td>r</td><td>R-L</td><td>r</td><td>R-L</td><td>r</td><td>R-L</td><td>r</td><td>R-L</td><td>r</td><td>R-L</td></tr><tr><td rowspan="2">GPT-2</td><td rowspan="2">0.05</td><td rowspan="2">8.26</td><td>SFT</td><td>0.44</td><td>11.45</td><td>0.48</td><td>11.84</td><td>0.50</td><td>12.30</td><td>0.49</td><td>12.45</td><td>0.63</td><td>14.48</td></tr><tr><td>Aligned</td><td>0.22</td><td>10.41</td><td>0.53</td><td>11.44</td><td>0.68</td><td>12.33</td><td>0.69</td><td>11.74</td><td>1.53</td><td>14.17</td></tr><tr><td rowspan="2">GPT-2
168
+ medium</td><td rowspan="2">0.11</td><td rowspan="2">8.67</td><td>SFT</td><td>0.68</td><td>12.80</td><td>0.66</td><td>13.07</td><td>0.65</td><td>13.30</td><td>0.65</td><td>13.5</td><td>0.70</td><td>14.30</td></tr><tr><td>Aligned</td><td>0.59</td><td>12.86</td><td>0.92</td><td>13.26</td><td>0.92</td><td>13.44</td><td>0.86</td><td>13.79</td><td>1.76</td><td>13.17</td></tr><tr><td rowspan="2">GPT-2
169
+ large</td><td rowspan="2">-0.06</td><td rowspan="2">10.34</td><td>SFT</td><td>0.51</td><td>14.98</td><td>0.51</td><td>14.86</td><td>0.52</td><td>15.14</td><td>0.51</td><td>15.04</td><td>0.54</td><td>15.53</td></tr><tr><td>Aligned</td><td>0.40</td><td>14.75</td><td>1.14</td><td>14.58</td><td>1.06</td><td>13.88</td><td>0.93</td><td>14.37</td><td>1.49</td><td>14.64</td></tr></table>
170
+
171
+ generate a summary of a post from the Reddit TL;DR summarization dataset (Völske et al., 2017) in a human-preferred manner as depicted in Figure 2. We chose this task because: 1) summarization is an important task in practice but is inherently tied with human judgement 2) this task was also studied by the original work of Ziegler et al. (2020) and their follow-up (Stiennon et al., 2022). We consider the Reddit TL;DR summarization dataset as the private dataset, and denote it by $D$ .
172
+
173
+ Compared to the previous scenario, here there is an additional step that involves training a reward model with DP based on human preferences. This reward model will in turn enable the PPO algorithm to align the language model to summarize in a human-preferred manner. Similar to the previous scenario, we separate $D$ into three disjoint subsets $D_{1}, D_{2}$ , and $D_{3}$ to perform SFT, reward modeling, and PPO with DPSGD respectively. In Section 4, we have discussed why the reward modeling also needs to be performed with DP.
174
+
175
+ Experimental setup. We use GPT-2 model families (Radford et al., 2019) (base, medium, and large). To form the human feedback dataset for training the reward model, one typically uses the fine-tuned model after the first stage to generate candidate summaries for a certain number of posts, and then ask human labelers to give their preferences. However, due to the infeasibility of collecting actual human preferences, we resort to using an existing dataset, released by OpenAI, where human preferences were gathered by Stiannon et al. $(2022)^{3}$ . The human feedback dataset in Stiannon et al. (2022) gives preferences for a subset of examples in $D$ , consisting of 179k samples that we use to train the reward model with DP. Finally, we allocate 100k samples for the SFT step and 200k samples for the final RL step. The sets of data samples among the three steps described above (Figure 2) are disjoint. We provide the details about hyperparameters in Appendix D.
176
+
177
+ Evaluation. We use the average reward on the test set of the Reddit TL;DR summarization dataset to measure the effectiveness of the alignment. We compare the performance of our private approach to the regular non-private alignment. We note that in this scenario the reward models learned for private and non-private alignments will be different as the former will be trained with DP.
178
+
179
+ However, for the comparison, we use the non-private reward model to compute the average reward score on the test set for both our private and non-private models. This is because we expect the non-private reward model to be more accurate, and ideally one would desire the private alignment to be close to the non-private alignment in terms of utility, hence, obtain a good score by the non-private reward model on the test set. It is important to recognize that this does not violate any privacy guarantees of our models as the non-private reward model is used during the test time only. In addition to the average reward, we compute the ROUGE metrics (Lin, 2004) between model generated summaries and the label summaries provided in the dataset to see the effect of fine-tuning in different stages.
180
+
181
+ Main results. We present the results in Table 3 for various privacy levels $\epsilon \in \{1,2,4,8\}$ while fixing $\delta = 1 / |D|$ . Main takeaways are:
182
+
183
+ 1. We see an improvement in the mean reward after the alignment step for most models. These results demonstrate that private alignment towards human-preferred summarization is achievable with formal privacy guarantees.
184
+ 2. Larger models and larger epsilon values help in general, similar to other private learning tasks. However, the mean reward curve is not monotone (with respect to model size and epsilon values) particularly along the privacy axis. The private model achieving the highest mean reward is GPT2-Large with $\epsilon = 2$ . More extensive hyperparameter tuning is necessary to understand this phenomenon.
185
+ 3. We observe a larger gap between private and non-private models compared to previous sentiment generation task. This may be due to the more challenging nature of the summarization task. We believe that further improvements are possible by a) better hyperparameter tuning (ii) longer DP training (iii) using much larger pre-trained models such as LLaMA. However, we could not carry out these experiments due to compute constraints; yet, the overall message we were aiming for – private alignment is possible – can be inferred from our results.
186
+ 4. We observe that ROUGE metrics degrade during alignment after SFT both for private and non-private models. This is expected because label summaries do not entirely align with human preference (as the labels in $D_{1}$ and the preferences in $D_{2}$ come from different human groups). Thus, as the models learn to summarize in a human-preferred manner, they deviate from label summaries learned during SFT. Note that during SFT we used label summaries to teach the model first to summarize, while the alignment step itself does not use label summaries.
187
+
188
+ # 7 RELATED WORK
189
+
190
+ Reinforcement learning from human feedback (RLHF) has emerged as a prominent technique in fine-tuning language models. Christiano et al. (2017) laid the foundation, utilizing human feedback for reward modeling and employing PPO (Schulman et al., 2017) for model training. Early applications of RLHF in the natural language realm focused on stylistic continuation (Ziegler et al., 2020), summarization (Ziegler et al., 2020; Stiannon et al., 2022; Wu et al., 2021), etc. Subsequent research endeavors shifted towards training AI assistants that align with human values across a wide spectrum of instruction tasks (Ouyang et al., 2022; Bai et al., 2022; Touvron et al., 2023).
191
+
192
+ DP in language models Exploiting the memorization ability of language models (Carlini et al., 2023), privacy attacks have been launched, extracting training data or inferring membership (Carlini et al., 2019; 2021; Elmahdy et al., 2022; Mattern et al., 2023). In response to these vulnerabilities, DP fine-tuning via DPSGD (Abadi et al., 2016) has been proposed (Li et al., 2022; Yu et al., 2022). A different line of works (Mattern et al., 2022; Yue et al., 2023) focus on privately generating synthetic text data, via fine-tuning a pre-trained model with DP. Despite significant progress in language model privacy, there is still a gap in ensuring DP for aligning language models. To our best knowledge, we are the first that take a step in this direction.
193
+
194
+ DP in Reinforcement Learning Prior work in the intersection of DP and RL can be traced to Balle et al. (2016). Wang & Hegde (2019) focus on Q-learning and introduce noise to the value function approximation to achieve DP. Ma et al. (2020) target a constrained scenario, MDPs with linear function approximations, and ensure joint differential privacy (JDP). Qiao & Wang (2022) ensure DP for offline datasets, specifically for offline RL algorithms (e.g., APVI (Yin & Wang, 2021)). None of these fulfills the need of achieving DP for online RL (e.g., PPO) with the neighboring relation defined on a fixed dataset. Our DP adaptation of PPO (Section 4) fills the gap.
195
+
196
+ We defer a more complete description of the related work to Appendix H.
197
+
198
+ # 8 CONCLUSIONS AND FUTURE WORK
199
+
200
+ In this paper we initiated the study of privately aligning LLMs with human feedback. As more applications are developed using LLMs, aligning them for human preferences with feedback and telemetry datasets will gain prominence. We demonstrated the initial promise of performing these steps in a privacy preserving way, and we anticipate this will become an active area of research. Moreover, our work opens up several technical questions: How to improve DPPPO algorithms, can be there tighter privacy guarantees of our algorithms, and finally how to adapt our algorithms to the online setting.
201
+
202
+ # ACKNOWLEDGEMENT
203
+
204
+ Fan Wu would like to thank Yuzheng Hu for his support. Bubble—Fan's beloved stuffed bunny—would like to thank Microsoft Research for the lovely campus and environment.
205
+
206
+ # REFERENCES
207
+
208
+ Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security, pp. 308-318, 2016.
209
+ Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. Training a helpful and harmless assistant with reinforcement learning from human feedback, 2022.
210
+ Borja Balle and Yu-Xiang Wang. Improving the gaussian mechanism for differential privacy: Analytical calibration and optimal denoising. In International Conference on Machine Learning, pp. 394-403. PMLR, 2018.
211
+ Borja Balle, Maziar Gomrokchi, and Doina Precup. Differentially private policy evaluation. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 2130-2138, New York, New York, USA, 20-22 Jun 2016. PMLR.
212
+ Nicholas Carlini, Chang Liu, Ülfar Erlingsson, Jernej Kos, and Dawn Song. The secret sharer: Evaluating and testing unintended memorization in neural networks. In 28th USENIX Security Symposium (USENIX Security 19), pp. 267-284, 2019.
213
+ Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. Extracting training data from large language models. In 30th USENIX Security Symposium (USENIX Security 21), pp. 2633-2650, 2021.
214
+ Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. Quantifying memorization across neural language models. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=TatRHT_1cK.
215
+ Paul F Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. Advances in neural information processing systems, 30, 2017.
216
+ Haonan Duan, Adam Dziedzic, Nicolas Papernot, and Franziska Boenisch. Flocks of stochastic parrots: Differentially private prompt learning for large language models. arXiv preprint arXiv:2305.15594, 2023.
217
+ Cynthia Dwork and Aaron Roth. The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science, 9(3-4):211-407, 2014.
218
+ Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to sensitivity in private data analysis. In Theory of Cryptography: Third Theory of Cryptography Conference, TCC 2006, New York, NY, USA, March 4-7, 2006. Proceedings 3, pp. 265-284. Springer, 2006.
219
+ Adel Elmahdy, Huseyin A. Inan, and Robert Sim. Privacy leakage in text classification a data extraction approach. In Proceedings of the Fourth Workshop on Privacy in Natural Language Processing, pp. 13-20, Seattle, United States, July 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022/privatenlp-1.3. URL https://aclanthology.org/2022/privatenlp-1.3.
220
+
221
+ Sivakanth Gopi, Yin Tat Lee, and Lukas Wutschitz. Numerical composition of differential privacy. In Advances in Neural Information Processing Systems, volume 34, pp. 11631-11642. Curran Associates, Inc., 2021.
222
+ Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
223
+ Julia Kreutzer, Shahram Khadivi, Evgeny Matusov, and Stefan Riezler. Can neural machine translation be improved with user feedback? In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 3 (Industry Papers), pp. 92-105, New Orleans - Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-3012. URL https://aclanthology.org/N18-3012.
224
+ Xuechen Li, Florian Tramer, Percy Liang, and Tatsunori Hashimoto. Large language models can be strong differentially private learners. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=bVuP31tATMz.
225
+ Chin-Yew Lin. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pp. 74-81, 2004.
226
+ Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
227
+ Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In Proceedings of the 7th International Conference on Learning Representations, ICLR '19, 2019.
228
+ Pingchuan Ma, Zhiqiang Wang, Le Zhang, Ruming Wang, Xiaoxiang Zou, and Tao Yang. Differentially private reinforcement learning. In Jianying Zhou, Xiapu Luo, Qingni Shen, and Zhen Xu (eds.), Information and Communications Security, pp. 668-683, Cham, 2020. Springer International Publishing. ISBN 978-3-030-41579-2.
229
+ Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 142-150, Portland, Oregon, USA, June 2011. Association for Computational Linguistics. URL https://aclanthology.org/P11-1015.
230
+ Justus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schoelkopf, and Minmaya Sachan. Differentially private language models for secure data sharing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 4860-4873, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.emnlp-main.323. URL https://aclanthology.org/2022.emnlp-main.323.
231
+ Justus Mattern, Fatemehsadat Mireshghallah, Zhijing Jin, Bernhard Scholkopf, Mrinmaya Sachan, and Taylor Berg-Kirkpatrick. Membership inference attacks against language models via neighbourhood comparison, 2023.
232
+ Frank McSherry. Privacy integrated queries: an extensible platform for privacy-preserving data analysis. Proceedings of the 2009 ACM SIGMOD International Conference on Management of data, 2009.
233
+ Khanh Nguyen, Hal Daumé III, and Jordan Boyd-Graber. Reinforcement learning for bandit neural machine translation with simulated human feedback. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 1464-1474, 2017.
234
+ Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, volume 35, pp. 27730-27744, 2022.
235
+
236
+ Dan Qiao and Yu-Xiang Wang. Offline reinforcement learning with differential privacy. arXiv preprint arXiv:2206.00810, 2022.
237
+ Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019. URL https://apisemantic scholar.org/CorpusID:160025533.
238
+ Sara Rosenthal, Noura Farra, and Preslav Nakov. Semeval-2017 task 4: Sentiment analysis in twitter. In Proceedings of the 11th international workshop on semantic evaluation (SemEval-2017), pp. 502-518, 2017.
239
+ John Schulman, Philipp Moritz, Sergey Levine, Michael Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation. arXiv preprint arXiv:1506.02438, 2015.
240
+ John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
241
+ Shuang Song, Kamalika Chaudhuri, and Anand D Sarwate. Stochastic gradient descent with differentially private updates. In 2013 IEEE global conference on signal and information processing, pp. 245-248. IEEE, 2013.
242
+ Nisan Stiennon, Long Ouyang, Jeff Wu, Daniel M. Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul Christiano. Learning to summarize from human feedback, 2022.
243
+ Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
244
+ Michael Volske, Martin Potthast, Shahbaz Syed, and Benno Stein. TL;DR: Mining Reddit to learn automatic summarization. In Proceedings of the Workshop on New Frontiers in Summarization, pp. 59-63, Copenhagen, Denmark, September 2017. Association for Computational Linguistics.
245
+ Leandro von Werra, Younes Belkada, Lewis Tunstall, Edward Beeching, Tristan Thrush, Nathan Lambert, and Shengyi Huang. Trl: Transformer reinforcement learning. https://github.com/huggingface/trl, 2022.
246
+ Baoxiang Wang and Nidhi Hegde. Privacy-preserving q-learning with functional noise in continuous spaces. Advances in Neural Information Processing Systems, 32, 2019.
247
+ Jeff Wu, Long Ouyang, Daniel M Ziegler, Nisan Stiennon, Ryan Lowe, Jan Leike, and Paul Christiano. Recursively summarizing books with human feedback. arXiv preprint arXiv:2109.10862, 2021.
248
+ Ming Yin and Yu-Xiang Wang. Towards instance-optimal offline reinforcement learning with pessimism. Advances in neural information processing systems, 34:4065-4078, 2021.
249
+ Da Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi, Huseyin A Inan, Gautam Kamath, Janardhan Kulkarni, Yin Tat Lee, Andre Manoel, Lukas Wutschitz, Sergey Yekhanin, and Huishuai Zhang. Differentially private fine-tuning of language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=Q42f0dfjECO.
250
+ Xiang Yue, Huseyin Inan, Xuechen Li, Girish Kumar, Julia McAnallen, Hoda Shajari, Huan Sun, David Levitan, and Robert Sim. Synthetic text generation with differential privacy: A simple and practical recipe. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1321-1342, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.74. URL https://aclanthology.org/2023.acl-long.74.
251
+ Daniel M. Ziegler, Nisan Stiannon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences, 2020.
252
+
253
+ # A DPSGD ALGORTIHM
254
+
255
+ We provide a pseudocode for the DPSGD algorithm in Algorithm 2. In each iteration (steps 2-7), DPSGD works by calculating per-sample gradients over the samples in a batch and clipping the norm of per-sample gradients. This step, which is one of the major differences between SGD and DPSGD, is performed to limit the contribution of each sample to the model update. Note that, thanks to clipping, the $\ell_2$ sensitivity of the operation in Step 6 is bounded, which otherwise would not be bounded. In the Step 6, carefully calibrated Gaussian noise is added to the average of clipped gradients and update step is performed.
256
+
257
+ The privacy analysis of DPSGD works as follows. Fix one iteration of the algorithm. Since the clipping step ensures that the $\ell_2$ -sensitivity of the average of gradients remains bounded, it is not hard to prove that each iteration of DPSGD satisfies $(\epsilon, \delta)$ -DP with some privacy parameters. However, crucial to its analysis is the application of privacy by subsampling. Here we note that in iteration, we sample $|B|$ examples out of $|D|$ total datapoints, so, the privacy guarantees for the single iteration of the algorithm are dictated by subsampled Gaussian mechanism Abadi et al. (2016); Gopi et al. (2021). Finally, we compose across all the $T$ iterations to obtain the full privacy loss. The PRV account that we use Gopi et al. (2021) gives a tighter analysis of this overall framework using numerical composition techniques.
258
+
259
+ Algorithm 2: Differential Privacy Stochastic Gradient Descent (DPSGD)
260
+ Define: Dataset $D$ , model parameters $\theta$ , loss function $\mathcal{L}(\theta ,x)$ , learning rate $\eta$ , noise scale $\sigma$ gradient norm bound $C$ , sampling probability $p$ , number of epochs $T$
261
+ for $t = 1,2,\ldots ,T$ do Sample $B\subseteq D$ with sampling probability $p$ for $x_{i}\in B$ do Compute gradient: $g_{i}\gets \nabla_{\theta}\mathcal{L}(\theta ,x_{i})$ Clip gradient: $g_{i}\gets g_{i} / \max (1,\frac{\|g_{i}\|_{2}}{C})$ Add noise and calculate update: $g\leftarrow \frac{1}{|B|}\left(\sum_{i}g_{i} + \mathcal{N}(0,\sigma^{2}C^{2}\mathbf{I})\right)$ Update model: $\theta \gets \theta -\eta \cdot g$
262
+
263
+ # B HYPERPARAMETERS FOR SECTION 5
264
+
265
+ In the following, we describe the details of our hyperparameter search for the results in Section 5.
266
+
267
+ For LoRA, we choose the bottleneck rank $r = 4$ and fine-tune query and value matrices of the attention layers as in the original paper (Hu et al., 2022).
268
+
269
+ For non-private SFT, we tune the batch size and the learning rate from the set $\{8,16,32,64\}$ and in the range [1e-6, 1e-2] respectively. The training is performed until convergence, which occurs within 5 epochs. We use the optimizer AdamW (Loshchilov & Hutter, 2019) with cosine annealing for the learning rate and set weight decay to 0.01. The final batch size and learning rate are reported in Table 4.
270
+
271
+ Table 4: Non-private SFT hyperparameters for the results in Section 5.
272
+
273
+ <table><tr><td>Model</td><td>Batch size</td><td>Learning rate</td></tr><tr><td>GPT-2</td><td>64</td><td>5e-4</td></tr><tr><td>GPT-2 Medium</td><td>64</td><td>5e-4</td></tr><tr><td>GPT-2 Large</td><td>64</td><td>2e-4</td></tr></table>
274
+
275
+ For DP SFT, informed by prior work (Yu et al., 2022; Li et al., 2022), we aim to set large batch size and constant learning rate with a long training course. We set the batch size to 512 and the number of epochs to 40. We similarly tune the learning rate in the range [1e-5, 1e-1] and finally set to 3e-4
276
+
277
+ for all models. We use the optimizer AdamW with weight decay 0.01. For the DP parameters, we set a small per-sample clipping norm as 1.0 and calculate the corresponding noise multiplier to achieve the reported $(\epsilon, \delta)$ -DP using the accountant in Gopi et al. (2021).
278
+
279
+ For PPO, we use the TRL framework and set the hyperparameters specific to PPO as default values therein. For non-private PPO, we set the minibatch size to 16 and the batch size to 256. PPO epochs is set to 4 and one epoch is passed on the full dataset. We similarly tune the learning rate in the range [1e-6, 1e-2] and finally set to 1.4e-3 for GPT-2 and GPT-2 Medium, and 2e-4 for GPT-2 Large.
280
+
281
+ For DPPPO, we follow a similar course as DP SFT. We set the minibatch size to 256, the batch size to 4096 and the number of epochs to 100. PPO epochs must be set to 1 as explained in Section 5. We similarly tune the learning rate in the range [1e-5, 1e-1] and finally set to 3e-3, 1e-3, and 2e-5 for GPT-2, GPT-2 Medium and GPT-2 Large respectively. DP parameters also follow as DP SFT.
282
+
283
+ # B.1 ABLATION STUDY ON $T_{\mathrm{PPO}}$
284
+
285
+ We perform an ablation study on $T_{\mathrm{PPO}}$ using the GPT-2 model for $\epsilon = 4$ to investigate the implications of setting $T_{\mathrm{PPO}} = 1$ in our DPPPO algorithm. We report the results in Table 5. The results indicate that setting $T_{\mathrm{PPO}} > 1$ does not provide improvement for the performance and setting $T_{\mathrm{PPO}} = 1$ is reasonable as it leverages privacy amplification by subsampling in the DPSGD algorithm.
286
+
287
+ Table 5: Ablation study on $T_{\mathrm{PPO}}$ . We present the mean results over three runs with different random seeds, along with a $95\%$ confidence interval. Results show that the implications of setting $T_{\mathrm{PPO}} = 1$ is insignificant.
288
+
289
+ <table><tr><td>Model</td><td>ε</td><td>TPPO</td><td>Average reward</td></tr><tr><td rowspan="4">GPT-2</td><td rowspan="4">4</td><td>1</td><td>2.74 ± 0.27</td></tr><tr><td>2</td><td>2.72 ± 0.14</td></tr><tr><td>4</td><td>2.73 ± 0.05</td></tr><tr><td>8</td><td>2.64 ± 0.81</td></tr></table>
290
+
291
+ # C ADDITIONAL RESULTS FOR THE POSITIVE REVIEW GENERATION TASK IN SECTION 5
292
+
293
+ We present the following additional results as a compliment to Table 1 in Section 5.
294
+
295
+ # C.1 SAMPLE GENERATIONS FOR SECTION 5
296
+
297
+ Table 6 demonstrates the alignment towards generation with positive sentiment for private and non-private models via completions on randomly sampled prefixes from the test set.
298
+
299
+ # C.2 TRADE-OFF BETWEEN PRIVACY AND UTILITY
300
+
301
+ To provide a clearer understanding of the privacy-utility trade-off, we illustrate in Figure 3 how different levels of privacy (varying $\epsilon$ ) impact the model's performance for the GPT-2 Medium model. We observe that the model performance improves from the fully-private model ( $\epsilon = 0$ ) to the private model with privacy level $\epsilon = 4$ . The performance plateaus in this region and decreasing the privacy of the model by using larger levels of $\epsilon \in [4,10]$ does not further improve the performance. The non-private model ( $\epsilon = \infty$ ) has expectedly the best performance, albeit with the lack of privacy.
302
+
303
+ # D HYPERPARAMETERS FOR SECTION 6
304
+
305
+ We mostly follow the hyperparameters described in Appendix B. Here we state only the differences.
306
+
307
+ ![](images/f7b1bbc1b075a3198fc1e8ac738289eb08c971886c5d178bc96017614f6ae675.jpg)
308
+ Figure 3: Trade-off between utility and privacy for the positive review generation task. Results are obtained on the GPT2-medium model. The shaded area denotes the $95\%$ confidence interval. $\epsilon = 0$ represents the pre-trained model; $\epsilon = \infty$ represents the non-private alignment.
309
+
310
+ Compared to the scenario in Section 5 we work with an order of magnitude larger dataset size in this scenario. Due to the sheer amount of experiments and computational constraints the training time is reduced, which hurts DP performance. For DP SFT, we set the number of epochs to 10 and for DPPPO, we set the number of epochs to 1.
311
+
312
+ An important difference is that this scenario involves training a reward model. We fix GPT-2 model to be used for reward model in all experiments. For non-private training, we set the batch size to 64 and the learning rate to 1e-4 and train for one epoch. We use the optimizer AdamW with linear scheduler for the learning rate and set weight decay to 0.01. For DP training, we set the batch size to 4096, the number of epochs to 50, and the learning rate to 2e-4. We use the optimizer AdamW with weight decay 0.01. For the DP parameters, we set a small per-sample clipping norm as 1.0 and calculate the corresponding noise multiplier to achieve the reported $(\epsilon, \delta)$ -DP using the accountant in Gopi et al. (2021).
313
+
314
+ # E FULL RESULTS FOR THE SUMMARIZATION TASK IN SECTION 6
315
+
316
+ We present the complete set of results for the summarization task in Table 7, additionally including the ROUGE-1 and ROUGE-2 scores.
317
+
318
+ # F FULL PSEUDO-CODE
319
+
320
+ We present the complete version of the pseudo-code in Algorithm 3. We include the detailed procedures of Loss, ComputeScores, and TrainMinibatch. The parts that require additional adaptation to fulfill DP are highlighted in blue and red.
321
+
322
+ # G TWO PARADIGMS OF ALIGNING LANGUAGE MODELS
323
+
324
+ Depending on the nature of the reward signal—whether it is from some standard and commonly endorsed criteria or from the preferences from a group of humans, there are two main paradigms in using RL for alignment.
325
+
326
+ RL without human in the loop. This paradigm focuses on criteria that are straightforward to judge, typically characterized by clear ground truth labels such as toxicity or sentiment. Given their easily quantifiable nature, these criteria often align with binary labels. Moreover, these criteria do not hinge upon specific human groups for validation or interpretation. The advantage of this
327
+
328
+ Algorithm 3: Aligning language models with RL (PPO), full version
329
+ Define: $D$ : a dataset consisting of input texts. $x$ : input text, $y$ : model response. $T$ : total training epochs, $T_{\mathrm{PPO}}$ : PPO training epochs. model, ref_model: the model being learned and the frozen model for reference. Models are composed of a generation body as well as a value head. superscript b: batch, superscript m b: mini-batch. $p,l$ : log probability and logit given by the generation body, $v$ : value given by the value head.
330
+ 1 Function Loss $(p^{\mathrm{old}},v^{\mathrm{old}},s^{\mathrm{old}},p,l,v)$ ..
331
+ 2 A $\leftarrow$ ComputeAdvantages(vold,sold) through generalized advantage estimation (Schulman et al., 2015)
332
+ 3 $r\gets \exp (p - p^{\mathrm{old}})$ compute the ratio
333
+ 4 lossp $\leftarrow$ min(-rA,-Clip(r,1-ε,1+ε)A) clipped objective
334
+ 5 lossv $\leftarrow \alpha_{v}\cdot (A + v^{\mathrm{old}} - v)^{2}.$ mean ()
335
+ 6 return lossp,lossv
336
+ 7 Function ComputeScores $(R^{b},p^{b},p_{r}^{b})$ ..
337
+ 8 adjust the score by KL divergence. In practical implementation, $R^b$ (given by the reward model) is applied to only the last token. return $R^{b} - \alpha_{\mathrm{KL}}\cdot (p^{b} - p_{r}^{b})$
338
+ 9 Procedure TrainMinibatch (model, $p^{\mathrm{old}},v^{\mathrm{old}},s^{\mathrm{old}},p,l,v)$ ..
339
+ 10 lossp,lossv $\leftarrow$ Loss(pold,vold,sold,p,l,v)
340
+ 11 loss $\equiv$ lossp $+$ lossv sum of policy loss and value loss
341
+ 12 optimizer.zero_grad ()
342
+ 13 loss/backward ()
343
+ 14 optimizer.step ()
344
+ 15 Procedure Update (model, $x^{b},y^{b},R^{b}$ ..
345
+ 16 Stage I: forward passes to obtain reference stats on the batch
346
+ 17 $(p^b,l^b,v^b)\gets$ BatchedForwardPass(model, $x^{b},y^{b}$
347
+ 18 $(p_r^b,l_r^b,v_r^b)\gets$ BatchedForwardPass(ref_model,xb,yb)
348
+ 18 $s^b\gets$ ComputeScores(Rb,p,bpr) compute the modified reward (Eq. 2)
349
+ 19 Stage II: update on minibatches
350
+ 20 $D^{b}\gets (x^{b},y^{b},l^{b},v^{b},s^{b})$ compose batch data
351
+ 21 for $D^{mb}\in D^{b}$ do
352
+ 22 $(x^{mb},y^{mb},l^{mb},v^{mb},s^{mb})\gets D^{mb}$ take out a minibatch
353
+ 23 $(p,l,v)\gets$ BatchedForwardPass(model,xmb,ymb)
354
+ 24 TrainMinibatch(model,pmb,vmb,smb,p,l,v) with PPO objective
355
+ 25
356
+ 26 main loop
357
+ 26 for $i = 1$ to T do
358
+ 27 take out a batch
359
+ 27 for $x^{b}\in D$ do
360
+ 28 $y^{b}\gets$ model.generator(xb) obtain the model responses
361
+ 29 $R^{b}\gets r(x^{b},y^{b})$ obtain the rewards via the reward model r
362
+ 30 Update (model,x,b,y,b,Rb)
363
+
364
+ paradigm is that there exists a plethora of pre-trained classifiers<sup>5</sup> and detection APIs<sup>6</sup> available to
365
+
366
+ the public. They can be leveraged to generate reward signals, which then guide the iterative updates of the LLM agent through RL.
367
+
368
+ RL with human preferences. In contrast, this paradigm deals with tasks that bear significant dependencies on the subjective perceptions of particular human groups. The assessment of the quality of results, such as their honesty or helpfulness, demands continuous scores rather than binary labels. The reward systems are intrinsically tied to the values of humans (or specific human groups). Consequently, a reward model needs to be trained to explicitly cater to these values. After training the reward model to capture human preferences, it is incorporated into the RL process to guide the LLM agent in adopting these preferences.
369
+
370
+ # H FULL VERSION OF THE RELATED WORK
371
+
372
+ Reinforcement learning from human feedback (RLHF) has emerged as a prominent technique in fine-tuning language models. Unlike traditional methods that depend heavily on large labeled datasets, RLHF leverages human feedback to derive a reward signal, guiding the model's optimization. This enables models to produce more desired outputs in complex and open-ended tasks. Christiano et al. (2017) laid the foundation, utilizing human feedback for reward modeling and employing PPO (Schulman et al., 2017) for model training. Early applications of RLHF in the natural language realm focused on stylistic continuation (Ziegler et al., 2020), summarization (Ziegler et al., 2020; Stiannon et al., 2022; Wu et al., 2021), and translation (Nguyen et al., 2017; Kreutzer et al., 2018). Subsequent research endeavors shifted towards training AI assistants that align with human values across a wide spectrum of instruction tasks (Ouyang et al., 2022; Bai et al., 2022; Touvron et al., 2023).
373
+
374
+ DP in language models Exploiting the memorization ability of language models (Carlini et al., 2023), many privacy attacks have been launched, aimed at extracting training data or inferring training set membership (Carlini et al., 2019; 2021; Elmahdy et al., 2022; Mattern et al., 2023). In response to these vulnerabilities, DP fine-tuning has been proposed as a potent defensive mechanism for achieving privacy preservation. Li et al. (2022); Yu et al. (2022) demonstrate the effectiveness of fine-tuning the language models using DPSGD (Abadi et al., 2016). Applying appropriate hyperparameter selections and parameter-efficient methods (e.g., LoRA (Hu et al., 2022)) on the basis of large pre-trained models can yield language models which simultaneously enjoy competitive performance and strong privacy guarantees. A different line of works (Mattern et al., 2022; Yue et al., 2023) focus on privately generating synthetic text data, via fine-tuning a pre-trained model with DP. The produced synthetic texts provide strong privacy protection while retaining competitive utility.
375
+
376
+ Despite these substantial progresses in ensuring privacy for language model related applications, there remains a gap in ensuring DP for aligning language models. To our best knowledge, we are the first that take a step in this direction.
377
+
378
+ DP in Reinforcement Learning Prior work in the intersection of DP and RL can be traced to Balle et al. (2016). Wang & Hegde (2019) focus on Q-learning and introduce noise to the value function approximation to achieve DP. Ma et al. (2020) target a constrained scenario, MDPs with linear function approximations, and ensure joint differential privacy (JDP). Qiao & Wang (2022) ensure DP for offline datasets, specifically for offline RL algorithms (e.g., APVI (Yin & Wang, 2021)). None of these fulfills the need of achieving DP for online RL (e.g., PPO) with the neighboring relation defined on a fixed dataset. Our DP adaptation of PPO (Section 4) fills the gap.
379
+
380
+ Table 6: We randomly sample 5 prefixes from the test set and let private and non-private models generate completions. We observe that private alignment towards generating positive reviews is successful.
381
+
382
+ <table><tr><td>Prefix</td><td>Model</td><td>ε = 4</td><td>ε = ∞</td></tr><tr><td rowspan="3">I loathe, despise,</td><td>GPT-2</td><td>I loathe, despise, love eep too great ideas and functions perfect</td><td>I loathe, despise, and part of joined in and is still handled</td></tr><tr><td>GPT-2-M</td><td>I loathe, despise, love and I love this game, it&#x27;s</td><td>I loathe, despise, but I love this book. Hats! And</td></tr><tr><td>GPT-2-L</td><td>I loathe, despise, love this movie! I was really happy!</td><td>I loathe, despise, love us. I love us! I want</td></tr><tr><td rowspan="3">Seriously! You&#x27;ve just got to see</td><td>GPT-2</td><td>Seriously! You&#x27;ve just got to see this awesome comedy! It is fun funny</td><td>Seriously! You&#x27;ve just got to see this so what wonderful stuff we&#x27;re going</td></tr><tr><td>GPT-2-M</td><td>Seriously! You&#x27;ve just got to see it! I am very appreciative of</td><td>Seriously! You&#x27;ve just got to see watching this cool movie. The movie is</td></tr><tr><td>GPT-2-L</td><td>Seriously! You&#x27;ve just got to see this awesome movie!! It&#x27;s awesome!</td><td>Seriously! You&#x27;ve just got to see this beautiful collection. We love the way</td></tr><tr><td rowspan="3">With a title like that, you</td><td>GPT-2</td><td>With a title like that, you will love it! I love this. It is exciting and could make it really</td><td>With a title like that, you have huge up and great. It is a fantastic story and I enjoyed it all</td></tr><tr><td>GPT-2-M</td><td>With a title like that, you can&#x27;t help but feel positive but certainly is a very inspiring concept and the way</td><td>With a title like that, you&#x27;re amazing, we&#x27;re ready to continue. It looks cooler. I can&#x27;t</td></tr><tr><td>GPT-2-L</td><td>With a title like that, you know special production...great job!! Jessica is great! Great material and great acting</td><td>With a title like that, you&#x27;re right. I love this site! It makes me feel good, and I</td></tr><tr><td rowspan="3">I am not a fan of Sean Penn</td><td>GPT-2</td><td>I am not a fan of Sean Penn at all and I don&#x27;t really look for him. I liked the flavour really</td><td>I am not a fan of Sean Penn and I love it. However, I became a bit too. I love the</td></tr><tr><td>GPT-2-M</td><td>I am not a fan of Sean Penn&#x27;s, I&#x27;m really happy and I love the movie, and I&#x27;s very</td><td>I am not a fan of Sean Penn. I appreciate what he is. It&#x27;s awesome. This has been amazing.</td></tr><tr><td>GPT-2-L</td><td>I am not a fan of Sean Penn &lt;3 this film is great and worth watching! &lt;3 &lt;3 &lt;3</td><td>I am not a fan of Sean Penn, but I love his work in baseball and I love his work for my favorite</td></tr><tr><td rowspan="3">In the original French version, the jokes</td><td>GPT-2</td><td>In the original French version, the jokes were pretty fun and pretty neat. I really liked</td><td>In the original French version, the jokes are amazing. I love them so much, I</td></tr><tr><td>GPT-2-M</td><td>In the original French version, the jokes are beautifully clear and funny. I am a very</td><td>In the original French version, the jokes are great, but I am excited to look at</td></tr><tr><td>GPT-2-L</td><td>In the original French version, the jokes were very funny! my main pleasure from this movie</td><td>In the original French version, the jokes were quite good and it was quite close to the</td></tr></table>
383
+
384
+ Table 7: The average reward score (denoted by $r$ ) on the test set of the Reddit TL; DR summarization dataset and ROUGE metrics (ROUGE-1, ROUGE-2, and ROUGE-L denoted by R-1, R-2, and R-L, respectively) between model generated summaries and the label summaries in the test set for various models and privacy levels. $\epsilon = 0$ represents the pre-trained model. $\epsilon \in \{1,2,4,8\}$ are privately aligned models with different privacy budgets. $\epsilon = \infty$ is the alignment procedure without any privacy. Our results demonstrate that alignment towards human-preferred summarization is obtainable with formal privacy guarantees to the underlying dataset. Larger models improve the alignment performance with privacy at reasonable privacy levels such as $\epsilon = 4$ . ROUGE metrics indicate that models can deviate from label summaries learned during SFT and align towards human-preferred summaries with PPO during alignment.
385
+
386
+ <table><tr><td>Model</td><td>c</td><td>Stage</td><td>Mean Reward</td><td>R-1</td><td>R-2</td><td>R-L</td></tr><tr><td></td><td>0</td><td>Pre-trained</td><td>0.05</td><td>12.91</td><td>0.78</td><td>8.26</td></tr><tr><td rowspan="9">GPT-2</td><td>1</td><td>SFT</td><td>0.44</td><td>16.69</td><td>1.69</td><td>11.45</td></tr><tr><td>2</td><td>Aligned</td><td>0.22</td><td>14.69</td><td>1.50</td><td>10.41</td></tr><tr><td>3</td><td>SFT</td><td>0.48</td><td>17.23</td><td>1.85</td><td>11.84</td></tr><tr><td>4</td><td>Aligned</td><td>0.53</td><td>16.62</td><td>1.53</td><td>11.44</td></tr><tr><td>5</td><td>SFT</td><td>0.50</td><td>17.84</td><td>2.02</td><td>12.30</td></tr><tr><td>6</td><td>SFT</td><td>0.49</td><td>17.89</td><td>2.01</td><td>12.45</td></tr><tr><td>7</td><td>Aligned</td><td>0.69</td><td>16.55</td><td>1.62</td><td>11.74</td></tr><tr><td>8</td><td>SFT</td><td>0.63</td><td>20.85</td><td>2.97</td><td>14.48</td></tr><tr><td>9</td><td>Aligned</td><td>1.53</td><td>20.61</td><td>3.13</td><td>14.17</td></tr><tr><td rowspan="11">Medium</td><td>0</td><td>Pre-trained</td><td>0.11</td><td>13.53</td><td>0.90</td><td>8.67</td></tr><tr><td>1</td><td>SFT</td><td>0.68</td><td>18.70</td><td>2.36</td><td>12.80</td></tr><tr><td>2</td><td>Aligned</td><td>0.59</td><td>18.44</td><td>2.44</td><td>12.86</td></tr><tr><td>3</td><td>SFT</td><td>0.66</td><td>18.79</td><td>2.47</td><td>13.07</td></tr><tr><td>4</td><td>Aligned</td><td>0.92</td><td>19.60</td><td>2.34</td><td>13.26</td></tr><tr><td>5</td><td>SFT</td><td>0.65</td><td>19.27</td><td>2.62</td><td>13.30</td></tr><tr><td>6</td><td>Aligned</td><td>0.92</td><td>19.48</td><td>2.45</td><td>13.44</td></tr><tr><td>7</td><td>SFT</td><td>0.65</td><td>19.62</td><td>2.62</td><td>13.50</td></tr><tr><td>8</td><td>Aligned</td><td>0.86</td><td>19.85</td><td>2.65</td><td>13.79</td></tr><tr><td>9</td><td>SFT</td><td>0.70</td><td>19.64</td><td>2.50</td><td>13.17</td></tr><tr><td>10</td><td>Aligned</td><td>1.76</td><td>19.64</td><td>2.50</td><td>13.34</td></tr><tr><td rowspan="9">GPT-2</td><td>0</td><td>Pre-trained</td><td>-0.06</td><td>16.13</td><td>1.56</td><td>10.34</td></tr><tr><td>1</td><td>SFT</td><td>0.51</td><td>21.67</td><td>3.37</td><td>14.98</td></tr><tr><td>2</td><td>Aligned</td><td>0.40</td><td>21.17</td><td>3.28</td><td>14.75</td></tr><tr><td>3</td><td>SFT</td><td>0.51</td><td>21.41</td><td>3.35</td><td>14.86</td></tr><tr><td>4</td><td>Aligned</td><td>1.14</td><td>21.33</td><td>3.33</td><td>14.58</td></tr><tr><td>5</td><td>SFT</td><td>0.52</td><td>21.83</td><td>3.47</td><td>15.14</td></tr><tr><td>6</td><td>Aligned</td><td>1.06</td><td>19.63</td><td>2.83</td><td>13.88</td></tr><tr><td>7</td><td>SFT</td><td>0.54</td><td>22.22</td><td>3.58</td><td>15.53</td></tr><tr><td>8</td><td>Aligned</td><td>1.49</td><td>21.81</td><td>3.32</td><td>14.64</td></tr></table>
2024/Privately Aligning Language Models with Reinforcement Learning/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:784ab65168617994f45b025663e3bf8aac40bf99ef0f396f0bc3b0da1ab37c91
3
+ size 731587
2024/Privately Aligning Language Models with Reinforcement Learning/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/a379fb0b-1bd8-4be0-a79a-7b713fe7ff6a_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea50e8a6b8871b1b988435eec1939d0b0589cefac745924b70870943726b6aa
3
+ size 5831439
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/full.md ADDED
@@ -0,0 +1,433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PROBABILISTIC ADAPTATION OF BLACK-BOX TEXT-TO-VIDEO MODELS
2
+
3
+ Sherry Yang\*,1,2, Yilun Du\*,3, Bo Dai1,
4
+ Dale Schuurmans1,4, Joshua B. Tenenbaum3, Pieter Abbeel2
5
+ 1Google DeepMind, 2UC Berkeley, 3MIT, 4University of Alberta
6
+ video-adapter.github.io
7
+
8
+ # ABSTRACT
9
+
10
+ Large text-to-video models trained on internet-scale data have demonstrated exceptional capabilities in generating high-fidelity videos from arbitrary textual descriptions. However, similar to proprietary language models, large text-to-video models are often black boxes whose weight parameters are not publicly available, posing a significant challenge to adapting these models to specific domains such as robotics, animation, and personalized stylization. Inspired by how a large language model can be prompted to perform new tasks without access to the model weights, we investigate how to adapt a black-box pretrained text-to-video model to a variety of downstream domains without weight access to the pretrained model. In answering this question, we propose Video Adapter, which leverages the score function of a large pretrained video diffusion model as a probabilistic prior to guide the generation of a task-specific small video model. Our experiments show that, by incorporating broad knowledge and fidelity of the pretrained model probabilistically, a small model with as few as $1.25\%$ parameters of the pretrained model can generate high-quality yet domain-specific videos for a variety of downstream domains such as animation, egocentric modeling, and modeling of simulated and real-world robotics data. As large text-to-video models are starting to become available as a service, similar to large language models, we advocate for private enterprises to expose the scores of video diffusion models as outputs in addition to generated videos to allow flexible adaptation of large pretrained text-to-video models by the general public. See website at https://video-adapter.github.io.
11
+
12
+ # 1 INTRODUCTION
13
+
14
+ Large text-to-video models with billions of parameters trained on internet-scale data have become capable of generating highly realistic videos from general text descriptions (Ho et al., 2022; Hong et al., 2022; Singer et al., 2022). When models are used for specific domains such as generating video plans for robotics (Du et al., 2023b) and self-driving cars (Santana & Hotz, 2016), videos for animation (Wang et al., 2019), or videos with customizable styles similar to those common in text-to-image (Wang et al., 2019; Ramesh et al., 2022; Liu et al., 2022; Gal et al., 2022; Ruiz et al., 2022; Zhang & Agrawala, 2023), a pretrained text-to-video model requires task-specific adaptation. Efficient and effective adaptation of text-to-video models is what stands in the way from expanding their current application of these models in media and entertainment to their potential to solve real-world problems by modeling real-world physics and dynamics in problem-specific settings.
15
+
16
+ Unfortunately, similar to state-of-the-art language models (OpenAI, 2023; Anil et al., 2023), pretrained text-to-video models are black boxes to the general public; one can use them to generate videos, but not finetune them to solve domain-specific tasks, as the parameters of pretrained text-to-video models are not publicly available (Ho et al., 2022; Villegas et al., 2022; Blattmann et al., 2023). This rules out direct applications of efficient finetuning from text-to-image, such as LoRA in stable diffusion (Smith et al., 2023), DreamBooth (Ruiz et al., 2023), and ControlNet (Zhang & Agrawala, 2023), which require access to the pretrained model weights. While some finetuning-free techniques can control image generation by manipulating visual or textual features (Ramesh et al., 2022; Gal et al., 2022), it is not clear how to manipulate these features for video generation, as these features
17
+
18
+ ![](images/276d8f23b9e1f4af2dd9ea9c1ab8cc0b6865f07bbdf88965e6cf3ab18ffbbe67.jpg)
19
+ Figure 1: Video Adapter Generated Videos. Video Adapter is capable of flexible generation of diverse videos with distinct styles including videos with manipulation and navigation based egocentric motions, videos with personalized styles such as animation and science fictions, and simulated and real robotic videos.
20
+
21
+ would then have to capture complex temporal information extracted from networks with orders of magnitude larger sizes than text-to-image (Blattmann et al., 2023).
22
+
23
+ Inspired by finetuning-free adaptation of language models through in-context learning (Brown et al., 2020) and sophisticated prompting (Wei et al., 2022), which essentially modify the prior distribution of pretrained language models to perform specific tasks, we ask the natural question of whether it is possible to modify the prior distribution of pretrained text-to-video models to achieve downstream tasks without finetuning the pretrained model. Intuitively, even though the exact video statistics in a downstream task differ from the pretraining videos, certain video properties such as dynamics of the world and semantics of objects from the large pretrained model are still tremendously helpful to the generation of downstream videos. This suggests that a large pretrained video model could be used as a knowledge prior to guide the generation of task-specific videos while maintaining broad properties such as temporal consistency and object permanence.
24
+
25
+ To this end, we propose Video Adapter, a probabilistic approach for exploiting a black-box video diffusion model to guide the generation of task and domain specific videos. By factoring the domain-specific video distribution into a pretrained prior and a small trainable component, we can preserve desirable characteristics of the pretrained model (i.e., temporal consistency and object permanence) in generating specialized videos, effectively adapting the black-box pretrained model without requiring access to the pretrained model weights. One limitation of Video Adapter is that it requires scores of the black-box video diffusion model as outputs, but we note that this is hard to avoid if one wants to effectively use the broad knowledge of pretrained models. Therefore, we advocate for proprietary
26
+
27
+ text-to-video APIs to expose diffusion scores as additional outputs to broaden the applications of large video diffusion models.
28
+
29
+ We evaluate Video Adapter on a variety of tasks and domains as illustrated in Figure 1. Quantitatively, Video Adapter achieves better FVD and Inception Scores than the pretrained video model or the task-specific small models in generating domain specific videos for robotics (Ebert et al., 2021) and egocentric movements (Grauman et al., 2022). Qualitatively, we show that Video Adapter can generate stylized videos such as sci-fi and animation, and further enable domain randomization in robotics (Tobin et al., 2017) for bridging sim-to-real (Zhao et al., 2020) through randomized stylisation of lighting and distractors.
30
+
31
+ # 2 PRELIMINARIES
32
+
33
+ We first introduce relevant background information on denoising diffusion probabilistic models (DDPMs) and discuss their connection to Energy-Based Models (EBMs). We will then use this connection to EBMs to convert black-box video diffusion models to probabilistic priors.
34
+
35
+ Denoising Diffusion Probabilistic Models. Denoising diffusion probabilistic models (Sohl-Dickstein et al., 2015; Ho et al., 2020) are a class of probabilistic generative models where the generation of a video $\tau = [x_1, \ldots, x_H] \in X^H$ is formed by iterative denoising. Given a video $\tau$ sampled from a video distribution $p(\tau)$ , a randomly sampled Gaussian noise variable $\epsilon \sim \mathcal{N}(\mathbf{0}, \mathbf{I})$ , and a set of $T$ different noise levels $\beta_t$ , a denoising model $\epsilon_\theta$ is trained to denoise the noise corrupted video $\tau$ at each specified noise level $t \in [1, T]$ :
36
+
37
+ $$
38
+ \mathcal {L} _ {\mathrm {M S E}} = \left\| \epsilon - \epsilon_ {\theta} \left(\sqrt {1 - \beta_ {t}} \tau + \sqrt {\beta_ {t}} \epsilon , t\right) \right\| ^ {2}
39
+ $$
40
+
41
+ Given this learned denoising function, new videos may be generated from the diffusion model by initializing a video sample $\tau_{T}$ at noise level $T$ from a Gaussian $\mathcal{N}(\mathbf{0},\mathbf{I})$ . This sample $\tau_{T}$ is then iteratively denoised following the expression:
42
+
43
+ $$
44
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma_ {t} \epsilon_ {\theta} \left(\tau_ {t}, t\right) + \xi\right), \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right), \tag {1}
45
+ $$
46
+
47
+ where $\gamma_{t}$ is the step size of denoising, $\alpha_{t}$ is a linear decay on the currently denoised sample, and $\sigma_{t}$ is a time varying noise that depends on $\alpha_{t}$ and $\gamma_{t}$ . The final sample $\tau_0$ after $T$ rounds of denoising corresponds to the final generated video.
48
+
49
+ Energy-Based Models View of DDPMs. The denoising function $\epsilon_{\theta}$ estimates the score (Vincent, 2011; Song & Ermon, 2019; Liu et al., 2022) of an underlying (unnormized) EBM probability distribution (LeCun et al., 2006; Du & Mordatch, 2019) characterizing the noise perturbed data. Therefore, a diffusion model corresponds to an EBM, $p_{\theta}(\tau)\propto e^{-E_{\theta}(\tau)}$ , where the denoising function is given by $\epsilon (\tau_t,t) = \nabla_\tau E_\theta (\tau_t)$ . The sampling procedure in a diffusion model corresponds to the Langevin sampling procedure on an EBM (see derivation in Appendix A):
50
+
51
+ $$
52
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma \nabla_ {\tau} E _ {\theta} \left(\tau_ {t}\right) + \xi\right), \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right). \tag {2}
53
+ $$
54
+
55
+ This equivalence of diffusion models and EBMs allows us to consider sampling from the product of two different diffusion models $p_1(\tau)p_2(\tau)$ , such that each diffusion model corresponds to an EBM, $e^{-E_1(\tau)}$ and $e^{-E_2(\tau)}$ , and the product is given by $e^{-E'(\tau)} = e^{-(E_1(\tau) + E_2(\tau))}$ . In particular, we can sample from this new distribution also by using Langevin sampling:
56
+
57
+ $$
58
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma \nabla_ {\tau} E _ {\theta} ^ {\prime} (\tau_ {t}) + \xi\right), \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right), \tag {3}
59
+ $$
60
+
61
+ which corresponds to the sampling procedure using denoising functions
62
+
63
+ $$
64
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma \left(\epsilon_ {\theta_ {1}} \left(\tau_ {t}, t\right) + \epsilon_ {\theta_ {2}} \left(\tau_ {t}, t\right)\right) + \xi\right), \quad \xi \sim \mathcal {N} (\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}). \tag {4}
65
+ $$
66
+
67
+ Below we will illustrate how this factored EBM parameterization of a diffusion model can allow a black-box pretrained model to be leveraged as a probabilistic prior.
68
+
69
+ # 3 PROBABILISTIC ADAPTATION OF BLACK-BOX TEXT-TO-VIDEO MODELS
70
+
71
+ To explain how a black-box text-conditioned video diffusion model can be effectively used as a probabilistic prior for video generation, we will first introduce the functional form of probabilistic adaptation in Section 3.1, and then discuss how the probabilistic composition can be implemented with diffusion models in Section 3.2. To generate high-quality videos, we also explain in Section 3.3 how the underlying probabilistic composition can be sharpened to generate low temperature samples.
72
+
73
+ # 3.1 BLACK-BOX TEXT-TO-VIDEO MODELS AS PROBABILISTIC PRIORS
74
+
75
+ Black-box text-to-video models were pretrained on massive datasets consisting of millions of videos, and are therefore able to capture a powerful prior $p_{\mathrm{pretrained}}(\tau | \text{text})$ on the natural distribution of videos $\tau$ . Given a smaller task-specific dataset of video-text pairs, $D_{\mathrm{Adapt}} = \{ (\tau_0, \text{text}_0), \dots, (\tau_n, \text{text}_n) \}$ ,
76
+
77
+ ![](images/0ba0ff94cc1c07e9eb4890cdc22b3bc1e52ecc15a557da8ca3220980fcbe71eb.jpg)
78
+ Figure 2: Video Adapter Framework. Video Adapter only requires training a small domain-specific text-to-video model with orders of magnitude fewer parameters than a large video model pretrained from internet data. During sampling, Video Adapter composes the scores of the pretrained and the domain specific video models, achieving high-quality and flexible video synthesis.
79
+
80
+ how can one leverage the powerful prior captured by a pretrained video diffusion model to synthesize videos similar to those in $D_{\mathrm{Adapt}}$ ? One approach is to directly finetune the weights of $p_{\mathrm{pretrained}}(\tau|\text{text})$ using $D_{\mathrm{Adapt}}$ , but $p_{\mathrm{pretrained}}(\tau|\text{text})$ has billions of parameters whose weights are often proprietary to private enterprises. Similar challenges with large language models have led to prompting and in-context learning. Analogously, we propose Video Adapter as a finetuning-free method to adapt pretrained video diffusion to a new dataset of videos $D_{\mathrm{Adapt}}$ through probabilistic composition. Specifically, given $D_{\mathrm{Adapt}}$ , we learn a separate small video diffusion model $p_{\theta}(\tau|\text{text})$ to represent the distribution of videos in $D_{\mathrm{Adapt}}$ . We then adapt $p_{\mathrm{pretrained}}(\tau|\text{text})$ to $D_{\mathrm{Adapt}}$ by constructing a product distribution $p_{\mathrm{produce}}(\tau|\text{text})$ in the form (see adaptation to multiple domains in Appendix D):
81
+
82
+ $$
83
+ \underbrace {p _ {\text {p r o d u c t}} (\tau \mid \text {t e x t})} _ {\text {P r o d u c t D i s t r i b u t i o n}} \propto \underbrace {p _ {\text {p r e t r a i n e d}} (\tau \mid \text {t e x t})} _ {\text {P r e t r a i n e d P r i o r}} \underbrace {p _ {\theta} (\tau \mid \text {t e x t})} _ {\text {S m a l l V i d e o M o d e l}}, \tag {5}
84
+ $$
85
+
86
+ By fixing the pretrained model $p_{\mathrm{pretrained}}(\tau|\text{text})$ , we train the small video model $p_{\theta}(\tau|\text{text})$ via maximum likelihood estimation on $D_{\mathrm{Adapt}}$ . This allows $p_{\theta}(\tau|\text{text})$ to exhibit high likelihood across videos in $D_{\mathrm{Adapt}}$ , but because $p_{\theta}(\tau|\text{text})$ is a small model trained on less diverse data, it can exhibit erroneously high likelihood across many unrealistic videos. The product distribution $p_{\mathrm{product}}(\tau|\text{text})$ removes unrealistic videos by downweighting any videos $\tau$ that are not likely under the pretrained prior, enabling one to generate videos in the style of $D_{\mathrm{Adapt}}$ that are realistic under $p_{\mathrm{pretrained}}(\tau|\text{text})$ .
87
+
88
+ # 3.2 IMPLEMENTING PROBABILISTIC ADAPTATION
89
+
90
+ To adapt the black-box model $p_{\mathrm{product}}(\tau | \mathrm{text})$ from Equation 5, as well as to sample from it, we exploit the EBM interpretation of diffusion models discussed in Section 2. Based on the EBM interpretation, the pretrained diffusion model $p_{\mathrm{pretrained}}(\tau | \mathrm{text})$ corresponds to an EBM $e^{-E_{\mathrm{pretrained}}(\tau | \mathrm{text})}$ while the smaller video model $p_{\theta}(\tau | \mathrm{text})$ parameterizes an EBM $e^{-E_{\theta}(\tau | \mathrm{text})}$ . The product distribution then corresponds to:
91
+
92
+ $$
93
+ p _ {\text {p r o d u c t}} (\tau | \text {t e x t}) \propto p _ {\text {p r e t r a i n e d}} (\tau | \text {t e x t}) p _ {\theta} (\tau | \text {t e x t}) \propto e ^ {- (E _ {\text {p r e t r a i n e d}} (\tau | \text {t e x t}) + E _ {\theta} (\tau | \text {t e x t}))} = e ^ {- E ^ {\prime} (\tau | \text {t e x t})},
94
+ $$
95
+
96
+ which specifies a new EBM $E^{\prime}(\tau)$ from the sum of energy functions of the component models.
97
+
98
+ Substituting this EBM into Equation 3, we can sample from the product distribution $p_{\mathrm{product}}(\tau | \text{text})$ through the diffusion sampling procedure:
99
+
100
+ $$
101
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma \nabla_ {\tau} \left(E _ {\text {p r e t r a i n e d}} \left(\tau_ {t} | \text {t e x t}\right) + E _ {\theta} \left(\tau_ {t} | \text {t e x t}\right)\right) + \xi\right), \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right)
102
+ $$
103
+
104
+ which corresponds to sampling from Equation 1 according to
105
+
106
+ $$
107
+ \tau_ {t - 1} = \alpha_ {t} \left(\tau_ {t} - \gamma \left(\epsilon_ {\text {p r e t r a i n e d}} \left(\tau_ {t}, t \mid \text {t e x t}\right) + \epsilon_ {\theta} \left(\tau_ {t}, t \mid \text {t e x t}\right)\right) + \xi\right), \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right).
108
+ $$
109
+
110
+ Thus, to probabilistically adapt the pretrained black-box model to a new dataset $D_{\mathrm{Adapt}}$ , we can use the standard diffusion sampling procedure, but change the denoising prediction to the sum of predictions from both the black-box pretrained model and the task-specific small model. To control the strength of the pretrained prior in final video generation, we can introduce a weight term $\lambda$ to scale the pretrained distribution $p_{\mathrm{pretrained}}^{\lambda}(\tau | \text{text})$ , which corresponds to scaling the denoised prediction from $\epsilon_{\mathrm{pretrained}}(\tau_t, t | \text{text})$ by a scalar $\lambda$
111
+
112
+ $$
113
+ \epsilon \left(\tau_ {t}, t \mid \text {t e x t}\right) = \epsilon_ {\theta} \left(\tau_ {t}, t \mid \text {t e x t}\right) + \lambda \epsilon_ {\text {p r e t r a i n e d}} \left(\tau_ {t}, t \mid \text {t e x t}\right). \tag {6}
114
+ $$
115
+
116
+ The combined model can be further refined by integrating multiple steps MCMC sampling between each diffusion noise distribution similar to (Du et al., 2023a; Sjoberg et al., 2023). Note that the prior strength $\lambda$ can be tunable or time-dependent, which we found to be useful in practice (Appendix B).
117
+
118
+ # 3.3 ADAPTING LOW TEMPERATURE SAMPLING
119
+
120
+ In practice, text conditioning in the denoising model $\epsilon (\tau_t,t|\text{text})$ from Equation 6 are often parametrized using classifier-free guidance (Ho & Salimans, 2022) to generate sharp images or videos conditioned on text while avoiding distractions from spurious likelihood modes of diffusion
121
+
122
+ Algorithm 1 Sampling algorithm of Video Adapter
123
+ Input: Pretrained black-box model $\epsilon_{\mathrm{pretrained}}(\tau ,t|\mathrm{text})$ , inverse temperature $\omega$ , prior strength $\lambda$ Initialize sample $\tau_T\sim \mathcal{N}(\mathbf{0},\mathbf{I})$
124
+ for $t = T,\dots ,1$ do
125
+ $\tilde{\epsilon}_{\mathrm{text}}\gets \epsilon_{\theta}(\tau_t,t|\mathrm{text}) + \lambda \epsilon_{\mathrm{pretrained}}(\tau_t,t|\mathrm{text})$ // Compute score using text-conditioned prior.
126
+ $\epsilon \leftarrow \epsilon_{\theta}(\tau_t,t)$ // Compute unconditional score.
127
+ $\tilde{\epsilon}_{\mathrm{cfg}}\gets \epsilon +\omega (\tilde{\epsilon}_{\mathrm{text}} - \epsilon)$ //Compute weight for low temperature sampling.
128
+ $\tau_{t - 1} = \mathrm{ddpm\_sample}(\tau_t,\tilde{\epsilon}_{\mathrm{cfg}})$ // Run diffusion sampling (can use other samplers).
129
+ end for
130
+
131
+ models. This corresponds to sampling from the modified probability distribution:
132
+
133
+ $$
134
+ p ^ {\operatorname {c f g}} (\tau | \text {t e x t}) \propto p (\tau) \left(\frac {p (\tau | \text {t e x t})}{p (\tau)}\right) ^ {\omega} \propto p (\tau) p (\text {t e x t} | \tau) ^ {\omega},
135
+ $$
136
+
137
+ where $\omega$ corresponds to the classifier free guidance strength, typically chosen to be significantly larger than 1. By upweighting the expression $p(\text{text}|\tau)$ via the inverse temperature $\omega$ , the modified distribution $p^{\mathrm{fg}}(\tau|\text{text})$ above can generate lower temperature video samples conditioned on the text. It appears straightforward to similarly construct low temperature samples when adapting the black-box model by sampling from the distribution
138
+
139
+ $$
140
+ p _ {\text {p r o d u c t}} ^ {\text {c f g}} (\tau | \text {t e x t}) \propto p _ {\text {p r e t r a i n e d}} ^ {\text {c f g}} (\tau | \text {t e x t}) p _ {\theta} ^ {\text {c f g}} (\tau | \text {t e x t}), \tag {7}
141
+ $$
142
+
143
+ but using the classifier-free distribution $p_{\mathrm{pretrained}}^{\mathrm{cfg}}(\tau | \text{text})$ as the probabilistic prior is now problematic, since classifier-free guidance has restricted $p_{\mathrm{pretrained}}^{\mathrm{cfg}}(\tau | \text{text})$ to very few high probability modes which might be incompatible with $D_{\mathrm{Adapt}}$ . To effectively leverage a broad probabilistic prior while simultaneously generating low temperature samples emulating $D_{\mathrm{Adapt}}$ , we propose to first construct a new text-conditioned video distribution following Section 3.1:
144
+
145
+ $$
146
+ p _ {\text {p r o d u c t}} (\tau | \text {t e x t}) \propto p _ {\text {p r e t r a i n e d}} (\tau | \text {t e x t}) p _ {\theta} (\tau | \text {t e x t}).
147
+ $$
148
+
149
+ We can then use the density ratio of this composed text-conditioned distribution with the unconditional video density $p_{\theta}(\tau)$ learned on $D_{\mathrm{Adapt}}$ to construct a new implicit classifier $p_{\mathrm{product}}(\tau|\mathrm{text})$ . By increasing the inverse temperature $\omega$ on this implicit classifier, we can generate low temperature and high quality video samples conditioned on a given text by sampling from the modified distribution:
150
+
151
+ $$
152
+ p _ {\text {p r o d u c t}} ^ {*} (\tau | \text {t e x t}) = p _ {\theta} (\tau) \left(\frac {p _ {\text {p r o d u c t}} (\tau | \text {t e x t})}{p _ {\theta} (\tau)}\right) ^ {\omega},
153
+ $$
154
+
155
+ which corresponds to sampling from a modified denoising function:
156
+
157
+ $$
158
+ \tilde {\epsilon} _ {\theta} (\tau , t | \text {t e x t}) = \epsilon_ {\theta} (\tau , t) + \omega \left(\epsilon_ {\theta} (\tau , t | \text {t e x t}) + \lambda \epsilon_ {\text {p r e t r a i n e d}} (\tau , t | \text {t e x t}) - \epsilon_ {\theta} (\tau , t)\right)
159
+ $$
160
+
161
+ We quantitatively and qualitatively ablate the effect of this denoising function in Figure 6 and Table 2, showing that this variant leads to better blending of styles between models. The overall pseudocode for the proposed approach with classifier-free guidance is given in Algorithm 1.
162
+
163
+ # 4 EXPERIMENTS
164
+
165
+ In this section, we illustrate how a black-box pretrained text-to-video model can deliver a rich set of downstream capabilities when combined with a task-specific video model. In particular, leveraging a high quality and broad probabilistic prior enables (1) controllable video synthesis from edge-only inputs, (2) high-quality video modeling that outperforms both the pretrained model and the task-specific video model, and (3) domain randomization and data augmentation for robotics. See experiment details and additional experimental results in Appendix B and in supplementary material.
166
+
167
+ # 4.1 ADAPTING TO SPECIFIC VIDEO DOMAINS
168
+
169
+ Setup. We first demonstrate that the probabilistic prior in Video Adapter can be used to adapt and modify the styles of videos. We curate two adaptation datasets $D_{\mathrm{Adapt}}$ , one with an "animation" style and the other with a "scifi" style, where videos containing relevant keywords in their descriptions are grouped together to form $D_{\mathrm{Adapt}}$ . A black-box large video diffusion model with 5.6B parameters was pretrained on mapping Sobel edges to all videos, and two task-specific small models with 330M parameters were trained to map Sobel edges to $D_{\mathrm{Adapt}}$ videos.
170
+
171
+ Stylizing Video Generation. In Figure 4 and Figure 5, we demonstrate how the pretrained prior can adapt the animation and scifi models to alternative styles while maintaining the original animation and scifi contents. These results show that Video Adapter can effectively combine rich knowledge of
172
+
173
+ ![](images/46815b620d1d55adbccbb48e82c54a0366f5f3466df109331232c79d7409bf45.jpg)
174
+ Figure 4: Video Adapter enables stylization of a Animation Specific Model. Video Adapter enables a large pretrained model to adapt and change the style a small animation style model.
175
+
176
+ ![](images/0f912da891368353666bb392c8f63c4ced3a4aaed7fea1964011b9b051679d99.jpg)
177
+ Figure 5: Video Adapter enables stylization of a SciFi Specific Model. Video Adapter enables a large pretrained model to adapt and change the style a small Scifi animation style model.
178
+
179
+ styles from the black-box model, such as "digital art", "outdoor video", "storybook illustration", with the animation content of the small model, thereby achieving flexible stylization.
180
+
181
+ Specific Animation Style. We further trained a small video model on an "animation" style of a particular artist. In Figure 3, we illustrate how the pretrained prior can maintain the anime content while changing the styles such as background color.
182
+
183
+ Analysis. In Figure 6, we change the magnitude of the weight on the pretrained prior, and compare Video Adapter with directly interpolating the classifier-free scores between the pretrained and adapter models (as in Equation 7). We find that Video Adapter maintains the adapter style more accurately, whereas classifier-free score interpolation collapses to
184
+
185
+ the teacher style with intermediate interpolation, leading to erratic artifacts.
186
+
187
+ ![](images/456cb43013667fb60f3f2deb79b28e7e0c932f13be2e034f7239f2ceb47c4cc3.jpg)
188
+ Figure 3: Instance Specific Stylization. Video Adapter enables the stylization of video model trained on a single animation style
189
+
190
+ # 4.2 HIGH-QUALITY EFFICIENT VIDEO MODELING
191
+
192
+ Setup. To demonstrate Video Adapter's ability in adapting the black-box pretrained model to domains that are not a part of pretraining, we consider adapting to Ego4D (Grauman et al., 2022) and Bridge Data (Ebert et al., 2021). These adaptations are nontrivial, as Ego4D consists of mostly egocentric videos that are not commonly found on the internet. Similarly, the Bridge Data consists of task-specific videos of a WidowX250 robot that is out of the distribution of the pretraining data. For Ego4D, we take a subset of the original dataset consisting of 97k text-video pairs and split them into train (90%) and test (10%) to form $D_{\mathrm{Adapt}}$ . For the Bridge Data, we take the entire dataset consisting of 7.2k text-video pairs and use the same train-test split to form $D_{\mathrm{Adapt}}$ .
193
+
194
+ ![](images/4a69feea69c07537be078ae1142023ce97147f37dee05fc4083bcd75c7c542cd.jpg)
195
+ Figure 6: Analysis of Video Adapter. As adaptation weight increases, Video Adapter modifies the style as instructed (left), whereas directly mixing two classifier-free guidance scores fails to adapt the video (right).
196
+
197
+ <table><tr><td rowspan="2">Model</td><td colspan="3">Bridge</td><td colspan="3">Ego4D</td></tr><tr><td>FVD ↓</td><td>FID ↓</td><td>Param (B) ↓</td><td>FVD ↓</td><td>IS ↑</td><td>Param (B) ↓</td></tr><tr><td>Small (S)</td><td>186.8</td><td>38.8</td><td>0.07</td><td>228.3</td><td>2.28</td><td>0.07</td></tr><tr><td>Small (S) + Pretrained</td><td>177.4</td><td>37.6</td><td>0.07</td><td>156.3</td><td>2.82</td><td>0.07</td></tr><tr><td>Small (L)</td><td>152.5</td><td>30.1</td><td>0.14</td><td>65.1</td><td>3.31</td><td>2.8</td></tr><tr><td>Small (L) + Pretrained</td><td>148.1</td><td>29.5</td><td>0.14</td><td>52.5</td><td>3.53</td><td>2.8</td></tr><tr><td>Pretrained</td><td>350.1</td><td>42.6</td><td>5.6</td><td>91.7</td><td>3.12</td><td>5.6</td></tr><tr><td>Pretrained Finetune</td><td>321.0</td><td>39.4</td><td>5.6</td><td>75.5</td><td>3.33</td><td>5.6</td></tr></table>
198
+
199
+ For the pretrained model, we use the 5.6B base model pretrained on generic internet videos from (Ho et al., 2022). For the task-specific small model, we downscale the video diffusion model from (Ho et al., 2022) by a factor of 80, 40, and 2 to create a diverse set of small models to be trained on task-specific $D_{\mathrm{Adapt}}$ . Table 1 shows the number of parameters of pretrained and small video models. Both the pretrained model and the small models are trained to generate subsequent frames conditioned on the first frame.
200
+
201
+ Quantitative Results. Table 1 shows the quantitative performance of Video Adapter under different video modeling metrics. On the Bridge Data, training a small model with parameters equivalent to $1.25\%$ of the pretrained video model (first row) already achieves better metrics than the pretrained model. However, Video Adapter incorporating the pretrained model as a probabilistic prior is able to further improve the metrics of the small model (second row). On Ego4D, due to the complexity of the egocentric videos, the smallest model with $1.25\%$ of the pretrained video model can no longer achieve performance better than the pretrained model (first row), but incorporating the pretrained model during sampling still improves performance (second row). After increasing the size of the small model, Video Adapter is able to achieve better metrics than both the pretrained and task-specific model. We further compare Video Adapter to finetuning the pretrained model for an equivalent number of TPU hours (see Appendix C), and show that Video Adapter achieves better performance than full tuning. Note that we only compare to full tuning out of curiosity as opposed to benchmarking, as the motivation of this work is the lack of weight access to the black-box pretrained models.
202
+
203
+ Qualitative Results. Figure 7 and Figure 8 show the generated videos on Bridge Data and Ego4D. On the Bridge Data in Figure 7, the pretrained model produces videos that do not correspond to the task described by the text (there is no robot arm movements in the generated video). The task-specific small model produces videos with unrealistic movements that teleport the robot arm. Video Adapter, on the other hand, produces videos with realistic movements that complete the task.
204
+
205
+ On Ego4D in Figure 8, the pretrained model produces high quality videos that contain little egocentric movement (first
206
+
207
+ row), as the pretraining data mostly consists of generic videos from the internet that are not egocentric. The task-specific small model trained on Ego4D, on the other hand, produces videos with egocentric movement but of low quality (second row) due to limited model capacity. Video Adapter combines the best of both and generates high-quality egocentric videos (third row).
208
+
209
+ Table 1: Video Modeling Quantitative Performance Video Adapter (Small + Pretrained) achieves better FVD, FID, and Inception Scores than both the pretrained model, pretrained model finetuned for equivalent number of TPU hours, and the task-specific small model with parameters as fewer as $1\%$ of the pretrained model.
210
+
211
+ <table><tr><td>Model</td><td>FVD ↓</td><td>FID ↓</td></tr><tr><td>CFG Mix</td><td>167.4</td><td>33.1</td></tr><tr><td>Small (L)</td><td>152.5</td><td>30.1</td></tr><tr><td>Video Adapter</td><td>148.1</td><td>29.5</td></tr></table>
212
+
213
+ Table 2: Ablations. Video Adapter improves the underlying video modeling performance of models on while directly mixing classifier-free scores (CFG Mix) hurts performance.
214
+
215
+ ![](images/4e31d7cbfe8defc0a38d548fd604aa8eb7ccaef6096a2abd47073fee48c4cdc1.jpg)
216
+
217
+ ![](images/7d3dbdcd3eb4ba7cf1187402730feac4c54f41a501507eefab727fffe9621d95.jpg)
218
+ Figure 7: Video Adapter on Bridge Data. The pretrained model (first row) produces videos that are high-quality but are generally static and fail to complete the task. The small (L) model (second row) produces low-quality videos with unrealistic arm movements. Video Adapter (third row) produces high-quality videos and successfully completes the task.
219
+ Figure 8: Video Adapter on Ego4D. The pretrained model (first row) produces high-quality but nearly static videos that do not reflect the egocentric nature. The small (L) model (second row) produces low-quality videos but with more egocentric movements. Video Adapter (third row) produces high-quality and egocentric videos.
220
+
221
+ Ablations. In Table 2, we report generative modeling performance of the small model on Bridge either using Video Adapter, or a interpolation between the classifier-free scores of pretrained and small models. We find that Video Adapter improves performance, while interpolation between classifier-free scores hurts performance.
222
+
223
+ # 4.3 SIM-TO-REALVIDEO AUGMENTATION
224
+
225
+ Setup. One important application of controllable video synthesis is to render realistic robotic videos from simulation with a variety of data augmentations so that policies trained on the augmented observations are more likely to generalize well to real-world settings (Zhao et al., 2020). To demonstrate Video Adapter's capability in supporting sim-to-real transfer, we train a task-specific small edge-to-real model on 160k real robot trajectories of the LanguageTable dataset (Lynch et al., 2022), generating videos of execution conditioned on the Sobel edges of the real videos. Similarly, we train another small edge-to-sim model on 160k simulated robot videos. Note that the simulated and real robotics data are not paired (paired sim-to-real data are hard to find) but are connected through edge-conditioning. We again leverage the edge-conditioned large model pretrained on internet data for style specification.
226
+
227
+ ![](images/2f01a69a2cfbceda8cedc6fa4660d8e2374d6048808c257c9459f4cb1e3e60cb.jpg)
228
+ Figure 9: Video Adapter on sim-to-real transfer. First row: simulated videos of execution plans generated by Video Adapter. Second row: real videos of execution plans generated by Video Adapter. Third row: real videos of execution plans generated by Video Adapter with data augmentation.
229
+
230
+ Adapted Videos. Figure 9 shows the generated robotic videos from Video Adapter. Video Adapter can effectively generate paired simulated and real robotic videos that complete a task described by a language prompt, and further generate videos with various data augmentation styles that can be utilized to train policies with better sim-to-real transfer abilities through techniques similar to domain randomization (Tobin et al., 2017).
231
+
232
+ # 5 RELATED WORK
233
+
234
+ Text-to-Video Synthesis. Following the recent success of text-to-image models (Nichol et al., 2021; Balaji et al., 2022; Ramesh et al., 2022; Rombach et al., 2022; Sahara et al., 2022b; Yu et al., 2022; Chang et al., 2023), large text-to-video models with autoregressive (Hong et al., 2022; Villegas et al., 2022; Wu et al., 2022a; 2021) and diffusion (Ho et al., 2022; Singer et al., 2022; Blattmann et al., 2023; Zhou et al., 2022; Esser et al., 2023) architectures have been developed, often by extending existing text-to-image models. Unfortunately, the model weights of large text-to-video models are generally not publicly available, preventing downstream adaptations of these models.
235
+
236
+ Adapting Pretrained Models Adapting pretrained models for customized editing, inpainting, and stylization has been extensively studied in text-to-image and image-to-image translation models (Gal et al., 2022; Hertz et al., 2022; Kawar et al., 2022; Li et al., 2022; Lugmayr et al., 2022; Meng et al., 2021; Ruiz et al., 2022; Sahara et al., 2022a; Sasaki et al., 2021; Su et al., 2022). In text-to-video, most existing work either leverages text prompts (Molad et al., 2023; Esser et al., 2023), finetunes a pretrained model on stylized data (Wu et al., 2022b), or performing light training on a copy of the pretrained video model similar to ControlNet (Dhesikan & Rajmohan, 2023). Text-only adaption can be unreliable, whereas finetuning, prefix-tuning (Li & Liang, 2021), low-rank adaptation (Hu et al., 2021), and ControlNet all require access to the pretrained model weights, which are often not available for text-to-video models. Black-box adaptation has been applied extensively in language models (Brown et al., 2020; Wei et al., 2022; Liu et al., 2023), and large video models will soon face the same problem.
237
+
238
+ Compositional Generative Models. The techniques in this paper are further related to existing work on compositional generative modeling (Liu et al., 2022; Nie et al., 2021; Du et al., 2020; 2023a, 2021; Liu et al., 2021; Wang et al., 2023; Wu et al., 2022c; Deng et al., 2020; Urain et al., 2021; Gkanatsios et al., 2023; Gandikota et al., 2023; Po & Wetzstein, 2023), where different generative models are probabilistically combined to jointly generate outputs. In (Du et al., 2020), an approach to combine different probability distributions using EBMs is introduced. Most similar in spirit to this work, (Deng et al., 2020) composes a pretrained language model with a small EBM to improve language generation. However, different from this work, the small EBM is used to improve to global consistency of the language model, whereas we aim to use a small model to probabilistically adapt to a large pretrained video model to separate domains.
239
+
240
+ # 6 LIMITATION AND CONCLUSION
241
+
242
+ As video foundation models become more powerful but remain proprietary, black-box adaptation of these models is inevitable. We have proposed Video Adapter for leveraging black-box text-to-video models as probabilistic priors for guiding generation of specific videos. One limitation of Video Adapter is it still requires training a small domain-specific model, so adaptation is not completely training free. Another limitation is Video Adapter requires diffusion scores from pretrained black-box models. We advocate future video diffusion models to make scores as a part of the output to improve accessibility of these models.
243
+
244
+ # REFERENCES
245
+
246
+ Rohan Anil, Andrew M Dai, Orhan First, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. Palm 2 technical report. arXiv preprint arXiv:2305.10403, 2023.
247
+ Yogesh Balaji, Seungjun Nah, Xun Huang, Arash Vahdat, Jiaming Song, Karsten Kreis, Miika Aittala, Timo Aila, Samuli Laine, Bryan Catanzaro, et al. edifi: Text-to-image diffusion models with an ensemble of expert denoisers. arXiv preprint arXiv:2211.01324, 2022.
248
+ Andreas Blattmann, Robin Rombach, Huan Ling, Tim Dockhorn, Seung Wook Kim, Sanja Fidler, and Karsten Kreis. Align your latents: High-resolution video synthesis with latent diffusion models. arXiv preprint arXiv:2304.08818, 2023.
249
+ Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020.
250
+ Huiwen Chang, Han Zhang, Jarred Barber, AJ Maschinot, Jose Lezama, Lu Jiang, Ming-Hsuan Yang, Kevin Murphy, William T Freeman, Michael Rubinstein, et al. Muse: Text-to-image generation via masked generative transformers. arXiv preprint arXiv:2301.00704, 2023.
251
+ Yuntian Deng, Anton Bakhtin, Myle Ott, Arthur Szlam, and Marc'Aurelio Ranzato. Residual energy-based models for text generation. arXiv preprint arXiv:2004.11714, 2020.
252
+ Rohan Dhesikan and Vignesh Rajmohan. Sketching the future (stf): Applying conditional control techniques to text-to-video models. arXiv preprint arXiv:2305.05845, 2023.
253
+ Yilun Du and Igor Mordatch. Implicit generation and generalization in energy-based models. arXiv preprint arXiv:1903.08689, 2019.
254
+ Yilun Du, Shuang Li, and Igor Mordatch. Compositional visual generation with energy based models. Advances in Neural Information Processing Systems, 33:6637-6647, 2020.
255
+ Yilun Du, Shuang Li, Yash Sharma, B. Joshua Tenenbaum, and Igor Mordatch. Unsupervised learning of compositional energy concepts. In Advances in Neural Information Processing Systems, 2021.
256
+ Yilun Du, Conor Durkan, Robin Strudel, Joshua B Tenenbaum, Sander Dieleman, Rob Fergus, Jascha Sohl-Dickstein, Arnaud Doucet, and Will Grathwohl. Reduce, reuse, recycle: Compositional generation with energy-based diffusion models and mcmc. arXiv preprint arXiv:2302.11552, 2023a.
257
+ Yilun Du, Mengjiao Yang, Bo Dai, Hanjun Dai, Ofir Nachum, Joshua B Tenenbaum, Dale Schuurmans, and Pieter Abbeel. Learning universal policies via text-guided video generation, 2023. URL https://arxiv.org/abs/2302.00111, 2023b.
258
+ Frederik Ebert, Yanlai Yang, Karl Schmeckpeper, Bernadette Bucher, Georgios Georgakis, Kostas Daniilidis, Chelsea Finn, and Sergey Levine. Bridge data: Boosting generalization of robotic skills with cross-domain datasets. arXiv preprint arXiv:2109.13396, 2021.
259
+ Ahmed El Alaoui, Andrea Montanari, and Mark Sellke. Sampling from the sherrington-kirkpatrick gibbs measure via algorithmic stochastic localization. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pp. 323-334. IEEE, 2022.
260
+ Patrick Esser, Johnathan Chiu, Parmida Atighehchian, Jonathan Granskog, and Anastasis Germanidis. Structure and content-guided video synthesis with diffusion models. arXiv preprint arXiv:2302.03011, 2023.
261
+ Rinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit H Bermano, Gal Chechik, and Daniel Cohen-Or. An image is worth one word: Personalizing text-to-image generation using textual inversion. arXiv preprint arXiv:2208.01618, 2022.
262
+ Rohit Gandikota, Joanna Materzynska, Jaden Fiotto-Kaufman, and David Bau. Erasing concepts from diffusion models. arXiv preprint arXiv:2303.07345, 2023.
263
+
264
+ Nikolaos Gkanatsios, Ayush Jain, Zhou Xian, Yunchu Zhang, Christopher Atkeson, and Katerina Fragkiadaki. Energy-based models as zero-shot planners for compositional scene rearrangement. arXiv preprint arXiv:2304.14391, 2023.
265
+ Kristen Grauman, Andrew Westbury, Eugene Byrne, Zachary Chavis, Antonino Furnari, Rohit Girdhar, Jackson Hamburger, Hao Jiang, Miao Liu, Xingyu Liu, et al. Ego4d: Around the world in 3,000 hours of egocentric video. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18995-19012, 2022.
266
+ Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. arXiv preprint arXiv:2208.01626, 2022.
267
+ Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
268
+ Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840-6851, 2020.
269
+ Jonathan Ho, William Chan, Chitwan Sahara, Jay Whang, Ruiqi Gao, Alexey Gritsenko, Diederik P Kingma, Ben Poole, Mohammad Norouzi, David J Fleet, et al. Imagen video: High definition video generation with diffusion models. arXiv preprint arXiv:2210.02303, 2022.
270
+ Wenyi Hong, Ming Ding, Wendi Zheng, Xinghan Liu, and Jie Tang. Cogvideo: Large-scale pretraining for text-to-video generation via transformers. arXiv preprint arXiv:2205.15868, 2022.
271
+ Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.
272
+ Bahjat Kawar, Michael Elad, Stefano Ermon, and Jiaming Song. Denoising diffusion restoration models. arXiv preprint arXiv:2201.11793, 2022.
273
+ Yann LeCun, Sumit Chopra, Raia Hadsell, M Ranzato, and F Huang. A tutorial on energy-based learning. Predicting structured data, 1(0), 2006.
274
+ Haoying Li, Yifan Yang, Meng Chang, Shiqi Chen, Huajun Feng, Zhihai Xu, Qi Li, and Yueting Chen. Srdiff: Single image super-resolution with diffusion probabilistic models. Neurocomputing, 479:47-59, 2022.
275
+ Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. arXiv preprint arXiv:2101.00190, 2021.
276
+ Nan Liu, Shuang Li, Yilun Du, Josh Tenenbaum, and Antonio Torralba. Learning to compose visual relations. Advances in Neural Information Processing Systems, 34:23166-23178, 2021.
277
+ Nan Liu, Shuang Li, Yilun Du, Antonio Torralba, and Joshua B Tenenbaum. Compositional visual generation with composable diffusion models. arXiv preprint arXiv:2206.01714, 2022.
278
+ Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9):1-35, 2023.
279
+ Andreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, and Luc Van Gool. Repaint: Inpainting using denoising diffusion probabilistic models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 11461-11471, 2022.
280
+ Corey Lynch, Ayzaan Wahid, Jonathan Thompson, Tianli Ding, James Betker, Robert Baruch, Travis Armstrong, and Pete Florence. Interactive language: Talking to robots in real time. arXiv preprint arXiv:2210.06407, 2022.
281
+ Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, and Stefano Ermon. Sdedit: Guided image synthesis and editing with stochastic differential equations. In International Conference on Learning Representations, 2021.
282
+
283
+ Eyal Molad, Eliahu Horwitz, Dani Valevski, Alex Rav Acha, Yossi Matias, Yael Pritch, Yaniv Leviathan, and Yedid Hoshen. Dreamix: Video diffusion models are general video editors. arXiv preprint arXiv:2302.01329, 2023.
284
+ Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. arXiv preprint arXiv:2112.10741, 2021.
285
+ Weili Nie, Arash Vahdat, and Anima Anandkumar. Controllable and compositional generation with latent-space energy-based models. Advances in Neural Information Processing Systems, 34, 2021.
286
+ OpenAI. Gpt-4 technical report, 2023.
287
+ Ryan Po and Gordon Wetzstein. Compositional 3d scene generation using locally conditioned diffusion. arXiv preprint arXiv:2303.12218, 2023.
288
+ Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. The Journal of Machine Learning Research, 21(1):5485-5551, 2020.
289
+ Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 2022.
290
+ Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10684-10695, 2022.
291
+ Nataniel Ruiz, Yanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. arXiv preprint arXiv:2208.12242, 2022.
292
+ Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 22500-22510, 2023.
293
+ Chitwan Sahara, William Chan, Huiwen Chang, Chris Lee, Jonathan Ho, Tim Salimans, David Fleet, and Mohammad Norouzi. Palette: Image-to-image diffusion models. In ACM SIGGRAPH 2022 Conference Proceedings, pp. 1-10, 2022a.
294
+ Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in Neural Information Processing Systems, 35:36479-36494, 2022b.
295
+ Eder Santana and George Hotz. Learning a driving simulator. arXiv preprint arXiv:1608.01230, 2016.
296
+ Saeed Saremi and Aapo Hyvarinen. Neural empirical bayes. arXiv preprint arXiv:1903.02334, 2019.
297
+ Saeed Saremi, Arash Mehrjou, Bernhard Scholkopf, and Aapo Hyvarinen. Deep energy estimator networks. arXiv preprint arXiv:1805.08306, 2018.
298
+ Hiroshi Sasaki, Chris G Willcocks, and Toby P Breckon. Unit-ddpm: Unpaired image translation with denoising diffusion probabilistic models. arXiv preprint arXiv:2104.05358, 2021.
299
+ Uriel Singer, Adam Polyak, Thomas Hayes, Xi Yin, Jie An, Songyang Zhang, Qiyuan Hu, Harry Yang, Oron Ashual, Oran Gafni, et al. Make-a-video: Text-to-video generation without text-video data. arXiv preprint arXiv:2209.14792, 2022.
300
+ Anders Sjoberg, Jakob Lindqvist, Magnus Önnheim, Mats Jirstrand, and Lennart Svensson. Mcmc-correction of score-based diffusion models for model composition. arXiv preprint arXiv:2307.14012, 2023.
301
+
302
+ James Seale Smith, Yen-Chang Hsu, Lingyu Zhang, Ting Hua, Zsolt Kira, Yilin Shen, and Hongxia Jin. Continual diffusion: Continual customization of text-to-image diffusion with c-lora. arXiv preprint arXiv:2304.06027, 2023.
303
+ Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International Conference on Machine Learning, pp. 2256-2265. PMLR, 2015.
304
+ Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019.
305
+ Xuan Su, Jiaming Song, Chenlin Meng, and Stefano Ermon. Dual diffusion implicit bridges for image-to-image translation. In The Eleventh International Conference on Learning Representations, 2022.
306
+ Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, and Pieter Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. In 2017 IEEE/RSJ international conference on intelligent robots and systems (IROS), pp. 23-30. IEEE, 2017.
307
+ Julen Urain, Anqi Li, Puze Liu, Carlo D'Eramo, and Jan Peters. Composable energy policies for reactive motion generation and reinforcement learning. arXiv preprint arXiv:2105.04962, 2021.
308
+ Ruben Villegas, Mohammad Babaeizadeh, Pieter-Jan Kindermans, Hernan Moraldo, Han Zhang, Mohammad Taghi Saffar, Santiago Castro, Julius Kunze, and Dumitru Erhan. Phenaki: Variable length video generation from open domain textual description. arXiv preprint arXiv:2210.02399, 2022.
309
+ Pascal Vincent. A connection between score matching and denoising autoencoders. Neural computation, 23(7):1661-1674, 2011.
310
+ He Wang, Soren Pirk, Ersin Yumer, Vladimir G Kim, Ozan Sener, Srinath Sridhar, and Leonidas J Guibas. Learning a generative model for multi-step human-object interactions from videos. In Computer Graphics Forum, volume 38, pp. 367-378. Wiley Online Library, 2019.
311
+ Zihao Wang, Lin Gui, Jeffrey Negrea, and Victor Veitch. Concept algebra for text-controlled vision models. arXiv preprint arXiv:2302.03693, 2023.
312
+ Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022.
313
+ Chenfei Wu, Lun Huang, Qianxi Zhang, Binyang Li, Lei Ji, Fan Yang, Guillermo Sapiro, and Nan Duan. Godiva: Generating open-domain videos from natural descriptions. arXiv preprint arXiv:2104.14806, 2021.
314
+ Chenfei Wu, Jian Liang, Lei Ji, Fan Yang, Yuejian Fang, Daxin Jiang, and Nan Duan. Nüwa: Visual synthesis pre-training for neural visual world creation. In Computer Vision-ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XVI, pp. 720-736. Springer, 2022a.
315
+ Jay Zhangjie Wu, Yixiao Ge, Xintao Wang, Weixian Lei, Yuchao Gu, Wynne Hsu, Ying Shan, Xiaohu Qie, and Mike Zheng Shou. Tune-a-video: One-shot tuning of image diffusion models for text-to-video generation. arXiv preprint arXiv:2212.11565, 2022b.
316
+ Tailin Wu, Megan Tjandrasuwita, Zhengxuan Wu, Xuelin Yang, Kevin Liu, Rok Sosic, and Jure Leskovec. Zeroc: A neuro-symbolic model for zero-shot concept recognition and acquisition at inference time. Advances in Neural Information Processing Systems, 35:9828-9840, 2022c.
317
+ Jiahui Yu, Yuanzhong Xu, Jing Yu Koh, Thang Luong, Gunjan Baid, Zirui Wang, Vijay Vasudevan, Alexander Ku, Yinfei Yang, Burcu Karagol Ayan, et al. Scaling autoregressive models for content-rich text-to-image generation. arXiv preprint arXiv:2206.10789, 2022.
318
+
319
+ Lvmin Zhang and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models, 2023.
320
+ Wenshuai Zhao, Jorge Pena Queralta, and Tomi Westerlund. Sim-to-real transfer in deep reinforcement learning for robotics: a survey. In 2020 IEEE symposium series on computational intelligence (SSCI), pp. 737-744. IEEE, 2020.
321
+ Daquan Zhou, Weimin Wang, Hanshu Yan, Weiwei Lv, Yizhe Zhu, and Jiashi Feng. Magicvideo: Efficient video generation with latent diffusion models. arXiv preprint arXiv:2211.11018, 2022.
322
+
323
+ # Appendix
324
+
325
+ In the Appendix we provided a detail derivation of connection between diffusion models and EBMs in Section A. We further provide additional experimental details in Section B. Finally, we provide a comparison with using the same computational budget to finetune the existing large pretrained model in Section C.
326
+
327
+ # A CONNECTION BETWEEN DIFFUSION AND EBM
328
+
329
+ The sampling procedure in a diffusion model corresponds to the Langevin sampling procedure on an EBM. To see this, we consider perturbing a sample $\tau^{t - 1}\sim p\left(\tau^{t - 1}\right)$ from target distribution $p(\tau^{t - 1})$ with a Gaussian noise, i.e.,
330
+
331
+ $$
332
+ \tau^ {t} = \tau^ {t - 1} + \xi , \quad \xi \sim \mathcal {N} \left(\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}\right)
333
+ $$
334
+
335
+ which corresponds to the transition operator
336
+
337
+ $$
338
+ \mathcal {T} \left(\tau^ {t} \mid \tau^ {t - 1}\right) \propto \exp \left(\frac {- \left\| \tau^ {t} - \tau^ {t - 1} \right\| ^ {2}}{2 \sigma_ {t} ^ {2}}\right)
339
+ $$
340
+
341
+ where the joint distribution of $\tau^t$ and $\tau^{t - 1}$ is
342
+
343
+ $$
344
+ p (\tau^ {t}, \tau^ {t - 1}) \propto \exp \left(\psi (\tau^ {t - 1}) - \frac {\left\| \tau^ {t} - \tau^ {t - 1} \right\| ^ {2}}{2 \sigma_ {t} ^ {2}}\right).
345
+ $$
346
+
347
+ We can express the Bayes estimator of $\tau^{t - 1}$ given the perturbed observation $\tau^t$ as
348
+
349
+ $$
350
+ m \left(\tau^ {t}\right) = \int \tau^ {t - 1} p _ {\theta} \left(\tau^ {t - 1} \mid \tau^ {t}\right) d \tau^ {t - 1} = \tau^ {t} + \sigma_ {t} ^ {2} \nabla \log p (\tau^ {t}) \tag {8}
351
+ $$
352
+
353
+ Proof By the property of Gaussian distribution, we have
354
+
355
+ $$
356
+ \sigma^ {2} \nabla_ {x ^ {\prime}} p \left(x ^ {\prime} | x\right) = p \left(x ^ {\prime} | x\right) \left(x - x ^ {\prime}\right). \tag {9}
357
+ $$
358
+
359
+ Therefore, we have
360
+
361
+ $$
362
+ \begin{array}{l} \sigma \nabla_ {x ^ {\prime}} \int p \left(x ^ {\prime} \mid x\right) p (x) d x = \int \left(x - x ^ {\prime}\right) p \left(x ^ {\prime}, x\right) d x = \int x p \left(x ^ {\prime}, x\right) d x - x ^ {\prime} p \left(x ^ {\prime}\right) (10) \\ \Rightarrow \sigma \nabla_ {x ^ {\prime}} \log p \left(x ^ {\prime}\right) = \int x \frac {p \left(x ^ {\prime} , x\right)}{p \left(x ^ {\prime}\right)} d x - x ^ {\prime} = \mathbb {E} [ X | x ^ {\prime} ] - x ^ {\prime} (11) \\ \end{array}
363
+ $$
364
+
365
+ Thus, we can represent the perturbed data with an EBM $p(\tau^t) \propto \exp (E_\theta (\tau^t,\sigma_t))$ , and learn the parameters through regression (Vincent, 2011; Saremi et al., 2018; Saremi & Hyvarinen, 2019; Song & Ermon, 2019), which leads to the optimal solution
366
+
367
+ $$
368
+ \begin{array}{l} \min _ {\boldsymbol {\theta}} \mathbb {E} _ {\tau^ {t - 1} \sim \mathcal {D}, \xi \sim \mathcal {N} (0, \sigma_ {t} ^ {2} \mathbf {I})} \left[ \left| \left| \boldsymbol {\tau} ^ {t - 1} - m (\boldsymbol {\tau} ^ {t}) \right| \right| ^ {2} \right] \\ = \mathbb {E} _ {\tau^ {t - 1} \sim \mathcal {D}, \xi \sim \mathcal {N} (0, \sigma^ {2} \mathbf {I})} \left[ \left\| - \xi - \nabla E _ {\theta} \left(\tau^ {t - 1} + \xi , \sigma_ {t}\right)\right) \right\| ^ {2} \Bigg ], \tag {12} \\ \end{array}
369
+ $$
370
+
371
+ which also corresponds to the denoising diffusion training objective.
372
+
373
+ Once we have the trained $E_{\theta}(\tau^{t})$ , we can then recover the sample $\tau^{t - 1}$ according to the denoising sampling procedure
374
+
375
+ $$
376
+ \tau^ {t - 1} = \alpha^ {t} m \left(\tau^ {t}\right) + \alpha^ {t} \xi = \alpha^ {t} \left(\tau^ {t} - \gamma \nabla_ {\tau^ {t}} E _ {\theta} \left(\tau^ {t}, \sigma_ {t}\right)\right) + \alpha^ {t} \xi , \quad \xi \sim \mathcal {N} (\mathbf {0}, \sigma_ {t} ^ {2} \mathbf {I}) \tag {13}
377
+ $$
378
+
379
+ which corresponds to the sampling via stochastic localization (El Alaoui et al., 2022) and Equation 2 in the main paper.
380
+
381
+ # B EXPERIMENTAL DETAILS
382
+
383
+ # B.1 EXPERIMENT DETAILS
384
+
385
+ Dataset The large pretrained model is trained on 14 million video-text pairs plus 60 million image-text pairs, and with the LAION-400M image-text dataset. The images are spatially resized to $24 \times 40$ and videos using anti-aliased bi-linear resizing. We use different frame rate for different types of videos for best visualization results. For the Bridge (Ebert et al., 2021) we directly use the released opensource dataset. For Ego4D (Grauman et al., 2022) data, we take a small portion of the released dataset. For Anime and Sci-Fi style, we curate two separates datasets with their respective keywords. The keywords used for filtering data for Anime style are (in small letter) "disney", "cartoon", "anime",
386
+
387
+ "animation", "comic", "pixar", "animated", "fantasy". The keywords used for filtering data for Sci-Fi style are "science fiction", "sci-fi", "scifi", "astronaut", "alien", "NASA", "interstellar". For the animation with a particular artist style, we use the Case Closed animation (also named Detective Conan). For the Language Table dataset, we used the data from (Lynch et al., 2022).
388
+
389
+ <table><tr><td>Dataset</td><td>Pretrain</td><td>Bridge</td><td>Ego4D</td><td>Anime</td><td>Sci-Fi</td><td>Case Closed</td><td>LangTable Sim</td><td>LangTable Real</td></tr><tr><td># Train</td><td>474M</td><td>2.3k</td><td>97k</td><td>0.6M</td><td>21k</td><td>5k</td><td>0.16M</td><td>0.16M</td></tr></table>
390
+
391
+ Table 3: Training data size. Number of text-video or text-image pairs used for training the pretrained large model and each of the small model. Training data for particular styles can be magnitude smaller than the pretraining dataset.
392
+
393
+ Architecture. To pretrain the large model, we use the same pretraining dataset, base architecture, and training setup as (Ho et al., 2022), with modifications of first-frame conditioning for Bridge and Ego4D, and edge conditioning for stylisation and sim-to-real. Specifically, the large model architecture consists of video U-Net with 3 residual blocks of 1024 base channels and channel multiplier [1, 2, 4], attention resolutions [6, 12, 24], attention head dimension 64, and conditioning embedding dimension 1024. To support first frame conditioning, we replicate the first frame across all future frame indices, and concatenate the replicated first frame channel-wise to the noisy data following (Du et al., 2023b). To support edge conditioning, we run a sobel edge detector and use gradient approximations in the x-direction as the conditional video, and concatenates these edge frames with noisy data similar to first-frame conditioning. The large model consists of 5.6 billion parameters in total. For the set of small models for adaptation, Ego4D Small (L) has 512 base channels in each of the residual blocks. Ego4D Small (S) and Bridge Small (S) have a single residual block with 32 base channels. Bridge Small (L) has a single residual block with 64 base channels. The set of stylisation models (animation, sci-fi, and particular anime style) have 3 residual blocks and 256 base channels. For illustrating the generated videos at a higher resolution, we train two additional spatial super resolution models $24\mathrm{x}40 \rightarrow 48\mathrm{x}80$ (1.4B) and $48\mathrm{x}80 \rightarrow 192\mathrm{x}320$ (1.2B). We additionally use T5-XXL (Raffel et al., 2020) to process input text prompts which consists of 4.6 billion parameters, which we omit from the parameter count as all large and small models require text embeddings.
394
+
395
+ Training and Evaluation. We train each of our video diffusion models for 2M steps using batch size 2048 with learning rate 1e-4 and 10k linear warmup steps. The large 5.6B pretrained model requires 512 TPU-v4 chips, whereas various small models require anywhere between 8 and 256 TPU-v4 chips depending on the size. We use noise schedule log SNR with range [-20, 20]. We use 128 samples and 1024 samples to compute the FVD, FID, and Inception Scores metric on Bridge and Ego4dD, respectively.
396
+
397
+ Sampling. All diffusion models are trained with 1000 timesteps of sampling. To generate videos, we combined scores from both pretrained models and adapter models for all timesteps except the last 100 timesteps. The last 100 timesteps capture high frequency information in an image, and we found better image quality if we did not combine scores in these timesteps. For simplicity, we use a pretrained neural strength of 0.2 for Ego4D and 0.1 for Bridge, and 0.4 for all animation datasets, but found additional gains when using large neural strength at earlier timesteps and smaller ones later.
398
+
399
+ # C COMPARISON TO FINETUNING
400
+
401
+ To illustrate the computational efficiency of Video Adapter, we further compare video modeling metrics of Video Adapter to finetuning the pretrained model for an equivalent number of TPU time. Specifically, the pretrained model requires 512 TPU-v4 chips whereas the small model on Bridge data requires 8 TPU-v4 chips. The small Bridge model requires 100k steps to reach convergence, and hence we finetune the pretrained model for $100,000 / 64 = 1,560$ steps. Video Adapter achieves better FVD and FID than finetuning the pretrained model for an equal number of TPU steps as shown in Table 1.
402
+
403
+ # D COMPOSING MULTIPLE FACTORS
404
+
405
+ Given a set of $N$ separate datasets $\{D_i\}_{i = 1:N}$ specifying a set of $N$ different styles of videos, we can also apply our probabilistic adaptation framework across these $N$ models by learning $N$ separate distributions $\{p_i(\tau |\text{text})\}_{i = 1:N}$ . We can directly sample from the product distribution
406
+
407
+ $$
408
+ \underbrace {p _ {\text {p r o d u c t}} (\tau \mid \text {t e x t})} _ {\text {P r o d u c t D i s t r i b u t i o n}} \propto \underbrace {p _ {\text {p r e t r a i n e d}} (\tau \mid \text {t e x t})} _ {\text {P r e t r a i n e d P r i o r}} \underbrace {\prod_ {i = 1 : N} p _ {i} (\tau \mid \text {t e x t})} _ {\text {N D i f f e r e n t V i d e o M o d e l s}}, \tag {14}
409
+ $$
410
+
411
+ which now assigns high likelihood to videos that exhibit each of the composed styles.
412
+
413
+ We can directly sample from this composed model using the modified composite denoising function
414
+
415
+ $$
416
+ \tilde {\epsilon} _ {\theta} (\tau , t | \text {t e x t}) = \epsilon_ {\theta} (\tau , t) + \omega \sum_ {i = 1} ^ {N} \left(\epsilon_ {i} (\tau , t | \text {t e x t}) + \lambda \epsilon_ {\text {p r e t r a i n e d}} (\tau , t | \text {t e x t}) - \epsilon_ {i} (\tau , t)\right),
417
+ $$
418
+
419
+ which simply corresponds to using a weighted average over the predictions of each of the $N$ models.
420
+
421
+ # E COMPARISON TO PARAMETER EFFICIENT FINETUNING
422
+
423
+ The problem setting of Video Adapter is that pretrained model weights are not accessible. This scenario is common in large language models (e.g., GPT-4, Bard), and large text-to-video models are heading in the same direction. Parameter efficient finetuning (e.g., LoRA, null-text inversion, prefix-tuning) requires access to pretrained model weights, whereas Video Adapter does not. Therefore Video Adapter is not comparable to parameter efficient finetuning.
424
+
425
+ Nevertheless, we conducted comparisons to LoRA and null-text inversion out of curiosity (prefix-tuning is omitted since it has only been applied to language models). For LoRA, we use rank 1 and rank 64 to compare to the smaller and larger task-specific VideoAdapter model. For null-text inversion, we use an unconditional null embedding of size [64, 4096] (the same dimension as the original text embeddings). We report the video modeling metrics in Table 4.
426
+
427
+ <table><tr><td rowspan="2">Model</td><td colspan="3">Bridge</td><td>Ego4D</td></tr><tr><td>FVD ↓</td><td>FID ↓</td><td>FVD ↓</td><td>IS ↑</td></tr><tr><td>Small (S)</td><td>186.8</td><td>38.8</td><td>228.3</td><td>2.28</td></tr><tr><td>Small (S) + Pretrained</td><td>177.4</td><td>37.6</td><td>156.3</td><td>2.82</td></tr><tr><td>Small (L)</td><td>152.5</td><td>30.1</td><td>65.1</td><td>3.31</td></tr><tr><td>Small (L) + Pretrained</td><td>148.1</td><td>29.5</td><td>52.5</td><td>3.53</td></tr><tr><td>LoRA-Rank1</td><td>170.2</td><td>32.2</td><td>74.5</td><td>3.4</td></tr><tr><td>LoRA-Rank64</td><td>165.5</td><td>31.6</td><td>50.3</td><td>3.5</td></tr><tr><td>Null-text inversion</td><td>288.8</td><td>40.2</td><td>90.2</td><td>3.1</td></tr></table>
428
+
429
+ Table 4: Comparison of Video Adapter to parameter efficient finetuning under fixed compute budget. Video Adapter performs close to LoRA-Rank64 on Ego4D and better than parameter efficient finetuning on Bridge.
430
+
431
+ We observe that LoRA-Rank1 performs slightly better than Video Adapter (small). However, In the LoRA-Rank1 case, LoRA still performs worse than training a small domain specific model. In this case, Video Adapter can simply use the small model without the pretrained prior. In comparison, we found LoRA-Rank64 leads to mixed results when compared to Video Adapter (large), i.e., LoRA outperforms Video Adapter on Ego4D but not on Bridge data. We found that null-text inversion performs the worst, potentially due to limited flexibility of null-embeddings during finetuning.
432
+
433
+ Our results illustrate that Video Adapter, despite requiring only black-bo adaptation without access to pretrained model weights performs better than Null-text inversion and very comparably to LoRA finetuning (with pretrained model weights).
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7decaa98a8a4c29f4677d6c5c67d68cb598fc82bc53ccab106be9deeae8d18ec
3
+ size 1058208
2024/Probabilistic Adaptation of Black-Box Text-to-Video Models/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/102ad2b5-9a5f-4486-89b7-b118ad0e66ff_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4432945f508b379a34f067db3e0d58033406c410857d30c0f34524922953a066
3
+ size 506567
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/full.md ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PROBABILISTIC SELF-SUPERVISED LEARNING VIA SCORING RULES MINIMIZATION
2
+
3
+ Amirhossein Vahidi $^{a,b,c}$ Simon Schosser $^{a}$ Lisa Wimmer $^{a,b}$ Yawei Li $^{a,b}$ Bernd Bischl $^{a,b}$ Eyke Hüllermeier $^{b,d}$ Mina Rezaei $^{a,b}$
4
+
5
+ $^a$ Department of Statistics LMU Munich, Munich, Germany
6
+
7
+ <sup>b</sup>Munich Center for Machine Learning, Munich, Germany
8
+
9
+ Wellcome Sanger Institute, Cambridge, UK
10
+
11
+ $^{d}$ Institute of Informatics LMU Munich, Munich, Germany
12
+
13
+ {av13@sanger.ac.uk, mina.rezaei@stat.uni-muenchen.de}
14
+
15
+ # ABSTRACT
16
+
17
+ Self-supervised learning methods have shown promising results across a wide range of tasks in computer vision, natural language processing, and multimodal analysis. However, self-supervised approaches come with a notable limitation, dimensional collapse, where a model doesn't fully utilize its capacity to encode information optimally. Motivated by this, we propose ProSMin, a novel probabilistic self-supervised learning approach that leverages the power of probabilistic models to enhance representation quality and mitigate collapsing representations. Our proposed approach involves two neural networks, the online network and the target network, which collaborate and learn the diverse distribution of representations from each other through probabilistic knowledge distillation. The two networks are trained via our new loss function based on proper scoring rules. We provide a theoretical justification for ProSMin and demonstrate its modified scoring rule. This insight validates the method's optimization process and contributes to its robustness and effectiveness in improving representation quality. We evaluate our probabilistic model on various downstream tasks, such as in-distribution generalization, out-of-distribution detection, dataset corruption, low-shot learning, and transfer learning. Our method achieves superior accuracy and calibration, outperforming the self-supervised baseline in a variety of experiments on large datasets such as ImageNet-O and ImageNet-C. ProSMin thus demonstrates its scalability and real-world applicability. Our code is publicly available: https://github.com/amirvhd/SSL-sore-rule.
18
+
19
+ # 1 INTRODUCTION
20
+
21
+ Self-supervised learning (SSL) is one of the most promising approaches for learning representations from a limited set of labeled data and has achieved outstanding results in several domains and applications, including natural language processing (NLP; Devlin et al. (2018); Brown et al. (2020); Saggau et al. (2023)), computer vision (Chen et al., 2020; Bardes et al., 2021; Grill et al., 2020; Rezaei et al., 2023a), multimodal learning (Radford et al., 2021; Li et al., 2022b; Shi et al., 2022), and bioinformatics (Gündüz et al., 2023; Rezaei et al., 2023b). However, collapsing representations is one of the significant drawbacks to current SSL methods, in which the representations converge to a limited set of points in the embedding space.
22
+
23
+ The dimensional collapse in SSL occurs due to excessive distortion caused by strong data augmentation, making the duplicates dissimilar to the originals collapsing certain dimensions, as well as network overparameterization which leads to lower-dimensional solutions (Jing et al., 2022). Strong augmentation can introduce more variance than present in the data distribution, causing collapse when the contrastive covariance matrix is not positive semidefinite, while overparameterization biases the network towards flatter minima, hindering information encoding in dimensions even for
24
+
25
+ ![](images/eefff3c1ee01eee9c294e60f6dbec3db41df69bfcc86aa8f6f20910ef4c4ada5.jpg)
26
+ Figure 1: Illustration of our proposed probabilistic self-supervised learning via scoring rule minimization namely ProSMin. Given a batch $X$ of input samples, two different augmented samples $\tilde{\pmb{x}}$ and $\tilde{\pmb{x}}^{\prime}$ are taken by an online network with $\theta$ and target network with $\xi$ parameters respectively. Our objective is to minimize the proposed scoring rule between $P_{\theta}, P_{\xi}$ .
27
+
28
+ similar positive pairs. Understanding and addressing these mechanisms is crucial for enhancing the effectiveness of self-supervised learning and preventing undesirable dimensional collapses.
29
+
30
+ Collapsing representations lead to reduced representation quality, impaired generalization to new tasks or domains, and limited capacity to handle variations in the data (Jing et al., 2022). Most recent studies addressed this problem with contrastive learning through effective augmentation (Bai et al., 2022), negative sample strategies (Kalantidis et al., 2020), ensemble approaches (Vahidi et al., 2023; Ruan et al., 2022), regularization techniques (Li et al., 2022a; Rezaei et al., 2023a), removing correlations in the feature space (Bardes et al., 2022), clustering-based approaches (Assran et al., 2022; 2021) and self-distillation (Caron et al., 2021; Grill et al., 2020).
31
+
32
+ In this paper, we formulate the collapsing self-supervised representation problem through probabilistic machine learning, aiming to provide a comprehensive and nuanced solution that addresses the limitations of deterministic approaches. This integration allows us to offer predictive distributions alongside their associated point predictions (Ho et al., 2020; Nichol & Dhariwal, 2021). This pivotal shift offers promising avenues for achieving representation reliability and superior generalization capabilities in self-supervised learning scenarios.
33
+
34
+ Specifically, we propose ProSMin, a novel probabilistic self-supervised learning method that minimizes a scoring rule during pretext task learning. We motivate ProSMin by formulating knowledge distillation (KD) in a probabilistic manner. As shown in Figure 1, our proposed method involves two deep neural networks, an online and a target network, each learning a different representation of input samples. The online network maps input samples to a probability distribution inferred from the representation of the online encoder part. We train the online network in such a manner that samples from its output distribution predict the target network's representation on a second augmented view of the input. The loss realized by this prediction is expressed via a modified scoring rule, which incentivizes the recovery of the true distribution. Our contributions are:
35
+
36
+ - We introduce a novel probabilistic definition of robust representation for self-supervised learning. The probabilistic definition provides a deeper understanding of the quality and trustworthiness of the learned representations in guiding subsequent tasks.
37
+ - Our probabilistic approach effectively mitigates collapsing representations by encouraging the online and target networks to explore a diverse range of representations, thus avoiding convergence to a limited set, which results in a more comprehensive representation space that better encapsulates the intricacies of the data distribution.
38
+ - We discuss a rigorous theoretical foundation for our proposed algorithm. This theoretical insight not only underscores the robustness of our approach but also provides a principled explanation for its effectiveness in improving representation quality.
39
+ - Through extensive empirical analysis, we validate the effectiveness of our approach in diverse scenarios. Our method achieves competitive predictive performance and calibration on various tasks such as in-distribution (IND), out-of-distribution (OOD), and corrupted datasets, demonstrating generalization capabilities. Moreover, we demonstrate the superi
40
+
41
+ ority of our method in semi-supervised and low-shot learning scenarios. Our framework establishes a superior trade-off between predictive performance and robustness when compared to deterministic baselines. This outcome is particularly notable on large-scale datasets such as ImageNet-O and ImageNet-C, underscoring the scalability and effectiveness of our method in real-world, high-dimensional settings.
42
+
43
+ # 2 BACKGROUND AND RELATED WORK
44
+
45
+ Self-supervised methods are designed to tackle unsupervised problems by training on a pretext task that utilizes the data itself to generate labels, effectively employing supervised methods to solve unsupervised problems (Grill et al., 2020; Chen et al., 2020; Jang et al., 2023; Caron et al., 2021; Zhou et al., 2021; Zbontar et al., 2021; Bardes et al., 2021; Chen et al., 2021). The resulting representations learned from the pretext task can serve as a foundation for downstream supervised tasks, such as image classification or object detection. Alternatively, the extracted representation can be directly utilized for downstream applications, such as detecting anomalies and OOD data (Tran et al., 2022). Recent studies (Oquab et al., 2023; Zhou et al., 2021) provided evidence that performing self-supervised pretext task learning on a large-scale and diverse dataset can extract features that are effective across different image distributions and tasks without the need for fine-tuning. Following this, we introduce a novel probabilistic self-supervised framework aiming to learn robust representation over parameters using self-distillation and by minimizing a scoring rule.
46
+
47
+ Self-distillation is a variant of knowledge distillation (Hinton et al., 2015) in which a larger model (teacher) is used to distill knowledge into a smaller model (student) of the same architecture (Caron et al., 2021; Zhou et al., 2021). Given an input sample $x$ , the student network $f_{\theta}$ is trained on the soft labels provided by the teacher network $f_{\xi}$ . Self-distillation combines self-supervised learning with knowledge distillation and was introduced by DINO (Caron et al., 2021). The two networks share the same architecture but take different augmentations of the input sample and output different representation vectors. The knowledge is distilled from the teacher network $f_{\xi}$ to student $f_{\theta}$ by minimizing the cross-entropy between the respective representation vectors. The parameters $\theta$ of the student network are obtained from an exponential moving average (EMA) of the parameters $\xi$ of the teacher network, thus reducing computational cost by confining backpropagation to the teacher network. In this paper, we present a novel approach to knowledge distillation aimed at training a network in a probabilistic manner using parametrization trick (Kingma et al., 2015) and a novel scoring rule objective function.
48
+
49
+ A scoring rule is a function used to evaluate the accuracy of a probabilistic prediction (Gneiting & Raftery, 2007; Der Kiureghian & Ditlevsen, 2009; Hanselle et al., 2023). It quantifies the divergence between the predicted probability distribution and the true distribution of the event. The concept of a scoring rule is fundamental to many areas of machine learning, including probabilistic classification (Parry, 2016) and decision theory (Dawid & Musio, 2014). A proper scoring rule (Gneiting & Katzfuss, 2014) is one that incentivizes truthful reporting of the probabilities by the forecaster, i.e., the forecaster is incentivized to report the correct probability distribution (Pacchiardi et al., 2021). The use of proper scoring rules has had significant implications in areas such as online learning (V'yugin & Trunov, 2019), generative neural networks (Pacchiardi & Dutta, 2022), and uncertainty quantification (Bengs et al., 2023; Gruber & Buettner, 2022; Sale et al., 2023). This paper utilizes scoring rules and adapts them for the purpose of pretext task learning of a self-supervised framework. This adaptation is inspired by the endeavor to infuse probabilistic learning principles into the self-supervised learning domain.
50
+
51
+ # 3 PROBLEM FORMULATION
52
+
53
+ Avoiding collapsing representation One of the major challenges in self-supervised learning is collapsing representations, where learned representations converge to a limited set of points in the representation space. In other words, the model fails to capture the full diversity and richness of the underlying data distribution. This can lead to reduced representation quality, impaired generalization to new tasks or domains, and limited capacity to handle variations in the data. various techniques have been explored to mitigate dimensional collapse including contrastive losses (Kalantidis et al., 2020) that separate embedding of negative examples, non-contrastive losses (Rezaei et al., 2023a; Bardes et al., 2022) that reduce informational redundancy among embeddings, and joint embedding
54
+
55
+ and clustering approaches (Assran et al., 2022; 2023) aiming to increase the average embedding entropy. In this paper, we formulate the collapsing representation problem through a probabilistic lens, aiming to provide a comprehensive and nuanced solution that not only addresses the limitations of deterministic approaches but also harnesses the power of uncertainty quantification and broader representation distributions.
56
+
57
+ Scoring rules A scoring rule (Gneiting & Raftery, 2007) is a function that evaluates how well a predicted distribution $P$ over a random variable $\mathbf{X}$ aligns with the actually observed realizations $\pmb{x}$ of $\mathbf{X}$ . We define the loss<sup>1</sup> of predicting distribution $P$ while observing $\pmb{x}$ as $S(P, \pmb{x})$ . Assuming that $\mathbf{X}$ follows some true distribution $Q$ , the expected scoring rule measuring the loss of predicting $P$ can be expressed as $S(P, Q) \triangleq \mathbb{E}_{\mathbf{X} \sim Q} S(P, \mathbf{X})$ . A scoring rule $S$ is proper with respect to a set of distributions $\mathcal{P}$ if for all $P, Q \in \mathcal{P}$ it holds that $S(Q, Q) \leq S(P, Q)$ , thus incentivizing the prediction of the true distribution $Q$ . If the former holds with equality, i.e., the expected score $S(P, Q)$ is uniquely minimized in $Q$ at $Q = P$ , then the scoring rule is called strictly proper. In practice, the expectation with respect to $Q$ is usually replaced by an empirical mean over a finite amount of samples. We refer to the resulting scoring rule as $\hat{S}$ . There are many types of scoring rules, including entire parameterized families of strictly proper scoring rules. In Appendix 10, we provide more details about some of the rules we use in our experiments.
58
+
59
+ # 4 METHOD
60
+
61
+ Consider a randomly sampled mini-batch of training data $\mathbf{X} \triangleq [\pmb{x}_1, \dots, \pmb{x}_n]$ where $\pmb{x}_i \in \mathbb{R}^D$ and transformation functions $\tau, \tau'$ acting on the data. To enhance the training process, the transformation functions produce two augmented views $\tilde{\pmb{x}} \triangleq \tau(\pmb{x})$ and $\tilde{\pmb{x}}' \triangleq \tau'(\pmb{x})$ for each sample in $\mathbf{X}$ . These augmented views are generated by sampling $\tau, \tau'$ from the distribution of suitable data transformations, such as partially masking image patches (He et al., 2022) or applying image augmentation techniques (Chen et al., 2020).
62
+
63
+ As depicted in Fig. 1, the first augmented view $\tilde{\pmb{x}}$ is fed to the encoder of online network $f_{\theta}$ that outputs a representation $y_{\theta} \triangleq f_{\theta}(\tilde{\pmb{x}})$ . This is followed by passing it subsequently through a projector $g_{\theta}$ and predictor $q_{\theta}$ , such that $t_{\theta} \triangleq g_{\theta}(y_{\theta})$ and $z_{\theta} \triangleq q_{\theta}(t_{\theta})$ . We collect all trainable parameters of the online network in $\pmb{\theta}$ . Similarly, the encoder of target network $f_{\xi}$ takes the second augmented view and outputs $y_{\xi} \triangleq f_{\xi}(\tilde{x}')$ , followed by the projector network $g_{\xi}$ producing $t_{\xi} \triangleq g_{\xi}(y_{\xi})$ , where the trainable parameters are denoted as $\pmb{\xi}$ . It is important to note that the predictor is applied exclusively to the online network.
64
+
65
+ In order to introduce probabilistic self-distillation training, we employ a scoring rule (Gneiting & Raftery, 2007) as our loss function. To accomplish this, it is necessary to generate samples from the online network. However, directly sampling $\mu$ and $\sigma$ from a deterministic vector $q_{\theta}(t)$ is inadequate, as it prevents us from performing backpropagation effectively. One way of producing samples from a neural network architecture, while still enabling backpropagation with respect to the latent representation $\mathbf{z}$ , is to use the reparametrization trick (Kingma et al., 2015). Here, we assume that the output of the predictor network $z_{\theta} = q_{\theta}(t_{\theta})$ follows an underlying normal distribution with mean $\mu$ and standard deviation $\sigma$ . We generate $r \in \mathbb{N}$ samples from the output of the linear layers following the prediction head by sampling random noise $\epsilon_j^i \sim N(0,1)$ for each augmented view of the $i$ -th data point, such that the $j$ -th sample, with $j \in \{1, \dots, r\}$ , is given by: $z_j^i = \mu^i + \sigma^i \odot \epsilon_j^i$ .
66
+
67
+ Thus, we obtain samples $z_{j}^{i}$ by shifting and scaling the random noise samples $\epsilon_{j}^{i}$ by the outputs $(\mu, \sigma)$ of a neural network with trainable parameters $\theta$ , and the loss incurred by these samples can be backpropagated to update $\theta$ during training. The online network parameters are updated by minimizing the scoring rule as follows:
68
+
69
+ $$
70
+ \hat {\boldsymbol {\theta}} := \underset {\boldsymbol {\theta}} {\arg \min } J (\boldsymbol {\theta}), \quad J (\boldsymbol {\theta}) = S \left(P _ {\boldsymbol {\theta}}, P _ {\boldsymbol {\xi}}\right) := \mathbb {E} _ {z _ {\boldsymbol {\xi}} \sim P _ {\boldsymbol {\xi}}} \left[ P _ {\boldsymbol {\theta}}, z _ {\boldsymbol {\xi}} \right], \tag {1}
71
+ $$
72
+
73
+ where $P_{\xi}$ denotes the target distribution and $z_{\xi}$ denotes the target output and $P_{\theta}$ represents the online induced multivariate normal distribution. We define the approximation of our customized scoring rule loss for $P_{\theta}$ and $P_{\xi}$ as follows:
74
+
75
+ $$
76
+ \hat {S} \left(P _ {\boldsymbol {\theta}}, P _ {\boldsymbol {\xi}}\right) = \frac {1}{N} \sum_ {i = 1} ^ {N} \left[ \frac {2 \lambda}{r} \sum_ {j = 1} ^ {r} \| \boldsymbol {z} _ {j} ^ {i} - \boldsymbol {z} _ {\xi} ^ {i} \| _ {2} ^ {\beta} - \frac {1 - \lambda}{r (r - 1)} \sum_ {j \neq k} \| \boldsymbol {z} _ {j} ^ {i} - \boldsymbol {z} _ {k} ^ {i} \| _ {2} ^ {\beta} \right] \tag {2}
77
+ $$
78
+
79
+ where $z_{\xi}^{i}$ represents the target prediction for the $i$ -the input sample. $\beta \in (0,2)$ and $\lambda \in (0,1)$ are learn-able hyperparameters. We set $\lambda$ so that $\hat{S}(P_{\theta},z_{\xi}) > 0$ . See Appendix 10.5.6 for detailed information.
80
+
81
+ By the principle of knowledge distillation, the parameters of the target network are updated through the EMA of the weights from the online network (Grill et al., 2020; Caron et al., 2021), saving the need for backpropagation and thus reducing computation time considerably.
82
+
83
+ $$
84
+ \boldsymbol {\xi} _ {t} = (1 - \alpha) \boldsymbol {\theta} _ {t} + \alpha \boldsymbol {\xi} _ {t - 1}, \quad t = 1, 2, \dots , \quad \alpha \in [ 0, 1 ] \tag {3}
85
+ $$
86
+
87
+ The initial weights $\xi_0$ are obtained through random initialization, while $\alpha$ is a hyperparameter that determines the updating rate of the target weights and is set to change from 0.9 to 1 during training with a cosine scheduler.
88
+
89
+ Next, we provide a comprehensive description of our objective function based on scoring rules (Section 4.1). For a detailed understanding of scoring rules and their various variants, please refer to Section 10.
90
+
91
+ # 4.1 OBJECTIVE FUNCTION
92
+
93
+ Numerous scoring rules can be decomposed into two terms. The first term is a function of $\mathbf{z}_j$ and the realized observation $\mathbf{z}_{\xi}$ . The second term is a function of two samples, $\mathbf{z}_j$ and $\mathbf{z}_k$ , drawn from the predicted distribution $P$ . Our objective function is an adjusted version of the former, where the two components are posed as a convex combination with component weights controlled via hyperparameter $\lambda \in (0,1)$ . We set $\lambda$ so that $\hat{S}(P_{\theta}, z_{\xi}) > 0$ . This modification of the scoring rule can be useful to adjust the focus of the loss function on either part of the scoring rule. Two notable examples of scoring rules adhering to this form are the energy score and the kernel score (Gneiting & Raftery, 2007).
94
+
95
+ With the above notation, we define the energy score as:
96
+
97
+ $$
98
+ S _ {\mathrm {E}} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) = 2 \cdot \mathbb {E} _ {P _ {\boldsymbol {\theta}}} \left[ \| \boldsymbol {z} _ {j} - \boldsymbol {z} _ {\boldsymbol {\xi}} \| _ {2} ^ {\beta} \right] + \left(- \mathbb {E} _ {P _ {\boldsymbol {\theta}}} \left[ \| \boldsymbol {z} _ {j} - \boldsymbol {z} _ {k} \| _ {2} ^ {\beta} \right]\right) =: S _ {\mathrm {E}} ^ {1} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) + S _ {\mathrm {E}} ^ {2} \left(P _ {\boldsymbol {\theta}}\right) \tag {4}
99
+ $$
100
+
101
+ Analogously, we write the kernel score as:
102
+
103
+ $$
104
+ S _ {\mathrm {K}} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) = \mathbb {E} _ {P _ {\boldsymbol {\theta}}} \left[ k \left(\boldsymbol {z} _ {j}, \boldsymbol {z} _ {k}\right) \right] + (- 2 \cdot \mathbb {E} _ {P _ {\boldsymbol {\theta}}} \left[ k \left(\boldsymbol {z} _ {j}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) \right]) =: S _ {\mathrm {K}} ^ {2} \left(P _ {\boldsymbol {\theta}}\right) + S _ {\mathrm {K}} ^ {1} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right), \tag {5}
105
+ $$
106
+
107
+ with suitable kernel function $k(\cdot ,\cdot)$
108
+
109
+ For simplicity, we only write $S(P_{\theta}, z_{\xi}) = S^{1}(P_{\theta}, z_{\xi}) + S^{2}(P_{\theta})$ in the following for both scores. With $\lambda \in (0, 1)$ , we define the general form of our objective function as follows:
110
+
111
+ $$
112
+ S ^ {*} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) := \lambda S ^ {1} \left(P _ {\boldsymbol {\theta}}, \boldsymbol {z} _ {\boldsymbol {\xi}}\right) + (1 - \lambda) S ^ {2} \left(P _ {\boldsymbol {\theta}}\right) \tag {6}
113
+ $$
114
+
115
+ # 4.2 THEORETICAL JUSTIFICATION
116
+
117
+ Our approach is motivated by a strictly proper scoring rule, which ensures that the expected score is optimized only by the true distribution. However, our modified scoring rule gives more weight to the online network predictions during training. This deliberate focus is aimed at enhancing the model's learning efficacy. By optimizing the relative importance of each component using a hyperparameter $\lambda$ , we encourage the model not only to fit the data but also to actively refine its predictive capabilities. Our proposed loss function (Eq. 6) consists of two key elements:
118
+
119
+ - Comparison with the target network $(S^1)$ : This term measures the adherence of the model's predictions to a known benchmark, ensuring that the model remains grounded in established knowledge.
120
+
121
+ - Entropy for online network predictions $(S^2)$ : This term emphasizes the internal consistency and reliability of the model's own predictions over time. This term increases the entropy of prediction and helps generalization by helping the exploration power of the model.
122
+
123
+ In its original form, the scoring rule can exhibit a slight bias toward matching the target network too closely. To address this, we introduce stochasticity into the training process by increasing the weight of the second term (comparing online network predictions) in the loss function. This is not an artifact of poor design but a strategic insertion of complexity that nudges the algorithm towards more sophisticated regions of the solution space, thereby potentially locating a better optimum. Empirically, we show that an "improper" scoring rule variant can paradoxically increase accuracy.
124
+
125
+ # 5 IMPLEMENTATION DETAILS AND EXPERIMENTAL SETUP
126
+
127
+ Image augmentation We define a random transformation function $T$ that applies a combination of multi-crop, horizontal flip, color jittering, and grayscale. Similar to Caron et al. (2021), we perform multi-crops with a random size from 0.8 to 1.0 of the original area and a random aspect ratio from 3/4 to 4/3 of the original aspect ratio. We define color-jittering of (0.8, 0.8, 0.8, 0.2), and Gaussian blurring with 0.5 probability and $\zeta = (0.1, 2.0)$ .
128
+
129
+ Deep self-supervised network architecture The online neural network is constructed from a backbone $f$ , which can be either ViT (Dosovitskiy et al., 2021) or ResNet (He et al., 2016), and a projection head $g$ followed by a prediction $q$ . The backbone output $f$ is used as a feature for downstream tasks. The projection consists of a 3-layer multilayer perceptron (MLP) with a hidden dimension of 2048, followed by 2 normalizations and a weight-normalized fully connected layer with $K$ dimensions, similar to the design used in the DINO projection head. We use a predictor with two layers of MLPs with a hidden dimension of 12000, with a GELU nonlinearity in between. Note that ViT architectures do not use batch normalization (BN) by default, so we do not use BN in the projection or prediction when using ViT.
130
+
131
+ The target network has the same backbone and projection as the online network and the target network learns through self-distillation. Similar to DINO Caron et al. (2021), after the online network parameters are updated, an EMA of the online parameters (i.e., a momentum encoder) is used to update the target parameters. The EMA prevents the target parameters from being updated too quickly. After the parameters are updated, the target also receives a new centering parameter.
132
+
133
+ **Optimization** Our pretraining process involves training the models on the ImageNet training dataset (Deng et al., 2009) using the adamw optimizer (Loshchilov & Hutter, 2017a) and a batch size of 512, distributed across 8 GPUs using Nvidia Tesla A100 with ViT-S/16 architecture. We adopt a linear scaling rule to determine the base value of the learning rate, which is ramped up linearly during the first 30 epochs. Specifically, the learning rate is set to $lr = 0.0005 * \text{batchsize} / 256$ . After the warmup phase, we decay the learning rate using a cosine schedule (Loshchilov & Hutter, 2017b). The weight decay also follows a cosine schedule, increasing from 0.04 to 0.4. The centering (smooth parameter) is 0.9.
134
+
135
+ Datasets The datasets utilized in our experiments are as follows: The ImageNet (Deng et al., 2009) dataset with 1.28 million training images and 50,000 validation images with the size of $256 \times 256$ contains 1,000 classes. The ImageNet-O dataset (Srivastava et al., 2022) comprises images belonging to classes that are not present in the ImageNet-1k dataset. It is considered a challenging benchmark for evaluating the robustness of the models, as it requires models to generalize to a diverse range of visual conditions and handle variations that are not typically encountered in standard training datasets. The ImageNet-C (Hendrycks & Dietterich, 2019) is a benchmark for evaluating the robustness of the models against common corruptions and perturbations that can occur in real-world scenarios. It consists of more than 30,000 images derived from the ImageNet dataset, with each image being corrupted in one of 15 different ways, including noise, blur, weather conditions, and digital artifacts. CIFAR-10/100 (Krizhevsky, 2009) are subsets of the tiny images dataset. Both datasets include 50,000 images for training and 10,000 validation images of size $32 \times 32$ with 10 and 100 classes, respectively. The Oxford 102 Flower (Nilsback & Zisserman, 2008) consists of 102 flower categories, each class including between 40 and 258 images. The images have large scale, pose, and light variations. In addition, there are categories that have large variations within the category
136
+
137
+ and several very similar categories. iNaturalist-2018 (Van Horn et al., 2018) (iNat) comprises a vast collection of 675,170 training and validation images, classified into 5,089 distinct fine-grained categories found in the natural world. It is worth noting that the iNat dataset exhibits a significant imbalance, as the number of images varies greatly across different categories.
138
+
139
+ Tasks We evaluate the performance of ProSMin representations after self-supervised pretraining on the ImageNet on the basis of In-Domain (IND) generalization, OOD detection, semi-supervised learning, low-shot learning, corrupted dataset evaluation (see Section 6), as well as transfer learning to other datasets and tasks (see Section 11).
140
+
141
+ Evaluation metrics We report the prediction performance with the following metrics: Top-1 accuracy $\uparrow$ : refers to the proportion of test observations that are correctly predicted by the model's output as belonging to the correct class. AUROC $\uparrow$ : the area under the ROC curve represents the relationship between false-positive and false-negative rates for various classification thresholds. In this case, the positive and negative classes refer to whether an observation is in or out of a given distribution, respectively, and the ROC curve is plotted as the threshold for classifying an observation as "positive" is gradually increased. Negative log-likelihood (NLL) $\downarrow$ : measures the probability of observing the given test data given the estimated model parameters, multiplied by -1. This measure quantifies the degree to which the model's estimated parameters fit the test observations. Expected calibration error (ECE) $\downarrow$ (Naeini et al., 2015): calculated as the mean absolute difference between the accuracy and confidence of the model's predictions, where confidence is defined as the highest posterior probability among the predicted classes. The difference is calculated across equally-spaced confidence intervals or bins and is weighted by the relative number of samples in each bin. A lower value of ECE indicates better calibration of the model. Mean Calibration Error (mCE) $\downarrow$ is a metric used to evaluate the calibration of a classification model, similar to ECE. It is calculated as the mean of the absolute differences between the predicted and true probabilities of a given class across all classes. A lower value of mCE indicates better calibration of the model.
142
+
143
+ # 6 RESULTS AND DISCUSSION
144
+
145
+ In-distribution generalization IND generalization (or linear evaluation) measures how well a model's confidence aligns with its accuracy. To assess and compare the predictive abilities of our proposed model on in-distribution datasets, we freeze the encoder of the online network, denoted as $f_{\theta}$ , after performing unsupervised pretraining. Then, we train a supervised linear classifier using a fully connected layer followed by softmax, which is placed on top of $f_{\theta}$ after removing the projection and prediction network. The desired outcome is high predictive scores and low uncertainty scores. In Table 1, a comprehensive comparison is presented between our approach and other self-supervised methods. The results indicate that our method outperforms all others in terms of top-1 accuracy, and calibration, as demonstrated by the lowest expected calibration error (ECE) and negative log-likelihood (NLL) scores.
146
+
147
+ Out-of-distribution detection The ability of a model to recognize test samples from classes that were not present during training is evaluated using OOD detection, as discussed in Geng et al. (2020). We conduct experiments on ImageNet-O (Srivastava et al., 2022) to assess the generalization of the model from IND to OOD datasets, as well as to predict the uncertainty of the models on OOD datasets. Note that evaluation is performed directly after self-supervised pretraining without a fine-tuning step. The y-axis of Figure 2 shows and compares the results for the OOD task in terms of AUROC. Remarkably, our method shows outstanding results for the detection of OOD samples compared to other approaches such as i-BOT, DINO, and Moco-V3. This outcome aligns with our expectations as we directly use the probabilistic latent representation for this task.
148
+
149
+ Corrupted dataset evaluation An essential aspect of model robustness is its capability to produce precise predictions when the test data distribution changes. We examine model robustness under the context of covariate shift. Fig. 2 presents the improved performance metrics. Our method outperforms the baseline and has comparable predictive performance to the baseline for mCE.
150
+
151
+ Semi-supervised and low-shot learning on ImageNet Following the semi-supervised protocol established in Chen et al. (2020), we employ fixed $1\%$ and $10\%$ splits of labeled training data from ImageNet. In Table 2, we compare our performance against several concurrent models, including the baseline (DINO). Based on results obtained in Table 2, our approach outperforms state-of-the-art methods in semi-supervised evaluation for both $1\%$ and $10\%$ scenarios. We assess our model's efficacy on a low-shot image classification task, where we train logistic regression on frozen weights
152
+
153
+ ![](images/bdbcdc7272c0680c36638346057688a0d60a823d1f8d0a2c9313b28579f7f9e3.jpg)
154
+ Figure 2: OOD detection and corrupted dataset evaluation. Methods with higher AUROC and lower mCE are better. Our method demonstrates outstanding performance among other approaches. We present and compare the performance of our method with others on the task of OOD detection on ImageNet-O and corrupted datasets on ImageNet-C, in Table 5
155
+
156
+ with $1\%$ and $10\%$ labels. It's important to note that this experiment was performed on frozen weights, without finetuning. Table 2 shows our features achieved better performance compared to state-of-the-art methods.
157
+
158
+ Table 1: IND Generalization (or Linear Evaluation). Top-1 accuracy, $\kappa$ -NN, ECE, and NLL averaged over in-distribution on test samples of the ImageNet dataset where the encoder is ViT-S/16 over 800 epochs. The best score for each metric is shown in bold, and the second-best is underlined.
159
+
160
+ <table><tr><td>Method</td><td>Top-1 Acc (%) (↑)</td><td>κ-NN (↑)</td><td>NLL (↓)</td><td>ECE (↓)</td></tr><tr><td>DINO Caron et al. (2021)</td><td>76.8</td><td>74.5</td><td>0.919</td><td>0.015</td></tr><tr><td>MOCO-V3 Chen et al. (2021)</td><td>73.2</td><td>64.7</td><td>1.152</td><td>0.027</td></tr><tr><td>i-BOT Zhou et al. (2021)</td><td>77.9</td><td>75.2</td><td>0.918</td><td>0.013</td></tr><tr><td>ProSMin</td><td>78.4</td><td>76.2</td><td>0.900</td><td>0.006</td></tr></table>
161
+
162
+ # 7 ABLATION STUDY
163
+
164
+ To gain a deeper understanding of the behavior and performance of our proposed method, we conducted several ablation studies to explore various aspects of our approach. Specifically, we investigate the following factors: different scoring rules as an objective function, the hyperparameter of our loss function $(\lambda)$ , the number of samples used for generating latent representations, the dimension of the embedding space, the effect of the momentum hyperparameter, the impact of batch normalization (BN), and the prediction layer (PL). We also supply an ablation analysis on computational efficiency and the broader impact of our method in the Appendix (see Section 11). These investigations aim to provide insights and intuition regarding our approach.
165
+
166
+ Impact of different components of scoring rule We conduct a series of experiments to explore alternative scoring rules, including kernel scoring rules and various variations of energy scoring rules, for our objective function. The results, as presented in Table 3, demonstrate that the kernel scoring
167
+
168
+ Table 2: Low-shot and semi-supervised evaluation: Top-1 accuracy (ACC), ECE, and NLL for semi-supervised on ImageNet classification using $1\%$ and $10\%$ training examples fine-tuning. and Low-shot results with frozen ViT features.
169
+
170
+ <table><tr><td>Method</td><td>1%</td><td>10%</td><td>Architecture</td><td>Parameters</td></tr><tr><td colspan="5">Semi-supervised</td></tr><tr><td>DINO Caron et al. (2021)</td><td>60.3</td><td>74.3</td><td>ViT-S/16</td><td>21</td></tr><tr><td>i-BOT Zhou et al. (2021)</td><td>61.9</td><td>75.1</td><td>ViT-S/16</td><td>21</td></tr><tr><td>ProSMin (ours)</td><td>62.1</td><td>75.6</td><td>ViT-S/16</td><td>21</td></tr><tr><td colspan="5">Low-shot learning</td></tr><tr><td>DINO Caron et al. (2021)</td><td>64.5</td><td>72.2</td><td>ViT-S/16</td><td>21</td></tr><tr><td>i-BOT Zhou et al. (2021)</td><td>65.9</td><td>73.4</td><td>ViT-S/16</td><td>21</td></tr><tr><td>ProSMin (ours)</td><td>66.1</td><td>73.8</td><td>ViT-S/16</td><td>21</td></tr></table>
171
+
172
+ ![](images/4c992d80f491cd1725d57a2a66ba7365a7a88779405b40c1d207298388135a08.jpg)
173
+ (a)
174
+
175
+ ![](images/3f8d20ebb964bb2f53165418cfaaa992de0b22911a9d9188acf99167528e9da4.jpg)
176
+ (b)
177
+ Figure 3: Study of hyperparameters of our proposed ProSMin (a) $\lambda$ , (b) Number of samples, (c) Momentum coefficient $(\alpha)$ , and (d) Size of embedding obtained by 100 epochs on ImageNet.
178
+
179
+ ![](images/015be9183145ef6ef1ec2973a124174c81b3637d61901e95e882790461709efd.jpg)
180
+ (c)
181
+
182
+ ![](images/089b8697a9ba8f6fae207c827027b6f6d4db9d14b24f5eb668b7deb3f7aae5d1.jpg)
183
+ (d)
184
+
185
+ Table 3: Important component for training. We investigate the effect of each component on the linear evaluation performance for 100 epochs. The first line shows the best combination. PL is the prediction layer, BN is the batch normalization layer.
186
+
187
+ <table><tr><td>Energy (L1 loss)</td><td>Kernel score</td><td>Energy (L2 loss)</td><td>BN.</td><td>PL.</td><td>λ</td><td>σ</td><td>Accuracy</td></tr><tr><td>✓</td><td>X</td><td>X</td><td>X</td><td>✓</td><td>✓</td><td>✓</td><td>73.2</td></tr><tr><td>X</td><td>✓</td><td>X</td><td>X</td><td>✓</td><td>✓</td><td>✓</td><td>1.1</td></tr><tr><td>X</td><td>X</td><td>✓</td><td>X</td><td>✓</td><td>X</td><td>X</td><td>43.0</td></tr><tr><td>✓</td><td>X</td><td>X</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>68.5</td></tr><tr><td>✓</td><td>X</td><td>X</td><td>X</td><td>X</td><td>✓</td><td>✓</td><td>71.2</td></tr><tr><td>✓</td><td>X</td><td>X</td><td>X</td><td>✓</td><td>X</td><td>X</td><td>47.8</td></tr></table>
188
+
189
+ rule exhibits instability. Furthermore, we investigate a case with L1 loss (the last row of Table 3) with prediction layer and without batch normalization, that the $\lambda$ and $\sigma$ are zero, to motivate the effect of the second part of our loss function. Overall, the energy score with $\beta = 1$ ( $L1$ loss) yields the best performance among the tested scoring rules. We provide a theoretical explanation for $L1$ in Section 10.5.3.
190
+
191
+ Study of hyperparameters Figure 3a depicts the influence of the hyperparameter $\lambda$ utilized in our proposed loss function, which controls the impact of $S^1 (P_\theta ,z_\xi)$ and $S^2 (P_\theta ,z_\xi)$ on the objective function. An ablation analysis was conducted to investigate the effect of increasing the number of samples from $q_{\theta}$ , as illustrated in Figure 3b. The results demonstrate that employing four samples yields satisfactory performance. Figure 3c showcases the outcomes obtained from the knowledge distillation rate. In previous approaches, the exponential moving average parameter initiated from a value relatively close to 1 (e.g., 0.996 (Grill et al., 2020), Caron et al. (2021)). However, in our case, $\alpha$ starts from 0.9, implying a faster pace of knowledge distillation. Furthermore, we examine the impact of different sizes for the embedding vector, as presented in Fig. 3d. The results obtained after 100 epochs reveal that increasing the embedding size leads to improved performance. However, it should be noted that larger embedding sizes necessitate additional computational resources, thus our choice of size is based on the available computational capacity. Table 3 provides insights into the influence of batch normalization in the prevention of representation collapse (Grill et al., 2020). As our framework operates in a probabilistic setting, the inclusion of batch normalization is unnecessary for averting collapse. Additionally, the prediction layer ( $q_{\theta}$ ) enhances performance by facilitating improved feature extraction in online networks.
192
+
193
+ # 8 CONCLUSION
194
+
195
+ In this paper, we presented ProSMin as a novel probabilistic self-supervised framework to address a collapsing representation problem. Our method includes two neural networks that collaborate and learn from each other using an augmented format. Our framework is trained by minimizing a proposed scoring rule objective function. We evaluated ProSMin across different tasks, including in-distribution generalization, out-of-distribution detection, dataset corruption, transfer learning, low-shot, and semi-supervised learning. The results demonstrate that our method achieves superior performance in terms of accuracy and calibration, thus showing the effectiveness of our proposed approach.
196
+
197
+ # 9 ACKNOWLEDGMENT
198
+
199
+ M. R. and B. B. were supported by the Bavarian Ministry of Economic Affairs, Regional Development and Energy through the Center for Analytics - Data - Applications (ADA-Center) within the framework of BAYERN DIGITAL II (20-3410-2-9-8). M. R., B. B., E. H., L. W., Y. L., and A.V. were supported by the German Federal Ministry of Education and Research (BMBF) Munich Center for Machine Learning (MCML). L. W. was supported by the DAAD program Konrad Zuse Schools of Excellence in Artificial Intelligence, sponsored by the German Federal Ministry of Education and Research
200
+
201
+ # REFERENCES
202
+
203
+ Mahmoud Assran, Mathilde Caron, Ishan Misra, Piotr Bojanowski, Armand Joulin, Nicolas Ballas, and Michael Rabbat. Semi-supervised learning of visual features by non-parametrically predicting view assignments with support samples. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 8443-8452, 2021.
204
+ Mahmoud Assran, Mathilde Caron, Ishan Misra, Piotr Bojanowski, Florian Bordes, Pascal Vincent, Armand Joulin, Mike Rabbat, and Nicolas Ballas. Masked siamese networks for label-efficient learning. In European Conference on Computer Vision, pp. 456-473. Springer, 2022.
205
+ Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15619-15629, 2023.
206
+ Yalong Bai, Yifan Yang, Wei Zhang, and Tao Mei. Directional self-supervised learning for heavy image augmentations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16692-16701, 2022.
207
+ Adrien Bardes, Jean Ponce, and Yann LeCun. Vicreg: Variance-invariance-covariance regularization for self-supervised learning. International Conference on Learning Representations, ICLR, 2021.
208
+ Adrien Bardes, Jean Ponce, and Yann LeCun. Variance-invariance-covariance regularization for self-supervised learning. *ICLR*, Vicreg, 1:2, 2022.
209
+ Viktor Bengs, Eyke Hüllermeier, and Willem Waegeman. On second-order scoring rules for epistemic uncertainty quantification. arXiv preprint arXiv:2301.12736, 2023.
210
+ Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020.
211
+ Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9650-9660, 2021.
212
+ Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pp. 1597-1607. PMLR, 2020.
213
+ Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9640-9649, 2021.
214
+ Alexander Philip Dawid and Monica Musio. Theory and applications of proper scoring rules. *Metron*, 72(2):169-183, 2014.
215
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248-255. IEEE, 2009.
216
+
217
+ Armen Der Kiureghian and Ove Ditlevsen. Aleatory or epistemic? does it matter? Structural Safety, 31(2):105-112, 2009.
218
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. ACL, 2018.
219
+ Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In Proceedings of the 9th International Conference on Learning Representations (ICLR), 2021.
220
+ Chuanxing Geng, Sheng-jun Huang, and Songcan Chen. Recent advances in open set recognition: A survey. IEEE transactions on pattern analysis and machine intelligence, 43(10):3614-3631, 2020.
221
+ Tilmann Gneiting and Matthias Katzfuss. Probabilistic forecasting. Annual Review of Statistics and Its Application, 1:125-151, 2014.
222
+ Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American statistical Association, 102(477):359-378, 2007.
223
+ Jean-Bastien Grill, Florian Strub, Florent Altché, Coretin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in neural information processing systems, 33:21271-21284, 2020.
224
+ Sebastian Gruber and Florian Buettner. Better uncertainty calibration via proper scores for classification and beyond. Advances in Neural Information Processing Systems, 35:8618-8632, 2022.
225
+ Hüseyin Anil Gündüz, Martin Binder, Xiao-Yin To, René Mreches, Bernd Bischl, Alice C McHardy, Philipp C Münch, and Mina Rezaei. A self-supervised deep learning method for data-efficient training in genomics. Communications Biology, 6(1):928, 2023.
226
+ Jonas Hanselle, Johannes Furnkranz, and Eyke Hüllermeier. Probabilistic scoring lists for interpretable machine learning. In International Conference on Discovery Science, pp. 189-203. Springer, 2023.
227
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770-778, 2016.
228
+ Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dólar, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000-16009, 2022.
229
+ Dan Hendrycks and Thomas G. Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=HJz6tiCqYm.
230
+ Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
231
+ Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33:6840-6851, 2020.
232
+ Jiho Jang, Seonhoon Kim, Kiyoon Yoo, Chaerin Kong, Jangho Kim, and Nojun Kwak. Self-distilled self-supervised representation learning. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 2829-2839, 2023.
233
+ Li Jing, Pascal Vincent, Yann LeCun, and Yuandong Tian. Understanding dimensional collapse in contrastive self-supervised learning. International Conference on Learning Representations, ICLR, 2022.
234
+ Yannis Kalantidis, Mert Bulent Sariyildiz, Noe Pion, Philippe Weinzaepfel, and Diane Larlus. Hard negative mixing for contrastive learning. Advances in Neural Information Processing Systems, 33: 21798-21809, 2020.
235
+
236
+ Durk P Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparameterization trick. Advances in neural information processing systems, 28, 2015.
237
+ Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
238
+ Alexander C Li, Alexei A Efros, and Deepak Pathak. Understanding collapse in non-contrastive siamese representation learning. In European Conference on Computer Vision, pp. 490-505. Springer, 2022a.
239
+ Manling Li, Ruochen Xu, Shuohang Wang, Luowei Zhou, Xudong Lin, Chenguang Zhu, Michael Zeng, Heng Ji, and Shih-Fu Chang. Clip-event: Connecting text and images with event structures. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16420-16429, 2022b.
240
+ Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. International Conference on Learning Representations, ICLR, 2017a.
241
+ Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with warm restarts. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017b. URL https://openreview.net/forum?id=Skq89Scxx.
242
+ Mahdi Pakdaman Naeini, Gregory F. Cooper, and Milos Hauskrecht. Obtaining well calibrated probabilities using bayesian binning. In Proceedings of AAAI'15, pp. 2901-2907. AAAI Press, 2015.
243
+ Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning, pp. 8162-8171. PMLR, 2021.
244
+ Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In 2008 Sixth Indian Conference on Computer Vision, Graphics & Image Processing, pp. 722-729. IEEE, 2008.
245
+ Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023.
246
+ L Pacchiardi, R Adewoyin, P Dueben, and R Dutta. Probabilistic forecasting with generative networks via scoring rule minimization. Preprint, URL https://arxiv.org/abs/2112.08217, 2021.
247
+ Lorenzo Pacchiardi and Ritabrata Dutta. Likelihood-free inference with generative neural networks via scoring rule minimization. arXiv preprint arXiv:2205.15784, 2022.
248
+ Matthew Parry. Linear scoring rules for probabilistic binary classification. Electronic Journal of Statistics, 10:1596-1607, 2016.
249
+ Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, pp. 8748-8763. PMLR, 2021.
250
+ Mina Rezaei, Farzin Soleymani, Bernd Bischl, and Shekoofeh Azizi. Deep bregman divergence for self-supervised representations learning. Computer Vision and Image Understanding, 235:103801, 2023a.
251
+ Mina Rezaei, Amirhossein Vahidi, Bernd Bischl, Mengyu Wang, Tobias Elze, and Mohammad Eslami. Self-supervised learning and self-labeling framework for retina glaucoma detection. Investigative Ophthalmology & Visual Science, 64(8):352-352, 2023b.
252
+ Yangjun Ruan, Saurabh Singh, Warren Morningstar, Alexander A Alemi, Sergey Ioffe, Ian Fischer, and Joshua V Dillon. Weighted ensemble self-supervised learning. International Conference on Learning Representations, ICLR, 2022.
253
+
254
+ Daniel Saggau, Mina Rezaei, Bernd Bischl, and Ilias Chalkidis. Efficient document embeddings via self-contrastive bregman divergence learning. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Findings of the Association for Computational Linguistics: ACL 2023, pp. 12181-12190, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023-findings-acl.771. URL https://aclanthology.org/2023-findings-acl.771.
255
+ Yusuf Sale, Viktor Bengs, Michele Caprio, and Eyke Hüllermeier. Second-order uncertainty quantification: A distance-based approach. arXiv preprint arXiv:2312.00995, 2023.
256
+ Bowen Shi, Wei-Ning Hsu, Kushal Lakhotia, and Abdelrahman Mohamed. Learning audio-visual speech representation by masked multimodal cluster prediction. International Conference on Learning Representations, ICLR, 2022.
257
+ Anugya Srivastava, Shriya Jain, and Mugdha Thigle. Out of distribution detection on imagenet-o. arXiv preprint arXiv:2201.09352, 2022.
258
+ Dustin Tran, Jeremiah Liu, Michael W Dusenberry, Du Phan, Mark Collier, Jie Ren, Kehang Han, Zi Wang, Zelda Mariet, Huiyi Hu, et al. Plex: Towards reliability using pretrained large model extensions. arXiv preprint arXiv:2207.07411, 2022.
259
+ Amirhossein Vahidi, Lisa Wimmer, Hüseyin Anil Gündüz, Bernd Bischl, Eyke Hüllermeier, and Mina Rezaei. Diversified ensemble of independent sub-networks for robust self-supervised representation learning. arXiv preprint arXiv:2308.14705, 2023.
260
+ Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and Serge Belongie. The inaturalist species classification and detection dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8769-8778, 2018.
261
+ Vladimir V V'yugin and Vladimir G Trunov. Online learning with continuous ranked probability score. In Conformal and Probabilistic Prediction and Applications, pp. 163-177. PMLR, 2019.
262
+ Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stephane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In International Conference on Machine Learning, pp. 12310-12320. PMLR, 2021.
263
+ Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, and Tao Kong. ibot: Image bert pre-training with online tokenizer. ICLR, 2021.
264
+
265
+ # 10 SCORING RULES
266
+
267
+ The notation employed in this study aligns with the work of Gneiting & Raftery (2007) regarding scoring rules $S(P, \boldsymbol{x})$ , where $P$ represents the predictive distribution and $\boldsymbol{x}$ denotes the observed data. By assuming that $\mathbf{X}$ follows a true distribution $Q$ . With this assumption, we first explain different variations of scoring rules, such as the expected scoring rule (10.1), the proper scoring rule (10.2), the energy scoring rule (10.3), and the kernel scoring rule (10.4).
268
+
269
+ We then discuss the unbiased estimation properties of the scoring rule 10.5 for kernel score 10.5.1 and energy score 10.5.2, which we used as the objective function in our study.
270
+
271
+ In subsection 10.5.4, we establish the interchangeability of the expectation and gradient in our theoretical derivative, enabling us to derive gradients in a conventional manner. This is crucial due to the incorporation of samples within the scoring rule and the utilization of non-differential activation functions. Subsequently, in subsection 10.5.5, we introduce an unbiased estimate of the gradient.
272
+
273
+ # 10.1 EXPECTED SCORING RULE
274
+
275
+ We define the scoring rule $S(P, x)$ as a function of the distribution $P$ and the observation $x$ of $\mathbf{X}$ . The expected scoring rule is defined as:
276
+
277
+ $$
278
+ S (P, Q) := \mathbb {E} _ {\mathbf {X} \sim Q} S (P, \mathbf {X}). \tag {7}
279
+ $$
280
+
281
+ # 10.2 PROPER SCORING RULE
282
+
283
+ A scoring rule $S$ is called proper w.r.t a set of distributions $\mathcal{P}$ , if for all $P, Q \in \mathcal{P}$ the expected score $S(P, Q)$ is minimized in $Q$ at $Q = P$ . A scoring rule $S$ is called strictly proper if there exists the unique minimum $S(P, Q) > S(Q, Q)$ for $Q \neq P$ .
284
+
285
+ # 10.3 ENERGY SCORE
286
+
287
+ The energy score is defined by:
288
+
289
+ $$
290
+ S _ {\mathrm {E}} ^ {(\beta)} (P, \mathbf {x}) = 2 \cdot \mathbb {E} \left[ \| \tilde {\mathbf {X}} - \mathbf {x} \| _ {2} ^ {\beta} \right] - \mathbb {E} \left[ \left\| \tilde {\mathbf {X}} - \tilde {\mathbf {X}} ^ {\prime} \right\| _ {2} ^ {\beta} \right], \quad \tilde {\mathbf {X}} \perp \tilde {\mathbf {X}} ^ {\prime} \sim P, \tag {8}
291
+ $$
292
+
293
+ where $\beta \in (0,2)$
294
+
295
+ It is a strictly proper scoring rule for the class of probability measures $\mathcal{P}$ such that $\mathbb{E}_{\tilde{\mathbf{X}}\sim P}\| \tilde{\mathbf{X}}\|^\beta < \infty$ . An unbiased estimate can be obtained by replacing the expectations in $S_{\mathrm{E}}^{(\beta)}$ with empirical means over draws from $P$ .
296
+
297
+ # 10.4 KERNEL SCORE
298
+
299
+ Let $k(\cdot, \cdot)$ be a positive definite kernel. The kernel score for $k$ is defined by
300
+
301
+ $$
302
+ S _ {k} (P, \mathbf {x}) = \mathbb {E} \left[ k \left(\tilde {\mathbf {X}}, \tilde {\mathbf {X}} ^ {\prime}\right) \right] - 2 \cdot \mathbb {E} [ k (\tilde {\mathbf {X}}, \mathbf {x}) ], \quad \tilde {\mathbf {X}} \perp \tilde {\mathbf {X}} ^ {\prime} \sim P. \tag {9}
303
+ $$
304
+
305
+ The kernel score is a proper scoring rule for the class of probability distribution $P$ for which holds, that $\mathbb{E}_{\tilde{\mathbf{X}},\tilde{\mathbf{X}}^{\prime}\sim P}\left[k\left(\tilde{\mathbf{X}},\tilde{\mathbf{X}}^{\prime}\right)\right] < \infty$ . Under the condition that the kernel Maximum Mean Discrepancy is a metric, the kernel score is strictly proper. This condition is satisfied by the Gaussian kernel, which will be used in this work. Let $\gamma$ be a scalar bandwidth. We define the Gaussian kernel as follows:
306
+
307
+ $$
308
+ k (\tilde {\mathbf {x}}, \mathbf {x}) = \exp \left(- \frac {\| \tilde {\mathbf {x}} - \mathbf {x} \| _ {2} ^ {2}}{2 \gamma^ {2}}\right).
309
+ $$
310
+
311
+ We get an unbiased estimate by replacing the expectations in $S_{\mathrm{k}}$ with the empirical means overdraws from $P$ .
312
+
313
+ # 10.5 UNBIASED ESTIMATORS OF THE EXPECTED SCORING RULE
314
+
315
+ Let $N$ be the batch size and $r$ be the number of samples drawn from the online-induced distribution. Let $z_{\theta} = (z_1, \dots, z_r)$ be the sample drawn from the online. We recall the definition of the Expected Scoring Rule:
316
+
317
+ $$
318
+ S \left(P _ {\theta}, P _ {\xi}\right) := \mathbb {E} _ {z _ {\xi} \sim P _ {\xi}} \left[ S \left(P _ {\theta}, z _ {\xi}\right) \right],
319
+ $$
320
+
321
+ where $z_{\xi}$ denotes the output of the target network while $P_{\theta}$ represents the online induced multivariate normal distribution.
322
+
323
+ # 10.5.1 KERNEL SCORE
324
+
325
+ We can write the estimated kernel score as follows:
326
+
327
+ $$
328
+ \hat {S} (P _ {\theta}, P _ {\xi}) = \frac {1}{N} \sum_ {i = 1} ^ {N} \left[ \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} k (z _ {j} ^ {i}, z _ {k} ^ {i}) - \frac {2}{r} \sum_ {j = 1} ^ {r} k (z _ {j} ^ {i}, z _ {\xi} ^ {i}) \right]
329
+ $$
330
+
331
+ # 10.5.2 ENERGY SCORE
332
+
333
+ Consider $\beta \in (0,2)$ and $N$ be the batch size. The Estimated Energy Score can be written as:
334
+
335
+ $$
336
+ \hat {S} (P _ {\theta}, P _ {\xi}) = \frac {1}{N} \sum_ {i = 1} ^ {N} \left[ \frac {2}{r} \sum_ {j = 1} ^ {r} \| z _ {j} ^ {i} - z _ {\xi} ^ {i} \| _ {2} ^ {\beta} - \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} \| z _ {j} ^ {i} - z _ {k} ^ {i} \| _ {2} ^ {\beta} \right]
337
+ $$
338
+
339
+ # 10.5.3 PARTIAL DERIVATIVES OF THE ESTIMATED ENERGY SCORE
340
+
341
+ Let $\beta \in (0,2)$ and let $N$ be the batch size. Let $x_{i}$ be the input data for $i\in 1,\dots,N$ . Let $r\in \mathbb{N}$ be the number of samples. Let $\mu_{i} = f_{\theta}^{(1)}(x_{i})$ and let $\sigma_i^2 = f_\theta^{(2)}(x_i)$ , where $f^{(j)}$ denotes the separated branches for mean and variance in the last layer of the online network for $j\in 1,2$ . We can calculate the partial derivatives needed for stochastic gradient descent as follows. Then, the formula for the mean is:
342
+
343
+ $$
344
+ \begin{array}{l} \frac {\partial}{\partial \mu} \hat {S} (P _ {\theta}, P _ {\xi}) = \frac {\partial}{\partial \mu} \frac {1}{N} \sum_ {i = 1} ^ {N} \left[ \frac {2}{r} \sum_ {j = 1} ^ {r} \left\| \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \phi_ {\xi} ^ {i} \right\| _ {2} ^ {\beta} \right. \\ - \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} \left\| \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \mu_ {i} + \epsilon_ {k} \sqrt {\sigma_ {i} ^ {2}} \right\| _ {2} ^ {\beta} \Biggr ] \\ = \frac {1}{N} \sum_ {i = 1} ^ {N} \frac {2}{r} \sum_ {j = 1} ^ {r} \beta \left\| \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \phi_ {\xi} ^ {i} \right\| _ {2} ^ {\beta - 1} \frac {\partial}{\partial \mu} \left[ \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \phi_ {\xi} ^ {i} \right] \\ = \frac {1}{N} \sum_ {i = 1} ^ {N} \frac {2}{r} \sum_ {j = 1} ^ {r} \beta \left\| f _ {\theta} ^ {(1)} (x _ {i}) + \epsilon_ {j} \sqrt {f _ {\theta} ^ {(2)} (x _ {i})} - \phi_ {\xi} ^ {i} \right\| _ {2} ^ {\beta - 1} \nabla_ {\theta} f _ {\theta} ^ {(1)} (x _ {i}) \\ \end{array}
345
+ $$
346
+
347
+ while the formula for the variance is:
348
+
349
+ $$
350
+ \begin{array}{l} \frac {\partial}{\partial \sigma^ {2}} \hat {S} (P _ {\theta}, P _ {\xi}) = \frac {\partial}{\partial \sigma^ {2}} \frac {1}{N} \sum_ {i = 1} ^ {N} \left[ \frac {2}{r} \sum_ {j = 1} ^ {r} \left\| \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \phi_ {\xi} ^ {i} \right\| _ {2} ^ {\beta} \right. \\ \left. - \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} \left\| \mu_ {i} + \epsilon_ {j} \sqrt {\sigma_ {i} ^ {2}} - \mu_ {i} + \epsilon_ {k} \sqrt {\sigma_ {i} ^ {2}} \right\| _ {2} ^ {\beta} \right] \\ = \left[ \frac {\beta}{N} \sum_ {i = 1} ^ {N} \left[ \frac {2}{r} \sum_ {j = 1} ^ {r} \left\| f _ {\theta} ^ {(1)} \left(x _ {i}\right) + \epsilon_ {j} \sqrt {f _ {\theta} ^ {(2)} \left(x _ {i}\right)} - \phi_ {\xi} ^ {i} \right\| _ {2} ^ {\beta - 1} \right. \right. \\ \left. - \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} \left\| \sqrt {f _ {\theta} ^ {(2)} (x _ {i})} (\epsilon_ {j} - \epsilon_ {k}) \right\| _ {2} ^ {\beta - 1} \right] \nabla_ {\theta} f _ {\theta} ^ {(2)} (x _ {i}) \\ \end{array}
351
+ $$
352
+
353
+ # 10.5.4 EXCHANGEABILITY OF GRADIENT AND EXPECTATION
354
+
355
+ This proof follows a similar argumentation as the proof performed in Pacchiardi & Dutta (2022). We want to solve
356
+
357
+ $$
358
+ \hat {\boldsymbol {\theta}} := \underset {\boldsymbol {\theta}} {\arg \min } J (\boldsymbol {\theta}), \quad J (\boldsymbol {\theta}) = \frac {1}{N} \sum_ {i = 1} ^ {N} S \left(P _ {\boldsymbol {\theta}}, z _ {\boldsymbol {\xi}} ^ {i}\right) \tag {10}
359
+ $$
360
+
361
+ Finding a minimum in our network architecture is done via stochastic gradient descent (SGD) or an algorithm exploiting the same properties as SGD. Recall that the scoring rule is defined as an expectation over samples from $P_{\theta}$ . Additionally, we can describe the scoring rule as some function $h$ of independent inputs $z_{j}^{i} \perp z_{k}^{i}$ . Hence we can write:
362
+
363
+ $$
364
+ S \left(P _ {\boldsymbol {\theta}}, z _ {\boldsymbol {\xi}} ^ {i}\right) = \mathbb {E} _ {z _ {j} ^ {i}, z _ {k} ^ {i} \sim P _ {\boldsymbol {\theta}}} \left[ h \left(z _ {j} ^ {i}, z _ {k} ^ {i}, z _ {\boldsymbol {\xi}} ^ {i}\right) \right] \tag {11}
365
+ $$
366
+
367
+ Let $\mu_i, \sigma_i^2$ be the estimated mean and variance, respectively, of the online network $f_{\theta}$ for the $i$ -th input sample $x_i$ . With $P_{\theta}$ being the distribution induced by the online network and $g_{\theta}$ being its transformation, we use the reparametrization trick and get
368
+
369
+ $$
370
+ J (\boldsymbol {\theta}) = \frac {1}{N} \sum_ {i = 1} ^ {N} \mathbb {E} _ {\epsilon_ {j} ^ {i}, \epsilon_ {k} ^ {i} \sim \mathcal {N} (0, 1)} \left[ h \left(g _ {\boldsymbol {\theta}} \left(\epsilon_ {j} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}\right), g _ {\boldsymbol {\theta}} \left(\epsilon_ {k} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}\right), z _ {\boldsymbol {\xi}} ^ {i}\right) \right] \tag {12}
371
+ $$
372
+
373
+ We now can write the derivative as follows:
374
+
375
+ $$
376
+ \begin{array}{l} \nabla_ {\boldsymbol {\theta}} J (\boldsymbol {\theta}) = \nabla_ {\boldsymbol {\theta}} \frac {1}{N} \sum_ {i = 1} ^ {N} \mathbb {E} _ {\epsilon_ {j} ^ {i}, \epsilon_ {k} ^ {i} \sim \mathcal {N} (0, 1)} \left[ h (g _ {\boldsymbol {\theta}} (\epsilon_ {j} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}), g _ {\boldsymbol {\theta}} (\epsilon_ {k} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}), z _ {\boldsymbol {\xi}} ^ {i}) \right] \\ = \frac {1}{n} \sum_ {i = 1} ^ {n} \mathbb {E} _ {\epsilon_ {j} ^ {i}, \epsilon_ {k} ^ {i} \sim \mathcal {N} (0, 1)} \left[ \nabla_ {\pmb {\theta}} h (\boldsymbol {g} _ {\pmb {\theta}} (\epsilon_ {j} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}), g _ {\pmb {\theta}} (\epsilon_ {k} ^ {i}, \mu_ {i}, \sigma_ {i} ^ {2}), \pmb {z} _ {\pmb {\xi}} ^ {i}) \right] \\ \end{array}
377
+ $$
378
+
379
+ The exchange between expectation and gradient is not trivial because of the non-differentiability of functions (e.g., ReLU) within the network function $g_{\theta}$ . We can still perform this step by using Theorem 5 from Pacchiardi & Dutta (2022), considering mild conditions on the neural network architecture of $g_{\theta}$ .
380
+
381
+ # 10.5.5 UNBIASED ESTIMATE OF THE GRADIENT
382
+
383
+ Let $\mathcal{B}$ be a random subset (batch) of the data set. Using 10.5.4, we can obtain unbiased estimates of $\nabla_{\pmb{\theta}}J(\pmb{\theta})$ using samples $\epsilon_i^j \sim \mathcal{N}(0,1), j = 1,\dots,r$ for each $i \in \{1,\dots,N\}$ :
384
+
385
+ $$
386
+ \widehat {\nabla_ {\boldsymbol {\theta}} J (\boldsymbol {\theta})} = \frac {1}{| \mathcal {B} |} \sum_ {i \in \mathcal {B}} \frac {1}{r (r - 1)} \sum_ {j, k = 1, j \neq k} ^ {r} \nabla_ {\boldsymbol {\theta}} h \left(g _ {\boldsymbol {\theta}} \left(\epsilon_ {i} ^ {k}, \mu_ {i}, \sigma_ {i} ^ {2}\right), g _ {\boldsymbol {\theta}} \left(\epsilon_ {i} ^ {j}, \mu_ {i}, \sigma_ {i} ^ {2}\right), z _ {\boldsymbol {\xi}} ^ {i}\right) \tag {13}
387
+ $$
388
+
389
+ # 10.5.6 DETAILED IMPLEMENTATION
390
+
391
+ In addition to the detail in Section 5, it's important to mention that the target network takes two global augmented samples while the online network takes two global augmented samples and 16 local augmentations for multi-cropping samples. Then, the $r$ in Eq. 2 refers to the number of augmentation samples multiplied by the number of samples. Furthermore, in Eq. 2 $z_{\xi}$ denotes one of the global augmented samples.
392
+
393
+ # 11 ADDITIONAL EXPERIMENTAL RESULTS AND ABLATION ANALYSIS
394
+
395
+ In this section, we provide additional details on experiments and ablation analysis.
396
+
397
+ # 11.1 TRANSFER LEARNING EVALUATION
398
+
399
+ We further assess the generalization capacity of the learned representation on learning a new dataset. We followed the same transfer learning protocol explained in (Caron et al., 2021). To this end, we evaluate the performance of our model pretrained on ImageNet to CIFAR10/100, an imbalanced naturalist dataset (iNat-18), and the Flower dataset. According to the results shown in Table 4, we observe that our method provides a robust solution when transferring to the new dataset.
400
+
401
+ Table 4: Transfer to new dataset evaluation: Transfer learning by finetuning pretrained models on different datasets. We report top-1 accuracy. Self-supervised pretraining with ProSMin transfers better than supervised pretraining.
402
+
403
+ <table><tr><td>Method</td><td>CIFAR-10</td><td>CIFAR-100</td><td>iNat-18</td><td>Flowers</td></tr><tr><td>DINO Caron et al. (2021)</td><td>99.0</td><td>90.5</td><td>72.0</td><td>98.5</td></tr><tr><td>i-BOT Zhou et al. (2021)</td><td>99.1</td><td>90.7</td><td>73.7</td><td>98.6</td></tr><tr><td>ProSMin (ours)</td><td>99.3</td><td>91.2</td><td>74.4</td><td>99.1</td></tr></table>
404
+
405
+ # 11.2 OUT-OF-DISTRIBUTION DETECTION AND CORRUPTED DATASET EVALUATION
406
+
407
+ Table 5 compares the performance of our method for the task of OOD detection and corrupted dataset on ImageNet-O and ImageNet-C respectively.
408
+
409
+ Table 5: Out of distribution detection and corrupted dataset: AUROC for out of distribution detection for Imagent-O dataset, where higher AUROC is better, and mCE for Imagent-C dataset where lower mCE is better.
410
+
411
+ <table><tr><td>Method</td><td>AUROC (%) (↑)</td><td>mCE (↑)</td></tr><tr><td>DINO (300 epochs) Caron et al. (2021)</td><td>74.0</td><td>68.1</td></tr><tr><td>MOCO-V3 (300 epochs) Chen et al. (2021)</td><td>71.0</td><td>73.5</td></tr><tr><td>ProSMin (300 epochs)</td><td>76.0</td><td>66.1</td></tr><tr><td>DINO (800 epochs) Caron et al. (2021)</td><td>76.0</td><td>66.5</td></tr><tr><td>ProSMin (800 epochs) Caron et al. (2021)</td><td>77.1</td><td>65.8</td></tr><tr><td>i-BOT (800 epochs) Caron et al. (2021)</td><td>76.6</td><td>66.2</td></tr></table>
412
+
413
+ # 11.3 DIMENSION OF REPRESENTATION VECTOR
414
+
415
+ The dimensionality of latent representations influences the equilibrium between information preservation, transferability, computational efficiency, and defense against overfitting. In Table 6, we evaluate the effect of varying the output dimensionality. Based on the results shown in Table 6 the large output dimensionality improves the performance.
416
+
417
+ Table 6: Analysis of dimension of representation vector in term of Top-1 K-NN.
418
+
419
+ <table><tr><td>Method</td><td>1024</td><td>4096</td><td>16384</td><td>65536</td><td>262144</td></tr><tr><td>DINO Caron et al. (2021)</td><td>67.8</td><td>69.3</td><td>69.2</td><td>69.7</td><td>69.1</td></tr><tr><td>ProSMin (ours)</td><td>69.0</td><td>69.4</td><td>69.5</td><td>69.9</td><td>-</td></tr></table>
420
+
421
+ # 11.4 IMPACT OF PROSMIN ON MITIGATING REPRESENTATION COLLAPSE
422
+
423
+ As we explained in Chapter 3, ProSMin formulates the collapsing representation problem through a probabilistic lens, aiming to provide a comprehensive and nuanced solution that not only addresses the limitations of deterministic approaches but also harnesses the power of uncertainty quantification and broader representation distributions. Specifically, we propose a novel probabilistic self-supervised learning method that minimizes a scoring rule during pretext task learning. We motivate ProSMin by formulating knowledge distillation (KD) in a probabilistic manner. Through extensive empirical analysis, we validate the effectiveness of our approach compared to other self-supervised approaches proposed to prevent collapsing representation (MoCoV3 (Chen et al., 2021), DINO (Caron et al., 2021), and BYOL (Grill et al., 2020). In particular, BYOL prevents collapsing representation using batch normalization and a prediction layer. For DINO, Sharpening and centering play the same role. We showed the superiority of our method compared to other approaches for collapsing representation in Tables 1, 2, 5, and 4 as well as Figure 2 for the task of in-domain generalization, low-shot learning, semi-supervised learning, transfer learning, OOD detection, and corrupted dataset evaluation respectively. Importantly, in Table 3, we showed that our method can achieve a good performance without BN, prediction layer, centering, and sharpening which are the components of BYOL and DINO to prevent collapsing representation.
424
+
425
+ # 11.5 ANALYSIS OF COMPUTATIONAL COST
426
+
427
+ We further assess the effectiveness of our proposed approach and compare it with DINO and iBOT in Table 7. The presented values are obtained from the data reported in the DINO and iBOT papers. However, these papers do not include information regarding the total number of parameters.
428
+
429
+ Table 7: Evaluation of computational efficiency We conduct a thorough analysis of the computational efficiency of our novel probabilistic approach in comparison to alternative self-supervised methods. This evaluation encompasses memory utilization and computational expenditure.
430
+
431
+ <table><tr><td>Method (ViT-s)</td><td>parameters (M)</td><td>im/s</td><td>time/ 300-epochs (hr)</td><td>number of GPUs</td><td>memory (G)</td></tr><tr><td>DINO Caron et al. (2021)</td><td>21</td><td>1007</td><td>72.6</td><td>16</td><td>15.4</td></tr><tr><td>i-BOT Zhou et al. (2021)</td><td>21</td><td>1007</td><td>73.8</td><td>16</td><td>19.5</td></tr><tr><td>ProSMin (ours)</td><td>21</td><td>1007</td><td>98.0</td><td>8</td><td>21.1</td></tr></table>
432
+
433
+ # 11.6 BROADER IMPACT AND LIMITATIONS
434
+
435
+ This study has the potential to inspire new algorithms and stimulate theoretical and experimental exploration. The algorithm presented here can be used for many different probabilistic downstream tasks, including (but not limited to) uncertainty quantification, density estimation, image retrieval, probabilistic unsupervised clustering, program debugging, image generation, music analysis, and ranking. In addition, we believe that our extended concept probabilistic framework opens many interesting avenues for future development in self-supervised learning, and addresses many problems of existing models, such as avoiding representation collapse.
436
+
437
+ However, there are several limitations. One limitation of our model compared to other learning methods (such as supervised learning) is that self-supervised learning may require more computational resources and training time. However, considering that our proposed method does not require manual annotation, which is usually very expensive, we would argue that this trade-off is acceptable.
438
+
439
+ ![](images/24bc2efacf0bb8fba7d77410e9501694187f902828f4c29f632101c8faa62f44.jpg)
440
+ (a)
441
+
442
+ ![](images/23608a637cdb3deb158d26e646d656d0e072bf535fce89240c679d01a88b157c.jpg)
443
+ (b)
444
+
445
+ ![](images/0ad64ca203c13513d976d04a2de4f9fe21dd181a4ab0bfd1b3903a320308971c.jpg)
446
+ (c)
447
+
448
+ ![](images/bb3bf841899ce1f0c82b22b9c074d84e2c54acc0cbd27ae0daf2b8eef5d41245.jpg)
449
+ (d)
450
+ Figure 4: Study of hyperparameters of our proposed ProSMin (a) $\lambda$ , (b) Number of samples, (c) Momentum coefficient $(\alpha)$ , and (d) Size of embedding obtained by 100 epochs on ImageNet.
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0de8d6330dfae6581b9323c1bf7679e4864a5a96b602d794b8987e14aed72e8c
3
+ size 463141
2024/Probabilistic Self-supervised Representation Learning via Scoring Rules Minimization/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistically Rewired Message-Passing Neural Networks/c9db5f89-768f-4373-874a-2386d2d98b51_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75d5b39b966f30a161f3418e387c5e78ce34af1ff15739ec70895d7291976ee7
3
+ size 904443
2024/Probabilistically Rewired Message-Passing Neural Networks/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Probabilistically Rewired Message-Passing Neural Networks/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:754cc748422d55317b7bafedcb5d8fa16144f1215be7b4389659edfd778b7792
3
+ size 1126149
2024/Probabilistically Rewired Message-Passing Neural Networks/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/b512b707-2f18-4756-a8fa-887503ce4c98_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:242d82b620ff12f5d257704e58d44f02788383dd3bc8b8fc523b547d728193da
3
+ size 49867406
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b652ac9069e3bb3e5cf774c66463cf54c636b0966d9a001d83081ce616828de
3
+ size 2113212
2024/Progressive Fourier Neural Representation for Sequential Video Compilation/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/fdec0555-e027-49d3-8d33-9bd1a8edbcd4_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13ed6cd78f69fbccef7b23cada1a102c4a5c261192d8e68626f80dc2e4149e81
3
+ size 4577910
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/full.md ADDED
@@ -0,0 +1,515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PROGRESSIVE3D: PROGRESSIVELY LOCAL EDITING FOR TEXT-TO-3D CONTENT CREATION WITH COMPLEX SEMANTIC PROMPTS
2
+
3
+ Xinhua Cheng\*1, Tianyu Yang\*2, Jianan Wang2, Yu Li2, Lei Zhang2, Jian Zhang1, Li Yuan\*1,3
4
+
5
+ $^{1}$ Peking University
6
+
7
+ $^{2}$ International Digital Economy Academy (IDEA)
8
+
9
+ 3Peng Cheng Laboratory
10
+
11
+ # ABSTRACT
12
+
13
+ Recent text-to-3D generation methods achieve impressive 3D content creation capacity thanks to the advances in image diffusion models and optimizing strategies. However, current methods struggle to generate correct 3D content for a complex prompt in semantics, i.e., a prompt describing multiple interacted objects binding with different attributes. In this work, we propose a general framework named Progressive3D, which decomposes the entire generation into a series of locally progressive editing steps to create precise 3D content for complex prompts, and we constrain the content change to only occur in regions determined by user-defined region prompts in each editing step. Furthermore, we propose an overlapped semantic component suppression technique to encourage the optimization process to focus more on the semantic differences between prompts. Experiments demonstrate that the proposed Progressive3D framework is effective in local editing and is general for different 3D representations, leading to precise 3D content production for prompts with complex semantics for various text-to-3D methods. Our project page is https://cxh0519.github.io/projects/Progressive3D/
14
+
15
+ # 1 INTRODUCTION
16
+
17
+ High-quality 3D digital content that conforms to the requirements of users is desired due to its various applications in the entertainment industry, mixed reality, and robotic simulation. Compared to the traditional 3D generating process which requests manual design in professional modeling software, automatically creating 3D content with given text prompts is more friendly for both beginners and experienced artists. Driven by the recent progress of neural 3D representations (Mildenhall et al., 2020; Wang et al., 2021; Yariv et al., 2021; Shen et al., 2021) and text-to-image (T2I) diffusion models (Nichol et al., 2021; Rombach et al., 2022; Mou et al., 2023; Zhang et al., 2023), Dreamfusion (Poole et al., 2022) demonstrates impressive 3D content creation capacity conditioned on given prompts by distilling the prior knowledge from T2I diffusion models into a Neural Radiance Field (NeRF), which attracts board interests and emerging attempts in text-to-3D creation.
18
+
19
+ Although text-to-3D methods have tried to use various 3D neural representations (Lin et al., 2023; Chen et al., 2023; Tsalicoglou et al., 2023) and optimization strategies (Wang et al., 2023a; Huang et al., 2023b; Wang et al., 2023b) for improving the quality of created 3D content and achieving remark accomplishments, they rarely pay attention to enhancing the semantic consistency between generated 3D content and given prompts. As a result, most text-to-3D methods struggle to produce correct results when the text prompt describes a complex scene involving multiple objects binding with different attributes. As shown in Fig. 1(a), existing text-to-3D methods suffer from challenges with complex prompts, leading to significant object missing, attribute mismatching, and quality reduction. While recent investigations (Feng et al., 2022; Huang et al., 2023a; Lu et al., 2023) have demonstrated that current T2I diffusion models tend to generate inaccurate results when facing
20
+
21
+ # Rannnnnne
22
+
23
+ ![](images/09f16ada2a011f6d4004f9b31a0a89ae58c1adc0389c18d846ced4361e625edc.jpg)
24
+ "An astronaut."
25
+
26
+ ![](images/4f1b757508bab330a372156f8315a21e6e9429474d46fa6318acff2cb2389c61.jpg)
27
+
28
+ "An astronaut holding a red rifle and riding a green origami motorcycle and wearing a cyan chef's hat."
29
+
30
+ ![](images/4e222e19e13fe1392145ac8a69a6faed23312e330cbe51298d2b8869edaf7f34.jpg)
31
+
32
+ ![](images/88c9cdad987601ecd9e017dd274bd4a24a1007597cd0587c4f41cfc0750ef81c.jpg)
33
+ "An astronaut holding a red rifle."
34
+
35
+ ![](images/c67c230d7e20c1b23f21a49b60c5d82b1af2ccc387a6cc76c3f5995f2a512440.jpg)
36
+ "An astronaut holding a red rifle and riding a green origami motorcycle . "
37
+
38
+ ![](images/b50a6f70add75fd74a8af56ed829883193bef5091f17bf534c65bd997db13634.jpg)
39
+ "An astronaut holding a red rifle and riding a green origami motorcycle and wearing a cyan chef's hat."
40
+
41
+ ![](images/0e2ed838d498122a5aaa319982ee709cb978114b1ac280a364f8b734e44f9fc7.jpg)
42
+
43
+ ing a red green le and f's hat."
44
+
45
+ # Texteaaee
46
+
47
+ ![](images/893fd0446e379497f6593c085cddf0094ba575c063df650080725058e67d3615.jpg)
48
+
49
+ ![](images/0e4488597d2b1fb12bbe565cd10235253e245c29401995d371982bd4d745bb34.jpg)
50
+ "A golden vase."
51
+
52
+ "A yellow tulip and a blue peony and a red rose in a golden vase."
53
+
54
+ ![](images/c6627393f92885514e0d64ff88e0cc7f08555dab646ae1d6a04ed9d16e3d88ed.jpg)
55
+
56
+ ![](images/b4f7544197f8691c4eccaa90331c579c36f80efc3258439f85b52ebf7bd3e6ec.jpg)
57
+ "A red rose in a golden vase."
58
+
59
+ ![](images/32c7cfefd4f203edee4a661737f6979c5c3331b26de445022d737d91403a7e63.jpg)
60
+ "A blue peony and a red rose in a golden vase."
61
+
62
+ ![](images/cf8975472272c1dcec5968c1645e21eae0b247fa206f0e7cb3cd9af676e3dc55.jpg)
63
+ "A yellow tulip and a blue peony and a red rose in a golden vase."
64
+
65
+ ![](images/3f2192f74554f64111be18745f8be1ff302e8cd449ef9ac72542b6aa5d4ddf7f.jpg)
66
+
67
+ # Fantasia3D
68
+
69
+ ![](images/5ae2659484c41ddde4975e78caffe481605a8e31f2e2bef09073a331dbf91d16.jpg)
70
+
71
+ ![](images/ecd56d812c4cd0daba53ef2e683718d94cfb5d00ecfe3b4c408d817d5d0aeeb7.jpg)
72
+ "The Ironman."
73
+
74
+ "The Ironman with Gundam's arm and Hulk's arm and Spiderman's body."
75
+
76
+ ![](images/8ec6db19eab76097c0edf64ba831fa4a74eef63bca0d0729d0da588339fd04e5.jpg)
77
+ "The Ironman with Gundam's arm."
78
+
79
+ ![](images/c69b4fc50e0252bd6e293d145ecd3efd6dbc292359b0313e30b4870a17f82dbd.jpg)
80
+ "The Ironman with Gundam's arm and Hulk's arm."
81
+
82
+ ![](images/22ae55785c3bfea53bb0f46f8b1cb3391be699146ef1c3ae3d9ca2f3467728c2.jpg)
83
+
84
+ ![](images/33776d4072c5910340d67505a66d368f8e0c24eaf967866357c456e466ace82d.jpg)
85
+ "The Ironman with Gundan's arm and Hulk's arm and Spiderman's body."
86
+
87
+ ![](images/603546481c1ec21fd5d41eca12825acaf06360fb2f4c0f7d542353f5a5a476b5.jpg)
88
+
89
+ # mnnnne
90
+
91
+ ![](images/747965cd8c83f30f5c403f3efa0edf32522df3f7f9f13fc8aaff5852e29351f3.jpg)
92
+ (a) Generating Directly
93
+
94
+ ![](images/0579a48006653c54979bfb346d226d54f7dfe4ecf070ca8af3743910ccb8b4b3.jpg)
95
+ "A medieval soldier with metal armor."
96
+
97
+ "A medieval soldier with metal armor wearing an white astronaut helmet and holding a golden axe and riding a terracotta wolf."
98
+
99
+ ![](images/64a053214970fda210ac39b35eed90f764f1d241a796c125e116968805fe33bb.jpg)
100
+
101
+ ![](images/a7da7a96967e7379b9bb9784ce10563bfa041c9dc009cebf96c79e3a6aeb14a0.jpg)
102
+ "A medieval soldier with metal armor holding a golden axe."
103
+ "A medieval soldier with metal armor holding a golden axe and riding a terracotta wolf."
104
+ (b) Generating with Progressive3D
105
+
106
+ ![](images/52708bd9ee761b5aa30597383a0c166c8bee00c437e616ec5e16c140d68fa478.jpg)
107
+ Figure 1: Conception. Current text-to-3D methods suffer from challenges when given prompts describing multiple objects binding with different attributes. Compared to (a) generating with existing methods, (b) generating with Progressive3D produces 3D content consistent with given prompts.
108
+
109
+ ![](images/c39251a3df7fa4d0a4d275b1919dc237617207597ee2a7352a3401c61819e430.jpg)
110
+ "A medieval soldier with metal armor wearing an white astronaut helmet and holding a golden axe and riding a terracotta wolf."
111
+
112
+ prompts with complex semantics and existing text-to-3D methods inherit the same issues from T2I diffusion models, works on evaluating or improving the performance of text-to-3D methods in complex semantic scenarios are still limited. Therefore, how to generate correct 3D content consistent with complex prompts is critical for many real applications of text-to-3D methods.
113
+
114
+ To address the challenges of generation precise 3D content from complex prompts, we propose a general framework named Progressive3D, which decomposes the difficult creation of complex prompts into a series of local editing steps, and progressively generates the 3D content as is shown in Fig. 1(b). For a specific editing step, our framework edits the pre-trained source representation in the 3D space determined by the user-defined region prompt according to the semantic difference between the source prompt and the target prompt. Concretely, we propose two content-related constraints, including a consistency constraint and an initialized constraint for keeping content beyond selected regions unchanged and promoting the separate target geometry generated from empty space. Furthermore, a technique dubbed Overlapped Semantic Component Suppression (OSCS) is carefully designed to automatically explore the semantic difference between the source prompt and the target one for guiding the optimization process of the target representations.
115
+
116
+ To evaluate Progressive3D, we construct a complex semantic prompt set dubbed CSP-100 consisting of 100 various prompts. Prompts in CSP-100 are divided into four categories including color, shape,
117
+
118
+ material and composition according to appeared attributes. Experiments conducted on existing text-to-3D methods driven by different 3D representations including NeRF-based DreamTime (Huang et al., 2023b) and MVDream(Shi et al., 2023), SDF-based TextMesh (Tsalicoglou et al., 2023), and DMTet-based Fantasia3D (Chen et al., 2023) demonstrate that our framework produces precise 3D models through multi-step local editing achieve better alignment with text prompts both in metrics and user studies than current text-to-3D creation methods when prompts are complex in semantics.
119
+
120
+ Our contribution can be summarized as follows: (1) We propose a framework named Progressive3D for creating precise 3D content prompted with complex semantics by decomposing a difficult generation process into a series of local editing steps. (2) We propose the Overlapped Semantic Component Suppression to sufficiently explore the semantic difference between source and target prompts for overcoming the issues caused by complex prompts. (3) Experiments demonstrate that Progressive3D is effective in local editing and is able to generate precise 3D content consistent with complex prompts with various text-to-3D methods driven by different 3D neural representations.
121
+
122
+ # 2 RELATED WORKS
123
+
124
+ Text-to-3D Content Creation. Creating high-fidelity 3D content from only text prompts has attracted broad interest in recent years and there are many earlier attempts (Jain et al., 2022; Michel et al., 2022; Mohammad Khalid et al., 2022). Driven by the emerging text-to-image diffusion models, Dreamfusion (Poole et al., 2022) firstly introduces the large-scale prior from diffusion models for 3D content creation by proposing the score distillation sampling and achieves impressive results. The following works can be roughly classified into two categories, many attempts such as SJC (Wang et al., 2023a), Latent-NeRF (Metzer et al., 2022), Score Debiasing (Hong et al., 2023) DreamTime (Huang et al., 2023b), ProlificDreamer (Wang et al., 2023b) and MVDream(Shi et al., 2023) modify optimizing strategies to create higher quality content, and other methods including Magic3D (Lin et al., 2023), Fantasy3D (Chen et al., 2023), and TextMesh (Tsalicoglou et al., 2023) employ different 3D representations for better content rendering and mesh extraction. However, most existing text-to-3D methods focus on promoting the quality of generated 3D content, thus their methods struggle to generate correct content for complex prompts since no specific techniques are designed for complex semantics. Therefore, we propose a general framework named Progressive3D for various neural 3D representations to tackle prompts with complex semantics by decomposing the difficult generation into a series of local editing processes, and our framework successfully produces precise 3D content consistent with the complex descriptions.
125
+
126
+ Text-Guided Editing on 3D Content. Compared to the rapid development of text-to-3D creation methods, the explorations of editing the generated 3D content by text prompts are still limited. Although Dreamfusion (Poole et al., 2022) and Magic3D (Lin et al., 2023) demonstrate that content editing can be achieved by fine-tuning existing 3D content with new prompts, such editing is unable to maintain 3D content beyond editable regions untouched since the fine-tuning is global to the entire space. Similar global editing methods also include Instruct NeRF2NeRF (Haque et al., 2023) and Instruct 3D-to-3D (Kamata et al., 2023), which extend a powerful 2D editing diffusion model named Instruct Pix2Pix (Brooks et al., 2023) into 3D content. Furthermore, several local editing methods including Vox-E (Sella et al., 2023) and DreamEditor (Zhuang et al., 2023) are proposed to edit the content in regions specified by the attention mechanism, and FocalDreamer (Li et al., 2023) only generates the incremental content in editable regions with new prompts to make sure the input content is unchanged. However, their works seldom consider the significant issues in 3D creations including object missing, attribute mismatching, and quality reduction caused by the prompts with complex semantics. Differing from their attempts, our Progressive3D emphasizes the semantic difference between source and target prompts, leading to more precise 3D content.
127
+
128
+ # 3 METHOD
129
+
130
+ Our Progressive3D framework is proposed for current text-to-3D methods to tackle prompts with complex semantics. Concretely, Progressive3D decomposes the 3D content creation process into a series of progressively local editing steps. For each local editing step, assuming we already have a source 3D representation $\phi_s$ supervised by the source prompt $y_s$ , we aim to obtain a target 3D representation $\phi_t$ which is initialized by $\phi_s$ to satisfy the description of the target prompt $y_t$ and
131
+
132
+ the 3D region constraint of user-defined region prompts $\pmb{y}_b$ . We first convert user-defined region prompts to 2D masks for each view separately to constrain the undesired contents in $\phi_t$ untouched (Sec. 3.1), which is critical for local editing. Furthermore, we propose the Overlapped Semantic Component Suppression (OSCS) technique to optimize the target 3D representation $\phi_t$ with the guidance of the semantic difference between the source prompt $\pmb{y}_s$ and the target prompt $\pmb{y}_t$ (Sec. 3.2) for emphasizing the editing object and corresponding attributes. The overview illustration of our framework is shown in Fig .2.
133
+
134
+ # 3.1 EDITABLE REGION DEFINITION AND RELATED CONSTRAINTS
135
+
136
+ In this section, we give the details of the editable region definition with a region prompt $\mathbf{y}_b$ and designed region-related constraints. Instead of directly imposing constraints on neural 3D representations to maintain 3D content beyond selected regions unchanged, we adopt 2D masks rendered from 3D definitions as the bridge to connect various neural 3D representations (e.g., NeRF, SDF, and DMTet) and region definition forms (e.g., 3D bounding boxes, custom meshes, and 2D/3D segmentation results (Liu et al., 2023; Cheng et al., 2023; Cen et al., 2023)), which enhances the generalization of our Progressive3D. We here adopt NeRF as the neural 3D representation and define the editable region with 3D bounding box prompts for brevity.
137
+
138
+ Given a 3D bounding box prompt $\pmb{y}_b = [c_x, c_y, c_z; s_x, s_y, s_z]$ which is user-defined for specifying the editable region in 3D space, where $[c_x, c_y, c_z]$ is the coordinate position of the box center, and $[s_x, s_y, s_z]$ is the box size on the $\{x, y, z\}$ -axis respectively. We aim to obtain the corresponding 2D mask $M_t$ converted from the prompt $\pmb{y}_b$ and pre-trained source representation $\phi_s$ that describes the editable region for a specific view $\pmb{v}$ . Concretely, we first calculate the projected opacity map $\hat{O}$ and the projected depth map $\hat{D}$ of $\phi_s$ similar to the Eq. 10. Then we render the given bounding box to obtain its depth $D_b = \text{render}(\pmb{y}_b, \pmb{v}, \pmb{R})$ , where $\pmb{v}$ is the current view and $\pmb{R}$ is the rotate matrix of the bounding box. Before calculating the 2D editable mask $M_t$ at a specific $\pmb{v}$ , we modify the projected depth map $\hat{D}$ according to $\hat{O}$ to ignore the floating artifacts mistakenly generated in $\phi_s$ :
139
+
140
+ $$
141
+ \tilde {\boldsymbol {D}} (\boldsymbol {r}) = \left\{ \begin{array}{c} \infty , \text {i f} \hat {\boldsymbol {O}} (\boldsymbol {r}) < \tau_ {o}; \\ \hat {\boldsymbol {D}} (\boldsymbol {r}), \text {o t h e r w i s e}; \end{array} \right. \tag {1}
142
+ $$
143
+
144
+ where $\pmb{r} \in \mathcal{R}$ is the ray set of sampled pixels in the image rendered at view $\pmb{v}$ , and $\tau_{o}$ is the filter threshold. Therefore, the 2D mask $M_{t}$ of the editable region, as well as the 2D opacity mask $M_{o}$ , can be calculated for the following region-related constraints:
145
+
146
+ $$
147
+ M _ {t} (\boldsymbol {r}) = \left\{ \begin{array}{l l} 1, & \text {i f} D _ {b} (\boldsymbol {r}) < \tilde {\boldsymbol {D}} (\boldsymbol {r}); \\ 0, & \text {o t h e r w i s e .} \end{array} \quad M _ {o} (\boldsymbol {r}) = \left\{ \begin{array}{l l} 1, & \text {i f} \hat {O} (\boldsymbol {r}) > \tau_ {o}; \\ 0, & \text {o t h e r w i s e .} \end{array} \right. \right. \tag {2}
148
+ $$
149
+
150
+ Content Consistency Constraint. We emphasize that maintaining 3D content beyond user-defined editable regions unchanged during the training of the target representation $\phi_t$ is critical for 3D editing. We thus propose a content consistency constraint to impose the content between the target representation $\phi_t$ and the source representation $\phi_s$ to be consistent in undesired regions, which conditioned by our obtained 2D mask $M_t$ which represents the editable regions:
151
+
152
+ $$
153
+ \mathcal {L} _ {\text {c o n s i s t}} = \sum_ {\boldsymbol {r} \in \mathcal {R}} \left(\bar {M} _ {t} (\boldsymbol {r}) M _ {o} (\boldsymbol {r}) \left| \left| \hat {C} _ {t} (\boldsymbol {r}) - \hat {C} _ {s} (\boldsymbol {r}) \right| \right| _ {2} ^ {2} + \bar {M} _ {t} (\boldsymbol {r}) \bar {M} _ {o} (\boldsymbol {r}) \left| \left| \hat {O} _ {t} (\boldsymbol {r}) \right| \right| _ {2} ^ {2}\right), \tag {3}
154
+ $$
155
+
156
+ where $\bar{M}_t = 1 - M_t$ is the inverse editable mask, $\bar{M}_o = 1 - M_o$ is the inverse opacity mask, and $\hat{C}_s, \hat{C}_t$ are projected colors of $\phi_s, \phi_t$ respectively.
157
+
158
+ Instead of constraining the entire unchanged regions by color similarity, we divide such regions into a content region and an empty region according to the modified opacity mask $M_{o}$ , and an additional term is proposed to impose the empty region remains blank during training. We separately constrain content and empty regions to avoid locking the backgrounds during the training, since trainable backgrounds are proved (Guo et al., 2023) beneficial for the quality of foreground generation.
159
+
160
+ Content Initialization Constraint. In our progressive editing steps, a usual situation is the corresponding 3D space defined by region prompts is empty. However, creating the target object from
161
+
162
+ ![](images/f57c69493a73f6cff9b266e0d7e26d0ed69fe7cc78474bf8e5fcd04085e3d727.jpg)
163
+ Figure 2: Overview of a local editing step of our proposed Progressive3D. Given a source representation $\phi_s$ supervised by source prompt $y_s$ , our framework aims to generate a target representation $\phi_t$ conforming to the input target prompt $y_t$ in 3d space defined by the region prompt $y_b$ . Conditioned on the 2D mask $M_t(r)$ , we constrain the 3D content with $\mathcal{L}_{\text{consist}}$ and $\mathcal{L}_{\text{initial}}$ . We further propose an Overlapped Semantic Component Suppression technique to impose the optimization focusing more on the semantic difference for precise progressive creation.
164
+
165
+ ![](images/875d96a8e53b110b86024b1fbd7506b73a52e552bf40e8f44248bb46e8957c07.jpg)
166
+ (a) Source Content and Region Prompt
167
+
168
+ ![](images/d2df6d816adbd297db4c27ddaabeefaf92f85017bdaa35c756c37c0e7afb2dbf.jpg)
169
+ (b) 2D Mask $M_{t}$
170
+
171
+ ![](images/920b88f85db816ab1d9d2c3be24754c7dac8ba7afa0e398c1c45e44a302b8618.jpg)
172
+ (c) $w / o\mathcal{L}_{\text{consist}}$
173
+ Figure 3: Qualitative ablations. The source prompt $\mathbf{y}_s =$ "A medieval soldier with metal armor holding a golden axe." and the target prompt $\mathbf{y}_t =$ "A medieval soldier with metal armor holding a golden axe and riding a terracotta wolf.", where green denotes the overlapped prompt and red denotes the different prompt.
174
+
175
+ ![](images/37ad452ef89b894f21141dca53395f7d31ebdac3893aa805064f478ddec29a72.jpg)
176
+ (d) w/o $\mathcal{L}_{initial}$
177
+ (e) w/o Overlapped Semantic Component Suppression
178
+
179
+ ![](images/bfa88fcdf54ef73c5adb9196a411ab548d66b2686922d4d907838382ff2e9a7d.jpg)
180
+
181
+ ![](images/86f88a1e575975aa948704f5a8df4404333a78aa2e1d7ac5fe53dc60b223032c.jpg)
182
+ (f) Ours
183
+
184
+ scratch often leads to rapid geometry variation and causes difficulty in generation. We thus provide a content initialization constraint to encourage the user-defined 3D space filled with content, which is implemented by promoting $\hat{O}_t$ increase in editable regions during the early training phase:
185
+
186
+ $$
187
+ \mathcal {L} _ {\text {i n i t a l}} = \kappa (k) \sum_ {\boldsymbol {r} \in \mathcal {R}} M _ {t} (\boldsymbol {r}) \left| \left| \hat {\boldsymbol {O}} _ {t} (\boldsymbol {r}) - \mathbf {1} \right| \right| _ {2} ^ {2}; \quad \kappa (k) = \left\{ \begin{array}{c} \lambda \left(1 - \frac {k}{K}\right), \text {i f} 0 \leq k < K; \\ 0, \text {o t h e r w i s e}, \end{array} \right. \tag {4}
188
+ $$
189
+
190
+ where $\kappa(k)$ is a weighting function of the current training iteration $k$ , $\lambda$ is the scale factor of the maximum strength, and $K$ is the maximum iterations that apply this constraint to avoid impacting the detail generation in the later phase.
191
+
192
+ # 3.2 OVERLAPPED SEMANTIC COMPONENT SUPPRESSION
193
+
194
+ Although we ensure the content edits only occur in user-defined regions through region-related constraints, obtaining desired representation $\phi_t$ which matches the description in the target prompt $y_t$ is still challenging. An intuitive approach to create $\phi_t$ is fine-tuning the source representation $\phi_s$ with the target prompt $y_t$ directly (Poole et al., 2022; Lin et al., 2023). However, we point out that merely leveraging the target prompt $y_t$ for fine-grained editing will cause attribute mismatching issues, especially when $y_t$ describes multiple objects binding with different attributes.
195
+
196
+ For instance in Fig. 3, we have obtained a source representation $\phi_s$ matching the source prompt $y_s$ and a target prompt $y_t$ for the following local editing step. If we adjust $\phi_s$ guided by $y_t$ directly, as shown in Fig. 3(e), the additional content "wolf" could be both impacted by additional attribute "terracotta" and overlapped attribute "metal, golden" during the generation even if the overlapped attribute has been considered in $\phi_s$ , which leads to an undesired result with attribute confusing.
197
+
198
+ ![](images/f0b85c0667f021cedda734fd7ff17e87c167f7d6bff9abbbee5d40be2f6dcbc3.jpg)
199
+ Figure 4: Current text-to-3D methods often fail to produce precise results when the given prompt describes multiple interacted objects binding with different attributes, leading to significant issues including object missing, attribute mismatching, and quality reduction.
200
+
201
+ Furthermore, the repeated attention to overlapped prompts causes the editing process less consider the objects described in additional prompts, leading to entire or partial object ignoring (e.g., "wolf" is mistakenly created without its head and integrated with the soldier). Hence, guiding the optimization in local editing steps to focus more on the semantic difference between $\mathbf{y}_s$ and $\mathbf{y}_t$ instead of $\mathbf{y}_t$ itself is critical for alleviating attribute mismatching and obtaining desired 3D content.
202
+
203
+ Therefore, we proposed a technique named Overlapped Semantic Component Suppression (OSCS) inspired by (Armandpour et al., 2023) to automatically discover the overlapped semantic component between $\mathbf{y}_s$ and $\mathbf{y}_t$ with vector projection, and OSCS then suppresses the overlapped component to enhance the influence of the different semantic during the training of $\phi_t$ for precise content creation. Concretely, both prompts $\mathbf{y}_s$ and $\mathbf{y}_t$ firstly produce separate denoising components with the unconditional prediction $\epsilon_{\theta}(\mathbf{x}_t,t)$ :
204
+
205
+ $$
206
+ \Delta \epsilon_ {\boldsymbol {\theta}} ^ {s} = \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y} _ {s}, t\right) - \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, t\right); \quad \Delta \epsilon_ {\boldsymbol {\theta}} ^ {t} = \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y} _ {t}, t\right) - \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, t\right). \tag {5}
207
+ $$
208
+
209
+ As shown in Fig. 2, we then decompose $\Delta \epsilon_{\theta}^{t}$ into the projection component $\Delta \epsilon_{\theta}^{proj}$ and the perpendicular component $\Delta \epsilon_{\theta}^{prep}$ by projecting $\Delta \epsilon_{\theta}^{t}$ on $\Delta \epsilon_{\theta}^{s}$ :
210
+
211
+ $$
212
+ \Delta \epsilon_ {\theta} ^ {t} = \underbrace {\frac {\left\langle \Delta \epsilon_ {\theta} ^ {s} , \Delta \epsilon_ {\theta} ^ {t} \right\rangle}{\left\| \Delta \epsilon_ {\theta} ^ {s} \right\| ^ {2}} \Delta \epsilon_ {\theta} ^ {s}} _ {\text {P r o j e c t i o n C o m p o n e n t}} + \underbrace {\left(\Delta \epsilon_ {\theta} ^ {t} - \frac {\left\langle \Delta \epsilon_ {\theta} ^ {s} , \Delta \epsilon_ {\theta} ^ {t} \right\rangle}{\left\| \Delta \epsilon_ {\theta} ^ {s} \right\| ^ {2}} \Delta \epsilon_ {\theta} ^ {s}\right)} _ {\text {P e r p e n d i c u l a r C o m p o n e n t}} = \Delta \epsilon_ {\theta} ^ {p r o j} + \Delta \epsilon_ {\theta} ^ {p r e p}, \tag {6}
213
+ $$
214
+
215
+ where $\langle \cdot, \cdot \rangle$ denotes the inner product. We define $\Delta \epsilon_{\theta}^{proj}$ as the overlapped semantic component since it is the most correlated component from $\Delta \epsilon_{\theta}^{t}$ to $\Delta \epsilon_{\theta}^{s}$ , and regard $\Delta \epsilon_{\theta}^{prep}$ as the different semantic component which represents the most significant difference in semantic direction. Furthermore, we suppress the overlapped semantic component $\Delta \epsilon_{\theta}^{proj}$ during training for reducing the influence of appeared attributes, and the noise sampler with OSCS is formulated as:
216
+
217
+ $$
218
+ \hat {\epsilon} _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y} _ {s}, \boldsymbol {y} _ {t}, t\right) = \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, t\right) + \frac {\omega}{W} \Delta \epsilon_ {\boldsymbol {\theta}} ^ {p r o j} + \omega \Delta \epsilon_ {\boldsymbol {\theta}} ^ {p r e p}; W > 1, \tag {7}
219
+ $$
220
+
221
+ where $\omega$ is the original guidance scale in CFG described in Eq. 14, and $W$ is the weight to control the suppression strength for the overlapped semantics. We highlight that $W > 1$ is important for the suppression, since $\hat{\epsilon}_{\theta}(\boldsymbol{x}_t,\boldsymbol{y}_s,\boldsymbol{y}_t,t)$ is degenerated to $\hat{\epsilon}_{\theta}(\boldsymbol{x}_t,\boldsymbol{y}_t,t)$ when $W = 1$ . Therefore, the modified Score Distillation Sampling (SDS) with OSCS is formulated as follows:
222
+
223
+ $$
224
+ \nabla_ {\phi} \tilde {\mathcal {L}} _ {\mathrm {S D S}} (\boldsymbol {\theta}, \boldsymbol {x}) = \mathbb {E} _ {t, \epsilon} \left[ w (t) \left(\hat {\epsilon} _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y} _ {s}, \boldsymbol {y} _ {t}, t\right) - \epsilon\right) \frac {\partial \boldsymbol {x}}{\partial \phi} \right]. \tag {8}
225
+ $$
226
+
227
+ Compared to Fig. 3(e), leveraging OSCS effectively reduces the distraction of appeared attributes and assists Progressive3D in producing desired 3D content, as is shown in Fig. 3(f).
228
+
229
+ # 4 EXPERIMENTS
230
+
231
+ # 4.1 EXPERIMENTAL SETTINGS
232
+
233
+ We only provide important experimental settings including dataset, metrics, and baselines here due to the page limitation, more detailed experimental settings can be found at Appendix B.
234
+
235
+ ![](images/23b6b9b8125a3f7248b42fe61fd63b9bddff7dc19990a8aabc8dedeee5c38824.jpg)
236
+ Figure 5: Progressive editing processes driven by various text-to-3D methods equipped with our Progressive3D. Compared to original methods, Progressive3D assists current methods in tackling prompts with complex semantics well. 3D Cyan boxes denote the user-defined region prompts.
237
+
238
+ Dataset Construction. We construct a Complex Semantic Prompt set named CSP-100 which involves 100 complex prompts to verify that current text-to-3D methods suffer issues when prompts are complex in semantics and proposed Progressive3D efficiently alleviate these issues. CSP-100 introduces four sub-categories of prompts including color, shape, material, and composition according to the appeared attribute and more details are in Appendix B.
239
+
240
+ Evaluation Metrics. Existing text-to-3D methods (Poole et al., 2022; Tsalicoglou et al., 2023; Li et al., 2023) leverage CLIP-based metrics to evaluate the semantic consistency between generated 3D creations and corresponding text prompts. However, CLIP-based metrics are verified (Huang et al., 2023a; Lu et al., 2023) that fail to measure the fine-grained correspondences between described objects and binding attributes. We thus adopt two recently proposed metrics fine-grained
241
+
242
+ ![](images/809cf374766773d3120333007e731f17ef1355bc91eede279adf119781831534.jpg)
243
+ Dream Time
244
+
245
+ ![](images/b52d8579968db352b6541bde0cfbdbb5e9d08e6fd532580d04737211d222e0f2.jpg)
246
+ Dream Time +CEBM
247
+
248
+ ![](images/75bac555b082739a8174171fd77f5823edf26127a4e0d9c56e4b0bb1ca3ac89c.jpg)
249
+ DreamTime +A&E
250
+
251
+ ![](images/e3e73ceca8a03051c911b689dd0fc2aba2659ffb7f0c2f8f8999d7848e374337.jpg)
252
+ DreamTime +Progressive3D
253
+ "A ceramic tea pot and a lego car on a golden table."
254
+
255
+ ![](images/5444649019fa3ade09602de6c9e76134ea0b41104d4234d43be2952b5a98d3b7.jpg)
256
+
257
+ ![](images/1bc77d4393742deadc929ecc0ceea6a3df0cb88685951eb851b39f0a131f6e7d.jpg)
258
+ "A triangle sandwich on a round cabinet."
259
+
260
+ ![](images/edcb14db11ee14ab681335de17102d2f12e7570c633f8d7cdaaf35fdaa13114c.jpg)
261
+
262
+ ![](images/fc1355d930c55ed0ae2b0cfc3696825b840af90504c3a9a6f5331c7317f03a5c.jpg)
263
+
264
+ ![](images/1e75e0a835d8a43c4548fe84cfdfe482c54382af94c0cb768c34268ed8d93033.jpg)
265
+
266
+ ![](images/46dbe8ec6afb82d22b13e565c658b99a5e743196aafa4c7f1f210370264a48bc.jpg)
267
+ "A yellow tulip and a white tulip in a pink vase."
268
+
269
+ ![](images/433bed30137689bf2eedc8d03c9d7186af606e71607b17e73482a4f317f7f950.jpg)
270
+
271
+ ![](images/bd02b8fcbfd9bdefc0096c79e0daf9e7a658d8518dee616fb641fa3d83d1625d.jpg)
272
+
273
+ Table 1: Quantitative comparison on metrics and user studies over CSP-100.
274
+
275
+ <table><tr><td rowspan="2">Method</td><td colspan="2">Metrics</td><td>Human</td></tr><tr><td>B-VQA ↑</td><td>mGPT-CoT ↑</td><td>Preference ↑</td></tr><tr><td>DreamTime</td><td>0.227</td><td>0.522</td><td>16.8%</td></tr><tr><td>+ CEBM</td><td>0.186</td><td>0.491</td><td>-</td></tr><tr><td>+ A&amp;E</td><td>0.243</td><td>0.528</td><td>-</td></tr><tr><td>+ Progressive3D</td><td>0.474</td><td>0.609</td><td>83.2%</td></tr></table>
276
+
277
+ ![](images/ad44c85d12edc181d19643238351f8fa2bcec3f2f38f98f125cf66b0b729d501.jpg)
278
+ Figure 6: Visual comparison with DreamTime-based compositional generation baselines.
279
+ Figure 7: Qualitative ablations between fine-tuning with target prompts and editing with Progressive3D on MVDream.
280
+
281
+ including BLIP-VQA and mGPT-CoT (Huang et al., 2023a), evaluate the generation capacity of current methods and our Progressive3D when handling prompts with complex semantics.
282
+
283
+ Baselines. We incorporate our Progressive3D with 4 text-to-3D methods driven by different 3D representations: (1) DreamTime (Huang et al., 2023b) is a NeRF-based method which enhances DreamFusion (Poole et al., 2022) in time sampling strategy and produce better results. We adopt DreamTime as the main baseline for quantitative comparisons and ablations due to its stability and training efficiency. (2) TextMesh (Tsalicoglou et al., 2023) leverages SDF as the 3D representation to improve the 3D mesh extraction capacity. (3) Fantasia3D (Tsalicoglou et al., 2023) is driven by DMTet which produces impressive 3D content with a disentangled modeling process. (4) MVDream (Shi et al., 2023) is a NeRF-based method which leverages a pre-trained multi-view consistent text-to-image model for text-to-3D generation and achieves high-quality 3D content generation performance. To further demonstrate the effectiveness of Prgressive3D, we re-implement two composing text-to-image methods including Composing Energy-Based Model (CEBM) (Liu et al., 2022) and Attend-and-Excite (A&E) (Chefer et al., 2023) on DreamTime for quantitative comparison.
284
+
285
+ # 4.2 PROGRESSIVE3D FOR TEXT-TO-3D CREATION AND EDITING
286
+
287
+ Comparison with current methods. We demonstrate the superior performance of our Progressive3D compared to current text-to-3D methods in both qualitative and quantitative aspects in this section. We first present visualization results in Fig. 4 to verify that DreamTime faces significant challenges including (a) object missing, (b) attribute mismatching, and (c) quality reduction when given prompts describe multiple interacted objects binding with different attributes. Thanks to our careful designs, Progressive3D effectively promotes the creation performance of DreamTime when dealing with complex prompts. In addition, more progressive editing processes based on various text-to-3D methods driven by different neural 3D representations are shown in Fig. 5, which further demonstrate that Progressive3D stably increases the generation capacity of based methods when given prompts are complex, and our framework is general for various current text-to-3D methods.
288
+
289
+ We also provide quantitative comparisons on fine-grained semantic consistency metrics including BLIP-VQA and mGPT-CoT, and the results are shown in Tab. 1, which verify that our Progressive3D achieves remarkable improvements for 3D content creation with complex semantics compared to DreamTime-based baselines. As shown in Fig. 6, baselines that combine 2D composing T2I methods including CEBM (Liu et al., 2022) and A&E (Chefer et al., 2023) with DreamTime
290
+
291
+ Table 2: Quantitative ablation studies for proposed constraints and the OSCS technique based on DreamTime over CSP-100.
292
+
293
+ <table><tr><td rowspan="2">Index</td><td colspan="3">Components</td><td colspan="2">Metrics</td></tr><tr><td>\( \mathcal{L}_{\text{consist}} \)</td><td>\( \mathcal{L}_{\text{initial}} \)</td><td>OSCS</td><td>B-VQA ↑</td><td>mGPT-CoT ↑</td></tr><tr><td>1</td><td>✓</td><td></td><td></td><td>0.255</td><td>0.567</td></tr><tr><td>2</td><td>✓</td><td>✓</td><td></td><td>0.370</td><td>0.577</td></tr><tr><td>3</td><td>✓</td><td></td><td>✓</td><td>0.347</td><td>0.581</td></tr><tr><td>4</td><td>✓</td><td>✓</td><td>✓</td><td>0.474</td><td>0.609</td></tr></table>
294
+
295
+ ![](images/e65f412e85fb80da4a43e0899ca4b8a26fdfd06dad2fec4d473bf7945c3be4f2.jpg)
296
+ Figure 8: Qualitative ablations for suppression weight $W$ in proposed OSCS.
297
+
298
+ still achieve limited performance for complex 3D content generation, leading to significant issues including object missing, attribute mismatching, and quality reduction. Furthermore, we collected 20 feedbacks from humans to investigate the performance of our framework. The human preference shows that users prefer our Progressive3D in most scenarios (16.8% vs. 83.2%), demonstrating that our framework effectively promotes the precise creation capacity of DreamTime when facing complex prompts.
299
+
300
+ # 4.3 ABLATION STUDIES
301
+
302
+ In this section, we conduct ablation studies on DreamTime and TextMesh to demonstrate the effectiveness of proposed components including content consistency constraint $\mathcal{L}_{\text{consist}}$ , content initialization constraint $\mathcal{L}_{\text{initial}}$ and Overlapped Semantic Component Suppression (OSCS) technique, we highlight that a brief qualitative ablation is given in Fig. 3.
303
+
304
+ We first present ablation results between fine-tuning directly and editing with Progressive3D based on TextMesh in Fig. 7 to demonstrate that fine-tuning with new prompts cannot maintain source objects prompted by overlapped semantics untouched and is unusable for progressive editing. Another visual result in Fig. 8 shows the parameter analysis of the suppression weight $w$ in OSCS. With the increase of $W$ (i.e., $\frac{\omega}{W}$ decreases), the different semantics between source and target prompts play more important roles in optimizations and result in more desirable 3D content. On the contrary, the progressive step edits failed results with object missing or attribute mismatching issues when we increase the influence of overlapped semantics by setting $W = 0.5$ , which further proves that our explanation of perpendicular and projection components is reasonable.
305
+
306
+ We then show the quantitative comparison in Tab. 2 to demonstrate the effectiveness of each proposed component, where content consistency constraint is not involved in quantitative ablations since consistency is the foundation of 3D content local editing which guarantees content beyond user-defined regions untouched. We underline that $\mathcal{L}_{initial}$ is proposed to simplify the geometry generation from empty space and OSCS is designed to alleviate the distraction of overlapped attributes, thus both components can benefit the creation performance with no conflict theoretically. This has been proofed by the quantitative ablations in Tab. 2: index 2 and 3 show that applying $\mathcal{L}_{initial}$ and OSCS alone both promote the metrics compared to the baseline in index 1, and index 4 shows that leveraging both $\mathcal{L}_{initial}$ and OSCS together can further contribute to the creation performance over CSP-100.
307
+
308
+ # 5 CONCLUSION
309
+
310
+ In this work, we propose a general framework named Progressive3D for correctly generating 3D content when the given prompt is complex in semantics. Progressive3D decomposes the difficult creation process into a series of local editing steps and progressively generates the aiming object with binding attributes with the assistance of proposed region-related constraints and the overlapped semantic suppression technique in each step. Experiments conducted on complex prompts in CSP-100 demonstrate that current text-to-3D methods suffer issues including object missing, attribute mismatching, and quality reduction when given prompts are complex in semantics, and the proposed Progressive3D effectively creates precise 3D content consistent with complex prompts through multi-step local editing. More discussions on the limitations and potential directions for future works are provided in Appendix A.
311
+
312
+ # ACKNOWLEDGMENTS
313
+
314
+ This work was supported by the National Key R&D Program of China (2022ZD0118101), the Natural Science Foundation of China (No.62202014), Shenzhen Basic Research Program under Grant JCYJ20220813151736001, and also sponsored by CCF Tencent Open Research Fund.
315
+
316
+ # REFERENCES
317
+
318
+ Mohammadreza Armandpour, Huangjie Zheng, Ali Sadeghian, Amir Sadeghian, and Mingyuan Zhou. Re-imagine the negative prompt algorithm: Transform 2d diffusion into 3d, alleviate janus problem and beyond. arXiv preprint arXiv:2304.04968, 2023. 6
319
+ Tim Brooks, Aleksander Holynski, and Alexei A Efros. Instructpix2pix: Learning to follow image editing instructions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18392-18402, 2023. 3
320
+ Jiazhong Cen, Zanwei Zhou, Jiemin Fang, Wei Shen, Lingxi Xie, Xiaopeng Zhang, and Qi Tian. Segment anything in 3d with nerfs. arXiv preprint arXiv:2304.12308, 2023. 4
321
+ Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, and Daniel Cohen-Or. Attend-and-excite: Attention-based semantic guidance for text-to-image diffusion models. ACM Transactions on Graphics (TOG), 42(4):1-10, 2023. 8
322
+ Rui Chen, Yongwei Chen, Ningxin Jiao, and Kui Jia. *Fantasia3d: Disentangling geometry and appearance for high-quality text-to-3d content creation.* arXiv preprint arXiv:2303.13873, 2023. 1, 3, 17
323
+ Xinhua Cheng, Yanmin Wu, Mengxi Jia, Qian Wang, and Jian Zhang. Panoptic compositional feature field for editable scene rendering with network-inferred labels via metric learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4947-4957, 2023. 4
324
+ Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with $90\%$ * chatgpt quality, 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/.16
325
+ DeepFloyd-Team. Deepfloyd-if, 2023. URL https://huggingface.co/DeepFloyd/IF-I-XL-v1.0.17
326
+ Weixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani, Arjun Akula, Pradyumna Narayana, Sugato Basu, Xin Eric Wang, and William Yang Wang. Training-free structured diffusion guidance for compositional text-to-image synthesis. arXiv preprint arXiv:2212.05032, 2022. 1
327
+ Yuan-Chen Guo, Ying-Tian Liu, Ruizhi Shao, Christian Laforte, Vikram Voleti, Guan Luo, Chia-Hao Chen, Zi-Xin Zou, Chen Wang, Yan-Pei Cao, and Song-Hai Zhang. threestudio: A unified framework for 3d content generation, 2023. URL https://github.com/threestudio-project/threestudio.4,17
328
+ Ayaan Haque, Matthew Tancik, Alexei A Efros, Aleksander Holynski, and Angjoo Kanazawa. Instruct-nerf2nerf: Editing 3d scenes with instructions. arXiv preprint arXiv:2303.12789, 2023. 3
329
+ Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022. 18
330
+ Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), volume 33, pp. 6840-6851, 2020. 18
331
+ Susung Hong, Donghoon Ahn, and Seung Wook Kim. Debiasing scores and prompts of 2d diffusion for robust text-to-3d generation. ArXiv, abs/2303.15413, 2023. 3
332
+
333
+ Kaiyi Huang, Kaiyue Sun, Enze Xie, Zhenguo Li, and Xihui Liu. T2i-compbench: A comprehensive benchmark for open-world compositional text-to-image generation. arXiv preprint arXiv:2307.06350, 2023a. 1, 7, 8, 16
334
+ Yukun Huang, Jianan Wang, Yukai Shi, Xianbiao Qi, Zheng-Jun Zha, and Lei Zhang. Dreamtime: An improved optimization strategy for text-to-3d content creation. arXiv preprint arXiv:2306.12422, 2023b. 1, 3, 8, 17
335
+ Ajay Jain, Ben Mildenhall, Jonathan T Barron, Pieter Abbeel, and Ben Poole. Zero-shot text-guided object generation with dream fields. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 867-876, 2022. 3
336
+ Hiromichi Kamata, Yuiko Sakuma, Akio Hayakawa, Masato Ishii, and Takuya Narihira. Instruct 3d-to-3d: Text instruction guided 3d-to-3d conversion. arXiv preprint arXiv:2303.15780, 2023. 3
337
+ Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. Segment anything. arXiv preprint arXiv:2304.02643, 2023. 14
338
+ Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pretraining for unified vision-language understanding and generation. In International Conference on Machine Learning, pp. 12888-12900, 2022. 16
339
+ Yuhan Li, Yishun Dou, Yue Shi, Yu Lei, Xuanhong Chen, Yi Zhang, Peng Zhou, and Bingbing Ni. Focaldreamer: Text-driven 3d editing via focal-fusion assembly. arXiv preprint arXiv:2308.10608, 2023. 3, 7, 14, 16
340
+ Chen-Hsuan Lin, Jun Gao, Luming Tang, Towaki Takikawa, Xiaohui Zeng, Xun Huang, Karsten Kreis, Sanja Fidler, Ming-Yu Liu, and Tsung-Yi Lin. Magic3d: High-resolution text-to-3d content creation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 300–309, 2023. 1, 3, 5
341
+ Nan Liu, Shuang Li, Yilun Du, Antonio Torralba, and Joshua B Tenenbaum. Compositional visual generation with composable diffusion models. In European Conference on Computer Vision, pp. 423-439. Springer, 2022. 8
342
+ Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, et al. Grounding dino: Marrying dino with grounded pre-training for open-set object detection. arXiv preprint arXiv:2303.05499, 2023. 4, 14
343
+ Yujie Lu, Xianjun Yang, Xiujun Li, Xin Eric Wang, and William Yang Wang. Llmscore: Unveiling the power of large language models in text-to-image synthesis evaluation. arXiv preprint arXiv:2305.11116, 2023. 1, 7, 16
344
+ Gal Metzer, Elad Richardson, Or Patashnik, Raja Giryes, and Daniel Cohen-Or. Latent-nerf for shape-guided generation of 3d shapes and textures. arXiv preprint arXiv:2211.07600, 2022. 3
345
+ Oscar Michel, Roi Bar-On, Richard Liu, Sagie Benaim, and Rana Hanocka. Text2mesh: Text-driven neural stylization for meshes. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 13492-13502, June 2022. 3
346
+ Ben Mildenhall, Pratul P Srinivasan, Matthew Tancik, Jonathan T Barron, Ravi Ramamoorthi, and Ren Ng. Nerf: Representing scenes as neural radiance fields for view synthesis. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 405-421, 2020. 1, 18
347
+ Nasir Mohammad Khalid, Tianhao Xie, Eugene Belilovsky, and Tiberiu Popa. Clip-mesh: Generating textured meshes from text using pretrained image-text models. In SIGGRAPH Asia 2022 conference papers, pp. 1-8, 2022. 3
348
+ Chong Mou, Xintao Wang, Liangbin Xie, Jing Zhang, Zhongang Qi, Ying Shan, and Xiaohu Qie. T2i-adapter: Learning adapters to dig out more controllable ability for text-to-image diffusion models. ArXiv, abs/2302.08453, 2023. 1
349
+
350
+ Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. In International Conference on Machine Learning, 2021. 1
351
+ Ben Poole, Ajay Jain, Jonathan T Barron, and Ben Mildenhall. Dreamfusion: Text-to-3d using 2d diffusion. arXiv preprint arXiv:2209.14988, 2022. 1, 3, 5, 7, 8, 16, 18
352
+ Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, 2021. 16
353
+ Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10684-10695, 2022. 1, 17
354
+ Etai Sella, Gal Fiebelman, Peter Hedman, and Hadar Averbuch-Elor. Vox-e: Text-guided voxel editing of 3d objects. arXiv preprint arXiv:2303.12048, 2023. 3
355
+ Tianchang Shen, Jun Gao, Kangxue Yin, Ming-Yu Liu, and Sanja Fidler. Deep marching tetrahedra: a hybrid representation for high-resolution 3d shape synthesis. Advances in Neural Information Processing Systems, 34:6087-6101, 2021. 1
356
+ Yichun Shi, Peng Wang, Jianglong Ye, Mai Long, Kejie Li, and Xiao Yang. Mvdream: Multi-view diffusion for 3d generation. arXiv preprint arXiv:2308.16512, 2023. 3, 8
357
+ Jascha Sohl-Dickstein, EricL. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. arXiv: Learning, arXiv: Learning, 2015. 18
358
+ Christina Tsalicoglou, Fabian Manhardt, Alessio Tonioni, Michael Niemeyer, and Federico Tombari. Textmesh: Generation of realistic 3d meshes from text prompts. arXiv preprint arXiv:2304.12439, 2023. 1, 3, 7, 8, 16, 17
359
+ Haochen Wang, Xiaodan Du, Jiahao Li, Raymond A Yeh, and Greg Shakhnarovich. Score jacobian chaining: Lifting pretrained 2d diffusion models for 3d generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12619-12629, 2023a. 1, 3
360
+ Peng Wang, Lingjie Liu, Yuan Liu, Christian Theobalt, Taku Komura, and Wenping Wang. Neus: Learning neural implicit surfaces by volume rendering for multi-view reconstruction. arXiv preprint arXiv:2106.10689, 2021. 1
361
+ Zhengyi Wang, Cheng Lu, Yikai Wang, Fan Bao, Chongxuan Li, Hang Su, and Jun Zhu. Prolificdreamer: High-fidelity and diverse text-to-3d generation with variational score distillation. arXiv preprint arXiv:2305.16213, 2023b. 1, 3
362
+ Lior Yariv, Jiatao Gu, Yoni Kasten, and Yaron Lipman. Volume rendering of neural implicit surfaces. Advances in Neural Information Processing Systems, 34:4805-4815, 2021. 1
363
+ Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models. In IEEE International Conference on Computer Vision (ICCV), 2023. 1
364
+ Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. Minigpt-4: Enhancing vision-language understanding with advanced large language models. arXiv preprint arXiv:2304.10592, 2023. 16
365
+ Jingyu Zhuang, Chen Wang, Lingjie Liu, Liang Lin, and Guanbin Li. Dreameditor: Text-driven 3d scene editing with neural fields. arXiv preprint arXiv:2306.13455, 2023. 3, 14
366
+
367
+ # A DISCUSSIONS
368
+
369
+ # A.1 REALISTIC USAGE OF PROGRESSIVE3D
370
+
371
+ We note that Progressive3D contains multiple local editing steps for creating complex 3D content, which accords with user usage pipeline, i.e., creating a primary object first, then adjusting its attribute or adding more related objects. However, Progressive3D is flexible in realistic usage since the generation capacity of basic text-to-3D method and user goals are variant. For instance in Fig. 9, we desire to create the 3D content consistent with the prompt "An astronaut wearing a green top hat and riding a red horse". We find that MVDream fails to create the precise result while generating "An astronaut riding a red horse" correctly. Thus the desired content can be achieved by editing "An astronaut riding a red horse" within one-step editing, instead of starting from "an astronaut".
372
+
373
+ ![](images/e9810a2cc1902c15aa472cfe1eace4eaa11d422dd99aa7cb11bb5894310f782b.jpg)
374
+ Figure 9: MVDream successfully creates "An astronaut riding a red horse" while failing to create "An astronaut wearing a green top hat and riding a red horse" By leveraging one-step Progressive3D editing, correct 3D content is obtained.
375
+
376
+ # A.2 OBJECT GENERATING ORDER
377
+
378
+ Different object generating orders in Progressive3D typically result in correct 3D content consistent with the complex prompts. However, the content details of the final content are impacted by created objects since Progressive3D is a local editing chain started from the source content, and we give an instance in Fig. 10. With different generating orders, Progressive3D creates 3D content with different details while they are both consistent with the prompt "An astronaut sitting on a wooden chair". In our experiments, we first generate the primary object which is desired to occupy most of the space and interact with other additional objects.
379
+
380
+ ![](images/37b227cb21d0e2ac49b286b1b02add3c08afd3e802e4f260c648a37e19cf2f44.jpg)
381
+ Figure 10: Creating "An astronaut sitting on a wooden chair" from different generating orders.
382
+
383
+ ![](images/96771fdb9247d90b62f983feab6d8c0ee1ccf6808571dd525eb5561be0e33f35.jpg)
384
+
385
+ # A.3 VARIOUS REGION DEFINITIONS
386
+
387
+ We highlight that Progressive3D is a general framework for various region definition forms since the corresponding 2D mask of each view can be achieved. As shown in Fig. 11, Progressive3D performs correctly on various definition forms including multiple 3D bounding boxes, custom mesh, and the fine-grained 2D segmentation prompted by the keyword "helmet" through Grounded-SAM (Liu et al., 2023; Kirillov et al., 2023).
388
+
389
+ ![](images/678364cce13905334983b0c18dfcd503aeeb07faa662edd989d451a6f34dcdb3.jpg)
390
+ Figure 11: Progressive3D supports various definition forms of regions since the corresponding 2D masks of each view can be obtained.
391
+
392
+ # A.4 ATTRIBUTEDITING
393
+
394
+ We emphasize that Progressive3D supports both modifying attributes of existing objects and creating additional objects with attributes not mentioned in source prompts from scratch in user-selected regions, and we provide attribute editing results in Fig. 12. Noticing that creating additional objects with attributes not mentioned in source prompts from scratch is more difficult than editing the attributes of existing objects. Therefore, attribute editing costs significantly less time than additional object generation.
395
+
396
+ # A.5 WHY ADOPTING 2D CONSTRAINTS
397
+
398
+ Compared to directly maintaining 3D content beyond editable regions unchanged on 3D representations, we adopt 2D constraints for achieving such a goal from the perspective of generalization.
399
+
400
+ We notice that current text-to-3D methods are developed based on various neural 3D representations, thus most 3D editing methods propose careful designs for a specific representation and are unusable on other representations. For instance, DreamEditor (Zhuang et al., 2023) distills the original NeRF into a mesh-based radiance field to localize the editable regions, and FocalDreamer (Li
401
+
402
+ ![](images/4e58da6f2fd4569e58dcf48c6bbff3a59247df0e62ec4aff9e17e6a4a347a5f0.jpg)
403
+ Figure 12: Prgressive3D supports attribute editing on existing generated objects.
404
+
405
+ et al., 2023) proposes multiple regularized losses specifically designed for DMTet to maintain the undesired regions unchanged. In addition, their specific designs also limit the available definition forms of editable regions.
406
+
407
+ However, we underline that the optimization core of most text-to-3D is the SDS loss which is supervised on rendered views in a 2D way, and different neural 3D representations can be rendered as 2D projected color, opacity, and depth maps through volume rendering or rasterization. Therefore, our proposed 2D region-related constraints can effectively bridge different representations and various user-provided definition forms, and the strength weights of our region-related constraints are easy to adjust since our constraints and SDS loss are all imposed on 2D views.
408
+
409
+ # A.6 LIMITATIONS
410
+
411
+ Our Progressive3D efficiently promotes the generation capacity for current text-to-3d methods when facing complex prompts. However, Progressive3D still faces several challenges.
412
+
413
+ Firstly, Progressive3D decomposes a difficult generation into a series of editing processes, which leads to multiplying time costs and more human intervention. A potential future direction is further introducing layout generation into the text-to-3d area, e.g., creating 3D content with complex semantics in one generation by inputting a global prompt, a string of pre-defined 3D regions, and their corresponding local prompts. Whereas 3D layout generation intuitive suffers more difficulties and requires further exploration.
414
+
415
+ Another problem is that the creation quality of Progressive3D is highly determined by the generative capacity of the base method. We believe our framework can achieve better results when stronger 2D text-to-image diffusion models and neural 3D representations are available, and we leave the adaptation between possible improved text-to-3D creation methods and Progressive3D in future works.
416
+
417
+ # B EXPERIMENTS SETTINGS
418
+
419
+ # B.1 CSP-100
420
+
421
+ CSP-100 can be divided into four sub-categories of prompts including color (e.g. red, green, blue), shape (e.g. round, square, hexagonal), material (e.g. golden, wooden, origami) and composition according to the attribute types appeared in prompts, as shown in Fig. 13. Each prompt in the color/shape/material categories describes two objects binding with color/shape/material attributes, and each prompt in the composition category describes at least three interacted objects with corresponding different attributes. We provide the detailed prompt list in both Tab. 4 and Tab. 5.
422
+
423
+ ![](images/a199d0364934b782f052da8383a931b875b6086a772f93d9aca29c9c6a3b6f92.jpg)
424
+ Figure 13: Prompts in CSP-100 can be divided into four categories including Color, Shape, Material, and Composition according to appeared attributes.
425
+
426
+ # B.2 METRICS
427
+
428
+ The CLIP-based metrics utilized by current text-to-3D methods (Poole et al., 2022; Tsalicoglou et al., 2023; Li et al., 2023) calculates the cosine similarity between text and image features extracted by CLIP (Radford et al., 2021) However, recent works (Huang et al., 2023a; Lu et al., 2023) demonstrate that CLIP-based metrics can only measure the coarse text-image similarity but fail to measure the fine-grained correspondences among multiple objects and their binding attributes. Therefore, we adopt two fine-grained text-to-image evaluation metrics including BLIP-VQA and mGPT-CoT proposed by (Huang et al., 2023a) to show the effectiveness of Progressive3D. We provide comparisons in Fig. 14 to demonstrate that the CLIP metric fails to measure the fine-grained correspondences while BLIP-VQA performs well, and we report the quantitative comparison of DreamTime-based methods on CLIP metric over CSP-100 in Tab. 3.
429
+
430
+ ![](images/da191ee347a60cd9dcb89d86d364d3b490a28dcc4458306ee7f43a80f27b8e40.jpg)
431
+ Figure 14: Quantitative comparison for metrics including CLIP and BLIP-VQA on DreamTime and MVDream.
432
+
433
+ Table 3: Quantitative comparison on CLIP over CSP-100.
434
+
435
+ <table><tr><td>Method</td><td>CLIP ↑</td></tr><tr><td>DreamTime</td><td>0.289</td></tr><tr><td>+ CEBM</td><td>0.275</td></tr><tr><td>+ A&amp;E</td><td>0.281</td></tr><tr><td>+ Progressive3D</td><td>0.292</td></tr></table>
436
+
437
+ BLIP-VQA is proposed based on the visual question answering (VQA) ability of BLIP (Li et al., 2022). Concretely, BLIP-VQA decomposes a complex prompt into several separate questions and takes the probability of answering "yes" as the score for a question. The final score of a specific prompt is the product of the probability of answering "yes" for corresponding questions. For instance, the complex prompt is "An astronaut holding a red rifle," the final score of BLIP-VQA is the product of the probability for questions including "An astronaut?" and "A red rifle?"
438
+
439
+ Since multimodal large language models such as MiniGPT-4 (Zhu et al., 2023) show impressive text-image understanding capacity, MiniGPT4 with Chain-of-Thought (mGPT-CoT) is proposed to leverage such cross-modal understanding performance to evaluate the fine-grained semantic similarity between query text and image. Specifically, we ask two questions in sequence including "Describe the image." and "Predict the image-text alignment score.", and the multimodal LLM is required to output the evaluation mGPT-CoT score with detailed Chain-of-Thought prompts. In practice, we adopt MiniGPT4 fine-tuned from Vicuna 7B (Chiang et al., 2023) as the LLM.
440
+
441
+ What's more, we define the preference criterion of human feedback as follows: Users are requested to judge whether the 3D creations generated by DreamTime or Progressive3D are consistent with the given prompts. If one 3D content is acceptable in the semantic aspect while the other is not, the corresponding acceptable method is considered superior. On the contrary, if both 3D creations are
442
+
443
+ considered to satisfy the description in the given prompt, users are asked to prefer the 3D content with higher quality.
444
+
445
+ # B.3 IMPLEMENT DETAILS
446
+
447
+ Our Progressive3D is implemented based on the Threestudio (Guo et al., 2023) project since DreamTime (Huang et al., 2023b) and TextMesh (Tsalicoglou et al., 2023) have not yet released their source code and the official Fantasia3D (Chen et al., 2023) code project, and all experiments are conducted on NVIDIA A100 GPUs. We underline that the implementation in ThreeStudio (Guo et al., 2023) and details could be different from their papers, especially ThreeStudio utilizes DeepFloyd IF (DeepFloyd-Team, 2023) as the text-to-image diffusion model for more stable and higher quality in the generation, while Fantasia3D adopts Stable Diffusion (Rombach et al., 2022) as the 2D prior. The number of iterations $N$ and batch size for DreamTime and TextMesh are set to 10000 and 1 respectively. The training settings of Fantasia3D are consistent with officially provided training configurations, e.g., $N$ is 3000 and 2000 for geometry and appearance modeling stages, and batch size is set to 12. We leverage Adam optimizer for progressive optimization and the learning rate is consistent with base methods. Therefore, one local editing step costs a similar time to one generation of base methods from scratch. In most scenarios, the filter threshold $\tau_{o}$ is set to 0.5, the strength factor $\lambda$ , iteration threshold $K$ in $\mathcal{L}_{\text{consist}}$ are set to 0.5 and $\frac{N}{4}$ , and the suppression weight $W$ in overlapped semantic component suppression technique is set to 4.
448
+
449
+ # C QUALITATIVE RESULTS
450
+
451
+ # C.1 CONTENTCONSTRAINT WITHBACKGROUND
452
+
453
+ We divide the $\mathcal{L}_{\text {consist }}$ into a content term and an empty term to avoid mistakenly treating backgrounds as a part of foreground objects. We give a visual comparison of restricting the backgrounds and foregrounds as an entirety in Fig. 15, and the $\hat{\mathcal{L}}_{\text {consist }}$ can be formulated as:
454
+
455
+ $$
456
+ \hat {\mathcal {L}} _ {\text {c o n s i s t}} = \sum_ {\boldsymbol {r} \in \mathcal {R}} \left(\bar {M} _ {t} (\boldsymbol {r}) \left| \left| \hat {C} _ {t} (\boldsymbol {r}) - \hat {C} _ {s} (\boldsymbol {r}) \right| \right| _ {2} ^ {2}\right). \tag {9}
457
+ $$
458
+
459
+ The visual results demonstrate that mistakenly treating backgrounds as a part of foreground objects leads to significant floating.
460
+
461
+ ![](images/26d181d8fbe7a44d97a9491ae21b27b7ec883aa36027e959e7abad8b705eadd3.jpg)
462
+ Figure 15: Mistakenly restricting background content as foreground leads to significant floating in editing result.
463
+
464
+ # C.2 MORE PROGRESSIVE EDITING PROCESS
465
+
466
+ We here provide more progressive editing results for correctly creating 3D content for prompts with complex semantics in Fig. 16. More qualitative results with various complex prompts further demonstrate the creation precision and diversity of our Progressive3D.
467
+
468
+ # D PRELIMINARY
469
+
470
+ Neural Radiance Field (NeRF) (Mildenhall et al., 2020) uses a multi-layer perception (MLP) to implicitly represent the 3D scene as a continuous volumetric radiance field. Specifically, MLP $\theta$ maps a spatial coordinate and a view direction to a view-independent density $\sigma$ and view-dependent color $c$ . Given the camera ray $r(k) = o + kd$ with camera position $o$ , view direction $d$ and depth $k \in [k_n, k_f]$ , the projected color of $r(k)$ is rendered by sampling $N$ points along the ray:
471
+
472
+ $$
473
+ \hat {\boldsymbol {C}} (\boldsymbol {r}) = \sum_ {i = 1} ^ {N} \Omega_ {i} (1 - \exp (- \rho_ {i} \delta_ {i})) \boldsymbol {c} _ {i}, \tag {10}
474
+ $$
475
+
476
+ where $\rho_{i}$ and $c_{i}$ denote the density and color of $i$ -th sampled point, $\Omega_{i} = \exp \left(-\sum_{j=1}^{i-1} \rho_{j} \delta_{j}\right)$ indicates the accumulated transmittance along the ray, and $\delta_{i}$ is the distance between adjacent points.
477
+
478
+ Diffusion Model (Sohl-Dickstein et al., 2015; Ho et al., 2020) is a generative model which defines a forward process to slowly add random noises to clean data $\pmb{x}_0 \sim p(\pmb{x})$ and a reverse process to generate desired results from random noises $\epsilon \sim \mathcal{N}(\mathbf{0}, \pmb{I})$ within $T$ time-steps:
479
+
480
+ $$
481
+ q \left(\boldsymbol {x} _ {t} \mid \boldsymbol {x} _ {t - 1}\right) = \mathcal {N} \left(\boldsymbol {x} _ {t}; \sqrt {\alpha_ {t}} \boldsymbol {x} _ {t - 1}, (1 - \alpha_ {t}) \boldsymbol {I}\right), \tag {11}
482
+ $$
483
+
484
+ $$
485
+ p _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t - 1} \mid \boldsymbol {x} _ {t}\right) = \mathcal {N} \left(\boldsymbol {x} _ {t - 1}; \boldsymbol {\mu} _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, t\right), \sigma_ {t} ^ {2} \boldsymbol {I}\right), \tag {12}
486
+ $$
487
+
488
+ where $\alpha_{t}$ and $\sigma_{t}$ are calculated by a pre-defined scale factor $\beta_{t}$ , and $\pmb{\mu}_{\theta}(\pmb{x}_t,t)$ is calculated by $\pmb{x}_t$ and the noise $\epsilon_{\theta}(\pmb{x}_t,t)$ predicted by a neural network, which is optimized with prediction loss:
489
+
490
+ $$
491
+ \mathcal {L} = \mathbb {E} _ {\boldsymbol {x} _ {t}, \epsilon , t} [ w (t) | | \epsilon_ {\theta} (\boldsymbol {x} _ {t}, t) - \epsilon | | _ {2} ^ {2} ], \tag {13}
492
+ $$
493
+
494
+ where $w(t)$ is a weighting function that depends on the time-step $t$ . Recently, text-to-image diffusion models achieve impressive success in text-guided image generation by learning $\epsilon_{\theta}(\boldsymbol{x}_t, \boldsymbol{y}, t)$ conditioned by the text prompt $\boldsymbol{y}$ . Furthermore, classifier-free guidance (CFG) (Ho & Salimans, 2022) is widely leveraged to improve the quality of results via a guidance scale parameter $\omega$ :
495
+
496
+ $$
497
+ \hat {\epsilon} _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y}, t\right) = (1 + \omega) \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y}, t\right) - \omega \epsilon_ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, t\right), \tag {14}
498
+ $$
499
+
500
+ Score Distillation Sampling (SDS) is proposed by (Poole et al., 2022) to create 3D contents from given text prompts by distilling 2D images prior from a pre-trained diffusion model to a differentiable 3D representation. Concretely, the image $\pmb{x} = g(\phi)$ is rendered by a differentiable generator $g$ and a representation parameterized by $\phi$ , and the gradient is calculated as:
501
+
502
+ $$
503
+ \nabla_ {\phi} \mathcal {L} _ {\mathrm {S D S}} (\boldsymbol {\theta}, \boldsymbol {x}) = \mathbb {E} _ {t, \epsilon} \left[ w (t) \left(\hat {\epsilon} _ {\boldsymbol {\theta}} \left(\boldsymbol {x} _ {t}, \boldsymbol {y}, t\right) - \epsilon\right) \frac {\partial \boldsymbol {x}}{\partial \phi} \right]. \tag {15}
504
+ $$
505
+
506
+ ![](images/76742b7604a7566360de1b8a99152fdeecbd712a64ab98e2fdff31861f0fad28.jpg)
507
+ Figure 16: More progressive editing results created with our Progressive3D based on DreamTime.
508
+
509
+ Table 4: Detailed prompt list of CSP-100. (Part 1)
510
+
511
+ <table><tr><td>Index</td><td>Prompt</td></tr><tr><td colspan="2">Color (i.e., two interacted objects binding with different colors)</td></tr><tr><td>1</td><td>an orange cat wearing a yellow suit</td></tr><tr><td>2</td><td>an orange cat wearing a green shirt</td></tr><tr><td>3</td><td>an orange cat wearing a red fireman uniform</td></tr><tr><td>4</td><td>a red rose in a pink vase</td></tr><tr><td>5</td><td>a blue peony in a pink vase</td></tr><tr><td>6</td><td>a yellow tulip in a pink vase</td></tr><tr><td>7</td><td>a pair of red sneakers on a blue chair</td></tr><tr><td>8</td><td>a stack of green books on a blue chair</td></tr><tr><td>9</td><td>a purple gift box on a blue chair</td></tr><tr><td>10</td><td>a red cake in a yellow tray</td></tr><tr><td>11</td><td>a blue spoon in a yellow tray</td></tr><tr><td>12</td><td>a pair of green chopsticks in a yellow tray</td></tr><tr><td>13</td><td>a green vase on a red desk</td></tr><tr><td>14</td><td>a pair of blue sneakers on a red desk</td></tr><tr><td>15</td><td>a yellow tray on a red desk</td></tr><tr><td colspan="2">Shape (i.e., two interacted objects binding with different shapes)</td></tr><tr><td>16</td><td>a round gift box on a hexagonal table</td></tr><tr><td>17</td><td>a triangular cake on a hexagonal table</td></tr><tr><td>18</td><td>a square tray on a hexagonal table</td></tr><tr><td>19</td><td>a hexagonal cup on a round cabinet</td></tr><tr><td>20</td><td>a triangular sandwich on a round cabinet</td></tr><tr><td>21</td><td>a square bowl on a round cabinet</td></tr><tr><td>22</td><td>a hexagonal cup on a star-shaped tray</td></tr><tr><td>23</td><td>a triangular cake on a star-shaped tray</td></tr><tr><td>24</td><td>a square pepper on a star-shaped tray</td></tr><tr><td>25</td><td>a model of a round house with a hexagonal roof</td></tr><tr><td>26</td><td>a model of a round house with a square roof</td></tr><tr><td>27</td><td>a model of a round house with a spherical roof</td></tr><tr><td colspan="2">Material (i.e., two interacted objects binding with different materials)</td></tr><tr><td>28</td><td>a lego man riding a golden motorcycle</td></tr><tr><td>29</td><td>a silver bunny riding a golden motorcycle</td></tr><tr><td>30</td><td>a wooden dog riding a golden motorcycle</td></tr><tr><td>31</td><td>a lego man driving an origami sport car</td></tr><tr><td>32</td><td>a metal monkey driving an origami sport car</td></tr><tr><td>33</td><td>a wooden dog driving an origami sport car</td></tr><tr><td>34</td><td>a ceramic tea pot on a golden table</td></tr><tr><td>35</td><td>a silver vase on a golden table</td></tr><tr><td>36</td><td>an origami box on a golden table</td></tr><tr><td>37</td><td>a model of a silver house with a golden roof</td></tr><tr><td>38</td><td>a model of a silver house with a wooden roof</td></tr><tr><td>39</td><td>a model of a silver house with a bronze roof</td></tr><tr><td>40</td><td>a lego tank with a golden gun</td></tr><tr><td>41</td><td>a lego tank with a silver gun</td></tr><tr><td>42</td><td>a lego tank with a wooden gun</td></tr><tr><td colspan="2">Composition (i.e., more than two interacted objects binding with different attributes)</td></tr><tr><td>43</td><td>an orange cat wearing a yellow suit and green sneakers</td></tr><tr><td>44</td><td>an orange cat wearing a yellow suit and red pumps</td></tr><tr><td>45</td><td>an orange cat wearing a yellow suit and cyan boots</td></tr><tr><td>46</td><td>an orange cat wearing a yellow suit and green sneakers and cyan top hat</td></tr><tr><td>47</td><td>an orange cat wearing a yellow suit and green sneakers and pink cap</td></tr><tr><td>48</td><td>an orange cat wearing a yellow suit and green sneakers and red chef&#x27;s hat</td></tr><tr><td>49</td><td>a blue peony and a yellow tulip in a pink vase</td></tr><tr><td>50</td><td>a red rose and a yellow tulip in a pink vase</td></tr></table>
512
+
513
+ Table 5: Detailed prompt list of CSP-100. (Part 2)
514
+
515
+ <table><tr><td>Index</td><td>Prompt</td></tr><tr><td>51</td><td>a white tulip and a yellow tulip in a pink vase</td></tr><tr><td>52</td><td>a purple rose and a red rose and a yellow tulip in a pink vase</td></tr><tr><td>53</td><td>a blue peony and a red rose and a yellow tulip in a pink vase</td></tr><tr><td>54</td><td>a white tulip and a red rose and a yellow tulip in a pink vase</td></tr><tr><td>55</td><td>a golden cat on a stack of green books on a blue chair</td></tr><tr><td>56</td><td>a wooden bird on a stack of green books on a blue chair</td></tr><tr><td>57</td><td>a lego car on a stack of green books on a blue chair</td></tr><tr><td>58</td><td>a blue candle on a red cake in a yellow tray</td></tr><tr><td>59</td><td>a green spoon on a red cake in a yellow tray</td></tr><tr><td>60</td><td>a pair of cyan chopsticks on a red cake in a yellow tray</td></tr><tr><td>61</td><td>a cyan cake on a yellow tray on a red desk</td></tr><tr><td>62</td><td>a ceramic tea pot on a yellow tray on a red desk</td></tr><tr><td>63</td><td>a green apple on a yellow tray on a red desk</td></tr><tr><td>64</td><td>a square cake on a square tray on a hexagonal table</td></tr><tr><td>65</td><td>a round cake on a square tray on a hexagonal table</td></tr><tr><td>66</td><td>a triangular sandwich on a square tray on a hexagonal table</td></tr><tr><td>67</td><td>a green apple in a hexagonal cup on a round cabinet</td></tr><tr><td>68</td><td>a pink peach in a hexagonal cup on a round cabinet</td></tr><tr><td>69</td><td>a yellow pineapple in a hexagonal cup on a round cabinet</td></tr><tr><td>70</td><td>a red rose in a hexagonal cup on a star-shaped tray</td></tr><tr><td>71</td><td>a white lily in a hexagonal cup on a star-shaped tray</td></tr><tr><td>72</td><td>a green cactus in a hexagonal cup on a star-shaped tray</td></tr><tr><td>73</td><td>a lego man wearing a chef&#x27;s hat and riding a golden motorcycle</td></tr><tr><td>74</td><td>a lego man wearing a wooden top hat and riding a golden motorcycle</td></tr><tr><td>75</td><td>a lego man wearing a silver crown and riding a golden motorcycle</td></tr><tr><td>76</td><td>a metal monkey wearing a golden crown and driving an origami sport car</td></tr><tr><td>77</td><td>a metal monkey wearing a chef&#x27;s hat and driving an origami sport car</td></tr><tr><td>78</td><td>a metal monkey wearing a wooden top hat and driving an origami sport car</td></tr><tr><td>79</td><td>a ceramic tea pot and a lego car on a golden table</td></tr><tr><td>80</td><td>a ceramic tea pot and an origami box on a golden table</td></tr><tr><td>81</td><td>a ceramic tea pot and a cardboard box on a golden table</td></tr><tr><td>82</td><td>a ceramic tea pot and a pair of wooden shoes on a golden table</td></tr><tr><td>83</td><td>a ceramic tea pot and an origami box and a green apple on a golden table</td></tr><tr><td>84</td><td>a ceramic tea pot and an origami box and a yellow tray on a golden table</td></tr><tr><td>85</td><td>a ceramic tea pot and an origami box and a stack of blue books on a golden table</td></tr><tr><td>86</td><td>a model of a silver house with a golden roof beside an origami coconut tree</td></tr><tr><td>87</td><td>a model of a silver house with a golden roof beside a wooden car</td></tr><tr><td>88</td><td>a model of a silver house with a golden roof beside a lego man</td></tr><tr><td>89</td><td>a lego tank with a golden gun and a red flying flag</td></tr><tr><td>90</td><td>a lego tank with a golden gun and a blue flying flag</td></tr><tr><td>91</td><td>a lego tank with a golden gun and a yellow flying flag</td></tr><tr><td>92</td><td>a model of a round house with a spherical roof on a hexagonal park</td></tr><tr><td>93</td><td>a model of a round house with a spherical roof on a square park</td></tr><tr><td>94</td><td>a model of a round house with a spherical roof on an oval park</td></tr><tr><td>95</td><td>an astronaut holding a red rifle and riding a green origami motorcycle</td></tr><tr><td>96</td><td>an astronaut holding a red rifle and riding a cyan scooter</td></tr><tr><td>97</td><td>an astronaut holding a red rifle and riding a golden motorcycle</td></tr><tr><td>98</td><td>an astronaut holding a red rifle and riding a green origami motorcycle and wearing a blue top hat</td></tr><tr><td>99</td><td>an astronaut holding a red rifle and riding a green origami motorcycle and wearing a cyan chef&#x27;s hat</td></tr><tr><td>100</td><td>an astronaut holding a red rifle and riding a green origami motorcycle and wearing a pink cowboy hat</td></tr></table>
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed6b3bb7e9450d9ec7652312d92fd28b72a5251ccfdf1055eb5053ea1fa191c2
3
+ size 1662746
2024/Progressive3D_ Progressively Local Editing for Text-to-3D Content Creation with Complex Semantic Prompts/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/05c3ed31-0e46-442f-9563-5e123ba2c8d3_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7674b562ef92cbfdc5fd97ad23124672c2801b28a6a96848b52d664e11d3f6
3
+ size 11389737
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58b1481e6865899ee4c1ed2a837774080c663e2e62e12f74dede9b20e4d4d8ee
3
+ size 1119558
2024/Prometheus_ Inducing Fine-Grained Evaluation Capability in Language Models/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Prompt Learning with Quaternion Networks/b7294ab8-295c-4a01-86ce-b796789b6470_content_list.json ADDED
@@ -0,0 +1,1388 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "PROMPT LEARNING WITH QUATERNION NETWORKS",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 171,
8
+ 99,
9
+ 802,
10
+ 122
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Boya Shi $^{1,2}$ , Zhengqin Xu $^{1}$ , Shuai Jia $^{1}$ , Chao Ma $^{1*}$",
17
+ "bbox": [
18
+ 181,
19
+ 147,
20
+ 535,
21
+ 162
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "list",
27
+ "sub_type": "text",
28
+ "list_items": [
29
+ "<sup>1</sup> MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University",
30
+ "$^{2}$ National Innovation Institute of Defense Technology"
31
+ ],
32
+ "bbox": [
33
+ 183,
34
+ 162,
35
+ 741,
36
+ 191
37
+ ],
38
+ "page_idx": 0
39
+ },
40
+ {
41
+ "type": "text",
42
+ "text": "{boya.shi, fate311, jiashuai, chaoma}@sjtu.edu.cn",
43
+ "bbox": [
44
+ 183,
45
+ 193,
46
+ 552,
47
+ 205
48
+ ],
49
+ "page_idx": 0
50
+ },
51
+ {
52
+ "type": "text",
53
+ "text": "ABSTRACT",
54
+ "text_level": 1,
55
+ "bbox": [
56
+ 450,
57
+ 243,
58
+ 545,
59
+ 257
60
+ ],
61
+ "page_idx": 0
62
+ },
63
+ {
64
+ "type": "text",
65
+ "text": "Multimodal pre-trained models have shown impressive potential in enhancing performance on downstream tasks. However, existing multimodality fusion strategies primarily rely on explicit interaction structures that fail to capture the diverse aspects and patterns inherent in input data. This yields limited performance in zero-shot contexts, especially when fine-grained classifications and abstract interpretations are required. To address this issue, we propose an effective approach, namely Prompt Learning with Quaternion Networks (QNet), for semantic alignment across diverse modalities. QNet employs a quaternion hidden space where the mutually orthogonal imaginary axes capture rich intermodal semantic spatial correlations from various perspectives. Hierarchical features across multilayers are utilized to encode intricate interdependencies within various modalities with a reduced number of parameters. Our experiments on 11 datasets demonstrate that QNet outperforms state-of-the-art prompt learning techniques in base-to-novel generalization, cross-dataset transfer, and domain transfer scenarios with fewer learnable parameters. The source code is available at https://github.com/SHIBOYA/QNet.",
66
+ "bbox": [
67
+ 228,
68
+ 273,
69
+ 769,
70
+ 483
71
+ ],
72
+ "page_idx": 0
73
+ },
74
+ {
75
+ "type": "text",
76
+ "text": "1 INTRODUCTION",
77
+ "text_level": 1,
78
+ "bbox": [
79
+ 173,
80
+ 508,
81
+ 336,
82
+ 523
83
+ ],
84
+ "page_idx": 0
85
+ },
86
+ {
87
+ "type": "text",
88
+ "text": "Large-scale multimodal pre-trained models, such as ChatGPT (Radford et al., 2019) and its successor ChatGPT-4 (OpenAI, 2023), have recently shown great promise in the pursuit of general artificial intelligence. These models can facilitate various downstream tasks using prompts, which tap into the intrinsic knowledge embedded within them (Jin et al., 2021; Yao et al., 2021; Ding et al., 2022; Lüddecke & Ecker, 2022). However, it is still challenging for multimodal pre-trained models like CLIP (Radford et al., 2021) to handle more abstract tasks such as sketch recognition. This implies that existing pre-trained models rely heavily on homogeneous representation present in the training data for image classification, and are not effective in capturing the diverse and complementary features across different modalities. Therefore, it is of great importance to improve the modality fusion capabilities of pre-trained models within zero-shot settings, which is a significant and challenging task (Lu et al., 2022; Huang et al., 2022; Manli et al., 2022).",
89
+ "bbox": [
90
+ 169,
91
+ 539,
92
+ 826,
93
+ 694
94
+ ],
95
+ "page_idx": 0
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "CoOp (Zhou et al., 2022b) is a technique that incorporates continuous prompt variables to improve the performance of CLIP in observable categories. Co-CoOp (Zhou et al., 2022a) introduces conditional prompt learning to enhance the generalization capability of CLIP in non-observable categories, enabling it to better acquire image features. While MaPLe (Khattak et al., 2022) is another method that enhances the collaboration between images and text through mapping, its linear connections assume a linear relationship among different modalities, which may not always hold true, potentially leading to interference between varying semantic spaces. Cross-attention mechanisms, which use non-linear fusion layers to merge features from diverse semantic spaces, may not effectively integrate complementary knowledge across modalities. As a result, both linear connections and other auxiliary networks struggle with homogeneous representations, making it difficult to capture distinct aspects or patterns within the data. To overcome this challenge, a fusion strategy should be formulated that can encapsulate the inherent intricacies in the relationships among diverse modalities.",
100
+ "bbox": [
101
+ 169,
102
+ 699,
103
+ 826,
104
+ 867
105
+ ],
106
+ "page_idx": 0
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "Quaternion (Parcollet et al., 2018) is a method for representing high-dimensional data that offers unique perspectives on input features through its mutually orthogonal imaginary axes. By utilizing",
111
+ "bbox": [
112
+ 169,
113
+ 873,
114
+ 823,
115
+ 902
116
+ ],
117
+ "page_idx": 0
118
+ },
119
+ {
120
+ "type": "header",
121
+ "text": "Published as a conference paper at ICLR 2024",
122
+ "bbox": [
123
+ 171,
124
+ 32,
125
+ 478,
126
+ 47
127
+ ],
128
+ "page_idx": 0
129
+ },
130
+ {
131
+ "type": "page_footnote",
132
+ "text": "$^{*}$ C. Ma is the corresponding author.",
133
+ "bbox": [
134
+ 189,
135
+ 909,
136
+ 406,
137
+ 922
138
+ ],
139
+ "page_idx": 0
140
+ },
141
+ {
142
+ "type": "page_number",
143
+ "text": "1",
144
+ "bbox": [
145
+ 493,
146
+ 948,
147
+ 503,
148
+ 959
149
+ ],
150
+ "page_idx": 0
151
+ },
152
+ {
153
+ "type": "image",
154
+ "img_path": "images/fbb582f30b6faf0495d73685da9ca562bb2f2bb0ed8a40795194f83a93bff6a1.jpg",
155
+ "image_caption": [
156
+ "Figure 1: (a) The quaternion encoder layer effectively incorporates multimodal features into the quaternion hidden space, utilizing three orthogonal imaginary axes to disentangle complex interrelationships among modalities. The k-axis plays a crucial role in balancing modalities' contributions, resulting in optimal performance. (b) Our QNet has achieved exceptional results in the novel class generalization task, outperforming other models on 11 datasets based on the harmonic mean (HM)."
157
+ ],
158
+ "image_footnote": [],
159
+ "bbox": [
160
+ 181,
161
+ 97,
162
+ 816,
163
+ 281
164
+ ],
165
+ "page_idx": 1
166
+ },
167
+ {
168
+ "type": "text",
169
+ "text": "the inherent orthogonal relationship among the imaginary axes within the quaternion hidden space, correlations among diverse modal features can be established, which enables a more comprehensive representation within the shared semantic space. To this end, we propose Prompt Learning with Quaternion Networks (QNet) to better fuse the features among diverse modalities. In the quaternion hidden space, the three mutually orthogonal imaginary axes, namely $i$ , $j$ , and $k$ , allocate unique weights to various distribution features from diverse perspectives, as demonstrated in Figure 1(a). By leveraging this fused feature representation, we can directly construct prompts for both visual and textual domains, which effectively circumvents the necessity of crafting explicit interaction architectures for modality fusion. In zero-shot scenarios, the strategic incorporation of QNet at the input stage of CLIP significantly outperforms Co-CoOp, yielding an absolute enhancement exceeding $10\\%$ on novel class datasets such as EuroSAT (Helber et al., 2019) and FGVC-Aircraft (Maji et al., 2013). Furthermore, our proposed method facilitates a deeper fusion of features originating from hierarchical levels with fewer trainable parameters (i.e., 2.93M) than MaPLe (i.e., 3.56M), thereby surpassing existing multimodal models across 11 datasets, as shown in Figure 1(b). In summary, we make the following contributions:",
170
+ "bbox": [
171
+ 169,
172
+ 381,
173
+ 826,
174
+ 589
175
+ ],
176
+ "page_idx": 1
177
+ },
178
+ {
179
+ "type": "list",
180
+ "sub_type": "text",
181
+ "list_items": [
182
+ "- We develop a novel approach to model complex relationships between different modalities in multimodal pre-trained models, even in situations where no data is available for training. Our method incorporates quaternion networks to fuse modalities more effectively than traditional methods. We first use quaternion networks in multimodal prompt learning.",
183
+ "- We use the mutually orthogonal multiple imaginary axes of quaternions to effectively disentangle complex feature distributions of different modalities in the latent feature space. Our proposed QNet is versatile and can be used for other multimodal fusion tasks, as it encapsulates interdependent relationships within features using compact parameters.",
184
+ "- To enhance the feature fusion potential of QNet, we utilize quaternion networks to combine features from different hierarchical levels. Extensive experiments on several datasets show that our approach consistently outperforms other multimodal models by a significant margin."
185
+ ],
186
+ "bbox": [
187
+ 215,
188
+ 594,
189
+ 823,
190
+ 753
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "2 RELATED WORK",
197
+ "text_level": 1,
198
+ "bbox": [
199
+ 171,
200
+ 771,
201
+ 346,
202
+ 787
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "text",
208
+ "text": "Vision language models. Multimodal fusion approaches heavily rely on the availability of large-scale multimodal datasets (Li et al., 2020; 2021; Jia et al., 2021; Zhai et al., 2022). For instance, CLIP (Radford et al., 2021) makes use of 400 million image-text pairs in its training process to achieve remarkable performance. However, utilizing these pre-trained models for downstream tasks with limited data (Gao et al., 2021; Zhang et al., 2022; Kim et al., 2022; Rasheed et al., 2022) remains a significant challenge in the field of multimodal data analysis, especially in terms of exploring the correlations between images and text (Maaz et al., 2022; Gu et al., 2021; Zang et al., 2022; Feng et al., 2022). Although ALBEF (Li et al., 2021) has made substantial progress in integrating image and text modalities through a six-layer transformer architecture, the issue of homogeneous representation",
209
+ "bbox": [
210
+ 169,
211
+ 797,
212
+ 826,
213
+ 924
214
+ ],
215
+ "page_idx": 1
216
+ },
217
+ {
218
+ "type": "header",
219
+ "text": "Published as a conference paper at ICLR 2024",
220
+ "bbox": [
221
+ 173,
222
+ 32,
223
+ 478,
224
+ 47
225
+ ],
226
+ "page_idx": 1
227
+ },
228
+ {
229
+ "type": "page_number",
230
+ "text": "2",
231
+ "bbox": [
232
+ 493,
233
+ 948,
234
+ 503,
235
+ 959
236
+ ],
237
+ "page_idx": 1
238
+ },
239
+ {
240
+ "type": "text",
241
+ "text": "persists, making it difficult to capture distinct aspects or patterns within the data. In this work, we propose a novel image and text fusion architecture based on quaternion networks (Parcollet et al., 2018), which unravels the complex relationships between different modal distributions, with the aim of providing a more efficient approach to multimodal feature fusion.",
242
+ "bbox": [
243
+ 169,
244
+ 103,
245
+ 826,
246
+ 160
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "Prompt learning. Advances in natural language processing (NLP) (Li & Liang, 2021; Lester et al., 2021; Liu et al., 2021) have expanded the use of prompts to computer vision tasks (Jia et al., 2022; Wang et al., 2022b;a). This has brought about new techniques such as CoOp (Zhou et al., 2022b), which utilizes continuous vectors to enhance performance on previously unseen classes by implementing instance-level prompts. Another technique, MaPLe (Khattak et al., 2022), intensifies modality interactions by mapping text prompts to image prompts, but struggles to create diverse prompts and convey semantic information through different modal features. Our proposed method leverages quaternions with mutually orthogonal imaginary axes to calculate the weights of multimodal fusion features from various perspectives, effectively separating the complex distributions among different modal features and facilitating the integration of complementary information within the latent space. This novel modality fusion strategy represents a significant contribution to existing research on multimodal learning.",
253
+ "bbox": [
254
+ 169,
255
+ 166,
256
+ 826,
257
+ 335
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "Zero-shot learning. Zero-shot learning is a powerful technique that enables pre-trained models to recognize new categories. To achieve this, auxiliary information such as attributes or word embeddings (Chao et al., 2016; Wang et al., 2019b; Xian et al., 2017; Yi et al., 2022) is provided to the models. Research indicates that prompts can activate multimodal knowledge within pre-trained models, boosting their performance in zero-shot scenarios. For example, DALLE (Reddy et al., 2021) is a model that generates multimodal images using prompts and a conditional decoder, showing impressive results in zero-shot generation. Another model, CaFo (Zhang et al., 2023), uses multiple image-text contrastive loss functions to align image and text features through a collaborative training process. However, our research delves into a more fundamental question: can we acquire features that contain even richer multimodal knowledge to facilitate diverse downstream tasks for pre-trained multimodal models? Inspired by the quaternion network (Parcollet et al., 2018), we develop more efficient data structures that facilitate prompt learning and the acquisition of fruitful multimodal fusion features. This enhancement significantly improves the pre-trained models' capability to process and predict accurately across diverse and large-scale data distributions.",
264
+ "bbox": [
265
+ 169,
266
+ 340,
267
+ 826,
268
+ 537
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "3 METHODOLOGY",
275
+ "text_level": 1,
276
+ "bbox": [
277
+ 171,
278
+ 555,
279
+ 344,
280
+ 570
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "3.1 MOTIVATION",
287
+ "text_level": 1,
288
+ "bbox": [
289
+ 171,
290
+ 582,
291
+ 307,
292
+ 595
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "Deep learning models face significant challenges in representing images as arrays of pixels, which is due to the complex task of accurately encoding dependencies among internal features within high-dimensional data spaces. The challenges are further compounded in multimodal scenarios where multiple modalities, such as text, audio, and images, need to be aligned and jointly processed. The intricate distributions of these modalities can interfere with each other, making it difficult to extract essential features. Prevailing methods for image-text scenarios often rely on sophisticated structures to align visual and textual content, which results in additional network parameters. These approaches contradict the objective of enhancing the performance of multimodal pre-trained models within zero-shot settings.",
299
+ "bbox": [
300
+ 169,
301
+ 603,
302
+ 826,
303
+ 729
304
+ ],
305
+ "page_idx": 2
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "On the other hand, the elegant algebraic representation of quaternion offers a natural solution to these challenges. It can encode the dependencies between features and internal characteristics while reducing parameters. The three imaginary axes in the quaternion space provide three distinct perspectives for decoupling the intricate distributions of various modalities, effectively resolving the issue of homogeneous representations that fail to capture disparate aspects or patterns within the data.",
310
+ "bbox": [
311
+ 169,
312
+ 734,
313
+ 826,
314
+ 806
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "Our QNet is inspired by the concept of quaternion, by which we utilize fewer parameters to capture the interdependence of multimodal features, achieving prompt learning efficiency. Our method seamlessly integrates with multimodal models and outperforms the existing MaPLe (Khattak et al., 2022) method on multiple datasets with merely one prompt layer. We further observe that adding more prompt layers improves the performance of quaternion networks. Additionally, we have incorporated quaternion networks into various layers of pre-trained models to leverage their potential in feature fusion. This incorporation allows for a more profound fusion of features across multiple modalities and hierarchical levels, while using fewer learnable parameters.",
321
+ "bbox": [
322
+ 169,
323
+ 811,
324
+ 826,
325
+ 925
326
+ ],
327
+ "page_idx": 2
328
+ },
329
+ {
330
+ "type": "header",
331
+ "text": "Published as a conference paper at ICLR 2024",
332
+ "bbox": [
333
+ 171,
334
+ 32,
335
+ 478,
336
+ 47
337
+ ],
338
+ "page_idx": 2
339
+ },
340
+ {
341
+ "type": "page_number",
342
+ "text": "3",
343
+ "bbox": [
344
+ 493,
345
+ 948,
346
+ 504,
347
+ 959
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "image",
353
+ "img_path": "images/aaa5a1571a206e5a4ab6a517c8d6024334bf74b8c9f40227d859e9396aefb458.jpg",
354
+ "image_caption": [
355
+ "Figure 2: Overview of prompt learning with quaternion networks (QNet). The proposed QNet framework involves a sophisticated process that effectively transforms image features in purple through Meta-Proj. The transformed features are then combined with textual context tokens in yellow and subsequently encoded using the quaternion encoder layer. The yielded multimodal feature in green facilitates visual and textual prompts in a seamless and efficient manner without requiring explicit interaction mechanisms."
356
+ ],
357
+ "image_footnote": [],
358
+ "bbox": [
359
+ 235,
360
+ 101,
361
+ 759,
362
+ 340
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "3.2 PROMPT LEARNING WITH QUATERNION NETWORKS",
369
+ "text_level": 1,
370
+ "bbox": [
371
+ 171,
372
+ 452,
373
+ 578,
374
+ 465
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "Our paper presents a ground-breaking technique called Prompt Learning with Quaternion Networks (QNet), which enables more effective encoding of multimodal features with fewer parameters. As shown in Figure 2, our method involves combining the output image features from a pre-trained model with the text context features. The combined features are then fed into the quaternion encoder, which generates a quaternion representation. The quaternion hidden space employs three mutually orthogonal imaginary axes to capture complementary information from various modalities, providing a more nuanced view of the interdependencies among different features. To ensure effective fusion of disparate modalities, our model employs multiple layers that facilitate the integration of hierarchical features inherent to different modalities. Finally, the fused features are used to create image and text prompts, which are subsequently fine-tuned for downstream tasks using QNet.",
381
+ "bbox": [
382
+ 169,
383
+ 473,
384
+ 826,
385
+ 613
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "3.2.1 QUATERNION REPRESENTATION OF MULTIMODAL FEATURES",
392
+ "text_level": 1,
393
+ "bbox": [
394
+ 171,
395
+ 628,
396
+ 653,
397
+ 643
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "A multimodal feature expressed by quaternion can be defined as $\\mathrm{Q_f}$ , which is in a four-dimensional space known as the quaternion algebra $\\mathbb{H}$ :",
404
+ "bbox": [
405
+ 169,
406
+ 648,
407
+ 823,
408
+ 676
409
+ ],
410
+ "page_idx": 3
411
+ },
412
+ {
413
+ "type": "equation",
414
+ "text": "\n$$\n\\mathrm {Q} _ {\\mathrm {f}} = r 1 + x \\mathbf {i} + y \\mathbf {j} + z \\mathbf {k} \\tag {1}\n$$\n",
415
+ "text_format": "latex",
416
+ "bbox": [
417
+ 413,
418
+ 685,
419
+ 825,
420
+ 700
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "where $r, x, y$ and $z$ are real numbers, and 1, i, j and k are the quaternion unit basis. Our QNet uses quaternion-valued operations in each learning sub-process, unlike conventional fully-connected layers that use real-valued operations. The QNet transforms the input features into hypercomplex numbers. A quaternion dense layer operates on quaternions for all parameters, including inputs, outputs, weights, and biases. The quaternion algebra is maintained by manipulating real matrices (Gaudet & Maida, 2018).",
427
+ "bbox": [
428
+ 169,
429
+ 708,
430
+ 826,
431
+ 792
432
+ ],
433
+ "page_idx": 3
434
+ },
435
+ {
436
+ "type": "text",
437
+ "text": "When utilizing CLIP's multimodal pre-trained model in the zero-shot setting, the combination of visual and textual knowledge proves to be complementary. To determine the weights of various modal distributions, the $i$ -axis and $j$ -axis are employed, while the $k$ -axis weight is maintained to balance the relationship between the two modalities. Each input vector of size $K$ and output vector of size $V$ is divided into two parts: $x_{i}$ for the first imaginary part and $y_{j}$ for the second imaginary part, resulting in a quaternion $\\bar{\\mathbf{Q}} = x_{i} + y_{j}$ . It is worth noting that, despite not assigning a value to the $k$ -axis, we still uphold its weight throughout the quaternion algebra. The $k$ -axis acts as a balancing axis that dynamically balances the weights of the $i$ -axis and $j$ -axis. Meanwhile, in a real-valued space, a fully-connected layer performs a real-valued dot product between an input vector and a real-valued",
438
+ "bbox": [
439
+ 169,
440
+ 797,
441
+ 826,
442
+ 925
443
+ ],
444
+ "page_idx": 3
445
+ },
446
+ {
447
+ "type": "header",
448
+ "text": "Published as a conference paper at ICLR 2024",
449
+ "bbox": [
450
+ 173,
451
+ 32,
452
+ 478,
453
+ 47
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "page_number",
459
+ "text": "4",
460
+ "bbox": [
461
+ 493,
462
+ 948,
463
+ 503,
464
+ 959
465
+ ],
466
+ "page_idx": 3
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "$K \\times V$ weight matrix. In QNet, this function is substituted with a quaternion-valued dot product that employs quaternion-valued matrices.",
471
+ "bbox": [
472
+ 169,
473
+ 103,
474
+ 823,
475
+ 132
476
+ ],
477
+ "page_idx": 4
478
+ },
479
+ {
480
+ "type": "text",
481
+ "text": "3.2.2 MULTIMODAL FUSION FEATURES",
482
+ "text_level": 1,
483
+ "bbox": [
484
+ 171,
485
+ 147,
486
+ 462,
487
+ 161
488
+ ],
489
+ "page_idx": 4
490
+ },
491
+ {
492
+ "type": "text",
493
+ "text": "In this section, we will explain how we combine features from different modalities in the zero-shot learning setting. Drawing on insights from multimodal pre-trained models, including Oscar (Li et al., 2020) and ALBEF (Li et al., 2021), our analysis reveals a pronounced emphasis on visual features for the effective fusion of images and text. To get the most representative visual features, we use the final output of the vision branch of the multimodal pre-trained model. Co-CoOp also shows that these visual features can improve the generalization performance of the model. When it comes to the text features, we choose context tokens in zero-shot contexts. The rationale is that continuous vectors as prompts can encode text context information more efficiently with fewer parameters.",
494
+ "bbox": [
495
+ 169,
496
+ 166,
497
+ 826,
498
+ 279
499
+ ],
500
+ "page_idx": 4
501
+ },
502
+ {
503
+ "type": "text",
504
+ "text": "To ensure optimal exploitation of information from both models, we initially amalgamate the Meta-Image, $F_{image}$ derived post-dimension transformation via Meta-Proj—with the context tokens, $F_{text}$ . This combination yields a rudimentary multimodal feature, denoted as $F_{multi}$ :",
505
+ "bbox": [
506
+ 169,
507
+ 285,
508
+ 826,
509
+ 329
510
+ ],
511
+ "page_idx": 4
512
+ },
513
+ {
514
+ "type": "equation",
515
+ "text": "\n$$\nF _ {\\text {m u l t i}} = F _ {\\text {i m a g e}} + F _ {\\text {t e x t}}. \\tag {2}\n$$\n",
516
+ "text_format": "latex",
517
+ "bbox": [
518
+ 408,
519
+ 334,
520
+ 825,
521
+ 349
522
+ ],
523
+ "page_idx": 4
524
+ },
525
+ {
526
+ "type": "text",
527
+ "text": "Then, we send this multimodal feature $F_{multi}$ into the Quaternion Encoder layer $Q_{ua}(\\cdot)$ , projecting the input features to the quaternion hidden space.",
528
+ "bbox": [
529
+ 169,
530
+ 356,
531
+ 823,
532
+ 386
533
+ ],
534
+ "page_idx": 4
535
+ },
536
+ {
537
+ "type": "equation",
538
+ "text": "\n$$\nQ _ {\\text {m u l t i}} = Q _ {\\text {u a}} \\left(F _ {\\text {m u l t i}}\\right). \\tag {3}\n$$\n",
539
+ "text_format": "latex",
540
+ "bbox": [
541
+ 415,
542
+ 391,
543
+ 825,
544
+ 407
545
+ ],
546
+ "page_idx": 4
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "Within the quaternion latent space, we assign distinct weights to the complex distribution between various modalities by selecting the $i$ -axis and $j$ -axis (among the four axes of $r$ , $i$ , $j$ , and $k$ , the $r$ -axis predominantly serves as the energy axis, as real numbers multiplied by imaginary numbers still yield imaginary numbers). Simultaneously, we employ the imaginary $k$ -axis as a balancing axis. This strategy effectively prevents scenarios where one modality distribution weight becomes excessively large, consequently overshadowing other modality information. For unseen classes, fine-grained features are particularly important, and the lack of these features leads to incorrect classification results. How to effectively fuse this fine-grained knowledge between different modalities becomes the key to improving CLIP in zero-shot scenarios. Based on this analysis, we initialize a quaternion-valued weight matrix $W$ utilizing the polar form of each weight $w$ :",
551
+ "bbox": [
552
+ 169,
553
+ 412,
554
+ 826,
555
+ 551
556
+ ],
557
+ "page_idx": 4
558
+ },
559
+ {
560
+ "type": "equation",
561
+ "text": "\n$$\n\\begin{array}{l} w = | w | e ^ {q _ {m u l t i} ^ {\\triangleleft}} = \\varphi q _ {m u l t i} ^ {\\triangleleft}, \\\\ \\text {a n d} w _ {\\mathbf {i}} = \\varphi q _ {\\text {m u l t i i}} ^ {\\triangleleft}, w _ {\\mathbf {j}} = \\varphi q _ {\\text {m u l t i j}} ^ {\\triangleleft}, w _ {\\mathbf {k}} = \\varphi q _ {\\text {m u l t i k}} ^ {\\triangleleft}. \\\\ \\end{array}\n$$\n",
562
+ "text_format": "latex",
563
+ "bbox": [
564
+ 321,
565
+ 559,
566
+ 673,
567
+ 595
568
+ ],
569
+ "page_idx": 4
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "We use the well-known initialization criteria in (Glorot & Bengio, 2010) and (He et al., 2015) to obtain $\\varphi$ . $q_{multi}^{\\triangleleft}$ is a normalized pure imaginary quaternion $q_{multi}^{\\triangleleft} = 0 + x\\mathbf{i} + y\\mathbf{j} + z\\mathbf{k}$ , where $x\\mathbf{i}$ , $y\\mathbf{j}$ , and $z\\mathbf{k}$ are uniformly sampled from $[0,1]$ and then normalized. Detailed information about quaternion parameter initialization can be found in Appendix. Although the $k$ -axis does not serve as the parameter axis in QNet, its weights contribute to the updating process of the weights associated with the $i$ -axis and $j$ -axis, as depicted in Figure 1(a). After passing through the quaternion hidden space, we obtain the final fused feature $Q_{multi}$ . This feature preserves the multimodal information to the greatest extent and captures the complementary modality relationships through different imaginary axes of the quaternion:",
574
+ "bbox": [
575
+ 169,
576
+ 609,
577
+ 826,
578
+ 733
579
+ ],
580
+ "page_idx": 4
581
+ },
582
+ {
583
+ "type": "equation",
584
+ "text": "\n$$\nQ _ {f u s i o n} = \\left[ w _ {i}, w _ {j} \\right] Q _ {m u t i l}, \\tag {5}\n$$\n",
585
+ "text_format": "latex",
586
+ "bbox": [
587
+ 405,
588
+ 741,
589
+ 825,
590
+ 757
591
+ ],
592
+ "page_idx": 4
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "where $[\\cdot, \\cdot]$ denotes the concatenation of $w_{i}$ and $w_{j}$ .",
597
+ "bbox": [
598
+ 169,
599
+ 762,
600
+ 516,
601
+ 777
602
+ ],
603
+ "page_idx": 4
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "3.2.3 VISION PROMPTING",
608
+ "text_level": 1,
609
+ "bbox": [
610
+ 171,
611
+ 792,
612
+ 370,
613
+ 806
614
+ ],
615
+ "page_idx": 4
616
+ },
617
+ {
618
+ "type": "text",
619
+ "text": "Since multimodal feature $Q_{fusion}$ already contains rich image-text abstraction, we do not adopt any other complex structures to construct visual prompts. After performing a simple dimension change on $Q_{fusion}$ , we directly concatenate it as a visual prompt to the visual transformer layer.",
620
+ "bbox": [
621
+ 169,
622
+ 811,
623
+ 823,
624
+ 856
625
+ ],
626
+ "page_idx": 4
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "We define $M$ as a set of context vectors that can be learned. Then, we can obtain a set of learnable tokens, which have the same dimensionality as the word embeddings. For each layer $i$ , we construct a prompt for the image branch: $m_i = \\left\\{\\hat{Q}_{fusion}^1,\\hat{Q}_{fusion}^2,\\dots ,\\hat{Q}_{fusion}^M\\right\\}$ . As a concatenation of the image context vectors and the multimodal features $Q_{fusion}$ , the vision prompt for the $i$ -th class of",
631
+ "bbox": [
632
+ 169,
633
+ 861,
634
+ 826,
635
+ 925
636
+ ],
637
+ "page_idx": 4
638
+ },
639
+ {
640
+ "type": "header",
641
+ "text": "Published as a conference paper at ICLR 2024",
642
+ "bbox": [
643
+ 171,
644
+ 32,
645
+ 478,
646
+ 47
647
+ ],
648
+ "page_idx": 4
649
+ },
650
+ {
651
+ "type": "page_number",
652
+ "text": "5",
653
+ "bbox": [
654
+ 493,
655
+ 948,
656
+ 503,
657
+ 959
658
+ ],
659
+ "page_idx": 4
660
+ },
661
+ {
662
+ "type": "table",
663
+ "img_path": "images/66ff8bdc89c785a201d9022ab7f9d522942a63cad2b69047c8427ef19ded342f.jpg",
664
+ "table_caption": [
665
+ "Table 1: Comparison with existing methods in base-to-novel generalization on 11 datasets. The absolute gains compared to MaPLe are highlighted in red and blue."
666
+ ],
667
+ "table_footnote": [],
668
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">Average</td><td colspan=\"3\">ImageNet</td><td colspan=\"3\">Caltech101</td><td colspan=\"3\">OxfordPots</td></tr><tr><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>CLIP (Radford et al., 2021)</td><td>69.34</td><td>74.22</td><td>71.70</td><td>72.43</td><td>68.14</td><td>70.22</td><td>96.84</td><td>94.00</td><td>95.40</td><td>91.17</td><td>97.26</td><td>94.12</td></tr><tr><td>CoOp (Zhou et al., 2022b)</td><td>82.69</td><td>63.22</td><td>71.66</td><td>76.47</td><td>67.88</td><td>71.92</td><td>98.00</td><td>89.81</td><td>93.73</td><td>93.67</td><td>95.29</td><td>94.47</td></tr><tr><td>Co-CoOp (Zhou et al., 2022a)</td><td>80.47</td><td>71.69</td><td>75.83</td><td>75.98</td><td>70.43</td><td>73.10</td><td>97.96</td><td>93.81</td><td>95.84</td><td>95.20</td><td>97.69</td><td>96.43</td></tr><tr><td>MaPLe (Khattak et al., 2022)</td><td>82.28</td><td>75.14</td><td>78.55</td><td>76.66</td><td>70.54</td><td>73.47</td><td>97.74</td><td>94.36</td><td>96.02</td><td>95.43</td><td>97.69</td><td>96.43</td></tr><tr><td>QNet (Ours)</td><td>83.32</td><td>75.65</td><td>79.30</td><td>77.00</td><td>71.00</td><td>73.88</td><td>98.40</td><td>95.70</td><td>97.03</td><td>96.20</td><td>97.80</td><td>96.99</td></tr><tr><td></td><td>+1.04</td><td>+0.51</td><td>+0.75</td><td>+0.34</td><td>+0.46</td><td>+0.41</td><td>+0.66</td><td>+1.34</td><td>+1.01</td><td>+0.77</td><td>+0.04</td><td>+0.41</td></tr><tr><td rowspan=\"2\"></td><td colspan=\"3\">StanfordCars</td><td colspan=\"3\">Flowers102</td><td colspan=\"3\">Food101</td><td colspan=\"3\">FGVCAircraft</td></tr><tr><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>CLIP (Radford et al., 2021)</td><td>63.37</td><td>74.89</td><td>68.65</td><td>72.08</td><td>77.80</td><td>74.83</td><td>90.10</td><td>91.22</td><td>90.66</td><td>27.19</td><td>36.29</td><td>31.09</td></tr><tr><td>CoOp (Zhou et al., 2022b)</td><td>78.12</td><td>60.40</td><td>68.13</td><td>97.60</td><td>59.67</td><td>74.06</td><td>88.33</td><td>82.26</td><td>85.19</td><td>40.44</td><td>22.30</td><td>28.75</td></tr><tr><td>Co-CoOp (Zhou et al., 2022a)</td><td>70.49</td><td>73.59</td><td>72.01</td><td>94.87</td><td>71.75</td><td>81.71</td><td>90.70</td><td>91.29</td><td>90.99</td><td>33.41</td><td>23.71</td><td>27.74</td></tr><tr><td>MaPLe (Khattak et al., 2022)</td><td>72.94</td><td>74.00</td><td>73.47</td><td>95.92</td><td>72.46</td><td>82.56</td><td>90.71</td><td>92.05</td><td>91.38</td><td>37.44</td><td>35.61</td><td>36.50</td></tr><tr><td>QNet (Ours)</td><td>74.20</td><td>74.90</td><td>74.55</td><td>97.00</td><td>75.20</td><td>84.72</td><td>91.10</td><td>92.00</td><td>91.55</td><td>38.80</td><td>35.90</td><td>37.29</td></tr><tr><td></td><td>+1.26</td><td>+0.90</td><td>+1.08</td><td>+1.08</td><td>+2.74</td><td>+2.16</td><td>+0.39</td><td>-0.05</td><td>+0.17</td><td>+1.36</td><td>+0.29</td><td>+0.79</td></tr><tr><td rowspan=\"2\"></td><td colspan=\"3\">SUN397</td><td colspan=\"3\">DTD</td><td colspan=\"3\">EuroSAT</td><td colspan=\"3\">UCF101</td></tr><tr><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>CLIP (Radford et al., 2021)</td><td>69.36</td><td>75.35</td><td>72.23</td><td>53.24</td><td>59.90</td><td>56.37</td><td>56.48</td><td>64.05</td><td>60.03</td><td>70.53</td><td>77.50</td><td>73.85</td></tr><tr><td>CoOp (Zhou et al., 2022b)</td><td>80.60</td><td>65.89</td><td>72.51</td><td>79.44</td><td>41.18</td><td>54.24</td><td>92.19</td><td>54.74</td><td>68.69</td><td>84.69</td><td>56.05</td><td>67.46</td></tr><tr><td>Co-CoOp (Zhou et al., 2022a)</td><td>79.74</td><td>76.86</td><td>78.27</td><td>77.01</td><td>56.00</td><td>64.85</td><td>87.49</td><td>60.04</td><td>71.21</td><td>82.33</td><td>73.45</td><td>77.64</td></tr><tr><td>MaPLe (Khattak et al., 2022)</td><td>80.82</td><td>78.70</td><td>79.75</td><td>80.36</td><td>59.18</td><td>68.16</td><td>94.07</td><td>73.23</td><td>82.35</td><td>83.00</td><td>78.66</td><td>80.77</td></tr><tr><td>QNet (Ours)</td><td>81.10</td><td>78.60</td><td>79.83</td><td>80.70</td><td>59.50</td><td>68.50</td><td>96.60</td><td>73.10</td><td>83.22</td><td>85.40</td><td>78.50</td><td>81.80</td></tr><tr><td></td><td>+0.28</td><td>-0.10</td><td>+0.08</td><td>+0.34</td><td>+0.32</td><td>+0.34</td><td>+2.53</td><td>-0.13</td><td>+0.87</td><td>+2.40</td><td>-0.16</td><td>+1.03</td></tr></table>",
669
+ "bbox": [
670
+ 173,
671
+ 130,
672
+ 823,
673
+ 470
674
+ ],
675
+ "page_idx": 5
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "the image branch is now $z(x) = \\left\\{\\hat{Q}_{fusion}^{1}, \\hat{Q}_{fusion}^{2}, \\dots, \\hat{Q}_{fusion}^{M}, x\\right\\}$ . In the vision branch of CLIP alongside the input image tokens, new learnable tokens are further introduced in deeper transformer layers of the image encoder $k(\\cdot)$ up to depth $L$ . Let $c_{i}$ be the word embedding(s) for the class name, $E_{i}$ be patch embeddings, and $[\\cdot, \\cdot]$ refer to the concatenation operation, we have:",
680
+ "bbox": [
681
+ 169,
682
+ 483,
683
+ 826,
684
+ 546
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "equation",
690
+ "text": "\n$$\n\\left[ c _ {i}, E _ {i}, \\_ \\right] = k _ {i} \\left(\\left[ c _ {i - 1}, E _ {i - 1}, \\mathrm {m} _ {i - 1} \\right]\\right) \\quad i = 1, 2, \\dots , L,\n$$\n",
691
+ "text_format": "latex",
692
+ "bbox": [
693
+ 305,
694
+ 571,
695
+ 692,
696
+ 587
697
+ ],
698
+ "page_idx": 5
699
+ },
700
+ {
701
+ "type": "equation",
702
+ "text": "\n$$\n\\left[ c _ {j}, E _ {j}, m _ {j} \\right] = k _ {j} \\left(\\left[ c _ {j - 1}, E _ {j - 1}, \\mathrm {m} _ {j - 1} \\right]\\right) \\quad j = L + 1, \\dots , N. \\tag {6}\n$$\n",
703
+ "text_format": "latex",
704
+ "bbox": [
705
+ 305,
706
+ 583,
707
+ 823,
708
+ 606
709
+ ],
710
+ "page_idx": 5
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "3.2.4 LANGUAGE PROMPTING",
715
+ "text_level": 1,
716
+ "bbox": [
717
+ 171,
718
+ 619,
719
+ 398,
720
+ 633
721
+ ],
722
+ "page_idx": 5
723
+ },
724
+ {
725
+ "type": "text",
726
+ "text": "After obtaining high-quality multimodal features, we construct language context prompts with these features. Similarly, defining $g(\\cdot)$ as the text encoder function, we construct a prompt for the text branch: $t_i = \\left\\{\\dot{Q}_{fusion}^1,\\dot{Q}_{fusion}^2,\\dots ,\\dot{Q}_{fusion}^M\\right\\}$ . The language prompt for the $i$ -th class of text branch is embedded by $h_i(x) = \\left\\{\\dot{Q}_{fusion}^1,\\dot{Q}_{fusion}^2,\\dots ,\\dot{Q}_{fusion}^M,c_i\\right\\}$ . New learnable tokens are further introduced in each transformer block of the language encoder $g(\\cdot)$ up to a specific depth $L$ :",
727
+ "bbox": [
728
+ 169,
729
+ 638,
730
+ 826,
731
+ 726
732
+ ],
733
+ "page_idx": 5
734
+ },
735
+ {
736
+ "type": "equation",
737
+ "text": "\n$$\n[ \\_ , c _ {i} ] = g _ {i} \\left(\\left[ t _ {i - 1}, c _ {i - 1} \\right]\\right) i = 1, 2, \\dots , L. \\tag {7}\n$$\n",
738
+ "text_format": "latex",
739
+ "bbox": [
740
+ 352,
741
+ 732,
742
+ 825,
743
+ 750
744
+ ],
745
+ "page_idx": 5
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "After the $L^{\\mathrm{th}}$ transformer layer, the subsequent layers process the previous layer prompts:",
750
+ "bbox": [
751
+ 169,
752
+ 757,
753
+ 761,
754
+ 773
755
+ ],
756
+ "page_idx": 5
757
+ },
758
+ {
759
+ "type": "equation",
760
+ "text": "\n$$\n\\left[ t _ {j}, c _ {i} \\right] = g _ {j} \\left(\\left[ t _ {j - 1}, c _ {j - 1} \\right]\\right) j = L + 1, \\dots , N. \\tag {8}\n$$\n",
761
+ "text_format": "latex",
762
+ "bbox": [
763
+ 359,
764
+ 780,
765
+ 825,
766
+ 797
767
+ ],
768
+ "page_idx": 5
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "3.2.5 THE BRIDGE OF VISION LANGUAGE PROMPTING",
773
+ "text_level": 1,
774
+ "bbox": [
775
+ 171,
776
+ 820,
777
+ 570,
778
+ 834
779
+ ],
780
+ "page_idx": 5
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "The primary distinction of our approach from other multimodal prompts is that ours does not rely on explicit structural comparisons between different modalities. QNet capitalizes on a multimodal feature representation $Q_{multi}$ that encapsulates abundant information across various modalities. Consequently, it attains superior fusion performance compared to previous methods. Concretely, we utilize three mutually orthogonal imaginary axes to provide unique perspectives on multimodal features. We partition the input along the $i$ -axis and $j$ -axis to secure the image and text information,",
785
+ "bbox": [
786
+ 169,
787
+ 840,
788
+ 826,
789
+ 925
790
+ ],
791
+ "page_idx": 5
792
+ },
793
+ {
794
+ "type": "header",
795
+ "text": "Published as a conference paper at ICLR 2024",
796
+ "bbox": [
797
+ 171,
798
+ 32,
799
+ 478,
800
+ 47
801
+ ],
802
+ "page_idx": 5
803
+ },
804
+ {
805
+ "type": "page_number",
806
+ "text": "6",
807
+ "bbox": [
808
+ 493,
809
+ 948,
810
+ 504,
811
+ 959
812
+ ],
813
+ "page_idx": 5
814
+ },
815
+ {
816
+ "type": "table",
817
+ "img_path": "images/10c59f6cd3f516c23d3f3c28bd25f74dfbb14b2b71d68dca3728b868ff4d7c30.jpg",
818
+ "table_caption": [
819
+ "Table 2: Comparison with existing methods in cross-dataset evaluation. We train QNet on the 1,000 classes of ImageNet and then transfer this model for evaluation on the remaining 10 datasets."
820
+ ],
821
+ "table_footnote": [],
822
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td>Source</td><td colspan=\"10\">Target</td></tr><tr><td>ImageNet</td><td>Catech101</td><td>OxfordPeds</td><td>StanfordCars</td><td>Flowers102</td><td>Food101</td><td>Aircraft</td><td>SUN397</td><td>DTD</td><td>EuroSAT</td><td>UCF101</td></tr><tr><td>CoOp (Zhou et al., 2022b)</td><td>71.51</td><td>93.70</td><td>89.14</td><td>64.51</td><td>68.71</td><td>85.30</td><td>18.47</td><td>64.15</td><td>41.92</td><td>46.39</td><td>66.55</td></tr><tr><td>Co-CoOp (Zhou et al., 2022a)</td><td>71.02</td><td>94.43</td><td>90.14</td><td>65.32</td><td>71.88</td><td>86.06</td><td>22.94</td><td>67.36</td><td>45.73</td><td>45.37</td><td>68.21</td></tr><tr><td>MaPLe (Khattak et al., 2022)</td><td>70.72</td><td>93.53</td><td>90.49</td><td>65.57</td><td>72.23</td><td>86.20</td><td>24.74</td><td>67.01</td><td>46.49</td><td>48.06</td><td>68.69</td></tr><tr><td>QNet (Ours)</td><td>71.10</td><td>94.30</td><td>90.80</td><td>66.00</td><td>73.10</td><td>86.10</td><td>24.20</td><td>67.90</td><td>46.90</td><td>51.80</td><td>68.70</td></tr></table>",
823
+ "bbox": [
824
+ 173,
825
+ 132,
826
+ 823,
827
+ 266
828
+ ],
829
+ "page_idx": 6
830
+ },
831
+ {
832
+ "type": "text",
833
+ "text": "respectively. The three imaginary axes possess equal status and select either the $i$ -axis and $k$ -axis or the $j$ -axis and $k$ -axis to produce equivalent results. Note that we do not assign a value to the $k$ -axis relative to the $i$ -axis and $j$ -axis. Instead, we preserve the weight of the $k$ -axis as a balance between the $i$ -axis and $j$ -axis. Our model effectively decouples the complex feature distributions of text and image by orthogonally disentangling them across the $i\\text{-}, j\\text{-}$ , and $k\\text{-}$ axes. Moreover, by employing the quaternion network to integrate features across diverse hierarchical features of CLIP, QNet demonstrates its enhanced generalization capacity.",
834
+ "bbox": [
835
+ 169,
836
+ 290,
837
+ 826,
838
+ 388
839
+ ],
840
+ "page_idx": 6
841
+ },
842
+ {
843
+ "type": "text",
844
+ "text": "A substantial body of research concentrates on the development of explicit interaction structures between images and text. However, we argue that regardless of their complexity, these structures fail to surmount the limitations of homogeneous representation and effectively tackle the fundamental challenge in multimodal fusion: capturing intricate relationships among different modalities. Our approach employs quaternion networks which are adept at encoding interdependent relationships within multimodal features. This obviates the need to design extra interaction structures between images and text. Finally, the prediction probability is computed as:",
845
+ "bbox": [
846
+ 169,
847
+ 393,
848
+ 823,
849
+ 492
850
+ ],
851
+ "page_idx": 6
852
+ },
853
+ {
854
+ "type": "equation",
855
+ "text": "\n$$\np (y \\mid \\boldsymbol {x}) = \\frac {\\exp (\\sin (\\boldsymbol {z} (Q (\\boldsymbol {x})), g (\\boldsymbol {h} _ {y} (Q (\\boldsymbol {x})))) / \\tau)}{\\sum_ {i = 1} ^ {K} \\exp (\\sin (\\boldsymbol {z} (Q (\\boldsymbol {x})) , g (\\boldsymbol {h} _ {i} (Q (\\boldsymbol {x})))) / \\tau)} \\tag {9}\n$$\n",
856
+ "text_format": "latex",
857
+ "bbox": [
858
+ 305,
859
+ 502,
860
+ 825,
861
+ 539
862
+ ],
863
+ "page_idx": 6
864
+ },
865
+ {
866
+ "type": "text",
867
+ "text": "where $Q(\\cdot)$ denotes the quaternion networks, $\\mathbf{z}(x)$ is the vision prompt, $h_i(x)$ is the language prompt, $\\sin (\\cdot ,\\cdot)$ is the cosine similarity, and $\\tau$ is a learned temperature parameter.",
868
+ "bbox": [
869
+ 169,
870
+ 549,
871
+ 826,
872
+ 580
873
+ ],
874
+ "page_idx": 6
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "4 EXPERIMENTS",
879
+ "text_level": 1,
880
+ "bbox": [
881
+ 171,
882
+ 602,
883
+ 328,
884
+ 617
885
+ ],
886
+ "page_idx": 6
887
+ },
888
+ {
889
+ "type": "text",
890
+ "text": "4.1 EXPERIMENTAL SETUP",
891
+ "text_level": 1,
892
+ "bbox": [
893
+ 171,
894
+ 631,
895
+ 375,
896
+ 645
897
+ ],
898
+ "page_idx": 6
899
+ },
900
+ {
901
+ "type": "text",
902
+ "text": "Datasets. We follow Zhou et al. (2022b) by using 11 image recognition datasets that cover various tasks. Concretely, we include ImageNet (Deng et al., 2009) and Caltech101 (Fei-Fei et al., 2004) for generic object classification, Oxfordpets (Parkhi et al., 2012), StanfordCars (Krause et al., 2013), Flowers102 (Nilsback & Zisserman, 2008), Food101 (Bossard et al., 2014), and Aircraft (Maji et al., 2013) for fine-grained classification, SUN397 (Xiao et al., 2010) for scene recognition, UCF101 (Soomro et al., 2012) for action recognition, DTD (Cimpoi et al., 2014) for texture recognition, and EuroSAT (Helber et al., 2019) for satellite image recognition.",
903
+ "bbox": [
904
+ 169,
905
+ 654,
906
+ 826,
907
+ 753
908
+ ],
909
+ "page_idx": 6
910
+ },
911
+ {
912
+ "type": "text",
913
+ "text": "Implementation details. We evaluate our method in three scenarios: 1) Base-to-novel generalization, generalizing from base classes to new classes within a dataset; 2) Cross-dataset evaluation, transferring across different datasets, and 3) Domain generalization, transferring on four variant datasets of ImageNet. As for domain generalization, we conduct the experiments using ImageNet as the source dataset and four ImageNet variants that have different types of domain shift as the target datasets, namely ImageNetV2 (Recht et al., 2019), ImageNet-Sketch (Wang et al., 2019a), ImageNet-A (Hendrycks et al., 2021b), and ImageNet-R (Hendrycks et al., 2021a). For the training of QNet, we prompt-tune a pre-trained ViT-B/16 CLIP model and set prompt depth $L$ to 7 and language and vision prompt lengths to 2. We train QNet for 7 epochs with a batch size of 1 on a single NVIDIA RTX 8000 GPU. Following Zhou et al. (2022b), we use the pre-trained word embeddings of a shorter context (e.g., \"a photo of\") to initialize the context vectors for the first layer. To maintain robust results, we validate our method using 16 shots and report the average results over three runs.",
914
+ "bbox": [
915
+ 169,
916
+ 758,
917
+ 826,
918
+ 926
919
+ ],
920
+ "page_idx": 6
921
+ },
922
+ {
923
+ "type": "header",
924
+ "text": "Published as a conference paper at ICLR 2024",
925
+ "bbox": [
926
+ 171,
927
+ 32,
928
+ 478,
929
+ 47
930
+ ],
931
+ "page_idx": 6
932
+ },
933
+ {
934
+ "type": "page_number",
935
+ "text": "7",
936
+ "bbox": [
937
+ 493,
938
+ 948,
939
+ 503,
940
+ 959
941
+ ],
942
+ "page_idx": 6
943
+ },
944
+ {
945
+ "type": "table",
946
+ "img_path": "images/96cf9d5c3704aa1fd17e40cd8f71478f45965bee4868d84cd6475791b70da5d2.jpg",
947
+ "table_caption": [
948
+ "Table 3: Comparison with existing methods in domain generalization. We employ our method pre-trained on the source dataset (i.e., ImageNet) and test on four variant datasets of ImageNet."
949
+ ],
950
+ "table_footnote": [],
951
+ "table_body": "<table><tr><td></td><td colspan=\"2\">Source</td><td colspan=\"4\">Target</td></tr><tr><td></td><td>ImageNet</td><td>ImageNetV2</td><td>ImageNet-S</td><td>ImageNet-A</td><td>ImageNet-R</td><td>Average</td></tr><tr><td>CLIP (Radford et al., 2021)</td><td>66.73</td><td>60.83</td><td>46.15</td><td>47.77</td><td>73.96</td><td>57.18</td></tr><tr><td>CoOp (Zhou et al., 2022b)</td><td>71.51</td><td>64.20</td><td>47.99</td><td>49.71</td><td>75.21</td><td>59.28</td></tr><tr><td>Co-CoOp (Zhou et al., 2022a)</td><td>71.02</td><td>64.07</td><td>48.75</td><td>50.63</td><td>76.18</td><td>59.91</td></tr><tr><td>MaPLe (Khattak et al., 2022)</td><td>70.72</td><td>64.07</td><td>49.15</td><td>50.90</td><td>76.98</td><td>60.27</td></tr><tr><td>QNet (Ours)</td><td>71.10</td><td>64.30</td><td>49.20</td><td>51.30</td><td>77.70</td><td>60.65</td></tr></table>",
952
+ "bbox": [
953
+ 196,
954
+ 131,
955
+ 797,
956
+ 234
957
+ ],
958
+ "page_idx": 7
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "4.2 BASE-TO-NOVEL GENERALIZATION",
963
+ "text_level": 1,
964
+ "bbox": [
965
+ 171,
966
+ 260,
967
+ 465,
968
+ 273
969
+ ],
970
+ "page_idx": 7
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "The baseline of our method is CLIP (Radford et al., 2021) with manual prompts. CoOp (Zhou et al., 2022b) improves CLIP with static prompts and CoCoOp (Zhou et al., 2022a) combines it with prompt-conditioned learning. MaPLe (Khattak et al., 2022) is a multimodal prompt method that achieves modality interaction through linear mapping, whereas our method constructs high-quality multimodal fusion features. Table 1 provides a comparative analysis of our QNet against other approaches in the base-to-novel generalization framework. Evidently, with fewer trainable parameters (i.e., 2.93M in QNet compared to 3.56M in MaPLe), QNet surpasses all previous prompt learning techniques in terms of base accuracy, novel accuracy, and harmonic mean (HM) when averaged across 11 datasets. Concretely, our method QNet attains a base category accuracy of $83.32\\%$ , elevates novel category performance from $75.14\\%$ to $75.65\\%$ , and increases the harmonic mean from $78.55\\%$ to $79.30\\%$ . The experimental outcomes effectively demonstrate that QNet associates semantic spaces across different modalities from multiple perspectives. For general datasets, QNet accomplishes comprehensive enhancements for both base and novel classes (i.e., $77.00\\%$ and $71.00\\%$ on ImageNet, $98.40\\%$ and $95.70\\%$ on Caltech). These general datasets encompass more diverse information than fine-grained datasets, necessitating the capture of different feature aspects via mutually orthogonal imaginary axes in the quaternion latent space. Linear mapping in MaPLe and other explicit interaction techniques are inadequate for addressing the shortcomings of homogeneous representation in capturing distinct aspects of data. To sum up, our method fundamentally addresses high-dimensional data processing, encoding the innate inter-dependencies within features in a more compact manner.",
975
+ "bbox": [
976
+ 169,
977
+ 285,
978
+ 826,
979
+ 551
980
+ ],
981
+ "page_idx": 7
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "4.3 CROSS-DATASET EVALUATION",
986
+ "text_level": 1,
987
+ "bbox": [
988
+ 171,
989
+ 579,
990
+ 428,
991
+ 592
992
+ ],
993
+ "page_idx": 7
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "In the cross-dataset transfer setting, we first train QNet on the 1,000 classes of ImageNet and directly transfer the model to evaluate on the remaining 10 datasets. Table 2 presents comparative results of QNet and other methods. On the whole, QNet outperforms the baseline models substantially, attaining an average accuracy of $66.98\\%$ . Note that, during the training process on the 1,000 ImageNet classes, MaPLe employs a prompt depth of 3 while QNet integrates the quaternion networks solely within the initial two layers. Moreover, our experiments are conducted by preserving the same learning rate as in the base-to-novel generalization. The results suggest that our modality fusion approach outperforms MaPLe, achieving a more efficient encoding of rich multimodal information with fewer parameters and faster convergence.",
998
+ "bbox": [
999
+ 169,
1000
+ 604,
1001
+ 826,
1002
+ 729
1003
+ ],
1004
+ "page_idx": 7
1005
+ },
1006
+ {
1007
+ "type": "text",
1008
+ "text": "4.4 DOMAIN GENERALIZATION",
1009
+ "text_level": 1,
1010
+ "bbox": [
1011
+ 171,
1012
+ 758,
1013
+ 406,
1014
+ 772
1015
+ ],
1016
+ "page_idx": 7
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "Evaluating models on out-of-distribution tasks is vital for assessing their generalization abilities. We employ our method pre-trained on the ImageNet dataset and subject them to direct testing on specific datasets with diverse data distributions. After completing the training on the entire 1,000 classes of ImageNet, we proceed to evaluate the model on four variant datasets derived from ImageNet, as depicted in Table 3. On the ImageNetV2 dataset, while both MaPLe and Co-CoOp yield an accuracy of $64.07\\%$ , our proposed method demonstrates superior performance with an accuracy rate of $64.30\\%$ . QNet consistently outperforms MaPLe and Co-CoOp across these four distinct ImageNet dataset variations. These results indicate that within the quaternion hidden space, QNet efficiently decouples the intricate distributions of distinct modalities by utilizing three mutually orthogonal imaginary axes, thereby correlating complementary information across modalities from diverse viewpoints.",
1021
+ "bbox": [
1022
+ 169,
1023
+ 784,
1024
+ 826,
1025
+ 925
1026
+ ],
1027
+ "page_idx": 7
1028
+ },
1029
+ {
1030
+ "type": "header",
1031
+ "text": "Published as a conference paper at ICLR 2024",
1032
+ "bbox": [
1033
+ 171,
1034
+ 32,
1035
+ 478,
1036
+ 47
1037
+ ],
1038
+ "page_idx": 7
1039
+ },
1040
+ {
1041
+ "type": "page_number",
1042
+ "text": "8",
1043
+ "bbox": [
1044
+ 493,
1045
+ 948,
1046
+ 503,
1047
+ 959
1048
+ ],
1049
+ "page_idx": 7
1050
+ },
1051
+ {
1052
+ "type": "table",
1053
+ "img_path": "images/483ad9fbf73275d4d73772f63651a643f0b3acc8e2859fdff63b647ec92a034c.jpg",
1054
+ "table_caption": [
1055
+ "Table 4: Ablation study among QNet, Co-CoOp, and MaPLe with one single layer."
1056
+ ],
1057
+ "table_footnote": [],
1058
+ "table_body": "<table><tr><td></td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>Co-CoOp</td><td>80.47</td><td>71.69</td><td>75.83</td></tr><tr><td>MaPLe (one layer)</td><td>78.69</td><td>73.32</td><td>75.91</td></tr><tr><td>QNet (one layer)</td><td>81.01</td><td>74.88</td><td>77.83</td></tr><tr><td></td><td>+2.32</td><td>+1.56</td><td>+1.92</td></tr></table>",
1059
+ "bbox": [
1060
+ 181,
1061
+ 122,
1062
+ 478,
1063
+ 199
1064
+ ],
1065
+ "page_idx": 8
1066
+ },
1067
+ {
1068
+ "type": "table",
1069
+ "img_path": "images/8ac5fe8dc380293663da1faf9488000e54362a5d582a14ecc82c0052cfb1f6f9.jpg",
1070
+ "table_caption": [
1071
+ "Table 5: Ablation study on adding real axis for modality fusion."
1072
+ ],
1073
+ "table_footnote": [],
1074
+ "table_body": "<table><tr><td></td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>QNetri</td><td>98.05</td><td>95.00</td><td>96.50</td></tr><tr><td>QNtetrijj</td><td>98.10</td><td>94.33</td><td>96.18</td></tr><tr><td>QNnetrijk</td><td>97.93</td><td>93.90</td><td>95.87</td></tr><tr><td>QNnetijk</td><td>98.40</td><td>95.90</td><td>97.13</td></tr></table>",
1075
+ "bbox": [
1076
+ 179,
1077
+ 247,
1078
+ 478,
1079
+ 327
1080
+ ],
1081
+ "page_idx": 8
1082
+ },
1083
+ {
1084
+ "type": "image",
1085
+ "img_path": "images/20a2f39dbe160ffc0dde8dc3c667ee5929456b0ee5b655950f413ac296c0721f.jpg",
1086
+ "image_caption": [
1087
+ "Figure 3: Ablation study on the prompt depth of QNet on the Caltech dataset."
1088
+ ],
1089
+ "image_footnote": [],
1090
+ "bbox": [
1091
+ 501,
1092
+ 123,
1093
+ 803,
1094
+ 209
1095
+ ],
1096
+ "page_idx": 8
1097
+ },
1098
+ {
1099
+ "type": "table",
1100
+ "img_path": "images/0cec7307f73d1e8d05d56e5f2365e607253c9398aca03b0c6700275aad41d530.jpg",
1101
+ "table_caption": [
1102
+ "Table 6: Ablation study among different imaginary axes for modality fusion."
1103
+ ],
1104
+ "table_footnote": [],
1105
+ "table_body": "<table><tr><td></td><td>Base</td><td>Novel</td><td>HM</td></tr><tr><td>QNeti</td><td>98.23</td><td>94.93</td><td>96.55</td></tr><tr><td>QNetij</td><td>98.10</td><td>94.17</td><td>96.09</td></tr><tr><td>QNetijkp</td><td>98.07</td><td>95.17</td><td>96.60</td></tr><tr><td>QNetijkm</td><td>98.40</td><td>95.90</td><td>97.13</td></tr></table>",
1106
+ "bbox": [
1107
+ 504,
1108
+ 247,
1109
+ 803,
1110
+ 327
1111
+ ],
1112
+ "page_idx": 8
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "4.5 ABLATION STUDIES",
1117
+ "text_level": 1,
1118
+ "bbox": [
1119
+ 171,
1120
+ 352,
1121
+ 354,
1122
+ 364
1123
+ ],
1124
+ "page_idx": 8
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Multimodal fusion approach. We further validate our innovative multimodal feature fusion approach by adjusting the prompt depth of both MaPLe and QNet to 1, while bearing in mind that the original Co-CoOp only has a single prompt layer. Our experimental findings, as indicated in Table 4, reveal that our method is more effective in modality fusion, with QNet showing a significant improvement compared to the other two techniques. MaPLe's lower base class accuracy compared to Co-CoOp indicates its improvements are largely driven by deep prompt strategy, rather than multimodal fusion. Our method adeptly captures the correlations among multimodal features, resulting in better performance. See the Appendix for complete results for each dataset.",
1129
+ "bbox": [
1130
+ 169,
1131
+ 376,
1132
+ 823,
1133
+ 488
1134
+ ],
1135
+ "page_idx": 8
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Effect of different axes. We explore the impact of varying axes in our experiments and summarize the results in Tables 5 and 6. The study, using Caltech as an example, reveals a performance decline when the real axis is incorporated. We noted improved performance on novel classes with an increased number of imaginary axes; especially, using $k_{m}$ as a modulation axis proved more effective, enhancing the encapsulation of intermodal semantic spatial correlations between text and image modalities, compared to when $k_{p}$ serves as a parameter axis.",
1140
+ "bbox": [
1141
+ 169,
1142
+ 494,
1143
+ 823,
1144
+ 580
1145
+ ],
1146
+ "page_idx": 8
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Prompt depth. Figure 3 demonstrates the effects of prompt depth on model performance. We again use the Caltech dataset to illustrate the influence of varying layers on the average performance. The overall trend suggests that performance improves with increasing model depth. However, it is observed that once the depth surpasses a certain threshold, performance begins to deteriorate, indicating a certain degree of overfitting caused by the increase in the number of layers. The optimal performance of our QNet is achieved with 7 layers.",
1151
+ "bbox": [
1152
+ 169,
1153
+ 585,
1154
+ 826,
1155
+ 672
1156
+ ],
1157
+ "page_idx": 8
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "5 CONCLUSION",
1162
+ "text_level": 1,
1163
+ "bbox": [
1164
+ 171,
1165
+ 691,
1166
+ 320,
1167
+ 705
1168
+ ],
1169
+ "page_idx": 8
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Large-scale multimodal pre-trained models are a crucial step towards achieving general artificial intelligence. Both academic and industrial communities are focused on deploying these models for specific tasks. However, models like CLIP face challenges in handling fine-grained classifications and abstract tasks in zero-shot learning. To address this, we propose a fundamental high-dimensional structure using quaternion networks that capture rich semantic associations across different modalities and hierarchical features. In the quaternion latent space, the three mutually orthogonal imaginary axes are highly effective. Our experimental results demonstrate that QNet outperforms existing methods while involving fewer learnable parameters in base-to-novel generalization, cross-dataset transfer, and domain generalization. Furthermore, QNet effectively fuses features from multimodal sources in zero-shot scenarios, and can be extended to other domains.",
1174
+ "bbox": [
1175
+ 169,
1176
+ 720,
1177
+ 826,
1178
+ 861
1179
+ ],
1180
+ "page_idx": 8
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Limitation. We use the CLIP model with transformer architecture for image feature extraction, but it tends to miss local and fine-grained details, impacting tasks such as classification and detection. Future plans include leveraging QNet to integrate these crucial features and addressing the transformer's bias towards semantic information.",
1185
+ "bbox": [
1186
+ 169,
1187
+ 867,
1188
+ 823,
1189
+ 924
1190
+ ],
1191
+ "page_idx": 8
1192
+ },
1193
+ {
1194
+ "type": "header",
1195
+ "text": "Published as a conference paper at ICLR 2024",
1196
+ "bbox": [
1197
+ 171,
1198
+ 32,
1199
+ 478,
1200
+ 47
1201
+ ],
1202
+ "page_idx": 8
1203
+ },
1204
+ {
1205
+ "type": "page_number",
1206
+ "text": "9",
1207
+ "bbox": [
1208
+ 493,
1209
+ 948,
1210
+ 504,
1211
+ 959
1212
+ ],
1213
+ "page_idx": 8
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "REFERENCES",
1218
+ "text_level": 1,
1219
+ "bbox": [
1220
+ 174,
1221
+ 102,
1222
+ 287,
1223
+ 117
1224
+ ],
1225
+ "page_idx": 9
1226
+ },
1227
+ {
1228
+ "type": "list",
1229
+ "sub_type": "ref_text",
1230
+ "list_items": [
1231
+ "Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101-mining discriminative components with random forests. In European Conference on Computer Vision, 2014. 7",
1232
+ "Wei-Lun Chao, Soravit Changpinyo, Boqing Gong, and Fei Sha. An empirical study and analysis of generalized zero-shot learning for object recognition in the wild. In European Conference on Computer Vision, 2016. 3",
1233
+ "Mircea Cimpoi, Subhransu Maji, Iasonas Kokkinos, Sammy Mohamed, and Andrea Vedaldi. Describing textures in the wild. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2014. 7",
1234
+ "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2009. 7",
1235
+ "Jian Ding, Nan Xue, Gui-Song Xia, and Dengxin Dai. Decoupling zero-shot semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. 1",
1236
+ "Li Fei-Fei, Rob Fergus, and Pietro Perona. Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2004. 7",
1237
+ "Chengjian Feng, Yujie Zhong, Zequn Jie, Xiangxiang Chu, Haibing Ren, Xiaolin Wei, Weidi Xie, and Lin Ma. Promptdet: Towards open-vocabulary detection using uncurated images. In European Conference on Computer Vision, 2022. 2",
1238
+ "Peng Gao, Shijie Geng, Renrui Zhang, Teli Ma, Rongyao Fang, Yongfeng Zhang, Hongsheng Li, and Yu Qiao. Clip-adapter: Better vision-language models with feature adapters. arXiv preprint arXiv:2110.04544, 2021. 2",
1239
+ "Chase J Gaudet and Anthony S Maida. Deep quaternion networks. In International Joint Conference on Neural Networks, 2018. 4",
1240
+ "Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In The 13th International Conference on Artificial Intelligence and Statistics, 2010. 5",
1241
+ "Xiuye Gu, Tsung-Yi Lin, Weicheng Kuo, and Yin Cui. Open-vocabulary object detection via vision and language knowledge distillation. arXiv preprint arXiv:2104.13921, 2021. 2",
1242
+ "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2015. 5",
1243
+ "Patrick Helber, Benjamin Bischke, Andreas Dengel, and Damian Borth. Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 2019. 2, 7",
1244
+ "Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, et al. The many faces of robustness: A critical analysis of out-of-distribution generalization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2021a. 7",
1245
+ "Dan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt, and Dawn Song. Natural adversarial examples. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021b. 7",
1246
+ "Tony Huang, Jack Chu, and Fangyun Wei. Unsupervised prompt learning for vision-language models. arXiv preprint arXiv:2204.03649, 2022.1",
1247
+ "Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International Conference on Machine Learning, 2021. 2",
1248
+ "Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie, Serge Belongie, Bharath Hariharan, and Ser-Nam Lim. Visual prompt tuning. In European Conference on Computer Vision, 2022. 3",
1249
+ "Woojeong Jin, Yu Cheng, Yelong Shen, Weizhu Chen, and Xiang Ren. A good prompt is worth millions of parameters? low-resource prompt-based learning for vision-language models. arXiv preprint arXiv:2110.08484, 2021. 1",
1250
+ "Muhammad Uzair Khattak, Hanoona Rasheed, Muhammad Maaz, Salman Khan, and Fahad Shahbaz Khan. Maple: Multi-modal prompt learning. arXiv preprint arXiv:2210.03117, 2022. 1, 3, 6, 7, 8"
1251
+ ],
1252
+ "bbox": [
1253
+ 171,
1254
+ 123,
1255
+ 826,
1256
+ 922
1257
+ ],
1258
+ "page_idx": 9
1259
+ },
1260
+ {
1261
+ "type": "header",
1262
+ "text": "Published as a conference paper at ICLR 2024",
1263
+ "bbox": [
1264
+ 171,
1265
+ 32,
1266
+ 478,
1267
+ 47
1268
+ ],
1269
+ "page_idx": 9
1270
+ },
1271
+ {
1272
+ "type": "page_number",
1273
+ "text": "10",
1274
+ "bbox": [
1275
+ 490,
1276
+ 948,
1277
+ 506,
1278
+ 959
1279
+ ],
1280
+ "page_idx": 9
1281
+ },
1282
+ {
1283
+ "type": "list",
1284
+ "sub_type": "ref_text",
1285
+ "list_items": [
1286
+ "Konwoo Kim, Michael Laskin, Igor Mordatch, and Deepak Pathak. How to adapt your large-scale vision-and-language model, 2022. URL https://openreview.net/forum?id=EhwEUb2ynIa.2",
1287
+ "Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2013. 7",
1288
+ "Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In Conference on Empirical Methods in Natural Language Processing, 2021. 3",
1289
+ "Junnan Li, Ramprasaath Selvaraju, Akhilesh Gotmare, Shafiq Joty, Caiming Xiong, and Steven Chu Hong Hoi. Align before fuse: Vision and language representation learning with momentum distillation. Advances in neural information processing systems, 2021. 2, 5",
1290
+ "Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, 2021. 3",
1291
+ "Xiujun Li, Xi Yin, Chunyuan Li, Pengchuan Zhang, Xiaowei Hu, Lei Zhang, Lijuan Wang, Houdong Hu, Li Dong, Furu Wei, et al. Oscar: Object-semantics aligned pre-training for vision-language tasks. In European Conference on Computer Vision, 2020. 2, 5",
1292
+ "Xiao Liu, Kaixuan Ji, Yicheng Fu, Zhengxiao Du, Zhilin Yang, and Jie Tang. P-tuning v2: Prompt tuning can be comparable to fine-tuning universally across scales and tasks. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, 2021. 3",
1293
+ "Yuning Lu, Jianzhuang Liu, Yonggang Zhang, Yajing Liu, and Xinmei Tian. Prompt distribution learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. 1",
1294
+ "Timo Lüddecke and Alexander Ecker. Image segmentation using text and image prompts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. 1",
1295
+ "Muhammad Maaz, Hanoona Rasheed, Salman Khan, Fahad Shahbaz Khan, Rao Muhammad Anwer, and Ming-Hsuan Yang. Class-agnostic object detection with multi-modal transformer. In European Conference on Computer Vision, 2022. 2",
1296
+ "Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew Blaschko, and Andrea Vedaldi. Fine-grained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013. 2, 7",
1297
+ "Shu Manli, Nie Weili, Huang De-An, Yu Zhiding, Goldstein Tom, Anandkumar Anima, and Xiao Chaowei. Test-time prompt tuning for zero-shot generalization in vision-language models. In Advances in Neural Information Processing Systems, 2022. 1",
1298
+ "Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Sixth Indian Conference on Computer Vision, Graphics & Image Processing, 2008. 7",
1299
+ "OpenAI. GPT-4 Technical Report. arXiv e-prints, 2023. 1",
1300
+ "Titouan Parcollet, Mirco Ravanelli, Mohamed Morchid, Georges Linares, Chiheb Trabelsi, Renato De Mori, and Yoshua Bengio. Quaternion recurrent neural networks. arXiv preprint arXiv:1806.04418, 2018. 1, 3",
1301
+ "Omkar M Parkhi, Andreae Vedaldi, Andrew Zisserman, and CV Jawahar. Cats and dogs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2012. 7",
1302
+ "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 2019. 1",
1303
+ "Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, 2021. 1, 2, 6, 8",
1304
+ "Hanoona Rasheed, Muhammad Maaz, Muhammad Uzair Khattak, Salman Khan, and Fahad Shahbaz Khan. Bridging the gap between object and image-level representations for open-vocabulary detection. In Advances in Neural Information Processing Systems, 2022. 2",
1305
+ "Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. DoImagenet classifiers generalize toImagenet? In International Conference on Machine Learning, 2019. 7",
1306
+ "Mr D Murahari Reddy, Mr Sk Masthan Basha, Mr M Chinnaiahgari Hari, and Mr N Penchalaiah. Dall-e: Creating images from text. UGC Care Group I Journal, 2021. 3"
1307
+ ],
1308
+ "bbox": [
1309
+ 173,
1310
+ 104,
1311
+ 826,
1312
+ 922
1313
+ ],
1314
+ "page_idx": 10
1315
+ },
1316
+ {
1317
+ "type": "header",
1318
+ "text": "Published as a conference paper at ICLR 2024",
1319
+ "bbox": [
1320
+ 171,
1321
+ 32,
1322
+ 478,
1323
+ 47
1324
+ ],
1325
+ "page_idx": 10
1326
+ },
1327
+ {
1328
+ "type": "page_number",
1329
+ "text": "11",
1330
+ "bbox": [
1331
+ 488,
1332
+ 948,
1333
+ 504,
1334
+ 959
1335
+ ],
1336
+ "page_idx": 10
1337
+ },
1338
+ {
1339
+ "type": "list",
1340
+ "sub_type": "ref_text",
1341
+ "list_items": [
1342
+ "Khurram Soomro, Amir Roshan Zamir, and Mubarak Shah. Ucf101: A dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402, 2012.7",
1343
+ "Haohan Wang, Songwei Ge, Zachary Lipton, and Eric P Xing. Learning robust global representations by penalizing local predictive power. In Advances in Neural Information Processing Systems, 2019a. 7",
1344
+ "Wei Wang, Vincent W Zheng, Han Yu, and Chunyan Miao. A survey of zero-shot learning: Settings, methods, and applications. ACM Transactions on Intelligent Systems and Technology, 2019b. 3",
1345
+ "Zifeng Wang, Zizhao Zhang, Sayna Ebrahimi, Ruoxi Sun, Han Zhang, Chen-Yu Lee, Xiaqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, et al. Dualprompt: Complementary prompting for rehearsal-free continual learning. In European Conference on Computer Vision, 2022a. 3",
1346
+ "Zifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang, Ruoxi Sun, Xiaqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, and Tomas Pfister. Learning to prompt for continual learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022b. 3",
1347
+ "Yongqin Xian, Bernt Schiele, and Zeynep Akata. Zero-shot learning-the good, the bad and the ugly. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2017. 3",
1348
+ "Jianxiong Xiao, James Hays, Krista A Ehinger, Aude Oliva, and Antonio Torralba. Sun database: Large-scale scene recognition from abbey to zoo. In IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2010. 7",
1349
+ "Yuan Yao, Ao Zhang, Zhengyan Zhang, Zhiyuan Liu, Tat-Seng Chua, and Maosong Sun. Cpt: Colorful prompt tuning for pre-trained vision-language models. arXiv preprint arXiv:2109.11797, 2021. 1",
1350
+ "Kai Yi, Xiaogian Shen, Yunhao Gou, and Mohamed Elhoseiny. Exploring hierarchical graph representation for large-scale zero-shot image classification. In European Conference on Computer Vision, 2022. 3",
1351
+ "Yuhang Zang, Wei Li, Kaiyang Zhou, Chen Huang, and Chen Change Loy. Open-vocabulary detr with conditional matching. In European Conference on Computer Vision, 2022. 2",
1352
+ "Xiaohua Zhai, Xiao Wang, Basil Mustafa, Andreas Steiner, Daniel Keysers, Alexander Kolesnikov, and Lucas Beyer. Lit: Zero-shot transfer with locked-image text tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. 2",
1353
+ "Renrui Zhang, Rongyao Fang, Peng Gao, Wei Zhang, Kunchang Li, Jifeng Dai, Yu Qiao, and Hongsheng Li. Tip-adapter: Training-free clip-adapter for better vision-language modeling. In European Conference on Computer Vision, 2022. 2",
1354
+ "Renrui Zhang, Xiangfei Hu, Bohao Li, Siyuan Huang, Hanqiu Deng, Hongsheng Li, Yu Qiao, and Peng Gao. Prompt, generate, then cache: Cascade of foundation models makes strong few-shot learners. arXiv preprint arXiv:2303.02151, 2023. 3",
1355
+ "Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Conditional prompt learning for vision-language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022a. 1, 6, 7, 8",
1356
+ "Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 2022b. 1, 3, 6, 7, 8"
1357
+ ],
1358
+ "bbox": [
1359
+ 173,
1360
+ 103,
1361
+ 825,
1362
+ 712
1363
+ ],
1364
+ "page_idx": 11
1365
+ },
1366
+ {
1367
+ "type": "header",
1368
+ "text": "Published as a conference paper at ICLR 2024",
1369
+ "bbox": [
1370
+ 171,
1371
+ 32,
1372
+ 478,
1373
+ 47
1374
+ ],
1375
+ "page_idx": 11
1376
+ },
1377
+ {
1378
+ "type": "page_number",
1379
+ "text": "12",
1380
+ "bbox": [
1381
+ 488,
1382
+ 946,
1383
+ 506,
1384
+ 959
1385
+ ],
1386
+ "page_idx": 11
1387
+ }
1388
+ ]