Add Batch 1828f18b-46df-41dd-bc12-4e239a236b96 data
Browse filesThis view is limited to 50 files because it contains too many changes. Β See raw diff
- .gitattributes +64 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_content_list.json +0 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_model.json +0 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_origin.pdf +3 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/full.md +576 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/images.zip +3 -0
- 2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/layout.json +0 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_content_list.json +0 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_model.json +0 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_origin.pdf +3 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/full.md +526 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/images.zip +3 -0
- 2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/layout.json +0 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_content_list.json +0 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_model.json +0 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_origin.pdf +3 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/full.md +0 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/images.zip +3 -0
- 2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/layout.json +0 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_content_list.json +0 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_model.json +0 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_origin.pdf +3 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/full.md +596 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/images.zip +3 -0
- 2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/layout.json +0 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_content_list.json +0 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_model.json +0 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_origin.pdf +3 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/full.md +518 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/images.zip +3 -0
- 2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/layout.json +0 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_content_list.json +0 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_model.json +0 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_origin.pdf +3 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/full.md +0 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/images.zip +3 -0
- 2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/layout.json +0 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_content_list.json +0 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_model.json +0 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_origin.pdf +3 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/full.md +534 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/images.zip +3 -0
- 2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/layout.json +0 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_content_list.json +1681 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_model.json +0 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_origin.pdf +3 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/full.md +327 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/images.zip +3 -0
- 2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/layout.json +0 -0
- 2025/BiMark_ Unbiased Multilayer Watermarking for Large Language Models/873e68de-dae3-493c-9d23-2ce173b24e84_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -425,3 +425,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 425 |
2025/Beyond[[:space:]]Self-Interest_[[:space:]]How[[:space:]]Group[[:space:]]Strategies[[:space:]]Reshape[[:space:]]Content[[:space:]]Creation[[:space:]]in[[:space:]]Recommendation[[:space:]]Platforms_/aa862d38-206b-4c35-a04f-7045f6c8b99b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 426 |
2025/Beyond[[:space:]]Self-Repellent[[:space:]]Kernels_[[:space:]]History-Driven[[:space:]]Target[[:space:]]Towards[[:space:]]Efficient[[:space:]]Nonlinear[[:space:]]MCMC[[:space:]]on[[:space:]]General[[:space:]]Graphs/be47e927-4760-4239-a8fa-9e65b93f704b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 427 |
2025/Beyond[[:space:]]Sensor[[:space:]]Data_[[:space:]]Foundation[[:space:]]Models[[:space:]]of[[:space:]]Behavioral[[:space:]]Data[[:space:]]from[[:space:]]Wearables[[:space:]]Improve[[:space:]]Health[[:space:]]Predictions/523d721e-7c03-405d-aabf-ba82245c9d27_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 425 |
2025/Beyond[[:space:]]Self-Interest_[[:space:]]How[[:space:]]Group[[:space:]]Strategies[[:space:]]Reshape[[:space:]]Content[[:space:]]Creation[[:space:]]in[[:space:]]Recommendation[[:space:]]Platforms_/aa862d38-206b-4c35-a04f-7045f6c8b99b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 426 |
2025/Beyond[[:space:]]Self-Repellent[[:space:]]Kernels_[[:space:]]History-Driven[[:space:]]Target[[:space:]]Towards[[:space:]]Efficient[[:space:]]Nonlinear[[:space:]]MCMC[[:space:]]on[[:space:]]General[[:space:]]Graphs/be47e927-4760-4239-a8fa-9e65b93f704b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 427 |
2025/Beyond[[:space:]]Sensor[[:space:]]Data_[[:space:]]Foundation[[:space:]]Models[[:space:]]of[[:space:]]Behavioral[[:space:]]Data[[:space:]]from[[:space:]]Wearables[[:space:]]Improve[[:space:]]Health[[:space:]]Predictions/523d721e-7c03-405d-aabf-ba82245c9d27_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 428 |
+
2025/Beyond[[:space:]]Task-Specific[[:space:]]Reasoning_[[:space:]]A[[:space:]]Unified[[:space:]]Conditional[[:space:]]Generative[[:space:]]Framework[[:space:]]for[[:space:]]Abstract[[:space:]]Visual[[:space:]]Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 429 |
+
2025/Beyond[[:space:]]The[[:space:]]Rainbow_[[:space:]]High[[:space:]]Performance[[:space:]]Deep[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]on[[:space:]]a[[:space:]]Desktop[[:space:]]PC/da17f283-f8ac-4488-b3db-031049104729_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 430 |
+
2025/Beyond[[:space:]]Topological[[:space:]]Self-Explainable[[:space:]]GNNs_[[:space:]]A[[:space:]]Formal[[:space:]]Explainability[[:space:]]Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 431 |
+
2025/Beyond[[:space:]]Zero[[:space:]]Initialization_[[:space:]]Investigating[[:space:]]the[[:space:]]Impact[[:space:]]of[[:space:]]Non-Zero[[:space:]]Initialization[[:space:]]on[[:space:]]LoRA[[:space:]]Fine-Tuning[[:space:]]Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 432 |
+
2025/Beyond[[:space:]]the[[:space:]]Permutation[[:space:]]Symmetry[[:space:]]of[[:space:]]Transformers_[[:space:]]The[[:space:]]Role[[:space:]]of[[:space:]]Rotation[[:space:]]for[[:space:]]Model[[:space:]]Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 433 |
+
2025/Bi-perspective[[:space:]]Splitting[[:space:]]Defense_[[:space:]]Achieving[[:space:]]Clean-Seed-Free[[:space:]]Backdoor[[:space:]]Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 434 |
+
2025/BiAssemble_[[:space:]]Learning[[:space:]]Collaborative[[:space:]]Affordance[[:space:]]for[[:space:]]Bimanual[[:space:]]Geometric[[:space:]]Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 435 |
+
2025/BiMaCoSR_[[:space:]]Binary[[:space:]]One-Step[[:space:]]Diffusion[[:space:]]Model[[:space:]]Leveraging[[:space:]]Flexible[[:space:]]Matrix[[:space:]]Compression[[:space:]]for[[:space:]]Real[[:space:]]Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 436 |
+
2025/BiMark_[[:space:]]Unbiased[[:space:]]Multilayer[[:space:]]Watermarking[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/873e68de-dae3-493c-9d23-2ce173b24e84_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 437 |
+
2025/Bifurcate[[:space:]]then[[:space:]]Alienate_[[:space:]]Incomplete[[:space:]]Multi-view[[:space:]]Clustering[[:space:]]via[[:space:]]Coupled[[:space:]]Distribution[[:space:]]Learning[[:space:]]with[[:space:]]Linear[[:space:]]Overhead/1a09335b-24a2-4c4d-8edc-f9d0b1270c6a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 438 |
+
2025/Binary[[:space:]]Hypothesis[[:space:]]Testing[[:space:]]for[[:space:]]Softmax[[:space:]]Models[[:space:]]and[[:space:]]Leverage[[:space:]]Score[[:space:]]Models/91628084-66ed-43fd-99ba-f96918f6eee5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 439 |
+
2025/BinauralFlow_[[:space:]]A[[:space:]]Causal[[:space:]]and[[:space:]]Streamable[[:space:]]Approach[[:space:]]for[[:space:]]High-Quality[[:space:]]Binaural[[:space:]]Speech[[:space:]]Synthesis[[:space:]]with[[:space:]]Flow[[:space:]]Matching[[:space:]]Models/fb862c9c-e710-433d-a0b5-bd97a172282c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 440 |
+
2025/Bipartite[[:space:]]Ranking[[:space:]]From[[:space:]]Multiple[[:space:]]Labels_[[:space:]]On[[:space:]]Loss[[:space:]]Versus[[:space:]]Label[[:space:]]Aggregation/2fb9a425-c1a3-47de-b5f9-dcfab725c5ec_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 441 |
+
2025/Bivariate[[:space:]]Causal[[:space:]]Discovery[[:space:]]with[[:space:]]Proxy[[:space:]]Variables_[[:space:]]Integral[[:space:]]Solving[[:space:]]and[[:space:]]Beyond/2bd3b2a7-300d-42a2-9891-a5365b73244e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 442 |
+
2025/Black-Box[[:space:]]Adversarial[[:space:]]Attacks[[:space:]]on[[:space:]]LLM-Based[[:space:]]Code[[:space:]]Completion/ef48806d-7e74-4207-9b3a-2bd30865a2dc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 443 |
+
2025/Blink[[:space:]]of[[:space:]]an[[:space:]]eye_[[:space:]]a[[:space:]]simple[[:space:]]theory[[:space:]]for[[:space:]]feature[[:space:]]localization[[:space:]]in[[:space:]]generative[[:space:]]models/f61fe0a6-acb2-4140-8ebf-4ff50e5cc12f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 444 |
+
2025/BlockDialect_[[:space:]]Block-wise[[:space:]]Fine-grained[[:space:]]Mixed[[:space:]]Format[[:space:]]Quantization[[:space:]]for[[:space:]]Energy-Efficient[[:space:]]LLM[[:space:]]Inference/865b60ba-7de8-4d84-a477-e959ff516328_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 445 |
+
2025/BoA_[[:space:]]Attention-aware[[:space:]]Post-training[[:space:]]Quantization[[:space:]]without[[:space:]]Backpropagation/d1353411-68e4-45a9-afaf-103ad251cf8a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 446 |
+
2025/Bongard[[:space:]]in[[:space:]]Wonderland_[[:space:]]Visual[[:space:]]Puzzles[[:space:]]that[[:space:]]Still[[:space:]]Make[[:space:]]AI[[:space:]]Go[[:space:]]Mad_/a68e8431-bce4-438f-a1d1-8aa1e309a3eb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 447 |
+
2025/Boost-and-Skip_[[:space:]]A[[:space:]]Simple[[:space:]]Guidance-Free[[:space:]]Diffusion[[:space:]]for[[:space:]]Minority[[:space:]]Generation/6300f6f2-049a-4f4a-b60b-59cfa35d8460_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 448 |
+
2025/Boosting[[:space:]]Adversarial[[:space:]]Robustness[[:space:]]with[[:space:]]CLAT_[[:space:]]Criticality[[:space:]]Leveraged[[:space:]]Adversarial[[:space:]]Training/da4d386b-4d0f-4ac2-8a2f-ccec05c4f23f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 449 |
+
2025/Boosting[[:space:]]Masked[[:space:]]ECG-Text[[:space:]]Auto-Encoders[[:space:]]as[[:space:]]Discriminative[[:space:]]Learners/7acb7957-1ecb-457b-9f74-28ccfcbfb26a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 450 |
+
2025/Boosting[[:space:]]Multi-Domain[[:space:]]Fine-Tuning[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models[[:space:]]through[[:space:]]Evolving[[:space:]]Interactions[[:space:]]between[[:space:]]Samples/79d1dff8-2c04-4365-bf64-c99651f42b3e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 451 |
+
2025/Boosting[[:space:]]Protein[[:space:]]Graph[[:space:]]Representations[[:space:]]through[[:space:]]Static-Dynamic[[:space:]]Fusion/18017fd7-14c9-4493-b772-f659933b7127_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 452 |
+
2025/Boosting[[:space:]]Virtual[[:space:]]Agent[[:space:]]Learning[[:space:]]and[[:space:]]Reasoning_[[:space:]]A[[:space:]]Step-Wise,[[:space:]]Multi-Dimensional,[[:space:]]and[[:space:]]Generalist[[:space:]]Reward[[:space:]]Model[[:space:]]with[[:space:]]Benchmark/18edb47e-987c-4afb-aec0-4388dc5d59aa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 453 |
+
2025/Bootstrapping[[:space:]]Self-Improvement[[:space:]]of[[:space:]]Language[[:space:]]Model[[:space:]]Programs[[:space:]]for[[:space:]]Zero-Shot[[:space:]]Schema[[:space:]]Matching/529f0a7b-e63a-4255-8e1a-c08eb8247304_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 454 |
+
2025/BounDr.E_[[:space:]]Predicting[[:space:]]Drug-likeness[[:space:]]via[[:space:]]Biomedical[[:space:]]Knowledge[[:space:]]Alignment[[:space:]]and[[:space:]]EM-like[[:space:]]One-Class[[:space:]]Boundary[[:space:]]Optimization/2f2fe395-3ccc-4d4c-ae28-69687be128c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 455 |
+
2025/Bounded[[:space:]]Rationality[[:space:]]for[[:space:]]LLMs_[[:space:]]Satisficing[[:space:]]Alignment[[:space:]]at[[:space:]]Inference-Time/fff3349a-df2f-480a-bc1c-30d290a49578_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 456 |
+
2025/BoxLM_[[:space:]]Unifying[[:space:]]Structures[[:space:]]and[[:space:]]Semantics[[:space:]]of[[:space:]]Medical[[:space:]]Concepts[[:space:]]for[[:space:]]Diagnosis[[:space:]]Prediction[[:space:]]in[[:space:]]Healthcare/f2e94902-9fe9-4338-904d-2f3b630b3d05_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 457 |
+
2025/Branches_[[:space:]]Efficiently[[:space:]]Seeking[[:space:]]Optimal[[:space:]]Sparse[[:space:]]Decision[[:space:]]Trees[[:space:]]via[[:space:]]AO_/4e7f2975-584e-4bee-b443-882624b0709f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 458 |
+
2025/Breaking[[:space:]]Barriers_[[:space:]]Combinatorial[[:space:]]Algorithms[[:space:]]for[[:space:]]Non-Monotone[[:space:]]Submodular[[:space:]]Maximization[[:space:]]with[[:space:]]Sublinear[[:space:]]Adaptivity[[:space:]]and[[:space:]]$1_e$[[:space:]]Approximation/66ba16d7-1eec-4193-ae4e-fe5c518d7395_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 459 |
+
2025/Breaking[[:space:]]Silos_[[:space:]]Adaptive[[:space:]]Model[[:space:]]Fusion[[:space:]]Unlocks[[:space:]]Better[[:space:]]Time[[:space:]]Series[[:space:]]Forecasting/5150ff09-1c78-466e-b8fa-9fabef83a018_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 460 |
+
2025/Breaking[[:space:]]the[[:space:]]$n^1.5$[[:space:]]Additive[[:space:]]Error[[:space:]]Barrier[[:space:]]for[[:space:]]Private[[:space:]]and[[:space:]]Efficient[[:space:]]Graph[[:space:]]Sparsification[[:space:]]via[[:space:]]Private[[:space:]]Expander[[:space:]]Decomposition/1d258e37-9ce9-450b-be82-dabf0d7c387a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 461 |
+
2025/Breaking[[:space:]]the[[:space:]]Barrier[[:space:]]of[[:space:]]Hard[[:space:]]Samples_[[:space:]]A[[:space:]]Data-Centric[[:space:]]Approach[[:space:]]to[[:space:]]Synthetic[[:space:]]Data[[:space:]]for[[:space:]]Medical[[:space:]]Tasks/1ddeae5d-54be-46cb-89aa-becb33f8ee44_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 462 |
+
2025/Breaking[[:space:]]the[[:space:]]Curse[[:space:]]of[[:space:]]Multiagency[[:space:]]in[[:space:]]Robust[[:space:]]Multi-Agent[[:space:]]Reinforcement[[:space:]]Learning/8805932f-46cb-456e-9863-1be53738a0e9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 463 |
+
2025/Breaking[[:space:]]the[[:space:]]Quadratic[[:space:]]Barrier_[[:space:]]Robust[[:space:]]Cardinality[[:space:]]Sketches[[:space:]]for[[:space:]]Adaptive[[:space:]]Queries/57a6c149-665b-4ccc-a483-c61a5f5c2200_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 464 |
+
2025/Bridging[[:space:]]Fairness[[:space:]]and[[:space:]]Efficiency[[:space:]]in[[:space:]]Conformal[[:space:]]Inference_[[:space:]]A[[:space:]]Surrogate-Assisted[[:space:]]Group-Clustered[[:space:]]Approach/af420e35-5043-4527-9ef9-59430b68cef8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 465 |
+
2025/Bridging[[:space:]]Layout[[:space:]]and[[:space:]]RTL_[[:space:]]Knowledge[[:space:]]Distillation[[:space:]]based[[:space:]]Timing[[:space:]]Prediction/2c436b80-250d-4c7c-a424-502c72cff453_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 466 |
+
2025/Bridging[[:space:]]Protein[[:space:]]Sequences[[:space:]]and[[:space:]]Microscopy[[:space:]]Images[[:space:]]with[[:space:]]Unified[[:space:]]Diffusion[[:space:]]Models/aa80d97d-ee5b-4091-a91c-ec96d1f16b14_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 467 |
+
2025/Bring[[:space:]]Reason[[:space:]]to[[:space:]]Vision_[[:space:]]Understanding[[:space:]]Perception[[:space:]]and[[:space:]]Reasoning[[:space:]]through[[:space:]]Model[[:space:]]Merging/0458ce9d-4b76-4e61-96ff-a09b32b1410f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 468 |
+
2025/Broadband[[:space:]]Ground[[:space:]]Motion[[:space:]]Synthesis[[:space:]]by[[:space:]]Diffusion[[:space:]]Model[[:space:]]with[[:space:]]Minimal[[:space:]]Condition/cf0daa6b-16e7-4e31-a540-e6042791e2ea_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 469 |
+
2025/Byzantine-Resilient[[:space:]]Federated[[:space:]]Alternating[[:space:]]Gradient[[:space:]]Descent[[:space:]]and[[:space:]]Minimization[[:space:]]for[[:space:]]Partly-Decoupled[[:space:]]Low[[:space:]]Rank[[:space:]]Matrix[[:space:]]Learning/3d96d90c-766b-42b7-b118-de9e85019a12_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 470 |
+
2025/C-3PO_[[:space:]]Compact[[:space:]]Plug-and-Play[[:space:]]Proxy[[:space:]]Optimization[[:space:]]to[[:space:]]Achieve[[:space:]]Human-like[[:space:]]Retrieval-Augmented[[:space:]]Generation/c22ecf23-77b4-4844-a3cf-9909e05de3cb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 471 |
+
2025/C2IQL_[[:space:]]Constraint-Conditioned[[:space:]]Implicit[[:space:]]Q-learning[[:space:]]for[[:space:]]Safe[[:space:]]Offline[[:space:]]Reinforcement[[:space:]]Learning/7cb6d6fc-8203-4837-89da-e088921c566a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 472 |
+
2025/CABS_[[:space:]]Conflict-Aware[[:space:]]and[[:space:]]Balanced[[:space:]]Sparsification[[:space:]]for[[:space:]]Enhancing[[:space:]]Model[[:space:]]Merging/c5b5761d-711b-42af-b71e-11c36de675c1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 473 |
+
2025/CACTI_[[:space:]]Leveraging[[:space:]]Copy[[:space:]]Masking[[:space:]]and[[:space:]]Contextual[[:space:]]Information[[:space:]]to[[:space:]]Improve[[:space:]]Tabular[[:space:]]Data[[:space:]]Imputation/2ea1931e-2603-4792-afd0-2159864145e9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 474 |
+
2025/CAD-Editor_[[:space:]]A[[:space:]]Locate-then-Infill[[:space:]]Framework[[:space:]]with[[:space:]]Automated[[:space:]]Training[[:space:]]Data[[:space:]]Synthesis[[:space:]]for[[:space:]]Text-Based[[:space:]]CAD[[:space:]]Editing/c3a1e3f6-48f5-4c8d-9118-7dfa72794663_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 475 |
+
2025/CALM_[[:space:]]Consensus-Aware[[:space:]]Localized[[:space:]]Merging[[:space:]]for[[:space:]]Multi-Task[[:space:]]Learning/3c6e192b-48ab-428e-b48e-eead98a9c732_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 476 |
+
2025/CAN_[[:space:]]Leveraging[[:space:]]Clients[[:space:]]As[[:space:]]Navigators[[:space:]]for[[:space:]]Generative[[:space:]]Replay[[:space:]]in[[:space:]]Federated[[:space:]]Continual[[:space:]]Learning/c2f93a9e-7f31-4e52-898f-24f5437bfe1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 477 |
+
2025/CASE-Bench_[[:space:]]Context-Aware[[:space:]]SafEty[[:space:]]Benchmark[[:space:]]for[[:space:]]Large[[:space:]]Language[[:space:]]Models/10d50aa8-e709-4a20-9d47-5baa852f9b35_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 478 |
+
2025/CAT[[:space:]]Merging_[[:space:]]A[[:space:]]Training-Free[[:space:]]Approach[[:space:]]for[[:space:]]Resolving[[:space:]]Conflicts[[:space:]]in[[:space:]]Model[[:space:]]Merging/58152b9d-db49-4b3e-8598-3669c97dc53e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 479 |
+
2025/CAT_[[:space:]]Contrastive[[:space:]]Adversarial[[:space:]]Training[[:space:]]for[[:space:]]Evaluating[[:space:]]the[[:space:]]Robustness[[:space:]]of[[:space:]]Protective[[:space:]]Perturbations[[:space:]]in[[:space:]]Latent[[:space:]]Diffusion[[:space:]]Models/c3aa0b2c-8690-470d-83c5-5160dc94613e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 480 |
+
2025/CEGA_[[:space:]]A[[:space:]]Cost-Effective[[:space:]]Approach[[:space:]]for[[:space:]]Graph-Based[[:space:]]Model[[:space:]]Extraction[[:space:]]and[[:space:]]Acquisition/de736e28-a604-46e8-ad87-6c090f8c6423_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 481 |
+
2025/CERTAIN_[[:space:]]Context[[:space:]]Uncertainty-aware[[:space:]]One-Shot[[:space:]]Adaptation[[:space:]]for[[:space:]]Context-based[[:space:]]Offline[[:space:]]Meta[[:space:]]Reinforcement[[:space:]]Learning/114dc187-134f-4faa-b334-ad0916ac1e0d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 482 |
+
2025/CFP-Gen_[[:space:]]Combinatorial[[:space:]]Functional[[:space:]]Protein[[:space:]]Generation[[:space:]]via[[:space:]]Diffusion[[:space:]]Language[[:space:]]Models/2effccd1-4349-47e1-b985-c74d042f2377_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 483 |
+
2025/CFPT_[[:space:]]Empowering[[:space:]]Time[[:space:]]Series[[:space:]]Forecasting[[:space:]]through[[:space:]]Cross-Frequency[[:space:]]Interaction[[:space:]]and[[:space:]]Periodic-Aware[[:space:]]Timestamp[[:space:]]Modeling/29bf894a-773f-4c75-82de-cc80566183db_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 484 |
+
2025/CHATS_[[:space:]]Combining[[:space:]]Human-Aligned[[:space:]]Optimization[[:space:]]and[[:space:]]Test-Time[[:space:]]Sampling[[:space:]]for[[:space:]]Text-to-Image[[:space:]]Generation/f84ef880-f4c0-47f8-9cec-5d40a11115c2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 485 |
+
2025/CLARIFY_[[:space:]]Contrastive[[:space:]]Preference[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]for[[:space:]]Untangling[[:space:]]Ambiguous[[:space:]]Queries/922c0c1e-a54e-4a76-a018-c9223ea7bdff_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 486 |
+
2025/CLIMB_[[:space:]]Data[[:space:]]Foundations[[:space:]]for[[:space:]]Large[[:space:]]Scale[[:space:]]Multimodal[[:space:]]Clinical[[:space:]]Foundation[[:space:]]Models/9c5e4978-9f5a-495d-9332-3f56b87649b1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 487 |
+
2025/CLOVER_[[:space:]]Cross-Layer[[:space:]]Orthogonal[[:space:]]Vectors[[:space:]]Pruning/45da6a31-48b5-4ec4-b933-1f44195705c8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 488 |
+
2025/CMoS_[[:space:]]Rethinking[[:space:]]Time[[:space:]]Series[[:space:]]Prediction[[:space:]]Through[[:space:]]the[[:space:]]Lens[[:space:]]of[[:space:]]Chunk-wise[[:space:]]Spatial[[:space:]]Correlations/6c5dac77-4a97-4bb0-97cf-984801f4bde7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 489 |
+
2025/COExpander_[[:space:]]Adaptive[[:space:]]Solution[[:space:]]Expansion[[:space:]]for[[:space:]]Combinatorial[[:space:]]Optimization/c810731e-8f3b-4175-85f7-771a83011964_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 490 |
+
2025/COGNATE_[[:space:]]Acceleration[[:space:]]of[[:space:]]Sparse[[:space:]]Tensor[[:space:]]Programs[[:space:]]on[[:space:]]Emerging[[:space:]]Hardware[[:space:]]using[[:space:]]Transfer[[:space:]]Learning/aa4f3385-be13-4d70-bd5c-cf7818417798_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 491 |
+
2025/COKE_[[:space:]]Core[[:space:]]Kernel[[:space:]]for[[:space:]]More[[:space:]]Efficient[[:space:]]Approximation[[:space:]]of[[:space:]]Kernel[[:space:]]Weights[[:space:]]in[[:space:]]Multiple[[:space:]]Kernel[[:space:]]Clustering/3f5efe43-2d0f-4e9f-ac5f-bb392ca3cd4a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/187a29f7-5752-44f7-a8d5-732c4e65a8cc_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2eda0adbd52ddd9f089c7daa038ec45c952ffc05cef0fbad6a96ffb11cf86a41
|
| 3 |
+
size 2685087
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/full.md
ADDED
|
@@ -0,0 +1,576 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Beyond Task-Specific Reasoning: A Unified Conditional Generative Framework for Abstract Visual Reasoning
|
| 2 |
+
|
| 3 |
+
Fan Shi $^{1}$ Bin Li $^{*1}$ Xiangyang Xue $^{1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Abstract visual reasoning (AVR) enables humans to quickly discover and generalize abstract rules to new scenarios. Designing intelligent systems with human-like AVR abilities has been a longstanding topic in the artificial intelligence community. Deep AVR solvers have recently achieved remarkable success in various AVR tasks. However, they usually use task-specific designs or parameters in different tasks. In such a paradigm, solving new tasks often means retraining the model, and sometimes retuning the model architectures, which increases the cost of solving AVR problems. In contrast to task-specific approaches, this paper proposes a novel Unified Conditional Generative Solver (UCGS), aiming to address multiple AVR tasks in a unified framework. First, we prove that some well-known AVR tasks can be reformulated as the problem of estimating the predictability of target images in problem panels. Then, we illustrate that, under the proposed framework, training one conditional generative model can solve various AVR tasks. The experiments show that with a single round of multi-task training, UCGS demonstrates abstract reasoning ability across various AVR tasks. Especially, UCGS exhibits the ability of zero-shot reasoning, enabling it to perform abstract reasoning on problems from unseen AVR tasks in the testing phase.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Abstract visual reasoning (AVR) is a fundamental cognitive ability that enables humans to identify visual concepts, infer underlying abstract rules, and generalize the rules to new scenarios effectively (Cattell, 1963; Zhuo & Kankanhalli,
|
| 12 |
+
|
| 13 |
+
$^{1}$ Shanghai Key Laboratory of Intelligent Information Processing, School of Computer Science, Fudan University. Correspondence to: Bin Li <libin@fudan.edu.cn>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 16 |
+
|
| 17 |
+
2021; MaΕkinski & Mandziewski, 2022a). This ability is pivotal in cognitive activities like decision-making, visual analogy and spatial reasoning (Gray & Thompson, 2004; McCloskey, 1983). Many psychological tests are designed to assess the AVR ability of humans, which often requires the subject to discover specific rules that connect different visual concepts (Raven & Court, 1938; McMillen, 2007; Nie et al., 2020). For example, Raven's Progressive Matrix (RPM) (Raven & Court, 1938) focuses on assessing generalization ability, as the tests include unseen combinations of visual concepts and rules, which is a classical intelligence quotient test.
|
| 18 |
+
|
| 19 |
+
Developing models that reveal human-like AVR ability remains a significant challenge in artificial intelligence research (Zheng et al., 2019; Chollet, 2019; MaΕkinski & Mandziuk, 2022b). Many AVR benchmarks have been proposed to evaluate intelligent systems in a way that mirrors human-like AVR ability (Barrett et al., 2018; Hill et al., 2019; Zhang et al., 2019; Nie et al., 2020). These benchmarks usually adopt the problem structure of traditional psychological tests and provide programs to generate a large number of problems automatically, e.g., the RAVEN dataset generates RPM problems by combining predefined visual concepts and abstract rules (Zhang et al., 2019). In recent years, deep AVR solvers have achieved remarkable progress on the proposed AVR benchmarks (Barrett et al., 2018; Zhuo & Kankanhalli, 2021; Mondal et al., 2023). However, they often rely on task-specific inductive biases of model architecture and hyperparameters, and solving different tasks typically means training different instances of models. This task-specific paradigm arouses interest in exploring a more unified framework for AVR solvers (Webb et al., 2024).
|
| 20 |
+
|
| 21 |
+
AVR tasks take different structures of problem panels to assess the subject's ability to understand abstract rules. RPM-style tasks (Barrett et al., 2018; Zhang et al., 2019) require discovering abstract rules of a $3 \times 3$ image matrix and selecting answers from a candidate panel to complete the matrix via analogy. Odd-one-out problems (McMillen, 2007) test the ability to identify the image that violates the abstract rules of a sequence. In addition, AVR tasks can be distinguished as generative tasks and selective tasks. Generative tasks require the synthesizing or reconstruction of images (Bar et al., 2022; Dedhia et al., 2023; Bai et al., 2023), while
|
| 22 |
+
|
| 23 |
+
selective tasks provide predefined options for the selection of answers (Barrett et al., 2018; Hill et al., 2019; Nie et al., 2020). These AVR tasks have different structures and goals, posing challenges in proposing a unified problem-solving framework.
|
| 24 |
+
|
| 25 |
+
Conditional generative models can discover the latent structure of observations, capture complex conditional dependencies between latent factors, and generate outputs conditioned on specific input variables or context (Mirza, 2014; Sohn et al., 2015; Chen et al., 2016). This ability is beneficial for AVR tasks that require understanding the abstract rules underlying the problem panels, where the latent structures can represent the abstract rules like shape transformations and spatial arrangements. Conditional generative models offer a powerful tool for solving AVR problems. Previous works have shown that both generative and selective AVR tasks can be tackled via conditional generation (Pekar et al., 2020; Shi et al., 2021; 2024). The solvers can generate the missing part of the panel and then compare it with the candidates to select the correct answer of an RPM test, which sheds light on unifying selective and generative AVR tasks.
|
| 26 |
+
|
| 27 |
+
We propose a novel framework, Unified Conditional Generative Solver (UCGS), to address multiple AVR tasks within a unified framework. UCGS frames various AVR tasks as a conditional generation process, which does not need repeated model training or task-specific hyperparameters when solving different AVR tasks. We prove that some classical AVR tasks, including RPM (Zhang et al., 2019; Barrett et al., 2018), Visual Analogy Problem (VAP) (Hill et al., 2019), Odd-One-Out (O3) (Mandziuk & Zychowski, 2019) and Synthetic Visual Reasoning Task (SVRT) (Fleuret et al., 2011), can be solved by estimating the probability of generating the target images conditioned on the remaining images within a problem panel. We design a conditional generative network to instantiate the proposed framework, which can infer visual concepts from image patches and conduct abstract visual reasoning in terms of the concepts. The experiments demonstrate that UCGS exhibits not only the abstract reasoning ability on in-distribution tasks, but also the zero-shot reasoning ability to handle unseen tasks during the test phase.
|
| 28 |
+
|
| 29 |
+
# 2. Related Work
|
| 30 |
+
|
| 31 |
+
Abstract Visual Reasoning. Abstract visual reasoning (AVR) tasks are taken to measure the ability of abstract rule learning and problem-solving through analogical reasoning. Some early models (Lovett et al., 2010; Little et al., 2012) relied on artificially designed features to perform abstract visual reasoning. In recent years, a large number of models based on deep features have emerged (Barrett et al., 2018; Wang et al., 2020; Yun et al., 2020; Zhuo & Kankanhalli, 2021; Depeweg et al., 2024). Different abstract features,
|
| 32 |
+
|
| 33 |
+
such as hierarchical features (Zheng et al., 2019; Benny et al., 2021; Hu et al., 2021), disentangled representations (Van Steenkiste et al., 2019; Wu et al., 2020), and object-centric representations (Mondal et al., 2023; Webb et al., 2024), have been introduced as cues for abstract reasoning. Some approaches solve RPMs based on neuro-symbolic architectures (Hersche et al., 2023). On the other hand, some approaches focus on solving generative AVR tasks (Pekar et al., 2020; Shi et al., 2021; Zhang et al., 2021a;b; Shi et al., 2023; 2024). They directly complete problem panels from the given contexts and select answers by comparing the generated results with candidates. Inspired by language-prompted LLMs (Brown et al., 2020), visual in-context learners have been proposed to solve analogical reasoning problems in visual data (Bar et al., 2022; Dedhia et al., 2023; Bai et al., 2023; Zhao et al., 2023). Compared with the previous solvers, UCGS focuses on solving AVR tasks in a unified conditional generation framework.
|
| 34 |
+
|
| 35 |
+
Deep Conditional Generative Models. Deep generative models learn distributions of entire datasets, then they can generate novel samples that do not appear in the training stage (Kingma & Welling, 2013; Goodfellow et al., 2014; Du & Mordatch, 2019; Rombach et al., 2022). Deep conditional generative models (DCGMs) estimate the conditional probability distribution of the output given a certain input (Mirza, 2014; Sohn et al., 2015; Chen et al., 2016). Conditional Generative Adversarial Network (CGAN) (Mirza, 2014) is a classical type of DCGM, where a generator produces data conditioned on the input, and a discriminator distinguishes between the real and generated data. Conditional Variational Autoencoder (CVAE) (Sohn et al., 2015) introduces conditional inputs to conventional VAE (Kingma & Welling, 2013), where conditional inputs are encoded with input data into a latent space, and the latent representation is decoded to generate new samples in terms of the conditional inputs. Conditional generative models reveal a deep understanding of complex structures behind conditional inputs and data. Some DCGMs discover the underlying structure behind complex data by predicting the missing part of the data from the given context. Masked autoencoder (MAE) (He et al., 2022) is given an input where some portions are masked, and the task is to generate the missing pieces. The NP family (Garnelo et al., 2018; Kim et al., 2019; Dutordoir et al., 2023) can simulate a continuous function based on given points. In this paper, UCGS solves different AVR tasks with a unified conditional generative model, which extends the application of DCGMs in learning underlying structures from data.
|
| 36 |
+
|
| 37 |
+
# 3. Methods
|
| 38 |
+
|
| 39 |
+
In this section, we illustrate how to solve commonly used AVR tasks through conditional generation and leverage a
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
(a) Raven's Progressive Matrix (RPM)
|
| 43 |
+
Problem Panel $I^p$
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
(b) Visual Analogy Problem (VAP)
|
| 47 |
+
Problem Panel $I^p$
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
Candidates $I^s$
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
(c) Odd-One-Out (O3) Problem
|
| 54 |
+
|
| 55 |
+

|
| 56 |
+
Problem Panel $I^p$
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
(d) Synthetic Visual Reasoning Task (SVRT)
|
| 60 |
+
Left Problem Panel $I^l$
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
Right Problem Panel $I^r$
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Query Panel $I^q$
|
| 67 |
+
Figure 1: An illustration of abstract visual reasoning (AVR) tasks. This paper involves four AVR tasks, despite their differences in the predefined visual concepts (e.g., object shape and color) and abstract rules (e.g., progressive change and logical rule), all assess the ability to infer abstract rules from visual stimuli. (a) Raven's Progressive Matrices (RPMs) are visual puzzles where participants are given a problem panel with one missing piece. The task is to select the correct image (e.g., the 6th candidate image in the example) from the candidate panel that completes the problem panel. (b) Visual Analogy Problems (VAPs) are similar to RPMs. The participant must choose candidate images that complete the analogy and fit the missing piece of problem panels. (c) In an Odd-One-Out (O3) problem, solvers are given a problem panel to find the odd image that breaks the abstract rule (e.g., the 2nd image in the example panel). (d) A problem of Synthetic Visual Reasoning Task (SVRT) consists of two problem panels following different abstract rules. The task is to deduce the rule that differentiates the problem panels, and solvers are required to categorize the query image into the left or right panel.
|
| 68 |
+
|
| 69 |
+
unified conditional generative network for abstract visual reasoning. We then introduce an instance of UCGS, where the conditional generative network can generate missing panels from context across various tasks.
|
| 70 |
+
|
| 71 |
+
# 3.1. Unified Conditional Generative Solver
|
| 72 |
+
|
| 73 |
+
As shown in Figure 1, the AVR tasks define different visual concepts and the abstract rules on the concepts, which test the understanding of abstract rules in different ways of obtaining answers. We will introduce how to solve different AVR tasks in a unified way as follows.
|
| 74 |
+
|
| 75 |
+
Definition 3.1. $\pmb{I}^p = \{\pmb{I}_i^p | i = 1, \dots, N\}$ is a problem panel where $\pmb{I}_i^p$ is the $i$ -th panel image of $\pmb{I}^p$ . The correctness of $\pmb{I}^p$ is the joint probability $p(\pmb{I}^p)$ . $\pmb{I}^p$ is rule-compliant if $p(\pmb{I}^p)$ is large, and rule-violating if $p(\pmb{I}^p) \to 0$ .
|
| 76 |
+
|
| 77 |
+
By modeling the correctness of a problem panel as a joint probability over panel images, we can define the conditional probability of predicting a specific image in the panel.
|
| 78 |
+
|
| 79 |
+
Definition 3.2. For panel $\pmb{I}^p$ , the predictability $p(\pmb{x}|\pmb{I}_{\neg i}^{p})$ indicates the probability that the $i$ -th panel image is $\pmb{x}$ given the context $\pmb{I}_{\neg i}^{p}$ , where $\pmb{I}_{\neg i}^{p} = \{\pmb{I}_{j}^{p}\}_{j \neq i}$ .
|
| 80 |
+
|
| 81 |
+
Estimating and sampling results from the predictability can solve generative RPM problems, since the problems require solvers to generate answers from the context (Pekar et al., 2020). But the predictability cannot directly solve selective RPM problems where the solvers must pick answers from
|
| 82 |
+
|
| 83 |
+
candidate panels (Zhang et al., 2019). Let $I_{i \to x}^{p}$ be the panel created by replacing the $i$ -th image of the panel $I^{p}$ to $x$ . Using Definitions 3.1 and 3.2, UCGS can solve the following selective tasks by estimating the predictability.
|
| 84 |
+
|
| 85 |
+
Proposition 3.3. Given the problem panel $\pmb{I}^p$ and candidate panel $\pmb{I}^s$ of an RPM test or VAP, where $N = |\pmb{I}^p|$ , the correct answer $\pmb{x}^\star = \operatorname*{argmax}_{\pmb{x} \in \pmb{I}^s} p(\pmb{x}|\pmb{I}_{\neg N}^p)$ .
|
| 86 |
+
|
| 87 |
+
Proof. The context panel $\pmb{I}_{\neg N}^{p}$ is created by removing the last image from $\pmb{I}^p$ . The modified panels $\{\pmb{I}_{N\rightarrow \pmb{x}}^p |\pmb {x}\in \pmb{I}^s\}$ are created by placing the candidate images to the removed position. The correctness of $\pmb{I}_{N\rightarrow \pmb{x}}^{p}$ is
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
p \left(\boldsymbol {I} _ {N \rightarrow \boldsymbol {x}} ^ {p}\right) = p (\boldsymbol {x} \mid \boldsymbol {I} _ {\neg N} ^ {p}) p \left(\boldsymbol {I} _ {\neg N} ^ {p}\right) \propto p (\boldsymbol {x} \mid \boldsymbol {I} _ {\neg N} ^ {p}). \tag {1}
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
The correct answer $\pmb{x}^*$ make up the modified panel with the largest correctness, given by $\operatorname{argmax}_{\pmb{x} \in I^s} p(\pmb{x} | I_{\neg N}^p)$ .
|
| 94 |
+
|
| 95 |
+
Proposition 3.4. Given the panel $\mathbf{I}^p$ of an O3 problem, the index of the odd image $i^\star = \operatorname*{argmin}_{i=1,\dots,N} p(\mathbf{I}_i^p | \mathbf{I}_{\neg i}^p)$ , where $N = |\mathbf{I}^p|$ .
|
| 96 |
+
|
| 97 |
+
Proof. We create context panels $\{I_{\neg i}^p |i = 1,\dots ,N\}$ by removing each image from $I^{p}$ . The correctness of $I_{\neg i}^{p}$ is
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
p \left(\boldsymbol {I} _ {\neg i} ^ {p}\right) = \frac {p \left(\boldsymbol {I} ^ {p}\right)}{p \left(\boldsymbol {I} _ {i} ^ {p} \mid \boldsymbol {I} _ {\neg i} ^ {p}\right)} \propto \frac {1}{p \left(\boldsymbol {I} _ {i} ^ {p} \mid \boldsymbol {I} _ {\neg i} ^ {p}\right)}. \tag {2}
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
If $I_{i}^{p}$ is the odd image, $p(I_{\neg i}^{p})$ will be large since the rule-breaking image is removed, otherwise $I_{\neg i}^{p}$ is still rule-
|
| 104 |
+
|
| 105 |
+
violating and $p(\mathbf{I}_{\neg i}^p) \to 0$ . Hence the index of the odd image is $i^\star = \operatorname*{argmin}_{i=1,\dots,N} p(\mathbf{I}_i^p|\mathbf{I}_{\neg i}^p)$ .
|
| 106 |
+
|
| 107 |
+
Proposition 3.5. Given a left problem panel $\pmb{I}^l$ , a right problem panel $\pmb{I}^r$ and a query panel $\pmb{I}^q$ of SVRT, where $N = |\pmb{I}^l| = |\pmb{I}^r|$ , the query image $\pmb{x} \in \pmb{I}^q$ belongs to the panel $\pmb{I}^\star = \operatorname{argmax}_{\pmb{I}^p \in \{\pmb{I}^l, \pmb{I}^r\}} p(\pmb{x} | \pmb{I}^p)$ .
|
| 108 |
+
|
| 109 |
+
Proof. By appending the query image $\pmb{x} \in I^q$ to the end of the problem panels $\pmb{I}^l$ and $\pmb{I}^r$ , we get the extended panels $\pmb{I}_{+x}^l$ and $\pmb{I}_{+x}^r$ . The correctness of the extended panels is
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
p \left(\boldsymbol {I} _ {+ \boldsymbol {x}} ^ {l}\right) = p (\boldsymbol {x} \mid \boldsymbol {I} ^ {l}) p \left(\boldsymbol {I} ^ {l}\right), \tag {3}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
p (\boldsymbol {I} _ {+ \boldsymbol {x}} ^ {r}) = p (\boldsymbol {x} | \boldsymbol {I} ^ {r}) p (\boldsymbol {I} ^ {r}).
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
If $\pmb{x}$ belongs to $\pmb{I}^p$ , the extended panel $\pmb{I}_{+\pmb{x}}^p$ remains rulecompliant because the panel rule is not changed. Therefore, $\pmb{I}_{+\pmb{x}}^p$ has the largest correctness. Consider that $\pmb{I}^l$ and $\pmb{I}^r$ are sampled from the dataset $\mathcal{D}$ uniformly without overlap, in Equation 3 we have $p(\pmb{I}^l) = p(\pmb{I}^r) = 1 / |\mathcal{D}|$ . Therefore, $\pmb{x}$ belongs to the panel $\pmb{I}^\star = \operatorname{argmax}_{\pmb{I}^p \in \{\pmb{I}^l, \pmb{I}^r\}} p(\pmb{x} | \pmb{I}^p)$ .
|
| 120 |
+
|
| 121 |
+
Propositions 3.3, 3.4, and 3.5 demonstrate that although the answers to AVR problems have different forms, they can be converted into the estimation of predictability on panel images. In this way, answer selection and generation are unified. If the $i$ -th image of an RPM problem panel is missing, we can generate answers by sampling from $p(\boldsymbol{x}|\boldsymbol{I}_{\neg i}^{p})$ , as well as select answers by filling in the candidate $\boldsymbol{x}$ and computing the panel correctness $p(\boldsymbol{I}_{i\rightarrow \boldsymbol{x}}^{p}) = p(\boldsymbol{x}|\boldsymbol{I}_{\neg i}^{p})p(\boldsymbol{I}_{\neg i}^{p})$ . With a unified predictability estimator, UCGS can solve different AVR problems after a round of multi-task training, preventing repeated training or tuning of AVR solvers. The core of UCGS is a shared predictability estimator and training-free judgment functions. The predictability estimator is a conditional generative network trained on different AVR tasks to estimate the predictability of panel images. As shown in Propositions 3.3, 3.4, and 3.5, the judgment functions transform outputs of the predictability estimator to obtain the final results, which are task-specific. In the next sections, we provide an instance of UCGS and introduce the architecture of the conditional generative network in detail.
|
| 122 |
+
|
| 123 |
+
# 3.2. Instantiation of UCGS
|
| 124 |
+
|
| 125 |
+
We instantiate UCGS with a Transformer-based conditional generative network, called UCGS-T. Figure 2a illustrates the architecture of UCGS-T via an RPM problem. The problem panel of an RPM contains $N = 9$ images, where we leave one as the prediction target and the others as the context. We denote the index of the target image as $t$ , and the indices of the context images as a set $C$ . The objective of UCGS-T is to estimate the predictability $p(\mathbf{I}_t^p | \mathbf{I}_C^p)$ . UCGS-T consists of five modules, which will be introduced as follows.
|
| 126 |
+
|
| 127 |
+
# 3.2.1. IMAGE ENCODER AND DECODER
|
| 128 |
+
|
| 129 |
+
Figure 2b depicts the architecture of the image encoder and decoder. UCGS-T learns patch representations of the input image by mapping continuous representations into a finite set of discrete codes, which is then decoded back into the original data space (Van Den Oord et al., 2017; Razavi et al., 2019). The image encoder extracts a feature map with $M$ visual features from $I_{i}^{p}$ using a CNN-based neural network, which are projected to the nearest vectors in a fixed-size codebook $e = (e_1, e_2, \dots, e_L)$ to obtain $M$ quantized patch representations $Z_{i} = \{Z_{i,1}, Z_{i,2}, \dots, Z_{i,M}\}$ . The image decoder takes the quantized patch representations as input and reconstructs the image from the discrete representation space. The input images are compressed into quantized patch representations to learn more abstract and general representations for reasoning. We can estimate the predictability $p(I_t^p | I_C^p)$ over the high-dimensional images through $p(Z_t|Z_C)$ on the patch representations to reduce the complexity of reasoning.
|
| 130 |
+
|
| 131 |
+
# 3.2.2.PATCH ENCODER
|
| 132 |
+
|
| 133 |
+
The quantized patch representations focus on local regions of the image, potentially corresponding to a specific geometric shape or pattern learned by the codebook. As shown in Figure 2c, the patch encoder computes the relation between the local patch representations to understand the role of each patch in the overall image and extract the image-level visual concepts (e.g., the number of entities in the image). We add $M$ learnable positional embeddings to the patches of each panel image, which is projected to the high-dimensional representations $\tilde{Z}$ by a linear network to encode spatial position information, where $\tilde{Z}_{i,m}$ is the position-augmented representations of $Z_{i,m}$ for $i = 1,\dots ,N$ and $m = 1,\ldots ,M$ . $\tilde{Z}_i$ are passed through a Transformer decoder to capture global dependencies and relationships between the patches. In addition to the patch representations, we introduce class tokens $\{\mathrm{CLS}_1,\dots ,\mathrm{CLS}_K\}$ as learnable slots to aggregate global information from the patches and obtain the visual concepts $S_{i} = \{S_{i,k}|k = 1,\dots ,K\}$ where
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\boldsymbol {S} _ {i, k} = \operatorname {T r a n s f o r m e r D e c o d e r} \left(\mathrm {C L S} _ {k}, \tilde {\boldsymbol {Z}} _ {i}\right). \tag {4}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
The independent slots capture $K$ visual concepts from the patches. The Transformer decoder updates the slots based on attention mechanisms, where the slots act as queries and the patch representations $\tilde{Z}_i$ are keys and values. The final output of the patch encoder is the visual concepts $S_i$ that consider relationships across the patches of the entire image.
|
| 140 |
+
|
| 141 |
+
# 3.2.3. CONCEPT ENCODER
|
| 142 |
+
|
| 143 |
+
The concept encoder combines the visual concepts of the context images (i.e., context concepts) $S_{C} = \{S_{i}|i\in C\}$ , understanding the overall layout and abstract rule within the
|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
(a) Overview
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Problem Panel
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Legend
|
| 153 |
+
Concept Slots
|
| 154 |
+
Context Patches
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
(b) Image Encoder and Decoder
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
(c) Patch Encoder
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
(d) Concept Encoder
|
| 166 |
+
Figure 2: An Overview of UCGS-T. The image encoder extracts high-level features from each context panel image, which are mapped into discrete context patch representations via vector quantization. The patch encoder captures image-level visual concepts from context patches that encode local information. The panel encoder integrates visual concepts of the context images, understanding abstract rules on the panel, and predicting visual concepts for the target image. The patch decoder generates patch representations of the target image from the target visual concepts predicted by the panel encoder. The image decoder reconstructs the target image from the target patches.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
(e) Patch Decoder
|
| 170 |
+
|
| 171 |
+
panel, and predicting the visual concepts of the target image (i.e., target concepts) $S_{t}$ . Figure 2d displays the architecture of the concept encoder. First, the input context concepts $S_{C}$ are reorganized into $K$ groups $\{G_1,\dots ,G_K\}$ in terms of the concepts, where the $k$ -th group $G_{k} = \{S_{i,k}|i\in C\}$ . We group the context concepts since the abstract rules are typically global and shared among different visual concepts (Wu et al., 2020; Shi et al., 2024), e.g., the tuples (Triangle, Square, Pentagon) and (Small, Middle, Large) point to the same abstract rule Increase. To encode the position of concepts within the group $G_{k}$ , learnable positional embeddings are added to the visual concepts in $G_{k}$ , followed by a linear projection to produce the position-augmented representations $\tilde{G}_k$ . Each group is processed independently by a shared Transformer decoder to capture concept-specific abstract rules and predict the target visual concepts $S_{t} = \{S_{t,k}|k = 1,\ldots ,K\}$ where
|
| 172 |
+
|
| 173 |
+
$$
|
| 174 |
+
\boldsymbol {S} _ {t, k} = \text {T r a n s f o r m e r D e c o d e r} \left(\mathrm {P E} _ {t}, \tilde {\boldsymbol {G}} _ {k}\right). \tag {5}
|
| 175 |
+
$$
|
| 176 |
+
|
| 177 |
+
$\mathrm{PE}_t$ is a learnable target positional embedding. The output $S_{t}$ is used to reconstruct the patches of the target image.
|
| 178 |
+
|
| 179 |
+
# 3.2.4.PATCH DECODER
|
| 180 |
+
|
| 181 |
+
The patch decoder in Figure 2e generates target patches from the target visual concepts $S_{t}$ in an autoregressive manner (Yan et al., 2021). The predictability is factorized by
|
| 182 |
+
|
| 183 |
+
$$
|
| 184 |
+
p \left(\boldsymbol {Z} _ {t} \mid \boldsymbol {Z} _ {C}\right) = \prod_ {m = 1} ^ {M} p \left(\boldsymbol {Z} _ {t, m} \mid \boldsymbol {Z} _ {t, < m}, \boldsymbol {Z} _ {C}\right) \tag {6}
|
| 185 |
+
$$
|
| 186 |
+
|
| 187 |
+
where a learnable token $Z_{t,0}$ is used to indicate the beginning of the autoregressive decoding process. The process generates the patch sequence one step at a time, where the $m$ -th step depends on the previously generated patches $Z_{t, < m}$ and the target concepts $S_{t}$ computed from $Z_{C}$ . The $m$ -th step $p(Z_{t,m}|Z_{t, < m},Z_C)$ is parameterized by a Transformer decoder with a prediction head:
|
| 188 |
+
|
| 189 |
+
$$
|
| 190 |
+
\tilde {\boldsymbol {Z}} _ {t, < m} = \text {P o s t i o n a l E m b e d d i n g} \left(\boldsymbol {Z} _ {t, < m}\right),
|
| 191 |
+
$$
|
| 192 |
+
|
| 193 |
+
$$
|
| 194 |
+
\boldsymbol {H} = \text {T r a n s f o r m e r D e c o d e r} \left(\tilde {\boldsymbol {Z}} _ {t, < m}, \boldsymbol {S} _ {t}\right), \tag {7}
|
| 195 |
+
$$
|
| 196 |
+
|
| 197 |
+
$$
|
| 198 |
+
\boldsymbol {\pi} _ {m} = \operatorname {S o f t m a x} \left(\operatorname {L i n e a r} \left(\boldsymbol {H} _ {m}\right)\right),
|
| 199 |
+
$$
|
| 200 |
+
|
| 201 |
+
$$
|
| 202 |
+
\boldsymbol {Z} _ {t, m} = \boldsymbol {e} [ c _ {m} ], \text {w h e r e} c _ {m} \sim \text {C a t e g o r i c a l} (\boldsymbol {\pi} _ {m}).
|
| 203 |
+
$$
|
| 204 |
+
|
| 205 |
+
The output of the Transformer decoder is passed through a prediction head, which maps the hidden representations into the probabilities over the discrete codes in the codebook. The final prediction of the target patch $Z_{t,m}$ is given by querying the $c_m$ -th vector $e[c_m]$ in the codebook.
|
| 206 |
+
|
| 207 |
+
# 3.2.5. MODEL TRAINING
|
| 208 |
+
|
| 209 |
+
The total loss of the model consists of an image reconstruction loss $\mathcal{L}_{\mathrm{recon}}$ and a patch prediction loss $\mathcal{L}_{\mathrm{pred}}$ . We adopt the training objective of VQVAE (Van Den Oord et al., 2017) as the image reconstruction loss to ensure that the input image can be correctly reconstructed from its quantized discrete representations. $\mathcal{L}_{\mathrm{recon}}$ is defined as the distance between the input images and the reconstructions with a commitment loss to ensure the continuous representations are not too far from the codebook vectors. The patch prediction loss evaluates the difference between the predicted target patches (discrete codes) and the target patches encoded from the image encoder. $\mathcal{L}_{\mathrm{pred}}$ is defined as
|
| 210 |
+
|
| 211 |
+
$$
|
| 212 |
+
\mathcal {L} _ {\text {p r e d}} = - \sum_ {m = 1} ^ {M} \log p \left(\boldsymbol {Z} _ {t, m} \mid \boldsymbol {Z} _ {t, < m}, \boldsymbol {Z} _ {C}\right). \tag {8}
|
| 213 |
+
$$
|
| 214 |
+
|
| 215 |
+
By combining the image reconstruction loss and patch prediction loss, the total loss is given as
|
| 216 |
+
|
| 217 |
+
$$
|
| 218 |
+
\mathcal {L} _ {\text {t o t a l}} = \mathcal {L} _ {\text {p r e d}} + \lambda \cdot \mathcal {L} _ {\text {r e c o n}} \tag {9}
|
| 219 |
+
$$
|
| 220 |
+
|
| 221 |
+
where $\lambda$ is a hyperparameter that balances the losses. The image encoder and decoder are pretrained before training the remaining modules. We can set $\lambda > 0$ to finetune the image encoder and decoder in the following training stage. But we find that freezing their parameters is the best choice.
|
| 222 |
+
|
| 223 |
+
# 4. Experiments
|
| 224 |
+
|
| 225 |
+
In this section, we compare UCGS-T with ablation baselines, task-specific solvers and Multimodal LLMs (MLLMs) on four classical AVR tasks shown in Figure 1. We also conduct qualitative experiments to illustrate the performance of UCGS-T in answer generation tasks by visualizing the generation results of RAVEN and PGM.
|
| 226 |
+
|
| 227 |
+
Datasets. The models are evaluated on RAVEN (Zhang et al., 2019) and PGM (Barrett et al., 2018) to assess their reasoning abilities on RPM tasks. The ability to reason over O3 problems is tested using the G1-set dataset (MaΕdziuk & Ε½ychowski, 2019). Performance on the remaining AVR tasks is evaluated using the VAP (Hill et al., 2019) and SVRT (Fleuret et al., 2011) datasets. RAVEN and PGM are used for both training and testing, while G1-set, VAP, and SVRT are used only during testing to assess the zero-shot reasoning capabilities of the models. In addition to the public datasets, we construct three new datasets, i.e., O3-ID, VAP-ID, and SVRT-ID, based on RAVEN. These
|
| 228 |
+
|
| 229 |
+
datasets are designed to evaluate the ability to reason on unseen AVR tasks that share in-distribution visual concepts and abstract rules with the training data. See Appendix A for more details on the dataset construction.
|
| 230 |
+
|
| 231 |
+
Metric. We compute the selection accuracy, a standard metric that evaluates model performance on AVR tasks (Barrett et al., 2018). This metric is applicable to both selective and generative solvers. For selective solvers, which predict the index of answers, selection accuracy can be calculated straightforwardly. Although candidate panels guarantee a unique correct answer, many AVR problems admit multiple valid solutions, making it challenging to enumerate all possible correct answers when evaluating generative solvers (Shi et al., 2024). We consider the output of a generative solver to be correct if it is the closest match to the ground truth answer among the candidate panels. Accordingly, both selective and generative solvers are evaluated using selection accuracy in our experiments.
|
| 232 |
+
|
| 233 |
+
Ablation Baselines. We employ three backbone architectures and two conditional generative solvers to construct a set of ablation baselines. One of the backbones is the patch-based backbone (Patch) used in UCGS-T. Given that recent task-specific solvers (Mondal et al., 2023; Webb et al., 2024) have demonstrated strong performance using object-centric representations, we introduce an object-centric backbone (OCL) (Locatello et al., 2020; Yuan et al., 2023), which extracts slot representations to capture individual objects in panel images. We also incorporate a monolithic backbone (Mono) that encodes each panel image as a single representation. We introduce two baseline conditional generative solvers for predictability estimation. The Transformer-based solver (TF) maps context images to target images using a Transformer encoder-decoder architecture. The ANP-based solver (ANP) (Kim et al., 2019) models the distribution over image panels using stochastic functions where context images are used to infer the functions, and target images are sampled from fixed locations of the functions. By combining the backbones and conditional generative solvers, we construct six ablation baselines. Further details of UCGS-T and these baselines are provided in Appendix B. UCGS-T and the ablation baselines are trained under a multi-task setting using all seven configurations of RAVEN and the neutral configuration of PGM. The models are evaluated on VAP, G1-set, and SVRT without retraining or fine-tuning to assess zero-shot reasoning ability. We conduct qualitative experiments by visualizing the target images generated by the models to illustrate and compare the answer-generation capabilities of UCGS-T and the ablation baselines.
|
| 234 |
+
|
| 235 |
+
Task-specific Solvers and MLLMs. Since UCGS-T is designed to handle both selective and generative tasks, we compare it against several task-specific solvers that support both answer selection and generation: PrAE (Zhang
|
| 236 |
+
|
| 237 |
+
Table 1: Selection accuracy (%) on AVR tasks. ID tasks have only in-distribution visual concepts and abstract rules, while OOD tasks contain out-of-distribution visual concepts and abstract rules. The problems of zero-shot tasks only appear in the testing stage. The models marked with * are evaluated on subsets of the datasets.
|
| 238 |
+
|
| 239 |
+
<table><tr><td rowspan="2">MODEL</td><td colspan="2">ID TASKS</td><td colspan="3">ID AND ZERO-SHOT TASKS</td><td colspan="3">OOD AND ZERO-SHOT TASKS</td></tr><tr><td>RAVEN</td><td>PGM</td><td>O3-ID</td><td>VAP-ID</td><td>SVRT-ID</td><td>G1-SET</td><td>VAP</td><td>SVRT</td></tr><tr><td>ANP + MONO</td><td>6.0</td><td>14.1</td><td>11.9</td><td>5.8</td><td>51.9</td><td>32.9</td><td>30.7</td><td>48.4</td></tr><tr><td>ANP + OCL</td><td>8.3</td><td>12.3</td><td>13.3</td><td>8.5</td><td>49.4</td><td>29.3</td><td>30.4</td><td>49.8</td></tr><tr><td>ANP + PATCH</td><td>10.5</td><td>12.3</td><td>11.7</td><td>10.9</td><td>49.8</td><td>30.6</td><td>30.9</td><td>51.0</td></tr><tr><td>TF + MONO</td><td>11.2</td><td>14.1</td><td>13.6</td><td>6.5</td><td>56.4</td><td>32.7</td><td>30.2</td><td>50.8</td></tr><tr><td>TF + OCL</td><td>7.4</td><td>12.3</td><td>12.7</td><td>7.1</td><td>49.6</td><td>33.7</td><td>30.6</td><td>50.0</td></tr><tr><td>TF + PATCH</td><td>21.0</td><td>15.6</td><td>35.8</td><td>15.5</td><td>71.8</td><td>30.5</td><td>27.1</td><td>51.4</td></tr><tr><td>UCGS-T</td><td>64.6</td><td>38.1</td><td>33.6</td><td>35.8</td><td>84.6</td><td>30.4</td><td>28.8</td><td>52.8</td></tr><tr><td>GPT-40*</td><td>12.6</td><td>21.4</td><td>30.4</td><td>12.6</td><td>40.8</td><td>52.9</td><td>29.3</td><td>64.2</td></tr><tr><td>UCGS-T*</td><td>60.9</td><td>37.8</td><td>32.7</td><td>34.0</td><td>85.9</td><td>30.4</td><td>30.1</td><td>52.8</td></tr><tr><td>RANDOM GUESS</td><td>12.5</td><td>12.5</td><td>11.1</td><td>12.5</td><td>50.0</td><td>22.5</td><td>25.0</td><td>50.0</td></tr></table>
|
| 240 |
+
|
| 241 |
+
et al., 2021a), NVSA (Hersche et al., 2023), GCA (Pekar et al., 2020), ALANS (Zhang et al., 2021b), and RAISE (Shi et al., 2024). To ensure consistency with the experimental setup used for UCGS-T and the ablation baselines, all task-specific solvers are trained and tested on each dataset separately, without supervision from rule or attribute annotations. In addition, we include GPT-4o (Achiam et al., 2023), a powerful general-purpose multimodal language model (MLLM), as a reference point for comparison. Task-specific prompts for GPT-4o are designed based on the prior benchmark study (Cao et al., 2024).
|
| 242 |
+
|
| 243 |
+
# 4.1. Performance on AVR Tasks
|
| 244 |
+
|
| 245 |
+
The experiments evaluate model performance across four AVR tasks. We categorize the evaluation settings into the following three groups. In-Distribution (ID) Tasks include problems that are seen during training, whose abstract rules and visual concepts are also encountered during training. In-Distribution Zero-Shot (ID-ZS) Tasks are not used during training, but their abstract rules and visual concepts are present in the training data. Out-of-Distribution Zero-Shot (OOD-ZS) Tasks are the most challenging tasks, which are entirely unseen during training and involve novel abstract rules or visual concepts. We compare UCGS-T with both ANP-based ablation baselines (ANP + Mono, ANP + OCL, ANP + Patch) and Transformer-based baselines (TF + Mono, TF + OCL, TF + Patch), as well as GPT-4o. For reference, we also include a random guess baseline.
|
| 246 |
+
|
| 247 |
+
# 4.1.1. IN-DISTRIBUTION TASKS
|
| 248 |
+
|
| 249 |
+
UCGS-T and the baselines are trained on RAVEN and PGM, whose test splits are treated as in-distribution (ID) tasks. While the training and testing samples of RAVEN and PGM
|
| 250 |
+
|
| 251 |
+
are generated using the same sets of abstract rules and visual concepts, the rules and concepts are composed differently between the splits. The purpose of the ID tasks is to evaluate the ability to reason over the abstract rules and visual concepts that have been learned during training. As shown in Table 1, Transformer-based baselines outperform their ANP-based counterparts, with TF + Patch achieving the strongest results among them. UCGS-T further achieves $64.6\%$ accuracy on RAVEN and $38.1\%$ on PGM, demonstrating the abstract reasoning capabilities on ID tasks. In contrast, ANP-based baselines perform poorly, with accuracies close to random guessing. This suggests that ANP-based models struggle with compositional reasoning in AVR tasks such as RAVEN and PGM.
|
| 252 |
+
|
| 253 |
+
# 4.1.2. IN-DISTRIBUTION ZERO-SHOT TASKS
|
| 254 |
+
|
| 255 |
+
We introduce ID-ZS tasks to evaluate the ability of models to generalize their reasoning capabilities to novel tasks. In this setting, all models are trained on RPM tasks and evaluated on other types of AVR tasks. They are required to solve problems from zero-shot tasks that contain in-distribution abstract rules and visual concepts. We construct three ID-ZS datasets, i.e., O3-ID, VAP-ID, and SVRT-ID, which follow the forms of O3, VAP, and SVRT, respectively. These datasets are built on the abstract rules and visual concepts of RAVEN. Across all ID-ZS tasks, models exhibit a noticeable drop in performance compared to ID tasks, highlighting the difficulty of transferring learned reasoning abilities to new task formats. Transformer-based baselines continue to outperform their ANP-based counterparts. UCGS-T achieves the best results overall, with accuracies of $33.6\%$ on O3-ID, $35.8\%$ on VAP-ID, and $84.6\%$ on SVRT-ID. These results suggest that UCGS-T is more effective at generalizing rea
|
| 256 |
+
|
| 257 |
+
soning abilities from the training data to novel tasks. For example, UCGS-T can perform abstract reasoning on VAPs with six-image panels, despite having been trained solely on RPMs with nine-image panels.
|
| 258 |
+
|
| 259 |
+
# 4.1.3. OUT-OF-DISTRIBUTION ZERO-SHOT TASKS
|
| 260 |
+
|
| 261 |
+
ODD-ZS tasks evaluate models on novel abstract rules and visual concepts that are entirely unseen during training, with test problems presented in forms that differ from those used in the training phase. We use the G1-set, VAP, and SVRT datasets to assess the out-of-distribution and zero-shot reasoning capabilities of models. As shown in Table 1, both UCGS-T and the baselines experience a substantial drop in performance compared to the ID tasks. On G1-set and VAP, UCGS-T and the baselines achieve accuracies around $30\%$ , which is $5 - 8\%$ higher than random guessing. This indicates that the UCGS framework enables a certain degree of generalization in abstract reasoning. UCGS-T slightly outperforms the other baselines on SVRT, a task that requires holistic pattern recognition based on spatial relationships among randomly generated abstract shapes. This requirement is similar to image-level visual concept recognition in datasets such as PGM and RAVEN (e.g., recognizing the number of objects in a scene). The results on SVRT suggest that UCGS-T may benefit from its panel encoder, which is specifically designed to extract high-level image abstractions. Furthermore, UCGS-T achieves a large accuracy improvement over the baselines in ID tasks, while the performance gains are relatively smaller in OOD tasks. We suppose that the unseen visual concepts and abstract rules in OOD tasks lead to a significant drop in accuracy for both UCGS-T and the baselines, thereby narrowing the performance gap that arises from different model architectures.
|
| 262 |
+
|
| 263 |
+
# 4.1.4. COMPARISON WITH GPT-40
|
| 264 |
+
|
| 265 |
+
Table 1 also presents the results of the general-purpose system GPT-4o. We randomly sampled subsets from the test sets of RAVEN, PGM, and VAP to evaluate both GPT-4o and UCGS-T. The results show that UCGS-T outperforms GPT-4o significantly on ID and ID-ZS tasks, while GPT-4o achieves better performance on OOD-ZS tasks. This may be attributed to GPT-4o's ability to recognize unseen visual concepts or abstract rules. However, this does not necessarily imply that GPT-4o possesses stronger zero-shot reasoning ability, as it is difficult to determine whether similar visual concepts or rules were encountered during its training. In contrast, UCGS-T is trained on a clearly defined and controlled set of samples, making its evaluation setting more transparent. Notably, GPT-4o shows weaker generalization on ID-ZS tasks, suggesting that UCGS-T is more effective at transferring its reasoning capabilities to novel task formats. In this experiment, GPT-4o is provided with task-specific prompts, following the setup in (Cao et al., 2024). We also
|
| 266 |
+
|
| 267 |
+
Table 2: Selection accuracy (\%) of UCGS-T and the task-specific solvers on RAVEN and PGM. The task-specific solvers are trained and tested separately on each dataset. They are trained without additional annotations to keep consistent with the experimental setup of UCGS-T and baselines. PrAE and ALANS only define the architecture to solve RAVEN. The codebase of NVSA is not applicable to PGM, and the reported accuracy on PGM is obtained by using additional annotation information. We only report their performance on RAVEN here.
|
| 268 |
+
|
| 269 |
+
<table><tr><td>MODEL</td><td>RAVEN</td><td>PGM</td></tr><tr><td>PRAE (ZHANG ET AL., 2021A)</td><td>13.6</td><td>-</td></tr><tr><td>NVSA (HERSCHE ET AL., 2023)</td><td>11.5</td><td>-</td></tr><tr><td>GCA (PEKAR ET AL., 2020)</td><td>37.3</td><td>31.7</td></tr><tr><td>ALANS (ZHANG ET AL., 2021B)</td><td>50.1</td><td>-</td></tr><tr><td>RAISE (SHI ET AL., 2024)</td><td>54.5</td><td>14.0</td></tr><tr><td>UCGS-T</td><td>64.6</td><td>38.1</td></tr><tr><td>RANDOM GUESS</td><td>12.5</td><td>12.5</td></tr></table>
|
| 270 |
+
|
| 271 |
+
incorporate prior knowledge in the prompts, such as stating that an RPM problem is a $3 \times 3$ matrix, which is not provided to UCGS-T during either training or testing. Prior work (Cao et al., 2024) has shown that GPT-4o achieves a notable performance boost (approximately $20\%$ ) when provided with language descriptions of candidate images. Although GPT-4o is a powerful general-purpose model, it is not specifically designed for AVR tasks. Its performance on RPM tasks may benefit from more advanced prompt engineering and chain-of-thoughts design. Appendix B.4 provides the prompts used in this experiment.
|
| 272 |
+
|
| 273 |
+
# 4.1.5. COMPARISON WITH TASK-SPECIFIC SOLVERS
|
| 274 |
+
|
| 275 |
+
This experiment compares UCGS-T with classic generative task-specific RPM solvers. Table 2 shows the experimental results where UCGS-T outperforms the task-specific solvers under the same experimental setup. The experimental results reveal that, without additional annotation information, the performance of generative task-specific solvers drops significantly. For example, PrAE achieves an accuracy of $65.0\%$ with rule supervision during training (Zhang et al., 2021a), but its accuracy drops to $13.6\%$ in our experiment. The reasoning process of GCA is specifically designed for predicting the bottom-right image in an RPM matrix, which limits its ability to generalize to other AVR tasks. Additionally, models like PrAE, ALANS, and NVSA rely on predefined rules and explicit representations tailored to specific datasets, making it difficult for them to handle unseen or undefined visual concepts and abstract rules. UCGS-T does not rely on manually designed concepts or rules. It performs an independent reasoning process over each visual concept, inferring both the underlying visual concepts and abstract rules without the need for additional annotations.
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
|
| 283 |
+

|
| 284 |
+
|
| 285 |
+

|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
(a) RAVEN
|
| 291 |
+
|
| 292 |
+

|
| 293 |
+
Figure 3: Comparison of generation results on RAVEN (left) and PGM (right). In the visualization result of each model, the bottom-right position is the prediction and the remaining context images are ground truths. The figure illustrates qualitative differences between models, with errors and artifacts appearing in some results predicted by baselines. Note that there is noise in the problem panel, therefore the generated result of UCGS-T on PGM is correct though it is a little different from the ground truth.
|
| 294 |
+
|
| 295 |
+

|
| 296 |
+
|
| 297 |
+

|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
|
| 305 |
+

|
| 306 |
+
|
| 307 |
+

|
| 308 |
+
(b) PGM
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
|
| 312 |
+
# 4.2. Answer Generation on RAVEN and PGM
|
| 313 |
+
|
| 314 |
+
Figure 3 visualizes the generated answers produced by UCGS-T and the baselines. UCGS-T can generate rulecompliant answers from the context on RAVEN and PGM. While TF-Patch is capable of generating clear and reasonable outputs on the PGM example, it fails to produce the correct answer for the RAVEN problem. Other baselines often generate images containing incorrect visual concepts. For instance, the solutions predicted by TF-Mono and ANP-Mono on RAVEN display scenes with four objects, whereas the correct answer should contain three objects. Models using the object-centric backbone generally struggle to generate high-quality outputs where the mismatch between predicted target slots and the true scene structure significantly degrades the pixel reconstruction quality. We observe that UCGS-T and TF-Patch are better at capturing diversity in answer generation. Since RAVEN and PGM introduce a degree of randomness or noise in data generation, UCGS-T's outputs may differ slightly from the ground truth but still conform to the task rules. For example, in Figure 3a, the answer should contain three objects, but their positions within the panel may vary without affecting correctness.
|
| 315 |
+
|
| 316 |
+
# 5. Conclusion and Limitations
|
| 317 |
+
|
| 318 |
+
We propose UCGS, a unified AVR framework to solve multiple AVR tasks using a single conditional generative network. We instantiate UCGS with a model that infers visual concepts from image patches to perform reasoning on the problem panel. Experimental results demonstrate that UCGS not only exhibits abstract reasoning ability on ID tasks but also zero-shot generalization, enabling it to solve unseen tasks during testing, even when those tasks involve OOD visual concepts and abstract rules.
|
| 319 |
+
|
| 320 |
+
Limitations. While UCGS-T outperforms the generative task-specific RPM solvers, its accuracy is still lower than state-of-the-art selective solvers. Reducing the performance gap remains an important direction for future work. We believe this paper provides a unified perspective for solving AVR tasks. This work does not address AVR tasks involving real-world scenes. Real-world problems introduce more complex visual concepts and abstract rules, which may require more powerful image tokenizers and decoders. Effectively discovering and utilizing such rules in realistic settings remains a challenge for future investigation.
|
| 321 |
+
|
| 322 |
+
# Impact Statement
|
| 323 |
+
|
| 324 |
+
This paper presents work whose goal is to construct unified abstract visual reasoning solvers. We feel that there are no potential societal impacts that must be specifically highlighted and discussed here.
|
| 325 |
+
|
| 326 |
+
# Acknowledgements
|
| 327 |
+
|
| 328 |
+
This work was supported by the National Natural Science Foundation of China (No.62176060) and the Program for Professor of Special Appointment (Eastern Scholar) at Shanghai Institutions of Higher Learning.
|
| 329 |
+
|
| 330 |
+
# References
|
| 331 |
+
|
| 332 |
+
Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F. L., Almeida, D., Altenschmidt, J., Altman, S., Anadkat, S., et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
|
| 333 |
+
Bai, Y., Geng, X., Mangalam, K., Bar, A., Yuille, A., Darrell, T., Malik, J., and Efros, A. A. Sequential modeling enables scalable learning for large vision models. arXiv preprint arXiv:2312.00785, 2023.
|
| 334 |
+
Bar, A., Gandelsman, Y., Darrell, T., Globerson, A., and Efros, A. Visual prompting via image inpainting. Advances in Neural Information Processing Systems, 35: 25005-25017, 2022.
|
| 335 |
+
Barrett, D., Hill, F., Santoro, A., Morcos, A., and Lillicrap, T. Measuring abstract reasoning in neural networks. In International conference on machine learning, pp. 511-520. PMLR, 2018.
|
| 336 |
+
Benny, Y., Pekar, N., and Wolf, L. Scale-localized abstract reasoning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12557-12565, 2021.
|
| 337 |
+
Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. Language models are few-shot learners. Advances in neural information processing systems, 33: 1877-1901, 2020.
|
| 338 |
+
Cao, X., Lai, B., Ye, W., Ma, Y., Heintz, J., Chen, J., Cao, J., and Rehg, J. M. What is the visual cognition gap between humans and multimodal llms? arXiv preprint arXiv:2406.10424, 2024.
|
| 339 |
+
Cattell, R. B. Theory of fluid and crystallized intelligence: A critical experiment. Journal of educational psychology, 54(1):1, 1963.
|
| 340 |
+
Chen, X., Duan, Y., Houthooft, R., Schulman, J., Sutskever, I., and Abbeel, P. Infogan: Interpretable representation
|
| 341 |
+
|
| 342 |
+
learning by information maximizing generative adversarial nets. Advances in neural information processing systems, 29, 2016.
|
| 343 |
+
Chollet, F. On the measure of intelligence. arXiv preprint arXiv:1911.01547, 2019.
|
| 344 |
+
Dedhia, B., Chang, M., Snell, J. C., Griffiths, T. L., and Jha, N. K. Im-promptu: In-context composition from image prompts. arXiv preprint arXiv:2305.17262, 2023.
|
| 345 |
+
Depeweg, S., Rothkopf, C. A., and JΓ€kel, F. Solving bongard problems with a visual language and pragmatic constraints. Cognitive Science, 48(5):e13432, 2024.
|
| 346 |
+
Du, Y. and Mordatch, I. Implicit generation and modeling with energy based models. Advances in Neural Information Processing Systems, 32, 2019.
|
| 347 |
+
Dutordoir, V., Saul, A., Ghahramani, Z., and Simpson, F. Neural diffusion processes. In International Conference on Machine Learning, pp. 8990-9012. PMLR, 2023.
|
| 348 |
+
Garnelo, M., Schwarz, J., Rosenbaum, D., Viola, F., Rezende, D. J., Eslami, S., and Teh, Y. W. Neural processes. arXiv preprint arXiv:1807.01622, 2018.
|
| 349 |
+
Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. Generative adversarial nets. Advances in neural information processing systems, 27, 2014.
|
| 350 |
+
Gray, J. R. and Thompson, P. M. Neurobiology of intelligence: science and ethics. Nature Reviews Neuroscience, 5(6):471-482, 2004.
|
| 351 |
+
He, K., Chen, X., Xie, S., Li, Y., Dollar, P., and Girshick, R. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 16000-16009, 2022.
|
| 352 |
+
Hersche, M., Zeqiri, M., Benini, L., Sebastian, A., and Rahimi, A. A neuro-vector-symbolic architecture for solving raven's progressive matrices. Nature Machine Intelligence, 5(4):363-375, 2023.
|
| 353 |
+
Hill, F., Santoro, A., Barrett, D. G., Morcos, A. S., and Lillicrap, T. Learning to make analogies by contrasting abstract relational structure. arXiv preprint arXiv:1902.00120, 2019.
|
| 354 |
+
Hu, S., Ma, Y., Liu, X., Wei, Y., and Bai, S. Stratified rule-aware network for abstract visual reasoning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 1567-1574, 2021.
|
| 355 |
+
Kim, H., Mnih, A., Schwarz, J., Garnelo, M., Eslami, A., Rosenbaum, D., Vinyals, O., and Teh, Y. W. Attentive neural processes. arXiv preprint arXiv:1901.05761, 2019.
|
| 356 |
+
|
| 357 |
+
Kingma, D. P. and Welling, M. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 358 |
+
Little, D. R., Lewandowsky, S., and Griffiths, T. L. A bayesian model of rule induction in raven's progressive matrices. In Proceedings of the Annual Meeting of the Cognitive Science Society, volume 34, 2012.
|
| 359 |
+
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.
|
| 360 |
+
Lovett, A., Forbus, K., and Usher, J. A structure-mapping model of raven's progressive matrices. In Proceedings of the Annual Meeting of the Cognitive Science Society, 2010.
|
| 361 |
+
MaΕkinski, M. and Mandziuk, J. Deep learning methods for abstract visual reasoning: A survey on raven's progressive matrices. arXiv preprint arXiv:2201.12382, 2022a.
|
| 362 |
+
Malkinski, M. and Mandziuk, J. A review of emerging research directions in abstract visual reasoning. arXiv preprint arXiv:2202.10284, 2022b.
|
| 363 |
+
McCloskey, M. Intuitive physics. Scientific american, 248 (4):122-131, 1983.
|
| 364 |
+
McMillen, J. The colossal book of short puzzles and problems, 2007.
|
| 365 |
+
Mirza, M. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014.
|
| 366 |
+
Mondal, S. S., Webb, T., and Cohen, J. D. Learning to reason over visual objects. arXiv preprint arXiv:2303.02260, 2023.
|
| 367 |
+
Nie, W., Yu, Z., Mao, L., Patel, A. B., Zhu, Y., and Anandkumar, A. Bongard-logo: A new benchmark for human-level concept learning and reasoning. Advances in Neural Information Processing Systems, 33:16468-16480, 2020.
|
| 368 |
+
Pekar, N., Benny, Y., and Wolf, L. Generating correct answers for progressive matrices intelligence tests. arXiv preprint arXiv:2011.00496, 2020.
|
| 369 |
+
Raven, J. C. and Court, J. Raven's progressive matrices. Western Psychological Services Los Angeles, CA, 1938.
|
| 370 |
+
Razavi, A., Van den Oord, A., and Vinyals, O. Generating diverse high-fidelity images with vq-vae-2. Advances in neural information processing systems, 32, 2019.
|
| 371 |
+
Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and Ommer, B. High-resolution image synthesis with latent
|
| 372 |
+
|
| 373 |
+
diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10684-10695, 2022.
|
| 374 |
+
Shi, F., Li, B., and Xue, X. Raven's progressive matrices completion with latent gaussian process priors. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 9612-9620, 2021.
|
| 375 |
+
Shi, F., Li, B., and Xue, X. Compositional law parsing with latent random functions. In The Eleventh International Conference on Learning Representations, 2023.
|
| 376 |
+
Shi, F., Li, B., and Xue, X. Towards generative abstract reasoning: Completing raven's progressive matrix via rule abstraction and selection. In The Twelfth International Conference on Learning Representations, 2024.
|
| 377 |
+
Sohn, K., Lee, H., and Yan, X. Learning structured output representation using deep conditional generative models. Advances in neural information processing systems, 28, 2015.
|
| 378 |
+
Van Den Oord, A., Vinyals, O., et al. Neural discrete representation learning. Advances in neural information processing systems, 30, 2017.
|
| 379 |
+
Van Steenkiste, S., Locatello, F., Schmidhuber, J., and Bachem, O. Are disentangled representations helpful for abstract visual reasoning? Advances in Neural Information Processing Systems, 32, 2019.
|
| 380 |
+
Wang, D., Jamnik, M., and Lio, P. Abstract diagrammatic reasoning with multiplex graph networks. arXiv preprint arXiv:2006.11197, 2020.
|
| 381 |
+
Webb, T., Mondal, S. S., and Cohen, J. D. Systematic visual reasoning through object-centric relational abstraction. Advances in Neural Information Processing Systems, 36, 2024.
|
| 382 |
+
Wu, Y., Dong, H., Grosse, R., and Ba, J. The scattering compositional learner: Discovering objects, attributes, relationships in analogical reasoning. arXiv preprint arXiv:2007.04212, 2020.
|
| 383 |
+
Yan, W., Zhang, Y., Abbeel, P., and Srinivas, A. Videogpt: Video generation using vq-vae and transformers. arXiv preprint arXiv:2104.10157, 2021.
|
| 384 |
+
Yuan, J., Chen, T., Li, B., and Xue, X. Compositional scene representation learning via reconstruction: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(10):11540-11560, 2023.
|
| 385 |
+
Yun, X., Bohn, T., and Ling, C. A deeper look at bongard problems. In Advances in Artificial Intelligence: 33rd Canadian Conference on Artificial Intelligence, Canadian AI 2020, Ottawa, ON, Canada, May 13-15, 2020, Proceedings 33, pp. 528-539. Springer, 2020.
|
| 386 |
+
|
| 387 |
+
Zhang, C., Gao, F., Jia, B., Zhu, Y., and Zhu, S.-C. Raven: A dataset for relational and analogical visual reasoning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5317-5327, 2019.
|
| 388 |
+
Zhang, C., Jia, B., Zhu, S.-C., and Zhu, Y. Abstract spatial-temporal reasoning via probabilistic abduction and execution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9736-9746, 2021a.
|
| 389 |
+
Zhang, C., Xie, S., Jia, B., Wu, Y. N., Zhu, S.-C., and Zhu, Y. Learning algebraic representation for systematic generalization in abstract reasoning. arXiv preprint arXiv:2111.12990, 2021b.
|
| 390 |
+
Zhao, H., Cai, Z., Si, S., Ma, X., An, K., Chen, L., Liu, Z., Wang, S., Han, W., and Chang, B. Mmicl: Empowering vision-language model with multi-modal in-context learning. arXiv preprint arXiv:2309.07915, 2023.
|
| 391 |
+
Zheng, K., Zha, Z.-J., and Wei, W. Abstract reasoning with distracting features. Advances in Neural Information Processing Systems, 32, 2019.
|
| 392 |
+
Zhuo, T. and Kankanhalli, M. Effective abstract reasoning with dual-contrast network. In International Conference on Learning Representations, 2021.
|
| 393 |
+
|
| 394 |
+
# A. Datasets
|
| 395 |
+
|
| 396 |
+
In this section, we will introduce the datasets used for model training and testing. Tables 3 and 4 introduce the training, validation, and test splits of the datasets.
|
| 397 |
+
|
| 398 |
+
Table 3: The ID tasks used to train and evaluate the baselines, task-specific solvers and UCGS-T. #Samples = number of samples per dataset, #Images = number of images per problem, #Candidates = number of candidate per problem.
|
| 399 |
+
|
| 400 |
+
<table><tr><td>Dataset</td><td colspan="3">RAVEN</td><td colspan="3">PGM</td></tr><tr><td>Split</td><td>Train</td><td>Valid</td><td>Test</td><td>Train</td><td>Valid</td><td>Test</td></tr><tr><td>#Samples</td><td>42K</td><td>14K</td><td>14K</td><td>1.4M</td><td>5K</td><td>200K</td></tr><tr><td>#Images</td><td colspan="3">9</td><td colspan="3">9</td></tr><tr><td>#Candidates</td><td colspan="3">8</td><td colspan="3">8</td></tr><tr><td>Image Size</td><td colspan="3">128Γ128</td><td colspan="3">128Γ128</td></tr></table>
|
| 401 |
+
|
| 402 |
+
Table 4: The ID-ZS and OOD-ZS tasks used to evaluate the baselines and UCGS-T. #Samples = number of samples per dataset, #Images = number of images per problem, #Candidates = number of candidate per problem.
|
| 403 |
+
|
| 404 |
+
<table><tr><td>Dataset</td><td>G1-set</td><td>VAP</td><td>SVRT</td><td>O3-ID</td><td>VAP-ID</td><td>SVRT-ID</td></tr><tr><td>Split</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td></tr><tr><td>#Samples</td><td>1K</td><td>200K</td><td>253</td><td>14K</td><td>14K</td><td>14K</td></tr><tr><td>#Images</td><td>4~5</td><td>6</td><td>8</td><td>5</td><td>6</td><td>8</td></tr><tr><td>#Candidates</td><td>NA</td><td>4</td><td>2</td><td>NA</td><td>8</td><td>2</td></tr><tr><td>Image Size</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td></tr></table>
|
| 405 |
+
|
| 406 |
+
Table 5: The subsets used to evaluate GPT-4o and UCGS-T. The datasets noted with * are subsets sampled from the corresponding complete datasets. #Samples = number of samples per dataset, #Images = number of images per problem, #Candidates = number of candidate per problem.
|
| 407 |
+
|
| 408 |
+
<table><tr><td>Dataset</td><td>RAVEN*</td><td>PGM*</td><td>G1-set</td><td>VAP*</td><td>SVRT</td><td>O3-ID</td><td>VAP-ID</td><td>SVRT-ID</td></tr><tr><td>Split</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td><td>Test</td></tr><tr><td>#Samples</td><td>700</td><td>1K</td><td>1K</td><td>1K</td><td>253</td><td>700</td><td>700</td><td>700</td></tr><tr><td>#Images</td><td>9</td><td>9</td><td>4~5</td><td>6</td><td>8</td><td>5</td><td>6</td><td>8</td></tr><tr><td>#Candidates</td><td>8</td><td>8</td><td>NA</td><td>4</td><td>2</td><td>NA</td><td>8</td><td>2</td></tr><tr><td>Image Size</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td><td>128Γ128</td></tr></table>
|
| 409 |
+
|
| 410 |
+
# A.1. ID Tasks
|
| 411 |
+
|
| 412 |
+
RAVEN (Zhang et al., 2019). The RAVEN dataset is inspired by the widely used RPM tests. RAVEN provides a structured and systematically generated set of problems with clearly defined rules and visual concepts. Each RAVEN problem consists of a nine-image matrix $(3 \times 3$ grid) where the bottom-right image is removed. The task is to infer the missing image from a set of candidate choices based on the underlying abstract rules. RAVEN contains seven configurations, each containing 10K problems with a specific scene structure. The configurations incorporate five concepts that define problem variations: Shape (e.g., triangle, square, pentagon, etc.), Size (relative scale of objects), Color (e.g., white, gray, black, etc.) and Position/Number (spatial arrangement and number of objects within each image). Each problem follows one or more concept-specific rules that govern changes in these visual concepts: Constant (the concept remains unchanged), Progression
|
| 413 |
+
|
| 414 |
+
(the concept changes sequentially), Arithmetic (the concept follows a mathematical relationship) and Distribution-of-Three (the concept has three permutable values). We use problems from all seven configurations of RAVEN to train and test the models.
|
| 415 |
+
|
| 416 |
+
PGM (Barrett et al., 2018). The PGM dataset is a large-scale RPM-like dataset. The problem structure of PGM problems is similar to RAVEN. A PGM problem also consists of a nine-image matrix, with the bottom-right image removed. The models infer the missing image based on the abstract rules of the given context and choose the correct answer from eight candidate images. The dataset contains 1.4M unique problems. The visual concepts are shape and line of the color, number, position, size and type. The visual concepts follow systematically defined rules, which have five categories: progression, XOR, OR, AND, and consistent union. The PGM dataset provides eight generalization regimes, and we use the neutral regime for model training and evaluation.
|
| 417 |
+
|
| 418 |
+
# A.2. ID-ZS Tasks
|
| 419 |
+
|
| 420 |
+

|
| 421 |
+
|
| 422 |
+

|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
Figure 4: Construction of the ID tasks.
|
| 426 |
+
|
| 427 |
+
O3-ID. As shown in Figure 4a, we replace the bottom-right image of each $3 \times 3$ image panel with a randomly selected distractor from the candidate panel to construct odd-one-out tests from RAVEN. This process transforms the bottom-right image into a rule-breaking image by modifying a specific visual concept of the correct image. The constructed O3-ID dataset shares the same visual concepts and abstract rules as RAVEN but follows the form of odd-one-out, where the models must identify the image breaking the rule of the problem panel.
|
| 428 |
+
|
| 429 |
+
VAP-ID. The construction of the VAP-ID task is relatively straightforward in Figure 4b. Unlike RAVEN, a VAP presents a $2 \times 3$ image matrix as its problem panel, and the abstract rules can change different visual concepts in different rows. Here, we construct VAP problems using RAVEN's design of analogy. Specifically, we remove the final row and retain the first two rows (i.e., the first six images) of each RAVEN problem panel to generate a problem of VAP-ID. In this way, VAP-ID problems preserve the same in-distribution visual concepts and abstract rules as RAVEN, while adopting a different structure of problem panels. These problems are designed to assess whether models can still parse the learned abstract rules and complete the task when the structure of problem panels is changed.
|
| 430 |
+
|
| 431 |
+
SVRT-ID. In Figure 4c, we split each RAVEN problem panel into two parts to construct SVRT-style problems. The first two rows form the left panel, and the last two rows form the right panel. We then extract the bottom-right image from both panels to form the query panel, while the remaining images are kept as the corresponding problem panels. In this way of construction, the left and right problem panels exhibit different abstract rules of the same type. Therefore, the association between the query images and the problem panels is typically unambiguous.
|
| 432 |
+
|
| 433 |
+
# A.3. OOD-ZS Tasks
|
| 434 |
+
|
| 435 |
+
G1-set (Mandyckiak & Zychowski, 2019). The G1-set dataset evaluates the AVR ability of models through odd-one-out problems. Unlike RPMs, where the task is to infer missing images, an odd-one-out problem requires the models to recognize the oddest figure in a panel based on relational differences in visual concepts. In G1-set, the odd figure can differ on the visual concepts size, shape, shading, rotation, etc. To ensure the problems are well-defined, the G1-set problems are constructed using a strict rule. In each problem with $N$ figures, there is one subset of $N - 1$ figures that share a common set of $1 \sim 3$ features. The remaining figure is the odd image that lacks this commonality. The difficulty of problems is controlled by the number of figures and the number of shared features.
|
| 436 |
+
|
| 437 |
+
VAP (Hill et al., 2019). The VAP dataset evaluates the analogy-making ability of models. Inspired by previous human and machine reasoning tasks like RPMs, VAP requires the models to identify abstract rules and apply them across different visual concepts. Each problem panel consists of a source sequence and a target sequence. The source sequence has three images where an abstract rule is instantiated. The target sequence has two images where the removed position must be completed according to the rule of the source sequence. The candidate panel provides four candidate answer images, including one correct answer and three distractors. The goal is to select the correct answer that best completes the target sequence by analogy with the source sequence. The core challenge in VAP is to apply learned rules across different visual domains. VAP defines four logical or mathematical abstract rules: XOR, OR, AND and progression. The abstract rules can be instantiated in seven different visual concepts: line type, line color, shape type, shape color, shape size, shape quantity and shape position. Each visual concept contains 10 possible values to increase the complexity of problems.
|
| 438 |
+
|
| 439 |
+
SVRT (Fleuret et al., 2011). The SVRT dataset evaluates the relational visual reasoning ability of models. Unlike traditional image classification tasks that rely on texture, SVRT problems require holistic pattern recognition based on spatial relationships among randomly generated abstract shapes. Each of the 23 problems in the dataset requires assigning a query image to one of two panels, where the distinction is defined by an abstract rule governing the global arrangement of parts. Importantly, these rules are not based on the appearance, location, or topology of individual parts but on how multiple parts interact as a whole. The problems in SVRT involve relational concepts rather than low-level features. Some examples of reasoning principles used in the dataset include: proximity (are two or more shapes close to each other), similarity (do multiple shapes share the same size/form), symmetry (are the parts arranged symmetrically), topology (are certain shapes enclosed within others), counting (does the image contain an even or odd number of objects) and identity relations (do two objects have the same shape or orientation). For example, one problem might require distinguishing two identical shapes vs. two different images.
|
| 440 |
+
|
| 441 |
+
# B. Details of Models
|
| 442 |
+
|
| 443 |
+
# B.1.UCGS-T
|
| 444 |
+
|
| 445 |
+
This section describes the architectures of learnable networks in UCGS-T and the choice of hyperparameters. We introduce the networks in the order of image encoder, image decoder, patch encoder, panel encoder and patch decoder.
|
| 446 |
+
|
| 447 |
+
- Image Encoder:
|
| 448 |
+
|
| 449 |
+
- $4 \times 4$ Conv, stride 2, padding 1, 64, ReLU
|
| 450 |
+
|
| 451 |
+
- $4 \times 4$ Conv, stride 2, padding 1, 64, ReLU
|
| 452 |
+
- $4 \times 4$ Conv, stride 2, padding 1, 128, ReLU
|
| 453 |
+
- $3\times 3$ Conv, stride 1, padding 1, 128
|
| 454 |
+
-ResBlock,hidden32,128
|
| 455 |
+
- ResBlock, hidden 32, 128, ReLU
|
| 456 |
+
- $4 \times 4$ Conv, stride 2, padding 1, 64, ReLU
|
| 457 |
+
- $4 \times 4$ Conv, stride 2, padding 1, 128, ReLU
|
| 458 |
+
- $3\times 3$ Conv, stride 1, padding 1, 128
|
| 459 |
+
-ResBlock,hidden32,128
|
| 460 |
+
- ResBlock, hidden 32, 128, ReLU
|
| 461 |
+
- $1\times 1$ Conv, stride 1, 64
|
| 462 |
+
|
| 463 |
+
# - Image Decoder:
|
| 464 |
+
|
| 465 |
+
- $3 \times 3$ Conv, stride 1, padding 1, 128, ReLU
|
| 466 |
+
-ResBlock,hidden32,128
|
| 467 |
+
- ResBlock, hidden 32, 128, ReLU
|
| 468 |
+
- $4 \times 4$ Deconv, stride 2, padding 1, 64, ReLU
|
| 469 |
+
- $4\times 4$ Deconv, stride 2, padding 1, 128
|
| 470 |
+
-ResBlock,hidden32,128
|
| 471 |
+
- ResBlock, hidden 32, 128, ReLU
|
| 472 |
+
- $4 \times 4$ Deconv, stride 2, padding 1, 64, ReLU
|
| 473 |
+
- $4 \times 4$ Deconv, stride 2, padding 1, 64, ReLU
|
| 474 |
+
- $4 \times 4$ Deconv, stride 2, padding 1, 3
|
| 475 |
+
|
| 476 |
+
- Patch Encoder: The linear network to encode position information is
|
| 477 |
+
|
| 478 |
+
LayerNorm, 128
|
| 479 |
+
- Fully Connected, 128, ReLU
|
| 480 |
+
- Fully Connected, 128
|
| 481 |
+
|
| 482 |
+
The patch encoder is a 12-layer Transformer decoder where the hidden size is 128 and the number of attention heads is 8.
|
| 483 |
+
|
| 484 |
+
- Panel Encoder: The panel encoder is a 12-layer Transformer decoder with the hidden size 128 and the number of attention heads 8. We use a linear layer to convert the input keys and values to hidden vectors. Another linear layer is introduced to convert the input queries to hidden vectors.
|
| 485 |
+
- Patch Decoder: The panel encoder is a 12-layer Transformer decoder with the hidden size 128 and the number of attention heads 8. We use a linear layer to convert the input keys and values to hidden vectors. Another linear layer is introduced to convert the input queries to hidden vectors. The output of the Transformer decoder is projected to the index of the discrete vector in the codebook $e$ by a linear layer without the bias parameter.
|
| 486 |
+
|
| 487 |
+
The image encoder and image decoder are first trained by setting the learning rate as $4 \times 10^{-4}$ and batch size as 64, referring to the original configuration in VQVAE (Van Den Oord et al., 2017). Then we freeze the parameters of the image encoder and image decoder, training the remaining part by setting the learning rate as $3 \times 10^{-4}$ , batch size as 128. We monitor the performance of UCGS-T on the validation set after each training epoch and save the checkpoint with the best validation accuracy. The parameters are updated by Adam optimizer (Kingma & Ba, 2014).
|
| 488 |
+
|
| 489 |
+
# B.2. Ablation Baselines
|
| 490 |
+
|
| 491 |
+
Besides the patch-based backbone of UCGS-T, we introduce another two backbones. The object-centric backbone can distinguish objects in scenes and extract representations for individual objects. We adopt the encoder of STSN (Mondal et al., 2023) as the object-centric backbone, and train the backbone using the official code<sup>1</sup>. The monolithic backbone encodes a
|
| 492 |
+
|
| 493 |
+
scene into one representation. The encoder and decoder of the monolithic backbone consist of continuous convolutional layers that map the image into a single representation of size 512. We call the slots and representations extracted from the object-centric and monolithic backbones as patches for convenience. We introduce two types of baseline conditional generative solvers: the Transformer-based solver (Vaswani et al., 2017) and the ANP-based solver (Kim et al., 2019). All the parameters are updated by Adam optimizer (Kingma & Ba, 2014).
|
| 494 |
+
|
| 495 |
+
Transformer-based Solver (Vaswani et al., 2017). The Transformer-based conditional generative network inputs all context patches $Z^{c} = \{Z_{i}^{c}|i = 1,\dots ,N_{c}\}$ to a Transformer encoder. The output of the Transformer decoder is the key and query of a Transformer decoder, and the embeddings of the target positions $\{\mathrm{PE}_i|i = 1,\dots ,N_t\}$ are regarded as the query of the Transformer decoder. The generative process is
|
| 496 |
+
|
| 497 |
+
$$
|
| 498 |
+
\pmb {h} _ {i} ^ {k v} = f _ {\mathrm {K V}} \left(\pmb {Z} _ {i} ^ {c}\right), \qquad \qquad i = 1, \dots , N _ {c},
|
| 499 |
+
$$
|
| 500 |
+
|
| 501 |
+
$$
|
| 502 |
+
\hat {\boldsymbol {h}} ^ {k v} = \operatorname {T F E n c o d e r} \left(\boldsymbol {h} ^ {k v}\right),
|
| 503 |
+
$$
|
| 504 |
+
|
| 505 |
+
$$
|
| 506 |
+
\boldsymbol {h} _ {i} ^ {q} = f _ {\mathrm {Q}} \left(\mathrm {P E} _ {i}\right), \quad i = 1, \dots , N _ {t}, \tag {10}
|
| 507 |
+
$$
|
| 508 |
+
|
| 509 |
+
$$
|
| 510 |
+
\hat {\boldsymbol {h}} ^ {q} = \operatorname {T F D e c o d e r} \left(\boldsymbol {h} ^ {q}, \hat {\boldsymbol {h}} ^ {k v}\right),
|
| 511 |
+
$$
|
| 512 |
+
|
| 513 |
+
$$
|
| 514 |
+
\boldsymbol {Z} _ {i} ^ {t} = f _ {\mathrm {O}} \left(\hat {\boldsymbol {h}} _ {i} ^ {q}\right), \quad i = 1, \ldots , N _ {t}.
|
| 515 |
+
$$
|
| 516 |
+
|
| 517 |
+
In the generative process, $f_{\mathrm{KV}}$ , $f_{\mathrm{Q}}$ , and $f_{\mathrm{O}}$ are single-layer feedforward networks. We set the hidden size of the Transformer encoder and decoder as 512, the number of Transformer layers as 12, and the number of attention heads as 8.
|
| 518 |
+
|
| 519 |
+
ANP-based Solver (Kim et al., 2019). The ANP conditional generative baseline regards the mapping from context patches to target patches as stochastic functions. The context slots are used to construct the context of stochastic functions, and the model will sample a function from the posterior to map the embeddings of target positions into target patches. We set the size of the global latent as 512, the number of attention layers as 12, and the number of attention heads as 8, and other hyperparameters and the model architecture follow the 2D regression configuration in (Kim et al., 2019).
|
| 520 |
+
|
| 521 |
+
# B.3. Task-specific Solvers
|
| 522 |
+
|
| 523 |
+
We use the official codes of $\mathrm{PrAE}^2$ , $\mathrm{NVSA}^3$ , $\mathrm{GCA}^4$ , $\mathrm{ALANS}^5$ and $\mathrm{RAISE}^6$ in the experiments. All task-specific solvers are trained without additional annotation information. To stabilize the training process, ALANS is trained based on the pretrained checkpoint provided by the authors.
|
| 524 |
+
|
| 525 |
+
# B.4. GPT-40
|
| 526 |
+
|
| 527 |
+
We design task-specific prompts for GPT-4o, which are illustrated in Figure 5. In the prompts, we will provide the information about the problem structures, e.g., the problem panel of PGM is a $3 \times 3$ matrix and the problem panel of VAP is a $2 \times 3$ matrix. Each panel is regarded as an input image of GPT-4o.
|
| 528 |
+
|
| 529 |
+
# B.5. Computational Resource
|
| 530 |
+
|
| 531 |
+
All the models are trained on a single 24GB NVIDIA GeForce RTX 4090 GPU and implemented using PyTorch (Paszke et al., 2019).
|
| 532 |
+
|
| 533 |
+
# C. Additional Experimental Results
|
| 534 |
+
|
| 535 |
+
# C.1. Answer Generation
|
| 536 |
+
|
| 537 |
+
We provide additional examples of answer generation. Figures 6 and 7 show the generated results for various AVR problems on the RAVEN and PGM datasets, respectively. Overall, the generated results on RAVEN are more accurate, corresponding
|
| 538 |
+
|
| 539 |
+
to the selection accuracy, primarily because the problems of RAVEN contain less noise, which has been discussed in previous works. UCGS-T achieves the best generation performance on both RAVEN and PGM. UCGS-T can handle the uncertainty caused by noise effectively. For example, in the 4th sample of PGM, the shape and position of the generated object differ from the ground truth. TF-Patch generates relatively accurate results on RAVEN, but it tends to produce rule-violating answers on PGM. Overall, TF-Patch generates fewer artifacts in the images. Baselines using the object-centric backbone (TF-OCL and ANP-OCL) struggle to generate clear images, often producing large black regions. Baselines based on the monolithic backbone tend to produce samples that deviate significantly from the ground truths.
|
| 540 |
+
|
| 541 |
+
# References
|
| 542 |
+
|
| 543 |
+
Barrett, D., Hill, F., Santoro, A., Morcos, A., and Lillicrap, T. Measuring abstract reasoning in neural networks. In International conference on machine learning, pp. 511-520. PMLR, 2018.
|
| 544 |
+
Fleuret, F., Li, T., Dubout, C., Wampler, E. K., Yantis, S., and Geman, D. Comparing machines and humans on a visual categorization test. Proceedings of the National Academy of Sciences, 108(43):17621-17625, 2011.
|
| 545 |
+
Hill, F., Santoro, A., Barrett, D., Morcos, A., and Lillicrap, T. Learning to make analogies by contrasting abstract relational structure. In International Conference on Learning Representations, 2019.
|
| 546 |
+
Kim, H., Mnih, A., Schwarz, J., Garnelo, M., Eslami, A., Rosenbaum, D., Vinyals, O., and Teh, Y. W. Attentive neural processes. arXiv preprint arXiv:1901.05761, 2019.
|
| 547 |
+
Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 548 |
+
MaΕdzik, J. and Ε½ychowski, A. Deepiq: A human-inspired ai system for solving iq test problems. In 2019 International Joint Conference on Neural Networks (IJCNN), pp. 1-8. IEEE, 2019.
|
| 549 |
+
Mondal, S. S., Webb, T., and Cohen, J. D. Learning to reason over visual objects. arXiv preprint arXiv:2303.02260, 2023.
|
| 550 |
+
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.
|
| 551 |
+
Van Den Oord, A., Vinyals, O., et al. Neural discrete representation learning. Advances in neural information processing systems, 30, 2017.
|
| 552 |
+
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need. Advances in neural information processing systems, 30, 2017.
|
| 553 |
+
Zhang, C., Gao, F., Jia, B., Zhu, Y., and Zhu, S.-C. Raven: A dataset for relational and analogical visual reasoning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5317-5327, 2019.
|
| 554 |
+
|
| 555 |
+
(a) RPM
|
| 556 |
+

|
| 557 |
+
Each task consists of a question image with a $3 \times 3$ matrix. Eight of the nine resulting cells contain an abstract shape, while one cell on the bottom right-hand side of the matrix is empty. Your task is to complete the matrix by finding the missing shape among multiple possible alternatives. One of the option images is the correct answer. The first image is the question image. The second image is the option images, where the options are given from left to right, and the index of the first image is 1. Please output the index of the correct answer in the following JSON format: {"Result": "Index"}
|
| 558 |
+
|
| 559 |
+
(b) VAP
|
| 560 |
+

|
| 561 |
+
Each task consists of a question image with a $2 \times 3$ matrix. Five of the six resulting cells contain an abstract shape, while one cell on the bottom right-hand side of the matrix is empty. Your task is to complete the matrix by finding the missing shape among multiple possible alternatives. One of the option images is the correct answer. The first image is the question image. The second image is the option images, where the options are given from left to right, and the index of the first image is 1. Please output the index of the correct answer in the following JSON format: {"Result": "Index"}
|
| 562 |
+
|
| 563 |
+
(c) Odd-one-out
|
| 564 |
+

|
| 565 |
+
The input is a question panel containing N images, where each image contains an abstract shape. Your task is to identify the single image that does not share the common attribute, pattern, category, or relationship exhibited by the other N-1 images. The images are given from left to right, and the index of the first image is 1. Please output the index of the answer in the following JSON format: {"Result": "Index"}
|
| 566 |
+
|
| 567 |
+
(d) SVRT
|
| 568 |
+
Figure 5: Task-specific prompts of GPT-4o.
|
| 569 |
+

|
| 570 |
+
Each task consists of two question panels and a query panel. Each question panel contains 8 images. Each image contains simple geometric shapes. The two question panels show sets of geometric shapes organized according to different rules. The query panel has two query images. Your task is to determine which question panel's rule matches the rule displayed in the query image. The input images are question panel 1, question panel 2 and query panel in order. The images in panels are given from left to right, and the index of the first image is 1. Please output which panel the query images belong to. Using the following JSON format: {"Query1": "Index", "Query2": "Index"}
|
| 571 |
+
|
| 572 |
+

|
| 573 |
+
Figure 6: Comparison of generation results on RAVEN.
|
| 574 |
+
|
| 575 |
+

|
| 576 |
+
Figure 7: Comparison of generation results on PGM.
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d150fc06a990b412c95ca5c22ad15673f7c571d522f03018aa23291f529f11e
|
| 3 |
+
size 1364427
|
2025/Beyond Task-Specific Reasoning_ A Unified Conditional Generative Framework for Abstract Visual Reasoning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/da17f283-f8ac-4488-b3db-031049104729_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:271aecf4a0ef2ef18184b7928eacd87cfb85e984b3db501a3f6ad8371c236af2
|
| 3 |
+
size 4807473
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/full.md
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Beyond The Rainbow: High Performance Deep Reinforcement Learning on a Desktop PC
|
| 2 |
+
|
| 3 |
+
Tyler Clark<sup>1</sup> Mark Towers<sup>1</sup> Christine Evers<sup>1</sup> Jonathon Hare<sup>1</sup>
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Rainbow Deep Q-Network (DQN) demonstrated combining multiple independent enhancements could significantly boost a reinforcement learning (RL) agent's performance. In this paper, we present "Beyond The Rainbow" (BTR), a novel algorithm that integrates six improvements from across the RL literature to Rainbow DQN, establishing a new state-of-the-art for RL using a desktop PC, with a human-normalized interquartile mean (IQM) of 7.4 on Atari-60. Beyond Atari, we demonstrate BTR's capability to handle complex 3D games, successfully training agents to play Super Mario Galaxy, Mario Kart, and Mortal Kombat with minimal algorithmic changes. Designing BTR with computational efficiency in mind, agents can be trained using a high-end desktop PC on 200 million Atari frames within 12 hours. Additionally, we conduct detailed ablation studies of each component, analyzing the performance and impact using numerous measures. Code is available at https://github.com/VIPTankz/BTR.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Deep Reinforcement Learning (RL) has achieved numerous successes in complex sequential decision-making tasks, most rapidly since Mnih et al. (2015) proposed Deep Q-Learning (DQN). With this success, RL has become increasingly popular among smaller research labs, the hobbyist community, and even the general public. However, recent state-of-the-art approaches (Schrittwieser et al., 2020; Badia et al., 2020a; Hessel et al., 2021; Kapturowski et al., 2023) are increasingly out of reach for those with more lim
|
| 12 |
+
|
| 13 |
+
$^{1}$ School of Electronics and Computer Science, University Of Southampton, Southampton, UK. Correspondence to: Tyler Clark <tjc2g19@soton.ac.uk>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Interquartile mean human-normalized performance for BTR against other RL algorithms on the Atari benchmark in terms of walltime performance (all results use 200M frames). The results for DQN and Rainbow DQN are those reported in RLiable (Agarwal et al., 2021), and Dreamer-v3 refers to Hafner et al. (2023). Shaded areas show $95\%$ bootstrapped confidence intervals, with BTR using 4 seeds.
|
| 19 |
+
|
| 20 |
+
ited compute resources, either in terms of the required hardware or the walltime necessary to train a single agent. This is a unique issue in RL compared to natural language processing or image recognition which have foundation models that can be efficiently fine-tuned for a new task or problem (Lv et al., 2024). Meanwhile, RL agents must be trained afresh for each environment. Therefore, the development of powerful RL algorithms that can be trained quickly on inexpensive hardware is crucial for smaller research labs and the hobbyist community.
|
| 21 |
+
|
| 22 |
+
These concerns are not new. Ceron & Castro (2021) highlighted that Rainbow DQN (Hessel et al., 2018) required 34,200 GPU hours (equivalent to 1435 days) of training, making the research impossible for anyone except a few research labs, with more recent algorithms exacerbating this problem. Recurrent network architectures (Horgan et al., 2018), high update to sample ratio (D'Oro et al., 2022), and the use of world-models and search-based techniques (Schrittwieser et al., 2020), all increase the computational resources necessary to train agents. Many of these use distributed approaches requiring multiple CPUs and GPUs (or TPU's), or requiring numerous days and weeks to train a single agent, dramatically decreasing RL's accessibility.
|
| 23 |
+
|
| 24 |
+
For this purpose, we develop "Beyond the Rainbow" (BTR), taking the same principle as Rainbow DQN (Hessel et al., 2018), selecting 6 previously independently evaluated improvements and combining them into a singular algorithm (Section 3). These components were chosen for their performance qualities or to reduce the computational requirements for training an agent. As a result, BTR sets a new state-of-the-art score for Atari-60 (Bellemare et al., 2013) (excluding recurrent approaches) with an Interquartile Mean (IQM) of $7.4^{1}$ using a single desktop machine in less than 12 hours, and outperforms Rainbow DQN on Procgen (Cobbe et al., 2020) in less than a fifth of the wait-time (Section 4.1). Further, we demonstrate BTR's potential by training agents to solve three modern 3D games for the first time, Mario Kart Wii, Super Mario Galaxy and Mortal Kombat, that each contain complex mechanics and graphics (Section 4.2). To verify the effectiveness and effect of the six improvements to BTR, in Section 5.1, we conduct a thorough ablation of each component, plotting their impact on the Atari-5 environments and in Section 5.2, we utilize seven different measures to analyse the component's impact on the agent's policy and network weights. This allows us to more precisely understand how the components impact BTR beyond performance or waittime.
|
| 25 |
+
|
| 26 |
+
In summary, we make the following contributions to state-of-the-art RL.
|
| 27 |
+
|
| 28 |
+
- High Performance (Section 4.1) - BTR outperforms the state-of-the-art for non-recurrent RL on the Atari-60 benchmark, with an IQM of 7.4 (compared to Rainbow DQN's 1.9), outperforming humans on 52/60 games. Furthermore, BTR outperforms Rainbow DQN with Impala on the Progen benchmark despite using a smaller model and $80\%$ less walltime.
|
| 29 |
+
- Modern Environments (Section 4.2) - Testing beyond Atari, we demonstrate BTR can train agents for three modern games: Super Mario Galaxy (final stage), Mario Kart Wii (Rainbow Road), and Mortal Kombat (Endurance mode). These environments contain 3D graphics and complex physics and have never been solved using RL.
|
| 30 |
+
- Computationally Accessible (Figure 6) - Using a high-end desktop PC, BTR trains Atari agents for 200 million frames in under 12 hours, significantly faster than Rainbow DQN's 35 hours. This increases RL research's accessibility for smaller research labs and hobbyists without the need for GPU clusters or excessive walltime.
|
| 31 |
+
|
| 32 |
+
- Component Impact Analysis (Section 5) - We conduct thorough ablations of BTR without each component, investigating performance and other measures. We discover that BTR widens action gaps (reducing the effects of approximation errors), is robust to observation noise, and reduces neuron dormancy and weight matrix norm (shown to improve plasticity throughout training).
|
| 33 |
+
|
| 34 |
+
# 2. Background
|
| 35 |
+
|
| 36 |
+
Before describing BTR's extensions, we outline standard RL mathematics, how DQN is implemented, and Rainbow DQN's extensions.
|
| 37 |
+
|
| 38 |
+
# 2.1. RL Problem Formulation
|
| 39 |
+
|
| 40 |
+
We adopt the standard formulation of RL (Sutton & Barto, 2018), described as a Markov Decision Process (MDP) defined by the tuple $(\mathcal{S},\mathcal{A},\mathcal{P},\mathcal{R})$ , where $\mathcal{S}$ is the set of states, $\mathcal{A}$ is the set of actions, $\mathcal{P}:\mathcal{S}\times \mathcal{A}\to \Delta (\mathcal{S})$ is the stochastic transition function, and $\mathcal{R}:\mathcal{S}\times \mathcal{A}\to \mathbb{R}$ is the reward function. The agent's objective is to learn a policy $\pi :S\rightarrow \Delta (\mathcal{A})$ that maximizes the expected sum of discounted rewards $\mathbb{E}_{\pi}[\sum_{t = 0}^{\infty}\gamma^{t}r(s_{t},a_{t})]$ , where $\gamma \in [0,1)$ is the discount rate.
|
| 41 |
+
|
| 42 |
+
# 2.2. Deep Q-Learning (DQN)
|
| 43 |
+
|
| 44 |
+
One popular method for solving MDPs is Q-Learning (Watkins & Dayan, 1992) where an agent learns to predict the expected sum of discounted future rewards for a given state-action pair. To allow agents to generalize over states and thus be applied to problems with larger state spaces, Mnih et al. (2013) successfully combined Q-Learning with neural networks. To do this, training minimizes the error between the predictions from a parameterized network $\mathrm{Q}_{\theta}$ and a target defined by
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
r _ {t} + \gamma \max _ {a \in A} Q _ {\theta^ {\prime}} \left(s _ {t + 1}, a\right), \tag {1}
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $Q_{\theta'}$ is an earlier version of the network referred to as the target network, which is periodically updated from the online network $Q_{\theta}$ . The data used to perform updates is gathered by sampling from an Experience Replay Buffer (Lin, 1992), which stores states, actions, rewards, and next states experienced by the agent while interacting with the environment. To effectively explore the environment, greedy exploration is used, where each observation has a $\frac{\epsilon}{1}$ probability of choosing a random action.
|
| 51 |
+
|
| 52 |
+
# 2.3. Rainbow DQN and Improvements to DQN
|
| 53 |
+
|
| 54 |
+
In collecting 6 different improvements to DQN, Rainbow DQN (Hessel et al., 2018) proved cumulatively that these improvements could achieve a greater performance
|
| 55 |
+
|
| 56 |
+
than any individually. We briefly explain the individual improvements, ordered by performance impact, most of which are preserved within BTR (see Table 1). For more detail, we refer readers to the extension's respective papers:
|
| 57 |
+
|
| 58 |
+
1. Prioritized Experience Replay - To select training examples, DQN sampled uniformly from an Experience Replay Buffer, assuming that all examples are equally important to train with. Schaul et al. (2015) proposed sampling training examples proportionally to their last seen absolute temporal difference error, increasing training on samples for which the network most inaccurately predicts their future rewards.
|
| 59 |
+
2. N-Step - Q-learning utilizes bootstrapping to minimize the difference between the predicted value and the resultant reward plus the maximum value of the next state (Eq. 1). N-step (Sutton et al., 1998) reduces the reliance on this bootstrapped next value by considering the next $n$ rewards and the observation in $n$ timesteps (Rainbow DQN used $n = 3$ ).
|
| 60 |
+
3. Distributional RL - Due to the stochastic nature of RL environments and agent policies, Bellemare et al. (2017) proposed learning the return distribution rather than scalar expectation. This was done through modeling the return distributions using probability masses and the Kullbeck-Leibler divergence loss function.
|
| 61 |
+
4. Noisy Networks - Agents can often insufficiently explore their environment resulting in sub-optimal policies. Fortunato et al. (2018) added parametric noise to the network weights, causing the model's outputs to be randomly perturbed, increasing exploration during training, particularly for states where the agent has less confidence.
|
| 62 |
+
5. Dueling DQN - The agent's Q-value can be rewritten as the sum of state-value and advantage $(Q(s,a) = V(s) + A(s,a))$ . Looking to improve action generalization, Wang et al. (2016) split the hidden layers into two separate streams for the value and advantage, recombining them with $Q(s,a) = V(s) + (A(s,a) - \frac{1}{|A|}\sum_{a'}A(s,a'))$ .
|
| 63 |
+
6. **Double DQN - Selecting a target Q-value with the maximum Q-value from the next observation (Eq. 1) can frequently cause overestimation, negatively affecting agent performance.** To reduce this overestimation, Van Hasselt et al. (2016) propose utilizing the online network rather than the target network to select the next action when forming targets, defined as:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
r _ {t} + \gamma \mathrm {Q} _ {\theta^ {\prime}} \left(s _ {t + 1}, \underset {a \in A} {\arg \max } \mathrm {Q} _ {\theta} \left(s _ {t + 1}, a\right)\right). \tag {2}
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
# 3. Beyond the Rainbow - Extensions and Improvements
|
| 70 |
+
|
| 71 |
+
Building on Rainbow DQN (Hessel et al., 2018), BTR includes 6 more improvements undiscovered in 2018.2 Additionally, as hyperparameters are critical to agent performance, Section 3.2 discusses key hyperparameters and our choices. In the appendices, we include a table of hyperparameters, a figure of the network architecture and the agent's loss function (Appendices D.2, E and E.2). Finally, the source code using Gymnasium (Towers et al., 2024) is included within the supplementary material to help future work build upon or utilize BTR.
|
| 72 |
+
|
| 73 |
+
# 3.1. Extensions
|
| 74 |
+
|
| 75 |
+
Impala Architecture + Adaptive Maxpooling - Espeholt et al. (2018) proposed a convolutional residual neural network architecture based on He et al. (2016), featuring three residual blocks<sup>3</sup>, substantially increasing performance over DQN's three-layer convolutional network. Following Cobbe et al. (2020), we scale the width of the convolutional layers by 2 to improve performance. We include an additional 6x6 adaptive max pooling layer after the convolutional layers (Schmidt & Schmied, 2021), which was found to speed up learning and support different input resolutions. The adaptive maxpooling is identical to a standard 2D maxpooling layer, but can be used with any input resolution as it automatically adjusts the stride and kernel size to fit a specified output size.
|
| 76 |
+
|
| 77 |
+
Spectral Normalization (SN) - To help stabilize the training of discriminators in Generative Adversarial Networks (GANs), Miyato et al. (2018) proposed Spectral Normalization to help control the Lipschitz constant of convolutional layers. SN works to normalize the weight matrices of each layer in the network by their largest singular value, ensuring that the transformation applied by the weights does not distort the input data excessively, which can lead to instability during training. Bjorck et al. (2021) and Gogianu et al. (2021) found that SN could improve performance in RL, especially for larger networks and Schmidt & Schmied (2021) found SN reduced the number of updates required before initial progress is made.
|
| 78 |
+
|
| 79 |
+
Implicit Quantile Networks (IQN) - Dabney et al. (2018) improved upon Bellemare et al. (2017), used in Rainbow DQN, learning the return distribution over the probability space rather than probability distribution over return val
|
| 80 |
+
|
| 81 |
+
Table 1: A comparison of components between Rainbow DQN (Hessel et al., 2018) and BTR.
|
| 82 |
+
|
| 83 |
+
<table><tr><td>Added To Rainbow DQN</td><td>Same As Rainbow DQN</td><td>Removed From Rainbow DQN</td></tr><tr><td>Impala (Scale=2)</td><td>N-Step TD Learning</td><td>Double (N/A with Munchausen)</td></tr><tr><td>Adaptive Maxpooling (6x6)</td><td>Prioritized Experience Replay</td><td>C51 (Upgraded to IQN)</td></tr><tr><td>Spectral Normalization</td><td>Dueling</td><td></td></tr><tr><td>Implicit Quantile Networks</td><td>Noisy Networks</td><td></td></tr><tr><td>Munchausen</td><td></td><td></td></tr><tr><td>Vectorized Environments</td><td></td><td></td></tr></table>
|
| 84 |
+
|
| 85 |
+
ues. This removes the limit on the range of Q-values that can be expressed, and enables learning the expected return at every probability.
|
| 86 |
+
|
| 87 |
+
Munchausen RL - Bootstrapping is a core aspect of RL; used to calculate target values (Eq. 1) with most algorithms using the reward, $r_t$ , and the optimal Q-value of the next state, $Q^*$ . However, since in practice the optimal policy is not known, the current policy $\pi$ is used. Munchausen RL (Vieillard et al., 2020) leverages an additional estimate in the bootstrapping process by adding the scaled-log policy to the loss function (Eq. 3 where $\alpha \in [0,1]$ is a scaling factor, $\sigma$ is the softmax function, and $\tau$ is the softmax temperature). This assumes a stochastic policy, therefore DQN is converted to Soft-DQN with $\pi_{\theta'} = \sigma(\frac{Q_{\theta'}}{\tau})$ . As Munchausen does not use argmax over the next state, Double DQN is obsolete. Munchausen RL's update rule is
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\begin{array}{l} Q _ {\theta} \left(s _ {t}, a _ {t}\right) = r _ {t} + \alpha \tau \ln \pi_ {\theta^ {\prime}} \left(a _ {t} \mid s _ {t}\right) + \\ \gamma \sum_ {a ^ {\prime} \in A} \pi_ {\theta^ {\prime}} \left(a ^ {\prime} \mid s _ {t + 1}\right) \left(Q _ {\theta^ {\prime}} \left(s _ {t + 1}, a ^ {\prime}\right) - \tau \ln \left(\pi_ {\theta^ {\prime}} \left(a ^ {\prime} \mid s _ {t + 1}\right)\right)\right). \tag {3} \\ \end{array}
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
Vectorization - RL agents typically take multiple steps in a single environment, followed by a gradient update with a small batch size (Rainbow DQN took 4 environment steps, followed by a batch of 32). However, taking multiple steps in parallel and performing updates on larger batches can significantly reduce walltime. We follow Schmidt & Schmied (2021), taking 1 step in 64 parallel environments with one gradient update with batch size 256 (Schmidt & Schmied (2021) took two gradient updates). This results in a replay ratio (ratio of gradient updates to environment steps) of $\frac{1}{64}$ . Higher replay ratios have been shown to improve performance (D'Oro et al., 2022), however we opt to keep this value low to reduce walltime.
|
| 94 |
+
|
| 95 |
+
# 3.2. Hyperparameters
|
| 96 |
+
|
| 97 |
+
Hyperparameters have repeatedly shown to have a very large impact on performance in RL (Ceron et al., 2024), thus we perform a small amount of tuning to improve per
|
| 98 |
+
|
| 99 |
+
formance. Firstly, how frequently the target network is updated is closely intertwined with batch size and replay ratio. We found that updating the target network every 500 gradient steps<sup>4</sup> performed best. Given our high batch size, we additionally performed minor hyperparameter tests using different learning rates finding that a slightly higher learning rate of $1 \times 10^{-4}$ performed best, compared to $6.25 \times 10^{-5}$ in Rainbow DQN. In Appendix D.2, we clarify the meaning of the terms frames, steps and transitions.
|
| 100 |
+
|
| 101 |
+
For many years, RL algorithms have used a discount rate of 0.99, however, when reaching high performance, lower discount rates alter the optimal policy, causing even optimally performing agents to not collect the maximum cumulative rewards. To prevent this, we follow MuZero Reanalyse (Schrittwieser et al., 2021) using $\gamma = 0.997$ . For our Prioritized Experience Replay, we use the lower value of $\alpha = 0.2$ , the parameter used to determine sample priority, recommended by Toromanoff et al. (2019) when using IQN. Lastly, many previous experiments used only noisy networks or $\epsilon$ -greedy exploration, however, we opt to use both until 100M frames, then set $\epsilon$ to zero, effectively disabling it. We elaborate on this decision in Appendix F.
|
| 102 |
+
|
| 103 |
+
# 4. Evaluation
|
| 104 |
+
|
| 105 |
+
To assess BTR, we test on two standard RL benchmarks, Atari (Bellemare et al., 2013) and Progen (Cobbe et al., 2020) in Section 4.1. Secondly, we train agents for three modern games (Super Mario Galaxy, Mario Kart Wii, and Mortal Kombat) with complex 3D graphics and physics in Section 4.2, never before shown to be trainable with RL.
|
| 106 |
+
|
| 107 |
+
# 4.1. Atari and Progen Performance
|
| 108 |
+
|
| 109 |
+
We evaluate BTR on the Atari-60 benchmark following (Machado et al., 2018) and without life information (see Appendix I for the impact), evaluating every million frames on 100 episodes. Figure 1 plots BTR against DQN, Rainbow DQN and Dreamer-v3, showing BTR's competitive performance despite using significantly less walltime. Fig
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 2: Box plot performance of BTR (4 seeds) against other popular algorithms such as MEME (Kapturowski et al., 2023), Dreamer v3 (Hafner et al., 2023), Bigger, Better, Faster (BBF) (Schwarzer et al., 2023) and EfficientZero-v2 (EZV2) (Wang et al., 2024). Brackets show the number of frames the algorithms use, the number of walltime hours and the hardware used respectively. Shaded areas show $95\%$ confidence intervals. Top: Atari 55 game benchmark - we used the overlapping games 55 between the popular Atari-57 benchmark, and the 60 games used in RLiable (Agarwal et al., 2021). Bottom: Atari-26 benchmark, commonly used for testing sample-efficient algorithms.
|
| 113 |
+
|
| 114 |
+

|
| 115 |
+
Figure 3: BTR compared to Rainbow DQN + Impala (width x4) (Cobbe et al., 2020) after 200M frames on the Procgen benchmark. Shaded areas show $95\%$ CIs, with results averaged over 5 seeds.
|
| 116 |
+
|
| 117 |
+
ure 2 shows a box plot comparison of final performance. In comparison to human expert performance, BTR equals or exceeds them in 52 of 60. Importantly, we find that BTR appears to continue increasing performance beyond 200 million frames, indicating that higher performance is still possible with more time and data. Results tables and graphs can be found in Appendices A and B, respectively.
|
| 118 |
+
|
| 119 |
+
To further confirm BTR's performance, we benchmark on Progen (Cobbe et al., 2020), a procedurally generated set of environments aiming to prevent overfitting to specific tasks, a prevalent problem in RL (Justesen et al., 2018; Juliani et al., 2019). The results are shown in Figure 3 with individual games in Appendix B. BTR is able to exceed Rainbow DQN + Impala's performance, despite using sig-
|
| 120 |
+
|
| 121 |
+
nificantly fewer convolutional filters (which Cobbe et al. (2020) found to significantly improve performance) and using 8 hours of waittime compared to 41. While BTR provides an improvement over Rainbow DQN in Procgen, we did not target procedurally generated environments thus it does not currently compete with the state-of-the-art (Cobbe et al., 2021; Hafner et al., 2023). There are numerous ways performance can be improved (Jesson & Jiang, 2024; Cobbe et al., 2020) which we leave to future work.
|
| 122 |
+
|
| 123 |
+
# 4.2. Applying BTR to Modern Games
|
| 124 |
+
|
| 125 |
+
To demonstrate BTR's capabilities beyond standard RL benchmarks, we utilized Dolphin (Dolphin-Emulator, 2024), a Nintendo Wii emulator, to train agents for a range of modern 3D games: Super Mario Galaxy, Mario Kart Wii and Mortal Kombat. Using a desktop PC, we were able to train the agent to complete some of the most difficult tasks within each game. Namely, the final level in Super Mario Galaxy, Rainbow Road (a notoriously difficult track in Mario Kart Wii), and defeating all opponents in Mortal Kombat Endurance mode. For details about the environments and setup, see Appendix J. To achieve this, BTR required minimal adjustments: changing the input image resolution to $140 \times 114$ (from Atari's $84 \times 84$ ) due to the game's higher resolution and aspect ratio, and to reduce the number of vectorized environments to 4 due to the games' memory and CPU requirements.
|
| 126 |
+
|
| 127 |
+
BTR was able to solve all three games, including consistently finishing first place in Mario Kart. In contrast, Rainbow DQN's performance plateaued before completing any of the games. We provide videos of our agent playing all
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
Figure 4: BTR being used to play Super Mario Galaxy (final level), Mario Kart Wii (Rainbow Road) and Mortal Kombat: Armageddon (Endurance Mode) respectively. Consistent completion is defined as over $90\%$ .
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+
three Wii games and all games in the Atari-5 benchmark $^{5}$ .
|
| 137 |
+
|
| 138 |
+
# 5. Analysis
|
| 139 |
+
|
| 140 |
+
Given BTR's performance demonstrated in Section 4, in this section, we ablate each component to evaluate their performance impact (Section 5.1). Using the ablated agents, we measure numerous attributes during and after training to assess each component's impact (Section 5.2).
|
| 141 |
+
|
| 142 |
+
$^5$ https://www.youtube.com/playlist?list=PL4geUsKi0NN-sjbuZP_fU28AmAPQunLoI
|
| 143 |
+
|
| 144 |
+
# 5.1. Ablations Studies
|
| 145 |
+
|
| 146 |
+
BTR amalgamates independently evaluated components into a single algorithm. To understand and verify each component's contribution, Figure 5 plots BTR's performance without each component on the Atari-5 benchmark. $^6$
|
| 147 |
+
|
| 148 |
+
We find that Impala had the largest effect on performance $(+142\%$ IQM), with the other components generally causing a less significant effect. Despite this, simply using Rainbow with Impala does not produce similar results (6.3 IQM compared to 7.7 on Atari-5). Munchausen and IQN have a strong impact on environments requiring fine
|
| 149 |
+
|
| 150 |
+
Due to the resources required to evaluate on all environments, Aitchison et al. (2023) proposes a subset of 5 games that closely correlate with the performance across all of them.
|
| 151 |
+
|
| 152 |
+
Figure 5: BTR's human-normalized scores without different components, with shaded areas showing $95\%$ bootstrapped confidence intervals averaged over 4 seeds. Left: Predicted Atari-57 median score using the regression procedure defined in Aitchison et al. (2023). However, we find the prediction does not match the true median (see Appendix K). Right: Interquartile mean across the 5 games. For individual game graphs and additional ablations, see Appendices B and C.
|
| 153 |
+

|
| 154 |
+
Beyond The Rainbow (BTR) no IQN no Munchausen Rainbow + Impala no Impala no Maxpool no Spectral
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
|
| 158 |
+
grained control such as Phoenix, as explored in Section 5.2.
|
| 159 |
+
|
| 160 |
+
For vectorization and maxpooling, while their inclusion reduces performance, we find their secondary effects crucial to keep BTR computationally accessible. Omitting vectorization increases walltime by $328\%$ (Figure 6) by processing environment steps in parallel and taking fewer gradient steps (781,000 compared to Rainbow DQN's 12.5 million).<sup>7</sup> We find that maxpooling decreases the model's parameters by $77\%$ , and makes using wider convolutional layers possible without causing the total number of parameters to increase drastically.
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 6: Walltime of BTR on a desktop PC with components removed, compared with Hessel et al. (2018) and Schmidt & Schmied (2021). For hardware details, see Appendix G.
|
| 164 |
+
|
| 165 |
+
# 5.2. What are the effects of BTR's components?
|
| 166 |
+
|
| 167 |
+
To help interpret the results in Section 5.1, Table 2 measures seven different attributes of the agent either during or after training: action gaps and action swaps (linked to causing approximation errors (Bellemare et al., 2016)); policy churn (which can cause excessive off-policyness and instability (Schaul et al., 2022)) and score with additional noise (indicating robustness of the policies).
|
| 168 |
+
|
| 169 |
+
While it is clear that Impala strongly contributes to performance, we find that without BTR's other components the learned policy is highly noisy and unstable. Table 2, demonstrates that without IQN and Munchausen the agent experiences very low action gaps (absolute Q-value difference between the highest two valued actions), causing the agent to swap its argmax action almost every other step. This is likely to result in approximation errors altering the policy and causing a high degree of off-policyness in the replay buffer. This is particularly detrimental in games requiring fine-grained control, such as Phoenix where the agent needs to narrowly dodge many projectiles, reflected in BTR's performance without these components.
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
Figure 7: Plot showing $\%$ of dormant neurons (Sokar et al., 2023), SRank with $\delta = 0.01$ (Kumar et al., 2021) and L2 norm of network weights, for details see Appendix E.3. Results are averaged over 3 seeds and 5 tasks (Atari-5). Shading shows $95\%$ confidence intervals.
|
| 177 |
+
|
| 178 |
+
Furthermore, we find that maxpooling produces a more robust policy. To test this, we evaluate the performance of BTR's ablations when taking different quantities of $\epsilon$ -actions and with altered observations and find maxpooling alleviates some of the performance loss (Table 2). Lastly, we find Munchausen and IQN to have a significant impact on Policy Churn (Schaul et al., 2022), with Munchausen reducing it by $6.4\%$ and IQN increasing it by $3.3\%$ . As a result, when these components are used together, they appear to reach a level of churn which does not harm learning and potentially provides some exploratory benefits.
|
| 179 |
+
|
| 180 |
+
Lastly, Figure 7 shows an analysis of the trained model weights across the Atari-5 benchmark. We find little difference between trained models other than when removing Impala, which decreases dormant neurons and increases the L2 Norm of different layers, which have been linked with plasticity loss (Lyle et al., 2024).
|
| 181 |
+
|
| 182 |
+
# 6. Related Work
|
| 183 |
+
|
| 184 |
+
The most similar work to BTR, developing a computationally-limited non-distributed RL algorithm, is "Fast and Efficient Rainbow" (Schmidt & Schmied, 2021). They optimized Rainbow DQN to maximize performance for 10 million frames through parallelizing the environments and dropping C51 along with hyperparameter optimizations. This differs from our goals of producing
|
| 185 |
+
|
| 186 |
+
Table 2: Comparison of policy churn, action gaps, actions swaps and evaluation performance with different quantities of $\epsilon$ -actions and color jitter (both only applied for evaluation). All measurements use the final agent, trained on 200 million frames, for Atari Phoenix, averaged over 3 seeds. Action Gap is the average absolute Q-value difference between the highest two valued actions. % Actions Swap is the percentage of times the agent's argmax action has changed from the last timestep. Policy churn is the percentage of states in which the agent's argmax action has changed after a single gradient step. Color jitter applies a random $10\%$ change to the brightness, saturation and hue of each frame. For associated errors with these values, please see Appendix E.3.
|
| 187 |
+
|
| 188 |
+
<table><tr><td>Category</td><td>BTR</td><td>w/o Munchausen</td><td>w/o IQN</td><td>w/o SN</td><td>w/o Impala</td><td>w/o Maxpool</td></tr><tr><td>Action Gap</td><td>0.282</td><td>0.055</td><td>0.180</td><td>0.274</td><td>0.215</td><td>0.264</td></tr><tr><td>% Action Swaps</td><td>36.6%</td><td>47.7%</td><td>42.2%</td><td>40.3%</td><td>41.1%</td><td>39.3%</td></tr><tr><td>Policy Churn</td><td>3.8%</td><td>11.0%</td><td>0.5%</td><td>3.3%</td><td>4.5%</td><td>4.2%</td></tr><tr><td>Score ColorJitter</td><td>212k</td><td>85k</td><td>110k</td><td>187k</td><td>19k</td><td>187k</td></tr><tr><td>Score Ξ΅ = 0.03</td><td>94k</td><td>42k</td><td>62k</td><td>75k</td><td>10k</td><td>86k</td></tr><tr><td>Score Ξ΅ = 0.01</td><td>194k</td><td>70k</td><td>110k</td><td>132k</td><td>13k</td><td>171k</td></tr><tr><td>Score Ξ΅ = 0</td><td>330k</td><td>184k</td><td>187k</td><td>296k</td><td>21k</td><td>406k</td></tr></table>
|
| 189 |
+
|
| 190 |
+
an algorithm that scales across training regimes (up to 200 million frames) and domains (Atari, Progen, Super Mario Galaxy, Mario Kart and Mortal Kombat), resulting in different design decisions.
|
| 191 |
+
|
| 192 |
+
For less computation-limited approaches, Ape-X (Horgan et al., 2018) was the first to explore highly distributed training, allowing agents to be trained on a billion frames in 120 hours through using $>100$ CPUs. Following this, Kapturowski et al. (2018) proposed R2D2 using a recurrent neural network, increasing sample efficiency but slowing down gradient updates by $38\%$ . Agent57 (Badia et al., 2020a) was the first RL agent to achieve superhuman performance across 57 Atari games, though required 90 billion frames. MEME (Kapturowski et al., 2023), Agent57's successor, focused on achieving superhuman performance within the standard 200 million frames limit, achieved by using a significantly higher replay ratio and larger network architecture. Most recently, Dreamer-v3 (Hafner et al., 2023) used a 200 million parameter model requiring over a week of training, achieving similar results as MEME. We detail some key differences between BTR, MEME and Dreamer-v3 in Table 3. While these approaches perform equally or
|
| 193 |
+
|
| 194 |
+
better than BTR, all are inaccessible to smaller research labs or hobbyists due to their required computational resources and walltime. Therefore, while these algorithms have important research value demonstrating the possible performance of RL agents, performative algorithms with a lower cost of entry, like BTR, are necessary for RL to become widely applicable and accessible.
|
| 195 |
+
|
| 196 |
+
# 7. Conclusions
|
| 197 |
+
|
| 198 |
+
We have demonstrated that, once again, independent improvements from across Deep Reinforcement Learning can be combined into a single algorithm capable of pushing the state-of-the-art far beyond what any single improvement is capable of. Importantly, we find that this can be accomplished on desktop PCs, increasing the accessibility of RL for smaller research labs and hobbyists.
|
| 199 |
+
|
| 200 |
+
We acknowledge there exists many more promising improvements we could not include in BTR, leaving room for more future work to create stronger integrated agents in a few years. For example, BTR does not add an explicit exploration component, resulting in it struggling in hard-
|
| 201 |
+
|
| 202 |
+
Table 3: Comparison of performance, walltime, observations and complexity of different algorithms.
|
| 203 |
+
|
| 204 |
+
<table><tr><td>Category</td><td>BTR</td><td>MEME</td><td>Dreamer-v3</td></tr><tr><td>A100 GPU Days</td><td>0.9</td><td>Not Reported</td><td>7.7</td></tr><tr><td>Recurrent?</td><td>No (4 stacked frames)</td><td>Yes</td><td>Yes</td></tr><tr><td>Learns from?</td><td>Single Transitions</td><td>Trajectories (length 160)</td><td>Trajectories (length 64)</td></tr><tr><td>World Model</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>Parameters</td><td>2.9M</td><td>Not Reported (β>20M)</td><td>200M</td></tr><tr><td>Observation Shape</td><td>84x84</td><td>210x160</td><td>64x64</td></tr><tr><td>Gradient Steps</td><td>781K</td><td>3.75M</td><td>1.5M</td></tr><tr><td>Atari-60 IQM</td><td>7.4</td><td>9.6</td><td>9.6</td></tr></table>
|
| 205 |
+
|
| 206 |
+
exploration tasks such as Montezuma's Revenge; therefore, mechanisms used in Never Give Up (Badia et al., 2020b), etc may prove useful. Section 5.1 found that the neural network's core architecture, Impala, had the largest impact on performance, an area we believe is generally underappreciated in RL. Previous work (Kaptuowski et al., 2018) has incorporated recurrent models enhancing performance, though we are uncertain how this can be incorporated into BTR without affecting its computational accessibility, a question which warrants future research.
|
| 207 |
+
|
| 208 |
+
# Impact Statement
|
| 209 |
+
|
| 210 |
+
This paper presents work whose goal is to advance the field of Reinforcement Learning, particularly to improve accessibility to those with limited computational resources. As with any work increasing accessibility, this has potential for misuse by bad actors. However, we believe these concerns are offset by the field's potential to tackle key societal problems.
|
| 211 |
+
|
| 212 |
+
# Acknowledgments
|
| 213 |
+
|
| 214 |
+
This work was supported by the UK Research and Innovation (UKRI) Centre for Doctoral Training in Machine Intelligence for Nano-electronic Devices and Systems [EP/S024298/1] and the Engineering and Physical Sciences Research Council (EPSRC) ActivATOR project [EP/W017466/1]. The authors acknowledge the use of the IRIDIS X High Performance Computing Facility, and the Southampton-Wolfson AI Research Machine (SWARM) GPU cluster generously funded by the Wolfson Foundation, together with the associated support services at the University of Southampton in the completion of this work. The authors dedicate this work to the memory of George Morton-Fallows, whose passion for computer science inspired this research.
|
| 215 |
+
|
| 216 |
+
# References
|
| 217 |
+
|
| 218 |
+
Agarwal, R., Schwarzer, M., Castro, P. S., Courville, A. C., and Bellemare, M. Deep reinforcement learning at the edge of the statistical precipice. Advances in neural information processing systems, 34:29304-29320, 2021.
|
| 219 |
+
Aitchison, M., Sweetser, P., and Hutter, M. Atari-5: Distilling the arcade learning environment down to five games. In International Conference on Machine Learning, pp. 421-438. PMLR, 2023.
|
| 220 |
+
Badia, A. P., Piot, B., Kapturowski, S., Sprechmann, P., Vitvitskyi, A., Guo, Z. D., and Blundell, C. Agent57: Outperforming the atari human benchmark. In International conference on machine learning, pp. 507-517. PMLR, 2020a.
|
| 221 |
+
Badia, A. P., Sprechmann, P., Vitvitskyi, A., Guo, D., Piot, B., Kapturowski, S., Tieleman, O., Arjovsky, M., Pritzel, A., Bolt, A., et al. Never give up: Learning directed exploration strategies. In International Conference on Learning Representations, 2020b.
|
| 222 |
+
Ball, P. J., Smith, L., Kostrikov, I., and Levine, S. Efficient online reinforcement learning with offline data. In International Conference on Machine Learning, pp. 1577-1594. PMLR, 2023.
|
| 223 |
+
Bellemare, M. G., Naddaf, Y., Veness, J., and Bowling, M. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:253-279, 2013.
|
| 224 |
+
Bellemare, M. G., Ostrovski, G., Guez, A., Thomas, P., and Munos, R. Increasing the action gap: New operators for reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 30, 2016.
|
| 225 |
+
Bellemare, M. G., Dabney, W., and Munos, R. A distributional perspective on reinforcement learning. In International conference on machine learning, pp. 449-458. PMLR, 2017.
|
| 226 |
+
BJORCK, N., Gomes, C. P., and Weinberger, K. Q. Towards deeper deep reinforcement learning with spectral normalization. Advances in neural information processing systems, 34:8242-8255, 2021.
|
| 227 |
+
Ceron, J. S. O. and Castro, P. S. Revisiting rainbow: Promoting more insightful and inclusive deep reinforcement learning research. In International Conference on Machine Learning, pp. 1373-1383. PMLR, 2021.
|
| 228 |
+
Ceron, J. S. O., AraΓΊjo, J. G. M., Courville, A., and Castro, P. S. On the consistency of hyper-parameter selection in value-based deep reinforcement learning. In Reinforcement Learning Conference, 2024.
|
| 229 |
+
|
| 230 |
+
Cobbe, K., Hesse, C., Hilton, J., and Schulman, J. Leveraging procedural generation to benchmark reinforcement learning. In International conference on machine learning, pp. 2048-2056. PMLR, 2020.
|
| 231 |
+
Cobbe, K. W., Hilton, J., Klimov, O., and Schulman, J. Phasic policy gradient. In International Conference on Machine Learning, pp. 2020-2027. PMLR, 2021.
|
| 232 |
+
Dabney, W., Ostrovski, G., Silver, D., and Munos, R. Implicit quantile networks for distributional reinforcement learning. In International conference on machine learning, pp. 1096-1105. PMLR, 2018.
|
| 233 |
+
Dolphin-Emulator. Dolphin emulator. https://github.com/dolphin-emu/dolphin, 2024. Accessed: 2024-09-30.
|
| 234 |
+
D'Oro, P., Schwarzer, M., Nikishin, E., Bacon, P.-L., Bellemare, M. G., and Courville, A. Sample-efficient reinforcement learning by breaking the replay ratio barrier. In Deep Reinforcement Learning Workshop NeurIPS 2022, 2022.
|
| 235 |
+
Espeholt, L., Soyer, H., Munos, R., Simonyan, K., Mnih, V., Ward, T., Doron, Y., Firoiu, V., Harley, T., Dunning, I., et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International conference on machine learning, pp. 1407-1416. PMLR, 2018.
|
| 236 |
+
Fortunato, M., Azar, M. G., Piot, B., Menick, J., Hessel, M., Osband, I., Graves, A., Mnih, V., Munos, R., Hassabis, D., et al. Noisy networks for exploration. In International Conference on Learning Representations, 2018.
|
| 237 |
+
Gallici, M., Fellows, M., Ellis, B., Pou, B., Masmitja, I., Foerster, J. N., and Martin, M. Simplifying deep temporal difference learning. arXiv preprint arXiv:2407.04811, 2024.
|
| 238 |
+
Gogianu, F., Berariu, T., Rosca, M. C., Clopath, C., Busoniu, L., and Pascanu, R. Spectral normalisation for deep reinforcement learning: an optimisation perspective. In International Conference on Machine Learning, pp. 3734-3744. PMLR, 2021.
|
| 239 |
+
Hafner, D., Pasukonis, J., Ba, J., and Lillicrap, T. Mastering diverse domains through world models, 2023. URL https://arxiv.org/abs/2301.04104, 2023.
|
| 240 |
+
He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770-778, 2016.
|
| 241 |
+
Hessel, M., Modayil, J., Van Hasselt, H., Schaul, T., Ostrovski, G., Dabney, W., Horgan, D., Piot, B., Azar, M., and
|
| 242 |
+
|
| 243 |
+
Silver, D. Rainbow: Combining improvements in deep reinforcement learning. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
|
| 244 |
+
Hessel, M., Danihelka, I., Viola, F., Guez, A., Schmitt, S., Sifre, L., Weber, T., Silver, D., and Van Hasselt, H. Muesli: Combining improvements in policy optimization. In International conference on machine learning, pp. 4214-4226. PMLR, 2021.
|
| 245 |
+
Horgan, D., Quan, J., Budden, D., Barth-Maron, G., Hessel, M., van Hasselt, H., and Silver, D. Distributed prioritized experience replay. In International Conference on Learning Representations, 2018.
|
| 246 |
+
Jesson, A. and Jiang, Y. Improving generalization on the procgen benchmark with simple architectural changes and scale. arXiv preprint arXiv:2410.10905, 2024.
|
| 247 |
+
Juliani, A., Khalifa, A., Berges, V.-P., Harper, J., Teng, E., Henry, H., Crespi, A., Togelius, J., and Lange, D. Obstacle tower: A generalization challenge in vision, control, and planning. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, 2019.
|
| 248 |
+
Justesen, N., Rodriguez Torrado, R., Bontrager, P., Khalifa, A., Togelius, J., and Risi, S. Illuminating generalization in deep reinforcement learning through procedural level generation. In NeurIPS Workshop on Deep Reinforcement Learning, 2018.
|
| 249 |
+
Kaptuowski, S., Ostrovski, G., Quan, J., Munos, R., and Dabney, W. Recurrent experience replay in distributed reinforcement learning. In International conference on learning representations, 2018.
|
| 250 |
+
Kapturowski, S., Campos, V., Jiang, R., Rakicevic, N., van Hasselt, H., Blundell, C., and Badia, A. P. Human-level atari 200x faster. In The Eleventh International Conference on Learning Representations, 2023.
|
| 251 |
+
Kumar, A., Agarwal, R., Ghosh, D., and Levine, S. Implicit under-parameterization inhibits data-efficient deep reinforcement learning. In International Conference on Learning Representations, 2021.
|
| 252 |
+
Lin, L.-J. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine learning, 8:293-321, 1992.
|
| 253 |
+
Loshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
|
| 254 |
+
Lv, K., Yang, Y., Liu, T., Guo, Q., and Qiu, X. Full parameter fine-tuning for large language models with limited resources. In ACL (1), 2024.
|
| 255 |
+
|
| 256 |
+
Lyle, C., Zheng, Z., Khetarpal, K., van Hasselt, H., Pascanu, R., Martens, J., and Dabney, W. Disentangling the causes of plasticity loss in neural networks. arXiv preprint arXiv:2402.18762, 2024.
|
| 257 |
+
Machado, M. C., Bellemare, M. G., Talvitie, E., Veness, J., Hausknecht, M., and Bowling, M. Revisiting the arcade learning environment: Evaluation protocols and open problems for general agents. Journal of Artificial Intelligence Research, 61:523-562, 2018.
|
| 258 |
+
Miyato, T., Kataoka, T., Koyama, M., and Yoshida, Y. Spectral normalization for generative adversarial networks. In International Conference on Learning Representations, 2018.
|
| 259 |
+
Mnih, V., Kavukcuoglu, K., Silver, D., Graves, A., Antonoglou, I., Wierstra, D., and Riedmiller, M. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013.
|
| 260 |
+
Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidjeland, A. K., Ostrovski, G., et al. Human-level control through deep reinforcement learning. nature, 518 (7540):529-533, 2015.
|
| 261 |
+
Obando Ceron, J., Bellemare, M., and Castro, P. S. Small batch deep reinforcement learning. Advances in Neural Information Processing Systems, 36, 2024.
|
| 262 |
+
Schaul, T., Quan, J., Antonoglou, I., and Silver, D. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015.
|
| 263 |
+
Schaul, T., Barreto, A., Quan, J., and Ostrovski, G. The phenomenon of policy churn. Advances in Neural Information Processing Systems, 35:2537-2549, 2022.
|
| 264 |
+
Schmidt, D. and Schmied, T. Fast and data-efficient training of rainbow: an experimental study on atari. In Deep RL Workshop NeurIPS 2021, 2021.
|
| 265 |
+
Schrittwieser, J., Antonoglou, I., Hubert, T., Simonyan, K., Sifre, L., Schmitt, S., Guez, A., Lockhart, E., Hassabis, D., Graepel, T., et al. Mastering atari, go, chess and shogi by planning with a learned model. Nature, 588 (7839):604-609, 2020.
|
| 266 |
+
Schrittwieser, J., Hubert, T., Mandhane, A., Barekatain, M., Antonoglou, I., and Silver, D. Online and offline reinforcement learning by planning with a learned model. Advances in Neural Information Processing Systems, 34: 27580-27591, 2021.
|
| 267 |
+
Schwarzer, M., Ceron, J. S. O., Courville, A., Bellemare, M. G., Agarwal, R., and Castro, P. S. Bigger, better, faster: Human-level atari with human-level efficiency.
|
| 268 |
+
|
| 269 |
+
In International Conference on Machine Learning, pp. 30365-30380. PMLR, 2023.
|
| 270 |
+
Sokar, G., Agarwal, R., Castro, P. S., and Evci, U. The dormant neuron phenomenon in deep reinforcement learning. In International Conference on Machine Learning, pp. 32145-32168. PMLR, 2023.
|
| 271 |
+
Sutton, R. S. and Barto, A. G. Reinforcement learning: An introduction. MIT press, 2018.
|
| 272 |
+
Sutton, R. S., Barto, A. G., et al. Introduction to reinforcement learning, volume 135. MIT press Cambridge, 1998.
|
| 273 |
+
Toromanoff, M., Wirbel, E., and Moutarde, F. Is deep reinforcement learning really superhuman on atari? In Deep Reinforcement Learning Workshop of 39th Conference on Neural Information Processing Systems (Neurips' 2019), 2019.
|
| 274 |
+
Towers, M., Kwiatkowski, A., Terry, J., Balis, J. U., De Cola, G., Deleu, T., GoulΓ£o, M., Kallinteris, A., Krimmel, M., KG, A., et al. Gymnasium: A standard interface for reinforcement learning environments. arXiv preprint arXiv:2407.17032, 2024.
|
| 275 |
+
Van Hasselt, H., Guez, A., and Silver, D. Deep reinforcement learning with double q-learning. In Proceedings of the AAAI conference on artificial intelligence, volume 30, 2016.
|
| 276 |
+
Vieillard, N., Pietquin, O., and Geist, M. Munchausen reinforcement learning. Advances in Neural Information Processing Systems, 33:4235-4246, 2020.
|
| 277 |
+
Wang, S., Liu, S., Ye, W., You, J., and Gao, Y. Efficientzero v2: Mastering discrete and continuous control with limited data. In International Conference on Machine Learning, pp. 51041-51062. PMLR, 2024.
|
| 278 |
+
Wang, Z., Schaul, T., Hessel, M., Hasselt, H., Lanctot, M., and Freitas, N. Dueling network architectures for deep reinforcement learning. In International conference on machine learning, pp. 1995-2003. PMLR, 2016.
|
| 279 |
+
Watkins, C. J. and Dayan, P. Q-learning. Machine learning, 8:279-292, 1992.
|
| 280 |
+
|
| 281 |
+
# A. Full Results Tables
|
| 282 |
+
|
| 283 |
+
Table A1: Maximum scores obtained during training (averaged over 100 episodes and all performed using random seeds) after 200M Frames on the Atari-60 benchmark. Fast & Efficient Rainbow DQN and Munchausen-IQN refer to Schmidt & Schmied (2021) and (Vieillard et al., 2020) respectively. FE-Rainbow uses Life Information (See Appendix I), only 10M frames, and has missing games, so metrics are based on existing games.
|
| 284 |
+
|
| 285 |
+
<table><tr><td>Game</td><td>Random</td><td>Human</td><td>DQN (Nature)</td><td>Rainbow</td><td>M-QN</td><td>FE-Rainbow</td><td>BTR</td></tr><tr><td>AirRaid</td><td>400</td><td>1277</td><td>12472</td><td>1911</td><td>1258</td><td>1899</td><td>51719</td></tr><tr><td>Aliamar</td><td>5</td><td>1719</td><td>1268</td><td>2390</td><td>1653</td><td>1407</td><td>4690</td></tr><tr><td>Assault</td><td>222</td><td>742</td><td>3490</td><td>6014</td><td>10709</td><td>19064</td><td>2190</td></tr><tr><td>Asterix</td><td>710</td><td>4788</td><td>2803</td><td>16547</td><td>42615</td><td>346758</td><td>60829</td></tr><tr><td>Astereux</td><td>210</td><td>4788</td><td>16547</td><td>42615</td><td>16547</td><td>124758</td><td>60829</td></tr><tr><td>Antlers</td><td>13850</td><td>29028</td><td>84372</td><td>791393</td><td>866810</td><td>812825</td><td>891773</td></tr><tr><td>BankHeist</td><td>14</td><td>753</td><td>560</td><td>1070</td><td>1305</td><td>112652</td><td>168450</td></tr><tr><td>BeetleJack</td><td>123</td><td>160</td><td>30</td><td>43</td><td>23</td><td>40</td><td>63</td></tr><tr><td>BeaconRider</td><td>363</td><td>1927</td><td>560</td><td>1070</td><td>1305</td><td>112652</td><td>168450</td></tr><tr><td>Ballzoon</td><td>23</td><td>160</td><td>30</td><td>43</td><td>23</td><td>40</td><td>63</td></tr><tr><td>BeachRider</td><td>363</td><td>1927</td><td>560</td><td>1070</td><td>1305</td><td>112652</td><td>168450</td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td>1070</td><td>1305</td><td>112652</td><td>168450</td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td>1070</td><td>1305</td><td>112652</td><td>168450</td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td></td><td></td><td></td><td></td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td></td><td></td><td></td><td></td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td></td><td></td><td></td><td></td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td></td><td></td><td></td><td></td></tr><tr><td>BeachZone</td><td>363</td><td>1927</td><td>560</td><td></td><td></td><td></td><td></td></tr><tr><td>BeachZone</td><td>10780</td><td>35829</td><td>103549</td><td>146262</td><td>14619</td><td>140712</td><td>140927</td></tr><tr><td>CrazyClimber</td><td>152</td><td>1911</td><td>5437</td><td>69237</td><td>69237</td><td>69237</td><td>69237</td></tr><tr><td>DemonAttack</td><td>-18</td><td>-16</td><td>-22</td><td>21</td><td>1</td><td>-1</td><td>76941</td></tr><tr><td>Elevator Action</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Enduro</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>FishingDerby</td><td>-91</td><td>-29</td><td>-26</td><td>33</td><td>34</td><td>34</td><td>34</td></tr><tr><td>Freeway</td><td>65</td><td>4334</td><td>482</td><td>8309</td><td>9419</td><td>5282</td><td>15158</td></tr><tr><td>Grosbie</td><td>257</td><td>2412</td><td>5440</td><td>9987</td><td>2310</td><td>25606</td><td>97879</td></tr><tr><td>Grotchar</td><td>173</td><td>3351</td><td>209</td><td>1249</td><td>1105</td><td>2107</td><td>4753</td></tr><tr><td>Gravit</td><td>1027</td><td>30826</td><td>15766</td><td>46200</td><td>25555</td><td>15377</td><td>25371</td></tr><tr><td>Heron</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Jamebond</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Kingsport</td><td>52</td><td>302</td><td>671</td><td>995</td><td>1526</td><td>53302</td><td>53302</td></tr><tr><td>Marathon</td><td>52</td><td>302</td><td>671</td><td>995</td><td>1526</td><td>53302</td><td>53302</td></tr><tr><td>MapleGate</td><td>52</td><td>302</td><td>671</td><td>995</td><td>1526</td><td>53302</td><td>53302</td></tr><tr><td>NameThisGame</td><td>52</td><td>302</td><td>671</td><td>995</td><td>1526</td><td>53302</td><td>53302</td></tr><tr><td>Phenix</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Pong</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Poonan</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>PrivateEye</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>RiverRider</td><td>138</td><td>1911</td><td>5749</td><td>8900</td><td>12440</td><td>19819</td><td>27917</td></tr><tr><td>RoadRider</td><td>138</td><td>1911</td><td>5749</td><td>8900</td><td>12440</td><td>19819</td><td>27917</td></tr><tr><td>Robotank</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Seashrest</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>StarCunner</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Tennis</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Tulipin</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Unpinned</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>VidePinfall</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>WizardsOfWar</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>YardRevenge</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>Zaxxon</td><td>0</td><td>3000</td><td>642</td><td>2165</td><td>2266</td><td>2358</td><td>2358</td></tr><tr><td>IQM(β)</td><td>0.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td></tr><tr><td>Median(β)</td><td>0.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td></tr><tr><td>Mean(β)</td><td>0.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td></tr><tr><td>Optimality Gap(β)</td><td>0.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td><td>1.000</td></tr><tr><td>Best</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>>Human</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></table>
|
| 286 |
+
|
| 287 |
+
Table A2: Maximum scores obtained during training (averaged over 100 episodes and all performed 3 random seeds) after 200M Frames on the Atari-5 Environment, compared against other non-recurrent non-distributed algorithms. FE-Rainbow refers to Fast and Efficient Rainbow DQN (Schmidt & Schmied, 2021), and M-IQN refers to Munchausen-IQN (Vieillard et al., 2020). Metrics do not use the recommended regression procedure, as explained in Appendix K.
|
| 288 |
+
|
| 289 |
+
<table><tr><td>Game</td><td>Random</td><td>Human</td><td>Rainbow DQN (Dopamine)</td><td>Rainbow DQN (Full)</td><td>M-IQN</td><td>FE-Rainbow</td><td>BTR</td></tr><tr><td>BattleZone</td><td>2360</td><td>37188</td><td>40895</td><td>62010</td><td>52517</td><td>112652</td><td>168340</td></tr><tr><td>DoubleDunk</td><td>-19</td><td>-16</td><td>22</td><td>0</td><td>22</td><td>-1</td><td>23</td></tr><tr><td>NameThisGame</td><td>2292</td><td>8049</td><td>9229</td><td>13136</td><td>12761</td><td>19819</td><td>27917</td></tr><tr><td>Phoenix</td><td>761</td><td>7243</td><td>8605</td><td>108529</td><td>5327</td><td>60955</td><td>427481</td></tr><tr><td>Qbert</td><td>164</td><td>13455</td><td>18503</td><td>33818</td><td>14739</td><td>25712</td><td>42927</td></tr><tr><td>IQM</td><td>0.000</td><td>1.000</td><td>1.265</td><td>3.583</td><td>1.452</td><td>4.070</td><td>7.739</td></tr><tr><td>Median</td><td>0.000</td><td>1.000</td><td>1.21</td><td>2.532</td><td>1.44</td><td>3.167</td><td>4.766</td></tr><tr><td>Mean</td><td>0.000</td><td>1.000</td><td>3.714</td><td>5.817</td><td>3.745</td><td>4.684</td><td>18.453</td></tr></table>
|
| 290 |
+
|
| 291 |
+
Table A3: Comparison of performance and walltime against PQN (Gallici et al., 2024). PQN only reports results at 400M frames and includes life information, which greatly affects performance (see Appendix I). To provide a fairer comparison, we also report our results using life information but only use 200M frames. Below are Atari-5 IQM and per-game Scores, with BTR averaged over 3 seeds. Human-Normalized scores are reported for individual games, with the raw score in brackets.
|
| 292 |
+
|
| 293 |
+
<table><tr><td>Game</td><td>BTR (with life info, 200M frames)</td><td>PQN (with life info, 400M frames)</td></tr><tr><td>Inter-Quartile Mean</td><td>12.18</td><td>3.86</td></tr><tr><td>BattleZone</td><td>12.73 (445,827)</td><td>1.51 (54,791)</td></tr><tr><td>DoubleDunk</td><td>14 (23.0)</td><td>6.03 (-0.92)</td></tr><tr><td>NameThisGame</td><td>4.51 (28,834)</td><td>3.18 (20,603)</td></tr><tr><td>Phoenix</td><td>90.85 (589,662)</td><td>38.79 (252,173)</td></tr><tr><td>QBert</td><td>9.79 (130,348)</td><td>2.37 (31,716)</td></tr><tr><td>Walltime (A100)</td><td>22 Hours</td><td>2 Hours</td></tr><tr><td>Backend</td><td>(PyTorch (non-compiled) + gymnasium async)</td><td>(JAX + envpool)</td></tr></table>
|
| 294 |
+
|
| 295 |
+
# B. Full Results Graphs
|
| 296 |
+
|
| 297 |
+

|
| 298 |
+
Figure B1: Performance of BTR (4 Seeds) on each individual game in all 60 Atari games. Shaded areas show $95\%$ confidence intervals over different seeds. 15
|
| 299 |
+
|
| 300 |
+

|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
|
| 304 |
+

|
| 305 |
+
Figure B2: Final performance of BTR on Atari-60 (as used in RLiable (Agarwal et al., 2021)), against other popular algorithms. The plot displays performance profiles, with $95\%$ confidence intervals and 4 seeds for BTR.
|
| 306 |
+
|
| 307 |
+

|
| 308 |
+
|
| 309 |
+

|
| 310 |
+
|
| 311 |
+

|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Figure B3: Performance of BTR with different components removed on individual games, and interquartile mean in the top left. Results are averaged over 4 seeds, with shaded areas showing $95\%$ bootstrapped confidence intervals.
|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure B4: Figure shows BTR against PPO on Atari 57 (PPO's Atari 60 scores have not been reported). PPO uses the results provided by DreamerV3 (Hafner et al., 2023), which additionally uses vectorization and the impala algorithm. Shaded areas show $95\%$ confidence intervals with BTR using 4 seeds.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure B5: Performance of BTR on each individual game in the Progen benchmark. Shaded areas show $95\%$ confidence intervals. The red dotted line shows the performance of Rainbow DQN + Impala with 4x scaled Impala blocks (Cobbe et al., 2020), after 200M frames.
|
| 325 |
+
|
| 326 |
+
# C. Additional Ablations
|
| 327 |
+
|
| 328 |
+
Figure C6: Figures show BTR's human-normalized scores without different components, with shaded areas showing $95\%$ bootstrapped confidence intervals averaged over 4 seeds. Left: Predicted Atari-60 median score using the regression procedure defined in Aitchison et al. (2023). However, we find the predicted median does not match the true median (see Appendix K). Right: Interquartile mean across the 5 games.
|
| 329 |
+

|
| 330 |
+
Beyond The Rainbow (BTR)
|
| 331 |
+
BTR - Vectorization
|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
Rainbow + Vectorization
|
| 335 |
+
Rainbow + Impala
|
| 336 |
+
|
| 337 |
+
# D. Hyperparameters
|
| 338 |
+
|
| 339 |
+
# D.1. Environment Details
|
| 340 |
+
|
| 341 |
+
Table D4: Environment Details for Atari Experiments.
|
| 342 |
+
|
| 343 |
+
<table><tr><td>Hyperparameter</td><td>Value</td></tr><tr><td>Grey-Scaling</td><td>True</td></tr><tr><td>Observation down-sampling</td><td>84x84</td></tr><tr><td>Frames Stacked</td><td>4</td></tr><tr><td>Reward Clipping</td><td>[-1, 1]</td></tr><tr><td>Terminal on loss of life</td><td>False</td></tr><tr><td>Life Information</td><td>False</td></tr><tr><td>Max frames per episode</td><td>108K</td></tr><tr><td>Sticky Actions</td><td>True</td></tr></table>
|
| 344 |
+
|
| 345 |
+
Table D5: Environment Details for Procgen Experiments.
|
| 346 |
+
|
| 347 |
+
<table><tr><td>Hyperparameter</td><td>Value</td></tr><tr><td>Grey-Scaling</td><td>False</td></tr><tr><td>Observation Size</td><td>64x64</td></tr><tr><td>Frames Stacked</td><td>1</td></tr><tr><td>Reward Clipping</td><td>False</td></tr><tr><td>Max frames per episode</td><td>108K</td></tr><tr><td>Distribution Mode</td><td>Hard</td></tr><tr><td>Number of Unique Levels (Train & Test)</td><td>Unlimited</td></tr></table>
|
| 348 |
+
|
| 349 |
+
# D.2. Algorithm Hyperparameters
|
| 350 |
+
|
| 351 |
+
Table D6: Table showing the hyperparameters used in the BTR algorithm.
|
| 352 |
+
|
| 353 |
+
<table><tr><td>Hyperparameter</td><td>Value</td></tr><tr><td>Learning Rate</td><td>1e-4</td></tr><tr><td>Discount Rate</td><td>0.997</td></tr><tr><td>N-Step</td><td>3</td></tr><tr><td>IQN Taus</td><td>8</td></tr><tr><td>IQN Number Cos'</td><td>64</td></tr><tr><td>Huber Loss ΞΊ</td><td>1.0</td></tr><tr><td>Gradient Clipping Max Norm</td><td>10</td></tr><tr><td>Parallel Environments</td><td>64</td></tr><tr><td>Gradient Step Every</td><td>64 Environment Steps (1 Vectorized Environment Step)</td></tr><tr><td>Replace Target Network Frequency (C)</td><td>500 Gradient Steps (32K Environment Steps)</td></tr><tr><td>Batch Size</td><td>256</td></tr><tr><td>Total Replay Ratio</td><td>1/64</td></tr><tr><td>Impala Width Scale</td><td>2</td></tr><tr><td>Spectral Normalization</td><td>All Convolutional Residual Layers</td></tr><tr><td>Adaptive Maxpooling Size</td><td>6x6</td></tr><tr><td>Linear Size (Per Dueling Layer)</td><td>512</td></tr><tr><td>Noisy Networks Ο</td><td>0.5</td></tr><tr><td>Activation Function</td><td>ReLU</td></tr><tr><td>Ξ΅-greedy Start</td><td>1.0</td></tr><tr><td>Ξ΅-greedy Decay</td><td>8M Frames</td></tr><tr><td>Ξ΅-greedy End</td><td>0.01</td></tr><tr><td>Ξ΅-greedy Disabled</td><td>100M Frames</td></tr><tr><td>Replay Buffer Size</td><td>1,048,576 Transitions (220)</td></tr><tr><td>Minimum Replay Size for Sampling</td><td>200K Transitions</td></tr><tr><td>PER Alpha</td><td>0.2</td></tr><tr><td>Optimizer</td><td>Adam</td></tr><tr><td>Adam Epsilon Parameter</td><td>1.95e-5 (equal to 0.005 batchsize)</td></tr><tr><td>Adam Ξ²1</td><td>0.9</td></tr><tr><td>Adam Ξ²2</td><td>0.999</td></tr><tr><td>Munchausen Temperature Ο</td><td>0.03</td></tr><tr><td>Munchausen Scaling Term Ξ±</td><td>0.9</td></tr><tr><td>Munchausen Clipping Value (l0)</td><td>-1.0</td></tr><tr><td>Evaluation Epsilon</td><td>0.01 until 125M frames, then 0</td></tr><tr><td>Evaluation Episodes</td><td>100</td></tr><tr><td>Evaluation Every</td><td>1M Environment Frames (250K Environment Steps)</td></tr></table>
|
| 354 |
+
|
| 355 |
+
# D.3. Clarity of the terms Frames, Steps and Transitions
|
| 356 |
+
|
| 357 |
+
Throughout the Arcade Learning Environment's history (ALE) (Bellemare et al., 2013; Machado et al., 2018), there have been many ambiguities around the terms: frames, steps and transitions, which are sometimes used interchangeably. Frames refer to the number of individual frames the agent plays, including those within repeated actions (also called frame skipping). This is notably different from the number of steps the agent takes, which does not include these skipped frames. When using the standard Atari wrapper, training for 200M frames is equivalent to training for 50M steps. Lastly, transitions refer to the standard tuple $(s_t, a_t, r_t, s_{t+1})$ , where the timestep $t$ refers to a steps, not frames. We encourage researchers to make this clear when publishing work, including when mentioning the values of different hyperparameters.
|
| 358 |
+
|
| 359 |
+
# E. Beyond The Rainbow Architecture & Loss Function
|
| 360 |
+
|
| 361 |
+
# E.1. Architecture
|
| 362 |
+
|
| 363 |
+

|
| 364 |
+
Figure E7 shows the neural network architecture of the BTR algorithm. The architecture is highly similar to the Impala architecture (Espeholt et al., 2018), with notable exceptions:
|
| 365 |
+
Figure E7: Architectural diagram of the BTR algorithm's neural network. The model contains a total of 2.91 million parameters, 2.52 million of which are within linear layers.
|
| 366 |
+
|
| 367 |
+
- Spectral Normalization Within each Impala CNN block, each residual layer (containing two Conv $3 \times 3 + \mathrm{ReLU}$ ) has spectral normalization applied, as discussed in Section 3.1.
|
| 368 |
+
- Maxpooling Following the CNN blocks, a 6x6 adaptive maxpooling layer is added.
|
| 369 |
+
|
| 370 |
+
- IQN In order to use IQN, it is required to draw Tau samples, which are multiplied by the output of the CNN layers, as shown by the section 'IQN Samples' in figure E7.
|
| 371 |
+
- **Dueling**. **Dueling (as included in the original Rainbow DQN)** splits the fully connected layers into value and advantage streams, where the advantage stream output has a mean of 0, and is then added to the value stream.
|
| 372 |
+
- Noisy Networks As included in Rainbow DQN, Noisy Networks replace the linear layers with noisy layers.
|
| 373 |
+
|
| 374 |
+
Lastly, the sizes of many of the layers given in Figure E7 are dependent upon the Impala width scale, of which we use the value 2. For example, the Impala CNN blocks have $[16 \times \text{width}, 32 \times \text{width}, 32 \times \text{width}]$ channels respectively. The output size of the convolutional layers (including the maxpooling layer) is $6 \times 6 \times 32 \times \text{width}$ , as a 6x6 maxpooling layer is used. Lastly, the cos embedding layer, after generating IQN samples, requires the same size as the output of the convolutional layers. Hence, the size is selected accordingly. Another benefit of the 6x6 maxpooling layer is following the product of the convolutional layers and IQN samples, the number of parameters is fixed, regardless of the input size. Figure E8 shows the number of parameters the ablated versions of BTR have.
|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
Figure E8: Total number of parameters in BTR with different components removed. Those not included in the graph (Munchausen and Spectral Normalization) used the same number of parameters as BTR.
|
| 378 |
+
|
| 379 |
+
# E.2. Loss Function
|
| 380 |
+
|
| 381 |
+
The resulting loss function for the BTR algorithm remains the same as that defined in the appendix of the Munchausen paper, which gave a loss function for Munchausen-IQN. As the other components in BTR do not affect the loss, the resulting temporal-difference loss function is the same. For self-containment, we include this loss function below:
|
| 382 |
+
|
| 383 |
+
$$
|
| 384 |
+
T D _ {B T R} = r _ {t} + \alpha [ \tau \ln \pi (a _ {t} | s _ {t}) ] _ {l _ {0}} ^ {0} + \gamma \sum_ {a \in A} \pi (a | s _ {t + 1}) (z _ {\sigma^ {\prime}} (s _ {t + 1}, a) - \tau \ln \pi (a | s _ {t + 1})) - z _ {\sigma} (s _ {t}, a _ {t}) \tag {E1}
|
| 385 |
+
$$
|
| 386 |
+
|
| 387 |
+
with $\pi (\cdot |s) = sm\left(\frac{\tilde{q}(s,\cdot)}{\tau}\right)$ (that is, the policy is softmax with $\mathbf{q}^*$ , the quantity with respect to which the original policy of IQN is greedy). It is also worth noting here that due to the character conflict of both Munchausen and IQN using $\tau$ (Munchausen as a temperature parameter, and IQN for drawing samples), we replace IQN's $\tau$ with $\sigma$ . $l_0, \tau$ and $\alpha$ are hyperparameters set by Munchausen. We use the same values in BTR, also shown in our hyperparameter table in Appendix D.2.
|
| 388 |
+
|
| 389 |
+
# E.3. Analysis Confidence Intervals
|
| 390 |
+
|
| 391 |
+
Due to space constraints, we was unable to include confidence intervals for Table 2 in the main paper. A repeat of the main paper Table can be found in Table E7, with the associated confidence intervals in Table E8.
|
| 392 |
+
|
| 393 |
+
# F. BTR with and without Epsilon Greedy
|
| 394 |
+
|
| 395 |
+
One of the first observations we made early in the testing process was that the inclusion of using $\epsilon$ -greedy in addition to NoisyNetworks benefited some environments but not others. Specifically, performance was reduced on BattleZone and Phoenix, both games where the agent reached very high levels of performance with extremely precise control. However, DoubleDunk performed significantly worse, only reaching a score of 0, rather than the score of 23 the final BTR algorithm achieved. Similar findings were also found in the full version of Rainbow DQN, which used only NoisyNetworks, which
|
| 396 |
+
|
| 397 |
+
Table E7: Repeat of the main paper's Table 2 for reference against the table of $95\%$ confidence intervals below. Comparison of policy churn, action gaps, actions swaps and evaluation performance with different quantities of $\epsilon$ -actions and color jitter (both only applied for evaluation). All measurements use the final agent, trained on 200 million frames, for Atari Phoenix, averaged over 3 seeds. Action Gap is the average absolute Q-value difference between the highest two valued actions. % Actions Swap is the percentage of times the agent's argmax action has changed from the last timestep. Policy churn is the percentage of states which the agent's argmax action has changed on after a single gradient step. Color jitter applies a random $10\%$ change to the brightness, saturation and hue of each frame. For associated error with these values, please see Appendix E.3.
|
| 398 |
+
|
| 399 |
+
<table><tr><td>Category</td><td>BTR</td><td>w/o Munchausen</td><td>w/o IQN</td><td>w/o SN</td><td>w/o Impala</td><td>w/o Maxpool</td></tr><tr><td>Action Gap</td><td>0.282</td><td>0.055</td><td>0.180</td><td>0.274</td><td>0.215</td><td>0.264</td></tr><tr><td>% Action Swaps</td><td>36.6%</td><td>47.7%</td><td>42.2%</td><td>40.3%</td><td>41.1%</td><td>39.3%</td></tr><tr><td>Policy Churn</td><td>3.8%</td><td>11.0%</td><td>0.5%</td><td>3.3%</td><td>4.5%</td><td>4.2%</td></tr><tr><td>Score ColorJitter</td><td>212k</td><td>85k</td><td>110k</td><td>187k</td><td>19k</td><td>187k</td></tr><tr><td>Score Ξ΅ = 0.03</td><td>94k</td><td>42k</td><td>62k</td><td>75k</td><td>10k</td><td>86k</td></tr><tr><td>Score Ξ΅ = 0.01</td><td>194k</td><td>70k</td><td>110k</td><td>132k</td><td>13k</td><td>171k</td></tr><tr><td>Score Ξ΅ = 0</td><td>330k</td><td>184k</td><td>187k</td><td>296k</td><td>21k</td><td>406k</td></tr></table>
|
| 400 |
+
|
| 401 |
+
Table E8: 95% confidence intervals for the main paper Table 2, calculated using 6 seeds. A repeat of the original table is shown above in Table E7.
|
| 402 |
+
|
| 403 |
+
<table><tr><td>Category</td><td>BTR</td><td>w/o Munchausen</td><td>w/o IQN</td><td>w/o SN</td><td>w/o Impala</td><td>w/o Maxpool</td></tr><tr><td>Action Gap</td><td>[0.25, 0.31]</td><td>[0.05, 0.06]</td><td>[0.17, 0.19]</td><td>[0.25, 0.3]</td><td>[0.1, 0.33]</td><td>[0.23, 0.3]</td></tr><tr><td>% Action Swaps</td><td>[33.6, 39.6]</td><td>[45.8, 49.7]</td><td>[41.0, 43.3]</td><td>[38.5, 42.2]</td><td>[31.4, 50.8]</td><td>[38.2, 40.4]</td></tr><tr><td>Policy Churn</td><td>[3.3, 4.2]</td><td>[10.2, 11.7]</td><td>[0.5, 0.5]</td><td>[2.9, 3.6]</td><td>[3.9, 5.0]</td><td>[3.7, 4.7]</td></tr><tr><td>Score ColorJitter</td><td>[204k, 218k]</td><td>[77k, 92k]</td><td>[90k, 128k]</td><td>[173k, 201k]</td><td>[0k, 40k]</td><td>[158k, 215k]</td></tr><tr><td>Score Ξ΅ = 0.03</td><td>[88k, 99k]</td><td>[38k, 46k]</td><td>[52k, 72k]</td><td>[68k, 82k]</td><td>[2k, 18k]</td><td>[74k, 97k]</td></tr><tr><td>Score Ξ΅ = 0.01</td><td>[177k, 211k]</td><td>[62k, 77k]</td><td>[97k, 122k]</td><td>[139k, 176k]</td><td>[0k, 52k]</td><td>[143k, 199k]</td></tr><tr><td>Score Ξ΅ = 0</td><td>[282k, 377k]</td><td>[116k, 251k]</td><td>[163k, 209k]</td><td>[244k, 348k]</td><td>[0k, 43k]</td><td>[332k, 479k]</td></tr></table>
|
| 404 |
+
|
| 405 |
+
achieved a best score of -0.3 (Dopamine's "compact" Rainbow DQN, however, which did not use NoisyNetworks achieved 22). From this, we conclude that NoisyNetworks alone failed to sufficiently explore the environment, whereas $\epsilon$ -greedy did not. From these results, we eventually decided to use both methods, but disable $\epsilon$ -greedy halfway through training to reap the best of both techniques.
|
| 406 |
+
|
| 407 |
+
# G. Experiment Compute Resources
|
| 408 |
+
|
| 409 |
+
# G.1. Our Compute Resources
|
| 410 |
+
|
| 411 |
+
For running our experiments, we used a mixture of desktop computers and internal clusters. The desktop PCs used an GPU Nvidia RTX4090, CPU intel i9-14900k and 64GB of DDR5 6000mhz RAM. When using internal clusters, we used a mixture of GPUs, including Nvidia A100s, Nvidia Volta V100 and Nvidia Quadro RTX 8000. As for CPUs, we used 2 x 2.4 GHz Intel(R) Xeon(R) Gold 6336Y, 48 Cores. Lastly, we saved the models used to produce our analysis, totalling around 300gb across all of our ablations on the Atari-5 benchmark, saving a model every 1 million frames.
|
| 412 |
+
|
| 413 |
+
As most of our experiments were performed on desktop PC, in the main body of our paper we reference these speeds. We found that desktop PCs actually outperformed internal clusters, likely due to desktop CPUs being more suited to performing environment steps, outlined in the next subsection.
|
| 414 |
+
|
| 415 |
+
When testing ideas originally (those mentioned in Appendix H), we only tested them using a single run of the games BattleZone, NameThisGame and Phoenix unless otherwise stated. Whilst this method of evaluation is not statistically significant, for preliminary purposes with computational restrictions, we deemed this the best option.
|
| 416 |
+
|
| 417 |
+
# G.2. BTR with Different Hardware
|
| 418 |
+
|
| 419 |
+
In this work, we look to make high-performance RL more accessible to those with fewer computing resources, especially those only with access to desktop computers. Most of our experiments were performed with an RTX4090, we also provide some walltimes for 200M Atari frames for lower-end machines and provide a brief comparison of desktop PCs against internal clusters:
|
| 420 |
+
|
| 421 |
+
# Desktops:
|
| 422 |
+
|
| 423 |
+
Original: RTX 4090, Intel i9-13900k (2023), 64GB RAM - 11.5 Hours
|
| 424 |
+
|
| 425 |
+
RTX 3070, Ryzen 9 3900X (2019), 64GB RAM - 52 Hours
|
| 426 |
+
|
| 427 |
+
RTX 2080 ti, Intel(R) Xeon(R) Silver 4112 CPU @ 2.60GHz (2018), 128GB RAM - 32 Hours
|
| 428 |
+
|
| 429 |
+
# Internal Clusters:
|
| 430 |
+
|
| 431 |
+
Nvidia H100, 48 Core Intel(R) Xeon(R) Platinum 8468 (2023), 2TB RAM - 15 Hours
|
| 432 |
+
|
| 433 |
+
Nvidia A100, 24 Core Intel(R) Xeon(R) Gold 6336Y (2021), 512GB RAM - 22 Hours
|
| 434 |
+
|
| 435 |
+
We note that there is significant variability in hardware (processors, memory bus speeds, etc), but the results still show reasonable times compared to not using BTR. Overall, we found that training BTR was very capable of running on lower end machines, with the agent (excluding the environments) using around 15GB of RAM. The main performance bottleneck was running the environment in parallel, making the number of CPU cores and processor speed most important. BTR also provides strong performance long before 200M frames, thus providing practical utility for lower-end machines.
|
| 436 |
+
|
| 437 |
+
# H. Other Things We Tried
|
| 438 |
+
|
| 439 |
+
Throughout the development of the BTR algorithm, we experimented with many different components and hyperparameters. A brief list of ideas we tried that performed worse or equivalent to the final algorithm includes:
|
| 440 |
+
|
| 441 |
+
- Using Exponential Moving Average networks rather than using fixed target networks (this was both computationally slower and performed worse).
|
| 442 |
+
- Varying the frequency of updating the target network (we tested 250, 500 and 1000, finding 500 to perform best).
|
| 443 |
+
- Changing the size of maxpool layer following the convolutional layers (we tested 4 and 8, however 6 performed significantly better).
|
| 444 |
+
- Decaying the learning rate from $1 \times 10^{-4}$ to 0 over the course of training (this made no significant difference).
|
| 445 |
+
- Different learning rates, finding $1 \times 10^{-4}$ to perform best, however $5 \times 10^{-5}$ also performed similarly as was used in Implicit Quantile Networks (IQN).
|
| 446 |
+
- Using the AdamW optimizer(Loshchilov & Hutter, 2019) which uses weight decay with the decay parameter $1e - 4$ , however found this made no significant difference.
|
| 447 |
+
- Using the GeLu activation instead of ReLu, which drastically reduced performance.
|
| 448 |
+
|
| 449 |
+
Only testing on a single environment (BattleZone), we also tried:
|
| 450 |
+
|
| 451 |
+
- Annealing the discount rate from 0.97 to 0.997 throughout training, but found no significant difference.
|
| 452 |
+
- Applying spectral normalization to the linear layers (dramatically worse performance).
|
| 453 |
+
- Increasing the number of cos' from IQN (no significant difference on performance).
|
| 454 |
+
- Using Dopamine's Prioritized Experience Replay buffer which doesn't include a $\alpha$ value (moderately worse performance).
|
| 455 |
+
- As discussed in F, we also tried not using $\epsilon$ -greedy when using noisy nets.
|
| 456 |
+
|
| 457 |
+
Lastly we also tried removing some of the original components from Rainbow DQN on Atari BattleZone, including Dueling, Prioritized Experience Replay and Noisy Networks. Prioritized Experience Replay and Noisy Networks both proved beneficial, so were kept in the algorithm. Dueling did not seem to make any significant difference, however we did not choose to remove it for a clearer continuation of Rainbow DQN, in addition to potentially being useful in other Atari environments.
|
| 458 |
+
|
| 459 |
+
Shortly after the submission of this work, we tested BTR with addition of Layer Normalization, and found positive results. Layer Normalization can improve the robustness to a variety of pathologies that cause loss of plasticity (Lyle et al., 2024), and helps to improve the conditioning of the network's gradients in RL (Ball et al., 2023). Below in Figure H9 we show the impact of including layer normalization into BTR.
|
| 460 |
+
|
| 461 |
+
Figure H9: Graph shows Atari-5 performance with and without layer normalization using Inter-quartile mean and Atari-60 predicted median from Aitchison et al. (2023). Layer normalization uses 3 seeds, with shaded areas showing $95\%$ confidence intervals.
|
| 462 |
+

|
| 463 |
+
Beyond The Rainbow (BTR) BTR + LayerNorm
|
| 464 |
+
|
| 465 |
+

|
| 466 |
+
|
| 467 |
+
Table H9: Maximum scores obtained during training (averaged over 100 episodes and all performed random seeds) after 200M Frames on the Atari-5 Environment, compared to BTR with Layer Normalization.
|
| 468 |
+
|
| 469 |
+
<table><tr><td>Game</td><td>Random</td><td>Human</td><td>BTR + Layer Normalization</td><td>BTR</td></tr><tr><td>BattleZone</td><td>2360</td><td>37188</td><td>183240</td><td>168340</td></tr><tr><td>DoubleDunk</td><td>-19</td><td>-16</td><td>23</td><td>23</td></tr><tr><td>NameThisGame</td><td>2292</td><td>8049</td><td>33258</td><td>27917</td></tr><tr><td>Phoenix</td><td>761</td><td>7243</td><td>493762</td><td>427481</td></tr><tr><td>QBert</td><td>164</td><td>13455</td><td>47384</td><td>42927</td></tr><tr><td>IQM</td><td>0.000</td><td>1.000</td><td>8.191</td><td>7.739</td></tr><tr><td>Median</td><td>0.000</td><td>1.000</td><td>5.379</td><td>4.766</td></tr><tr><td>Mean</td><td>0.000</td><td>1.000</td><td>20.836</td><td>18.453</td></tr></table>
|
| 470 |
+
|
| 471 |
+
# I. Altered Atari Environment Settings
|
| 472 |
+
|
| 473 |
+
In order to investigate the impact of the environmental sticky actions parameter and to compare against other works, we include results for it on the Atari-5 benchmark in Figure I10.
|
| 474 |
+
|
| 475 |
+

|
| 476 |
+
Figure I10: Graph shows Atari-5 performance with and without sticky actions (sticky actions is the default) using Inter-quartile mean and Atari-60 predicted median from Aitchison et al. (2023). No Sticky Actions uses a single seed, so this result should be used with caution.
|
| 477 |
+
|
| 478 |
+

|
| 479 |
+
Beyond The Rainbow (BTR) BTR no Sticky Actions
|
| 480 |
+
|
| 481 |
+
Some prior works choose to pass life information to the agent (Schmidt & Schmied, 2021). To clarify, this is different to terminal on loss of life. Life information does not reset the episode upon losing a life, but does pass a terminal to the buffer, allowing the agent to experience further into episodes while also giving the agent a negative signal for losing a life. This setting is not recommended in Machado et al. (2018), and works which use it are not comparable to those which don't. To emphasize this point, we take the three games from the Atari-5 and perform a comparison.
|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
Figure I11: Graph shows Atari-5 performance with and without life information using Inter-quartile mean and Atari-60 predicted median from Aitchison et al. (2023). Life Information uses 3 seeds, with shaded areas showing $95\%$ confidence intervals. From this we conclude results using life information are invalid for comparison.
|
| 485 |
+
|
| 486 |
+

|
| 487 |
+
Beyond The Rainbow (BTR) BTR + Life Info
|
| 488 |
+
|
| 489 |
+
# J. BTR for Wii Games
|
| 490 |
+
|
| 491 |
+
BTR interfaces with different Wii Games via the Dolphin Emulator. Specifically, we use a forked repository of Dolphin Emulator to allow Python scripts to interact with the emulator. This includes loading savestates (used to reset episodes),
|
| 492 |
+
|
| 493 |
+
grabbing the screen as a PIL image at the Wii's internal resolution of 480p (downsampled to 140x114 and grey-scaled, used for all observations), reading the Wii's RAM (used for reward functions and termination conditions) and allowed programmatic input into the emulator (for setting actions). Using Dolphin's portable setting, we are able to run multiple Dolphin Emulators simultaneously on the same machine. Each instance runs as a unique process, and communicates with the agent via Python's multiprocessing library. Similarly to the Atari benchmark, for all games we used a frameskip of 4.
|
| 494 |
+
|
| 495 |
+
# J.1. Super Mario Galaxy
|
| 496 |
+
|
| 497 |
+
This environment used Super Mario Galaxy's final level, The Center of the Universe, and had to make it to the final fight at the end of the game. The agent had 6 actions, including None, moving in each direction and jumping. Additionally, if the jump action was performed following a movement, the agent would continue to move in that direction.
|
| 498 |
+
|
| 499 |
+
Rewards were given via finding many values in the Wii's memory that resembled progress in the level. The agent was then rewarded for this progress value increasing from the last frame. If the agent's position entered a set region, the progress variable would be moved. Additionally, the game uses a life system, where the player has a maximum of 3 lives and can lose or gain lives in many different ways. The agent was given a reward of $+1$ for gaining a life, and -1 for losing a life. Lastly, episode termination occurred if the agent reached 0 lives, or if the agent made it to the end of the level. For this task, we also allowed the agent to start episodes at many points throughout the level, which rapidly sped up training since the agent could easily experience different areas of the level.
|
| 500 |
+
|
| 501 |
+
Whilst a difficult task, once the agent first completed the level, it did not take long to start consistently completing it due to the deterministic nature of the game.
|
| 502 |
+
|
| 503 |
+
# J.2. Mario Kart Wii
|
| 504 |
+
|
| 505 |
+
The Mario Kart Wii environment had the agent play against the game's internal opponents (on hard mode, with 12 racers including the agent), on the course Rainbow Road (with items on the 150cc speed setting). The agent had to complete 4 laps of the course to finish the race. The agent had just 4 action, including accelerate, drifting left or right, and using its item. While this limited the agent's potential actions substantially, we found using fewer actions to dramatically accelerate training.
|
| 506 |
+
|
| 507 |
+
Rewards of $+1$ were given via reaching checkpoints that were scattered throughout the course (100 in total per lap). Additionally, if the agent's speed dropped below a set threshold $(65\mathrm{km / h})$ , the agent would receive a reward of -0.01 per frame. The agent would be terminated with a reward of -10 if its speed dropped below the threshold for over 80 frames, or with a reward of +10 for finishing the race, with a bonus based on the position the agent finished in. Lastly, the agent was rewarded with a +1 for using its item. Without this reward, we found the agent to often neglect using its item, likely due to many of the items only providing rewards in the long term, such as slowing down other racers or blocking incoming items far in the future. Similarly to Super Mario Galaxy, we had the agent start the episode in multiple positions around the first lap, allowing it to experience the whole track early in training.
|
| 508 |
+
|
| 509 |
+
This agent took the longest to train, taking around 160M frames to reach consistent completion. In particular, the agent took a long time to consistently complete the race due to the other racers and randomized items making the environment highly stochastic, with many rare scenarios which could cause the episode to terminate.
|
| 510 |
+
|
| 511 |
+
# J.3. Mortal Kombat
|
| 512 |
+
|
| 513 |
+
The Mortal Kombat environment put the agent in the game's endurance mode, where the agent would sequentially fight 15 different opponents, but keep retain its health between fights, and only gain health after defeating every 3 opponents. We provided the agent with 14 actions, including: None, Left, Right, Up, Down, Axe Kick, Punch, Snap Kick, Grab, Block, Toggle Weapon, Jump Left, Jump Right, and Crouch. These actions were far from the game's total action space, and limited the agent's ability to perform some of the combos within the game. We limited the agent's actions as the full action space is extremely large.
|
| 514 |
+
|
| 515 |
+
The agent was positively rewarded for damaging the opponent, and negatively rewarded for taking damage, with one taking one tenth of the health bar equating to $+1$ reward respectively. The episode was terminated with a reward of -10 for reaching 0 health, and +10 for defeating the 15th and final enemy.
|
| 516 |
+
|
| 517 |
+
The Mortal Kombat agent learned considerably faster than Super Mario Galaxy and Mario Kart Wii, first completing the
|
| 518 |
+
|
| 519 |
+
environment in 50M frames, and getting progressively more consistent until training was stopped at 90M frames. The agent quickly learned how to dodge enemy hits, and relied heavily upon this strategy.
|
| 520 |
+
|
| 521 |
+
# K. Atari-5 Regression Procedure
|
| 522 |
+
|
| 523 |
+
In our main paper ablation figure (Figure 5), we used the regression procedure recommended in Atari-5 (Aitchison et al., 2023). This procedure is typically used to predict the Median score across the entire 57 game Atari suite, while only needing to use 5 games. While we believe this procedure produces a valid and useful plot, we find that BTR did differ significantly from the predicted value. We opted to use both the predicted median and the IQM across the 5 games to give two easy to interpret averages. Figure K12 shows the 57 game suite's true median, compared to the median predicted by Atari-5.
|
| 524 |
+
|
| 525 |
+

|
| 526 |
+
Figure K12: BTR's 60 game median against that predicted by Atari-5 using the regression procedure from Aitchison et al. (2023). Shaded areas show $95\%$ confidence intervals using 4 seeds.
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:872a2974bcb676080b42e199d22e05d0024424d137a193ef1652eb8ad46a1b4e
|
| 3 |
+
size 2408687
|
2025/Beyond The Rainbow_ High Performance Deep Reinforcement Learning on a Desktop PC/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/b9cd7a30-96a8-41ab-ad86-4786cf1b9eef_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:312129c396e0712380d64ed6b3efe33f545f5fbb5d405323659499a3474fdae8
|
| 3 |
+
size 1514711
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9496eb4385b6d8c16fa1ecfceaa6a16bde351c5697f3df866460e64215edede
|
| 3 |
+
size 1653539
|
2025/Beyond Topological Self-Explainable GNNs_ A Formal Explainability Perspective/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/9bd2a800-d91c-4f7b-970e-a45ea7881131_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99a2bc3bbb3df6e03212a696faaabc7b0a3ef9cb9f4704ab2fadc02c96e42287
|
| 3 |
+
size 15208631
|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/full.md
ADDED
|
@@ -0,0 +1,596 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Beyond Zero Initialization: Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics
|
| 2 |
+
|
| 3 |
+
Shiwei Li $^{12*}$ Xiandi Luo $^{1*}$ Xing Tang $^{2}$ Haozhao Wang $^{1}$ Hao Chen $^{3}$ Weihong Luo $^{3}$ Yuhua Li $^{1}$ Xiuqiang He $^{2}$ Ruixuan Li $^{1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Low-rank adaptation (LoRA) is a widely used parameter-efficient fine-tuning method. In standard LoRA layers, one of the matrices, $A$ or $B$ , is initialized to zero, ensuring that fine-tuning starts from the pretrained model. However, there is no theoretical support for this practice. In this paper, we investigate the impact of non-zero initialization on LoRA's fine-tuning dynamics from an infinite-width perspective. Our analysis reveals that, compared to zero initialization, simultaneously initializing $A$ and $B$ to non-zero values improves LoRA's robustness to suboptimal learning rates, particularly smaller ones. Further analysis indicates that although the non-zero initialization of $AB$ introduces random noise into the pretrained weight, it generally does not affect fine-tuning performance. In other words, fine-tuning does not need to strictly start from the pretrained model. The validity of our findings is confirmed through extensive experiments across various models and datasets. The code is available at https://github.com/Leopold1423/non_zero_lora-icml25.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Large language models (LLMs), such as GPT-4 (OpenAI, 2024) and DeepSeek-V3 (DeepSeek-AI, 2024), have achieved unprecedented performance across a broad range of tasks. These state-of-the-art models typically contain hundreds of billions of parameters. Consequently, fully fine-tuning these models is computationally expensive and
|
| 12 |
+
|
| 13 |
+
*Equal contribution. *Huazhong University of Science and Technology, Wuhan, China *Shenzhen Technology University, Shenzhen, China *FiT, Tencent, Shenzhen, China. Correspondence to: Xing Tang <xing.tang@hotmail.com>, Haozhao Wang <hz_wang@hust.edu.cn>, Ruixuan Li <rxli@hust.edu.cn>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 16 |
+
|
| 17 |
+
<table><tr><td>LoRA Structure</td><td colspan="2">Pretrained Weights
|
| 18 |
+
W β RmΓn
|
| 19 |
+
A β RrΓn</td></tr><tr><td>Initialization Strategy</td><td>Init[A]: A β N(0,Ο2)
|
| 20 |
+
B = 0</td><td>Init[AB]: A β N(0,Ο2)
|
| 21 |
+
B β N(0,Ο2)</td></tr><tr><td>Fine-tuning Dynamics</td><td>Efficient Learning with Stability, but Sensitive to learning rate</td><td>Efficiency and Stability, with Robustness to suboptimal learning rate</td></tr></table>
|
| 22 |
+
|
| 23 |
+
Figure 1. LoRA's fine-tuning dynamics with zero initialization (i.e., Init[A]) and non-zero initialization (i.e., Init[AB]). Compared to Init[A], Init[AB] improves LoRA's robustness to suboptimal learning rates, generally leading to better performance.
|
| 24 |
+
|
| 25 |
+
storage-intensive, presenting significant challenges for their practical deployment. To address these issues, various parameter-efficient fine-tuning (PEFT) methods have been proposed to reduce the number of trainable parameters, thereby decreasing the cost of fine-tuning (Xu et al., 2023).
|
| 26 |
+
|
| 27 |
+
Among these PEFT methods, low-rank adaptation (LoRA) (Hu et al., 2022) has gained considerable attention due to its efficiency and minimal impact on inference latency. LoRA approximates the update of the pretrained weight matrix $W$ using smaller low-rank matrices, $A$ and $B$ , as illustrated in Figure 1. The forward pass of LoRA is formulated as $Y = (W + \alpha / rBA)X$ , where $r$ is the LoRA rank and $\alpha$ is a tunable scaling factor. During fine-tuning, $W$ remains fixed, while only matrices $A$ and $B$ are updated, usually via the Adam optimizer (Kingma & Ba, 2015).
|
| 28 |
+
|
| 29 |
+
In standard LoRA layers, either $A$ or $B$ is initialized to zero, ensuring that fine-tuning starts from the pretrained model. Building on this premise, Hayou et al. (2024b) explores the difference between applying Kaiming initialization (He et al., 2016) to $A$ and $B$ . However, there is no theoretical justification for the zero initialization of LoRA, which raises
|
| 30 |
+
|
| 31 |
+
the question: Is it optimal to initialize $A$ or $B$ to zero? To answer this question, we explore the impact of initialization on LoRA's fine-tuning dynamics. Let Init[A] denote the case where $A$ is randomly initialized and $B$ is set to zero, while Init[AB] denotes the case where both $A$ and $B$ are initialized to non-zero values, as illustrated in Figure 1. Our analysis demonstrates that, compared to Init[A], Init[AB] improves LoRA's robustness to suboptimal learning rates, particularly smaller ones. Notably, learning rate decay is commonly applied during fine-tuning, making smaller learning rates more prevalent.
|
| 32 |
+
|
| 33 |
+
However, non-zero initialization introduces noise to the pretrained model before fine-tuning, which raises another question: Is it necessary for fine-tuning to strictly start from the pretrained model? Note that pretrained weights are usually suboptimal for downstream tasks, suggesting that the pretrained model itself contains inherent noise. Thus, we conjecture that the noise introduced by non-zero initialization can also be corrected through fine-tuning, without additional optimization cost. Extensive verification shows that, with appropriate initialization variance, the noise introduced by non-zero initialization does not degrade the fine-tuning accuracy. Notably, the range of suitable initialization variances is quite broad, encompassing that used in Kaiming initialization. In conclusion, fine-tuning does not have to strictly start from the pretrained model.
|
| 34 |
+
|
| 35 |
+
The main contributions of this paper can be summarized as two novel insights that challenge the traditional inertial constraints of LoRA fine-tuning:
|
| 36 |
+
|
| 37 |
+
1. You do not need to initialize LoRA's matrices $A$ or $B$ to zero. Compared to zero initialization, non-zero initialization enhances LoRA's robustness to the learning rate and generally achieves better fine-tuning accuracy.
|
| 38 |
+
2. You do not need to start fine-tuning strictly from a pretrained model. Although non-zero initialization alters the starting point of LoRA fine-tuning, it does not impact the fine-tuning performance, as long as an appropriate initialization variance is employed.
|
| 39 |
+
3. Experimental results confirm the validity of our theory and findings. LoRA with non-zero initialization consistently achieves superior accuracy compared to zero initialization, particularly at smaller learning rates.
|
| 40 |
+
|
| 41 |
+
# 2. Preliminaries
|
| 42 |
+
|
| 43 |
+
# 2.1. Scaling Theory of Neural Networks
|
| 44 |
+
|
| 45 |
+
The scaling theory of neural networks is widely used to guide the selection of hyperparameters, such as learning rates (Hayou et al., 2024a), initialization strategies (He et al., 2016; Yang, 2019; Hayou et al., 2024b) and depth
|
| 46 |
+
|
| 47 |
+
parametrizations (Bordelon et al., 2024; Yang, 2020) etc. It typically involves analyzing the statistical properties of key quantities, such as pre-activation values, by extending the network's width or depth to infinity. Subsequently, this analysis is leveraged to refine hyperparameters, ensuring favorable convergence properties under these extreme conditions. For instance, Kaiming initialization (He et al., 2016) suggests that the variance of the weights in hidden layers should be scaled by $\frac{1}{n}$ to prevent excessively large pre-activations as the model width $n$ increases. More details on the scaling theory are provided in Appendix A.1.
|
| 48 |
+
|
| 49 |
+
In this paper, we apply the scaling theory to investigate the fine-tuning dynamics of LoRA from the perspective of infinite width. Specifically, we explore how to set the learning rate and initialization strategy for LoRA to achieve desired performance. In our analysis, we assume that only the model width $n$ increases, while other factors, such as the LoRA rank, number of layers, sequence length, and number of training steps, remain constant. To characterize the asymptotic behavior of the analyzed variables as $n$ increases, we further introduce the following notations, which have also been utilized in previous analysis of LoRA, particularly in the context of learning rates (Hayou et al., 2024a) and zero-initialization strategies (Hayou et al., 2024b).
|
| 50 |
+
|
| 51 |
+
Notations. Let $c_{n} \in \mathbb{R}$ and $d_{n} \in \mathbb{R}^{+}$ be sequences. If there exists a constant $\kappa > 0$ such that $c_{n} < \kappa d_{n}$ , we write $c_{n} = \mathcal{O}(d_{n})$ . If $c_{n} > \kappa d_{n}$ , we write $c_{n} = \Omega(d_{n})$ . If both $c_{n} = \mathcal{O}(d_{n})$ and $c_{n} = \Omega(d_{n})$ hold simultaneously, we write $c_{n} = \Theta(d_{n})$ . For a vector sequence $c_{n} = (c_{n}^{i})_{1 \leq i \leq k} \in \mathbb{R}^{k}$ ( $k > 0$ ), we write $c_{n} = \mathcal{O}(d_{n})$ if and only if $c_{n}^{i} = \mathcal{O}(d_{n})$ for all $i \in [k]$ . This similarly applies to $\Theta$ and $\Omega$ . Additionally, when the sequence $c_{n}$ is a vector of random variables, convergence is understood to be convergence of its $\ell_{2}$ norm. To track the exponent of the asymptotic behaviour of some quantity $v$ , we further introduce the $\gamma$ operator, defined as $v = \Theta(n^{\gamma[v]})$ . For example, $\gamma[n] = 1$ , $\gamma[1] = 0$ , and $\gamma[0] = -\infty$ . For two real-valued variables $u$ and $v$ , we have $\gamma[v \times u] = \gamma[v] + \gamma[u]$ , and $\gamma[v + u] = \max\{\gamma[v], \gamma[u]\}$ provided that $v \neq -u$ . More details about the $\gamma$ -operator are provided in Appendix A.2.
|
| 52 |
+
|
| 53 |
+
Next, we focus on the asymptotic behavior of the learning rate, $\gamma [\eta ]$ , as the network width $n\to \infty$ , rather than its exact value. Given $\gamma [\eta ]$ , $\eta = \Theta (n^{\gamma [\eta ]})\approx c\cdot n^{\gamma [\eta ]}$ , where $c > 0$ is a constant and lower-order terms are neglected. As $n\to \infty$ , the term $n^{\gamma [\eta ]}$ dominates, making $\gamma [\eta ]$ the key factor determining the asymptotic behavior of $\eta$ . While the constant $c$ is important for exact values, it doesn't influence the asymptotic scaling behavior. Ignoring the influence of $c$ , perturbations to $\gamma [\eta ]$ and $\eta$ are effectively equivalent. Therefore, we analyze the impact of perturbations in $\gamma [\eta ]$
|
| 54 |
+
|
| 55 |
+
on fine-tuning dynamics, excluding $c$ from consideration. This analysis aims to guide the selection of learning rates and initialization strategies based on asymptotic properties, rather than computing precise values that depend on $c$ .
|
| 56 |
+
|
| 57 |
+
# 2.2. LoRA and LoRA Features
|
| 58 |
+
|
| 59 |
+
Based on the previous analysis of LoRA presented in (Hayou et al., 2024a;b), we adopt the same notation and consider a general neural network of the following form:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\left\{ \begin{array}{l} Y _ {i n} (X) = W _ {i n} X, \\ Y _ {l} (X) = \mathcal {F} _ {l} \left(W _ {l}, Y _ {l - 1} (X)\right), l \in [ L ], \\ Y _ {\text {o u t}} (X) = W _ {\text {o u t}} Y _ {L} (X), \end{array} \right. \tag {1}
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
where $X \in \mathbb{R}^d$ denotes the input vector, and $L \geq 1$ is the network depth. Let $n$ denote the network width and $\mathcal{F}$ denote the nonlinear mapping function. $W_{l} \in \mathbb{R}^{n \times n}$ is the weight matrix of the $l$ -th hidden layer. $W_{in}$ and $W_{out}$ correspond to the weight matrices of the input and output layers, respectively. This model represents a pretrained neural network that will be fine-tuned for a specific downstream task using the LoRA framework defined below.
|
| 66 |
+
|
| 67 |
+
Definition 1 (LoRA). Let $W \in \mathbb{R}^{n_1 \times n_2}$ be a weight matrix from the pretrained model. LoRA approximates the update of $W$ using low-rank matrices, such that the value of the pretrained weight becomes $W + \alpha / rBA$ . Here, only $B \in \mathbb{R}^{n_1 \times r}$ and $A \in \mathbb{R}^{r \times n_2}$ are trainable. The rank $r \ll \min(n_1, n_2)$ , and $\alpha \in \mathbb{R}$ is a tunable scaling factor.
|
| 68 |
+
|
| 69 |
+
For each LoRA layer within the network, let $\underline{Z}$ denote its input and let $\bar{Z}$ denote the output after incorporating the pretrained weights, i.e., $\bar{Z} = W\underline{Z} + \alpha / rBA\underline{Z}$ . In this paper, we primarily investigate the statistical properties of the output of the LoRA module, i.e., $BA\underline{Z}$ . To this end, we further introduce the LoRA features as follows:
|
| 70 |
+
|
| 71 |
+
Definition 2 (LoRA Features). Given a general neural architecture and a LoRA (Definition 1) layer, we define the LoRA features $(Z_A,Z_B)$ as $Z_{A} = A\underline{Z}$ and $Z_{B} = BZ_{A} = BA\underline{Z}$ . The superscript $t$ of $Z_A^t$ , $Z_B^t$ represents the value of the LoRA features in the $t$ -th step of fine-tuning.
|
| 72 |
+
|
| 73 |
+
Definitions 1 and 2 are straightforward and have been used in (Hayou et al., 2024a;b). Next, we focus on the training dynamics of the final output $Z_{B}$ as $n$ approaches infinity.
|
| 74 |
+
|
| 75 |
+
# 3. Fine-Tuning Dynamics of LoRA with Adam
|
| 76 |
+
|
| 77 |
+
In this section, we first introduce two critical statistics of LoRA: stability and efficiency, as discussed in Section 3.2, along with their respective solution sets for the learning rate and initialization. Next, we investigate the sensitivity of these solutions to the learning rate in Section 3.3 and explain how non-zero initialization improves their robustness.
|
| 78 |
+
|
| 79 |
+
Additionally, a simple toy model is presented in Section 3.4 to validate our theoretical findings. Finally, we explore whether non-zero initialization affects fine-tuning accuracy by deviating from the intended purpose of zero initialization, which is to start fine-tuning from a pretrained model.
|
| 80 |
+
|
| 81 |
+
# 3.1. Simplified Settings and the Optimizer
|
| 82 |
+
|
| 83 |
+
To simplify the analysis, we adopt the setup proposed in (Hayou et al., 2024a;b). Specifically, we assume that the fine-tuning dataset comprises a single data point, $(x,y)$ . The optimization goal is to minimize the loss calculated using the pretrained model that incorporates LoRA.
|
| 84 |
+
|
| 85 |
+
Moreover, we train only one LoRA layer to isolate the contribution of individual LoRA layers to feature learning. Let $\underline{Z}$ denote the input to the LoRA layer computed from $x$ , and let $d\bar{Z}^t$ represent the gradient of the loss function, evaluated at the data point $(x,y)$ , with respect to $\bar{Z}$ . During fine-tuning, the input $Z$ remains constant as the step $t$ increases. In contrast, $d\bar{Z}^t$ varies with $t$ , as $\bar{Z}^t$ evolves over time. Next, we examine the behavior of $Z_B$ (Definition 2) as $n$ approaches infinity from three perspectives: stability, efficiency, and robustness. Formal definitions of these perspectives will be provided in subsequent sections.
|
| 86 |
+
|
| 87 |
+
Adam (Kingma & Ba, 2015) is a commonly used optimizer for fine-tuning LLMs. Therefore, we focus on the fine-tuning dynamics of LoRA with the Adam optimizer. A similar analysis for the SGD optimizer (Bottou, 2010) is provided in Appendix C, where we observe that Adam outperforms SGD in enhancing LoRA's feature learning capabilities, primarily due to the gradient normalization process. The conclusions drawn in this section are partially applicable to SGD; further details can be found in Appendix C.
|
| 88 |
+
|
| 89 |
+
# 3.2. Stability and Efficiency of LoRA
|
| 90 |
+
|
| 91 |
+
To ensure that the LoRA layers produce stable outputs, it is expected that $Z_{B}$ remains within a reasonable range throughout the fine-tuning process. Consequently, the concept of stability is introduced and defined as follows:
|
| 92 |
+
|
| 93 |
+
Definition 3 (Stability). A LoRA fine-tuning process is considered stable if, for all LoRA layers and for all $t > 1$ , $Z_B^t = \Theta(1)$ as the width $n$ approaches infinity.
|
| 94 |
+
|
| 95 |
+
Stability indicates that as the width increases, the output of LoRA, $Z_{B}$ , remains bounded and does not diminish, demonstrating LoRA's effective and positive contribution to fine-tuning outcomes. For the sake of analytical clarity,
|
| 96 |
+
|
| 97 |
+
we do not consider LoRA's internal stability (i.e., $Z_A$ ) in this section. Instead, a detailed analysis and discussion of internal stability are provided in Appendix B.2.
|
| 98 |
+
|
| 99 |
+
In addition to the stability of $Z_{B}$ , we are more concerned about whether $Z_{B}$ is effectively updated during fine-tuning. At the $t$ -th step, the update to $Z_{B}$ is given by:
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\Delta Z _ {B} ^ {t} = \underbrace {B _ {t - 1} \Delta Z _ {A} ^ {t}} _ {\delta_ {t} ^ {1}} + \underbrace {\Delta B _ {t} Z _ {A} ^ {t - 1}} _ {\delta_ {t} ^ {2}} + \underbrace {\Delta B _ {t} \Delta Z _ {A} ^ {t}} _ {\delta_ {t} ^ {3}}, \quad (2)
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
As discussed in (Hayou et al., 2024a;b), the terms $\delta_t^1$ and $\delta_t^2$ denote 'linear' updates, reflecting the effects of training $A$ and $B$ independently. The third term, $\delta_t^3$ , represents a 'multiplicative' update, capturing the combined effect of optimizing both $A$ and $B$ simultaneously. Ideally, as $n$ approaches infinity, $\Delta Z_B$ should remain $\Theta(1)$ to ensure effective updates to $Z_B$ during fine-tuning. A similar condition was proposed in (Yang, 2020) for pretraining and later adopted by (Hayou et al., 2024a;b) as a metric for efficient feature learning in LoRA. According to (Hayou et al., 2024a;b), it is essential for both $\delta_t^1$ and $\delta_t^2$ to be $\Theta(1)$ to ensure that the updates of $A$ and $B$ contribute positively to $\Delta Z_B$ . Based on the above analysis, the efficiency of LoRA's feature learning is defined as follows:
|
| 106 |
+
|
| 107 |
+
Definition 4 (Efficiency). A LoRA fine-tuning process is considered efficient if it is stable (Definition 3) and, for all LoRA layers and for all $t > 1$ , $\delta_t^1 = \Theta(1)$ and $\delta_t^2 = \Theta(1)$ .
|
| 108 |
+
|
| 109 |
+
In contrast to stability, efficiency emphasizes the effective updating of $Z_{B}$ . We now analyze the effects of initialization and learning rate on both stability and efficiency. At the $t$ -th step of fine-tuning, the LoRA weights are updated as $A_{t} = A_{t - 1} - \eta_{A}g_{A}^{t - 1} = A_{0} - \eta_{A}\sum_{i = 0}^{t - 1}g_{A}^{i}$ and $B_{t} = B_{t - 1} - \eta_{B}g_{B}^{t - 1} = B_{0} - \eta_{B}\sum_{i = 0}^{t - 1}g_{B}^{i}$ , where $(\eta_A,\eta_B)$ are the learning rates, $(A_0,B_0)$ are the initialization values, and $(g_{A},g_{B})$ represent the normalized gradients generated by the Adam optimizer. Note that both $g_{A}$ and $g_{B}$ are of order $\Theta (1)$ due to the gradient normalization process. By substituting $\Delta Z_A^t = -\eta_A g_A \underline{Z}$ and $\Delta B^{t} = -\eta_{B} g_{B}$ into Eq.(2), and applying the $\gamma$ -operator, the conditions for LoRA to achieve stability and efficiency can be expressed as:
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
\left\{ \begin{array}{l l} \gamma [ \delta_ {t} ^ {1} ] = \gamma [ - \eta_ {A} B _ {t - 1} g _ {A} ^ {t - 1} \underline {{Z}} ] = 0 & (\delta_ {t} ^ {1} = \Theta (1)) \\ \gamma [ \delta_ {t} ^ {2} ] = \gamma [ - \eta_ {B} g _ {B} ^ {t - 1} A _ {t - 1} \underline {{Z}} ] = 0 & (\delta_ {t} ^ {2} = \Theta (1)) \\ \gamma [ Z _ {B} ^ {t - 1} ] = \gamma [ B _ {t - 1} A _ {t - 1} \underline {{Z}} ] = 0 & (Z _ {B} ^ {t - 1} = \Theta (1)) \end{array} \right. \tag {3}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
Using the properties of the $\gamma$ -operator, we can express the
|
| 116 |
+
|
| 117 |
+
above equations in terms of $(A_0,B_0)$ and $(\eta_A,\eta_B)$ as:6
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\left\{ \begin{array}{l} \max \left(\gamma \left[ B _ {0} \right], \gamma \left[ \eta_ {B} \right]\right) + \gamma \left[ \eta_ {A} \right] + 1 = 0, \\ \max \left(\gamma \left[ A _ {0} \right], \gamma \left[ \eta_ {A} \right]\right) + \gamma \left[ \eta_ {B} \right] + 1 = 0, \\ \max \left(\gamma \left[ A _ {0} \right], \gamma \left[ \eta_ {A} \right]\right) + \max \left(\gamma \left[ B _ {0} \right], \gamma \left[ \eta_ {B} \right]\right) + 1 = 0, \end{array} \right. \tag {4}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
which further leads to the following conditions:
|
| 124 |
+
|
| 125 |
+
$$
|
| 126 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {A} ] + \gamma [ \eta_ {B} ] = - 1, \\ \gamma [ A _ {0} ] \leq \eta_ {A}, \quad \gamma [ B _ {0} ] \leq \eta_ {B}. \end{array} \right. \tag {5}
|
| 127 |
+
$$
|
| 128 |
+
|
| 129 |
+
By default, a uniform learning rate is used for the weight matrices $A$ and $B$ , i.e., $\eta_{A} = \eta_{B}$ . Based on this condition, the solution to the above equations is
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {A} ] = \gamma [ \eta_ {B} ] = - 1 / 2, \\ \gamma [ A _ {0} ] \leq - 1 / 2, \quad \gamma [ B _ {0} ] \leq - 1 / 2, \end{array} \right. \tag {6}
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
where $\gamma [A_0]$ and $\gamma [B_0]$ cannot both be equal to $-\infty$ simultaneously, as this would imply that both $A$ and $B$ are zero, preventing optimization via gradient descent algorithms.
|
| 136 |
+
|
| 137 |
+
In standard LoRA, $A$ is initialized using Kaiming initialization, while $B$ is initialized to zero. This initialization strategy is denoted as Init [A]. In contrast, when $B$ is initialized using Kaiming initialization and $A$ is initialized to zero, the strategy is referred to as Init [B]. Let $\sigma_A^2$ and $\sigma_B^2$ represent the variances of $A_0$ and $B_0$ , respectively. For Init [A], $\sigma_A^2 = 1/n$ and $\sigma_B^2 = 0$ , which results in $\gamma[A_0] = -1$ and $\gamma[B_0] = -\infty$ , thereby satisfying Eq.(6). However, for Init [B], $\sigma_A^2 = 0$ and $\sigma_B^2 = 1/r$ , resulting in $\gamma[A_0] = -\infty$ and $\gamma[B_0] = 0$ , which fails to meet the desired conditions. Consequently, we conclude that LoRA achieves stable and efficient feature learning when using Adam with Init [A], but not with Init [B]. This conclusion aligns with the findings of (Hayou et al., 2024b).
|
| 138 |
+
|
| 139 |
+
Similarly, when using the SGD optimizer, solutions to ensure stability and efficiency for LoRA can be derived as:
|
| 140 |
+
|
| 141 |
+
$$
|
| 142 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {A} ] = \gamma [ \eta_ {B} ] = - 1 / 2, \\ \gamma [ A _ {0} ] \leq - 3 / 4, \quad \gamma [ B _ {0} ] \leq - 1 / 4, \end{array} \right.
|
| 143 |
+
$$
|
| 144 |
+
|
| 145 |
+
where at least one of the two inequalities must hold with equality. It is evident that neither Init[A] nor Init[B] can satisfy the desired conditions when using the SGD optimizer. Furthermore, we highlight that Adam offers more flexible initialization options than SGD, a benefit attributed to the gradient normalization process. Detailed proofs and explanations can be found in Appendix C.
|
| 146 |
+
|
| 147 |
+
# 3.3. Robustness of LoRA
|
| 148 |
+
|
| 149 |
+
The solution presented in Eq.(6) demonstrates that LoRA's stability and efficiency impose stricter constraints on the learning rate, while the range of feasible initialization values is comparatively broader. Note that strictly setting $\gamma[\eta_A]$ and $\gamma[\eta_B]$ to $-1/2$ is particularly challenging in practical scenarios, as the constant in $\Theta$ is generally intractable. Consequently, we investigate the impact of deviations in $\gamma[\eta]$ from $-\frac{1}{2}$ on LoRA's stability and efficiency. For the case where $\gamma[\eta] > -1/2$ , $\gamma[\delta_1] = \gamma[\delta_2] = \gamma[Z_B] = 2\gamma[\eta] + 1 > 0$ , which inevitably causes instability and inefficiency. Therefore, learning rate decay is commonly applied during fine-tuning to prevent excessively large learning rates. In the following, we primarily focus on the case where $\gamma[\eta] \leq -1/2$ .
|
| 150 |
+
|
| 151 |
+
First, when $\gamma[\eta_A] \leq \gamma[A_0] \leq -1/2$ , $\max(\gamma[A_0], \gamma[\eta_A]) = \gamma[A_0]$ . In this case, $\gamma[\eta_A] < -1/2$ will not affect $\gamma[\delta_2]$ and $\gamma[Z_B]$ . Similarly, when $\gamma[\eta_B] \leq \gamma[B_0] \leq -1/2$ , $\gamma[\eta_B] < -1/2$ will not affect $\gamma[\delta_1]$ and $\gamma[Z_B]$ . Conversely, when $\gamma[\eta_A] > \gamma[A_0]$ , $\gamma[\delta_1] = \gamma[\eta_A] + \gamma[\eta_B] + 1 = 2\gamma[\eta] + 1$ , which implies that changes in $\eta$ will result in a quadratic change in $\delta_1$ . The same holds for $\delta_2$ and $Z_B$ . Clearly, in this case where $\gamma[\eta_A] > \gamma[A_0]$ and $\gamma[\eta_B] > \gamma[B_0]$ , LoRA is more sensitive to fluctuations in the learning rate. Based on these insights, we formally define the robustness of LoRA's stability and efficiency as follows:
|
| 152 |
+
|
| 153 |
+
Definition 5 (Robustness). Assume a LoRA fine-tuning process is stable and efficient (Definitions 3-4) with $\gamma[\eta] = \gamma^{*}$ . The process is considered robust with respect to the learning rates $\gamma[\eta_A] \leq \gamma^*$ and $\gamma[\eta_B] \leq \gamma^*$ if, for all LoRA layers and for all $t > 1$ , the following relations hold: $P(\gamma[\delta_1] \mid \gamma[\eta_B]) = P(\gamma[\delta_1])$ , $P(\gamma[\delta_2] \mid \gamma[\eta_A]) = P(\gamma[\delta_2])$ , and $P(\gamma[Z_B] \mid \gamma[\eta_A]) = P(\gamma[Z_B] \mid \gamma[\eta_B]) = P(\gamma[Z_B])$ .
|
| 154 |
+
|
| 155 |
+
Robustness focuses on the impact of suboptimal learning rates, particularly those lower than the optimal value, on the stability and efficiency (i.e., $\delta_1, \delta_2$ and $Z_B$ ). Specifically, $\delta_1$ reflects the effect of training $A$ independently, and robustness seeks its independence from $\eta_B$ . The same principle applies to $\delta_2$ . To achieve this, both $\gamma[A_0]$ and $\gamma[B_0]$ should be set to $-1/2$ , which leads to the following relationships for all learning rates satisfying $\gamma[\eta_A] \leq -1/2$ and $\gamma[\eta_B] \leq -1/2$ .
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
\left\{ \begin{array}{l} \gamma [ \delta_ {1} ] = \gamma [ B _ {0} ] + \gamma [ \eta_ {A} ] + 1 = \gamma [ \eta_ {A} ] + 1 / 2, \\ \gamma [ \delta_ {2} ] = \gamma [ A _ {0} ] + \gamma [ \eta_ {B} ] + 1 = \gamma [ \eta_ {B} ] + 1 / 2, \\ \gamma [ Z _ {B} ] = \gamma [ A _ {0} ] + \gamma [ B _ {0} ] = 1. \end{array} \right.
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
Clearly, $\delta_{1}$ and $\delta_{2}$ vary linearly with changes in the learning rates $\eta_{A}$ and $\eta_{B}$ , respectively, while $\gamma [Z_B] = 1$ remains
|
| 162 |
+
|
| 163 |
+
unaffected, thereby ensuring consistent stability. Based on the above analysis, we derive Theorem 1, which presents the initialization strategy that optimally supports robustness (Definition 5) while maintaining stability and efficiency (Definitions 3 and 4) for LoRA fine-tuning.
|
| 164 |
+
|
| 165 |
+
Theorem 1 (Robust LoRA (Informal)). A LoRA fine-tuning process optimized with Adam exhibits optimal robustness (Definition 5) to the learning rate when $A_0 = \Theta(n^{-1/2})$ and $B_0 = \Theta(n^{-1/2})$ .
|
| 166 |
+
|
| 167 |
+
This initialization scheme is referred to as Init[AB], where it is observed that $A_0B_0 = \Theta(n^{-1})$ . This is equivalent to treating $AB$ as a whole and then performing Kaiming initialization, rather than directly performing Kaiming initialization for $A$ or $B$ as done in Init[A] or Init[B]. As shown in Table 1, Init[AB] can simultaneously achieve stability, efficiency, and robustness, whereas Init[A] and Init[B] cannot.
|
| 168 |
+
|
| 169 |
+
Table 1. A comparison between various initialization strategies.
|
| 170 |
+
|
| 171 |
+
<table><tr><td>Initialization</td><td>Stability</td><td>Efficiency</td><td>Robustness</td></tr><tr><td>Init [B]</td><td>β</td><td>Γ</td><td>Γ</td></tr><tr><td>Init [A]</td><td>β</td><td>β</td><td>Γ</td></tr><tr><td>Init [AB]</td><td>β</td><td>β</td><td>β</td></tr></table>
|
| 172 |
+
|
| 173 |
+
However, enforcing $A_0$ and $B_0$ to be exactly $\Theta(n^{-1/2})$ is challenging (similar to the learning rate), as the constant within $\Theta$ is typically intractable. Therefore, we do not impose a strict requirement on $A_0$ and $B_0$ to be of order $\Theta(n^{-1/2})$ . Instead, our main focus is ensuring that $A_0 / B_0 = \Theta(1)$ , which guarantees that $A$ and $B$ are initialized to nonzero values simultaneously. For simplicity, we ignore the constant in $\Theta(1)$ , implying that the variances of $A_0$ and $B_0$ are equal. Compared to initializing $B$ to zero, this at least enhances the robustness of LoRA fine-tuning with respect to $\eta_B$ . Finally, we formally define the non-zero initialization for LoRA as follows:
|
| 174 |
+
|
| 175 |
+
Definition 6 (Non-Zero Initialization). A LoRA layer is non-zero initialized if the weight matrices $A$ and $B$ are initialized with the same variance, i.e., $\sigma_A^2 = \sigma_B^2$ .
|
| 176 |
+
|
| 177 |
+
# 3.4. Toy Model
|
| 178 |
+
|
| 179 |
+
In this section, we verify the advantages of non-zero initialization in LoRA by fine-tuning the following toy model, which is actually the general model in Eq.(1) with $L = 1$ .
|
| 180 |
+
|
| 181 |
+
$$
|
| 182 |
+
f (X) = W _ {o u t} \mathcal {F} ((W _ {0} + B A) \mathcal {F} (W _ {i n} X)),
|
| 183 |
+
$$
|
| 184 |
+
|
| 185 |
+
where $X \in \mathbb{R}^d$ is the input vector, $W_{in} \in \mathbb{R}^{n \times d}$ , $W_{out} \in \mathbb{R}^{10 \times n}$ , and $W_0 \in \mathbb{R}^{n \times n}$ are the pretrained weights. $A \in \mathbb{R}^{r \times n}$ and $B \in \mathbb{R}^{n \times r}$ are the LoRA weights. The dimensions $(d, n, r)$ are set to 784, 4096, and 32. The MNIST (Deng, 2012) and FashionMNIST (Xiao et al., 2017)
|
| 186 |
+
|
| 187 |
+
datasets are used for pretraining and fine-tuning, respectively. During fine-tuning, only matrices $A$ and $B$ are trainable, while $W_{in}$ , $W_{0}$ and $W_{out}$ remain fixed. Adam is used as the optimizer. More details about the toy model can be found in Appendix D.1. Subsequently, we compare the test loss of LoRA under zero and non-zero initializations, varying learning rates and initialization variances. The results, presented in Figure 2, demonstrate that the performance of LoRA with zero initialization deteriorates significantly at lower learning rates, whereas the non-zero initialization consistently yields better performance, aligning with our theoretical expectations.
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
Figure 2. Test loss of LoRA fine-tuned with zero initialization (Init[A]) and non-zero initialization (Init[AB]). The lower-left corner presents the improvement ratio of Init[AB] relative to Init[A], while the lower-right corner presents the convergence curves of Init[AB] and Init[A] under specific settings.
|
| 193 |
+
|
| 194 |
+
# 3.5. Starting Point of LoRA Fine-Tuning
|
| 195 |
+
|
| 196 |
+
Previous studies have unintentionally employed the nonzero initialization for LoRA (Li et al., 2024; Meng et al., 2024; Wang et al., 2024). LoftQ (Li et al., 2024) fine-tunes a quantized pretrained model and uses quantization errors to initialize the LoRA module. Specifically, it generates the initialization values for LoRA by performing truncated Singular Value Decomposition (SVD) on the quantization errors, thereby minimizing these errors in the pretrained model. PISSA (Meng et al., 2024) suggests performing SVD on the pretrained weights and initializing $A$ and $B$ using the singular vectors and largest singular values. It believes that updating the principal components of the pretrained model accelerates convergence and enhances performance. LoRA-GA (Wang et al., 2024) proposes initializing
|
| 197 |
+
|
| 198 |
+
$A$ and $B$ based on gradient information. This involves computing the gradient of the pretrained model over several steps of gradient descent and applying truncated SVD on the gradient to derive the initialization values for matrices $A$ and $B$ . Although these previous methods utilize non-zero initialization for LoRA, they do not discuss the benefits nor provide a theoretical foundation for such initialization. This study bridges these gaps and offers theoretical support for non-zero initialization techniques.
|
| 199 |
+
|
| 200 |
+
Standard LoRA employs zero initialization to ensure that fine-tuning starts from the pretrained model. However, nonzero initialized LoRA introduces noise to the pretrained model before fine-tuning begins. A straightforward solution to this problem is to subtract $\frac{\alpha}{r} A_0 B_0$ from the pretrained weights, as proposed by Wang et al. (2024). However, this requires modifications to the pretrained model, complicating its reuse. This challenge becomes particularly evident in multi-LoRA scenarios, where the pretrained model is shared across multiple LoRA modules for different tasks (Sheng et al., 2023). In such cases, it is required that the initialization of different LoRA modules remains consistent.
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
Figure 3. Test loss of un-fine-tuned T5-Base on different dataset with various initialization size $(\beta^{2})$ . Note that the initialization variances of matrices $A$ and $B$ are both set to $(\beta \sigma_{k})^{2}$ , where $\sigma_{k}^{2}$ is the variances of $A$ when initialized with Kaiming initialization.
|
| 204 |
+
|
| 205 |
+
Above discussion raises the question of whether it is necessary to subtract $\frac{\alpha}{r} A_0 B_0$ from the pretrained model. Note that pretrained weights are typically not optimal for downstream tasks. Therefore, we conjecture that introducing small perturbations to the pretrained weights will not significantly affect their performance on downstream tasks, nor will it substantially impact convergence during fin-tuning. To test this hypothesis, we conducted a preliminary evaluation using the T5-Base model (Raffel et al., 2020). Specifically, we compared the accuracy of the un-fine-tuned T5-Base on several datasets of the GLUE benchmark (Wang et al., 2019), utilizing non-zero initialized LoRA with various initialization variances. As shown in Figure 3, the non-zero initialization does not impact the initial performance of the pretrained model on downstream tasks unless the initialization variance is exceedingly large. Therefore, we conclude that, with appropriate initialization variances,
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
|
| 213 |
+

|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
Figure 4. Fine-tuning accuracy of T5-Base on different datasets with various learning rates $(\eta)$ and initialization sizes $(\beta)$ . Note that the initialization variance is set to $(\beta \sigma_k)^2$ , where $\sigma_k^2$ is the variance of matrix $A$ when initialized with Kaiming initialization. Init[AB]-Init[A] denotes the accuracy improvement achieved by non-zero initialization, where $B$ is initialized with the same variance as $A$ .
|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
|
| 224 |
+
there is no need to subtract the non-zero initialized LoRA from the pretrained model. Further verification will be conducted in subsequent experiments.
|
| 225 |
+
|
| 226 |
+
# 4. Experiments
|
| 227 |
+
|
| 228 |
+
In this section, we evaluate our findings across three benchmarks. First, we evaluate natural language understanding tasks using a subset of the GLUE benchmark (Wang et al., 2019). Next, we evaluate natural language generation tasks using the commonsense reasoning and arithmetic reasoning benchmarks, as proposed in (Hu et al., 2023). Our primary objective is to examine the impact of zero and non-zero initialization on fine-tuning performance across different learning rates and initialization variances. Let $\sigma_k^2$ represent the variance of matrix $A$ under Kaiming initialization (i.e., $\sigma_k^2 = \frac{1}{n}$ ). In our experiments, the initialization variance is set to $(\beta \sigma_k)^2$ , where $\beta$ controls the initialization size. For non-zero initialization, $B$ is initialized with the same variance as $A$ . By default, we subtract the non-zero initialized LoRA from the pretrained weights. The effects of omitting this subtraction process will be discussed in Section 4.3. More experimental details and results can be found in Appendices D and E. It is worth noting that the standard deviation for the GLUE dataset ranges from 0.01 to 0.4, while for commonsense and arithmetic reasoning tasks, it spans from 0.2 to 0.4. In our experiments, smaller learning rates tend to converge less effectively and exhibit higher standard deviations. However, this standard deviation
|
| 229 |
+
|
| 230 |
+
is generally minimal compared to the performance gains achieved by non-zero initialization.
|
| 231 |
+
|
| 232 |
+
# 4.1. Natural Language Understanding Tasks
|
| 233 |
+
|
| 234 |
+
Models and Datasets. In this section, we fine-tune the T5-Base model (Raffel et al., 2020) on several datasets from the GLUE benchmark, including MRPC, CoLA, SST-2, and QNLI. The experiment is conducted based on the code provided in (Wang et al., 2024). Each experiment is run three times, and the average test accuracy is reported.
|
| 235 |
+
|
| 236 |
+
Results. Figure 4 presents the test accuracy of T5-Base on the GLUE benchmark. As the initialization variance increases, Init[A] exhibits enhanced robustness at smaller learning rates, aligning with our theoretical predictions. Notably, $\beta = 1$ corresponds to the Kaiming initialization $(\gamma [A_0] = -1)$ , which is smaller than the theoretically optimal value of $\gamma [A_0] = -\frac{1}{2}$ . Moreover, initializing $B$ with the same variance as $A$ (i.e., Init[AB]) further improves performance over Init[A] at smaller learning rates, resulting in up to a $10\%$ accuracy improvement. Figure 5 illustrates the convergence curves of Init[A] and Init[AB] on the QNLI dataset with a learning rate of 3e-7, where Init[AB] accelerates convergence by nearly a factor of two. Additionally, even when the learning rate is near optimal, Init[AB] still yields a $1\%$ accuracy improvement. A heatmap for Init[AB] is provided in Appendix E.
|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
Figure 5. Test accuracy of T5-Base finetuned on the QNLI dataset with learning rate $\eta = 3e - 7$ and the initialization size $\beta = 16$ .
|
| 240 |
+
|
| 241 |
+
# 4.2. Natural Language Generation Tasks.
|
| 242 |
+
|
| 243 |
+
Models and Datasets. In this section, we fine-tune the Llama 3-8B model (Dubey et al., 2024) on commonsense and arithmetic reasoning benchmarks. The former contains eight subtasks, while the latter contains six subtasks. Each subtask is associated with a predefined training and test set. The experiment is conducted using the code provided in (Hu et al., 2023). Following the procedure outlined in (Hu et al., 2023), we combine the training datasets of all subtasks to create a final training dataset and evaluate each task using a single test dataset. The average test accuracy is reported, and task-specific accuracies are provided in Appendix E.
|
| 244 |
+
|
| 245 |
+
Results. Figure 6 illustrates the average test accuracy of Llama 3-8B on commonsense and arithmetic reasoning benchmarks. The results are consistent with those observed on the GLUE benchmark, where Init[AB] generally outperforms Init[A], particularly at smaller learning rates. Moreover, the performance improvement observed with Init[AB] on these two benchmarks is notably greater than that on the GLUE dataset. This is likely due to the increased complexity of these two benchmarks, which impose higher demands on the learning rate robustness.
|
| 246 |
+
|
| 247 |
+
# 4.3. Ablation on the Starting Point of Fine-Tuning
|
| 248 |
+
|
| 249 |
+
By default, we subtract the non-zero initialized $AB$ from the pretrained weights $W$ to ensure that fine-tuning starts from the pretrained model. In this section, we investigate whether this subtraction is necessary. The strategy of nonzero initialization without this subtraction process is denoted as Init[AB+] . The advantage of Init[AB+] is that it avoids modifying the pretrained model, rather than improving accuracy. Figure 7 illustrates the differences between Init[AB+] and Init[AB] under varying initialization variances. When the initialization variance exceeds a certain threshold $(\beta \geq 8)$ , Init[AB+] leads to a significant accu
|
| 250 |
+
|
| 251 |
+

|
| 252 |
+
|
| 253 |
+

|
| 254 |
+
Figure 6. Fine-tuning accuracy of Llama 3-8B.
|
| 255 |
+
|
| 256 |
+
racy drop due to excessive noise. However, when suitable initialization variances are applied, there is no discernible difference between Init[AB+] and Init[AB]. Furthermore, Figure 7 demonstrates that the range of suitable initialization variances is relatively wide, encompassing the variance used in the Kaiming initialization. More ablation results for different models and datasets are in Appendix E.
|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
Figure 7. Fine-tuning accuracy with different starting points. Init[AB+] denotes the variant which do not subtract non-zero initialized $AB$ from $W$ , and Init[AB-] - Init[AB] indicates the accuracy gap between these two initialization strategies.
|
| 260 |
+
|
| 261 |
+
# 5. Related Works
|
| 262 |
+
|
| 263 |
+
# 5.1. Low-Rank Adaptation
|
| 264 |
+
|
| 265 |
+
The fine-tuning performance of LoRA is influenced by several factors, such as rank, gradient, learning rate, and initialization. AdaLoRA (Zhang et al., 2023) adaptively adjusts the rank across different LoRA layers to improve efficiency. Zeng & Lee (2024) provide theoretical guidelines for select-
|
| 266 |
+
|
| 267 |
+
ing an appropriate rank in LoRA. BoRA (Li et al., 2025) adopts a block-wise mechanism in LoRA, leveraging block matrix multiplication with block-wise diagonal matrices to enhance its expressivity. LoRA-Pro (Wang et al., 2025) improves LoRA by adjusting low-rank gradients to better match full fine-tuning, reducing the performance gap. Additionally, LoRA+ (Hayou et al., 2024a) analyzes how a larger learning rate for the matrix $B$ promotes more stable and efficient LoRA fine-tuning. A key advantage of LoRA+ is its ability to achieve internal stability, i.e., $Z_A = \Theta(1)$ , which cannot be achieved using a uniform learning rate for $A$ and $B$ . Notably, LoRA+ can also be applied to non-zero initialization to ensure internal stability, as further discussed in Appendix B.2.
|
| 268 |
+
|
| 269 |
+
Hayou et al. (2024b) have analyzed the effect of initialization on LoRA's fine-tuning dynamics, though their analysis is limited to zero initialization. In contrast, we further investigate and demonstrate that non-zero initialization can enhance LoRA's robustness to suboptimal learning rates. In fact, non-zero initialization has several practical applications, such as initializing the matrices $A$ and $B$ with quantization errors (Li et al., 2024), the main components of pretrained weights (Meng et al., 2024), or the gradients of pretrained weights derived from several data samples (Wang et al., 2024). Recent work (Ponkshe et al., 2024) has highlighted the benefits of using approximate gradients for LoRA initialization. LoRA-One (Zhang et al., 2025) leverages spectral initialization to achieve subspace alignment and generalization guarantees at initialization, enabling efficient convergence from the very start.
|
| 270 |
+
|
| 271 |
+
However, these studies overlook a crucial distinction between their approaches and standard LoRA, namely, the difference between zero and non-zero initialization. Unlike LoRA-GA and PiSSA, which were motivated by intuition, our approach is motivated by the theoretical analysis of LoRA's fine-tuning dynamics. From the solution set in Eqs.(5-6), we observe that stable and efficient learning imposes stricter constraints on learning rates, whereas the initialization space is more flexible. Traditional zero initialization $(\gamma [B_0] = -\infty)$ is merely an extreme case. This motivates us to reconsider the necessity of zero initialization and explore the potential benefits of non-zero initialization. Notably, our motivation and claims are not in competition with prior non-zero initialization methods, such as LoRA-GA and PiSSA. Instead, our findings offer a theoretical foundation for their effectiveness and provide an explanation for the observed performance improvements.
|
| 272 |
+
|
| 273 |
+
# 5.2. Other Parameter-Efficient Fine-Tuning Methods
|
| 274 |
+
|
| 275 |
+
In addition to LoRA, two widely adopted PEFT strategies are adapter-based and soft prompt-based approaches. Adapter-based methods (Houlsby et al., 2019; He et al.,
|
| 276 |
+
|
| 277 |
+
2022; Wang et al., 2022) introduce small trainable modules into the pretrained model and update only these components, significantly reducing training costs. However, the added layers can increase inference latency. In contrast, soft prompt-based methods (Lester et al., 2021; Li & Liang, 2021; Razdaibiedina et al., 2023) prepend task-specific, learnable tokens to the input, leveraging the pretrained model's existing knowledge for adaptation. Despite their efficiency, these methods also incur additional computational overhead and inference delays. By comparison, LoRA supports manual integration of weight updates into the pretrained weights post fine-tuning, thereby avoiding extra inference latency. Additionally, sparse fine-tuning methods such as BitFit (Zaken et al., 2022) update only the model's bias terms, offering another lightweight alternative.
|
| 278 |
+
|
| 279 |
+
# 6. Conclusion
|
| 280 |
+
|
| 281 |
+
In this paper, we revisit the fine-tuning dynamics of LoRA and identify that stable and efficient fine-tuning requires specific conditions on both the learning rate and initialization. Compared to initialization, LoRA imposes stricter requirements on the learning rate. Further analysis reveals that initializing both $A$ and $B$ of LoRA to non-zero values (i.e., non-zero initialization) can improve its robustness to suboptimal learning rates, particularly small ones. Note that this is a zero-cost adjustment of LoRA. Additionally, we examine the noise introduced by non-zero initialization for pretraining weights. Extensive experiments demonstrate that with appropriate initialization variances, the noise from non-zero initialization can be effectively corrected through fine-tuning, without negatively impacting fine-tuning performance. Our experiments reveal that the range of suitable initialization variances is relatively broad, encompassing commonly used methods like Kaiming initialization.
|
| 282 |
+
|
| 283 |
+
# Acknowledgements
|
| 284 |
+
|
| 285 |
+
This work is supported by the National Key Research and Development Program of China under grant 2024YFC3307900; the National Natural Science Foundation of China under grants 62376103, 62302184, 62436003, and 62206102; Major Science and Technology Project of Hubei Province under grant 2024BAA008; Hubei Science and Technology Talent Service Project under grant 2024DJC078; and Ant Group through CCF-Ant Research Fund. The computation is completed in the HPC Platform of Huazhong University of Science and Technology.
|
| 286 |
+
|
| 287 |
+
# Impact Statement
|
| 288 |
+
|
| 289 |
+
This paper explores the non-zero initialization of LoRA, which has the potential to improve the performance of LoRA fine-tuning. Our work builds upon LoRA, and we assert that it does not introduce any negative social implications that would necessitate further discussion.
|
| 290 |
+
|
| 291 |
+
# References
|
| 292 |
+
|
| 293 |
+
Bordelon, B., Noci, L., Li, M. B., Hanin, B., and Pehlevan, C. Depthwise hyperparameter transfer in residual networks: Dynamics and scaling limit. In International Conference on Learning Representations (ICLR), 2024.
|
| 294 |
+
Bottou, L. Large-scale machine learning with stochastic gradient descent. In International Conference on Computational Statistics (COMPSTAT), 2010.
|
| 295 |
+
DeepSeek-AI. Deepseek-v3 technical report. CoRR, 2024.
|
| 296 |
+
Deng, L. The mnist database of handwritten digit images for machine learning research. IEEE Signal Processing Magazine, 29(6):141-142, 2012.
|
| 297 |
+
Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., et al. The llama 3 herd of models. CoRR, 2024.
|
| 298 |
+
Glorot, X., Bordes, A., and Bengio, Y. Deep sparse rectifier neural networks. In International Conference on Artificial Intelligence and Statistics (AISTATS), pp. 315-323, 2011.
|
| 299 |
+
Hayou, S., Doucet, A., and Rousseau, J. On the impact of the activation function on deep neural networks training. In International Conference on Machine Learning (ICML), 2019.
|
| 300 |
+
Hayou, S., Ghosh, N., and Yu, B. Lora+: Efficient low rank adaptation of large models. In International Conference on Machine Learning (ICML), 2024a.
|
| 301 |
+
Hayou, S., Ghosh, N., and Yu, B. The impact of initialization on lora finetuning dynamics. In Advances in Neural Information Processing Systems (NeurIPS), 2024b.
|
| 302 |
+
He, J., Zhou, C., Ma, X., Berg-Kirkpatrick, T., and Neubig, G. Towards a unified view of parameter-efficient transfer learning. In International Conference on Learning Representations (ICLR), 2022.
|
| 303 |
+
He, K., Zhang, X., Ren, S., and Sun, J. Delving deep into rectifiers: Surpassing human-level performance on imagelet classification. In IEEE International Conference on Computer Vision, (ICCV), 2015.
|
| 304 |
+
He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition, (CVPR), 2016.
|
| 305 |
+
Hoffmann, J., Borgeaud, S., Mensch, A., Buchatskaya, E., Cai, T., et al. Training compute-optimal large language models. CoRR, 2022.
|
| 306 |
+
Houlsby, N., Giurgiu, A., Jastrzebski, S., Morrone, B., de Laroussilhe, Q., Gesmundo, A., Attariyan, M., and Gelly, S. Parameter-efficient transfer learning for NLP. In International Conference on Machine Learning (ICML), 2019.
|
| 307 |
+
|
| 308 |
+
Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., and Chen, W. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2022.
|
| 309 |
+
Hu, Z., Wang, L., Lan, Y., Xu, W., Lim, E., Bing, L., Xu, X., Poria, S., and Lee, R. K. Llm-adapters: An adapter family for parameter-efficient fine-tuning of large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2023.
|
| 310 |
+
Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., et al. Scaling laws for neural language models. CoRR, 2020.
|
| 311 |
+
Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. In Bengio, Y. and LeCun, Y. (eds.), International Conference on Learning Representations (ICLR), 2015.
|
| 312 |
+
Lester, B., Al-Rfou, R., and Constant, N. The power of scale for parameter-efficient prompt tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 3045-3059, 2021.
|
| 313 |
+
Li, S., Luo, X., Wang, H., Tang, X., Cui, Z., Liu, D., Li, Y., xiuqiang He, and Li, R. Bora: Towards more expressive low-rank adaptation with block diversity. CoRR, 2025.
|
| 314 |
+
Li, X. L. and Liang, P. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, (ACL/IJCNLP), 2021.
|
| 315 |
+
Li, Y., Yu, Y., Liang, C., Karampatziakis, N., He, P., Chen, W., and Zhao, T. Loftq: Lora-fine-tuning-aware quantization for large language models. In International Conference on Learning Representations (ICLR), 2024.
|
| 316 |
+
Loshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019.
|
| 317 |
+
Meng, F., Wang, Z., and Zhang, M. Pissa: Principal singular values and singular vectors adaptation of large language models. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
|
| 318 |
+
OpenAI. Gpt-4 technical report. CoRR, 2024.
|
| 319 |
+
Ponkshe, K., Singhal, R., Gorbunov, E., Tumanov, A., Horvath, S., and Vepakomma, P. Initialization using update approximation is a silver bullet for extremely efficient low-rank fine-tuning. CoRR, 2024.
|
| 320 |
+
|
| 321 |
+
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., and Liu, P. J. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1-140:67, 2020.
|
| 322 |
+
Razdaibiedina, A., Mao, Y., Khabsa, M., Lewis, M., Hou, R., Ba, J., and Almahairi, A. Residual prompt tuning: improving prompt tuning with residual reparameterization. In Findings of the Association for Computational Linguistics (ACL), 2023.
|
| 323 |
+
Schoenholz, S. S., Gilmer, J., Ganguli, S., and Sohl-Dickstein, J. Deep information propagation. In International Conference on Learning Representations (ICLR), 2017.
|
| 324 |
+
Sheng, Y., Cao, S., Li, D., Hooper, C., Lee, N., Yang, S., Chou, C., Zhu, B., Zheng, L., Keutzer, K., Gonzalez, J. E., and Stoica, I. S-lora: Serving thousands of concurrent lora adapters. CoRR, 2023.
|
| 325 |
+
Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bowman, S. R. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In International Conference on Learning Representations (ICLR), 2019.
|
| 326 |
+
Wang, S., Yu, L., and Li, J. Lora-ga: Low-rank adaptation with gradient approximation. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
|
| 327 |
+
Wang, Y., Agarwal, S., Mukherjee, S., Liu, X., Gao, J., Awadallah, A. H., and Gao, J. Adamix: Mixture-of-adaptations for parameter-efficient model tuning. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2022.
|
| 328 |
+
Wang, Z., Liang, J., He, R., Wang, Z., and Tan, T. Lora-pro: Are low-rank adapters properly optimized? In International Conference on Learning Representations (ICLR), 2025.
|
| 329 |
+
Xiao, H., Rasul, K., and Vollgraf, R. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. CoRR, 2017.
|
| 330 |
+
Xu, L., Xie, H., Qin, S. J., Tao, X., and Wang, F. L. Parameter-efficient fine-tuning methods for pretrained language models: A critical review and assessment. CoRR, 2023.
|
| 331 |
+
Yang, G. Scaling limits of wide neural networks with weight sharing: Gaussian process behavior, gradient independence, and neural tangent kernel derivation. CoRR, 2019.
|
| 332 |
+
Yang, G. Tensor programs III: neural matrix laws. CoRR, 2020.
|
| 333 |
+
|
| 334 |
+
Yang, G., Hu, E. J., Babuschkin, I., Sidor, S., Liu, X., et al. Tensor programs V: tuning large neural networks via zero-shot hyperparameter transfer. CoRR, 2022.
|
| 335 |
+
Yang, G., Yu, D., Zhu, C., and Hayou, S. Tensor programs VI: feature learning in infinite depth neural networks. In International Conference on Learning Representations (ICLR), 2024.
|
| 336 |
+
Zaken, E. B., Goldberg, Y., and Ravfogel, S. Bitfit: Simple parameter-efficient fine-tuning for transformer-based masked language-models. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL), 2022.
|
| 337 |
+
Zeng, Y. and Lee, K. The expressive power of low-rank adaptation. In International Conference on Learning Representations (ICLR), 2024.
|
| 338 |
+
Zhang, Q., Chen, M., Bukharin, A., He, P., Cheng, Y., Chen, W., and Zhao, T. Adaptive budget allocation for parameter-efficient fine-tuning. In International Conference on Learning Representations (ICLR), 2023.
|
| 339 |
+
Zhang, Y., Liu, F., and Chen, Y. One-step full gradient suffices for low-rank fine-tuning, provably and efficiently. CoRR, abs/2502.01235, 2025.
|
| 340 |
+
|
| 341 |
+
# A. Background
|
| 342 |
+
|
| 343 |
+
# A.1. Scaling Theory of Neural Networks
|
| 344 |
+
|
| 345 |
+
In neural networks, scaling refers to enhancing the model's representational capacity by increasing the scale of a specific structure within the model (Kaplan et al., 2020; Hoffmann et al., 2022). It involves analyzing and optimizing several factors, such as model depth, width, training sample size, and the number of training steps. This paper focuses on scaling the model width, which holds practical significance, as the most advanced LLMs today employ extremely large widths, with hidden layer dimensions often reaching tens of thousands (OpenAI, 2024; DeepSeek-AI, 2024).
|
| 346 |
+
|
| 347 |
+
As the width $n$ increases, the synergistic adaptation of parameter initialization and training dynamics becomes increasingly critical. Previous studies have demonstrated that the variance of parameters should be scaled by $1/n$ to prevent gradient instability during optimization (He et al., 2015). These scaling rules are typically derived from asymptotic analyses of key quantities (e.g., pre-activation values), which theoretically guide adjustments to parameter initialization schemes, learning rates, and even network architectures (Hayou et al., 2019; Schoenholz et al., 2017; Yang, 2019).
|
| 348 |
+
|
| 349 |
+
Building on this foundation, Yang et al. (2022) proposed the Maximal Update Parameterization $(\mu P)$ , which constructs scaling rules for initialization schemes, learning rates, and network architectures to theoretically guarantee stability and maximal feature learning in the limit of infinite network width. The key conditions for $\mu P$ are as follows: 1) Stability: for all layers $l$ , $Y_{l} = \Theta(1)$ , where the asymptotic notation $\Theta(\cdot)$ is defined in Section 2.1; 2) Feature learning: $\Delta Y_{l} = \Theta(1)$ , where $\Delta$ represents the parameter update after one gradient descent step. In general, $\mu P$ specifies the parameter weights to be randomly initialized at a scale of $\Theta(n^{-1/2})$ , with weight updates at a scale of $\Theta(n^{-1})$ . The random initialization and update scales for input and output weights should be $\Theta(1)$ and $\Theta(n^{-1})$ , respectively. This scaling rule successfully resolves the instability issues inherent in traditional parameterization schemes, making it a key tool in the theoretical analysis and practical application of large models.
|
| 350 |
+
|
| 351 |
+
# A.2. The $\gamma$ -operator
|
| 352 |
+
|
| 353 |
+
In neural network scaling theory, the asymptotic behavior of key quantities is typically analyzed when scaling specific model components. For example, when scaling the network width, the objective is to quantify how certain network properties evolve as the width $n$ grows. In this context, asymptotic notations, such as $\Theta(\cdot)$ , are particularly useful, as defined in Section 2.1. This standard approach has been employed to derive scaling rules for various components, such as initialization (Schoenholz et al., 2017), activation functions (Hayou et al., 2019), and network parameterization (Yang et al., 2024).
|
| 354 |
+
|
| 355 |
+
Assuming that the weights are initialized as $\Theta (n^{-\beta})$ $(\beta \geq 0)$ , and that the learning rate scales polynomially with respect to the width $n$ , it follows that key quantities, such as pre-activations, gradients, and weight updates, are also asymptotically polynomial in $n$ . This regularity arises from the aggregate nature of neural network operations, where tensor operations involve linear combinations of numerous parameters. Consequently, we introduce the $\gamma$ -operator to express the polynomial behavior as $v = \Theta (\gamma [v])$ . We now define some basic operations using the $\gamma$ -operator.
|
| 356 |
+
|
| 357 |
+
Zero: $\gamma [0] = -\infty$ , corresponding to the limit of $\gamma [n^{\beta}]$ when $\beta \rightarrow -\infty$
|
| 358 |
+
|
| 359 |
+
Product: For two real-valued variables $v, v' \in \mathbb{R}$ , we have $\gamma[vv'] = \gamma[v] + \gamma[v']$ .
|
| 360 |
+
|
| 361 |
+
Addition: For two real-valued variables $v, v' \in \mathbb{R}$ and $v \neq -v'$ , we have $\gamma[v + v'] = \max(\gamma[v], \gamma[v'])$ .
|
| 362 |
+
|
| 363 |
+
# B. Fine-Tuning Dynamics of LoRA with Adam
|
| 364 |
+
|
| 365 |
+
# B.1. Detailed Proof
|
| 366 |
+
|
| 367 |
+
In this section, we present a detailed explanation of the process from Eq. (3) to Eq. (5). To facilitate the analysis, we first introduce Lemmas 1 and 2.
|
| 368 |
+
|
| 369 |
+
Lemma 1. Let $U \in \mathbb{R}^{1 \times r}$ and $V \in \mathbb{R}^r$ , where $r$ is independent of $n$ . If $U = \Theta(n^\alpha)$ and $V = \Theta(n^\beta)$ , then $UV = \Theta(n^{\alpha + \beta})$ .
|
| 370 |
+
|
| 371 |
+
Proof of Lemma 1. By the definition of the notation $\Theta$ , each element of $U$ and $V$ satisfies the following relations:
|
| 372 |
+
|
| 373 |
+
$$
|
| 374 |
+
U _ {i} = \Theta \left(n ^ {\alpha}\right), \quad V _ {i} = \Theta \left(n ^ {\beta}\right), \quad i \in [ r ] \tag {7}
|
| 375 |
+
$$
|
| 376 |
+
|
| 377 |
+
There exist positive constants $\kappa_u^l, \kappa_u^h, \kappa_v^l$ and $\kappa_v^h$ such that
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\kappa_ {u} ^ {l} n ^ {\alpha} < U _ {i} < \kappa_ {u} ^ {h} n ^ {\alpha}, \quad \kappa_ {v} ^ {l} n ^ {\beta} < V _ {i} < \kappa_ {v} ^ {h} n ^ {\beta}, \tag {8}
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
Multiplying $U_{i}$ and $V_{i}$ , we obtain
|
| 384 |
+
|
| 385 |
+
$$
|
| 386 |
+
\kappa_ {u} ^ {l} \kappa_ {v} ^ {l} n ^ {\alpha + \beta} < U _ {i} V _ {i} < \kappa_ {u} ^ {h} \kappa_ {v} ^ {h} n ^ {\alpha + \beta} \tag {9}
|
| 387 |
+
$$
|
| 388 |
+
|
| 389 |
+
Thus, the product $UV$ satisfies the following inequality:
|
| 390 |
+
|
| 391 |
+
$$
|
| 392 |
+
r \kappa_ {u} ^ {l} \kappa_ {v} ^ {l} n ^ {\alpha + \beta} < U V = \sum_ {i = 1} ^ {r} U _ {i} V _ {i} < r \kappa_ {u} ^ {h} \kappa_ {v} ^ {h} n ^ {\alpha + \beta} \tag {10}
|
| 393 |
+
$$
|
| 394 |
+
|
| 395 |
+
Therefore, by the definition of the notation $\Theta$ , we conclude that
|
| 396 |
+
|
| 397 |
+
$$
|
| 398 |
+
U V = \Theta (\alpha + \beta), \quad \gamma [ U V ] = \alpha + \beta \tag {11}
|
| 399 |
+
$$
|
| 400 |
+
|
| 401 |
+
Note that the same reasoning and result hold for the matrix multiplication of $U \in \mathbb{R}^{a \times r}$ and $U \in \mathbb{R}^{r \times b}$ .
|
| 402 |
+
|
| 403 |
+
Lemma 2. Let $U \in \mathbb{R}^{1 \times n}$ and $V \in \mathbb{R}^n$ . If $U = \Theta(n^\alpha)$ and $V = \Theta(n^\beta)$ , then $UV = \Theta(n^{\alpha + \beta + 1})$ .
|
| 404 |
+
|
| 405 |
+
Proof of Lemma 2. Similar to the proof of Lemma 1, the product $UV$ satisfies the following inequality:
|
| 406 |
+
|
| 407 |
+
$$
|
| 408 |
+
\kappa_ {u} ^ {l} \kappa_ {v} ^ {l} n ^ {\alpha + \beta + 1} < U V = \sum_ {i = 1} ^ {n} U _ {i} V _ {i} < \kappa_ {u} ^ {h} \kappa_ {v} ^ {h} n ^ {\alpha + \beta + 1} \tag {12}
|
| 409 |
+
$$
|
| 410 |
+
|
| 411 |
+
Thus, by the definition of the notation $\Theta$ , we conclude that
|
| 412 |
+
|
| 413 |
+
$$
|
| 414 |
+
U V = \Theta (\alpha + \beta + 1), \quad \gamma [ U V ] = \alpha + \beta + 1 \tag {13}
|
| 415 |
+
$$
|
| 416 |
+
|
| 417 |
+
Note that the same reasoning and result hold for the matrix multiplication of $U \in \mathbb{R}^{a \times n}$ and $U \in \mathbb{R}^{n \times b}$ .
|
| 418 |
+
|
| 419 |
+
Proof of the process from Eq.(3) and Eq.(5). Eq. (3) outlines the conditions for LoRA to achieve stability and efficiency, as follows:
|
| 420 |
+
|
| 421 |
+
$$
|
| 422 |
+
\left\{ \begin{array}{l l} \gamma \left[ \delta_ {t} ^ {1} \right] = \gamma \left[ - \eta_ {A} B _ {t - 1} g _ {A} ^ {t - 1} \underline {{Z}} \right] = 0 & \left(\delta_ {t} ^ {1} = \Theta (1)\right) \\ \gamma \left[ \delta_ {t} ^ {2} \right] = \gamma \left[ - \eta_ {B} g _ {B} ^ {t - 1} A _ {t - 1} \underline {{Z}} \right] = 0 & \left(\delta_ {t} ^ {2} = \Theta (1)\right) \\ \gamma \left[ Z _ {B} ^ {t - 1} \right] = \gamma \left[ B _ {t - 1} A _ {t - 1} \underline {{Z}} \right] = 0 & \left(Z _ {B} ^ {t - 1} = \Theta (1)\right) \end{array} \right. \tag {14}
|
| 423 |
+
$$
|
| 424 |
+
|
| 425 |
+
Taking $\delta_t^1$ as an example, where $\eta_A\in \mathbb{R}$ , $B_{t - 1}\in \mathbb{R}^{n\times r}$ , $g_{A}\in \mathbb{R}^{r\times n}$ , and $\underline{Z}\in \mathbb{R}^n$ , we expand $\gamma [\delta_t^1 ]$ as follows:
|
| 426 |
+
|
| 427 |
+
$$
|
| 428 |
+
\begin{array}{l} \gamma [ \delta_ {t} ^ {1} ] = \gamma [ - \eta_ {A} B _ {t - 1} g _ {A} ^ {t - 1} \underline {{Z}} ] \\ \stackrel {(a)} {\leq} \gamma [ \eta_ {A} ] + \gamma [ B _ {t - 1} g _ {A} ^ {t - 1} \underline {{Z}} ] \\ \stackrel {(b)} {\leq} \gamma [ \eta_ {A} ] + \gamma [ B _ {t - 1} ] + \gamma [ g _ {A} ^ {t - 1} \underline {{Z}} ] \\ \stackrel {(c)} {\leq} \gamma [ \eta_ {A} ] + \gamma [ B _ {t - 1} ] + \gamma [ g _ {A} ^ {t - 1} ] + \gamma [ \underline {{Z}} ] + 1 \tag {15} \\ = \gamma [ \eta_ {A} ] + \gamma [ B _ {0} + \eta_ {B} \sum_ {i = 0} ^ {t - 2} g _ {B} ^ {i} ] + \gamma [ g _ {A} ^ {t - 1} ] + \gamma [ \underline {{Z}} ] + 1 \\ \stackrel {(d)} {\leq} \gamma [ \eta_ {A} ] + \max (\gamma [ B _ {0} ], \gamma [ \eta_ {B} ]) + 1, \\ \end{array}
|
| 429 |
+
$$
|
| 430 |
+
|
| 431 |
+
where (a) follows from the multiplication properties of the $\gamma$ -operator, (b) follows from Lemma 1, (c) follows from Lemma 2, and (d) follows from the fact that $\gamma[g_A] = \gamma[g_B] = \gamma[\underline{Z}] = 0$ .
|
| 432 |
+
|
| 433 |
+
Similarly, performing the same analysis on $\delta_t^2$ and $Z_B$ yields the following relationships:
|
| 434 |
+
|
| 435 |
+
$$
|
| 436 |
+
\left\{ \begin{array}{l} \gamma \left[ \delta_ {t} ^ {1} \right] = \max \left(\gamma \left[ B _ {0} \right], \gamma \left[ \eta_ {B} \right]\right) + \gamma \left[ \eta_ {A} \right] + 1 = 0, \\ \gamma \left[ \delta_ {t} ^ {2} \right] = \max \left(\gamma \left[ A _ {0} \right], \gamma \left[ \eta_ {A} \right]\right) + \gamma \left[ \eta_ {B} \right] + 1 = 0, \\ \gamma \left[ Z _ {B} ^ {t - 1} \right] = \max \left(\gamma \left[ A _ {0} \right], \gamma \left[ \eta_ {A} \right]\right) + \max \left(\gamma \left[ B _ {0} \right], \gamma \left[ \eta_ {B} \right]\right) + 1 = 0. \end{array} \right. \tag {16}
|
| 437 |
+
$$
|
| 438 |
+
|
| 439 |
+
Furthermore, we obtain:
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
\gamma [ \delta_ {t} ^ {1} ] + \gamma [ \delta_ {t} ^ {2} ] - \gamma [ Z _ {B} ^ {t - 1} ] = \gamma [ \eta_ {A} ] + \gamma [ \eta_ {B} ] + 1 = 0. \tag {17}
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
Substituting this equation back into $\gamma [\delta_t^1 ]$ and $\gamma [\delta_t^2 ]$ yields:
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
\left\{ \begin{array}{l} \max \left(\gamma \left[ A _ {0} \right], \gamma \left[ \eta_ {A} \right]\right) = \gamma \left[ \eta_ {A} \right], \\ \max \left(\gamma \left[ B _ {0} \right], \gamma \left[ \eta_ {B} \right]\right) = \gamma \left[ \eta_ {B} \right]. \end{array} \right. \tag {18}
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
Thus, we conclude that:
|
| 452 |
+
|
| 453 |
+
$$
|
| 454 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {A} ] + \gamma [ \eta_ {B} ] = - 1, \\ \gamma [ A _ {0} ] \leq \gamma [ \eta_ {A} ], \quad \gamma [ B _ {0} ] \leq \gamma [ \eta_ {B} ]. \end{array} \right. \tag {19}
|
| 455 |
+
$$
|
| 456 |
+
|
| 457 |
+
# B.2. Internal Stability
|
| 458 |
+
|
| 459 |
+
In this paper, we focus solely on the stability of LoRA's final output, $Z_{B}$ , while excluding the stability of LoRA's internal output, $Z_{A}$ . Hu et al. (2022) discusses $Z_{A}$ and demonstrates that init[B] ensures stability for both $Z_{A}$ and $Z_{B}$ , but fails to facilitate efficient updates of $Z_{B}$ , as defined in Definition 4. In contrast, init[A] achieves stability and efficient updating of $Z_{B}$ , but does not ensure the stability of $Z_{A}$ . Here, we additionally consider the internal stability by introducing the condition $Z_{A}^{t - 1} = A_{t - 1}\underline{Z} = \Theta (1)$ , as a requirement in Eq. (3).
|
| 460 |
+
|
| 461 |
+
$$
|
| 462 |
+
\left\{ \begin{array}{l l} \gamma \left[ \delta_ {t} ^ {1} \right] = \gamma \left[ - \eta_ {A} B _ {t - 1} g _ {A} ^ {t - 1} \underline {{Z}} \right] = 0 & \left(\delta_ {t} ^ {1} = \Theta (1)\right) \\ \gamma \left[ \delta_ {t} ^ {2} \right] = \gamma \left[ - \eta_ {B} g _ {B} ^ {t - 1} A _ {t - 1} \underline {{Z}} \right] = 0 & \left(\delta_ {t} ^ {2} = \Theta (1)\right) \\ \gamma \left[ Z _ {B} ^ {t - 1} \right] = \gamma \left[ B _ {t - 1} A _ {t - 1} \underline {{Z}} \right] = 0 & \left(Z _ {B} ^ {t - 1} = \Theta (1)\right) \\ \gamma \left[ Z _ {A} ^ {t - 1} \right] = \gamma \left[ A _ {t - 1} \underline {{Z}} \right] = 0 & \left(Z _ {A} ^ {t - 1} = \Theta (1)\right) \end{array} \right. \tag {20}
|
| 463 |
+
$$
|
| 464 |
+
|
| 465 |
+
Similar to the proof in Section B.1, we can express the above equations in terms of $(A_0,B_0)$ and $(\eta_A,\eta_B)$ as follows:
|
| 466 |
+
|
| 467 |
+
$$
|
| 468 |
+
\left\{ \begin{array}{l} \max (\gamma [ B _ {0} ], \gamma [ \eta_ {B} ]) + \gamma [ \eta_ {A} ] + 1 = 0, \\ \max (\gamma [ A _ {0} ], \gamma [ \eta_ {A} ]) + \gamma [ \eta_ {B} ] + 1 = 0, \\ \max (\gamma [ A _ {0} ], \gamma [ \eta_ {A} ]) + \max (\gamma [ B _ {0} ], \gamma [ \eta_ {B} ]) + 1 = 0, \\ \max (\gamma [ A _ {0} ], \gamma [ \eta_ {A} ]) + 1 = 0. \end{array} \right.
|
| 469 |
+
$$
|
| 470 |
+
|
| 471 |
+
Based on the derivation steps outlined in Appendix B.1, the solution set can be obtained as follows:
|
| 472 |
+
|
| 473 |
+
$$
|
| 474 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {A} ] = - 1, \gamma [ \eta_ {B} ] = 0, \\ \gamma [ A _ {0} ] \leq \gamma [ \eta_ {A} ] = - 1, \quad \gamma [ B _ {0} ] \leq \gamma [ \eta_ {B} ] = 0, \end{array} \right. \tag {21}
|
| 475 |
+
$$
|
| 476 |
+
|
| 477 |
+
where $\gamma [A_0]$ and $\gamma [B_0]$ cannot both be equal to $-\infty$ simultaneously, as this would imply that both $A$ and $B$ are zero, preventing optimization via gradient descent algorithms.
|
| 478 |
+
|
| 479 |
+
This is actually the solution proposed in LoRA+ (Hayou et al., 2024a), which sets $\gamma[\eta_A] = -1$ , $\gamma[\eta_B] = 0$ . Similar to the analysis in Section 3.3, setting $\gamma[A_0] = -1$ and $\gamma[B_0] = 0$ can achieve the Robust LoRA defined in Theorem 1. Thus, non-zero initialization can also improve the robustness of LoRA+ in relation to the learning rate.
|
| 480 |
+
|
| 481 |
+
# C. Fine-Tuning Dynamics of LoRA with SGD
|
| 482 |
+
|
| 483 |
+
In this section, we examine the fine-tuning dynamics of LoRA using the SGD optimizer. For simplicity, we consider the model described in LoRA+ (Hayou et al., 2024a), which can be expressed as:
|
| 484 |
+
|
| 485 |
+
$$
|
| 486 |
+
f (x) = b a ^ {\top} x, \tag {22}
|
| 487 |
+
$$
|
| 488 |
+
|
| 489 |
+
where the pretrained weights are assumed to be zero, $x \in \mathbb{R}^n$ is the input vector, and $b \in \mathbb{R}, a \in \mathbb{R}^n$ are the LoRA weights. Additionally, we assume that the fine-tuning dataset consists of a single data point, $(x,y)$ , with $x = \Theta(1)$ . The objective is to minimize the loss function $\mathcal{L}(x) = \frac{1}{2} (f(x) - y)^2$ . The corresponding gradients are as follows:
|
| 490 |
+
|
| 491 |
+
$$
|
| 492 |
+
g _ {a} ^ {t} = b _ {t} \left(f _ {t} (x) - y\right) x, \quad g _ {b} ^ {t} = a _ {t} ^ {\top} x (f (x) - y). \tag {23}
|
| 493 |
+
$$
|
| 494 |
+
|
| 495 |
+
Using Lemmas 1 and 2, we have
|
| 496 |
+
|
| 497 |
+
$$
|
| 498 |
+
\gamma \left[ g _ {a} ^ {t} \right] = \gamma \left[ b ^ {t} \right], \quad \gamma \left[ g _ {b} ^ {t} \right] = \gamma \left[ a ^ {t} \right] + 1. \tag {24}
|
| 499 |
+
$$
|
| 500 |
+
|
| 501 |
+
Notably, the Adam optimizer guarantees that $g_{A} = \Theta(1)$ and $g_{B} = \Theta(1)$ through gradient normalization, whereas SGD does not ensure this. Let $U_{t} = f_{t}(x) - y$ . At step $t$ , the update of LoRA's output is given by:
|
| 502 |
+
|
| 503 |
+
$$
|
| 504 |
+
\Delta f _ {t} = f _ {t} (x) - f _ {t - 1} (x) = - \underbrace {\eta_ {a} b _ {t - 1} ^ {2} U _ {t - 1} \| x \| ^ {2}} _ {\delta_ {t} ^ {1}} - \underbrace {\eta_ {b} \left(a _ {t - 1} ^ {\top} x\right) ^ {2} U _ {t - 1}} _ {\delta_ {t} ^ {2}} + \underbrace {\eta_ {a} \eta_ {b} U _ {t - 1} ^ {2} b _ {t - 1} \left(a _ {t - 1} ^ {\top} x\right) \| x \| ^ {2}} _ {\delta_ {t} ^ {3}}. \tag {25}
|
| 505 |
+
$$
|
| 506 |
+
|
| 507 |
+
To ensure stability and efficiency as defined in Definitions 3 and 4, the following conditions must hold for $t > 1$ :
|
| 508 |
+
|
| 509 |
+
$$
|
| 510 |
+
\left\{ \begin{array}{l l} \gamma \left[ \delta_ {t} ^ {1} \right] = \gamma \left[ \eta_ {a} b _ {t - 1} ^ {2} U _ {t - 1} \| x \| ^ {2} \right] = \gamma \left[ \eta_ {a} \right] + 2 \gamma \left[ b _ {t - 1} \right] + 1 = 0 & \left(\delta_ {t} ^ {1} = \Theta (1)\right) \\ \gamma \left[ \delta_ {t} ^ {2} \right] = \gamma \left[ \eta_ {b} \left(a _ {t - 1} ^ {\top} x\right) ^ {2} U _ {t - 1} \right] = \gamma \left[ \eta_ {b} \right] + 2 \gamma \left[ a _ {t - 1} ^ {\top} \right] + 2 = 0 & \left(\delta_ {t} ^ {2} = \Theta (1)\right) \\ \gamma \left[ f _ {t - 1} (x) \right] = \gamma \left[ b _ {t - 1} a _ {t - 1} ^ {\top} x \right] = \gamma \left[ b _ {t - 1} \right] + \gamma \left[ a _ {t - 1} \right] + 1 = 0 & \left(f _ {t - 1} (x) = \Theta (1)\right) \end{array} \right. \tag {26}
|
| 511 |
+
$$
|
| 512 |
+
|
| 513 |
+
Further, we have the following relation:
|
| 514 |
+
|
| 515 |
+
$$
|
| 516 |
+
\gamma \left[ \delta_ {t} ^ {1} \right] + \gamma \left[ \delta_ {t} ^ {2} \right] - 2 \gamma \left[ f _ {t - 1} (x) \right] = \gamma \left[ \eta_ {a} \right] + \gamma \left[ \eta_ {b} \right] + 1 = 0, \tag {27}
|
| 517 |
+
$$
|
| 518 |
+
|
| 519 |
+
which is the same as the result obtained with the Adam optimizer. Using a uniform learning rate for both $a$ and $b$ , we have
|
| 520 |
+
|
| 521 |
+
$$
|
| 522 |
+
\left\{ \begin{array}{l} \gamma [ \eta_ {a} ] = \gamma [ \eta_ {b} ] = - \frac {1}{2}, \\ \gamma [ a _ {t - 1} ] = - \frac {3}{4}, \quad \gamma [ b _ {t - 1} ] = - \frac {1}{4}, \quad (t > 1). \end{array} \right. \tag {28}
|
| 523 |
+
$$
|
| 524 |
+
|
| 525 |
+
However, the values of $\gamma [a_0]$ and $\gamma [b_0]$ are unknown. Therefore, we take $a_1 = a_0 + \eta_a g_a^0$ and $b_{1} = b_{0} + \eta_{b}g_{b}^{0}$ , leading to
|
| 526 |
+
|
| 527 |
+
$$
|
| 528 |
+
\left\{ \begin{array}{l} \gamma [ a _ {1} ] = \max \left\{\gamma [ a _ {0} ], \gamma [ \eta_ {a} ] + \gamma [ g _ {a} ^ {0} ] \right\} = \max \left\{\gamma [ a _ {0} ], - \frac {1}{2} + \gamma [ b ^ {0} ] \right\} = - \frac {3}{4}, \\ \gamma [ b _ {1} ] = \max \left\{\gamma [ b _ {0} ], \gamma [ \eta_ {b} ] + \gamma [ g _ {b} ^ {0} ] \right\} = \max \left\{\gamma [ b _ {0} ], - \frac {1}{2} + \gamma [ a ^ {0} ] + 1 \right\} = - \frac {1}{4}. \end{array} \right. \tag {29}
|
| 529 |
+
$$
|
| 530 |
+
|
| 531 |
+
Solving this system of equations yields the following conditions:
|
| 532 |
+
|
| 533 |
+
$$
|
| 534 |
+
\left\{ \begin{array}{l} \gamma \left[ a _ {0} \right] \leq - \frac {3}{4}, \\ \gamma \left[ b _ {0} \right] \leq - \frac {1}{4}, \end{array} \right. \tag {30}
|
| 535 |
+
$$
|
| 536 |
+
|
| 537 |
+
where at least one of the inequalities must hold with equality. Notably, when both inequalities hold with equality, the conditions for robust LoRA, as defined in Theorem 1, are satisfied. Specifically, when $\gamma [a_0] = -\frac{3}{4}$ , and $\gamma [b_0] = -\frac{1}{4}$ , for all $\gamma [\eta_a] < -1/2$ , $\gamma [\eta_b] < -1/2$ , we have the following result:
|
| 538 |
+
|
| 539 |
+
$$
|
| 540 |
+
\left\{ \begin{array}{l} \gamma \left[ \delta_ {t} ^ {1} \right] = \gamma \left[ \eta_ {a} \right] + \frac {1}{2}, \\ \gamma \left[ \delta_ {t} ^ {2} \right] = \gamma \left[ \eta_ {b} \right] + \frac {1}{2}, \\ \gamma \left[ f _ {t - 1} (x) \right] = 0, \end{array} \right. \tag {31}
|
| 541 |
+
$$
|
| 542 |
+
|
| 543 |
+
where $\gamma[\delta_t^1]$ depends only on $\gamma[\eta_a]$ , $\gamma[\delta_t^2]$ depends only on $\gamma[\eta_b]$ , and $\gamma[f_{t-1}(x)]$ is independent of both $\gamma[\eta_a]$ and $\gamma[\eta_b]$ .
|
| 544 |
+
|
| 545 |
+
# D. Experimental Settings
|
| 546 |
+
|
| 547 |
+
# D.1. Toy Model
|
| 548 |
+
|
| 549 |
+
- Model and Dataset: The toy model used in Section 3.4 is defined as follows:
|
| 550 |
+
|
| 551 |
+
$$
|
| 552 |
+
f (X) = W _ {o u t} \mathcal {F} ((W _ {0} + B A) \mathcal {F} (W _ {i n} X)),
|
| 553 |
+
$$
|
| 554 |
+
|
| 555 |
+
where $X \in \mathbb{R}^d$ is the input data, $W_{in} \in \mathbb{R}^{n \times d}$ , $W_0 \in \mathbb{R}^{n \times n}$ , and $W_{out} \in \mathbb{R}^{10 \times n}$ are the pretrained weights, $A \in \mathbb{R}^{r \times n}$ and $B \in \mathbb{R}^{n \times r}$ are the LoRA weights, and $\mathcal{F}$ denotes the ReLU activation function(Glorot et al., 2011). The MNIST (Deng, 2012) and FashionMNIST (Xiao et al., 2017) datasets are used for pretraining and fine-tuning, with input images flattened into one-dimensional vectors. The model dimensions $(d, n, r)$ are set to (784, 4096, 32).
|
| 556 |
+
|
| 557 |
+
- Training Algorithm: Both pretraining and fine-tuning employ the AdamW optimizer (Loshchilov & Hutter, 2019), with $\beta_{1} = 0.9$ , $\beta_{2} = 0.999$ , $\epsilon = 1e - 8$ , and a weight decay of 0. The batch size is set to 64. During pretraining, the learning rate is set to $1e - 3$ , with 2000 training steps. During fine-tuning, the learning rate is tuned among the set $\{3e - 4, 4e - 4, 5e - 4, 6e - 4, 7e - 4, 8e - 4, 9e - 4, 1e - 3, 2e - 3, 3e - 3\}$ , with $W_{0}, W_{in}, W_{out}$ frozen. Each learning rate is trained for 100 steps. All experiments are conducted with 10 independent repetitions using different random seeds, and the final results are averaged over the test accuracy.
|
| 558 |
+
- Initialization Strategy: During pretraining, $W_0$ , $W_{in}$ , $W_{out}$ are initialized using Kaiming initialization (He et al., 2015). During fine-tuning, $A$ and $B$ are initialized with a Gaussian distribution, with mean 0 and standard deviations $\sigma_A$ and $\sigma_B$ , respectively. For Init [A], $\sigma_B$ is set to 0, and $\sigma_A$ is tuned among the set $\{2e - 5, 5e - 5, 8e - 5, 1e - 4, 4e - 4, 7e - 4, 1e - 3, 3e - 3, 6e - 3, 9e - 3, 2e - 2, 5e - 2\}$ . For Init [AB], $\sigma_A$ and $\sigma_B$ are kept equal, and both standard deviations are tuned among the same set. Note that the non-zero initialized $AB$ is not abstracted from $W_0$ .
|
| 559 |
+
|
| 560 |
+
# D.2. Experiments on Natural Language Understanding.
|
| 561 |
+
|
| 562 |
+
- Model and Dataset: T5-Base (Raffel et al., 2020), with sequence length $T = 128$ , is fine-tuned on several datasets from the GLUE benchmark (Wang et al., 2019), including MRPC, CoLA, SST-2, and QNLI.
|
| 563 |
+
- LoRA Hyperparameters: The rank is set to $r = 16$ and $\alpha = 16$ . LoRA is applied to the 'query' and 'value' weights, using full precision (FP32).
|
| 564 |
+
- Training Algorithm: AdamW (Loshchilov & Hutter, 2019) with $\beta_{1} = 0.9$ , $\beta_{2} = 0.999$ , $\epsilon = 1e - 8$ and weight decay of 0. The learning rate is tuned among the set $\{1e - 7, 3e - 7, 1e - 6, 3e - 6, 1e - 5, 3e - 5, 1e - 4, 3e - 4\}$ , a warmup ratio of 0.03 is employed. Number of train epochs $E = 1$ .
|
| 565 |
+
- Initialization Strategy: The initialization variance is set to $(\beta \sigma_k)^2$ , where $\sigma_k^2$ represent the variance of matrix $A$ under Kaiming initialization (i.e., $\sigma_k^2 = \frac{1}{n}$ ). $\beta$ is tuned among $\{1, 2, 4, 8, 16\}$ . For non-zero initialization, $B$ is initialized with the same variance as $A$ . By default, we subtract the non-zero initialized LoRA from the pretrained weights.
|
| 566 |
+
|
| 567 |
+
# D.3. Experiments on Natural Language Generation.
|
| 568 |
+
|
| 569 |
+
- Model and Dataset: Llama 3-8B (Dubey et al., 2024), with sequence length $T = 256$ , is fine-tuned on the commonsense reasoning and arithmetic reasoning benchmarks, as proposed in (Hu et al., 2023).
|
| 570 |
+
- LoRA Hyperparameters: The rank is set to $r = 16$ and $\alpha = 16$ . LoRA is applied to the 'q-Proj', 'k-Proj', 'v-Proj', 'up-Proj', and 'down-Proj' weights, using full precision (FP32).
|
| 571 |
+
- Training Algorithm: AdamW (Loshchilov & Hutter, 2019) with $\beta_{1} = 0.9$ , $\beta_{2} = 0.999$ , $\epsilon = 1e - 8$ and weight decay of 0. The learning rate is tuned among the set $\{3e - 7, 1e - 6, 3e - 6, 1e - 5, 3e - 5, 1e - 4, 3e - 4\}$ , a warmup ratio of 0.03 is employed, and linear decay are employed. Number of train epochs $E = 1$ .
|
| 572 |
+
- Initialization Strategy: The initialization variance is set to $(\beta \sigma_k)^2$ , where $\sigma_k^2$ represent the variance of matrix $A$ under Kaiming initialization. $\beta$ is tuned among $\{0.25, 0.5, 1, 2, 4\}$ . For non-zero initialization, $B$ is initialized with the same variance as $A$ . By default, we subtract the non-zero initialized LoRA from the pretrained weights.
|
| 573 |
+
|
| 574 |
+
# E. Additional Experimental Results
|
| 575 |
+
|
| 576 |
+
In Section 4, we present the accuracy heatmaps for Init[A] and Init[AB]-Init[A]. Here, we directly display the heatmaps for Init[AB], including for the T5-Base model, as shown in Figure 8, and for the Llama 3-8B model, as depicted in Figure 9. Additionally, we provide the accuracy gap between Init[AB+] and Init[AB] on the MRPC and CoLA datasets. As shown in Figure 10, there is no significant difference between Init[AB+] and Init[AB] under appropriate initialization variance. To verify the impact of non-zero initialization on LoRA+ (Hayou et al., 2024a), we compared the accuracy of Init[AB] and Init[A] under various settings. Figure 11 that non-zero initialization can also improve LoRA+βs robustness and accuracy.
|
| 577 |
+
|
| 578 |
+

|
| 579 |
+
Figure 8. Fine-tuning accuracy of T5-Base on the GLUE benchmark with non-zero initialization.
|
| 580 |
+
|
| 581 |
+

|
| 582 |
+
|
| 583 |
+

|
| 584 |
+
|
| 585 |
+

|
| 586 |
+
|
| 587 |
+

|
| 588 |
+
Figure 9. Fine-tuning accuracy of Llama 3-8B on the commonsense and arithmetic reasoning benchmarks with non-zero initialization.
|
| 589 |
+
|
| 590 |
+

|
| 591 |
+
Figure 10. Fine-tuning accuracy with different starting points. Init[AB+] denotes the variant which do not subtract non-zero initialized $A_0B_0$ from W, and Init[AB+]-Init[AB] indicates the accuracy gap between these two initialization strategies.
|
| 592 |
+
|
| 593 |
+

|
| 594 |
+
Figure 11. Experimental results with LoRA+. The hyperparameter $\lambda$ represents the value of $\eta_B / \eta_A$ (i.e., $\eta_A = \eta$ , $\eta_B = \lambda \eta$ ). Both Init[A] and Init[AB] use the initialization size of $\beta = 1$ , that is, $\sigma_A^2 = \sigma_B^2 = 1/n$ , where $n$ is the network width.
|
| 595 |
+
|
| 596 |
+

|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2f0d38a5d0593ba22b52524d082da7ce29afe15c5cfb390d5c5a014d840518d
|
| 3 |
+
size 942982
|
2025/Beyond Zero Initialization_ Investigating the Impact of Non-Zero Initialization on LoRA Fine-Tuning Dynamics/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/37b9cc0d-806d-4c07-8dae-3066093d0e30_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55c8bff475025124faedaceeb89e7371a2bea49e6a6b9339171db1dfcbab67a1
|
| 3 |
+
size 1308678
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/full.md
ADDED
|
@@ -0,0 +1,518 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Beyond the Permutation Symmetry of Transformers: The Role of Rotation for Model Fusion
|
| 2 |
+
|
| 3 |
+
Binchi Zhang\*1 Zaiyi Zheng\*1 Zhengzhang Chen 2 Jundong Li
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Symmetry in the parameter space of deep neural networks (DNNs) has proven beneficial for various deep learning applications. A well-known example is the permutation symmetry in MultiLayer Perceptrons (MLPs), where permuting the rows of weight matrices in one layer and applying the inverse permutation to adjacent layers yields a functionally equivalent model. While permutation symmetry fully characterizes the equivalence set for MLPs, its discrete nature limits its utility for transformers. In this paper, we introduce rotation symmetry, a novel form of parameter space symmetry for transformers that generalizes permutation symmetry by rotating parameter matrices in self-attention layers. Unlike permutation symmetry, rotation symmetry operates in a continuous domain, thereby significantly expanding the equivalence set for transformers. Based on this property, we propose a theoretically optimal parameter matching algorithm as a plug-and-play module to enhance model fusion. We evaluate our approach using pre-trained transformers across diverse natural language and vision tasks. Experimental results demonstrate that our rotation symmetry-based matching algorithm substantially improves model fusion, highlighting the potential of parameter space symmetry to facilitate model fusion. Our code is available on https://github.com/zhengzaiyi/RotationSymmetry.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Parameter space symmetry is an intriguing property of neural networks that has garnered increasing attention in recent years (Du et al., 2018; Armenta & Jodoin, 2021; Kunin et al.,
|
| 12 |
+
|
| 13 |
+
*Equal contribution $^{1}$ University of Virginia $^{2}$ NEC Laboratories America. Correspondence to: Jundong Li <jundong@virginia.edu>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 16 |
+
|
| 17 |
+
2021; Simsek et al., 2021; Entezari et al., 2022; Grigsby et al., 2023; Lim et al., 2024b; Ziyin et al., 2024; 2025). One of the most studied forms of parameter space symmetry is permutation symmetry (Ainsworth et al., 2023; Entezari et al., 2022). For instance, in a two-layer MLP, permuting the rows of the weight matrix in the first layer and applying the corresponding inverse permutation to the second layer results in a functionally equivalent model, i.e., the outputs of the original and permuted models remain identical for any given input (Ainsworth et al., 2023). All functionally equivalent models corresponding to weight permutations form an equivalence set, which provides theoretical insights into neural network optimization, such as the linear mode connectivity of loss landscapes (Entezari et al., 2022; Zhou et al., 2023c; Ferbach et al., 2024). In addition, permutation symmetry has also proven helpful in advancing neural network applications, such as model fusion (Singh & Jaggi, 2020; Ainsworth et al., 2023) and optimization (Zhao et al., 2024; Zamir et al., 2025).
|
| 18 |
+
|
| 19 |
+
Although parameter space symmetry has been extensively studied in classical neural network architectures, such as MLPs and CNNs, the understanding of its application in transformers (Vaswani et al., 2017) remains limited. Transformers have seen rapid advancements in recent years, achieving remarkable success in a wide range of applications (Yun et al., 2019; Lewis et al., 2020; Raffel et al., 2020; Clark et al., 2020; Zhou et al., 2021; He et al., 2024; Zhu et al., 2024; Zheng et al., 2024; Zhang et al., 2025; Wei & Liu, 2025). The transformer architecture is built upon two primary submodules: feedforward networks and self-attention layers. The feedforward network, which is structurally similar to MLPs, naturally inherits the permutation symmetry that has been extensively studied in the existing literature. Self-attention layers, on the other hand, involve a unique attention mechanism powered by matrix products of queries, keys, and values, which introduce additional potentials for symmetry beyond permutations. Permutation symmetries limit the equivalence set of neural networks to discrete operations, which aligns well with MLPs due to their element-wise activations (e.g., ReLU (Glorot et al., 2011)). In contrast, the continuous nature of the matrix operations in self-attention layers necessitates more flexible operations to fully characterize their equivalence set.
|
| 20 |
+
|
| 21 |
+
In this paper, we introduce rotation symmetry, a novel form of parameter space symmetry for self-attention layers in transformers. Specifically, we analyze the query and key matrices jointly and demonstrate that applying a rotation to the query matrix, followed by the corresponding inverse rotation to the key matrix, preserves the query-key product. Additionally, we find that the same rotation rule can be applied to the value and output matrices. Our findings provide novel insights into the functional invariance of the attention mechanism and extend the permutation symmetry (Singh & Jaggi, 2020; Wang et al., 2020; Tatro et al., 2020; Entezari et al., 2022; Ainsworth et al., 2023; Imfeld et al., 2024) from discrete spaces to continuous spaces, which significantly extends the scope of parameter space symmetries for transformers.
|
| 22 |
+
|
| 23 |
+
To further demonstrate the benefits of rotation symmetry for transformers, we explore its utility in model fusion. The goal of model fusion is to merge multiple well-trained end models in the parameter space to produce a single merged model with improved overall utility. Model fusion is widely adopted across various settings, such as hyperparameter tuning (where end models are trained on the same benchmark) and multi-task learning (where end models are trained with different tasks) (Jin et al., 2023). Unlike ensemble learning (Dietterich, 2000; Lakshminarayanan et al., 2017; Sagi & Rokach, 2018; Dong et al., 2020), model fusion can work in a data-agnostic manner, making it suitable for privacy-sensitive scenarios such as federated learning (Yurochkin et al., 2019; Wang et al., 2020).
|
| 24 |
+
|
| 25 |
+
The existing literature has demonstrated that the performance of model fusion is closely tied to the distance between the end models (Wortsman et al., 2022). Inspired by this finding, we propose a parameter matching algorithm that selects functionally equivalent end models from the equivalence class determined by rotation symmetry. This approach ensures that the selected representative models are closer in parameter space, resulting in a smaller inner distance. To achieve this, we formulate the problem of parameter matching as an optimization problem with orthogonal constraints. Leveraging the continuous nature of rotation symmetry, we propose a closed-form solution to this problem. Our parameter matching algorithm is highly efficient, easy to implement, and can be seamlessly incorporated as a plug-and-play module for model fusion. To evaluate its effectiveness, we conduct extensive experiments with pre-trained transformers on real-world NLP and vision tasks. The experimental results demonstrate that incorporating rotation symmetry into parameter matching improves model fusion effectively and efficiently. Furthermore, additional experiments reveal that even matching a subset of parameters can lead to notable performance improvements, highlighting the practical utility of our approach. Our contributions are threefold:
|
| 26 |
+
|
| 27 |
+
- We introduce a novel rotation symmetry for the attention mechanism in transformers, extending the concept of symmetry to a continuous space.
|
| 28 |
+
- Building on rotation symmetry, we propose a theoretically optimal parameter matching algorithm that improves the effectiveness of model fusion in transformers.
|
| 29 |
+
- Through extensive experiments, we validate the efficacy of our proposed parameter matching algorithm, demonstrating its potential to advance model fusion through parameter space symmetry.
|
| 30 |
+
|
| 31 |
+
# 2. Preliminaries
|
| 32 |
+
|
| 33 |
+
To facilitate further discussion, we begin by defining the notations. Let $\mathbf{A}[i,:], \mathbf{A}(:, j]$ , and $\mathbf{A}[i,j]$ denote the $i$ -th row vector, the $j$ -th column vector, and the $(i,j)$ -th element of the matrix $\mathbf{A}$ , respectively. Additionally, let $\mathbf{1}$ denote an all-ones vector. We now illustrate the concept of permutation symmetry in neural networks, using an MLP as an example. Consider an $L$ -layer MLP model defined as:
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
f _ {\boldsymbol {W}} (\boldsymbol {X}) = \boldsymbol {Z} ^ {(L)}, \boldsymbol {Z} ^ {(l)} = \sigma \left(\boldsymbol {Z} ^ {(l - 1)} \left(\boldsymbol {W} ^ {(l)}\right) ^ {\top} + \boldsymbol {b} ^ {(l)}\right), \tag {1}
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
where $Z^{(0)} = X$ is the input feature matrix, $\pmb{b}^{(l)}$ is the bias vector $(\pmb{b}^{(l)})$ is a row vector and can be seen as broadcast over all rows in Equation (1)), $\pmb{W} = \{\pmb{W}^{(l)},\pmb{b}^{(l)}\}_{l = 1,\dots,L}$ collects all learnable parameters, and $\sigma (\cdot)$ stands for a nonlinear activation function, such as ReLU (Nair & Hinton, 2010). A loss function $\mathcal{L}(f_W(\pmb {X}),\pmb {Y})$ is used to measure the distance between the model prediction and the ground truth label $\pmb{Y}$ .
|
| 40 |
+
|
| 41 |
+
To analyze the permutation symmetry in the MLP model, let $P \in \mathcal{P}$ be a permutation matrix, where $P[i,j] \in \{0,1\}$ and $P[i,:]\mathbf{1} = P(:,j]^{\top}\mathbf{1} = 1$ for any $i,j$ . All permutation matrices are orthogonal (Strang, 1976), satisfying $P^{\top} = P^{-1}$ . Consequently, for layer $l$ and $l + 1$ , we have:
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\begin{array}{l} \boldsymbol {Z} ^ {(l + 1)} = \sigma \left(\sigma (\boldsymbol {Z} ^ {(l - 1)} (\boldsymbol {W} ^ {(l)}) ^ {\top} + \boldsymbol {b} ^ {(l)}) (\boldsymbol {W} ^ {(l + 1)}) ^ {\top} + \boldsymbol {b} ^ {(l + 1)}\right) \\ = \sigma \left(\sigma \left(\boldsymbol {Z} ^ {(l - 1)} \left(\boldsymbol {P} ^ {\top} \boldsymbol {W} ^ {(l)}\right) ^ {\top} + \boldsymbol {b} ^ {(l)} \boldsymbol {P}\right) \left(\boldsymbol {W} ^ {(l + 1)} \boldsymbol {P}\right) ^ {\top} + \boldsymbol {b} ^ {(l + 1)}\right). \tag {2} \\ \end{array}
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
The third equal sign holds because the element-wise activation function $\sigma$ is decoupled from column permutation (i.e., being multiplied by $P$ ). Based on Equation (2), it follows that for layers $l$ and $l + 1$ , the mappings $W^{(l)} \to P^{\top}W^{(l)}$ , $b^{(l)} \to b^{(l)}P$ , $W^{(l + 1)} \to W^{(l + 1)}P$ preserves the output $Z^{(l + 1)}$ for any input $Z^{(l - 1)}$ . For each pair of adjacent layers, a similar mapping exists independently based on a specific permutation matrix, denoted as $P^{(l)}$ for layers $l$ and $l + 1$ . Consequently, for the entire $L$ -layer MLP, there exists a mapping that preserves the model's predictions for any input $X$ : $W^{(l)} \to (P^{(l)})^{\top}W^{(l)}P^{(l - 1)}$ , $b^{(l)} \to b^{(l)}P^{(l)}$ . Equivalently, if we define $W' = \{(P^{(l)})^{\top}W^{(l)}P^{(l - 1)}, b^{(l)}P^{(l)}\}_{l = 1,\dots,L}$ for any $P^{(l)} \in \mathcal{P}$
|
| 48 |
+
|
| 49 |
+
$(l = 1,\dots ,L - 1)$ and $\pmb{P}^{(0)} = \pmb{P}^{(L)} = \pmb{I}$ , then we have $f_{W^{\prime}}(\pmb {X}) = f_{\pmb{W}}(\pmb {X})$ for any $\pmb{X}$ . This phenomenon is referred to as the permutation symmetry of the parameter space (Godfrey et al., 2022; Hecht-Nielsen, 1990; Navon et al., 2023; Rossi et al., 2023; Simsek et al., 2021). Leveraging permutation symmetry allows us to identify an equivalence class of functionally equivalent model parameters, which is known as permutation invariance (Ainsworth et al., 2023; Entezari et al., 2022; Lubana et al., 2023). We denote the equivalence relation induced by permutation invariance as $\pi$ , where, for example, $\pmb{W}^{\prime} = \pi (\pmb {W})$ represents the equivalence between the original parameters $\pmb{W}$ and the permuted parameters $\pmb{W}^{\prime}$ .
|
| 50 |
+
|
| 51 |
+
# 3. Parameter Space Symmetry of Transformers
|
| 52 |
+
|
| 53 |
+
Transformers (Vaswani et al., 2017) have revolutionized deep learning with their ability to handle sequential data effectively, particularly in natural language processing (NLP) and other fields (Brown et al., 2020; Devlin et al., 2019; Liu et al., 2021; Radford et al., 2021). Their success is primarily driven by two key components<sup>1</sup>: feedforward networks and self-attention layers (Vaswani et al., 2017). To better understand the parameter space symmetry of transformers, we examine these two core modules individually in the following sections.
|
| 54 |
+
|
| 55 |
+
# 3.1. Permutation Symmetry of Feedforward Networks
|
| 56 |
+
|
| 57 |
+
We first look at the feedforward networks. The feedforward network adopted in the transformer blocks is a two-layer MLP model which can be written as
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
F F N (\boldsymbol {X}) = L N (R e L U (\boldsymbol {X} \boldsymbol {W} _ {i} ^ {\top} + \boldsymbol {b} _ {i}) \boldsymbol {W} _ {o} ^ {\top} + \boldsymbol {b} _ {o} + \boldsymbol {X}), \tag {3}
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $LN$ denotes the Layer Normalization operator (Ba et al., 2016). Different from (Vaswani et al., 2017), we include the residual connection (He et al., 2016) and layer normalization modules into the formula of the feedforward network (and the self-attention layer mentioned later). According to Equation (2) and the analysis in Preliminaries, the feedforward networks have the permutation symmetry property and the equivalence class determined by permutation invariance is defined as
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\boldsymbol {W} _ {i} \rightarrow \boldsymbol {P} ^ {\top} \boldsymbol {W} _ {i}, \boldsymbol {b} _ {i} \rightarrow \boldsymbol {b} _ {i} \boldsymbol {P}, \boldsymbol {W} _ {o} \rightarrow \boldsymbol {W} _ {o} \boldsymbol {P}, \boldsymbol {b} _ {o} \rightarrow \boldsymbol {b} _ {o}, \tag {4}
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $P \in \mathcal{P}$ is a permutation matrix. It is worth noting that the permutations of different feedforward networks in a transformer are independent due to the scalable modular design. Consequently, we are able to flexibly compute the permutation invariance equivalence class of each $FFN$ module in a transformer model.
|
| 70 |
+
|
| 71 |
+
# 3.2. Rotation Symmetry of Self-attention Layers
|
| 72 |
+
|
| 73 |
+
We then focus on the self-attention layers. In this paper, we introduce the rotation symmetry of self-attention layers. For MLPs, we have to switch the order of multiplying $P$ and passing the activation function $\sigma$ (the third equal sign in Equation (2)), requiring the matrix $P$ to be a permutation matrix. In contrast, the self-attention layer does not contain an element-wise activation function, enabling a wider range of the matrix $P$ in self-attention layers. The self-attention layer can be written as
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
A T T N (\boldsymbol {X}) = L N \left(C a t _ {h = 1} ^ {H} \left\{\boldsymbol {X} _ {Q K V} ^ {h} \right\} \boldsymbol {W} _ {O} ^ {\top} + \boldsymbol {b} _ {O} + \boldsymbol {X}\right),
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\boldsymbol {X} _ {Q K V} ^ {h} = S f t m x \left(\boldsymbol {X} _ {Q} ^ {h} \left(\boldsymbol {X} _ {K} ^ {h}\right) ^ {\top} / \sqrt {d _ {k}}\right) \cdot \boldsymbol {X} _ {V} ^ {h},
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
where $Cat$ stands for the operator concatenating the outputs of multi-head attention, $Sftmx(\cdot)$ denotes the softmax operator, $H$ denotes the number of multi-heads, and the subscripts $Q$ , $K$ , $V$ , and $O$ denote Query, Key, Value, and Output, respectively.
|
| 84 |
+
|
| 85 |
+
We first transform the query and key matrices as
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\begin{array}{l} \boldsymbol {X} _ {Q} ^ {h} \left(\boldsymbol {X} _ {K} ^ {h}\right) ^ {\top} = \left(\boldsymbol {X} \left(\boldsymbol {W} _ {Q} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {Q} ^ {h}\right) \left(\boldsymbol {X} \left(\boldsymbol {W} _ {K} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {K} ^ {h}\right) ^ {\top} \\ = \left(\boldsymbol {X} \left(\boldsymbol {W} _ {Q} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {Q} ^ {h}\right) \boldsymbol {R R} ^ {\top} \left(\boldsymbol {X} \left(\boldsymbol {W} _ {K} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {K} ^ {h}\right) ^ {\top} \\ = \left(\boldsymbol {X} \left(\boldsymbol {R} ^ {\top} \boldsymbol {W} _ {Q} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {Q} ^ {h} \boldsymbol {R}\right) \left(\boldsymbol {X} \left(\boldsymbol {R} ^ {\top} \boldsymbol {W} _ {K} ^ {h}\right) ^ {\top} + \boldsymbol {b} _ {K} ^ {h} \boldsymbol {R}\right) ^ {\top}, \\ \end{array}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where $\pmb{R}$ is a rotation matrix, i.e., $\pmb{RR}^{\top} = \pmb{I}$ . It is worth noting that each multi-head corresponds to a specific rotation matrix $\pmb{R}$ . Let $\pmb{W}_{O} = [\pmb{W}_{O}^{1}\pmb{W}_{O}^{2}\dots \pmb{W}_{O}^{H}]$ and we then rewrite the concatenating operation (with the product by $\pmb{W}_{O}$ ) as $\sum_{h=1}^{H}S(\cdots)(\pmb{X}(\pmb{W}_{V}^{h})^{\top} + \pmb{b}_{V}^{h})(\pmb{W}_{O}^{h})^{\top}$ . Similar to the Q-K case, we can transform the value and output matrices as $(\pmb{X}(\pmb{W}_{V}^{h})^{\top} + \pmb{b}_{V}^{h})(\pmb{W}_{O}^{h})^{\top} = (\pmb{X}(\pmb{W}_{V}^{h})^{\top} + \pmb{b}_{V}^{h})\pmb{R}\pmb{R}^{\top}(\pmb{W}_{O}^{h})^{\top} = (\pmb{X}(\pmb{R}^{\top}\pmb{W}_{V}^{h})^{\top} + \pmb{b}_{V}^{h}\pmb{R})(\pmb{W}_{O}^{h}\pmb{R})^{\top}$ for each multi-head $h$ , where $\pmb{R}$ is a rotation matrix. Finally, we derive an equivalence class of the parameters in a self-attention layer determined by rotation invariance as
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\boldsymbol {W} _ {Q} ^ {h} \rightarrow \left(\boldsymbol {R} _ {q k} ^ {h}\right) ^ {\top} \boldsymbol {W} _ {Q} ^ {h}, \boldsymbol {b} _ {Q} ^ {h} \rightarrow \boldsymbol {b} _ {Q} ^ {h} \boldsymbol {R} _ {q k} ^ {h},
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\boldsymbol {W} _ {K} ^ {h} \rightarrow (\boldsymbol {R} _ {q k} ^ {h}) ^ {\top} \boldsymbol {W} _ {K} ^ {h}, \boldsymbol {b} _ {K} ^ {h} \rightarrow \boldsymbol {b} _ {K} ^ {h} \boldsymbol {R} _ {q k} ^ {h}, \boldsymbol {W} _ {V} ^ {h} \rightarrow (\boldsymbol {R} _ {v o} ^ {h}) ^ {\top} \boldsymbol {W} _ {V} ^ {h},
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\boldsymbol {b} _ {V} ^ {h} \rightarrow \boldsymbol {b} _ {V} ^ {h} \boldsymbol {R} _ {v o} ^ {h}, \boldsymbol {W} _ {O} ^ {h} \rightarrow \boldsymbol {W} _ {O} ^ {h} \boldsymbol {R} _ {v o} ^ {h}, \boldsymbol {b} _ {O} \rightarrow \boldsymbol {b} _ {O}, \tag {5}
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
where $\pmb{R}_{qk}^{h}$ and $\pmb{R}_{vo}^{h}$ are rotation matrices for $h = 1, \dots, H$ . The progress from permutation to rotation extends the symmetry of transformers to a continuous space and enhances our understanding of the parameter space symmetry of attention mechanism. The denseness of the symmetry allows for the choice of better invariant models to analyze transformers' loss landscapes. For better clarity, we provide an intuitive illustration of the rotation symmetry in Figure 1.
|
| 106 |
+
|
| 107 |
+
# 4. Symmetry for Model Fusion
|
| 108 |
+
|
| 109 |
+
In this section, we explore the benefit of the rotation symmetry of transformers in model fusion (Li et al., 2023; Matena
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 1. The rotation symmetry of self-attention layers.
|
| 113 |
+
|
| 114 |
+
& Raffel, 2022; Wortsman et al., 2022; Yadav et al., 2023; Jin et al., 2023; Daheim et al., 2024; Yang et al., 2024). Model fusion is proposed to merge multiple given end models trained in different settings (e.g., upon different datasets and hyperparameter settings) in the parameter space to improve model utility and robustness. Compared with ensemble learning (Dietterich, 2000; Sagi & Rokach, 2018; Lakshminarayanan et al., 2017), model fusion has a lower inference-stage complexity without requiring access to the training data. Most existing methods of model fusion conduct a weighted averaging of different end models, e.g., direct averaging (Wortsman et al., 2022), Fisher-weighted averaging (Matena & Raffel, 2022), and regression-mean averaging (Jin et al., 2023). We next show the potential of exploiting the permutation and rotation symmetry as a plug-and-play module to improve the model fusion techniques.
|
| 115 |
+
|
| 116 |
+
# 4.1. Background and Motivation
|
| 117 |
+
|
| 118 |
+
Let $W_{1}, \ldots, W_{k}$ denote $k$ different end models (after training or pre-training) with the same architecture. The goal of model fusion is to merge the given $k$ end models in the parameter space and obtain a single model. If the given models are trained over different datasets, we can expect the merged model to have better utility and out-of-distribution robustness (Jin et al., 2023). The theoretical results in previous literature (Wortsman et al., 2022) have shown that strong convexity and closer end models can boost the utility of direct model fusion. Consequently, the primary advantage of permutation (and rotation) symmetry applying to model fusion is that we can substitute the end models with corresponding carefully chosen equivalent models (in the equivalence class determined by permutation and rotation invariance) to make the selected end models more concentrated, i.e., closer to each other. This step is usually called parameter matching (Singh & Jaggi, 2020; Wang et al., 2020; Ainsworth et al., 2023), aka parameter or neuron alignment. Parameter matching, which aims to reduce the distance between end models, can naturally yield closer end models and improve model fusion performance. On the other hand, different end models can lie in the basins of different local optimums regarding the highly non-convex nature of transformers. Previous studies have verified that parameter matching can merge different end models toward a single low-loss basin, i.e., the loss value along the linear interpolation between matched models shows an approxi
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
Figure 2. An intuitive example of the usage of parameter space symmetry for model fusion. The background shows the contour map of the loss landscape in the model parameter space. A and B are the original end models to be merged, AB is the result of naive model fusion, and AB' is the result of model fusion with parameter matching.
|
| 122 |
+
|
| 123 |
+
mately flat or convex curve (Entezari et al., 2022; Ainsworth et al., 2023). This property is called linear mode connectivity and is regarded as a weak form of convexity (Ainsworth et al., 2023). As a result, parameter matching can also help improve the convexity of the objective in the area adjacent to the end models. We showcase an intuitive example of using parameter space symmetry to improve model fusion in Figure 2 to illustrate the intuition behind parameter matching. We can observe that the merged model after parameter matching (AB') has a lower loss value, i.e., better utility than the naive merged model (AB).
|
| 124 |
+
|
| 125 |
+
# 4.2. Parameter Matching
|
| 126 |
+
|
| 127 |
+
Next, our primary goal is to develop a practical parameter matching algorithm to minimize the distance between different end models. We begin by merging two models $\mathbf{W}_1$ and $\mathbf{W}_2$ .
|
| 128 |
+
|
| 129 |
+
Matching two FFNs. Let $\{W_{i_k}, b_{i_k}, W_{o_k}, b_{o_k}\}_{k=1,2}$ denote the model parameters in the two feedforward networks to be merged where $k$ denotes the index of the networks. We have already derived the equivalence relation of parameters in the feedforward networks determined by permutation invariance as Equation (4). Based on Equation (4), we can formulate parameter matching as an optimization problem as follows.
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
\begin{array}{l} \operatorname {a r g m i n} _ {\boldsymbol {P} _ {1}, \boldsymbol {P} _ {2} \in S} \| \boldsymbol {P} _ {1} ^ {\top} \boldsymbol {W} _ {i _ {1}} - \boldsymbol {P} _ {2} ^ {\top} \boldsymbol {W} _ {i _ {2}} \| _ {F} ^ {2} \\ + \left\| \boldsymbol {b} _ {i _ {1}} \boldsymbol {P} _ {1} - \boldsymbol {b} _ {i _ {2}} \boldsymbol {P} _ {2} \right\| _ {F} ^ {2} + \left\| \boldsymbol {W} _ {o _ {1}} \boldsymbol {P} _ {1} - \boldsymbol {W} _ {o _ {2}} \boldsymbol {P} _ {2} \right\| _ {F} ^ {2}. \\ \end{array}
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
As shown in Equation (6), the goal is to find the functionally equivalent models from the equivalence classes $\pi(W_1)$ and $\pi(W_2)$ determined by $P_1$ and $P_2$ , which has the smallest $\ell-2$ distance in the parameter space. Following the method (Ainsworth et al., 2023), we reformulate the optimization problem shown in Equation (6) as a linear assignment problem:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\operatorname {a r g m a x} _ {\boldsymbol {P} \in \mathcal {S}} \left\langle \boldsymbol {P}, \boldsymbol {W} _ {i _ {1}} \boldsymbol {W} _ {i _ {2}} ^ {\top} + \boldsymbol {b} _ {i _ {1}} ^ {\top} \boldsymbol {b} _ {i _ {2}} + \boldsymbol {W} _ {o _ {1}} ^ {\top} \boldsymbol {W} _ {o _ {2}} \right\rangle_ {F}. \tag {7}
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
Linear assignment problems such as Equation (7) have been well-studied in previous literature (Martello & Toth, 1987; Burkard & Cela, 1999) and can be solved precisely by Hungarian Algorithm (Martello & Toth, 1987). After calculating the value of $P$ , we substitute $P = P_{1}P_{2}^{-1}$ back to Equation (4) and let $P_{2} = I$ (for simplicity), then we obtain the matched parameter as $W_{i_1} \rightarrow P^\top W_{i_1}$ , $b_{i_1} \rightarrow b_{i_1}P$ , $W_{o_1} \rightarrow W_{o_1}P$ , $b_{o_1} \rightarrow b_{o_1}$ . Parameters of the second model $\{W_{i_2}, b_{i_2}, W_{o_2}, b_{o_2}\}$ remain unchanged, which makes the second model an anchor model for matching.
|
| 142 |
+
|
| 143 |
+
Matching two ATTNs. Let the parameters in the two self-attention layers to be merged be $\{W_{Q_k}^i, b_{Q_k}^i, W_{K_k}^i, b_{K_k}^i, W_{V_k}^i, b_{V_k}^i, W_{O_k}^i, b_{O_k}^i\}_{k=1,2;i=1\dots H}$ where $k$ denotes the index of the layers. The equivalence relation of these parameters in the self-attention layers in terms of rotation invariance is shown in Equation (5). Similar to matching FFNs, our goal is to match the parameters of one (source) attention layer to the other (target) attention layer where the matched parameters are supposed to be closest to the target parameters while being functionally equivalent when feeding with any input data, i.e., in the equivalence class determined by rotation invariance. The goal can be formulated as an optimization problem.
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\begin{array}{l} \min _ {\boldsymbol {R} _ {q k} ^ {h}, \boldsymbol {R} _ {v o} ^ {h} \in \mathcal {R}} \left\| \left[ \begin{array}{c c} (\boldsymbol {W} _ {Q _ {1}} ^ {h}) ^ {\top} & (\boldsymbol {W} _ {Q _ {2}} ^ {h}) ^ {\top} \\ \boldsymbol {b} _ {Q _ {1}} ^ {h} & \boldsymbol {b} _ {Q _ {2}} ^ {h} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {q k 1} ^ {h} \\ - \boldsymbol {R} _ {q k 2} ^ {h} \end{array} \right] \right\| _ {F} ^ {2} \\ + \left\| \left[ \begin{array}{c c} \left(\boldsymbol {W} _ {K _ {1}} ^ {h}\right) ^ {\top} & \left(\boldsymbol {W} _ {K _ {2}} ^ {h}\right) ^ {\top} \\ \boldsymbol {b} _ {K _ {1}} ^ {h} & \boldsymbol {b} _ {K _ {2}} ^ {h} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {q k 1} ^ {h} \\ - \boldsymbol {R} _ {q k 2} ^ {h} \end{array} \right] \right\| _ {F} ^ {2} \tag {8} \\ + \left\| \left[ \begin{array}{c c} (\boldsymbol {W} _ {V _ {1}} ^ {h}) ^ {\top} & (\boldsymbol {W} _ {V _ {2}} ^ {h}) ^ {\top} \\ \boldsymbol {b} _ {V _ {1}} ^ {h} & \boldsymbol {b} _ {V _ {2}} ^ {h} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {v o 1} ^ {h} \\ - \boldsymbol {R} _ {v o 2} ^ {h} \end{array} \right] \right\| _ {F} ^ {2} \\ + \left\| \left[ \begin{array}{c c} \boldsymbol {W} _ {O _ {1}} ^ {h} & \boldsymbol {W} _ {O _ {2}} ^ {h} \\ \boldsymbol {0} & \boldsymbol {0} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {v o 1} ^ {h} \\ - \boldsymbol {R} _ {v o 2} ^ {h} \end{array} \right] \right\| _ {F} ^ {2}, \\ \end{array}
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
where $\mathcal{R}$ denotes the set of rotation matrices. To solve this problem, we divide Equation (8) into two separate optimization problems (the first line in terms of $R_{qk1}^{h}, R_{qk2}^{h}$ as the first objective and the second line in terms of $R_{vo1}^{h}, R_{vo2}^{h}$ as the second objective). Considering the similar formulation of these two optimization problems, in this paper, we propose the following theorem to solve both problems.
|
| 150 |
+
|
| 151 |
+
Theorem 4.1. The following optimization problem has a closed-form solution.
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
\begin{array}{l} \min _ {\boldsymbol {R} _ {1}, \boldsymbol {R} _ {2} \in \mathcal {R}} \left\| \left[ \begin{array}{c c} \boldsymbol {W} _ {Q _ {1}} ^ {\top} & \boldsymbol {W} _ {Q _ {2}} ^ {\top} \\ \boldsymbol {b} _ {Q _ {1}} & \boldsymbol {b} _ {Q _ {2}} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {1} \\ - \boldsymbol {R} _ {2} \end{array} \right] \right\| _ {F} ^ {2} \tag {9} \\ + \left\| \left[ \begin{array}{c c} \boldsymbol {W} _ {K _ {1}} ^ {\top} & \boldsymbol {W} _ {K _ {2}} ^ {\top} \\ \boldsymbol {b} _ {K _ {1}} & \boldsymbol {b} _ {K _ {2}} \end{array} \right] \left[ \begin{array}{c} \boldsymbol {R} _ {1} \\ - \boldsymbol {R} _ {2} \end{array} \right] \right\| _ {F} ^ {2}. \\ \end{array}
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
The solution is given by
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\boldsymbol {R} _ {1} = \boldsymbol {U} \boldsymbol {V} ^ {\top}, \boldsymbol {R} _ {2} = \boldsymbol {I}, \tag {10}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
Algorithm 1 Matching two self-attention layers.
|
| 164 |
+
|
| 165 |
+
Input: Model parameters of the attention layers $\{W_{Q_k}^h, b_{Q_k}^h, W_{K_k}^h, b_{K_k}^h, W_{V_k}^h, b_{V_k}^h, W_{O_k}^h, b_{O_k}^h\}_{k = 1,2; h = 1,\dots,H}$
|
| 166 |
+
|
| 167 |
+
Output: The optimally matched parameters from source parameters $(k = 1)$ to anchor parameters $(k = 2$ , maintain unchanged).
|
| 168 |
+
|
| 169 |
+
1: QK solution: $\pmb{R}_{qk1}^{h} = \pmb{U}_{qk}^{h}(\pmb{V}_{qk}^{h})^{\top},\pmb{R}_{qk2}^{h} = \pmb{I}$ , where $\pmb{U}_{qk}^{h}\pmb{\Sigma}_{qk}^{h}(\pmb{V}_{qk}^{h})^{\top} = \pmb{W}_{Q_{1}}^{h}(\pmb{W}_{Q_{2}}^{h})^{\top} + \pmb{W}_{K_{1}}^{h}(\pmb{W}_{K_{2}}^{h})^{\top} + (\pmb{b}_{Q_{1}}^{h})^{\top}\pmb{b}_{Q_{2}}^{h} + (\pmb{b}_{K_{1}}^{h})^{\top}\pmb{b}_{K_{2}}^{h}$ .
|
| 170 |
+
2: QK matching: $\pmb{W}_{Q_1}^h \rightarrow (\pmb{R}_{qk1}^h)^\top \pmb{W}_{Q_1}^h$ , $\pmb{W}_{K_1}^h \rightarrow (\pmb{R}_{qk1}^h)^\top \pmb{W}_{K_1}^h$ , $\pmb{b}_{Q_1}^h \rightarrow \pmb{b}_{Q_1}^h \pmb{R}_{qk1}^h$ , $\pmb{b}_{K_1}^h \rightarrow \pmb{b}_{K_1}^h \pmb{R}_{qk1}^h$ .
|
| 171 |
+
3: VO solution: $\pmb{R}_{vo1}^{h} = \pmb{U}_{vo}^{h}(\pmb{V}_{vo}^{h})^{\top},\pmb{R}_{vo2}^{h} = \pmb{I}$ , where $\pmb{U}_{vo}^{h}\pmb{\Sigma}_{vo}^{h}(\pmb{V}_{vo}^{h})^{\top} = \pmb{W}_{V_{1}}^{h}(\pmb{W}_{V_{2}}^{h})^{\top} + (\pmb{W}_{O_{1}}^{h})^{\top}\pmb{W}_{O_{2}}^{h} + (\pmb{b}_{V_{1}}^{h})^{\top}\pmb{b}_{V_{2}}^{h}$ .
|
| 172 |
+
4: VO matching: $\pmb{W}_{V_1}^h \rightarrow (\pmb{R}_{vo1}^h)^\top \pmb{W}_{V_1}^h$ , $\pmb{W}_{O_1}^h \rightarrow \pmb{W}_{O_1}^h \pmb{R}_{vo1}^h$ , $\pmb{b}_{V_1}^h \rightarrow \pmb{b}_{V_1}^h \pmb{R}_{vo1}^h$ .
|
| 173 |
+
|
| 174 |
+
where $\pmb{I}$ is the identity matrix and $\pmb{U} \pmb{\Sigma} \pmb{V}^{\top} = \pmb{W}_{Q_1} \pmb{W}_{Q_2}^{\top} + \pmb{W}_{K_1} \pmb{W}_{K_2}^{\top} + \pmb{b}_{Q_1}^{\top} \pmb{b}_{Q_2} + \pmb{b}_{K_1}^{\top} \pmb{b}_{K_2}$ is the result of eigendecomposition.
|
| 175 |
+
|
| 176 |
+
We leave a detailed proof of Theorem 4.1 in Appendix A. According to Theorem 4.1, we can obtain the algorithm to match two self-attention layers shown in Algorithm 1. Algorithm 1 can be seen as an adaptation of the Kabsch algorithm (Kabsch, 1976; Umeyama, 1991). Without loss of generality, we let the parameters in the second $(k = 2)$ self-attention layer be the anchor and conduct rotation for the first layer $(k = 1)$ . The denseness of rotation symmetry helps reduce the distance between the end models after parameter matching as Algorithm 1 shows.
|
| 177 |
+
|
| 178 |
+
Rescaling Matching. We find that the rescaling symmetry (Neyshabur et al., 2015; Meng et al., 2019; Godfrey et al., 2022; Kalogeropoulos et al., 2024) can be integrated with our proposed rotation symmetry in the parameter matching algorithm. For instance, for the (simplified) Q-K product $\mathbf{W}_Q\mathbf{W}_K$ , we can find a rescaling operation that preserves the functionality of the Q-K product $a\mathbf{W}_Q \cdot \frac{1}{a}\mathbf{W}_K$ where $a \neq 0$ is a real number. By adding a scalar variable to each parameter matrix, we can formulate the objective of rescaling symmetry as follows (taking the Q-K product as an example).
|
| 179 |
+
|
| 180 |
+
$$
|
| 181 |
+
\begin{array}{l} \min _ {a} \left\| a \boldsymbol {W} _ {Q _ {1}} ^ {\prime} - \boldsymbol {W} _ {Q _ {2}} ^ {\prime} \right\| ^ {2} + \left\| a \boldsymbol {b} _ {Q _ {1}} ^ {\prime} - \boldsymbol {b} _ {Q _ {2}} ^ {\prime} \right\| ^ {2} \tag {11} \\ + \left\| \boldsymbol {W} _ {K _ {1}} ^ {\prime} / a - \boldsymbol {W} _ {K _ {2}} ^ {\prime} \right\| ^ {2} + \left\| \boldsymbol {b} _ {K _ {1}} ^ {\prime} / a - \boldsymbol {b} _ {K _ {2}} ^ {\prime} \right\| ^ {2}, \\ \end{array}
|
| 182 |
+
$$
|
| 183 |
+
|
| 184 |
+
where $a$ is the rescaling variable and ${}^{\prime}$ denotes the parameters after rotation symmetry-based matching. Here, we still set model 2 as the anchor model and conduct the rescaling operation on model 1 to align with model 2. We can easily
|
| 185 |
+
|
| 186 |
+
Table 1. Experimental results of in-domain (Emotion and NER) and out-of-domain (NER-CoNLL) model fusion for two base language models over Emotion and NER tasks.
|
| 187 |
+
|
| 188 |
+
<table><tr><td rowspan="2"></td><td colspan="2">Emotion</td><td colspan="2">NER</td><td colspan="2">NER-CoNLL</td></tr><tr><td>Roberta</td><td>Deberta</td><td>Roberta</td><td>Deberta</td><td>Roberta</td><td>Deberta</td></tr><tr><td>Simple</td><td>35.87</td><td>2.99</td><td>60.88</td><td>27.54</td><td>26.86</td><td>10.80</td></tr><tr><td>+match</td><td>35.87</td><td>2.99</td><td>60.88</td><td>31.31</td><td>26.87</td><td>23.30</td></tr><tr><td>Fisher</td><td>44.02</td><td>35.95</td><td>54.55</td><td>33.20</td><td>23.06</td><td>12.53</td></tr><tr><td>+match</td><td>44.05</td><td>35.98</td><td>54.58</td><td>33.83</td><td>23.05</td><td>18.33</td></tr><tr><td>Regmean</td><td>35.87</td><td>2.99</td><td>60.88</td><td>27.54</td><td>26.86</td><td>10.80</td></tr><tr><td>+match</td><td>39.95</td><td>2.99</td><td>60.88</td><td>31.31</td><td>26.87</td><td>14.06</td></tr></table>
|
| 189 |
+
|
| 190 |
+
solve the optimality condition of Equation (11) as
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
\begin{array}{l} \left(\left\| \boldsymbol {W} _ {Q _ {1}} ^ {\prime} \right\| ^ {2} + \left\| \boldsymbol {b} _ {Q _ {1}} ^ {\prime} \right\| ^ {2}\right) a ^ {4} - \left\| \boldsymbol {W} _ {K _ {1}} ^ {\prime} \right\| ^ {2} - \left\| \boldsymbol {b} _ {K _ {1}} ^ {\prime} \right\| ^ {2} \\ - \left(\left\langle \boldsymbol {W} _ {Q _ {1}} ^ {\prime}, \boldsymbol {W} _ {Q _ {2}} ^ {\prime} \right\rangle + \left\langle \boldsymbol {b} _ {Q _ {1}} ^ {\prime}, \boldsymbol {b} _ {Q _ {2}} ^ {\prime} \right\rangle\right) a ^ {3} \\ + \left(\left\langle \boldsymbol {W} _ {K _ {1}} ^ {\prime}, \boldsymbol {W} _ {K _ {2}} ^ {\prime} \right\rangle + \left\langle \boldsymbol {b} _ {K _ {1}} ^ {\prime}, \boldsymbol {b} _ {K _ {2}} ^ {\prime} \right\rangle\right) a = 0. \tag {12} \\ \end{array}
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
The roots of Equation (12) can be derived using numerical methods as the value of $a$ . We then conduct the rescaling operation to model 1 as $W_{Q_1}' \rightarrow aW_{Q_1}', b_{Q_1}' \rightarrow ab_{Q_1}', W_{K_1}' \rightarrow \frac{1}{a} W_{K_1}', b_{K_1}' \rightarrow \frac{1}{a} b_{K_1}'$ . It is worth noting that the rescaling symmetry-based matching is conducted after the rotation symmetry-based matching. Using the rescaling operation, we extend the rotation matrices to orthogonal matrices with larger norms. Nevertheless, the end models are close to each other in practical scenarios so the value of $a$ is usually close to 1.
|
| 197 |
+
|
| 198 |
+
Complexity. We next provide a brief analysis of the complexity of our proposed parameter matching algorithm. We let the hidden dimension of the target transformer be $d$ , the layer of the target transformer be $L$ , and the number of attention heads be $H$ . For the parameter matching of feedforward networks, the linear assignment problem can be solved in $O(d^{3})$ by the Hungarian algorithm (Kuhn, 1955; Martello & Toth, 1987). Additionally, to solve the optimization problem in Equation (8), Algorithm 1 requires the complexity of $O(d^{3})$ for eigendecomposition. Hence, the complexity of our proposed full parameter matching algorithm of a transformer is $O(d^{3}LH)$ , similar to the complexity of the feedforward. It is worth noting that the complexity can be further reduced in two ways. The first way is to match a subset of layers instead of all. In this way, the complexity of our proposed parameter matching algorithm is $O(d^{3}L_{s}H)$ where $L_{s}$ denotes the number of selected layers. The second way is to match each unit module (a single feedforward network or a single attention layer) in parallel. The decoupling of matching different modules makes it easy to implement multiprocessing. Consequently, the overall complexity becomes to $O(d^{3}LH / p)$ where $p$ is the number of processes in parallel.
|
| 199 |
+
|
| 200 |
+
Table 2. Experimental results of ViT merging over the image classification task.
|
| 201 |
+
|
| 202 |
+
<table><tr><td></td><td>w/o match</td><td>w/o rescale</td><td>match</td></tr><tr><td>Simple</td><td>7.60</td><td>10.22</td><td>10.19</td></tr><tr><td>Fisher</td><td>17.96</td><td>18.61</td><td>18.58</td></tr><tr><td>Regmean</td><td>14.24</td><td>15.31</td><td>15.35</td></tr><tr><td>OT-ACTS-EMD</td><td>32.08</td><td>32.50</td><td>32.53</td></tr><tr><td>OT-ACTS</td><td>61.15</td><td>61.23</td><td>61.25</td></tr><tr><td>OT-WTS</td><td>57.11</td><td>57.16</td><td>57.17</td></tr></table>
|
| 203 |
+
|
| 204 |
+
# 5. Experiments
|
| 205 |
+
|
| 206 |
+
In this section, we conduct experiments to evaluate the effectiveness of our proposed parameter matching algorithm based on rotation symmetry. Specifically, we aim to answer the following research questions: RQ1: Can our proposed parameter matching algorithm enhance the performance of model fusion for transformer-based models? RQ2: How does rotation symmetry contribute to parameter matching for self-attention layers? RQ3: How does parameter matching influence the loss landscape between independently trained models? RQ4: As a plugin module, does our algorithm introduce significant additional computational overhead? RQ5: Is matching all transformer layers equally important? Can we improve efficiency without compromising utility by matching only a subset of layers?
|
| 207 |
+
|
| 208 |
+
# 5.1. Experimental Settings
|
| 209 |
+
|
| 210 |
+
Platform. Our implementation is based on Python 3.10 and Pytorch 1.13. All fine-tuning, parameter matching, and model merging processes are conducted on a cluster equipped with Nvidia A100 80GB GPUs.
|
| 211 |
+
|
| 212 |
+
Models. To evaluate the effectiveness of our approach, we use two widely adopted transformer models: RoBERTa (Liu et al., 2019) and DeBERTa (He et al., 2021). We obtain pretrained models of RoBERTa (roberta-base with 12 attention layers) and DeBERTa-Large (microsoft/deberta-v3-large with 24 attention layers) from the Hugging Face library. For vision transformers (ViTs) (Dosovitskiy et al., 2021), we directly use the pretrained models following (Imfeld et al., 2024). By selecting these three type of models, we assess the effectiveness of our method across different model scales and downstream tasks.
|
| 213 |
+
|
| 214 |
+
Finetuning and Matching. In the experiments, each pretrained language model is fine-tuned for 20 epochs on each dataset individually. We set the learning rate at 1e-5, the batch size at 16, and the warmup ratio at 0.06 for each model. After fine-tuning, we perform parameter matching and model merging, considering both in-domain (pairwise
|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
Figure 3. Ablation Study of ViT merging over the image classification task. "ATTN" is short for "attention". We compare our matching algorithm with its three variants (w/o ATTN/FFN/rescaling) and the original performance (w/o match) on all six merging baselines.
|
| 224 |
+
|
| 225 |
+

|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
|
| 229 |
+

|
| 230 |
+
Figure 4. The Euclidean Distance of end ViT models after different parameter matching algorithms.
|
| 231 |
+
|
| 232 |
+
fine-tuned models) and out-of-domain (grouped models) experiments. Notably, we match only the parameters within the attention layers, while the classifier module is directly copied from the model fine-tuned on the corresponding downstream task. For additional details on datasets and baseline methods, please refer to Appendix C.
|
| 233 |
+
|
| 234 |
+
# 5.2. Performance of Model Fusion
|
| 235 |
+
|
| 236 |
+
To answer RQ1, we compare the performance of three model fusion baselines with and without our proposed parameter matching algorithm.
|
| 237 |
+
|
| 238 |
+
In-Domain Settings. We evaluate model fusion performance on Emotion Classification and Named Entity Recognition (NER) tasks, where our approach (+match) is integrated as a plugin module for three model fusion baselines. For each task, we fine-tune the language models on each in-domain dataset (5 for Emotion, 6 for NER) respectively and merge them pairwise. The first two columns in Table 1 present the average macro F1-score (for Emotion) and micro F1-score (for NER) of the merged models following (Jin et al., 2023).
|
| 239 |
+
|
| 240 |
+
Out-of-Domain Settings. To assess the generalization ability, we merge models trained on all in-domain NER datasets and evaluate their performance on CoNLL datasets, which serve as out-of-domain (OOD) test sets. The third column in Table 1 reports the OOD performance of the merged models.
|
| 241 |
+
|
| 242 |
+
ViT Settings. We employ three OT (optimal transportation)-based methods (OT-ACTS-EMD, OT-ACTS, and OT-WTS) from (Imfeld et al., 2024) as additional baselines. Two pretrained models are merged, and we evaluate their performance on the CIFAR10 (Krizhevsky et al., 2009) dataset. Table 2 presents the classification accuracy of the merged models. To improve the flexibility of parameter matching, we match each layer separately before conducting model fusion. The merged model achieving the highest validation performance is selected as the final test model.
|
| 243 |
+
|
| 244 |
+
From the results in Table 1 and Table 2, we make the following observations: (1) Our parameter matching algorithm consistently improves the performance of different model fusion methods. The reason is that parameter matching helps align distant models, bringing them closer in parameter space. As a result, the merged model is more likely to approach an overall minimum. (2) Compared to RoBERTa-base, our method brings larger improvement for DeBERTa-large, suggesting that larger models benefit more from parameter matching. We explain this as larger models have more parameters that can be aligned, and in high-dimensional spaces, models tend to be more spread out. Subsequently, parameter matching helps bridge this gap more effectively. (3) Among all the fusion methods, simple fusion shows the largest improvement after parameter matching. This is likely because simple fusion directly averages model weights, so reducing the distance between model parameters brings a clear benefit. In contrast, advanced fusion methods work by aligning outputs of the end models based on input data, which is equivalent to weighted averaging. Unlike direct averaging, these methods benefit from parameter matching in a more implicit way.
|
| 245 |
+
|
| 246 |
+
# 5.3. Ablation Study
|
| 247 |
+
|
| 248 |
+
To answer RQ2, we conduct ablation studies to evaluate the contributions of rotation symmetry in matching different model components. These experiments are performed on the same pair of pretrained ViT models used in the previous
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
Figure 5. Loss landscapes and barriers between the two pretrained ViT models under four distinct matching settings. "LB" is short for "Loss Barrier".
|
| 252 |
+
|
| 253 |
+
Table 3. The average runtime in seconds of the fine-tuning (top), matching (middle), and merging (bottom) stage.
|
| 254 |
+
|
| 255 |
+
<table><tr><td></td><td>Deberta</td><td>Roberta</td><td>ViT</td></tr><tr><td>Fine-tuning</td><td>12983.71</td><td>3071.49</td><td>-</td></tr><tr><td>Matching</td><td>1.59</td><td>1.71</td><td>3.48</td></tr><tr><td>Simple Merging</td><td>0.13</td><td>0.09</td><td>0.22</td></tr><tr><td>Fisher Merging</td><td>197.47</td><td>69.57</td><td>83.67</td></tr><tr><td>Regmean Merging</td><td>137.67</td><td>36.44</td><td>71.02</td></tr></table>
|
| 256 |
+
|
| 257 |
+
section. We design three ablation settings: (1) $\underline{w / o} \, ATTN$ : Matches only the FFN modules, excluding self-attention modules. (2) $\underline{w / o} \, FFN$ : Matches only the self-attention modules, excluding FFN modules. (3) $\underline{w / o} \, rescaling$ : Enables the rescaling symmetry in our algorithm. Ablation results in Figure 3 demonstrate the following observations: (1) In Fisher and RegMean, attention matching contributes more significantly to the fusion process. (2) In contrast, OTFusion benefits more from FFN matching. These distinctions demonstrate the nuanced interactions between the fusion mechanisms and corresponding component alignment strategies. (3) $\underline{w / o} \, rescaling$ results in performance degradation across most settings, validating the effectiveness of rescaling symmetry integrated with rotation symmetry.
|
| 258 |
+
|
| 259 |
+
To further quantify the influence of rotation symmetry, we measure the Euclidean distance between the matched model and the anchor model in the parameter space. Instead of aggregating distances at the layer or module level, we analyze the entire model holistically to provide a more comprehensive assessment of alignment. We also compare our method against two external baselines: Git Re-Basin (Ainsworth et al., 2023) and OT-Fusion (Imfeld et al., 2024). Following the original paper, OT-Fusion is applied only to FFN modules. The results in Figure 4 indicate that our rotation symmetry-based parameter matching algorithm consistently reduces the distance between end models more effectively than permutation symmetry-based methods. This improvement can be attributed to the continuous nature of rotation symmetry, which allows for smoother and more precise alignment, especially in self-attention layers. Furthermore, the integration of rescaling symmetry leads to additional distance reductions of end models, further enhancing parameter alignment.
|
| 260 |
+
|
| 261 |
+

|
| 262 |
+
(a) Single-Layer Matching
|
| 263 |
+
Figure 6. Evaluation loss of matching a subset of layers.
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
(b) Tail-Layers Matching
|
| 267 |
+
|
| 268 |
+
# 5.4. Loss Landscape Study
|
| 269 |
+
|
| 270 |
+
To address RQ3, we examine the loss landscape between the two pretrained ViT models introduced in Section 5.2, both with and without parameter matching. Specifically, we first analyze the cross entropy loss values $\mathcal{L}(\theta (\alpha))$ along the linear interpolation path between the end model parameters $\theta (\alpha) = \alpha \cdot \theta_{A} + (1 - \alpha)\cdot \theta_{B},\quad \alpha \in [0,1]$ , where $\theta_{A}$ and $\theta_{B}$ denote the end models. Next, we separately apply attention-only matching (w/o $FFN$ ), FFN-only matching (w/o $ATTN$ ), and complete matching (w/ match) to $\theta_{B}$ before constructing the same linear interpolation path with respect to $\theta_{A}$ . The results in Figure 5 give rise to the following observations: (1) All model pairs exhibit positive loss barriers, i.e., the range of loss value along the interpolation path, highlighting the strong inherent non-convexity of ViTs (Park & Kim, 2022). (2) Complete matching yields the lowest loss barrier, indicating that aligning parameters through rotation symmetry leads to smoother connectivity between model pairs. (3) While FFN-only matching (w/o $ATTN$ ) has been proven effective for MLPs and CNNs (Ainsworth et al., 2023), its effectiveness remains limited for Transformers. Their intricate loss landscape brings additional challenges for parameter matching.
|
| 271 |
+
|
| 272 |
+
# 5.5. Complexity Study
|
| 273 |
+
|
| 274 |
+
To answer RQ4, we evaluate the computational overhead introduced by our parameter matching algorithm. Specifically, we measure the average runtime for fine-tuning (per dataset), matching (per model pair), and merging methods (per model pair) from the main experiments, as shown in Table 3. For ViTs, we only use pre-trained models following (Imfeld et al., 2024) without fine-tuning. The results show that our parameter matching module incurs an overhead of less than $5\%$ compared to Fisher / RegMean merging across all models, with negligible impact on overall complexity.
|
| 275 |
+
|
| 276 |
+
# 5.6. Matching a Subset of Layers
|
| 277 |
+
|
| 278 |
+
To answer RQ5, we investigate the effect of matching different subsets of layers. We fine-tune DeBERTa models on CoLA and STS-B from the GLUE benchmark and evaluate the performance of matched models under different subsets
|
| 279 |
+
|
| 280 |
+
of layers. Specifically, we cross-validate the importance of each attention layer in matching through two settings:
|
| 281 |
+
|
| 282 |
+
Single-Layer Matching. In this setting, we match only a single attention layer while leaving all other layers unchanged. The evaluation loss corresponding to different matched layer indices is shown in Figure 6(a).
|
| 283 |
+
|
| 284 |
+
Tail-Layers Matching. Here, we match a certain number of trailing attention layers (e.g., when matching three attention layers, we align only the last three layers). The evaluation loss for different numbers of matched layers is presented in Figure 6(b).
|
| 285 |
+
|
| 286 |
+
The experimental results in Figure 6 demonstrate that matching head layers yields greater improvements in model utility compared to tail layers. Notably, the loss value drops sharply when the first 5 layers are matched. Based on this observation, we can further improve efficiency by dropping tail layers without significantly compromising utility.
|
| 287 |
+
|
| 288 |
+
# 6. Related Work
|
| 289 |
+
|
| 290 |
+
Parameter Space Symmetry. Parameter space symmetry refers to a set of models with different parameter values but functionally equivalent. This concept has been extensively studied in the context of deep neural networks, as it plays a crucial role in understanding model behavior and training dynamics. Examples of parameter space symmetries include rescaling symmetry (Neyshabur et al., 2015; Badrinarayanan et al., 2015; Du et al., 2018; Meng et al., 2019), scaling symmetry (Kunin et al., 2021), and translation symmetry (Kunin et al., 2021). These symmetries have been identified in conventional deep neural networks to provide deeper insights into training dynamics and to accelerate the optimization process (Zhao et al., 2022; 2023; 2024). Another important type of parameter space symmetry is permutation symmetry, which has been shown to closely relate to the manifold of global minima and critical points (Fukumizu & Amari, 2000; Brea et al., 2019; Simsek et al., 2021; Benton et al., 2021; Entezari et al., 2022; Ainsworth et al., 2023). The permutation symmetry can also be used to align (match) the outputs or model parameters of different end models with the same architecture (Singh & Jaggi, 2020; Wang et al., 2020; Ainsworth et al., 2023; Pena et al., 2023; Imfeld et al., 2024; Navon et al., 2024). Complementary to parameter space symmetry, recent advances in neural functionals and metanetworks (Navon et al., 2023; Zhou et al., 2023b;a; Lim et al., 2024a; Tran et al., 2024) explore permutation-equivariant functionals that operate directly on model weights across diverse architectures. Some concurrent works (Liu, 2024; Tran et al., 2024) investigate similar forms of rotation symmetry in neural networks. Liu (2024) shows that the mirror symmetry leads
|
| 291 |
+
|
| 292 |
+
to low-rankness. Meanwhile, Tran et al. (2024) leverages the rotation symmetry to construct transformer-based neural functional networks. In comparison, our study focuses on the role of rotation symmetry in model fusion and proposes a theoretically optimal parameter matching approach based on the properties of rotation symmetries.
|
| 293 |
+
|
| 294 |
+
Model Fusion. The goal of model fusion (Li et al., 2023) is to merge multiple available end models (with the same architecture) to obtain a stronger model. The scenarios of model fusion can be flexible. When training on the same dataset, model fusion can be used to improve the model utility or generalization by merging models trained with different configurations or in different stages (Izmailov et al., 2018; Gupta et al., 2020; Cha et al., 2021; Wortsman et al., 2022; Rame et al., 2022; Arpit et al., 2022; Huang et al., 2024; Yadav et al., 2024; Hammoud et al., 2024). As a representative method in this setting, ModelSoup (Wortsman et al., 2022) greedily averages the models fine-tuned with different hyperparameter configurations to improve the utility and robustness of the model. In addition, when training on different datasets or tasks, model fusion can be used to improve out-of-domain generalization or multitasking of the model (Matena & Raffel, 2022; Choshen et al., 2022; Li et al., 2022; Jin et al., 2023; Zhou et al., 2024), especially for language models. A state-of-the-art merging algorithm, RegMean (Jin et al., 2023), successfully merges language models fine-tuned over different tasks and improves the model's out-of-distribution generalization. Moreover, model fusion plays a pivotal role in federated learning (KoneΔnΓ½ et al., 2016; McMahan et al., 2017; Wang et al., 2020) when the local updates are collected to make a global update. FedAvg (McMahan et al., 2017) is a classical merging algorithm that directly computes the average of the local models as the updated global model. Recent studies propose to incorporate the permutation symmetry to align the neurons of different end models (Wang et al., 2020; Singh & Jaggi, 2020; Ainsworth et al., 2023). However, these methods fail to achieve a desirable performance when tackling transformer-based models (Jin et al., 2023).
|
| 295 |
+
|
| 296 |
+
# 7. Conclusion
|
| 297 |
+
|
| 298 |
+
In this paper, we introduced rotation symmetry as a novel type of parameter space symmetry for transformers, extending the concept of permutation symmetry to continuous spaces. Building on this foundation, we proposed a theoretically optimal parameter matching algorithm to enhance the fusion of transformer models in a plug-and-play manner. To validate our approach, we conducted extensive experiments on real-world NLP and vision benchmarks. The results demonstrated that incorporating rotation symmetry effectively and efficiently facilitates transformer model fusion, showcasing our method's practical utility.
|
| 299 |
+
|
| 300 |
+
# Impact Statement
|
| 301 |
+
|
| 302 |
+
Our study provides novel insights into the parameter space symmetry of transformers and establishes a practical framework for advancing model fusion techniques. Bridging theoretical innovations with practical applications, this work reveals the potential for leveraging parameter space symmetries in deep learning research. There are many potential societal consequences of our work, none of which we feel must be specifically highlighted here.
|
| 303 |
+
|
| 304 |
+
# Acknowledgment
|
| 305 |
+
|
| 306 |
+
This work is supported in part by the National Science Foundation (NSF) under grants IIS-2006844, IIS-2144209, IIS-2223769, CNS-2154962, BCS-2228534, and CMMI-2411248; the Office of Naval Research (ONR) under grant N000142412636; and the Commonwealth Cyber Initiative (CCI) under grant VV-1Q24-011.
|
| 307 |
+
|
| 308 |
+
# References
|
| 309 |
+
|
| 310 |
+
Ainsworth, S., Hayase, J., and Srinivasa, S. Git re-basin: Merging models modulo permutation symmetries. In International Conference on Learning Representations, 2023.
|
| 311 |
+
Armenta, M. and Jodoin, P.-M. The representation theory of neural networks. Mathematics, 9(24):3216, 2021.
|
| 312 |
+
Arpit, D., Wang, H., Zhou, Y., and Xiong, C. Ensemble of averages: Improving model selection and boosting performance in domain generalization. Advances in Neural Information Processing Systems, 35:8265-8277, 2022.
|
| 313 |
+
Ba, J. L., Kiros, J. R., and Hinton, G. E. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 314 |
+
Badrinarayanan, V., Mishra, B., and Cipolla, R. Symmetry-invariant optimization in deep networks. arXiv preprint arXiv:1511.01754, 2015.
|
| 315 |
+
Benton, G., Maddox, W., Lotfi, S., and Wilson, A. G. G. Loss surface simplexes for mode connecting volumes and fast ensembling. In International Conference on Machine Learning, pp. 769-779, 2021.
|
| 316 |
+
Bostan, L.-A.-M. and Klinger, R. An analysis of annotated corpora for emotion classification in text. In Bender, E. M., Derczynski, L., and Isabelle, P. (eds.), Proceedings of the 27th International Conference on Computational Linguistics, pp. 2104-2119, Santa Fe, New Mexico, USA, August 2018. Association for Computational Linguistics. URL https://aclanthology.org/C18-1179.
|
| 317 |
+
Brea, J., Simsek, B., Illing, B., and Gerstner, W. Weight-space symmetry in deep networks gives rise to permuta
|
| 318 |
+
|
| 319 |
+
tion saddles, connected by equal-loss valleys across the loss landscape. arXiv preprint arXiv:1907.02911, 2019.
|
| 320 |
+
Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. Language models are few-shot learners. Advances in neural information processing systems, 33: 1877-1901, 2020.
|
| 321 |
+
Burkard, R. E. and Cela, E. Linear assignment problems and extensions. In Handbook of combinatorial optimization: Supplement volume A, pp. 75-149. 1999.
|
| 322 |
+
Cha, J., Chun, S., Lee, K., Cho, H.-C., Park, S., Lee, Y., and Park, S. Swad: Domain generalization by seeking flat minima. Advances in Neural Information Processing Systems, 34:22405-22418, 2021.
|
| 323 |
+
Choshen, L., Venezuelan, E., Slonim, N., and Katz, Y. Fusing finetuned models for better pretraining. arXiv preprint arXiv:2204.03044, 2022.
|
| 324 |
+
Clark, K., Luong, M.-T., Le, Q. V., and Manning, C. D. Electra: Pre-training text encoders as discriminators rather than generators. In International Conference on Learning Representations, 2020.
|
| 325 |
+
Daheim, N., MΓΆllenhoff, T., Ponti, E., Gurevych, I., and Khan, M. E. Model merging by uncertainty-based gradient matching. In International Conference on Learning Representations, 2024.
|
| 326 |
+
Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171-4186, 2019.
|
| 327 |
+
Dietterich, T. G. Ensemble methods in machine learning. In International workshop on multiple classifier systems, pp. 1-15, 2000.
|
| 328 |
+
Dong, X., Yu, Z., Cao, W., Shi, Y., and Ma, Q. A survey on ensemble learning. Frontiers of Computer Science, 14: 241-258, 2020.
|
| 329 |
+
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., and Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale, 2021. URL https://arxiv.org/abs/2010.11929.
|
| 330 |
+
Du, S. S., Hu, W., and Lee, J. D. Algorithmic regularization in learning deep homogeneous models: Layers are automatically balanced. Advances in neural information processing systems, 31, 2018.
|
| 331 |
+
|
| 332 |
+
Entezari, R., Sedghi, H., Saukh, O., and Neyshabur, B. The role of permutation invariance in linear mode connectivity of neural networks. In International Conference on Learning Representations, 2022.
|
| 333 |
+
Ferbach, D., Goujaud, B., Gidel, G., and Dieuleveut, A. Proving linear mode connectivity of neural networks via optimal transport. In International Conference on Artificial Intelligence and Statistics, pp. 3853-3861, 2024.
|
| 334 |
+
Fukumizu, K. and Amari, S.-i. Local minima and plateaus in hierarchical structures of multilayer perceptrons. Neural networks, 13(3):317-327, 2000.
|
| 335 |
+
Glorot, X., Bordes, A., and Bengio, Y. Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 315-323, 2011.
|
| 336 |
+
Godfrey, C., Brown, D., Emerson, T., and Kvinge, H. On the symmetries of deep learning models and their internal representations. Advances in Neural Information Processing Systems, 35:11893-11905, 2022.
|
| 337 |
+
Gower, J. C. and Dijksterhuis, G. B. Procrustes problems, volume 30. OUP Oxford, 2004.
|
| 338 |
+
Grigsby, E., Lindsey, K., and Rolnick, D. Hidden symmetries of relu networks. In International Conference on Machine Learning, pp. 11734-11760, 2023.
|
| 339 |
+
Gupta, V., Serrano, S. A., and DeCoste, D. Stochastic weight averaging in parallel: Large-batch training that generalizes well. In International Conference on Learning Representations, 2020.
|
| 340 |
+
Hammoud, H., Michieli, U., Pizzati, F., Torr, P., Bibi, A., Ghanem, B., and Ozay, M. Model merging and safety alignment: One bad model spoils the bunch. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 13033-13046, 2024.
|
| 341 |
+
He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770-778, 2016.
|
| 342 |
+
He, P., Liu, X., Gao, J., and Chen, W. Deberta: Decoding-enhanced bert with disentangled attention, 2021.
|
| 343 |
+
He, Y., Zheng, Z., Soga, P., Zhu, Y., Dong, Y., and Li, J. Explaining graph neural networks with large language models: A counterfactual perspective on molecule graphs. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 7079-7096, 2024.
|
| 344 |
+
Hecht-Nielsen, R. On the algebraic structure of feedforward network weight spaces. In Advanced Neural Computers, pp. 129-135. 1990.
|
| 345 |
+
|
| 346 |
+
Hovy, E., Marcus, M., Palmer, M., Ramshaw, L., and Weischedel, R. OntoNotes: The $90\%$ solution. In Moore, R. C., Bilmes, J., Chu-Carroll, J., and Sanderson, M. (eds.), Proceedings of the Human Language Technology Conference of the NAACL, Companion Volume: Short Papers, pp. 57-60, New York City, USA, June 2006. Association for Computational Linguistics. URL https://aclanthology.org/N06-2015.
|
| 347 |
+
Huang, C., Ye, P., Chen, T., He, T., Yue, X., and Ouyang, W. Emr-merging: Tuning-free high-performance model merging. Advances in Neural Information Processing Systems, 37:122741-122769, 2024.
|
| 348 |
+
Imfeld, M., Graldi, J., Giordano, M., Hofmann, T., Anagnostidis, S., and Singh, S. P. Transformer fusion with optimal transport. In International Conference on Learning Representations, 2024.
|
| 349 |
+
Izmailov, P., Podoprikhin, D., Garipov, T., Vetrov, D., and Wilson, A. G. Averaging weights leads to wider optima and better generalization. In 34th Conference on Uncertainty in Artificial Intelligence (UAI), pp. 876-885, 2018.
|
| 350 |
+
Jin, X., Ren, X., Preotiuc-Pietro, D., and Cheng, P. Dataless knowledge fusion by merging weights of language models. In International Conference on Learning Representations, 2023.
|
| 351 |
+
Kabsch, W. A solution for the best rotation to relate two sets of vectors. Acta Crystallographica Section A: Crystal Physics, Diffraction, Theoretical and General Crystallography, 32(5):922-923, 1976.
|
| 352 |
+
Kalogeropoulos, I., Bouritsas, G., and Panagakis, Y. Scale equivariant graph metanetworks. Advances in neural information processing systems, 37:106800-106840, 2024.
|
| 353 |
+
KoneΔny, J., McMahan, H. B., Yu, F. X., RichtΓ‘rik, P., Suresh, A. T., and Bacon, D. Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492, 2016.
|
| 354 |
+
Krizhevsky, A., Hinton, G., et al. Learning multiple layers of features from tiny images. 2009.
|
| 355 |
+
Kuhn, H. W. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83-97, 1955.
|
| 356 |
+
Kunin, D., Sagastuy-Brena, J., Ganguli, S., Yamins, D. L., and Tanaka, H. Neural mechanics: Symmetry and broken conservation laws in deep learning dynamics. In International Conference on Learning Representations, 2021.
|
| 357 |
+
|
| 358 |
+
Lakshminarayanan, B., Pritzel, A., and Blundell, C. Simple and scalable predictive uncertainty estimation using deep ensembles. Advances in neural information processing systems, 30, 2017.
|
| 359 |
+
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., and Zettlemoyer, L. Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7871-7880, 2020.
|
| 360 |
+
Li, M., Gururangan, S., Dettmers, T., Lewis, M., Althoff, T., Smith, N. A., and Zettlemoyer, L. Branch-train-merge: Embarrassingly parallel training of expert language models. In First Workshop on Interpolation Regularizers and Beyond at NeurIPS 2022, 2022.
|
| 361 |
+
Li, W., Peng, Y., Zhang, M., Ding, L., Hu, H., and Shen, L. Deep model fusion: A survey. arXiv preprint arXiv:2309.15698, 2023.
|
| 362 |
+
Lim, D., Maron, H., Law, M. T., Lorraine, J., and Lucas, J. Graph metanetworks for processing diverse neural architectures. In International Conference on Learning Representations, 2024a.
|
| 363 |
+
Lim, D., Putterman, T., Walters, R., Maron, H., and Jegelka, S. The empirical impact of neural parameter symmetries, or lack thereof. Advances in Neural Information Processing Systems, 37:28322-28358, 2024b.
|
| 364 |
+
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
|
| 365 |
+
Liu, Z. Symmetry induces structure and constraint of learning. In International Conference on Machine Learning, 2024.
|
| 366 |
+
Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 10012-10022, 2021.
|
| 367 |
+
Lubana, E. S., Bigelow, E. J., Dick, R. P., Krueger, D., and Tanaka, H. Mechanistic mode connectivity. In International Conference on Machine Learning, pp. 22965-23004, 2023.
|
| 368 |
+
Martello, S. and Toth, P. Linear assignment problems. In North-Holland Mathematics Studies, volume 132, pp. 259-282. 1987.
|
| 369 |
+
|
| 370 |
+
Matena, M. S. and Raffel, C. A. Merging models with fisher-weighted averaging. Advances in Neural Information Processing Systems, 35:17703-17716, 2022.
|
| 371 |
+
McMahan, B., Moore, E., Ramage, D., Hampson, S., and y Arcas, B. A. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pp. 1273-1282, 2017.
|
| 372 |
+
Meng, Q., Zheng, S., Zhang, H., Chen, W., Ye, Q., Ma, Z.-M., Yu, N., and Liu, T.-Y. G-sgd: Optimizing relu neural networks in its positively scale-invariant space. In International Conference on Learning Representations, 2019.
|
| 373 |
+
Nair, V. and Hinton, G. E. Rectified linear units improve restricted boltzmann machines. In International Conference on Machine Learning, pp. 807-814, 2010.
|
| 374 |
+
Navon, A., Shamsian, A., Achituve, I., Fetaya, E., Chechik, G., and Maron, H. Equivariant architectures for learning in deep weight spaces. In International Conference on Machine Learning, pp. 25790-25816, 2023.
|
| 375 |
+
Navon, A., Shamsian, A., Fetaya, E., Chechik, G., Dym, N., and Maron, H. Equivariant deep weight space alignment. In International Conference on Machine Learning, pp. 37376-37395, 2024.
|
| 376 |
+
Neyshabur, B., Salakhutdinov, R. R., and Srebro, N. Pathsgd: Path-normalized optimization in deep neural networks. Advances in neural information processing systems, 28, 2015.
|
| 377 |
+
Park, N. and Kim, S. How do vision transformers work?, 2022. URL https://arxiv.org/abs/2202.06709.
|
| 378 |
+
Pena, F. A. G., Medeiros, H. R., Dubail, T., Aminbeidokhti, M., Granger, E., and Pedersoli, M. Re-basin via implicit sinkhorn differentiation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20237-20246, 2023.
|
| 379 |
+
Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748-8763, 2021.
|
| 380 |
+
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., and Liu, P. J. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research, 21 (140):1-67, 2020.
|
| 381 |
+
Rame, A., Kirchmeyer, M., Rahier, T., Rakotomamonjy, A., Gallinari, P., and Cord, M. Diverse weight averaging for
|
| 382 |
+
|
| 383 |
+
out-of-distribution generalization. Advances in Neural Information Processing Systems, 35:10821-10836, 2022.
|
| 384 |
+
Rossi, S., Singh, A., and Hannagan, T. On permutation symmetries in bayesian neural network posteriors: a variational perspective. Advances in Neural Information Processing Systems, 36, 2023.
|
| 385 |
+
Sagi, O. and Rokach, L. Ensemble learning: A survey. Wiley interdisciplinary reviews: data mining and knowledge discovery, 8(4):e1249, 2018.
|
| 386 |
+
SchΓΆnemann, P. H. A generalized solution of the orthogonal procrustes problem. Psychometrika, 31(1):1-10, 1966.
|
| 387 |
+
Simsek, B., Ged, F., Jacot, A., Spadaro, F., Hongler, C., Gerstner, W., and Brea, J. Geometry of the loss landscape in overparameterized neural networks: Symmetries and invariances. In International Conference on Machine Learning, pp. 9722-9732, 2021.
|
| 388 |
+
Singh, S. P. and Jaggi, M. Model fusion via optimal transport. Advances in Neural Information Processing Systems, 33:22045-22055, 2020.
|
| 389 |
+
Strang, G. Linear algebra and its applications. Academic Press, 1976.
|
| 390 |
+
Tatro, N., Chen, P.-Y., Das, P., Melnyk, I., Sattigeri, P., and Lai, R. Optimizing mode connectivity via neuron alignment. Advances in Neural Information Processing Systems, 33:15300-15311, 2020.
|
| 391 |
+
Tjong Kim Sang, E. F. and De Meulder, F. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pp. 142-147, 2003. URL https://aclanthology.org/W03-0419.
|
| 392 |
+
Tran, V.-H., Vo, T. N., The, A. N., Huu, T. T., Nguyen-Nhat, M.-K., Tran, T., Pham, D.-T., and Nguyen, T. M. Equivariant neural functional networks for transformers. arXiv preprint arXiv:2410.04209, 2024.
|
| 393 |
+
Umeyama, S. Least-squares estimation of transformation parameters between two point patterns. IEEE Transactions on Pattern Analysis & Machine Intelligence, 13(04): 376-380, 1991.
|
| 394 |
+
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need. Advances in neural information processing systems, 30, 2017.
|
| 395 |
+
Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bowman, S. R. Glue: A multi-task benchmark and analysis platform for natural language understanding, 2019.
|
| 396 |
+
|
| 397 |
+
Wang, H., Yurochkin, M., Sun, Y., Papailiopoulos, D., and Khazaeni, Y. Federated learning with matched averaging. In International Conference on Learning Representations, 2020.
|
| 398 |
+
Wei, X. and Liu, L. Are large language models good in-context learners for financial sentiment analysis? arXiv preprint arXiv:2503.04873, 2025.
|
| 399 |
+
Wortsman, M., Ilharco, G., Gadre, S. Y., Roelofs, R., Gontijo-Lopes, R., Morcos, A. S., Namkoong, H., Farhadi, A., Carmon, Y., Kornblith, S., et al. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In International conference on machine learning, pp. 23965-23998, 2022.
|
| 400 |
+
Yadav, P., Tam, D., Choshen, L., Raffel, C. A., and Bansal, M. Ties-merging: Resolving interference when merging models. Advances in Neural Information Processing Systems, 36, 2023.
|
| 401 |
+
Yadav, P., Vu, T., Lai, J., Chronopoulou, A., Faruqui, M., Bansal, M., and Munkhdalai, T. What matters for model merging at scale? arXiv preprint arXiv:2410.03617, 2024.
|
| 402 |
+
Yang, E., Wang, Z., Shen, L., Liu, S., Guo, G., Wang, X., and Tao, D. Adamerging: Adaptive model merging for multi-task learning. In International Conference on Learning Representations, 2024.
|
| 403 |
+
Yun, S., Jeong, M., Kim, R., Kang, J., and Kim, H. J. Graph transformer networks. Advances in neural information processing systems, 32, 2019.
|
| 404 |
+
Yurochkin, M., Agarwal, M., Ghosh, S., Greenewald, K., Hoang, N., and Khazaeni, Y. Bayesian nonparametric federated learning of neural networks. In International conference on machine learning, pp. 7252-7261, 2019.
|
| 405 |
+
Zamir, G., Dokania, A., Zhao, B., and Yu, R. Improving learning to optimize using parameter symmetries. arXiv preprint arXiv:2504.15399, 2025.
|
| 406 |
+
Zhang, B., Chen, Z., Zheng, Z., Li, J., and Chen, H. Resolving editing-unlearning conflicts: A knowledge codebook framework for large language model updating. arXiv preprint arXiv:2502.00158, 2025.
|
| 407 |
+
Zhao, B., Dehmamy, N., Walters, R., and Yu, R. Symmetry teleportation for accelerated optimization. Advances in neural information processing systems, 35:16679-16690, 2022.
|
| 408 |
+
Zhao, B., Ganev, I., Walters, R., Yu, R., and Dehmamy, N. Symmetries, flat minima, and the conserved quantities of gradient flow. In The Eleventh International Conference on Learning Representations, 2023.
|
| 409 |
+
|
| 410 |
+
Zhao, B., Gower, R. M., Walters, R., and Yu, R. Improving convergence and generalization using parameter symmetries. In International Conference on Learning Representations, 2024.
|
| 411 |
+
Zheng, Z., Dong, Y., Wang, S., Liu, H., Wang, Q., and Li, J. Kg-cf: Knowledge graph completion with context filtering under the guidance of large language models. In 2024 IEEE International Conference on Big Data (BigData), pp. 805-810, 2024.
|
| 412 |
+
Zhou, A., Yang, K., Burns, K., Cardace, A., Jiang, Y., Sokota, S., Kolter, J. Z., and Finn, C. Permutation equivariant neural functionals. Advances in neural information processing systems, 36:24966-24992, 2023a.
|
| 413 |
+
Zhou, A., Yang, K., Jiang, Y., Burns, K., Xu, W., Sokota, S., Kolter, J. Z., and Finn, C. Neural functional transformers. Advances in neural information processing systems, 36: 77485-77502, 2023b.
|
| 414 |
+
Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., and Zhang, W. Informer: Beyond efficient transformer for long sequence time-series forecasting. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pp. 11106-11115, 2021.
|
| 415 |
+
Zhou, Y., Song, L., Wang, B., and Chen, W. Metagpt: Merging large language models using model exclusive task arithmetic. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 1711-1724, 2024.
|
| 416 |
+
Zhou, Z., Yang, Y., Yang, X., Yan, J., and Hu, W. Going beyond linear mode connectivity: The layerwise linear feature connectivity. Advances in Neural Information Processing Systems, 36, 2023c.
|
| 417 |
+
Zhu, Y., Wu, L., Zhang, B., Wang, S., Guo, Q., Hong, L., Simon, L., and Li, J. Understanding and modeling job marketplace with pretrained language models. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, pp. 5143-5150, 2024.
|
| 418 |
+
Ziyin, L., Wang, M., Li, H., and Wu, L. Parameter symmetry and noise equilibrium of stochastic gradient descent. arXiv preprint arXiv:2402.07193, 2024.
|
| 419 |
+
Ziyin, L., Xu, Y., and Chuang, I. L. Remove symmetries to control model expressivity and improve optimization. In International Conference on Learning Representations, 2025.
|
| 420 |
+
|
| 421 |
+
# A. Proof
|
| 422 |
+
|
| 423 |
+
Theorem 4.1. The following optimization problem has a closed-form solution.
|
| 424 |
+
|
| 425 |
+
$$
|
| 426 |
+
\min _ {\boldsymbol {R} _ {1}, \boldsymbol {R} _ {2} \in \mathcal {R}} \left\| \left[ \begin{array}{l l} \boldsymbol {W} _ {Q _ {1}} ^ {\top} & \boldsymbol {W} _ {Q _ {2}} ^ {\top} \\ \boldsymbol {b} _ {Q _ {1}} & \boldsymbol {b} _ {Q _ {2}} \end{array} \right] \left[ \begin{array}{l} \boldsymbol {R} _ {1} \\ - \boldsymbol {R} _ {2} \end{array} \right] \right\| _ {F} ^ {2} + \left\| \left[ \begin{array}{l l} \boldsymbol {W} _ {K _ {1}} ^ {\top} & \boldsymbol {W} _ {K _ {2}} ^ {\top} \\ \boldsymbol {b} _ {K _ {1}} & \boldsymbol {b} _ {K _ {2}} \end{array} \right] \left[ \begin{array}{l} \boldsymbol {R} _ {1} \\ - \boldsymbol {R} _ {2} \end{array} \right] \right\| _ {F} ^ {2}. \tag {13}
|
| 427 |
+
$$
|
| 428 |
+
|
| 429 |
+
The solution is given by
|
| 430 |
+
|
| 431 |
+
$$
|
| 432 |
+
\boldsymbol {R} _ {1} = \boldsymbol {U} \boldsymbol {V} ^ {\top}, \boldsymbol {R} _ {2} = \boldsymbol {I}, \tag {14}
|
| 433 |
+
$$
|
| 434 |
+
|
| 435 |
+
where $\pmb{I}$ is the identity matrix and $\pmb{U} \pmb{\Sigma} \pmb{V}^{\top} = \pmb{W}_{Q_1} \pmb{W}_{Q_2}^{\top} + \pmb{W}_{K_1} \pmb{W}_{K_2}^{\top} + \pmb{b}_{Q_1}^{\top} \pmb{b}_{Q_2} + \pmb{b}_{K_1}^{\top} \pmb{b}_{K_2}$ is the result of eigendecomposition.
|
| 436 |
+
|
| 437 |
+
Proof. We first show the process of converting the optimization problem to an Orthogonal Procrustes problem (SchΓΆnemann, 1966; Gower & Dijksterhuis, 2004). We can obtain that the optimization problem is equivalent to the following one.
|
| 438 |
+
|
| 439 |
+
$$
|
| 440 |
+
\min _ {\boldsymbol {R} _ {1}, \boldsymbol {R} _ {2} \in \mathcal {R}} \left\| \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} _ {1} - \boldsymbol {W} _ {Q _ {2}} ^ {\top} \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \boldsymbol {b} _ {Q _ {1}} \boldsymbol {R} _ {1} - \boldsymbol {b} _ {Q _ {2}} \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \boldsymbol {W} _ {K _ {1}} ^ {\top} \boldsymbol {R} _ {1} - \boldsymbol {W} _ {K _ {2}} ^ {\top} \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \boldsymbol {b} _ {K _ {1}} \boldsymbol {R} _ {1} - \boldsymbol {b} _ {K _ {2}} \boldsymbol {R} _ {2} \right\| _ {F} ^ {2}. \tag {15}
|
| 441 |
+
$$
|
| 442 |
+
|
| 443 |
+
Considering that $\pmb{R}_1, \pmb{R}_2 \in \mathcal{R}$ and $\pmb{R}_1, \pmb{R}_2$ are nonsingular matrices, we let $\pmb{R} = \pmb{R}_1\pmb{R}_2^{-1}$ and convert Equation (15) to the following one:
|
| 444 |
+
|
| 445 |
+
$$
|
| 446 |
+
\min _ {\boldsymbol {R}, \boldsymbol {R} _ {2} \in \mathcal {R}} \left\| \left(\boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {Q _ {2}} ^ {\top}\right) \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \left(\boldsymbol {b} _ {Q _ {1}} \boldsymbol {R} - \boldsymbol {b} _ {Q _ {2}}\right) \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \left(\boldsymbol {W} _ {K _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {K _ {2}} ^ {\top}\right) \boldsymbol {R} _ {2} \right\| _ {F} ^ {2} + \left\| \left(\boldsymbol {b} _ {K _ {1}} \boldsymbol {R} - \boldsymbol {b} _ {K _ {2}}\right) \boldsymbol {R} _ {2} \right\| _ {F} ^ {2}. \tag {16}
|
| 447 |
+
$$
|
| 448 |
+
|
| 449 |
+
As multiplying $R_{2}$ preserves the Frobenius norm, we can remove the $R_{2}$ terms from the objective and obtain an Orthogonal Procrustes problem as follows:
|
| 450 |
+
|
| 451 |
+
$$
|
| 452 |
+
\min _ {\boldsymbol {R} \in \mathcal {R}} \left\| \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {Q _ {2}} ^ {\top} \right\| _ {F} ^ {2} + \| \boldsymbol {b} _ {Q _ {1}} \boldsymbol {R} - \boldsymbol {b} _ {Q _ {2}} \| _ {F} ^ {2} + \left\| \boldsymbol {W} _ {K _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {K _ {2}} ^ {\top} \right\| _ {F} ^ {2} + \| \boldsymbol {b} _ {K _ {1}} \boldsymbol {R} - \boldsymbol {b} _ {K _ {2}} \| _ {F} ^ {2}. \tag {17}
|
| 453 |
+
$$
|
| 454 |
+
|
| 455 |
+
We take a look at the first term $\left\| W_{Q_1}^\top R - W_{Q_2}^\top \right\| _F^2$ and have:
|
| 456 |
+
|
| 457 |
+
$$
|
| 458 |
+
\begin{array}{l} \min _ {\boldsymbol {R} \in \mathcal {R}} \left\| \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {Q _ {2}} ^ {\top} \right\| _ {F} ^ {2} \\ = \min _ {\boldsymbol {R} \in \mathcal {R}} \left\langle \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {Q _ {2}} ^ {\top}, \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R} - \boldsymbol {W} _ {Q _ {2}} ^ {\top} \right\rangle_ {F} \\ = \max _ {\boldsymbol {R} \in \mathcal {R}} \left\langle \boldsymbol {W} _ {Q _ {1}} ^ {\top} \boldsymbol {R}, \boldsymbol {W} _ {Q _ {2}} ^ {\top} \right\rangle_ {F} \tag {18} \\ = \max _ {\boldsymbol {R} \in \mathcal {R}} \operatorname {t r} \left(\boldsymbol {R} ^ {\top} \boldsymbol {W} _ {Q _ {1}} \boldsymbol {W} _ {Q _ {2}} ^ {\top}\right) \\ = \max _ {\boldsymbol {R} \in \mathcal {R}} \left\langle \boldsymbol {R}, \boldsymbol {W} _ {Q _ {1}} \boldsymbol {W} _ {Q _ {2}} ^ {\top} \right\rangle_ {F}. \\ \end{array}
|
| 459 |
+
$$
|
| 460 |
+
|
| 461 |
+
Similarly, we can convert Equation (17) to the following one:
|
| 462 |
+
|
| 463 |
+
$$
|
| 464 |
+
\max _ {\boldsymbol {R} \in \mathcal {R}} \left\langle \boldsymbol {R}, \boldsymbol {W} _ {Q _ {1}} \boldsymbol {W} _ {Q _ {2}} ^ {\top} + \boldsymbol {W} _ {K _ {1}} \boldsymbol {W} _ {K _ {2}} ^ {\top} + \boldsymbol {b} _ {Q _ {1}} ^ {\top} \boldsymbol {b} _ {Q _ {2}} + \boldsymbol {b} _ {K _ {1}} ^ {\top} \boldsymbol {b} _ {K _ {2}} \right\rangle_ {F}. \tag {19}
|
| 465 |
+
$$
|
| 466 |
+
|
| 467 |
+
We then conduct the singular value decomposition to the matrix $\mathbf{W}_{Q_1}\mathbf{W}_{Q_2}^\top +\mathbf{W}_{K_1}\mathbf{W}_{K_2}^\top +\mathbf{b}_{Q_1}^\top \mathbf{b}_{Q_2} + \mathbf{b}_{K_1}^\top \mathbf{b}_{K_2} = \mathbf{U}\boldsymbol {\Sigma}\mathbf{V}^\top$ and have:
|
| 468 |
+
|
| 469 |
+
$$
|
| 470 |
+
\begin{array}{l} \max _ {\boldsymbol {R} \in \mathcal {R}} \left\langle \boldsymbol {R}, \boldsymbol {W} _ {Q _ {1}} \boldsymbol {W} _ {Q _ {2}} ^ {\top} + \boldsymbol {W} _ {K _ {1}} \boldsymbol {W} _ {K _ {2}} ^ {\top} + \boldsymbol {b} _ {Q _ {1}} ^ {\top} \boldsymbol {b} _ {Q _ {2}} + \boldsymbol {b} _ {K _ {1}} ^ {\top} \boldsymbol {b} _ {K _ {2}} \right\rangle_ {F} \\ = \max _ {\boldsymbol {R} \in \mathcal {R}} \operatorname {t r} \left(\boldsymbol {V} \boldsymbol {\Sigma} \boldsymbol {U} ^ {\top} \boldsymbol {R}\right) \tag {20} \\ = \max _ {\boldsymbol {R} \in \mathcal {R}} \operatorname {t r} \left(\boldsymbol {\Sigma} \boldsymbol {U} ^ {\top} \boldsymbol {R} \boldsymbol {V}\right) \\ = \operatorname {t r} (\boldsymbol {\Sigma}), \\ \end{array}
|
| 471 |
+
$$
|
| 472 |
+
|
| 473 |
+
where $\boldsymbol{U}^{\top}\boldsymbol{R}\boldsymbol{V} = \boldsymbol{I}$ , i.e., $\boldsymbol{R} = \boldsymbol{U}\boldsymbol{V}^{\top}$ . Finally, we incorporate $\boldsymbol{R} = \boldsymbol{U}\boldsymbol{V}^{\top}$ into $\boldsymbol{R} = \boldsymbol{R}_1\boldsymbol{R}_2^{-1}$ and let $\boldsymbol{R}_2 = \boldsymbol{I}$ for simplicity. Subsequently, we have $\boldsymbol{R}_1 = \boldsymbol{U}\boldsymbol{V}^{\top}$ and $\boldsymbol{R}_2 = \boldsymbol{I}$ as a closed-form solution of the optimization problem in Theorem 4.1.
|
| 474 |
+
|
| 475 |
+

|
| 476 |
+
|
| 477 |
+
From the proof, we can observe that the optimization problem in Theorem 4.1 has infinite pairs of solutions $\{R_1, R_2\}$ regarding the value of $R_2$ . In this paper, we let $R_2 = I$ for simplicity, which makes model 2 an anchor model. However, the value of $R_2$ can be further adjusted to benefit some data-dependent model fusion techniques (Singh & Jaggi, 2020; Jin et al., 2023). We leave this part to future work.
|
| 478 |
+
|
| 479 |
+
# B. Comparison with Related Work
|
| 480 |
+
|
| 481 |
+
Git Re-Basin (Ainsworth et al., 2023) introduces three model fusion algorithms: weight matching, activation matching, and straight-through matching, based on permutation symmetry. While these methods are effective for CNNs and MLPs, they do not easily extend to transformers due to the discrete nature of permutation symmetry. In a discrete space, the parameter matching problem is equivalent to solving a sum of bilinear assignment problems, which is NP-hard (Ainsworth et al., 2023). To address this limitation, we introduce rotation symmetry, which extends the symmetry space to a continuous domain, allowing for a closed-form solution to parameter matching. Unlike permutation symmetry, rotation symmetry provides a more flexible and efficient solution for aligning parameters in transformers.
|
| 482 |
+
|
| 483 |
+
Additionally, our study emphasizes the advantage of weight matching as a plug-and-play module for model fusion, as it preserves model functionality while reducing the inner distance of end models after matching. OT-ACTS (Imfeld et al., 2024) also includes a parameter matching step, leveraging optimal transport for model fusion. However, its matching module is restricted to permutation operations, and its fusion method is limited to simple merging. In contrast, our approach generalizes parameter matching to rotation operations and integrates it with more advanced merging strategies, demonstrating the potential of parameter matching to enhance model fusion.
|
| 484 |
+
|
| 485 |
+
A concurrent work by Tran et al. (2024) explores a similar form of rotation symmetry. However, their focus is on constructing functionally equivalent networks for transformers, whereas we focus on leveraging rotation symmetry for model fusion, proposing a theoretically optimal parameter matching algorithm specifically designed to improve fusion performance.
|
| 486 |
+
|
| 487 |
+
# C. Experimental Details
|
| 488 |
+
|
| 489 |
+
Datasets. Similar with (Jin et al., 2023), We employ emotion classification and named entity recognition (NER) as the tasks for the main experiments. The emotion classification datasets are extracted from (Bostan & Klinger, 2018). Five of them are selected as in-domain datasets (emoint, ssec, electoraltweets, grounded_emotions, affectivetext), and five others are good datasets (dailydialog, crowdflower, tec, tales-emotion, isear). For the NER task, we choose OntoNotes (Hovy et al., 2006) for model finetuning and CoNLL (Tjong Kim Sang & De Meulder, 2003) for out-of-domain evaluation. Additionally, in the ablation study and subset layers matching, we employ datasets (STS-B, SST-2, CoLA) from GLUE (Wang et al., 2019) to analyze the module performance.
|
| 490 |
+
|
| 491 |
+
Baselines. We compared the performance of our method with two matching baselines:
|
| 492 |
+
|
| 493 |
+
- OTFusion (Singh & Jaggi, 2020) mitigates the positional mismatch of functionally analogous neurons across end models by employing optimal transport to align neurons layer-wise, thus enabling more effective model merging.
|
| 494 |
+
- Git Re-Basin (Ainsworth et al., 2023) matches the parameters of end models through learned permutation symmetries in the parameter space, aiming to transform their parameters into a shared basin within the loss landscape and facilitate seamless merging.
|
| 495 |
+
|
| 496 |
+
Meanwhile, to address RQ1, we further select six merging methods as baselines:
|
| 497 |
+
|
| 498 |
+
- Simple (Wortsman et al., 2022) directly averages the weight matrices of independently pretrained end models.
|
| 499 |
+
- Fisher (Matena & Raffel, 2022) approximates each end model's posterior as a Gaussian distribution with a precision matrix derived from its Fisher information, thereby casting model merging as a Maximum Likelihood Estimation (MLE) problem over these posterior distributions.
|
| 500 |
+
- RegMean (Jin et al., 2023) formulates model merging as a regression problem, aiming to minimize the Euclidean distance between the predictions of the merged model and individual end models over a set of input samples.
|
| 501 |
+
- OT-WTS (Imfeld et al., 2024) extends OTFusion by introducing soft neuron alignment, which replaces the rigid one-to-one neuron matching with a more flexible, weighted correspondence between neurons. Subsequent model merging is then guided by these soft alignment weights.
|
| 502 |
+
- OT-ACTS and OT-ACTS-EMD (Imfeld et al., 2024) are two variants of OT-WTS that match neurons based on their
|
| 503 |
+
|
| 504 |
+
activations rather than directly aligning parameter matrices. Specifically, OT-ACTS measures activation similarity using Euclidean distance, while OT-ACTS-EMD employs Earth Mover's Distance for a more fine-grained comparison.
|
| 505 |
+
|
| 506 |
+
The code implementation is based on (Jin et al., 2023)Β² for NLP tasks and (Imfeld et al., 2024)Β³ for vision tasks.
|
| 507 |
+
|
| 508 |
+
# D. Limitations
|
| 509 |
+
|
| 510 |
+
In this study, we proposed a theoretically optimal parameter matching algorithm based on rotation symmetry. However, the optimality guarantees of our method are subject to several important prerequisites.
|
| 511 |
+
|
| 512 |
+
First, our theoretical analysis in Theorem 4.1 focuses on the binary model matching case, where the optimal solution is independent of the choice of anchor model. This property, however, does not naturally extend to the multi-model setting. When matching multiple models, a straightforward extension involves selecting a single model as an anchor and aligning the others to it using pairwise rotation-based matching. Yet, in this case, the global optimality depends on the definition of the overall distance metric and may not be preserved. An alternative is iterative pairwise matching, but this introduces path dependency, i.e., the final result can vary depending on the order of merging. Extending our framework to the optimal multi-model matching problem remains an open challenge for future work.
|
| 513 |
+
|
| 514 |
+
Second, the scope of our parameter matching algorithm is within the rotation symmetry, as defined in Equation (5). While this serves as a tractable and well-motivated instance of parameter space symmetry, we recognize that Transformers exhibit a richer set of structural symmetries beyond permutation, rotation, and rescaling. For example, recent work suggests that geometric properties of normalization and softmax layers may enlarge the symmetry set of previous model layers (Kunin et al., 2021; Lim et al., 2024a). Characterizing the complete symmetry group of transformers remains an open question.
|
| 515 |
+
|
| 516 |
+
We also considered the possibility of extending rotation matrices to invertible matrices in terms of parameter space symmetries. Although invertible matrices expand the symmetry set, they are less suitable for practical parameter matching. Specifically, our closed-form solution in Equation (9) relies on the orthogonality of the rotation matrices. If replacing them with general invertible matrices, it becomes difficult to derive a closed-form solution for Equation (9), leading to suboptimal solution and increased complexity. Additionally, parameter matching requires computation of the inverse matrix of every $\mathbf{R}$ , which is impractical for invertible matrices. In contrast, orthogonal matrices benefit from computationally efficient inverses (via transposition) and theoretical simplicity.
|
| 517 |
+
|
| 518 |
+
Finally, we apply the rescaling symmetry after optimizing for rotation-based matching. However, our sequential approach (first optimizing rotation $\mathbf{R}$ , then rescaling weight $\alpha$ ) does not guarantee global optimality for the joint optimization over $(\mathbf{R}, \alpha)$ . Deriving a globally optimal solution would require solving Equation (12) in closed form, which remains non-trivial. Hence, we consider our method as a practical approximation to the joint optimization solution which balances theoretical soundness with computational efficiency. Exploring a fully joint optimization framework for rotation and rescaling symmetries can be a promising direction for future research.
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cd778ad85d02f0094ec6f3ff2420ee7c53d96a4a2e9dd0b9f88363021bc24cf
|
| 3 |
+
size 589513
|
2025/Beyond the Permutation Symmetry of Transformers_ The Role of Rotation for Model Fusion/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/1a2572fb-8fce-427d-a09e-f6c5c0d94ca3_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d83993789d10523b2e3486334690ac263672c8cb5f4563bd364fc341c2cb047
|
| 3 |
+
size 5754140
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecc000f8f3bc495f68980f0d6a437268944e196f1a0cf192bb2b9995b1476b2a
|
| 3 |
+
size 1489755
|
2025/Bi-perspective Splitting Defense_ Achieving Clean-Seed-Free Backdoor Security/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/332e0677-babf-4a85-9347-30c2a8d88e3c_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50f3e3c73103b8b8f8178ffff2f289c8c71e7aed42275e83c0990fdcc283fe07
|
| 3 |
+
size 13718826
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/full.md
ADDED
|
@@ -0,0 +1,534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BiAssemble: Learning Collaborative Affordance for Bimanual Geometric Assembly
|
| 2 |
+
|
| 3 |
+
Yan Shen $^{*12}$ Ruihai Wu $^{*1}$ Yubin Ke $^{1}$ Xinyuan Song $^{1}$ Zeyi Li $^{1}$ Xiaoqi Li $^{12}$ Hongwei Fan $^{12}$ Haoran Lu $^{1}$ Hao Dong $^{12}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Shape assembly, the process of combining parts into a complete whole, is a crucial robotic skill with broad real-world applications. Among various assembly tasks, geometric assemblyβwhere broken parts are reassembled into their original form (e.g., reconstructing a shattered bowl)βis particularly challenging. This requires the robot to recognize geometric cues for grasping, assembly, and subsequent bimanual collaborative manipulation on varied fragments. In this paper, we exploit the geometric generalization of point-level affordance, learning affordance aware of bimanual collaboration in geometric assembly with long-horizon action sequences. To address the evaluation ambiguity caused by geometry diversity of broken parts, we introduce a real-world benchmark featuring geometric variety and global reproducibility. Extensive experiments demonstrate the superiority of our approach over both previous affordance-based and imitation-based methods. Project page: https://sites.google.com/view/biassembly/.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Shape assembly, the task of assembling individual parts into a complete whole, is a critical skill for robots with wide-ranging real-world applications. This task can be broadly categorized into two main branches: furniture assembly (Zhan et al., 2020; Heo et al., 2023; Lee et al., 2021) and geometric assembly (Wu et al., 2023c; Sellan et al., 2022; Lu et al., 2024c). Furniture assembly focuses on combining functional components, such as chair legs and arms,
|
| 12 |
+
|
| 13 |
+
*Equal contribution ${}^{1}$ CFCS, School of Computer Science, Peking University ${}^{2}$ PKU-Agibot Lab. Correspondence to: Hao Dong <hao.dong@pku.edu.cn>.
|
| 14 |
+
|
| 15 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 16 |
+
|
| 17 |
+
into a fully constructed piece, emphasizing both the functional role of each part and the overall structural design. In contrast, geometric assembly involves reconstructing broken objects, like piecing together parts of a shattered mug, to restore their original form. While furniture assembly has been relatively well-studiedβranging from computer vision tasks that predict part poses in the assembled object (Zhan et al., 2020) to robotic systems that assemble parts in both simulation (Ankile et al., 2024; Yu et al., 2021; Wang et al., 2022a) and real-world environments (Heo et al., 2023; SuΓ‘rez-Ruiz et al., 2018; Xian et al., 2017)βgeometric assembly remains under-explored despite its significant potential for real-world applications (SellΓ‘n et al., 2022; Lu et al., 2024b), such as repairing broken household items, reconstructing archaeological artifacts (Papaioannou & Karabassi, 2003), assembling irregularly shaped objects in industrial tasks, aligning bone fragments in surgery (Liu et al., 2014), and reconstructing fossils in paleontology (Clarke et al., 2005).
|
| 18 |
+
|
| 19 |
+
Previous works on geometric assembly primarily focused on generating physically plausible broken parts through precise physics simulations in the graphics domain (SellΓ‘n et al., 2022; 2023), and estimating the target assembled part poses based on observations in the computer vision domain (Wu et al., 2023c; Lu et al., 2024c; Qi et al., 2025). These studies only consider the geometries and ideal assembled poses of broken parts, dismissing the process of step-by-step assembling parts to the complete shape. However, different from opening a door or closing a drawer, only with the ideal part poses, it is difficult for a robot to directly and successfully manipulate broken parts to the complete shape.
|
| 20 |
+
|
| 21 |
+
The challenges of the above robotic geometric shape assembly task mainly come from the exceptionally large observation and action spaces. For the observation space, the broken parts have arbitrary geometries, and the grasps on the object surface should consider not only the local geometry itself, but also whether grasping on such point can afford the subsequent bimanual assembly actions. For the action space, as illustrated in Figure 1, it requires long-horizon action trajectories. Given the contact-rich nature of the task, where collisions among the two parts and two robots will easily exist, the actions should be fine-grained and aware
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1. (A) Direct learning long-horizon action trajectories of geometric assembly may face many challenges: grasping ungraspable points, grasping points not suitable for assembly (e.g., seams of fragments), robot colliding with parts and the other robot. (B) We formulate this task into 3 steps: pick-up, alignment and assembly. For assembly, we predict the direction that will not result in part collisions. For alignment, we transformed any assembled poses to pose easy for the robot to manipulate from the initial poses without collisions. For pick-up, we learn point-level affordance aware of graspness and the following 2 steps. (C) Real-World Evaluations with affordance predictions on two mugs and the corresponding manipulation.
|
| 25 |
+
|
| 26 |
+
of bimanual collaboration. Consequently, the policy must account for geometry, contact-rich assembly processes, and bimanual coordination.
|
| 27 |
+
|
| 28 |
+
We propose our BiAssemble framework for this challenging task. For geometric awareness, we utilize point-level affordance, which is trained to focus on local geometry. This approach has demonstrated strong geometric generalization in diverse tasks (Wu et al., 2022; 2023b), including short-term bimanual manipulation (Zhao et al., 2022), such as pushing a box or lifting a basket. To enhance the affordance model with an understanding of subsequent long-horizon bimanual assembly actions, we draw inspiration from how humans intuitively assemble fragments: after picking up two fragments, we align them at the seam, deliberately leaving a gap (since directly placing them in the target pose often causes
|
| 29 |
+
|
| 30 |
+
geometric collisions), with part poses denoted as alignment poses. We then gradually move the fragments toward each other to fit them together precisely. The alignment poses of the two fragments can be obtained by disassembling assembled parts in opposite directions. With this information, it becomes straightforward to extend the geometry-aware affordance to further be aware of whether the controller can move fragments into the alignment poses without collisions.
|
| 31 |
+
|
| 32 |
+
We develop a simulation environment where robots can be controlled to assemble broken parts. This simulation environment bridges the gap between vision-based pose prediction for broken parts and the real-world robotic geometric assembly. Moreover, since broken parts exhibit varied geometries (e.g., the same bowl falling from different heights breaking into different groups of fragments), it is challeng-
|
| 33 |
+
|
| 34 |
+
ing to fairly assess policy performance in real-world settings. To address this, we further introduce a real-world benchmark featuring globally available objects with reproducible broken parts, along with their corresponding 3D meshes, which can be integrated into simulation environment. This benchmark enables consistent and fair evaluation of robotic geometric assembly policies. Extensive experiments on diverse categories demonstrate the superiority of our method both quantitatively and qualitatively.
|
| 35 |
+
|
| 36 |
+
# 2. Related Work
|
| 37 |
+
|
| 38 |
+
# 2.1.3D Shape Assembly
|
| 39 |
+
|
| 40 |
+
Shape assembly is a well-established problem in visual manipulation, with many studies focusing on constructing a complete shape from given parts, typically involving the pose prediction of each part for accurate placement (Zhan et al., 2020; Wang et al., 2022a). Further work (Heo et al., 2023; Tian et al., 2022; Jones et al., 2021; Willis et al., 2022; Tie et al., 2025) studied assembly with robotic execution, requiring robots to carry out each step, with benchmarks spanning various applications from home furniture assembly (Lee et al., 2021) to factory-based nut-and-bolt interactions (Narang et al., 2022). We categorize these tasks into two types: furniture assembly and geometric assembly. This paper focuses on geometric assembly, where pieces are irregular and lack semantic definitions, such as in the case of a broken bowl, making categorization difficult. This contrasts with furniture assembly that involves parts like nuts, bolts, and screws, each with specific functions and clear categorization.
|
| 41 |
+
|
| 42 |
+
Previous work on geometric assembly (SellΓ‘n et al., 2022; Chen et al., 2022; Lu et al., 2024c), includes Wu et al. (2023c), which learns SE(3)-equivariant part representations by capturing part correlations for assembly, and Lee et al. (2024), which introduces a low-complexity, high-order feature transform layer that refines feature pair matching. However, these methods primarily focus on synthesizing parts into a cohesive object based on pose considerations without incorporating robotic execution, which is impractical in real-world scenarios where collisions may occur if the assembly process ignores actions. To tackle this challenge, we introduce a robotic bimanual geometric assembly framework that leverages two robots to collaboratively assemble pieces, enhancing stability in real-world execution.
|
| 43 |
+
|
| 44 |
+
# 2.2. Bimanual Manipulation
|
| 45 |
+
|
| 46 |
+
Bimanual manipulation (Chen et al., 2023; Grannen et al., 2023; Mu et al., 2021; Chitnis et al., 2020; Lee et al., 2015; Xie et al., 2020; Ren et al., 2024b; Liu et al., 2024; 2022; Li et al., 2023; Mu et al., 2024) offers several advantages, particularly in tasks requiring stable control or wide action
|
| 47 |
+
|
| 48 |
+
space. Current research primarily focuses on planning and collaboration. ACT (Fu et al., 2024; Zhao et al., 2023) introduces a transformer-based encoder-decoder architecture that leverages semantic knowledge from image inputs to predict bimanual actions. PerAct2 (Grotz et al., 2024) learns features at both voxel and language levels, utilizing shared and private transformer blocks to coordinate two robotic arms based on semantic instructions. However, in tasks rich in geometric complexity, where objects have limited semantic information but intricate geometric structures, these approachesβfocused on semantic understandingβmay encounter generalization limits. DualAfford (Zhao et al., 2022) learns point-level collaborative visual affordance, while only for short-term tasks like pushing or rotating. To address this, we leverage the geometric generalization capability of point-level affordance, and enhance it with the awareness of subsequent long-horizon assembly actions.
|
| 49 |
+
|
| 50 |
+
# 2.3. Visual Affordance for Robotic Manipulation
|
| 51 |
+
|
| 52 |
+
Among various vision-based approaches for robotic manipulation (Goyal et al., 2023; Brohan et al., 2023; Ze et al., 2024; Ju et al., 2024), for objects with rich geometric information and tasks requiring geometric generalization, point-level affordance, which reflects the functionality of each point for downstream manipulation (Mo et al., 2021; Li et al., 2024a), is broadly leveraged and can easily generalize to novel shapes with similar local geometries. A series of research have leverage this representation to a broad range of robotic manipulation tasks, such as deformable object manipulation (Wu et al., 2023b; Lu et al., 2024a; Wu et al., 2024), object manipulation in complex environments (Ding et al., 2024; Li et al., 2024b; Wu et al., 2023a), object manipulation with efficient exploration (Ning et al., 2024; Wang et al., 2022b), and short-term bimanual manipulation (Zhao et al., 2022). Leveraging the strengths of affordance representation, we design a sophisticated approach that incorporates this representation into bimanual geometric assembly task requiring long-horizon fine-grained actions, enhancing generalization and enabling more effective collaboration in addressing long-horizon geometric assembly challenges.
|
| 53 |
+
|
| 54 |
+
# 3. Problem Formulation
|
| 55 |
+
|
| 56 |
+
The task is to use two grippers to assemble a pair of 3D fractured parts initialized in random poses on the table. A camera situated in front of the table captures a partially scanned point cloud $O$ . Given $O$ , current state-of-the-art methods (Scarpellini et al., 2024; Lu et al., 2024c; Chen et al., 2022) can imagine the assembled part poses and the assembled object $S$ in any pose. Thus we assume taking imaginary assembled shape $S$ as the input.
|
| 57 |
+
|
| 58 |
+
For the policy $\pi$ , as illustrated in Figure 1, we can simplify this long-term process into 3 key steps:
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2. Framework Overview. With the point cloud observation and Imaginary Assembled Shape, the model predicts the disassembly direction in which the disassembled part poses can be easily reached by manipulating the raw parts under the guidance Bi-Affordance.
|
| 62 |
+
|
| 63 |
+
- Pick-up: the two grippers pick up the fractured parts with actions $(g_1^{pick}, g_2^{pick})$ ;
|
| 64 |
+
- Alignment: grippers carry parts to alignment poses with actions $(g_{1}^{align}, g_{2}^{align})$ , positioning part seams to face each other and ensuring precise alignment for a perfect assembly;
|
| 65 |
+
Assembly: grippers move forward to complete the assembly with actions $(g_1^{asm}, g_2^{asm})$ .
|
| 66 |
+
|
| 67 |
+
Here, 1 and 2 denote the left and the right grippers, respectively. Each gripper action $g$ is formulated as an $SE(3)$ matrix, representing the gripper pose in 3D space.
|
| 68 |
+
|
| 69 |
+
# 4. Method
|
| 70 |
+
|
| 71 |
+
# 4.1. Overview
|
| 72 |
+
|
| 73 |
+
Our BiAssembly framework is designed to predict collaborative affordance and gripper actions for bimanual geometric shape assembly. First, to propose the assembly direction on two aligned parts, we develop the Disassembly Predic
|
| 74 |
+
|
| 75 |
+
tor to learn the feasible disassembly directions in which the opposite assembly direction will result in no collisions, based on the fracture geometry of the imaginary assembled shape in any pose (4.2). Next, we design the Transformation Predictor, to transform disaassembled parts to poses where the controller can successfully manipulate the initial parts to these alignment poses (4.3). Based on the predicted part alignment poses, we propose the BiAffordance Predictor, which not only predicts where to grasp the fractured parts, but also considers the subsequent collaborative alignment and assembly steps (4.4). Finally, we explain training strategy and loss functions (4.6).
|
| 76 |
+
|
| 77 |
+
# 4.2. Disassembly Prediction Based on Shape Geometry
|
| 78 |
+
|
| 79 |
+
The set of feasible disassembly directions (in which the disassembly and opposite assembly processes will not result in collisions) is an inherent attribute of a pair of fractured parts, determined by fracture geometries. Therefore, we predict the disassembly directions, from the object-centric perspective, on the imaginary assembled shape $S$ in any
|
| 80 |
+
|
| 81 |
+
pose. Additionally, we observe that when fractured parts rotate, the feasible disassembly directions will rotate correspondingly, maintaining SO(3) equivariance relative to part poses. This SO(3) equivariance property is advantageous for disentangling shape geometry from shape poses, as demonstrated in previous works (Wu et al., 2023c; Scarpellini et al., 2024). Therefore, we adopt VN-DGCNN (Wu et al., 2023c; Deng et al., 2021) to encode the imaginary assembled shape parts $S$ and acquire the SO(3)-equivariant shape feature $f_{s}$ .
|
| 82 |
+
|
| 83 |
+
Inputting the equivariant representation $f_{s}$ , we use the Disassembly Predictor to predict the distribution of disassembly directions. Concretely, the Disassembly Predictor is implemented as a conditional variational autoencoder (cVAE) (Sohn et al., 2015), where the cVAE encoder maps the input disassembly direction $v$ into Gaussian noise $z \in \mathbb{R}^{32}$ , and the cVAE decoder reconstructs the disassembly direction $v$ from $z$ , with $f_{s}$ as the condition.
|
| 84 |
+
|
| 85 |
+
# 4.3. Transformation Prediction For Alignment Pose
|
| 86 |
+
|
| 87 |
+
Given the object-centric disassembly direction resulting in no collisions in the last-step assembly, we want to predict the alignment poses, where the robot can manipulate two parts from the initial poses to the alignment poses without collisions, and then robot can execute the assembly step. This problem can be formulated as predicting an SE(3) transformation $M \in \mathbb{R}^{4 \times 4}$ that is applied to the combination of the imaginary assembled shape $S$ and the disassembly direction $v$ . To capture this, we adopt PointNet++ (Qi et al., 2017a;b) to encode the initial point cloud observation $O$ into the global feature $f_{O}$ . We also employ an MLP to encode disassembly direction $v$ into feature $f_{v}$ . The transformation predictor, which is implemented as a cVAE, takes in concatenation of $(f_{O}, f_{v})$ to predict the SE(3) transformation $M$ . The yellow and blue arrow in Fig. 2 illustrate the data flow in this process: by applying the transformation $M$ to the imaginary assembly $S$ and disassembly direction $v$ , we obtain the transformed $S'$ and $v'$ . Therefore, we can get the target poses to which the objects should be moved during the alignment and assembly phases.
|
| 88 |
+
|
| 89 |
+
# 4.4. BiAffordance Predictor
|
| 90 |
+
|
| 91 |
+
We build the BiAffordance Predictor to propose actions in the Pick-up step, indicating where to grasp the two fractured parts that can facilitate the whole long-horizon robotic assembly task. The BiAffordance Predictor should both identify easy-to-grasp regions on fractured parts and consider the subsequent Alignment and Assembly steps. This means (1) avoiding grasping regions in the seam and (2) preventing each gripper from adopting poses that could collide with the other part or gripper during subsequent steps.
|
| 92 |
+
|
| 93 |
+
Following DualAfford (Zhao et al., 2022), we disentangle the bimanual task into two conditional submodules. As
|
| 94 |
+
|
| 95 |
+
presented in Fig. 2 (bottom), during inference, the BiAffordance Predictor conditionally predicts two gripper actions. The first Affordance Network generates the affordance map for the first gripper, highlighting the actionable regions for the bimanual assembly task, and we select a contact point $p_1^*$ with high actionable value. Then, the Actor Network predicts the gripper orientation $r_1$ for interaction at $p_1^*$ . Based on the first action $g_1 = (p_1^*, r_1)$ , we can then predict the second gripper action $g_2 = (p_2^*, r_2)$ using the second Affordance Network and Actor Network.
|
| 96 |
+
|
| 97 |
+
Different from DualAfford that only predicts affordance for short-term tasks, we use whether the manipulation points can satisfy the following alignment pose (by the robotic controller) and the assembly step as the training signal.
|
| 98 |
+
|
| 99 |
+
To encode input information, one PointNet++ encodes the initial point cloud $O$ obtains per-point features $\{f_p\}$ . Another PointNet++ encodes the transformed shape $S^{\prime}$ and derives the global feature $f_{s^{\prime}}$ . Additionally, an MLP encodes the transformed disassembly direction $v^{\prime}$ into $f_{v^{\prime}}$ .
|
| 100 |
+
|
| 101 |
+
For Affordance and Actor Networks' designs, the first Affordance Network is implemented as an MLP that receives the concatenated features $(f_{p}, f_{S'}, f_{v'})$ and predicts an affordance score in the range of $[0, 1]$ for each point $p$ . By aggregating the affordance scores of all points, we obtain the first affordance map, and from which we select $p_1^*$ . The first Actor Network is implemented as a cVAE that takes the concatenated features $(f_{p_1^*}, f_{S'}, f_{v'})$ as condition, and outputs the gripper orientation $r_1$ . The design of the second Affordance Network and Actor Network follows a similar structure, with the difference that they additionally incorporate the first gripper action's feature $(f_{p_1^*}, f_{r_1})$ along with $(f_{p}, f_{S'}, f_{v'})$ . More details about the BiAffordance Predictor can be found in Appendix C.
|
| 102 |
+
|
| 103 |
+
# 4.5. Alignment and Assembly Actions
|
| 104 |
+
|
| 105 |
+
After successfully grasping a part, we now predict the gripper alignment poses $g_{i}^{align}$ and assembly poses $g_{i}^{asm}$ , with $i \in \{1,2\}$ denotes the gripper id. We assume the relative pose between the gripper and the object remains stable. For example, in the first pickup step and the third assembly step, the relative gripper-object pose remains consistent, as expressed in Equation 1:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
g _ {i} ^ {\text {p i c k}} \cdot q _ {i} ^ {\text {p i c k}} = g _ {i} ^ {\text {a s m}} \cdot q _ {i} ^ {\text {a s m}}; \quad g, q \in S E (3). \tag {1}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
Here, $g$ and $q$ denote gripper and object poses, respectively.
|
| 112 |
+
|
| 113 |
+
Next, as we have the imaginary part shapes $\mathcal{P}$ with pose $q_{i}^{init}$ , we can utilize a pretrained pose estimation model (Wen et al., 2024) to predict the relative pose of $q_{i}^{pick}$ with respect to $q_{i}^{init}$ . Besides, by applying the predicted transformation $M$ to $\mathcal{P}$ , we obtain the target assembled part $\mathcal{P}'$ and its pose as $q_{i}^{asm} = M \cdot q_{i}^{init}$ . The gripper pose $g_{i}^{pick}$
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 3. Part A illustrates the pipeline for scanning and reconstructing real objects. Part B presents examples of fractured parts from various categories, showcasing diverse geometries.
|
| 117 |
+
|
| 118 |
+
can be acquired from the robot control interface. Therefore, the gripper's final pose for assembling the parts can be calculated using Equation 2:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
g _ {i} ^ {a s m} = g _ {i} ^ {p i c k} \cdot q _ {i} ^ {p i c k} \cdot \left(q _ {i} ^ {i n i t}\right) ^ {- 1} \cdot M ^ {- 1}; \quad g, q \in S E (3). \tag {2}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
It is important to note that, as indicated in the above simplified equation, we do not need to define a canonical pose or try to obtain the values of $q_{i}^{init}$ ; we only require the relative pose of $q_{i}^{pick}$ to $q_{i}^{init}$ .
|
| 125 |
+
|
| 126 |
+
A similar relationship can be established between the first and the second intermediate steps, with the difference being that $q_{i}^{align} = M \cdot q_{i}^{init} + v'$ .
|
| 127 |
+
|
| 128 |
+
# 4.6. Training and Losses
|
| 129 |
+
|
| 130 |
+
Disassembly Direction Loss. The Disassembly Predictor is implemented as cVAE. We apply Cosine Similarity Loss to measure the error between the reconstructed disassembly direction $v$ and ground-truth $v^{*}$ , and KL Divergence to measure the difference between two distributions:
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\mathcal {L} _ {D} = \mathcal {L} _ {C L S} (v, v ^ {*}) + D _ {K L} \left(q (z | v ^ {*}, f _ {s}) | | \mathcal {N} (0, 1)\right). \tag {3}
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
Transformation Loss. The predicted SE(3) transformation matrix $M$ consists of translation $T$ and rotation $R$ . Our model predicts the translation as a 3D-vector using L1 Loss. The rotation, represented as a SO(3) matrix, can be expressed as a 6D vector by using two 3D vectors that correspond to the directions of the two orthogonal axes. Consequently, ours model predicts the rotation as a 6D-vector and employs the geodesic loss. In summary, let $T^{*}$ and $R^{*}$ denote the ground-truth, and for simplicity, denote
|
| 137 |
+
|
| 138 |
+
$D_{KL}\big(q(z|x,f)||\mathcal{N}(0,1)\big)$ as $D(x,f)$ , and denote the concatenated features $(f_s,f_v)$ as $f_{sv}$ . The loss function is:
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\mathcal {L} _ {T} = \mathcal {L} _ {1} (T, T ^ {*}) + \mathcal {L} _ {g e o} (R, R ^ {*}) + D (T ^ {*}, f _ {s v}) + D (R ^ {*}, f _ {s v}).
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
For the losses used in the Bi-Affordance Predictor, we provide detailed explanation in Appendix C.
|
| 145 |
+
|
| 146 |
+
# 5. Benchmark
|
| 147 |
+
|
| 148 |
+
# 5.1. Simulation Benchmark
|
| 149 |
+
|
| 150 |
+
Constructing a large-scale dataset with real objects is both time-consuming and costly. To address this challenge, we utilize the Breaking Bad Dataset (SellΓ‘n et al., 2022), which models the natural destruction of objects into fragments. This dataset features multiple categories, diverse objects, and varying fracture patterns. For physics simulation, we employ the SAPIEN (Xiang et al., 2020) platform along with two two-finger Franka Panda grippers as robot actuators.
|
| 151 |
+
|
| 152 |
+
We randomly select a pair of 3D fractured parts from a randomly chosen shape within a random category. The initial part poses are also randomized. Given the considerable diversity in fractured parts, collecting successful manipulation data for assembly can be quite challenging. To enhance data collection efficiency, we implement several heuristic strategies, with details in Appendix B.
|
| 153 |
+
|
| 154 |
+
# 5.2. Real-World Benchmark
|
| 155 |
+
|
| 156 |
+
A real-world benchmark is crucial not only for the evaluation of various methods but also for providing a standardized platform that enables researchers to reproduce and share solutions. Illustrated in Figure 3, we build the real-world benchmark by scanning with a smart phone camera. First,
|
| 157 |
+
|
| 158 |
+
Table 1. Quantitative results for novel instances within training categories and for unseen categories.
|
| 159 |
+
|
| 160 |
+
<table><tr><td rowspan="2">Method</td><td colspan="10">Novel Instances in Training Categories</td><td colspan="6">Novel Categories</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>AVG</td><td></td><td></td><td></td><td></td><td></td><td>AVG</td></tr><tr><td>ACT</td><td>2%</td><td>0%</td><td>0%</td><td>0%</td><td>1%</td><td>0%</td><td>0%</td><td>0%</td><td>0%</td><td>0%</td><td>0.30%</td><td>0%</td><td>1%</td><td>0%</td><td>0%</td><td>1%</td></tr><tr><td>Heuristic</td><td>5%</td><td>8%</td><td>0%</td><td>3%</td><td>2%</td><td>4%</td><td>3%</td><td>5%</td><td>10%</td><td>2%</td><td>4.20%</td><td>1%</td><td>5%</td><td>2%</td><td>0%</td><td>14%</td></tr><tr><td>SE(3)-Equiv</td><td>0%</td><td>0%</td><td>4%</td><td>0%</td><td>1%</td><td>5%</td><td>0%</td><td>7%</td><td>2%</td><td>11%</td><td>3.00%</td><td>4%</td><td>0%</td><td>2%</td><td>0%</td><td>2%</td></tr><tr><td>DualAfford</td><td>21%</td><td>17%</td><td>0%</td><td>2%</td><td>2%</td><td>4%</td><td>14%</td><td>8%</td><td>10%</td><td>6%</td><td>8.40%</td><td>5%</td><td>10%</td><td>4%</td><td>1%</td><td>16%</td></tr><tr><td>w/o SE(3)</td><td>59%</td><td>29%</td><td>13%</td><td>14%</td><td>11%</td><td>8%</td><td>15%</td><td>19%</td><td>24%</td><td>20%</td><td>21.20%</td><td>13%</td><td>24%</td><td>4%</td><td>9%</td><td>22%</td></tr><tr><td>Ours</td><td>60%</td><td>38%</td><td>13%</td><td>13%</td><td>12%</td><td>9%</td><td>26%</td><td>18%</td><td>27%</td><td>25%</td><td>24.10%</td><td>14%</td><td>31%</td><td>10%</td><td>7%</td><td>25%</td></tr><tr><td>w/ GT Target</td><td>71%</td><td>28%</td><td>4%</td><td>9%</td><td>9%</td><td>13%</td><td>27%</td><td>19%</td><td>25%</td><td>19%</td><td>22.40%</td><td>14%</td><td>33%</td><td>12%</td><td>9%</td><td>27%</td></tr></table>
|
| 161 |
+
|
| 162 |
+
we put the object on an automatic turntable with 6 aruco markers around for precise camera localization, and capture a RGB video from a top-down view to a level view, lowering the height by one level for each 360-degree rotation. After capturing 4-5 levels, we uniformly sample around 300 frames, and feed them to COLMAP (SchΓΆnberger & Frahm, 2016; SchΓΆnberger et al., 2016) for estimating camera poses. Then, we use Grounded SAM 2 (Ren et al., 2024a; Ravi et al., 2024) to generate object masks and Depth Anything V2 (Yang et al., 2024) to predict monocular depths, and use SDFStudio (Yu et al., 2022; Wang et al., 2021) with depth ranking loss (Wang et al., 2023) to reconstruct object mesh. To annotate the ground-truth of scanned object assembly, we import the object slices to Blender (Community, 2018) and edit the object transformations.
|
| 163 |
+
|
| 164 |
+
Our real-world benchmark encompasses a diverse range of object categories, including wine glass, plate, beer bottle, bowl, mug, and teapot. These objects have been primarily selected from well-known international brands, ensuring both durability and accessibility. To promote object diversity, our shapes vary in size, geometry, transparency, and texture, with different seam geometries.
|
| 165 |
+
|
| 166 |
+
# 6. Experiments
|
| 167 |
+
|
| 168 |
+
# 6.1. Simulation and Settings
|
| 169 |
+
|
| 170 |
+
The simulation environment is built on the SAPIEN (Xiang et al., 2020) platform, utilizing the Franka Panda grippers as the robot actuator. We employ the EverydayColorPieces dataset from the Breaking Bad Dataset (SellΓ‘n et al., 2022), covering 15 categories, 445 shapes and 11,820 fragment pairs, with 10 categories for training and the remaining 5 for testing. Training categories are further divided into training shapes and novel instances, allowing the evaluation on generalization capabilities at both the object and category levels. More details can be found in Appendix A. For each method, we provide 7,000 positive and 7,000 negative samples. Negative samples encompass failures occurring during grasping, alignment, and assembly steps.
|
| 171 |
+
|
| 172 |
+
# 6.2. Evaluation Metric, Baselines and Ablation
|
| 173 |
+
|
| 174 |
+
Evaluation Metric. Our metric evaluates whether relative distance (measured in unit-length) and rotation angle (measured in degrees) of two parts are within the threshold range at the end of assembly. These thresholds ensure the success of assembly can be measured consistently and meaningfully. To evaluate each method, we prepare 100 samples in each category. For each sample, all methods are presented with the same initial observation for a fair comparison.
|
| 175 |
+
|
| 176 |
+
Baselines and Ablations. We compare with four baselines and two ablated versions:
|
| 177 |
+
|
| 178 |
+
(1) ACT (Zhao et al., 2023), a transformer network with action chunking that imitates successful action sequences in closed-loop manner. We enhance this method by providing depth information, object pose, and an additional target image as inputs. Besides, this baseline is trained and tested on individual categories, whereas other learning-based methods are trained on all training categories and evaluated on both novel instances and unseen categories.
|
| 179 |
+
(2) Heuristic, where we hand-engineer a set of heuristic strategies to improve manipulation success rate. These strategies are similar to the data collection heuristics (Appendix B).
|
| 180 |
+
(3) SE(3)-Equiv (Wu et al., 2023c) that learns SE(3)-equivariant part representations to estimate target assembled part poses in the computer vision domain. Though originally designed for assembled part pose predictions without considering robotic execution, we adapted it as a baseline by generating the pick-up actions of robots via heuristic strategies. Additionally, given the predicted pose $q_{i}^{asm}$ for part $i$ , we compute the corresponding gripper pose $g_{i}^{asm}$ for assembly action, following Equation 1.
|
| 181 |
+
(4) DualAfford (Zhao et al., 2022) that learns collaborative visual affordance for bimanual manipulation. While it focuses on short-term manipulation, we adapt it to determine where to grasp the two fractured parts, using heuristic methods for alignment and assembly steps.
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
Figure 4. Simulation Experiment. We present qualitative results of the predicted affordance maps and robot actions from our method.
|
| 185 |
+
|
| 186 |
+
(5) w/o SE(3), an ablation that replaces SO(3)-equivariant VN-DGCNN encoder with PointNet++.
|
| 187 |
+
(6) w/ GT target, where we provide additional ground-truth disassembly direction $v$ and transformation $M$ . Ground truth is sampled using a heuristic method that ensures at least one feasible assembly.
|
| 188 |
+
|
| 189 |
+
# 6.3. Quantitative Results and Analysis
|
| 190 |
+
|
| 191 |
+
Table 1 shows the success rate comparisons across different methods on both the novel instance dataset and the unseen category dataset. Our method outperforms the baselines and ablation models in most cases, demonstrating its effectiveness and geometric generalization capabilities.
|
| 192 |
+
|
| 193 |
+
For ACT, though we provide additional input such as depth, object poses, and the goal image, it achieves lower scores on our task. Although ACT successfully picks up parts in approximately $40\%$ of trials, it often fails during the alignment phase, with a misalignment of over $100^{\circ}$ between the parts in many cases. Furthermore, ACT struggles to avoid grasping the fractured seam regions, leading to collisions during the assembly process. This is because the observation and action spaces in robotic geometric assembly are exceptionally large, making it challenging to directly learn the appropriate fine-grained actions.
|
| 194 |
+
|
| 195 |
+
For heuristic, it achieves higher scores because we provide substantial ground-truth information in simulation. However, due to the significant diversity in both inter- and intracategory shape geometries, it is unrealistic to expect hand-engineered rules to generalize effectively across all shapes.
|
| 196 |
+
|
| 197 |
+
For SE(3)-Equiv, the lower accuracy is primarily due to its disregard for the robotic execution process, which is a common limitation of prior visual assembly estimation methods. Specifically, these methods do not determine suitable grasping locations on the fragments, not only for successful pick-up but also for avoiding the seam region critical to subsequent assembly. They also lack the capability to align the fragments properly at the seam, significantly increasing the likelihood of collisions when the parts are brought together.
|
| 198 |
+
|
| 199 |
+
For DualAfford, it performs better than the heuristic policy, demonstrating its superior ability to learn geometric-aware pick-up poses compared to heuristic sampling. However, only with designs focused on short-term manipulation, it still lacks awareness of the subsequent alignment and assembly steps.
|
| 200 |
+
|
| 201 |
+
In comparison with the ablation models, our method also shows consistent improvements. Compared to the ablation w/o SE(3), we observe that utilizing the SE(3)-equivariant representation enhances the performance across most categories. Compared to the ablation w/ GT Target, our method performs better on novel instances but worse on novel categories. This suggests that, for the training categories, our method learns to predict a more accurate distribution of disassembly and transformation, surpassing those sampled from the heuristic strategy. However, on novel unseen categories, while our method still demonstrates generalization capability, the ablated version with the ground-truth target remains more effective.
|
| 202 |
+
|
| 203 |
+
Appendix E presents additional experiments and analyses, including multi-fragment assembly, the use of "imperfect" imaginary assembly shape inputs, and further ablations.
|
| 204 |
+
|
| 205 |
+
# 6.4. Qualitative Results and Analysis
|
| 206 |
+
|
| 207 |
+
In Figure 4, we present collaborative affordance maps and robot manipulations predicted by our methods across multiple categories, including novel instances in training categories and unseen categories. Predicted affordance demonstrates an awareness of part geometry, highlighting graspable regions while avoiding areas near the table that could result in collisions between the gripper and surface. Additionally, the affordance accounts for subsequent alignment and assembly steps, avoiding seam areas that may cause collisions during the approach phase. Based on predicted affordance map, our model predicts appropriate gripper actions for assembling parts. Moreover, the results demonstrate the ability to generalize to unseen categories and shapes.
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
Figure 5. Real-World Experiment. We present the results of our model tested on real-world scans.
|
| 211 |
+
|
| 212 |
+
# 6.5. Real-World Experiments
|
| 213 |
+
|
| 214 |
+
We set up two Franka Panda with fractures positioned between them. An Azure Kinect camera is mounted in front of the robots, capturing partial 3D point cloud data as inputs for our models. The robots are controlled via the Robot Operating System (ROS) (Quigley et al., 2009), with control and communication managed through the frankapy library (Zhang et al., 2020). Communication with the Kinect Azure is facilitated by the pyk4a library (pyk4a, 2019).
|
| 215 |
+
|
| 216 |
+
Figure 5 and the bottom row of Figure 1 present promising results by directly testing our method in real-world scenarios. Detailed manipulation processes are shown in Appendix F and videos are available in the supplementary materials. We observe that our model not only learns which regions of the fractured parts to grasp but also avoids manipulating areas near the fracture regions or too close to the table surface, reducing the likelihood of collisions during manipulation. The results from the real-world experiments demonstrate our model's capacity for generalization to real-world scenarios.
|
| 217 |
+
|
| 218 |
+
# 7. Conclusion
|
| 219 |
+
|
| 220 |
+
We leverage the geometric generalization capability of point-level affordance to develop a method that enables both generalization and collaboration in long-horizon geometric assembly tasks. To evaluate performance across diverse geometries, we introduced a real-world benchmark that features significant geometric variety and global reproducibility. Extensive experiments have shown that our approach outperforms previous methods, demonstrating its effectiveness in handling complex and long-horizon assembly tasks.
|
| 221 |
+
|
| 222 |
+
# Impact Statement
|
| 223 |
+
|
| 224 |
+
This work contributes to the development of shape assembly skills in future robots, specifically focusing on visual collaborative affordance predictions. These affordances can be visualized and analyzed prior to deployment, which may reduce potential risks and dangers. We do not anticipate any significant ethical concerns or societal consequences arising from our research.
|
| 225 |
+
|
| 226 |
+
# Acknowledgements
|
| 227 |
+
|
| 228 |
+
This paper is supported by National Natural Science Foundation of China (No. 62376006) and National Youth Talent Support Program (8200800081).
|
| 229 |
+
|
| 230 |
+
# References
|
| 231 |
+
|
| 232 |
+
Ankile, L., Simeonov, A., Shenfeld, I., and Agrawal, P. Juicer: Data-efficient imitation learning for robotic assembly. arXiv preprint arXiv:2404.03729, 2024.
|
| 233 |
+
Brohan, A., Brown, N., Carbajal, J., Chebotar, Y., Chen, X., Choromanski, K., Ding, T., Driess, D., Dubey, A., Finn, C., et al. Rt-2: Vision-language-action models transfer web knowledge to robotic control. arXiv preprint arXiv:2307.15818, 2023.
|
| 234 |
+
Chen, Y., Geng, Y., Zhong, F., Ji, J., Jiang, J., Lu, Z., Dong, H., and Yang, Y. Bi-dexhands: Towards human-level bimanual dexterous manipulation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023.
|
| 235 |
+
Chen, Y.-C., Li, H., Turpin, D., Jacobson, A., and Garg,
|
| 236 |
+
|
| 237 |
+
A. Neural shape mating: Self-supervised object assembly with adversarial shape priors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12724-12733, 2022.
|
| 238 |
+
Chitnis, R., Tulsiani, S., Gupta, S., and Gupta, A. Efficient bimanual manipulation using learned task schemas. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pp. 1149-1155. IEEE, 2020.
|
| 239 |
+
Clarke, J. A., Tambussi, C. P., Noriega, J. I., Erickson, G. M., and Ketcham, R. A. Definitive fossil evidence for the extant avian radiation in the cretaceous. Nature, 433 (7023):305-308, 2005.
|
| 240 |
+
Community, B. O. Blender - a 3D modelling and rendering package. Blender Foundation, Stichting Blender Foundation, Amsterdam, 2018. URL http://www.blender.org.
|
| 241 |
+
Deng, C., Litany, O., Duan, Y., Poulenard, A., Tagliasacchi, A., and Guibas, L. J. Vector neurons: A general framework for so (3)-equivariant networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 12200-12209, 2021.
|
| 242 |
+
Ding, K., Chen, B., Wu, R., Li, Y., Zhang, Z., Gao, H.-a., Li, S., Zhu, Y., Zhou, G., Dong, H., et al. Preafford: Universal affordance-based pre-grasping for diverse objects and environments. IROS, 2024.
|
| 243 |
+
Fu, Z., Zhao, T. Z., and Finn, C. Mobile aloha: Learning bimanual mobile manipulation with low-cost whole-body teleoperation. arXiv preprint arXiv:2401.02117, 2024.
|
| 244 |
+
Goyal, A., Xu, J., Guo, Y., Blukis, V., Chao, Y.-W., and Fox, D. Rvt: Robotic view transformer for 3d object manipulation. In Conference on Robot Learning, pp. 694-710. PMLR, 2023.
|
| 245 |
+
Grannen, J., Wu, Y., Vu, B., and Sadigh, D. Stabilize to act: Learning to coordinate for bimanual manipulation. In Conference on Robot Learning, pp. 563-576. PMLR, 2023.
|
| 246 |
+
Grotz, M., Shridhar, M., Asfour, T., and Fox, D. Peract2: A perceiver actor framework for bimanual manipulation tasks. arXiv preprint arXiv:2407.00278, 2024.
|
| 247 |
+
Heo, M., Lee, Y., Lee, D., and Lim, J. J. Furniturebench: Reproducible real-world benchmark for long-horizon complex manipulation. arXiv preprint arXiv:2305.12821, 2023.
|
| 248 |
+
Jones, B., Hildreth, D., Chen, D., Baran, I., Kim, V. G., and Schulz, A. Automate: A dataset and learning approach for automatic mating of cad assemblies. ACM Transactions on Graphics (TOG), 40(6):1-18, 2021.
|
| 249 |
+
|
| 250 |
+
Ju, Y., Hu, K., Zhang, G., Zhang, G., Jiang, M., and Xu, H. Robo-abc: Affordance generalization beyond categories via semantic correspondence for robot manipulation. arXiv preprint arXiv:2401.07487, 2024.
|
| 251 |
+
Lee, A. X., Lu, H., Gupta, A., Levine, S., and Abbeel, P. Learning force-based manipulation of deformable objects from multiple demonstrations. In 2015 IEEE International Conference on Robotics and Automation (ICRA), pp. 177-184. IEEE, 2015.
|
| 252 |
+
Lee, N., Min, J., Lee, J., Kim, S., Lee, K., Park, J., and Cho, M. 3d geometric shape assembly via efficient point cloud matching. arXiv preprint arXiv:2407.10542, 2024.
|
| 253 |
+
Lee, Y., Hu, E. S., and Lim, J. J. Iea furniture assembly environment for long-horizon complex manipulation tasks. In 2021 iee international conference on robotics and automation (icra), pp. 6343-6349. IEEE, 2021.
|
| 254 |
+
Li, X., Zhang, M., Geng, Y., Geng, H., Long, Y., Shen, Y., Zhang, R., Liu, J., and Dong, H. Manipllm: Embodied multimodal large language model for object-centric robotic manipulation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18061-18070, 2024a.
|
| 255 |
+
Li, Y., Pan, C., Xu, H., Wang, X., and Wu, Y. Efficient bi-manual handover and rearrangement via symmetry-aware actor-critic learning. In 2023 IEEE International Conference on Robotics and Automation (ICRA), pp. 3867-3874. IEEE, 2023.
|
| 256 |
+
Li, Y., Wu, R., Lu, H., Ning, C., Shen, Y., Zhan, G., and Dong, H. Broadcasting support relations recursively from local dynamics for object retrieval in clutters. RSS, 2024b.
|
| 257 |
+
Liu, B., Luo, X., Huang, R., Wan, C., Zhang, B., Hu, W., and Yue, Z. Virtual plate pre-bending for the long bone fracture based on axis pre-alignment. Computerized medical imaging and graphics, 38(4):233-244, 2014.
|
| 258 |
+
Liu, J., Chen, Y., Dong, Z., Wang, S., Calinon, S., Li, M., and Chen, F. Robot cooking with stir-fry: Bimanual non-prehensile manipulation of semi-fluid objects. IEEE Robotics and Automation Letters, 7(2):5159-5166, 2022.
|
| 259 |
+
Liu, Y., Yang, H., Si, X., Liu, L., Li, Z., Zhang, Y., Liu, Y., and Yi, L. Taco: Benchmarking generalizable bimanual tool-action-object understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 21740-21751, 2024.
|
| 260 |
+
Lu, H., Li, Y., Wu, R., Ning, C., Shen, Y., and Dong, H. Unigarment: A unified simulation and benchmark for garment manipulation. In ICRA Workshop on Deformable Object Manipulation, 2024a.
|
| 261 |
+
|
| 262 |
+
Lu, J., Liang, Y., Han, H., Hua, J., Jiang, J., Li, X., and Huang, Q. A survey on computational solutions for reconstructing complete objects by reassembling their fractured parts. arXiv preprint arXiv:2410.14770, 2024b.
|
| 263 |
+
Lu, J., Sun, Y., and Huang, Q. Jigsaw: Learning to assemble multiple fractured objects. Advances in Neural Information Processing Systems, 36, 2024c.
|
| 264 |
+
Mo, K., Guibas, L. J., Mukadam, M., Gupta, A., and Tulsiani, S. Where2act: From pixels to actions for articulated 3d objects. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 6813-6823, 2021.
|
| 265 |
+
Mu, T., Ling, Z., Xiang, F., Yang, D., Li, X., Tao, S., Huang, Z., Jia, Z., and Su, H. Maniskill: Learning-from-demonstrations benchmark for generalizable manipulation skills. CoRR, abs/2107.14483, 2021b. URL https://arxiv.org/abs/2107.14483, 2021.
|
| 266 |
+
Mu, Y., Chen, T., Peng, S., Chen, Z., Gao, Z., Zou, Y., Lin, L., Xie, Z., and Luo, P. Robotwin: Dual-arm robot benchmark with generative digital twins (early version). arXiv preprint arXiv:2409.02920, 2024.
|
| 267 |
+
Narang, Y., Storey, K., Akinola, I., Macklin, M., Reist, P., Wawrzyniak, L., Guo, Y., Moravanszky, A., State, G., Lu, M., et al. Factory: Fast contact for robotic assembly. arXiv preprint arXiv:2205.03532, 2022.
|
| 268 |
+
Ning, C., Wu, R., Lu, H., Mo, K., and Dong, H. Where2explore: Few-shot affordance learning for unseen novel categories of articulated objects. Advances in Neural Information Processing Systems, 36, 2024.
|
| 269 |
+
Papaioannou, G. and Karabassi, E.-A. On the automatic assemblage of arbitrary broken solid artefacts. Image and Vision Computing, 21(5):401-412, 2003.
|
| 270 |
+
pyk4a. pyk4a, 2019. URL https://github.com/ etiennedub/pyk4a.
|
| 271 |
+
Qi, C. R., Su, H., Mo, K., and Guibas, L. J. Pointnet: Deep learning on point sets for 3d classification and segmentation. Proc. Computer Vision and Pattern Recognition (CVPR), IEEE, 2017a.
|
| 272 |
+
Qi, C. R., Yi, L., Su, H., and Guibas, L. J. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. Advances in neural information processing systems, 30, 2017b.
|
| 273 |
+
Qi, Y., Ju, Y., Wei, T., Chu, C., Wong, L. L., and Xu, H. Two by two: Learning multi-task pairwise objects assembly for generalizable robot manipulation. CVPR 2025, 2025.
|
| 274 |
+
Quigley, M., Conley, K., Gerkey, B., Faust, J., Foote, T., Leibs, J., Wheeler, R., Ng, A. Y., et al. Ros: an open-source robot operating system. In ICRA workshop on
|
| 275 |
+
|
| 276 |
+
open source software, volume 3, pp. 5. Kobe, Japan, 2009.
|
| 277 |
+
Ravi, N., Gabeur, V., Hu, Y.-T., Hu, R., Ryali, C., Ma, T., Khedr, H., RΓ€dle, R., Rolland, C., Gustafson, L., Mintun, E., Pan, J., Alwala, K. V., Carion, N., Wu, C.-Y., Girshick, R., Dollar, P., and Feichtenhofer, C. Sam 2: Segment anything in images and videos. arXiv preprint arXiv:2408.00714, 2024. URL https://arxiv.org/abs/2408.00714.
|
| 278 |
+
Ren, T., Liu, S., Zeng, A., Lin, J., Li, K., Cao, H., Chen, J., Huang, X., Chen, Y., Yan, F., Zeng, Z., Zhang, H., Li, F., Yang, J., Li, H., Jiang, Q., and Zhang, L. Grounded sam: Assembling open-world models for diverse visual tasks, 2024a.
|
| 279 |
+
Ren, Y., Zhou, Z., Xu, Z., Yang, Y., Zhai, G., Leibold, M., Ni, F., Zhang, Z., Buss, M., and Zheng, Y. Enabling versatility and dexterity of the dual-arm manipulators: A general framework toward universal cooperative manipulation. IEEE Transactions on Robotics, 2024b.
|
| 280 |
+
Scarpellini, G., Fiorini, S., Giulari, F., Morerio, P., and Del Bue, A. Diffassemble: A unified graph-diffusion model for 2d and 3d reassembly. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2024.
|
| 281 |
+
SchΓΆnberger, J. L. and Frahm, J.-M. Structure-from-motion revisited. In Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
|
| 282 |
+
SchΓΆnberger, J. L., Zheng, E., Pollefeys, M., and Frahm, J.-M. Pixelwise view selection for unstructured multiview stereo. In European Conference on Computer Vision (ECCV), 2016.
|
| 283 |
+
SellΓ‘n, S., Chen, Y.-C., Wu, Z., Garg, A., and Jacobson, A. Breaking bad: A dataset for geometric fracture and reassembly. In Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2022.
|
| 284 |
+
SellΓ‘n, S., Luong, J., Mattos Da Silva, L., Ramakrishnan, A., Yang, Y., and Jacobson, A. Breaking good: Fracture modes for realtime destruction. ACM Transactions on Graphics, 42(1):1-12, 2023.
|
| 285 |
+
Sera, I., Yamanobe, N., Ramirez-Alpizar, I. G., Wang, Z., Wan, W., and Harada, K. Assembly planning by recognizing a graphical instruction manual. In 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 3138-3145. IEEE, 2021.
|
| 286 |
+
Sohn, K., Lee, H., and Yan, X. Learning structured output representation using deep conditional generative models. Advances in neural information processing systems, 28: 3483-3491, 2015.
|
| 287 |
+
|
| 288 |
+
SuΓ‘rez-Ruiz, F., Zhou, X., and Pham, Q.-C. Can robots assemble an ikea chair? Science Robotics, 3(17):eaat6385, 2018.
|
| 289 |
+
Tian, Y., Xu, J., Li, Y., Luo, J., Sueda, S., Li, H., Willis, K. D., and Matusik, W. Assemble them all: Physics-based planning for generalizable assembly by disassembly. ACM Transactions on Graphics (TOG), 41(6):1-11, 2022.
|
| 290 |
+
Tie, C., Sun, S., Zhu, J., Liu, Y., Guo, J., Hu, Y., Chen, H., Chen, J., Wu, R., and Shao, L. Manual2skill: Learning to read manuals and acquire robotic skills for furniture assembly using vision-language models. In Proceedings of Robotics: Science and Systems (RSS), 2025.
|
| 291 |
+
Tsesmelis, T., Palmieri, L., Khoroshiltseva, M., Islam, A., Elkin, G., Shahar, O. I., Scarpellini, G., Fiorini, S., Ohayon, Y., Alali, N., et al. Re-assembling the past: The repair dataset and benchmark for real world 2d and 3d puzzle solving. arXiv preprint arXiv:2410.24010, 2024.
|
| 292 |
+
Wan, Y., Zhou, K., Dong, H., et al. Scanet: Correcting lego assembly errors with self-correct assembly network. arXiv preprint arXiv:2403.18195, 2024.
|
| 293 |
+
Wang, G., Chen, Z., Loy, C. C., and Liu, Z. Sparsenerf: Distilling depth ranking for few-shot novel view synthesis. In IEEE/CVF International Conference on Computer Vision (ICCV), 2023.
|
| 294 |
+
Wang, P., Liu, L., Liu, Y., Theobalt, C., Komura, T., and Wang, W. Neus: Learning neural implicit surfaces by volume rendering for multi-view reconstruction. *NeurIPS*, 2021.
|
| 295 |
+
Wang, R., Zhang, Y., Mao, J., Zhang, R., Cheng, C.-Y., and Wu, J. Ikee-manual: Seeing shape assembly step by step. Advances in Neural Information Processing Systems, 35: 28428-28440, 2022a.
|
| 296 |
+
Wang, Y., Wu, R., Mo, K., Ke, J., Fan, Q., Guibas, L. J., and Dong, H. Adaafford: Learning to adapt manipulation affordance for 3d articulated objects via few-shot interactions. In European conference on computer vision, pp. 90-107. Springer, 2022b.
|
| 297 |
+
Wen, B., Yang, W., Kautz, J., and Birchfield, S. Foundationpose: Unified 6d pose estimation and tracking of novel objects. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17868-17879, 2024.
|
| 298 |
+
Willis, K. D., Jayaraman, P. K., Chu, H., Tian, Y., Li, Y., Grandi, D., Sanghi, A., Tran, L., Lambourne, J. G., Solar-Lezama, A., et al. Joinable: Learning bottom-up assembly of parametric cad joints. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 15849-15860, 2022.
|
| 299 |
+
|
| 300 |
+
Wu, R., Zhao, Y., Mo, K., Guo, Z., Wang, Y., Wu, T., Fan, Q., Chen, X., Guibas, L., and Dong, H. Vat-mart: Learning visual action trajectory proposals for manipulating 3d articulated objects. ICLR, 2022.
|
| 301 |
+
Wu, R., Cheng, K., Zhao, Y., Ning, C., Zhan, G., and Dong, H. Learning environment-aware affordance for 3d articulated object manipulation under occlusions. In Thirty-seventh Conference on Neural Information Processing Systems, 2023a. URL https://openreview.net/forum?id=Re2NHYoZ51.
|
| 302 |
+
Wu, R., Ning, C., and Dong, H. Learning foresightful dense visual affordance for deformable object manipulation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 10947-10956, 2023b.
|
| 303 |
+
Wu, R., Tie, C., Du, Y., Zhao, Y., and Dong, H. Leveraging se (3) equivariance for learning 3d geometric shape assembly. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 14311-14320, 2023c.
|
| 304 |
+
Wu, R., Lu, H., Wang, Y., Wang, Y., and Dong, H. Unigarmmentmanip: A unified framework for category-level garment manipulation via dense visual correspondence. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16340-16350, 2024.
|
| 305 |
+
Xian, Z., Lertkultanon, P., and Pham, Q.-C. Closed-chain manipulation of large objects by multi-arm robotic systems. IEEE Robotics and Automation Letters, 2(4):1832-1839, 2017.
|
| 306 |
+
Xiang, F., Qin, Y., Mo, K., Xia, Y., Zhu, H., Liu, F., Liu, M., Jiang, H., Yuan, Y., Wang, H., et al. Sapien: A simulated part-based interactive environment. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 11097-11107, 2020.
|
| 307 |
+
Xie, F., Chowdhury, A., De Paolis Kaluza, M., Zhao, L., Wong, L., and Yu, R. Deep imitation learning for bimanual robotic manipulation. Advances in neural information processing systems, 33:2327-2337, 2020.
|
| 308 |
+
Yang, L., Kang, B., Huang, Z., Zhao, Z., Xu, X., Feng, J., and Zhao, H. Depth anything v2. arXiv:2406.09414, 2024.
|
| 309 |
+
Yu, M., Shao, L., Chen, Z., Wu, T., Fan, Q., Mo, K., and Dong, H. Roboassembly: Learning generalizable furniture assembly policy in a novel multi-robot contact-rich simulation environment. arXiv preprint arXiv:2112.10143, 2021.
|
| 310 |
+
Yu, Z., Chen, A., Antic, B., Peng, S., Bhattacharyya, A., Niemeyer, M., Tang, S., Sattler, T., and Geiger,
|
| 311 |
+
|
| 312 |
+
A. Sdfstudio: A unified framework for surface reconstruction, 2022. URL https://github.com/ autonomousvision/sdfstudio.
|
| 313 |
+
Ze, Y., Zhang, G., Zhang, K., Hu, C., Wang, M., and Xu, H. 3d diffusion policy. arXiv preprint arXiv:2403.03954, 2024.
|
| 314 |
+
Zhan, G., Fan, Q., Mo, K., Shao, L., Chen, B., Guibas, L. J., Dong, H., et al. Generative 3d part assembly via dynamic graph learning. Advances in Neural Information Processing Systems, 33:6315-6326, 2020.
|
| 315 |
+
Zhang, K., Sharma, M., Liang, J., and Kroemer, O. A modular robotic arm control stack for research: Franka-interface and frankapy. arXiv preprint arXiv:2011.02398, 2020.
|
| 316 |
+
Zhao, T. Z., Kumar, V., Levine, S., and Finn, C. Learning fine-grained bimanual manipulation with low-cost hardware. arXiv preprint arXiv:2304.13705, 2023.
|
| 317 |
+
Zhao, Y., Wu, R., Chen, Z., Zhang, Y., Fan, Q., Mo, K., and Dong, H. Dualafford: Learning collaborative visual affordance for dual-gripper manipulation. arXiv preprint arXiv:2207.01971, 2022.
|
| 318 |
+
|
| 319 |
+
# Appendix
|
| 320 |
+
|
| 321 |
+
# A. Details about Data Statistics
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
BreakingBad Dataset
|
| 325 |
+
Figure 6. Visualization of simulation data. We present one example shape from each object category used in our paper.
|
| 326 |
+
|
| 327 |
+
In Figure 6, we present a representative example for each object category from the dataset used in our experiments.
|
| 328 |
+
|
| 329 |
+
In this paragraph, we detail the data split for our experiments. We randomly select 10 out of the 15 categories for training, reserving the remaining 5 categories exclusively for testing. Within the 10 training categories, $60\%$ of the shapes are randomly chosen for the training set, while the remaining $40\%$ serve as a test set to assess the models' performance on novel instances within the training categories (shape-level). For the reserved 5 categories, all shapes are included in the test set to evaluate the methods' generalization capabilities on unseen categories (category-level). In summary, the training set consists of 10 categories, totaling 237 shapes and 6,403 pairs of fragments. The shape-level test set includes 10 categories, comprising 131 shapes and 3,638 pairs of fragments. The category-level test set encompasses 5 categories, containing 77 shapes and 1,779 pairs of fragments. Detailed statistics for each category can be found in Table 2.
|
| 330 |
+
|
| 331 |
+
# B. Details about Data Collection in Simulation
|
| 332 |
+
|
| 333 |
+
In this section, we provide detailed information about data collection in the simulation.
|
| 334 |
+
|
| 335 |
+
Due to the complexity of bimanual geometric assembly tasks, which stems from the vast observation and action spaces, it is nearly impossible to directly acquire positive data by randomly manipulating the fractured parts. To address this, we apply several heuristic strategies to improve the efficiency of data collection. Specifically, our strategies focus on the following three key steps in the process:
|
| 336 |
+
|
| 337 |
+
1. Sampling the grasping poses for the two grippers
|
| 338 |
+
2. Sampling the alignment poses for the two grippers
|
| 339 |
+
3. Sampling the assembly poses for the two grippers
|
| 340 |
+
|
| 341 |
+
Table 2. Shape and Fracture Counts Across Categories. Numbers before the slash represent the training set, and numbers after the slash represent the testing set. The top 10 categories are the training categories, and the bottom 5 categories are the unseen categories.
|
| 342 |
+
|
| 343 |
+
<table><tr><td>Category</td><td>Shape (Train/Test)</td><td>Fracture (Train/Test)</td></tr><tr><td>BeerBottle</td><td>6 / 3</td><td>100 / 61</td></tr><tr><td>Bottle</td><td>51 / 22</td><td>1296 / 559</td></tr><tr><td>Bowl</td><td>16 / 32</td><td>446 / 801</td></tr><tr><td>Mug</td><td>32 / 15</td><td>876 / 545</td></tr><tr><td>PillBottle</td><td>7 / 3</td><td>217 / 60</td></tr><tr><td>Statue</td><td>2 / 0</td><td>57 / 35</td></tr><tr><td>Teapot</td><td>7 / 3</td><td>315 / 104</td></tr><tr><td>ToyFigure</td><td>36 / 16</td><td>1118 / 556</td></tr><tr><td>Vase</td><td>74 / 32</td><td>1842 / 872</td></tr><tr><td>WineGlass</td><td>6 / 3</td><td>136 / 45</td></tr><tr><td>Cup</td><td>0 / 31</td><td>0 / 663</td></tr><tr><td>DrinkBottle</td><td>0 / 7</td><td>0 / 230</td></tr><tr><td>DrinkingUtensil</td><td>0 / 14</td><td>0 / 343</td></tr><tr><td>Teacup</td><td>0 / 7</td><td>0 / 167</td></tr><tr><td>WineBottle</td><td>0 / 18</td><td>0 / 376</td></tr><tr><td>Total</td><td>237 / 208</td><td>6403 / 5417</td></tr></table>
|
| 344 |
+
|
| 345 |
+
Each of these steps is described in detail in the following subsections.
|
| 346 |
+
|
| 347 |
+
# B.1. Sampling Grasping Poses
|
| 348 |
+
|
| 349 |
+
Different from furniture assembly task, where grasp points are easier to define, the objects in geometric shape assembly tasks have more diverse geometries, making it challenging to establish a consistent grasping policy. As a result, our heuristic strategy for grasping primarily focuses on the orientation of the grippers rather than specific grasp points.
|
| 350 |
+
|
| 351 |
+
At initialization, the two parts are randomly placed on the table. From the simulation, we obtain the ground-truth depth map and normalization map of the two parts. The normal directions often closely align with feasible grasping directions (i.e., the z-axis of the gripper). Consequently, we randomly select a grasp point on the part, and then choose a grasping direction within a cone that deviates less than 30 degrees from the normal direction at that point. To avoid potential collisions between the grippers and the table during grasping, we discard any directions that point towards the upper hemisphere of the world coordinate system.
|
| 352 |
+
|
| 353 |
+
In addition to the gripper's z-axis, the x-axis also significantly impacts grasping accuracy. Therefore, we uniformly sample a list of $n$ x-axis candidates that are orthogonal to the gripper's z-axis. By combining each candidate x-axis with the z-axis, we determine the gripper pose. We test each of these gripper poses sequentially. If a grasp pose successfully grasps the object, we proceed to the next stage; otherwise, we reset the scene and move on to the next x-axis candidate. If all grasp pose candidates fail, we record this as negative data for the grasping step. In our implementation, we empirically set $n = 6$ , resulting in each x-axis candidate being spaced 60 degrees apart.
|
| 354 |
+
|
| 355 |
+
# B.2. Sampling Alignment Poses
|
| 356 |
+
|
| 357 |
+
To sample the grippers' alignment poses, we begin by sampling feasible part poses during the alignment step. Our heuristic strategy also follows a reverse disassembly process. Specifically, we load the ground-truth assembled object into the simulation at a height of 0.5 meters above the tabletop, and allow the assembled object to take any pose rather than being restricted to a canonical pose. Next, we randomly explore feasible disassembly directions for the two parts, ensuring that these directions are collision-free. The resulting poses of the parts, after moving in their respective disassembly directions, represent the parts' alignment poses. It is important to note that we will discard alignment poses that are too distant from the parts' initial poses (for example, if the initial left part has an alignment pose to the right, while the initial right part has an alignment pose to the left).
|
| 358 |
+
|
| 359 |
+
Once we have determined the parts' alignment poses, we can calculate the grippers' alignment poses using the functions described in Section 4.5.
|
| 360 |
+
|
| 361 |
+
# B.3. Sampling Assembly Directions
|
| 362 |
+
|
| 363 |
+
In the previous step, we identified the feasible disassembly directions for the ground-truth assembled parts. Consequently, we can obtain the assembly directions by simply inverting these disassembly directions, allowing the two grippers to assemble the parts accordingly. However, it is important to note that this assembly process may lead to failures. This is because, although the parts can be successfully aligned in an idealized scenario without grippers, the presence of grippers increases the risk of collisions. For instance, if one gripper is positioned too close to the seam area of a fractured part, it may collide with another part or the other gripper during the assembly process.
|
| 364 |
+
|
| 365 |
+
# C. More Details about the BiAffordance Framework
|
| 366 |
+
|
| 367 |
+
In this section, we provide more details about the BiAffordance Predictor. Following DualAfford (Zhao et al., 2022), we decompose the bimanual cooperation task into two separate yet closely interconnected submodules, $\mathcal{M}_1$ and $\mathcal{M}_2$ , which conditionally predict the first and second gripper actions, respectively.
|
| 368 |
+
|
| 369 |
+
During inference, the first module $\mathcal{M}_1$ predicts the first gripper action $g_1 = (p_1^*, r_1)$ , followed by the second module $\mathcal{M}_2$ , which predicts the second action $g_2 = (p_2^*, r_2)$ conditioned on $g_1$ , as described in Section 4.4 of the main paper.
|
| 370 |
+
|
| 371 |
+
During training, $\mathcal{M}_2$ still takes the first gripper action $g_1$ as input, and then generates a complementary second action $g_2$ . However, since $\mathcal{M}_1$ lacks knowledge of how $g_2$ will be predicted, it faces challenges in predicting a collaborative action $g_1$ . To address this issue, we aim to make $\mathcal{M}_1$ aware of the types of actions that can be easily collaborated on. We assess the quality of $\mathcal{M}_1$ 's actions by evaluating whether $\mathcal{M}_2$ can generate cooperative actions, which encourages $\mathcal{M}_1$ to predict actions with high collaborative quality. Following this approach, $\mathcal{M}_2$ guides the training of $\mathcal{M}_1$ . Thus, we first train $\mathcal{M}_2$ and then use the trained $\mathcal{M}_2$ to train $\mathcal{M}_1$ , ensuring cooperative predictions.
|
| 372 |
+
|
| 373 |
+
During training, each submodule $\mathcal{M}_i$ consists of three components: (1) an Affordance Network $\mathcal{A}_i$ , which predicts an affordance map to indicate where interaction should occur; (2) an Actor Network $\mathcal{U}_i$ , which predicts manipulation orientations to determine how to interact at the selected point; and (3) a Critic Network $\mathcal{C}_i$ , which assesses the likelihood of the action's success.
|
| 374 |
+
|
| 375 |
+
To explain the training process, we begin with the more straightforward second module, $\mathcal{M}_2$ , which is also the first to be trained.
|
| 376 |
+
|
| 377 |
+
The Actor Network $\mathcal{U}_2$ in $\mathcal{M}_2$ is implemented as a conditional Variational Autoencoder (cVAE). As detailed in Section 4.4, it takes concatenated input features $f_{in} = (f_p,f_{S'},f_{v'})$ and the ground-truth feature of the first action $f_{g_1} = (f_{p_1^*},f_{r_1})$ from the collected data. We apply a geodesic distance loss to measure the error between the reconstructed gripper orientation $r_2$ and the ground-truth orientation $\hat{r}_2$ , along with KL divergence to quantify the difference between the two distributions:
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\mathcal {L} _ {\mathcal {U} _ {2}} = \mathcal {L} _ {g e o} \left(r _ {2}, \hat {r} _ {2}\right) + D _ {K L} \left(q \left(z \mid \hat {r} _ {2}, f _ {i n}, f _ {g _ {1}}\right) \mid \mid \mathcal {N} (0, 1)\right). \tag {4}
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
The Critic Network $\mathcal{C}_2$ in $\mathcal{M}_2$ is implemented as a multilayer perceptron (MLP) and evaluates how well the predicted second gripper action $g_{2} = (p_{2}^{*},r_{2})$ collaborates with the first action $g_{1}$ . Using the collected data along with the corresponding ground-truth interaction results $r$ (where $r = 1$ indicates a positive interaction and $r = 0$ indicates a negative one), we train $\mathcal{C}_2$ with the standard binary cross-entropy loss:
|
| 384 |
+
|
| 385 |
+
$$
|
| 386 |
+
\mathcal {L} _ {\mathcal {C} _ {2}} = r _ {j} \log \left(\mathcal {C} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {2} ^ {*}}, f _ {r _ {2}}\right)\right) + (1 - r _ {j}) \log \left(1 - \mathcal {C} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {2} ^ {*}}, f _ {r _ {2}}\right)\right). \tag {5}
|
| 387 |
+
$$
|
| 388 |
+
|
| 389 |
+
The Affordance Network $\mathcal{A}_2$ in $\mathcal{M}_2$ is implemented as a multilayer perceptron (MLP). The predicted affordance score represents the expected success rate for executing action proposals generated by the Actor Network, which can be directly evaluated by the Critic Network. To obtain the ground-truth affordance score $\hat{a}_{p_i}$ on $p_i$ , we use the Actor Network $\mathcal{U}_2$ to
|
| 390 |
+
|
| 391 |
+
sample $n$ gripper orientations at the point $p_i$ and calculate the average action scores assigned by the Critic Network $\mathcal{C}_2$ . We apply L1 loss to measure the error between the predicted and ground-truth affordance scores at a specific point $p_i$ :
|
| 392 |
+
|
| 393 |
+
$$
|
| 394 |
+
\hat {a} _ {p _ {i}} = \frac {1}{n} \sum_ {j = 1} ^ {n} \mathcal {C} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {i}}, \mathcal {U} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {i}}, z _ {j}\right)\right); \quad \mathcal {L} _ {\mathcal {A} _ {2}} = \left| \mathcal {A} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {i}}\right) - \hat {a} _ {p _ {i}} \right|. \tag {6}
|
| 395 |
+
$$
|
| 396 |
+
|
| 397 |
+
After training the expert model $\mathcal{M}_2 = (\mathcal{A}_2, \mathcal{U}_2, \mathcal{C}_2)$ , we can utilize it to generate collaborative actions $g_2$ for a given $g_1$ predicted by $\mathcal{M}_1$ . Thus, we can assess the quality of $\mathcal{M}_1$ 's actions by evaluating whether $\mathcal{M}_2$ can generate cooperative actions. Specifically, to evaluate the predicted $g_1$ , we use the trained $\mathcal{A}_2$ and $\mathcal{U}_2$ to generate multiple second gripper action candidates $\{g_2\}$ . We then employ $\mathcal{C}_2$ to determine how well these second gripper candidates $\{g_2\}$ collaborate with the proposed $g_1$ . The average critic score reflects how easily the second gripper can cooperate with the proposed first action $g_1$ . Consequently, this average score serves as the ground truth for the first Critic Network $\mathcal{C}_1$ , and we apply L1 loss for supervision:
|
| 398 |
+
|
| 399 |
+
$$
|
| 400 |
+
\hat {c} _ {g _ {1}} = \frac {1}{n m} \sum_ {j = 1} ^ {n} \sum_ {k = 1} ^ {m} \mathcal {C} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {j}}, \mathcal {U} _ {2} \left(f _ {i n}, f _ {g _ {1}}, f _ {p _ {j}}, z _ {j k}\right)\right); \quad \mathcal {L} _ {\mathcal {C} _ {1}} = \left| \mathcal {C} _ {1} \left(f _ {i n}, f _ {g _ {1}}\right) - \hat {c} _ {g _ {1}} \right|. \tag {7}
|
| 401 |
+
$$
|
| 402 |
+
|
| 403 |
+
To train the Affordance Network $\mathcal{A}_1$ and Actor Network $\mathcal{U}_1$ in $\mathcal{M}_1$ , the loss functions are similar to those used for $\mathcal{A}_2$ and $\mathcal{U}_2$ . Therefore, with the trained Critic Network $\mathcal{C}_1$ , the Affordance Network $\mathcal{A}_1$ assigns high scores to points that can be easily manipulated collaboratively by the subsequent gripper action.
|
| 404 |
+
|
| 405 |
+
In this training pipeline, the two gripper modules can generate collaborative affordance maps and manipulation actions for bimanual tasks. Note that during inference, the use of the Critic Networks is optional.
|
| 406 |
+
|
| 407 |
+
# D. Details about Training and Computational Costs
|
| 408 |
+
|
| 409 |
+
During training, there are two main components: (1) the Disassembly Predictor and the Transformation Predictor are trained together in an end-to-end manner, and (2) all modules within the BiAssembly Predictor are also trained collectively in an end-to-end manner. These two training components can be conducted simultaneously on a single GPU. Using a single NVIDIA V100 GPU, the total training time for our model is approximately 48 hours: the combination of the Disassembly Predictor and Transformation Predictor converges in about 20 hours, while the BiAffordance Predictor converges in about 48 hours.
|
| 410 |
+
|
| 411 |
+
During inference, our method utilizes only 1,600 MB of GPU memory and processes each data point in an average of 0.1 seconds.
|
| 412 |
+
|
| 413 |
+
# E. More Experimental Results
|
| 414 |
+
|
| 415 |
+
# E.1. Handling Multiple Broken Parts
|
| 416 |
+
|
| 417 |
+
Table 3. Quantitative Results for multi-fragment assembly.
|
| 418 |
+
|
| 419 |
+
<table><tr><td>Method</td><td>R</td><td>R</td><td>R</td><td>AVG</td></tr><tr><td>Ours</td><td>24%</td><td>22%</td><td>16%</td><td>9%</td></tr></table>
|
| 420 |
+
|
| 421 |
+
Our method can be extended to handle multi-fragment assembly tasks. In Table 3, we present the accuracy of our method on three-fragment assembly tasks. Additionally, Figure 7 showcases visualizations that include the predicted affordance maps and collaborative actions. Both the quantitative and qualitative results demonstrate that our proposed method can be
|
| 422 |
+
|
| 423 |
+

|
| 424 |
+
Figure 7. We provide the visualization of the predicted affordance maps and actions for multi-part assembly task.
|
| 425 |
+
|
| 426 |
+
effectively adapted to multi-fragment assembly tasks. Below, we provide a detailed explanation of how our method can be adapted for multi-fragment assembly.
|
| 427 |
+
|
| 428 |
+
The multi-fragment assembly task can be achieved by iteratively applying the two-fragment assembly process. First, at each iteration, we can identify which two fragments, $p_i$ and $p_j$ , should be assembled next. (If some parts have already been assembled in previous iterations, their combination is treated as a new fragment.) Specifically, based on the imaginary assembled shape $S$ , we can calculate the minimum distance, $\min \| p_i - p_j \|$ , between sampled points from every pair of fragments, and the pair $(p_i, p_j)$ with the minimum distance is chosen for assembly: $(p_i, p_j) = \arg \min_{(p_i, p_j) \in S_1 \times S_2} \| p_i - p_j \|$ . Once
|
| 429 |
+
|
| 430 |
+
$p_i$ and $p_j$ are identified on $S$ , we then map these fragments to their corresponding parts in the observed point cloud $O$ . This mapping is formulated as a classification task, where the similarity between parts in $S$ and $O$ is estimated.
|
| 431 |
+
|
| 432 |
+
Finally, using the imaginary assembled shape of the selected fragments, $S_{p_i} \cup S_{p_j}$ , and the corresponding observed point cloud $O_{p_i} \cup O_{p_j}$ , our method predicts the actions to pick up and assemble the fragments. This process mirrors the steps of the standard two-fragment assembly method. By iteratively applying this two-fragment assembly process, the complete assembly of all fragments can be achieved.
|
| 433 |
+
|
| 434 |
+
To validate the feasibility of this multi-fragment assembly process, we fine-tune our pretrained BiAssembly model on multi-category three-piece assembly data and present the results on unseen objects. Based on the accuracy reported in Table 3 and the visualizations in Figure 7, we can see that even for multi-fragment assembly task, our method can still generate reasonable results.
|
| 435 |
+
|
| 436 |
+
# E.2. Utilizing the Imperfect Imaginary Assessed Shape Prediction
|
| 437 |
+
|
| 438 |
+
Predicting the imaginary assembled shape from multiple fractured parts is a relatively well-studied vision problem (SellΓ‘n et al., 2022; Wu et al., 2023c; Lu et al., 2024c; Tsesmelis et al., 2024; Scarpellini et al., 2024). Previous works have demonstrated the ability to predict precise fragment poses that allow for an imaginary assembled shape, making it reasonable to assume the existence of such shapes in our framework. Additionally, in traditional furniture assembly tasks, several studies (Wang et al., 2022a; Sera et al., 2021; Wan et al., 2024) also assume the existence of an imaginary Therefore, for simplicity, we adopt the concept of the imaginary assembled shape, aligning with advancements in prior works.
|
| 439 |
+
|
| 440 |
+
While this simplification is reasonable, we also conduct experiments to evaluate our BiAssembly Method on "imperfect" imaginary assembled shapes. Specifically, we first utilize the pretrained model from a prior visual assembly method (Wu et al., 2023c) to generate the assembled point cloud prediction. We then replace the input "perfect" imaginary assembled shapes with these "imperfect" predictions. Importantly, the only difference is the change in the input imaginary shape, the subsequent BiAssembly framework remains unchanged, and we do not fine-tune the model on the new predictions. The average accuracy based on imperfect imaginary shapes is $20.80\%$ on training categories and $17.20\%$ on novel unseen categories, which is comparable to the accuracy on perfect imaginary shapes ( $24.10\%$ on training categories and $17.40\%$ on
|
| 441 |
+
|
| 442 |
+
novel unseen categories). These results demonstrate that our method is capable of tolerating imperfect input shapes, even without any fine-tuning process, supporting the reasonableness of our assumption for simplification.
|
| 443 |
+
|
| 444 |
+
# E.3. More Ablation Studies
|
| 445 |
+
|
| 446 |
+
In this section, we conduct three additional ablation studies, and provide the quantitative results in Table 4 for novel objects within training categories and in Table 5 for novel unseen categories.
|
| 447 |
+
|
| 448 |
+
w/o Affordance Network: During inference, we do not use the trained Affordance Network to highlight actionable regions. Instead, we randomly sample a contact point on the part. The results show a significant drop in the success rates, which decrease to $4.60\%$ for training categories and $2.80\%$ in unseen categories. This demonstrates that the Affordance Network plays a crucial role in filtering out non-graspable points and points that are unsuitable for the subsequent assembly process.
|
| 449 |
+
|
| 450 |
+
w/o Transformation Predictor: In this ablation, we remove the Transformation Predictor during inference. This results in success rates of $7.40\%$ on training categories and $4.80\%$ on unseen categories, both substantially lower than our original method. These results show that the Transformation Predictor plays an essential role in predicting alignment poses, enabling the robot to manipulate parts from their initial to alignment poses without collisions.
|
| 451 |
+
|
| 452 |
+
w/ heuristic disassembly direction $v$ : In this case, we remove the Disassembly Predictor during inference. Instead, we compute the center of each part from the imaginary assembled shape $S$ by averaging the part points, and then use the relative direction of the two parts' centers as the disassembly direction $v$ . This ablation achieves success rates of $19.70\%$ on training categories and $15.20\%$ on unseen categories, both of which are lower than those achieved by our method. While this ablated version performs well on certain categories, suggesting that the calculated relative direction can approximate the relative positions of the two parts, it falls short in categories with complex geometries. In such cases, the heuristic method lacks the accuracy needed to replace the assembly direction required for our task. This highlights the critical role of the Disassembly Predictor in achieving better performance.
|
| 453 |
+
|
| 454 |
+
Table 4. More ablation studies: quantitative results in novel instances within training categories.
|
| 455 |
+
|
| 456 |
+
<table><tr><td rowspan="2">Method</td><td colspan="11">Novel Instances in Training Categories</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>AVG</td></tr><tr><td>w/o Affordance</td><td>7%</td><td>11%</td><td>0%</td><td>0%</td><td>1%</td><td>8%</td><td>1%</td><td>4%</td><td>6%</td><td>8%</td><td>4.60%</td></tr><tr><td>w/o Transformation</td><td>29%</td><td>19%</td><td>0%</td><td>0%</td><td>0%</td><td>0%</td><td>8%</td><td>4%</td><td>5%</td><td>9%</td><td>7.40%</td></tr><tr><td>w/ heuristic v</td><td>54%</td><td>28%</td><td>0%</td><td>3%</td><td>10%</td><td>5%</td><td>28%</td><td>23%</td><td>21%</td><td>25%</td><td>19.70%</td></tr><tr><td>Ours</td><td>60%</td><td>38%</td><td>13%</td><td>13%</td><td>12%</td><td>9%</td><td>26%</td><td>18%</td><td>27%</td><td>25%</td><td>24.10%</td></tr></table>
|
| 457 |
+
|
| 458 |
+
Table 5. More Ablation studies: quantitative results in the novel unseen categories.
|
| 459 |
+
|
| 460 |
+
<table><tr><td rowspan="2">Method</td><td colspan="6">Unseen Categories</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>AVG</td></tr><tr><td>w/o Affordance</td><td>2%</td><td>6%</td><td>2%</td><td>0%</td><td>4%</td><td>2.8%</td></tr><tr><td>w/o Transformation</td><td>4%</td><td>10%</td><td>1%</td><td>0%</td><td>9%</td><td>4.8%</td></tr><tr><td>w/ heuristic v</td><td>18%</td><td>22%</td><td>15%</td><td>9%</td><td>12%</td><td>15.20%</td></tr><tr><td>Ours</td><td>14%</td><td>31%</td><td>10%</td><td>7%</td><td>25%</td><td>17.4%</td></tr></table>
|
| 461 |
+
|
| 462 |
+
# E.4. More Bimanual Tasks
|
| 463 |
+
|
| 464 |
+
While we demonstrate the effectiveness on the challenging geometric shape assembly task, our approach is also applicable to a broader range of bimanual tasks that require coordinated manipulation. To illustrate this generalizability, we present an additional experiment on a bottle cap closing task. This task can be formulated into three sequential steps: (1) The two arms pick up the bottle and cap from the table. (2) The two arms align the cap with the bottle opening. (3) The two arms place
|
| 465 |
+
|
| 466 |
+
and secure the cap onto the bottle. Our results show that, after training on a few bottle shapes, our method generalizes well to novel bottle shapes, achieving an average accuracy of $67\%$ . Figure 8 provides visualizations of the predicted affordance maps and the manipulation process.
|
| 467 |
+
|
| 468 |
+

|
| 469 |
+
Figure 8. We provide visualizations of the predicted affordance maps and the manipulation process for the bottle cap closing task.
|
| 470 |
+
|
| 471 |
+
# F. More Visualizations
|
| 472 |
+
|
| 473 |
+
In Figure 9, we present a detailed visualization of the manipulation process in real-world experiments, serving as a supplement to Figure 5 in the main paper.
|
| 474 |
+
|
| 475 |
+
In Figure 10, we present additional qualitative results from our method.
|
| 476 |
+
|
| 477 |
+

|
| 478 |
+
Figure 9. Real-World Experiment. We present the results of our model tested on real-world scans. For each data, We visualized the affordance map, and the bimanual actions for the pick-up, alignment, and assembly steps. Manipulation videos can be found in our supplementary materials.
|
| 479 |
+
|
| 480 |
+

|
| 481 |
+
Figure 10. We visualize additional qualitative results that augment Figure 4 in the main paper. In each row, from left to right, we respectively present the input observation, the predicted affordance maps for the two fractured parts, and the bimanual actions for the pick-up, alignment, and assembly steps. In the top part are novel shapes from the training categories, while in the bottom part are shapes from unseen categories.
|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
Initial Observation
|
| 485 |
+
|
| 486 |
+

|
| 487 |
+
|
| 488 |
+

|
| 489 |
+
|
| 490 |
+

|
| 491 |
+
Pick-up
|
| 492 |
+
|
| 493 |
+

|
| 494 |
+
Initial Observation
|
| 495 |
+
|
| 496 |
+

|
| 497 |
+
Pick-up
|
| 498 |
+
(c)
|
| 499 |
+
|
| 500 |
+

|
| 501 |
+
Initial Observation
|
| 502 |
+
(d)
|
| 503 |
+
Figure 11. We visualize some failure cases, which demonstrate the challenges of the tasks and some cases that are difficult for robots to determine appropriate actions. The first row presents three cases where the fractured parts are either too large or too flat to grasp. The second row includes two cases where the graspable region corresponds exactly to the seam areas; while the objects can be grasped, collisions may occur during the assembly of the parts.
|
| 504 |
+
|
| 505 |
+

|
| 506 |
+
Pick-up
|
| 507 |
+
Assembly
|
| 508 |
+
|
| 509 |
+

|
| 510 |
+
Initial Observation
|
| 511 |
+
Initial Observation
|
| 512 |
+
(e)
|
| 513 |
+
|
| 514 |
+

|
| 515 |
+
οΌ
|
| 516 |
+
Assembly
|
| 517 |
+
|
| 518 |
+
# G. Failure Cases
|
| 519 |
+
|
| 520 |
+
We provide a detailed analysis of failure cases and illustrate the inherent difficulty of the task with scenarios that are particularly challenging for robots to figure out. Additionally, we provide insights into potential future improvements to address these complexities more effectively.
|
| 521 |
+
|
| 522 |
+
# G.1. Hard to Grasp
|
| 523 |
+
|
| 524 |
+
Heavy or Smooth-Surfaced Parts. Fractured parts that are heavy or have smooth surfaces often result in grasping failures. For instance, as shown in Figure 11 (a), categories such as teapots and vases, which are relatively large and feature smooth curved surfaces, exhibit notably high failure rates during grasping.
|
| 525 |
+
|
| 526 |
+
Flat Parts. Flat fractured parts, particularly some shapes in categories like statues and mugs, are challenging to pick up due to the limited gripping area. For example, as shown in (b), the statue part on the left is too close to the desktop and has a very small thickness, which prevent the gripper from grasping it. Similarly, in (c), the fragment on the right is too flat, making it impossible for the gripper to grasp it. A potential solution is incorporating pre-grasp operations, such as moving the fractured part to the table edge, allowing the shape to hang off slightly and thus become graspable.
|
| 527 |
+
|
| 528 |
+
# G.2. Hard to Assemble
|
| 529 |
+
|
| 530 |
+
Graspable Regions Overlapping Seam Areas. When the graspable regions of a fractured part align with its seam areas, collisions during assembly become frequent. This issue is common in categories such as wineglasses, mugs, and bowls. For example, as shown in Figure 11 (d), the left gripper avoids collision-prone regions, but the right gripper must grasp the neck of the wine bottle. Similarly, in (e), while the left gripper avoids collisions, the right gripper ends up grasping the handle of a mug. A potential solution is to perform a series of pick-and-place operations to adjust the object's initial pose. This adjustment can reduce the overlap between the object's graspable regions and seam areas, thereby minimizing collisions during the assembly process.
|
| 531 |
+
|
| 532 |
+
Complex Object Shapes. Objects with intricate shapes, like those in the statues category, pose challenges due to irregular edges and complex curves. Such designs increase the difficulty of alignment and manipulation, leading to higher failure rates during assembly.
|
| 533 |
+
|
| 534 |
+
Relative Displacement During Operations. Relative displacement between the gripper and fractured parts often occurs due to small contact areas and insufficient support, which can cause sliding or tipping during manipulation. For example, wine bottles with narrow necks, which have unstable center of gravity, making the gripper prone to sliding during movement and leading to operational failures.
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:139914dc2defdfb3caf5c66f5d94807279e36255faa18500c5d5a585a52aac99
|
| 3 |
+
size 1608318
|
2025/BiAssemble_ Learning Collaborative Affordance for Bimanual Geometric Assembly/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_content_list.json
ADDED
|
@@ -0,0 +1,1681 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
145,
|
| 8 |
+
109,
|
| 9 |
+
831,
|
| 10 |
+
156
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Kai Liu $^{*1}$ Kaicheng Yang $^{*1}$ Zheng Chen $^{1}$ Zhiteng Li $^{1}$ Yong Guo $^{2}$ Wenbo Li $^{3}$ Linghe Kong $^{β 1}$ Yulun Zhang $^{β 1}$",
|
| 17 |
+
"bbox": [
|
| 18 |
+
279,
|
| 19 |
+
180,
|
| 20 |
+
687,
|
| 21 |
+
213
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
241,
|
| 31 |
+
213,
|
| 32 |
+
320,
|
| 33 |
+
227
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "While super-resolution (SR) methods based on diffusion models (DM) have demonstrated inspiring performance, their deployment is impeded due to the heavy request of memory and computation. Recent researchers apply two kinds of methods to compress or fasten the DM. One is to compress the DM into 1-bit, aka binarization, alleviating the storage and computation pressure. The other distills the multi-step DM into only one step, significantly speeding up the inference process. Nonetheless, it remains impossible to deploy DM to resource-limited edge devices. To address this problem, we propose BiMaCoSR, which combines binarization and one-step distillation to obtain extreme compression and acceleration. To prevent the catastrophic collapse of the model caused by binarization, we propose sparse matrix branch (SMB) and low rank matrix branch (LRMB). Both auxiliary branches pass the full-precision (FP) information but in different ways. SMB absorbs the extreme values and its output is high rank, carrying abundant FP information. Whereas, the design of LRMB is inspired by LoRA and is initialized with the top $r$ SVD components, outputting low rank representation. The computation and storage overhead of our proposed branches can be safely ignored. Comprehensive comparison experiments are conducted to exhibit BiMaCoSR outperforms current state-of-the-art binarization methods and gains competitive performance compared with FP one-step model. Moreover, we achieve excellent compression and acceleration. BiMaCoSR achieves a $23.8 \\times$ compression ratio and a $27.4 \\times$ speedup ratio compared to the FP counterpart. Our code and model are available at https://github.com/KaiLiu001/BiMaCoSR.",
|
| 40 |
+
"bbox": [
|
| 41 |
+
117,
|
| 42 |
+
237,
|
| 43 |
+
444,
|
| 44 |
+
794
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "image",
|
| 50 |
+
"img_path": "images/baaab697a0437f0f13cceab2954ae5d48d6a6810aeaf440382239a942084e70b.jpg",
|
| 51 |
+
"image_caption": [
|
| 52 |
+
"Figure 1: Performance comparison between binarization methods on the RealSR dataset. BiMaCoSR achieves consistently leading scores on all evaluation metrics."
|
| 53 |
+
],
|
| 54 |
+
"image_footnote": [],
|
| 55 |
+
"bbox": [
|
| 56 |
+
535,
|
| 57 |
+
217,
|
| 58 |
+
851,
|
| 59 |
+
434
|
| 60 |
+
],
|
| 61 |
+
"page_idx": 0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"type": "text",
|
| 65 |
+
"text": "1. Introduction",
|
| 66 |
+
"text_level": 1,
|
| 67 |
+
"bbox": [
|
| 68 |
+
498,
|
| 69 |
+
487,
|
| 70 |
+
629,
|
| 71 |
+
501
|
| 72 |
+
],
|
| 73 |
+
"page_idx": 0
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"type": "text",
|
| 77 |
+
"text": "Single image super-resolution (SR) (Keys, 1981; Zibetti & Mayer, 2007; Lu et al., 2013; Dong et al., 2014; Yang et al., 2014; Dong et al., 2016) is a traditional yet challenging low-level vision problem. Serving as a fundamental research task, it has attracted long-standing and considerable attention in the computer vision community. The final object of SR is to restore a high-quality (HQ) image from its low-quality (LQ) observation, which suffers from various image quality degradations. The difficulty of SR mainly lies in two parts: (1) the unknown degradations (e.g., blur, downsampling, noise, compression, and their combinations) of LQ. (2) the multiple solutions for a given LQ input image.",
|
| 78 |
+
"bbox": [
|
| 79 |
+
495,
|
| 80 |
+
505,
|
| 81 |
+
888,
|
| 82 |
+
686
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 0
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "In recent years, numerous studies have been made to tackle this challenge, utilizing convolution neural networks (CNNs) (Dong et al., 2014; 2016; Ledig et al., 2017; Zhang et al., 2018c), vision transformers (ViTs) (Zhang et al., 2018b; Liang et al., 2021; Wang et al., 2022; Chen et al., 2022; 2023), and their combinations. Though achieving inspiring results, these methods mostly fail in real-world scenarios. This failure is attributed to assuming degradation as an ideal bicubic downsampling kernel, way too different from the unknown and complex degradation in real world. Therefore, it draws researchers' increasing attention to reconstruct perceptually realistic HQ images in real-world scenarios. Thereafter, this challenging and meaningful task is called real-world super-resolution (Real-SR) (Gu et al.,",
|
| 89 |
+
"bbox": [
|
| 90 |
+
495,
|
| 91 |
+
694,
|
| 92 |
+
888,
|
| 93 |
+
905
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 0
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "page_footnote",
|
| 99 |
+
"text": "*Equal contribution ${}^{1}$ Shanghai Jiao Tong University ${}^{2}$ Huawei Consumer Business Group ${}^{3}$ The Chinese University of Hong Kong. Correspondence to: Linghe Kong <linghe.kong@sjtu.edu.cn>, Yulun Zhang <yulun100@gmail.com>.",
|
| 100 |
+
"bbox": [
|
| 101 |
+
84,
|
| 102 |
+
801,
|
| 103 |
+
475,
|
| 104 |
+
854
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "page_footnote",
|
| 110 |
+
"text": "Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).",
|
| 111 |
+
"bbox": [
|
| 112 |
+
84,
|
| 113 |
+
864,
|
| 114 |
+
475,
|
| 115 |
+
905
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "page_number",
|
| 121 |
+
"text": "1",
|
| 122 |
+
"bbox": [
|
| 123 |
+
480,
|
| 124 |
+
922,
|
| 125 |
+
491,
|
| 126 |
+
934
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2019; Zhang et al., 2021; Wang et al., 2021; Cai et al., 2019; Yu et al., 2024; Wu et al., 2024b; Sun et al., 2024).",
|
| 133 |
+
"bbox": [
|
| 134 |
+
84,
|
| 135 |
+
84,
|
| 136 |
+
475,
|
| 137 |
+
116
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Recently, diffusion models (DMs) demonstrate remarkable performance in image-generating tasks, particularly in perceptual quality. The excellence of DM comes from its vast prior knowledge in modeling real-world objects, especially generating clear textures and mitigating artifacts and distortions. The powerful realistic texture generation ability is inherently the same as the object of Real-SR problem, leading to plentiful breakthroughs (Yang et al., 2025; Yu et al., 2024; Rombach et al., 2022). However, the inference cost is still too high to run on edge devices. Therefore, it's essential to further compress DMs to accelerate the inference, reduce storage cost, and minimize degradation.",
|
| 144 |
+
"bbox": [
|
| 145 |
+
84,
|
| 146 |
+
122,
|
| 147 |
+
475,
|
| 148 |
+
305
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Popular model compression techniques include pruning, distillation, and quantization, among which, 1-bit quantization (i.e., binarization) gains significant effectiveness. As an extreme quantization method, binarization compresses models' weights from 32-bit to only 1-bit, significantly reducing memory and computational cost. However, applying naive binarization will lead to catastrophic model collapse. Hence, additional structures are required to be designed.",
|
| 155 |
+
"bbox": [
|
| 156 |
+
84,
|
| 157 |
+
311,
|
| 158 |
+
475,
|
| 159 |
+
434
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "A popular solution is adding full-precision information, i.e., skip connection branch. However, due to UNet's frequent changes in resolution and dimension, skip connection faces the mismatch challenge. To address this problem, we propose two auxiliary branches, namely low rank matrix branch (LRMB) and sparse matrix branch (SMB). Inspired by LoRA, the proposed LRMB leverages low rank decomposition to achieve dimension shift. We select the top $r$ singular values in SVD and utilize its corresponding components to initialize the LRMB. As for SMB, we employ sparse matrix to absorb the top $k$ absolute values in a full-precision matrix. The weights of LRMB and SMB are subtracted from the binarized matrix branch (BMB) and it concentrates on restoring textures. Three branches form the BiMaCoSR and provide excellent performance shown in Fig. 1.",
|
| 166 |
+
"bbox": [
|
| 167 |
+
84,
|
| 168 |
+
439,
|
| 169 |
+
475,
|
| 170 |
+
667
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "To sum up, the contributions of our work are as follows:",
|
| 177 |
+
"bbox": [
|
| 178 |
+
84,
|
| 179 |
+
672,
|
| 180 |
+
457,
|
| 181 |
+
688
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "list",
|
| 187 |
+
"sub_type": "text",
|
| 188 |
+
"list_items": [
|
| 189 |
+
"1. We design BiMaCoSR, a new binarized one-step diffusion model for image super-resolution. To the best of our knowledge, BiMaCoSR is the first binarized one-step diffusion model.",
|
| 190 |
+
"2. We propose LRMB, which leverages low rank decomposition and SVD initialization to carry low frequency information and decouple the effect of BMB.",
|
| 191 |
+
"3. We propose SMB, which utilizes sparse matrix compression and extreme value absorption to deliver high rank features and achieve further decoupling.",
|
| 192 |
+
"4. We conduct comprehensive comparison experiments to show the state-of-the-art performance of the proposed BiMaCoSR. Besides, extensive ablation studies are conducted to prove the robustness and efficacy."
|
| 193 |
+
],
|
| 194 |
+
"bbox": [
|
| 195 |
+
98,
|
| 196 |
+
691,
|
| 197 |
+
475,
|
| 198 |
+
905
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 1
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "2. Related Work",
|
| 205 |
+
"text_level": 1,
|
| 206 |
+
"bbox": [
|
| 207 |
+
496,
|
| 208 |
+
83,
|
| 209 |
+
638,
|
| 210 |
+
99
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "Image Super-Resolution. Deep learning based approaches have demonstrated striking power in the realm of SR (Dong et al., 2014; Luo et al., 2022; Wang et al., 2021; Lim et al., 2017; Chen et al., 2023). As a groundbreaking work, SRCNN (Dong et al., 2014) initiates the track of solving SR problem via deep learning based approach. Thereafter, substantial contributions have been made to explore the best SR network architecture. For example, RCAN (Zhang et al., 2018b) leverages the residual in residual structure and deepens the network to more than 400 layers. SwinIR (Liang et al., 2021) is based on vision transformer structure and utilizes spatial window self-attention to capture the overall structure information. CAT (Chen et al., 2022) combines the attention mechanism and the CNN structure to make the most of the local and the global information. However, most of these conventional image super-resolution methods can not handle the Real-SR task because of the complex degradation in the real world.",
|
| 217 |
+
"bbox": [
|
| 218 |
+
495,
|
| 219 |
+
109,
|
| 220 |
+
887,
|
| 221 |
+
381
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 1
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "Diffusion Model. In recent years, the diffusion-based methods have gained remarkable performance in many computer vision tasks and SR is no exception. For instance, SR3 (Saharia et al., 2022) restores the LQ by transforming the standard normal distribution into the empirical data distribution by learning a series of iterative refinement steps. DiffBIR (Lin et al., 2024) capitalizes on two restoration stages to seek the tradeoff of fidelity and quality. SinSR (Wang et al., 2024) effectively reduces the inference step to only one step via distillation and regularization. Following SinSR, OSEDiff (Wu et al., 2024a) modifies the distillation paradigm, and novel losses are introduced to improve face restoration ability. Despite the greatly improved inference speed, the model size remains the same, and there is still room for further acceleration.",
|
| 228 |
+
"bbox": [
|
| 229 |
+
495,
|
| 230 |
+
386,
|
| 231 |
+
888,
|
| 232 |
+
613
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 1
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "Binarization. As the most extreme form of quantization, binarization typically compresses the weight into only 1 bit. In binarization, all the weights are seen as $\\pm 1$ and the multiplications between weights and activations are converted to bit operations on sign bit of activation, allowing maximum compression and acceleration. Binarization is mainly about classification tasks initially (Rastegari et al., 2016; Liu et al., 2020; Qin et al., 2020; 2022; Huang et al., 2024). Recently, researchers have begun to perform binarization on image restoration tasks. Binary Latent Diffusion (Wang et al., 2023b) trains an auto-encoder with a binary latent space and mainly focuses on the Bernoulli distribution instead of acceleration. BiDM (Zheng et al., 2024) leverages timestep-friendly binary structure and space-patched distillation to compress the diffusion model to 1 bit. BI-DiffSR (Chen et al., 2024) designs several binary friendly modules and redistributes the activation of different time step. However, the inference step remains the same. Therefore, it is necessary to further compress the model to one step.",
|
| 239 |
+
"bbox": [
|
| 240 |
+
495,
|
| 241 |
+
619,
|
| 242 |
+
888,
|
| 243 |
+
905
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 1
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "header",
|
| 249 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 250 |
+
"bbox": [
|
| 251 |
+
124,
|
| 252 |
+
56,
|
| 253 |
+
848,
|
| 254 |
+
70
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 1
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "page_number",
|
| 260 |
+
"text": "2",
|
| 261 |
+
"bbox": [
|
| 262 |
+
480,
|
| 263 |
+
922,
|
| 264 |
+
491,
|
| 265 |
+
934
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 1
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "image",
|
| 271 |
+
"img_path": "images/c28c1c514f0bcd8cdfd02975fa1400d41af3bd66cc8f88aba9076d9c5bf1f23a.jpg",
|
| 272 |
+
"image_caption": [
|
| 273 |
+
"Figure 2: Overview of our proposed BiMaCoSR which employs three different compressed matrix branches. (a) The structure of a convolution layer in BiMaCoSR after binarization. Two auxiliary branches, i.e., LRMB and SMB, support BiMaCoSR's excellent performance. The linear layer can be regarded as a $1 \\times 1$ convolution layer and is processed with the same pipeline. (b) Illustration of the initialization and how the three branches solve the weakness of the other branches."
|
| 274 |
+
],
|
| 275 |
+
"image_footnote": [],
|
| 276 |
+
"bbox": [
|
| 277 |
+
102,
|
| 278 |
+
80,
|
| 279 |
+
867,
|
| 280 |
+
348
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 2
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "3. Methodology",
|
| 287 |
+
"text_level": 1,
|
| 288 |
+
"bbox": [
|
| 289 |
+
84,
|
| 290 |
+
420,
|
| 291 |
+
220,
|
| 292 |
+
436
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "In this section, we describe our proposed BiMaCoSR, shown in Fig. 2. First, we analyze three issues that have potential for further improvement when binarizing diffusion models. Thereafter, we describe our proposed branches, i.e., low rank matrix branch (LRMB) and sparse matrix branch (SMB), which could serve as the auxiliary branch to binarized matrix branch (BMB). Finally, we illustrate the initialization methods, shown in Fig. 3, and why our designs work.",
|
| 299 |
+
"bbox": [
|
| 300 |
+
84,
|
| 301 |
+
441,
|
| 302 |
+
475,
|
| 303 |
+
564
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 2
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "3.1. Analysis",
|
| 310 |
+
"text_level": 1,
|
| 311 |
+
"bbox": [
|
| 312 |
+
84,
|
| 313 |
+
569,
|
| 314 |
+
179,
|
| 315 |
+
584
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "Binarized blocks inevitably suffer from representation degradation due to the extreme 1-bit compression. Previous research made remarkable progress (Chen et al., 2024; Zheng et al., 2024) on binarization, yet there still remains room for improvement. We conclude three issues that deserve special attention in most diffusion models.",
|
| 322 |
+
"bbox": [
|
| 323 |
+
84,
|
| 324 |
+
589,
|
| 325 |
+
475,
|
| 326 |
+
679
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "Issue I: The specially severe degradation of linear layer. Experimentally, we observe that with the same size of parameters, linear layer suffers from more severe degradation in comparison to convolution layer. This observation in SR is consistent with previous research (Le & Li, 2023). With the advancement of DiT and binarization, this issue is gradually becoming significant and an additional process to quantize or binarize the linear layer is in urgent need.",
|
| 333 |
+
"bbox": [
|
| 334 |
+
84,
|
| 335 |
+
686,
|
| 336 |
+
475,
|
| 337 |
+
808
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 2
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Issue II: The frequent dimension changes. It's necessary to leverage skip connection as an auxiliary branch in binarized network. Skip connection could carry abundant feature information and bring negligible computation and storage overhead. However, in UNet, frequent changes in dimension",
|
| 344 |
+
"bbox": [
|
| 345 |
+
84,
|
| 346 |
+
815,
|
| 347 |
+
475,
|
| 348 |
+
892
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 2
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "and resolution make two forms of skip connection (i.e., addition and concatenation) not applicable. In addition, the distributions before and after binarized block are greatly different. Therefore, efficient module is critical to overcome the frequent changes and carry rich information.",
|
| 355 |
+
"bbox": [
|
| 356 |
+
496,
|
| 357 |
+
422,
|
| 358 |
+
885,
|
| 359 |
+
497
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 2
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "Issue III: The inadequate usage of pre-trained FP model. The pre-trained FP model is vital to quantization methods from any perspective. However, current QAT research does not make the most of the pre-trained model, simply loading the FP parameters and directly beginning the training. It is a popular way to leverage additional modules to enhance the binarized network. The impact of the modules could vary when different initialization methods are applied.",
|
| 366 |
+
"bbox": [
|
| 367 |
+
495,
|
| 368 |
+
505,
|
| 369 |
+
885,
|
| 370 |
+
626
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 2
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "We conclude that the above issues are attributed to the insufficient ability of binarization. To be specific, binarization is just one of the matrix compression methods, inherently unsuitable for multifaceted challenges. Therefore, we propose following branches to compress matrix in different ways. With the combination of various compressed matrices, the issues above can be appropriately addressed.",
|
| 377 |
+
"bbox": [
|
| 378 |
+
495,
|
| 379 |
+
633,
|
| 380 |
+
887,
|
| 381 |
+
739
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 2
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "3.2. Low Rank Matrix Branch",
|
| 388 |
+
"text_level": 1,
|
| 389 |
+
"bbox": [
|
| 390 |
+
496,
|
| 391 |
+
748,
|
| 392 |
+
714,
|
| 393 |
+
762
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 2
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "To address Issue I, i.e., the specially severe degradation of linear layer, we identify that the quantized linear layer is strongly limited by the bit-width. An FP linear layer usually serves two purposes, delivering the complete information of input and performing appropriate linear transformation. With limited bit-width, the quantized linear layer cannot play two roles at the same time. Therefore, we decouple the roles apart. Though binarized, the weight matrix is usually high rank and contributes more to high frequency, i.e., the",
|
| 400 |
+
"bbox": [
|
| 401 |
+
495,
|
| 402 |
+
768,
|
| 403 |
+
887,
|
| 404 |
+
904
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 2
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "header",
|
| 410 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 411 |
+
"bbox": [
|
| 412 |
+
124,
|
| 413 |
+
56,
|
| 414 |
+
846,
|
| 415 |
+
70
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 2
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "page_number",
|
| 421 |
+
"text": "3",
|
| 422 |
+
"bbox": [
|
| 423 |
+
480,
|
| 424 |
+
922,
|
| 425 |
+
491,
|
| 426 |
+
934
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 2
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "detailed structure and texture in image. Hence, we design low rank matrix branch (LRMB) to serve as a complementary branch, transmitting low frequency information.",
|
| 433 |
+
"bbox": [
|
| 434 |
+
84,
|
| 435 |
+
85,
|
| 436 |
+
475,
|
| 437 |
+
131
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 3
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "The idea of LRMB is inspired by low rank approximation in matrix theory, which is a common strategy for matrix compression. To transmit low frequency information, matrices with low rank are enough and efficient. Mathematically, given an $m \\times n$ matrix $\\mathbf{W}$ , it can be approximated with two low rank matrices, i.e., $\\mathbf{W} \\approx \\hat{\\mathbf{W}} \\coloneqq \\mathbf{BA}$ , where $\\mathbf{B}$ and $\\mathbf{A}$ are $m \\times r$ and $r \\times n$ matrices respectively, and $r \\ll \\min(m, n)$ is a hyper-parameters denoting the rank of $\\hat{\\mathbf{W}}$ . Therefore, the formula of LRMB is:",
|
| 444 |
+
"bbox": [
|
| 445 |
+
84,
|
| 446 |
+
137,
|
| 447 |
+
473,
|
| 448 |
+
273
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 3
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "equation",
|
| 454 |
+
"text": "\n$$\n\\mathbf {x} _ {\\mathrm {L R M B}} = \\operatorname {L R M B} \\left(\\mathbf {x} _ {\\text {i n}}\\right) := \\mathbf {x} _ {\\text {i n}} \\mathbf {B A}, \\tag {1}\n$$\n",
|
| 455 |
+
"text_format": "latex",
|
| 456 |
+
"bbox": [
|
| 457 |
+
163,
|
| 458 |
+
277,
|
| 459 |
+
473,
|
| 460 |
+
292
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "where $\\mathbf{x}_{\\mathrm{in}}\\in \\mathbb{R}^{N\\times m}$ and $\\mathbf{x}_{\\mathrm{LRMB}}\\in \\mathbb{R}^{N\\times n}$ are the input and output of LRMB(Β·) respectively, and $N$ is the number of tokens. Usually, $\\mathbf{W}$ is a square matrix and $m = n$",
|
| 467 |
+
"bbox": [
|
| 468 |
+
84,
|
| 469 |
+
294,
|
| 470 |
+
475,
|
| 471 |
+
340
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "As for complexity, the storage overhead is:",
|
| 478 |
+
"bbox": [
|
| 479 |
+
84,
|
| 480 |
+
347,
|
| 481 |
+
372,
|
| 482 |
+
363
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "equation",
|
| 488 |
+
"text": "\n$$\nO _ {s} = (m \\times r + r \\times n) B = r B (m + n) \\ll m n B ^ {\\prime}, \\tag {2}\n$$\n",
|
| 489 |
+
"text_format": "latex",
|
| 490 |
+
"bbox": [
|
| 491 |
+
98,
|
| 492 |
+
364,
|
| 493 |
+
473,
|
| 494 |
+
381
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 3
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "where $B = 32$ or 16 and $B' = 1$ are the number of bits required by one element in LRMB branch and binarized branch, respectively. Meanwhile, the computation overhead is:",
|
| 501 |
+
"bbox": [
|
| 502 |
+
84,
|
| 503 |
+
383,
|
| 504 |
+
473,
|
| 505 |
+
441
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 3
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "equation",
|
| 511 |
+
"text": "\n$$\nO _ {c} = N \\times m \\times r + N \\times r \\times n = N r (m + n). \\tag {3}\n$$\n",
|
| 512 |
+
"text_format": "latex",
|
| 513 |
+
"bbox": [
|
| 514 |
+
109,
|
| 515 |
+
445,
|
| 516 |
+
473,
|
| 517 |
+
460
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 3
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "This means that even saved with 32 bits, the storage and computation overhead of LRMB is acceptable. In conclusion, with LRMB, Issue I and Issue II are partly solved.",
|
| 524 |
+
"bbox": [
|
| 525 |
+
84,
|
| 526 |
+
463,
|
| 527 |
+
475,
|
| 528 |
+
508
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 3
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "3.3. Sparse Matrix Branch",
|
| 535 |
+
"text_level": 1,
|
| 536 |
+
"bbox": [
|
| 537 |
+
84,
|
| 538 |
+
518,
|
| 539 |
+
274,
|
| 540 |
+
534
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 3
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "LRMB is still not enough to replace the skip connection. This is because skip connection can be represented as a full rank identity matrix while LRMB is low rank. To compensate the missed ranks, we propose sparse matrix branch (SMB), which leverages sparse matrix compression and could efficiently deliver high rank information.",
|
| 547 |
+
"bbox": [
|
| 548 |
+
84,
|
| 549 |
+
537,
|
| 550 |
+
475,
|
| 551 |
+
628
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 3
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "text",
|
| 557 |
+
"text": "Sparse matrix is a matrix in which most of the elements are zero (Yan et al., 2017). A common criterion of a sparse matrix is that the number of non-zero elements is approximated to the number of rows or columns. One way to save a sparse matrix is via the coordinate format (COO), where the non-zero elements are represented by a list of triples and its component is (row, col, value).",
|
| 558 |
+
"bbox": [
|
| 559 |
+
84,
|
| 560 |
+
636,
|
| 561 |
+
475,
|
| 562 |
+
743
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 3
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "Specifically, to form a sparse matrix, we select $k$ critical values from the weight matrix and the selection method will be described in Sec. 3.4. In the forward process, the SMB process could be equivalently expressed as",
|
| 569 |
+
"bbox": [
|
| 570 |
+
84,
|
| 571 |
+
750,
|
| 572 |
+
473,
|
| 573 |
+
810
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 3
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "equation",
|
| 579 |
+
"text": "\n$$\n\\mathbf {x} _ {\\mathrm {S M B}} = \\operatorname {S M B} \\left(\\mathbf {x} _ {\\mathrm {i n}}\\right) := \\mathbf {x} _ {\\mathrm {i n}} \\mathbf {W} _ {\\text {s p a r s e}}, \\tag {4}\n$$\n",
|
| 580 |
+
"text_format": "latex",
|
| 581 |
+
"bbox": [
|
| 582 |
+
163,
|
| 583 |
+
811,
|
| 584 |
+
473,
|
| 585 |
+
829
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 3
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "where $\\mathbf{W}_{\\mathrm{sparse}}$ is a matrix with $k$ non-zero elements. During training, the coordinates will be fixed while their values will be updated by gradient descent. With SMB, the high rank information could be delivered and the remaining parts of Issue I and Issue II could be solved.",
|
| 592 |
+
"bbox": [
|
| 593 |
+
84,
|
| 594 |
+
830,
|
| 595 |
+
475,
|
| 596 |
+
905
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 3
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "image",
|
| 602 |
+
"img_path": "images/e9cb73fb1cdfaeec990d76fcf083c9423dad56686dc27e68592283df72fa3fc3.jpg",
|
| 603 |
+
"image_caption": [
|
| 604 |
+
"Figure 3: Initialization of different branch. $W_{res}$ represents the initial quantization error. In our method, $\\| W_{res}\\| _F^2 = 0.1855$ , while $\\| W_{res}\\| _F^2 = 1.1275$ in direct binarization."
|
| 605 |
+
],
|
| 606 |
+
"image_footnote": [],
|
| 607 |
+
"bbox": [
|
| 608 |
+
506,
|
| 609 |
+
83,
|
| 610 |
+
874,
|
| 611 |
+
448
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 3
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "3.4. Pretrained-Friendly Initialization",
|
| 618 |
+
"text_level": 1,
|
| 619 |
+
"bbox": [
|
| 620 |
+
496,
|
| 621 |
+
508,
|
| 622 |
+
764,
|
| 623 |
+
522
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 3
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "We propose the following initialization method to guarantee better use of the pre-trained model, allowing better restoration performance and faster convergence.",
|
| 630 |
+
"bbox": [
|
| 631 |
+
495,
|
| 632 |
+
527,
|
| 633 |
+
888,
|
| 634 |
+
574
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 3
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "The purpose of LRMB is to carry the low frequency information. Usually, compared with high frequency information, the magnitude of low frequency information is much greater. Therefore, we leverage SVD and select the top $r$ components to initialize LRMB. To be specific, we perform SVD on $\\mathbf{W}$ :",
|
| 641 |
+
"bbox": [
|
| 642 |
+
495,
|
| 643 |
+
580,
|
| 644 |
+
888,
|
| 645 |
+
669
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 3
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "equation",
|
| 651 |
+
"text": "\n$$\n\\mathbf {W} = \\mathbf {U} \\boldsymbol {\\Sigma} \\mathbf {V} ^ {T} = \\mathbf {U} \\operatorname {d i a g} \\left\\{\\sigma_ {1}, \\sigma_ {2}, \\dots , \\sigma_ {n} \\right\\} \\mathbf {V} ^ {T}. \\tag {5}\n$$\n",
|
| 652 |
+
"text_format": "latex",
|
| 653 |
+
"bbox": [
|
| 654 |
+
539,
|
| 655 |
+
671,
|
| 656 |
+
885,
|
| 657 |
+
689
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 3
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Then, we truncate the top $r$ singular values and absorb the remaining singular value into $\\mathbf{U}$ , forming matrices $\\mathbf{A}$ and $\\mathbf{B}$ . The process can be written as:",
|
| 664 |
+
"bbox": [
|
| 665 |
+
495,
|
| 666 |
+
691,
|
| 667 |
+
887,
|
| 668 |
+
736
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 3
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "equation",
|
| 674 |
+
"text": "\n$$\n\\mathbf {W} \\approx \\underbrace {\\mathbf {U} \\operatorname {d i a g} \\left\\{\\sigma_ {1} , \\sigma_ {2} , \\dots , \\sigma_ {r} , 0 , \\dots , 0 \\right\\}} _ {B} \\underbrace {\\mathbf {V} ^ {T}} _ {A} = \\mathbf {B} \\mathbf {A}. \\tag {6}\n$$\n",
|
| 675 |
+
"text_format": "latex",
|
| 676 |
+
"bbox": [
|
| 677 |
+
509,
|
| 678 |
+
737,
|
| 679 |
+
885,
|
| 680 |
+
771
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 3
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "Thereafter, to guarantee that the binarized matrix only serves to add high frequency information, the low frequency counterpart will be subtracted. The formula is:",
|
| 687 |
+
"bbox": [
|
| 688 |
+
495,
|
| 689 |
+
780,
|
| 690 |
+
887,
|
| 691 |
+
824
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 3
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "equation",
|
| 697 |
+
"text": "\n$$\n\\mathbf {W} _ {\\mathrm {B M B}} ^ {\\prime} := \\mathbf {W} - \\mathbf {B A}, \\tag {7}\n$$\n",
|
| 698 |
+
"text_format": "latex",
|
| 699 |
+
"bbox": [
|
| 700 |
+
617,
|
| 701 |
+
827,
|
| 702 |
+
885,
|
| 703 |
+
844
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 3
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "where $\\mathbf{W}_{\\mathrm{BMB}}^{\\prime}$ is the matrix to be binarized after the initialization of LRMB. Hence, the ability of weight matrix is decoupled into two components, the low frequency part (BA) and the high frequency part $(\\mathbf{W}_{\\mathrm{BMB}}^{\\prime})$",
|
| 710 |
+
"bbox": [
|
| 711 |
+
495,
|
| 712 |
+
845,
|
| 713 |
+
887,
|
| 714 |
+
907
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 3
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "header",
|
| 720 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 721 |
+
"bbox": [
|
| 722 |
+
124,
|
| 723 |
+
56,
|
| 724 |
+
846,
|
| 725 |
+
71
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 3
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "page_number",
|
| 731 |
+
"text": "4",
|
| 732 |
+
"bbox": [
|
| 733 |
+
480,
|
| 734 |
+
922,
|
| 735 |
+
491,
|
| 736 |
+
934
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 3
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "Thereafter, the initialization of SMB also matters. As described in Sec. 3.3, we select $k$ values from the weight matrix to generate the sparse matrix. Due to the fixed coordinates of non-zero elements, random selection is apparently a good candidate. Besides, binarization often ignores the outlier values in weight matrix, which are often huge but rare (less than $0.1\\%$ ). Though rare, these outliers play a crucial role in most models. Considering their rarity and significance, we select $k$ elements with the greatest absolute value in $\\mathbf{W}_{\\mathrm{BMB}}^{\\prime}$ . Subsequently, we subtract these values in $\\mathbf{W}_{\\mathrm{BMB}}^{\\prime}$ to decouple the overlapping effect of BMB and SMB. The process can be formulated as:",
|
| 743 |
+
"bbox": [
|
| 744 |
+
84,
|
| 745 |
+
84,
|
| 746 |
+
475,
|
| 747 |
+
265
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 4
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "equation",
|
| 753 |
+
"text": "\n$$\n\\widetilde {w} _ {i j} = \\left\\{ \\begin{array}{l l} w _ {i j}, & \\text {i f} | w _ {i j} ^ {\\prime} | \\geq t \\\\ 0, & \\text {o t h e r w i s e} \\end{array} , \\mathbf {W} _ {\\mathrm {B M B}} := \\mathbf {W} _ {\\mathrm {B M B}} ^ {\\prime} - \\mathbf {W} _ {\\text {s p a r s e}}, \\right. \\tag {8}\n$$\n",
|
| 754 |
+
"text_format": "latex",
|
| 755 |
+
"bbox": [
|
| 756 |
+
86,
|
| 757 |
+
268,
|
| 758 |
+
475,
|
| 759 |
+
319
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 4
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "where $\\widetilde{w}_{ij}$ and $w_{ij}$ are the elements of $\\mathbf{W}_{\\mathrm{sparse}}$ and $\\mathbf{W}_{\\mathrm{BMB}}^{\\prime}$ respectively, $t$ is the $k$ -th largest absolute value in $\\mathbf{W}_{\\mathrm{BMB}}^{\\prime}$ , $\\mathbf{W}_{\\mathrm{BMB}}$ is the final matrix to be binarized.",
|
| 766 |
+
"bbox": [
|
| 767 |
+
84,
|
| 768 |
+
319,
|
| 769 |
+
475,
|
| 770 |
+
366
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 4
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "3.5. Overall Structure",
|
| 777 |
+
"text_level": 1,
|
| 778 |
+
"bbox": [
|
| 779 |
+
84,
|
| 780 |
+
375,
|
| 781 |
+
243,
|
| 782 |
+
388
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 4
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "After adding LRMB and SMB and their initialization, the binarized matrix branch (BMB) is formed with $\\mathbf{x}_{\\mathrm{BMB}}$ . To be specific, the input feature and weight matrix will be binarized with $\\mathrm{Sign}(\\cdot)$ , which can be written as:",
|
| 789 |
+
"bbox": [
|
| 790 |
+
84,
|
| 791 |
+
391,
|
| 792 |
+
473,
|
| 793 |
+
450
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 4
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "equation",
|
| 799 |
+
"text": "\n$$\n\\left\\{ \\begin{array}{l} \\mathbf {x} _ {\\mathrm {b}} = \\operatorname {S i g n} \\left(\\mathbf {x} _ {\\mathrm {i n}}\\right), \\\\ \\mathbf {W} _ {\\mathrm {b}} = \\operatorname {S i g n} \\left(\\mathbf {W} _ {\\mathrm {B M B}}\\right), \\end{array} \\quad \\operatorname {S i g n} (x) = \\left\\{ \\begin{array}{l l} + 1, & x \\geq 0, \\\\ - 1, & x < 0, \\end{array} \\right. \\right. \\tag {9}\n$$\n",
|
| 800 |
+
"text_format": "latex",
|
| 801 |
+
"bbox": [
|
| 802 |
+
94,
|
| 803 |
+
454,
|
| 804 |
+
473,
|
| 805 |
+
494
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 4
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "where $\\operatorname{Sign}(\\cdot)$ is performed element-wise. Thereafter, the full-precision convolution and linear transform are replaced with efficient logical XNOR and bit-counting operations. The process can be formulated as:",
|
| 812 |
+
"bbox": [
|
| 813 |
+
84,
|
| 814 |
+
494,
|
| 815 |
+
475,
|
| 816 |
+
554
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 4
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "equation",
|
| 822 |
+
"text": "\n$$\n\\mathbf {x} _ {\\mathrm {B M B}} ^ {\\prime} = \\text {b i t - c o u n t} (\\mathrm {X N O R} (\\mathbf {x} _ {\\mathrm {b}}, \\mathbf {W} _ {\\mathrm {b}})), \\tag {10}\n$$\n",
|
| 823 |
+
"text_format": "latex",
|
| 824 |
+
"bbox": [
|
| 825 |
+
153,
|
| 826 |
+
556,
|
| 827 |
+
473,
|
| 828 |
+
573
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 4
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Finally, we follow the design of XNOR-Net (Rastegari et al., 2016) to compensate the precision loss, which is:",
|
| 835 |
+
"bbox": [
|
| 836 |
+
84,
|
| 837 |
+
575,
|
| 838 |
+
473,
|
| 839 |
+
604
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "equation",
|
| 845 |
+
"text": "\n$$\n\\mathbf {x} _ {\\mathrm {B M B}} = \\mathbf {x} _ {\\mathrm {B M B}} ^ {\\prime} \\odot (\\mathcal {A} \\otimes \\mathbf {k}), \\tag {11}\n$$\n",
|
| 846 |
+
"text_format": "latex",
|
| 847 |
+
"bbox": [
|
| 848 |
+
189,
|
| 849 |
+
607,
|
| 850 |
+
473,
|
| 851 |
+
625
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 4
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "where $\\mathcal{A}_{H\\times W}$ is the channel-wise absolute average of input activation, $\\mathbf{k}$ is a vector whose element is the absolute average of correspond channel, $\\odot$ is Hadamard product, and $(\\mathcal{A}\\otimes \\mathbf{k})_{c,i,j}:= \\mathcal{A}_{i,j}\\mathbf{k}_c$ should be calculated first.",
|
| 858 |
+
"bbox": [
|
| 859 |
+
84,
|
| 860 |
+
625,
|
| 861 |
+
475,
|
| 862 |
+
686
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 4
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "We binarized every convolution layer and linear layer except the first and last convolution layers due to extremely severe degradation of quantization on head and tail. Specifically, linear layer can be seen as the $1 \\times 1$ convolution layer and therefore processed in the same way as convolution layer.",
|
| 869 |
+
"bbox": [
|
| 870 |
+
84,
|
| 871 |
+
693,
|
| 872 |
+
475,
|
| 873 |
+
768
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 4
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "For one binarized layer, the output can be written as:",
|
| 880 |
+
"bbox": [
|
| 881 |
+
84,
|
| 882 |
+
776,
|
| 883 |
+
434,
|
| 884 |
+
791
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 4
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "equation",
|
| 890 |
+
"text": "\n$$\n\\mathbf {x} _ {\\text {o u t}} = \\mathbf {x} _ {\\mathrm {B M B}} + \\mathbf {x} _ {\\mathrm {L R M B}} + \\mathbf {x} _ {\\mathrm {S M B}}. \\tag {12}\n$$\n",
|
| 891 |
+
"text_format": "latex",
|
| 892 |
+
"bbox": [
|
| 893 |
+
173,
|
| 894 |
+
794,
|
| 895 |
+
473,
|
| 896 |
+
809
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 4
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "In conclusion, we propose LRMB, SMB, and their corresponding initialization methods. With these designs, our BiMaCoSR can significantly reduce the information loss caused by binarization and improve the restoration ability. Besides, the storage and computation overhead caused by LRMB and SMB can be safely ignored.",
|
| 903 |
+
"bbox": [
|
| 904 |
+
84,
|
| 905 |
+
811,
|
| 906 |
+
475,
|
| 907 |
+
902
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 4
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "4. Experiments",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
496,
|
| 917 |
+
83,
|
| 918 |
+
630,
|
| 919 |
+
99
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 4
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "4.1. Experimental Settings",
|
| 926 |
+
"text_level": 1,
|
| 927 |
+
"bbox": [
|
| 928 |
+
496,
|
| 929 |
+
106,
|
| 930 |
+
686,
|
| 931 |
+
121
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 4
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "Data. We take the models on the training set of ImageNet (Russakovsky et al., 2015) and the LR images are generated by the same pipeline of RealESRGAN (Wang et al., 2021). We evaluate the models with three benchmark datasets: RealSR (Cai et al., 2019), DRealSR (Wei et al., 2020), and DIV2K-Val (Agustsson & Timofte, 2017). RealSR and DRealSR are real world benchmarks while DIV2K-Val employs Bicubic interpolation to generate LR images. The upscale ratio of training set and test set is $\\times 4$ .",
|
| 938 |
+
"bbox": [
|
| 939 |
+
495,
|
| 940 |
+
125,
|
| 941 |
+
885,
|
| 942 |
+
262
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 4
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Evaluation Metrics. The evaluation metrics are implemented with IQA-Pytorch (Chen & Mo, 2022) and are twofold to assess the restoration and compression ability. Firstly, to thoroughly evaluate the restoration ability of our proposed BiMaCoSR, we employ the following quantitative metrics: full-reference metrics PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018a) and non-reference metrics DISTS (Ding et al., 2020), FID (Heusel et al., 2017), NIQE (Zhang et al., 2015), MANIQA-pipal (Yang et al., 2022), MUSIQ (Ke et al., 2021), and CLIPIQA+ (Wang et al., 2023a). PSNR and SSIM are distortion-based metrics and are calculated on the Y channel (i.e., luminance) of the YCbCr space. The rest metrics are all perceptual metrics and it is widely known that perceptual metrics are more aligned with human when rating the image quality.",
|
| 949 |
+
"bbox": [
|
| 950 |
+
495,
|
| 951 |
+
267,
|
| 952 |
+
887,
|
| 953 |
+
494
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 4
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Secondly, to demonstrate binarization's extreme compression and acceleration ability, we use the total parameters and overall operations as key metrics. Following previous work (Xia et al., 2022; Qin et al., 2023), the total parameters (Params) of the model are calculated as Params $= \\text{Params}^b + \\text{Params}^f$ , and the overall operations (OPs) as OPs $= \\text{OPs}^b + \\text{OPs}^f$ , where Params $^b = \\text{Params}^f / 32$ and OPs $^b = \\text{OPs}^f / 64$ ; the superscripts $f$ and $b$ denote full-precision and binarized modules, respectively. The computational complexity is tested with the input size $3 \\times 64 \\times 64$ .",
|
| 960 |
+
"bbox": [
|
| 961 |
+
495,
|
| 962 |
+
501,
|
| 963 |
+
888,
|
| 964 |
+
652
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 4
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Implementation Details. We take SinSR (Wang et al., 2024), a one-step diffusion model, as the backbone. We initialize with SinSR's weights and use ResShift (Yue et al., 2024) as the teacher model. All the rest convolution and linear layers, except the head and tail layers, are binarized into BMB to guarantee the best compression ratio and LRMB and SMB are attached with BMB. We set the rank of LRMB as $r = 8$ and the number of non-zero elements in SMB as $k = 2\\max(C_1, C_2)$ , where $C_1$ and $C_2$ are the numbers of input and output channels, respectively.",
|
| 971 |
+
"bbox": [
|
| 972 |
+
495,
|
| 973 |
+
657,
|
| 974 |
+
887,
|
| 975 |
+
809
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 4
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Training Settings. We utilize Adam optimizer (Kingma & Ba, 2015) with $\\beta_{1} = 0.9$ and $\\beta_{2} = 0.99$ , and set the learning rate as $2 \\times 10^{-5}$ . The batch size is set to 8, with 100K iterations. The input LR images are center-cropped to size $64 \\times 64$ . All the training and testing experiments are conducted on one NVIDIA RTX A6000.",
|
| 982 |
+
"bbox": [
|
| 983 |
+
495,
|
| 984 |
+
814,
|
| 985 |
+
885,
|
| 986 |
+
904
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 4
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "header",
|
| 992 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 993 |
+
"bbox": [
|
| 994 |
+
124,
|
| 995 |
+
56,
|
| 996 |
+
848,
|
| 997 |
+
71
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 4
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "page_number",
|
| 1003 |
+
"text": "5",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
480,
|
| 1006 |
+
922,
|
| 1007 |
+
491,
|
| 1008 |
+
934
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 4
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "table",
|
| 1014 |
+
"img_path": "images/3e70148ad334fc1fb86a757357dc5428d9857c4e86a8b3367b7db2d1b11adbe2.jpg",
|
| 1015 |
+
"table_caption": [
|
| 1016 |
+
"Table 1: Quantitative comparison with SOTA methods. We compare BiMaCoSR with full-precision models and current binarization methods. We employ 9 metrics commonly used in SR and test on three benchmarks. The best and second best value are marked with red and blue respectively. In conclusion, our proposed BiMaCoSR achieves SOTA performance."
|
| 1017 |
+
],
|
| 1018 |
+
"table_footnote": [],
|
| 1019 |
+
"table_body": "<table><tr><td>Datasets</td><td>Methods</td><td>Bits (W/A)</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>MUSIQ β</td><td>MANIQA β</td><td>DISTS β</td><td>FID β</td><td>NIQE β</td><td>CLIP-IQA+ β</td></tr><tr><td rowspan=\"8\">RealSR</td><td>SinSR</td><td>32/32</td><td>26.51</td><td>0.7380</td><td>0.3635</td><td>57.87</td><td>0.5139</td><td>0.2193</td><td>56.36</td><td>5.826</td><td>0.5736</td></tr><tr><td>ResShift</td><td>32/32</td><td>25.45</td><td>0.7243</td><td>0.3731</td><td>56.23</td><td>0.5005</td><td>0.2344</td><td>58.14</td><td>7.353</td><td>0.5708</td></tr><tr><td>XNOR</td><td>1/1</td><td>26.48</td><td>0.7434</td><td>0.3968</td><td>43.56</td><td>0.3732</td><td>0.2609</td><td>105.72</td><td>6.014</td><td>0.4380</td></tr><tr><td>ReActNet</td><td>1/1</td><td>26.60</td><td>0.7530</td><td>0.3834</td><td>44.18</td><td>0.3829</td><td>0.2551</td><td>109.36</td><td>6.306</td><td>0.4361</td></tr><tr><td>BBCU</td><td>1/1</td><td>26.43</td><td>0.7488</td><td>0.3902</td><td>43.70</td><td>0.3792</td><td>0.2575</td><td>108.32</td><td>6.058</td><td>0.4298</td></tr><tr><td>ReSTE</td><td>1/1</td><td>26.26</td><td>0.7408</td><td>0.4184</td><td>41.04</td><td>0.3677</td><td>0.2719</td><td>113.86</td><td>6.174</td><td>0.4083</td></tr><tr><td>BiDM</td><td>1/1</td><td>25.07</td><td>0.7036</td><td>0.5042</td><td>35.60</td><td>0.3517</td><td>0.3226</td><td>115.23</td><td>6.759</td><td>0.3935</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>49.01</td><td>0.4034</td><td>0.2183</td><td>86.09</td><td>5.856</td><td>0.4800</td></tr><tr><td rowspan=\"8\">DRealSR</td><td>SinSR</td><td>32/32</td><td>27.89</td><td>0.7332</td><td>0.4499</td><td>30.81</td><td>0.4519</td><td>0.2209</td><td>16.56</td><td>5.789</td><td>0.6052</td></tr><tr><td>ResShift</td><td>32/32</td><td>26.64</td><td>0.7298</td><td>0.4478</td><td>31.09</td><td>0.4345</td><td>0.2337</td><td>18.12</td><td>6.959</td><td>0.5795</td></tr><tr><td>XNOR</td><td>1/1</td><td>29.03</td><td>0.8319</td><td>0.3712</td><td>26.19</td><td>0.3560</td><td>0.2447</td><td>29.88</td><td>6.229</td><td>0.4449</td></tr><tr><td>ReActNet</td><td>1/1</td><td>29.34</td><td>0.8431</td><td>0.3571</td><td>26.83</td><td>0.3618</td><td>0.2411</td><td>30.18</td><td>6.561</td><td>0.4380</td></tr><tr><td>BBCU</td><td>1/1</td><td>29.00</td><td>0.8385</td><td>0.3643</td><td>26.37</td><td>0.3594</td><td>0.2433</td><td>30.94</td><td>6.337</td><td>0.4383</td></tr><tr><td>ReSTE</td><td>1/1</td><td>28.91</td><td>0.8353</td><td>0.3899</td><td>25.12</td><td>0.3509</td><td>0.2641</td><td>33.64</td><td>6.459</td><td>0.4131</td></tr><tr><td>BiDM</td><td>1/1</td><td>27.40</td><td>0.7942</td><td>0.4849</td><td>23.38</td><td>0.3529</td><td>0.3118</td><td>37.83</td><td>6.753</td><td>0.4307</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>29.33</td><td>0.8393</td><td>0.3400</td><td>29.38</td><td>0.3802</td><td>0.2278</td><td>22.31</td><td>6.150</td><td>0.4867</td></tr><tr><td rowspan=\"8\">DIV2K-Val</td><td>SinSR</td><td>32/32</td><td>27.75</td><td>0.7694</td><td>0.1903</td><td>64.62</td><td>0.5336</td><td>0.1029</td><td>6.27</td><td>4.308</td><td>0.6147</td></tr><tr><td>ResShift</td><td>32/32</td><td>27.18</td><td>0.7667</td><td>0.1775</td><td>65.04</td><td>0.5548</td><td>0.1016</td><td>7.54</td><td>5.121</td><td>0.6280</td></tr><tr><td>XNOR</td><td>1/1</td><td>26.44</td><td>0.7185</td><td>0.3727</td><td>49.10</td><td>0.3972</td><td>0.2204</td><td>55.77</td><td>5.320</td><td>0.4584</td></tr><tr><td>ReActNet</td><td>1/1</td><td>26.49</td><td>0.7260</td><td>0.3602</td><td>50.29</td><td>0.4078</td><td>0.2111</td><td>52.32</td><td>5.366</td><td>0.4726</td></tr><tr><td>BBCU</td><td>1/1</td><td>26.39</td><td>0.7221</td><td>0.3660</td><td>50.09</td><td>0.4035</td><td>0.2148</td><td>53.22</td><td>5.263</td><td>0.4653</td></tr><tr><td>ReSTE</td><td>1/1</td><td>26.07</td><td>0.7125</td><td>0.3916</td><td>46.95</td><td>0.3907</td><td>0.2295</td><td>61.52</td><td>5.399</td><td>0.4328</td></tr><tr><td>BiDM</td><td>1/1</td><td>24.29</td><td>0.6725</td><td>0.4370</td><td>40.15</td><td>0.3747</td><td>0.2916</td><td>62.28</td><td>6.090</td><td>0.4112</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>27.35</td><td>0.7547</td><td>0.2999</td><td>53.38</td><td>0.4337</td><td>0.1806</td><td>27.99</td><td>4.987</td><td>0.5176</td></tr></table>",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
86,
|
| 1022 |
+
133,
|
| 1023 |
+
883,
|
| 1024 |
+
477
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 5
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "4.2. Comparison with State-of-the-Art Methods",
|
| 1031 |
+
"text_level": 1,
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
84,
|
| 1034 |
+
488,
|
| 1035 |
+
419,
|
| 1036 |
+
503
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 5
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "We compare our proposed BiMaCoSR with recent binarization methods, including XNOR (Rastegari et al., 2016), ReActNet (Liu et al., 2020), BBCU (Xia et al., 2022), ReSTE (Wu et al., 2023), and BiDM (Zheng et al., 2024). All binarization methods are implemented on SinSR (Wang et al., 2024) and trained with the same settings. As LRMB and SMB slightly increase the parameters, we additionally keep the first two and last two convolution layers as full-precision. We also compare BiMaCoSR with the full-precision model SinSR and ResShift (Yue et al., 2024). SinSR is the distilled version of ResShift. The comparison results are exhibited in quantitative and qualitative aspects.",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
84,
|
| 1045 |
+
505,
|
| 1046 |
+
475,
|
| 1047 |
+
686
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 5
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Restoration Results. The quantitative comparison results are shown in Table 1. We can obtain the following observations. (1) The results in Table 1 demonstrate clear advantage over competing methods in both full-reference and nonreference metrics on three benchmark datasets. (2) In some situations, such as PSNR and LPIPS on RealSR, BiMa-CoSR can even surpass SinSR and ResShift. We attribute the excellence to the LRMB and SMB, which transmit the full-precision information in a parameter-efficient way. (3) Most binarization methods outperform the baseline model and ReActNet presents competing performance, especially on DRealSR. (4) The full-precision models, i.e., SinSR and ResShift, are excellent on perceptual metrics, such as DISTS and CLIP-IQA+. Whereas, the multi-step models'",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
84,
|
| 1056 |
+
691,
|
| 1057 |
+
475,
|
| 1058 |
+
902
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 5
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "performance on PSNR and SSIM is on the lower side. This phenomenon means that compression on DM leads to disappearance of texture and details. However, their performance on PSNR and SSIM is only slightly affected.",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
495,
|
| 1067 |
+
488,
|
| 1068 |
+
887,
|
| 1069 |
+
549
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 5
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Efficiency Comparison. Efficiency comparison results are provided in Table 2. After the distillation from multi-step to one-step, the FLOPs are significantly reduced. Furthermore, compressing the model to 1 bit makes the model tiny and fast. In comparison with SinSR, the compression ratio is $27.45 \\times$ and the speedup ratio is $23.81 \\times$ . Compared with current SOTA binarization methods, we keep almost the same parameters but take much less FLOPs on one-step DM, due to the calculation efficient design. To conclude, our proposed BiMaCoSR gains remarkable compression ratio and speedup ratio and achieves outstanding performance.",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
495,
|
| 1078 |
+
553,
|
| 1079 |
+
887,
|
| 1080 |
+
719
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 5
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Visual Results. We present visual comparison on challenging cases in Fig. 4. One typical challenging case is the tiny and dense structures, such as hairs, grass, tiles, and faces. It is struggling with previous binarization methods to restore image details, especially in challenging cases. On the contrary, our BiMaCoSR is able to recover results with sharper edges and richer textures. For example, in 0809, BiMaCoSR reconstructs the hairs on the nose while other methods just output rough color blocks. And in 0831, BiMaCoSR restores the woman's facial structures and expression while other methods smooth the organs to the same color. In 0834, BiMaCoSR could successfully recover the tiles' texture and",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
495,
|
| 1089 |
+
723,
|
| 1090 |
+
888,
|
| 1091 |
+
904
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 5
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "header",
|
| 1097 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
124,
|
| 1100 |
+
56,
|
| 1101 |
+
848,
|
| 1102 |
+
70
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 5
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "page_number",
|
| 1108 |
+
"text": "6",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
480,
|
| 1111 |
+
922,
|
| 1112 |
+
491,
|
| 1113 |
+
934
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 5
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "table",
|
| 1119 |
+
"img_path": "images/504da852a9ce47dce67c1cd9ce71f18c44b6438b4d36f392a9639f0eaa85d5f7.jpg",
|
| 1120 |
+
"table_caption": [],
|
| 1121 |
+
"table_footnote": [],
|
| 1122 |
+
"table_body": "<table><tr><td></td><td>ResShift</td><td>SinSR</td><td>ReActNet</td><td>BBCU</td><td>ReSTE</td><td>BiDM</td><td>XNOR</td><td>Ours</td></tr><tr><td>Inference Step</td><td>15</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>FLOPs (G)</td><td>753.45</td><td>50.23</td><td>5.83</td><td>5.83</td><td>5.83</td><td>11.60</td><td>5.83</td><td>1.83</td></tr><tr><td># Total Param (M)</td><td>118.59</td><td>118.59</td><td>4.95</td><td>4.95</td><td>4.95</td><td>18.69</td><td>4.95</td><td>4.98</td></tr><tr><td>PSNR/LPIPS</td><td>25.45/0.3731</td><td>26.51/0.3635</td><td>26.60/0.3834</td><td>26.43/0.3902</td><td>26.26/0.4184</td><td>25.07/0.5042</td><td>26.48/0.3968</td><td>26.84/0.3375</td></tr></table>",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
86,
|
| 1125 |
+
80,
|
| 1126 |
+
883,
|
| 1127 |
+
160
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 6
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Table 2: Efficiency comparison on RealSR. BiMaCoSR takes least FLOPs while gains the best performance.",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
127,
|
| 1136 |
+
161,
|
| 1137 |
+
841,
|
| 1138 |
+
176
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 6
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "image",
|
| 1144 |
+
"img_path": "images/b4a427ff36cfd8c96f2a6008a942d8f3546ec3b68085d4b2bf386010e7d9c8fb.jpg",
|
| 1145 |
+
"image_caption": [
|
| 1146 |
+
"Figure 4: Visual comparison for image SR. We compare our proposed BiMaCoSR with current competitive binarization methods and the full-precision (FP) model. The visual results illustrate that BiMaCoSR gains rich details and reasonable textures."
|
| 1147 |
+
],
|
| 1148 |
+
"image_footnote": [],
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
84,
|
| 1151 |
+
183,
|
| 1152 |
+
883,
|
| 1153 |
+
609
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 6
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "most binarization methods fail. What's more, the difference between BiMaCoSR and the FP model (SinSR) exists but is minimal. To conclude, our proposed BiMaCoSR surpasses other methods according to visual comparison. Additionally, we provide more visual results and corresponding analysis in the supplementary material for further comparison.",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
84,
|
| 1162 |
+
646,
|
| 1163 |
+
475,
|
| 1164 |
+
737
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 6
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "4.3. Ablation Study",
|
| 1171 |
+
"text_level": 1,
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
84,
|
| 1174 |
+
746,
|
| 1175 |
+
225,
|
| 1176 |
+
762
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 6
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "In this section, we adopt RealSR as the test set and other training settings are the same as Sec. 4.1. To test the effectiveness and robustness, we conduct five key ablation experiments, including the break down ablation, loss function, rank of low rank branch, initialization of LRMB, and initialization of SMB. What's more, detailed analysis is also provided in the following sections. These ablation studies demonstrate the robustness and efficiency of our LRMB, SMB, and their corresponding initialization methods.",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
84,
|
| 1185 |
+
763,
|
| 1186 |
+
475,
|
| 1187 |
+
898
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 6
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "Break Down Ablation. Table 3a shows results of the break down ablation. With only BMB, the model could be extremely compressed but the performance is somewhat on the low side. With LRMB, though the number of parameters increases to 1.83G, the performance also improves on all metrics and the FLOPs only increase to 4.98M. After adding SMB, the overhead of parameters and storage can be neglected. The performance on all perceptual metrics improves while both PSNR and SSIM drop slightly.",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
495,
|
| 1196 |
+
646,
|
| 1197 |
+
887,
|
| 1198 |
+
782
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 6
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Loss Function. The loss functions of SinSR play a critical role in FP model. However, these loss functions are not suitable in the binarized situation. After removing unnecessary parts from the SinSR loss, we leave only the distillation loss and the results are shown in Table 3b. With only the distillation loss, BiMaCoSR gains improvement on both distortion metrics and perceptual metrics.",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
495,
|
| 1207 |
+
789,
|
| 1208 |
+
888,
|
| 1209 |
+
896
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 6
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "header",
|
| 1215 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
124,
|
| 1218 |
+
56,
|
| 1219 |
+
846,
|
| 1220 |
+
70
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 6
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "page_number",
|
| 1226 |
+
"text": "7",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
480,
|
| 1229 |
+
922,
|
| 1230 |
+
491,
|
| 1231 |
+
934
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 6
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "table",
|
| 1237 |
+
"img_path": "images/1b022926a5884375f145d417e52013149bcc19509c7aada4b28eca50ac433e4c.jpg",
|
| 1238 |
+
"table_caption": [],
|
| 1239 |
+
"table_footnote": [],
|
| 1240 |
+
"table_body": "<table><tr><td>Branch</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>MANIQA β</td><td>FID β</td><td>CLIP-IQA+ β</td><td>FLOPs (G)</td><td>Param (M)</td></tr><tr><td>BMB</td><td>26.41</td><td>0.7408</td><td>0.4141</td><td>0.3704</td><td>110.15</td><td>0.4325</td><td>0.78</td><td>3.69</td></tr><tr><td>+LRMB</td><td>26.95</td><td>0.7718</td><td>0.3400</td><td>0.3937</td><td>88.72</td><td>0.4663</td><td>1.83</td><td>4.98</td></tr><tr><td>+LRMB+SMB</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4034</td><td>86.09</td><td>0.4800</td><td>1.83</td><td>4.98</td></tr></table>",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
96,
|
| 1243 |
+
80,
|
| 1244 |
+
883,
|
| 1245 |
+
148
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 7
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "table",
|
| 1251 |
+
"img_path": "images/e97f1daf10ff7a158a197a8fe4591ca56048c59f19a3807aae25b328d55bab83.jpg",
|
| 1252 |
+
"table_caption": [
|
| 1253 |
+
"(a) Break down ablation."
|
| 1254 |
+
],
|
| 1255 |
+
"table_footnote": [],
|
| 1256 |
+
"table_body": "<table><tr><td>Loss</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Distill loss</td><td>26.83</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr><tr><td>SinSR loss</td><td>26.37</td><td>0.7466</td><td>0.4029</td><td>0.4273</td></tr></table>",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
98,
|
| 1259 |
+
167,
|
| 1260 |
+
478,
|
| 1261 |
+
222
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 7
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "table",
|
| 1267 |
+
"img_path": "images/ec3b63de12511ff886a30cbeb77f1322994181e2956c13c4c01a263b37033976.jpg",
|
| 1268 |
+
"table_caption": [],
|
| 1269 |
+
"table_footnote": [],
|
| 1270 |
+
"table_body": "<table><tr><td>Initialization</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Zero + Random</td><td>26.88</td><td>0.7660</td><td>0.3497</td><td>0.4674</td></tr><tr><td>SVD</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr></table>",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
491,
|
| 1273 |
+
167,
|
| 1274 |
+
885,
|
| 1275 |
+
222
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 7
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "table",
|
| 1281 |
+
"img_path": "images/198d7dd8d4b6d5230348067ff9217fd391bf65e1d0ed89038a891b71b702852e.jpg",
|
| 1282 |
+
"table_caption": [
|
| 1283 |
+
"(b) Ablation study on losses."
|
| 1284 |
+
],
|
| 1285 |
+
"table_footnote": [],
|
| 1286 |
+
"table_body": "<table><tr><td>Rank</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+β</td><td>FLOPs (G)</td><td>Param (M)</td></tr><tr><td>4</td><td>26.29</td><td>0.7383</td><td>0.4197</td><td>0.4411</td><td>1.31</td><td>4.37</td></tr><tr><td>8</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td><td>1.83</td><td>4.98</td></tr><tr><td>12</td><td>26.97</td><td>0.7695</td><td>0.3400</td><td>0.4766</td><td>2.32</td><td>5.60</td></tr><tr><td>16</td><td>26.72</td><td>0.7625</td><td>0.3442</td><td>0.4971</td><td>2.83</td><td>6.21</td></tr></table>",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
96,
|
| 1289 |
+
241,
|
| 1290 |
+
529,
|
| 1291 |
+
319
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 7
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "table",
|
| 1297 |
+
"img_path": "images/87b434b9acd4ecb2d7f0572f34d85b33abeab9b882ae9c4a5523b9edcd6bf43c.jpg",
|
| 1298 |
+
"table_caption": [
|
| 1299 |
+
"(c) Ablation study on LRMB initialization."
|
| 1300 |
+
],
|
| 1301 |
+
"table_footnote": [],
|
| 1302 |
+
"table_body": "<table><tr><td>Initialization</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Zero initial</td><td>26.72</td><td>0.7628</td><td>0.3561</td><td>0.4639</td></tr><tr><td>Uni-shortcut</td><td>25.69</td><td>0.7113</td><td>0.5105</td><td>0.4008</td></tr><tr><td>Sparse skip</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr></table>",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
547,
|
| 1305 |
+
253,
|
| 1306 |
+
880,
|
| 1307 |
+
319
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 7
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "(d) Ablation study on the rank of LRMB.",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
181,
|
| 1316 |
+
324,
|
| 1317 |
+
428,
|
| 1318 |
+
337
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 7
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "text",
|
| 1324 |
+
"text": "(e) Ablation study on SMB initialization.",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
584,
|
| 1327 |
+
324,
|
| 1328 |
+
828,
|
| 1329 |
+
337
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 7
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "text",
|
| 1335 |
+
"text": "Table 3: Ablation studies on branches, loss, rank of LRMB and initialization of LRMB and SMB. The experiments is tested on RealSR. The comprehensive results demonstrate the robustness and efficient performance of our proposed BiMaCoSR.",
|
| 1336 |
+
"bbox": [
|
| 1337 |
+
83,
|
| 1338 |
+
338,
|
| 1339 |
+
885,
|
| 1340 |
+
364
|
| 1341 |
+
],
|
| 1342 |
+
"page_idx": 7
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"type": "text",
|
| 1346 |
+
"text": "Rank of LRMB. The rank of LRMB significantly influences the complexity, while the performance is not consistent with the increase in complexity. As shown in Table 3d, the model with rank of 16 performs best only on CLIP-IQA+, while the model with rank of 8 performs best and takes acceptable parameters. This is because the LRMB with high rank may influence high frequency generated by BMB, making the training unstable and leading to worse results. Therefore, we ultimately set the rank of LRMB to 8.",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
83,
|
| 1349 |
+
371,
|
| 1350 |
+
475,
|
| 1351 |
+
507
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 7
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "Initialization of LRMB. Conventional LoRA's initialization method is set the first matrix with random values and the second matrix with zero values. We compare this initialization method with our proposed SVD initialization and the result is shown in Table 3c. To conclude, our method outperforms conventional methods on SSIM, LPIPS, and CLIP- $\\mathrm{QA + }$ .We attribute it to the decoupling of transmitting low frequency information and generating high frequency. To conclude, our proposed SVD allows better performance.",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
83,
|
| 1360 |
+
515,
|
| 1361 |
+
473,
|
| 1362 |
+
651
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 7
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "Initialization of SMB. We search three popular ways to initialize SMB, including (1) random position and zero initialization, (2) Uni-shortcut (Xu et al., 2022), and (3) our proposed sparse skip. The experiment results in Table 3e show that our sparse skip initialization consistently enjoys the best performance on all four metrics. This improvement compared with other two initialization methods strongly supports the effectiveness of decoupling and absorption.",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
83,
|
| 1371 |
+
657,
|
| 1372 |
+
473,
|
| 1373 |
+
780
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 7
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "4.4. Visualization Analysis.",
|
| 1380 |
+
"text_level": 1,
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
84,
|
| 1383 |
+
785,
|
| 1384 |
+
277,
|
| 1385 |
+
800
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 7
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "In Sec. 3, we assume that LRMB and SMB are in charge of transmitting low frequency information while BMB generates high frequency after decoupling. To validate this assumption, we visualize the proportion of high frequency generated by three branches in first 50 Conv layers and the result is shown in Fig. 5. On average, high frequency infor",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
84,
|
| 1394 |
+
805,
|
| 1395 |
+
475,
|
| 1396 |
+
896
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 7
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "image",
|
| 1402 |
+
"img_path": "images/fd8f96c764ce966ef4c0378e08826a27fa4c874943b9556ebbbf1a8b87381884.jpg",
|
| 1403 |
+
"image_caption": [
|
| 1404 |
+
"Figure 5: The proportion of high frequency information generated by three branches. The high frequency information mainly comes from BMB, which obeys our assumption."
|
| 1405 |
+
],
|
| 1406 |
+
"image_footnote": [],
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
498,
|
| 1409 |
+
369,
|
| 1410 |
+
883,
|
| 1411 |
+
542
|
| 1412 |
+
],
|
| 1413 |
+
"page_idx": 7
|
| 1414 |
+
},
|
| 1415 |
+
{
|
| 1416 |
+
"type": "text",
|
| 1417 |
+
"text": "mation is mainly generated by BMB, accounting for around $70\\%$ . With more parameters, LRMB also provides high frequency information in some layers but overall proportion is relative low. SMB only absorbs the extreme values and indeed carries little high frequency information. Fig. 5 shows that division of work is clear and our designs in LRMB, SMB and BMB obey our assumption.",
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
495,
|
| 1420 |
+
595,
|
| 1421 |
+
885,
|
| 1422 |
+
700
|
| 1423 |
+
],
|
| 1424 |
+
"page_idx": 7
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"type": "text",
|
| 1428 |
+
"text": "5. Conclusion",
|
| 1429 |
+
"text_level": 1,
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
496,
|
| 1432 |
+
705,
|
| 1433 |
+
614,
|
| 1434 |
+
720
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 7
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "In this paper, we propose the BiMaCoSR, a binarized SR diffusion model with only one inference step. Detailedly, we first propose LRMB and SVD initialization to decouple the effect of binarized branch and deliver low frequency information. Furthermore, we propose SMB and sparse initialization to absorb the extreme values and provide high rank representations. Comprehensive comparison experiments demonstrate the SOTA restoration ability of the proposed BiMaCoSR. Extensive ablation studies exhibit the efficiency and robustness of both LRMB and SMB. In the future, we will focus on the combination of pruning and binarization on one-step diffusion models for further compression.",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
495,
|
| 1443 |
+
724,
|
| 1444 |
+
885,
|
| 1445 |
+
905
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 7
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "header",
|
| 1451 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
124,
|
| 1454 |
+
56,
|
| 1455 |
+
846,
|
| 1456 |
+
70
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 7
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "page_number",
|
| 1462 |
+
"text": "8",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
480,
|
| 1465 |
+
922,
|
| 1466 |
+
491,
|
| 1467 |
+
934
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 7
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Acknowledgements",
|
| 1474 |
+
"text_level": 1,
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
86,
|
| 1477 |
+
83,
|
| 1478 |
+
253,
|
| 1479 |
+
99
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 8
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "This work was supported by Shanghai Municipal Science and Technology Major Project (2021SHZDZX0102), the Fundamental Research Funds for the Central Universities, and the National Natural Science Foundation of China (NSFC No. W2412089).",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
84,
|
| 1488 |
+
109,
|
| 1489 |
+
475,
|
| 1490 |
+
184
|
| 1491 |
+
],
|
| 1492 |
+
"page_idx": 8
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"type": "text",
|
| 1496 |
+
"text": "Impact Statement",
|
| 1497 |
+
"text_level": 1,
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
86,
|
| 1500 |
+
204,
|
| 1501 |
+
240,
|
| 1502 |
+
220
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 8
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"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 of which we feel must be specifically highlighted here.",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
84,
|
| 1511 |
+
229,
|
| 1512 |
+
475,
|
| 1513 |
+
291
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 8
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "References",
|
| 1520 |
+
"text_level": 1,
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
86,
|
| 1523 |
+
310,
|
| 1524 |
+
181,
|
| 1525 |
+
325
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 8
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "list",
|
| 1531 |
+
"sub_type": "ref_text",
|
| 1532 |
+
"list_items": [
|
| 1533 |
+
"Agustsson, E. and Timofte, R. Ntire 2017 challenge on single image super-resolution: Dataset and study. In CVPRW, 2017.",
|
| 1534 |
+
"Cai, J., Zeng, H., Yong, H., Cao, Z., and Zhang, L. Toward real-world single image super-resolution: A new benchmark and a new model. In CVPR, 2019.",
|
| 1535 |
+
"Chen, C. and Mo, J. IQA-PyTorch: Pytorch toolbox for image quality assessment. [Online]. Available: https://github.com/chaofengc/IQA-PyTorch, 2022.",
|
| 1536 |
+
"Chen, Z., Zhang, Y., Gu, J., Zhang, Y., Kong, L., and Yuan, X. Cross aggregation transformer for image restoration. In NeurIPS, 2022.",
|
| 1537 |
+
"Chen, Z., Zhang, Y., Gu, J., Kong, L., Yang, X., and Yu, F. Dual aggregation transformer for image super-resolution. In CVPR, 2023.",
|
| 1538 |
+
"Chen, Z., Qin, H., Guo, Y., Su, X., Yuan, X., Kong, L., and Zhang, Y. Binarized diffusion model for image superresolution. In NeurIPS, 2024.",
|
| 1539 |
+
"Ding, K., Ma, K., Wang, S., and Simoncelli, E. P. Image quality assessment: Unifying structure and texture similarity. TPAMI, 2020.",
|
| 1540 |
+
"Dong, C., Loy, C. C., He, K., and Tang, X. Learning a deep convolutional network for image super-resolution. In ECCV, 2014.",
|
| 1541 |
+
"Dong, C., Loy, C. C., He, K., and Tang, X. Image superresolution using deep convolutional networks. TPAMI, 2016.",
|
| 1542 |
+
"Gu, J., Lu, H., Zuo, W., and Dong, C. Blind super-resolution with iterative kernel correction. In CVPR, 2019.",
|
| 1543 |
+
"Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. Gans trained by a two time-scale update rule converge to a local nash equilibrium. NIPS, 2017."
|
| 1544 |
+
],
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
86,
|
| 1547 |
+
333,
|
| 1548 |
+
475,
|
| 1549 |
+
905
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 8
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "list",
|
| 1555 |
+
"sub_type": "ref_text",
|
| 1556 |
+
"list_items": [
|
| 1557 |
+
"Huang, W., Zheng, X., Ma, X., Qin, H., Lv, C., Chen, H., Luo, J., Qi, X., Liu, X., and Magno, M. An empirical study of llama3 quantization: From llms to mllms. Visual Intelligence, 2(1):36, 2024.",
|
| 1558 |
+
"Ke, J., Wang, Q., Wang, Y., Milanfar, P., and Yang, F. Musiq: Multi-scale image quality transformer. In ICCV, 2021.",
|
| 1559 |
+
"Keys, R. Cubic convolution interpolation for digital image processing. IEEE Trans. Acoust., Speech, Signal Process., 1981.",
|
| 1560 |
+
"Kingma, D. and Ba, J. Adam: A method for stochastic optimization. In ICLR, 2015.",
|
| 1561 |
+
"Le, P.-H. C. and Li, X. Binaryvit: pushing binary vision transformers towards convolutional models. In CVPR, 2023.",
|
| 1562 |
+
"Ledig, C., Theis, L., HuszΓ‘r, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A. P., Tejani, A., Totz, J., Wang, Z., et al. Photo-realistic single image super-resolution using a generative adversarial network. In CVPR, 2017.",
|
| 1563 |
+
"Liang, J., Cao, J., Sun, G., Zhang, K., Van Gool, L., and Timofte, R. Swinir: Image restoration using swim transformer. In ICCVW, 2021.",
|
| 1564 |
+
"Lim, B., Son, S., Kim, H., Nah, S., and Lee, K. M. Enhanced deep residual networks for single image super-resolution. In CVPRW, 2017.",
|
| 1565 |
+
"Lin, X., He, J., Chen, Z., Lyu, Z., Dai, B., Yu, F., Qiao, Y., Ouyang, W., and Dong, C. Diffbir: Toward blind image restoration with generative diffusion prior. In ECCV, 2024.",
|
| 1566 |
+
"Liu, Z., Shen, Z., Savvides, M., and Cheng, K.-T. Reactnet: Towards precise binary neural network with generalized activation functions. In ECCV, 2020.",
|
| 1567 |
+
"Lu, X., Yuan, Y., and Yan, P. Image super-resolution via double sparsity regularized manifold learning. TCSVT, 2013.",
|
| 1568 |
+
"Luo, X., Qu, Y., Xie, Y., Zhang, Y., Li, C., and Fu, Y. Lattice network for lightweight image restoration. TPAMI, 2022.",
|
| 1569 |
+
"Qin, H., Gong, R., Liu, X., Shen, M., Wei, Z., Yu, F., and Song, J. Forward and backward information retention for accurate binary neural networks. In CVPR, 2020.",
|
| 1570 |
+
"Qin, H., Zhang, X., Gong, R., Ding, Y., Xu, Y., and Liu, X. Distribution-sensitive information retention for accurate binary neural network. IJCV, 2022.",
|
| 1571 |
+
"Qin, H., Zhang, M., Ding, Y., Li, A., Cai, Z., Liu, Z., Yu, F., and Liu, X. Bibench: Benchmarking and analyzing network binarization. In ICML, 2023."
|
| 1572 |
+
],
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
498,
|
| 1575 |
+
84,
|
| 1576 |
+
887,
|
| 1577 |
+
905
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 8
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "header",
|
| 1583 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 1584 |
+
"bbox": [
|
| 1585 |
+
124,
|
| 1586 |
+
56,
|
| 1587 |
+
846,
|
| 1588 |
+
71
|
| 1589 |
+
],
|
| 1590 |
+
"page_idx": 8
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "page_number",
|
| 1594 |
+
"text": "9",
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
480,
|
| 1597 |
+
922,
|
| 1598 |
+
491,
|
| 1599 |
+
934
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 8
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "list",
|
| 1605 |
+
"sub_type": "ref_text",
|
| 1606 |
+
"list_items": [
|
| 1607 |
+
"Rastegari, M., Ordonez, V., Redmon, J., and Farhadi, A. Xnor-net: Imagenet classification using binary convolutional neural networks. In ECCV, 2016.",
|
| 1608 |
+
"Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and Ommer, B. High-resolution image synthesis with latent diffusion models. In CVPR, 2022.",
|
| 1609 |
+
"Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al. Imagenet large scale visual recognition challenge. IJCV, 2015.",
|
| 1610 |
+
"Saharia, C., Ho, J., Chan, W., Salimans, T., Fleet, D. J., and Norouzi, M. Image super-resolution via iterative refinement. IEEE TPAMI, 2022.",
|
| 1611 |
+
"Sun, H., Li, W., Liu, J., Chen, H., Pei, R., Zou, X., Yan, Y., and Yang, Y. Coser: Bridging image and language for cognitive super-resolution. In CVPR, 2024.",
|
| 1612 |
+
"Wang, J., Chan, K. C., and Loy, C. C. Exploring clip for assessing the look and feel of images. In AAAI, 2023a.",
|
| 1613 |
+
"Wang, X., Xie, L., Dong, C., and Shan, Y. Real-esrgan: Training real-world blind super-resolution with pure synthetic data. In CVPR, 2021.",
|
| 1614 |
+
"Wang, Y., Yang, W., Chen, X., Wang, Y., Guo, L., Chau, L.-P., Liu, Z., Qiao, Y., Kot, A. C., and Wen, B. Sinsr: diffusion-based image super-resolution in a single step. In CVPR, 2024.",
|
| 1615 |
+
"Wang, Z., Bovik, A. C., Sheikh, H. R., and Simoncelli, E. P. Image quality assessment: from error visibility to structural similarity. TIP, 2004.",
|
| 1616 |
+
"Wang, Z., Cun, X., Bao, J., Zhou, W., Liu, J., and Li, H. Uformer: A general u-shaped transformer for image restoration. In CVPR, 2022.",
|
| 1617 |
+
"Wang, Z., Wang, J., Liu, Z., and Qiu, Q. Binary latent diffusion. In CVPR, 2023b.",
|
| 1618 |
+
"Wei, P., Xie, Z., Lu, H., Zhan, Z., Ye, Q., Zuo, W., and Lin, L. Component divide-and-conquer for real-world image super-resolution. In ECCV, 2020.",
|
| 1619 |
+
"Wu, R., Sun, L., Ma, Z., and Zhang, L. One-step effective diffusion network for real-world image super-resolution. arXiv, 2024a.",
|
| 1620 |
+
"Wu, R., Yang, T., Sun, L., Zhang, Z., Li, S., and Zhang, L. Seesr: Towards semantics-aware real-world image super-resolution. In CVPR, 2024b.",
|
| 1621 |
+
"Wu, X.-M., Zheng, D., Liu, Z., and Zheng, W.-S. Estimator meets equilibrium perspective: A rectified straight through estimator for binary neural networks training. In ICCV, 2023."
|
| 1622 |
+
],
|
| 1623 |
+
"bbox": [
|
| 1624 |
+
86,
|
| 1625 |
+
84,
|
| 1626 |
+
475,
|
| 1627 |
+
904
|
| 1628 |
+
],
|
| 1629 |
+
"page_idx": 9
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"type": "list",
|
| 1633 |
+
"sub_type": "ref_text",
|
| 1634 |
+
"list_items": [
|
| 1635 |
+
"Xia, B., Zhang, Y., Wang, Y., Tian, Y., Yang, W., Timofte, R., and Van Gool, L. Basic binary convolution unit for binarized image restoration network. In ICLR, 2022.",
|
| 1636 |
+
"Xu, Y., Chen, X., and Wang, Y. Bimlp: Compact binary architectures for vision multi-layer perceptrons. NeurIPS, 2022.",
|
| 1637 |
+
"Yan, D., Wu, T., Liu, Y., and Gao, Y. An efficient sparse-dense matrix multiplication on a multicore system. In ICCT, 2017.",
|
| 1638 |
+
"Yang, C.-Y., Ma, C., and Yang, M.-H. Single-image superresolution: A benchmark. In ECCV, 2014.",
|
| 1639 |
+
"Yang, S., Wu, T., Shi, S., Lao, S., Gong, Y., Cao, M., Wang, J., and Yang, Y. Maniaq: Multi-dimension attention network for no-reference image quality assessment. In CVPR, 2022.",
|
| 1640 |
+
"Yang, T., Wu, R., Ren, P., Xie, X., and Zhang, L. Pixel-aware stable diffusion for realistic image super-resolution and personalized stylization. In ECCV, 2025.",
|
| 1641 |
+
"Yu, F., Gu, J., Li, Z., Hu, J., Kong, X., Wang, X., He, J., Qiao, Y., and Dong, C. Scaling up to excellence: Practicing model scaling for photo-realistic image restoration in the wild. In CVPR, 2024.",
|
| 1642 |
+
"Yue, Z., Wang, J., and Loy, C. C. Resshift: Efficient diffusion model for image super-resolution by residual shifting. NeurIPS, 2024.",
|
| 1643 |
+
"Zhang, K., Liang, J., Van Gool, L., and Timofte, R. Designing a practical degradation model for deep blind image super-resolution. In CVPR, 2021.",
|
| 1644 |
+
"Zhang, L., Zhang, L., and Bovik, A. C. A feature-enriched completely blind image quality evaluator. TIP, 2015.",
|
| 1645 |
+
"Zhang, R., Isola, P., Efros, A. A., Shechtman, E., and Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018a.",
|
| 1646 |
+
"Zhang, Y., Li, K., Li, K., Wang, L., Zhong, B., and Fu, Y. Image super-resolution using very deep residual channel attention networks. In ECCV, 2018b.",
|
| 1647 |
+
"Zhang, Y., Tian, Y., Kong, Y., Zhong, B., and Fu, Y. Residual dense network for image super-resolution. In CVPR, 2018c.",
|
| 1648 |
+
"Zheng, X., Liu, X., Bian, Y., Ma, X., Zhang, Y., Wang, J., Guo, J., and Qin, H. Bidm: Pushing the limit of quantization for diffusion models. In NeurIPS, 2024.",
|
| 1649 |
+
"Zibetti, M. V. W. and Mayer, J. A robust and computationally efficient simultaneous super-resolution scheme for image sequences. TCSVT, 2007."
|
| 1650 |
+
],
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
498,
|
| 1653 |
+
84,
|
| 1654 |
+
885,
|
| 1655 |
+
882
|
| 1656 |
+
],
|
| 1657 |
+
"page_idx": 9
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"type": "header",
|
| 1661 |
+
"text": "BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
124,
|
| 1664 |
+
56,
|
| 1665 |
+
846,
|
| 1666 |
+
71
|
| 1667 |
+
],
|
| 1668 |
+
"page_idx": 9
|
| 1669 |
+
},
|
| 1670 |
+
{
|
| 1671 |
+
"type": "page_number",
|
| 1672 |
+
"text": "10",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
477,
|
| 1675 |
+
922,
|
| 1676 |
+
495,
|
| 1677 |
+
934
|
| 1678 |
+
],
|
| 1679 |
+
"page_idx": 9
|
| 1680 |
+
}
|
| 1681 |
+
]
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/015a9533-715f-4e8b-a7b5-d0f1265ce5d2_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfe9476ca836f9752a58b59b9faab5d1ffaa68919ba98f314d11b0b8925d9404
|
| 3 |
+
size 2527429
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/full.md
ADDED
|
@@ -0,0 +1,327 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution
|
| 2 |
+
|
| 3 |
+
Kai Liu $^{*1}$ Kaicheng Yang $^{*1}$ Zheng Chen $^{1}$ Zhiteng Li $^{1}$ Yong Guo $^{2}$ Wenbo Li $^{3}$ Linghe Kong $^{β 1}$ Yulun Zhang $^{β 1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
While super-resolution (SR) methods based on diffusion models (DM) have demonstrated inspiring performance, their deployment is impeded due to the heavy request of memory and computation. Recent researchers apply two kinds of methods to compress or fasten the DM. One is to compress the DM into 1-bit, aka binarization, alleviating the storage and computation pressure. The other distills the multi-step DM into only one step, significantly speeding up the inference process. Nonetheless, it remains impossible to deploy DM to resource-limited edge devices. To address this problem, we propose BiMaCoSR, which combines binarization and one-step distillation to obtain extreme compression and acceleration. To prevent the catastrophic collapse of the model caused by binarization, we propose sparse matrix branch (SMB) and low rank matrix branch (LRMB). Both auxiliary branches pass the full-precision (FP) information but in different ways. SMB absorbs the extreme values and its output is high rank, carrying abundant FP information. Whereas, the design of LRMB is inspired by LoRA and is initialized with the top $r$ SVD components, outputting low rank representation. The computation and storage overhead of our proposed branches can be safely ignored. Comprehensive comparison experiments are conducted to exhibit BiMaCoSR outperforms current state-of-the-art binarization methods and gains competitive performance compared with FP one-step model. Moreover, we achieve excellent compression and acceleration. BiMaCoSR achieves a $23.8 \times$ compression ratio and a $27.4 \times$ speedup ratio compared to the FP counterpart. Our code and model are available at https://github.com/KaiLiu001/BiMaCoSR.
|
| 8 |
+
|
| 9 |
+

|
| 10 |
+
Figure 1: Performance comparison between binarization methods on the RealSR dataset. BiMaCoSR achieves consistently leading scores on all evaluation metrics.
|
| 11 |
+
|
| 12 |
+
# 1. Introduction
|
| 13 |
+
|
| 14 |
+
Single image super-resolution (SR) (Keys, 1981; Zibetti & Mayer, 2007; Lu et al., 2013; Dong et al., 2014; Yang et al., 2014; Dong et al., 2016) is a traditional yet challenging low-level vision problem. Serving as a fundamental research task, it has attracted long-standing and considerable attention in the computer vision community. The final object of SR is to restore a high-quality (HQ) image from its low-quality (LQ) observation, which suffers from various image quality degradations. The difficulty of SR mainly lies in two parts: (1) the unknown degradations (e.g., blur, downsampling, noise, compression, and their combinations) of LQ. (2) the multiple solutions for a given LQ input image.
|
| 15 |
+
|
| 16 |
+
In recent years, numerous studies have been made to tackle this challenge, utilizing convolution neural networks (CNNs) (Dong et al., 2014; 2016; Ledig et al., 2017; Zhang et al., 2018c), vision transformers (ViTs) (Zhang et al., 2018b; Liang et al., 2021; Wang et al., 2022; Chen et al., 2022; 2023), and their combinations. Though achieving inspiring results, these methods mostly fail in real-world scenarios. This failure is attributed to assuming degradation as an ideal bicubic downsampling kernel, way too different from the unknown and complex degradation in real world. Therefore, it draws researchers' increasing attention to reconstruct perceptually realistic HQ images in real-world scenarios. Thereafter, this challenging and meaningful task is called real-world super-resolution (Real-SR) (Gu et al.,
|
| 17 |
+
|
| 18 |
+
2019; Zhang et al., 2021; Wang et al., 2021; Cai et al., 2019; Yu et al., 2024; Wu et al., 2024b; Sun et al., 2024).
|
| 19 |
+
|
| 20 |
+
Recently, diffusion models (DMs) demonstrate remarkable performance in image-generating tasks, particularly in perceptual quality. The excellence of DM comes from its vast prior knowledge in modeling real-world objects, especially generating clear textures and mitigating artifacts and distortions. The powerful realistic texture generation ability is inherently the same as the object of Real-SR problem, leading to plentiful breakthroughs (Yang et al., 2025; Yu et al., 2024; Rombach et al., 2022). However, the inference cost is still too high to run on edge devices. Therefore, it's essential to further compress DMs to accelerate the inference, reduce storage cost, and minimize degradation.
|
| 21 |
+
|
| 22 |
+
Popular model compression techniques include pruning, distillation, and quantization, among which, 1-bit quantization (i.e., binarization) gains significant effectiveness. As an extreme quantization method, binarization compresses models' weights from 32-bit to only 1-bit, significantly reducing memory and computational cost. However, applying naive binarization will lead to catastrophic model collapse. Hence, additional structures are required to be designed.
|
| 23 |
+
|
| 24 |
+
A popular solution is adding full-precision information, i.e., skip connection branch. However, due to UNet's frequent changes in resolution and dimension, skip connection faces the mismatch challenge. To address this problem, we propose two auxiliary branches, namely low rank matrix branch (LRMB) and sparse matrix branch (SMB). Inspired by LoRA, the proposed LRMB leverages low rank decomposition to achieve dimension shift. We select the top $r$ singular values in SVD and utilize its corresponding components to initialize the LRMB. As for SMB, we employ sparse matrix to absorb the top $k$ absolute values in a full-precision matrix. The weights of LRMB and SMB are subtracted from the binarized matrix branch (BMB) and it concentrates on restoring textures. Three branches form the BiMaCoSR and provide excellent performance shown in Fig. 1.
|
| 25 |
+
|
| 26 |
+
To sum up, the contributions of our work are as follows:
|
| 27 |
+
|
| 28 |
+
1. We design BiMaCoSR, a new binarized one-step diffusion model for image super-resolution. To the best of our knowledge, BiMaCoSR is the first binarized one-step diffusion model.
|
| 29 |
+
2. We propose LRMB, which leverages low rank decomposition and SVD initialization to carry low frequency information and decouple the effect of BMB.
|
| 30 |
+
3. We propose SMB, which utilizes sparse matrix compression and extreme value absorption to deliver high rank features and achieve further decoupling.
|
| 31 |
+
4. We conduct comprehensive comparison experiments to show the state-of-the-art performance of the proposed BiMaCoSR. Besides, extensive ablation studies are conducted to prove the robustness and efficacy.
|
| 32 |
+
|
| 33 |
+
# 2. Related Work
|
| 34 |
+
|
| 35 |
+
Image Super-Resolution. Deep learning based approaches have demonstrated striking power in the realm of SR (Dong et al., 2014; Luo et al., 2022; Wang et al., 2021; Lim et al., 2017; Chen et al., 2023). As a groundbreaking work, SRCNN (Dong et al., 2014) initiates the track of solving SR problem via deep learning based approach. Thereafter, substantial contributions have been made to explore the best SR network architecture. For example, RCAN (Zhang et al., 2018b) leverages the residual in residual structure and deepens the network to more than 400 layers. SwinIR (Liang et al., 2021) is based on vision transformer structure and utilizes spatial window self-attention to capture the overall structure information. CAT (Chen et al., 2022) combines the attention mechanism and the CNN structure to make the most of the local and the global information. However, most of these conventional image super-resolution methods can not handle the Real-SR task because of the complex degradation in the real world.
|
| 36 |
+
|
| 37 |
+
Diffusion Model. In recent years, the diffusion-based methods have gained remarkable performance in many computer vision tasks and SR is no exception. For instance, SR3 (Saharia et al., 2022) restores the LQ by transforming the standard normal distribution into the empirical data distribution by learning a series of iterative refinement steps. DiffBIR (Lin et al., 2024) capitalizes on two restoration stages to seek the tradeoff of fidelity and quality. SinSR (Wang et al., 2024) effectively reduces the inference step to only one step via distillation and regularization. Following SinSR, OSEDiff (Wu et al., 2024a) modifies the distillation paradigm, and novel losses are introduced to improve face restoration ability. Despite the greatly improved inference speed, the model size remains the same, and there is still room for further acceleration.
|
| 38 |
+
|
| 39 |
+
Binarization. As the most extreme form of quantization, binarization typically compresses the weight into only 1 bit. In binarization, all the weights are seen as $\pm 1$ and the multiplications between weights and activations are converted to bit operations on sign bit of activation, allowing maximum compression and acceleration. Binarization is mainly about classification tasks initially (Rastegari et al., 2016; Liu et al., 2020; Qin et al., 2020; 2022; Huang et al., 2024). Recently, researchers have begun to perform binarization on image restoration tasks. Binary Latent Diffusion (Wang et al., 2023b) trains an auto-encoder with a binary latent space and mainly focuses on the Bernoulli distribution instead of acceleration. BiDM (Zheng et al., 2024) leverages timestep-friendly binary structure and space-patched distillation to compress the diffusion model to 1 bit. BI-DiffSR (Chen et al., 2024) designs several binary friendly modules and redistributes the activation of different time step. However, the inference step remains the same. Therefore, it is necessary to further compress the model to one step.
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 2: Overview of our proposed BiMaCoSR which employs three different compressed matrix branches. (a) The structure of a convolution layer in BiMaCoSR after binarization. Two auxiliary branches, i.e., LRMB and SMB, support BiMaCoSR's excellent performance. The linear layer can be regarded as a $1 \times 1$ convolution layer and is processed with the same pipeline. (b) Illustration of the initialization and how the three branches solve the weakness of the other branches.
|
| 43 |
+
|
| 44 |
+
# 3. Methodology
|
| 45 |
+
|
| 46 |
+
In this section, we describe our proposed BiMaCoSR, shown in Fig. 2. First, we analyze three issues that have potential for further improvement when binarizing diffusion models. Thereafter, we describe our proposed branches, i.e., low rank matrix branch (LRMB) and sparse matrix branch (SMB), which could serve as the auxiliary branch to binarized matrix branch (BMB). Finally, we illustrate the initialization methods, shown in Fig. 3, and why our designs work.
|
| 47 |
+
|
| 48 |
+
# 3.1. Analysis
|
| 49 |
+
|
| 50 |
+
Binarized blocks inevitably suffer from representation degradation due to the extreme 1-bit compression. Previous research made remarkable progress (Chen et al., 2024; Zheng et al., 2024) on binarization, yet there still remains room for improvement. We conclude three issues that deserve special attention in most diffusion models.
|
| 51 |
+
|
| 52 |
+
Issue I: The specially severe degradation of linear layer. Experimentally, we observe that with the same size of parameters, linear layer suffers from more severe degradation in comparison to convolution layer. This observation in SR is consistent with previous research (Le & Li, 2023). With the advancement of DiT and binarization, this issue is gradually becoming significant and an additional process to quantize or binarize the linear layer is in urgent need.
|
| 53 |
+
|
| 54 |
+
Issue II: The frequent dimension changes. It's necessary to leverage skip connection as an auxiliary branch in binarized network. Skip connection could carry abundant feature information and bring negligible computation and storage overhead. However, in UNet, frequent changes in dimension
|
| 55 |
+
|
| 56 |
+
and resolution make two forms of skip connection (i.e., addition and concatenation) not applicable. In addition, the distributions before and after binarized block are greatly different. Therefore, efficient module is critical to overcome the frequent changes and carry rich information.
|
| 57 |
+
|
| 58 |
+
Issue III: The inadequate usage of pre-trained FP model. The pre-trained FP model is vital to quantization methods from any perspective. However, current QAT research does not make the most of the pre-trained model, simply loading the FP parameters and directly beginning the training. It is a popular way to leverage additional modules to enhance the binarized network. The impact of the modules could vary when different initialization methods are applied.
|
| 59 |
+
|
| 60 |
+
We conclude that the above issues are attributed to the insufficient ability of binarization. To be specific, binarization is just one of the matrix compression methods, inherently unsuitable for multifaceted challenges. Therefore, we propose following branches to compress matrix in different ways. With the combination of various compressed matrices, the issues above can be appropriately addressed.
|
| 61 |
+
|
| 62 |
+
# 3.2. Low Rank Matrix Branch
|
| 63 |
+
|
| 64 |
+
To address Issue I, i.e., the specially severe degradation of linear layer, we identify that the quantized linear layer is strongly limited by the bit-width. An FP linear layer usually serves two purposes, delivering the complete information of input and performing appropriate linear transformation. With limited bit-width, the quantized linear layer cannot play two roles at the same time. Therefore, we decouple the roles apart. Though binarized, the weight matrix is usually high rank and contributes more to high frequency, i.e., the
|
| 65 |
+
|
| 66 |
+
detailed structure and texture in image. Hence, we design low rank matrix branch (LRMB) to serve as a complementary branch, transmitting low frequency information.
|
| 67 |
+
|
| 68 |
+
The idea of LRMB is inspired by low rank approximation in matrix theory, which is a common strategy for matrix compression. To transmit low frequency information, matrices with low rank are enough and efficient. Mathematically, given an $m \times n$ matrix $\mathbf{W}$ , it can be approximated with two low rank matrices, i.e., $\mathbf{W} \approx \hat{\mathbf{W}} \coloneqq \mathbf{BA}$ , where $\mathbf{B}$ and $\mathbf{A}$ are $m \times r$ and $r \times n$ matrices respectively, and $r \ll \min(m, n)$ is a hyper-parameters denoting the rank of $\hat{\mathbf{W}}$ . Therefore, the formula of LRMB is:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\mathbf {x} _ {\mathrm {L R M B}} = \operatorname {L R M B} \left(\mathbf {x} _ {\text {i n}}\right) := \mathbf {x} _ {\text {i n}} \mathbf {B A}, \tag {1}
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
where $\mathbf{x}_{\mathrm{in}}\in \mathbb{R}^{N\times m}$ and $\mathbf{x}_{\mathrm{LRMB}}\in \mathbb{R}^{N\times n}$ are the input and output of LRMB(Β·) respectively, and $N$ is the number of tokens. Usually, $\mathbf{W}$ is a square matrix and $m = n$
|
| 75 |
+
|
| 76 |
+
As for complexity, the storage overhead is:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
O _ {s} = (m \times r + r \times n) B = r B (m + n) \ll m n B ^ {\prime}, \tag {2}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $B = 32$ or 16 and $B' = 1$ are the number of bits required by one element in LRMB branch and binarized branch, respectively. Meanwhile, the computation overhead is:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
O _ {c} = N \times m \times r + N \times r \times n = N r (m + n). \tag {3}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
This means that even saved with 32 bits, the storage and computation overhead of LRMB is acceptable. In conclusion, with LRMB, Issue I and Issue II are partly solved.
|
| 89 |
+
|
| 90 |
+
# 3.3. Sparse Matrix Branch
|
| 91 |
+
|
| 92 |
+
LRMB is still not enough to replace the skip connection. This is because skip connection can be represented as a full rank identity matrix while LRMB is low rank. To compensate the missed ranks, we propose sparse matrix branch (SMB), which leverages sparse matrix compression and could efficiently deliver high rank information.
|
| 93 |
+
|
| 94 |
+
Sparse matrix is a matrix in which most of the elements are zero (Yan et al., 2017). A common criterion of a sparse matrix is that the number of non-zero elements is approximated to the number of rows or columns. One way to save a sparse matrix is via the coordinate format (COO), where the non-zero elements are represented by a list of triples and its component is (row, col, value).
|
| 95 |
+
|
| 96 |
+
Specifically, to form a sparse matrix, we select $k$ critical values from the weight matrix and the selection method will be described in Sec. 3.4. In the forward process, the SMB process could be equivalently expressed as
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\mathbf {x} _ {\mathrm {S M B}} = \operatorname {S M B} \left(\mathbf {x} _ {\mathrm {i n}}\right) := \mathbf {x} _ {\mathrm {i n}} \mathbf {W} _ {\text {s p a r s e}}, \tag {4}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
where $\mathbf{W}_{\mathrm{sparse}}$ is a matrix with $k$ non-zero elements. During training, the coordinates will be fixed while their values will be updated by gradient descent. With SMB, the high rank information could be delivered and the remaining parts of Issue I and Issue II could be solved.
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
Figure 3: Initialization of different branch. $W_{res}$ represents the initial quantization error. In our method, $\| W_{res}\| _F^2 = 0.1855$ , while $\| W_{res}\| _F^2 = 1.1275$ in direct binarization.
|
| 106 |
+
|
| 107 |
+
# 3.4. Pretrained-Friendly Initialization
|
| 108 |
+
|
| 109 |
+
We propose the following initialization method to guarantee better use of the pre-trained model, allowing better restoration performance and faster convergence.
|
| 110 |
+
|
| 111 |
+
The purpose of LRMB is to carry the low frequency information. Usually, compared with high frequency information, the magnitude of low frequency information is much greater. Therefore, we leverage SVD and select the top $r$ components to initialize LRMB. To be specific, we perform SVD on $\mathbf{W}$ :
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\mathbf {W} = \mathbf {U} \boldsymbol {\Sigma} \mathbf {V} ^ {T} = \mathbf {U} \operatorname {d i a g} \left\{\sigma_ {1}, \sigma_ {2}, \dots , \sigma_ {n} \right\} \mathbf {V} ^ {T}. \tag {5}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
Then, we truncate the top $r$ singular values and absorb the remaining singular value into $\mathbf{U}$ , forming matrices $\mathbf{A}$ and $\mathbf{B}$ . The process can be written as:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathbf {W} \approx \underbrace {\mathbf {U} \operatorname {d i a g} \left\{\sigma_ {1} , \sigma_ {2} , \dots , \sigma_ {r} , 0 , \dots , 0 \right\}} _ {B} \underbrace {\mathbf {V} ^ {T}} _ {A} = \mathbf {B} \mathbf {A}. \tag {6}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
Thereafter, to guarantee that the binarized matrix only serves to add high frequency information, the low frequency counterpart will be subtracted. The formula is:
|
| 124 |
+
|
| 125 |
+
$$
|
| 126 |
+
\mathbf {W} _ {\mathrm {B M B}} ^ {\prime} := \mathbf {W} - \mathbf {B A}, \tag {7}
|
| 127 |
+
$$
|
| 128 |
+
|
| 129 |
+
where $\mathbf{W}_{\mathrm{BMB}}^{\prime}$ is the matrix to be binarized after the initialization of LRMB. Hence, the ability of weight matrix is decoupled into two components, the low frequency part (BA) and the high frequency part $(\mathbf{W}_{\mathrm{BMB}}^{\prime})$
|
| 130 |
+
|
| 131 |
+
Thereafter, the initialization of SMB also matters. As described in Sec. 3.3, we select $k$ values from the weight matrix to generate the sparse matrix. Due to the fixed coordinates of non-zero elements, random selection is apparently a good candidate. Besides, binarization often ignores the outlier values in weight matrix, which are often huge but rare (less than $0.1\%$ ). Though rare, these outliers play a crucial role in most models. Considering their rarity and significance, we select $k$ elements with the greatest absolute value in $\mathbf{W}_{\mathrm{BMB}}^{\prime}$ . Subsequently, we subtract these values in $\mathbf{W}_{\mathrm{BMB}}^{\prime}$ to decouple the overlapping effect of BMB and SMB. The process can be formulated as:
|
| 132 |
+
|
| 133 |
+
$$
|
| 134 |
+
\widetilde {w} _ {i j} = \left\{ \begin{array}{l l} w _ {i j}, & \text {i f} | w _ {i j} ^ {\prime} | \geq t \\ 0, & \text {o t h e r w i s e} \end{array} , \mathbf {W} _ {\mathrm {B M B}} := \mathbf {W} _ {\mathrm {B M B}} ^ {\prime} - \mathbf {W} _ {\text {s p a r s e}}, \right. \tag {8}
|
| 135 |
+
$$
|
| 136 |
+
|
| 137 |
+
where $\widetilde{w}_{ij}$ and $w_{ij}$ are the elements of $\mathbf{W}_{\mathrm{sparse}}$ and $\mathbf{W}_{\mathrm{BMB}}^{\prime}$ respectively, $t$ is the $k$ -th largest absolute value in $\mathbf{W}_{\mathrm{BMB}}^{\prime}$ , $\mathbf{W}_{\mathrm{BMB}}$ is the final matrix to be binarized.
|
| 138 |
+
|
| 139 |
+
# 3.5. Overall Structure
|
| 140 |
+
|
| 141 |
+
After adding LRMB and SMB and their initialization, the binarized matrix branch (BMB) is formed with $\mathbf{x}_{\mathrm{BMB}}$ . To be specific, the input feature and weight matrix will be binarized with $\mathrm{Sign}(\cdot)$ , which can be written as:
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\left\{ \begin{array}{l} \mathbf {x} _ {\mathrm {b}} = \operatorname {S i g n} \left(\mathbf {x} _ {\mathrm {i n}}\right), \\ \mathbf {W} _ {\mathrm {b}} = \operatorname {S i g n} \left(\mathbf {W} _ {\mathrm {B M B}}\right), \end{array} \quad \operatorname {S i g n} (x) = \left\{ \begin{array}{l l} + 1, & x \geq 0, \\ - 1, & x < 0, \end{array} \right. \right. \tag {9}
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
where $\operatorname{Sign}(\cdot)$ is performed element-wise. Thereafter, the full-precision convolution and linear transform are replaced with efficient logical XNOR and bit-counting operations. The process can be formulated as:
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
\mathbf {x} _ {\mathrm {B M B}} ^ {\prime} = \text {b i t - c o u n t} (\mathrm {X N O R} (\mathbf {x} _ {\mathrm {b}}, \mathbf {W} _ {\mathrm {b}})), \tag {10}
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
Finally, we follow the design of XNOR-Net (Rastegari et al., 2016) to compensate the precision loss, which is:
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\mathbf {x} _ {\mathrm {B M B}} = \mathbf {x} _ {\mathrm {B M B}} ^ {\prime} \odot (\mathcal {A} \otimes \mathbf {k}), \tag {11}
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
where $\mathcal{A}_{H\times W}$ is the channel-wise absolute average of input activation, $\mathbf{k}$ is a vector whose element is the absolute average of correspond channel, $\odot$ is Hadamard product, and $(\mathcal{A}\otimes \mathbf{k})_{c,i,j}:= \mathcal{A}_{i,j}\mathbf{k}_c$ should be calculated first.
|
| 160 |
+
|
| 161 |
+
We binarized every convolution layer and linear layer except the first and last convolution layers due to extremely severe degradation of quantization on head and tail. Specifically, linear layer can be seen as the $1 \times 1$ convolution layer and therefore processed in the same way as convolution layer.
|
| 162 |
+
|
| 163 |
+
For one binarized layer, the output can be written as:
|
| 164 |
+
|
| 165 |
+
$$
|
| 166 |
+
\mathbf {x} _ {\text {o u t}} = \mathbf {x} _ {\mathrm {B M B}} + \mathbf {x} _ {\mathrm {L R M B}} + \mathbf {x} _ {\mathrm {S M B}}. \tag {12}
|
| 167 |
+
$$
|
| 168 |
+
|
| 169 |
+
In conclusion, we propose LRMB, SMB, and their corresponding initialization methods. With these designs, our BiMaCoSR can significantly reduce the information loss caused by binarization and improve the restoration ability. Besides, the storage and computation overhead caused by LRMB and SMB can be safely ignored.
|
| 170 |
+
|
| 171 |
+
# 4. Experiments
|
| 172 |
+
|
| 173 |
+
# 4.1. Experimental Settings
|
| 174 |
+
|
| 175 |
+
Data. We take the models on the training set of ImageNet (Russakovsky et al., 2015) and the LR images are generated by the same pipeline of RealESRGAN (Wang et al., 2021). We evaluate the models with three benchmark datasets: RealSR (Cai et al., 2019), DRealSR (Wei et al., 2020), and DIV2K-Val (Agustsson & Timofte, 2017). RealSR and DRealSR are real world benchmarks while DIV2K-Val employs Bicubic interpolation to generate LR images. The upscale ratio of training set and test set is $\times 4$ .
|
| 176 |
+
|
| 177 |
+
Evaluation Metrics. The evaluation metrics are implemented with IQA-Pytorch (Chen & Mo, 2022) and are twofold to assess the restoration and compression ability. Firstly, to thoroughly evaluate the restoration ability of our proposed BiMaCoSR, we employ the following quantitative metrics: full-reference metrics PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018a) and non-reference metrics DISTS (Ding et al., 2020), FID (Heusel et al., 2017), NIQE (Zhang et al., 2015), MANIQA-pipal (Yang et al., 2022), MUSIQ (Ke et al., 2021), and CLIPIQA+ (Wang et al., 2023a). PSNR and SSIM are distortion-based metrics and are calculated on the Y channel (i.e., luminance) of the YCbCr space. The rest metrics are all perceptual metrics and it is widely known that perceptual metrics are more aligned with human when rating the image quality.
|
| 178 |
+
|
| 179 |
+
Secondly, to demonstrate binarization's extreme compression and acceleration ability, we use the total parameters and overall operations as key metrics. Following previous work (Xia et al., 2022; Qin et al., 2023), the total parameters (Params) of the model are calculated as Params $= \text{Params}^b + \text{Params}^f$ , and the overall operations (OPs) as OPs $= \text{OPs}^b + \text{OPs}^f$ , where Params $^b = \text{Params}^f / 32$ and OPs $^b = \text{OPs}^f / 64$ ; the superscripts $f$ and $b$ denote full-precision and binarized modules, respectively. The computational complexity is tested with the input size $3 \times 64 \times 64$ .
|
| 180 |
+
|
| 181 |
+
Implementation Details. We take SinSR (Wang et al., 2024), a one-step diffusion model, as the backbone. We initialize with SinSR's weights and use ResShift (Yue et al., 2024) as the teacher model. All the rest convolution and linear layers, except the head and tail layers, are binarized into BMB to guarantee the best compression ratio and LRMB and SMB are attached with BMB. We set the rank of LRMB as $r = 8$ and the number of non-zero elements in SMB as $k = 2\max(C_1, C_2)$ , where $C_1$ and $C_2$ are the numbers of input and output channels, respectively.
|
| 182 |
+
|
| 183 |
+
Training Settings. We utilize Adam optimizer (Kingma & Ba, 2015) with $\beta_{1} = 0.9$ and $\beta_{2} = 0.99$ , and set the learning rate as $2 \times 10^{-5}$ . The batch size is set to 8, with 100K iterations. The input LR images are center-cropped to size $64 \times 64$ . All the training and testing experiments are conducted on one NVIDIA RTX A6000.
|
| 184 |
+
|
| 185 |
+
Table 1: Quantitative comparison with SOTA methods. We compare BiMaCoSR with full-precision models and current binarization methods. We employ 9 metrics commonly used in SR and test on three benchmarks. The best and second best value are marked with red and blue respectively. In conclusion, our proposed BiMaCoSR achieves SOTA performance.
|
| 186 |
+
|
| 187 |
+
<table><tr><td>Datasets</td><td>Methods</td><td>Bits (W/A)</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>MUSIQ β</td><td>MANIQA β</td><td>DISTS β</td><td>FID β</td><td>NIQE β</td><td>CLIP-IQA+ β</td></tr><tr><td rowspan="8">RealSR</td><td>SinSR</td><td>32/32</td><td>26.51</td><td>0.7380</td><td>0.3635</td><td>57.87</td><td>0.5139</td><td>0.2193</td><td>56.36</td><td>5.826</td><td>0.5736</td></tr><tr><td>ResShift</td><td>32/32</td><td>25.45</td><td>0.7243</td><td>0.3731</td><td>56.23</td><td>0.5005</td><td>0.2344</td><td>58.14</td><td>7.353</td><td>0.5708</td></tr><tr><td>XNOR</td><td>1/1</td><td>26.48</td><td>0.7434</td><td>0.3968</td><td>43.56</td><td>0.3732</td><td>0.2609</td><td>105.72</td><td>6.014</td><td>0.4380</td></tr><tr><td>ReActNet</td><td>1/1</td><td>26.60</td><td>0.7530</td><td>0.3834</td><td>44.18</td><td>0.3829</td><td>0.2551</td><td>109.36</td><td>6.306</td><td>0.4361</td></tr><tr><td>BBCU</td><td>1/1</td><td>26.43</td><td>0.7488</td><td>0.3902</td><td>43.70</td><td>0.3792</td><td>0.2575</td><td>108.32</td><td>6.058</td><td>0.4298</td></tr><tr><td>ReSTE</td><td>1/1</td><td>26.26</td><td>0.7408</td><td>0.4184</td><td>41.04</td><td>0.3677</td><td>0.2719</td><td>113.86</td><td>6.174</td><td>0.4083</td></tr><tr><td>BiDM</td><td>1/1</td><td>25.07</td><td>0.7036</td><td>0.5042</td><td>35.60</td><td>0.3517</td><td>0.3226</td><td>115.23</td><td>6.759</td><td>0.3935</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>49.01</td><td>0.4034</td><td>0.2183</td><td>86.09</td><td>5.856</td><td>0.4800</td></tr><tr><td rowspan="8">DRealSR</td><td>SinSR</td><td>32/32</td><td>27.89</td><td>0.7332</td><td>0.4499</td><td>30.81</td><td>0.4519</td><td>0.2209</td><td>16.56</td><td>5.789</td><td>0.6052</td></tr><tr><td>ResShift</td><td>32/32</td><td>26.64</td><td>0.7298</td><td>0.4478</td><td>31.09</td><td>0.4345</td><td>0.2337</td><td>18.12</td><td>6.959</td><td>0.5795</td></tr><tr><td>XNOR</td><td>1/1</td><td>29.03</td><td>0.8319</td><td>0.3712</td><td>26.19</td><td>0.3560</td><td>0.2447</td><td>29.88</td><td>6.229</td><td>0.4449</td></tr><tr><td>ReActNet</td><td>1/1</td><td>29.34</td><td>0.8431</td><td>0.3571</td><td>26.83</td><td>0.3618</td><td>0.2411</td><td>30.18</td><td>6.561</td><td>0.4380</td></tr><tr><td>BBCU</td><td>1/1</td><td>29.00</td><td>0.8385</td><td>0.3643</td><td>26.37</td><td>0.3594</td><td>0.2433</td><td>30.94</td><td>6.337</td><td>0.4383</td></tr><tr><td>ReSTE</td><td>1/1</td><td>28.91</td><td>0.8353</td><td>0.3899</td><td>25.12</td><td>0.3509</td><td>0.2641</td><td>33.64</td><td>6.459</td><td>0.4131</td></tr><tr><td>BiDM</td><td>1/1</td><td>27.40</td><td>0.7942</td><td>0.4849</td><td>23.38</td><td>0.3529</td><td>0.3118</td><td>37.83</td><td>6.753</td><td>0.4307</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>29.33</td><td>0.8393</td><td>0.3400</td><td>29.38</td><td>0.3802</td><td>0.2278</td><td>22.31</td><td>6.150</td><td>0.4867</td></tr><tr><td rowspan="8">DIV2K-Val</td><td>SinSR</td><td>32/32</td><td>27.75</td><td>0.7694</td><td>0.1903</td><td>64.62</td><td>0.5336</td><td>0.1029</td><td>6.27</td><td>4.308</td><td>0.6147</td></tr><tr><td>ResShift</td><td>32/32</td><td>27.18</td><td>0.7667</td><td>0.1775</td><td>65.04</td><td>0.5548</td><td>0.1016</td><td>7.54</td><td>5.121</td><td>0.6280</td></tr><tr><td>XNOR</td><td>1/1</td><td>26.44</td><td>0.7185</td><td>0.3727</td><td>49.10</td><td>0.3972</td><td>0.2204</td><td>55.77</td><td>5.320</td><td>0.4584</td></tr><tr><td>ReActNet</td><td>1/1</td><td>26.49</td><td>0.7260</td><td>0.3602</td><td>50.29</td><td>0.4078</td><td>0.2111</td><td>52.32</td><td>5.366</td><td>0.4726</td></tr><tr><td>BBCU</td><td>1/1</td><td>26.39</td><td>0.7221</td><td>0.3660</td><td>50.09</td><td>0.4035</td><td>0.2148</td><td>53.22</td><td>5.263</td><td>0.4653</td></tr><tr><td>ReSTE</td><td>1/1</td><td>26.07</td><td>0.7125</td><td>0.3916</td><td>46.95</td><td>0.3907</td><td>0.2295</td><td>61.52</td><td>5.399</td><td>0.4328</td></tr><tr><td>BiDM</td><td>1/1</td><td>24.29</td><td>0.6725</td><td>0.4370</td><td>40.15</td><td>0.3747</td><td>0.2916</td><td>62.28</td><td>6.090</td><td>0.4112</td></tr><tr><td>BiMaCoSR</td><td>1/1</td><td>27.35</td><td>0.7547</td><td>0.2999</td><td>53.38</td><td>0.4337</td><td>0.1806</td><td>27.99</td><td>4.987</td><td>0.5176</td></tr></table>
|
| 188 |
+
|
| 189 |
+
# 4.2. Comparison with State-of-the-Art Methods
|
| 190 |
+
|
| 191 |
+
We compare our proposed BiMaCoSR with recent binarization methods, including XNOR (Rastegari et al., 2016), ReActNet (Liu et al., 2020), BBCU (Xia et al., 2022), ReSTE (Wu et al., 2023), and BiDM (Zheng et al., 2024). All binarization methods are implemented on SinSR (Wang et al., 2024) and trained with the same settings. As LRMB and SMB slightly increase the parameters, we additionally keep the first two and last two convolution layers as full-precision. We also compare BiMaCoSR with the full-precision model SinSR and ResShift (Yue et al., 2024). SinSR is the distilled version of ResShift. The comparison results are exhibited in quantitative and qualitative aspects.
|
| 192 |
+
|
| 193 |
+
Restoration Results. The quantitative comparison results are shown in Table 1. We can obtain the following observations. (1) The results in Table 1 demonstrate clear advantage over competing methods in both full-reference and nonreference metrics on three benchmark datasets. (2) In some situations, such as PSNR and LPIPS on RealSR, BiMa-CoSR can even surpass SinSR and ResShift. We attribute the excellence to the LRMB and SMB, which transmit the full-precision information in a parameter-efficient way. (3) Most binarization methods outperform the baseline model and ReActNet presents competing performance, especially on DRealSR. (4) The full-precision models, i.e., SinSR and ResShift, are excellent on perceptual metrics, such as DISTS and CLIP-IQA+. Whereas, the multi-step models'
|
| 194 |
+
|
| 195 |
+
performance on PSNR and SSIM is on the lower side. This phenomenon means that compression on DM leads to disappearance of texture and details. However, their performance on PSNR and SSIM is only slightly affected.
|
| 196 |
+
|
| 197 |
+
Efficiency Comparison. Efficiency comparison results are provided in Table 2. After the distillation from multi-step to one-step, the FLOPs are significantly reduced. Furthermore, compressing the model to 1 bit makes the model tiny and fast. In comparison with SinSR, the compression ratio is $27.45 \times$ and the speedup ratio is $23.81 \times$ . Compared with current SOTA binarization methods, we keep almost the same parameters but take much less FLOPs on one-step DM, due to the calculation efficient design. To conclude, our proposed BiMaCoSR gains remarkable compression ratio and speedup ratio and achieves outstanding performance.
|
| 198 |
+
|
| 199 |
+
Visual Results. We present visual comparison on challenging cases in Fig. 4. One typical challenging case is the tiny and dense structures, such as hairs, grass, tiles, and faces. It is struggling with previous binarization methods to restore image details, especially in challenging cases. On the contrary, our BiMaCoSR is able to recover results with sharper edges and richer textures. For example, in 0809, BiMaCoSR reconstructs the hairs on the nose while other methods just output rough color blocks. And in 0831, BiMaCoSR restores the woman's facial structures and expression while other methods smooth the organs to the same color. In 0834, BiMaCoSR could successfully recover the tiles' texture and
|
| 200 |
+
|
| 201 |
+
<table><tr><td></td><td>ResShift</td><td>SinSR</td><td>ReActNet</td><td>BBCU</td><td>ReSTE</td><td>BiDM</td><td>XNOR</td><td>Ours</td></tr><tr><td>Inference Step</td><td>15</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>FLOPs (G)</td><td>753.45</td><td>50.23</td><td>5.83</td><td>5.83</td><td>5.83</td><td>11.60</td><td>5.83</td><td>1.83</td></tr><tr><td># Total Param (M)</td><td>118.59</td><td>118.59</td><td>4.95</td><td>4.95</td><td>4.95</td><td>18.69</td><td>4.95</td><td>4.98</td></tr><tr><td>PSNR/LPIPS</td><td>25.45/0.3731</td><td>26.51/0.3635</td><td>26.60/0.3834</td><td>26.43/0.3902</td><td>26.26/0.4184</td><td>25.07/0.5042</td><td>26.48/0.3968</td><td>26.84/0.3375</td></tr></table>
|
| 202 |
+
|
| 203 |
+
Table 2: Efficiency comparison on RealSR. BiMaCoSR takes least FLOPs while gains the best performance.
|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
Figure 4: Visual comparison for image SR. We compare our proposed BiMaCoSR with current competitive binarization methods and the full-precision (FP) model. The visual results illustrate that BiMaCoSR gains rich details and reasonable textures.
|
| 207 |
+
|
| 208 |
+
most binarization methods fail. What's more, the difference between BiMaCoSR and the FP model (SinSR) exists but is minimal. To conclude, our proposed BiMaCoSR surpasses other methods according to visual comparison. Additionally, we provide more visual results and corresponding analysis in the supplementary material for further comparison.
|
| 209 |
+
|
| 210 |
+
# 4.3. Ablation Study
|
| 211 |
+
|
| 212 |
+
In this section, we adopt RealSR as the test set and other training settings are the same as Sec. 4.1. To test the effectiveness and robustness, we conduct five key ablation experiments, including the break down ablation, loss function, rank of low rank branch, initialization of LRMB, and initialization of SMB. What's more, detailed analysis is also provided in the following sections. These ablation studies demonstrate the robustness and efficiency of our LRMB, SMB, and their corresponding initialization methods.
|
| 213 |
+
|
| 214 |
+
Break Down Ablation. Table 3a shows results of the break down ablation. With only BMB, the model could be extremely compressed but the performance is somewhat on the low side. With LRMB, though the number of parameters increases to 1.83G, the performance also improves on all metrics and the FLOPs only increase to 4.98M. After adding SMB, the overhead of parameters and storage can be neglected. The performance on all perceptual metrics improves while both PSNR and SSIM drop slightly.
|
| 215 |
+
|
| 216 |
+
Loss Function. The loss functions of SinSR play a critical role in FP model. However, these loss functions are not suitable in the binarized situation. After removing unnecessary parts from the SinSR loss, we leave only the distillation loss and the results are shown in Table 3b. With only the distillation loss, BiMaCoSR gains improvement on both distortion metrics and perceptual metrics.
|
| 217 |
+
|
| 218 |
+
<table><tr><td>Branch</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>MANIQA β</td><td>FID β</td><td>CLIP-IQA+ β</td><td>FLOPs (G)</td><td>Param (M)</td></tr><tr><td>BMB</td><td>26.41</td><td>0.7408</td><td>0.4141</td><td>0.3704</td><td>110.15</td><td>0.4325</td><td>0.78</td><td>3.69</td></tr><tr><td>+LRMB</td><td>26.95</td><td>0.7718</td><td>0.3400</td><td>0.3937</td><td>88.72</td><td>0.4663</td><td>1.83</td><td>4.98</td></tr><tr><td>+LRMB+SMB</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4034</td><td>86.09</td><td>0.4800</td><td>1.83</td><td>4.98</td></tr></table>
|
| 219 |
+
|
| 220 |
+
(a) Break down ablation.
|
| 221 |
+
|
| 222 |
+
<table><tr><td>Loss</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Distill loss</td><td>26.83</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr><tr><td>SinSR loss</td><td>26.37</td><td>0.7466</td><td>0.4029</td><td>0.4273</td></tr></table>
|
| 223 |
+
|
| 224 |
+
<table><tr><td>Initialization</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Zero + Random</td><td>26.88</td><td>0.7660</td><td>0.3497</td><td>0.4674</td></tr><tr><td>SVD</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr></table>
|
| 225 |
+
|
| 226 |
+
(b) Ablation study on losses.
|
| 227 |
+
|
| 228 |
+
<table><tr><td>Rank</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+β</td><td>FLOPs (G)</td><td>Param (M)</td></tr><tr><td>4</td><td>26.29</td><td>0.7383</td><td>0.4197</td><td>0.4411</td><td>1.31</td><td>4.37</td></tr><tr><td>8</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td><td>1.83</td><td>4.98</td></tr><tr><td>12</td><td>26.97</td><td>0.7695</td><td>0.3400</td><td>0.4766</td><td>2.32</td><td>5.60</td></tr><tr><td>16</td><td>26.72</td><td>0.7625</td><td>0.3442</td><td>0.4971</td><td>2.83</td><td>6.21</td></tr></table>
|
| 229 |
+
|
| 230 |
+
(c) Ablation study on LRMB initialization.
|
| 231 |
+
|
| 232 |
+
<table><tr><td>Initialization</td><td>PSNR β</td><td>SSIM β</td><td>LPIPS β</td><td>CLIP-IQA+ β</td></tr><tr><td>Zero initial</td><td>26.72</td><td>0.7628</td><td>0.3561</td><td>0.4639</td></tr><tr><td>Uni-shortcut</td><td>25.69</td><td>0.7113</td><td>0.5105</td><td>0.4008</td></tr><tr><td>Sparse skip</td><td>26.84</td><td>0.7698</td><td>0.3375</td><td>0.4800</td></tr></table>
|
| 233 |
+
|
| 234 |
+
(d) Ablation study on the rank of LRMB.
|
| 235 |
+
|
| 236 |
+
(e) Ablation study on SMB initialization.
|
| 237 |
+
|
| 238 |
+
Table 3: Ablation studies on branches, loss, rank of LRMB and initialization of LRMB and SMB. The experiments is tested on RealSR. The comprehensive results demonstrate the robustness and efficient performance of our proposed BiMaCoSR.
|
| 239 |
+
|
| 240 |
+
Rank of LRMB. The rank of LRMB significantly influences the complexity, while the performance is not consistent with the increase in complexity. As shown in Table 3d, the model with rank of 16 performs best only on CLIP-IQA+, while the model with rank of 8 performs best and takes acceptable parameters. This is because the LRMB with high rank may influence high frequency generated by BMB, making the training unstable and leading to worse results. Therefore, we ultimately set the rank of LRMB to 8.
|
| 241 |
+
|
| 242 |
+
Initialization of LRMB. Conventional LoRA's initialization method is set the first matrix with random values and the second matrix with zero values. We compare this initialization method with our proposed SVD initialization and the result is shown in Table 3c. To conclude, our method outperforms conventional methods on SSIM, LPIPS, and CLIP- $\mathrm{QA + }$ .We attribute it to the decoupling of transmitting low frequency information and generating high frequency. To conclude, our proposed SVD allows better performance.
|
| 243 |
+
|
| 244 |
+
Initialization of SMB. We search three popular ways to initialize SMB, including (1) random position and zero initialization, (2) Uni-shortcut (Xu et al., 2022), and (3) our proposed sparse skip. The experiment results in Table 3e show that our sparse skip initialization consistently enjoys the best performance on all four metrics. This improvement compared with other two initialization methods strongly supports the effectiveness of decoupling and absorption.
|
| 245 |
+
|
| 246 |
+
# 4.4. Visualization Analysis.
|
| 247 |
+
|
| 248 |
+
In Sec. 3, we assume that LRMB and SMB are in charge of transmitting low frequency information while BMB generates high frequency after decoupling. To validate this assumption, we visualize the proportion of high frequency generated by three branches in first 50 Conv layers and the result is shown in Fig. 5. On average, high frequency infor
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
Figure 5: The proportion of high frequency information generated by three branches. The high frequency information mainly comes from BMB, which obeys our assumption.
|
| 252 |
+
|
| 253 |
+
mation is mainly generated by BMB, accounting for around $70\%$ . With more parameters, LRMB also provides high frequency information in some layers but overall proportion is relative low. SMB only absorbs the extreme values and indeed carries little high frequency information. Fig. 5 shows that division of work is clear and our designs in LRMB, SMB and BMB obey our assumption.
|
| 254 |
+
|
| 255 |
+
# 5. Conclusion
|
| 256 |
+
|
| 257 |
+
In this paper, we propose the BiMaCoSR, a binarized SR diffusion model with only one inference step. Detailedly, we first propose LRMB and SVD initialization to decouple the effect of binarized branch and deliver low frequency information. Furthermore, we propose SMB and sparse initialization to absorb the extreme values and provide high rank representations. Comprehensive comparison experiments demonstrate the SOTA restoration ability of the proposed BiMaCoSR. Extensive ablation studies exhibit the efficiency and robustness of both LRMB and SMB. In the future, we will focus on the combination of pruning and binarization on one-step diffusion models for further compression.
|
| 258 |
+
|
| 259 |
+
# Acknowledgements
|
| 260 |
+
|
| 261 |
+
This work was supported by Shanghai Municipal Science and Technology Major Project (2021SHZDZX0102), the Fundamental Research Funds for the Central Universities, and the National Natural Science Foundation of China (NSFC No. W2412089).
|
| 262 |
+
|
| 263 |
+
# Impact Statement
|
| 264 |
+
|
| 265 |
+
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.
|
| 266 |
+
|
| 267 |
+
# References
|
| 268 |
+
|
| 269 |
+
Agustsson, E. and Timofte, R. Ntire 2017 challenge on single image super-resolution: Dataset and study. In CVPRW, 2017.
|
| 270 |
+
Cai, J., Zeng, H., Yong, H., Cao, Z., and Zhang, L. Toward real-world single image super-resolution: A new benchmark and a new model. In CVPR, 2019.
|
| 271 |
+
Chen, C. and Mo, J. IQA-PyTorch: Pytorch toolbox for image quality assessment. [Online]. Available: https://github.com/chaofengc/IQA-PyTorch, 2022.
|
| 272 |
+
Chen, Z., Zhang, Y., Gu, J., Zhang, Y., Kong, L., and Yuan, X. Cross aggregation transformer for image restoration. In NeurIPS, 2022.
|
| 273 |
+
Chen, Z., Zhang, Y., Gu, J., Kong, L., Yang, X., and Yu, F. Dual aggregation transformer for image super-resolution. In CVPR, 2023.
|
| 274 |
+
Chen, Z., Qin, H., Guo, Y., Su, X., Yuan, X., Kong, L., and Zhang, Y. Binarized diffusion model for image superresolution. In NeurIPS, 2024.
|
| 275 |
+
Ding, K., Ma, K., Wang, S., and Simoncelli, E. P. Image quality assessment: Unifying structure and texture similarity. TPAMI, 2020.
|
| 276 |
+
Dong, C., Loy, C. C., He, K., and Tang, X. Learning a deep convolutional network for image super-resolution. In ECCV, 2014.
|
| 277 |
+
Dong, C., Loy, C. C., He, K., and Tang, X. Image superresolution using deep convolutional networks. TPAMI, 2016.
|
| 278 |
+
Gu, J., Lu, H., Zuo, W., and Dong, C. Blind super-resolution with iterative kernel correction. In CVPR, 2019.
|
| 279 |
+
Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., and Hochreiter, S. Gans trained by a two time-scale update rule converge to a local nash equilibrium. NIPS, 2017.
|
| 280 |
+
|
| 281 |
+
Huang, W., Zheng, X., Ma, X., Qin, H., Lv, C., Chen, H., Luo, J., Qi, X., Liu, X., and Magno, M. An empirical study of llama3 quantization: From llms to mllms. Visual Intelligence, 2(1):36, 2024.
|
| 282 |
+
Ke, J., Wang, Q., Wang, Y., Milanfar, P., and Yang, F. Musiq: Multi-scale image quality transformer. In ICCV, 2021.
|
| 283 |
+
Keys, R. Cubic convolution interpolation for digital image processing. IEEE Trans. Acoust., Speech, Signal Process., 1981.
|
| 284 |
+
Kingma, D. and Ba, J. Adam: A method for stochastic optimization. In ICLR, 2015.
|
| 285 |
+
Le, P.-H. C. and Li, X. Binaryvit: pushing binary vision transformers towards convolutional models. In CVPR, 2023.
|
| 286 |
+
Ledig, C., Theis, L., HuszΓ‘r, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A. P., Tejani, A., Totz, J., Wang, Z., et al. Photo-realistic single image super-resolution using a generative adversarial network. In CVPR, 2017.
|
| 287 |
+
Liang, J., Cao, J., Sun, G., Zhang, K., Van Gool, L., and Timofte, R. Swinir: Image restoration using swim transformer. In ICCVW, 2021.
|
| 288 |
+
Lim, B., Son, S., Kim, H., Nah, S., and Lee, K. M. Enhanced deep residual networks for single image super-resolution. In CVPRW, 2017.
|
| 289 |
+
Lin, X., He, J., Chen, Z., Lyu, Z., Dai, B., Yu, F., Qiao, Y., Ouyang, W., and Dong, C. Diffbir: Toward blind image restoration with generative diffusion prior. In ECCV, 2024.
|
| 290 |
+
Liu, Z., Shen, Z., Savvides, M., and Cheng, K.-T. Reactnet: Towards precise binary neural network with generalized activation functions. In ECCV, 2020.
|
| 291 |
+
Lu, X., Yuan, Y., and Yan, P. Image super-resolution via double sparsity regularized manifold learning. TCSVT, 2013.
|
| 292 |
+
Luo, X., Qu, Y., Xie, Y., Zhang, Y., Li, C., and Fu, Y. Lattice network for lightweight image restoration. TPAMI, 2022.
|
| 293 |
+
Qin, H., Gong, R., Liu, X., Shen, M., Wei, Z., Yu, F., and Song, J. Forward and backward information retention for accurate binary neural networks. In CVPR, 2020.
|
| 294 |
+
Qin, H., Zhang, X., Gong, R., Ding, Y., Xu, Y., and Liu, X. Distribution-sensitive information retention for accurate binary neural network. IJCV, 2022.
|
| 295 |
+
Qin, H., Zhang, M., Ding, Y., Li, A., Cai, Z., Liu, Z., Yu, F., and Liu, X. Bibench: Benchmarking and analyzing network binarization. In ICML, 2023.
|
| 296 |
+
|
| 297 |
+
Rastegari, M., Ordonez, V., Redmon, J., and Farhadi, A. Xnor-net: Imagenet classification using binary convolutional neural networks. In ECCV, 2016.
|
| 298 |
+
Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and Ommer, B. High-resolution image synthesis with latent diffusion models. In CVPR, 2022.
|
| 299 |
+
Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al. Imagenet large scale visual recognition challenge. IJCV, 2015.
|
| 300 |
+
Saharia, C., Ho, J., Chan, W., Salimans, T., Fleet, D. J., and Norouzi, M. Image super-resolution via iterative refinement. IEEE TPAMI, 2022.
|
| 301 |
+
Sun, H., Li, W., Liu, J., Chen, H., Pei, R., Zou, X., Yan, Y., and Yang, Y. Coser: Bridging image and language for cognitive super-resolution. In CVPR, 2024.
|
| 302 |
+
Wang, J., Chan, K. C., and Loy, C. C. Exploring clip for assessing the look and feel of images. In AAAI, 2023a.
|
| 303 |
+
Wang, X., Xie, L., Dong, C., and Shan, Y. Real-esrgan: Training real-world blind super-resolution with pure synthetic data. In CVPR, 2021.
|
| 304 |
+
Wang, Y., Yang, W., Chen, X., Wang, Y., Guo, L., Chau, L.-P., Liu, Z., Qiao, Y., Kot, A. C., and Wen, B. Sinsr: diffusion-based image super-resolution in a single step. In CVPR, 2024.
|
| 305 |
+
Wang, Z., Bovik, A. C., Sheikh, H. R., and Simoncelli, E. P. Image quality assessment: from error visibility to structural similarity. TIP, 2004.
|
| 306 |
+
Wang, Z., Cun, X., Bao, J., Zhou, W., Liu, J., and Li, H. Uformer: A general u-shaped transformer for image restoration. In CVPR, 2022.
|
| 307 |
+
Wang, Z., Wang, J., Liu, Z., and Qiu, Q. Binary latent diffusion. In CVPR, 2023b.
|
| 308 |
+
Wei, P., Xie, Z., Lu, H., Zhan, Z., Ye, Q., Zuo, W., and Lin, L. Component divide-and-conquer for real-world image super-resolution. In ECCV, 2020.
|
| 309 |
+
Wu, R., Sun, L., Ma, Z., and Zhang, L. One-step effective diffusion network for real-world image super-resolution. arXiv, 2024a.
|
| 310 |
+
Wu, R., Yang, T., Sun, L., Zhang, Z., Li, S., and Zhang, L. Seesr: Towards semantics-aware real-world image super-resolution. In CVPR, 2024b.
|
| 311 |
+
Wu, X.-M., Zheng, D., Liu, Z., and Zheng, W.-S. Estimator meets equilibrium perspective: A rectified straight through estimator for binary neural networks training. In ICCV, 2023.
|
| 312 |
+
|
| 313 |
+
Xia, B., Zhang, Y., Wang, Y., Tian, Y., Yang, W., Timofte, R., and Van Gool, L. Basic binary convolution unit for binarized image restoration network. In ICLR, 2022.
|
| 314 |
+
Xu, Y., Chen, X., and Wang, Y. Bimlp: Compact binary architectures for vision multi-layer perceptrons. NeurIPS, 2022.
|
| 315 |
+
Yan, D., Wu, T., Liu, Y., and Gao, Y. An efficient sparse-dense matrix multiplication on a multicore system. In ICCT, 2017.
|
| 316 |
+
Yang, C.-Y., Ma, C., and Yang, M.-H. Single-image superresolution: A benchmark. In ECCV, 2014.
|
| 317 |
+
Yang, S., Wu, T., Shi, S., Lao, S., Gong, Y., Cao, M., Wang, J., and Yang, Y. Maniaq: Multi-dimension attention network for no-reference image quality assessment. In CVPR, 2022.
|
| 318 |
+
Yang, T., Wu, R., Ren, P., Xie, X., and Zhang, L. Pixel-aware stable diffusion for realistic image super-resolution and personalized stylization. In ECCV, 2025.
|
| 319 |
+
Yu, F., Gu, J., Li, Z., Hu, J., Kong, X., Wang, X., He, J., Qiao, Y., and Dong, C. Scaling up to excellence: Practicing model scaling for photo-realistic image restoration in the wild. In CVPR, 2024.
|
| 320 |
+
Yue, Z., Wang, J., and Loy, C. C. Resshift: Efficient diffusion model for image super-resolution by residual shifting. NeurIPS, 2024.
|
| 321 |
+
Zhang, K., Liang, J., Van Gool, L., and Timofte, R. Designing a practical degradation model for deep blind image super-resolution. In CVPR, 2021.
|
| 322 |
+
Zhang, L., Zhang, L., and Bovik, A. C. A feature-enriched completely blind image quality evaluator. TIP, 2015.
|
| 323 |
+
Zhang, R., Isola, P., Efros, A. A., Shechtman, E., and Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018a.
|
| 324 |
+
Zhang, Y., Li, K., Li, K., Wang, L., Zhong, B., and Fu, Y. Image super-resolution using very deep residual channel attention networks. In ECCV, 2018b.
|
| 325 |
+
Zhang, Y., Tian, Y., Kong, Y., Zhong, B., and Fu, Y. Residual dense network for image super-resolution. In CVPR, 2018c.
|
| 326 |
+
Zheng, X., Liu, X., Bian, Y., Ma, X., Zhang, Y., Wang, J., Guo, J., and Qin, H. Bidm: Pushing the limit of quantization for diffusion models. In NeurIPS, 2024.
|
| 327 |
+
Zibetti, M. V. W. and Mayer, J. A robust and computationally efficient simultaneous super-resolution scheme for image sequences. TCSVT, 2007.
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83254f62b6ab498063a95b6705fa0c445e64899d7af33b25c34a39519f578dd0
|
| 3 |
+
size 834718
|
2025/BiMaCoSR_ Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/BiMark_ Unbiased Multilayer Watermarking for Large Language Models/873e68de-dae3-493c-9d23-2ce173b24e84_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|