Chelsea707 commited on
Commit
de6f9e0
·
verified ·
1 Parent(s): 13814d7

Add Batch fdca6d97-ec8a-4aa2-8732-a906e44f8ab3 data

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +64 -0
  2. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_content_list.json +0 -0
  3. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_model.json +0 -0
  4. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_origin.pdf +3 -0
  5. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/full.md +0 -0
  6. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/images.zip +3 -0
  7. 2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/layout.json +0 -0
  8. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_content_list.json +2147 -0
  9. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_model.json +0 -0
  10. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_origin.pdf +3 -0
  11. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/full.md +410 -0
  12. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/images.zip +3 -0
  13. 2024/Discrete Latent Perspective Learning for Segmentation and Detection/layout.json +0 -0
  14. 2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_content_list.json +0 -0
  15. 2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_model.json +0 -0
  16. 2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_origin.pdf +3 -0
  17. 2024/Disentangled 3D Scene Generation with Layout Learning/full.md +657 -0
  18. 2024/Disentangled 3D Scene Generation with Layout Learning/images.zip +3 -0
  19. 2024/Disentangled 3D Scene Generation with Layout Learning/layout.json +0 -0
  20. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_content_list.json +0 -0
  21. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_model.json +0 -0
  22. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_origin.pdf +3 -0
  23. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/full.md +516 -0
  24. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/images.zip +3 -0
  25. 2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/layout.json +0 -0
  26. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_content_list.json +0 -0
  27. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_model.json +0 -0
  28. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_origin.pdf +3 -0
  29. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/full.md +397 -0
  30. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/images.zip +3 -0
  31. 2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/layout.json +0 -0
  32. 2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_content_list.json +0 -0
  33. 2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_model.json +0 -0
  34. 2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_origin.pdf +3 -0
  35. 2024/Disentanglement Learning via Topology/full.md +0 -0
  36. 2024/Disentanglement Learning via Topology/images.zip +3 -0
  37. 2024/Disentanglement Learning via Topology/layout.json +0 -0
  38. 2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_content_list.json +0 -0
  39. 2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_model.json +0 -0
  40. 2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_origin.pdf +3 -0
  41. 2024/Disguised Copyright Infringement of Latent Diffusion Models/full.md +646 -0
  42. 2024/Disguised Copyright Infringement of Latent Diffusion Models/images.zip +3 -0
  43. 2024/Disguised Copyright Infringement of Latent Diffusion Models/layout.json +0 -0
  44. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_content_list.json +0 -0
  45. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_model.json +0 -0
  46. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_origin.pdf +3 -0
  47. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/full.md +509 -0
  48. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/images.zip +3 -0
  49. 2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/layout.json +0 -0
  50. 2024/Dissecting Multimodality in VideoQA Transformer Models by Impairing Modality Fusion/797da7a4-5b42-469c-bb38-ed262416ce85_content_list.json +0 -0
.gitattributes CHANGED
@@ -4012,3 +4012,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
4012
  2024/Discovering[[:space:]]Mixtures[[:space:]]of[[:space:]]Structural[[:space:]]Causal[[:space:]]Models[[:space:]]from[[:space:]]Time[[:space:]]Series[[:space:]]Data/7954d2c7-66f9-4f6a-b480-7401f00cf53c_origin.pdf filter=lfs diff=lfs merge=lfs -text
4013
  2024/Discovering[[:space:]]Multiple[[:space:]]Solutions[[:space:]]from[[:space:]]a[[:space:]]Single[[:space:]]Task[[:space:]]in[[:space:]]Offline[[:space:]]Reinforcement[[:space:]]Learning/27e8411c-2e74-4df2-b630-79a2e47100d8_origin.pdf filter=lfs diff=lfs merge=lfs -text
4014
  2024/Discovering[[:space:]]Symmetry[[:space:]]Breaking[[:space:]]in[[:space:]]Physical[[:space:]]Systems[[:space:]]with[[:space:]]Relaxed[[:space:]]Group[[:space:]]Convolution/f61e8009-a5cd-4e7e-9541-3f5ec2340874_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4012
  2024/Discovering[[:space:]]Mixtures[[:space:]]of[[:space:]]Structural[[:space:]]Causal[[:space:]]Models[[:space:]]from[[:space:]]Time[[:space:]]Series[[:space:]]Data/7954d2c7-66f9-4f6a-b480-7401f00cf53c_origin.pdf filter=lfs diff=lfs merge=lfs -text
4013
  2024/Discovering[[:space:]]Multiple[[:space:]]Solutions[[:space:]]from[[:space:]]a[[:space:]]Single[[:space:]]Task[[:space:]]in[[:space:]]Offline[[:space:]]Reinforcement[[:space:]]Learning/27e8411c-2e74-4df2-b630-79a2e47100d8_origin.pdf filter=lfs diff=lfs merge=lfs -text
4014
  2024/Discovering[[:space:]]Symmetry[[:space:]]Breaking[[:space:]]in[[:space:]]Physical[[:space:]]Systems[[:space:]]with[[:space:]]Relaxed[[:space:]]Group[[:space:]]Convolution/f61e8009-a5cd-4e7e-9541-3f5ec2340874_origin.pdf filter=lfs diff=lfs merge=lfs -text
4015
+ 2024/Discrete[[:space:]]Diffusion[[:space:]]Modeling[[:space:]]by[[:space:]]Estimating[[:space:]]the[[:space:]]Ratios[[:space:]]of[[:space:]]the[[:space:]]Data[[:space:]]Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_origin.pdf filter=lfs diff=lfs merge=lfs -text
4016
+ 2024/Discrete[[:space:]]Latent[[:space:]]Perspective[[:space:]]Learning[[:space:]]for[[:space:]]Segmentation[[:space:]]and[[:space:]]Detection/07122f78-7689-42d6-834e-c4eb19af20e8_origin.pdf filter=lfs diff=lfs merge=lfs -text
4017
+ 2024/Disentangled[[:space:]]3D[[:space:]]Scene[[:space:]]Generation[[:space:]]with[[:space:]]Layout[[:space:]]Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_origin.pdf filter=lfs diff=lfs merge=lfs -text
4018
+ 2024/Disentangled[[:space:]]Continual[[:space:]]Graph[[:space:]]Neural[[:space:]]Architecture[[:space:]]Search[[:space:]]with[[:space:]]Invariant[[:space:]]Modular[[:space:]]Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_origin.pdf filter=lfs diff=lfs merge=lfs -text
4019
+ 2024/Disentangled[[:space:]]Graph[[:space:]]Self-supervised[[:space:]]Learning[[:space:]]for[[:space:]]Out-of-Distribution[[:space:]]Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_origin.pdf filter=lfs diff=lfs merge=lfs -text
4020
+ 2024/Disentanglement[[:space:]]Learning[[:space:]]via[[:space:]]Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_origin.pdf filter=lfs diff=lfs merge=lfs -text
4021
+ 2024/Disguised[[:space:]]Copyright[[:space:]]Infringement[[:space:]]of[[:space:]]Latent[[:space:]]Diffusion[[:space:]]Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_origin.pdf filter=lfs diff=lfs merge=lfs -text
4022
+ 2024/Disparate[[:space:]]Impact[[:space:]]on[[:space:]]Group[[:space:]]Accuracy[[:space:]]of[[:space:]]Linearization[[:space:]]for[[:space:]]Private[[:space:]]Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_origin.pdf filter=lfs diff=lfs merge=lfs -text
4023
+ 2024/Dissecting[[:space:]]Multimodality[[:space:]]in[[:space:]]VideoQA[[:space:]]Transformer[[:space:]]Models[[:space:]]by[[:space:]]Impairing[[:space:]]Modality[[:space:]]Fusion/797da7a4-5b42-469c-bb38-ed262416ce85_origin.pdf filter=lfs diff=lfs merge=lfs -text
4024
+ 2024/DistiLLM_[[:space:]]Towards[[:space:]]Streamlined[[:space:]]Distillation[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/42c11d35-aba2-4373-9a2c-49889f3640b9_origin.pdf filter=lfs diff=lfs merge=lfs -text
4025
+ 2024/Distilling[[:space:]]Morphology-Conditioned[[:space:]]Hypernetworks[[:space:]]for[[:space:]]Efficient[[:space:]]Universal[[:space:]]Morphology[[:space:]]Control/34e0f80f-96dd-48ac-a786-1fcba26c03b9_origin.pdf filter=lfs diff=lfs merge=lfs -text
4026
+ 2024/Distinguishing[[:space:]]the[[:space:]]Knowable[[:space:]]from[[:space:]]the[[:space:]]Unknowable[[:space:]]with[[:space:]]Language[[:space:]]Models/40eeb4b5-42bd-4e26-ac9d-95908a4c6c02_origin.pdf filter=lfs diff=lfs merge=lfs -text
4027
+ 2024/Distributed[[:space:]]Bilevel[[:space:]]Optimization[[:space:]]with[[:space:]]Communication[[:space:]]Compression/e4518a86-21b2-45ef-ba87-b4891bae13cb_origin.pdf filter=lfs diff=lfs merge=lfs -text
4028
+ 2024/Distributed[[:space:]]High-Dimensional[[:space:]]Quantile[[:space:]]Regression_[[:space:]]Estimation[[:space:]]Efficiency[[:space:]]and[[:space:]]Support[[:space:]]Recovery/559ada1a-e052-411a-b1fb-95616a14b4b7_origin.pdf filter=lfs diff=lfs merge=lfs -text
4029
+ 2024/Distribution[[:space:]]Alignment[[:space:]]Optimization[[:space:]]through[[:space:]]Neural[[:space:]]Collapse[[:space:]]for[[:space:]]Long-tailed[[:space:]]Classification/17cd5f5a-30d9-4a08-91b3-d888a16eefcb_origin.pdf filter=lfs diff=lfs merge=lfs -text
4030
+ 2024/Distributional[[:space:]]Bellman[[:space:]]Operators[[:space:]]over[[:space:]]Mean[[:space:]]Embeddings/43c41c16-1d6b-4cd4-a238-32f67695d3f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
4031
+ 2024/Distributionally[[:space:]]Robust[[:space:]]Data[[:space:]]Valuation/f052ad8f-eca7-4d04-b65a-b4cceaaa4ead_origin.pdf filter=lfs diff=lfs merge=lfs -text
4032
+ 2024/Ditto_[[:space:]]Quantization-aware[[:space:]]Secure[[:space:]]Inference[[:space:]]of[[:space:]]Transformers[[:space:]]upon[[:space:]]MPC/4497cabd-3c94-4081-8716-7a5d654793da_origin.pdf filter=lfs diff=lfs merge=lfs -text
4033
+ 2024/Diversified[[:space:]]Batch[[:space:]]Selection[[:space:]]for[[:space:]]Training[[:space:]]Acceleration/1d883da0-6774-4bc3-b1f3-0bd29df03863_origin.pdf filter=lfs diff=lfs merge=lfs -text
4034
+ 2024/Diving[[:space:]]into[[:space:]]Underwater_[[:space:]]Segment[[:space:]]Anything[[:space:]]Model[[:space:]]Guided[[:space:]]Underwater[[:space:]]Salient[[:space:]]Instance[[:space:]]Segmentation[[:space:]]and[[:space:]]A[[:space:]]Large-scale[[:space:]]Dataset/7449d509-ff87-4c76-ba11-e30c60863155_origin.pdf filter=lfs diff=lfs merge=lfs -text
4035
+ 2024/Do[[:space:]]Efficient[[:space:]]Transformers[[:space:]]Really[[:space:]]Save[[:space:]]Computation_/2b726b49-2661-482e-bb56-c6a726176225_origin.pdf filter=lfs diff=lfs merge=lfs -text
4036
+ 2024/Do[[:space:]]Language[[:space:]]Models[[:space:]]Exhibit[[:space:]]the[[:space:]]Same[[:space:]]Cognitive[[:space:]]Biases[[:space:]]in[[:space:]]Problem[[:space:]]Solving[[:space:]]as[[:space:]]Human[[:space:]]Learners_/43bbe530-8fca-468e-a1c0-7b422d98b288_origin.pdf filter=lfs diff=lfs merge=lfs -text
4037
+ 2024/Do[[:space:]]Large[[:space:]]Code[[:space:]]Models[[:space:]]Understand[[:space:]]Programming[[:space:]]Concepts_[[:space:]]Counterfactual[[:space:]]Analysis[[:space:]]for[[:space:]]Code[[:space:]]Predicates/39c6225e-7f8b-4a29-b8b6-97ffa6ee8c64_origin.pdf filter=lfs diff=lfs merge=lfs -text
4038
+ 2024/Do[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]Perform[[:space:]]the[[:space:]]Way[[:space:]]People[[:space:]]Expect_[[:space:]]Measuring[[:space:]]the[[:space:]]Human[[:space:]]Generalization[[:space:]]Function/e89e79de-c050-49db-b63f-373101c263a4_origin.pdf filter=lfs diff=lfs merge=lfs -text
4039
+ 2024/Do[[:space:]]Models[[:space:]]Explain[[:space:]]Themselves_[[:space:]]Counterfactual[[:space:]]Simulatability[[:space:]]of[[:space:]]Natural[[:space:]]Language[[:space:]]Explanations/05058a9c-bf89-4815-88fc-39c643ff1273_origin.pdf filter=lfs diff=lfs merge=lfs -text
4040
+ 2024/Do[[:space:]]Topological[[:space:]]Characteristics[[:space:]]Help[[:space:]]in[[:space:]]Knowledge[[:space:]]Distillation_/aae66c63-a455-4498-8230-990ec15b208c_origin.pdf filter=lfs diff=lfs merge=lfs -text
4041
+ 2024/Do[[:space:]]Transformer[[:space:]]World[[:space:]]Models[[:space:]]Give[[:space:]]Better[[:space:]]Policy[[:space:]]Gradients_/df13a6c8-e37a-4750-b8f6-901a137cd536_origin.pdf filter=lfs diff=lfs merge=lfs -text
4042
+ 2024/DoRA_[[:space:]]Weight-Decomposed[[:space:]]Low-Rank[[:space:]]Adaptation/a6d4a8f1-d72c-4e39-af94-7b106c643fe4_origin.pdf filter=lfs diff=lfs merge=lfs -text
4043
+ 2024/Does[[:space:]]Label[[:space:]]Smoothing[[:space:]]Help[[:space:]]Deep[[:space:]]Partial[[:space:]]Label[[:space:]]Learning_/807b3fef-de50-4bf9-936d-c7c102e7d8aa_origin.pdf filter=lfs diff=lfs merge=lfs -text
4044
+ 2024/Domain[[:space:]]Generalisation[[:space:]]via[[:space:]]Imprecise[[:space:]]Learning/044aed57-702c-4767-b81a-4d890f2b89d3_origin.pdf filter=lfs diff=lfs merge=lfs -text
4045
+ 2024/Domain-wise[[:space:]]Data[[:space:]]Acquisition[[:space:]]to[[:space:]]Improve[[:space:]]Performance[[:space:]]under[[:space:]]Distribution[[:space:]]Shift/5ebe7fa1-1fe1-4a30-873c-81b478f2e381_origin.pdf filter=lfs diff=lfs merge=lfs -text
4046
+ 2024/Don’t[[:space:]]Label[[:space:]]Twice_[[:space:]]Quantity[[:space:]]Beats[[:space:]]Quality[[:space:]]when[[:space:]]Comparing[[:space:]]Binary[[:space:]]Classifiers[[:space:]]on[[:space:]]a[[:space:]]Budget/5dd7c2ce-d7d9-4f74-b1bd-45f7d6a51c88_origin.pdf filter=lfs diff=lfs merge=lfs -text
4047
+ 2024/Don’t[[:space:]]be[[:space:]]so[[:space:]]Negative![[:space:]]Score-based[[:space:]]Generative[[:space:]]Modeling[[:space:]]with[[:space:]]Oracle-assisted[[:space:]]Guidance/015ed081-e55d-4515-9198-78423209fe27_origin.pdf filter=lfs diff=lfs merge=lfs -text
4048
+ 2024/Don’t[[:space:]]trust[[:space:]]your[[:space:]]eyes_[[:space:]]on[[:space:]]the[[:space:]](un)reliability[[:space:]]of[[:space:]]feature[[:space:]]visualizations/f99b40c9-b3ad-438e-b2d1-0e362cf10363_origin.pdf filter=lfs diff=lfs merge=lfs -text
4049
+ 2024/DoraemonGPT_[[:space:]]Toward[[:space:]]Understanding[[:space:]]Dynamic[[:space:]]Scenes[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]](Exemplified[[:space:]]as[[:space:]]A[[:space:]]Video[[:space:]]Agent)/2b38827d-d72d-48e4-85f9-47b4c1c73242_origin.pdf filter=lfs diff=lfs merge=lfs -text
4050
+ 2024/Double[[:space:]]Momentum[[:space:]]Method[[:space:]]for[[:space:]]Lower-Level[[:space:]]Constrained[[:space:]]Bilevel[[:space:]]Optimization/bf051ec3-ec27-46a6-9fc4-b45d7a7257ba_origin.pdf filter=lfs diff=lfs merge=lfs -text
4051
+ 2024/Double[[:space:]]Stochasticity[[:space:]]Gazes[[:space:]]Faster_[[:space:]]Snap-Shot[[:space:]]Decentralized[[:space:]]Stochastic[[:space:]]Gradient[[:space:]]Tracking[[:space:]]Methods/cfe591e7-47eb-4b75-9583-4e5d733e895b_origin.pdf filter=lfs diff=lfs merge=lfs -text
4052
+ 2024/Double[[:space:]]Variance[[:space:]]Reduction_[[:space:]]A[[:space:]]Smoothing[[:space:]]Trick[[:space:]]for[[:space:]]Composite[[:space:]]Optimization[[:space:]]Problems[[:space:]]without[[:space:]]First-Order[[:space:]]Gradient/70ade6ac-047f-4670-9dfa-abcc0f019bbd_origin.pdf filter=lfs diff=lfs merge=lfs -text
4053
+ 2024/Double-Step[[:space:]]Alternating[[:space:]]Extragradient[[:space:]]with[[:space:]]Increasing[[:space:]]Timescale[[:space:]]Separation[[:space:]]for[[:space:]]Finding[[:space:]]Local[[:space:]]Minimax[[:space:]]Points_[[:space:]]Provable[[:space:]]Improvements/e9c62fc1-5ccb-4d33-a142-d04f895b5c5a_origin.pdf filter=lfs diff=lfs merge=lfs -text
4054
+ 2024/Doubly[[:space:]]Robust[[:space:]]Causal[[:space:]]Effect[[:space:]]Estimation[[:space:]]under[[:space:]]Networked[[:space:]]Interference[[:space:]]via[[:space:]]Targeted[[:space:]]Learning/2a150a12-0774-410d-b76a-a80d2ebb444b_origin.pdf filter=lfs diff=lfs merge=lfs -text
4055
+ 2024/Dr.[[:space:]]Strategy_[[:space:]]Model-Based[[:space:]]Generalist[[:space:]]Agents[[:space:]]with[[:space:]]Strategic[[:space:]]Dreaming/af732b99-4d78-4683-bea3-cfb1b4fd1d9e_origin.pdf filter=lfs diff=lfs merge=lfs -text
4056
+ 2024/Drug[[:space:]]Discovery[[:space:]]with[[:space:]]Dynamic[[:space:]]Goal-aware[[:space:]]Fragments/f3856c51-aa11-448f-b68b-4c5572e7cf21_origin.pdf filter=lfs diff=lfs merge=lfs -text
4057
+ 2024/DsDm_[[:space:]]Model-Aware[[:space:]]Dataset[[:space:]]Selection[[:space:]]with[[:space:]]Datamodels/0f2421fd-2488-4ffa-b050-46e23563b2fe_origin.pdf filter=lfs diff=lfs merge=lfs -text
4058
+ 2024/Dual[[:space:]]Operating[[:space:]]Modes[[:space:]]of[[:space:]]In-Context[[:space:]]Learning/2682b6f8-36a3-46be-bf1a-54401ef74aba_origin.pdf filter=lfs diff=lfs merge=lfs -text
4059
+ 2024/DySLIM_[[:space:]]Dynamics[[:space:]]Stable[[:space:]]Learning[[:space:]]by[[:space:]]Invariant[[:space:]]Measure[[:space:]]for[[:space:]]Chaotic[[:space:]]Systems/83a43f8c-2684-4511-985b-6950e1695270_origin.pdf filter=lfs diff=lfs merge=lfs -text
4060
+ 2024/DynSyn_[[:space:]]Dynamical[[:space:]]Synergistic[[:space:]]Representation[[:space:]]for[[:space:]]Efficient[[:space:]]Learning[[:space:]]and[[:space:]]Control[[:space:]]in[[:space:]]Overactuated[[:space:]]Embodied[[:space:]]Systems/1aa77a10-94aa-482b-b437-8b7d6584aa61_origin.pdf filter=lfs diff=lfs merge=lfs -text
4061
+ 2024/Dynamic[[:space:]]Anisotropic[[:space:]]Smoothing[[:space:]]for[[:space:]]Noisy[[:space:]]Derivative-Free[[:space:]]Optimization/60f828e0-00b6-4a2e-bf0a-a185e77ada00_origin.pdf filter=lfs diff=lfs merge=lfs -text
4062
+ 2024/Dynamic[[:space:]]Byzantine-Robust[[:space:]]Learning_[[:space:]]Adapting[[:space:]]to[[:space:]]Switching[[:space:]]Byzantine[[:space:]]Workers/cfcbc36c-79fc-439d-a232-b94598df2940_origin.pdf filter=lfs diff=lfs merge=lfs -text
4063
+ 2024/Dynamic[[:space:]]Correlation[[:space:]]Clustering[[:space:]]in[[:space:]]Sublinear[[:space:]]Update[[:space:]]Time/ad814269-89e0-4f01-8b2d-00ee42e9e883_origin.pdf filter=lfs diff=lfs merge=lfs -text
4064
+ 2024/Dynamic[[:space:]]Evaluation[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]by[[:space:]]Meta[[:space:]]Probing[[:space:]]Agents/c9b8e354-3818-4600-9590-6573d574eed3_origin.pdf filter=lfs diff=lfs merge=lfs -text
4065
+ 2024/Dynamic[[:space:]]Facility[[:space:]]Location[[:space:]]in[[:space:]]High[[:space:]]Dimensional[[:space:]]Euclidean[[:space:]]Spaces/06df405b-34a4-4c54-8a1d-734d8cd408cd_origin.pdf filter=lfs diff=lfs merge=lfs -text
4066
+ 2024/Dynamic[[:space:]]Memory[[:space:]]Compression_[[:space:]]Retrofitting[[:space:]]LLMs[[:space:]]for[[:space:]]Accelerated[[:space:]]Inference/75fca44d-d83a-425f-988d-9ef74537a050_origin.pdf filter=lfs diff=lfs merge=lfs -text
4067
+ 2024/Dynamic[[:space:]]Metric[[:space:]]Embedding[[:space:]]into[[:space:]]lp[[:space:]]Space/02024bcc-557c-4193-a382-41d921b5c60d_origin.pdf filter=lfs diff=lfs merge=lfs -text
4068
+ 2024/Dynamic[[:space:]]Spectral[[:space:]]Clustering[[:space:]]with[[:space:]]Provable[[:space:]]Approximation[[:space:]]Guarantee/a63d87e0-16ca-4703-af9b-779150e510b5_origin.pdf filter=lfs diff=lfs merge=lfs -text
4069
+ 2024/Dynamic[[:space:]]Survival[[:space:]]Analysis[[:space:]]with[[:space:]]Controlled[[:space:]]Latent[[:space:]]States/ade34b98-50f2-43d1-a30f-e3d6cf5c3ad7_origin.pdf filter=lfs diff=lfs merge=lfs -text
4070
+ 2024/DéjàVu_[[:space:]]KV-cache[[:space:]]Streaming[[:space:]]for[[:space:]]Fast,[[:space:]]Fault-tolerant[[:space:]]Generative[[:space:]]LLM[[:space:]]Serving/82063edf-e811-4dad-a33d-44ba17782ab8_origin.pdf filter=lfs diff=lfs merge=lfs -text
4071
+ 2024/E$^2$GAN_[[:space:]]Efficient[[:space:]]Training[[:space:]]of[[:space:]]Efficient[[:space:]]GANs[[:space:]]for[[:space:]]Image-to-Image[[:space:]]Translation/5eb1bf74-d31a-4394-a7d6-5b818288a1dd_origin.pdf filter=lfs diff=lfs merge=lfs -text
4072
+ 2024/EAGLE_[[:space:]]Speculative[[:space:]]Sampling[[:space:]]Requires[[:space:]]Rethinking[[:space:]]Feature[[:space:]]Uncertainty/401d614b-fa0b-4d3b-aa37-61f2e0b516ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
4073
+ 2024/ED-Copilot_[[:space:]]Reduce[[:space:]]Emergency[[:space:]]Department[[:space:]]Wait[[:space:]]Time[[:space:]]with[[:space:]]Language[[:space:]]Model[[:space:]]Diagnostic[[:space:]]Assistance/9aadb3bf-d9bd-45de-bc5b-b41fcd446aae_origin.pdf filter=lfs diff=lfs merge=lfs -text
4074
+ 2024/EDISON_[[:space:]]Enhanced[[:space:]]Dictionary-Induced[[:space:]]Tensorized[[:space:]]Incomplete[[:space:]]Multi-View[[:space:]]Clustering[[:space:]]with[[:space:]]Gaussian[[:space:]]Error[[:space:]]Rank[[:space:]]Minimization/d6862a2a-d0c0-474e-9151-abd5b2701fe1_origin.pdf filter=lfs diff=lfs merge=lfs -text
4075
+ 2024/EE-LLM_[[:space:]]Large-Scale[[:space:]]Training[[:space:]]and[[:space:]]Inference[[:space:]]of[[:space:]]Early-Exit[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]with[[:space:]]3D[[:space:]]Parallelism/6b3c5f36-ee49-49ee-8349-7a7d01727758_origin.pdf filter=lfs diff=lfs merge=lfs -text
4076
+ 2024/ELF_[[:space:]]Encoding[[:space:]]Speaker-Specific[[:space:]]Latent[[:space:]]Speech[[:space:]]Feature[[:space:]]for[[:space:]]Speech[[:space:]]Synthesis/4c626f5a-27cf-4413-9ed8-62324ab0e961_origin.pdf filter=lfs diff=lfs merge=lfs -text
4077
+ 2024/ELTA_[[:space:]]An[[:space:]]Enhancer[[:space:]]against[[:space:]]Long-Tail[[:space:]]for[[:space:]]Aesthetics-oriented[[:space:]]Models/12c2d495-8a5e-490d-be4c-2bc2aa7ec532_origin.pdf filter=lfs diff=lfs merge=lfs -text
4078
+ 2024/EMC$^2$_[[:space:]]Efficient[[:space:]]MCMC[[:space:]]Negative[[:space:]]Sampling[[:space:]]for[[:space:]]Contrastive[[:space:]]Learning[[:space:]]with[[:space:]]Global[[:space:]]Convergence/510bf950-10da-4582-ac26-01c3eeae0b9c_origin.pdf filter=lfs diff=lfs merge=lfs -text
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/8b3f40c5-a168-4bc8-857a-06fd4add9835_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f469d3ce19656dadc48b7d0d357753aac0dcabdc5bd3b3b415d07eef8b0adac
3
+ size 1079576
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93e9ee7f58dee3556f41b8a5f3a2c5893d01f646e13f54ee973c4ae177609433
3
+ size 846877
2024/Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_content_list.json ADDED
@@ -0,0 +1,2147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 137,
8
+ 109,
9
+ 834,
10
+ 131
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Deyi Ji $^{12}$ Feng Zhao $^{1}$ Lanyun Zhu $^{3}$ Wenwei Jin $^{2}$ Hongtao Lu $^{4}$ Jieping Ye $^{2}$",
17
+ "bbox": [
18
+ 199,
19
+ 176,
20
+ 767,
21
+ 194
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 241,
31
+ 220,
32
+ 320,
33
+ 236
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "In this paper, we address the challenge of Perspective-Invariant Learning in machine learning and computer vision, which involves enabling a network to understand images from varying perspectives to achieve consistent semantic interpretation. While standard approaches rely on the labor-intensive collection of multi-view images or limited data augmentation techniques, we propose a novel framework, Discrete Latent Perspective Learning (DLPL), for latent multi-perspective fusion learning using conventional single-view images. DLPL comprises three main modules: Perspective Discrete Decomposition (PDD), Perspective Homography Transformation (PHT), and Perspective Invariant Attention (PIA), which work together to discretize visual features, transform perspectives, and fuse multi-perspective semantic information, respectively. DLPL is a universal perspective learning framework applicable to a variety of scenarios and vision tasks. Extensive experiments demonstrate that DLPL significantly enhances the network's capacity to depict images across diverse scenarios (daily photos, UAV,自动驾驶) and tasks (detection, segmentation).",
40
+ "bbox": [
41
+ 117,
42
+ 243,
43
+ 444,
44
+ 607
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1. Introduction",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 86,
54
+ 637,
55
+ 217,
56
+ 652
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "According to the theory of photography (Elkins, 2006; Bengio et al., 2013), image perspective/viewpoint refers to the perception of depth and spatial relationships between objects within an image. In the fields of machine learning and computer vision, current research often employs a variety of methods to enhance networks' Perspective-Invariant Learning (YU2, 2018; LO1, 1997), which involves en",
63
+ "bbox": [
64
+ 84,
65
+ 662,
66
+ 475,
67
+ 770
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "<sup>1</sup>University of Science and Technology of China <sup>2</sup>Alibaba Group <sup>3</sup>Singapore University of Technology and Design <sup>4</sup>Dept. of CSE, MOE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University. Correspondence to: Feng Zhao <fzhao956@ustc.edu.cn>, Jieping Ye <yejieping.ye@alibaba-inc.com>.",
74
+ "bbox": [
75
+ 84,
76
+ 777,
77
+ 473,
78
+ 854
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).",
85
+ "bbox": [
86
+ 84,
87
+ 864,
88
+ 473,
89
+ 905
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Perspective-Oriented Learning: Multi-Perspective/View Dataset Training",
96
+ "bbox": [
97
+ 532,
98
+ 222,
99
+ 854,
100
+ 232
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/e6efa306705331875e4c158ebf3e0bd71fba0257bba7b1459c646f7d06d4edca.jpg",
107
+ "image_caption": [],
108
+ "image_footnote": [],
109
+ "bbox": [
110
+ 544,
111
+ 229,
112
+ 854,
113
+ 305
114
+ ],
115
+ "page_idx": 0
116
+ },
117
+ {
118
+ "type": "image",
119
+ "img_path": "images/35db8da87d1413012f7df611a70317cbf0abbc2c17fac0699b6de18650e9779e.jpg",
120
+ "image_caption": [
121
+ "Perspective-Oriented Learning: Data Augmentation Training"
122
+ ],
123
+ "image_footnote": [],
124
+ "bbox": [
125
+ 511,
126
+ 320,
127
+ 867,
128
+ 405
129
+ ],
130
+ "page_idx": 0
131
+ },
132
+ {
133
+ "type": "image",
134
+ "img_path": "images/4b91a20a03fcde16d56348fd9672913149fc1f4040f301087f3d068aff413907.jpg",
135
+ "image_caption": [
136
+ "Perspective-Oriented Learning: Discrete Latent Perspective Learning",
137
+ "Figure 1. The comparison of perspective-oriented learning methods: Perspective Augmentation, Multi-View Data Training, and the proposed Discrete Latent Perspective Learning."
138
+ ],
139
+ "image_footnote": [],
140
+ "bbox": [
141
+ 504,
142
+ 420,
143
+ 880,
144
+ 513
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "abling the network to learn scene information from different viewpoints and ensuring consistency in semantic learning across these varying perspectives, thus improving the portrayal of semantic information within images<sup>1</sup>. As shown in Figure 1, the most commonly used approaches include: (1) collecting multi-view images of a given scene to conduct multi-view training (Yu et al., 2023), and (2) utilizing data augmentation techniques (Cubuk et al., 2019), such as rotation and flipping, to increase the diversity of perspectives.",
151
+ "bbox": [
152
+ 495,
153
+ 625,
154
+ 888,
155
+ 762
156
+ ],
157
+ "page_idx": 0
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "However, in the former case, the acquisition of multi-view images is significantly more challenging than that of single-view images, since the latter can rely on fixed cameras with a wide range of sources (e.g., Internet, vehicle-mounted cameras, surveillance cameras), whereas multi-view im",
162
+ "bbox": [
163
+ 495,
164
+ 768,
165
+ 888,
166
+ 844
167
+ ],
168
+ "page_idx": 0
169
+ },
170
+ {
171
+ "type": "page_footnote",
172
+ "text": "<sup>1</sup>In this paper, the terms \"perspective\" and \"viewpoint\" are used interchangeably, the former is derived from the theory of photography, while the latter is more commonly employed in general discourse.",
173
+ "bbox": [
174
+ 496,
175
+ 852,
176
+ 887,
177
+ 905
178
+ ],
179
+ "page_idx": 0
180
+ },
181
+ {
182
+ "type": "page_number",
183
+ "text": "1",
184
+ "bbox": [
185
+ 480,
186
+ 922,
187
+ 491,
188
+ 934
189
+ ],
190
+ "page_idx": 0
191
+ },
192
+ {
193
+ "type": "image",
194
+ "img_path": "images/e08a37c08eb421cc7599ea8c8aec134fedd9bbd85f1c4e7b5c35b6c2c3fc53d3.jpg",
195
+ "image_caption": [],
196
+ "image_footnote": [],
197
+ "bbox": [
198
+ 89,
199
+ 84,
200
+ 470,
201
+ 157
202
+ ],
203
+ "page_idx": 1
204
+ },
205
+ {
206
+ "type": "image",
207
+ "img_path": "images/877e84d15de2e2df5211ed654b3a19d993a8db64195a7e206d1a11a1a29a9e65.jpg",
208
+ "image_caption": [
209
+ "Almost parallel to the ground (Angle: close to $90^{\\circ}$ )"
210
+ ],
211
+ "image_footnote": [],
212
+ "bbox": [
213
+ 89,
214
+ 160,
215
+ 470,
216
+ 229
217
+ ],
218
+ "page_idx": 1
219
+ },
220
+ {
221
+ "type": "image",
222
+ "img_path": "images/9617768af39f2f144506850bcbf7838c019703f3809fb5bc4537bb08ab47a1bf.jpg",
223
+ "image_caption": [],
224
+ "image_footnote": [],
225
+ "bbox": [
226
+ 89,
227
+ 244,
228
+ 470,
229
+ 299
230
+ ],
231
+ "page_idx": 1
232
+ },
233
+ {
234
+ "type": "image",
235
+ "img_path": "images/1a0aab368969baa2e82708880e1dd20caa8f126be0364e01108d30f54cdc65cd.jpg",
236
+ "image_caption": [
237
+ "Oblique View (Angle: about $40^{\\circ} \\sim 60^{\\circ}$ )"
238
+ ],
239
+ "image_footnote": [],
240
+ "bbox": [
241
+ 89,
242
+ 316,
243
+ 470,
244
+ 376
245
+ ],
246
+ "page_idx": 1
247
+ },
248
+ {
249
+ "type": "image",
250
+ "img_path": "images/1154b22649af8ab9bc2d6107ad97bdf7655de91e73fdfa2b84e9b92f04210094.jpg",
251
+ "image_caption": [
252
+ "Almost perpendicular to the ground (Angle: close to $0^{\\circ}$ )",
253
+ "Figure 2. The variation in image perspectives in three typical scenarios: auto-driving, UAV flight, and daily photos. UAV images exhibit more diverse and dynamic viewpoints due to variations in flight heights, angles, and other factors. However, these datasets lack multi-view images for a single scene, preventing existing networks from effective perspective-invariant learning of the images."
254
+ ],
255
+ "image_footnote": [],
256
+ "bbox": [
257
+ 89,
258
+ 393,
259
+ 470,
260
+ 465
261
+ ],
262
+ "page_idx": 1
263
+ },
264
+ {
265
+ "type": "text",
266
+ "text": "ages are heavily dependent on manual collection, requiring multi-directional shooting of a scene, which is both time-consuming and labor-intensive. In practice, the costs associated with this method are difficult to justify, and the organization and annotation of multi-view images are also more expensive due to the need to ensure consistency in labeling. In the latter case, data augmentation methods often employ hand-crafted rotation operations to augment image perspectives, aiming to enhance training diversity. However, these operations yield limited performance improvements as they generate similar and rigid results, failing to capture the practical perspective changes encountered in real-world applications, such as Unmanned Aerial Vehicle (UAV) flights, auto-driving and daily photos, as shown in Figure 2.",
267
+ "bbox": [
268
+ 84,
269
+ 611,
270
+ 475,
271
+ 823
272
+ ],
273
+ "page_idx": 1
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "In this paper, we propose to perform latent multi-perspective fusion of Invariant Learning within the discrete feature space, based on conventional single-view images. To achieve this, we present a systematic Discrete Latent Perspective Learning (DLPL) framework, comprising Perspec",
278
+ "bbox": [
279
+ 84,
280
+ 830,
281
+ 478,
282
+ 906
283
+ ],
284
+ "page_idx": 1
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "tive Representation, Transformation, and Multi-Perspective Fusion. Firstly, since perspective lacks a clear formulation in current research, we begin with Perspective Discrete Decomposition (PDD) to discretize the visual feature $^2$ to decompose the latent perspective representation. Following this, in line with photography theory, we treat the perspective as a spatial projection of the image, and transform it to generate new descriptive perspectives with the Perspective Homography Transformation (PHT) module. These new perspectives correspond to alternatives spatial projection of the image. Finally, we integrate both the perspectives for fusion learning, with Perspective Invariant Attention (PIA), to obtain perspective-invariant semantic information of the image, ultimately enhancing the model's ability to depict the image. It is important to note that DLPL is a universal learning framework for image perspectives and applicable broadly to different scenarios (daily photos, UAVs, Autodriving) and various vision tasks (classification, detection, segmentation).",
289
+ "bbox": [
290
+ 496,
291
+ 84,
292
+ 887,
293
+ 372
294
+ ],
295
+ "page_idx": 1
296
+ },
297
+ {
298
+ "type": "text",
299
+ "text": "The overall contributions can be summarized as follows:",
300
+ "bbox": [
301
+ 496,
302
+ 378,
303
+ 870,
304
+ 393
305
+ ],
306
+ "page_idx": 1
307
+ },
308
+ {
309
+ "type": "list",
310
+ "sub_type": "text",
311
+ "list_items": [
312
+ "- DLPL is a general perspective-invariant learning framework that enables multi-perspective fusion learning within latent feature space for single-view images.",
313
+ "- Specifically, DLPL systematically includes key processes such as Perspective Representation (PDD), Perspective Transformation (PHT), and Multi-Perspective fusion (Multi-Level PIA).",
314
+ "- Experiments demonstrate that DLPL achieves impressive results across a wide range of scenarios (daily photos, UAV, Auto-driving) and different vision tasks (detection and segmentation)."
315
+ ],
316
+ "bbox": [
317
+ 516,
318
+ 412,
319
+ 887,
320
+ 599
321
+ ],
322
+ "page_idx": 1
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "2. Related Work",
327
+ "text_level": 1,
328
+ "bbox": [
329
+ 496,
330
+ 630,
331
+ 638,
332
+ 646
333
+ ],
334
+ "page_idx": 1
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "2.1. Scene Understanding",
339
+ "text_level": 1,
340
+ "bbox": [
341
+ 496,
342
+ 656,
343
+ 679,
344
+ 672
345
+ ],
346
+ "page_idx": 1
347
+ },
348
+ {
349
+ "type": "text",
350
+ "text": "In existing visual datasets, changes in the perspective of images are very common and pose numerous challenges to image understanding. Among these, high-altitude scenes, such as those captured by UAVs or satellites, feature particularly rich variations in viewpoints. Initial works on core",
351
+ "bbox": [
352
+ 495,
353
+ 680,
354
+ 887,
355
+ 756
356
+ ],
357
+ "page_idx": 1
358
+ },
359
+ {
360
+ "type": "header",
361
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
362
+ "bbox": [
363
+ 267,
364
+ 56,
365
+ 704,
366
+ 70
367
+ ],
368
+ "page_idx": 1
369
+ },
370
+ {
371
+ "type": "page_footnote",
372
+ "text": "In this paper, we define \"visual feature\" as characteristics extracted directly from input images using conventional CNNs or ViTs, primarily containing visual information and representing the image's semantics. This aligns with the understanding in existing works (Caron et al., 2020; 2018; Jing & Tian, 2020). \"Perspective feature/representation\" refers to features related to the image's perspective, extracted from visual features using our designed Perspective Discrete Decomposition (PDD) module, mainly representing the image's perspective information. Additionally, visual features can be reconstructed from perspective representations through Visual Reconstruction (VR) module.",
373
+ "bbox": [
374
+ 495,
375
+ 765,
376
+ 887,
377
+ 905
378
+ ],
379
+ "page_idx": 1
380
+ },
381
+ {
382
+ "type": "page_number",
383
+ "text": "2",
384
+ "bbox": [
385
+ 480,
386
+ 922,
387
+ 491,
388
+ 934
389
+ ],
390
+ "page_idx": 1
391
+ },
392
+ {
393
+ "type": "image",
394
+ "img_path": "images/089855c1cb1b1b81649d4b4a4e8e323efe5f970ddc6245d9dee9447fb34d88cf.jpg",
395
+ "image_caption": [],
396
+ "image_footnote": [],
397
+ "bbox": [
398
+ 129,
399
+ 80,
400
+ 834,
401
+ 176
402
+ ],
403
+ "page_idx": 2
404
+ },
405
+ {
406
+ "type": "image",
407
+ "img_path": "images/3b5baa157b4130e1774d7880c0c6ba31d3cb236ad8a13b44432b53bc72fcefc5.jpg",
408
+ "image_caption": [
409
+ "Discrete Latent Perspective Learning (DLPL)",
410
+ "Figure 3. The architecture of DLPL framework within a Vision Transformer (ViT) setup, which is divided into an encoder with a Visual Feature Extraction module and four DLPL blocks, and a task-specific decoder. The DLPL block include: (1) Perspective Discrete Decomposition (PDD) module decomposes input visual features $\\mathbf{I}$ into a latent representation $\\mathbf{P}$ ; (2) Visual Reconstruction (VR) module reconstructs visual features from $\\mathbf{P}$ with a loss function $\\mathcal{L}_{rec}$ ; (3) Perspective Embedding Space $\\mathcal{P}$ constructed through EMA, based on $\\mathbf{P}$ ; (4) Perspective Transformation leverages Homography for perspective variation, followed by VR to obtain reconstructed visual features $\\mathbf{I}_{rec}^{\\prime}$ of the transformed perspective $\\mathbf{P}^{\\prime}$ . Finally, Perspective-Invariant Learning fuses the features of the original and transformed perspectives using Perspective-Invariant Attention (PIA) to learn semantic information invariant to perspective changes."
411
+ ],
412
+ "image_footnote": [],
413
+ "bbox": [
414
+ 151,
415
+ 193,
416
+ 831,
417
+ 376
418
+ ],
419
+ "page_idx": 2
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "high-altitude vision tasks like object detection and semantic segmentation (Fu et al., 2022; Ji et al., 2023b;a; Chen et al., 2024b) often adapt network architectures from methods designed for natural scenes to establish baseline results. In contrast, the variations in perspectives within auto-driving (Cordts et al., 2016) and daily photo (Zhou et al., 2017) scenarios are not as pronounced. A plethora of methods have been proposed, including early CNN-based approaches (Chen et al., 2018a; Yuan et al., 2020; Zhu et al., 2021a; Ji et al., 2021; 2022; Hu et al., 2020; Ji et al., 2024a;b; Wang et al., 2021b;a; 2023; Feng et al., 2018; Ji et al., 2019) and recent methodologies based on Vision Transformers (ViTs) (Xie et al., 2021; Zheng et al., 2021; Yu et al., 2022; Carion et al., 2020; Zhu et al., 2023b;c; 2024a), as well as emerging studies on large vision models and multimodal models (Kirillov et al., 2023; Zhu et al., 2023a; Chen et al., 2023b; Zhu et al., 2024b). Nevertheless, economically and effectively addressing the challenges posed by perspective changes remains a difficult issue to be resolved.",
424
+ "bbox": [
425
+ 83,
426
+ 516,
427
+ 475,
428
+ 803
429
+ ],
430
+ "page_idx": 2
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "2.2. Perspective-Oriented Learning",
435
+ "text_level": 1,
436
+ "bbox": [
437
+ 84,
438
+ 820,
439
+ 334,
440
+ 835
441
+ ],
442
+ "page_idx": 2
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Current work on Perspective Learning primarily focuses on data augmentation techniques based on single-view images (Cordts et al., 2016; Zhou et al., 2017) and joint training with multi-view datasets (Yu et al., 2023; Chen et al., 2023a).",
447
+ "bbox": [
448
+ 84,
449
+ 844,
450
+ 475,
451
+ 904
452
+ ],
453
+ "page_idx": 2
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "A substantial body of research on data augmentation techniques (Mumuni & Mumuni, 2022; Cubuk et al., 2019; Chen et al., 2024a) has been conducted in existing works, including earlier strategies based on manual rules and later studies that are based on trained learning approaches. The construction of multi-view datasets is a more recent area of research, which involves capturing scenes and targets from multiple orientations. The creation of such datasets often demands significant human effort, and in tasks requiring fine-grained annotation like segmentation, there is the challenge of maintaining consistency across multiple orientations, that is, ensuring that the fine-grained annotations for the same target from different perspectives have consistent semantic meanings.",
458
+ "bbox": [
459
+ 495,
460
+ 517,
461
+ 888,
462
+ 729
463
+ ],
464
+ "page_idx": 2
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "3. Discrete Latent Perspective Learning",
469
+ "text_level": 1,
470
+ "bbox": [
471
+ 496,
472
+ 748,
473
+ 836,
474
+ 765
475
+ ],
476
+ "page_idx": 2
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "3.1. Top-Down Overview",
481
+ "text_level": 1,
482
+ "bbox": [
483
+ 496,
484
+ 773,
485
+ 674,
486
+ 787
487
+ ],
488
+ "page_idx": 2
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "DLPL is a flexible and systematic framework for enhancing perspective-invariant learning capabilities in both CNNs and ViT networks. Specifically, as shown in Figure 3, taking a general ViT architecture as an example, DLPL can be implemented in the form of Transformer Blocks. The encoder includes a basic Visual Feature Extraction module and four DLPL Blocks. The decoder, on the other hand,",
493
+ "bbox": [
494
+ 495,
495
+ 797,
496
+ 888,
497
+ 902
498
+ ],
499
+ "page_idx": 2
500
+ },
501
+ {
502
+ "type": "header",
503
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
504
+ "bbox": [
505
+ 266,
506
+ 56,
507
+ 705,
508
+ 70
509
+ ],
510
+ "page_idx": 2
511
+ },
512
+ {
513
+ "type": "page_number",
514
+ "text": "3",
515
+ "bbox": [
516
+ 480,
517
+ 922,
518
+ 491,
519
+ 934
520
+ ],
521
+ "page_idx": 2
522
+ },
523
+ {
524
+ "type": "image",
525
+ "img_path": "images/98cfb3ff33355a39c32b2b8ac9b1d21278b19026b63d4c9fe4399f3effddb947.jpg",
526
+ "image_caption": [
527
+ "Figure 4. The illustration of PDD. It takes visual features $\\mathbf{I}$ as input and processes through three key steps: (1) Extraction of perspective prototypes from a point-ness map $\\mathbf{S}$ using spatially structured supporting points; (2) Discretization of the continuous perspective distribution into $M$ levels within the latent feature space; (3) Construction of a statistical perspective graph $\\mathbf{G}$ by encoding the intensity and positional relationships of discretized levels. This process yields the latent perspective feature map $\\mathbf{P}$ ."
528
+ ],
529
+ "image_footnote": [],
530
+ "bbox": [
531
+ 86,
532
+ 82,
533
+ 883,
534
+ 311
535
+ ],
536
+ "page_idx": 3
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "chooses the appropriate structure based on the specific task type (classification/segmentation/detection).",
541
+ "bbox": [
542
+ 84,
543
+ 424,
544
+ 473,
545
+ 454
546
+ ],
547
+ "page_idx": 3
548
+ },
549
+ {
550
+ "type": "text",
551
+ "text": "Extracting Original Perspective Representation (Section 3.2). Within each DLPL Block, given the input visual feature $\\mathbf{I}$ (which contains the original image perspective), we extract the original perspective representation from $\\mathbf{I}$ , by the Perspective Discrete Decomposition (PDD) module.",
552
+ "bbox": [
553
+ 84,
554
+ 460,
555
+ 475,
556
+ 537
557
+ ],
558
+ "page_idx": 3
559
+ },
560
+ {
561
+ "type": "text",
562
+ "text": "Reconstructing Visual Feature (Section 3.3). In order to ensure that the visual feature can be reconstructed from the perspective representation, we design a Visual Reconstruction (VR) module. We constrain $\\mathbf{I}$ and the reconstructed visual feature $\\mathbf{I}_{rec}$ to be equivalent through a loss function $\\mathcal{L}_{rec}$ . This is a self-training process.",
563
+ "bbox": [
564
+ 84,
565
+ 553,
566
+ 475,
567
+ 645
568
+ ],
569
+ "page_idx": 3
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "Perspective Space Construction (Section 3.4). Concurrently, during training, based on the perspective $\\mathbf{P}$ of each image, we can incrementally build the Perspective Embedding Space $\\mathcal{P}$ for the entire dataset. To maintain training stability, we update $\\mathcal{P}$ using an Exponential Moving Average (EMA) method without backpropagating gradients.",
574
+ "bbox": [
575
+ 84,
576
+ 660,
577
+ 475,
578
+ 752
579
+ ],
580
+ "page_idx": 3
581
+ },
582
+ {
583
+ "type": "text",
584
+ "text": "Perspective Transformation (Section 3.5). As the VR's reconstruction ability and $\\mathcal{P}$ become stable, we leverage the spatial Homography properties of image perspective, combined with the distribution of $\\mathcal{P}$ , to transform $\\mathbf{P}$ and obtain another perspective $\\mathbf{P}'$ , of the image. Then, through VR, we obtain the corresponding visual feature $\\mathbf{I}_{rec}^{\\prime}$ of $\\mathbf{P}'$ .",
585
+ "bbox": [
586
+ 84,
587
+ 767,
588
+ 475,
589
+ 859
590
+ ],
591
+ "page_idx": 3
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "Perspective-Invariant Learning (Section 3.6). We fuse the visual feature $\\mathbf{I}$ (with original perspective $\\mathbf{P}$ ) and",
596
+ "bbox": [
597
+ 84,
598
+ 875,
599
+ 475,
600
+ 906
601
+ ],
602
+ "page_idx": 3
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "$\\mathbf{I}_{rec}^{\\prime}$ (with transformed perspective $\\mathbf{P}^{\\prime}$ ) using multi-level Perspective-Invariant Attention (PIA) to learn the network's semantic expression of image information under different perspectives.",
607
+ "bbox": [
608
+ 496,
609
+ 422,
610
+ 885,
611
+ 484
612
+ ],
613
+ "page_idx": 3
614
+ },
615
+ {
616
+ "type": "text",
617
+ "text": "In training, Visual Reconstruction and Perspective Space Construction accompany the entire training process. In contrast, Perspective Transformation training begins after the first two processes stabilize, at the $30\\%$ of the entire training epoch. Perspective-Invariant Learning also occurs throughout the entire training process. During the initial $30\\%$ training epoch, since $\\mathbf{P}'$ is not ready, PIA degenerates to Self-Attention learning solely based on $\\mathbf{P}$ .",
618
+ "bbox": [
619
+ 496,
620
+ 491,
621
+ 885,
622
+ 613
623
+ ],
624
+ "page_idx": 3
625
+ },
626
+ {
627
+ "type": "text",
628
+ "text": "3.2. Perspective Discrete Decomposition",
629
+ "text_level": 1,
630
+ "bbox": [
631
+ 496,
632
+ 628,
633
+ 779,
634
+ 643
635
+ ],
636
+ "page_idx": 3
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "Since perspective lacks a clear formulation in current research, we begin with the PDD module. Drawing from visual features extracted by the previous module, we construct prototypes of image perspectives based on key supporting vectors of the perspective. These are then discretized within the latent feature space and statistically analyzed to decompose the implicit perspective distribution map $\\mathbf{P}$ , as shown in Figure 4.",
641
+ "bbox": [
642
+ 495,
643
+ 652,
644
+ 887,
645
+ 773
646
+ ],
647
+ "page_idx": 3
648
+ },
649
+ {
650
+ "type": "text",
651
+ "text": "Formally, PDD receives the visual feature $\\mathbf{I}^{C\\times H\\times W}$ as input and produces a perspective feature $\\mathbf{P}\\in \\mathbb{R}^{M\\times M\\times C'}$ , where $C,C^{\\prime}$ are the feature channels, $H,W$ are the spatial dimensions, $M$ is the discretization levels. Generally, PDD exploits the explicit well-formulated distribution of structured supporting points which build up the spatial structured prototype to tell the implicit perspective information. In concrete, PDD consists of three procedures:",
652
+ "bbox": [
653
+ 495,
654
+ 779,
655
+ 888,
656
+ 902
657
+ ],
658
+ "page_idx": 3
659
+ },
660
+ {
661
+ "type": "header",
662
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
663
+ "bbox": [
664
+ 266,
665
+ 56,
666
+ 705,
667
+ 70
668
+ ],
669
+ "page_idx": 3
670
+ },
671
+ {
672
+ "type": "page_number",
673
+ "text": "4",
674
+ "bbox": [
675
+ 480,
676
+ 922,
677
+ 491,
678
+ 934
679
+ ],
680
+ "page_idx": 3
681
+ },
682
+ {
683
+ "type": "image",
684
+ "img_path": "images/74dc6099b2d6aef2840e0f6e7f73bb3eba66e6b87ea7e274e0e12a91c33f36b9.jpg",
685
+ "image_caption": [
686
+ "Figure 5. The illustration of Visual Reconstruction (VR). It is essentially the inverse of the PDD process, which reconstructs the visual feature from perspective representation."
687
+ ],
688
+ "image_footnote": [],
689
+ "bbox": [
690
+ 89,
691
+ 80,
692
+ 477,
693
+ 214
694
+ ],
695
+ "page_idx": 4
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "Perspective Prototype Extraction. Besides I, we utilize a pretrained SuperPoint (DeTone et al., 2018) network to extract point-ness map S of the original image, which serve as the supporting structure of image perspective. The theoretical basis behind this motivation stems from related research such as multi-view visual understanding(Ma et al., 2021; Dong et al., 2019; Yaghmur & Ates, 2023), which utilizes the structured spatial information of keypoints as support points to characterize the spatial structure of the image's perspective during actual photography (Zeng et al., 2018; Liu & Li, 2023; Zhang & Hanson, 1996; Li et al., 2020). Next, we apply point-ness attention to I and S to obtain a basic perspective prototype,",
700
+ "bbox": [
701
+ 84,
702
+ 310,
703
+ 475,
704
+ 507
705
+ ],
706
+ "page_idx": 4
707
+ },
708
+ {
709
+ "type": "equation",
710
+ "text": "\n$$\n\\mathbf {F} = \\operatorname {S o f t m a x} (\\frac {\\mathbf {I} \\times \\mathbf {S} ^ {\\top}}{\\sqrt {C}}) \\times \\mathbf {S}, \\tag {1}\n$$\n",
711
+ "text_format": "latex",
712
+ "bbox": [
713
+ 179,
714
+ 517,
715
+ 475,
716
+ 554
717
+ ],
718
+ "page_idx": 4
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "where $\\top$ is the matrix transposition operation. $\\mathbf{F} \\in \\mathbb{R}^{C \\times H \\times W}$ is the perspective-structured visual feature.",
723
+ "bbox": [
724
+ 84,
725
+ 561,
726
+ 473,
727
+ 594
728
+ ],
729
+ "page_idx": 4
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "Discretization. In order to effectively represent perspective within deep neural networks, we firstly perform Discretization on it. Inspired by (Zhu et al., 2021a; Ji et al., 2022), PDD defines $M$ levels by equally dividing $\\mathbf{F}$ in the spatial dimension. Specifically the $m$ -th ( $m \\in [1, M]$ ) level $\\mathbf{L}_m \\in \\mathbb{R}^C$ is computed as:",
734
+ "bbox": [
735
+ 84,
736
+ 609,
737
+ 475,
738
+ 700
739
+ ],
740
+ "page_idx": 4
741
+ },
742
+ {
743
+ "type": "equation",
744
+ "text": "\n$$\n\\mathbf {L} _ {m} = \\frac {m \\cdot \\operatorname* {m a x} (\\mathbf {F}) + (M - m) \\cdot \\operatorname* {m i n} (\\mathbf {F})}{M}. \\tag {2}\n$$\n",
745
+ "text_format": "latex",
746
+ "bbox": [
747
+ 133,
748
+ 710,
749
+ 473,
750
+ 742
751
+ ],
752
+ "page_idx": 4
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "Next, based on $\\mathbf{L}$ , we use $M$ discretization functions to discretize $F$ into an embedding $\\mathbf{D} \\in \\mathbb{R}^{M \\times C \\times H \\times W}$ , where each $\\mathbf{F}_{i,j}(i \\in [1,H], j \\in [1,W])$ is discretized into $\\mathbf{D}_{i,j} \\in \\mathbb{R}^{M \\times C}$ . Specifically,",
757
+ "bbox": [
758
+ 84,
759
+ 752,
760
+ 475,
761
+ 813
762
+ ],
763
+ "page_idx": 4
764
+ },
765
+ {
766
+ "type": "equation",
767
+ "text": "\n$$\n\\mathbf {D} _ {m, i, j} = \\left\\{ \\begin{array}{l l} \\mathbf {e} - \\left| \\mathbf {L} _ {m} - \\mathbf {F} _ {i, j} \\right| \\\\ \\text {i f} \\left| \\mathbf {L} _ {m} - \\mathbf {F} _ {i, j} \\right| < \\frac {\\mathbf {L} _ {m + 1} - \\mathbf {L} _ {m}}{2}, \\\\ \\mathbf {0} & \\text {e l s e} \\end{array} \\right. \\tag {3}\n$$\n",
768
+ "text_format": "latex",
769
+ "bbox": [
770
+ 89,
771
+ 824,
772
+ 475,
773
+ 906
774
+ ],
775
+ "page_idx": 4
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "where $\\mathbf{e} \\in \\mathbb{R}^C$ , $\\mathbf{0} \\in \\mathbb{R}^C$ denote the Unit vector and Zero vector respectively. Note a spireshaped function is used instead of a binary one to ensure that the operation is differentiable. $\\mathbf{D}$ can be viewed as the form of a histogram for perspective distribution. According to the theory of photography, the perspective is related to spatial relationship between objects/pixels within the image. Correspondingly, we encode the spatial pixel co-occurring relationships by:",
780
+ "bbox": [
781
+ 496,
782
+ 83,
783
+ 887,
784
+ 205
785
+ ],
786
+ "page_idx": 4
787
+ },
788
+ {
789
+ "type": "equation",
790
+ "text": "\n$$\n\\hat {\\mathbf {D}} _ {i, j} = \\mathbf {D} _ {i, j} \\mathbf {D} _ {i, j} ^ {\\top}, \\quad \\hat {\\mathbf {L}} = \\left\\{\\hat {\\mathbf {L}} _ {\\hat {m}} \\right\\}, \\tag {4}\n$$\n",
791
+ "text_format": "latex",
792
+ "bbox": [
793
+ 555,
794
+ 215,
795
+ 885,
796
+ 241
797
+ ],
798
+ "page_idx": 4
799
+ },
800
+ {
801
+ "type": "equation",
802
+ "text": "\n$$\n\\hat {m} = [ m _ {1}, m _ {2} ], m _ {1} \\in [ 1, M _ {1} ], m _ {2} \\in [ 1, M _ {2} ],\n$$\n",
803
+ "text_format": "latex",
804
+ "bbox": [
805
+ 542,
806
+ 239,
807
+ 839,
808
+ 255
809
+ ],
810
+ "page_idx": 4
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "where $M_1 = M_2 = M$ , $\\hat{\\mathbf{q}} \\in \\mathbb{R}^{M \\times M \\times C \\times H \\times W}$ is spatial co-occurring perspective histogram, and $\\hat{\\mathbf{L}}$ is the corresponding co-occurring level. $\\top$ indicates matrix transposition.",
815
+ "bbox": [
816
+ 496,
817
+ 266,
818
+ 887,
819
+ 314
820
+ ],
821
+ "page_idx": 4
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Statistical Representation. Further, we construct the perspective graph $\\mathbf{G} \\in \\mathbb{R}^{M \\times M \\times C'}$ by squeezing the spatial dimensions in form of counting the intensity of each level, then encoding with position corresponding relationship (Zhu et al., 2021a; Ji et al., 2022):",
826
+ "bbox": [
827
+ 496,
828
+ 329,
829
+ 887,
830
+ 405
831
+ ],
832
+ "page_idx": 4
833
+ },
834
+ {
835
+ "type": "equation",
836
+ "text": "\n$$\n\\begin{array}{l} \\mathbf {G} _ {\\hat {m}} = \\Phi \\left(\\frac {\\sum_ {i = 1} ^ {H} \\sum_ {j = 1} ^ {W} \\hat {\\mathbf {D}} _ {m , i , j}}{\\sum_ {m _ {1} = 1} ^ {M _ {1}} \\sum_ {m _ {2} = 1} ^ {M _ {2}} \\sum_ {i = 1} ^ {H} \\sum_ {j = 1} ^ {W} \\hat {\\mathbf {D}} _ {m , n , i , j}}\\right) \\tag {5} \\\\ + \\sum_ {i = 1} ^ {H} \\sum_ {j = 1} ^ {W} \\hat {\\mathbf {D}} _ {m _ {1}, m _ {2}, i, j} \\mathrm {P o s \\_ E n c} (i, j)), \\\\ \\end{array}\n$$\n",
837
+ "text_format": "latex",
838
+ "bbox": [
839
+ 519,
840
+ 414,
841
+ 885,
842
+ 503
843
+ ],
844
+ "page_idx": 4
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "where $\\mathrm{Pos\\_Enc}$ indicates the position encoding operation. Cat is the concatenation operation. $\\Phi$ is MLP layer for dimension normalization. As shown in Figure 4, $\\mathbf{G}$ can be viewed as a Perspective Distribution Graph, where the levels $\\{L_1L_1,L_1L_2,\\dots,L_{M - 1}L_M,L ML_M\\}$ are nodes. Finally, we correlate the perspective graph over all nodes to generate the overall perspective representation $\\mathbf{P}\\in \\mathbb{R}^{M\\times M\\times C'}$ ..",
849
+ "bbox": [
850
+ 496,
851
+ 513,
852
+ 887,
853
+ 619
854
+ ],
855
+ "page_idx": 4
856
+ },
857
+ {
858
+ "type": "equation",
859
+ "text": "\n$$\n\\mathbf {P} = \\underset {\\hat {m}} {\\operatorname {M A}} \\left(\\mathbf {G} _ {\\hat {m}}\\right), \\tag {6}\n$$\n",
860
+ "text_format": "latex",
861
+ "bbox": [
862
+ 635,
863
+ 631,
864
+ 885,
865
+ 652
866
+ ],
867
+ "page_idx": 4
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "where $\\mathrm{MA}(\\cdot)$ indicate performing multi-head attention over all $\\hat{m}$ levels. By decomposing in form of discrete graph in latent embedding space, $\\mathbf{P}$ is formulated as pointness-structure-aware thus able to represent the overall perspective information of the image.",
872
+ "bbox": [
873
+ 496,
874
+ 664,
875
+ 887,
876
+ 744
877
+ ],
878
+ "page_idx": 4
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "3.3. Visual Reconstruction",
883
+ "text_level": 1,
884
+ "bbox": [
885
+ 496,
886
+ 761,
887
+ 687,
888
+ 775
889
+ ],
890
+ "page_idx": 4
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "As illustrated in Section 3.1 and Figure 5, we exploit the VR to reconstruct visual feature $\\mathbf{I}_{rec}$ from the perspective $\\mathbf{P}$ . It is essentially the inverse of the PDD process. Given the input perspective feature $\\mathbf{P}$ , we first restore the spatial dimension using an unsqueeze operation to obtain $\\hat{\\mathbf{D}}' \\in \\mathbb{R}^{M \\times M \\times (C \\times H \\times W)}$ . Furthermore, we perform levelwise aggregation to mutually enhance the restored spatial information in form of multi-head attention. Afterward, we",
895
+ "bbox": [
896
+ 496,
897
+ 784,
898
+ 888,
899
+ 905
900
+ ],
901
+ "page_idx": 4
902
+ },
903
+ {
904
+ "type": "header",
905
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
906
+ "bbox": [
907
+ 266,
908
+ 56,
909
+ 705,
910
+ 70
911
+ ],
912
+ "page_idx": 4
913
+ },
914
+ {
915
+ "type": "page_number",
916
+ "text": "5",
917
+ "bbox": [
918
+ 480,
919
+ 922,
920
+ 491,
921
+ 934
922
+ ],
923
+ "page_idx": 4
924
+ },
925
+ {
926
+ "type": "image",
927
+ "img_path": "images/697eba22500bbde66b20700b85fb197a2ce1aa4cd39f06512f7d321cd44c2ee7.jpg",
928
+ "image_caption": [
929
+ "Mini-batch Perspective $P_{s}$"
930
+ ],
931
+ "image_footnote": [],
932
+ "bbox": [
933
+ 183,
934
+ 84,
935
+ 375,
936
+ 232
937
+ ],
938
+ "page_idx": 5
939
+ },
940
+ {
941
+ "type": "text",
942
+ "text": "embed the discretization levels into the visual feature using a level-wise squeeze method to obtain $\\mathbf{D}' \\in \\mathbb{R}^{C \\times H \\times W}$ , and finally, a transformer decoder is used to reconstruct the final visual feature $\\mathbf{I}_{rec}$ . All the unsqueeze and squeeze processes can be accomplished using simple multi-layer MLPs.",
943
+ "bbox": [
944
+ 84,
945
+ 357,
946
+ 473,
947
+ 434
948
+ ],
949
+ "page_idx": 5
950
+ },
951
+ {
952
+ "type": "text",
953
+ "text": "In order to enable the reconstruction ability (Ji et al., 2023b), we use a reconstruction loss to supervise the decoding process to constrain the structure affinity between $\\mathbf{I}$ and $\\mathbf{I}_{rec}$ ,",
954
+ "bbox": [
955
+ 84,
956
+ 440,
957
+ 475,
958
+ 486
959
+ ],
960
+ "page_idx": 5
961
+ },
962
+ {
963
+ "type": "equation",
964
+ "text": "\n$$\n\\mathcal {L} _ {r e c} = \\left\\| \\mathbf {I} ^ {\\top} \\mathbf {I} - \\mathbf {I} _ {r e c} ^ {\\top} \\mathbf {I} _ {r e c} \\right\\| _ {2}. \\tag {7}\n$$\n",
965
+ "text_format": "latex",
966
+ "bbox": [
967
+ 179,
968
+ 494,
969
+ 473,
970
+ 513
971
+ ],
972
+ "page_idx": 5
973
+ },
974
+ {
975
+ "type": "text",
976
+ "text": "3.4. Perspective Embedding Space",
977
+ "text_level": 1,
978
+ "bbox": [
979
+ 84,
980
+ 541,
981
+ 328,
982
+ 556
983
+ ],
984
+ "page_idx": 5
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "Based on the decomposed perspective representation $\\mathbf{P}$ , we define a learnable latent perspective embedding space $\\mathcal{P} \\in \\mathbb{R}^{K \\times (M \\times M \\times C')} = \\{\\mathcal{P}_k \\in \\mathbb{R}^{M \\times M \\times C'}\\}(k \\in [1, K])$ , where $K$ is the size of the latent space. As shown in Figure 6, in training, we update $\\mathcal{P}$ as function of exponential moving average (EMA) of the coming mini-batch perspective representations $\\mathbf{Ps}$ from PDD:",
989
+ "bbox": [
990
+ 84,
991
+ 565,
992
+ 475,
993
+ 670
994
+ ],
995
+ "page_idx": 5
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "For each $\\mathbf{P}$ in minibatch $\\mathbf{Ps}$ ,",
1000
+ "bbox": [
1001
+ 106,
1002
+ 681,
1003
+ 325,
1004
+ 695
1005
+ ],
1006
+ "page_idx": 5
1007
+ },
1008
+ {
1009
+ "type": "equation",
1010
+ "text": "\n$$\n\\mathcal {P} _ {k} := \\left\\{ \\begin{array}{c c} \\alpha \\mathcal {P} _ {k} + (1 - \\alpha) \\mathbf {P} & \\\\ \\text {i f} \\quad \\underset {k} {\\arg \\min } | | \\mathcal {P} _ {k} - \\mathbf {P} | | _ {2} = k, \\\\ \\mathcal {P} _ {k} & \\text {e l s e} \\end{array} , \\right. \\tag {8}\n$$\n",
1011
+ "text_format": "latex",
1012
+ "bbox": [
1013
+ 104,
1014
+ 700,
1015
+ 473,
1016
+ 765
1017
+ ],
1018
+ "page_idx": 5
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "where $\\alpha$ is the moving weight and we find $\\alpha = 0.9$ to work well in practice.",
1023
+ "bbox": [
1024
+ 84,
1025
+ 773,
1026
+ 473,
1027
+ 805
1028
+ ],
1029
+ "page_idx": 5
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "Then, we can obtain the overall perspective distribution of the whole dataset in form of Gaussian Mixed Model (GMM) over $\\mathcal{P}$ , as,",
1034
+ "bbox": [
1035
+ 84,
1036
+ 811,
1037
+ 475,
1038
+ 858
1039
+ ],
1040
+ "page_idx": 5
1041
+ },
1042
+ {
1043
+ "type": "equation",
1044
+ "text": "\n$$\np = \\sum_ {k = 1} ^ {K} \\pi_ {k} \\mathcal {N} \\left(\\mathcal {P} _ {k}, \\boldsymbol {\\Sigma} _ {k}\\right), \\quad \\sum_ {k = 1} ^ {K} \\pi_ {k} = 1, \\quad 0 \\leq \\pi_ {k} \\leq 1, \\tag {9}\n$$\n",
1045
+ "text_format": "latex",
1046
+ "bbox": [
1047
+ 96,
1048
+ 866,
1049
+ 475,
1050
+ 909
1051
+ ],
1052
+ "page_idx": 5
1053
+ },
1054
+ {
1055
+ "type": "image",
1056
+ "img_path": "images/00ea57055d6c20bfe4988a1d9848800eac163d3e6fb842d17b48d59973a29707.jpg",
1057
+ "image_caption": [
1058
+ "Figure 6. The illustration of the construction of Perspective Embedding Space $\\mathcal{P}$ , where $K$ is the size of $\\mathcal{P}$ and $\\mathcal{P}_k$ is the $k$ -th embedding in $\\mathcal{P}$ ( $k \\in [1, K]$ ). In training, we update $\\mathcal{P}$ as a function of the exponential moving average (EMA) of the incoming mini-batch perspective $\\mathbf{Ps}$ from PDD.",
1059
+ "Figure 7. The illustration of PHT. Based on the characteristics of projection transformation, we transform the original perspective $\\mathbf{P}$ to generate another descriptive perspective $\\mathbf{P}'$ , which corresponds to an alternative spatial projection of the image."
1060
+ ],
1061
+ "image_footnote": [],
1062
+ "bbox": [
1063
+ 501,
1064
+ 82,
1065
+ 885,
1066
+ 290
1067
+ ],
1068
+ "page_idx": 5
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "where $\\mathcal{N}(\\cdot)$ indicates the Gaussian Distribution, the $k$ -th component of GMM has the center of $\\mathcal{P}^k$ with the variance of $\\Sigma_k$ , and $\\pi_k$ is the mixture coefficient.",
1073
+ "bbox": [
1074
+ 496,
1075
+ 398,
1076
+ 885,
1077
+ 444
1078
+ ],
1079
+ "page_idx": 5
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "3.5. Perspective Homography Transformation",
1084
+ "text_level": 1,
1085
+ "bbox": [
1086
+ 496,
1087
+ 460,
1088
+ 821,
1089
+ 476
1090
+ ],
1091
+ "page_idx": 5
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "In line with photography theory (Elkins, 2006), we treat the perspective $\\mathbf{P}$ as a spatial projection of the image (Malis & Vargas Villanueva, 2007). Based on the characteristics of projection transformation, we transform the perspective to generate another descriptive perspective $\\mathbf{P}'$ , which corresponds to an alternative spatial projection of the image. Based on Homography concept (Kriegman, 2007), the original perspective $\\mathbf{P}$ and the transformed perspective $\\mathbf{P}'$ form a Homography, and this transformation can be realized with a Homography matrix.",
1096
+ "bbox": [
1097
+ 495,
1098
+ 484,
1099
+ 887,
1100
+ 635
1101
+ ],
1102
+ "page_idx": 5
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "As shown in Figure 7, in concrete, we generate a close semantic-related transformation $\\mathbf{P}'$ of the original perspective $\\mathbf{P}$ , by leveraging the all the perspective distribution and performing Homography transformation:",
1107
+ "bbox": [
1108
+ 495,
1109
+ 642,
1110
+ 887,
1111
+ 704
1112
+ ],
1113
+ "page_idx": 5
1114
+ },
1115
+ {
1116
+ "type": "equation",
1117
+ "text": "\n$$\n\\begin{array}{l} \\mathbf {P} ^ {\\prime} = \\mathbf {H} (\\mathbf {P}, \\mathcal {P}) \\mathbf {P} = \\sum_ {k = 1} ^ {K} H (\\mathbf {P}, \\mathcal {P} _ {k}) p (\\mathbf {P}) \\tag {10} \\\\ = \\sum_ {k = 1} ^ {K} \\pi_ {n} \\mathcal {N} (\\mathbf {P} | \\mathcal {P} _ {k}, \\boldsymbol {\\Sigma} _ {k}) H (\\mathbf {P}, \\mathcal {P} _ {k}), \\\\ \\end{array}\n$$\n",
1118
+ "text_format": "latex",
1119
+ "bbox": [
1120
+ 557,
1121
+ 712,
1122
+ 885,
1123
+ 797
1124
+ ],
1125
+ "page_idx": 5
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "where $\\mathbf{H}(\\mathbf{P},\\mathcal{P})$ is the Homography Matrix of the original perspective $\\mathbf{P}$ over all the perspective embedding space $\\mathcal{P}$ , and calculated by the sum of Homography Matrix of $\\mathbf{P}$ over each $\\mathcal{P}_k$ in the space, that is, $\\sum_{k=1}^{K} H(\\mathbf{P},\\mathcal{P}_k)$ . $H(\\mathbf{P},\\mathcal{P}_k)$ indicates the estimation of Homography matrix between $\\mathbf{P}$ and $\\mathcal{P}_k$ . Mathematically, Homography matrix can represent",
1130
+ "bbox": [
1131
+ 495,
1132
+ 814,
1133
+ 887,
1134
+ 906
1135
+ ],
1136
+ "page_idx": 5
1137
+ },
1138
+ {
1139
+ "type": "header",
1140
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
1141
+ "bbox": [
1142
+ 266,
1143
+ 56,
1144
+ 705,
1145
+ 70
1146
+ ],
1147
+ "page_idx": 5
1148
+ },
1149
+ {
1150
+ "type": "page_number",
1151
+ "text": "6",
1152
+ "bbox": [
1153
+ 480,
1154
+ 922,
1155
+ 491,
1156
+ 934
1157
+ ],
1158
+ "page_idx": 5
1159
+ },
1160
+ {
1161
+ "type": "table",
1162
+ "img_path": "images/937e93d354013f7ff5be23db9f08b6b211119d75028184b0c314263f9ed691b4.jpg",
1163
+ "table_caption": [
1164
+ "Table 1. The scenes, datasets and task settings in our experiments."
1165
+ ],
1166
+ "table_footnote": [],
1167
+ "table_body": "<table><tr><td>Scenes</td><td>Semantic Segmentation</td><td>Object Detection</td></tr><tr><td>Auto-Driving</td><td>Cityscapes (Cordts et al., 2016)</td><td>-</td></tr><tr><td>UAV</td><td>UDD6 (Chen et al., 2018b) iSAID (Waqas Zamir et al., 2019) UAVid (Lyu et al., 2020) Aeroscapes (Nigam et al., 2018) DroneSeg</td><td>VisDrone (Zhu et al., 2021b) UAVDT (Wu et al., 2021)</td></tr><tr><td>Daily Photos</td><td>ADE20K (Zhou et al., 2017)</td><td>-</td></tr></table>",
1168
+ "bbox": [
1169
+ 86,
1170
+ 107,
1171
+ 470,
1172
+ 209
1173
+ ],
1174
+ "page_idx": 6
1175
+ },
1176
+ {
1177
+ "type": "table",
1178
+ "img_path": "images/6380e8b234752610f9db807074372ad3614740a489e34001a998fdea815b7e73.jpg",
1179
+ "table_caption": [
1180
+ "Table 2. UAV Scene Segmentation: Comparison with state-of-the-art on UDD6, iSAID, UAVid, Aeroscapes and our proposed DroneSeg datasets."
1181
+ ],
1182
+ "table_footnote": [],
1183
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Param.</td><td colspan=\"5\">mIoU (%)</td></tr><tr><td>UDD6</td><td>iSAID</td><td>UAVid</td><td>Aeroscapes</td><td>DroneSeg</td></tr><tr><td>Deeplab</td><td>63M</td><td>71.84</td><td>59.20</td><td>56.82</td><td>51.40</td><td>38.69</td></tr><tr><td>OCR_W48</td><td>70M</td><td>73.37</td><td>62.73</td><td>63.10</td><td>58.19</td><td>43.10</td></tr><tr><td>PSPNet</td><td>67M</td><td>72.95</td><td>60.30</td><td>58.20</td><td>57.98</td><td>37.03</td></tr><tr><td>FarSeg</td><td>-</td><td>-</td><td>63.70</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PFNet</td><td>-</td><td>-</td><td>66.90</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SCO</td><td>-</td><td>-</td><td>69.10</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SETR</td><td>318.3M</td><td>68.00</td><td>62.77</td><td>58.52</td><td>50.34</td><td>48.23</td></tr><tr><td>UperNet</td><td>234.0M</td><td>73.13</td><td>66.45</td><td>61.91</td><td>64.32</td><td>53.34</td></tr><tr><td>PoolFormer</td><td>77.1M</td><td>74.54</td><td>65.55</td><td>61.73</td><td>62.27</td><td>53.94</td></tr><tr><td>SegFormer</td><td>84.7M</td><td>74.28</td><td>67.19</td><td>62.01</td><td>66.40</td><td>55.33</td></tr><tr><td>DLPL (SETR)</td><td>321.1M</td><td>72.62</td><td>65.45</td><td>60.23</td><td>55.02</td><td>52.94</td></tr><tr><td>DLPL (UperNet)</td><td>236.8M</td><td>76.00</td><td>68.81</td><td>63.27</td><td>66.25</td><td>56.10</td></tr><tr><td>DLPL (PoolFormer)</td><td>79.9M</td><td>75.98</td><td>68.57</td><td>64.02</td><td>65.03</td><td>56.44</td></tr><tr><td>DLPL (SegFormer)</td><td>87.5M</td><td>76.88</td><td>70.60</td><td>65.30</td><td>68.22</td><td>59.10</td></tr></table>",
1184
+ "bbox": [
1185
+ 86,
1186
+ 282,
1187
+ 480,
1188
+ 531
1189
+ ],
1190
+ "page_idx": 6
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "the coordinates transformation from one perspective plane to another. In our formulation, $\\mathbf{P}$ and $\\mathcal{P}_k$ act as two perspective planes, thus $H(\\mathbf{P},\\mathcal{P}_k)$ can characterize the perspective transformation from $\\mathbf{P}$ to $\\mathcal{P}_k$ .",
1195
+ "bbox": [
1196
+ 84,
1197
+ 566,
1198
+ 473,
1199
+ 626
1200
+ ],
1201
+ "page_idx": 6
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Finally, we can obtain the corresponding visual feature $\\mathbf{I}_{rec}^{\\prime}$ with the transformed perspective $\\mathbf{P}^{\\prime}$ , by applying the Visual Reconstruction (VR) module to $\\mathbf{P}^{\\prime}$ .",
1206
+ "bbox": [
1207
+ 84,
1208
+ 633,
1209
+ 473,
1210
+ 679
1211
+ ],
1212
+ "page_idx": 6
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "3.6. Perspective-Invariant Learning",
1217
+ "text_level": 1,
1218
+ "bbox": [
1219
+ 84,
1220
+ 695,
1221
+ 338,
1222
+ 710
1223
+ ],
1224
+ "page_idx": 6
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "By the PHT and VR, we obtain the semantic-related perspective-transformed visual feature $\\mathbf{I}_{rec}^{\\prime}$ for the original visual feature $\\mathbf{I}$ . As seen that $\\mathbf{I}$ and $\\mathbf{I}_{rec}^{\\prime}$ contain closely identical scene context and semantic information yet differ in perspective. Next, they are aggregated by the multi-level Perspective Invariant Attention (PIA) to leverage the relationship between the $\\mathbf{I}$ (with original perspective $\\mathbf{P}$ ) and $\\mathbf{I}_{rec}^{\\prime}$ (with transformed perspective $\\mathbf{P}^{\\prime}$ ). Formally, PIA is formulated as a cross-attention manner (Chen et al., 2021):",
1229
+ "bbox": [
1230
+ 84,
1231
+ 719,
1232
+ 475,
1233
+ 854
1234
+ ],
1235
+ "page_idx": 6
1236
+ },
1237
+ {
1238
+ "type": "equation",
1239
+ "text": "\n$$\n\\operatorname {P I A} \\left(\\mathbf {I}, \\mathbf {I} _ {r e c} ^ {\\prime}\\right) = \\operatorname {S o f t m a x} \\left(\\frac {\\mathbf {I} \\times \\mathbf {I} _ {r e c} ^ {\\prime \\top}}{\\sqrt {C}}\\right) \\times \\mathbf {I} _ {r e c} ^ {\\prime}. \\tag {11}\n$$\n",
1240
+ "text_format": "latex",
1241
+ "bbox": [
1242
+ 122,
1243
+ 875,
1244
+ 475,
1245
+ 909
1246
+ ],
1247
+ "page_idx": 6
1248
+ },
1249
+ {
1250
+ "type": "table",
1251
+ "img_path": "images/231eef952e5bff40aefc41ac8923727c57129e656badcc8e897c8702eda89991.jpg",
1252
+ "table_caption": [
1253
+ "Table 3. UAV Scene Detection: Comparison with state-of-the-arts on VisDrone and UAVDT datasets."
1254
+ ],
1255
+ "table_footnote": [],
1256
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">VisDrone-dev</td><td colspan=\"3\">UAVDT-test</td></tr><tr><td>AP</td><td>\\(AP_{50}\\)</td><td>\\(AP_{75}\\)</td><td>AP</td><td>\\(AP_{50}\\)</td><td>\\(AP_{75}\\)</td></tr><tr><td>Dynamic R-CNN</td><td>13.70</td><td>24.70</td><td>13.50</td><td>57.60</td><td>65.30</td><td>64.6</td></tr><tr><td>RetinaNet</td><td>18.94</td><td>31.67</td><td>20.25</td><td>33.95</td><td>-</td><td>-</td></tr><tr><td>FRCNN(PVT2-B0)</td><td>19.40</td><td>31.80</td><td>20.80</td><td>60.80</td><td>71.50</td><td>69.8</td></tr><tr><td>RefineDet</td><td>19.89</td><td>37.27</td><td>20.18</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DetNet</td><td>20.07</td><td>37.54</td><td>21.26</td><td>-</td><td>-</td><td>-</td></tr><tr><td>FPN</td><td>22.06</td><td>39.57</td><td>22.50</td><td>49.05</td><td>-</td><td>-</td></tr><tr><td>Light-RCNN</td><td>22.08</td><td>39.56</td><td>23.24</td><td>-</td><td>-</td><td>-</td></tr><tr><td>FRCNN(ResNet-50)</td><td>22.40</td><td>37.20</td><td>23.70</td><td>55.70</td><td>69.80</td><td>66.90</td></tr><tr><td>CornerNet</td><td>23.43</td><td>41.18</td><td>25.02</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Cascade-RCNN</td><td>25.20</td><td>40.10</td><td>26.80</td><td>61.50</td><td>73.50</td><td>71.70</td></tr><tr><td>DETR</td><td>24.32</td><td>40.67</td><td>25.89</td><td>61.10</td><td>73.41</td><td>71.20</td></tr><tr><td>Deformable DETR</td><td>26.28</td><td>43.02</td><td>27.90</td><td>62.99</td><td>76.32</td><td>73.78</td></tr><tr><td>Sparse DETR</td><td>26.98</td><td>44.30</td><td>28.70</td><td>63.21</td><td>76.81</td><td>74.22</td></tr><tr><td>DLPL (DETR)</td><td>26.45</td><td>43.28</td><td>27.95</td><td>63.36</td><td>76.80</td><td>74.00</td></tr><tr><td>DLPL (Deformable DETR)</td><td>28.00</td><td>45.89</td><td>29.60</td><td>65.07</td><td>78.67</td><td>76.01</td></tr><tr><td>DLPL (Sparse DETR)</td><td>28.75</td><td>46.38</td><td>30.55</td><td>65.57</td><td>79.02</td><td>76.92</td></tr></table>",
1257
+ "bbox": [
1258
+ 500,
1259
+ 119,
1260
+ 880,
1261
+ 391
1262
+ ],
1263
+ "page_idx": 6
1264
+ },
1265
+ {
1266
+ "type": "text",
1267
+ "text": "The fundamental concept is to drive the model to jointly learn perspective-invariant semantic information in the image from multiple distinct viewpoints. Each layer of PIA generates a visual feature containing a new perspective. We cascade multiple layers of PIA and, through repeated perspective-invariant fusion, ultimately enhance the model's robustness to perspective in practical applications (e.g.自动驾驶 or UAV flights).",
1268
+ "bbox": [
1269
+ 495,
1270
+ 417,
1271
+ 887,
1272
+ 537
1273
+ ],
1274
+ "page_idx": 6
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "3.7. Optimization",
1279
+ "text_level": 1,
1280
+ "bbox": [
1281
+ 496,
1282
+ 554,
1283
+ 624,
1284
+ 569
1285
+ ],
1286
+ "page_idx": 6
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "The overall loss $\\mathcal{L}$ is intuitive: the combination of the main task-specific loss $\\mathcal{L}_{task}$ and the reconstruction loss $\\mathcal{L}_{rec}$ :",
1291
+ "bbox": [
1292
+ 495,
1293
+ 578,
1294
+ 885,
1295
+ 609
1296
+ ],
1297
+ "page_idx": 6
1298
+ },
1299
+ {
1300
+ "type": "equation",
1301
+ "text": "\n$$\n\\mathcal {L} = \\mathcal {L} _ {\\text {t a s k}} + \\lambda \\mathcal {L} _ {\\text {r e c}}, \\tag {12}\n$$\n",
1302
+ "text_format": "latex",
1303
+ "bbox": [
1304
+ 620,
1305
+ 621,
1306
+ 885,
1307
+ 636
1308
+ ],
1309
+ "page_idx": 6
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "where $\\lambda$ is the loss weight and set to 0.4.",
1314
+ "bbox": [
1315
+ 496,
1316
+ 648,
1317
+ 767,
1318
+ 664
1319
+ ],
1320
+ "page_idx": 6
1321
+ },
1322
+ {
1323
+ "type": "text",
1324
+ "text": "4. Experiments",
1325
+ "text_level": 1,
1326
+ "bbox": [
1327
+ 496,
1328
+ 684,
1329
+ 630,
1330
+ 700
1331
+ ],
1332
+ "page_idx": 6
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "4.1. Scenes, Datasets, Tasks and Implementation Details",
1337
+ "text_level": 1,
1338
+ "bbox": [
1339
+ 496,
1340
+ 709,
1341
+ 885,
1342
+ 724
1343
+ ],
1344
+ "page_idx": 6
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "DLPL is a general and applicable to a broad range of scenes and tasks. In our experiments, we focus on three types of scenarios (auto-driving, UAV, daily photos) and two fine-grained tasks (segmentation and detection). Furthermore, we concentrate on the more challenging task of segmentation, especially within the UAV scenario due to its rich variety of scene changes. Specifically, given the current lack of a large-scale UAV segmentation benchmark dataset within the field, we propose $\\text{DroneSeg}^3$ , the largest-scale",
1349
+ "bbox": [
1350
+ 495,
1351
+ 732,
1352
+ 885,
1353
+ 869
1354
+ ],
1355
+ "page_idx": 6
1356
+ },
1357
+ {
1358
+ "type": "header",
1359
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
1360
+ "bbox": [
1361
+ 266,
1362
+ 56,
1363
+ 704,
1364
+ 70
1365
+ ],
1366
+ "page_idx": 6
1367
+ },
1368
+ {
1369
+ "type": "page_footnote",
1370
+ "text": "<sup>3</sup>We release the proposed DroneSeg dataset at https://github. com/jankyee/DroneSeg.",
1371
+ "bbox": [
1372
+ 496,
1373
+ 878,
1374
+ 887,
1375
+ 905
1376
+ ],
1377
+ "page_idx": 6
1378
+ },
1379
+ {
1380
+ "type": "page_number",
1381
+ "text": "7",
1382
+ "bbox": [
1383
+ 480,
1384
+ 922,
1385
+ 491,
1386
+ 934
1387
+ ],
1388
+ "page_idx": 6
1389
+ },
1390
+ {
1391
+ "type": "table",
1392
+ "img_path": "images/d29b27d705d16fa85780212c8dfc810935bd63c28cbdc55c40729628384cab6f.jpg",
1393
+ "table_caption": [
1394
+ "Table 4. Auto-Driving and Daily photos Segmentation: Comparison with state-of-the-arts on Cityscapes and ADE20K datasets."
1395
+ ],
1396
+ "table_footnote": [],
1397
+ "table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Backbone</td><td rowspan=\"2\">Pram.</td><td colspan=\"2\">mIoU(%)</td></tr><tr><td>Cityscapes val</td><td>ADE20K val</td></tr><tr><td>FCN</td><td>ResNet-101</td><td>68.6M</td><td>76.6</td><td>41.4</td></tr><tr><td>EncNet</td><td>ResNet-101</td><td>55.1M</td><td>76.9</td><td>44.7</td></tr><tr><td>PSPNet</td><td>ResNet-101</td><td>68.1M</td><td>78.5</td><td>44.4</td></tr><tr><td>CCNet</td><td>ResNet-101</td><td>68.9M</td><td>80.2</td><td>45.2</td></tr><tr><td>DeeplabV3+</td><td>ResNet-101</td><td>62.7M</td><td>80.9</td><td>44.1</td></tr><tr><td>OCRNet</td><td>HRNet-W48</td><td>70.5M</td><td>81.1</td><td>45.6</td></tr><tr><td>SETR</td><td>ViT-Large</td><td>318.3M</td><td>82.2</td><td>50.2</td></tr><tr><td>Segmenter</td><td>ViT-Large</td><td>307.0M</td><td>80.7</td><td>52.2</td></tr><tr><td>SegFormer</td><td>MiT-B4</td><td>64.1M</td><td>83.8</td><td>51.1</td></tr><tr><td>SegFormer</td><td>MiT-B5</td><td>84.7M</td><td>84.0</td><td>51.8</td></tr><tr><td>DLPL (SETR)</td><td>ViT-Large</td><td>321.1M</td><td>83.9</td><td>53.1</td></tr><tr><td>DLPL (Segmenter)</td><td>ViT-Large</td><td>309.8M</td><td>82.3</td><td>53.5</td></tr><tr><td>DLPL (SegFormer)</td><td>MiT-B4</td><td>66.9M</td><td>85.0</td><td>53.5</td></tr><tr><td>DLPL (SegFormer)</td><td>MiT-B5</td><td>87.5M</td><td>85.1</td><td>53.7</td></tr></table>",
1398
+ "bbox": [
1399
+ 86,
1400
+ 121,
1401
+ 477,
1402
+ 390
1403
+ ],
1404
+ "page_idx": 7
1405
+ },
1406
+ {
1407
+ "type": "text",
1408
+ "text": "and semantically richest fine-grained annotated UAV segmentation dataset, to date.",
1409
+ "bbox": [
1410
+ 88,
1411
+ 441,
1412
+ 473,
1413
+ 470
1414
+ ],
1415
+ "page_idx": 7
1416
+ },
1417
+ {
1418
+ "type": "text",
1419
+ "text": "In all experiments, we adopt the MMSegmentation (MMSegmentation, 2020) and MMDetection (Chen et al., 2019) toolboxes as codebases and follow the default basic configurations. In DLPL block, we employ the pretrained and SuperPoint parameters in (DeTone et al., 2018) and froze them in PDD. In our experiments, we incorporate DLPL with various representative ViT segmentors and detectors.",
1420
+ "bbox": [
1421
+ 88,
1422
+ 479,
1423
+ 473,
1424
+ 584
1425
+ ],
1426
+ "page_idx": 7
1427
+ },
1428
+ {
1429
+ "type": "text",
1430
+ "text": "4.2. Comparison with State-of-the-Arts",
1431
+ "text_level": 1,
1432
+ "bbox": [
1433
+ 88,
1434
+ 602,
1435
+ 359,
1436
+ 616
1437
+ ],
1438
+ "page_idx": 7
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "4.2.1.UAVSCENE",
1443
+ "text_level": 1,
1444
+ "bbox": [
1445
+ 88,
1446
+ 625,
1447
+ 220,
1448
+ 638
1449
+ ],
1450
+ "page_idx": 7
1451
+ },
1452
+ {
1453
+ "type": "text",
1454
+ "text": "Compared to the other two types of scenarios, UAVs present more challenging perspective understanding due to the rich variety of perspective changes caused by real-time movement and deviation during flight. Therefore, segmentation and detection in UAV scenarios become the focus of our experiments. As shown in Tables 2 and 3, we apply DLPL to the currently advanced ViT networks and achieve significant performance improvements in segmentation and detection with less than 3M additional parameters. Specifically, on our newly proposed DroneSeg dataset, which presents the level of challenge to date, we achieve the highest improvement of nearly $5\\%$ over four types of plain ViT. In the UAV detection scenario, where objects are relatively sparse, we also achieve an improvement of nearly $3\\%$ over various plain ViT detectors. This consistent performance enhancement directly confirms the effectiveness, generality, and robustness of our proposed DLPL.",
1455
+ "bbox": [
1456
+ 88,
1457
+ 648,
1458
+ 473,
1459
+ 904
1460
+ ],
1461
+ "page_idx": 7
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "text": "Table 5. The comparison of DLPL with other perspective-oriented learning methods (data augmentation). Perspective-Vertical and Perspective-Horizontal means adjusting perspectives in vertical and horizontal directions, and are implemented by the default \"torchvisiontransforms\" interfaces in PyTorch (Paszke et al., 2019) For each naive augmentation, we try multiple magnitudes and find the best performance, for fair comparisons.",
1466
+ "bbox": [
1467
+ 500,
1468
+ 93,
1469
+ 883,
1470
+ 189
1471
+ ],
1472
+ "page_idx": 7
1473
+ },
1474
+ {
1475
+ "type": "table",
1476
+ "img_path": "images/0b4d69840a229d9ed8783781eaccdc0e2d6bad09a49ac36d492acbff0b8a218c.jpg",
1477
+ "table_caption": [],
1478
+ "table_footnote": [],
1479
+ "table_body": "<table><tr><td colspan=\"2\">Perspective-Oriented Learning Method</td><td>mIoU (%)</td></tr><tr><td colspan=\"2\">Baseline (SegFormer w/o data augmentation)</td><td>52.03</td></tr><tr><td rowspan=\"5\">Naive Augmentation</td><td>+ Random Rotate</td><td>52.94</td></tr><tr><td>+ Random Scale</td><td>53.09</td></tr><tr><td>+ Random Perspective-Vertical</td><td>53.56</td></tr><tr><td>+ Random Perspective-Horizontal</td><td>53.42</td></tr><tr><td>+ Random Combination</td><td>55.33</td></tr><tr><td colspan=\"2\">AutoAugmentation (Cubuk et al., 2019)</td><td>55.80</td></tr><tr><td colspan=\"2\">DLPL (SegFormer w/o data augmentation)</td><td>58.67</td></tr><tr><td colspan=\"2\">DLPL (SegFormer + Random Combination)</td><td>59.10</td></tr><tr><td colspan=\"2\">DLPL (SegFormer + AutoAugmentation)</td><td>59.09</td></tr></table>",
1480
+ "bbox": [
1481
+ 500,
1482
+ 189,
1483
+ 885,
1484
+ 369
1485
+ ],
1486
+ "page_idx": 7
1487
+ },
1488
+ {
1489
+ "type": "text",
1490
+ "text": "4.2.2. AUTO-DRIVING AND DAILY PHOTOS",
1491
+ "text_level": 1,
1492
+ "bbox": [
1493
+ 500,
1494
+ 426,
1495
+ 800,
1496
+ 440
1497
+ ],
1498
+ "page_idx": 7
1499
+ },
1500
+ {
1501
+ "type": "text",
1502
+ "text": "These two scenes typically also encompass various shooting perspectives. To further validate the universality of DLPL, we conduct experimental verifications within these two types of scenes as well. Specifically, we focused primarily on the segmentation task whose performance is more evidently affected by perspective changes. As shown in Table 4, ViT detectors integrated with DLPL achieve highest performance increases of $3\\%$ compared to the plain ViT detectors.",
1503
+ "bbox": [
1504
+ 500,
1505
+ 449,
1506
+ 885,
1507
+ 583
1508
+ ],
1509
+ "page_idx": 7
1510
+ },
1511
+ {
1512
+ "type": "text",
1513
+ "text": "4.3. Ablation Study",
1514
+ "text_level": 1,
1515
+ "bbox": [
1516
+ 500,
1517
+ 602,
1518
+ 635,
1519
+ 616
1520
+ ],
1521
+ "page_idx": 7
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "We perform ablation studies on semantic segmentation on DroneSeg test set, SegFormer is used as baseline network.",
1526
+ "bbox": [
1527
+ 500,
1528
+ 626,
1529
+ 883,
1530
+ 655
1531
+ ],
1532
+ "page_idx": 7
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "4.3.1. THE EFFICACY OF DLPL",
1537
+ "text_level": 1,
1538
+ "bbox": [
1539
+ 500,
1540
+ 671,
1541
+ 720,
1542
+ 684
1543
+ ],
1544
+ "page_idx": 7
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "text": "As discussed in Section 2, as one type of perspective-oriented learning, we compare DLPL with the various ordinary perspective augmentation techniques. We notice that in all the scenes, the perspective changes are almost always related to the flying height and angles, which can be reflected on the scales, rotations, perspective-vertical and perspective-horizontal augmentations. So, we use the combination of these data augmentation methods for the comparison with DLPL. Extensively, we also include the auto-augmentation techniques (Cubuk et al., 2019) to further support our claims. As shown in Table 5, DLPL shows more potentials than both naive and auto augmentations. We also show that DLPL is still adaptive to the ordinary data augmentation to obtain further improvements.",
1549
+ "bbox": [
1550
+ 500,
1551
+ 694,
1552
+ 885,
1553
+ 904
1554
+ ],
1555
+ "page_idx": 7
1556
+ },
1557
+ {
1558
+ "type": "header",
1559
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
1560
+ "bbox": [
1561
+ 267,
1562
+ 56,
1563
+ 704,
1564
+ 70
1565
+ ],
1566
+ "page_idx": 7
1567
+ },
1568
+ {
1569
+ "type": "page_number",
1570
+ "text": "8",
1571
+ "bbox": [
1572
+ 480,
1573
+ 922,
1574
+ 491,
1575
+ 934
1576
+ ],
1577
+ "page_idx": 7
1578
+ },
1579
+ {
1580
+ "type": "table",
1581
+ "img_path": "images/14cf263cf455ac89605b0144f25b49127d9f2d9cfd3e9d34764231494839603b.jpg",
1582
+ "table_caption": [
1583
+ "Table 6. The significance of PDD by comparing it with ordinary perspective representation."
1584
+ ],
1585
+ "table_footnote": [],
1586
+ "table_body": "<table><tr><td>Perspective Representation</td><td>mIoU (%)</td></tr><tr><td>Ordinary Transformer Network</td><td>57.07</td></tr><tr><td>Directly using F</td><td>55.91</td></tr><tr><td>PDD</td><td>59.10</td></tr></table>",
1587
+ "bbox": [
1588
+ 135,
1589
+ 121,
1590
+ 419,
1591
+ 195
1592
+ ],
1593
+ "page_idx": 8
1594
+ },
1595
+ {
1596
+ "type": "table",
1597
+ "img_path": "images/9c50c8a7c8975ec55797352db8ad2584a1108808a7d32a43d477c9f0292701c2.jpg",
1598
+ "table_caption": [
1599
+ "Table 7. The effectiveness of PHT by comparing with ordinary perspective transformation methods."
1600
+ ],
1601
+ "table_footnote": [],
1602
+ "table_body": "<table><tr><td>Perspective Transformation</td><td>mIoU (%)</td></tr><tr><td>KNN</td><td>56.57</td></tr><tr><td>Momentum Update</td><td>56.01</td></tr><tr><td>Naive GMM</td><td>56.94</td></tr><tr><td>PHT</td><td>59.10</td></tr></table>",
1603
+ "bbox": [
1604
+ 148,
1605
+ 251,
1606
+ 408,
1607
+ 338
1608
+ ],
1609
+ "page_idx": 8
1610
+ },
1611
+ {
1612
+ "type": "text",
1613
+ "text": "4.3.2. THE SIGNIFICANCE OF PDD",
1614
+ "text_level": 1,
1615
+ "bbox": [
1616
+ 84,
1617
+ 367,
1618
+ 333,
1619
+ 382
1620
+ ],
1621
+ "page_idx": 8
1622
+ },
1623
+ {
1624
+ "type": "text",
1625
+ "text": "For the first time, PDD provides heuristic inspiration for latent perspective representation. We demonstrate the significance of PDD by comparing with other ordinary perspective representation techniques: (1) directly forcing the perspective learning using an ordinary Transformer network, (2) representing the perspective by directly using $\\mathbf{F}$ , followed by MLPs. The former lacks of in-depth characterization, and the latter may result in coarse-grained learning. As shown in Table 6, PDD shows undisputed brilliant performance, confirming its rationality and effectiveness.",
1626
+ "bbox": [
1627
+ 84,
1628
+ 391,
1629
+ 475,
1630
+ 541
1631
+ ],
1632
+ "page_idx": 8
1633
+ },
1634
+ {
1635
+ "type": "text",
1636
+ "text": "4.3.3.EFFECTIVENESS OF PHT",
1637
+ "text_level": 1,
1638
+ "bbox": [
1639
+ 84,
1640
+ 556,
1641
+ 308,
1642
+ 570
1643
+ ],
1644
+ "page_idx": 8
1645
+ },
1646
+ {
1647
+ "type": "text",
1648
+ "text": "PHT is for perspective transformation over the original perspective $\\mathbf{P}$ and perspective embedding space $\\mathcal{P}$ , in the form of Homography. In order to validate the effectiveness of such choice, we also implement some other perspective transformation methods for comparisons, including K-Nearest Neighbor (KNN), Momentum Update and naive GMM. Results in Table 7 demonstrate that PHT achieves the highest performance.",
1649
+ "bbox": [
1650
+ 84,
1651
+ 580,
1652
+ 473,
1653
+ 702
1654
+ ],
1655
+ "page_idx": 8
1656
+ },
1657
+ {
1658
+ "type": "text",
1659
+ "text": "4.3.4. VISUALIZATION",
1660
+ "text_level": 1,
1661
+ "bbox": [
1662
+ 84,
1663
+ 715,
1664
+ 246,
1665
+ 729
1666
+ ],
1667
+ "page_idx": 8
1668
+ },
1669
+ {
1670
+ "type": "text",
1671
+ "text": "To provide a clearer understanding of perspective transformation, we visualize and compare the feature maps before and after applying DLPL, as depicted in Figure 8. It shows that after passing through DLPL, the perspective reflected in visual feature maps are obviously transformed. For more in-depth insights, we select representative transformation intensities: weak (row 1), medium (row 2), and strong (row 3). These intensities accurately capture the various stages of gradual perspective changes during network training, which is conducive to network training stability and also in line with the practical scene perspective changes such as UAV",
1672
+ "bbox": [
1673
+ 84,
1674
+ 739,
1675
+ 475,
1676
+ 905
1677
+ ],
1678
+ "page_idx": 8
1679
+ },
1680
+ {
1681
+ "type": "image",
1682
+ "img_path": "images/f7459983d863a0616d6e6ea3988f990e85a720c2f7439c21c9704f3cef61979c.jpg",
1683
+ "image_caption": [],
1684
+ "image_footnote": [],
1685
+ "bbox": [
1686
+ 500,
1687
+ 84,
1688
+ 629,
1689
+ 141
1690
+ ],
1691
+ "page_idx": 8
1692
+ },
1693
+ {
1694
+ "type": "image",
1695
+ "img_path": "images/70d780e0d694c1082a177eaa7ec28640fe1905ea9d53003ea215215e56eff06e.jpg",
1696
+ "image_caption": [],
1697
+ "image_footnote": [],
1698
+ "bbox": [
1699
+ 500,
1700
+ 142,
1701
+ 629,
1702
+ 200
1703
+ ],
1704
+ "page_idx": 8
1705
+ },
1706
+ {
1707
+ "type": "image",
1708
+ "img_path": "images/160a9567c190763b2c6652d708c595cb9167ce8ccba8f8ff3a2d40d78b106b5e.jpg",
1709
+ "image_caption": [
1710
+ "(a) Image"
1711
+ ],
1712
+ "image_footnote": [],
1713
+ "bbox": [
1714
+ 500,
1715
+ 200,
1716
+ 629,
1717
+ 258
1718
+ ],
1719
+ "page_idx": 8
1720
+ },
1721
+ {
1722
+ "type": "image",
1723
+ "img_path": "images/2eef43c81d1ace8720484d744d4c5bf0900cd9197e0d593f57f10c7e17689fae.jpg",
1724
+ "image_caption": [],
1725
+ "image_footnote": [],
1726
+ "bbox": [
1727
+ 630,
1728
+ 84,
1729
+ 759,
1730
+ 141
1731
+ ],
1732
+ "page_idx": 8
1733
+ },
1734
+ {
1735
+ "type": "image",
1736
+ "img_path": "images/dafd57358d9073b28b2d55ca542ac98bc57422b7dfc6623bf16f00e9eb0be962.jpg",
1737
+ "image_caption": [],
1738
+ "image_footnote": [],
1739
+ "bbox": [
1740
+ 630,
1741
+ 142,
1742
+ 759,
1743
+ 200
1744
+ ],
1745
+ "page_idx": 8
1746
+ },
1747
+ {
1748
+ "type": "image",
1749
+ "img_path": "images/3064ae3c9068eb3a2391af4c295a7f7515ce549d419ff44c0104af1a20cea03e.jpg",
1750
+ "image_caption": [
1751
+ "(b) Feature with Original Perspective"
1752
+ ],
1753
+ "image_footnote": [],
1754
+ "bbox": [
1755
+ 630,
1756
+ 200,
1757
+ 759,
1758
+ 258
1759
+ ],
1760
+ "page_idx": 8
1761
+ },
1762
+ {
1763
+ "type": "image",
1764
+ "img_path": "images/4514cd9c7fb3f11e17a28c9c1d23beea6f22c5507bbd7a7366c255a2ef3f356a.jpg",
1765
+ "image_caption": [],
1766
+ "image_footnote": [],
1767
+ "bbox": [
1768
+ 761,
1769
+ 84,
1770
+ 883,
1771
+ 141
1772
+ ],
1773
+ "page_idx": 8
1774
+ },
1775
+ {
1776
+ "type": "image",
1777
+ "img_path": "images/545e887b44b1ea96824feccaf5ee222ce00fea0b6a75250a377fdc6e6ba493a4.jpg",
1778
+ "image_caption": [],
1779
+ "image_footnote": [],
1780
+ "bbox": [
1781
+ 761,
1782
+ 142,
1783
+ 883,
1784
+ 200
1785
+ ],
1786
+ "page_idx": 8
1787
+ },
1788
+ {
1789
+ "type": "image",
1790
+ "img_path": "images/a341ba8b1a30ee39d6f94ebc41949afa1df0016a42aff1825fe7a5d48c0975c9.jpg",
1791
+ "image_caption": [
1792
+ "(c) Feature with Transformed Perspective",
1793
+ "Figure 8. Visualization comparison on feature maps before and after DLPL. We select three representative transformation intensities: weak (row 1), medium (row 2), and strong (row 3). We can find the overall views are obviously transformed after DLPL."
1794
+ ],
1795
+ "image_footnote": [],
1796
+ "bbox": [
1797
+ 761,
1798
+ 200,
1799
+ 883,
1800
+ 258
1801
+ ],
1802
+ "page_idx": 8
1803
+ },
1804
+ {
1805
+ "type": "text",
1806
+ "text": "flights. As the training deepens, the network can eventually learn rich perspective diversity.",
1807
+ "bbox": [
1808
+ 496,
1809
+ 392,
1810
+ 885,
1811
+ 422
1812
+ ],
1813
+ "page_idx": 8
1814
+ },
1815
+ {
1816
+ "type": "text",
1817
+ "text": "5. Conclusion",
1818
+ "text_level": 1,
1819
+ "bbox": [
1820
+ 496,
1821
+ 441,
1822
+ 616,
1823
+ 455
1824
+ ],
1825
+ "page_idx": 8
1826
+ },
1827
+ {
1828
+ "type": "text",
1829
+ "text": "We introduce a Discrete Latent Perspective Learning (DLPL) framework that enhances Perspective-Invariant Learning using single-view images. The framework integrates Perspective Discrete Decomposition (PDD), Perspective Homography Transformation (PHT), and Multi-Perspective Fusion via Perspective Invariant Attention (PIA), overcoming the limitations of multi-view data collection and perspective augmentations. Extensive experiments have proven that DLPL can enhance the robustness of neural networks to perspective changes, achieving notable improvements in a wide range of scenes and tasks.",
1830
+ "bbox": [
1831
+ 495,
1832
+ 467,
1833
+ 887,
1834
+ 633
1835
+ ],
1836
+ "page_idx": 8
1837
+ },
1838
+ {
1839
+ "type": "text",
1840
+ "text": "Acknowledgements",
1841
+ "text_level": 1,
1842
+ "bbox": [
1843
+ 496,
1844
+ 652,
1845
+ 663,
1846
+ 670
1847
+ ],
1848
+ "page_idx": 8
1849
+ },
1850
+ {
1851
+ "type": "text",
1852
+ "text": "This work was supported by the Anhui Provincial Natural Science Foundation under Grant 2108085UD12, the JKW Research Funds under Grant 20-163-14-LZ-001-004-01, the National Key R&D Program of China under Grant 2020AAA0103902, NSFC (No. 62176155), Shanghai Municipal Science and Technology Major Project, China (2021SHZDZX0102).",
1853
+ "bbox": [
1854
+ 495,
1855
+ 679,
1856
+ 887,
1857
+ 784
1858
+ ],
1859
+ "page_idx": 8
1860
+ },
1861
+ {
1862
+ "type": "text",
1863
+ "text": "We acknowledge the support of GPU cluster built by MCC Lab of Information Science and Technology Institution, USTC.",
1864
+ "bbox": [
1865
+ 495,
1866
+ 792,
1867
+ 887,
1868
+ 837
1869
+ ],
1870
+ "page_idx": 8
1871
+ },
1872
+ {
1873
+ "type": "text",
1874
+ "text": "We would like to express our gratitude to Qi Zhu for his brilliant suggestions regarding the writings and figures of this paper, as well as the insightful comments from the Reviewers, Area Chairs, and Program Chairs.",
1875
+ "bbox": [
1876
+ 495,
1877
+ 845,
1878
+ 885,
1879
+ 905
1880
+ ],
1881
+ "page_idx": 8
1882
+ },
1883
+ {
1884
+ "type": "header",
1885
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
1886
+ "bbox": [
1887
+ 266,
1888
+ 56,
1889
+ 705,
1890
+ 70
1891
+ ],
1892
+ "page_idx": 8
1893
+ },
1894
+ {
1895
+ "type": "page_number",
1896
+ "text": "9",
1897
+ "bbox": [
1898
+ 480,
1899
+ 922,
1900
+ 491,
1901
+ 934
1902
+ ],
1903
+ "page_idx": 8
1904
+ },
1905
+ {
1906
+ "type": "text",
1907
+ "text": "Impact Statement",
1908
+ "text_level": 1,
1909
+ "bbox": [
1910
+ 86,
1911
+ 83,
1912
+ 240,
1913
+ 99
1914
+ ],
1915
+ "page_idx": 9
1916
+ },
1917
+ {
1918
+ "type": "text",
1919
+ "text": "This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.",
1920
+ "bbox": [
1921
+ 84,
1922
+ 109,
1923
+ 473,
1924
+ 170
1925
+ ],
1926
+ "page_idx": 9
1927
+ },
1928
+ {
1929
+ "type": "text",
1930
+ "text": "References",
1931
+ "text_level": 1,
1932
+ "bbox": [
1933
+ 86,
1934
+ 189,
1935
+ 181,
1936
+ 205
1937
+ ],
1938
+ "page_idx": 9
1939
+ },
1940
+ {
1941
+ "type": "list",
1942
+ "sub_type": "ref_text",
1943
+ "list_items": [
1944
+ "Perspective-transformation-invariant generalized hough transform for perspective planar shape detection and matching. Pattern Recognition, 30(3):383-396, 1997. ISSN 0031-3203.",
1945
+ "A novel perspective invariant feature transform for rgb-d images. Computer Vision and Image Understanding, 167: 109-120, 2018. ISSN 1077-3142.",
1946
+ "Bengio, Y., Courville, A., and Vincent, P. Representation learning: A review and new perspectives. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35 (8):1798-1828, 2013.",
1947
+ "Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. End-to-end object detection with transformers. In European Conference on Computer Vision, pp. 213-229, 2020.",
1948
+ "Caron, M., Bojanowski, P., Joulin, A., and Douze, M. Deep clustering for unsupervised learning of visual features. In Proceedings of the European conference on computer vision (ECCV), pp. 132-149, 2018.",
1949
+ "Caron, M., Misra, I., Mairal, J., Goyal, P., Bojanowski, P., and Joulin, A. Unsupervised learning of visual features by contrasting cluster assignments. Advances in neural information processing systems, 33:9912-9924, 2020.",
1950
+ "Chen, C., Fan, Q., and Panda, R. Crossvit: Cross-attention multi-scale vision transformer for image classification. CoRR, abs/2103.14899, 2021.",
1951
+ "Chen, K., Wang, J., Pang, J., Cao, Y., Xiong, Y., Li, X., Sun, S., Feng, W., Liu, Z., Xu, J., et al. Mmdetection: Open mmlab detection toolbox and benchmark. arXiv preprint arXiv:1906.07155, 2019.",
1952
+ "Chen, L.-C., Zhu, Y., Papandreou, G., Schroff, F., and Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In European Conference on Computer Vision, pp. 801-818, 2018a.",
1953
+ "Chen, T., Fu, C., Zhu, L., Mao, P., Zhang, J., Zang, Y., and Sun, L. Deep3dsketch: 3d modeling from free-hand sketches with view-and structural-aware adversarial training. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 1-5, 2023a."
1954
+ ],
1955
+ "bbox": [
1956
+ 86,
1957
+ 213,
1958
+ 475,
1959
+ 904
1960
+ ],
1961
+ "page_idx": 9
1962
+ },
1963
+ {
1964
+ "type": "list",
1965
+ "sub_type": "ref_text",
1966
+ "list_items": [
1967
+ "Chen, T., Zhu, L., Ding, C., Cao, R., Zhang, S., Wang, Y., Li, Z., Sun, L., Mao, P., and Zang, Y. Sam fails to segment anything?-sam-adapter: Adapting sam in under-performed scenes: Camouflage, shadow, and more. arXiv preprint arXiv:2304.09148, 2023b.",
1968
+ "Chen, T., Ding, C., Zhu, L., Zang, Y., Liao, Y., Li, Z., and Sun, L. Reality3dsketch: Rapid 3d modeling of objects from single freehand sketches. IEEE Transactions on Multimedia, 26:4859-4870, 2024a.",
1969
+ "Chen, T., Yu, C., Li, J., Zhang, J., Zhu, L., Ji, D., Zhang, Y., Zang, Y., Li, Z., and Sun, L. Reasoning3d - grounding and reasoning in 3d: Fine-grained zero-shot open-vocabulary 3d reasoning part segmentation via large vision-language models. arXiv preprint arXiv:2405.19326, 2024b.",
1970
+ "Chen, Y., Wang, Y., Lu, P., Chen, Y., and Wang, G. Large-scale structure from motion with semantic constraints of aerial images. In Chinese Conference on Pattern Recognition and Computer Vision, pp. 347-359, 2018b.",
1971
+ "Cordts, M., Omran, M., Ramos, S., Rehfeld, T., Enzweiler, M., Benenson, R., Franke, U., Roth, S., and Schiele, B. The cityscapes dataset for semantic urban scene understanding. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3213-3223, 2016.",
1972
+ "Cubuk, E. D., Zoph, B., Mane, D., Vasudevan, V., and Le, Q. V. Autoaugment: Learning augmentation strategies from data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 113-123, 2019.",
1973
+ "DeTone, D., Malisiewicz, T., and Rabinovich, A. Superpoint: Self-supervised interest point detection and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 224-236, 2018.",
1974
+ "Dong, J., Jiang, W., Huang, Q., Bao, H., and Zhou, X. Fast and robust multi-person 3d pose estimation from multiple views. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7792-7801, 2019.",
1975
+ "Elkins, J. Photography theory (art seminar). Dec 2006.",
1976
+ "Feng, W., Ji, D., Wang, Y., Chang, S., Ren, H., and Gan, W. Challenges on large scale surveillance video analysis. In IEEE Conference on Computer Vision and Pattern Recognition workshops, pp. 69-76, 2018.",
1977
+ "Fu, X., Zhang, S., Chen, T., Lu, Y., Zhu, L., Zhou, X., Geiger, A., and Liao, Y. Panoptic nerf: 3d-to-2d label transfer for panoptic urban scene segmentation. In 2022 International Conference on 3D Vision, pp. 1-11, 2022."
1978
+ ],
1979
+ "bbox": [
1980
+ 498,
1981
+ 84,
1982
+ 887,
1983
+ 905
1984
+ ],
1985
+ "page_idx": 9
1986
+ },
1987
+ {
1988
+ "type": "header",
1989
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
1990
+ "bbox": [
1991
+ 266,
1992
+ 56,
1993
+ 705,
1994
+ 71
1995
+ ],
1996
+ "page_idx": 9
1997
+ },
1998
+ {
1999
+ "type": "page_number",
2000
+ "text": "10",
2001
+ "bbox": [
2002
+ 477,
2003
+ 922,
2004
+ 495,
2005
+ 934
2006
+ ],
2007
+ "page_idx": 9
2008
+ },
2009
+ {
2010
+ "type": "list",
2011
+ "sub_type": "ref_text",
2012
+ "list_items": [
2013
+ "Hu, H., Ji, D., Gan, W., Bai, S., Wu, W., and Yan, J. Classwise dynamic graph convolution for semantic segmentation. In European Conference on Computer Vision, pp. 1-17, 2020.",
2014
+ "Ji, D., Lu, H., and Zhang, T. End to end multi-scale convolutional neural network for crowd counting. In Eleventh International Conference on Machine Vision, volume 11041, pp. 761-766, 2019.",
2015
+ "Ji, D., Wang, H., Hu, H., Gan, W., Wu, W., and Yan, J. Context-aware graph convolution network for target re-identification. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 1646–1654, 2021.",
2016
+ "Ji, D., Wang, H., Tao, M., Huang, J., Hua, X.-S., and Lu, H. Structural and statistical texture knowledge distillation for semantic segmentation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16876-16885, 2022.",
2017
+ "Ji, D., Zhao, F., and Lu, H. Guided patch-grouping wavelet transformer with spatial congruence for ultra-high resolution segmentation. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, pp. 920–928, 8 2023a.",
2018
+ "Ji, D., Zhao, F., Lu, H., Tao, M., and Ye, J. Ultra-high resolution segmentation with ultra-rich context: A novel benchmark. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 23621-23630, June 2023b.",
2019
+ "Ji, D., Gao, S., Tao, M., Lu, H., and Zhao, F. Changenet: Multi-temporal asymmetric change detection dataset. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 2725-2729, 2024a.",
2020
+ "Ji, D., Gao, S., Zhu, L., Zhu, Q., Zhao, Y., Xu, P., Lu, H., Ye, J., and Zhao, F. View-centric multi-object tracking with homographic matching in moving uav. arXiv preprint arXiv:2403.10830, 2024b.",
2021
+ "Jing, L. and Tian, Y. Self-supervised visual feature learning with deep neural networks: A survey. IEEE transactions on pattern analysis and machine intelligence, 43(11): 4037-4058, 2020.",
2022
+ "Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A. C., Lo, W.-Y., et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4015-4026, 2023.",
2023
+ "Kriegman, D. Homography estimation. Computer Vision I, CSE 252A, Winter, 2007."
2024
+ ],
2025
+ "bbox": [
2026
+ 86,
2027
+ 84,
2028
+ 478,
2029
+ 905
2030
+ ],
2031
+ "page_idx": 10
2032
+ },
2033
+ {
2034
+ "type": "list",
2035
+ "sub_type": "ref_text",
2036
+ "list_items": [
2037
+ "Li, Y., Pei, W., and He, Z. Srhen: stepwise-refining homography estimation network via parsing geometric correspondences in deep latent space. In Proceedings of the 28th ACM International Conference on Multimedia, pp. 3063-3071, 2020.",
2038
+ "Liu, J. and Li, X. Geometrized transformer for self-supervised homography estimation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9556-9565, 2023.",
2039
+ "Lyu, Y., Vosselman, G., Xia, G.-S., Yilmaz, A., and Yang, M. Y. Uavid: A semantic segmentation dataset for uav imagery. ISPRS Journal of Photogrammetry and Remote Sensing, 165:108 - 119, 2020.",
2040
+ "Ma, L., Chen, K., Liu, J., and Zhang, J. Homography-driven plane feature matching and pose estimation. In 2021 6th IEEE International Conference on Advanced Robotics and Mechatronics, pp. 791-796, 2021.",
2041
+ "Malis, E. and Vargas Villanueva, M. Deeper understanding of the homography decomposition for vision-based control. 2007.",
2042
+ "MMSegmentation. Mmsegmentation: Openmmlab semantic segmentation toolbox and benchmark. Available online: https://github.com/open-mmlab/mmsegmentation, 2020.",
2043
+ "Mumuni, A. and Mumuni, F. Data augmentation: A comprehensive survey of modern approaches. *Array*, 16:100258, 2022. ISSN 2590-0056.",
2044
+ "Nigam, I., Huang, C., and Ramanan, D. Ensemble knowledge transfer for semantic segmentation. In 2018 IEEE Winter Conference on Applications of Computer Vision, pp. 1499-1508, 2018.",
2045
+ "Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. Pytorch: An imperative style, high-performance deep learning library. Advances in Neural Information Processing Systems, 32, 2019.",
2046
+ "Wang, H., Jiao, L., Liu, F., Li, L., Liu, X., Ji, D., and Gan, W. Ipgn: Interactiveness proposal graph network for human-object interaction detection. IEEE Transactions on Image Processing, 30:6583-6593, 2021a.",
2047
+ "Wang, H., Jiao, L., Liu, F., Li, L., Liu, X., Ji, D., and Gan, W. Learning social spatio-temporal relation graph in the wild and a video benchmark. IEEE Transactions on Neural Networks and Learning Systems, 34(6):2951-2964, 2021b.",
2048
+ "Wang, Y., Cheng, J., Chen, Y., Shao, S., Zhu, L., Wu, Z., Liu, T., and Zhu, H. Fvp: Fourier visual prompting for source-free unsupervised domain adaptation of medical image"
2049
+ ],
2050
+ "bbox": [
2051
+ 498,
2052
+ 84,
2053
+ 887,
2054
+ 905
2055
+ ],
2056
+ "page_idx": 10
2057
+ },
2058
+ {
2059
+ "type": "header",
2060
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
2061
+ "bbox": [
2062
+ 266,
2063
+ 56,
2064
+ 705,
2065
+ 71
2066
+ ],
2067
+ "page_idx": 10
2068
+ },
2069
+ {
2070
+ "type": "page_number",
2071
+ "text": "11",
2072
+ "bbox": [
2073
+ 477,
2074
+ 922,
2075
+ 493,
2076
+ 935
2077
+ ],
2078
+ "page_idx": 10
2079
+ },
2080
+ {
2081
+ "type": "list",
2082
+ "sub_type": "ref_text",
2083
+ "list_items": [
2084
+ "segmentation. IEEE Transactions on Medical Imaging, 2023.",
2085
+ "Waqas Zamir, S., Arora, A., Gupta, A., Khan, S., Sun, G., Shahbaz Khan, F., Zhu, F., Shao, L., Xia, G.-S., and Bai, X. isaid: A large-scale dataset for instance segmentation in aerial images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 28-37, 2019.",
2086
+ "Wu, X., Li, W., Hong, D., Tao, R., and Du, Q. Deep learning for unmanned aerial vehicle-based object detection and tracking: A survey. IEEE Geoscience and Remote Sensing Magazine, 10(1):91-124, 2021.",
2087
+ "Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J. M., and Luo, P. Segformer: Simple and efficient design for semantic segmentation with transformers. Advances in neural information processing systems, 34:12077-12090, 2021.",
2088
+ "Yagmur, I. C. and Ates, H. F. Improved homographic adaptation for keypoint generation in cross-spectral registration of thermal and optical imagery. In Image and Signal Processing for Remote Sensing XXIX, volume 12733, pp. 67-73, 2023.",
2089
+ "Yu, W., Luo, M., Zhou, P., Si, C., Zhou, Y., Wang, X., Feng, J., and Yan, S. Metaformer is actually what you need for vision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10819-10829, 2022.",
2090
+ "Yu, X., Xu, M., Zhang, Y., Liu, H., Ye, C., Wu, Y., Yan, Z., Zhu, C., Xiong, Z., Liang, T., Chen, G., Cui, S., and Han, X. Mvmagnet: A large-scale dataset of multi-view images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9150-9161, June 2023.",
2091
+ "Yuan, Y., Chen, X., and Wang, J. Object-contextual representations for semantic segmentation. In European Conference on Computer Vision, pp. 173-190, 2020.",
2092
+ "Zeng, R., Denman, S., Sridharan, S., and Fookes, C. Rethinking planar homography estimation using perspective fields. In Asian Conference on Computer Vision, pp. 571-586, 2018.",
2093
+ "Zhang, Z. and Hanson, A. R. 3d reconstruction based on homography mapping. Proc. ARPA96, pp. 1007-1012, 1996.",
2094
+ "Zheng, S., Lu, J., Zhao, H., Zhu, X., Luo, Z., Wang, Y., Fu, Y., Feng, J., Xiang, T., Torr, P. H., and Zhang, L. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021."
2095
+ ],
2096
+ "bbox": [
2097
+ 88,
2098
+ 85,
2099
+ 475,
2100
+ 905
2101
+ ],
2102
+ "page_idx": 11
2103
+ },
2104
+ {
2105
+ "type": "list",
2106
+ "sub_type": "ref_text",
2107
+ "list_items": [
2108
+ "Zhou, B., Zhao, H., Puig, X., Fidler, S., Barriuso, A., and Torralba, A. Scene parsing through ade20k dataset. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 633-641, 2017.",
2109
+ "Zhu, L., Ji, D., Zhu, S., Gan, W., Wu, W., and Yan, J. Learning statistical texture for semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12537-12546, June 2021a.",
2110
+ "Zhu, L., Chen, T., Ji, D., Ye, J., and Liu, J. Llafs: When large-language models meet few-shot segmentation. arXiv preprint arXiv:2311.16926, 2023a.",
2111
+ "Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Continual semantic segmentation with automatic memory sample selection. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3082-3092, 2023b.",
2112
+ "Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Learning gabor texture features for fine-grained recognition. In IEEE/CVF International Conference on Computer Vision, pp. 1621-1631, 2023c.",
2113
+ "Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Addressing background context bias in few-shot segmentation through iterative modulation. In IEEE/CVF International Conference on Computer Vision, 2024a.",
2114
+ "Zhu, L., Ji, D., Chen, T., Xu, P., Ye, J., and Liu, J. Ibid: Alleviating hallucinations in large vision-language models via image-biased decoding. arXiv preprint arXiv:2402.18476, 2024b.",
2115
+ "Zhu, P., Wen, L., Du, D., Bian, X., Fan, H., Hu, Q., and Ling, H. Detection and tracking meet drones challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(11):7380-7399, 2021b."
2116
+ ],
2117
+ "bbox": [
2118
+ 500,
2119
+ 84,
2120
+ 885,
2121
+ 638
2122
+ ],
2123
+ "page_idx": 11
2124
+ },
2125
+ {
2126
+ "type": "header",
2127
+ "text": "Discrete Latent Perspective Learning for Segmentation and Detection",
2128
+ "bbox": [
2129
+ 266,
2130
+ 56,
2131
+ 704,
2132
+ 71
2133
+ ],
2134
+ "page_idx": 11
2135
+ },
2136
+ {
2137
+ "type": "page_number",
2138
+ "text": "12",
2139
+ "bbox": [
2140
+ 477,
2141
+ 922,
2142
+ 495,
2143
+ 934
2144
+ ],
2145
+ "page_idx": 11
2146
+ }
2147
+ ]
2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Discrete Latent Perspective Learning for Segmentation and Detection/07122f78-7689-42d6-834e-c4eb19af20e8_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08f6d91e2a718a8f20a5834fb51358a4f904fe85c20cb1263f2b74ddfbf8a723
3
+ size 5084266
2024/Discrete Latent Perspective Learning for Segmentation and Detection/full.md ADDED
@@ -0,0 +1,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Discrete Latent Perspective Learning for Segmentation and Detection
2
+
3
+ Deyi Ji $^{12}$ Feng Zhao $^{1}$ Lanyun Zhu $^{3}$ Wenwei Jin $^{2}$ Hongtao Lu $^{4}$ Jieping Ye $^{2}$
4
+
5
+ # Abstract
6
+
7
+ In this paper, we address the challenge of Perspective-Invariant Learning in machine learning and computer vision, which involves enabling a network to understand images from varying perspectives to achieve consistent semantic interpretation. While standard approaches rely on the labor-intensive collection of multi-view images or limited data augmentation techniques, we propose a novel framework, Discrete Latent Perspective Learning (DLPL), for latent multi-perspective fusion learning using conventional single-view images. DLPL comprises three main modules: Perspective Discrete Decomposition (PDD), Perspective Homography Transformation (PHT), and Perspective Invariant Attention (PIA), which work together to discretize visual features, transform perspectives, and fuse multi-perspective semantic information, respectively. DLPL is a universal perspective learning framework applicable to a variety of scenarios and vision tasks. Extensive experiments demonstrate that DLPL significantly enhances the network's capacity to depict images across diverse scenarios (daily photos, UAV,自动驾驶) and tasks (detection, segmentation).
8
+
9
+ # 1. Introduction
10
+
11
+ According to the theory of photography (Elkins, 2006; Bengio et al., 2013), image perspective/viewpoint refers to the perception of depth and spatial relationships between objects within an image. In the fields of machine learning and computer vision, current research often employs a variety of methods to enhance networks' Perspective-Invariant Learning (YU2, 2018; LO1, 1997), which involves en
12
+
13
+ <sup>1</sup>University of Science and Technology of China <sup>2</sup>Alibaba Group <sup>3</sup>Singapore University of Technology and Design <sup>4</sup>Dept. of CSE, MOE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University. Correspondence to: Feng Zhao <fzhao956@ustc.edu.cn>, Jieping Ye <yejieping.ye@alibaba-inc.com>.
14
+
15
+ Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
16
+
17
+ Perspective-Oriented Learning: Multi-Perspective/View Dataset Training
18
+
19
+ ![](images/e6efa306705331875e4c158ebf3e0bd71fba0257bba7b1459c646f7d06d4edca.jpg)
20
+
21
+ ![](images/35db8da87d1413012f7df611a70317cbf0abbc2c17fac0699b6de18650e9779e.jpg)
22
+ Perspective-Oriented Learning: Data Augmentation Training
23
+
24
+ ![](images/4b91a20a03fcde16d56348fd9672913149fc1f4040f301087f3d068aff413907.jpg)
25
+ Perspective-Oriented Learning: Discrete Latent Perspective Learning
26
+ Figure 1. The comparison of perspective-oriented learning methods: Perspective Augmentation, Multi-View Data Training, and the proposed Discrete Latent Perspective Learning.
27
+
28
+ abling the network to learn scene information from different viewpoints and ensuring consistency in semantic learning across these varying perspectives, thus improving the portrayal of semantic information within images<sup>1</sup>. As shown in Figure 1, the most commonly used approaches include: (1) collecting multi-view images of a given scene to conduct multi-view training (Yu et al., 2023), and (2) utilizing data augmentation techniques (Cubuk et al., 2019), such as rotation and flipping, to increase the diversity of perspectives.
29
+
30
+ However, in the former case, the acquisition of multi-view images is significantly more challenging than that of single-view images, since the latter can rely on fixed cameras with a wide range of sources (e.g., Internet, vehicle-mounted cameras, surveillance cameras), whereas multi-view im
31
+
32
+ ![](images/e08a37c08eb421cc7599ea8c8aec134fedd9bbd85f1c4e7b5c35b6c2c3fc53d3.jpg)
33
+
34
+ ![](images/877e84d15de2e2df5211ed654b3a19d993a8db64195a7e206d1a11a1a29a9e65.jpg)
35
+ Almost parallel to the ground (Angle: close to $90^{\circ}$ )
36
+
37
+ ![](images/9617768af39f2f144506850bcbf7838c019703f3809fb5bc4537bb08ab47a1bf.jpg)
38
+
39
+ ![](images/1a0aab368969baa2e82708880e1dd20caa8f126be0364e01108d30f54cdc65cd.jpg)
40
+ Oblique View (Angle: about $40^{\circ} \sim 60^{\circ}$ )
41
+
42
+ ![](images/1154b22649af8ab9bc2d6107ad97bdf7655de91e73fdfa2b84e9b92f04210094.jpg)
43
+ Almost perpendicular to the ground (Angle: close to $0^{\circ}$ )
44
+ Figure 2. The variation in image perspectives in three typical scenarios: auto-driving, UAV flight, and daily photos. UAV images exhibit more diverse and dynamic viewpoints due to variations in flight heights, angles, and other factors. However, these datasets lack multi-view images for a single scene, preventing existing networks from effective perspective-invariant learning of the images.
45
+
46
+ ages are heavily dependent on manual collection, requiring multi-directional shooting of a scene, which is both time-consuming and labor-intensive. In practice, the costs associated with this method are difficult to justify, and the organization and annotation of multi-view images are also more expensive due to the need to ensure consistency in labeling. In the latter case, data augmentation methods often employ hand-crafted rotation operations to augment image perspectives, aiming to enhance training diversity. However, these operations yield limited performance improvements as they generate similar and rigid results, failing to capture the practical perspective changes encountered in real-world applications, such as Unmanned Aerial Vehicle (UAV) flights, auto-driving and daily photos, as shown in Figure 2.
47
+
48
+ In this paper, we propose to perform latent multi-perspective fusion of Invariant Learning within the discrete feature space, based on conventional single-view images. To achieve this, we present a systematic Discrete Latent Perspective Learning (DLPL) framework, comprising Perspec
49
+
50
+ tive Representation, Transformation, and Multi-Perspective Fusion. Firstly, since perspective lacks a clear formulation in current research, we begin with Perspective Discrete Decomposition (PDD) to discretize the visual feature $^2$ to decompose the latent perspective representation. Following this, in line with photography theory, we treat the perspective as a spatial projection of the image, and transform it to generate new descriptive perspectives with the Perspective Homography Transformation (PHT) module. These new perspectives correspond to alternatives spatial projection of the image. Finally, we integrate both the perspectives for fusion learning, with Perspective Invariant Attention (PIA), to obtain perspective-invariant semantic information of the image, ultimately enhancing the model's ability to depict the image. It is important to note that DLPL is a universal learning framework for image perspectives and applicable broadly to different scenarios (daily photos, UAVs, Autodriving) and various vision tasks (classification, detection, segmentation).
51
+
52
+ The overall contributions can be summarized as follows:
53
+
54
+ - DLPL is a general perspective-invariant learning framework that enables multi-perspective fusion learning within latent feature space for single-view images.
55
+ - Specifically, DLPL systematically includes key processes such as Perspective Representation (PDD), Perspective Transformation (PHT), and Multi-Perspective fusion (Multi-Level PIA).
56
+ - Experiments demonstrate that DLPL achieves impressive results across a wide range of scenarios (daily photos, UAV, Auto-driving) and different vision tasks (detection and segmentation).
57
+
58
+ # 2. Related Work
59
+
60
+ # 2.1. Scene Understanding
61
+
62
+ In existing visual datasets, changes in the perspective of images are very common and pose numerous challenges to image understanding. Among these, high-altitude scenes, such as those captured by UAVs or satellites, feature particularly rich variations in viewpoints. Initial works on core
63
+
64
+ ![](images/089855c1cb1b1b81649d4b4a4e8e323efe5f970ddc6245d9dee9447fb34d88cf.jpg)
65
+
66
+ ![](images/3b5baa157b4130e1774d7880c0c6ba31d3cb236ad8a13b44432b53bc72fcefc5.jpg)
67
+ Discrete Latent Perspective Learning (DLPL)
68
+ Figure 3. The architecture of DLPL framework within a Vision Transformer (ViT) setup, which is divided into an encoder with a Visual Feature Extraction module and four DLPL blocks, and a task-specific decoder. The DLPL block include: (1) Perspective Discrete Decomposition (PDD) module decomposes input visual features $\mathbf{I}$ into a latent representation $\mathbf{P}$ ; (2) Visual Reconstruction (VR) module reconstructs visual features from $\mathbf{P}$ with a loss function $\mathcal{L}_{rec}$ ; (3) Perspective Embedding Space $\mathcal{P}$ constructed through EMA, based on $\mathbf{P}$ ; (4) Perspective Transformation leverages Homography for perspective variation, followed by VR to obtain reconstructed visual features $\mathbf{I}_{rec}^{\prime}$ of the transformed perspective $\mathbf{P}^{\prime}$ . Finally, Perspective-Invariant Learning fuses the features of the original and transformed perspectives using Perspective-Invariant Attention (PIA) to learn semantic information invariant to perspective changes.
69
+
70
+ high-altitude vision tasks like object detection and semantic segmentation (Fu et al., 2022; Ji et al., 2023b;a; Chen et al., 2024b) often adapt network architectures from methods designed for natural scenes to establish baseline results. In contrast, the variations in perspectives within auto-driving (Cordts et al., 2016) and daily photo (Zhou et al., 2017) scenarios are not as pronounced. A plethora of methods have been proposed, including early CNN-based approaches (Chen et al., 2018a; Yuan et al., 2020; Zhu et al., 2021a; Ji et al., 2021; 2022; Hu et al., 2020; Ji et al., 2024a;b; Wang et al., 2021b;a; 2023; Feng et al., 2018; Ji et al., 2019) and recent methodologies based on Vision Transformers (ViTs) (Xie et al., 2021; Zheng et al., 2021; Yu et al., 2022; Carion et al., 2020; Zhu et al., 2023b;c; 2024a), as well as emerging studies on large vision models and multimodal models (Kirillov et al., 2023; Zhu et al., 2023a; Chen et al., 2023b; Zhu et al., 2024b). Nevertheless, economically and effectively addressing the challenges posed by perspective changes remains a difficult issue to be resolved.
71
+
72
+ # 2.2. Perspective-Oriented Learning
73
+
74
+ Current work on Perspective Learning primarily focuses on data augmentation techniques based on single-view images (Cordts et al., 2016; Zhou et al., 2017) and joint training with multi-view datasets (Yu et al., 2023; Chen et al., 2023a).
75
+
76
+ A substantial body of research on data augmentation techniques (Mumuni & Mumuni, 2022; Cubuk et al., 2019; Chen et al., 2024a) has been conducted in existing works, including earlier strategies based on manual rules and later studies that are based on trained learning approaches. The construction of multi-view datasets is a more recent area of research, which involves capturing scenes and targets from multiple orientations. The creation of such datasets often demands significant human effort, and in tasks requiring fine-grained annotation like segmentation, there is the challenge of maintaining consistency across multiple orientations, that is, ensuring that the fine-grained annotations for the same target from different perspectives have consistent semantic meanings.
77
+
78
+ # 3. Discrete Latent Perspective Learning
79
+
80
+ # 3.1. Top-Down Overview
81
+
82
+ DLPL is a flexible and systematic framework for enhancing perspective-invariant learning capabilities in both CNNs and ViT networks. Specifically, as shown in Figure 3, taking a general ViT architecture as an example, DLPL can be implemented in the form of Transformer Blocks. The encoder includes a basic Visual Feature Extraction module and four DLPL Blocks. The decoder, on the other hand,
83
+
84
+ ![](images/98cfb3ff33355a39c32b2b8ac9b1d21278b19026b63d4c9fe4399f3effddb947.jpg)
85
+ Figure 4. The illustration of PDD. It takes visual features $\mathbf{I}$ as input and processes through three key steps: (1) Extraction of perspective prototypes from a point-ness map $\mathbf{S}$ using spatially structured supporting points; (2) Discretization of the continuous perspective distribution into $M$ levels within the latent feature space; (3) Construction of a statistical perspective graph $\mathbf{G}$ by encoding the intensity and positional relationships of discretized levels. This process yields the latent perspective feature map $\mathbf{P}$ .
86
+
87
+ chooses the appropriate structure based on the specific task type (classification/segmentation/detection).
88
+
89
+ Extracting Original Perspective Representation (Section 3.2). Within each DLPL Block, given the input visual feature $\mathbf{I}$ (which contains the original image perspective), we extract the original perspective representation from $\mathbf{I}$ , by the Perspective Discrete Decomposition (PDD) module.
90
+
91
+ Reconstructing Visual Feature (Section 3.3). In order to ensure that the visual feature can be reconstructed from the perspective representation, we design a Visual Reconstruction (VR) module. We constrain $\mathbf{I}$ and the reconstructed visual feature $\mathbf{I}_{rec}$ to be equivalent through a loss function $\mathcal{L}_{rec}$ . This is a self-training process.
92
+
93
+ Perspective Space Construction (Section 3.4). Concurrently, during training, based on the perspective $\mathbf{P}$ of each image, we can incrementally build the Perspective Embedding Space $\mathcal{P}$ for the entire dataset. To maintain training stability, we update $\mathcal{P}$ using an Exponential Moving Average (EMA) method without backpropagating gradients.
94
+
95
+ Perspective Transformation (Section 3.5). As the VR's reconstruction ability and $\mathcal{P}$ become stable, we leverage the spatial Homography properties of image perspective, combined with the distribution of $\mathcal{P}$ , to transform $\mathbf{P}$ and obtain another perspective $\mathbf{P}'$ , of the image. Then, through VR, we obtain the corresponding visual feature $\mathbf{I}_{rec}^{\prime}$ of $\mathbf{P}'$ .
96
+
97
+ Perspective-Invariant Learning (Section 3.6). We fuse the visual feature $\mathbf{I}$ (with original perspective $\mathbf{P}$ ) and
98
+
99
+ $\mathbf{I}_{rec}^{\prime}$ (with transformed perspective $\mathbf{P}^{\prime}$ ) using multi-level Perspective-Invariant Attention (PIA) to learn the network's semantic expression of image information under different perspectives.
100
+
101
+ In training, Visual Reconstruction and Perspective Space Construction accompany the entire training process. In contrast, Perspective Transformation training begins after the first two processes stabilize, at the $30\%$ of the entire training epoch. Perspective-Invariant Learning also occurs throughout the entire training process. During the initial $30\%$ training epoch, since $\mathbf{P}'$ is not ready, PIA degenerates to Self-Attention learning solely based on $\mathbf{P}$ .
102
+
103
+ # 3.2. Perspective Discrete Decomposition
104
+
105
+ Since perspective lacks a clear formulation in current research, we begin with the PDD module. Drawing from visual features extracted by the previous module, we construct prototypes of image perspectives based on key supporting vectors of the perspective. These are then discretized within the latent feature space and statistically analyzed to decompose the implicit perspective distribution map $\mathbf{P}$ , as shown in Figure 4.
106
+
107
+ Formally, PDD receives the visual feature $\mathbf{I}^{C\times H\times W}$ as input and produces a perspective feature $\mathbf{P}\in \mathbb{R}^{M\times M\times C'}$ , where $C,C^{\prime}$ are the feature channels, $H,W$ are the spatial dimensions, $M$ is the discretization levels. Generally, PDD exploits the explicit well-formulated distribution of structured supporting points which build up the spatial structured prototype to tell the implicit perspective information. In concrete, PDD consists of three procedures:
108
+
109
+ ![](images/74dc6099b2d6aef2840e0f6e7f73bb3eba66e6b87ea7e274e0e12a91c33f36b9.jpg)
110
+ Figure 5. The illustration of Visual Reconstruction (VR). It is essentially the inverse of the PDD process, which reconstructs the visual feature from perspective representation.
111
+
112
+ Perspective Prototype Extraction. Besides I, we utilize a pretrained SuperPoint (DeTone et al., 2018) network to extract point-ness map S of the original image, which serve as the supporting structure of image perspective. The theoretical basis behind this motivation stems from related research such as multi-view visual understanding(Ma et al., 2021; Dong et al., 2019; Yaghmur & Ates, 2023), which utilizes the structured spatial information of keypoints as support points to characterize the spatial structure of the image's perspective during actual photography (Zeng et al., 2018; Liu & Li, 2023; Zhang & Hanson, 1996; Li et al., 2020). Next, we apply point-ness attention to I and S to obtain a basic perspective prototype,
113
+
114
+ $$
115
+ \mathbf {F} = \operatorname {S o f t m a x} (\frac {\mathbf {I} \times \mathbf {S} ^ {\top}}{\sqrt {C}}) \times \mathbf {S}, \tag {1}
116
+ $$
117
+
118
+ where $\top$ is the matrix transposition operation. $\mathbf{F} \in \mathbb{R}^{C \times H \times W}$ is the perspective-structured visual feature.
119
+
120
+ Discretization. In order to effectively represent perspective within deep neural networks, we firstly perform Discretization on it. Inspired by (Zhu et al., 2021a; Ji et al., 2022), PDD defines $M$ levels by equally dividing $\mathbf{F}$ in the spatial dimension. Specifically the $m$ -th ( $m \in [1, M]$ ) level $\mathbf{L}_m \in \mathbb{R}^C$ is computed as:
121
+
122
+ $$
123
+ \mathbf {L} _ {m} = \frac {m \cdot \operatorname* {m a x} (\mathbf {F}) + (M - m) \cdot \operatorname* {m i n} (\mathbf {F})}{M}. \tag {2}
124
+ $$
125
+
126
+ Next, based on $\mathbf{L}$ , we use $M$ discretization functions to discretize $F$ into an embedding $\mathbf{D} \in \mathbb{R}^{M \times C \times H \times W}$ , where each $\mathbf{F}_{i,j}(i \in [1,H], j \in [1,W])$ is discretized into $\mathbf{D}_{i,j} \in \mathbb{R}^{M \times C}$ . Specifically,
127
+
128
+ $$
129
+ \mathbf {D} _ {m, i, j} = \left\{ \begin{array}{l l} \mathbf {e} - \left| \mathbf {L} _ {m} - \mathbf {F} _ {i, j} \right| \\ \text {i f} \left| \mathbf {L} _ {m} - \mathbf {F} _ {i, j} \right| < \frac {\mathbf {L} _ {m + 1} - \mathbf {L} _ {m}}{2}, \\ \mathbf {0} & \text {e l s e} \end{array} \right. \tag {3}
130
+ $$
131
+
132
+ where $\mathbf{e} \in \mathbb{R}^C$ , $\mathbf{0} \in \mathbb{R}^C$ denote the Unit vector and Zero vector respectively. Note a spireshaped function is used instead of a binary one to ensure that the operation is differentiable. $\mathbf{D}$ can be viewed as the form of a histogram for perspective distribution. According to the theory of photography, the perspective is related to spatial relationship between objects/pixels within the image. Correspondingly, we encode the spatial pixel co-occurring relationships by:
133
+
134
+ $$
135
+ \hat {\mathbf {D}} _ {i, j} = \mathbf {D} _ {i, j} \mathbf {D} _ {i, j} ^ {\top}, \quad \hat {\mathbf {L}} = \left\{\hat {\mathbf {L}} _ {\hat {m}} \right\}, \tag {4}
136
+ $$
137
+
138
+ $$
139
+ \hat {m} = [ m _ {1}, m _ {2} ], m _ {1} \in [ 1, M _ {1} ], m _ {2} \in [ 1, M _ {2} ],
140
+ $$
141
+
142
+ where $M_1 = M_2 = M$ , $\hat{\mathbf{q}} \in \mathbb{R}^{M \times M \times C \times H \times W}$ is spatial co-occurring perspective histogram, and $\hat{\mathbf{L}}$ is the corresponding co-occurring level. $\top$ indicates matrix transposition.
143
+
144
+ Statistical Representation. Further, we construct the perspective graph $\mathbf{G} \in \mathbb{R}^{M \times M \times C'}$ by squeezing the spatial dimensions in form of counting the intensity of each level, then encoding with position corresponding relationship (Zhu et al., 2021a; Ji et al., 2022):
145
+
146
+ $$
147
+ \begin{array}{l} \mathbf {G} _ {\hat {m}} = \Phi \left(\frac {\sum_ {i = 1} ^ {H} \sum_ {j = 1} ^ {W} \hat {\mathbf {D}} _ {m , i , j}}{\sum_ {m _ {1} = 1} ^ {M _ {1}} \sum_ {m _ {2} = 1} ^ {M _ {2}} \sum_ {i = 1} ^ {H} \sum_ {j = 1} ^ {W} \hat {\mathbf {D}} _ {m , n , i , j}}\right) \tag {5} \\ + \sum_ {i = 1} ^ {H} \sum_ {j = 1} ^ {W} \hat {\mathbf {D}} _ {m _ {1}, m _ {2}, i, j} \mathrm {P o s \_ E n c} (i, j)), \\ \end{array}
148
+ $$
149
+
150
+ where $\mathrm{Pos\_Enc}$ indicates the position encoding operation. Cat is the concatenation operation. $\Phi$ is MLP layer for dimension normalization. As shown in Figure 4, $\mathbf{G}$ can be viewed as a Perspective Distribution Graph, where the levels $\{L_1L_1,L_1L_2,\dots,L_{M - 1}L_M,L ML_M\}$ are nodes. Finally, we correlate the perspective graph over all nodes to generate the overall perspective representation $\mathbf{P}\in \mathbb{R}^{M\times M\times C'}$ ..
151
+
152
+ $$
153
+ \mathbf {P} = \underset {\hat {m}} {\operatorname {M A}} \left(\mathbf {G} _ {\hat {m}}\right), \tag {6}
154
+ $$
155
+
156
+ where $\mathrm{MA}(\cdot)$ indicate performing multi-head attention over all $\hat{m}$ levels. By decomposing in form of discrete graph in latent embedding space, $\mathbf{P}$ is formulated as pointness-structure-aware thus able to represent the overall perspective information of the image.
157
+
158
+ # 3.3. Visual Reconstruction
159
+
160
+ As illustrated in Section 3.1 and Figure 5, we exploit the VR to reconstruct visual feature $\mathbf{I}_{rec}$ from the perspective $\mathbf{P}$ . It is essentially the inverse of the PDD process. Given the input perspective feature $\mathbf{P}$ , we first restore the spatial dimension using an unsqueeze operation to obtain $\hat{\mathbf{D}}' \in \mathbb{R}^{M \times M \times (C \times H \times W)}$ . Furthermore, we perform levelwise aggregation to mutually enhance the restored spatial information in form of multi-head attention. Afterward, we
161
+
162
+ ![](images/697eba22500bbde66b20700b85fb197a2ce1aa4cd39f06512f7d321cd44c2ee7.jpg)
163
+ Mini-batch Perspective $P_{s}$
164
+
165
+ embed the discretization levels into the visual feature using a level-wise squeeze method to obtain $\mathbf{D}' \in \mathbb{R}^{C \times H \times W}$ , and finally, a transformer decoder is used to reconstruct the final visual feature $\mathbf{I}_{rec}$ . All the unsqueeze and squeeze processes can be accomplished using simple multi-layer MLPs.
166
+
167
+ In order to enable the reconstruction ability (Ji et al., 2023b), we use a reconstruction loss to supervise the decoding process to constrain the structure affinity between $\mathbf{I}$ and $\mathbf{I}_{rec}$ ,
168
+
169
+ $$
170
+ \mathcal {L} _ {r e c} = \left\| \mathbf {I} ^ {\top} \mathbf {I} - \mathbf {I} _ {r e c} ^ {\top} \mathbf {I} _ {r e c} \right\| _ {2}. \tag {7}
171
+ $$
172
+
173
+ # 3.4. Perspective Embedding Space
174
+
175
+ Based on the decomposed perspective representation $\mathbf{P}$ , we define a learnable latent perspective embedding space $\mathcal{P} \in \mathbb{R}^{K \times (M \times M \times C')} = \{\mathcal{P}_k \in \mathbb{R}^{M \times M \times C'}\}(k \in [1, K])$ , where $K$ is the size of the latent space. As shown in Figure 6, in training, we update $\mathcal{P}$ as function of exponential moving average (EMA) of the coming mini-batch perspective representations $\mathbf{Ps}$ from PDD:
176
+
177
+ For each $\mathbf{P}$ in minibatch $\mathbf{Ps}$ ,
178
+
179
+ $$
180
+ \mathcal {P} _ {k} := \left\{ \begin{array}{c c} \alpha \mathcal {P} _ {k} + (1 - \alpha) \mathbf {P} & \\ \text {i f} \quad \underset {k} {\arg \min } | | \mathcal {P} _ {k} - \mathbf {P} | | _ {2} = k, \\ \mathcal {P} _ {k} & \text {e l s e} \end{array} , \right. \tag {8}
181
+ $$
182
+
183
+ where $\alpha$ is the moving weight and we find $\alpha = 0.9$ to work well in practice.
184
+
185
+ Then, we can obtain the overall perspective distribution of the whole dataset in form of Gaussian Mixed Model (GMM) over $\mathcal{P}$ , as,
186
+
187
+ $$
188
+ p = \sum_ {k = 1} ^ {K} \pi_ {k} \mathcal {N} \left(\mathcal {P} _ {k}, \boldsymbol {\Sigma} _ {k}\right), \quad \sum_ {k = 1} ^ {K} \pi_ {k} = 1, \quad 0 \leq \pi_ {k} \leq 1, \tag {9}
189
+ $$
190
+
191
+ ![](images/00ea57055d6c20bfe4988a1d9848800eac163d3e6fb842d17b48d59973a29707.jpg)
192
+ Figure 6. The illustration of the construction of Perspective Embedding Space $\mathcal{P}$ , where $K$ is the size of $\mathcal{P}$ and $\mathcal{P}_k$ is the $k$ -th embedding in $\mathcal{P}$ ( $k \in [1, K]$ ). In training, we update $\mathcal{P}$ as a function of the exponential moving average (EMA) of the incoming mini-batch perspective $\mathbf{Ps}$ from PDD.
193
+ Figure 7. The illustration of PHT. Based on the characteristics of projection transformation, we transform the original perspective $\mathbf{P}$ to generate another descriptive perspective $\mathbf{P}'$ , which corresponds to an alternative spatial projection of the image.
194
+
195
+ where $\mathcal{N}(\cdot)$ indicates the Gaussian Distribution, the $k$ -th component of GMM has the center of $\mathcal{P}^k$ with the variance of $\Sigma_k$ , and $\pi_k$ is the mixture coefficient.
196
+
197
+ # 3.5. Perspective Homography Transformation
198
+
199
+ In line with photography theory (Elkins, 2006), we treat the perspective $\mathbf{P}$ as a spatial projection of the image (Malis & Vargas Villanueva, 2007). Based on the characteristics of projection transformation, we transform the perspective to generate another descriptive perspective $\mathbf{P}'$ , which corresponds to an alternative spatial projection of the image. Based on Homography concept (Kriegman, 2007), the original perspective $\mathbf{P}$ and the transformed perspective $\mathbf{P}'$ form a Homography, and this transformation can be realized with a Homography matrix.
200
+
201
+ As shown in Figure 7, in concrete, we generate a close semantic-related transformation $\mathbf{P}'$ of the original perspective $\mathbf{P}$ , by leveraging the all the perspective distribution and performing Homography transformation:
202
+
203
+ $$
204
+ \begin{array}{l} \mathbf {P} ^ {\prime} = \mathbf {H} (\mathbf {P}, \mathcal {P}) \mathbf {P} = \sum_ {k = 1} ^ {K} H (\mathbf {P}, \mathcal {P} _ {k}) p (\mathbf {P}) \tag {10} \\ = \sum_ {k = 1} ^ {K} \pi_ {n} \mathcal {N} (\mathbf {P} | \mathcal {P} _ {k}, \boldsymbol {\Sigma} _ {k}) H (\mathbf {P}, \mathcal {P} _ {k}), \\ \end{array}
205
+ $$
206
+
207
+ where $\mathbf{H}(\mathbf{P},\mathcal{P})$ is the Homography Matrix of the original perspective $\mathbf{P}$ over all the perspective embedding space $\mathcal{P}$ , and calculated by the sum of Homography Matrix of $\mathbf{P}$ over each $\mathcal{P}_k$ in the space, that is, $\sum_{k=1}^{K} H(\mathbf{P},\mathcal{P}_k)$ . $H(\mathbf{P},\mathcal{P}_k)$ indicates the estimation of Homography matrix between $\mathbf{P}$ and $\mathcal{P}_k$ . Mathematically, Homography matrix can represent
208
+
209
+ Table 1. The scenes, datasets and task settings in our experiments.
210
+
211
+ <table><tr><td>Scenes</td><td>Semantic Segmentation</td><td>Object Detection</td></tr><tr><td>Auto-Driving</td><td>Cityscapes (Cordts et al., 2016)</td><td>-</td></tr><tr><td>UAV</td><td>UDD6 (Chen et al., 2018b) iSAID (Waqas Zamir et al., 2019) UAVid (Lyu et al., 2020) Aeroscapes (Nigam et al., 2018) DroneSeg</td><td>VisDrone (Zhu et al., 2021b) UAVDT (Wu et al., 2021)</td></tr><tr><td>Daily Photos</td><td>ADE20K (Zhou et al., 2017)</td><td>-</td></tr></table>
212
+
213
+ Table 2. UAV Scene Segmentation: Comparison with state-of-the-art on UDD6, iSAID, UAVid, Aeroscapes and our proposed DroneSeg datasets.
214
+
215
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Param.</td><td colspan="5">mIoU (%)</td></tr><tr><td>UDD6</td><td>iSAID</td><td>UAVid</td><td>Aeroscapes</td><td>DroneSeg</td></tr><tr><td>Deeplab</td><td>63M</td><td>71.84</td><td>59.20</td><td>56.82</td><td>51.40</td><td>38.69</td></tr><tr><td>OCR_W48</td><td>70M</td><td>73.37</td><td>62.73</td><td>63.10</td><td>58.19</td><td>43.10</td></tr><tr><td>PSPNet</td><td>67M</td><td>72.95</td><td>60.30</td><td>58.20</td><td>57.98</td><td>37.03</td></tr><tr><td>FarSeg</td><td>-</td><td>-</td><td>63.70</td><td>-</td><td>-</td><td>-</td></tr><tr><td>PFNet</td><td>-</td><td>-</td><td>66.90</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SCO</td><td>-</td><td>-</td><td>69.10</td><td>-</td><td>-</td><td>-</td></tr><tr><td>SETR</td><td>318.3M</td><td>68.00</td><td>62.77</td><td>58.52</td><td>50.34</td><td>48.23</td></tr><tr><td>UperNet</td><td>234.0M</td><td>73.13</td><td>66.45</td><td>61.91</td><td>64.32</td><td>53.34</td></tr><tr><td>PoolFormer</td><td>77.1M</td><td>74.54</td><td>65.55</td><td>61.73</td><td>62.27</td><td>53.94</td></tr><tr><td>SegFormer</td><td>84.7M</td><td>74.28</td><td>67.19</td><td>62.01</td><td>66.40</td><td>55.33</td></tr><tr><td>DLPL (SETR)</td><td>321.1M</td><td>72.62</td><td>65.45</td><td>60.23</td><td>55.02</td><td>52.94</td></tr><tr><td>DLPL (UperNet)</td><td>236.8M</td><td>76.00</td><td>68.81</td><td>63.27</td><td>66.25</td><td>56.10</td></tr><tr><td>DLPL (PoolFormer)</td><td>79.9M</td><td>75.98</td><td>68.57</td><td>64.02</td><td>65.03</td><td>56.44</td></tr><tr><td>DLPL (SegFormer)</td><td>87.5M</td><td>76.88</td><td>70.60</td><td>65.30</td><td>68.22</td><td>59.10</td></tr></table>
216
+
217
+ the coordinates transformation from one perspective plane to another. In our formulation, $\mathbf{P}$ and $\mathcal{P}_k$ act as two perspective planes, thus $H(\mathbf{P},\mathcal{P}_k)$ can characterize the perspective transformation from $\mathbf{P}$ to $\mathcal{P}_k$ .
218
+
219
+ Finally, we can obtain the corresponding visual feature $\mathbf{I}_{rec}^{\prime}$ with the transformed perspective $\mathbf{P}^{\prime}$ , by applying the Visual Reconstruction (VR) module to $\mathbf{P}^{\prime}$ .
220
+
221
+ # 3.6. Perspective-Invariant Learning
222
+
223
+ By the PHT and VR, we obtain the semantic-related perspective-transformed visual feature $\mathbf{I}_{rec}^{\prime}$ for the original visual feature $\mathbf{I}$ . As seen that $\mathbf{I}$ and $\mathbf{I}_{rec}^{\prime}$ contain closely identical scene context and semantic information yet differ in perspective. Next, they are aggregated by the multi-level Perspective Invariant Attention (PIA) to leverage the relationship between the $\mathbf{I}$ (with original perspective $\mathbf{P}$ ) and $\mathbf{I}_{rec}^{\prime}$ (with transformed perspective $\mathbf{P}^{\prime}$ ). Formally, PIA is formulated as a cross-attention manner (Chen et al., 2021):
224
+
225
+ $$
226
+ \operatorname {P I A} \left(\mathbf {I}, \mathbf {I} _ {r e c} ^ {\prime}\right) = \operatorname {S o f t m a x} \left(\frac {\mathbf {I} \times \mathbf {I} _ {r e c} ^ {\prime \top}}{\sqrt {C}}\right) \times \mathbf {I} _ {r e c} ^ {\prime}. \tag {11}
227
+ $$
228
+
229
+ Table 3. UAV Scene Detection: Comparison with state-of-the-arts on VisDrone and UAVDT datasets.
230
+
231
+ <table><tr><td rowspan="2">Method</td><td colspan="3">VisDrone-dev</td><td colspan="3">UAVDT-test</td></tr><tr><td>AP</td><td>\(AP_{50}\)</td><td>\(AP_{75}\)</td><td>AP</td><td>\(AP_{50}\)</td><td>\(AP_{75}\)</td></tr><tr><td>Dynamic R-CNN</td><td>13.70</td><td>24.70</td><td>13.50</td><td>57.60</td><td>65.30</td><td>64.6</td></tr><tr><td>RetinaNet</td><td>18.94</td><td>31.67</td><td>20.25</td><td>33.95</td><td>-</td><td>-</td></tr><tr><td>FRCNN(PVT2-B0)</td><td>19.40</td><td>31.80</td><td>20.80</td><td>60.80</td><td>71.50</td><td>69.8</td></tr><tr><td>RefineDet</td><td>19.89</td><td>37.27</td><td>20.18</td><td>-</td><td>-</td><td>-</td></tr><tr><td>DetNet</td><td>20.07</td><td>37.54</td><td>21.26</td><td>-</td><td>-</td><td>-</td></tr><tr><td>FPN</td><td>22.06</td><td>39.57</td><td>22.50</td><td>49.05</td><td>-</td><td>-</td></tr><tr><td>Light-RCNN</td><td>22.08</td><td>39.56</td><td>23.24</td><td>-</td><td>-</td><td>-</td></tr><tr><td>FRCNN(ResNet-50)</td><td>22.40</td><td>37.20</td><td>23.70</td><td>55.70</td><td>69.80</td><td>66.90</td></tr><tr><td>CornerNet</td><td>23.43</td><td>41.18</td><td>25.02</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Cascade-RCNN</td><td>25.20</td><td>40.10</td><td>26.80</td><td>61.50</td><td>73.50</td><td>71.70</td></tr><tr><td>DETR</td><td>24.32</td><td>40.67</td><td>25.89</td><td>61.10</td><td>73.41</td><td>71.20</td></tr><tr><td>Deformable DETR</td><td>26.28</td><td>43.02</td><td>27.90</td><td>62.99</td><td>76.32</td><td>73.78</td></tr><tr><td>Sparse DETR</td><td>26.98</td><td>44.30</td><td>28.70</td><td>63.21</td><td>76.81</td><td>74.22</td></tr><tr><td>DLPL (DETR)</td><td>26.45</td><td>43.28</td><td>27.95</td><td>63.36</td><td>76.80</td><td>74.00</td></tr><tr><td>DLPL (Deformable DETR)</td><td>28.00</td><td>45.89</td><td>29.60</td><td>65.07</td><td>78.67</td><td>76.01</td></tr><tr><td>DLPL (Sparse DETR)</td><td>28.75</td><td>46.38</td><td>30.55</td><td>65.57</td><td>79.02</td><td>76.92</td></tr></table>
232
+
233
+ The fundamental concept is to drive the model to jointly learn perspective-invariant semantic information in the image from multiple distinct viewpoints. Each layer of PIA generates a visual feature containing a new perspective. We cascade multiple layers of PIA and, through repeated perspective-invariant fusion, ultimately enhance the model's robustness to perspective in practical applications (e.g.自动驾驶 or UAV flights).
234
+
235
+ # 3.7. Optimization
236
+
237
+ The overall loss $\mathcal{L}$ is intuitive: the combination of the main task-specific loss $\mathcal{L}_{task}$ and the reconstruction loss $\mathcal{L}_{rec}$ :
238
+
239
+ $$
240
+ \mathcal {L} = \mathcal {L} _ {\text {t a s k}} + \lambda \mathcal {L} _ {\text {r e c}}, \tag {12}
241
+ $$
242
+
243
+ where $\lambda$ is the loss weight and set to 0.4.
244
+
245
+ # 4. Experiments
246
+
247
+ # 4.1. Scenes, Datasets, Tasks and Implementation Details
248
+
249
+ DLPL is a general and applicable to a broad range of scenes and tasks. In our experiments, we focus on three types of scenarios (auto-driving, UAV, daily photos) and two fine-grained tasks (segmentation and detection). Furthermore, we concentrate on the more challenging task of segmentation, especially within the UAV scenario due to its rich variety of scene changes. Specifically, given the current lack of a large-scale UAV segmentation benchmark dataset within the field, we propose $\text{DroneSeg}^3$ , the largest-scale
250
+
251
+ Table 4. Auto-Driving and Daily photos Segmentation: Comparison with state-of-the-arts on Cityscapes and ADE20K datasets.
252
+
253
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Backbone</td><td rowspan="2">Pram.</td><td colspan="2">mIoU(%)</td></tr><tr><td>Cityscapes val</td><td>ADE20K val</td></tr><tr><td>FCN</td><td>ResNet-101</td><td>68.6M</td><td>76.6</td><td>41.4</td></tr><tr><td>EncNet</td><td>ResNet-101</td><td>55.1M</td><td>76.9</td><td>44.7</td></tr><tr><td>PSPNet</td><td>ResNet-101</td><td>68.1M</td><td>78.5</td><td>44.4</td></tr><tr><td>CCNet</td><td>ResNet-101</td><td>68.9M</td><td>80.2</td><td>45.2</td></tr><tr><td>DeeplabV3+</td><td>ResNet-101</td><td>62.7M</td><td>80.9</td><td>44.1</td></tr><tr><td>OCRNet</td><td>HRNet-W48</td><td>70.5M</td><td>81.1</td><td>45.6</td></tr><tr><td>SETR</td><td>ViT-Large</td><td>318.3M</td><td>82.2</td><td>50.2</td></tr><tr><td>Segmenter</td><td>ViT-Large</td><td>307.0M</td><td>80.7</td><td>52.2</td></tr><tr><td>SegFormer</td><td>MiT-B4</td><td>64.1M</td><td>83.8</td><td>51.1</td></tr><tr><td>SegFormer</td><td>MiT-B5</td><td>84.7M</td><td>84.0</td><td>51.8</td></tr><tr><td>DLPL (SETR)</td><td>ViT-Large</td><td>321.1M</td><td>83.9</td><td>53.1</td></tr><tr><td>DLPL (Segmenter)</td><td>ViT-Large</td><td>309.8M</td><td>82.3</td><td>53.5</td></tr><tr><td>DLPL (SegFormer)</td><td>MiT-B4</td><td>66.9M</td><td>85.0</td><td>53.5</td></tr><tr><td>DLPL (SegFormer)</td><td>MiT-B5</td><td>87.5M</td><td>85.1</td><td>53.7</td></tr></table>
254
+
255
+ and semantically richest fine-grained annotated UAV segmentation dataset, to date.
256
+
257
+ In all experiments, we adopt the MMSegmentation (MMSegmentation, 2020) and MMDetection (Chen et al., 2019) toolboxes as codebases and follow the default basic configurations. In DLPL block, we employ the pretrained and SuperPoint parameters in (DeTone et al., 2018) and froze them in PDD. In our experiments, we incorporate DLPL with various representative ViT segmentors and detectors.
258
+
259
+ # 4.2. Comparison with State-of-the-Arts
260
+
261
+ # 4.2.1.UAVSCENE
262
+
263
+ Compared to the other two types of scenarios, UAVs present more challenging perspective understanding due to the rich variety of perspective changes caused by real-time movement and deviation during flight. Therefore, segmentation and detection in UAV scenarios become the focus of our experiments. As shown in Tables 2 and 3, we apply DLPL to the currently advanced ViT networks and achieve significant performance improvements in segmentation and detection with less than 3M additional parameters. Specifically, on our newly proposed DroneSeg dataset, which presents the level of challenge to date, we achieve the highest improvement of nearly $5\%$ over four types of plain ViT. In the UAV detection scenario, where objects are relatively sparse, we also achieve an improvement of nearly $3\%$ over various plain ViT detectors. This consistent performance enhancement directly confirms the effectiveness, generality, and robustness of our proposed DLPL.
264
+
265
+ Table 5. The comparison of DLPL with other perspective-oriented learning methods (data augmentation). Perspective-Vertical and Perspective-Horizontal means adjusting perspectives in vertical and horizontal directions, and are implemented by the default "torchvisiontransforms" interfaces in PyTorch (Paszke et al., 2019) For each naive augmentation, we try multiple magnitudes and find the best performance, for fair comparisons.
266
+
267
+ <table><tr><td colspan="2">Perspective-Oriented Learning Method</td><td>mIoU (%)</td></tr><tr><td colspan="2">Baseline (SegFormer w/o data augmentation)</td><td>52.03</td></tr><tr><td rowspan="5">Naive Augmentation</td><td>+ Random Rotate</td><td>52.94</td></tr><tr><td>+ Random Scale</td><td>53.09</td></tr><tr><td>+ Random Perspective-Vertical</td><td>53.56</td></tr><tr><td>+ Random Perspective-Horizontal</td><td>53.42</td></tr><tr><td>+ Random Combination</td><td>55.33</td></tr><tr><td colspan="2">AutoAugmentation (Cubuk et al., 2019)</td><td>55.80</td></tr><tr><td colspan="2">DLPL (SegFormer w/o data augmentation)</td><td>58.67</td></tr><tr><td colspan="2">DLPL (SegFormer + Random Combination)</td><td>59.10</td></tr><tr><td colspan="2">DLPL (SegFormer + AutoAugmentation)</td><td>59.09</td></tr></table>
268
+
269
+ # 4.2.2. AUTO-DRIVING AND DAILY PHOTOS
270
+
271
+ These two scenes typically also encompass various shooting perspectives. To further validate the universality of DLPL, we conduct experimental verifications within these two types of scenes as well. Specifically, we focused primarily on the segmentation task whose performance is more evidently affected by perspective changes. As shown in Table 4, ViT detectors integrated with DLPL achieve highest performance increases of $3\%$ compared to the plain ViT detectors.
272
+
273
+ # 4.3. Ablation Study
274
+
275
+ We perform ablation studies on semantic segmentation on DroneSeg test set, SegFormer is used as baseline network.
276
+
277
+ # 4.3.1. THE EFFICACY OF DLPL
278
+
279
+ As discussed in Section 2, as one type of perspective-oriented learning, we compare DLPL with the various ordinary perspective augmentation techniques. We notice that in all the scenes, the perspective changes are almost always related to the flying height and angles, which can be reflected on the scales, rotations, perspective-vertical and perspective-horizontal augmentations. So, we use the combination of these data augmentation methods for the comparison with DLPL. Extensively, we also include the auto-augmentation techniques (Cubuk et al., 2019) to further support our claims. As shown in Table 5, DLPL shows more potentials than both naive and auto augmentations. We also show that DLPL is still adaptive to the ordinary data augmentation to obtain further improvements.
280
+
281
+ Table 6. The significance of PDD by comparing it with ordinary perspective representation.
282
+
283
+ <table><tr><td>Perspective Representation</td><td>mIoU (%)</td></tr><tr><td>Ordinary Transformer Network</td><td>57.07</td></tr><tr><td>Directly using F</td><td>55.91</td></tr><tr><td>PDD</td><td>59.10</td></tr></table>
284
+
285
+ Table 7. The effectiveness of PHT by comparing with ordinary perspective transformation methods.
286
+
287
+ <table><tr><td>Perspective Transformation</td><td>mIoU (%)</td></tr><tr><td>KNN</td><td>56.57</td></tr><tr><td>Momentum Update</td><td>56.01</td></tr><tr><td>Naive GMM</td><td>56.94</td></tr><tr><td>PHT</td><td>59.10</td></tr></table>
288
+
289
+ # 4.3.2. THE SIGNIFICANCE OF PDD
290
+
291
+ For the first time, PDD provides heuristic inspiration for latent perspective representation. We demonstrate the significance of PDD by comparing with other ordinary perspective representation techniques: (1) directly forcing the perspective learning using an ordinary Transformer network, (2) representing the perspective by directly using $\mathbf{F}$ , followed by MLPs. The former lacks of in-depth characterization, and the latter may result in coarse-grained learning. As shown in Table 6, PDD shows undisputed brilliant performance, confirming its rationality and effectiveness.
292
+
293
+ # 4.3.3.EFFECTIVENESS OF PHT
294
+
295
+ PHT is for perspective transformation over the original perspective $\mathbf{P}$ and perspective embedding space $\mathcal{P}$ , in the form of Homography. In order to validate the effectiveness of such choice, we also implement some other perspective transformation methods for comparisons, including K-Nearest Neighbor (KNN), Momentum Update and naive GMM. Results in Table 7 demonstrate that PHT achieves the highest performance.
296
+
297
+ # 4.3.4. VISUALIZATION
298
+
299
+ To provide a clearer understanding of perspective transformation, we visualize and compare the feature maps before and after applying DLPL, as depicted in Figure 8. It shows that after passing through DLPL, the perspective reflected in visual feature maps are obviously transformed. For more in-depth insights, we select representative transformation intensities: weak (row 1), medium (row 2), and strong (row 3). These intensities accurately capture the various stages of gradual perspective changes during network training, which is conducive to network training stability and also in line with the practical scene perspective changes such as UAV
300
+
301
+ ![](images/f7459983d863a0616d6e6ea3988f990e85a720c2f7439c21c9704f3cef61979c.jpg)
302
+
303
+ ![](images/70d780e0d694c1082a177eaa7ec28640fe1905ea9d53003ea215215e56eff06e.jpg)
304
+
305
+ ![](images/160a9567c190763b2c6652d708c595cb9167ce8ccba8f8ff3a2d40d78b106b5e.jpg)
306
+ (a) Image
307
+
308
+ ![](images/2eef43c81d1ace8720484d744d4c5bf0900cd9197e0d593f57f10c7e17689fae.jpg)
309
+
310
+ ![](images/dafd57358d9073b28b2d55ca542ac98bc57422b7dfc6623bf16f00e9eb0be962.jpg)
311
+
312
+ ![](images/3064ae3c9068eb3a2391af4c295a7f7515ce549d419ff44c0104af1a20cea03e.jpg)
313
+ (b) Feature with Original Perspective
314
+
315
+ ![](images/4514cd9c7fb3f11e17a28c9c1d23beea6f22c5507bbd7a7366c255a2ef3f356a.jpg)
316
+
317
+ ![](images/545e887b44b1ea96824feccaf5ee222ce00fea0b6a75250a377fdc6e6ba493a4.jpg)
318
+
319
+ ![](images/a341ba8b1a30ee39d6f94ebc41949afa1df0016a42aff1825fe7a5d48c0975c9.jpg)
320
+ (c) Feature with Transformed Perspective
321
+ Figure 8. Visualization comparison on feature maps before and after DLPL. We select three representative transformation intensities: weak (row 1), medium (row 2), and strong (row 3). We can find the overall views are obviously transformed after DLPL.
322
+
323
+ flights. As the training deepens, the network can eventually learn rich perspective diversity.
324
+
325
+ # 5. Conclusion
326
+
327
+ We introduce a Discrete Latent Perspective Learning (DLPL) framework that enhances Perspective-Invariant Learning using single-view images. The framework integrates Perspective Discrete Decomposition (PDD), Perspective Homography Transformation (PHT), and Multi-Perspective Fusion via Perspective Invariant Attention (PIA), overcoming the limitations of multi-view data collection and perspective augmentations. Extensive experiments have proven that DLPL can enhance the robustness of neural networks to perspective changes, achieving notable improvements in a wide range of scenes and tasks.
328
+
329
+ # Acknowledgements
330
+
331
+ This work was supported by the Anhui Provincial Natural Science Foundation under Grant 2108085UD12, the JKW Research Funds under Grant 20-163-14-LZ-001-004-01, the National Key R&D Program of China under Grant 2020AAA0103902, NSFC (No. 62176155), Shanghai Municipal Science and Technology Major Project, China (2021SHZDZX0102).
332
+
333
+ We acknowledge the support of GPU cluster built by MCC Lab of Information Science and Technology Institution, USTC.
334
+
335
+ We would like to express our gratitude to Qi Zhu for his brilliant suggestions regarding the writings and figures of this paper, as well as the insightful comments from the Reviewers, Area Chairs, and Program Chairs.
336
+
337
+ # Impact Statement
338
+
339
+ This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.
340
+
341
+ # References
342
+
343
+ Perspective-transformation-invariant generalized hough transform for perspective planar shape detection and matching. Pattern Recognition, 30(3):383-396, 1997. ISSN 0031-3203.
344
+ A novel perspective invariant feature transform for rgb-d images. Computer Vision and Image Understanding, 167: 109-120, 2018. ISSN 1077-3142.
345
+ Bengio, Y., Courville, A., and Vincent, P. Representation learning: A review and new perspectives. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35 (8):1798-1828, 2013.
346
+ Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. End-to-end object detection with transformers. In European Conference on Computer Vision, pp. 213-229, 2020.
347
+ Caron, M., Bojanowski, P., Joulin, A., and Douze, M. Deep clustering for unsupervised learning of visual features. In Proceedings of the European conference on computer vision (ECCV), pp. 132-149, 2018.
348
+ Caron, M., Misra, I., Mairal, J., Goyal, P., Bojanowski, P., and Joulin, A. Unsupervised learning of visual features by contrasting cluster assignments. Advances in neural information processing systems, 33:9912-9924, 2020.
349
+ Chen, C., Fan, Q., and Panda, R. Crossvit: Cross-attention multi-scale vision transformer for image classification. CoRR, abs/2103.14899, 2021.
350
+ Chen, K., Wang, J., Pang, J., Cao, Y., Xiong, Y., Li, X., Sun, S., Feng, W., Liu, Z., Xu, J., et al. Mmdetection: Open mmlab detection toolbox and benchmark. arXiv preprint arXiv:1906.07155, 2019.
351
+ Chen, L.-C., Zhu, Y., Papandreou, G., Schroff, F., and Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In European Conference on Computer Vision, pp. 801-818, 2018a.
352
+ Chen, T., Fu, C., Zhu, L., Mao, P., Zhang, J., Zang, Y., and Sun, L. Deep3dsketch: 3d modeling from free-hand sketches with view-and structural-aware adversarial training. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 1-5, 2023a.
353
+
354
+ Chen, T., Zhu, L., Ding, C., Cao, R., Zhang, S., Wang, Y., Li, Z., Sun, L., Mao, P., and Zang, Y. Sam fails to segment anything?-sam-adapter: Adapting sam in under-performed scenes: Camouflage, shadow, and more. arXiv preprint arXiv:2304.09148, 2023b.
355
+ Chen, T., Ding, C., Zhu, L., Zang, Y., Liao, Y., Li, Z., and Sun, L. Reality3dsketch: Rapid 3d modeling of objects from single freehand sketches. IEEE Transactions on Multimedia, 26:4859-4870, 2024a.
356
+ Chen, T., Yu, C., Li, J., Zhang, J., Zhu, L., Ji, D., Zhang, Y., Zang, Y., Li, Z., and Sun, L. Reasoning3d - grounding and reasoning in 3d: Fine-grained zero-shot open-vocabulary 3d reasoning part segmentation via large vision-language models. arXiv preprint arXiv:2405.19326, 2024b.
357
+ Chen, Y., Wang, Y., Lu, P., Chen, Y., and Wang, G. Large-scale structure from motion with semantic constraints of aerial images. In Chinese Conference on Pattern Recognition and Computer Vision, pp. 347-359, 2018b.
358
+ Cordts, M., Omran, M., Ramos, S., Rehfeld, T., Enzweiler, M., Benenson, R., Franke, U., Roth, S., and Schiele, B. The cityscapes dataset for semantic urban scene understanding. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3213-3223, 2016.
359
+ Cubuk, E. D., Zoph, B., Mane, D., Vasudevan, V., and Le, Q. V. Autoaugment: Learning augmentation strategies from data. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 113-123, 2019.
360
+ DeTone, D., Malisiewicz, T., and Rabinovich, A. Superpoint: Self-supervised interest point detection and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 224-236, 2018.
361
+ Dong, J., Jiang, W., Huang, Q., Bao, H., and Zhou, X. Fast and robust multi-person 3d pose estimation from multiple views. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7792-7801, 2019.
362
+ Elkins, J. Photography theory (art seminar). Dec 2006.
363
+ Feng, W., Ji, D., Wang, Y., Chang, S., Ren, H., and Gan, W. Challenges on large scale surveillance video analysis. In IEEE Conference on Computer Vision and Pattern Recognition workshops, pp. 69-76, 2018.
364
+ Fu, X., Zhang, S., Chen, T., Lu, Y., Zhu, L., Zhou, X., Geiger, A., and Liao, Y. Panoptic nerf: 3d-to-2d label transfer for panoptic urban scene segmentation. In 2022 International Conference on 3D Vision, pp. 1-11, 2022.
365
+
366
+ Hu, H., Ji, D., Gan, W., Bai, S., Wu, W., and Yan, J. Classwise dynamic graph convolution for semantic segmentation. In European Conference on Computer Vision, pp. 1-17, 2020.
367
+ Ji, D., Lu, H., and Zhang, T. End to end multi-scale convolutional neural network for crowd counting. In Eleventh International Conference on Machine Vision, volume 11041, pp. 761-766, 2019.
368
+ Ji, D., Wang, H., Hu, H., Gan, W., Wu, W., and Yan, J. Context-aware graph convolution network for target re-identification. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 1646–1654, 2021.
369
+ Ji, D., Wang, H., Tao, M., Huang, J., Hua, X.-S., and Lu, H. Structural and statistical texture knowledge distillation for semantic segmentation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16876-16885, 2022.
370
+ Ji, D., Zhao, F., and Lu, H. Guided patch-grouping wavelet transformer with spatial congruence for ultra-high resolution segmentation. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, pp. 920–928, 8 2023a.
371
+ Ji, D., Zhao, F., Lu, H., Tao, M., and Ye, J. Ultra-high resolution segmentation with ultra-rich context: A novel benchmark. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 23621-23630, June 2023b.
372
+ Ji, D., Gao, S., Tao, M., Lu, H., and Zhao, F. Changenet: Multi-temporal asymmetric change detection dataset. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 2725-2729, 2024a.
373
+ Ji, D., Gao, S., Zhu, L., Zhu, Q., Zhao, Y., Xu, P., Lu, H., Ye, J., and Zhao, F. View-centric multi-object tracking with homographic matching in moving uav. arXiv preprint arXiv:2403.10830, 2024b.
374
+ Jing, L. and Tian, Y. Self-supervised visual feature learning with deep neural networks: A survey. IEEE transactions on pattern analysis and machine intelligence, 43(11): 4037-4058, 2020.
375
+ Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A. C., Lo, W.-Y., et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4015-4026, 2023.
376
+ Kriegman, D. Homography estimation. Computer Vision I, CSE 252A, Winter, 2007.
377
+
378
+ Li, Y., Pei, W., and He, Z. Srhen: stepwise-refining homography estimation network via parsing geometric correspondences in deep latent space. In Proceedings of the 28th ACM International Conference on Multimedia, pp. 3063-3071, 2020.
379
+ Liu, J. and Li, X. Geometrized transformer for self-supervised homography estimation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9556-9565, 2023.
380
+ Lyu, Y., Vosselman, G., Xia, G.-S., Yilmaz, A., and Yang, M. Y. Uavid: A semantic segmentation dataset for uav imagery. ISPRS Journal of Photogrammetry and Remote Sensing, 165:108 - 119, 2020.
381
+ Ma, L., Chen, K., Liu, J., and Zhang, J. Homography-driven plane feature matching and pose estimation. In 2021 6th IEEE International Conference on Advanced Robotics and Mechatronics, pp. 791-796, 2021.
382
+ Malis, E. and Vargas Villanueva, M. Deeper understanding of the homography decomposition for vision-based control. 2007.
383
+ MMSegmentation. Mmsegmentation: Openmmlab semantic segmentation toolbox and benchmark. Available online: https://github.com/open-mmlab/mmsegmentation, 2020.
384
+ Mumuni, A. and Mumuni, F. Data augmentation: A comprehensive survey of modern approaches. *Array*, 16:100258, 2022. ISSN 2590-0056.
385
+ Nigam, I., Huang, C., and Ramanan, D. Ensemble knowledge transfer for semantic segmentation. In 2018 IEEE Winter Conference on Applications of Computer Vision, pp. 1499-1508, 2018.
386
+ Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. Pytorch: An imperative style, high-performance deep learning library. Advances in Neural Information Processing Systems, 32, 2019.
387
+ Wang, H., Jiao, L., Liu, F., Li, L., Liu, X., Ji, D., and Gan, W. Ipgn: Interactiveness proposal graph network for human-object interaction detection. IEEE Transactions on Image Processing, 30:6583-6593, 2021a.
388
+ Wang, H., Jiao, L., Liu, F., Li, L., Liu, X., Ji, D., and Gan, W. Learning social spatio-temporal relation graph in the wild and a video benchmark. IEEE Transactions on Neural Networks and Learning Systems, 34(6):2951-2964, 2021b.
389
+ Wang, Y., Cheng, J., Chen, Y., Shao, S., Zhu, L., Wu, Z., Liu, T., and Zhu, H. Fvp: Fourier visual prompting for source-free unsupervised domain adaptation of medical image
390
+
391
+ segmentation. IEEE Transactions on Medical Imaging, 2023.
392
+ Waqas Zamir, S., Arora, A., Gupta, A., Khan, S., Sun, G., Shahbaz Khan, F., Zhu, F., Shao, L., Xia, G.-S., and Bai, X. isaid: A large-scale dataset for instance segmentation in aerial images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 28-37, 2019.
393
+ Wu, X., Li, W., Hong, D., Tao, R., and Du, Q. Deep learning for unmanned aerial vehicle-based object detection and tracking: A survey. IEEE Geoscience and Remote Sensing Magazine, 10(1):91-124, 2021.
394
+ Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J. M., and Luo, P. Segformer: Simple and efficient design for semantic segmentation with transformers. Advances in neural information processing systems, 34:12077-12090, 2021.
395
+ Yagmur, I. C. and Ates, H. F. Improved homographic adaptation for keypoint generation in cross-spectral registration of thermal and optical imagery. In Image and Signal Processing for Remote Sensing XXIX, volume 12733, pp. 67-73, 2023.
396
+ Yu, W., Luo, M., Zhou, P., Si, C., Zhou, Y., Wang, X., Feng, J., and Yan, S. Metaformer is actually what you need for vision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10819-10829, 2022.
397
+ Yu, X., Xu, M., Zhang, Y., Liu, H., Ye, C., Wu, Y., Yan, Z., Zhu, C., Xiong, Z., Liang, T., Chen, G., Cui, S., and Han, X. Mvmagnet: A large-scale dataset of multi-view images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9150-9161, June 2023.
398
+ Yuan, Y., Chen, X., and Wang, J. Object-contextual representations for semantic segmentation. In European Conference on Computer Vision, pp. 173-190, 2020.
399
+ Zeng, R., Denman, S., Sridharan, S., and Fookes, C. Rethinking planar homography estimation using perspective fields. In Asian Conference on Computer Vision, pp. 571-586, 2018.
400
+ Zhang, Z. and Hanson, A. R. 3d reconstruction based on homography mapping. Proc. ARPA96, pp. 1007-1012, 1996.
401
+ Zheng, S., Lu, J., Zhao, H., Zhu, X., Luo, Z., Wang, Y., Fu, Y., Feng, J., Xiang, T., Torr, P. H., and Zhang, L. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021.
402
+
403
+ Zhou, B., Zhao, H., Puig, X., Fidler, S., Barriuso, A., and Torralba, A. Scene parsing through ade20k dataset. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 633-641, 2017.
404
+ Zhu, L., Ji, D., Zhu, S., Gan, W., Wu, W., and Yan, J. Learning statistical texture for semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12537-12546, June 2021a.
405
+ Zhu, L., Chen, T., Ji, D., Ye, J., and Liu, J. Llafs: When large-language models meet few-shot segmentation. arXiv preprint arXiv:2311.16926, 2023a.
406
+ Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Continual semantic segmentation with automatic memory sample selection. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3082-3092, 2023b.
407
+ Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Learning gabor texture features for fine-grained recognition. In IEEE/CVF International Conference on Computer Vision, pp. 1621-1631, 2023c.
408
+ Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Addressing background context bias in few-shot segmentation through iterative modulation. In IEEE/CVF International Conference on Computer Vision, 2024a.
409
+ Zhu, L., Ji, D., Chen, T., Xu, P., Ye, J., and Liu, J. Ibid: Alleviating hallucinations in large vision-language models via image-biased decoding. arXiv preprint arXiv:2402.18476, 2024b.
410
+ Zhu, P., Wen, L., Du, D., Bian, X., Fan, H., Hu, Q., and Ling, H. Detection and tracking meet drones challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(11):7380-7399, 2021b.
2024/Discrete Latent Perspective Learning for Segmentation and Detection/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eb6a4781d317901d65800e45f8a2d86a4df2650c71f363712023c61c9dcc4a9
3
+ size 875073
2024/Discrete Latent Perspective Learning for Segmentation and Detection/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled 3D Scene Generation with Layout Learning/1b7ee24f-ff60-46bc-b6f2-ddafc3b11743_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3803aa05dc3ab34855eca6b48fce2aabcf194abe6ff0128e2c12897a03ba340d
3
+ size 8030196
2024/Disentangled 3D Scene Generation with Layout Learning/full.md ADDED
@@ -0,0 +1,657 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disentangled 3D Scene Generation with Layout Learning
2
+
3
+ Dave Epstein $^{1,2}$ Ben Poole $^{2}$ Ben Mildenhall $^{2}$ Alexei A. Efros $^{1}$ Aleksander Holynski $^{1,2}$
4
+
5
+ # Abstract
6
+
7
+ We introduce a method to generate 3D scenes that are disentangled into their component objects. This disentanglement is unsupervised, relying only on the knowledge of a large pretrained text-to-image model. Our key insight is that objects can be discovered by finding parts of a 3D scene that, when rearranged spatially, still produce valid configurations of the same scene. Concretely, our method jointly optimizes multiple NeRFs from scratch—each representing its own object—along with a set of layouts that composite these objects into scenes. We then encourage these composited scenes to be in-distribution according to the image generator. We show that despite its simplicity, our approach successfully generates 3D scenes decomposed into individual objects, enabling new capabilities in text-to-3D content creation. See our project page for results and an interactive demo: https://dave.ml/layoutlearning/
8
+
9
+ # 1. Introduction
10
+
11
+ A remarkable ability of many seeing organisms is object individuation (Piaget et al., 1952), the ability to discern separate objects from light projected onto the retina (Wertheimer, 1938). Indeed, from a very young age, humans and other creatures are able to organize the physical world they perceive into the three-dimensional entities that comprise it (Spelke, 1990; Wilcox, 1999; Hoffmann et al., 2011). The analogous task of object discovery has captured the attention of the artificial intelligence community from its very inception (Roberts, 1963; Ohta et al., 1978), since agents that can autonomously parse 3D scenes into their component objects are better able to navigate and interact with their surroundings.
12
+
13
+ Fifty years later, generative models of images are advancing at a frenzied pace (Nichol et al., 2021; Ramesh et al., 2022; Sahara et al., 2022; Yu et al., 2022; Chang et al., 2023).
14
+
15
+ While these models can generate high-quality samples, their internal workings are hard to interpret, and they do not explicitly represent the distinct 3D entities that make up the images they create. Nevertheless, the priors learned by these models have proven incredibly useful across various tasks involving 3D reasoning (Hedlin et al., 2023; Ke et al., 2023; Liu et al., 2023; Luo et al., 2023; Wu et al., 2023), suggesting that they may indeed be capable of decomposing generated content into the underlying 3D objects depicted.
16
+
17
+ One particularly exciting application of these text-to-image networks is 3D generation, leveraging the rich distribution learned by a diffusion model to optimize a 3D representation, e.g. a neural radiance field (NeRF, Mildenhall et al., 2020), such that rendered views resemble samples from the prior. This technique allows for text-to-3D generation without any 3D supervision (Poole et al., 2022; Wang et al., 2023b), but most results focus on simple prompts depicting just one or two isolated objects (Lin et al., 2023; Wang et al., 2023c).
18
+
19
+ Our method builds on this work to generate complex scenes that are automatically disentangled into the objects they contain. To do so, we instantiate and render multiple NeRFs for a given scene instead of just one, encouraging the model to use each NeRF to represent a separate 3D entity. At the crux of our approach is an intuitive definition of objects as parts of a scene that can be manipulated independently of others while keeping the scene "well-formed" (Biederman, 1981). We implement this by learning a set of different layouts—3D affine transformations of every NeRF—which must yield composited scenes that render into in-distribution 2D images given a text prompt (Poole et al., 2022).
20
+
21
+ We find that this lightweight inductive bias, which we term layout learning, results in surprisingly effective object disentanglement in generated 3D scenes (Figure 1), enabling object-level scene manipulation in the text-to-3D pipeline. We demonstrate the utility of layout learning on several tasks, such as building a scene around a 3D asset of interest, sampling different plausible arrangements for a given set of assets, and even parsing a provided NeRF into the objects it contains, all without any supervision beyond just a text prompt. We further quantitatively verify that, despite requiring no auxiliary models or per-example human annotation, the object-level decomposition that emerges through layout learning is meaningful and outperforms baselines.
22
+
23
+ ![](images/18fde10526409dd770de872e3e7256d62e97f6b6abe859cca452bd56e9c97529.jpg)
24
+ (a) Generated scene
25
+ "achenk hunting for easter eggs
26
+
27
+ ![](images/ba69e5160b66aa52b257a622156393fe2fc510126b7fc7cc965502ea810e67c9.jpg)
28
+
29
+ ![](images/94da6dc75b669a16c59c42ddab57c7649c5edb72e425f16de2fab895b718120e.jpg)
30
+ (b) Disentangled objects
31
+ #
32
+
33
+ ![](images/b53593cac260b2ed7ba128105e99393a4234870a9832c8d046ab8b2fe62555c6.jpg)
34
+
35
+ ![](images/9e1cefa9f745b734dc97ed6ede074d8a23c8e702273c9eb44b6f8144d67b768f.jpg)
36
+
37
+ ![](images/9d67eb80658f9a90c71ed6d431980d9e242bb726e728fe6b9daf101dde735952.jpg)
38
+ "a chef rat standing on a tiny stool and cooking a stew"
39
+
40
+ ![](images/149f59fe1b661efd2694b50c7d54846422d9c60a5973a45cfb50be73b3b5edbd.jpg)
41
+
42
+ ![](images/212dc2becb4ff92424c5756fb8a8ff89755f5159be186ded8c82468cf49f9572.jpg)
43
+
44
+ ![](images/68d8c59fb1552489ab740efad0914d43638fd905391d923eae58d74f908461a4.jpg)
45
+
46
+ ![](images/c2731f3015113bb8a349dc3fd5143bef8e6fa37cebeb555a9bce67c70cf8a305.jpg)
47
+
48
+ ![](images/e079df9cf6dcb356e4082521dafe4651bdde52b3f213e41a7c82f2f8fe74e46b.jpg)
49
+ "a pigeon having some coffee and a bagel, reading the newspaper"
50
+
51
+ ![](images/730c949a6dc39b7622c974ee8248ead16bbe1178af0dfd902c0cb91cfed6375f.jpg)
52
+
53
+ ![](images/d1c8df83640b1ece2b97dd0e08e2cec89c837de0d16108606e39b85d654e410a.jpg)
54
+
55
+ ![](images/e7d65280d842cd2442ccc3a7dd74f3a81f6a6ed3926f44a70f9c67045bc701d2.jpg)
56
+
57
+ ![](images/ab19bbfb18d0798d62cf69c994bd99a00dfb7fdc1eace2523fe5f6a6fb90dcb1.jpg)
58
+
59
+ ![](images/2e16d7fd3171ae4a2c396095ae4ff1d9edb9d23ae2041d91c31f63c67703dcec.jpg)
60
+ "two dogs in matching outfits paddling a kayak"
61
+
62
+ ![](images/cbc3ca77d2654bb0e676e7f8ac44c2a90e68da2917adf3d1b7c7f11358415159.jpg)
63
+
64
+ ![](images/01ec656c03266db1bcb82abadf5a6f63c270672bc8219db9137b1ec9a63a5f1a.jpg)
65
+
66
+ ![](images/1ddad831a71bc82da022fd84d3a97fcb2da4f1a7f7caf993ae8ec66d54cbc9e4.jpg)
67
+
68
+ ![](images/3f715036d5f1e721c025cfb273dff4e8c278fb47ae61902a21b3ba041f93d84a.jpg)
69
+
70
+ ![](images/b3e66eec7b594708bb46d2b6eb52b14177d11757a185e0cc5bf4da3925e9fadc.jpg)
71
+ "a sloth sitting on a beanbag with popcorn and a remote control"
72
+
73
+ ![](images/09b3ff44e9e7e807fd9f549a653be7b84818c6b879297aa5c52b488dbb283e2d.jpg)
74
+
75
+ ![](images/c4ac7ea04020dd0a340fd0565001c051d8e461fef1ed965d0ec6c0adde5a8a18.jpg)
76
+
77
+ ![](images/4d9f9330567af26c90e0259bbf5f03b645f510f99cd55a413f6448457d7416da.jpg)
78
+
79
+ ![](images/9094c4d6a14be4f2547b2c9614f4d0557bfcd47ee342978f46558e512d805efa.jpg)
80
+
81
+ ![](images/6460dae474eee0de2c976b860c1b3a87007eb3168259ad0194c1109bb5997eaa.jpg)
82
+ "a bald eagle having a burger and a drink at the park"
83
+
84
+ ![](images/ab19c50c7182b07a9d379c6d46eec7b3e385d84bb1530d774e23877a8b20f2d8.jpg)
85
+
86
+ ![](images/d79abb6fce4d14a964f2b856d71b115ae041aae4645f64b2219b19b4fa95eb4c.jpg)
87
+
88
+ ![](images/e71a3e25b9bb54fa881eccc09511d1a9b4705674b4068eb494d962a5f0dda23d.jpg)
89
+
90
+ ![](images/0a4e3f2a65acde318336f9f7d7ea110f8cf711bc954864935f63b7003910e45e.jpg)
91
+
92
+ ![](images/067ea86fc3854e1210c73a805d5e6c2dfb12069cb7d39016610f1390baaca251.jpg)
93
+ "a bear wearing a flannel camping and reading a book by the fire"
94
+
95
+ ![](images/60e26cafdf5ad3de4e21885ea1fe1a461549e44df09849beddbdaf1c9881aad0.jpg)
96
+
97
+ ![](images/8f6e7ff0db7232ecc620eaa3890e606b5822a42b96fe0a97eb5de57892421359.jpg)
98
+
99
+ ![](images/354192bb0c37026a4ebd2d74bd57e97dc7b91edf021cc421fdf2c8b3a3b796a7.jpg)
100
+
101
+ ![](images/106197cb4cf2bacde1892db50bca183feb25f96508ce52c082542fb0238c1f77.jpg)
102
+ Figure 1: Layout learning generates disentangled 3D scenes given a text prompt and a pretrained text-to-image diffusion model. We learn an entire 3D scene (left, shown from two views along with surface normals and a textureless render) that is composed of multiple NeRFs (right) representing different objects and arranged according to a learned layout.
103
+
104
+ Our key contributions are as follows:
105
+
106
+ - We introduce a simple, tractable definition of objects as portions of a scene that can be manipulated independently of each other and still produce valid scenes.
107
+ - We incorporate this notion into the architecture of a neural network, enabling the compositional generation of 3D scenes by optimizing a set of NeRFs as well as a set of layouts for these NeRFs.
108
+ - We apply layout learning to a range of novel 3D scene generation and editing tasks, demonstrating its ability to disentangle complex data despite requiring no object labels, bounding boxes, fine-tuning, external models, or any other form of additional supervision.
109
+
110
+ # 2. Background
111
+
112
+ # 2.1. Neural 3D representations
113
+
114
+ To output three-dimensional scenes, we must use an architecture capable of modeling 3D data, such as a neural radiance field (NeRF, Mildenhall et al., 2020). We build on MLP-based NeRFs (Barron et al., 2021), that represent a volume using an MLP $f$ that maps from a point in 3D space $\mu$ to a density $\tau$ and albedo $\rho$ :
115
+
116
+ $$
117
+ (\tau , \boldsymbol {\rho}) = f (\boldsymbol {\mu}; \theta).
118
+ $$
119
+
120
+ We can differentiably render this volume by casting a ray $\mathbf{r}$ into the scene, and then alpha-compositing the densities and colors at sampled points along the ray to produce a color and accumulated alpha value. For 3D reconstruction, we would optimize the colors for the rendered rays to match a known pixel value at an observed image and camera pose, but for 3D generation we sample a random camera pose, render the corresponding rays, and score the resulting image using a generative model.
121
+
122
+ # 2.2. Text-to-3D using 2D diffusion models
123
+
124
+ Our work builds on text-to-3D generation using 2D diffusion priors (Poole et al., 2022). These methods turn a diffusion model into a loss function that can be used to optimize the parameters of a 3D representation. Given an initially random set of parameters $\theta$ , at each iteration we randomly sample a camera $c$ and render the 3D model to get an image $x = g(\theta, c)$ . We can then score the quality of this rendered image given some conditioning text $y$ by evaluating the score function of a noised version of the image $z_t = \alpha_t x + \sigma_t \epsilon$ using the pretrained diffusion model $\hat{\epsilon}(z_t; y, t)$ . We update the parameters of the 3D representation using score distillation:
125
+
126
+ $$
127
+ \nabla_ {\theta} \mathcal {L} _ {\mathrm {S D S}} (\theta) = \mathbb {E} _ {t, \epsilon , c} \left[ w (t) \left(\hat {\epsilon} \left(z _ {t}; y, t\right) - \epsilon\right) \frac {\partial x}{\partial \theta} \right] \tag {1}
128
+ $$
129
+
130
+ where $w(t)$ is a noise-level dependent weighting.
131
+
132
+ SDS and related methods enable the use of rich 2D priors obtained from large text-image datasets to inform the structure of 3D representations. However, they often require careful tuning of initialization and hyperparameters to yield high quality 3D models, and past work has optimized these towards object generation. The NeRF is initialized with a Gaussian blob of density at the origin, biasing the optimization process to favor an object at the center instead of placing density in a skybox-like environment in the periphery of the 3D representation. Additionally, bounding spheres are used to prevent creation of density in the background. The resulting 3D models can produce high-quality individual objects, but often fail to generate interesting scenes, and the resulting 3D models are a single representation that cannot be easily split apart into constituent entities.
133
+
134
+ # 3. Method
135
+
136
+ To bridge the gap from monolithic 3D representations to scenes with multiple objects, we introduce a more expressive 3D representation. Here, we learn multiple NeRFs along with a set of layouts, i.e. valid ways to arrange these NeRFs in 3D space. We transform the NeRFs according to these layouts and composite them, training them to form high-quality scenes as evaluated by the SDS loss with a text-to-image prior. This structure causes each individual NeRF to represent a different object while ensuring that the composite NeRF represents a high-quality scene. See Figure 2 for an overview of our approach.
137
+
138
+ # 3.1. Compositing multiple volumes
139
+
140
+ We begin by considering perhaps the most naive approach to generating 3D scenes disentangled into separate entities. We simply declare $K$ NeRFs $\{f_k\}$ each one intended to house its own object—and jointly accumulate densities from all NeRFs along a ray, proceeding with training as normal by rendering the composite volume. This can be seen as an analogy to set-latent representations (Locatello et al., 2020; Jaegle et al., 2021a,b; Jabri et al., 2023), which have been widely explored in other contexts. In this case, rather than arriving at the final albedo $\pmb{\rho}$ and density $\tau$ of a point $\pmb{\mu}$ by querying one 3D representation, we query $K$ such representations, obtaining a set $\{\pmb{\rho}_k, \tau_k\}_{k=1}^K$ . The final density at $\pmb{\mu}$ is then $\tau' = \sum \tau_k$ and the final albedo is the density-weighted average $\pmb{\rho}' = \sum \frac{\tau_k}{\tau'} \pmb{\rho}_k$ .
141
+
142
+ This formulation provides several potential benefits. First, it may be easier to optimize this representation to generate a larger set of objects, since there are $K$ distinct 3D Gaussian density spheres to deform at initialization, not just one. Second, many representations implicitly contain a local smoothness bias (Tancik et al., 2020) which is helpful for
143
+
144
+ ![](images/6bdd79fe8c34219b9c8645088f8628ccd2450ebdf94a3a67bc967ea2fda448d2.jpg)
145
+ Figure 2: Method. Layout learning works by optimizing $K$ NeRFs $f_{k}$ and learning $N$ different layouts $\mathbf{L}_n$ for them, each consisting of per-NeRF affine transforms $\mathbf{T}_k$ . Every iteration, a random layout is sampled and used to transform all NeRFs into a shared coordinate space. The resultant volume is rendered and optimized with score distillation sampling (Poole et al., 2022) as well as per-NeRF regularizations to prevent degenerate decompositions and geometries (Barron et al., 2022). This simple structure causes object disentanglement to emerge in generated 3D scenes.
146
+
147
+ generating objects but not spatially discontinuous scenes. Thus, our representation might be inclined toward allocating each representation toward a spatially smooth entity, i.e. an object.
148
+
149
+ However, just as unregularized sets of latents are often highly uninterpretable, simply spawning $K$ instances of a NeRF does not produce meaningful decompositions. In practice, we find each NeRF often represents a random point-cloud-like subset of 3D space (Fig. 3).
150
+
151
+ To produce scenes with disentangled objects, we need a method to encourage each 3D instance to represent a coherent object, not just a different part of 3D space.
152
+
153
+ # 3.2. Layout learning
154
+
155
+ We are inspired by other unsupervised definitions of objects that operate by imposing a simple inductive bias or regularization in the structure of a model's latent space, e.g. query-axis softmax attention (Locatello et al., 2020), spatial ellipsoid feature maps (Epstein et al., 2022), and diagonal Hessian matrices (Peebles et al., 2020). In particular, Niemeyer & Geiger (2021) learn a 3D-aware GAN that composites multiple NeRF volumes in the forward pass, where the latent code contains a random affine transform for each NeRF's output. Through this structure, each NeRF learns to associate itself with a different object, facilitating the kind of disentanglement we are after. However, their approach relies on pre-specified independent distributions of each object's location, pose, and size, preventing scaling
156
+
157
+ beyond narrow datasets of images with one or two objects and minimal variation in layout.
158
+
159
+ In our setting, not only does the desired output comprise numerous open-vocabulary, arbitrary objects, but these objects must be arranged in a particular way for the resultant scene to be valid or "well-formed" (Biederman et al., 1982). Why not simply learn this arrangement?
160
+
161
+ To do this, we equip each individual NeRF $f_{k}$ with its own learnable affine transform $\mathbf{T}_k$ , and denote the set of transforms across all volumes a layout $\mathbf{L} \equiv \{\mathbf{T}_k\}_{k=1}^K$ . Each $\mathbf{T}_k$ has a rotation $\mathbf{R}_k \in \mathbb{R}^{3 \times 3}$ (in practice expressed via a quaternion $\mathbf{q} \in \mathbb{R}^4$ for ease of optimization), translation $\mathbf{t}_k \in \mathbb{R}^3$ , and scale $s_k \in \mathbb{R}$ . We apply this affine transform to the camera-to-world rays $\mathbf{r}$ before sampling the points used to query $f_{k}$ . This implementation is simple, makes no assumptions about the underlying form of $f$ , and updates parameters with standard backpropagation, as sampling and embedding points along the ray is fully differentiable (Lin et al., 2021). Concretely, a ray $\mathbf{r}$ with origin $\mathbf{o}$ and direction $\mathbf{d}$ is transformed into an instance-specific ray $\mathbf{r}_k$ via the following transformations:
162
+
163
+ $$
164
+ \mathbf {o} _ {k} = s _ {k} \left(\mathbf {R} _ {k} \mathbf {o} - \mathbf {t} _ {k}\right) \tag {2}
165
+ $$
166
+
167
+ $$
168
+ \mathbf {d} _ {k} = s _ {k} \mathbf {R} _ {k} \mathbf {d} \tag {3}
169
+ $$
170
+
171
+ $$
172
+ \mathbf {r} _ {k} (t) = \mathbf {o} _ {k} + t \mathbf {d} _ {k} \tag {4}
173
+ $$
174
+
175
+ Though we input a different $H \times W$ grid of rays to each $f_{k}$ , we composite their outputs as if they all sit in the same
176
+
177
+ <table><tr><td rowspan="2">Method</td><td colspan="4">Average Score ↑</td></tr><tr><td>CLIP Color</td><td>B/16 Geo</td><td>CLIP Color</td><td>L/14 Geo</td></tr><tr><td>Random objects</td><td>23.4</td><td>22.4</td><td>17.2</td><td>18.3</td></tr><tr><td>Per-object SDS</td><td>32.3</td><td>30.5</td><td>27.2</td><td>25.9</td></tr><tr><td>K NeRFs</td><td>26.7</td><td>25.4</td><td>21.0</td><td>21.2</td></tr><tr><td>+ Per-NeRF losses</td><td>27.3</td><td>26.1</td><td>21.6</td><td>22.6</td></tr><tr><td>+ Empty NeRF loss</td><td>27.7</td><td>26.2</td><td>22.8</td><td>23.2</td></tr><tr><td>+ Learn layout</td><td>29.9</td><td>28.8</td><td>24.9</td><td>23.5</td></tr><tr><td>+ Learn N layouts</td><td>31.3</td><td>29.9</td><td>27.1</td><td>24.8</td></tr><tr><td>Relative layouts</td><td>30.4</td><td>29.2</td><td>25.7</td><td>24.0</td></tr><tr><td>View dep. prompt</td><td>31.0</td><td>29.1</td><td>25.6</td><td>23.6</td></tr></table>
178
+
179
+ Figure 3: Evaluating disentanglement and quality. We optimize a model with $K = 3$ NeRFs on a list of 30 prompts, each containing three objects. We then automatically pair each NeRF with a description of one of the objects in the prompt and report average NeRF-object CLIP score (see text for details). We also generate each of the $30 \times 3 = 90$ objects from the prompt list individually and compute its score with both the corresponding prompt and a random other one, providing upper and lower bounds for performance on this task. Training $K$ NeRFs provides some decomposition, but most objects are scattered across 2 or 3 models. Learning one layout alleviates some of these issues, but only with multiple layouts do we see strong disentanglement. We show two representative examples of emergent objects to visualize these differences.
180
+
181
+ coordinate space—for example, the final density at $\pmb{\mu} = \mathbf{r}(t)$ is the sum of densities output by every $f_{k}$ at $\pmb{\mu}_{k} = \mathbf{r}_{k}(t)$ .
182
+
183
+ Compared to the naive formulation that instantiates $K$ models with identical initial densities, learning the size, orientation, and position of each model makes it easier to place density in different parts of 3D space. In addition, the inherent stochasticity of optimization may further dissuade degenerate solutions.
184
+
185
+ While introducing layout learning significantly increases the quality of object disentanglement (Tbl. 3b), the model is still able to adjoin and utilize individual NeRFs in undesirable ways. For example, it can still place object parts next to each other in the same way as K NeRFs without layout learning.
186
+
187
+ Learning multiple layouts. We return to our statement that objects must be "arranged in a particular way" to form scenes that render to in-distribution images. While we already enable this with layout learning in its current form, we are not taking advantage of one key fact: there are many "particular ways" to arrange a set of objects, each of which gives an equally valid composition. Rather than only learning one layout, we instead learn a distribution over layouts $P(\mathbf{L})$ or a set of $N$ randomly initialized layouts $\{\mathbf{L}_n\}_{n=1}^N$ . We opt for the latter, and sample one of the $N$ layouts from the set at each training step to yield transformed rays $\mathbf{r}_k$ .
188
+
189
+ With this in place, we have arrived at our final definition of objectness (Figure 2): objects are parts of a scene that can be arranged in different ways to form valid compo
190
+
191
+ sitions. We have "parts" by incorporating multiple volumes, and "arranging in different ways" through multiple-Layout learning. This simple approach is easy to implement (Fig. 9), adds very few parameters ( $8NK$ to be exact), requires no fine-tuning or manual annotation, and is agnostic to choices of text-to-image and 3D model. In Section 4, we verify that layout learning enables the generation and disentanglement of complex 3D scenes.
192
+
193
+ Regularization. We build on Mip-NeRF 360 (Barron et al., 2022) as our 3D backbone, inheriting their orientation, distortion, and accumulation losses to improve visual quality of renderings and minimize artifacts. However, rather than computing these losses on the final composited scene, we apply them on a per-NeRF basis. Importantly, we add a loss penalizing degenerate empty NeRFs by regularizing the soft-binarized version of each NeRF's accumulated density, $\alpha_{\mathrm{bin}}$ , to occupy at least $10\%$ of the canvas:
194
+
195
+ $$
196
+ \mathcal {L} _ {\text {e m p t y}} = \max (0. 1 - \bar {\alpha} _ {\text {b i n}}, 0) \tag {5}
197
+ $$
198
+
199
+ We initialize parameters $s \sim \mathcal{N}(1,0.3)$ , $\mathbf{t}^{(i)} \sim \mathcal{N}(0,0.3)$ , and $\mathbf{q}^{(i)} \sim \mathcal{N}(\mu_i,0.1)$ where $\mu_i$ is 1 for the last element and 0 for all others. We use a $10 \times$ higher learning rate to train layout parameters. See Appendix A.1 for more details.
200
+
201
+ # 4. Experiments
202
+
203
+ We examine the ability of layout learning to generate and disentangle 3D scenes across a wide range of text prompts. We
204
+
205
+ ![](images/000e4d1e109532ef76c813eff1bb5ed213b49bff6af8b39f5d3fff4caa419e10.jpg)
206
+
207
+ (a) Frozen object
208
+ ![](images/9a3811712ecde0f3b46d6f1ace0b75d23e36bf426d1111c9651794d41b2af6b6.jpg)
209
+ "a cat wearing a hawaiian shirt and sunglasses, having a drink on a beach towel"
210
+
211
+ ![](images/3a40ea5a529c608718ca1ecf4017848b3e95e3d28d8ae47945abef35cbc1c7f6.jpg)
212
+ (b) Disentangled objects
213
+
214
+ ![](images/170d74c818e8a03c23806a6a034272e4e7be3b852d4ee54a20c671d7580fdd52.jpg)
215
+
216
+ ![](images/81ddf182b89c314271ab1aa32acaa6a364665b60679400282b594b3193489dc9.jpg)
217
+ (c) Generated scene
218
+
219
+ ![](images/b65ce177bfb22742e16a21a674f5f854cbf4dac14bbd7285603366e7ff700237.jpg)
220
+
221
+ ![](images/873e4a85e9766a50a195229a67327117186b2e0eab73d5526030b6fc874f64fa.jpg)
222
+
223
+ ![](images/85060b84d6f0003635533688005d82a47363ecdd90dafe98d7118c809fc52d60.jpg)
224
+
225
+ ![](images/da69970c404305d0ea28799d98983cff6c219d84cb9b8c3b9c917536a6d632be.jpg)
226
+
227
+ ![](images/1094b35018222efbc1ceb464f3644c0d1ae5c20707e54ee6955131a47af3532f.jpg)
228
+ "a cat wearing a Santa costume holding a present next to a miniature Christmas tree"
229
+
230
+ ![](images/5ea164c395cd05534dd2ba8c720ab1606ef0eedb662182b3fc9062769a85c575.jpg)
231
+
232
+ ![](images/ca08898d7edef385f70553103e380cca6073b12d74ff41943a3dc6e1429a524f.jpg)
233
+
234
+ ![](images/cfdcd99daa04615bd97109bc38ed3b86b47311af0139bc7175fddc73a73fa757.jpg)
235
+
236
+ ![](images/b9ad5f7c04b740c44635742db2cc362f0b286d1712380eab7b310074ddde909b.jpg)
237
+
238
+ ![](images/1057586089df864dd29bc0d3e94bb8bf7c1be14f1c1cfbf0b097fcc60393700f.jpg)
239
+
240
+ ![](images/65d2bb5be784971328b926895b61717a1041b615e35d351817f49adbad41579b.jpg)
241
+ Figure 4: Conditional optimization. We can take advantage of our structured representation to learn a scene given a 3D asset in addition to a text prompt, such as a specific cat or motorcycle (a). By freezing the NeRF weights but not the layout weights, the model learns to arrange the provided asset in the context of the other objects it discovers (b). We show the entire composite scenes the model creates in (c) from two views, along with surface normals and a textureless render.
242
+
243
+ ![](images/d8ab98fa3db681168e9998b0534f9b9b1012c7cc978c045c2cc1e06bbfb5bf7d.jpg)
244
+
245
+ ![](images/8d35ce9615e39181cb088ee27d6e4c9595530e855c97463aef4110c3c28186ea.jpg)
246
+
247
+ ![](images/669f17df7b990a31d0636d6a8aa3fee661906854ad00da3088bc4992b5d6d43b.jpg)
248
+
249
+ ![](images/f17362338e0f26b21f51310f29c77f21f81d2fe5c905fd21e6fafa0fc2ba8fc5.jpg)
250
+
251
+ ![](images/cc4dc67d5c837f1ef65953841fa277c98ca9862d0e62927667f2cbd75bc66db8.jpg)
252
+
253
+ ![](images/80706340a6ce4acfe05dfb8f2be84f012b9d44d423265e19f605cc9e664ac13d.jpg)
254
+ "alion in a leather jacket riding a motorcycle between two differently colored cones"
255
+
256
+ ![](images/e8ba3b8bd9f2b93a2a0dbbda5aaf2af6398d4e16d8dd5345978c895c94eab5ff.jpg)
257
+
258
+ ![](images/123e572a55c1e1aadd6fafba8a80359efc6cf4b0a451d285cc1cd1e496f845e3.jpg)
259
+
260
+ ![](images/3c945f56e7f9c91ab969bbf7048c3badc0f1f75900bd99996477b2b7c10a93c7.jpg)
261
+ "a modern nightstand with a lamp and a miniature motorcycle model on it, on top of a small rug"
262
+
263
+ ![](images/473cf8413bc34abe1e1b52a7d5b84af9ee51d1cf45a5991d3327b76250392974.jpg)
264
+
265
+ ![](images/aa812c562487dd89edbf3950b5d28fb63f3f379231b6ed111bd2248e371c7d95.jpg)
266
+
267
+ ![](images/595e6e6e79d13d874addbdc4ee19138dd27adb53c6bc7af4f1edb92e50fa675d.jpg)
268
+
269
+ ![](images/55f9f36d487789b5bc99e8fdcd508c582e535788db1be6c6dfbd59eb54babf02.jpg)
270
+
271
+ ![](images/87b66a52ba4a78be0827bad558b28ae1089f98ebfe31a8a13f2751526ac24c7e.jpg)
272
+
273
+ first verify our method's effectiveness through an ablation study and comparison to baselines, and then demonstrate various applications enabled by layout learning.
274
+
275
+ # 4.1. Qualitative evaluation
276
+
277
+ In Figure 1, we demonstrate several examples of our full system with layout learning. In each scene, we find that the composited 3D generation is high-quality and matches the text prompt, while the individual NeRFs learn to correspond to objects within the scene. Interestingly, since our approach does not directly rely on the input prompt, we can disentangle entities not mentioned in the text, such as a basket filled with easter eggs, a chef's hat, and a picnic table.
278
+
279
+ # 4.2. Quantitative evaluation
280
+
281
+ Measuring the quality of text-to-3D generation remains an open problem due to a lack of ground truth data—there is
282
+
283
+ no "true" scene corresponding to a given prompt. Similarly, there is no true disentanglement for a certain text description. Following Park et al. (2021); Jain et al. (2022); Poole et al. (2022), we attempt to capture both of these aspects using scores from a pretrained CLIP model (Radford et al., 2021; Li et al., 2017). Specifically, we create a diverse list of 30 prompts, each containing 3 objects, and optimize a model with $K = 3$ NeRFs on each prompt. We compute the $3 \times 3$ matrix of CLIP scores $(100 \times$ cosine similarity) for each NeRF with descriptions "a DSLR photo of [object $1/2/3$ ]", finding the optimal NeRF-to-object matching and reporting the average score across all 3 objects.
284
+
285
+ We also run SDS on the $30 \times 3 = 90$ per-object prompts individually and compute scores, representing a maximum attainable CLIP score under perfect disentanglement (we equalize parameter counts across all models for fairness).
286
+
287
+ As a low-water mark, we compute scores between per-object NeRFs and a random other prompt from the pool of 90.
288
+
289
+ The results in Table 3b show these CLIP scores, computed both on textured ("Color") and textureless, geometry-only ("Geo") renders. The final variant of layout learning achieves competitive performance, only 0.1 points away from supervised per-object rendering when using the largest CLIP model as an oracle, indicating high quality of both object disentanglement and appearance. Please see Appendix A.3 for a complete list of prompts and more details.
290
+
291
+ Ablation. We justify the sequence of design decisions presented in Section 3 by evaluating different variants of layout learning, starting from a simple collection of $K$ NeRFs and building up to our final architecture. The simple setting leads to some non-trivial separation (Figure 3a) but parts of objects are randomly distributed across NeRFs—CLIP scores are significantly above random, but far below the upper bound. Adding regularization losses improve scores somewhat, but the biggest gains come from introducing layout learning and then co-learning $N$ different arrangements, validating our approach.
292
+
293
+ # 4.3. Applications of layout learning
294
+
295
+ To highlight the utility of the disentanglement given by layout learning beyond generation, we apply it to various 3D editing tasks. First, we show further results on object disentanglement in Figure 4, but in a scenario where one NeRF is frozen to contain an object of interest, and the rest of the scene must be constructed around it. This object's layout parameters can also be frozen, for example, if a specific position or size is desired. We examine the more challenging setting where layout parameters must also be learned, and show results incorporating a grumpy cat and green motorbike into different contexts. Our model learns plausible transformations to incorporate provided assets into scenes, while still discovering the other objects necessary to complete the prompt.
296
+
297
+ In Figure 5, we visualize the different layouts learned in a single training run. The variation in discovered layouts is significant, indicating that our formulation can find various meaningful arrangements of objects in a scene. This allows users of our method to explore different permutations of the same content in the scenes they generate.
298
+
299
+ Inspired by this, and to test gradient flow into layout parameters, we also examine whether our method can be used to arrange off-the-shelf, frozen 3D assets into semantically valid configurations (Figure 6). Starting from random positions, sizes, and orientations, layouts are updated using signal backpropagated from the image model. This learns reasonable transformations, such as a rubber duck shrinking and moving inside a tub, and a shower head moving
300
+
301
+ ![](images/8c757548bf73c8c169c191aa2ab0113cf3c48bc1ef23601cef058d6494475969.jpg)
302
+
303
+ ![](images/6253224270a04648b284a113f458e0989350158ea1d72978c145d1bf77b33390.jpg)
304
+
305
+ ![](images/fde23bd098997cd7ffe8630bd9bad9c818582da0743dacdfe51dbb356954ce09.jpg)
306
+ Figure 5: Layout diversity. Our method discovers different plausible arrangements for objects. Here, we optimize each example over $N = 4$ layouts and show differences in composited scenes, e.g. flamingos wading inside vs. beside the pond, and cats in different poses around the snooker table.
307
+
308
+ upwards and pointing so its stream is going into the tub.
309
+
310
+ Finally, we use layout learning to disentangle a pre-existing NeRF containing multiple entities, without any per-object supervision (Fig. 8). We do this by randomly initializing a new model and training it with a caption describing the target NeRF. We require the first layout $\mathbf{L}_1$ to create a scene that faithfully reconstructs the target NeRF in RGB space, allowing all other layouts to vary freely. We find that layout learning arrives at reasonable decompositions of the scenes it is tasked with reconstructing.
311
+
312
+ # 5. Related work
313
+
314
+ Object recognition and discovery. The predominant way to identify the objects present in a scene is to segment two-dimensional images using extensive manual annotation (Kirillov et al., 2023; Li et al., 2022; Wang et al., 2023a), but relying on human supervision introduces challenges and scales poorly to 3D data. As an alternative, an extensive line of work on unsupervised object discovery (Russell et al., 2006; Rubinstein et al., 2013; Oktay et al., 2018; Henaff et al., 2022; Smith et al., 2022; Ye et al., 2022; Monnier et al., 2023) proposes different inductive biases (Locatello et al., 2019) that encourage awareness of objects in a scene. However, these approaches are largely restricted to either 2D images or constrained 3D data (Yu et al., 2021; Sajjadi et al., 2022), limiting their applicability to complex 3D scenes. At the same time, large text-to-image models have been shown to implicitly encode an understanding of entities in their
315
+
316
+ ![](images/3d4c0235aad2c13bed794a740a78f26187327c6c77728554539e09d658d69957.jpg)
317
+ (a) Input objects
318
+
319
+ ![](images/497919bb2772e20847a0dd3105a257ee63957173b5b7650f8c4e483a337c66fc.jpg)
320
+ "abowl of pasta, a table, and a chair
321
+
322
+ ![](images/2aa894e9fcee91aa2aa14979af0cfaff5560bdf6f1b431eb00569f08a10047b1.jpg)
323
+
324
+ ![](images/f6c38afbb41ecc0dbf9efb5299af8821e2d079532e202ab330549bc43945b9a3.jpg)
325
+ (b) Learned layout
326
+
327
+ ![](images/8bc8367601238af53ef8cfc58fb1875fdc089ffe5dfddcc38608c5710fddb5f9.jpg)
328
+
329
+ ![](images/0bd5c9dae3a10a7f0492f2ef873beced9b9b3376c331d8064ea38ca77f14f66d.jpg)
330
+
331
+ ![](images/4adeb7b574e5530347d5cb31cf91e4b6d46bcc06cd371248b8ed85d4ebadab6f.jpg)
332
+ "a monitor, keyboard, and mouse"
333
+
334
+ ![](images/1824c5d177774a749e7f06b0d07e7ff5d27141b85dd16645f5975ec4eb5cb9ce.jpg)
335
+
336
+ ![](images/274620926877b829768186289700704705e83a11edbd92e3494f7fbda328dbd4.jpg)
337
+
338
+ ![](images/b3a32d46bcdadeabb1ee4f93b3f8ec418af01578bd60effe035ca4e0c650a8b8.jpg)
339
+
340
+ ![](images/bda705bc35b5ae6f4dc67c81be3e13d66a8ccf5b4aa3fade07b8c115f82be2b3.jpg)
341
+ Figure 6: Optimizing layout. Allowing gradients to flow only into layout parameters while freezing a set of provided 3D assets results in reasonable object configurations, such as a chair tucked into a table with spaghetti on it, despite no such guidance being provided in the text conditioning.
342
+
343
+ ![](images/dd6bfd12a7ca78c72b6bcebe3b7ad2cf288510df5a099f5c63bfcd57203e9922.jpg)
344
+ "a rubber duck, a bathtub, and a shower head"
345
+
346
+ ![](images/7c61b99c98826363d96f358c33c845e87f436834ecba725428fe873635ca1b61.jpg)
347
+
348
+ ![](images/de7edbeb991590f0d68edb6ffa4f5fdc54a3b755495ad94df521d60252f18d2e.jpg)
349
+
350
+ ![](images/69e4fcd6071119324e67904bce017762045446e119b900d7ff05b1599160a2ae.jpg)
351
+
352
+ internals (Epstein et al., 2023), motivating their use for the difficult problem of explicit object disentanglement.
353
+
354
+ Compositional 3D generation. There are many benefits to generating 3D scenes separated into objects beyond just better control. For example, generating objects one at a time and compositing them manually provides no guarantees about compatibility in appearance or pose, such as "dogs in matching outfits" in Figure 1 or a lion holding the handlebars of a motorcycle in Figure 4. Previous and concurrent work explores this area, but either requires users to painstakingly annotate 3D bounding boxes and per-object labels (Cohen-Bar et al., 2023; Po & Wetzstein, 2023) or uses external supervision such as LLMs to propose objects and layouts (Yang et al., 2023; Zhang et al., 2023), significantly slowing down the generation process and hindering quality. We show that this entire process can be solved without any additional models or labels, simply using the signal provided by a pretrained image generator.
355
+
356
+ # 6. Discussion
357
+
358
+ We present layout learning, a simple method for generating disentangled 3D scenes given a text prompt. By optimizing multiple NeRFs to form valid scenes across multiple layouts, we encourage each NeRF to contain its own object. This approach requires no additional supervision or auxiliary models, yet performs quite well. By generating scenes that are decomposed into objects, we provide users of text-to-3D systems with more granular, local control over the complex creations output by a black-box neural network.
359
+
360
+ Disentangled objects
361
+ ![](images/ba0ab9f29ea87c30acbafbbba59638c75de69d761269eac70cf2edb1ca963d09.jpg)
362
+ (a) Bad geometry: "a moose staring down a snowman by a cabin"
363
+
364
+ ![](images/280c65c1d8d7543d614baa0c2a6a5fa4da43cfb93a4416d65b93e4fd39d9b4de.jpg)
365
+
366
+ ![](images/c520b2dfd433ce65248a7df8ac8b2fb1ef24d06217f58f611c1ee0e78edc915e.jpg)
367
+
368
+ ![](images/6503b40a7191733c79308c2806e89456a07e7ddaebd6038c5690db76e367ece8.jpg)
369
+ Entire scene
370
+
371
+ ![](images/a6d69860e9a1d97a0f6e0b1a7e77fbeda557a1b470ed1a1b8e2b721cafe25c48.jpg)
372
+
373
+ ![](images/01871ec636238c1b7bf03a59ff3634a8855951f1a6547a812d4c6d698e724ec7.jpg)
374
+ (b) Undersegmentation: "two astronauts riding a horse together"
375
+
376
+ ![](images/543aa7b31d9bddb398edb4eb328a01e3807b9f1d9fdc79719edb0d4ab26d0763.jpg)
377
+
378
+ ![](images/1375654e88a2be43ae97c203b6b2e0c69b0d5ef1b1ee8e2d4ae1956c68ab75ef.jpg)
379
+
380
+ ![](images/d255018681e55886f9dff053710dfe55580409b48895c6dee5ccf1075bb81c2c.jpg)
381
+
382
+ ![](images/62344f64ac1ccde075a6904ea14e5a6d33a08873a3a61485109bc4088a16fab2.jpg)
383
+
384
+ ![](images/8951f7f7ed520cb1450b88648c0d3ee3ee5b71d03243df06694ac75e244a494e.jpg)
385
+
386
+ ![](images/735370f0f8611bdb698812c96e09ad55b40e095115e0c5dc4f11ae4c1bfe7e4e.jpg)
387
+
388
+ ![](images/8d059664571dc7ec87d86d8ae6506f51c723d02ab916bea4f144611d67ae3090.jpg)
389
+
390
+ ![](images/87f823267a1b8e57ad4ddd8ef399d4e78ba0cd47fd08f764000d3004b145246f.jpg)
391
+ (c) Clutter $(K = 5)$ : "two fancy llamas enjoying a tea party"
392
+
393
+ ![](images/3d25b6b946493aa246284f0484960458c3b1a46d7abef31ecbc48540a161a41c.jpg)
394
+
395
+ ![](images/a42ab320de96040a336ec9f3eb8762a7b8d25af3c6ceec71ab1a1f6c8010fd37.jpg)
396
+ (d) Overly similar layouts: "a monkey having a whiskey and a cigar, using a typewriter"
397
+
398
+ ![](images/af2b14052788330a29be449c681e3e901429a61416a3be9ed93006bc888f5944.jpg)
399
+ Learned layouts
400
+
401
+ ![](images/366beba4e294eee4c4d31cf11c123b3cc724956e44e5c341e37b5d7ae7fdd0cb.jpg)
402
+
403
+ ![](images/0d0c11d2be24df19d4907b1fa5bd261a2177bc8bb4d94592c3273c2dc0de7fd3.jpg)
404
+
405
+ Figure 7: Limitations. Layout learning inherits failure modes from SDS, such as bad geometry of a cabin with oddly intersecting exterior walls (a). It also may undesirably group objects that always move together (b) such as a horse and its rider, and (c) for certain prompts that generate many small objects, choosing $K$ correctly is challenging, hurting disentanglement. In some cases (d), despite different initial values, layouts converge to very similar final configurations.
406
+
407
+ Though layout learning is surprisingly effective on a wide variety of text prompts, the problem of object disentangle-ment in 3D is inherently ill-posed, and our definition of objects is simple. As a result, many undesirable solutions exist that satisfy the constraints we pose.
408
+
409
+ Despite our best efforts, the compositional scenes output by our model do occasionally suffer from failures (Fig. 7) such as over- or under-segmentation and the "Janus problem" (where objects are depicted so that salient features appear from all views, e.g. an animal with a face on the back of its head) as well as other undesirable geometries. Further, though layouts are initialized with high standard deviation and trained with an increased learning rate, they occasionally converge to near-identical values, minimizing the effectiveness of our method. In general, we find that failures to disentangle are accompanied by an overall decrease in visual quality.
410
+
411
+ # Acknowledgements
412
+
413
+ We thank Dor Verbin, Ruiqi Gao, Lucy Chai, and Minyoung Huh for their helpful comments, and Arthur Brussee for help with an NGP implementation. DE was partly supported by the PD Soros Fellowship. DE conducted part of this research at Google, with additional funding from an ONR MURI grant.
414
+
415
+ # Impact statement
416
+
417
+ Generative models present many ethical concerns over data attribution, nefarious applications, and longer-term societal effects. Though we build on a text-to-image model trained on data that has been filtered to remove concerning imagery and captions, recent work has shown that popular datasets contain dangerous depictions of undesirable content<sup>1</sup> which may leak into model weights.
418
+
419
+ Further, since we distill the distribution learned by an image generator, we inherit the potential negative use-cases enabled by the original model. By facilitating the creation of more complex, compositional 3D scenes, we perhaps expand the scope of potential issues associated with text-to-3D technologies. Taking care to minimize potential harmful deployment of our generative models through using ethically-sourced and well-curated data is of the utmost importance as our field continues to grow in size and influence.
420
+
421
+ Further, by introducing an unsupervised method to disentangle 3D scenes into objects, we possibly contribute to the displacement of creative workers such as video game asset designers via increased automation. However, at the same time, methods like the one we propose have the potential to become valuable tools at the artist's disposal, providing much more control over outputs and helping create new, more engaging forms of content.
422
+
423
+ # References
424
+
425
+ Barron, J. T., Mildenhall, B., Tancik, M., Hedman, P., Martin-Brualla, R., and Srinivasan, P. P. Mip-nerf: A multiscale representation for anti-aliasing neural radiance fields. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 5855-5864, October 2021.
426
+ Barron, J. T., Mildenhall, B., Verbin, D., Srinivasan, P. P., and Hedman, P. Mip-nerf 360: Unbounded anti-aliased neural radiance fields. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5470-5479, June 2022.
427
+ Biederman, I. On the semantics of a glance at a scene. In Perceptual organization, pp. 213-253. Routledge, 1981.
428
+
429
+ Biederman, I., Mezzanotte, R. J., and Rabinowitz, J. C. Scene perception: Detecting and judging objects undergoing relational violations. Cognitive psychology, 14(2): 143-177, 1982.
430
+ Chang, H., Zhang, H., Barber, J., Maschinot, A., Lezama, J., Jiang, L., Yang, M.-H., Murphy, K., Freeman, W. T., Rubinstein, M., et al. Muse: Text-to-image generation via masked generative transformers. In ICML, 2023.
431
+ Cohen-Bar, D., Richardson, E., Metzer, G., Giryes, R., and Cohen-Or, D. Set-the-scene: Global-local training for generating controllable nerf scenes. In ICCV, 2023.
432
+ Epstein, D., Park, T., Zhang, R., Shechtman, E., and Efros, A. A. Blobgan: Spatially disentangled scene representations. In European Conference on Computer Vision, pp. 616-635. Springer, 2022.
433
+ Epstein, D., Jabri, A., Poole, B., Efros, A. A., and Holynski, A. Diffusion self-guidance for controllable image generation. In Advances in Neural Information Processing Systems, 2023.
434
+ Gupta, V., Koren, T., and Singer, Y. Shampoo: Preconditioned stochastic tensor optimization. In ICML, 2018.
435
+ Hedlin, E., Sharma, G., Mahajan, S., Isack, H., Kar, A., Tagliasacchi, A., and Yi, K. M. Unsupervised semantic correspondence using stable diffusion. arXiv preprint arXiv:2305.15581, 2023.
436
+ Henaff, O. J., Koppula, S., Shelhamer, E., Zoran, D., Jaegle, A., Zisserman, A., Carreira, J., and Arandjelovic, R. Object discovery and representation networks. In European Conference on Computer Vision, pp. 123-143. Springer, 2022.
437
+ Hoffmann, A., Rüttler, V., and Nieder, A. Ontogeny of object permanence and object tracking in the carrion crow, corvus corone. Animal behaviour, 82(2):359-367, 2011.
438
+ Jabri, A., Fleet, D., and Chen, T. Scalable adaptive computation for iterative generation. In ICML, 2023.
439
+ Jaegle, A., Borgeaud, S., Alayrac, J.-B., Doersch, C., Ionescu, C., Ding, D., Koppula, S., Zoran, D., Brock, A., Shelhamer, E., et al. Perceiver io: A general architecture for structured inputs & outputs. arXiv preprint arXiv:2107.14795, 2021a.
440
+ Jaegle, A., Gimeno, F., Brock, A., Vinyals, O., Zisserman, A., and Carreira, J. Perceiver: General perception with iterative attention. In International conference on machine learning, pp. 4651-4664. PMLR, 2021b.
441
+ Jain, A., Mildenhall, B., Barron, J. T., Abbeel, P., and Poole, B. Zero-shot text-guided object generation with dream fields. In CVPR, 2022.
442
+
443
+ Ke, B., Obukhov, A., Huang, S., Metzger, N., Daudt, R. C., and Schindler, K. Repurposing diffusion-based image generators for monocular depth estimation. arXiv preprint arXiv:2312.02145, 2023.
444
+ Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A. C., Lo, W.-Y., et al. Segment anything. arXiv preprint arXiv:2304.02643, 2023.
445
+ Li, A., Jabri, A., Joulin, A., and van der Maaten, L. Learning visual n-grams from web data. In ICCV, 2017.
446
+ Li, Y., Mao, H., Girshick, R., and He, K. Exploring plain vision transformer backbones for object detection. In European Conference on Computer Vision, pp. 280-296. Springer, 2022.
447
+ Lin, C.-H., Ma, W.-C., Torralba, A., and Lucey, S. Barf: Bundle-adjusting neural radiance fields. In ICCV, 2021.
448
+ Lin, C.-H., Gao, J., Tang, L., Takikawa, T., Zeng, X., Huang, X., Kreis, K., Fidler, S., Liu, M.-Y., and Lin, T.-Y. 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.
449
+ Liu, R., Wu, R., Van Hoorick, B., Tokmakov, P., Zakharov, S., and Vondrick, C. Zero-1-to-3: Zero-shot one image to 3d object. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9298-9309, 2023.
450
+ Locatello, F., Bauer, S., Lucic, M., Raetsch, G., Gelly, S., Schölkopf, B., and Bachem, O. Challenging common assumptions in the unsupervised learning of disentangled representations. In international conference on machine learning, pp. 4114-4124. PMLR, 2019.
451
+ Locatello, F., Weissenborn, D., Unterthiner, T., Mahendran, A., Heigold, G., Uszkoreit, J., Dosovitskiy, A., and Kipf, T. Object-centric learning with slot attention. Advances in Neural Information Processing Systems, 33:11525-11538, 2020.
452
+ Luo, G., Dunlap, L., Park, D. H., Holynski, A., and Darrell, T. Diffusion hyperfeatures: Searching through time and space for semantic correspondence. arXiv preprint arXiv:2305.14334, 2023.
453
+ Mildenhall, B., Srinivasan, P. P., Tancik, M., Barron, J. T., Ramamoorthi, R., and Ng, R. Nerf: Representing scenes as neural radiance fields for view synthesis. In ECCV, 2020.
454
+ Monnier, T., Austin, J., Kanazawa, A., Efros, A. A., and Aubry, M. Differentiable Blocks World: Qualitative 3D Decomposition by Rendering Primitives. In Neural Information Processing Systems, 2023.
455
+
456
+ Müller, T., Evans, A., Schied, C., and Keller, A. Instant neural graphics primitives with a multiresolution hash encoding. ACM Trans. Graph., 41(4):102:1-102:15, July 2022. doi: 10.1145/3528223.3530127. URL https://doi.org/10.1145/3528223.3530127.
457
+ Nichol, A., Dhariwal, P., Ramesh, A., Shyam, P., Mishkin, P., McGrew, B., Sutskever, I., and Chen, M. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. arXiv preprint arXiv:2112.10741, 2021.
458
+ Niemeyer, M. and Geiger, A. Giraffe: Representing scenes as compositional generative neural feature fields. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 11453-11464, 2021.
459
+ Ohta, Y.-i., Kanade, T., and Sakai, T. An analysis system for scenes containing objects with substructures. In Proceedings of the Fourth International Joint Conference on Pattern Recognitions, pp. 752-754, 1978.
460
+ Oktay, D., Vondrick, C., and Torralba, A. Counterfactual image networks, 2018. URL https://openreview.net/forum?id=SyYYPdg0-.
461
+ Park, D. H., Azadi, S., Liu, X., Darrell, T., and Rohrbach, A. Benchmark for compositional text-to-image synthesis. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1), 2021.
462
+ Peebles, W., Peebles, J., Zhu, J.-Y., Efros, A., and Torralba, A. The hessian penalty: A weak prior for unsupervised disentanglement. In ECCV, 2020.
463
+ Piaget, J., Cook, M., et al. The origins of intelligence in children, volume 8. International Universities Press New York, 1952.
464
+ Po, R. and Wetzstein, G. Compositional 3d scene generation using locally conditioned diffusion. arXiv preprint arXiv:2303.12218, 2023.
465
+ Poole, B., Jain, A., Barron, J. T., and Mildenhall, B. Dreamfusion: Text-to-3d using 2d diffusion. arXiv preprint arXiv:2209.14988, 2022.
466
+ Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., and Sutskever, I. Learning transferable visual models from natural language supervision. In ICML, 2021.
467
+ Ramesh, A., Dhariwal, P., Nichol, A., Chu, C., and Chen, M. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 1(2):3, 2022.
468
+
469
+ Roberts, L. G. Machine perception of three-dimensional solids. PhD thesis, Massachusetts Institute of Technology, 1963.
470
+ Rubinstein, M., Joulin, A., Kopf, J., and Liu, C. Unsupervised joint object discovery and segmentation in internet images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1939-1946, 2013.
471
+ Russell, B. C., Freeman, W. T., Efros, A. A., Sivic, J., and Zisserman, A. Using multiple segmentations to discover objects and their extent in image collections. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06), volume 2, pp. 1605-1614. IEEE, 2006.
472
+ Saharia, C., Chan, W., Saxena, S., Li, L., Whang, J., Denton, E. L., Ghasemipour, K., Gontijo Lopes, R., Karagol Ayan, B., Salimans, T., et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in Neural Information Processing Systems, 35: 36479-36494, 2022.
473
+ Sajjadi, M. S., Duckworth, D., Mahendran, A., van Steenkiste, S., Pavetic, F., Lucic, M., Guibas, L. J., Greff, K., and Kipf, T. Object scene representation transformer. Advances in Neural Information Processing Systems, 35: 9512-9524, 2022.
474
+ Smith, C., Yu, H.-X., Zakharov, S., Durand, F., Tenenbaum, J. B., Wu, J., and Sitzmann, V. Unsupervised discovery and composition of object light fields. arXiv preprint arXiv:2205.03923, 2022.
475
+ Spelke, E. S. Principles of object perception. Cognitive science, 14(1):29-56, 1990.
476
+ Tancik, M., Srinivasan, P. P., Mildenhall, B., Fridovich-Keil, S., Raghavan, N., Singhal, U., Ramamoorthi, R., Barron, J. T., and Ng, R. Fourier features let networks learn high frequency functions in low dimensional domains. In Neural Information Processing Systems, 2020.
477
+ Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y. M. Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7464-7475, 2023a.
478
+ Wang, H., Du, X., Li, J., Yeh, R. A., and Shakhnarovich, G. 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, 2023b.
479
+
480
+ Wang, Z., Lu, C., Wang, Y., Bao, F., Li, C., Su, H., and Zhu, J. Prolificdreamer: High-fidelity and diverse text-to-3d generation with variational score distillation. arXiv preprint arXiv:2305.16213, 2023c.
481
+ Wertheimer, M. Laws of organization in perceptual forms. 1938.
482
+ Wilcox, T. Object individuation: Infants' use of shape, size, pattern, and color. Cognition, 72(2):125-166, 1999.
483
+ Wu, R., Mildenhall, B., Henzler, P., Park, K., Gao, R., Watson, D., Srinivasan, P. P., Verbin, D., Barron, J. T., Poole, B., et al. Reconfusion: 3d reconstruction with diffusion priors. arXiv preprint arXiv:2312.02981, 2023.
484
+ Yang, Y., Sun, F.-Y., Weihs, L., Vanderbilt, E., Herrasti, A., Han, W., Wu, J., Haber, N., Krishna, R., Liu, L., et al. Holodeck: Language guided generation of 3d embodied ai environments. arXiv preprint arXiv:2312.09067, 2023.
485
+ Ye, V., Li, Z., Tucker, R., Kanazawa, A., and Snavely, N. Deformable sprites for unsupervised video decomposition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2657-2666, 2022.
486
+ Yu, H.-X., Guibas, L. J., and Wu, J. Unsupervised discovery of object radiance fields. arXiv preprint arXiv:2107.07905, 2021.
487
+ Yu, J., Xu, Y., Koh, J. Y., Luong, T., Baid, G., Wang, Z., Vasudevan, V., Ku, A., Yang, Y., Ayan, B. K., et al. Scaling autoregressive models for content-rich text-to-image generation. arXiv preprint arXiv:2206.10789, 2(3):5, 2022.
488
+ Zhang, Q., Wang, C., Siarohin, A., Zhuang, P., Xu, Y., Yang, C., Lin, D., Zhou, B., Tulyakov, S., and Lee, H.-Y. Scenewiz3d: Towards text-guided 3d scene composition. arXiv preprint arXiv:2312.08885, 2023.
489
+
490
+ ![](images/bf2e31b596b706c4bdd39a37779ca3fcaf5ef3209be88d651c69a95faccd05db.jpg)
491
+ (a) Input NeRF
492
+
493
+ ![](images/1abeb775f2013784cd8c1f77627844dd5ac6ee87dccc8e20e0ab2b7cf4fa8628.jpg)
494
+
495
+ ![](images/abd2e706fccf8f2fbdbaec0d4be989b2aae148544ffd7198d7e4cd47b21a83a5.jpg)
496
+
497
+ ![](images/f4ef12e3afd099bccce9e272a14d6fc72f5e70412719d574a21e9268f2bab366.jpg)
498
+ (b) Discovered objects
499
+
500
+ ![](images/2269c419f9d6a6cb5a493f3980a67749ce8470fefe90afdfaf9436f11ade2f00.jpg)
501
+
502
+ ![](images/1b0ec75c7215e4162b8f2ab1c585c2d3d511a9cd0397b15501e93eb5004820e7.jpg)
503
+ (c) Reconstruction
504
+
505
+ ![](images/4c2caa29f2c691051b6c0ef062815f1ffa5d52154604a7e6c1298b0a5ed871de.jpg)
506
+
507
+ ![](images/08ed3ef6944b590b4e9e0006bf59fa9e8216dc3183cdf5ec82e0128f1d3326be.jpg)
508
+
509
+ ![](images/f27b86195badf4dd60cce272371e618c171b5a5ae621667abd136759d3ad4ec6.jpg)
510
+
511
+ ![](images/d71de7af438fece3673be724f0521e58a06387651cee89b95846af258bded228.jpg)
512
+
513
+ ![](images/fb6bfe7711efd01bb93a69a12dc46f391896fc608b768960359bf25f5c6b870e.jpg)
514
+ "a giant husk of corn grilling hot dogs by a pool with an inner tube"
515
+
516
+ ![](images/7d183c368bb4561c31bd71ec13bc846a2f07834cde91ff86a426e892e2f74f03.jpg)
517
+
518
+ ![](images/aa358a793c5707f2dc5985d7b8d7080f74bc814148d7055524bb2d5341c09b34.jpg)
519
+
520
+ ![](images/d879608f3fb47530b2defc6340b3f68c5faf5ab1436dac9bd04af1d7f347b297.jpg)
521
+ "two cute cats wearing baseball uniforms playing catch"
522
+
523
+ ![](images/bb7e4389413f9fa243b7bc55496ffaaf0d521b112c67b351bda6585643b28384.jpg)
524
+
525
+ ![](images/046f08c1ff368509d47be37f056df25a04c9b201d9cb8fd0057e67aed1ac9a9d.jpg)
526
+
527
+ ![](images/6f36a01046e5ce717e8d60e0169af73a1666d90697a21602a56f74b41bad7a6c.jpg)
528
+ Figure 8: Decomposing NeRFs of scenes. Given a NeRF representing a scene (a) and a caption, layout learning is able to parse the scene into the objects it contains without any per-object supervision (b). We accomplish this by requiring renders of one of the $N$ learned layouts to match the same view rendered from the target NeRF (c), using a simple $L_{2}$ reconstruction loss with $\lambda = 0.05$ .
529
+
530
+ ![](images/b03f4f88de2764f3ba1afb11269f1eac21dc0f9dccabdb1b065f77b7a94c6974.jpg)
531
+
532
+ ![](images/99bc98e66cacdf5d2a7ff7566711c89054e1083658a4ae1a5a11e081a54cd122.jpg)
533
+ "abird having some sushi and sake
534
+
535
+ ![](images/bb7677213c1a7afea01c1123c6c2a45700390dfe6a8c0fe685edb9480a32243c.jpg)
536
+
537
+ ![](images/6df57021d0290cfc523438fc62b5c89238b687bc5de877f803acaca497d0244e.jpg)
538
+
539
+ ![](images/e73993d3f42d94c6cca12592271d531c2c66cfd66716c670b0edf356dd3154b4.jpg)
540
+
541
+ ![](images/3b21a0fd427466fefcc1e0cfde371f1ed71ad9ea7cd095717ec9d07449a7c9ea.jpg)
542
+
543
+ ![](images/ff23e26b884ad88119f7f8ab931a28acaabbcbbe12718aeede9d0db2215e215e.jpg)
544
+
545
+ # A. Appendix
546
+
547
+ # A.1. Implementation details
548
+
549
+ We use Mip-NeRF 360 as the 3D backbone (Barron et al., 2022) and Imagen (Saharia et al., 2022), a 128px pixel-space diffusion model, for most experiments, rendering at 512px. To composite multiple representations, we merge the output albedos and densities at each point, taking the final albedo as a weighted average given by per-NeRF density. We apply this operation to the outputs of the proposal MLPs as well as the final RGB-outputting NeRFs. We use $\lambda_{\mathrm{dist}} = 0.001$ , $\lambda_{\mathrm{acc}} = 0.01$ , $\lambda_{\mathrm{ori}} = 0.01$ as well as $\lambda_{\mathrm{empty}} = 0.05$ . The empty loss examines the mean of the per-pixel accumulated density along rays in a rendered view, $\alpha$ , for each NeRF. It penalizes these mean $\bar{\alpha}$ values if they are under a certain fraction of the image canvas (we use $10\%$ ). For more robustness to noise, we pass $\alpha$ through a scaled sigmoid to binarize it (Fig. 10), yielding the $\bar{\alpha}_{\mathrm{bin}}$ used in Eq. 5. We sample camera azimuth in $[0^{\circ}, 360^{\circ}]$ and elevation in $[-90^{\circ}, 0^{\circ}]$ except in rare cases where we sample azimuth in a 90-degree range to minimize Janus-problem artifacts or generate indoor scenes with a diorama-like effect.
550
+
551
+ We use a classifier-free guidance strength of 200 and textureless shading probability of 0.1 for SDS (Poole et al., 2022), disabling view-dependent prompting as it does not aid in the generation of compositional scenes (Table 3b).
552
+
553
+ We otherwise inherit all other details, such as covariance annealing and random background rendering, from SDS. We optimize our model with Shampoo (Gupta et al., 2018) with a batch size of 1 for 15000 steps with an annealed learning rate, starting from $10^{-9}$ , peaking at $10^{-4}$ after 3000 steps, and decaying to $10^{-6}$ .
554
+
555
+ Optimizing NGPs. To verify the robustness of our approach to different underlying 3D representations, we also experiment with a re-implementation of Instant NGPs (Müller et al., 2022), and find that our method generalizes to that setting. Importantly, we implement an aggressive coarse-to-fine training regime in the form of slowly unlocking grid settings at resolution higher than $64 \times 64$ only after 2000 steps. Without this constraint on the initial smoothness of geometry, the representation "optimizes too fast" and is prone to placing all density in one NGP.
556
+
557
+ # A.2. Pseudo-code for layout learning
558
+
559
+ In Figs. 9 and 10, we provide NumPy-like pseudocode snippets of the core logic necessary to implement layout learning, from transforming camera rays to compositing multiple 3D volumes to regularizing them.
560
+
561
+ # A.3. CLIP evaluation
562
+
563
+ To evaluate our approach, we use similarity scores output
564
+
565
+ ```julia
566
+ Initialize variables
567
+ quad = normal((N, K, 4), mean=[0,0,0,1], std=0.1)
568
+ trans = normal((N, K, 3), mean=0., std=0.3)
569
+ scale = normal((N, K, 1), mean=1., std=0.3)
570
+ nerfs = [init_nerf() for i in range(K)]
571
+ ```
572
+
573
+ ```python
574
+ Transform rays for NeRF k using layout n
575
+ def transform(rays, k, n):
576
+ rot = quaternion_to_matrix(quat)
577
+ rays['orig'] = rot[n,k] @ rays['orig'] - trans[n,k]
578
+ rays['orig'] *= scale[n,k]
579
+ rays['dir'] = scale[n,k] * rot[n,k] @ rays['dir']
580
+ return rays
581
+ ```
582
+
583
+ ```python
584
+ Composite K NeRFs into one volume
585
+ def composite_nerfs(per_nerf_rays):
586
+ per_nerf_out = [nerf(rays) for nerf, rays in zip(nerfs, per_nerf_rays]
587
+ densities = [out['density'] for out in per_nerf_out]
588
+ out = {'density': sum(densities)}
589
+ wts = [d/sum(densities) for d in densities]
590
+ rgbs = [out['rgb'] for out in per_nerf_out]
591
+ out['rgb'] = sum(w*rgb for w,rgb in zip(wts, rgbs))
592
+ return out, per_nerf_out
593
+ ```
594
+
595
+ ```javascript
596
+ Train
597
+ optim $=$ shampoo.params $\equiv$ [nerfs,quat,trans, scale])
598
+ for step in range(num_steps): rays $=$ sample_camera Rays() n $=$ random.uniform(N) per_nerf Rays $=$ [ transform(rays,k,n) for k in range(K) ] vol,per_nerf_vols $=$ composite_nerfs(per_nerf Rays) image $=$ render(vol,rays) loss $=$ SDS(image,prompt,diffusion_model) loss $+ =$ regularize(per_nerf_vols) loss.backup( optim_step_and_zero_grad(
599
+ ```
600
+
601
+ Figure 9: Pseudocode for layout learning, with segments inherited from previous work abstracted into functions.
602
+
603
+ by a pretrained contrastive text-image model (Radford et al., 2021), which have been shown to correlate with human judgments on the quality of compositional generation (Park et al., 2021). However, rather than compute a retrieval-based metric such as precision or recall, we report the raw $(100 \times$ upscaled, as is common practice) cosine similarities. In addition to being a more granular metric, this avoids the dependency of retrieval on the size and difficulty of the test set (typically only a few hundred text prompts).
604
+
605
+ We devise a list of 30 prompts (Fig. 11), each of which lists three objects, spanning a wide range of data, from animals to food to sports equipment to musical instruments. As described in Section 4, we then train models with $K = 3$ NeRFs and layout learning and test whether each NeRF contains a different object mentioned in the prompt. We compute CLIP scores for each NeRF with a query prompt "a DSLR photo of [A/B/C]", yielding a $3 \times 3$ score matrix.
606
+
607
+ ```python
608
+ def soft_bin(x, t=0.01, eps=1e-7):
609
+ # x has shape (..., H, W)
610
+ bin = sigmoid((x - 0.5)/t)
611
+ min = bin.min(axis=-1, -2), keepdims=True)
612
+ max = bin.max(axis=-1, -2), keepdims=True)
613
+ return (bin - min) / (max - min + eps)
614
+ soft_bin_acc = soft_bin(acc).mean((-1, -2))
615
+ empty_loss = empty_loss_margin - soft_bin_acc
616
+ empty_loss = max(empty_loss, 0.)
617
+ ```
618
+
619
+ Figure 10: Pseudocode for empty NeRF regularization, where soft_bin_acc computes $\bar{\alpha}_{\mathrm{bin}}$ in Equation 5.
620
+
621
+ ```csv
622
+ 'a cup of coffee, a croissant, and a closed book',
623
+ 'a pair of slippers, a robe, and a candle',
624
+ 'a basket of berries, a carton of whipped cream, and an orange',
625
+ 'a guitar, a drum set, and an amp',
626
+ 'a campfire, a bag of marshmallows, and a warm blanket',
627
+ 'a pencil, an eraser, and a protractor',
628
+ 'a fork, a knife, and a spoon',
629
+ 'a baseball, a baseball bat, and a baseball glove',
630
+ 'a paintbrush, an empty easel, and a palette',
631
+ 'a teapot, a teacup, and a cucumber sandwich',
632
+ 'a wallet, keys, and a smartphone',
633
+ 'a backpack, a water bottle, and a bag of chips',
634
+ 'a diamond, a ruby, and an emerald',
635
+ 'a pool table, a dartboard, and a stool',
636
+ 'a tennis racket, a tennis ball, and a net',
637
+ 'sunglasses, sunscreen, and a beach towel',
638
+ 'a ball of yarn, a pillow, and a fluffy cat',
639
+ 'an old-fashioned typewriter, a cigar, and a glass of whiskey',
640
+ 'a shovel, a pail, and a sandcastle',
641
+ 'a microscope, a flask, and a laptop',
642
+ 'a sunny side up egg, a piece of toast, and some strips of bacon',
643
+ 'a vase of roses, a slice of chocolate cake, and a bottle of red wine',
644
+ 'three playing cards, a stack of poker chips, and a flute of champagne',
645
+ 'a tomato, a stalk of celery, and an onion',
646
+ 'a coffee machine, a jar of milk, and a pile of coffee beans',
647
+ 'a bag of flour, a bowl of eggs, and a stick of butter',
648
+ 'a hot dog, a bottle of soda, and a picnic table',
649
+ 'a pothos houseplant, an armchair, and a floor lamp',
650
+ 'an alarm clock, a banana, and a calendar',
651
+ 'a wrench, a hammer, and a measuring tape',
652
+ 'a backpack, a bicycle helmet, and a watermelon'
653
+ ```
654
+
655
+ Figure 11: Prompts used for CLIP evaluation. Each prompt is injected into the template "a DSLR photo of {prompt}, plain solid color background". To generate individual objects, the three objects in each prompt are separated into three new prompts and optimized independently.
656
+
657
+ To compute NeRF-prompt CLIP scores, we average text-image similarity across 12 uniformly sampled views, each 30 degrees apart, at $-30^{\circ}$ elevation. We then select the best NeRF-prompt assignment (using brute force, as there are only $3! = 6$ possible choices), and run this process across 3 different seeds, choosing the one with the highest mean NeRF-prompt score.
2024/Disentangled 3D Scene Generation with Layout Learning/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dafd35ebed0ae3e7819d05975f8fdb355617945a75fc31b009dc5260eac601e
3
+ size 898944
2024/Disentangled 3D Scene Generation with Layout Learning/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/3bbbf988-9032-4e0c-ade6-e44600da0c3c_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73693baa33df8e21430dda14f2d68687cd681f6cb3fe61c2cfccbdbd1286c43b
3
+ size 586620
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/full.md ADDED
@@ -0,0 +1,516 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet
2
+
3
+ Zeyang Zhang $^{1}$ Xin Wang $^{1}$ Yijian Qin $^{1}$ Hong Chen $^{1}$ Ziwei Zhang $^{1}$ Xu Chu $^{1}$ Wenwu Zhu $^{1}$
4
+
5
+ # Abstract
6
+
7
+ The existing graph neural architecture search (GNAS) methods assume that the graph tasks are static during the search process, ignoring the ubiquitous scenarios where sequential graph tasks come in a continual fashion. Moreover, existing GNAS works resort to entangled graph factors during the architecture search process, resulting in the catastrophic forgetting problems. In this paper, we study the problem of continual GNAS that is expected to continually search the architecture to learn new graph tasks without forgetting the past, which remains largely unexplored in the literature. However, this problem poses the challenge of architecture conflicts, i.e., the optimal architecture for the new graph task may have performance deterioration and thus sub-optimal for past tasks. To address the challenge, we propose a novel Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet (GASIM) method, which is able to continually search the optimal architectures without forgetting past knowledge. Specifically, we first design a modular graph architecture super-network incorporating multiple modules to enable searching architecture with factor expertise. Second, we propose a factor-based task-module router that discovers the latent graph factors and routes the incoming task to the best suitable architecture module to alleviate the forgetting problem induced by architecture conflicts. Finally, we propose an invariant architecture search mechanism to capture the shared knowledge among tasks. Extensive experiments demonstrate that our method achieves state-of-the-art performance against baselines in continual graph neural architecture search.
8
+
9
+ $^{1}$ Department of Computer Science and Technology, BN-RIST, Tsinghua University, Beijing, China. Correspondence to: Xin Wang <xin_wang@tsinghua.edu.cn>, Wenwu Zhu <wwzhu@tsinghua.edu.cn>.
10
+
11
+ Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
12
+
13
+ # 1. Introduction
14
+
15
+ Graph neural architecture search (GNAS), aiming at automating the discovery of optimal architectures for Graph neural networks (GNNs) when confronted with graph-structured data and specific tasks, has exhibited noteworthy advancements, demonstrating its efficacy in enhancing predictive capabilities and alleviating the need for extensive human involvement across a spectrum of graph applications (Zhang et al., 2021b). Most existing GNAS methods treat the entire graph as a holistic entity and search the architectures via optimizing for a fixed task applied to the entire graph, which is based on the underlying assumption that the graph tasks remain static throughout the search process.
16
+
17
+ However, graph tasks come continually in many real-world scenarios. For example, in citation networks, novel types of papers and their corresponding citations may continually surface, necessitating a continually updated classifier to distinguish documents belonging to newly emerging research fields (Zhang et al., 2022d; Zhou & Cao, 2021). In the domain of drug design, the encounter with new categories or properties of molecules is a recurrent phenomenon, and thus, the predictor should be consistently updated to assimilate knowledge regarding these new molecule categories or properties (Kirkpatrick et al., 2017). As the existing GNAS methods assume the graph tasks are fixed, they will inevitably fail in the ubiquitous settings where graph tasks are continuously generated.
18
+
19
+ In this paper, we study the problem of continual graph neural architecture search that is expected to continually search the graph architecture to learn new graph tasks without forgetting the past, which remains largely unexplored in the literature. However, we discover the problem is highly nontrivial with the critical challenge of architecture conflicts, i.e., graph tasks may have different optimal architectures, while the optimal architecture for the new graph task may perform worse on past tasks, and thus it could be challenging to search the architecture to learn the new graph task without harming the performance on previous tasks. We further utilize a mainstream class of differentiable GNAS methods for an example, and demonstrate with theoretical analyses that they fail to revolve the problem of architecture conflicts due to their entangled search process, resulting in
20
+
21
+ catastrophic forgetting problems in continual graph architecture search process.
22
+
23
+ To address these challenges, we propose a Disentangled Continual Graph Neural Architecture Search with Invariant Modular (GASIM) Supernet method, which is able to continually search the optimal graph architectures without forgetting the past graph tasks. The key idea is to design a modular graph super-network, wherein each module undertakes the search for optimal architectures tailored to the graph tasks with similar factors so that the task-architecture relationship is disentangled to foster the sharing of mutual knowledge and mitigating conflicts throughout the continuous search process. Specifically, we first design a modular graph architecture super-network incorporating multiple modules to enable searching architecture with factor expertise and resolve architecture conflicts. Each module is designed to be activated by the incoming graph before searching. Second, we propose a factor-based task-module router that discovers the latent graph factors and routes the incoming task to the best suitable architecture module to alleviate the forgetting problem induced by architecture conflicts. We adopt a distribution matching method to predict the latent graph factors, and then maintain a task-module relation graph to route the new graph task to suitable modules. Finally, we propose an invariant architecture search mechanism to capture the shared knowledge among tasks. Based on the task-module graph, we extract the relevant graph factors, and augment the search process by designing an invariance loss to discover architectures harmonizing all graph tasks that have ever routed to this specific module. Extensive experiments on real-world datasets demonstrate that the proposed method achieves state-of-the-art performance against baselines in continual graph neural architecture search.
24
+
25
+ The contributions of this paper are summarized as follows:
26
+
27
+ - We study the largely unexplored problem of continual graph neural architecture search and propose a novel Disentangled Continua Graph Neural Architecture Search with Invariant Modular Supernet (GASIM) method which is able to discover the optimal graph neural architectures in a continual fashion.
28
+ - We discover the problem of architecture conflicts in continual graph architecture search, and demonstrate with theoretical analyses that a mainstream classic of differentiable search methods can not resolve the problem due to the entangled search process.
29
+ - We introduce three novel modules, i) modular graph architecture super-network, ii) factor-based task-module router and iii) invariant architecture search mechanism, which can continually search the optimal architectures to learn the new graph tasks while mitigating the problem of forgetting past knowledge.
30
+
31
+ - Extensive experiments on real-world datasets demonstrate that the proposed method achieves state-of-the-art performance against baselines in continual graph neural architecture search.
32
+
33
+ # 2. Problem Formulation
34
+
35
+ Graph Neural Architecture Search Let $\mathcal{G}$ denote the graph space and $\mathcal{V}$ the label space. A graph neural network is represented as a function $a_{\alpha, w}: \mathcal{G} \to \mathcal{V}$ , with architecture parameters $\alpha \in \mathcal{A}$ and learnable weights $w \in \mathcal{W}$ , where $\mathcal{A}$ is the architecture space and $\mathcal{W}$ is the weight space. Graph Neural Architecture Search (GNAS) automates the design of graph neural architectures by searching for the optimal $\alpha$ . As $\alpha$ typically represents the selection of GNN operations (e.g., GCN (Kipf & Welling, 2016), GAT (Velicković et al., 2018), GIN (Xu et al., 2018)), it is referred to as operation choices for brevity. GNAS addresses the bi-level optimization problem (Elsken et al., 2019):
36
+
37
+ $$
38
+ \alpha^ {*} = \underset {\alpha \in \mathcal {A}} {\arg \min } \mathcal {L} \left(a _ {\alpha , w ^ {*} (\alpha)}, \mathcal {G}, \mathcal {Y}\right), \tag {1}
39
+ $$
40
+
41
+ $$
42
+ \text {s . t .} w ^ {*} (\alpha) = \underset {w \in \mathcal {W} (\alpha)} {\arg \min } \mathcal {L} (a _ {\alpha , w}, \mathcal {G}, \mathcal {Y}), \tag {2}
43
+ $$
44
+
45
+ where $\mathcal{L}$ represent the loss of predictions by the architecture $a_{\alpha ,w}(\cdot)$ on the graph, $\alpha^{*}$ and $w^{*}$ is the best architecture and weight for the given task $\mathcal{T} = (\mathcal{G},\mathcal{Y})$
46
+
47
+ Continual Graph Neural Architecture Search In real-world scenarios, graphs are generated continuously. Consider a stream of graphs $\mathcal{G} = \{\mathcal{G}_1,\mathcal{G}_2,\dots ,\mathcal{G}_t\}$ , where each graph $\mathcal{G}_t = \{\mathcal{V}_t,\mathcal{E}_t\}$ has its own set of nodes and edges. Accompanying the graphs is a sequence of tasks $\mathcal{T} = \{\mathcal{T}_1,\mathcal{T}_2,\ldots ,\mathcal{T}_t\}$ and their corresponding labels $\mathcal{V} = \{\mathcal{V}_1,\mathcal{V}_2,\ldots ,\mathcal{V}_t\}$ . For example, in node classification tasks, each node $v_{t}^{i}\in \mathcal{V}_{t}$ is expected to be classified to its node category $y_{t}^{i}\in \mathcal{V}_{t}$ , while the incoming tasks could be distinct, e.g., $\mathcal{V}_{t - 1}\bigcup \mathcal{V}_t = \emptyset$ . An ideal continual graph neural architecture search is expected to continually modify the architecture to learn the new task without forgetting the past tasks. The objective can be formulated as
48
+
49
+ $$
50
+ \alpha_ {t} ^ {*}, w _ {t} ^ {*} = \underset {\alpha \in \mathcal {A}, w \in \mathcal {W}} {\arg \min } \sum_ {k = 1} ^ {t} \mathcal {L} \left(a _ {\alpha , w}, \mathcal {G} _ {k}, \mathcal {Y} _ {k}\right), \tag {3}
51
+ $$
52
+
53
+ where $\alpha_{t}^{*}, w_{t}^{*}$ are the best architecture and weights at task $\mathcal{T}_t$ , which can achieve the best average performance on all the tasks that have been seen so far. Since it is impractical to access all past graphs in the continual learning process, we consider the scenarios that only the current graph is available while the past graphs are not accessible in the stage of training or searching, following the continual learning literature (Wang et al., 2023a; Zhang et al., 2022c). The model should modify the architecture to learn the new task while maximally reducing the harm to the past tasks.
54
+
55
+ ![](images/e6d676532c0b3dc0c49868ea882609a0279b9c156b92aff12eba938b058501fa.jpg)
56
+ Figure 1: A showcase heatmap demonstrating that new graph tasks may have different optimal architectures on CoraFull dataset. Lighter colors denote higher performance of the architecture on the according task. Red and blue boxes denote the best performed and worst performed architectures on each task respectively. (Best viewed in color).
57
+
58
+ # 3. Preliminary Studies: Architecture Conflicts
59
+
60
+ In the settings of continual graph neural architecture search, the models may face the dilemma of architecture conflicts, where the optimal architecture of the new task may have poor performance for the past tasks. In such situations, directly searching architectures for the new task will bring catastrophic forgetting of the past tasks. To elaborate on this, we first conduct a preliminary experiment. We train and test six different GNN architectures for each task on CoraFull dataset, and report the performance for each task and architecture by a heatmap. From Figure 1, we have the following observations:
61
+
62
+ Obs. 1. Different tasks have their own optimal architectures, and no architecture is always the winner. This phenomenon indicates that the performance is destined to be suboptimal if the architecture is fixed during graph continual learning, and also demonstrates the necessity of continual graph neural architecture search.
63
+
64
+ Obs. 2. Some tasks have conflicting optimal architectures. For example, GIN performs the worst on the third task while the best on the fourth task, and in contrast, GCN performs the best on the third task while the worst on fourth task. This phenomenon brings great challenges for continual graph neural architecture search, since searching the optimal architecture for the new task may greatly deteriorate the performance of previous tasks if there exist architecture conflicts between these tasks.
65
+
66
+ We further provide theoretical analyses of graph neural architecture search in the situations of architecture conflicts as follows. Consider two operations $f_{1}(\cdot), f_{2}(\cdot)$ for two graph regression tasks, we adopt DARTS (Liu et al., 2018) as the search algorithm that searches the mixed operation $F(\mathcal{G}) = o_{1}f_{1}(\mathcal{G}) + o_{2}f_{2}(\mathcal{G})$ with gradient methods to minimize the MSE loss $\mathcal{L}_1(F)$ and $\mathcal{L}_2(F)$ for each task respectively, where $o_1 = \frac{\exp(\alpha_1)}{\exp(\alpha_1) + \exp(\alpha_2)}$ and $o_2 = \frac{\exp(\alpha_2)}{\exp(\alpha_1) + \exp(\alpha_2)}$ and $\alpha_{1},\alpha_{2}$ are learnable parameters. Suppose the operations are distinguishable, i.e., $\exists \mathcal{G}_k,f_1(\mathcal{G}_k)\neq f_2(\mathcal{G}_k)$ . Suppose $y = f_{1}(\mathcal{G})$ and $y = f_{2}(\mathcal{G})$ are the ground-truth labeling
67
+
68
+ function for each task respectively, which means that the operations are conflicting for two tasks. We have the following proposition with proof in Appendix.
69
+
70
+ Proposition 3.1. For optimizing $\mathcal{L}_2(F)$ , after one step of gradient descent w.r.t architecture parameters, the changes of operation weights $o_1, o_2$ will increase the loss $\mathcal{L}_1(F)$ .
71
+
72
+ This proposition shows that DARTS can not handle the architecture conflict problems, and it will inevitably fail due to forgetting the past when searching for the new task. The problem is that for both tasks, the super-network adopts the same mixed operation, i.e., $o_1, o_2$ , which is entangled together in the continual searching process.
73
+
74
+ To this end, our key idea is to design a modular graph supernetwork, wherein each module undertakes the search for optimal architectures tailored to graph tasks with similar factors so that the task-architecture relationship is disentangled to foster the sharing of mutual knowledge and mitigating conflicts throughout the continuous search process.
75
+
76
+ # 4. Methodology
77
+
78
+ In this section, we introduce Disentangled Continua Graph Neural Architecture Search with Invariant Modular Supernet (GASIM) to continually search graph architectures, by proposing three key components, modular graph architecture super-network, factor-based task-module router, and invariant architecture search mechanism. The overall framework is illustrated in Figure 2.
79
+
80
+ # 4.1. Modular Graph Architecture Super-network
81
+
82
+ To alleviate architecture conflicts and share mutual knowledge, we propose a modular graph architecture supernetwork to concurrently estimate and search for $K$ different modules, where each time one module is updated to accommodate graph tasks with similar factors and the other modules are kept unchanged to reduce conflicts.
83
+
84
+ ![](images/05ecad3795338fe5e08cf010dd7a147ae71bf7054a17ed7ff83031b0caca844c.jpg)
85
+ Figure 2: The framework of Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet (GASIM), including the following three key components: 1) Modular graph architecture super-network incorporating multiple modules to enable searching architectures with factor expertise, 2) Factor-based task-module router that discovers the latent graph factors and routes the incoming task to the best suitable architecture module to alleviate the forgetting problem induced by architecture conflicts, 3) Invariant architecture search mechanism to capture the shared knowledge among tasks in the routed module. (Best viewed in color)
86
+
87
+ Modular Super-network Layer Each super-network layer employs $K$ mixed operations parameterized by different vectors $\alpha$ to learn $K$ -chunk graph representations:
88
+
89
+ $$
90
+ \mathbf {H} _ {k} \leftarrow \overline {{\mathrm {G N N}}} _ {\alpha_ {k}} (\mathbf {H}, \mathbf {A}), \tag {4}
91
+ $$
92
+
93
+ where $\mathbf{A}$ denotes the adjacency matrix of the graph, $\mathbf{H}$ represents the input graph representations, and $\overline{\mathrm{GNN}}_{\alpha_k}(\cdot)$ denotes the mixed GNN operations parameterized by $\alpha_{k}$ . To facilitate differentiable optimization, we adopt a continuous parameterization and weight-sharing mechanism (Liu et al., 2018) for the mixed operations:
94
+
95
+ $$
96
+ \overline {{\mathrm {G N N}}} _ {\alpha_ {k}} (\mathbf {H}, \mathbf {A}) = \sum_ {i = 1} ^ {| \mathcal {O} |} \alpha_ {k, i} \mathrm {G N N} _ {i} (\mathbf {H}, \mathbf {A}), \tag {5}
97
+ $$
98
+
99
+ where $|\mathcal{O}|$ is the number of GNN operation choices, $\alpha_{k,i} = \frac{\exp(\theta_{\alpha_{k,i}})}{\sum_j\exp(\theta_{\alpha_{k,j}})}$ denotes the probability of the $i$ -th operation for the $k$ -th architecture $\alpha_{k}$ , and $\theta$ represents learnable parameters. The overall super-network is constructed in the form of a directed acyclic graph (DAG) with an ordered sequence of modular super-network layers.
100
+
101
+ Flexible Modular Path An incoming graph can select a flexible path in the modular super-network, i.e.,
102
+
103
+ $$
104
+ \pi (\mathcal {G} _ {t}) = \left(a _ {\alpha_ {i}, w _ {i}} (\cdot), \dots , a _ {\alpha_ {j}, w _ {j}} (\cdot)\right), \tag {6}
105
+ $$
106
+
107
+ where each $\alpha$ in the path is the chosen operations to be activated to calculate the representations of the graph. This
108
+
109
+ design mitigates the conflicts of architectures by offering a broader array of flexible paths in the super-network (Guo et al., 2020). To illustrate, the 'mean' operation is adept at capturing structural properties, while the 'max' operation excels at capturing representative elements (Xu et al., 2018). When the consecutive tasks have operation conflicts, our method can simultaneously capture both aspects by selecting operations to learn the respective representations.
110
+
111
+ Route then Search Directly optimizing the modular path for each graph as Eq. (6) could be difficult for its large discrete solution space. We transform the probability of the path into the expectation of multiple paths under different modules by the Bayesian formula, i.e.,
112
+
113
+ $$
114
+ p \left(\pi \left(\mathcal {G} _ {t}\right) \mid \mathcal {G} _ {t}\right) = \sum_ {k = 1} ^ {K} \underbrace {p (k \mid \mathcal {G} _ {t})} _ {\text {R o u t e}} \overbrace {p \left(\pi \left(\mathcal {G} _ {t}\right) \mid \mathcal {G} _ {t} , k\right)} ^ {\text {S e a r c h}}, \tag {7}
115
+ $$
116
+
117
+ where the probability of the graph $\mathcal{G}_t$ to activate the $k$ -th module $p(k \mid \mathcal{G}_t)$ can be modeled by the relationship between modules and tasks, the probability of module-specific architectures $p(\pi(\mathcal{G}_t) \mid \mathcal{G}_t, k)$ can be optimized by a specific super-network. To further alleviate the forgetting problem, we adopt a hard routing mechanism that only one module can be selected to be searched while others are kept unchanged, so that learning the new task will not affect the results of other past tasks using other modules.
118
+
119
+ # 4.2. Factor-based Task-Module Router
120
+
121
+ Graph factors are shown important in graph formation, representing various inherent graph properties (Fan et al., 2019; Ma et al., 2019). We propose to leverage the graph factors to maintain a task-module graph to implement the routing as Eq. (7). Specifically, we learn the latent factors with distribution matching following (Liu et al., 2023a), and measure the task similarity by the factors to conduct routing.
122
+
123
+ Latent Factor Prediction with Distribution Matching For task $\mathcal{T}_t$ with graph $\mathcal{G}_t = (\mathbf{A}_t,\mathbf{X}_t)$ and labels $\mathcal{V}_t$ , we learn the latent factors $\mathbf{F}_t$ as a sketch of the graph task. The factors should faithfully reflect the characteristics and distributions of the original graph, so that the module can be routed through the factor similarity. To this end, we adopt Maximum Mean Discrepancy (MMD) to learn the factors.
124
+
125
+ $$
126
+ \mathbf {F} _ {t} ^ {*} = \underset {\mathbf {F}} {\arg \min } \ell_ {\mathrm {M M D}} \left(\operatorname {G N N} \left(\mathbf {X} _ {t}, \mathbf {A} _ {t}\right), \operatorname {G N N} ^ {\prime} \left(\mathbf {F}, \mathbf {A} _ {f}\right)\right), \tag {8}
127
+ $$
128
+
129
+ where $\mathbf{A}_f$ is the adjacency matrix of the relationship between the factors and is set to a self-loop matrix for simplicity. $\mathrm{GNN}(\cdot)$ and $\mathrm{GNN}'(\cdot)$ are shared random encoders, which encode the original graph and the learned graph factors into a shared latent space. From the perspective of self-supervised learning, the objective aims to reconstruct the distribution characteristics in the latent space (Hou et al., 2022; Xie et al., 2022). We random sample several node features as the initialization of the factors to ease the optimization process. We learn the latent factors for each class, and denote the classes of the factors as $\mathcal{Y}_t^f$ .
130
+
131
+ Architecture Route with Task-Module Graph We maintain the task-module graph, and keep updating it to assign new tasks to modules. The task-module graph at task $t$ is defined by a relation matrix $\mathbf{R}_t^m \in [0,1]^{t \times K}$ , where the $t$ -th row $\mathbf{r}_t^m \in [0,1]^K$ denotes the probability of $\mathcal{T}_t$ being assigning to each module. Denote the super-network at task $t$ as $g_t(\cdot)$ and the classifier as task $t$ as $f_t(\cdot)$ . We calculate the similarity between the $t$ -th task and previous tasks by leveraging the factors and the previous classifier,
132
+
133
+ $$
134
+ \tilde {\mathbf {R}} _ {t} ^ {f} = f _ {t - 1} \circ g _ {t - 1} \left(\mathbf {F} _ {t}\right), \tag {9}
135
+ $$
136
+
137
+ where $\tilde{\mathbf{R}}_t^f\in \mathbb{R}^{N\times C_{t - 1}}$ refers to the probabilities of factors belonging to the classes, $N$ is the number of factors, and $C_{t - 1}$ is the number of classes till $(t - 1)$ -th task. We calculate the factor-task relation matrix $\mathbf{R}_t^f\in \mathbb{R}^{N\times (t - 1)}$ by adding up the probabilities of the tasks' corresponding classes, i.e., $\mathbf{R}_t^f = \tilde{\mathbf{R}}_t^f\cdot \mathbf{R}_t^c$ , where $\mathbf{R}_t^c\in \{0,1\}^{C_{t - 1}\times (t - 1)}$ is a matrix representing the relations between the classes and the tasks. Then we calculate the probability of the new task $\mathcal{T}_t$ being assigned to the modules as
138
+
139
+ $$
140
+ \mathbf {r} _ {t} ^ {m} = \operatorname {S o f t m a x} \left(\operatorname {M e a n} \left(\mathbf {R} _ {t} ^ {f} \cdot \mathbf {R} _ {t - 1} ^ {m}\right)\right), \tag {10}
141
+ $$
142
+
143
+ where $\operatorname{Mean}(\cdot)$ takes the average along the first dimension, and $\mathbf{r}_t^m$ is the assigning vector for task $\mathcal{T}_t$ . We adopt the module with maximum probability in $\mathbf{r}_t^m$ for searching, and add the probability vector into $\mathbf{R}_t^m$ for subsequent task routing. For the initialization, we assign one-hot vectors for the early tasks $\mathcal{T}_t, t < K$ . By leveraging the relationship between factors, tasks and modules, we continually update the task-module graph for routing new tasks to modules with similar properties to avoid architecture conflicts while sharing mutual knowledge.
144
+
145
+ # 4.3. Invariant Architecture Search Mechanism
146
+
147
+ In the continual GNAS process, each module searches architectures for its routed new task, which may have distribution shifts from the past tasks that have routed to the module, even though they have similar factors. This shift between tasks may cause the module to overfit the new task while forgetting the past tasks. To this end, we propose an invariant architecture search mechanism to better share mutual knowledge via capturing the features invariant to tasks.
148
+
149
+ Routing Loss Suggest the router chooses $k$ -th module for the task $\mathcal{T}_t$ , and denote $g_t^k(\cdot)$ as the super-network sliced with $k$ -th module, and $f_t^k(\cdot)$ as the classifier. Then loss is calculated as
150
+
151
+ $$
152
+ \mathcal {L} _ {t} ^ {r} = \ell \left(f _ {t} ^ {k} \circ g _ {t} ^ {k} (\mathcal {G} _ {t}), \mathcal {Y} _ {t}\right), \tag {11}
153
+ $$
154
+
155
+ where $\ell(\cdot)$ is the cross-entropy loss function, and $\mathcal{G}_t$ and $\mathcal{V}_t$ are the graph and labels at the current task. Note that only the routed module will be updated while other modules are kept unchanged to alleviate the forgetting problems.
156
+
157
+ Invariance Loss Based on the task-module graph $\mathbf{R}_t^m$ , we select the factors that have the common module choice of the current task. Suggest the router chooses $k$ -th module for the task $\mathcal{T}_t$ , we obtain the factor indices $\mathcal{I}_t$ by
158
+
159
+ $$
160
+ \mathcal {I} _ {t} = \left\{j \mid \underset {i} {\arg \max } \mathbf {R} _ {t} ^ {m} (j, i) = k \right\}. \tag {12}
161
+ $$
162
+
163
+ Then we obtain a set of factors and their classes $\{\mathbf{F}_i, \mathcal{Y}_i^f \mid \in \mathcal{I}_t\}$ , and calculate the invariance loss as
164
+
165
+ $$
166
+ \mathcal {L} _ {t} ^ {i n v} = \operatorname {V a r} \left(\ell \left(f _ {t} ^ {k} \circ g _ {t} ^ {k} (\mathbf {F} _ {i}), \mathcal {Y} _ {i} ^ {f}\right) \mid i \in \mathcal {I} _ {t}\right), \tag {13}
167
+ $$
168
+
169
+ where $\operatorname{Var}(\cdot)$ calculates the variance. This loss constrains the searched architecture from losing the capability of handling the previous tasks routed to the same module. The final loss for searching the architectures is
170
+
171
+ $$
172
+ \mathcal {L} _ {t} = \mathcal {L} _ {t} ^ {r} + \lambda \mathcal {L} _ {t} ^ {\text {i n v}}, \tag {14}
173
+ $$
174
+
175
+ where $\lambda$ is a hyper-parameter to make a trade-off between the performance of the new task and past tasks. Similar to
176
+
177
+ (Liu et al., 2018), the architecture parameters at task $\mathcal{T}_t$ are updated differentiably with
178
+
179
+ $$
180
+ \alpha = \alpha - \eta_ {\alpha} \nabla_ {\alpha} \mathcal {L} _ {t}, w = w - \eta_ {w} \nabla_ {w} \mathcal {L} _ {t}. \tag {15}
181
+ $$
182
+
183
+ After searching the architectures, we fix the architectures and finetune the weights with factors for better classification. The overall algorithm is summarized in Algo. 1
184
+
185
+ # Algorithm 1 The pipeline for GASIM
186
+
187
+ Require: The number of tasks $T$ , hyperparameter $\lambda, K$ .
188
+
189
+ 1: Construct the modular super-network in Sec. 4.1.
190
+ 2: for $l = 1, \dots, T$ do
191
+ 3: Predict the latent factors as Eq. (8)
192
+ 4: Route the task to the module as Eq. (10)
193
+ 5: Calculate routing loss as Eq. (11)
194
+ 6: Calculate invariance loss as Eq. (13)
195
+ 7: Calculate the final loss as Eq. (14)
196
+ 8: Search the architecture according to Eq. (15)
197
+ 9: Fix the architecture and finetune the weights
198
+ 10: end for
199
+
200
+ Discussions about the framework and MoE The router of our framework aims to learn several groups of similar tasks with expert architecture modules. While the router and Mixture-of-Experts (MoE) (Shazeer et al., 2017; Fedus et al., 2022) have something in common that they both route the data to different parameterized networks for forwarding, they have different objectives. The objective of most MoE methods is to promote the performance by significantly enlarging the model capacity, while controlling the model sparsity to maintain the inference efficiency. In contrast, in our framework, the objective of the routing is to alleviate the architecture conflicts in the continual search process by routing dissimilar tasks to different modules, while routing similar tasks to the same module to boost shared knowledge. Therefore, differing from the MoE objective, the main focus of the routing is to facilitate modularization and continually search graph architectures to adapt to new tasks while not forgetting the previous knowledge.
201
+
202
+ # 5. Experiments
203
+
204
+ In this section, we conduct experiments on real-world continual graph datasets to verify the design of our method. We also include detailed ablation studies to analyze the effectiveness of each component.
205
+
206
+ # 5.1. Experimental Setups
207
+
208
+ Baselines We compare our method with 10 baselines from the following two different categories.
209
+
210
+ - Manually designed GNNs. We include six representative GNNs as our baselines, i.e., GCN (Kipf &
211
+
212
+ Welling, 2016), GAT (Veličković et al., 2018), GIN (Xu et al., 2018), GraphSage (Hamilton et al., 2017), GraphConv (Morris et al., 2019), SGC (Wu et al., 2019) which also constitute our search space.
213
+
214
+ - Graph neural architecture search. We include two representative GNAS baselines GraphNAS (Gao et al., 2020) and GASSO (Qin et al., 2021) where GASSO is specially designed for node-level classification tasks by searching the graph structures simultaneously. We also include two classical NAS baselines, random search and DARTS (Liu et al., 2018). Since they are not specially designed for graphs, we adopt our search space for them.
215
+
216
+ Since these methods are not designed for continual graph learning, we adopt the most recent and competitive continual graph learning method (Liu et al., 2023a;b) to train them to suit to the continual settings.
217
+
218
+ Super-network Construction The super-network generally consists of two parts, the operation pool and the directed acyclic graph (DAG) that wires the operations. For the operation pool, we include the six node aggregation operations mentioned in the manually designed GNN baselines. For brevity, we denote 'Agg' as node aggregation operations. Following (Qin et al., 2021), the DAG for each module is a straightforward path, i.e., $\mathbf{H}^{l + 1} = \mathrm{Agg}^l (\mathbf{H}^l,\mathbf{A})$ , and the embeddings of the last layer are utilized for downstream tasks, where $\mathbf{H}^l$ denotes the hidden embeddings output by the $l$ -th layer, and $\mathbf{A}$ denotes the graph adjacency matrix. For searching the routed module, the embedding is fed to the module's classifier $f(\cdot)$ , and the prediction is $f(\mathbf{H})$ . For finetuning and testing the whole model, the embeddings of each module are concatenated together, i.e., $\mathbf{H} = [\mathbf{H}_1||\mathbf{H}_2||\dots ||\mathbf{H}_K]$ , which is subsequently fed to the whole model's classifier for prediction.
219
+
220
+ Datasets We adopt three node classification tasks in experiments, including CoraFull (McCallum et al., 2000), Arxiv (Hu et al., 2020), and Reddit (Hamilton et al., 2017). CoraFull and Arxiv are citation networks, and Reddit is a post-to-post graph. Table 1 shows the statistics of these datasets. All datasets are partitioned into a set of tasks, each focusing on the node classification problem, where each task involves nodes from two distinct classes within an incoming graph. For each task, $60\%$ of the nodes are allocated for training, $20\%$ for validation, and $20\%$ for testing.
221
+
222
+ Evaluation We adopt the challenging setting that no task indicator is provided in the testing stage, also known as class-IL setting (Wang et al., 2023a), and the model continues to make classifications for all categories that have been seen so far. During the continual update phase, the model can only access the newly incoming graph and all the past graphs are
223
+
224
+ Table 1: A summary of dataset statistics.
225
+
226
+ <table><tr><td>Dataset</td><td>Nodes</td><td>Edges</td><td>Features</td><td>Classes</td><td>Tasks</td></tr><tr><td>CoraFull</td><td>19,793</td><td>130,622</td><td>8,710</td><td>70</td><td>35</td></tr><tr><td>Arxiv</td><td>169,343</td><td>1,166,243</td><td>128</td><td>40</td><td>20</td></tr><tr><td>Reddit</td><td>227,853</td><td>114,615,892</td><td>602</td><td>40</td><td>20</td></tr></table>
227
+
228
+ not available. Denote $m_{k,i}$ as the performance on $i$ -th task after learning $k$ -th task. We adopt three metrics to measure the model performance: 1) Average performance (AP), measuring the average model performance after learning from Task $\mathcal{T}_k$ , i.e., $\mathrm{AP}_k = \frac{1}{k}\sum_{i=1}^k m_{k,i}$ , 2) Mean of average performance (AP), measuring the average performance of the continual learning process, i.e., $\overline{\mathrm{AP}} = \frac{1}{k}\sum_{i=1}^k \mathrm{AP}_i$ . 3) Average Forgetting (AF), measuring the influence of the training process for the current task on the performance of previous tasks, i.e., $\mathrm{AF}_k = \frac{1}{k-1}\sum_{i=1}^{k-1}(m_{k,i} - m_{i,i})$ . A higher value indicates that training the current task has a more substantial impact on historical tasks. A negative or positive number signifies a detrimental or beneficial impact.
229
+
230
+ More experimental details are provided in the Appendix, including configurations and implementation details.
231
+
232
+ # 5.2. Main Results
233
+
234
+ From the results summarized in Table 2, we have the following observations:
235
+
236
+ - No hand-designed GNN is always the best for all datasets, which verifies the demand for automated graph architecture design in a continual fashion.
237
+ - The existing GNAS methods do not always beat the hand-designed GNNs, showing their limitations in handling continual graph data since their underlying assumption of static structural distribution and task may not hold in real continual graph data.
238
+ - The existing GNAS methods have lower average forgetting in most cases. In particular, DARTS achieves $61\%$ average performance while having $-16.6\%$ AF on Arxiv dataset. This phenomenon indicates that DARTS can search a better architecture for each task, but the architecture may perform poorly for the previous tasks, which further verifies our discovered problem of architecture conflicts in the continual search process. Neglecting the problem will let the model overfit the newly-coming task while harming the past knowledge.
239
+ - Our method achieves significant improvements over the baselines. In particular, our method improves $8\%$ in terms of average performance over the second-best baseline on CoraFull dataset. The results verify the effectiveness of our method that is able to continually search the
240
+
241
+ ![](images/57a061e9a24ad43c8073ca29fd8448bc41fb359ed30dce715f8f7a05c5455342.jpg)
242
+ Figure 3: Comparisons of different ablated variants of GASIM on real-world datasets in terms of mean average performance. 'Full' denotes the full version of the method (Best viewed in color).
243
+
244
+ architectures to learn the newly-coming tasks without forgetting past knowledge.
245
+
246
+ # 5.3. Additional Experiments
247
+
248
+ Ablation studies To verify the effectiveness of each designed component, we compare different ablated versions on each dataset: 1) v1 removes the invariance loss in Eq. (13), 2) v2 replaces the similar factor selection in Eq. (12) with random factor selection, 3) v3 replaces the router in Eq. (10) with a random router, which routes the task to a random module, 4) v4 replaces the router in Eq. (10) with a fixed router, which always routes the task to the first module, 5) v5 replaces the router in Eq. (10) with a sequential router, which always routes the task to the next module, i.e., $t\% K$ , 6) v6 replaces the modular super-network with a vanilla super-network. From Fig. 3, we have the following observations:
249
+
250
+ - Our proposed GASIM outperforms all the ablated variants on all datasets, demonstrating the effectiveness of each component of our proposed framework in continually searching graph architectures.
251
+ - The ablated versions v1 and v2 have a huge performance drop on Arxiv, showing the importance of leveraging the invariance to share mutual knowledge.
252
+ - The hand-designed routers v3, v4 and v5 have more suboptimal and unstable results across datasets, showing the effectiveness of our factor-based task-module router.
253
+ - The ablated version v6 fails drastically on CoraFull dataset, showing that the modular super-network is critical for resolving architecture conflicts to boost the continual searching process.
254
+
255
+ Visualized showcases We illustrate the performance matrices of three methods, GCN, DARTS and ours in Fig. 4. The performance matrix shows the test results for all past tasks after learning the new task. We find that our method
256
+
257
+ Table 2: The results of all the methods on the real-world datasets. Numbers after the $\pm$ signs represent standard deviations. The best results are in bold.
258
+
259
+ <table><tr><td>Dataset</td><td colspan="3">CoraFull</td><td colspan="3">Arxiv</td><td colspan="3">Reddit</td></tr><tr><td>Metric</td><td>AP</td><td>AF</td><td>\( \overline{AP} \)</td><td>AP</td><td>AF</td><td>\( \overline{AP} \)</td><td>AP</td><td>AF</td><td>\( \overline{AP} \)</td></tr><tr><td>GCN</td><td>61.94±1.45</td><td>-10.17±1.01</td><td>75.54±0.76</td><td>62.64±0.91</td><td>-13.78±0.47</td><td>72.16±0.78</td><td>96.65±0.13</td><td>-0.78±0.13</td><td>98.09±0.06</td></tr><tr><td>GIN</td><td>67.70±0.52</td><td>-3.62±1.73</td><td>76.73±0.79</td><td>59.68±3.90</td><td>-16.93±3.14</td><td>72.21±0.94</td><td>97.77±0.05</td><td>0.04±0.02</td><td>98.68±0.04</td></tr><tr><td>GAT</td><td>40.26±5.70</td><td>-4.57±4.12</td><td>50.72±1.42</td><td>61.87±0.51</td><td>-9.70±0.48</td><td>70.03±1.07</td><td>78.14±1.82</td><td>-5.90±4.06</td><td>88.54±2.08</td></tr><tr><td>GraphSage</td><td>61.29±0.97</td><td>-9.17±0.76</td><td>74.25±1.02</td><td>59.56±0.92</td><td>-13.44±1.32</td><td>69.30±0.56</td><td>91.56±0.48</td><td>-1.95±0.42</td><td>94.57±0.20</td></tr><tr><td>SGC</td><td>60.87±1.68</td><td>-10.93±1.07</td><td>75.13±1.18</td><td>56.33±1.42</td><td>-10.96±0.42</td><td>66.94±0.75</td><td>96.36±0.13</td><td>-0.67±0.03</td><td>97.87±0.05</td></tr><tr><td>GraphConv</td><td>67.15±1.12</td><td>-6.21±0.93</td><td>77.42±1.11</td><td>53.48±7.30</td><td>-19.45±5.00</td><td>69.40±1.70</td><td>97.61±0.06</td><td>-0.22±0.15</td><td>98.72±0.03</td></tr><tr><td>Random</td><td>63.57±1.06</td><td>-12.69±2.86</td><td>77.03±0.60</td><td>57.94±10.48</td><td>-19.76±11.33</td><td>71.74±0.97</td><td>97.89±0.08</td><td>12.27±5.76</td><td>87.55±2.70</td></tr><tr><td>GraphNAS</td><td>60.01±8.50</td><td>-18.85±5.71</td><td>63.81±11.05</td><td>52.94±4.12</td><td>-9.58±1.28</td><td>62.94±4.34</td><td>96.98±0.48</td><td>-1.01±0.18</td><td>98.34±0.26</td></tr><tr><td>DARTS</td><td>66.02±0.52</td><td>-6.89±0.90</td><td>77.40±0.38</td><td>61.45±2.09</td><td>-16.59±1.65</td><td>71.74±1.42</td><td>97.55±0.09</td><td>-0.25±0.11</td><td>98.75±0.02</td></tr><tr><td>GASSO</td><td>61.94±1.08</td><td>-10.07±0.61</td><td>75.11±0.93</td><td>61.21±0.84</td><td>-15.02±0.50</td><td>70.93±0.80</td><td>96.43±0.19</td><td>-0.94±0.11</td><td>97.98±0.08</td></tr><tr><td>Ours</td><td>76.03±0.77</td><td>-5.22±0.80</td><td>78.95±0.71</td><td>65.03±1.40</td><td>-12.19±1.64</td><td>73.43±0.84</td><td>98.40±0.01</td><td>-0.17±0.06</td><td>99.10±0.02</td></tr></table>
260
+
261
+ ![](images/bf15c1a14d2871ba921f8ceee289771708c977bc86627f8b41a68a41fa03d3f7.jpg)
262
+ Figure 4: Performance matrices of different methods on Arxiv dataset. Lighter colors denote higher performance. The value $P_{i,j}, j \leq i$ denotes the performance on $j$ -th task after learning the $i$ -th task. (Best viewed in color).
263
+
264
+ ![](images/5039f1d3c176926642a9c36fe0f0857e552299c794107d8d80c58dd58fac2d1b.jpg)
265
+ Figure 5: A showcase heatmap demonstrating that the router continually selects different modules on Arxiv dataset. Lighter colors denote higher probability of the module on the according task. Red boxes denotes the module choice on each task respectively. (Best viewed in color).
266
+
267
+ can continually assimilate new knowledge by searching the architectures for the new task. For example, the performance of the 8-th task even grows after learning the 10-th task. To make deeper analyses, we illustrate the router choices in Fig. 5. For the 8-th and the 10-th tasks, the router both chooses the 0-th module, which shows that the model may share the knowledge in the same module to boost the performance of both tasks in the continual searching process.
268
+
269
+ # 6. Related works
270
+
271
+ Graph Neural Architecture Search Neural architecture search has gained prominence as it endeavors to automatically discover optimal architectures for specific tasks. This trend has been particularly notable in computer vision (Ren et al., 2021; Elsken et al., 2019), natural language processing (Chitty-Venkata et al., 2022). Graph neural architecture search (GNAS) methods (Guan et al., 2021; Qin et al., 2022b), confronting the unique challenge of tackling the relationship of architectures and complex structures on graphs, can be broadly categorized into reinforcement-learning-based methods (Gao et al., 2020; Zhou et al., 2019; Cai et al., 2022; Gao et al., 2022; 2023), evolutionary-based methods (Nunes & Pappa, 2020; Li & King, 2020; Shi et al., 2022; Zhang et al., 2022a;b), and differentiable methods (Ding et al., 2021; Huan et al., 2021; Li et al., 2021c; Cai et al., 2021; Qin et al., 2022a; Wei et al., 2021; Zhang et al., 2023f; e; Li et al., 2024c; Zheng et al., 2023). However, a prevailing limitation of existing GNAS methods is their dependency on the underlying assumption of static distribution and tasks, and thus limiting their application in real-world scenarios. In this paper, we study the problem of continual graph neural architecture search in the setting where graphs are continuously generated.
272
+
273
+ Continual Graph Learning Continua graph learning aims to handle streaming graph data other than static graphs. Distinct from continual learning in computer vision (Kirkpatrick et al., 2017; Aljundi et al., 2018; Lopez-Paz & Ranzato, 2017; Li & Hoiem, 2017; Wang et al., 2022), continual graph learning methods should take into consideration the changes of structures as well as the tasks applied to these structures. The existing methods can be roughly classified into two categories, regularisation-based methods (Liu et al., 2021) and replay-based methods (Zhou & Cao, 2021; Zhang et al., 2022e; Liu et al., 2023a). (Liu et al., 2021) employs
274
+
275
+ regularisation to preserve topological information from historical graphs. (Zhou & Cao, 2021) incorporates memory-replay mechanisms by storing representative nodes, while (Zhang et al., 2022e) employs memory banks to store sparsified subgraphs, thereby preserving structural information. (Liu et al., 2023a) condenses the graphs into memory with consideration of class imbalance, which are then adopted for replaying in the learning process. To assess and benchmark CGL methods, two recent benchmarks (Zhang et al., 2022c; Ko et al., 2022) have been developed, contributing to the evolving landscape of graph continual learning research. However, these methods adopt a fixed architecture with the assumption that the optimal architecture is static in the continual learning process. Recently, there has been increasing interest in utilizing the in-context learning capabilities of large language models for graph-related tasks (Jin et al., 2023; Zhang et al., 2023a; 2024; Yao et al., 2024; Li et al., 2024b; Chen et al., 2024b). However, it remains underexplored whether these methods can effectively adapt to continuously emerging graph domains and tasks. In this paper, we continually modify the architecture to suit for the newly-coming graph tasks in the continual learning process.
276
+
277
+ Disentangled Graph Learning Disentangled representation learning aims to delineate and elucidate the distinct latent factors that influence observable data, representing each factor as a unique vector representation (Bengio et al., 2013; Wang et al., 2023b), and the obtained factors could be helpful for explaining the inherent mechanism driving the data formation as well as producing robust representations for downstream tasks. This methodology has proven valuable across diverse domains, spanning computer vision (Hsieh et al., 2018; Ma et al., 2018; Chen et al., 2016; Wang et al., 2023c; Chen et al., 2023; 2024a), and graph representation learning (Ma et al., 2019; Liu et al., 2020; Yang et al., 2020; Chen et al., 2021; Li et al., 2021a;b; 2022c). In the context most relevant to our work, (Qin et al., 2022a) characterize latent factors within graph data by employing a self-supervised disentangled graph encoder, and then conducts graph neural architecture search for each graph to address distribution shifts, while the graphs and tasks are still fixed in the optimization process. In contrast, our focus in this paper centers on the automation of continual graph neural architecture designing via disentangling the relationship between graphs and architectures with the invariant modular super-network and routing mechanism.
278
+
279
+ Out-of-Distribution Generalization Many current machine learning techniques are based on the premise that training and testing data are independent and identically distributed. However, this assumption may not hold in complex real-world settings (Shen et al., 2021; Yao et al., 2022; Xu et al., 2022; Wen et al., 2024), particularly during the continual learning process where data distributions can
280
+
281
+ progressively shift across sequential tasks. One classic of Out-of-Distribution (OOD) generalization methods is invariant learning that aims to obtain invariant features are robust across distributions (Arjovsky et al., 2019; Sagawa et al., 2019; Krueger et al., 2021). Recently, there is a growing interest in achieving OOD generalization on graphs (Li et al., 2024a; 2022a;b;d; 2023a;b; Wu et al., 2022a;b; Chen et al., 2022; Zhang et al., 2021a; 2022g; Fan et al., 2021) as well as dynamic graphs that come sequentially (Zhang et al., 2023b;c;d; 2022f). In our work, we leverage insights from the invariant learning literature and propose an invariance loss with regard to graph architectures and tasks to enhance knowledge sharing across different tasks and modules, thereby mitigating the distribution shifts during the continual learning process.
282
+
283
+ # 7. Conclusion
284
+
285
+ Existing graph neural architecture search (GNAS) methodologies fall short in addressing the dynamic nature of continually evolving graph data. In this paper, we propose Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet (GASIM) method, specifically designed to overcome the challenges of continual GNAS. By proposing a modular graph architecture super-network and a factor-based task-module router, our approach efficiently navigates the entangled nature of graph factors and resolves conflicts arising from evolving relationships between the entire graph and optimal architectures. The proposed invariant architecture search method further ensures the retention of shared knowledge across tasks, enabling continual learning without forgetting past knowledge. Extensive experiments demonstrate that our method achieves state-of-the-art performance in continual graph neural architecture search. One limitation of this paper is that we mainly focus on homogeneous graphs, and we leave extending our method to heterogeneous graphs for further explorations.
286
+
287
+ # Acknowledgements
288
+
289
+ This work is supported by the National Key Research and Development Program of China No.2023YFF1205001, National Natural Science Foundation of China (No. 62222209, 62250008, 62102222, 62206149), Beijing National Research Center for Information Science and Technology under Grant No. BNR2023RC01003, BNR2023TD03006, and Beijing Key Lab of Networked Multimedia.
290
+
291
+ # Impact Statement
292
+
293
+ This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.
294
+
295
+ # References
296
+
297
+ Aljundi, R., Babiloni, F., Elhoseiny, M., Rohrbach, M., and Tuytelaars, T. Memory aware synapses: Learning what (not) to forget. In Proceedings of the European conference on computer vision (ECCV), pp. 139-154, 2018.
298
+ Arjovsky, M., Bottou, L., Gulrajani, I., and Lopez-Paz, D. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019.
299
+ Bengio, Y., Courville, A., and Vincent, P. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8): 1798-1828, 2013.
300
+ Cai, J., Wang, X., Guan, C., Tang, Y., Xu, J., Zhong, B., and Zhu, W. Multimodal continual graph learning with neural architecture search. In Proceedings of the ACM Web Conference 2022, pp. 1292-1300, 2022.
301
+ Cai, S., Li, L., Deng, J., Zhang, B., Zha, Z.-J., Su, L., and Huang, Q. Rethinking graph neural architecture search from message-passing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6657-6666, 2021.
302
+ Chen, H., Chen, Y., Wang, X., Xie, R., Wang, R., Xia, F., and Zhu, W. Curriculum disentangled recommendation with noisy multi-feedback. Advances in Neural Information Processing Systems, 34:26924-26936, 2021.
303
+ Chen, H., Zhang, Y., Wu, S., Wang, X., Duan, X., Zhou, Y., and Zhu, W. Disenbooth: Identity-preserving disentangled tuning for subject-driven text-to-image generation. In The Twelfth International Conference on Learning Representations, 2023.
304
+ Chen, H., Wang, X., Zhang, Y., Zhou, Y., Zhang, Z., Tang, S., and Zhu, W. Disenstudio: Customized multi-subject text-to-video generation with disentangled spatial control, 2024a.
305
+ Chen, X., Duan, Y., Houthooft, R., Schulman, J., Sutskever, I., and Abbeel, P. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. Advances in neural information processing systems, 29, 2016.
306
+ Chen, Y., Zhang, Y., Yang, H., Ma, K., Xie, B., Liu, T., Han, B., and Cheng, J. Invariance principle meets out-of-distribution generalization on graphs. arXiv preprint, 2022.
307
+ Chen, Z., Mao, H., Li, H., Jin, W., Wen, H., Wei, X., Wang, S., Yin, D., Fan, W., Liu, H., et al. Exploring the potential of large language models (llms) in learning on graphs. ACM SIGKDD Explorations Newsletter, 25(2): 42-61, 2024b.
308
+
309
+ Chitty-Venkata, K. T., Emani, M., Vishwanath, V., and Somani, A. K. Neural architecture search for transformers: A survey. IEEE Access, 10:108374-108412, 2022.
310
+ Ding, Y., Yao, Q., Zhao, H., and Zhang, T. Diffimg: Differentiable meta graph search for heterogeneous graph neural networks. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pp. 279-288, 2021.
311
+ Elsken, T., Metzen, J. H., and Hutter, F. Neural architecture search: A survey. The Journal of Machine Learning Research, 20(1):1997-2017, 2019.
312
+ Fan, S., Wang, X., Shi, C., Cui, P., and Wang, B. Generalizing graph neural networks on out-of-distribution graphs. arXiv preprint arXiv:2111.10657, 2021.
313
+ Fan, W., Ma, Y., Li, Q., He, Y., Zhao, E., Tang, J., and Yin, D. Graph neural networks for social recommendation. In The world wide web conference, pp. 417-426, 2019.
314
+ Fedus, W., Zoph, B., and Shazeer, N. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1-39, 2022.
315
+ Fey, M. and Lenssen, J. E. Fast graph representation learning with PyTorch Geometric. In ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.
316
+ Gao, Y., Yang, H., Zhang, P., Zhou, C., and Hu, Y. Graph neural architecture search. In *IJCAI*, volume 20, pp. 1403–1409, 2020.
317
+ Gao, Y., Zhang, P., Yang, H., Zhou, C., Hu, Y., Tian, Z., Li, Z., and Zhou, J. Graphnas++: Distributed architecture search for graph neural networks. IEEE Transactions on Knowledge and Data Engineering, 35(7):6973-6987, 2022.
318
+ Gao, Y., Zhang, P., Zhou, C., Yang, H., Li, Z., Hu, Y., and Philip, S. Y. Hgnas++: efficient architecture search for heterogeneous graph neural networks. IEEE Transactions on Knowledge and Data Engineering, 2023.
319
+ Guan, C., Zhang, Z., Li, H., Chang, H., Zhang, Z., Qin, Y., Jiang, J., Wang, X., and Zhu, W. Autogl: A library for automated graph learning. In ICLR 2021 Workshop CTRL, 2021.
320
+ Guo, Z., Zhang, X., Mu, H., Heng, W., Liu, Z., Wei, Y., and Sun, J. Single path one-shot neural architecture search with uniform sampling. In European conference on computer vision, pp. 544-560. Springer, 2020.
321
+ Hamilton, W., Ying, Z., and Leskovec, J. Inductive representation learning on large graphs. Advances in neural information processing systems, 30, 2017.
322
+
323
+ Hou, Z., Liu, X., Dong, Y., Wang, C., Tang, J., et al. Graphmae: Self-supervised masked graph autoencoders. arXiv preprint arXiv:2205.10803, 2022.
324
+ Hsieh, J.-T., Liu, B., Huang, D.-A., Fei-Fei, L. F., and Niebles, J. C. Learning to decompose and disentangle representations for video prediction. Advances in neural information processing systems, 31, 2018.
325
+ Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., and Leskovec, J. Open graph benchmark: Datasets for machine learning on graphs. Advances in neural information processing systems, 33:22118-22133, 2020.
326
+ Huan, Z., Quanming, Y., and Weiwei, T. Search to aggregate neighborhood for graph neural network. In 2021 IEEE 37th International Conference on Data Engineering, pp. 552-563, 2021.
327
+ Jin, B., Liu, G., Han, C., Jiang, M., Ji, H., and Han, J. Large language models on graphs: A comprehensive survey. arXiv preprint arXiv:2312.02783, 2023.
328
+ Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
329
+ Kipf, T. N. and Welling, M. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
330
+ Kirkpatrick, J., Pascanu, R., Rabinowitz, N., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521-3526, 2017.
331
+ Ko, J., Kang, S., Kwon, T., Moon, H., and Shin, K. Begin: Extensive benchmark scenarios and an easy-to-use framework for graph continual learning. arXiv preprint arXiv:2211.14568, 2022.
332
+ Krueger, D., Caballero, E., Jacobsen, J.-H., Zhang, A., Binas, J., Zhang, D., Le Priol, R., and Courville, A. Out-of-distribution generalization via risk extrapolation (rex). In International Conference on Machine Learning, pp. 5815-5826. PMLR, 2021.
333
+ Li, H., Wang, X., Zhang, Z., Ma, J., Cui, P., and Zhu, W. Intention-aware sequential recommendation with structured intent transition. IEEE Transactions on Knowledge and Data Engineering, 34(11):5403-5414, 2021a.
334
+ Li, H., Wang, X., Zhang, Z., Yuan, Z., Li, H., and Zhu, W. Disentangled contrastive learning on graphs. Advances in Neural Information Processing Systems, 34:21872-21884, 2021b.
335
+
336
+ Li, H., Wang, X., Zhang, Z., and Zhu, W. Ood-gnn: Out-of-distribution generalized graph neural network. IEEE Transactions on Knowledge and Data Engineering, 2022a.
337
+ Li, H., Wang, X., Zhang, Z., and Zhu, W. Out-of-distribution generalization on graphs: A survey. arXiv preprint arXiv:2202.07987, 2022b.
338
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Disentangled graph contrastive learning with independence promotion. IEEE Transactions on Knowledge and Data Engineering, 2022c.
339
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Learning invariant graph representations for out-of-distribution generalization. In Thirty-Sixth Conference on Neural Information Processing Systems, 2022d.
340
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Invariant node representation learning under distribution shifts with multiple latent environments. ACM Transactions on Information Systems, 42(1):1-30, 2023a.
341
+ Li, H., Wang, X., Zhang, Z., Chen, H., Zhang, Z., and Zhu, W. Disentangled graph self-supervised learning for out-of-distribution generalization. In International conference on machine learning. PMLR, 2024a.
342
+ Li, P., Meng, Y., Wang, X., Shen, F., Li, Y., Wang, J., and Zhu, W. Causal discovery in temporal domain from interventional data. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 4074-4078, 2023b.
343
+ Li, P., Wang, X., Zhang, Z., Meng, Y., Shen, F., Li, Y., Wang, J., Li, Y., and Zhu, W. Llm-enhanced causal discovery in temporal domain from interventional data. arXiv preprint arXiv:2404.14786, 2024b.
344
+ Li, P., Wang, X., Zhang, Z., Qin, Y., Zhang, Z., Wang, J., Li, Y., and Zhu, W. Causal-aware graph neural architecture search under distribution shifts, 2024c.
345
+ Li, Y. and King, I. Autograph: Automated graph neural network. In International Conference on Neural Information Processing, pp. 189-201, 2020.
346
+ Li, Y., Wen, Z., Wang, Y., and Xu, C. One-shot graph neural architecture search with dynamic search space. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 8510-8517, 2021c.
347
+ Li, Z. and Hoiem, D. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935-2947, 2017.
348
+
349
+ Liu, H., Simonyan, K., and Yang, Y. Darts: Differentiable architecture search. arXiv preprint arXiv:1806.09055, 2018.
350
+ Liu, H., Yang, Y., and Wang, X. Overcoming catastrophic forgetting in graph neural networks. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pp. 8653-8661, 2021.
351
+ Liu, Y., Wang, X., Wu, S., and Xiao, Z. Independence promoted graph disentangled networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 4916-4923, 2020.
352
+ Liu, Y., Qiu, R., and Huang, Z. Cat: Balanced continual graph learning with graph condensation. arXiv preprint arXiv:2309.09455, 2023a.
353
+ Liu, Y., Qiu, R., Tang, Y., Yin, H., and Huang, Z. Puma: Efficient continual graph learning with graph condensation. arXiv preprint arXiv:2312.14439, 2023b.
354
+ Lopez-Paz, D. and Ranzato, M. Gradient episodic memory for continual learning. Advances in neural information processing systems, 30, 2017.
355
+ Ma, J., Cui, P., Kuang, K., Wang, X., and Zhu, W. Disentangled graph convolutional networks. In International conference on machine learning, pp. 4212-4221. PMLR, 2019.
356
+ Ma, L., Sun, Q., Georgoulis, S., Van Gool, L., Schiele, B., and Fritz, M. Disentangled person image generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 99-108, 2018.
357
+ McCallum, A. K., Nigam, K., Rennie, J., and Seymour, K. Automating the construction of internet portals with machine learning. Information Retrieval, 3:127-163, 2000.
358
+ Morris, C., Ritzert, M., Fey, M., Hamilton, W. L., Lenssen, J. E., Rattan, G., and Grohe, M. Weisfeiler and leman go neural: Higher-order graph neural networks. In Proceedings of the AAAI conference on artificial intelligence, pp. 4602-4609, 2019.
359
+ Nunes, M. and Pappa, G. L. Neural architecture search in graph neural networks. In *Brazilian Conference on Intelligent Systems*, pp. 302-317, 2020.
360
+ Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019.
361
+ Qin, Y., Wang, X., Zhang, Z., and Zhu, W. Graph differentiable architecture search with structure learning.
362
+
363
+ Advances in Neural Information Processing Systems, 34, 2021.
364
+ Qin, Y., Wang, X., Zhang, Z., Xie, P., and Zhu, W. Graph neural architecture search under distribution shifts. In International Conference on Machine Learning, pp. 18083-18095. PMLR, 2022a.
365
+ Qin, Y., Zhang, Z., Wang, X., Zhang, Z., and Zhu, W. Nasbench-graph: Benchmarking graph neural architecture search. arXiv preprint arXiv:2206.09166, 2022b.
366
+ Ren, P., Xiao, Y., Chang, X., Huang, P.-Y., Li, Z., Chen, X., and Wang, X. A comprehensive survey of neural architecture search: Challenges and solutions. ACM Computing Surveys (CSUR), 54(4):1-34, 2021.
367
+ Sagawa, S., Koh, P. W., Hashimoto, T. B., and Liang, P. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019.
368
+ Shazeer, N., Mirhoseini, A., Maziarz, K., Davis, A., Le, Q., Hinton, G., and Dean, J. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538, 2017.
369
+ Shen, Z., Liu, J., He, Y., Zhang, X., Xu, R., Yu, H., and Cui, P. Towards out-of-distribution generalization: A survey. arXiv preprint arXiv:2108.13624, 2021.
370
+ Shi, M., Wilson, D. A., Zhu, X., Huang, Y., Zhuang, Y., Liu, J., and Tang, Y. Genetic-gnn: Evolutionary architecture search for graph neural networks. Knowledge-Based Systems, pp. 108752, 2022.
371
+ Veličković, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., and Bengio, Y. Graph attention networks. In International Conference on Learning Representations, 2018.
372
+ Wang, L., Zhang, X., Su, H., and Zhu, J. A comprehensive survey of continual learning: Theory, method and application. arXiv preprint arXiv:2302.00487, 2023a.
373
+ Wang, X., Chen, H., Tang, S., Wu, Z., and Zhu, W. Disentangled representation learning, 2023b.
374
+ Wang, X., Wu, Z., Chen, H., Lan, X., and Zhu, W. Mixup-augmented temporally debiased video grounding with content-location disentanglement. 2023c.
375
+ Wang, Z., Xu, Q., Yang, Z., He, Y., Cao, X., and Huang, Q. Openauc: Towards auc-oriented open-set recognition. Advances in Neural Information Processing Systems, 35: 25033-25045, 2022.
376
+
377
+ Wei, L., Zhao, H., Yao, Q., and He, Z. Pooling architecture search for graph classification. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, pp. 2091-2100, 2021.
378
+ Wen, P., Xu, Q., Yang, Z., He, Y., and Huang, Q. Algorithm-dependent generalization of auprc optimization: Theory and algorithm. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
379
+ Wu, F., Souza, A., Zhang, T., Fifty, C., Yu, T., and Weinberger, K. Simplifying graph convolutional networks. In International conference on machine learning, pp. 6861-6871. PMLR, 2019.
380
+ Wu, Q., Zhang, H., Yan, J., and Wipf, D. Handling distribution shifts on graphs: An invariance perspective. arXiv preprint arXiv:2202.02466, 2022a.
381
+ Wu, Y.-X., Wang, X., Zhang, A., He, X., and Chua, T.-S. Discovering invariant rationales for graph neural networks. arXiv preprint arXiv:2201.12872, 2022b.
382
+ Xie, Y., Xu, Z., and Ji, S. Self-supervised representation learning via latent graph prediction. arXiv preprint arXiv:2202.08333, 2022.
383
+ Xu, K., Hu, W., Leskovec, J., and Jegelka, S. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
384
+ Xu, Q., Yang, Z., Jiang, Y., Cao, X., Yao, Y., and Huang, Q. Not all samples are trustworthy: Towards deep robust svp prediction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(6):3154-3169, 2022.
385
+ Yang, Y., Feng, Z., Song, M., and Wang, X. Factorizable graph convolutional networks. Advances in Neural Information Processing Systems, 33:20286-20296, 2020.
386
+ Yao, H., Wang, Y., Li, S., Zhang, L., Liang, W., Zou, J., and Finn, C. Improving out-of-distribution robustness via selective augmentation. In Proceedings of the Thirty-ninth International Conference on Machine Learning, 2022.
387
+ Yao, Y., Wang, X., Zhang, Z., Qin, Y., Zhang, Z., Chu, X., Yang, Y., Zhu, W., and Mei, H. Exploring the potential of large language models in graph generation. arXiv preprint arXiv:2403.14358, 2024.
388
+ Zhang, W., Lin, Z., Shen, Y., Li, Y., Yang, Z., and Cui, B. Deep and flexible graph neural architecture search. In International Conference on Machine Learning, pp. 26362-26374. PMLR, 2022a.
389
+ Zhang, W., Shen, Y., Lin, Z., Li, Y., Li, X., Ouyang, W., Tao, Y., Yang, Z., and Cui, B. Pasca: A graph neural architecture search system under the scalable paradigm.
390
+
391
+ In Proceedings of the ACM Web Conference 2022, pp. 1817-1828, 2022b.
392
+ Zhang, X., Song, D., and Tao, D. Cglb: Benchmark tasks for continual graph learning. Advances in Neural Information Processing Systems, 35:13006-13021, 2022c.
393
+ Zhang, X., Song, D., and Tao, D. Hierarchical prototype networks for continual graph representation learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(4):4622-4636, 2022d.
394
+ Zhang, X., Song, D., and Tao, D. Sparsified subgraph memory for continual graph representation learning. In 2022 IEEE International Conference on Data Mining (ICDM), pp. 1335-1340. IEEE, 2022e.
395
+ Zhang, Z., Wang, X., Zhang, Z., Cui, P., and Zhu, W. Revisiting transformation invariant geometric deep learning: Are initial representations all you need? arXiv preprint arXiv:2112.12345, 2021a.
396
+ Zhang, Z., Wang, X., and Zhu, W. Automated machine learning on graphs: A survey. arXiv preprint arXiv:2103.00742, 2021b.
397
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., Qin, Z., and Zhu, W. Dynamic graph neural networks under spatio-temporal distribution shift. In Advances in Neural Information Processing Systems, 2022f.
398
+ Zhang, Z., Zhang, Z., Wang, X., and Zhu, W. Learning to solve travelling salesman problem with hardness-adaptive curriculum. In Thirty-Fifth AAAI Conference on Artificial Intelligence, 2022g.
399
+ Zhang, Z., Li, H., Zhang, Z., Qin, Y., Wang, X., and Zhu, W. Graph meets llms: Towards large graph models. In NeurIPS 2023 Workshop: New Frontiers in Graph Learning, 2023a.
400
+ Zhang, Z., Li, X., Teng, F., Lin, N., Zhu, X., Wang, X., and Zhu, W. Out-of-distribution generalized dynamic graph neural network for human albumin prediction. In IEEE International Conference on Medical Artificial Intelligence, 2023b.
401
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., and Zhu, W. Out-of-distribution generalized dynamic graph neural network with disentangled intervention and invariance promotion. arXiv preprint arXiv:2311.14255, 2023c.
402
+ Zhang, Z., Wang, X., Zhang, Z., Qin, Z., Wen, W., Xue, H., Li, H., and Zhu, W. Spectral invariant learning for dynamic graphs under distribution shifts. In Advances in Neural Information Processing Systems, 2023d.
403
+
404
+ Zhang, Z., Wang, X., Zhang, Z., Shen, G., Shen, S., and Zhu, W. Unsupervised graph neural architecture search with disentangled self-supervision. In Advances in Neural Information Processing Systems, 2023e.
405
+ Zhang, Z., Zhang, Z., Wang, X., Qin, Y., Qin, Z., and Zhu, W. Dynamic heterogeneous graph attention neural architecture search. In Thirty-Seventh AAAI Conference on Artificial Intelligence, 2023f.
406
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., Qin, Y., and Zhu, W. Llm4dyg: Can large language models solve spatial-temporal problems on dynamic graphs? In Conference on Knowledge Discovery & Data Mining (ACM SIGKDD), 2024.
407
+ Zheng, X., Zhang, M., Chen, C., Zhang, Q., Zhou, C., and Pan, S. Auto-heg: Automated graph neural network on heterophilic graphs. In Proceedings of the ACM Web Conference 2023, pp. 611-620, 2023.
408
+ Zhou, F. and Cao, C. Overcoming catastrophic forgetting in graph neural networks with experience replay. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 4714-4722, 2021.
409
+ Zhou, K., Song, Q., Huang, X., and Hu, X. Auto-gnn: Neural architecture search of graph neural networks. arXiv:1909.03184, 2019.
410
+
411
+ # A. Appendix
412
+
413
+ # A.1. Proof of Proposition 1
414
+
415
+ To prove the proposition, we have to first give a Lemma A.1 inspired by (Qin et al., 2021).
416
+
417
+ Lemma A.1. The operation weights are calculated by a softmax function. E.g. $o_1 = \frac{\exp\{\alpha_1\}}{\exp\{\alpha_1\} + \exp\{\alpha_2\}}$ . Let $g_1$ and $g_2$ are the gradients w.r.t. $\alpha_1$ and $\alpha_2$ . The operation weights after a gradient descent step are $o_1'$ and $o_2'$ , e.g., $o_1' = \frac{\exp\{\alpha_1 - g_1\}}{\exp\{\alpha_1 - g_1\} + \exp\{\alpha_2 - g_2\}}$ . If $g_1 < g_2$ , then $o_1' > o_1$ and $o_2' < o_2$ , and vice versa.
418
+
419
+ Proof. If $g_{1} < g_{2}$ , we should improve $o_1' > o_1$ , that is
420
+
421
+ $$
422
+ \frac {e x p \left\{\alpha_ {1} - g _ {1} \right\}}{e x p \left\{\alpha_ {1} - g _ {1} \right\} + e x p \left\{\alpha_ {2} - g _ {2} \right\}} > \frac {e x p \left\{\alpha_ {1} \right\}}{e x p \left\{\alpha_ {1} \right\} + e x p \left\{\alpha_ {2} \right\}}
423
+ $$
424
+
425
+ $$
426
+ \exp \left\{\alpha_ {1} - g _ {1} \right\} \left(\exp \left\{\alpha_ {1} \right\} + \exp \left\{\alpha_ {2} \right\}\right) > \exp \left\{\alpha_ {1} \right\} \left(\exp \left\{\alpha_ {1} - g _ {1} \right\} + \exp \left\{\alpha_ {2} - g _ {2} \right\}\right)
427
+ $$
428
+
429
+ $$
430
+ \exp \left\{2 \alpha_ {1} - g _ {1} \right\} + \exp \left\{\alpha_ {1} + \alpha_ {2} - g _ {1} \right\} > \exp \left\{2 \alpha_ {1} - g _ {1} \right\} + \exp \left\{\alpha_ {1} + \alpha_ {2} - g _ {2} \right\} \tag {16}
431
+ $$
432
+
433
+ $$
434
+ e x p \left\{\alpha_ {1} + \alpha_ {2} - g _ {1} \right\} > e x p \left\{\alpha_ {1} + \alpha_ {2} - g _ {2} \right\}
435
+ $$
436
+
437
+ $$
438
+ \alpha_ {1} + \alpha_ {2} - g _ {1} > \alpha_ {1} + \alpha_ {2} - g _ {2}
439
+ $$
440
+
441
+ $$
442
+ g _ {1} < g _ {2}
443
+ $$
444
+
445
+ We already have $g_{1} < g_{2}$ , thus $o_1' > o_1$ . Since $o_1 + o_2 = o_1' + o_2' = 1$ , we have $o_2' < o_2$ .
446
+
447
+ Proposition A.2. For optimizing $\mathcal{L}_2(F)$ , after one step of gradient descent w.r.t architecture parameters, the changes of operation weights $o_1, o_2$ will increase the loss $\mathcal{L}_1(F)$ .
448
+
449
+ Proof. The MSE loss of $\mathcal{L}_2(F)$ is calculated as
450
+
451
+ $$
452
+ \mathcal {L} _ {2} (F) = \sum_ {k} \left(F \left(\mathcal {G} _ {k}\right) - y _ {k}\right) ^ {2}. \tag {17}
453
+ $$
454
+
455
+ Then we have
456
+
457
+ $$
458
+ \begin{array}{l} \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {i}} = 2 \sum_ {k} \left(F (\mathcal {G} _ {k}) - y _ {k}\right) \frac {\partial F (\mathcal {G} _ {k})}{\partial o _ {i}} \\ = 2 \sum_ {k} \left(o _ {1} f _ {1} (\mathcal {G} _ {k}) + o _ {2} f _ {2} (\mathcal {G} _ {k}) - y _ {k}\right) f _ {i} (\mathcal {G} _ {k}) \\ = 2 \sum_ {k} \left(o _ {1} f _ {1} \left(\mathcal {G} _ {k}\right) + \left(1 - o _ {1}\right) f _ {2} \left(\mathcal {G} _ {k}\right) - y _ {k}\right) f _ {i} \left(\mathcal {G} _ {k}\right) \tag {18} \\ = 2 \sum_ {k} \left(o _ {1} f _ {1} (\mathcal {G} _ {k}) + (1 - o _ {1}) f _ {2} (\mathcal {G} _ {k}) - f _ {2} (\mathcal {G} _ {k})\right) f _ {i} (\mathcal {G} _ {k}) \\ = 2 o _ {1} \sum_ {k} \left(f _ {1} (\mathcal {G} _ {k}) - f _ {2} (\mathcal {G} _ {k})\right) f _ {i} (\mathcal {G} _ {k}). \\ \end{array}
459
+ $$
460
+
461
+ The second equation expands $F(x)$ by $F(x) = o_1 f(x) + o_2 f(x)$ . The third equation utilizes relationship of $o_1$ and $o_2$ , since $o_1 = \frac{\exp\{\alpha_1\}}{\exp\{\alpha_1\} + \exp\{\alpha_2\}}$ , $o_2 = \frac{\exp\{\alpha_2\}}{\exp\{\alpha_1\} + \exp\{\alpha_2\}}$ and thus $o_1 + o_2 = 1$ . The fourth equation utilizes the supposed ground-truth labeling function for the 2-rd task, i.e., $y_k = f_2(\mathcal{G}_k)$ . Then we have
462
+
463
+ $$
464
+ \begin{array}{l} \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {1}} - \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {2}} = 2 o _ {1} \sum_ {k} \left(f _ {1} (\mathcal {G} _ {k}) - f _ {2} (\mathcal {G} _ {k})\right) \left(f _ {1} (\mathcal {G} _ {k}) - f _ {2} (\mathcal {G} _ {k})\right) \\ = 2 o _ {1} \sum_ {k} \left(f _ {1} \left(\mathcal {G} _ {k}\right) - f _ {2} \left(\mathcal {G} _ {k}\right)\right) ^ {2} \tag {19} \\ > 0. \\ \end{array}
465
+ $$
466
+
467
+ The inequality utilizes that $o_1 = \frac{\exp\{\alpha_1\}}{exp\{\alpha_1\} + exp\{\alpha_2\}} > 0$ , and the assumption that $\exists \mathcal{G}_k, f_1(\mathcal{G}_k) \neq f_2(\mathcal{G}_k)$ so that $\sum_k \left( f_1(\mathcal{G}_k) - f_2(\mathcal{G}_k) \right)^2 > 0$ . When $\frac{\partial \mathcal{L}_2(F)}{\partial o_1} - \frac{\partial \mathcal{L}_2(F)}{\partial o_2} = 0$ , then $f_1(\mathcal{G}_k) = f_2(\mathcal{G}_k) \forall \mathcal{G}_k$ and $\frac{\partial \mathcal{L}_2(F)}{\partial o_1} = \frac{\partial \mathcal{L}_2(F)}{\partial o_2} = 0$ , which is meaningless, since in this case the operations $f_1(\cdot), f_2(\cdot)$ are not distinguishable with the data points $\{ (\mathcal{G}_k, y_k) \}_{k=1}^N$ for optimization.
468
+
469
+ Besides, since $o_1 = \frac{exp\{\alpha_1\}}{exp\{\alpha_1\} + exp\{\alpha_2\}}$ , we have
470
+
471
+ $$
472
+ \frac {\partial o _ {1}}{\partial \alpha_ {1}} = \frac {\exp \left\{\alpha_ {1} \right\} \left(\exp \left\{\alpha_ {1} \right\} + \exp \left\{\alpha_ {2} \right\}\right) - \exp \left\{\alpha_ {1} \right\} \cdot \exp \left\{\alpha_ {1} \right\}}{\left(\exp \left\{\alpha_ {1} \right\} + \exp \left\{\alpha_ {2} \right\}\right) ^ {2}} = \frac {\exp \left\{\alpha_ {1} + \alpha_ {2} \right\}}{\left(\exp \left\{\alpha_ {1} \right\} + \exp \left\{\alpha_ {2} \right\}\right) ^ {2}} \tag {20}
473
+ $$
474
+
475
+ Similarly,
476
+
477
+ $$
478
+ \frac {\partial o _ {2}}{\partial \alpha_ {2}} = \frac {\exp \left\{\alpha_ {1} + \alpha_ {2} \right\}}{\left(\exp \left\{\alpha_ {1} \right\} + \exp \left\{\alpha_ {2} \right\}\right) ^ {2}}. \tag {21}
479
+ $$
480
+
481
+ Thus $\frac{\partial o_1}{\partial\alpha_1} = \frac{\partial o_2}{\partial\alpha_2}$ . Then we have
482
+
483
+ $$
484
+ \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {1}} > \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {2}}
485
+ $$
486
+
487
+ $$
488
+ \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {1}} \frac {\partial o _ {1}}{\partial \alpha_ {1}} > \frac {\partial \mathcal {L} _ {2} (F)}{\partial o _ {2}} \frac {\partial o _ {2}}{\partial \alpha_ {2}} \tag {22}
489
+ $$
490
+
491
+ $$
492
+ \nabla_ {\alpha_ {1}} \mathcal {L} _ {2} (F) > \nabla_ {\alpha_ {2}} \mathcal {L} _ {2} (F).
493
+ $$
494
+
495
+ By Lemma A.1, $o_1$ decreases and $o_2$ increases. Then for the first task, we have
496
+
497
+ $$
498
+ \begin{array}{l} \mathcal {L} _ {1} (F) = \sum_ {k} \left(F (\mathcal {G} _ {k}) - y _ {k}\right) ^ {2} \\ = \sum_ {k} \left(o _ {1} f _ {1} (\mathcal {G} _ {k}) + o _ {2} f _ {2} (\mathcal {G} _ {k}) - y _ {k}\right) ^ {2} \\ = \sum_ {k} \left(o _ {1} f _ {1} \left(\mathcal {G} _ {k}\right) + o _ {2} f _ {2} \left(\mathcal {G} _ {k}\right) - f _ {1} \left(\mathcal {G} _ {k}\right)\right) ^ {2} \tag {23} \\ = \sum_ {k} \left(- o _ {2} f _ {1} \left(\mathcal {G} _ {k}\right) + o _ {2} f _ {2} \left(\mathcal {G} _ {k}\right)\right) ^ {2} \\ = o _ {2} ^ {2} \sum_ {k} \left(f _ {2} (\mathcal {G} _ {k}) - f _ {1} (\mathcal {G} _ {k})\right) ^ {2}. \\ \end{array}
499
+ $$
500
+
501
+ The third equation utilizes the supposed ground-truth labeling function for the 1-st task, i.e., $y_{k} = f_{1}(\mathcal{G}_{k})$ . Since $\sum_{k}\left(f_{2}(\mathcal{G}_{k}) - f_{1}(\mathcal{G}_{k})\right)^{2} > 0$ and $o_2$ increases, the loss of the first task $\mathcal{L}_1(F)$ increases.
502
+
503
+ # B. Implementation Details
504
+
505
+ # B.1. Hyperparameters
506
+
507
+ For fair comparisons, all methods adopt the same dimensionality $d$ as 512, number of layers as 2. Adam optimizer (Kingma & Ba, 2014) is adopted to optimize the model weights with a learning rate 1e-3 and another SGD optimizer with a learning rate 1e-2 is adopted to optimize architecture parameters for NAS methods. For our method, we adopt $K = 3$ for all datasets, and the hyperparameter $\lambda \in \{0.01, 0.1, 1, 10, 100\}$ . We constrain the parameter size of the learned factors same to (Liu et al., 2023a)(≤ 1% features), which is a replay-based method adopted by all the baselines for continual training. We adopt the dimensionality as $d_k = d / K$ for each module to keep the parameter size similar with the vanilla supernet for fair comparisons. We run the all experiments with 3 random seeds, and report the average performance and standard deviations.
508
+
509
+ # B.2. Configurations
510
+
511
+ All experiments are conducted with:
512
+
513
+ - Operating System: Ubuntu 20.04.5 LTS
514
+ - CPU: Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz
515
+ - GPU: NVIDIA GeForce RTX 4090 with 24 GB of memory
516
+ - Software: Python 3.8.18, Cuda 12.2, PyTorch (Paszke et al., 2019) 2.1.2, PyTorch Geometric (Fey & Lenssen, 2019) 2.4.0.
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68f1b623abe927d16fd6ed69c513461cba66dffb967467191cdef683fa1b8fda
3
+ size 552325
2024/Disentangled Continual Graph Neural Architecture Search with Invariant Modular Supernet/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/868d520c-969d-4563-8d91-16c52e38cf3e_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cb431401674a3def0423d213fc241a402e1f7617a658dd91933740535582446
3
+ size 660042
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/full.md ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization
2
+
3
+ Haoyang Li $^{1}$ Xin Wang $^{1}$ Zeyang Zhang $^{1}$ Haibo Chen $^{1}$ Ziwei Zhang $^{1}$ Wenwu Zhu $^{1}$
4
+
5
+ # Abstract
6
+
7
+ Graph out-of-distribution (OOD) generalization, aiming to generalize graph neural networks (GNNs) under distribution shifts between training and testing environments, has attracted ever-increasing attention recently. However, existing literature heavily relies on sufficient task-dependent graph labels, which are often scarce or even unavailable, limiting their applications in real-world scenarios. In this paper, we study the self-supervised graph OOD generalization problem, i.e., learning GNNs capable of achieving relatively stable performances under distribution shifts without graph labels. However, the problem remains largely unexplored, with the critical challenge that the invariant and variant information are highly entangled in graphs. To solve this problem, we propose an OOD generalized disentangled graph contrastive learning model (OODGCL), which is capable of learning disentangled graph-level representations with self-supervision that can handle distribution shifts between training and testing graph data. Specifically, we first introduce a disentangled graph encoder to map each input graph into the factorized graph representation. Then we propose a tailored disentangled invariant self-supervised learning module to maximize predictive ability of the representations and make sure the representations other than from one specific channel are invariant to the environments partitioned by this latent factor for excluding the information corresponding to this latent factor for disentanglement. Finally, the disentangled graph representations are fed into a linear predictor and finetuned for the downstream tasks. We provide comprehensive theoretical analyses
8
+
9
+ to show that our model can learn disentangled graph representations and achieve OOD generalization. Extensive experiments on real-world datasets demonstrate the superiority of our model against state-of-the-art baselines under distribution shifts for graph classification tasks.
10
+
11
+ # 1. Introduction
12
+
13
+ Graph structured data is ubiquitous in the real world, such as social networks (Qiu et al., 2018), traffic networks (Yu et al., 2017), financial networks (Yang et al., 2021), chemical molecules (Hu et al., 2020), etc. In the last decade, graph neural networks (GNNs) (Kipf & Welling, 2017; Velicković et al., 2018; Xu et al., 2019) have been a central topic in graph machine learning and made great progress in both academia and industry. Most of the existing literature is built upon the in-distribution (I.D.) hypothesis that assumes the testing and training graph data are from the identical distribution. However, in the real world, distribution shifts between testing and training graphs widely and inevitably exist, where the performance of existing GNNs drops significantly due to lacking out-of-distribution (OOD) generalization capacity (Li et al., 2022b).
14
+
15
+ Despite the notable success of graph OOD generalization methods, the existing literature relies on sufficient task-dependent annotated labels to learn OOD generalized graph representations, which could be extremely scarce, or even unavailable in practice. For example, in the context of drug discovery, it necessitates high costs and substantial human labor in clinical tests to obtain labeled data for training OOD generalized graph models in a supervised manner, if we want to predict the invariant properties of molecules under distribution shifts (Paul et al., 2021). Since the existing approaches heavily rely on supervised labels, they will fail to learn invariant representations and model truly predictive relations with labels under distribution shifts for OOD generalization, when graph labels are scarce or not available, leading to severe performance degeneration.
16
+
17
+ In this paper, we study the self-supervised graph OOD generalization problem, i.e., learning GNNs capable of achieving relatively stable performances under distribution shifts
18
+
19
+ without graph labels. The key goal is to pretrain the graph encoder with much more available unlabeled graph data in a self-supervised manner to produce disentangled graph representations that can achieve promising OOD generalization when evaluated on testing graphs under distribution shifts. However, self-supervised graph OOD generalization is non-trivial due to the following challenges. First, it is challenging to get rid of spurious correlations between invariant and variant information in graph representations. The existing graph self-supervised methods generally adopt a holistic view meaning that the learned representations describe graphs as a perceptual whole (Li et al., 2021a), so that the invariant and variant information are highly entangled in the graph representations. Second, the existing methods tend to conduct pretraining tasks with spurious variant information (Li et al., 2022e), which fail to capture disentangled factors that reflect the semantic information which can be the labels in downstream tasks, leading to poor generalization performances.
20
+
21
+ To tackle these challenges, we propose an OOD generalized disentangled graph contrastive model (OOD-GCL), which is capable of learning disentangled graph-level representations with self-supervision that can handle distribution shifts between training and testing graph data. Specifically, we first introduce a disentangled graph encoder to map each input graph into the corresponding factorized graph representation. Each channel is specifically designed to capture features from a specific disentangled latent factor, thereby accurately representing the information of that disentangled latent factor. Then we propose a tailored disentangled invariant self-supervised learning module. It can achieve sufficient predictive ability of the representations and make sure the representations other than from one specific channel are invariant to the environments partitioned by this latent factor for excluding the information corresponding to this latent factor. Thus the representations are encouraged to be disentangled so as to best characterize the aspect pertinent to a latent factor of the graph and achieve OOD generalized predictions when finetuning in downstream tasks. We further provide comprehensive theoretical analyses to show that our proposed model can learn disentangled graph representations and achieve OOD generalization with a strong guarantee. Extensive empirical evaluations are performed on several well-established graph benchmarks. The results demonstrate that the representations generated by our model lead to significant enhancements in generalization performance for downstream graph classification tasks under distribution shifts, outperforming the state-of-the-art baselines.
22
+
23
+ The contributions of this paper are summarized as follows.
24
+
25
+ - We focus on a novel self-supervised graph out-of-distribution (OOD) generalization problem and propose a tailored model to learn disentangled graph-level
26
+
27
+ representations with self-supervision that can handle distribution shifts between training and testing graph data. To the best of our knowledge, we are the first to study self-supervised graph OOD generalization with theoretical guarantees.
28
+
29
+ - We present a disentangled graph encoder with a tailored training strategy to capture the multiple aspects of the input graph. We further propose an invariance regularized contrastive learning module so that the spurious correlations between the latent factors can be eliminated in the graph representations and achieve representation disentanglement for OOD generalized predictions in downstream tasks.
30
+
31
+ - We theoretically show that our model can provably learn disentangled graph representations, and make OOD generalization based on the disentangled graph representations.
32
+
33
+ - Extensive empirical results demonstrate the effectiveness of our proposed OOD-GCL against a range of leading-edge baselines on various benchmark datasets under distribution shifts.
34
+
35
+ The rest of the paper is organized as follows. We introduce some preliminaries in Section 2. Subsequently, in Section 3, we describe the technical details of our proposed OOD-GCL. The experimental settings and results are present in Section 4. We review some related works in Section 5. Finally, we conclude this work in Section 6.
36
+
37
+ # 2. Preliminaries
38
+
39
+ Let $\mathbf{G} = \{G_n\}_{n=1}^N$ denote the input graph dataset, where $G_{n}$ is the $n$ -th graph. The multi-channel graph encoder maps the input graph into its disentangled representation $\mathbf{Z}_n = \Phi(G_n)$ . Assuming that there are $K$ latent factors behind the input graph, $\mathbf{Z}_n = [\mathbf{Z}_n^1, \mathbf{Z}_n^2, \dots, \mathbf{Z}_n^K]$ consists of $K$ disentangled components. Let $\mathbf{Z}^k$ denote the representation corresponding to the $k$ -th latent factor for all input graphs. Each $\mathbf{Z}_n^k = \Phi^{(k)}(G_n) \in \mathbb{R}^{\Delta d}$ , where $k \in \{1, \dots, K\}$ , $\Delta d = d / K$ , and $d$ is the representation dimensionality. For simplification, we use $\mathbf{Z}_n^{-k} \in \mathbb{R}^{(K-1) \times \Delta d}$ to denote the concatenated representation except for the representation $\mathbf{Z}_n^k$ corresponding to the $k$ -th latent factor, i.e., $\mathbf{Z}_n^{-k} = [\mathbf{Z}_n^1, \mathbf{Z}_n^2, \dots, \mathbf{Z}_n^{k-1}, \mathbf{Z}_n^{k+1}, \dots, \mathbf{Z}_n^K]$ .
40
+
41
+ Following the invariant learning literature (Li et al., 2022d;b), we make the assumption:
42
+
43
+ Assumption 1. There exists a portion of information inside input graph $G$ such that it not only has sufficient abilities in predicting the graph labels, but has invariant relations with the labels under distribution shifts, i.e. satisfying: (a) invariance assumption: $P^{e}(Y|\Psi (G)) = P^{e^{\prime}}(Y|\Psi (G))$
44
+
45
+ for any environment (domain) $e$ , $e'$ that graph comes from, and $\Psi(\cdot)$ is to capture the invariant information; and (b) sufficiency assumption: $Y = \omega(\Psi(G)) + \epsilon$ , where $\omega(\cdot)$ is one function and $\epsilon$ is random noise.
46
+
47
+ Intuitively, if we accurately capture the latent factors that satisfy the invariance assumption and sufficiency assumption, and only make predictions based on these "invariant & sufficient latent factors", our predictions can be generalized across different environments under distribution shifts, and the representations corresponding to these latent factors have sufficient abilities in predicting the graph labels. Therefore, the problem can be solved by accurately identifying which latent factor belongs to the "invariant & sufficient latent factors" and making OOD generalized predictions only based on the disentangled representations corresponding to these latent factors.
48
+
49
+ # 3. Method
50
+
51
+ In this section, we present the proposed OOD-GCL in detail, whose framework is shown in Figure 1. We first present the disentangled graph encoder to identify the complex latent factors and output the factorized representations capturing the multiple aspects of graphs. Then, we propose the disentangled invariant self-supervised learning strategy on tailored contrastive tasks and invariance regularization. Next, we describe how to obtain the predictions based on the learned disentangled representations for specific downstream tasks. Lastly, we provide some theoretical analyses of our proposed method.
52
+
53
+ # 3.1. Disentangled Graph Encoder
54
+
55
+ In this subsection, we present the disentangled graph encoder for producing the factorized graph representation $\mathbf{Z}_n = [\mathbf{Z}_n^1,\mathbf{Z}_n^2,\dots ,\mathbf{Z}_n^K ]$ for the input graph $G_{n}$ . After that, we can infer which latent factor belongs to the "invariant & sufficient latent factors" and finally make OOD generalized predictions only based on the representations corresponding to these factors.
56
+
57
+ Typically, graph neural networks (GNNs) leverage the topology of the graph and attributes of nodes to infer the representation vector $\mathbf{h}_v$ for every node $v$ . This is achieved through a message-passing framework, where the representation of a node is recursively refined by aggregating the representations of the adjacent nodes. The message-passing of the $l^{\mathrm{th}}$ message-passing layer is formulated as (Li et al., 2021a):
58
+
59
+ $$
60
+ \mathbf {h} _ {v} ^ {l} = \operatorname {C O M} ^ {l} \left(\mathbf {h} _ {v} ^ {l - 1}, \operatorname {A G G} ^ {l} \left(\left\{\mathbf {h} _ {u} ^ {l - 1}: u \in \mathcal {N} (v) \right\}\right)\right), \tag {1}
61
+ $$
62
+
63
+ where $\mathbf{h}_v^l$ is the representation of node $v$ at the $l^{\mathrm{th}}$ layer and $\mathbf{h}_v^0$ is the input node features. COM and AGG denote the combination and aggregation function, respectively.
64
+
65
+ $\mathcal{N}(v)$ denotes the adjacent nodes of node $v$ . For simplicity, we denote GNN as the message-passing layer in Eq. (1). Define $\mathbf{H}^l$ as the set of node embeddings $\{\mathbf{h}_v^l | v \in V\}$ subsequent to the $l^{\text{th}}$ GNN layer, with the set of nodes $V$ in the graph. After the $L$ conventional message-passing layers, our model further adopts a layer for graph disentanglement to output factorized graph representations by extracting features attributed to distinct latent factors through the individual channel. Following (Li et al., 2021a), the complex multiple latent factors are extracted by $K$ different message-passing channels, thereby encapsulating various aspects of the input graph. Specifically, each channel independently employs a $\mathrm{GNN}_k$ , using its unique parameters to propagate information: $\mathbf{H}_k^{L+1} = \mathrm{GNN}_k(\mathbf{H}^L, A)$ , with $A$ representing the adjacency matrix of the graph. The embeddings $\mathbf{H}_k^{L+1}$ are exclusively associated with the $k$ -th latent factor for disentanglement. Each channel also employs its own READOUT function, essentially a pooling function, to summarize the node embeddings into a graph-level representation: $\mathbf{h}_{G_n,k} = \mathrm{READOUT}_k(\{\mathbf{H}_k^{L+1}\})$ . Finally, each channel produces a factor-specific graph representation through an individual MLP: $\mathbf{Z}_n^k = \mathrm{MLP}_k(\mathbf{h}_{G_n,k})$ . Following (Li et al., 2021a), the disentangled graph encoder comprises $K$ message-passing channels, which are more specialized in capturing different aspects of the graph, compared with the traditional graph encoders (Kipf & Welling, 2017; Velicković et al., 2018; Xu et al., 2019), that are fundamentally holistic in nature. This design facilitates the identification of intrinsic latent factors and enables the encapsulation of diverse aspects of graphs, which provides a basis for further identifying invariant and sufficient latent factors for OOD generalization.
66
+
67
+ # 3.2. Disentangled Invariant Self-supervised Learning
68
+
69
+ Different from traditional contrastive learning approaches, our proposed OOD-GCL introduces an innovative task centered around sufficiently discriminative instance identification of invariant factors. Our model not only draws similar instances closer together while pushing dissimilar ones apart in the representation space to learn sufficiently predictive representations, but it also facilitates the integration of factor-specific information into these representations. This integration enhances the disentanglement of these latent factors, thereby improving the identification of invariant and sufficient latent factors for out-of-distribution (OOD) generalization.
70
+
71
+ In detail, the formation of real-world graphs is usually driven by multiple latent factors consisting of invariant and sufficient latent factors that can be OOD generalized as well as the other variant latent factors under distribution shifts. Based on the disentangled graph encoder, we can obtain the disentangled graph representations $\mathbf{Z} \in \mathbb{R}^{N \times K \times \Delta d}$ for the whole graph dataset, where $\mathbf{Z}_n^k \in \mathbb{R}^{\Delta d}$ be the $k$ -th chan
72
+
73
+ ![](images/2a76adc9c9a1b186c91b261a4e390494a2023036689121dc978329079f58c008.jpg)
74
+ Figure 1. The framework of OOD-GCL. It consists of the following stages: (1) The input graph $G_{n}$ is subjected to graph augmentations, resulting in an augmented view $G_{n}^{\prime}$ . Both $G_{n}$ and $G_{n}^{\prime}$ are subsequently processed by a shared multi-channel disentangled graph encoder to produce the factorized graph representations. (2) The disentangled invariant self-supervision learning module is to maximize the predictive ability of the disentangled graph representations and make sure the disentangled graph representations other than that from the $k$ -th channel are invariant under the environment partition inferred by the $k$ -th latent factor, to exclude the information of the $k$ -th latent factor for enhancing representation disentanglement. (3) At the downstream finetuning stage, our model can achieve theoretically guaranteed OOD generalization ability with a linear predictor based on the learned disentangled graph representations.
75
+
76
+ nel's disentangled representation for $G_{n}$ . We first infer the environment partition $\mathcal{E}^k$ by clustering the representation corresponding to the $k$ -th latent factor for all graphs $\mathbf{Z}^k$ as follows:
77
+
78
+ $$
79
+ \mathcal {E} ^ {k} = \operatorname {C l u s t e r} \left(\mathbf {Z} ^ {k}\right). \tag {2}
80
+ $$
81
+
82
+ Here the motivation is that since the disentangled graph representation of each channel only captures the specific information in terms of each latent factor, the representations should naturally form multiple clusters (i.e., partitions) according to their intrinsic semantic information of the latent factor.
83
+
84
+ Specifically, we adopt the k-means (MacQueen et al., 1967) clustering algorithm by setting the cluster number $C$ in an adaptive manner. The Eq. (2) is implemented by:
85
+
86
+ $$
87
+ C ^ {*} = \operatorname {a r g m a x} _ {C} \operatorname {S i l} \left(\mathcal {E} ^ {k}\right), \tag {3}
88
+ $$
89
+
90
+ where $\mathrm{Sil}(\cdot)$ is the Silhouette Score (Rousseeuw, 1987) that is a commonly used metric for evaluating the quality of clustering. It measures how similar each sample is to its own cluster compared to other clusters. The score ranges from $-1$ to $1$ , where a higher score indicates better-defined clusters. By calculating this Silhouette Score for different numbers of clusters, we can adaptively determine the optimal number of clusters by maximizing the score, thus
91
+
92
+ ensuring the most appropriate cluster configuration. Finally, we obtain the environment partition with the optimal number of clustering, i.e.,
93
+
94
+ $$
95
+ \mathcal {E} ^ {k} = \mathrm {k} - \operatorname {m e a n s} \left(\mathbf {Z} ^ {k}; C ^ {*}\right). \tag {4}
96
+ $$
97
+
98
+ We expect the inferred environment partition can reflect the intrinsic clusters in semantic space of the latent factor that could be the label information in the downstream tasks (Wang et al., 2021a).
99
+
100
+ After obtaining the inferred environment partition, we utilize the disentangled representation $\mathbf{Z}_n^{-k}$ that is from all channels except for the $k$ -th channel to calculate the contrastive loss which can be regarded as discriminating oneself from several negative samples. We define the loss function $\ell_e^k$ in the $e$ -th environment (i.e., cluster) inferred by the disentangled representation of the $k$ -th latent factor as follows:
101
+
102
+ $$
103
+ \ell_ {e} ^ {k} = - \sum_ {n = 1} ^ {N} \mathbb {1} _ {[ \psi_ {n} = e ]} \log \frac {\exp \phi \left(\mathbf {Z} _ {n} ^ {- k} , \mathbf {Z} _ {n} ^ {\prime - k}\right)}{\sum_ {n ^ {\prime} \neq n} \mathbb {1} _ {[ \psi_ {n ^ {\prime}} = e ]} \exp \phi \left(\mathbf {Z} _ {n} ^ {- k} , \mathbf {Z} _ {n ^ {\prime}} ^ {\prime - k}\right)}, \tag {5}
104
+ $$
105
+
106
+ where $e \in \{1, \ldots, |\mathcal{E}^k|\}$ , $|\mathcal{E}^k|$ denotes the number of clusters, and $n' \in \{1, \ldots, N\}$ . $\mathbb{1}_{[\psi_n = e]} \in \{0, 1\}$ is an indicator function evaluating to 1 iff. $\psi_n = e$ and $\psi_n$ is the environment of the $n$ -th graph considering the current en
107
+
108
+ vironment partition. $\phi$ is the cosine similarity with temperature $\tau$ , i.e., $\phi (\mathbf{a},\mathbf{b}) = \cos (\mathbf{a},\mathbf{b}) / \tau$ and $\cos (\mathbf{a},\mathbf{b}) = \mathbf{a}^{\top}\mathbf{b} / (\| \mathbf{a}\|_{2}\| \mathbf{b}\|_{2})$ . $\mathbf{Z}_n^{\prime -k}$ is the corresponding representation from the augmented view of the $n$ -th graph except for the $k$ -th channel. We adopt the common augmentation strategies following (You et al., 2020) to obtain $\mathbf{Z}_n^{\prime -k}$ . Overall, the training objective is formulated as:
109
+
110
+ $$
111
+ \ell = \sum_ {k = 1} ^ {K} \ell^ {k}, \tag {6}
112
+ $$
113
+
114
+ where
115
+
116
+ $$
117
+ \ell^ {k} = \sum_ {e \in \mathcal {E} ^ {k}} \ell_ {e} ^ {k} + \lambda \operatorname {I n v} \left(\ell_ {e} ^ {k}; \mathcal {E} ^ {k}\right). \tag {7}
118
+ $$
119
+
120
+ $\mathrm{Inv}(\cdot)$ denotes the invariance regularization. In our method, we adopt V-REx (Krueger et al., 2021) as our invariance regularization and $\lambda$ is the invariance coefficient. Note that our method is also compatible with the other invariance regularization, e.g., IRM (Arjovsky et al., 2019), IGA (Koyama & Yamaguchi, 2020), etc.
121
+
122
+ Intuitively, the first contrastive loss term in Eq. (7) is to encourage sufficient predictive ability of the disentangled graph representations, while the second invariance regularization term in Eq. (7) is to make sure the disentangled graph representations other than that from the $k$ -th channel are invariant under the environment partition inferred by the $k$ -th latent factor, so as to exclude the information of the $k$ -th latent factor for representation disentanglement.
123
+
124
+ Finally, we iteratively update $\mathcal{E}^k$ by Eq. (4) and optimize the disentangled graph encoder by Eq. (6) until convergence.
125
+
126
+ # 3.3. Downstream Finetuning
127
+
128
+ Based on the disentangled invariant self-supervised learning, the graph encoder can be optimized to make the representation disentangled in a self-supervised manner. After that, when deployed in the specific downstream tasks, the disentangled graph representations are further fed into a linear predictor $\omega$ to calculate the graph labels. We finetune the disentangled graph representations and linear predictor to make predictions to the graph labels as:
129
+
130
+ $$
131
+ \hat {Y} _ {n} = \omega (\mathbf {Z} _ {n}). \tag {8}
132
+ $$
133
+
134
+ Note that although more powerful predictors (e.g., MLP, etc.) can also be utilized to map the disentangled graph representations into the labels, we show that such a simple linear predictor is good enough to achieve OOD generalization in the next subsection.
135
+
136
+ # 3.4. Theoretical Analyses
137
+
138
+ Here we provide some theoretical analyses from two aspects, which show: (1) our model can provably learn disentangled
139
+
140
+ graph representations, and (2) our model can make OOD generalization based on the output disentangled graph representations.
141
+
142
+ First, we analyze why our model can learn disentangled graph representations. Note that in this work, we follow (Wang et al., 2021a) to adopt the established definition of disentanglement (Higgins et al., 2018).
143
+
144
+ Definition 1. (Disentangled Representation (Higgins et al., 2018; Wang et al., 2021a)) Let $\mathcal{U}$ denote the semantic space. The semantic information potentially corresponds to the label of the downstream task. Let $\mathcal{Z}$ denote the representation space. Let $\mathcal{G}$ denote the group that acts on $\mathcal{U}$ . Assume that there is a direct product decomposition where $\mathcal{G}$ is decomposed into $\mathcal{G}^1 \times \ldots \times \mathcal{G}^K$ , and $\mathcal{U}$ is decomposed into $\mathcal{U}^1 \times \ldots \times \mathcal{U}^K$ , with $\mathcal{G}^k$ acting on $\mathcal{U}^k$ respectively. The representation is disentangled if it satisfies the following equivariant property and decomposable property in the meantime.
145
+
146
+ 1. Equivariant property: $\forall g\in \mathcal{G},\forall u\in \mathcal{U},f(g\cdot u) = g\cdot f(u)$ , where $f:\mathcal{U}\to \mathcal{Z}$ is the representation function.
147
+ 2. Decomposable property: there is a decomposition $\mathcal{Z} = \mathcal{Z}^1 \times \ldots \times \mathcal{Z}^K$ , where each $\mathcal{Z}^k$ is affected only by $\mathcal{G}^k$ and unaffected by all $\mathcal{G}^{k'}$ , $k \neq k'$ , and $k, k' \in \{1, \ldots, K\}$ .
148
+
149
+ Intuitively, the equivariant property means that the action of $\mathcal{G}$ on semantic space $\mathcal{U}$ is equivariant to the action on $\mathcal{Z}$ . The decomposable property means that the representation corresponding to one latent factor is not affected by changing the semantic information of the other latent factors.
150
+
151
+ Let $g$ denote a group element in $\mathcal{G}$ and $g$ can be decomposed by $(g^1, g^2, \ldots, g^K)$ , where $g^k \in \mathcal{G}^k$ . The goal of our method is to learn the disentangled graph representations w.r.t. $\prod_{k=1}^{K} \mathcal{G}^k$ . The group action $g \in \mathcal{G}$ on the semantic space $\mathcal{U}$ is equivariant to its action on the representation $\mathcal{Z}$ . Furthermore, the representation space $\mathcal{Z}$ is decomposed into $K$ parts: $\mathcal{Z}^1 \times \ldots \times \mathcal{Z}^K$ , where $\mathcal{Z}^k$ is affected only by $g^k \in \mathcal{G}^k$ and unaffected by all $g^{k'} \in \mathcal{G}^{k'}(k' \neq k)$ . Inspired by the literature (Wang et al., 2021a), in the following theorem, we prove that optimizing the objective function of our method can lead to disentangled graph representations, formulated by this definition.
152
+
153
+ Theorem 1. The graph representation is disentangled w.r.t. $\prod_{k=1}^{K} \mathcal{G}^k$ if the objective function Eq. (7) reaches the minimum for any $k$ -th latent factor, $k \in \{1, \ldots, K\}$ .
154
+
155
+ The proof is shown in Appendix due to the page limit.
156
+
157
+ Next, we prove that the disentangled graph representations can lead to OOD generalized predictions under mild assumptions. Following the literature (Xu et al., 2022), we want to estimate the coefficient of the linear predictor to calculate the label given the disentangled graph representations.
158
+
159
+ Theorem 2. Given the disentangled graph representations, (1) if the $k$ -th latent factor does not belong to the invariant and sufficient latent factors to predict the label $Y$ , then the coefficient of the linear predictor $w^k$ equals zero; and (2) if the $k$ -th latent factor belongs to the invariant and sufficient latent factors to predict the label $Y$ , then the coefficient of the linear predictor $w^k$ does not equal zero.
160
+
161
+ The proof is also shown in Appendix. Intuitively, for achieving OOD generalization, we aim to identify the invariant and sufficient latent factors under distribution shifts, so that we can learn a graph model that is generalized to unknown testing distribution. As relationships between entangled graph representations usually change under distribution shifts, the model will fail to achieve OOD generalization if we use traditional entangled representations. Therefore, it is critical to find the invariant and sufficient latent factors and adopt their disentangled representations for making predictions, so that it can relieve the negative impact from the other latent factors that are not in the invariant and sufficient latent factors under distribution shifts.
162
+
163
+ # 4. Experiments
164
+
165
+ In this section, we conduct experiments on real-world datasets to show the effectiveness of the proposed OOD-GCL model for handling distribution shifts on graphs.
166
+
167
+ # 4.1. Experimental Setup
168
+
169
+ Datasets. We adopt real-world benchmark datasets for the graph classification task, including the datasets from graph OOD generalization benchmark GOOD (Gui et al., 2022) and the datasets from Open Graph benchmark (Hu et al., 2020). Following (Sui et al., 2023), the datasets in the experiment consist of:
170
+
171
+ - Motif. Each graph in this dataset consists of a motif and a base graph, where the ground-truth label only depends on the motif. The distribution shift is induced by different spurious correlations between the label and the base graph, as well as different sizes.
172
+ - CMNIST. Each graph is converted from an image in MNIST (LeCun et al., 1998) which is to be classified into the corresponding handwritten digit. The distribution shift exists on node features by colorizing the digits differently.
173
+ - Molbbbp and Molhiv. The distribution shift exists on graph structural properties (scaffolds) or sizes. The provided split separates structurally different molecules with different scaffolds or sizes into different subsets.
174
+
175
+ Note that all of the datasets consist of two data split strategies to create different distribution shifts except for CM-
176
+
177
+ NIST, following the well-established settings (Gui et al., 2022; Sui et al., 2023).
178
+
179
+ Baselines. We compare our OOD-GCL with several representative state-of-the-art methods, which can be divided into three groups:
180
+
181
+ - General invariant learning methods, including standard ERM, IRM (Arjovsky et al., 2019), GroupDRO (Sagawa et al., 2019), V-REx (Krueger et al., 2021).
182
+ - Graph OOD generalization methods, including DIR (Wu et al., 2022b), CAL (Sui et al., 2022), GSAT (Miao et al., 2022), OOD-GNN (Li et al., 2022a), StableGNN (Fan et al., 2021), CIGA (Chen et al., 2022), DisC (Fan et al., 2022), DropEdge (Rong et al., 2019), GREA (Liu et al., 2022), FLAG (Kong et al., 2022), M-Mixup (Wang et al., 2021b), $\mathcal{G}$ -Mixup (Han et al., 2022), AIA (Sui et al., 2023).
183
+ - Graph self-supervised learning methods, including InfoGraph (Sun et al., 2019), GraphCL (You et al., 2020), GMI (Peng et al., 2020), CNC (Zhang et al., 2022a).
184
+
185
+ Implementation Details. The number of epochs for pretraining and finetuning is chosen from $\{50, 100, 200\}$ . The Adam optimizer (Kingma & Ba, 2014) is adopted for gradient descent. The evaluation metric is accuracy for Motif and CMNIST datasets and ROC-AUC for Molbbp and Moltiv datasets. The dimensionality of the representations $d$ is chosen from [128, 256, 512]. The invariance regularizer coefficient $\lambda$ is chosen from $\{10^{-4}, 10^{-2}, 10^{0}\}$ . The number of disentangled channels $K$ is chosen from $\{2, 3, 4, 5\}$ . We report mean results and standard deviations of ten runs.
186
+
187
+ # 4.2. Main Results
188
+
189
+ The comparisons of different methods on the real-world graph datasets under distribution shifts are shown in Table 1. We have the following observations.
190
+
191
+ - Graph OOD generalization methods achieve better performance than general invariant learning methods, e.g., IRM, V-REx, etc. Such performance gains demonstrate the importance of considering and addressing the complex structural distribution shifts on graphs in the model design.
192
+ - Graph self-supervised learning methods, despite lacking tailored designs for handling graph distribution shifts, exhibit comparable performance to the graph OOD generalization methods in some comparisons. This suggests that the inherent capacity of graph self-supervised learning to capture truly predictive structural information in graph data contributes to its effectiveness in tackling distribution shifts.
193
+
194
+ Table 1. Comparisons of different methods on the real-world graph datasets under distribution shifts. Numbers after the $\pm$ signs represent the standard deviations. The best results are in bold. The results show that our method outperforms the baseline methods consistently, including general invariant learning methods, graph OOD generalization methods, and graph self-supervised learning methods.
195
+
196
+ <table><tr><td rowspan="2">Dataset</td><td colspan="2">Motif</td><td>CMNIST</td><td colspan="2">Molbbbp</td><td colspan="2">Molhiv</td></tr><tr><td>base</td><td>size</td><td>color</td><td>scaffold</td><td>size</td><td>scaffold</td><td>size</td></tr><tr><td>ERM</td><td>68.66±4.25</td><td>51.74±2.88</td><td>28.60±1.87</td><td>68.10±1.68</td><td>78.29±3.76</td><td>69.58±2.51</td><td>59.94±2.37</td></tr><tr><td>IRM</td><td>70.65±4.17</td><td>51.41±3.78</td><td>27.83±2.13</td><td>67.22±1.15</td><td>77.56±2.48</td><td>67.97±1.84</td><td>59.00±2.92</td></tr><tr><td>GroupDRO</td><td>68.24±8.92</td><td>51.95±5.86</td><td>29.07±3.14</td><td>66.47±2.39</td><td>79.27±2.43</td><td>70.64±2.57</td><td>58.98±2.16</td></tr><tr><td>V-REx</td><td>71.47±6.69</td><td>52.67±5.54</td><td>28.48±2.87</td><td>68.74±1.03</td><td>78.76±2.37</td><td>70.77±2.84</td><td>58.53±2.88</td></tr><tr><td>DIR</td><td>62.07±8.75</td><td>52.27±4.56</td><td>33.20±6.17</td><td>66.86±2.25</td><td>76.40±4.43</td><td>68.07±2.29</td><td>58.08±2.31</td></tr><tr><td>CAL</td><td>65.63±4.29</td><td>51.18±5.60</td><td>27.99±3.24</td><td>68.06±2.60</td><td>79.50±4.81</td><td>67.37±3.61</td><td>57.95±2.24</td></tr><tr><td>GSAT</td><td>62.80±11.41</td><td>53.20±8.35</td><td>28.17±1.26</td><td>66.78±1.45</td><td>75.63±3.83</td><td>68.66±1.35</td><td>58.06±1.98</td></tr><tr><td>OOD-GNN</td><td>61.10±7.87</td><td>52.61±4.67</td><td>26.49±2.94</td><td>66.72±1.23</td><td>79.48±4.19</td><td>70.46±1.97</td><td>60.60±3.77</td></tr><tr><td>StableGNN</td><td>57.07±14.10</td><td>46.93±8.85</td><td>28.38±3.49</td><td>66.74±1.30</td><td>77.47±4.69</td><td>68.44±1.33</td><td>56.71±2.79</td></tr><tr><td>CIGA</td><td>66.43±11.31</td><td>49.14±8.34</td><td>32.22±2.67</td><td>64.92±2.09</td><td>65.98±3.31</td><td>69.40±2.39</td><td>59.55±2.56</td></tr><tr><td>DisC</td><td>51.08±3.08</td><td>50.39±1.15</td><td>24.99±1.78</td><td>67.12±2.11</td><td>56.59±10.09</td><td>68.07±1.75</td><td>58.76±0.91</td></tr><tr><td>DropEdge</td><td>45.08±4.46</td><td>45.63±4.61</td><td>22.65±2.90</td><td>66.49±1.55</td><td>78.32±3.44</td><td>70.78±1.38</td><td>58.53±1.26</td></tr><tr><td>GREA</td><td>56.74±9.23</td><td>54.13±10.02</td><td>29.02±3.26</td><td>69.72±1.66</td><td>77.34±3.52</td><td>67.79±2.56</td><td>60.71±2.20</td></tr><tr><td>FLAG</td><td>61.12±5.39</td><td>51.66±4.14</td><td>32.30±2.69</td><td>67.69±2.36</td><td>79.26±2.26</td><td>68.45±2.30</td><td>60.59±2.95</td></tr><tr><td>M-Mixup</td><td>70.08±3.82</td><td>51.48±4.91</td><td>26.47±3.45</td><td>68.75±0.34</td><td>78.92±2.43</td><td>68.88±2.63</td><td>59.03±3.11</td></tr><tr><td>G-Mixup</td><td>59.66±7.03</td><td>52.81±6.73</td><td>31.85±5.82</td><td>67.44±1.62</td><td>78.55±4.16</td><td>70.01±2.52</td><td>59.34±2.43</td></tr><tr><td>AIA</td><td>73.64±5.15</td><td>55.85±7.98</td><td>36.37±4.44</td><td>70.79±1.53</td><td>81.03±5.15</td><td>71.15±1.81</td><td>61.64±3.37</td></tr><tr><td>InfoGraph</td><td>69.73±2.74</td><td>50.17±3.72</td><td>33.84±1.52</td><td>70.39±1.34</td><td>80.82±0.49</td><td>67.51±3.65</td><td>60.16±2.12</td></tr><tr><td>GraphCL</td><td>71.34±3.76</td><td>52.77±5.89</td><td>32.81±1.71</td><td>69.36±1.32</td><td>80.64±0.78</td><td>70.12±2.19</td><td>57.19±3.18</td></tr><tr><td>GMI</td><td>65.26±1.98</td><td>51.85±3.49</td><td>30.24±5.98</td><td>69.38±1.02</td><td>77.67±0.30</td><td>68.95±2.92</td><td>59.86±2.78</td></tr><tr><td>CNC</td><td>70.34±2.73</td><td>50.64±4.86</td><td>32.41±1.28</td><td>68.16±1.25</td><td>76.19±3.52</td><td>69.13±3.71</td><td>58.67±3.41</td></tr><tr><td>OOD-GCL</td><td>76.31±2.37</td><td>60.12±2.35</td><td>41.89±2.03</td><td>72.86±1.97</td><td>83.12±3.21</td><td>74.13±2.01</td><td>63.41±2.59</td></tr></table>
197
+
198
+ - Our method outperforms the baseline methods consistently, including general invariant learning methods, graph OOD generalization methods, and graph self-supervised learning methods. This superiority can be attributed to the ability to effectively identify underlying invariant and sufficient latent factors that are crucial for preserving truly predictive graph properties and learning disentangled representations. Unlike the baseline methods, our approach employs disentangled invariant self-supervised learning during the pretraining stage, leading that the graph representations can be disentangled and OOD generalized. This unique design enables our method to more effectively generalize to unknown distribution shifts, ultimately resulting in superior performance across a range of graph prediction tasks under distribution shifts. Overall, the results highlight the significance of learning disentangled representations in addressing challenges posed by graph distribution shifts.
199
+
200
+ # 4.3. Time Complexity Analysis
201
+
202
+ Now we analyze the time complexity of our method to show its efficiency. The time complexity of the proposed
203
+
204
+ ODG-CCL is $O(|E|d + |V|d^2)$ , where $|V|$ represents the number of nodes, $|E|$ denotes the number of edges, and $d$ is the dimensionality of the representations. In particular, we employ the message-passing GNN to instantiate the GNN components in the disentangled graph encoder, which also exhibits a complexity of $O(|E|d + |V|d^2)$ . As for the disentangled invariant self-supervised learning module, the time complexity is $O(|\mathcal{B}|^2d)$ , where $|\mathcal{B}|$ is the batch size. Since $|\mathcal{B}|$ is small constant, the overall time complexity of OOD-GCL is $O(|E|d + |V|d^2)$ . In comparison, the time complexity of the other GNN-based baselines is also $O(|E|d + |V|d^2)$ . Therefore, the time complexity of our OOD-GCL is comparable with the existing baselines. Although our method exhibits effectiveness, it does not induce a higher time cost.
205
+
206
+ # 4.4. Ablation Study
207
+
208
+ In this subsection, we conduct ablation studies to verify the effectiveness of the key modules in our proposed OOD-GCL. We consider the following ablated variants:
209
+
210
+ - Variant "w/o Inv." means that we set $\lambda = 0$ in Eq. (7),
211
+
212
+ ![](images/da2222674b8f203160c4dc33d5752ec2b7616bbf8b9706d67b9113cfd910341b.jpg)
213
+ (a) Invariance coefficient $\lambda$
214
+
215
+ ![](images/a907d64622898a694a76580ada1852dd9de9613be1b79190fa65ce5541f0aed3.jpg)
216
+ (b) Number of factors $K$
217
+
218
+ ![](images/d235db1234d973a2c0fe2a7a8b75c7074b3d2fd70eab4f778ce4e0d5158d6844.jpg)
219
+ (c) Dimensionality $d$
220
+
221
+ ![](images/db2f7f3a1be3d0b5c3a0f8c6562d8e556f1960c3127b69112caba5d884b88359.jpg)
222
+ (d) Number of layers $L$
223
+
224
+ ![](images/139b1c90a6410137cdd99e018b5beec65ae2c3c4e4bd48d189c52eda56a99033.jpg)
225
+ Figure 2. Hyperparameter sensitivity analysis on CMNIST dataset. The blue lines denote the results of our method and the red dashed lines are the results of the best baseline.
226
+ Figure 3. Ablation studies. The ablated version "w/o Inv." removes the invariance regularization by setting $\lambda = 0$ in Eq. (7), and "w/o Disen." removes the disentangled module and degenerates to the entangled version.
227
+
228
+ namely removing the invariance regularization.
229
+
230
+ - Variant "w/o Disen." means that we remove the disentanglement design and the model is degenerated to the entangled version.
231
+
232
+ The results of OOD-GCL and its variants are shown in Figure 3. Notably, there is a noticeable performance drop for the variant "w/o Inv.", indicating the effectiveness of inferring and identifying the latent factor behind graphs for each channel accurately. The invariance regularization term ensures that the $k$ -th part of disentangled graph representations only includes the information of the $k$ -th latent factor. So it will affect the disentanglement if this invariance regularization is removed. In the case of "w/o Disen.", the absence of disentanglement leads to entangled latent factors within the graph representations. This entanglement poses challenges in characterizing distinct aspects of the graphs and hinders the ability to learn informative graph representations and achieve OOD generalization.
233
+
234
+ # 4.5. Hyperparameter Sensitivity
235
+
236
+ In this subsection, we analyze the sensitivity of some important hyperparameters. First, the hyperparameter $\lambda$ in Eq. (7) has a moderate influence on the performance, since $\lambda$ serves a role in encouraging the model to capture the invariance among different environments. To explore the sensitivity of our method on this hyperparameter, we adjust $\lambda \in \{10^{-5}, 10^{-4}, 10^{-3}, 10^{-2}, 10^{-1}\}$ , while maintaining the default value of the other hyperparameters unchanged. The results on the CMNIST dataset are shown in Figure 2, while the results on the other datasets show similar patterns. The results show that a small $\lambda$ may struggle to capture disentangled latent factors to output representations accurately, leading to challenges in achieving OOD generalized predictions. Conversely, a large $\lambda$ can lead that the learned representations are not informative enough to capture the graph properties. Besides, we also conduct sensitivity analysis on the other hyper-parameters, including the number of factors $K \in \{2, 3, 4, 5\}$ , the dimensionality $d \in \{128, 256, 512, 1024\}$ , and the number of GNN layers $L \in \{2, 3, 4, 5, 6\}$ . The results show that our method outperforms the best baseline in a wide range of hyperparameters, showing our method is not sensitive to hyperparameter choices.
237
+
238
+ # 5. Related Work
239
+
240
+ OOD Generalization on Graphs. A basic assumption for most machine learning methods is that there exists an identical distribution between training and testing data. However, this assumption is frequently violated in real-world scenarios due to inevitable distribution shifts, thereby introducing substantial challenges to the model's generalization performance, particularly in out-of-distribution (OOD) scenarios (Shen et al., 2021). The model performance decline becomes noticeable when it lacks enough OOD generalization capability. To tackle this problem, several general invariant learning methods have been developed (Arjovsky et al., 2019; Krueger et al., 2021; Koyama & Yamaguchi, 2020; Chang et al., 2020; Creager et al., 2021; Liu et al.,
241
+
242
+ 2021a). Recently, OOD generalization on graphs (Li et al., 2022b) has also attracted much attention, considering the complex distribution shifts existing on the graph structure and node feature. Several famous graph OOD generalization work (Wu et al., 2022c;a; Li et al., 2022d; Fan et al., 2022; Sui et al., 2022; Liu et al., 2022; Sui et al., 2023; Zhang et al., 2022b; 2023b;c;d; Li et al., 2023; Mao et al., 2024) have been proposed, in general focusing on learning invariant graph patterns among different environments for tackling the distribution shifts. Most of the approaches typically adopt a supervised manner to get rid of the spurious correlations between the variant patterns and the labels and facilitate the invariant patterns for predictions. However, they heavily rely on sufficient task-dependent annotated labels to learn OOD generalized graph representations, which could be unavailable in practice. To this end, in this paper, we focus on the self-supervised graph OOD generalization problem, namely learning GNNs capable of achieving relatively stable performances under distribution shifts without graph labels. This problem is not explored in the literature.
243
+
244
+ Contrastive Learning on Graphs. Self-supervised learning is one machine learning technique to learn informative representations by training the model using the data itself rather than the external annotated labels (Liu et al., 2021b). Recently, self-supervised learning has been revolutionized by the development of contrastive learning, which primarily focuses on instance discrimination as a pretext task (Jaiswal et al., 2020). The methodologies on this technique are widely developed (Oord et al., 2018; Wu et al., 2018; He et al., 2020; Chen et al., 2020; Tsai et al., 2021). In the meantime, the application of contrastive learning on graph data has also been explored in various research works (Sun et al., 2019; Qiu et al., 2020; Hassani & Khasahmadi, 2020; You et al., 2020; Zhang et al., 2021; Li et al., 2021a; Ren & Liu, 2020; Peng et al., 2020; Li et al., 2022e;c). The fundamental principle of these approaches is to enhance the similarity or agreement between different views of the input graph. Nevertheless, current methods in graph contrastive learning primarily focus on general settings and ignore the diverse latent factors within the complex graph data. Consequently, such approaches may not adequately preserve intrinsic and truly predictive graph characteristics, leading to the potential fragility to distribution shifts.
245
+
246
+ Disentangled Representation Learning. Disentangled representation learning is expected to capture the latent factors behind the observed data, where these latent factors are represented as factorized vectors (Bengio et al., 2013; Higgins et al., 2018; Wang et al., 2022a; Pfau et al., 2020; Winter et al., 2022; Shu et al., 2018). It has found widespread applications in various domains, including computer vision (Hsieh et al., 2018; Wang et al., 2021a; 2023b; Chen et al., 2023), recommendation systems (Wang et al.,
247
+
248
+ 2022b; 2023a; Zhang et al., 2023a; Wang et al., 2024), etc. Noteworthy advancements in this field also involve the application of disentangled representation learning for graph data through the development of disentangled graph neural networks (Ma et al., 2019; Li et al., 2021b; 2022c; Yang et al., 2020; Zhang et al., 2023e; 2024b;a). For instance, (Ma et al., 2019) introduce a neighborhood routing mechanism within graph convolution to identify latent factors influencing node-to-neighbor connections. (Liu et al., 2020) strive to enhance the independence of graph latent factors by eliminating their mutual dependence, leveraging a kernel-based metric. Some works (Li et al., 2021b; 2022c; Wang et al., 2021a) extend the disentangled representation learning in a self-supervised manner, but they fail to tackle the distribution shifts for OOD generalization with a theoretical guarantee. We draw inspirations from the concept of disentangled representation learning (Higgins et al., 2018; Wang et al., 2021a; 2022a) to address the graph out-of-distribution generalization problems and bridge the disentanglement and OOD generalization on graphs from a theoretical view.
249
+
250
+ # 6. Conclusion
251
+
252
+ In this paper, we study the self-supervised graph OOD generalization problem. The key challenge lies in disentangling invariant and variant latent factors behind the graphs without graph labels for tackling distribution shifts. To address the challenge, we propose a novel OOD generalized disentangled graph contrastive learning model (OOD-GCL), which is able to learn disentangled graph representations with self-supervision that can generalize under distribution shifts. We conduct comprehensive theoretical analyses to prove that our method can learn disentangled graph representations and achieve OOD generalization. The extensive experiments on several real-world benchmarks demonstrate the superiority of the proposed method over state-of-the-art baselines.
253
+
254
+ # Acknowledgements
255
+
256
+ This work is supported by the National Key Research and Development Program of China No.2023YFF1205001, National Natural Science Foundation of China (No. 62222209, 62250008, 62102222, 62206149), Beijing National Research Center for Information Science and Technology under Grant No. BNR2023RC01003, BNR2023TD03006, and Beijing Key Lab of Networked Multimedia.
257
+
258
+ # Impact Statement
259
+
260
+ This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none of which we feel must be specifically highlighted here.
261
+
262
+ # References
263
+
264
+ Arjovsky, M., Bottou, L., Gulrajani, I., and Lopez-Paz, D. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019.
265
+ Bengio, Y., Courville, A., and Vincent, P. Representation learning: A review and new perspectives. TPAMI, 35(8): 1798-1828, 2013.
266
+ Chang, S., Zhang, Y., Yu, M., and Jaakkola, T. Invariant rationalization. In International Conference on Machine Learning, pp. 1448-1458. PMLR, 2020.
267
+ Chen, H., Zhang, Y., Wu, S., Wang, X., Duan, X., Zhou, Y., and Zhu, W. Disenbooth: Identity-preserving disentangled tuning for subject-driven text-to-image generation. In The Twelfth International Conference on Learning Representations, 2023.
268
+ Chen, T., Kornblith, S., Norouzi, M., and Hinton, G. A simple framework for contrastive learning of visual representations. In ICML, pp. 1597-1607. PMLR, 2020.
269
+ Chen, Y., Zhang, Y., Bian, Y., Yang, H., Ma, K., Xie, B., Liu, T., Han, B., and Cheng, J. Learning causally invariant representations for out-of-distribution generalization on graphs. In Thirty-Sixth Conference on Neural Information Processing Systems, 2022.
270
+ Creager, E., Jacobsen, J.-H., and Zemel, R. Environment inference for invariant learning. In International Conference on Machine Learning, pp. 2189-2200. PMLR, 2021.
271
+ Fan, S., Wang, X., Shi, C., Cui, P., and Wang, B. Generalizing graph neural networks on out-of-distribution graphs. arXiv preprint arXiv:2111.10657, 2021.
272
+ Fan, S., Wang, X., Mo, Y., Shi, C., and Tang, J. Debiasing graph neural networks via learning disentangled causal substructure. Advances in Neural Information Processing Systems, 35:24934-24946, 2022.
273
+ Gui, S., Li, X., Wang, L., and Ji, S. Good: A graph out-of-distribution benchmark. Advances in Neural Information Processing Systems, 35:2059-2073, 2022.
274
+ Han, X., Jiang, Z., Liu, N., and Hu, X. G-mixup: Graph data augmentation for graph classification. In International Conference on Machine Learning, pp. 8230-8248. PMLR, 2022.
275
+ Hassani, K. and Khasahmadi, A. H. Contrastive multi-view representation learning on graphs. In ICML, pp. 4116-4126. PMLR, 2020.
276
+ He, K., Fan, H., Wu, Y., Xie, S., and Girshick, R. Momentum contrast for unsupervised visual representation learning. In CVPR, pp. 9729-9738, 2020.
277
+
278
+ Higgins, I., Amos, D., Pfau, D., Racaniere, S., Matthew, L., Rezende, D., and Lerchner, A. Towards a definition of disentangled representations. arXiv:1812.02230, 2018.
279
+ Hsieh, J.-T., Liu, B., Huang, D.-A., Fei-Fei, L. F., and Niebles, J. C. Learning to decompose and disentangle representations for video prediction. In NeurIPS, pp. 517-526, 2018.
280
+ Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., and Leskovec, J. Open graph benchmark: Datasets for machine learning on graphs. Neural Information Processing Systems (NeurIPS), 2020.
281
+ Jaiswal, A., Babu, A. R., Zadeh, M. Z., Banerjee, D., and Makedon, F. A survey on contrastive self-supervised learning. Technologies, 9(1):2, 2020.
282
+ Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
283
+ Kipf, T. N. and Welling, M. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017.
284
+ Kong, K., Li, G., Ding, M., Wu, Z., Zhu, C., Ghanem, B., Taylor, G., and Goldstein, T. Robust optimization as data augmentation for large-scale graphs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 60-69, 2022.
285
+ Koyama, M. and Yamaguchi, S. Out-of-distribution generalization with maximal invariant predictor. arXiv preprint arXiv:2008.01883, 2020.
286
+ Krueger, D., Caballero, E., Jacobsen, J.-H., Zhang, A., Binas, J., Zhang, D., Le Priol, R., and Courville, A. Out-of-distribution generalization via risk extrapolation (rex). In International Conference on Machine Learning, pp. 5815-5826. PMLR, 2021.
287
+ LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278-2324, 1998.
288
+ Li, H., Wang, X., Zhang, Z., Yuan, Z., Li, H., and Zhu, W. Disentangled contrastive learning on graphs. In NeurIPS, 2021a.
289
+ Li, H., Wang, X., Zhang, Z., Yuan, Z., Li, H., and Zhu, W. Disentangled contrastive learning on graphs. Advances in Neural Information Processing Systems, 34:21872-21884, 2021b.
290
+ Li, H., Wang, X., Zhang, Z., and Zhu, W. Ood-gnn: Out-of-distribution generalized graph neural network. IEEE Transactions on Knowledge and Data Engineering, 2022a.
291
+
292
+ Li, H., Wang, X., Zhang, Z., and Zhu, W. Out-of-distribution generalization on graphs: A survey. arXiv preprint arXiv:2202.07987, 2022b.
293
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Disentangled graph contrastive learning with independence promotion. IEEE Transactions on Knowledge and Data Engineering, 2022c.
294
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Learning invariant graph representations for out-of-distribution generalization. Advances in Neural Information Processing Systems, 35:11828-11841, 2022d.
295
+ Li, H., Zhang, Z., Wang, X., and Zhu, W. Invariant node representation learning under distribution shifts with multiple latent environments. ACM Transactions on Information Systems, 42(1):1-30, 2023.
296
+ Li, S., Wang, X., Zhang, A., Wu, Y., He, X., and Chua, T.-S. Let invariant rationale discovery inspire graph contrastive learning. In International conference on machine learning, pp. 13052-13065. PMLR, 2022e.
297
+ Liu, G., Zhao, T., Xu, J., Luo, T., and Jiang, M. Graph rationalization with environment-based augmentations. In Proceedings of the 28th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2022.
298
+ Liu, J., Hu, Z., Cui, P., Li, B., and Shen, Z. Heterogeneous risk minimization. In International Conference on Machine Learning. PMLR, 2021a.
299
+ Liu, X., Zhang, F., Hou, Z., Mian, L., Wang, Z., Zhang, J., and Tang, J. Self-supervised learning: Generative or contrastive. IEEE transactions on knowledge and data engineering, 35(1):857-876, 2021b.
300
+ Liu, Y., Wang, X., Wu, S., and Xiao, Z. Independence promoted graph disentangled networks. In AAAI, 2020.
301
+ Ma, J., Cui, P., Kuang, K., Wang, X., and Zhu, W. Disentangled graph convolutional networks. In International conference on machine learning, pp. 4212-4221. PMLR, 2019.
302
+ MacQueen, J. et al. Some methods for classification and analysis of multivariate observations. In Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, volume 1, pp. 281-297. Oakland, CA, USA, 1967.
303
+ Mao, W., Wu, J., and Wang, X. InfoIGL: Invariant graph learning driven by information theory. 2024. URL https://openreview.net/forum? id=vOOkWxbLs7.
304
+
305
+ Miao, S., Liu, M., and Li, P. Interpretable and generalizable graph learning via stochastic attention mechanism. In International Conference on Machine Learning, pp. 15524-15543, 2022.
306
+ Oord, A. v. d., Li, Y., and Vinyals, O. Representation learning with contrastive predictive coding. arXiv:1807.03748, 2018.
307
+ Paul, D., Sanap, G., Shenoy, S., Kalyane, D., Kalia, K., and Tekade, R. K. Artificial intelligence in drug discovery and development. *Drug discovery today*, 26(1):80, 2021.
308
+ Peng, Z., Huang, W., Luo, M., Zheng, Q., Rong, Y., Xu, T., and Huang, J. Graph representation learning via graphical mutual information maximization. In WebConf, pp. 259-270, 2020.
309
+ Pfau, D., Higgins, I., Botev, A., and Racanière, S. Disentangling by subspace diffusion. Advances in Neural Information Processing Systems, 33:17403-17415, 2020.
310
+ Qiu, J., Tang, J., Ma, H., Dong, Y., Wang, K., and Tang, J. Deepinf: Social influence prediction with deep learning. In Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining, pp. 2110-2119, 2018.
311
+ Qiu, J., Chen, Q., Dong, Y., Zhang, J., Yang, H., Ding, M., Wang, K., and Tang, J. GCC: Graph contrastive coding for graph neural network pre-training. In SIGKDD, pp. 1150-1160, 2020.
312
+ Ren, Y. and Liu, B. Heterogeneous deep graph infomax. In AAAI Workshop of Deep Learning on Graphs, 2020.
313
+ Rong, Y., Huang, W., Xu, T., and Huang, J. Droppededge: Towards deep graph convolutional networks on node classification. arXiv preprint arXiv:1907.10903, 2019.
314
+ Rousseeuw, P. J. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics, 20:53-65, 1987.
315
+ Sagawa, S., Koh, P. W., Hashimoto, T. B., and Liang, P. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019.
316
+ Shen, Z., Liu, J., He, Y., Zhang, X., Xu, R., Yu, H., and Cui, P. Towards out-of-distribution generalization: A survey. arXiv:2108.13624, 2021.
317
+ Shu, Z., Sahasrabudhe, M., Guler, R. A., Samaras, D., Paragios, N., and Kokkinos, I. Deforming autoencoders: Unsupervised disentangling of shape and appearance. In Proceedings of the European conference on computer vision (ECCV), pp. 650-665, 2018.
318
+
319
+ Sui, Y., Wang, X., Wu, J., Lin, M., He, X., and Chua, T.-S. Causal attention for interpretable and generalizable graph classification. Proceedings of the 28th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2022.
320
+ Sui, Y., Wu, Q., Wu, J., Cui, Q., Li, L., Zhou, J., Wang, X., and He, X. Unleashing the power of graph data augmentation on covariate distribution shift. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
321
+ Sun, F.-Y., Hoffman, J., Verma, V., and Tang, J. Infograph: Unsupervised and semi-supervised graph-level representation learning via mutual information maximization. In ICLR, 2019.
322
+ Tsai, T. W., Li, C., and Zhu, J. Mi{ce}: Mixture of contrastive experts for unsupervised image clustering. In ICLR, 2021.
323
+ Veličković, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., and Bengio, Y. Graph attention networks. In International Conference on Learning Representations, 2018.
324
+ Wang, T., Yue, Z., Huang, J., Sun, Q., and Zhang, H. Self-supervised learning disentangled group representation as feature. Advances in Neural Information Processing Systems, 34:18225-18240, 2021a.
325
+ Wang, X., Chen, H., Tang, S., Wu, Z., and Zhu, W. Disentangled representation learning. arXiv preprint arXiv:2211.11695, 2022a.
326
+ Wang, X., Pan, Z., Zhou, Y., Chen, H., Ge, C., and Zhu, W. Curriculum co-disentangled representation learning across multiple environments for social recommendation. In International Conference on Machine Learning, pp. 36174-36192. PMLR, 2023a.
327
+ Wang, X., Wu, Z., Chen, H., Lan, X., and Zhu, W. Mixup-augmented temporally debiased video grounding with content-location disentanglement. In Proceedings of the 31st ACM International Conference on Multimedia, pp. 4450-4459, 2023b.
328
+ Wang, Y., Wang, W., Liang, Y., Cai, Y., and Hooi, B. Mixup for node and graph classification. In Proceedings of the Web Conference 2021, pp. 3663-3674, 2021b.
329
+ Wang, Y., Qin, Y., Sun, F., Zhang, B., Hou, X., Hu, K., Cheng, J., Lei, J., and Zhang, M. Disenctr: Dynamic graph-based disentangled representation for click-through rate prediction. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 2314-2318, 2022b.
330
+
331
+ Wang, Y., Wang, X., Huang, X., Yu, Y., Li, H., Zhang, M., Guo, Z., and Wu, W. Intent-aware recommendation via disentangled graph contrastive learning. arXiv preprint arXiv:2403.03714, 2024.
332
+ Winter, R., Bertolini, M., Le, T., Noe, F., and Clevert, D.-A. Unsupervised learning of group invariant and equivariant representations. Advances in Neural Information Processing Systems, 35:31942-31956, 2022.
333
+ Wu, Q., Zhang, H., Yan, J., and Wipf, D. Handling distribution shifts on graphs: An invariance perspective. International Conference on Learning Representations, 2022a.
334
+ Wu, Y., Wang, X., Zhang, A., He, X., and Chua, T.-S. Discovering invariant rationales for graph neural networks. In International Conference on Learning Representations, 2022b.
335
+ Wu, Y.-X., Wang, X., Zhang, A., He, X., and seng Chua, T. Discovering invariant rationales for graph neural networks. In ICLR, 2022c.
336
+ Wu, Z., Xiong, Y., Yu, S. X., and Lin, D. Unsupervised feature learning via non-parametric instance discrimination. In CVPR, pp. 3733-3742, 2018.
337
+ Xu, K., Hu, W., Leskovec, J., and Jegelka, S. How powerful are graph neural networks? In International Conference on Learning Representations, 2019.
338
+ Xu, R., Zhang, X., Shen, Z., Zhang, T., and Cui, P. A theoretical analysis on independence-driven importance weighting for covariate-shift generalization. In International Conference on Machine Learning, pp. 24803-24829. PMLR, 2022.
339
+ Yang, S., Zhang, Z., Zhou, J., Wang, Y., Sun, W., Zhong, X., Fang, Y., Yu, Q., and Qi, Y. Financial risk analysis for smes with graph-based supply chain mining. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pp. 4661-4667, 2021.
340
+ Yang, Y., Feng, Z., Song, M., and Wang, X. Factorizable graph convolutional networks. In NeurIPS, 2020.
341
+ You, Y., Chen, T., Sui, Y., Chen, T., Wang, Z., and Shen, Y. Graph contrastive learning with augmentations. In NeurIPS, 2020.
342
+ Yu, B., Yin, H., and Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv preprint arXiv:1709.04875, 2017.
343
+ Zhang, M., Sohoni, N. S., Zhang, H. R., Finn, C., and Ré, C. Correct-n-contrast: A contrastive approach for improving robustness to spurious correlations. arXiv preprint arXiv:2203.01517, 2022a.
344
+
345
+ Zhang, S., Hu, Z., Subramonian, A., and Sun, Y. Motif-driven contrastive learning of graph representations. arXiv:2012.12533, 2021.
346
+ Zhang, Y., Wang, X., Chen, H., and Zhu, W. Adaptive disentangled transformer for sequential recommendation. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pp. 3434-3445, 2023a.
347
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., Qin, Z., and Zhu, W. Dynamic graph neural networks under spatio-temporal distribution shift. In Thirty-Sixth Conference on Neural Information Processing Systems, 2022b.
348
+ Zhang, Z., Li, X., Teng, F., Lin, N., Zhu, X., Wang, X., and Zhu, W. Out-of-distribution generalized dynamic graph neural network for human albumin prediction. In IEEE International Conference on Medical Artificial Intelligence, 2023b.
349
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., and Zhu, W. Out-of-distribution generalized dynamic graph neural network with disentangled intervention and invariance promotion. arXiv preprint arXiv:2311.14255, 2023c.
350
+ Zhang, Z., Wang, X., Zhang, Z., Qin, Z., Wen, W., Xue, H., Li, H., and Zhu, W. Spectral invariant learning for dynamic graphs under distribution shifts. In Advances in Neural Information Processing Systems, 2023d.
351
+ Zhang, Z., Wang, X., Zhang, Z., Shen, G., Shen, S., and Zhu, W. Unsupervised graph neural architecture search with disentangled self-supervision. In Advances in Neural Information Processing Systems, 2023e.
352
+ Zhang, Z., Wang, X., Qin, Y., Chen, H., Zhang, Z., Chu, X., and Zhu, W. Disentangled continual graph neural architecture search with invariant modularization. In International Conference on Machine Learning, 2024a.
353
+ Zhang, Z., Wang, X., Zhang, Z., Li, H., Qin, Y., and Zhu, W. Llm4dyg: Can large language models solve spatial-temporal problems on dynamic graphs? In Conference on Knowledge Discovery & Data Mining (ACM SIGKDD), 2024b.
354
+
355
+ # A. Proof
356
+
357
+ # A.1. Proof of Theorem 1
358
+
359
+ Proof. We prove that our learned graph representation is disentangled by showing it satisfies the equivariant property and decomposable property in Definition 1. The reasoning process is inspired by Lemma 1 in (Wang et al., 2021a), but we extend it into a more general scenario that the representation is disentangled w.r.t. $\prod_{k=1}^{K} \mathcal{G}^k$ instead of disentangled w.r.t. some $\mathcal{G}^k$ and the others in (Wang et al., 2021a), thanks to our tailored model design.
360
+
361
+ First, we prove that the graph representation learned from our method satisfies the equivariant property. Consider that the objective function Eq. (7) reaches the minimum for any $k$ -th latent factor, $k \in \{1, \dots, K\}$ . Assume that there are representations $\mathbf{Z}_n$ and $\mathbf{Z}_{n'}$ of two different graphs satisfying $\mathbf{Z}_n = \mathbf{Z}_{n'}$ . The similarity between the two graphs can be further reduced by outputting different representations for the $n$ -th graph and the $n'$ -th graph for reaching a lower loss in Eq. (7). It contradicts that the objective function reaches the minimum. Therefore, the sample-equivariant property (Wang et al., 2021a) can be achieved, i.e., different graphs have different representations. We assume that the transition from the $n$ -th graph to the $n'$ -th graph in semantic space is from the group action and denote this action as $g \in \mathcal{G}$ that is transitive on representation space, i.e. $g \cdot \mathcal{Z}_n = \mathcal{Z}_{n'}$ . Therefore, the sample-equivariant graph representations can be an approximation of group-equivariant graph representations (Wang et al., 2021a).
362
+
363
+ Then, we prove that the graph representation learned from our method satisfies the decomposability property. Consider that the objective function Eq. (7) reaches the minimum for any $k$ -th latent factor, $k \in \{1, \dots, K\}$ . Assume that $\exists \mathbf{Z}^k$ is affected by not only the action $g^k$ but also one different action $g^{k'}$ and consider obtaining the environment partition by clustering the representation $\mathbf{Z}^{k'}$ . The similarity between two graphs measured by the part $\mathbf{Z}^k$ can be further reduced by excluding the action $g^{k'}$ for reaching a lower loss in Eq. (7). Furthermore, since $\mathbf{Z}^k$ is also affected by $g^{k'}$ in addition to $g^k$ , the invariant regularization term in Eq. (7) can also be further reduced by excluding the information of the $k'$ -th latent factor. It contradicts that the objective function reaches the minimum. Finally, we conclude that each $\mathbf{Z}^k$ is affected only by $g^k$ corresponding to the $k$ -th latent factor and unaffected by the actions corresponding to the other latent factors.
364
+
365
+ Overall, the learned graph representation of our method can be disentangled.
366
+
367
+ # A.2. Proof of Theorem 2
368
+
369
+ Proof. The OOD generalization means that the model can make predictions only based on the invariant and sufficient disentangled graph latent factors. Therefore, given the disentangled graph representations $\mathbf{Z} = [\mathbf{Z}^1,\dots ,\mathbf{Z}^K]$ , the coefficient $\mathbf{w} = [w^{1},\ldots ,w^{K}]$ of the linear predictor for predicting label $Y$ can be regarded to identify the invariant and sufficient latent factors and the predictions can be OOD generalized with the corresponding disentangled graph representations. Following the reasoning line of Theorem 5.1 and Theorem 5.2 in (Xu et al., 2022), we assume that the ordinary least square method is adopted, the mean of each disentangled representation is zero, and the independence among the disentangled representations. We derive the solutions of the coefficient $\mathbf{w} = [w^{1},\dots ,w^{K}]$ .
370
+
371
+ Specifically, we have
372
+
373
+ $$
374
+ w ^ {k} = \frac {\operatorname {C o v} \left(\mathbf {Z} ^ {k} , Y\right)}{\operatorname {V a r} \left(\mathbf {Z} ^ {k}\right)} = \frac {\mathbb {E} \left[ \mathbf {Z} ^ {k} Y \right]}{\operatorname {V a r} \left(\mathbf {Z} ^ {k}\right)} = \frac {\mathbb {E} \left[ \mathbf {Z} ^ {k} \mathbb {E} \left[ Y \mid \mathbf {Z} \right] \right]}{\operatorname {V a r} \left(\mathbf {Z} ^ {k}\right)}, \tag {9}
375
+ $$
376
+
377
+ where Cov and Var denote the covariance and variance respectively, and $\mathbb{E}$ denotes the expectation.
378
+
379
+ On the one hand, if $k$ -th latent factor does not belong to the invariant and sufficient latent factors to predict the label $Y$ , then $\mathbb{E}[Y|\mathbf{Z}]$ can be represented as the function $\Omega(\mathbf{Z}^{-k})$ , where $\mathbf{Z}^{-k} = [\mathbf{Z}^{1}, \ldots, \mathbf{Z}^{k-1}, \mathbf{Z}^{k+1}, \ldots, \mathbf{Z}^{K}]$ . Therefore,
380
+
381
+ $$
382
+ w ^ {k} = \frac {\mathbb {E} \left[ \mathbf {Z} ^ {k} \Omega (\mathbf {Z} ^ {- k}) \right]}{\operatorname {V a r} (\mathbf {Z} ^ {k})} = 0. \tag {10}
383
+ $$
384
+
385
+ The coefficient $w^{k}$ is zero, meaning that the prediction does not rely on the representation corresponding to the $k$ -th latent factor. The spurious correlation between this latent factor and the label can be removed, leading to OOD generalized predictions.
386
+
387
+ On the other hand, if $k$ -th latent factor belongs to the invariant and sufficient latent factors to predict the label $Y$ , then
388
+
389
+ $\mathbb{E}\left[Y|\mathbf{Z}\right]$ can be represented as the function $\Theta (\mathbf{Z}^k)$ . Therefore,
390
+
391
+ $$
392
+ w ^ {k} = \frac {\mathbb {E} \left[ \mathbf {Z} ^ {k} \Theta (\mathbf {Z} ^ {k}) \right]}{\operatorname {V a r} \left(\mathbf {Z} ^ {k}\right)} \neq 0. \tag {11}
393
+ $$
394
+
395
+ The coefficient $w^{k}$ is not zero, meaning that the prediction relies on the representation corresponding to the $k$ -th latent factor. The invariant and sufficient correlation between this latent factor and the label can be identified accurately, leading to OOD generalized predictions.
396
+
397
+ ![](images/3371ee6e9fa484e905c08c9f955de935e731d9daab06756158e5f9a1154c83bd.jpg)
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f32333b07fd88671ec0192cc9223e830a86b9b12179b56dfe428d737958f2d6b
3
+ size 490436
2024/Disentangled Graph Self-supervised Learning for Out-of-Distribution Generalization/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentanglement Learning via Topology/fc8378b9-bf46-4d0d-a824-a881930be3b9_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3c553bcd669de1fa5da73b65535e9f7cb2819259a993d3cc29ec8e05ddca3b2
3
+ size 9211567
2024/Disentanglement Learning via Topology/full.md ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disentanglement Learning via Topology/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a628c4c01f8079666df0d51cefdcf5f279fb5b18c9552d55da5755e74dcae03
3
+ size 3228836
2024/Disentanglement Learning via Topology/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disguised Copyright Infringement of Latent Diffusion Models/df17d8f3-7bb9-419a-8768-9c7ceaf78e26_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53530a68453fe6c51410a7aa355f1017521c3b13d6c0dba693f0d96927ad48f1
3
+ size 5144442
2024/Disguised Copyright Infringement of Latent Diffusion Models/full.md ADDED
@@ -0,0 +1,646 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disguised Copyright Infringement of Latent Diffusion Models
2
+
3
+ Yiwei Lu $^{1,2}$ Matthew Y.R. Yang $^{1}$ Zuoqiu Liu $^{1}$ Gautam Kamath $^{1,2}$ Yaoliang Yu $^{1,2}$
4
+
5
+ # Abstract
6
+
7
+ Copyright infringement may occur when a generative model produces samples substantially similar to some copyrighted data that it had access to during the training phase. The notion of access usually refers to including copyrighted samples directly in the training dataset, which one may inspect to identify an infringement. We argue that such visual auditing largely overlooks a concealed copyright infringement, where one constructs a disguise that looks drastically different from the copyrighted sample yet still induces the effect of training Latent Diffusion Models on it. Such disguises only require indirect access to the copyrighted material and cannot be visually distinguished, thus easily circumventing the current auditing tools. In this paper, we provide a better understanding of such disguised copyright infringement by uncovering the disguises generation algorithm, the revelation of the disguises, and importantly, how to detect them to augment the existing toolbox. Additionally, we introduce a broader notion of acknowledgment for comprehending such indirect access. Our code is available at https://github.com/watml/disguised_copyright_infringement.
8
+
9
+ # 1. Introduction
10
+
11
+ Generative models, especially the recent advanced Latent Diffusion Models (LDM) (Rombach et al. 2022), have shown tremendous ability to generate new images, even of creative or artistic form according to text prompts. Such models are trained on a large corpus of data, which may consist of copyrighted material. Additionally, prior works have established that such generative models are prone to regurgitating content from their training data (Ippolito et al. 2023; Zhang et al. 2021; Carlini et al. 2022; Vyas et al.
12
+
13
+ *Equal contribution ${}^{1}$ School of Computer Science,University of Waterloo,Waterloo,Canada ${}^{2}$ Vector Institute. Correspondence to: Yiwei Lu <yiwei.lu@uwaterloo.ca>.
14
+
15
+ Proceedings of the $41^{st}$ International Conference on Machine Learning, Vienna, Austria. PMLR 235, 2024. Copyright 2024 by the author(s).
16
+
17
+ 2023; Somepalli et al. 2023a; Somepalli et al. 2023b), which may also be copyrighted.
18
+
19
+ In this paper, we will focus on copyright law within the jurisdiction of the United States. To establish a copyright violation, two factors must be present. First, the accused must have had access to the copyrighted material. Second, the accused must produce content that bears "substantial similarity" to the copyrighted material (reproducing). Note that the definition of substantial similarity can be ambiguous. Within the context of images, its definition appears to be relatively broad (Steinberg v. Columbia Pictures Industries, Inc. 1987), and in particular encompasses near-exact copies.
20
+
21
+ Turning our attention to the former "access" criterion: the natural way to establish that a model had access to a particular piece of copyrighted material is to inspect its training data. For example, in the case of Andersen v. Stability AI Ltd. (Dist. Court 2023), the case was allowed to proceed based on the fact that copyrighted images were found in LAION-5B (Schuhmann et al. 2022) (the training data used for Stable Diffusion) using haveibeentrained.com.
22
+
23
+ We challenge the perspective that such visual auditing is sufficient to establish access to copyrighted material. Our results show that it is possible to conceal copyrighted images within the training dataset for LDMs. Specifically, LDMs are equipped with a fixed encoder for dimension reduction such that the diffusion learning process occurs in the latent space. This structure can be maliciously exploited to generate disguised copyrighted samples: given a copyrighted image, we show how to generate a disguise such that it is visually different from the copyrighted sample but shares similar latent information. The closeness of the two samples in the latent space can be quantitatively measured by a distance function, or qualitatively revealed by a concept extraction tool called textual inversion (Gal et al. 2022), both of which we will demonstrate in our empirical study.
24
+
25
+ Our study reveals the possibility of creating a new training dataset that does not appear to directly or blatantly contain any copyrighted data. Nonetheless, if a model is trained on this derivative training dataset, it would behave similarly as if the copyrighted data were present. Such disguises may still exhibit copyright infringement, although only accessing proprietary data indirectly. In Figure 1, we display a comparison between the previous copyright infringement
26
+
27
+ ![](images/7cdc648c42a9509190d70a87391f96cba4e2e811eb76c0963213429a53e9ec1c.jpg)
28
+ Figure 1: An overview of conventional (with direct access to copyrighted material) and disguised (with indirect access) copyright infringement for latent diffusion models. For direct access, training an LDM-based model on copyrighted material $x_{c}$ and reproducing $x_{c}$ is subjected to copyright infringement. For indirect access, one trains the same model on disguised samples $x_{d}$ , which are drastically different from $x_{c}$ , but is still able to reproduce $x_{c}$ during inference.
29
+
30
+ phenomenon (direct access) with the disguised copyright infringement (indirect access). Clearly, there was still access to the copyrighted material in the latter training pipeline, which raises the following question:
31
+
32
+ What constitutes access? How to quantify it?
33
+
34
+ We answer the first question by introducing a notion of acknowledgment, which refers to a criterion that any sample that contains similar latent information as that of a copyrighted sample should be considered acknowledging it, despite possible visual dissimilarity. To quantify acknowledgment in practice, a deeper inspection than visually auditing the training set is required. Thus we further propose a two-step detection method: (1) a feature similarity search for screening suspects; (2) an encoder-decoder examination to confirm disguises, which augments the existing criterion. In summary, we make the following contributions:
35
+
36
+ - We challenge the current "access" criterion and point out its insufficiency in more delicate cases of copyright infringement;
37
+ - We propose an algorithm that demonstrably crafts disguised copyrighted data to conceal the content (or concepts) of copyrighted images in the training set;
38
+ - We show disguised data contain copyrighted information in the latent space, such that by finetuning them on textual inversion or DreamBooth, or training on LDM, the model reproduces copyrighted data during inference;
39
+
40
+ - We propose methods to detect such disguises, which further encourage the expansion and quantification of "access" in the context of copyright infringement.
41
+
42
+ # 2. Background
43
+
44
+ # 2.1. Diffusion Models
45
+
46
+ We focus on latent diffusion models (Rombach et al. 2022) as they are ideal for text-to-image generation. We first recall the objective of regular diffusion models (Sohl-Dickstein et al. 2015):
47
+
48
+ $$
49
+ \mathcal {L} _ {\mathrm {D M}} = \mathbb {E} _ {x, \varepsilon , t} \left[ \| \varepsilon - \varepsilon_ {\theta} (x _ {t}, t) \| _ {2} ^ {2} \right],
50
+ $$
51
+
52
+ where $\varepsilon \sim \mathcal{N}(0,\mathbb{I})$ , $t$ is the timestep uniformly sampled from $\{1,\dots,T\}$ , and $x_{t}$ is a noisy version of the input sample $x$ at timestep $t$ . Briefly, diffusion models are probabilistic models designed to learn a data distribution $p(x)$ by gradually denoising a normally distributed variable, which corresponds to learning the reverse process of a fixed Markov chain of length $T$ .
53
+
54
+ Note that the intermediate $x_{t}$ are all in pixel space, which makes the training and inference of diffusion models expensive. To address this problem, Rombach et al. (2022) propose to perform the diffusion process in the latent space, namely latent diffusion models (LDM). Specifically, LDMs utilize a pre-trained (and fixed) autoencoder architecture which consists of an encoder $\mathcal{E}$ and a decoder $\mathcal{D}$ , where $\mathcal{E}$ is only used during training and $\mathcal{D}$ is only used during inference. The objective of LDM can be expressed as:
55
+
56
+ $$
57
+ \mathcal {L} _ {\mathrm {L D M}} = \mathbb {E} _ {x, \varepsilon , t} \left[ \| \varepsilon - \varepsilon_ {\theta} (\mathcal {E} (x _ {t}), t) \| _ {2} ^ {2} \right].
58
+ $$
59
+
60
+ When we perform text-to-image tasks, a text condition (or prompt) $y$ needs to be considered. Such a text condition is compressed into the latent space with a pre-trained text-embedding model $c_{\theta}(\cdot)$ (typically a BERT (Devlin et al. 2018) text encoder) and fed into LDM training as a conditioning vector:
61
+
62
+ $$
63
+ \mathcal {L} _ {\mathrm {L D M - C}} = \mathbb {E} _ {x, y, \varepsilon , t} \left[ \| \varepsilon - \varepsilon_ {\theta} (\mathcal {E} (x _ {t}), t, c _ {\theta} (y)) \| _ {2} ^ {2} \right]. \tag {1}
64
+ $$
65
+
66
+ Intuitively, LDMs perform the diffusion training process on a compressed version of the training data, while the compression procedure is deterministic. As a result, it is possible that two training samples share similar latent representations, but differ significantly visually. Based on this intuition, we propose a method to generate disguised data, demonstrating that the use of pre-trained autoencoders may conceal the inclusion of copyrighted data in the training set.
67
+
68
+ # 2.2. Data Poisoning attacks
69
+
70
+ Data poisoning attacks refer to the threat of contaminating part of the training data such that a machine learning model trained on the mixture of clean and poisoned data is influenced toward certain behaviors. Existing data poisoning attacks mainly focus on poisoning supervised models (classifiers). Based on the objective, there exist (1) indiscriminate attacks (e.g., Biggio et al. 2012; Koh and Liang 2017; Koh et al. 2022; Muñoz-González et al. 2017; Lu et al. 2022; Lu et al. 2023; Lu et al. 2024), which seek to decrease the overall test accuracy; (2) targeted attacks (e.g., Shafahi et al. 2018; Aghakhani et al. 2021; Guo and Liu 2020; Zhu et al. 2019; Geiping et al. 2021) that only alter the prediction on specific test examples; (3) backdoor attacks (e.g., Gu et al. 2017; Tran et al. 2018; Chen et al. 2017; Saha et al. 2020) that trigger if a particular pattern appears in an example; (4) unlearnable examples (e.g., Liu and Chawla 2010; Huang et al. 2021; Yu et al. 2022; Fowl et al. 2021b; Fowl et al. 2021a; Sandoval-Segura et al. 2022; Fu et al. 2021) that aim to reduce the utility of the data towards training a model. Moreover, the recent advanced Nightshade (Shan et al. 2024) shows some success in poisoning LDMs on prompt-specific text-to-image tasks; Wan et al. (2023) and Jiang et al. (2023) also explore data poisoning attacks against large language models.
71
+
72
+ Copyright infringement can be regarded as a special case of data poisoning, where one includes some "poisoned data" as a subset of a training set $\chi$ , such that after training a LDM on $\chi$ , the model reproduces a copyrighted sample $x_{c}$ . For direct access, "poisoned data" simply refers to direct copies of $x_{c}$ . In this paper, we also examine indirect access, where one can construct the "poisoned data" so they are visually different from $x_{c}$ using an adaptation of the data poisoning attack in Shafahi et al. (2018).
73
+
74
+ # 2.3. Textual Inversion
75
+
76
+ Art generation and related copyrighted material reproduction frequently happen in LDM-based generative tools. For example, textual inversion (Gal et al. 2022) is a popular tool for modifying personalized images with language-guided LDMs. Textual inversion uses a small set of images (typically three to five), which depicts the target concept $S_{*}$ (which is a placeholder in a text prompt, e.g., "A photo of $S_{*}$ ) across multiple settings such as varied backgrounds or poses. The concept $S_{*}$ is tokenized, converted to an embedding $\nu_{*}$ , and then encoded as part of the text embedding $c_{\theta}(y)$ . The embedding $\nu_{*}$ is acquired by optimizing the LDM loss in Equation 1 over the training images:
77
+
78
+ $$
79
+ \nu_ {*} = \underset {\nu} {\operatorname {a r g m i n}} \mathcal {L} _ {\mathrm {L D M - C}} \tag {2}
80
+ $$
81
+
82
+ Optimization is performed using the same training scheme as the original LDM while keeping $\varepsilon_{\theta}$ , $c_{\theta}$ and $\mathcal{E}$ fixed. After obtaining $\nu_{*}$ , it can be combined with various text prompts (typically derived from the CLIP ImageNet templates (Radford et al. 2021)) for generation. Overall, textual inversion is a great tool for capturing particular concepts and may also be used to reproduce copyrighted content.
83
+
84
+ # 3. Generating Disguises
85
+
86
+ We describe how to conceal copyrighted images within the training dataset. Specifically, we demonstrate that one can construct a disguised sample $x_{d}$ that is visually distinct from a copyrighted sample $x_{c}$ , but contains essentially similar information in the latent space (measured via the distance between feature representations). Specifically, we first recall the feature matching attack (Shafahi et al. 2018) designed for targeted data poisoning attacks, and then discuss how to adapt the attack to generate disguises.
87
+
88
+ # 3.1. Feature Matching Attack
89
+
90
+ We recall that targeted attacks aim to change the prediction (e.g., causing misclassification) of a model (typically a classifier) on a targeted test sample $x_{t}$ (with label $y_{t}$ ) by training on a mixture of the existing clean data and poisoned data. Specifically, Shafahi et al. (2018) propose a feature matching attack, where a poisoned sample $x_{p}$ is acquired by making imperceptible changes to a base sample $x_{b}$ with label $y_{b}$ (different than $y_{t}$ ) such that the feature representation of the poisoned sample $f(x_{p})$ matches that of the target sample $f(x_{t})$ , where the model $f$ is a (usually fixed) pretrained feature extractor. By training the model (e.g., with a softmax layer on top of $f$ ) on $x_{p}$ , it is likely to misclassify the target sample $x_{t}$ as the wrong (base) label $y_{b}$ .
91
+
92
+ Note that the generality of the feature matching attack is restricted in the context of classification tasks because it is only applicable when the feature extractor $f$ is fixed, which
93
+
94
+ ![](images/4b6803aa58051d36ed091a190fa86ade85d519a39fe58be5d313950e15c3f242.jpg)
95
+ Figure 2: An illustration on the algorithm to generate disguises. We aim to optimize the loss $\mathcal{L}$ consisting of an input space constraint that measures the distance between the base image $x_{b}$ and the disguise $x_{d}$ in the input space, and a feature space constraint that measures the distance between the copyrighted $x_{c}$ and $x_{d}$ in the feature space.
96
+
97
+ may only be applicable for fine-tuning or transfer learning. However, we will show how it can be used to craft disguised copyrighted images in the next paragraph.
98
+
99
+ Adapting to copyright infringement: Training LDMs on a dataset $\chi$ amounts to performing a regular diffusion learning process on a latent dataset $\zeta$ , where $\zeta = \mathcal{E}(\chi)$ . Suppose there exists a set of $N$ copyrighted data $\{x_c^i\}_{i=1}^N \subseteq \chi$ , which we aim to substitute with the same amount of disguised data $\{x_d^i\}_{i=1}^N$ such that the latent dataset $\zeta$ stays intact. Compared with data poisoning, the target sample $x_t$ is set to $x_c$ , the feature extractor $f$ is set to $\mathcal{E}$ , the base sample can be any uncopyrighted image different from $x_c$ , the sample we aim to optimize is $x_d$ , and the feature matching algorithm can be adapted. Conveniently, the encoder model $\mathcal{E}$ is pre-trained and its weights are fixed during the training of diffusion, thus making the above attack realistic.
100
+
101
+ # 3.2. Disguised Copyrighted Image Generation
102
+
103
+ Now we introduce our disguise generation algorithm for individual images. Formally, given a target copyrighted image $x_{c}$ , a base image $x_{b}$ which is chosen to be visually different from $x_{c}$ , distance measures $D_{1}(\cdot)$ and $D_{2}(\cdot)$ for input space and latent space respectively, and a fixed pretrained encoder $\mathcal{E}$ , we aim to construct a disguised image $x_{d}$ such that it satisfies:
104
+
105
+ $$
106
+ D _ {1} = D _ {1} \left(x _ {b}, x _ {d}\right) \leq \gamma_ {1}, D _ {2} = D _ {2} \left(\mathcal {E} \left(x _ {c}\right), \mathcal {E} \left(x _ {d}\right)\right) \leq \gamma_ {2},
107
+ $$
108
+
109
+ # Algorithm 1 Disguise Generation
110
+
111
+ Input: copyrighted image $x_{c}$ , base image $x_{b}$ , pre-trained encoder $\mathcal{E}$ , input threshold $\gamma_{1}$ , feature threshold $\gamma_{2}$ , distance measure on input space $D_{1}(\cdot)$ , distance measure on feature space $D_{2}(\cdot)$ , hyperparameter on input space constraint $\alpha$ , learning rate $\eta$ .
112
+
113
+ 1 Initialize disguise $x_{d}$ with base image $x_{b}$
114
+ 2 repeat
115
+ 3 $D_{1}\gets D_{1}(x_{b},x_{d})$ // image distance
116
+ 4 $D_{2}\leftarrow D_{2}(\mathcal{E}(x_{c}),\mathcal{E}(x_{d}))$ // feature
117
+ distance
118
+ 5 $\mathcal{L}\gets \alpha D_1 + D_2$ // calculate loss
119
+ 6 $x_{d}\gets x_{d} - \eta \frac{\partial\mathcal{L}}{\partial x_{d}}$ // update disguise
120
+ 7 $x_{d}\gets \mathrm{Proj}_{\Gamma}(x_{d})$ // project to admissible
121
+ set
122
+ 8 until $D_{1}\leq \gamma_{1}$ and $D_{2}\leq \gamma_{2}$
123
+ 9 return disguise $x_{d}$
124
+
125
+ where $\gamma_{1}$ is the input threshold that measures the visual distance of $x_{d}$ compared with $x_{b}$ , $\gamma_{2}$ is the threshold that measures the featur distance between $x_{c}$ and $x_{d}$ , which can be both determined empirically. We can then express the objective function as follows:
126
+
127
+ $$
128
+ \operatorname * {a r g m i n} _ {x _ {d}} \alpha D _ {1} + D _ {2},
129
+ $$
130
+
131
+ where $\alpha$ is a tunable hyperparameter for controlling the tradeoff. To illustrate more, the extreme case $\alpha = 0$ refers to the scenario where there is no input space constraint on $x_{d}$ while $\alpha = \infty$ refers to no feature space constraint. Our algorithm is summarized in Algorithm 1 and Figure 2.
132
+
133
+ Connection to Nightshade: Shafahi et al. (2018) introduced the idea of attacking a model by manipulating training datapoints so that their feature representation resembles that of a different point. They applied this principle to targeted data poisoning attacks against classifiers, whereas Shan et al. (2024) (in their work "Nightshade") and we apply it to LDMs. To highlight some of the differences between our work and that of Shan et al. (2024), there are crucial technical differences in how we instantiate this algorithm. Specifically, Nightshade intends to stop LDM from producing the image containing the correlated concept. In contrast, we aim to urge LDM to reproduce the target image (copyrighted image) through indirect access. Furthermore, the two works employ this algorithm towards very different ends. Nightshade aims to sabotage the connection between an image and its corresponding text prompt, thus requiring a pair of (image, text) as input. In contrast, our method only requires the form of images as input.
134
+
135
+ ![](images/b1b3f75c82b0776e005050f3603cb6fce539fa751a02c9593159cfd569c9d970.jpg)
136
+
137
+ ![](images/433eb71d51503146fa4a5edea1e9fa6b8ac40663617ec81d4d5fe1855dd2cb19.jpg)
138
+
139
+ ![](images/7360f7015374be81eff0b37eaddb1191fa8659b02fae38ff62fad2c519dc746c.jpg)
140
+
141
+ ![](images/41e298e298b420c96a8167229bb732f3cef6a38285cefee7ddac7e29b5ea842e.jpg)
142
+
143
+ ![](images/310895355a80d18bfd9f47c1b81db8e424a07692d7a2a8ae8b1cdce24d8e1b3c.jpg)
144
+
145
+ ![](images/8c6347c6756e6d6725d77eee4b7ac037b355459a69806c8ae308eb0a46530264.jpg)
146
+ $x_{c}$
147
+ Disguises $x_{d}$
148
+ Inference on textual inversion by learning on $x_{d}$ only
149
+
150
+ # 4. Revealing Disguises
151
+
152
+ Recall that the set of disguised data $\{x_d^i\}_{i = 1}^N$ is constructed to substitute their copyrighted counterpart $\{x_c^i\}_{i = 1}^N$ such that the latent dataset $\zeta$ is not changed much. To evaluate whether this goal is accomplished, we extract the latent information contained in the acquired samples $x_{d}$ using textual inversion to qualitatively reveal the disguises. We also report the feature threshold $\gamma_{2}$ for quantitative analysis.
153
+
154
+ Moreover, examination of textual inversion also demonstrates how disguised copyright infringement may occur in the wild, i.e., reproducing copyrighted materials using products that utilize pre-trained LDMs to generate arts, which bring major concerns for human artists. Such LDM-based methods usually require only a few images as the training set $\chi$ , and can be easily substituted by disguises entirely. In Appendix F, we will further extend our evaluation to DreamBooth (Ruiz et al. 2023) and LDM training.
155
+
156
+ # 4.1. Experimental settings
157
+
158
+ Note that the "copyrighted" images $x_{c}$ used in our experiments may not be actually copyrighted, but used as a substitute to demonstrate disguised copyright infringement.
159
+
160
+ LDM: We adopt the official PyTorch implementation<sup>1</sup> of conditional LDM (Rombach et al. 2022) and acquire the pre-trained weights<sup>2</sup>(including that of the encoder $\mathcal{E}$ , the denoising U-Net $\varepsilon_{\theta}$ and the text embedding $c_{\theta}(\cdot)$ ) of a 1.45B parameter KL-regularized LDM-8 (8 denotes downsampling factor) model conditioned on language prompts on LAION
161
+
162
+ ![](images/2b2d741b8f0839772c1d0e8c76f286b86e63ef8649590b1d7c0ebb979bb3c264.jpg)
163
+
164
+ ![](images/629209b35728890bb78769537cfb2f144fbf2ec2510b2e20a481a58e972e688e.jpg)
165
+
166
+ ![](images/1b38e9c1ef6bf2bae1397b662d3ca38d9bd50df762c5df8d6d26b8fe0523e241.jpg)
167
+
168
+ ![](images/1ac14373fc9f11f7e28c3c1a581134e35a87168dabf436e143ab61d85cdf78d9.jpg)
169
+
170
+ ![](images/4fd339994008a6394150abb164c312d0109ed9864378047edf5c16994ebb235e.jpg)
171
+
172
+ ![](images/d8a32244d4b4dfe91abcbbc05a3ee96bb2924b67041eb36e060a11a03b001102.jpg)
173
+
174
+ ![](images/4179857d64c9ed7ed5402b3701340717dd1353c915660b032a8384b86d5533d3.jpg)
175
+ Figure 3: The disguised symbol on textual inversion. The first row from left to right: Column (1) the designated copyrighted symbol; Columns (2)-(5) four disguises $x_{d}$ generated with different $x_{b}$ . The second row: images generated by textual inversion after training on the above $x_{d}$ .
176
+ Figure 4: We show the disguised copyrighted content on textual inversion. The first row: the designated copyrighted image $x_{c}$ (The Sunflowers by Vincent Van Gogh); the second row: three disguises $x_{d}$ generated with different $x_{b}$ ; the third row: images generated by textual inversion after training on the above $x_{d}$ .
177
+
178
+ ![](images/a2a48d960bf9d60023dc43ebbc15e0a2d26a231acf2029e58388fd5f103145ad.jpg)
179
+
180
+ ![](images/1b3d396864bb7d2c2c598a9220316331d72e05e61154715bf1e925c2baff2551.jpg)
181
+
182
+ 400M (Schuhmann et al. 2021). We apply the pre-trained encoder $\mathcal{E}$ in Algorithm 1 to generate disguises, and the entire pre-trained LDM for textual inversion. Note that the LDM is not re-trained in our experiments.
183
+
184
+ Generating Disguises: Throughout our experiments, we apply the pre-trained $KL$ -regularized encoder $\mathcal{E}$ , and set the input distance measure $D_{1}(\cdot)$ as a sum of the multi-scale structural similarity index (MS-SSIM) loss (Wang et al. 2003) and $L_{1}$ loss following the analysis of (Khare et al. 2021), and the feature distance measure to be the $L_{2}$ loss: $D_{2}(\mathcal{E}(x_{c}),\mathcal{E}(x_{d})) = \| \mathcal{E}(x_{c}) - \mathcal{E}(x_{d})\|_{2}$ . The choice of the copyrighted image $x_{c}$ , base image $x_{b}$ , the input threshold $\gamma_{1}$ , the feature threshold $\gamma_{2}$ and the hyperparameter on the input constraint $\alpha$ are task-dependent (for different copyrighted material), and we specify them in their corresponding paragraphs below. We set the admissible set to be in the range of $[0,1]$ as the legitimate (normalized) image pixel value and run the algorithm for 100000 epochs (early stop if the stopping criteria are reached) for all experiments.
185
+
186
+ Textual inversion: After acquiring the disguises $x_{d}$ , we feed them (we generate $N = \{3,4\}$ disguises for extracting the same concept, following the normal recipe) into textual inversion (Gal et al. 2022) and optimize the embedding $\nu_{*}$ with Equation 2. We adopt the official PyTorch implementation
187
+
188
+ ![](images/c2b2d24202f815a02181869c51f6eecb9f5ab51c16057dc33eb430687322f33d.jpg)
189
+ Figure 5: We show the disguised copyrighted style on textual inversion. The first row: the designated copyrighted style $x_{c}$ (in the style of The Starry Night by Vincent Van Gogh); the second row: disguises $x_{d}$ generated with different $x_{b}$ ; the third row: images generated by textual inversion after training on the above $x_{d}$ .
190
+
191
+ tion $^3$ , which utilizes the pre-trained $KL$ -regularized LDM-8 with the same encoder $\mathcal{E}$ . Note that training textual inversion requires an initial word as input, which is an initialization for the concept $S_{*}$ . Throughout our experiments, we choose the initial word to match the visual appearance of the disguises (thus the concept of the base image) and we observe that changing the initial word does not lead to a significant difference for the algorithm. For generating new images, we select from the pool of prompts included in the existing implementation of textual inversion $^4$ which we specify for each task below.
192
+
193
+ # 4.2. Concepts learned on disguises
194
+
195
+ We demonstrate the concepts learned by textual inversion on the disguises with respect to different copyrighted patterns. (1) a copyrighted symbol; (2) copyrighted content; and (3) style. We note that although the style is generally not copyrightable, there are still ongoing debates about the ethics of using copyrighted artwork to train a model that can imitate an artist's style<sup>5</sup>. For this reason, we also examine
196
+
197
+ 3https://github.com/rinongal/textual_inversion
198
+ 4https://github.com/rinongal/textual_inversion/blob/main/ldm/data/personalized.py
199
+ <sup>5</sup>https://news.bloombergglaw.com/ip-law/a i-limitating-artist-style-drives-call-to-r ethink-copyright-law
200
+
201
+ the case of hiding an artist's style in disguised images.
202
+
203
+ Disguised symbol: We first show the easiest scenario to generate disguises, namely copyrighted symbol. In Figure 3, we pick the symbol "A" as $x_{c}$ (note that here we abstract $x_{c}$ as the symbol "A", in our experiment, it is combined with each base image to create the corresponding copyrighted image $x_{c}$ , see Figure 8 in Appendix A) and choose four images of a water bottle as base images $x_{b}$ . The base images do not need to be carefully constructed and are photos taken by ourselves. Each disguise $x_{d}$ is created by taking a pair of $x_{c}$ and $x_{b}$ as input to Algorithm 1. We set $\gamma_{1} = 0.05$ , $\gamma_{2} = 0.35$ (normalized to the range of [0, 1]) as the threshold of input and feature distance, respectively, and $\alpha = 8000$ . By feeding $x_{d}$ into textual inversion with the text prompt "a photo of a *", we reproduce the target symbol "A" without being exposed to the semantic information of the copyrighted content.
204
+
205
+ Disguised content We then show a more challenging task to generate disguised content. In Figure 4, we pick three drawings of The Sunflowers<sup>6</sup> by Vincent Van Gogh as $x_{c}$ (first row). Due to the difficulty of the task, we cannot choose any image as $x_{b}$ . Thus we first blur $x_{c}$ such that they lose their semantic information and retain the color pattern, then we add simple sketches of houses<sup>7</sup> as base images $x_{b}$ (second row). In Figure 14 in Appendix A, we show the background is essential for our purpose, where the disguises are ineffective with a white background. We set $\gamma_{1} = 0.08$ , $\gamma_{2} = 0.26$ , $\alpha = 4000$ . By feeding $x_{d}$ into textual inversion with the text prompt "a photo of a *", we recover the content of the sunflowers (third row) without containing the semantic information of $x_{d}$ .
206
+
207
+ Disguised style Finally, we show the results for style scraping. In Figure 5, we pick three drawings<sup>8</sup> in the style of The Starry Night by Vincent Van Gogh as $x_{c}$ (first row). The base images $x_{b}$ (second row) are the target images with another style (watercolor), generated with AdaIN-based (Huang and Belongie 2017) style transfer<sup>9</sup>. We set $\gamma_{1} = 0.03, \gamma_{2} = 0.33, \alpha = 2000$ . By feeding $x_{d}$ into textual inversion with the text prompt "a painting in the style of *", we reproduce the style of $x_{c}$ (The Starry Night) while textual inversion only learns from images that visually resemble watercolor style.
208
+
209
+ ![](images/245a20d77c2dba1549ab32e6f5733a68586010587702702b7fcc92b0c2457140.jpg)
210
+ Figure 6: The effect of tuning the hyperparameter $\alpha$ on disguises (Rows 1-2: symbol; Rows 3-4: style). Rows 1 and 3 show disguises generated with different $\alpha$ ; Rows 2 and 4 show the images generated by textual inversion by training on the disguises above. Note that the criterion on the input and feature threshold may not be satisfied in this series of experiments and we only train the disguise generation algorithm until convergence.
211
+
212
+ In summary, for disguised symbols, generating the disguises $x_{d}$ with any base image $x_{b}$ is easy. However, for generating disguised content and style, one needs to choose the base image carefully for successful optimization.
213
+
214
+ # 4.3. Visual appearance of disguises
215
+
216
+ Next, we control the visual appearance of $x_{d}$ by tuning $\alpha$ , which is the weighting parameter of the input space constraint. In Figure 6, we show the tradeoff of tuning the hyperparameter $\alpha$ : (1) a smaller $\alpha$ indicates weaker input space constraint and it could lead to an ineffective disguise, where $x_{d}$ still visually contains the copyrighted material; (2) in contrast, a bigger $\alpha$ shifts the optimization focus away from feature matching to generate latent embeddings distinct from the copyrighted content's. In the latter case, the tradeoff is that despite having a strong disguise that visually hides the copyrighted content, the textual inversion process may not successfully learn the copyrighted material, thus rendering our attack pointless. Note that there is no
217
+
218
+ input constraint for the extreme case $\alpha = 0$ , and the visual appearance of disguises largely depends on the initialization (we initialize with $x_{b}$ above) and we show the results for different initialization in Figure 15 in Appendix A.
219
+
220
+ # 4.4. Detection
221
+
222
+ Next, we introduce a two-step detection method specifically for disguised samples that go beyond browsing through the training set, e.g., haveibeentrained.com.
223
+
224
+ (1) Feature similarity search: Quantitatively, a disguised sample has a similar feature representation with that of a copyrighted sample, i.e., $D_{2}(\mathcal{E}(x_{c}),\mathcal{E}(x_{d})) \leq \gamma_{2}$ . As we have provided the feature threshold $\gamma_{2}$ which is sufficient for replicating the copyrighted content for different tasks, one can use this as a reference threshold to detect possible disguises. Specifically, given an encoder $\mathcal{E}$ (which is usually easily accessible), a copyrighted image $x_{c}$ which needs examination for infringement, one simply goes through the training set and computes $\mathcal{E}(x)$ for every single sample and
225
+
226
+ ![](images/fd19b722d60166a18cb48ede13c6f9fd95f47db8f60195977bda7824d4fbc1e2.jpg)
227
+ Figure 7: Results for the encoder-decoder examination. The first row shows the disguises $x_{d}$ and the second row includes the output of the autoencoder: $\mathcal{D}(\mathcal{E}(x_d))$ . Columns 1-3, 4-6, and 7-9 show results for symbol, content, and style, respectively. The autoencoder reveals the copyrighted information contained in the disguises.
228
+
229
+ compare with that of $x_{c}$ . However, such a search alone only extracts suspects, which may not be true disguises. To rule out the sheer chance of collisions in the feature space, we perform another examination below.
230
+
231
+ (2) Encoder-decoder examination: The encoder architecture in LDMs is part of an autoencoder architecture (e.g., the KL-based VAE), where the encoder and decoder are used separately for encoding and inference. Consequently, the decoder $\mathcal{D}$ can be naturally used to detect disguises qualitatively. Specifically, for a well-trained autoencoder, $\mathcal{D}(\mathcal{E}(x_c)) \approx x_c$ , while for disguises $\mathcal{E}(x_d) \approx \mathcal{E}(x_c)$ , thus we have $\mathcal{D}(\mathcal{E}(x_d)) \approx x_c$ . In Figure 7, we show that the encoder-decoder architecture is a great detection tool for disguises, where the output of the autoencoder reveals the copyrighted content hidden in $x_d$ .
232
+
233
+ # 4.5. A broader definition of access
234
+
235
+ Our experiments have demonstrated that by generating disguises, one can indirectly acquire access to copyrighted material as part of the training data to fuel LDM-based models, which could reproduce the copyrighted samples during inference or deployment. We expand the definition of direct access to acknowledgment to cover such scenarios as possible copyright infringement: any training data $x$ that contains similar latent information as that of copyrighted image $x_{c}$ , measured by their similarity in the latent feature representation, even visually different from $x_{c}$ , shall be considered to have an acknowledgment of $x_{c}$ . The notion of acknowledgment may also augment existing regulatory frameworks (e.g., the White House Executive Order on AI (Biden 2023)) on AI governance in terms of data quality evaluation. Additionally, our quantification of acknowledgment (the detection method) provide a timely tool for auditing beyond black-box access, which was pointed out to be insufficient in (Casper et al. 2024).
236
+
237
+ # 5. Conclusion
238
+
239
+ In this paper, we review the current access criterion of containing copyrighted material in the training set (direct access) in copyright infringement of generative models and point out its insufficiency by introducing disguised copyright infringement (indirect access). Specifically, such an infringement is realized by injecting disguised samples into the training set, which urges LDMs to produce copyrighted content. Such disguises are generated with a simple algorithm and demonstrated to share the same concept with their target copyrighted images using the textual inversion tool. To alleviate the concern on the disguises, we expand the current visual auditing (browsing the training set) with additional tools, i.e., feature similarity search and encoder-decoder examination to better identify these disguises. Furthermore, we propose a broader definition of acknowledgment to cover this new type of copyright violation.
240
+
241
+ Limitations and future work: One interesting future work is to quantify the number of disguises needed for reproducing in large-scale training, which can be further linked to the quantification of memorization of such models (Carlini et al. 2022; Somepalli et al. 2023a; Somepalli et al. 2023b; Carlini et al. 2023; Ippolito et al. 2023; Zhang et al. 2021)). Additionally, although our algorithms can generate descent disguises, we believe there is still room for improvement for optimization. Finally, one extension we didn't touch is the possibility of "chopping" copyrighted data and hiding it in several images. It is intriguing to explore whether it is possible to generate such a smuggler's dataset and detection towards it.
242
+
243
+ Learning from noisy data A simultaneous and independent work (Daras et al. 2024) considers learning LDMs from noisy data. Although the techniques are very different, our works share a similar implication: the training dataset may not immediately resemble the generations produced, thus al
244
+
245
+ lowing copyright issues to be disguised from an auditor who manually inspects the dataset. In the work of Daras et al. (2024), the training data is the original data with Gaussian noise applied to it. In our case, the training data has the original data hidden in the latent space. In Section 4.5, we argue that if training data contains the same latent information as some copyrighted data, then it should be acknowledged. Daras et al. (2024) show that even when the latent space is corrupted the copyrighted information could still be contained, which could raise a stronger disguised copyright infringement attack.
246
+
247
+ Acknowledgment and fair use Finally we discuss the anticipated impact of our definition of acknowledgment on judicial decisions. Specifically, we believe acknowledgment will not directly affect the current fair use doctrine or change its decision. To further illustrate the above claim, we first propose two principles: (1) copyright infringement is not fair use: although generative AI law is not rigorously defined, we generally assume that "reproducing the copyrighted content" is not fair use when there's direct access; (2) disguised infringement does not (appear to) use the copyrighted data: there is no decision of fair use doctrine here as there is no apparent "usage" of the copyrighted data, not to mention "fair use". Thus the decision is on the "originality" of the output (reproduction of the copyrighted content) but not fair use. As a result, the notion of acknowledgment aims to identify disguised copyright infringement in the second principle and challenge the decision of "originality". Based on the acquired outcome (reproduction), there would be no scenarios that acknowledgment can change the decision of fair use according to the first principle.
248
+
249
+ # Impact Statement
250
+
251
+ In this paper, we adopt a simple algorithm to disguise images, which we realize may be applied as a concealed copyright infringement tool. We are surprised at how easy it is for Generative AI to circumvent the copyright law, which was originally designed for regulating human scrapers. This seemingly undetectable infringing threat may bring disadvantages for human artists, who are already losing the battle with GenAI. Furthermore, disguised images may not only be a concern to copyright owners but also a threat to Generative AI companies: if these disguises are accidentally collected as part of the training data, copyright infringement could be triggered unconsciously and unwillingly. As computer scientists, we are obligated to reveal the existence of such possible unlawful acts and provide technical tools to identify such behaviors. We expect our paper to be a prudent tool such that disguised copyright infringement and its corresponding detection methods are recognized by law experts.
252
+
253
+ # Acknowledgements
254
+
255
+ We thank the reviewers for the critical comments that have largely improved the presentation and precision of this paper. We gratefully acknowledge funding support from NSERC and the Canada CIFAR AI Chairs program. YY is also supported by the Ontario early researcher program. Resources used in preparing this research were provided, in part, by the Province of Ontario, the Government of Canada through CIFAR, and companies sponsoring the Vector Institute.
256
+
257
+ # References
258
+
259
+ Aghakhani, H., D. Meng, Y.-X. Wang, C. Kruegel, and G. Vigna (2021). "Bullseye polytope: A scalable clean-label poisoning attack with improved transferability". In: IEEE European Symposium on Security and Privacy (EuroS&P), pp. 159-178.
260
+ Biden, J. R. (2023). "Executive order on the safe, secure, and trustworthy development and use of artificial intelligence".
261
+ Biggio, B., B. Nelson, and P. Laskov (2012). "Poisoning attacks against support vector machines". In: Proceedings of the 29th International Conference on Machine Learning (ICML), pp. 1467-1474.
262
+ Carlini, N., D. Ippolito, M. Jagielski, K. Lee, F. Tramer, and C. Zhang (2022). "Quantifying Memorization Across Neural Language Models". In: The Eleventh International Conference on Learning Representations.
263
+ Carlini, N., J. Hayes, M. Nasr, M. Jagielski, V. Sehwag, F. Tramer, B. Balle, D. Ippolito, and E. Wallace (2023). "Extracting training data from diffusion models". In: 32nd USENIX Security Symposium (USENIX Security 23), pp. 5253-5270.
264
+ Casper, S. et al. (2024). "Black-box access is insufficient for rigorous AI audits". arXiv preprint arXiv:2401.14446.
265
+ Chen, X., C. Liu, B. Li, K. Lu, and D. Song (2017). "Targeted backdoor attacks on deep learning systems using data poisoning". arXiv:1712.05526.
266
+ Daras, G., A. G. Dimakis, and C. Daskalakis (2024). "Consistent Diffusion Meets Tweedie: Training Exact Ambient Diffusion Models with Noisy Data". arXiv preprint arXiv:2404.10177.
267
+ Devlin, J., M.-W. Chang, K. Lee, and K. Toutanova (2018). "Bert: Pre-training of deep bidirectional transformers for language understanding". arXiv preprint arXiv:1810.04805.
268
+
269
+ Dist. Court, N. C. (2023). "Andersen v. STABILITY AI LTD." Case No. 23-cv-00201-WHO.
270
+ Fowl, L., P.-y. Chiang, M. Goldblum, J. Geiping, A. Bansal, W. Czaja, and T. Goldstein (2021a). "Preventing unauthorized use of proprietary data: Poisoning for secure dataset release". arXiv preprint arXiv:2103.02683.
271
+ Fowl, L., M. Goldblum, P.-y. Chiang, J. Geiping, W. Czaja, and T. Goldstein (2021b). "Adversarial Examples Make Strong Poisons". In: Advances in Neural Information Processing Systems, pp. 30339-30351.
272
+ Fu, S., F. He, Y. Liu, L. Shen, and D. Tao (2021). "Robust unlearnable examples: Protecting data privacy against adversarial learning". In: International Conference on Learning Representations.
273
+ Gal, R., Y. Alaluf, Y. Atzmon, O. Patashnik, A. H. Bermano, G. Chechik, and D. Cohen-Or (2022). "An image is worth one word: Personalizing text-to-image generation using textual inversion". arXiv preprint arXiv:2208.01618.
274
+ Gatys, L. A., A. S. Ecker, and M. Bethge (2015). "A neural algorithm of artistic style". arXiv preprint arXiv:1508.06576.
275
+ Geiping, J., L. H. Fowl, W. R. Huang, W. Czaja, G. Taylor, M. Moeller, and T. Goldstein (2021). "Witches' Brew: ial Scale Data Poisoning via Gradient Matching". In: International Conference on Learning Representations.
276
+ Gu, T., B. Dolan-Gavitt, and S. Garg (2017). "Badnets: Identifying vulnerabilities in the machine learning model supply chain". arXiv:1708.06733.
277
+ Guo, J. and C. Liu (2020). "Practical Poisoning Attacks on Neural Networks". In: European Conference on Computer Vision, pp. 142-158.
278
+ Huang, H., X. Ma, S. M. Erfani, J. Bailey, and Y. Wang (2021). "Unlearnable Examples: Making Personal Data Unexploitable". In: International Conference on Learning Representations.
279
+ Huang, X. and S. Belongie (2017). "Arbitrary style transfer in real-time with adaptive instance normalization". In: Proceedings of the IEEE international conference on computer vision, pp. 1501-1510.
280
+ Ippolito, D., F. Tramér, M. Nasr, C. Zhang, M. Jagielski, K. Lee, C. A. Choquette-Choo, and N. Carlini (2023). "Preventing generation of verbatim memorization in language models gives a false sense of privacy". In: Proceedings of the 16th International Natural Language
281
+
282
+ Generation Conference. Association for Computational Linguistics, pp. 28-53.
283
+ Jiang, S., S. R. Kadhe, Y. Zhou, L. Cai, and N. Baracaldo (2023). "Forcing Generative Models to Degenerate Ones: The Power of Data Poisoning Attacks". arXiv preprint arXiv:2312.04748.
284
+ Khare, N., P. S. Thakur, P. Khanna, and A. Ojha (2021). "Analysis of Loss Functions for Image Reconstruction Using Convolutional Autoencoder". In: International Conference on Computer Vision and Image Processing. Springer, pp. 338-349.
285
+ Koh, P. W. and P. Liang (2017). "Understanding black-box predictions via influence functions". In: Proceedings of the 34th International Conference on Machine Learning (ICML), pp. 1885-1894.
286
+ Koh, P. W., J. Steinhardt, and P. Liang (2022). "Stronger Data Poisoning Attacks Break Data Sanitization Defenses". Machine Learning, vol. 111, pp. 1-47.
287
+ Liu, W. and S. Chawla (2010). "Mining adversarial patterns via regularized loss minimization". Machine learning, vol. 81, no. 1, pp. 69-83.
288
+ Lu, Y., G. Kamath, and Y. Yu (2022). "Indiscriminate Data Poisoning Attacks on Neural Networks". Transactions on Machine Learning Research.
289
+ (2023). "Exploring the limits of model-targeted indiscriminate data poisoning attacks". In: International Conference on Machine Learning. PMLR, pp. 22856-22879.
290
+ Lu, Y., M. Y. Yang, G. Kamath, and Y. Yu (2024). "Indiscriminate Data Poisoning Attacks on Pre-trained Feature Extractors". arXiv preprint arXiv:2402.12626.
291
+ Muñoz-González, L., B. Biggio, A. Demontis, A. Paudice, V. Wongrassamee, E. C. Lupu, and F. Roli (2017). "Towards Poisoning of Deep Learning Algorithms with Back-gradient Optimization". In: Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security (AISec), pp. 27-38.
292
+ Radford, A. et al. (2021). "Learning transferable visual models from natural language supervision". In: International conference on machine learning. PMLR, pp. 8748-8763.
293
+ Rombach, R., A. Blattmann, D. Lorenz, P. Esser, and B. Ommer (2022). "High-resolution image synthesis with latent diffusion models". In: Proceedings of the IEEE/CVF
294
+
295
+ conference on computer vision and pattern recognition, pp. 10684-10695.
296
+ Ruiz, N., Y. Li, V. Jampani, Y. Pritch, M. Rubinstein, and K. Aberman (2023). "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.
297
+ Saha, A., A. Subramanya, and H. Piriavash (2020). "Hidden trigger backdoor attacks". In: Proceedings of the AAAI Conference on Artificial Intelligence.
298
+ Sandoval-Segura, P., V. Singla, J. Geiping, M. Goldblum, T. Goldstein, and D. W. Jacobs (2022). "Autoregressive Perturbations for Data Poisoning". In: Advances in Neural Information Processing Systems.
299
+ Schuhmann, C., R. Kaczmarczyk, A. Komatsuzaki, A. Katta, R. Vencu, R. Beaumont, J. Jitsev, T. Coombes, and C. Mullis (2021). "LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairs". In: NeurIPS Workshop Datacentric AI. FZJ-2022-00923. Jülich Supercomputing Center.
300
+ Schuhmann, C. et al. (2022). "Laion-5b: An open large-scale dataset for training next generation image-text models". Advances in Neural Information Processing Systems, vol. 35, pp. 25278-25294.
301
+ Shafahi, A., W. R. Huang, M. Najibi, O. Suciu, C. Studer, T. Dumitras, and T. Goldstein (2018). "Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networks". In: Advances in Neural Information Processing Systems (NeurIPS), pp. 6103-6113.
302
+ Shan, S., W. Ding, J. Passananti, S. Wu, H. Zheng, and B. Y. Zhao (2024). "Nightshade: Prompt-Specific Poisoning Attacks on Text-to-Image Generative Models". In: 2024 IEEE Symposium on Security and Privacy (SP). IEEE Computer Society, pp. 212-212.
303
+ Sohl-Dickstein, J., E. Weiss, N. Maheswaranathan, and S. Ganguli (2015). "Deep unsupervised learning using nonequilibrium thermodynamics". In: International conference on machine learning. PMLR, pp. 2256-2265.
304
+ Somepalli, G., V. Singla, M. Goldblum, J. Geiping, and T. Goldstein (2023a). "Diffusion art or digital forgery? investigating data replication in diffusion models". In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6048-6058.
305
+ (2023b). "Understanding and Mitigating Copying in Diffusion Models". In: Advances in Neural Information Processing Systems (NeurIPS).
306
+
307
+ "Steinberg v. Columbia Pictures Industries, Inc." (1987).
308
+ Tran, B., J. Li, and A. Madry (2018). "Spectral Signatures in Backdoor Attacks". In: Advances in Neural Information Processing Systems (NeurIPS).
309
+ Vyas, N., S. Kakade, and B. Barak (2023). "On provable copyright protection for generative models". In: Proceedings of the 40 th International Conference on Machine Learning.
310
+ Wan, A., E. Wallace, S. Shen, and D. Klein (2023). "Poisoning Language Models During Instruction Tuning". arXiv preprint arXiv:2305.00944.
311
+ Wang, Z., E. P. Simoncelli, and A. C. Bovik (2003). "Multiscale structural similarity for image quality assessment". In: The Thrity-Seventh Asilomar Conference on Signals, Systems & Computers, 2003. Vol. 2. IEEE, pp. 1398-1402.
312
+ Yu, D., H. Zhang, W. Chen, J. Yin, and T.-Y. Liu (2022). "Availability Attacks Create Shortcuts". In: Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pp. 2367-2376.
313
+ Zhang, C., D. Ippolito, K. Lee, M. Jagielski, F. Tramér, and N. Carlini (2021). "Counterfactual memorization in neural language models". arXiv preprint arXiv:2112.12938.
314
+ Zhu, C., W. R. Huang, H. Li, G. Taylor, C. Studer, and T. Goldstein (2019). "Transferable clean-label poisoning attacks on deep neural nets". In: International Conference on Machine Learning, pp. 7614-7623.
315
+
316
+ # A. Additional Experiments on Revealing Disguises
317
+
318
+ We provide additional experimental results on revealing disguises to further support our observations.
319
+
320
+ Textual inversion on $x_{c}$ and $x_{b}$ : Recall that Figure 3, Figure 4 and Figure 5 show the disguised images $x_{d}$ and the new images generated by textual inversion. To further show the effect of our algorithm on generating disguises, we directly perform a textual inversion (with the same setting in our main experiments) on the copyrighted images $x_{c}$ and the base images $x_{b}$ below. Firstly, for copyrighted symbols:
321
+
322
+ Learning on the copyrighted images $x_{c}$ :
323
+
324
+ ![](images/f5db6fcc7fb3eb44c07a3282853d00ee90e002a7b8d2e708b601ce0d54940e73.jpg)
325
+ Figure 8: Textual inversion on images $x_{c}$ with the copyrighted symbol "A". The first row shows the copyrighted images $x_{c}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{c}$ .
326
+
327
+ Learning on the base images $x_{b}$ :
328
+
329
+ ![](images/5c810a6fecf411639231365d9706a3f79a05a14373ed3231649d3a13dd33f097.jpg)
330
+ Figure 9: Textual inversion on base images $x_{b}$ (different images of a bottle). The first row shows the base images $x_{b}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{b}$ .
331
+
332
+ Comparing with Figure 3, we observe that although the disguises $x_{d}$ look visually similar to their corresponding base images $x_{b}$ , they contain drastically different latent information.
333
+
334
+ Next, we show the results for copyrighted content in the same format:
335
+
336
+ Learning on the copyrighted images $x_{c}$ :
337
+
338
+ ![](images/d541fe36a4195296e4d2d828f38268fc732ae214ce46794b09b83cb10df807ae.jpg)
339
+
340
+ ![](images/ad46ef1c98bd2e2c414554c579a87f1c00773f9f6af23f46166ad8149242fc56.jpg)
341
+
342
+ ![](images/c6d5bbfcab7c0961ade50a22b1052657775caf2f2f50d16824407941258ee743.jpg)
343
+
344
+ ![](images/c0bd02d42eee2bd4861caebc4b43ae5f919b82b3f0c6a61dd62b7fe3695626d6.jpg)
345
+ Figure 10: Textual inversion on copyrighted images $x_{c}$ (The Sunflowers by Vincent Van Gogh). The first row shows the copyrighted images $x_{c}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{c}$ .
346
+
347
+ ![](images/1bf891d6fc18d6b92d95820b770ac20c864b1de1657b19c17482e2b7b41b9592.jpg)
348
+
349
+ ![](images/cacc4e75a334a855c80c521a97f1e719df37ea15ebfe9b6db6c73c19578f7602.jpg)
350
+
351
+ ![](images/e56753732b3535d0d337697f0d53eec0e34c1ad40372a261dee368b2af227810.jpg)
352
+
353
+ Learning on the base images $x_{b}$ :
354
+
355
+ ![](images/c6c941730738cbe96428058ef32bebc5b8a97557a5849f1197837589d55ee591.jpg)
356
+
357
+ ![](images/69ee14721c171b589a090ddefd1a95e84e5f69d6f8023a7f642c8b3470241b3d.jpg)
358
+
359
+ ![](images/d2df1c982589da16e7e4cb8124f69723208cc63bb040ac9880fb608568df3620.jpg)
360
+
361
+ ![](images/7673fb262ef0eddacf965cd8e81a1372d79ff773f28ccfcb231cbcecdb47b41d.jpg)
362
+ Figure 11: Textual inversion on base images $x_{b}$ (images of sketched houses with the blurry version of the corresponding $x_{c}$ as the background). The first row shows the base images $x_{b}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{b}$ .
363
+
364
+ ![](images/72bc442e972b39735fd0b4811d3f3cbf2916bf5e0e1b4007d6de3d5884f397dc.jpg)
365
+
366
+ ![](images/8ed5a9895d4720c13f196df318fda51e7d7f04273517d699b80db21b1ca0e072.jpg)
367
+
368
+ ![](images/ac66dfd9546d4fb0887849f80fc06c4c4b0f4c9505e605bffd89082d2d257f68.jpg)
369
+
370
+ Compared to Figure 4, we observe that the background (blurry version of the $x_{c}$ ) does not provide any information regarding the copyrighted images $x_{c}$ , and the success of the disguises is accomplished by our generating algorithm.
371
+
372
+ Finally, we show the results for style scraping:
373
+
374
+ Learning on the copyrighted images $x_{c}$ :
375
+
376
+ ![](images/aa876914eca891bb044f87e36a82bb788abfcba299c6d9380394c1f674c45229.jpg)
377
+
378
+ ![](images/ce644d058e725b4d433a0c1b9347ea769686be2f078d94cf589a88a7b39284e0.jpg)
379
+
380
+ ![](images/cb0d5e085d8371c6240ebc71d06b6928284e94852770e0bced9f38eead6e6c49.jpg)
381
+
382
+ ![](images/2eeb4bfd5b5aeaff71de033771e42b05856829ac201ebd97955de2c1fa583b86.jpg)
383
+ Figure 12: Textual inversion on copyrighted images $x_{c}$ (images in the style of The Starry Night by Vincent Van Gogh). The first row shows the copyrighted images $x_{c}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{c}$ .
384
+
385
+ ![](images/19812b1c97080c7a1492b2bd34caecb557330dff96f0580f3db4c12d47fc9488.jpg)
386
+
387
+ ![](images/fd41cd1530f227e01598954c1f81e11e097c588e1ecbfda15e539e87b7647430.jpg)
388
+
389
+ ![](images/8b065df7a6a21645cb820538858a6c3e716527b3ed4ba68eccf7521e853e6fa7.jpg)
390
+
391
+ Learning on the base images $x_{b}$ :
392
+
393
+ ![](images/8e327b49a200aa0cab5f819de6687c9f4e1b46ddb80a6b2fb3635efa46c8ced2.jpg)
394
+
395
+ ![](images/8903f3ee63100cd35ef780a8675dd5b302f22d488230210ac495ab2f6a8b95ff.jpg)
396
+
397
+ ![](images/8f03694d11da597a97e62f8b78aab0cb3f45e9bd2a5cc4e2c03468099fdef167.jpg)
398
+
399
+ ![](images/d453027e2aa47353d75843637972544cf77ff306f66e029c15d200ea5fc51069.jpg)
400
+ Figure 13: Textual inversion on base images $x_{b}$ (images in watercolor style). The first row shows the base images $x_{b}$ , and the second row shows new images generated by textual inversion after learning on the above $x_{b}$ .
401
+
402
+ ![](images/ba67999d5e1b2e73732e3c8299cc35be8871a08f531a4e4558e5f616af7babd6.jpg)
403
+
404
+ ![](images/7467c76f337fd4d1c93cd6e4634a90e63d7d47481695fb9150a0adc23e39f22f.jpg)
405
+
406
+ ![](images/e4538ed4696ee449b52d1a2e6337475c9b936ce095b639c864233230e4493cde.jpg)
407
+
408
+ Compared to Figure 5, we again confirm that the disguises $x_{d}$ generated for style scraping look visually similar to their corresponding base images $x_{b}$ but contain latent information similar to $x_{c}$ .
409
+
410
+ Choice of $x_{b}$ for generating disguised content: Recall that for generating disguises in Figure 4, we choose a blurry version of $x_{c}$ as background to retain the color pattern. Here we demonstrate the necessity of the background by substituting it for a white background as base images $x_{b}$ . In Figure 14, we observe that the disguises fail in reproducing the copyrighted content on textual inversion.
411
+
412
+ ![](images/dd35c7c29eef0c1031a15a65a935f69d837536d5d517d6fb7fe9769b63923ed2.jpg)
413
+ Figure 14: Failure to learn the copyrighted content (The Sunflowers) from a disguised sketch of the house with a white background. The first row: disguises; the second row: images generated by textual inversion.
414
+
415
+ Initialization for unbounded disguises: In Figure 6 (first column), we show the disguises generated without any input constraints. Note that the disguise (for the copyrighted symbol) still contains the base image as background as the initialization of the disguise is $x_{b}$ . To confirm, we show two different initializations (zero tensor and Gaussian noise) in Figure 15 and observe that the background diminishes while the disguises still contain the copyrighted symbol.
416
+
417
+ ![](images/2d9f199d2d63e411a9e479b385b871ada753ad49727a7bf8afe20a4e0ed6c621.jpg)
418
+
419
+ ![](images/0780506f36715d446017e655acc13568e62b5fdf3878ffff4a585bd5fb09fabf.jpg)
420
+ Disguises $x_{d}$
421
+
422
+ ![](images/026f610031bf4d0024ce9abf6e6df23806fef22c8105f86ab8453514d565e059.jpg)
423
+
424
+ ![](images/dd96e44b13ac451d1e8ac77ef4c64e908f106f02122a2c6da21fa1549ae196ab.jpg)
425
+ Inference on textual inversion by learning on $x_{d}$ only
426
+ Figure 15: Textual inversion on the disguised symbol without any input constraints. We deploy different initializations for generating disguises: the first row: zero tensor; the second row: Gaussian noise.
427
+
428
+ # B. Data augmentation
429
+
430
+ In textual inversion, images are horizontally flipped with $50\%$ probability. In this section, we explore how this affects the success of our disguises. The top two rows of Figure 16 show the results of training textual inversion on our disguise as well as its horizontally flipped augmentation. For the simpler concept of watermarking, textual inversion learns a concept similar to the intended one even when the input image is flipped. On the other hand, when the concept becomes more difficult,
431
+
432
+ textual inversion struggles to learn the concept under a horizontal flip augmentation (top right of Figure 16).
433
+
434
+ ![](images/90f4b117de61629c7f813256d0b5f3e4c7a949979ffbd693b4beff9c2b1d6305.jpg)
435
+ Disguise $x_{d}$
436
+
437
+ ![](images/92e98cfbc29764dd40d1898919c4b93d2f0337d9f6b095db768301366346417d.jpg)
438
+ Learn on $x_{d}$
439
+ Learn on $hflip(x_d)$
440
+
441
+ ![](images/dccbcfa13722e7bf5afe722b011c87e887633c6665c63d2a68e513150582926f.jpg)
442
+ Disguise $x_{d}$
443
+
444
+ ![](images/5d28d61357bc33e93a77489a52d85ca966e314d283d0e99729b774a8ed76d2ff.jpg)
445
+ Learn on $x_{d}$
446
+ Learn on $hflip(x_d)$
447
+
448
+ ![](images/87b95d390ff91013e3bf2f02ae0a0a7a2fd1fbe7a0b18ffe88601171eb862a2e.jpg)
449
+ Disguise $x_{d}$
450
+
451
+ ![](images/07e6621ec344e18e5f87c321cd86704c823de02de7c68cc323bb9f549b049a49.jpg)
452
+ Learn on $x_{d}$
453
+ Learn on $hflip(x_d)$
454
+
455
+ ![](images/c5646fb71838276404aa4f5329d6491a27e94032fdbc38a981d2c948084b8113.jpg)
456
+ Disguise $x_{d}$
457
+
458
+ ![](images/f5bf91a40e3d64ac1e0a700c101e78467998e1ed5f83ae4bb4e3284410a22433.jpg)
459
+ Learn on $x_{d}$
460
+ Learn on $hflip(x_d)$
461
+ Figure 16: Textual inversion on different disguises. Top left: textual inversion on a single watermarking disguise. Top right: textual inversion on a single content disguise. Bottom row: same as top row, but with robust disguises.
462
+
463
+ To ensure that a horizontal flip augmentation would not damage the quality of our poison, we construct a new robust poison that additionally penalizes the distance between the features of the horizontally flipped poison and the horizontally flipped copyrighted image $x_{c}$ . This can be done with a simple change to the objective from
464
+
465
+ $$
466
+ \underset {x _ {d}} {\operatorname {a r g m i n}} \alpha D _ {1} (x _ {b}, x _ {d}) + D _ {2} (\mathcal {E} (x _ {c}), \mathcal {E} (x _ {d}))
467
+ $$
468
+
469
+ to
470
+
471
+ $$
472
+ \operatorname * {a r g m i n} _ {x _ {d}} \alpha D _ {1} (x _ {b}, x _ {d}) + D _ {2} (\mathcal {E} (x _ {c}), \mathcal {E} (x _ {d})) + D _ {2} (\mathcal {E} (h f l i p (x _ {c})), \mathcal {E} (h f l i p (x _ {d}))).
473
+ $$
474
+
475
+ The bottom two rows of Figure 16 demonstrate the effectiveness of the robust poison and its qualitative improvement under horizontal flipping.
476
+
477
+ Table 1: The encoder-decoder examination's threshold $\zeta$ , mean construction losses, false positive rate, and binary AUROC across symbol, content, and style disguises. The second group of rows is for the setting of mixture with base images, and the third group of rows is for the setting of mixture with 100 randomly selected Imagenette images.
478
+
479
+ <table><tr><td></td><td>Symbol</td><td>Content</td><td>Style</td></tr><tr><td>Exd(Lreconstruct xd))</td><td>0.0856</td><td>0.1632</td><td>0.2667</td></tr><tr><td>Threshold ζ</td><td>0.0703</td><td>0.1412</td><td>0.2506</td></tr><tr><td>Exb(Lreconstruct xb))</td><td>0.0502</td><td>0.0256</td><td>0.0551</td></tr><tr><td>FPR (xb misclassified)</td><td>1/4</td><td>0/3</td><td>0/3</td></tr><tr><td>AUC</td><td>0.8750</td><td>1</td><td>1</td></tr><tr><td>Exclean(Lreconstruct(xclean))</td><td>0.0655</td><td>-</td><td>-</td></tr><tr><td>FPR (xclean misclassified)</td><td>42/100</td><td>2/100</td><td>0/100</td></tr><tr><td>AUC</td><td>0.7550</td><td>0.9933</td><td>1</td></tr></table>
480
+
481
+ # C. Quantitative detection
482
+
483
+ In Section 4.4, we show how to qualitatively distinguish a disguise with encoder-decoder examination. In this section, we further examine two quantitative detection scenarios with/without the presence of the copyrighted image $x_{c}$ :
484
+
485
+ Without the presence of $x_{c}$ : Specifically, we observe that in Figure 7, for disguises $x_{d}$ , the input $x_{d}$ and output of the autoencoder $\mathcal{D}(\mathcal{E}(x_d))$ are significantly different, i.e., the reconstruction loss $D_{1}(\mathcal{D}(\mathcal{E}(x_{d})),x_{d})$ is "big" (recall that $D_{1}$ is the distance measure in the input space, a sum of MS-SSIM loss and $L_{1}$ loss). This property differs from normal images, which are expected to have low reconstruction loss. Leveraging this intuition, we develop a detection criterion for disguised images:
486
+
487
+ $$
488
+ x \text {i s a d i s g u i s e i f} \mathcal {L} _ {\text {r e c o n s t r u c t}} (x) := D _ {1} (\mathcal {D} (\mathcal {E} (x)), x) \geq \zeta
489
+ $$
490
+
491
+ for some threshold $\zeta$ . The choice of $\zeta$ differs on different tasks (depending on the choice of the task, which we specify below). Note that this detection mechanism does not require any knowledge of the copyrighted image and is simply a data sanitization method that can be applied to any dataset.
492
+
493
+ In Table 1, we show the effectiveness of our proposed method across the three tasks we performed in Section 4 (copyrighted symbol, content, and style). Row 2 shows the mean of the reconstruction loss for the disguises we generated for each task; Row 3 shows the choice of threshold $\zeta$ as the lowest reconstruction loss out of all the disguised images such that there are no false negatives. Rows 4-6 examine the detection performance in terms of FPR (False Positive Rate) and AUC (Are Under the Curve) within the pool of the mix of the disguises $x_{d}$ and their corresponding base images $x_{b}$ ; Rows 7-9 performs the same examination on a larger pool of the mix of the disguises $x_{d}$ and a subset of 100 images randomly chosen from ImageNet.
494
+
495
+ We observe that for copyrighted symbols, as the copyrighted images $x_{c}$ (see Figure 8) and the base images $x_{b}$ (see Figure 9) share the same background and only differ on the symbol, the reconstruction loss of $x_{d}$ is low (mean of 0.0856) and falls into the range of that of clean images, thus having a higher FPR and a lower AUC than the other two tasks.
496
+
497
+ With the presence of $x_{c}$ : In practical scenarios (e.g., examination in court), one may already have acquired the copyrighted images $x_{c}$ and want to find its (possible) corresponding disguise from a dataset. In such scenarios, one may directly use the detection method introduced in Section 4.4. We repeat the above experiment using our feature similarity search as a first step, which we recall, screen disguises using the criterion $D_{2}(\mathcal{E}(x_{c}),\mathcal{E}(x_{d}))\leq \gamma_{2}$ . We acquire perfect AUC score and obtain no false positives across all tasks, which indicate that the second step (encoder-decoder examination) is not required for this specific task.
498
+
499
+ # D. Circumventing the detection?
500
+
501
+ A stronger disguise may be generated to circumvent our detection method (e.g., the encoder-decoder examination). This can be possibly accomplished by modifying the disguise generation objection. Recall that our previous objective is:
502
+
503
+ $$
504
+ \operatorname * {a r g m i n} _ {x _ {d}} \alpha D _ {1} (x _ {b}, x _ {d}) + D _ {2} (\mathcal {E} (x _ {c}), \mathcal {E} (x _ {d})),
505
+ $$
506
+
507
+ Here we wish to also minimize the input distance between $x_{d}$ and its autoencoder output $D_{1}(\mathcal{D}(\mathcal{E}(x_{d})),x_{d}))$ , thus we can modify our objective to:
508
+
509
+ $$
510
+ \operatorname * {a r g m i n} _ {x _ {d}} \alpha (D _ {1} (x _ {b}, x _ {d}) + D _ {1} (\mathcal {D} (\mathcal {E} (x _ {d})), x _ {d})) + D _ {2} (\mathcal {E} (x _ {c}), \mathcal {E} (x _ {d}))
511
+ $$
512
+
513
+ We perform experiments on the copyrighted symbols and observe in Figure 17 that, the additional term adds a constraint such that $x_{d}$ and $\mathcal{D}(\mathcal{E}(x_d))$ are visually similar (row 2). However, performing textual inversion on these images also fails to reveal the copyrighted symbol. We conclude that this method might not be ideal, and additional study might be required.
514
+
515
+ # E. Additional experiments on disguised style
516
+
517
+ In this section, we exhibit additional experimental results on style transfer by extending the choices of the (designated) copyrighted style $x_{c}$ and base images $x_{b}$ .
518
+
519
+ Disguises in the style of Claude Monet: Recall that in Section 4, we choose the base images $x_{b}$ as the ones with the watercolor style. In the following experiments, we aim to change $x_{b}$ to images with the style of Claude Monet and still generate disguises $x_{d}$ that implicitly contain the style of Vincent Van Vogh. In Figure 18, we first create the $x_{c}$ using style transfer (Huang and Belongie 2017), which is San Giorgio Maggiore at Dusk (1908-1912) by Claude Monet transferring to the style of The Starry Night by Vincent Van Gogh. In Figure 19, we create the disguise $x_{d}$ (row 1, column 2) with the
520
+
521
+ ![](images/4da44df739903f5dcbb0890425f5f08046ae5d713629fb678db610c425ce338c.jpg)
522
+ Figure 17: An attempt to evade the encoder-decoder detection on symbols. The first row shows the disguises $x_{d}$ , and the second row includes the output of the autoencoder $\mathcal{D}(\mathcal{E}(x_d))$ that is unable to reveal the copyrighted information contained in the disguises. The third row shows the (unsuccessful) outcome of applying textual inversion to learn the hidden symbol.
523
+
524
+ visual appearance of the base $x_{b}$ and show that the images generated by textual inversion after training on $x_{d}$ still contain the style of The Starry Night.
525
+
526
+ ![](images/8baf803ae31da941d1bc15ca667bd5be599d5717d92c4335ba52d374b92fbd07.jpg)
527
+ (1) San Giorgio Maggiore at Dusk
528
+
529
+ ![](images/f5aed6693cf83a11e0fbdcb0e7993bdb191bcc4211e198c55f5c0eded4038885.jpg)
530
+ (2) The Starry Night
531
+ Figure 18: Creating the copyrighted image $x_{c}$ (third column) using AdaIN-based style transfer (Huang and Belongie 2017). $x_{c}$ is San Giorgio Maggiore at Dusk by Claude Monet transferring to the style of The Starry Night by Vincent Van Gogh. Scraping the style of other artists: In the previous experiments, we choose the style of The Starry Night as the designated copyrighted style. Next, we show the results for disguised style scraping of another artist Cecily Brown<sup>10</sup>. In Figure 20, we
532
+
533
+ ![](images/07639f07334e1f92e37bda2d4e711ac396a5e44b2401f266f8d48e7c42962ec5.jpg)
534
+ $x_{c}$ : (1) with the style of (2)
535
+
536
+ ![](images/972e20e7342eecb23ab1e97ef93603181cebfc6910f8bae3eb8e1eefe3bb266e.jpg)
537
+ Base $x_{b}$
538
+
539
+ ![](images/a92b6ac1dbcc28f4fe57d93e52ad76e49b87f45d203514b0e838b39d88dc4736.jpg)
540
+
541
+ ![](images/a5a4ea11e42a0f232f6c1532abc0813853879bff385457c52824adaefe67d53f.jpg)
542
+ $x_{c}$
543
+
544
+ ![](images/1f6ffe3656e0ed4dd3cbcfcbdad976e3523d491911d0b4008c8871f2f2256997.jpg)
545
+ Images generated by textual inversion after training on the $x_{d}$
546
+
547
+ ![](images/e2c197b213a86936a0867d7c876a1dbbbba8631f1ecb3a6263040f70a6bf2bd4.jpg)
548
+ Disguise $x_{d}$
549
+
550
+ ![](images/e9f6d9652edc859214136ada1146ba5625f8df05c704a01a37f3967b56efbc82.jpg)
551
+ Figure 19: Additional results on the disguised copyrighted style with textual inversion, where we generate disguise $x_{d}$ that visually resembles the style of Claude Monet but containing the style of Vincent Van Gogh in the latent space.
552
+
553
+ ![](images/b369d354a09ce9a91b758b01985a770a824e34d6819268d399ae0032bbfd0a64.jpg)
554
+
555
+ first create the $x_{c}$ using style transfer (Huang and Belongie 2017), which is Taj Mahal (adamkaz/Getty Images) transferring to the style of the painting with serial number 56542 by Cecily Brown<sup>11</sup>. In Figure 21, we create the disguise $x_{d}$ (row 1, column 2) with the visual appearance of the base $x_{b}$ (row 1, column 1) and show that the images generated by textual inversion after training on $x_{d}$ contain the style of the style of Cecily Brown.
556
+
557
+ Finally, in Figure 22, we compare two different disguises $x_{d}$ and observe images that visually look similar can contain drastically different styles in the feature space, which again demonstrates the threat of disguised copyright infringement.
558
+
559
+ ![](images/6d3fb5d3ba04f9e8d6ab57fe8d591187610059e8e575ab82f3b9e6f86b42df8b.jpg)
560
+ (1) Taj Mahal (watercolor)
561
+
562
+ ![](images/0799b31dfa615ea1bf204b55c427a7072a95b3cbf647c396b253e1ff0a77e900.jpg)
563
+ (2) Cecily Brown-56542
564
+
565
+ ![](images/7a128a220cbfc08cd63cfbaf066cacd77b83f34806395d3f80dce6b8d9b70bed.jpg)
566
+ $x_{c}$ : (1) with the style of (2)
567
+ Figure 20: Creating the copyrighted image $x_{c}$ (third column) using AdaIN-based style transfer (Huang and Belongie 2017). $x_{c}$ is Taj Mahal transferring to the style of Cecily Brown.
568
+
569
+ Choice of $x_{b}$ : In previous experiments, we construct the disguises $x_{d}$ by choosing the base image $x_{b}$ to have a different style from $x_{c}$ but containing the same content. In Figure 23, we also explore the possibility of choosing a random base image from ImageNet (row 1, column 1). Our results show that although the style is partially learned by textual inversion from the disguise $x_{d}$ , it also loses the structural information of $x_{c}$ .
570
+
571
+ ![](images/80b37d66ddaec7f76acbe28e2e7255399586e60d0ebf32629507d3158fd90bb5.jpg)
572
+
573
+ ![](images/2d0280707c58d1918e100488d1797bf919782fbf2e75b6f14a9618f3edda3ad1.jpg)
574
+ Figure 21: Additional results on the disguised copyrighted style with textual inversion, where we generate disguise $x_{d}$ that visually resembles the watercolor style but containing the style of Cecily Brown in the latent space.
575
+
576
+ ![](images/497df848a8631492f17a656bb14811898453908859cd2aa330524e0525a80282.jpg)
577
+ Taj Mahal in watercolor style
578
+
579
+ ![](images/6db57c1557b670673aef9619e183ef662b268cd7ca3896d893a9188d3c795e31.jpg)
580
+ Taj Mahal in The Starry Night style
581
+
582
+ ![](images/ad62acbdd55f4dfa553d5b61d036ad1bf080f7bece644abed2aaf30418db6732.jpg)
583
+ Taj Mahal in Cecily Brown style
584
+
585
+ ![](images/3d78459b95aab8ecf8a4851fb531e33328afa21b4da4595b06891c5281c32195.jpg)
586
+ Taj Mahal in watercolor style
587
+
588
+ ![](images/8fcf0f8782903214cf8e6590c5052f7a3217a66ac8c227de17bddaf218adbb93.jpg)
589
+ $x_{d}$ (The Starry Night style)
590
+
591
+ ![](images/60f554a698aa19ab2fb6cafac14f5cb0defb20708a27bda9f6342812b6a7f579.jpg)
592
+ $x_{d}$ (Cecily Brown style)
593
+ Figure 22: Comparison between different disguises $x_{d}$ we generated that contain drastically different styles in the feature space, but are visually similar in the input space.
594
+
595
+ ![](images/97847b47ccaddc8544b9155ab5271cadbf625217712010675d2ebf149a1ecae8.jpg)
596
+
597
+ ![](images/59425ffaa904c9d33f9dc53cffc66aea51a1ea73315d00c12618c65d0f68ab25.jpg)
598
+ Base $x_{b}$
599
+ Disguise $x_{d}$
600
+ $x_{c}$
601
+ $\mathcal{D}(\mathcal{E}(x_d))$
602
+ Images generated by textual inversion after training on the $x_{d}$
603
+ Figure 23: Additional results on the disguised copyrighted style with textual inversion, where we generate disguise $x_{d}$ that visually resembles a random base image but intend to contain the style of The Starry Night in the latent space.
604
+
605
+ # F. Disguises in the Wild
606
+
607
+ We have previously revealed the concept hidden in the disguised data using textual inversion, which is also an LDM-based application that can possibly generate copyright materials. In this section, we further extend our evaluation to other LDM-based pipelines that change the parameters of the U-Net. Specifically, we consider DreamBooth (Ruiz et al. 2023), which fine-tunes a pre-trained LDM model with only a few disguised images (similar to textual inversion); and mixed-training that contains both clean data and a small portion of disguises.
608
+
609
+ # F.1. Evaluation on DreamBooth
610
+
611
+ Main results: In Section 4, we reveal the latent (copyrighted) information contained in the acquired samples $x_{d}$ using textual inversion, where the diffusion model (i.e., the U-Net in LDM) is not retrained. To further demonstrate the effectiveness of the disguises $x_{d}$ and examine disguised copyright infringement in other scenarios, we further perform evaluation on DreamBooth (Ruiz et al. 2023), an LDM-based fine-tuning method on a small set of images designed for subject-driven generation. Specifically, we choose five images from the DreamBooth dataset<sup>12</sup> as the (designated) copyrighted image $x_{c}$ , and generate their corresponding disguises $x_{d}$ using Algorithm 1 by choosing the noisy version of $x_{c}$ as the base images $x_{b}$ , training 10000 epochs and setting the weight parameter $\alpha = 1000$ . After generating the disguises $x_{d}$ , we apply DreamBooth for fine-tuning (on $x_{d}$ only) and inference following the general recipe<sup>13</sup>. In Figure 24, we show the copyrighted images $x_{c}$ in the first row, their corresponding disguises $x_{d}$ in the second row, and images generated by DreamBooth by fine-tuning with the above $x_{d}$ in the third row. Our results qualitatively confirm that copyrighted information in $x_{c}$ can be reproduced by fine-tuning on $x_{d}$ with DreamBooth.
612
+
613
+ Evaluation on model utility: To further examine the practicality of the disguises, we want to demonstrate that the model utility is not depreciated after training (or fine-tuning) on $x_{d}$ . To accomplish this task, we perform the same text-to-image generation task with the prompt "a photo of an astronaut riding a horse on Mars" before/after training on $x_{d}$ with LDM. Specifically, the "before" model is Stable Diffusion v1-4, and the "after" model is the acquired model by fine-tuning the "before" model on the dog disguise (second row, first column in Figure 24). We show our results in Figure 25 for 6
614
+
615
+ ![](images/40e90f696680b4cea345b327c94f17481c95742ecffbd7321e70c87e851bc2d5.jpg)
616
+ Images generated by DreamBooth by fine-tuning with the above disguises
617
+
618
+ ![](images/e5696870ecd94dbd6e75a6d5e871e32aa24f50c210f11e14f2b582b670ddc09e.jpg)
619
+ Figure 24: We show the disguised copyright infringement with DreamBooth. The first row: the designated copyrighted image $x_{c}$ from the DreamBooth dataset; the second row: the corresponding disguises $x_{d}$ generated with our Algorithm 1; the third row: images generated by DreamBooth after training on the above disguises $x_{d}$ .
620
+
621
+ ![](images/45224c302aa38740cc1656050be14d4c31c655b125f54acbbba4e484840b4b7d.jpg)
622
+ Images generated by LDM before fine-tuning with our disguises using DreamBooth
623
+ Images generated by LDM after fine-tuning with our disguises using DreamBooth
624
+ Figure 25: Utility validation: images generated by LDM using the prompt "a photo of an astronaut riding a horse on Mars" before/after fine-tuning with our disguises in Figure 24 (row 2, column 1) with DreamBooth.
625
+
626
+ inferences and observe that the generation ability of the model is not compromised. We will show in the next section that this observation extends to LDM training.
627
+
628
+ # F.2. Mixed-training on CelebA-HQ
629
+
630
+ In the previous experiments, we have performed textual inversion and fine-tuning with DreamBooth where the disguises $x_{d}$ are the entire training set. In this section, we extend our experiments to more challenging settings where the disguises $x_{d}$
631
+
632
+ ![](images/606bf0a8ea1c2e1b930ff1eb7c32656ddde278a2d84379a511dd8babf8d030e4.jpg)
633
+ Target images $x_{c}$ with the copyrighted symbol
634
+
635
+ ![](images/24ddd1c35b251b6628ee8f26fc08b3e62ecf680c3ef711f7742870ea500acbc7.jpg)
636
+
637
+ ![](images/77d810ca437f313202b7f723a78bdfc0c27102d44c2ab06801531a833dac360c.jpg)
638
+ Disguises $x_{d}$
639
+
640
+ ![](images/e1f065c9e3421ccb1ce720d82fe3453d99ce8c80667d52d3bf705446cccc6c0c.jpg)
641
+
642
+ ![](images/64f70322db141877f5ef3d701353b24a0ab300ee77e4373764fd355331fd5855.jpg)
643
+ Images generated by LDM by training on clean images (1000) and disguises (100)
644
+ Figure 26: Disguised copyright infringement during mixed-training for unconditional generation on CelebA-HQ. The first row: the designated copyrighted image $x_{c}$ with a red symbol "A"; the second row: the corresponding disguises $x_{d}$ ; the third to fifth rows: images generated by LDM by training on 1000 clean images and 100 disguises (each disguise above contributes 20 copies). Images highlighted with a red box indicate reproductions of the copyrighted symbol.
645
+
646
+ only constitute a small portion of the training set and are overwhelmed by the clean samples. Specifically, we randomly take a subset of 1000 images from CelebA-HQ/256 $^{15}$ as clean training samples, and another subset of 5 samples (outside of the clean set) and add a (designated) copyrighted symbol "A" to all of them to construct $x_{c}$ (first row in Figure 26). Next, we construct the corresponding disguises $x_{d}$ (second row in Figure 26) to visually remove the symbol using Algorithm 1 and duplicate each disguise 20 times to construct a disguise set containing 100 images. Overall, we acquire a training set of 1100 images where the disguise fraction is $\frac{1}{11}$ . We initialize the model with the CompVis official model $^{16}$ to preserve reasonable generation performance and train the model on the mixed dataset for 200 DDIM steps. In Figure 26 (rows 3-5) we show the images generated by the model after training (inference for 20 times) and observe 3 out of 20 images contain the copyrighted symbol, which demonstrated the effectiveness of the disguises for mixed-training scenarios.
2024/Disguised Copyright Infringement of Latent Diffusion Models/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5300677ae6067e63f88d852ac7cd3ec5569fc2de2d3c077910dd7bf9ecb9e8a
3
+ size 2821080
2024/Disguised Copyright Infringement of Latent Diffusion Models/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_model.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/65264f8f-bd85-42cb-bcb3-d9992ec3bcc1_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb747bb957feadc3ca7ba344fa943b4c171cfd8904474f6c06ce9d33be8b7593
3
+ size 1453207
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/full.md ADDED
@@ -0,0 +1,509 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disparate Impact on Group Accuracy of Linearization for Private Inference
2
+
3
+ Saswat Das\*1 Marco Romanelli\*2 Ferdinand Fioretto
4
+
5
+ # Abstract
6
+
7
+ Ensuring privacy-preserving inference on cryptographically secure data is a well-known computational challenge. To alleviate the bottleneck of costly cryptographic computations in non-linear activations, recent methods have suggested linearizing a targeted portion of these activations in neural networks. This technique results in significantly reduced runtimes with often negligible impacts on accuracy. In this paper, we demonstrate that such computational benefits may lead to increased fairness costs. Specifically, we find that reducing the number of ReLU activations disproportionately decreases the accuracy for minority groups compared to majority groups. To explain these observations, we provide a mathematical interpretation under restricted assumptions about the nature of the decision boundary, while also showing the prevalence of this problem across widely used datasets and architectures. Finally, we show how a simple procedure altering the fine-tuning step for linearized models can serve as an effective mitigation strategy.
8
+
9
+ # 1. Introduction
10
+
11
+ Private Inference is the process of performing inference tasks on encrypted or private data, ensuring that the data remains confidential throughout the process. It has found application in ML settings where sensitive data is required for inference but should not be revealed to the model, for instance, when the model is owned by a cloud service provider and is not necessarily trusted. Although promising, cryptographic computations are notoriously computationally expensive when applied to nonlinear functions (Mishra et al., 2020), and, in the context of ML inference, Rectifier Linear Function (ReLU) activations are often identified as the pri
12
+
13
+ ![](images/7e4e04ea062d2a580addc7108bb44630dfc424d6bdeb3b7ea3b26ad4d411e50f.jpg)
14
+ Figure 1. ResNet18 accuracy on UTKFaces across various ReLU linearization budgets using SNL (Cho et al., 2022). $100\%$ ReLUs corresponds to the original model. Subgroup sample sizes are shown above the corresponding bars. The accuracy for the majority group remains almost unchanged while other groups, in particular the minority one, are diversely impacted.
15
+
16
+ mary cause of this computational burden (Cho et al., 2022; Jha et al., 2021; Kundu et al., 2023).
17
+
18
+ To address this challenge, various approaches have proposed to approximate these non-linear activations using linear surrogates. The objective is to develop a new model that minimizes the number of ReLU activations while maintaining the highest possible accuracy. Over time, the proposed frameworks have evolved in sophistication—it has been demonstrated that not only the quantity of ReLU activations matters (Jha et al., 2021), but their placement within the network is also crucial (Cho et al., 2022). Recent methods have advanced to the point where they can manage both the ReLU budget and the distribution of linearized neurons across the network, resulting in faster inference times with minimal sacrifice in accuracy (Kundu et al., 2023).
19
+
20
+ This paper builds on this body of work and observes that while these methods are indeed effective at trading run-time reduction for marginal global accuracy losses, these accuracy decreases are unevenly distributed among different subgroups. We find that the accuracy loss is more pronounced for underrepresented subgroups and that this impact intensifies as more ReLUs are linearized. This effect is depicted in Figure 1, which shows the accuracy impact across age groups on a facial recognition task. Remarkably, while the majority group (left-most) remains relatively un
21
+
22
+ harmed, minorities exhibit considerable reduction. These results are far from "expected": they challenge the assumption that linearization uniformly affects the learning model and underscore the need for different approaches in model optimization, particularly in diverse datasets.
23
+
24
+ Contributions. This paper makes the following contributions: (1) It observes, for the first time, a Matthew effect on the reduction of precision caused by the targeted linearization process adopted to reduce the number of ReLU functions in private inference methods. Further, it shows that such disparity is exacerbated as the number of approximated ReLU functions grows. (2) Next, it presents a mathematical interpretation of this phenomenon, which relates these disparity effects with the approximation capabilities of ReLU functions when assumptions on the space of the decision boundaries can be made. (3) It further shows that the effect of ReLU reduction on fairness is vastly present for commonly deployed algorithms and models when trained on unbalanced datasets. (4) Finally, the paper proposes a simple yet effective mitigation strategy that can be applied to any framework for ReLU reduction during the fine-tuning phase, showing favorable results in terms of fairness and overall accuracy reduction.
25
+
26
+ # 2. Related Work
27
+
28
+ Frameworks for ML Private Inference. The relationship between presence of ReLU activations and the inference time of a private inference model was first investigated by Mishra et al. (2020). The seminal solution proposed in this work is based on automatic generation of neural network architecture configurations, that navigates the performance-accuracy trade-offs over a given cryptographic protocol. Building on this intuition, Ghodsi et al. (2020); Lou et al. (2021) propose to selectively replace ReLU functions with, computationally more efficient, polynomial operations. DeepReDuce (DR) (Jha et al., 2021) takes this approach a step further by proposing a multi-step optimization, where portions of the network are replaced with linear functions, and then finetuned to recover the accuracy of the original model. The main drawback of these methods is the limited control over the "distribution" of the ReLU throughout the net. To tackle this issue, Selective Network Linearization (SNL) (Cho et al., 2022) proposes a custom activation node, where the linear and rectified behavior are parametrized and learned during training through a parametric mask. In line with this paradigm, the approach in Kundu et al. (2023) introduces a novel measure of nonlinearity sensitivity that helps reduce the need for manual efforts in identifying the best ReLU budget and placement.
29
+
30
+ Piece-wise Approximation with ReLU Functions. In addition to observing disparate impacts from methods that reduce the number of ReLU functions in neural networks,
31
+
32
+ our work seeks to explain these effects by linking them to the expressiveness and approximation capabilities of a Deep Neural Network (DNN). These studies trace back to seminal works in Cybenko (1989); Hornik (1991). The widespread use of ReLU activations to introduce non-linearity in the learning of decision boundaries has motivated early studies about their approximation power (Montúfar et al., 2014; Pan & Srikumar, 2016). Several papers have observed the effect of ReLU activations in the learning process (Hanin & Rolnick, 2019; Lin & Jegelka, 2018; Lu et al., 2017; Shen et al., 2022; Yarotsky, 2017). Among others, Arora et al. (2018); Liu & Liang (2021) distinguish themselves for contributions to the field, analyzing the connection between the number of ReLU activations and that of the approximated piecewise functions, along with a ReLU-dependent bound on the approximation error.
33
+
34
+ Privacy and Fairness Tradeoff in Machine Learning. Among other works on the tradeoff between privacy and fairness in machine learning, Bagdasaryan et al. (2019) provides mostly empirical evidence of the disparate effect of differentially private training algorithms on fairness, while Farrand et al. (2020) further investigates this phenomenon by considering different levels of differential privacy and unbalance in the datasets. These works provide empirical evidence to show the noise injection and the gradient clipping involved in differentially private Stochastic Gradient Descent impact the overall accuracy, and especially that of underrepresented classes. The privacy framework we consider is extremely different, as the diverse impact is not a direct consequence of the privacy preservation framework design, but of the architectural adjustments made to speed up cryptographic secure inference. Such adjustments impact the approximation capabilities of the model resulting in disparate accuracy across different groups.
35
+
36
+ Finally, model compression has also been shown to induce fairness issues. Empirical observations reported that quantization, network compression, and knowledge distillation could amplify the unfairness in different learning tasks (Lukasik et al., 2022; Hooker et al., 2020a;b; Joseph et al., 2020; Blakeney et al., 2021; Ahn et al., 2022). Inspired by these works, we show how ReLU linearization techniques may adversely affect the fairness of the resulting predictors.
37
+
38
+ # 3. Settings
39
+
40
+ The paper considers a dataset $S_{T}$ consisting of $N$ individual data points $(x_{i},a_{i},y_{i})$ , with $i\in [N]$ drawn i.i.d. from an unknown distribution $\Pi$ . Therein, $x_{i}\in \mathcal{X}$ is a feature vector, $a_{i}\in \mathcal{A} = [M]$ , for some finite $M$ , is a demographic group attribute, and $y_{i}\in \mathcal{Y}$ is a C-class label $(\mathcal{Y} = [C])$ . The goal is to learn a classifier $f_{\theta}:\mathcal{X}\to \mathcal{Y}$ , where $\pmb{\theta}$ is a vector of real-valued parameters. The classifier $f$ is often defined through a soft classifier $h_\theta :\mathcal{X}\rightarrow \mathbb{R}^C$ , that, for a
41
+
42
+ given input $\pmb{x}$ , produces scores for each label in $\mathcal{V}$ , defining $f_{\theta}(\pmb{x}) = \operatorname{argmax}_{j} h_{\theta}(\pmb{x}; j)$ where $h_{\theta}(\pmb{x}; j)$ denotes the $j$ -th component of $h_{\theta}(\pmb{x})$ . The model quality is measured in terms of a loss function $\ell: \mathcal{V} \times \mathcal{V} \to \mathbb{R}_+$ and the training minimizes the empirical risk function $J_{(\theta; S_T)}$ :
43
+
44
+ $$
45
+ \boldsymbol {\theta} ^ {*} = \underset {\boldsymbol {\theta}} {\operatorname {a r g m i n}} J (\boldsymbol {\theta}; S _ {T}) = \frac {1}{| S _ {T} |} \sum_ {(\boldsymbol {x}, a, y) \in S _ {T}} \ell \left(h _ {\boldsymbol {\theta}} (\boldsymbol {x}), y\right).
46
+ $$
47
+
48
+ The paper studies the disparate impacts of classifiers $f_{\theta}$ when it is subject to a ReLU partial reduction. The fairness notion employed is that of accuracy parity (Barocas et al., 2023), which holds when the classifier's misclassification rate is conditionally independent of the protected group. That is, for any $\bar{a} \in \mathcal{A}$
49
+
50
+ $$
51
+ \Pr \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \neq y | a = \bar {a}\right) = \Pr \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \neq y\right).
52
+ $$
53
+
54
+ In other words, this property advocates for equal errors of the classifier on different subgroups of inputs. Empirically, it is measured by comparing the accuracy rates over an evaluation set $S_{E}$ comprised of data points drawn from the same distribution $\Pi$ as the training set.
55
+
56
+ # 4. Why Network Linearization May Increase Unfairness?
57
+
58
+ This section introduces theoretical insights to elucidate the causes behind the observed disparity effects resulting from the linearization of ReLU reduction. We start by recalling some fundamental results that will help us develop our analysis in the rest of the paper. The first results (Liu & Liang, 2021) defines a connection between the number of piecewise functions and the approximation error of convex functions. Throughout the section, $\mathcal{F}$ denotes the set of strict convex univariate functions.
59
+
60
+ Proposition 4.1. Consider a function $f \in \mathcal{F}$ and let $f_{n}^{\star}$ be its optimal approximation through a piecewise linear function with $n$ segments. Then, the approximation error $\Delta(f_{n}^{\star})$ is bounded by the number of its segments, and it decreases at a rate of $O\left(\frac{1}{n^{2}}\right)$ .
61
+
62
+ The second result (Arora et al., 2018) upper-bounds the number of piecewise linear functions that can be represented by a ReLU network.
63
+
64
+ Proposition 4.2. Given a $\text{ReLU} \mathbb{R} \to \mathbb{R}$ $DNN$ with $k$ hidden layers, and layer widths $\omega_1, \ldots, \omega_k$ , the number of attainable linear pieces is at most $2^{k-1} \cdot (\omega_1 + 1) \cdot \omega_2 \cdot \dots \cdot \omega_k$ .
65
+
66
+ This bound links the network's capability to approximate complex decision boundaries with the count of ReLU functions it contains (see Appendix B.1 for an illustrative example). Together with the previous result on the approximation error linked to a specific number of pieces (Proposition 4.1),
67
+
68
+ ![](images/932c8d47b1cc69db25dacd39ac89ea7840b3aac77b9e8d491decf615c4baf723.jpg)
69
+ Figure 2. Decision boundary estimated by a ReLU model (left) and a linearized model (right). The ground truth decision boundary (black dotted line) separates majority (blue) from minority (red) samples. The linearized model shows an inferior approximation of the decision boundary, and therefore a lower prediction accuracy. Moreover, its decision boundary is deeper into to the minority class resulting in accuracy disparities.
70
+
71
+ it sets the stage for our subsequent analysis. We will illustrate that linearizing a number of ReLU functions not only leads to a potential decrease in accuracy when approximating nonlinear boundaries but it may also result in varying degrees of accuracy impact across distinct groups.
72
+
73
+ We start with an illustrative experiment, detailed in Figure 2. It analyzes a dataset requiring a non-linear decision boundary for class separation (black dotted line), representing a protected group in fairness terms, with majority (blue) and minority (red) classes. We compare two DNN models with identical structures but different activation functions: a ReLU model and a modified model where half of the ReLU activations are replaced with linear activations, as shown in Figure 2a and Figure 2b, respectively. Notice that, after training both models from scratch, the ReLU model achieves better boundary approximation and accuracy (99.3% globally, 100.0% for the majority class, and 93.0% for the minority class), while the modified model shows comparable global accuracy (99.0%) but much lower fairness, indicated by reduced accuracy for the minority class (88.0%) compared to the original ReLU model.
74
+
75
+ # 4.1. Decision Boundary Approximation and Fairness
76
+
77
+ These insights indicate that there exists classification instances where the quantity of ReLU functions within a DNN enhances the approximation of decision boundaries, thereby improving prediction accuracy. Although empirical results often apply to much more complex settings than those which can be analyzed formally, they align with the forthcoming theoretical findings. In the following, we will use $\theta$ to denote the parameters of the original ReLU network, which is assumed to have $R$ ReLU functions, and $\tilde{\theta}^r$ those associated to the linearized model, which retains $r$ ReLU functions. We omit the superscript when it is sufficient to denote a network retaining $1 \leq r < R$ ReLU functions.
78
+
79
+ ![](images/4026f1eda41cccfb08e0e42b36a2211fcb0a872b7e844373e9b6e01bb6868a83.jpg)
80
+ Figure 3. Grad Norms for classification on UTKFace with race labels using ResNet18 and SNL-based (Cho et al., 2022) ReLU linearization across various ReLU budgets. Subgroup sizes are reported on top of each bar group.
81
+
82
+ Proposition 4.3. Let $f \in \mathcal{F}$ be the optimal decision boundary for a classification task, and assume that $\theta$ implements $f_{n}^{\star}$ , i.e., the minimal error approximation. For a sample set $S^{a} = \{(x,\bar{a},y) \sim \Pi |\bar{a} = a\}$ with data points drawn from $\Pi$ containing exclusively members of group $a \in \mathcal{A}$ , it holds
83
+
84
+ $$
85
+ R (a) = J (\tilde {\boldsymbol {\theta}}; S ^ {a}) - J (\boldsymbol {\theta}; S ^ {a}) \geq 0,
86
+ $$
87
+
88
+ for any $a \in \mathcal{A}$ , where all the models are assumed to be trained to achieve their best possible performance.
89
+
90
+ The above follows directly from the optimality of $\theta$ . In other words, for this class of boundaries, any degree of ReLU linearization results in models with higher loss, within the class of decision boundaries considered.
91
+
92
+ The next result is adapted from Tran et al. (2021) which exploits a similar approximation in the context of differentially private stochastic gradient descent. We upper bound the drop in loss for a given group $a \in \mathcal{A}$ due to ReLU linearization by two key interpretable components: the gradient norm of the samples in group $a$ , and the maximum eigenvalues of the Hessian of the loss function associated with such a group.
93
+
94
+ Theorem 4.4. For a sample set $S^a = \{(x, \bar{a}, y) \sim \Pi | \bar{a} = a\}$ with data points drawn from $\Pi$ containing exclusively members of group $a \in \mathcal{A}$ , the difference between the risk functions of some protected group $a$ of a model $\theta$ trained on a ReLU network and one $\tilde{\theta}$ trained on a linearized ReLU network, is bounded by:
95
+
96
+ $$
97
+ \begin{array}{l} R (a) \leq \| \boldsymbol {g} _ {a} \| \times \| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \| + \frac {1}{2} \lambda (\boldsymbol {H} _ {a}) \times \| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \| ^ {2} \\ + O \left(\| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \| ^ {3}\right), \tag {1} \\ \end{array}
98
+ $$
99
+
100
+ where $\pmb{g}_a = \nabla J(\pmb{\theta}; S_T^a)$ describes the gradient norm of samples in group $a$ , $\pmb{H}_a^\ell = \nabla^2 J(\pmb{\theta}; S_T^a)$ is the Hessian of the loss function associated with group $a$ , and $\lambda(\Sigma)$ denotes the maximum eigenvalue of matrix $\Sigma$ .
101
+
102
+ ![](images/c536f0fafd2438564117d52747f0a632f140ca7149a5b6cdc010a9274cc1b1d8.jpg)
103
+ Figure 4. ResNet-18: Highest eigenvalues of Hessians for UTK-Face with race labels obtained from the base model.
104
+
105
+ The proof is based on the Taylor expansion of the loss function around the parameters $\theta$ and is relegated to Appendix A.2. In the above, and throughout the paper, the gradients are understood to be over the model's parameters.
106
+
107
+ There are two major takeaways from Proposition 4.2. For given parameter settings $\theta$ and $\tilde{\theta}$ , the first component of the bound is influenced by the gradient norm of the loss function for each group $a \in \mathcal{A}$ . Informally, the gradient provide information on how close the model is to local optima; larger gradients suggest sub-optimality, while smaller ones indicate proximity to these optima. Typically, in converged models, underrepresented groups tend to have larger gradient norms, implying a greater distance from local optima (cf. Appendix A.1). This aspect is highlighted in Figure 3, where each shade represents a linearized model variant with varying counts of retained ReLU functions. Here, it's evident that gradient norms are higher for underrepresented groups, decreasing as more ReLU functions are retained. Next, the bound's second term is governed by the Hessian of the loss function for each group $a \in \mathcal{A}$ . The Hessian reflects the local curvature, or sharpness, of the loss function. Generally, smaller Hessian eigenvalues suggest (with certain caveats) a flatter curve for the group loss, potentially indicating better generalizability to unseen samples.
108
+
109
+ Proposition 4.5. Consider a binary classifier $f_{\theta}$ trained using binary cross entropy loss. For any group $a \in \mathcal{A}$ the maximum eigenvalue of the group Hessian $\lambda(H_a)$ can be upper bounded by
110
+
111
+ $$
112
+ \lambda \left(\boldsymbol {H} _ {a} ^ {\ell}\right) \leq Z _ {1} + Z _ {2}, \tag {2}
113
+ $$
114
+
115
+ where,
116
+
117
+ $$
118
+ Z _ {1} = \frac {1}{\left| S ^ {a} \right|} \sum_ {\left(\boldsymbol {x}, a, y\right) \in S ^ {a}} \underbrace {h _ {\boldsymbol {\theta}} (\boldsymbol {x}) \left(1 - h _ {\boldsymbol {\theta}} (\boldsymbol {x})\right)} _ {\text {P r o x i m i t y t o d e c i s i o n b o u n d a r y}} \times \| \nabla h _ {\boldsymbol {\theta}} (\boldsymbol {x}) \| ^ {2},
119
+ $$
120
+
121
+ $$
122
+ Z _ {2} = \underbrace {| f _ {\boldsymbol {\theta}} (\boldsymbol {x}) - y |} _ {E r r o r} \times \lambda \left(\nabla^ {2} h _ {\boldsymbol {\theta}} (\boldsymbol {x})\right).
123
+ $$
124
+
125
+ The proof (see Appendix A.2) relies on derivations of the Hessian associated with the model loss function and Weyl inequality with the notion of proximity to decision boundary is derived by (Cohen et al., 2019). As a consequence, groups with small Hessians eigenvalues (those generally distant from the decision boundary and highly accurate) tend to be less sensitive to the effects of the ReLU reduction rate. Conversely, groups with large Hessians eigenvalues tend to be affected by the ReLU reduction rate to a greater extent, typically resulting in larger excessive losses.
126
+
127
+ Figure 4 illustrates the theoretical insights presented in Proposition 4.5: crucially, the value of $\lambda\left(H_{a}^{\ell}\right)$ corresponding to the underrepresented groups are consistently higher than those corresponding to highly represented groups.
128
+
129
+ We note that the bound in Theorem 4.4 depends also on the distance $\|\tilde{\pmb{\theta}} - \pmb{\theta}\|$ between the ReLU reduced model and the original model. Generally, it is not trivial to establish a formal relationship between such distance and the rate of ReLU linearization; indeed such a formalization depends inherently on the model and the ReLU distribution induced by the linearization scheme adopted. However, our empirical analysis provides a strong sign for such trend to occur, as it will be further elaborated in Section 5.2, Figure 8.
130
+
131
+ # 5. Empirical Results on the Fairness Analysis
132
+
133
+ We next present the key findings from our empirical analysis on how ReLU linearization affects the fairness of linearized models. These findings build upon and extend the theoretical insights from earlier sections to scenarios involving high-dimensional and non-convex decision boundaries. In summary, we show that (1) model linearization produces disparate degradation of performance across groups and that such disparity is enhanced with the larger amounts of linearization; (2) the relative magnitude of gradient norms for a group serves as a reliable indicator of the group's accuracy decline resulting from ReLU linearization; (3) groups located farther from (or closer to) the decision boundary are less (more) likely to experience accuracy reduction at varying levels of ReLU linearization<sup>1</sup>.
134
+
135
+ Datasets and Models. We adopt three datasets:
136
+
137
+ - UTKFace (Zhang et al., 2017). Containing over 20,000 face images with annotations for age, gender, and race is widely used for computer vision tasks. Our experiments use age and race as protected groups.
138
+ - SVHN (Digits) (Netzer et al., 2011). Containing 60,000 $32 \times 32$ RGB images of digits of house number plates.
139
+ - CIFAR-10 (Krizhevsky & Hinton, 2009). Containing 60,000 $32 \times 32$ RGB images of 10 classes (airplanes, cars,
140
+
141
+ ![](images/66559d2a2953ccbe2f346dc6e16a9829008c3a1bcf5920b0d85571e7a9bf690c.jpg)
142
+ (a) SNL linearization
143
+
144
+ ![](images/512c7ea40738224175a2fbc4871f5305cb33255f8ae3e43b505f271743645d65.jpg)
145
+ (b) DR linearization
146
+ Figure 5. Global test accuracy on UTKFace with age labels using ResNet18 for SNL and DR. The red horizontal line represents the original (no ReLU linearization) global test accuracy.
147
+
148
+ birds, cats, deer, dogs, frogs, horses, ships, and trucks).
149
+
150
+ To assess the effect of network linearization on groups with various representations, we evaluate several models and architectures on unbalanced datasets. While UTKFace and SVHN are naturally unbalanced, we unbalanced CIFAR-10 by selecting $90\%$ of the samples for each of 5 classes, and retaining $10\%$ of the samples for each of the remaining classes. All reported metrics are average over 10 random seeds. The UTKFace dataset includes images with a large variation in age, ranging from 0 to 116 years old. As customary in demography, the ages are categorized into four groups: 2-12 (young children), 13-17 (adolescents), 18-64 (working-age individuals), and over 64 (senior citizens) for the experiments in this paper and these groups contain, respectively, $10.14\%$ , $3.63\%$ , $77.56\%$ , and $8.67\%$ of the total samples in the dataset. Data points corresponding to ages 0 and 1 are considered outliers and thus omitted for this task. Race classification on UTKFace utilizes the dataset's provided labels: white, black, Asian, native Indian, and others which correspond to $42.51\%$ , $19.09\%$ , $14.49\%$ , $16.77\%$ , and $7.14\%$ of the total samples in the dataset, respectively. Finally, digit recognition studies are conducted on the naturally imbalanced SVHN dataset. This dataset contains 10 digits from 0 to 9 which have $6.75\%$ , $18.92\%$ , $14.45\%$ , $11.60\%$ , $10.18\%$ , $9.39\%$ , $7.82\%$ , $7.64\%$ , $6.89\%$ , and $6.36\%$ of the total samples in the dataset, respectively
151
+
152
+ In this analysis two popular architectures are considered: ResNet18 and ResNet34 (He et al., 2015). These architectures are the main ones used in the linearization frameworks of (Jha et al., 2021; Cho et al., 2022).
153
+
154
+ Linearization Methods. The paper considers two ReLU linearization techniques, representing the current state of the art: Selective Network Linearization (SNL) (Cho et al., 2022) and DeepReDuce (DR) (Jha et al., 2021). Both methods aim to linearize ReLUs in neural networks, but their approaches differ: SNL selectively linearizes specific ReLUs, whereas DR provides for a much coarser linearization strategy. In particular, DR does not allow to control the
155
+
156
+ ![](images/985dac5cacbc609d392a00a6843efb81363a5a9e3b7c1be6ab68fa7eda1660e8.jpg)
157
+
158
+ ![](images/15aa4e2f8284eeabf0b9ca2dd3dfb0c3501d4a1253a5324cc6d547f433cd7aed.jpg)
159
+
160
+ ![](images/bc82c6992fe623ce98cefd48ab89b8b80116a085907bf104a5809614399748ea.jpg)
161
+
162
+ ![](images/d7a629c20e6c09cf452835fc547c3b7d47b6551eae23ef4cd85f1d597dcf7c1c.jpg)
163
+
164
+ ![](images/22f60e6f445a12a2bdcc95e84934c901bfc8516d78b851e48a30b9e17c272bdd.jpg)
165
+ Figure 6. SNL: Relative test accuracy drop for different datasets, models, and ReLU linearization methods. 1st col: ResNet18 trained on SVHN (top) and CIFAR-10 (bottom) with SNL; 2nd col: ResNet18 trained on UTKFace age (top) and race (bottom) labels with SNL; 3rd col: ResNet34 trained on UTKFace age (top) and race (bottom) labels with SNL; 4th col: ResNet18 trained on UTKFace age (top) and race (bottom) labels with DR; The results show that performance on minority groups is affected disparately by ReLU linearization across choices of datasets, model architectures, and linearization methods.
166
+
167
+ ![](images/9f667456ae32d366393b4910b6061bf159c26baccc6deeb0d64dde8bf9f10579.jpg)
168
+
169
+ ![](images/7a1cfd2a6347121d7be60f4062a8db3ac356f2b6655724e96e6631c2ec851660.jpg)
170
+
171
+ ![](images/3ceeb39db42543d3b3a18a3ff6dfcb3702109bbf29bebc1e5927cde85922eba3.jpg)
172
+
173
+ "distribution" of the ReLU functions across the architecture, but only to linearize blocks of contiguous nodes. This fundamental difference is expected to result in distinct patterns of disparity observed with each method. As a matter of fact, DR is not inherently data-driven, and its performance is not only affected by the number of residual ReLU functions, but also by the block that the practitioner decides to linearize. In turn, this results in different linearized model configurations as reported in Figure $5\mathrm{b}^2$
174
+
175
+ In the following, the term "ReLU budget" is used to refer to the number of ReLUs retained in a ReLU-linearized model across both methods. However, note that specifying a desired ReLU budget is feasible only with SNL. In contrast, with DR, the number of retained ReLUs depends on the specific layers linearized. Additionally, while ReLU linearization may lead to a loss in utility, notice that the models and ReLU budgets used for the analysis yield a minor decrease in global test accuracies (as shown in Figure 5) indicating that these configurations represent practical, deployable ReLU-linearized models.
176
+
177
+ # 5.1. Impact on Accuracy
178
+
179
+ In the primary empirical findings, the study highlights the relative decreases in test accuracy for various groups under
180
+
181
+ different ReLU budgets, as shown in Figure 6. For datasets with more classes like CIFAR-10 and SVHN, the analysis focuses on the two most and two least represented classes in the test sets to maintain clarity and prevent plot overcrowding. The relative drop in test accuracy serves as a measure of accuracy loss due to ReLU linearization. The larger this value, the greater the performance decline. Let $\bar{J} (\pmb {\theta};S) = 1 / |S|\sum_{(\pmb {x},y)\in S}\mathbb{1}[f_{\pmb{\theta}}(\pmb {x}) = y]$ , measure the classifier $\pmb{\theta}$ accuracy over set $S$ , then the relative drop in test accuracy for group $a$ is measured as:
182
+
183
+ $$
184
+ \frac {\bar {J} (\boldsymbol {\theta} ; S ^ {a}) - \bar {J} (\tilde {\boldsymbol {\theta}} _ {r} ; S ^ {a})}{\bar {J} (\boldsymbol {\theta} ; S ^ {a})} \times 1 0 0.
185
+ $$
186
+
187
+ The results reveal a consistent trend: majority groups generally show resilience to ReLU linearization while minority groups experience increasingly significant accuracy losses with more linearization. This pattern holds true across various architectures and datasets. For example, using SNL on ResNet-34 trained on UTKFace with race labels, white individuals experience almost no impact in accuracy drop across different ReLU linearization budgets, while the "other" race group suffers an almost 5-fold accuracy drop. Similarly, for DR on ResNet-18 trained on the same dataset, the accuracy for white individuals remains almost unaffected while the "other" race group suffers an almost 10-fold accuracy drop, with a near $100\%$ accuracy drop for the lowest ReLU budget. Indeed, a similar observation holds for DR for UTKFace with age labels.
188
+
189
+ Recall that Theorem 4.4 highlighted the connection between a drop in loss (as a differentiable proxy for accuracy) experienced by a given group, under a certain ReLU linearization
190
+
191
+ level, and two key characteristics: the gradient norms associated with such groups at convergence and the distance to the decision boundary. While these results hold for a restricted classes of functions, the next two sections provide further evidence on such relationships on highly non linear models for a variety of linearization techniques and architectures. Further experiments on different architectures and wider variants of the ResNet models are reported in Figure 7.
192
+
193
+ # 5.2. Gradient Norms and Fairness
194
+
195
+ Firstly, we notice Theorem 4.4 highlights how both the group gradient and the group Hessian terms are multiplicatively influenced by the distance $\|\tilde{\theta} - \theta\|$ between the model with reduced ReLU functions and the original model. Figure 8 (left) illustrates that this distance increases with the increase in linearized ReLU functions, suggesting that the reduction in ReLU activations amplifies the effect on the gradient norm. Next, Figure 8 (middle) presents a scatterplot that contrasts accuracy against gradient norms at the highest level of linearization examined. It reveals an inverse relationship between gradient norms and accuracy: data points for the majority group align with lower gradient norms and higher accuracy, whereas points for minority groups are linked with higher gradient norms and lower accuracy. Taken together, the increasing distance between reduced and original model parameters, alongside the varied impact on gradient norms across different groups, highlight the dynamics of gradient norms as a factor explaining the exacerbation of unfairness post-ReLU linearization.
196
+
197
+ # 5.3. Distance to the Decision Boundary and Fairness
198
+
199
+ Next, we look into the influence of the group Hessian on the accuracy reduction resulting from ReLU linearization. Recall that Proposition 4.5 establishes a link between the group Hessian and the distance to the decision boundary: notably, a smaller distance (or more proximity) to the decision boundary correlates with higher bounds for the associated group Hessian. This relationship renders the distance to the decision boundary an insightful, interpretable metric. Figure 8 (right) elucidates this concept. It illustrates the relationship between each test sample's distance to the decision boundary and its accuracy. The data points are color-coded according to group membership, revealing a strong correlation between the distance to the boundary and accuracy levels. Specifically, groups identified as majorities tend to have a larger distance to the boundary (and high accuracy), whereas minority groups exhibit a smaller distance.
200
+
201
+ This observation, in conjunction with what observed in Figure 8 (left), underscores the key relation between distance to the decision boundary plays and fairness issues following ReLU linearization. Understanding of this interplay is crucial to design the proposed mitigation technique, reviewed
202
+
203
+ in the next section.
204
+
205
+ # 6. Mitigation and Impact on Fairness
206
+
207
+ So far, we have presented an in-depth analysis of the disparate effects that linearization techniques produce on the fairness of unbalanced datasets, showing how reduced ReLU budgets negatively affect the accuracy over underrepresented groups. We will now present a solution to extend ReLU linearization to contexts where fairness matters along with Private Inference. Recall from Proposition 4.5 the relationship between a group's Hessian eigenvalues, their proximity to the decision boundary, and the corresponding errors made by the model for that group. Since, as shown in the previous section, the distance to the decision boundary of a sample directly relates to their accuracy drop across various ReLU linearization rates, our strategy leverages this intuition and introduces "fairness regularizers" to equalize the distances to the decision boundary of various groups. These regularizers, capture the differences in losses between groups and population, (and by proxy the distance to the boundary). The method leverages Lagrangian duality principles (Fioretto et al., 2020) for implementation and it works off-the-shelf with the Knowledge-Distillation (KD) based finetuning step, offering a seamless integration into existing algorithms.
208
+
209
+ Algorithm 1 reports the proposed fairness-aware finetuning method, replacing the standard finetuning step of SNL and DR. Let us introduce the main notation. Therein, $\mathcal{L}^{\mathrm{KD}}: \mathbb{R}^C \times \mathbb{R}^C \times \mathbb{R}^d \to \mathbb{R}$ is the loss function associated with the KD finetuning, which, in addition to a batch of data $B$ , takes as input two classifiers $h_{\tilde{\theta}}^r$ and $h_\theta$ , and returns a scalar; $\lambda_e$ is the vector of Lagrangian multipliers, each associated to a fairness constraint violation, expressed as the distance between the loss computed over a group and that computed over the whole dataset. These multipliers are updated at each epoch $e$ ; $\mu$ is the multiplier associated with the Lagrangian update step; and $\alpha$ is the learning rate. Furthermore, we call $\mathcal{L}_a^{\mathrm{KD}}$ the loss function, when evaluated over the samples of a specific group $a \in \mathcal{A}$ . Crucially, the proposed algorithm allows the student model, i.e., the linearized one, to be trained with knowledge flowing from the original model, while at the same time being constrained against excessive degradation of performance over underrepresented groups.
210
+
211
+ Let $\bar{J} (\tilde{\pmb{\theta}}^r;S) = 1 / |S|\sum_{(\pmb {x},\pmb {y})\in S}\mathbb{1}\left[f_{\tilde{\pmb{\theta}}^r}(\pmb {x}) = \pmb {y}\right]$ , measure the classifier $\theta$ accuracy over set $S$ , then the relative drop in test accuracy for group $a$ is measured as:
212
+
213
+ $$
214
+ \frac {\bar {J} \left(\tilde {\boldsymbol {\theta}} ^ {r} ; S ^ {a}\right) - \bar {J} \left(\tilde {\boldsymbol {\theta}} _ {m i t} ^ {r} ; S ^ {a}\right)}{\bar {J} \left(\tilde {\boldsymbol {\theta}} ^ {r} ; S ^ {a}\right)} \times 1 0 0,
215
+ $$
216
+
217
+ where, with a slight abuse of notation, $\tilde{\pmb{\theta}}^r$ represents the model parameter before the mitigation, and, $\tilde{\pmb{\theta}}_{mit}^{r}$ the parameter of the corresponding linearized model finetuned with our mitigation algorithm.
218
+
219
+ ![](images/bfd97d16ed815e1b73f7a8d55f3b805a09f09214d26e1d17e315fcbfbac26471.jpg)
220
+ (a) SNL on UTKFace (race) for (b) SNL on UTKFace (age) for (c) SNL on UTKFace (race) for (d) SNL on UTKFace (age) for VGG-19. VGG-19. WideResNet. WideResNet.
221
+
222
+ ![](images/31b8f61629e158d9f41282e6cd607df722b0e369dbefb17ff7ebc4d1cbc87bc8.jpg)
223
+
224
+ ![](images/be3c94e9f60cc97df8a9da4177bc8d1d9bf6e74bfff52cdee44a464ca628434c.jpg)
225
+
226
+ ![](images/1c93c14bfc4c094b8f3e906033aa1943514916593310d7cbc7a3635ab987482e.jpg)
227
+
228
+ ![](images/8369e4398574891a75270948e8c824b0bec733a7f97b6392e5d151dd560cf741.jpg)
229
+ Figure 7. Results for VGG-19 and WideResNet models on UTKFace with SNL. We observe that the performance is consistent with the results obtained for the ResNet18 and ResNet34 models: more linearization produces higher accuracy loss for underrepresented groups, while the accuracy remains almost unchanged in the majority group. We observe that the phenomenon of disparity in the accuracy for underrepresented groups is evident on WideResNet-22-8, a wider variant of ResNet.
230
+
231
+ ![](images/b1f181cee4f2d5f9e70b35adde88d6139053912c74e431abe9bb8a2a06dfff33.jpg)
232
+ Figure 8. SNL on UTKFace with race labels and ResNet-18: left: $\|\tilde{\pmb{\theta}}^r - \pmb{\theta}\|$ vs. ReLU budget; middle: group accuracy vs. gradient norm for $2\%$ ReLUs retained; right: group accuracy vs. distance to decision boundary for $2\%$ ReLUs retained.
233
+
234
+ ![](images/2288875ed7aa4776ad79f6a0d09d19ee2f2e03f040eb5b1407288b9e5c9f3207.jpg)
235
+
236
+ # Algorithm 1 Fairness Mitigation for ReLU Linearization
237
+
238
+ Require: $h_{\tilde{\theta}^r}, h_\theta$ , Multiplier $\mu > 0$ , step size $\eta$ , loss function $\mathcal{L}^{\mathrm{KD}}$ , group-wise loss function $\mathcal{L}_a^{\mathrm{KD}}$ , dataset $S_T$ , set of groups $\mathcal{A}$
239
+
240
+ $\lambda_{1}\gets (0)_{a\in \mathcal{A}}$ {array of zeros with size $|\mathcal{A}|\})$
241
+
242
+ for epoch $e = 1,2,\dots$ do
243
+
244
+ for all mini-batch $B \subseteq S_T$ do
245
+
246
+ $$
247
+ \rho_ {\tilde {\boldsymbol {\theta}} ^ {r}, \boldsymbol {\theta}, B} \leftarrow | \mathcal {L} ^ {\mathrm {K D}} (f _ {\tilde {\boldsymbol {\theta}} ^ {r}}, f _ {\boldsymbol {\theta}}, B) - \mathcal {L} _ {a} ^ {\mathrm {K D}} (f _ {\tilde {\boldsymbol {\theta}} ^ {r}}, f _ {\boldsymbol {\theta}}, B) |
248
+ $$
249
+
250
+ $$
251
+ \tilde {\boldsymbol {\theta}} ^ {r} \leftarrow \tilde {\boldsymbol {\theta}} ^ {r} - \alpha \nabla_ {\tilde {\boldsymbol {\theta}} ^ {r}} \left(\mathcal {L} \left(f _ {\tilde {\boldsymbol {\theta}} ^ {r}}, f _ {\boldsymbol {\theta}}, B\right) + \boldsymbol {\lambda} _ {e} ^ {\top} \rho_ {\tilde {\boldsymbol {\theta}} ^ {r}, \boldsymbol {\theta}, B}\right)
252
+ $$
253
+
254
+ end for
255
+
256
+ $$
257
+ \boldsymbol {\lambda} _ {e + 1} \leftarrow \boldsymbol {\lambda} _ {e} + \mu | \mathcal {L} ^ {\mathrm {K D}} (f _ {\tilde {\theta} ^ {r}}, f _ {\boldsymbol {\theta}}, S _ {T}) - \mathcal {L} _ {a} ^ {\mathrm {K D}} (f _ {\tilde {\theta} ^ {r}}, f _ {\boldsymbol {\theta}}, S _ {T}) |
258
+ $$
259
+
260
+ end for
261
+
262
+ Figure 9 illustrates the effect of the mitigation strategy on the UTKFace dataset for both SNL (left) and DR (right) methods, with results segmented by age (top) and race (bottom) labels. Negative values indicate accuracy improvements for a group compared to the baseline accuracy of the original model at the same level of ReLU reduction. There are two key aspects: First, the mitigation consistently enhances accuracy across all groups and linearization levels tested, with minimal negative effects on majority classes. Second, notice how the minority groups improve their relative performance, a trend that is especially evident for DR at higher levels of
263
+
264
+ ReLU linearization. Furthermore, there is an observable reduction in gradient norms and an augmentation in the distance to the decision boundary for minority groups under the mitigation approach (see Appendix D.1). These results illustrate the potential for effective mitigations to significantly improve the performance for minority groups without detriment to majority groups, thus substantially reducing the unfairness produced by ReLU linearization.
265
+
266
+ Finally, an ablation study on the impact of the parameter $\mu$ in the mitigation algorithm is presented in Appendix D.2.
267
+
268
+ # 7. Discussion
269
+
270
+ Figure 9 demonstrates the effectiveness of the mitigation method, highlighting the importance of choosing the right approach for practitioners aiming to enforce fairness predictably. A data-driven ReLU linearization method like SNL, which carefully considers the impact of linearization on model utility and fairness, stands out as preferable over simpler methods such as DR. In DR, ReLUs may be linearized arbitrarily across any layer without regard for potential impacts on the model performance.
271
+
272
+ This is evident in Figure 6, where the smallest groups under DR exhibit significantly poorer performance compared to
273
+
274
+ ![](images/f1ecada93b08312942971a561af806f456be4250ca00785769b18b60c16d02b0.jpg)
275
+
276
+ ![](images/6524efddd02b4ffb0aa145441a67b83ea4513990ac66faa702225b828c533520.jpg)
277
+
278
+ ![](images/372552f04c255093be5771c83b138d32c231bae2bb13a9e40c46547a060611e2.jpg)
279
+ Figure 9. Mitigation: Relative test accuracy drop for different linearization methods. left: ResNet18 trained on UTKFace age (top) and race (bottom) labels with SNL; right: ResNet18 trained on UTKFace age (top) and race (bottom) labels with DR.
280
+
281
+ ![](images/e43add487de44800c3d029e5fbd190bf97bb72b4a01e4553ed1f97e0d08e21ea.jpg)
282
+
283
+ others and when SNL is applied. The unpredictable utility and fairness outcomes with DR make it a less suitable option for achieving fair models predictably. In contrast, SNL offers consistent and predictable outcomes, enabling practitioners to more easily apply fair ReLU linearization and select suitable parameters for effective mitigation.
284
+
285
+ Limitations. Our theoretical framework proposes a bound for the residual loss of a DNN model and its linearized counterpart, elucidating their relationship with group norms, group Hessians, and the norm of the weight distance between the two models' parameters. While our analysis introduces proxies to articulate the connection between group size, linearized ReLU proportion, and accuracy drop, examining the actual relationship between these quantities remains an open question. Addressing this gap presents an avenue for future research, with an opportunity to formalize fundamental limits of disparate impact mitigation strategies through non-trivial lower bounds on loss differences. We note that the proposed mitigation strategy necessitates access to protected group information. Although this information is frequently available, the requirement may restrict the applicability of the proposed mitigation in contexts where such information may be missing. To address this limitation, future research could explore the integration of our mitigation approach with tailored loss functions to promote fairness without relying on demographic information (cf. Lahoti et al. (2020)) or with a context of distributionally robust objectives (cf. Hashimoto et al. (2018)).
286
+
287
+ # 8. Conclusion
288
+
289
+ This study observed that while ReLU linearization strategies effectively reduce computational costs and inference times, they inadvertently exacerbate accuracy disparities across different subgroups, particularly affecting underrepresented ones. This phenomenon was found consistent across various datasets and architectures. The empirical analysis was grounded in theoretical insights, which highlighted two key factors responsible for the observed unfairness. We showed that as ReLU functions are approximated, the gradient for underrepresented groups tend to increase, suggesting that the model becomes more sensitive to input variations for these groups, leading to a higher misclassification rates. This effect is exacerbated for underrepresented groups due to their typically smaller distance from the decision boundary in the space that these models operate within. This distance to the boundary, when combined with altered gradient norms due to ReLU linearization, results in a disproportionate impact on the fairness of the model's outcomes.
290
+
291
+ Motivated by such observations, the paper proposed a mitigation solution which acts on regularizing the finetuning step of ReLU linearization strategies through a Lagrangian dual approach. This simple solution was found effective in balancing the computational benefit of ReLU linearization with the imperative of fairness.
292
+
293
+ # Acknowledgements
294
+
295
+ This research is partially supported by NSF grants 2133169, 2232054 and NSF CAREER Award 2143706. Fioretto is also supported by an Amazon Research Award and a Google Research Scholar Award. Its views and conclusions are those of the authors only.
296
+
297
+ # Impact Statement
298
+
299
+ Our contributions shed light on the Matthew effect within accuracy reduction caused by ReLU linearization, offering a mathematical intuition of the observed disparities, demonstrating the widespread presence of these effects across algorithms and models, and proposing a viable mitigation strategy. The proposed strategy not only addresses fairness concerns but also manages to preserve overall accuracy to a commendable extent.
300
+
301
+ The evidence presented, particularly the stark accuracy disparities illustrated in Figure 1, calls for a reevaluation of model optimization strategies, especially in the use of datasets reflecting real-world diversity. The findings emphasize the necessity for approaches that consider the differential impact of linearization on various subgroups, advocating for a more inclusive and fair machine learning ecosystem.
302
+
303
+ # References
304
+
305
+ Ahn, J., Lee, H., Kim, J., and Oh, A. Why knowledge distillation amplifies gender bias and how to mitigate from the perspective of stilbert. Proceedings of the 4th Workshop on Gender Bias in Natural Language Processing (GeBNLP), 2022.
306
+ Arora, R., Basu, A., Mianjy, P., and Mukherjee, A. Understanding deep neural networks with rectified linear units. In 6th International Conference on Learning Representations, ICLR, 2018.
307
+ Bagdasaryan, E., Poursaeed, O., and Shmatikov, V. Differential privacy has disparate impact on model accuracy. In Wallach, H. M., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E. B., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pp. 15453-15462, 2019.
308
+ Barocas, S., Hardt, M., and Narayanan, A. Fairness and Machine Learning: Limitations and Opportunities. MIT Press, 2023.
309
+ Blakeney, C., Huish, N., Yan, Y., and Zong, Z. Simon says: Evaluating and mitigating bias in pruned neural networks with knowledge distillation. *ArXiv*, abs/2106.07849, 2021.
310
+
311
+ Cho, M., Joshi, A., Reagen, B., Garg, S., and Hegde, C. Selective network linearization for efficient private inference. In International Conference on Machine Learning, ICML, 2022.
312
+ Cohen, J., Rosenfeld, E., and Kolter, J. Z. Certified adversarial robustness via randomized smoothing. In International Conference on Machine Learning, pp. 1310-1320. PMLR, 2019.
313
+ Cybenko, G. Approximation by superpositions of a sigmoidal function. Math. Control. Signals Syst., 1989.
314
+ Farrand, T., Mireshghallah, F., Singh, S., and Trask, A. Neither private nor fair: Impact of data imbalance on utility and fairness in differential privacy. In Zhang, B., Popa, R. A., Zaharia, M., Gu, G., and Ji, S. (eds.), PPMLP'20: Proceedings of the 2020 Workshop on Privacy-Preserving Machine Learning in Practice, Virtual Event, USA, November, 2020, pp. 15-19. ACM, 2020. doi: 10.1145/3411501.3419419.
315
+ Fioretto, F., Van Hentenryck, P., Mak, T. W. K., Tran, C., Baldo, F., and Lombardi, M. Lagrangian duality for constrained deep learning. In European Conference on Machine Learning, volume 12461 of Lecture Notes in Computer Science, pp. 118-135. Springer, 2020. doi: 10.1007/978-3-030-67670-4\~8.
316
+ Ghodsi, Z., Veldanda, A. K., Reagen, B., and Garg, S. Cryptonas: Private inference on a relu budget. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H. (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
317
+ Hanin, B. and Rolnick, D. Deep relu networks have surprisingly few activation patterns. In Wallach, H. M., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E. B., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pp. 359-368, 2019.
318
+ Hashimoto, T. B., Srivastava, M., Namkoong, H., and Liang, P. Fairness without demographics in repeated loss minimization. In Dy, J. G. and Krause, A. (eds.), Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Research, pp. 1934-1943. PMLR, 2018.
319
+ He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770-778, 2015.
320
+
321
+ Hooker, S., Courville, A. C., Clark, G., Dauphin, Y., and Frome, A. What do compressed deep neural networks forget. arXiv: Learning, 2020a.
322
+ Hooker, S., Moorosi, N., Clark, G., Bengio, S., and Denton, E. L. Characterising bias in compressed models. *ArXiv*, abs/2010.03058, 2020b.
323
+ Hornik, K. Approximation capabilities of multilayer feedforward networks. Neural Networks, 4(2):251-257, 1991. doi: 10.1016/0893-6080(91)90009-T.
324
+ Jha, N. K., Ghodsi, Z., Garg, S., and Reagen, B. Deepreduce: Relu reduction for fast private inference. In Meila, M. and Zhang, T. (eds.), Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume 139 of Proceedings of Machine Learning Research, pp. 4839-4849. PMLR, 2021.
325
+ Joseph, V., Siddiqui, S. A., Bhaskara, A., Gopalakrishnan, G., Muralidharan, S., Garland, M., Ahmed, S., and Dengel, A. R. Going beyond classification accuracy metrics in model compression. 2020.
326
+ Krizhevsky, A. and Hinton, G. Learning multiple layers of features from tiny images. Technical Report 0, University of Toronto, Toronto, Ontario, 2009.
327
+ Kundu, S., Lu, S., Zhang, Y., Liu, J. T., and Beerel, P. A. Learning to linearize deep neural networks for secure and efficient private inference. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023.
328
+ Lahoti, P., Beutel, A., Chen, J., Lee, K., Prost, F., Thain, N., Wang, X., and Chi, E. H. Fairness without demographics through adversarially reweighted learning. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H. (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
329
+ Lin, H. and Jegelka, S. Resnet with one-neuron hidden layers is a universal approximator. In Bengio, S., Wallach, H. M., Larochelle, H., Grauman, K., Cesa-Bianchi, N., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pp. 6172-6181, 2018.
330
+ Liu, B. and Liang, Y. Optimal function approximation with relu neural networks. Neurocomputing, 435:216-227, 2021. doi: 10.1016/J.NEUCOM.2021.01.007.
331
+
332
+ Lou, Q., Shen, Y., Jin, H., and Jiang, L. Safenet: A secure, accurate and fast neural network inference. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021.
333
+ Lu, Z., Pu, H., Wang, F., Hu, Z., and Wang, L. The expressive power of neural networks: A view from the width. In Guyon, I., von Luxburg, U., Bengio, S., Wallach, H. M., Fergus, R., Vishwanathan, S. V. N., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pp. 6231-6239, 2017.
334
+ Lukasik, M., Bhojanapalli, S., Menon, A. K., and Kumar, S. Teacher's pet: understanding and mitigating biases in distillation. Transactions on Machine Learning Research, 2022. ISSN 2835-8856.
335
+ Mishra, P., Lehmkuhl, R., Srinivasan, A., Zheng, W., and Popa, R. A. Delphi: A cryptographic inference service for neural networks. In Capkun, S. and Roesner, F. (eds.), 29th USENIX Security Symposium, USENIX Security 2020, August 12-14, 2020, pp. 2505-2522. USENIX Association, 2020.
336
+ Montúfar, G., Pascanu, R., Cho, K., and Bengio, Y. On the number of linear regions of deep neural networks. In Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N. D., and Weinberger, K. Q. (eds.), Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pp. 2924-2932, 2014.
337
+ Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning 2011, 2011.
338
+ Pan, X. and Srikumar, V. Expressiveness of rectifier networks. In Balcan, M. and Weinberger, K. Q. (eds.), Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pp. 2427-2435. JMLR.org, 2016.
339
+ Shen, Z., Yang, H., and Zhang, S. Optimal approximation rate of relu networks in terms of width and depth. Journal de Mathématiques Pures et Appliquées, 157:101-135, 2022. ISSN 0021-7824. doi: https://doi.org/10.1016/j.matpur.2021.07.009.
340
+
341
+ Tran, C., Dinh, M., and Fioretto, F. Differentially private empirical risk minimization under the fairness lens. In Advances in Neural Information Processing Systems, volume 34, pp. 27555-27565. Curran Associates, Inc., 2021.
342
+ Yarotsky, D. Error bounds for approximations with deep relu networks. Neural Networks, 94:103-114, 2017. doi: 10.1016/J.NEUNET.2017.07.002.
343
+ Zhang, Z., Song, Y., and Qi, H. Age progression/regression by conditional adversarial autoencoder. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2017.
344
+
345
+ # A. Additional Theoretical Results
346
+
347
+ # A.1. Underrepresented groups have larger gradients.
348
+
349
+ Let us assume $a, b \in \mathcal{A}$ such that with $|S^a| \geq |S^b|$ . Then $\left\| \boldsymbol{g}_a^\ell \right\| \leq \left\| \boldsymbol{g}_b^\ell \right\|$ .
350
+
351
+ Proof. Let us assume convergence of the model with parameters $\phi$ to a (local) minimum. Then, it holds that:
352
+
353
+ $$
354
+ \begin{array}{l} \nabla \mathcal {L} (\phi ; S) = \sum_ {a \in \mathcal {A}} \frac {| S ^ {a} |}{| S |} \nabla J (\phi ; S ^ {a}) \\ = \frac {| S ^ {a} |}{| D |} \boldsymbol {g} _ {a} ^ {\ell} + \frac {| S ^ {b} |}{| D |} \boldsymbol {g} _ {b} ^ {\ell} = \mathbf {0} \\ \end{array}
355
+ $$
356
+
357
+ Thus, $\pmb{g}_a^\ell = -\frac{|S^b|}{|S^a|}\pmb{g}_b$ . Hence $\left\| \pmb{g}_a^\ell \right\| = \frac{|S^b|}{|S^a|} \left\| \pmb{g}_b^\ell \right\| \leq \left\| \pmb{g}_b^\ell \right\|$ , because $|S^a| \geq |S^b|$ .
358
+
359
+ ![](images/429ac98f9210844d31ef90fa8022079d70067dad67a9a8f6f624d14b484c841e.jpg)
360
+
361
+ # A.2. An upper-bound for the residual loss.
362
+
363
+ Theorem 1. The excessive loss of a group $a \in \mathcal{A}$ is upper bounded by
364
+
365
+ $$
366
+ R (a) \leq \left\| \boldsymbol {g} _ {a} ^ {\ell} \right\| \times \| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \| + \frac {1}{2} \lambda \left(\boldsymbol {H} _ {a} ^ {\ell}\right) \times \| \tilde {\boldsymbol {\theta}} - \hat {\boldsymbol {\theta}} \| ^ {2} + O \left(\| \tilde {\boldsymbol {\theta}} - \hat {\boldsymbol {\theta}} \| ^ {3}\right),
367
+ $$
368
+
369
+ where $\pmb{g}_a^\ell = \nabla J(\pmb{\theta}; S^a)$ is the vector of gradients associated with the loss function $\ell$ evaluated at $\pmb{\theta}$ and computed using group data $S^a$ , $\pmb{H}_a^\ell = \nabla^2 J(\pmb{\theta}; S^a)$ is the Hessian matrix of the loss function $\ell$ , at the optimal parameters vector $\pmb{\theta}$ , computed using the group data $S^a$ (henceforth simply referred to as group hessian), and $\lambda(\Sigma)$ is the maximum eigenvalue of a matrix $\Sigma$ .
370
+
371
+ Proof. Using a second order Taylor expansion around $\theta$ , the excessive loss $R(a)$ for a group $a \in \mathcal{A}$ can be stated as:
372
+
373
+ $$
374
+ \begin{array}{l} R (a) = J \left(\tilde {\boldsymbol {\theta}}; S ^ {a}\right) - J \left(\boldsymbol {\theta}; S ^ {a}\right) \\ = \left[ J (\boldsymbol {\theta}; S ^ {a}) + (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) ^ {\top} \nabla J (\boldsymbol {\theta}; S ^ {a}) + \frac {1}{2} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) ^ {\top} \boldsymbol {H} _ {a} ^ {\ell} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) + O \left(\| \boldsymbol {\theta} - \tilde {\boldsymbol {\theta}} \| ^ {3}\right) \right] - J (\boldsymbol {\theta}; S ^ {a}) \\ = (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) ^ {\top} \boldsymbol {g} _ {a} ^ {\ell} + \frac {1}{2} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) ^ {\top} \boldsymbol {H} _ {a} ^ {\ell} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) + O \left(\| \boldsymbol {\theta} - \tilde {\boldsymbol {\theta}} \| ^ {3}\right) \\ \end{array}
375
+ $$
376
+
377
+ The above, follows from the loss $\ell(\cdot)$ being at least twice differentiable, by assumption. By Cauchy-Schwarz inequality, it follows that
378
+
379
+ $$
380
+ \left(\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}\right) ^ {\top} \boldsymbol {g} _ {a} ^ {\ell} \leq \left\| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \right\| \times \left\| \boldsymbol {g} _ {a} ^ {\ell} \right\|.
381
+ $$
382
+
383
+ In addition, due to the property of Rayleigh quotient we have:
384
+
385
+ $$
386
+ \frac {1}{2} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) ^ {\top} \boldsymbol {H} _ {a} ^ {\ell} (\tilde {\boldsymbol {\theta}} - \boldsymbol {\theta}) \leq \frac {1}{2} \lambda \left(\boldsymbol {H} _ {a} ^ {\ell}\right) \times \| \tilde {\boldsymbol {\theta}} - \boldsymbol {\theta} \| ^ {2}
387
+ $$
388
+
389
+ # A.3. An upper-bound for the maximum eigenvalue of the group Hessian
390
+
391
+ Let $f_{\theta}$ be a binary classifier trained using a binary cross entropy loss. For any group $a \in \mathcal{A}$ , the maximum eigenvalue of the group Hessian $\lambda(H_a^\ell)$ can be upper bounded by:
392
+
393
+ $$
394
+ \lambda \left(\boldsymbol {H} _ {a} ^ {\ell}\right) \leq \frac {1}{| S ^ {a} |} \sum_ {(\boldsymbol {x}, y) \in S ^ {a}} \underbrace {\left(h _ {\boldsymbol {\theta}} (\boldsymbol {x})\right) (1 - h _ {\boldsymbol {\theta}} (\boldsymbol {x}))} _ {\text {P r o x i m i t y t o d e c i s i o n b o u n d a r y}} \times \| \nabla h _ {\boldsymbol {\theta}} (\boldsymbol {x}) \| ^ {2} + \underbrace {| f _ {\boldsymbol {\theta}} (\boldsymbol {x}) - y |} _ {\text {A c c u r a c y}} \times \lambda \left(\nabla^ {2} h _ {\boldsymbol {\theta}} (\boldsymbol {x})\right).
395
+ $$
396
+
397
+ Proof. First notice that an upper bound for the Hessian loss computed on a group $a \in \mathcal{A}$ can be derived as:
398
+
399
+ $$
400
+ \lambda \left(\boldsymbol {H} _ {a} ^ {\ell}\right) = \lambda \left(\frac {1}{| S ^ {a} |} \sum_ {(\boldsymbol {x}, y) \in S ^ {a}} \boldsymbol {H} _ {x} ^ {\ell}\right) \leq \frac {1}{| S ^ {a} |} \sum_ {(\boldsymbol {x}, y) \in S ^ {a}} \lambda \left(\boldsymbol {H} _ {x} ^ {\ell}\right) \tag {3}
401
+ $$
402
+
403
+ where $H_{\pmb{x}}^{\ell}$ represents the Hessian loss associated with a sample $\pmb{x} \in S^{a}$ from group $a$ . The above follows Weily's inequality which states that for any two symmetric matrices $A$ and $B$ , $\lambda (A + B) \leq \lambda (A) + \lambda (B)$ . Next, we will derive an upper bound on the Hessian loss associated to a sample $\pmb{x}$ . First, based on the chain rule a closed form expression for the Hessian loss associated to a sample $\pmb{x}$ can be written as follows:
404
+
405
+ $$
406
+ \pmb {H} _ {\pmb {x}} ^ {\ell} = \nabla^ {2} \ell \left(f _ {\pmb {\theta}} (\pmb {x}), y\right) \left[ \nabla f _ {\pmb {\theta}} (\pmb {x}) \left(\nabla f _ {\pmb {\theta}} (\pmb {x})\right) ^ {\top} \right] + \nabla \ell \left(f _ {\pmb {\theta}} (\pmb {x}), y\right) \nabla^ {2} f _ {\pmb {\theta}} (\pmb {x}).
407
+ $$
408
+
409
+ The next follows from that
410
+
411
+ $$
412
+ \nabla \ell \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}), y\right) = \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}) - y\right),
413
+ $$
414
+
415
+ $$
416
+ \nabla^ {2} \ell \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}), y\right) = f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \left(1 - f _ {\boldsymbol {\theta}} (\boldsymbol {x})\right).
417
+ $$
418
+
419
+ Applying the Weily inequality again on the R.H.S. of Equation 12, we obtain:
420
+
421
+ $$
422
+ \begin{array}{l} \lambda \left(\boldsymbol {H} _ {\boldsymbol {x}} ^ {\ell}\right) \leq f _ {\boldsymbol {\theta}} (\boldsymbol {x}) (1 - f _ {\boldsymbol {\theta}} (\boldsymbol {x})) \times \| \nabla f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \| ^ {2} + \lambda \left(f _ {\boldsymbol {\theta}} (\boldsymbol {x}) - y\right) \times \nabla^ {2} f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \\ \leq f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \left(1 - f _ {\boldsymbol {\theta}} (\boldsymbol {x})\right) \times \left\| \nabla f _ {\boldsymbol {\theta}} (\boldsymbol {x}) \right\| ^ {2} + \left| f _ {\boldsymbol {\theta}} (\boldsymbol {x}) - y \right| \lambda \left(\nabla^ {2} f _ {\boldsymbol {\theta}} (\boldsymbol {x})\right) \tag {4} \\ \end{array}
423
+ $$
424
+
425
+ The statement of Proposition 4.5 is obtained combining Equation (3) with Equation (4).
426
+
427
+ ![](images/12fb5398ddd1804f5221a553bd71b9137b7b6455e04be8794987295ada37df07.jpg)
428
+
429
+ # B. Examples
430
+
431
+ # B.1. On linearized models and the upper-bound in Proposition 4.2: an empirical standpoint.
432
+
433
+ ![](images/75ba5abb330649eb68ecc9f4756f2672de1f6a8529b724d9d265df2f958775fe.jpg)
434
+ (a) Model with 2 ReLU nodes.
435
+ Figure 10. The ReLU network in Figure 10a can attain at most 3 linear pieces, while the linearized network in Figure 10b can attain at most 2 linear pieces.
436
+
437
+ ![](images/65f9927e7022804d56a6c119418dc1d0e6e4d0871381bb890c3dbb1aff6fc7ce.jpg)
438
+ (b) Model with 1 ReLU node and a linearized one.
439
+
440
+ In general, linearized models may be far away from reaching the bound in Proposition 4.2. It is easy to see how this bound cannot be reached in many cases when one or more ReLU activation are replaced with linear activation functions. For
441
+
442
+ instance let us consider a ReLU network with a single hidden layer and width $\omega_{1} = 2$ . According to Proposition 4.2, this network can attain at most 3 linear pieces. Indeed, let us consider bounded inputs $\pmb{x}\in [-b,b]$ such that $b\in \mathbb{R}^{+}$ . By properly optimizing weights and biases, the two ReLU nodes can create the orange and blue linear pieces in Figure 10a, that, when linearly combined in the output of the model (cf. green line in Figure 10a), can attain at most 3 linear pieces. On the contrary, if one of the two ReLU nodes is replaced with a linear node, the linear combination of the two nodes which is forwarded to the output, by definition, does not create any new breakpoint, only maintaining the two linear pieces dictated by the presence of the ReLU node. Therefore, the number of linear pieces is reduced to 2, as shown in Figure 10b.
443
+
444
+ # C. Additional Empirical Results
445
+
446
+ # C.1. Settings
447
+
448
+ Each of the results in this paper was produced using an A100 GPUs with 80 GB of GPU memory, up to 100 GB of RAM, and up to 10 Intel(R) Xeon(R) E5-2630 v3 CPUs each clocked at 2.40GHz.
449
+
450
+ For SNL, we train each base model for 160 epochs, and then perform the SNL finetuning step after ReLU linearization. These values are present in the official implementation of this algorithm provided by the authors of (Cho et al., 2022), and we use this implementation off-the-shelf.
451
+
452
+ For DeepReDuce, we use the official implementation provided by the authors of (Jha et al., 2021) off-the-shelf which trains each model for 200 epochs.
453
+
454
+ # C.2. Accuracy drop analysis
455
+
456
+ For SVHN and CIFAR-10, the classes corresponding to these labels are evident. The class correspondences for UTKFace with age and race labels are as follows.
457
+
458
+ - UTKFace with age labels: 2-12, 13-17, 18-64, and over 64 years of age correspond to 1, 2, 3, and 4, respectively.
459
+ - UTKFace with race labels: White, black, Asian, Indian, and other races correspond to 0, 1, 2, 3, and 4, respectively.
460
+
461
+ In this section, we present more plots for relative accuracy drops in Figure 11 to show the disparate impact of linearizing ReLUs. Observe again how minority groups suffer degradation in accuracy that is higher than for majority groups as the ReLU budget decreases/more ReLUs are linearized.
462
+
463
+ ![](images/97c1b999404f1c5ce6ecf02a57a8411e0c36a5a4281901e0fc8988d478bede76.jpg)
464
+ Figure 11. SNL: For ResNet18 on CIFAR-10 (left) and SVHN (center left), and for ResNet34 on CIFAR-10 (center right) and SVHN (right)
465
+
466
+ ![](images/0d592c06f5992a973bf1c08bdaef8378ae68ae113c038711fe8e3edab7420c37.jpg)
467
+
468
+ ![](images/606fadf8e15081db03be355a580318a969b17b1961b81e19f7a70f4a17584789.jpg)
469
+
470
+ ![](images/59e21759628a1cb14b6299c45594623c2ed4f734dd3a2e931dd5aba6c5df536c.jpg)
471
+
472
+ # D. Mitigation
473
+
474
+ This subsection provides further evidence for the efficacy of the mitigation method discussed in Section 6. The labels in the legend refer to group indices.
475
+
476
+ # D.1. Mitigation: Gradient Norms and Distance to the Decision Boundary
477
+
478
+ The plots in Figure 13 and Figure 14 illustrate the differences in the values of gradient norms and (normalized) distances to the decision boundary when linearizing RLUs with and without reduction. As mentioned in Section 6, a reduction in the gradient norms and an increase in the distance to the decision boundary can be observed when using the mitigation method.
479
+
480
+ ![](images/e337043845f0f58264c5db9e61403bcc9d0d4bf634173509348c2f1002fd21c5.jpg)
481
+ Figure 12. SNL with Mitigation: For ResNet34 trained on UTKFace with age (left) and race (center left) labels and on CIFAR-10 (center right) and ResNet18 trained on CIFAR-10 (right).
482
+
483
+ ![](images/6310623e3fb46cb129b05ebbf6a030b28e7a06a26d779411837e875604812232.jpg)
484
+
485
+ ![](images/d1b446bc05ff5c2a9ed2d13bff1fd610cc35b54c9d3ba3c2134fdc41e889ba67.jpg)
486
+
487
+ ![](images/cc2df9f481d3e50c595109cab42f522f7f8b04727509a4b07dc4c84a26a5bc7d.jpg)
488
+
489
+ ![](images/bd81e8ff2667253771646ca0af77b34e6a71fa719d3425804cd248b25c29aa34.jpg)
490
+ Figure 13. SNL: (Test) Accuracies for ResNet-18 trained on UTKFace with age labels; left: without mitigation; right: with mitigation.
491
+
492
+ ![](images/a301a990a175a72e033b3a06ce8081e382ab0a4f1c59dbdc5974e8b0ceef537b.jpg)
493
+
494
+ ![](images/3ce43ef2f1383b4be74dce04cc9778f638507a3f62c22c4fd8e629acb01a53ab.jpg)
495
+ Figure 14. SNL: (Normalized) Distances to Decision Boundary for ResNet-18 trained on UTKFace with age labels; left: without mitigation; right: with mitigation.
496
+
497
+ ![](images/8a8584c3526b8bd032aabae21d18c62be4f26a356ac120d667a8066c6faa8720.jpg)
498
+
499
+ # D.2. Mitigation: an ablation study of the parameter $\mu$
500
+
501
+ ![](images/ee150fe99b4ff872a4b2502688164d1d3446f773da9e4247e910452fea561272.jpg)
502
+ (a) SNL on UTKFace race ResNet18 mitigation with $\mu = 0.0005$
503
+
504
+ ![](images/3002537c643922e55b8f3d589e5807a8c10cdc08082f2ac526155ac949c7bd72.jpg)
505
+ (b) SNL on UTKFace race ResNet18 mitigation with $\mu = 0.005$
506
+ Figure 15. We report the plots for the ablation study of the parameter $\mu$ for the SNL on UTKFace (race). We consider $\mu \in \{0.0005, 0.005, 0.01\}$ . In general we observe that these values of $\mu$ do not result in significant changes for the performance of the mitigation strategy. For the task at end, we could then say that there exists a neighborhood of values for $\mu$ where our mitigation consistently benefits the considered linearization techniques.
507
+
508
+ ![](images/22f4b215e7d0b2ffd6bd0b9aee8222a0deace7a835b2a4578e399c5d808a84e6.jpg)
509
+ (c) SNL on UTKFace race ResNet18 mitigation with $\mu = 0.01$
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6c0cf6074585c7b5d07ab2259247b1d1b998108edc300acb66ba40fdd709d4b
3
+ size 826413
2024/Disparate Impact on Group Accuracy of Linearization for Private Inference/layout.json ADDED
The diff for this file is too large to render. See raw diff
 
2024/Dissecting Multimodality in VideoQA Transformer Models by Impairing Modality Fusion/797da7a4-5b42-469c-bb38-ed262416ce85_content_list.json ADDED
The diff for this file is too large to render. See raw diff