Add Batch 80f51705-44ee-44bd-927e-1f043ad85266 data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +64 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_content_list.json +0 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_model.json +0 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_origin.pdf +3 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/full.md +0 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/images.zip +3 -0
- 2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/layout.json +0 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_content_list.json +0 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_model.json +0 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_origin.pdf +3 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/full.md +0 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/images.zip +3 -0
- 2025/Kernel Quantile Embeddings and Associated Probability Metrics/layout.json +0 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_content_list.json +0 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_model.json +0 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_origin.pdf +3 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/full.md +522 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/images.zip +3 -0
- 2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/layout.json +0 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_content_list.json +0 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_model.json +0 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_origin.pdf +3 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/full.md +0 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/images.zip +3 -0
- 2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/layout.json +0 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_content_list.json +0 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_model.json +0 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_origin.pdf +3 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/full.md +444 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/images.zip +3 -0
- 2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/layout.json +0 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_content_list.json +0 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_model.json +0 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_origin.pdf +3 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/full.md +0 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/images.zip +3 -0
- 2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/layout.json +0 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_content_list.json +0 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_model.json +0 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_origin.pdf +3 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/full.md +574 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/images.zip +3 -0
- 2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/layout.json +0 -0
- 2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_content_list.json +1730 -0
- 2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_model.json +0 -0
- 2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_origin.pdf +3 -0
- 2025/Knowledge Swapping via Learning and Unlearning/full.md +328 -0
- 2025/Knowledge Swapping via Learning and Unlearning/images.zip +3 -0
- 2025/Knowledge Swapping via Learning and Unlearning/layout.json +0 -0
- 2025/Knowledge-Guided Wasserstein Distributionally Robust Optimization/51c7a391-df7c-4324-8964-1d50bd205a7b_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -1577,3 +1577,67 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 1577 |
2025/KIND_[[:space:]]Knowledge[[:space:]]Integration[[:space:]]and[[:space:]]Diversion[[:space:]]for[[:space:]]Training[[:space:]]Decomposable[[:space:]]Models/c5f70d2d-3131-4f90-9c90-20f26011ac04_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1578 |
2025/KV[[:space:]]Shifting[[:space:]]Attention[[:space:]]Enhances[[:space:]]Language[[:space:]]Modeling/cc4e4412-c350-4849-9c00-8e5dea8850bc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1579 |
2025/KVTuner_[[:space:]]Sensitivity-Aware[[:space:]]Layer-Wise[[:space:]]Mixed-Precision[[:space:]]KV[[:space:]]Cache[[:space:]]Quantization[[:space:]]for[[:space:]]Efficient[[:space:]]and[[:space:]]Nearly[[:space:]]Lossless[[:space:]]LLM[[:space:]]Inference/0d0c4af8-6da1-4424-951c-3b0d5a3144f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1577 |
2025/KIND_[[:space:]]Knowledge[[:space:]]Integration[[:space:]]and[[:space:]]Diversion[[:space:]]for[[:space:]]Training[[:space:]]Decomposable[[:space:]]Models/c5f70d2d-3131-4f90-9c90-20f26011ac04_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1578 |
2025/KV[[:space:]]Shifting[[:space:]]Attention[[:space:]]Enhances[[:space:]]Language[[:space:]]Modeling/cc4e4412-c350-4849-9c00-8e5dea8850bc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1579 |
2025/KVTuner_[[:space:]]Sensitivity-Aware[[:space:]]Layer-Wise[[:space:]]Mixed-Precision[[:space:]]KV[[:space:]]Cache[[:space:]]Quantization[[:space:]]for[[:space:]]Efficient[[:space:]]and[[:space:]]Nearly[[:space:]]Lossless[[:space:]]LLM[[:space:]]Inference/0d0c4af8-6da1-4424-951c-3b0d5a3144f2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1580 |
+
2025/Kandinsky[[:space:]]Conformal[[:space:]]Prediction_[[:space:]]Beyond[[:space:]]Class-[[:space:]]and[[:space:]]Covariate-Conditional[[:space:]]Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1581 |
+
2025/Kernel[[:space:]]Quantile[[:space:]]Embeddings[[:space:]]and[[:space:]]Associated[[:space:]]Probability[[:space:]]Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1582 |
+
2025/Kernel-based[[:space:]]Unsupervised[[:space:]]Embedding[[:space:]]Alignment[[:space:]]for[[:space:]]Enhanced[[:space:]]Visual[[:space:]]Representation[[:space:]]in[[:space:]]Vision-language[[:space:]]Models/45585217-89dc-4396-8dd7-78e53e4324fa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1583 |
+
2025/KernelBench_[[:space:]]Can[[:space:]]LLMs[[:space:]]Write[[:space:]]Efficient[[:space:]]GPU[[:space:]]Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1584 |
+
2025/KinDEL_[[:space:]]DNA-Encoded[[:space:]]Library[[:space:]]Dataset[[:space:]]for[[:space:]]Kinase[[:space:]]Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1585 |
+
2025/Kinetic[[:space:]]Langevin[[:space:]]Diffusion[[:space:]]for[[:space:]]Crystalline[[:space:]]Materials[[:space:]]Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1586 |
+
2025/Knowledge[[:space:]]Retention[[:space:]]in[[:space:]]Continual[[:space:]]Model-Based[[:space:]]Reinforcement[[:space:]]Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1587 |
+
2025/Knowledge[[:space:]]Swapping[[:space:]]via[[:space:]]Learning[[:space:]]and[[:space:]]Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1588 |
+
2025/Knowledge-Guided[[:space:]]Wasserstein[[:space:]]Distributionally[[:space:]]Robust[[:space:]]Optimization/51c7a391-df7c-4324-8964-1d50bd205a7b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1589 |
+
2025/KoNODE_[[:space:]]Koopman-Driven[[:space:]]Neural[[:space:]]Ordinary[[:space:]]Differential[[:space:]]Equations[[:space:]]with[[:space:]]Evolving[[:space:]]Parameters[[:space:]]for[[:space:]]Time[[:space:]]Series[[:space:]]Analysis/f7237a79-716a-4fa7-94d4-f180451d7ecc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1590 |
+
2025/Kona_[[:space:]]An[[:space:]]Efficient[[:space:]]Privacy-Preservation[[:space:]]Framework[[:space:]]for[[:space:]]KNN[[:space:]]Classification[[:space:]]by[[:space:]]Communication[[:space:]]Optimization/9f4afcb8-9374-4274-a8e0-4ccade96c6c1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1591 |
+
2025/KoopSTD_[[:space:]]Reliable[[:space:]]Similarity[[:space:]]Analysis[[:space:]]between[[:space:]]Dynamical[[:space:]]Systems[[:space:]]via[[:space:]]Approximating[[:space:]]Koopman[[:space:]]Spectrum[[:space:]]with[[:space:]]Timescale[[:space:]]Decoupling/1cccd189-466a-4fba-9758-d5006c26963f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1592 |
+
2025/L-Diffusion_[[:space:]]Laplace[[:space:]]Diffusion[[:space:]]for[[:space:]]Efficient[[:space:]]Pathology[[:space:]]Image[[:space:]]Segmentation/8463988b-6c48-4747-8ff4-15a1d7ef8dd3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1593 |
+
2025/L3A_[[:space:]]Label-Augmented[[:space:]]Analytic[[:space:]]Adaptation[[:space:]]for[[:space:]]Multi-Label[[:space:]]Class[[:space:]]Incremental[[:space:]]Learning/8117c716-8ba7-4131-bec1-2cf90dda372a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1594 |
+
2025/LADA_[[:space:]]Scalable[[:space:]]Label-Specific[[:space:]]CLIP[[:space:]]Adapter[[:space:]]for[[:space:]]Continual[[:space:]]Learning/22adde8d-2456-4e5a-a44b-084e7c66df1e_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1595 |
+
2025/LAION-C_[[:space:]]An[[:space:]]Out-of-Distribution[[:space:]]Benchmark[[:space:]]for[[:space:]]Web-Scale[[:space:]]Vision[[:space:]]Models/c4870526-a0e7-4f96-bbf9-4ab0643c2d7f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1596 |
+
2025/LARM_[[:space:]]Large[[:space:]]Auto-Regressive[[:space:]]Model[[:space:]]for[[:space:]]Long-Horizon[[:space:]]Embodied[[:space:]]Intelligence/f466ad81-d311-4b8c-b8f7-12e6a30911c0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1597 |
+
2025/LASER_[[:space:]]Attention[[:space:]]with[[:space:]]Exponential[[:space:]]Transformation/93ceb07d-ce60-428f-846b-8b02484166b1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1598 |
+
2025/LAST[[:space:]]SToP[[:space:]]for[[:space:]]Modeling[[:space:]]Asynchronous[[:space:]]Time[[:space:]]Series/9ec4133e-6f33-444e-82dc-83e4efcb9a7d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1599 |
+
2025/LAuReL_[[:space:]]Learned[[:space:]]Augmented[[:space:]]Residual[[:space:]]Layer/6026465c-e556-48a1-b80a-2ea15f5a6221_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1600 |
+
2025/LBI-FL_[[:space:]]Low-Bit[[:space:]]Integerized[[:space:]]Federated[[:space:]]Learning[[:space:]]with[[:space:]]Temporally[[:space:]]Dynamic[[:space:]]Bit-Width[[:space:]]Allocation/fcd3c5ec-a970-4a97-aad4-b9f45281fefa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1601 |
+
2025/LDMol_[[:space:]]A[[:space:]]Text-to-Molecule[[:space:]]Diffusion[[:space:]]Model[[:space:]]with[[:space:]]Structurally[[:space:]]Informative[[:space:]]Latent[[:space:]]Space[[:space:]]Surpasses[[:space:]]AR[[:space:]]Models/21e11fa4-5e7d-46bf-858d-c20783d17fd4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1602 |
+
2025/LEAPS_[[:space:]]A[[:space:]]discrete[[:space:]]neural[[:space:]]sampler[[:space:]]via[[:space:]]locally[[:space:]]equivariant[[:space:]]networks/e6544efa-6c7d-4ac6-bbef-9e67ea56b81a_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1603 |
+
2025/LEMoN_[[:space:]]Label[[:space:]]Error[[:space:]]Detection[[:space:]]using[[:space:]]Multimodal[[:space:]]Neighbors/2bf0d6c7-783a-48aa-b111-8db1e32f4f3f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1604 |
+
2025/LETS[[:space:]]Forecast_[[:space:]]Learning[[:space:]]Embedology[[:space:]]for[[:space:]]Time[[:space:]]Series[[:space:]]Forecasting/040ac8b4-affc-40c5-80f4-2f9846198fcc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1605 |
+
2025/LEVIS_[[:space:]]Large[[:space:]]Exact[[:space:]]Verifiable[[:space:]]Input[[:space:]]Spaces[[:space:]]for[[:space:]]Neural[[:space:]]Networks/f4bda830-a68e-4461-89eb-97f7c99a42c9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1606 |
+
2025/LGDM_[[:space:]]Latent[[:space:]]Guidance[[:space:]]in[[:space:]]Diffusion[[:space:]]Models[[:space:]]for[[:space:]]Perceptual[[:space:]]Evaluations/c41daa17-d5e3-435e-8686-a2d0f8f92d8c_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1607 |
+
2025/LIFT[[:space:]]the[[:space:]]Veil[[:space:]]for[[:space:]]the[[:space:]]Truth_[[:space:]]Principal[[:space:]]Weights[[:space:]]Emerge[[:space:]]after[[:space:]]Rank[[:space:]]Reduction[[:space:]]for[[:space:]]Reasoning-Focused[[:space:]]Supervised[[:space:]]Fine-Tuning/46a7e76f-0d35-4d0e-a385-5cb51c85e8fd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1608 |
+
2025/LIMEFLDL_[[:space:]]A[[:space:]]Local[[:space:]]Interpretable[[:space:]]Model-Agnostic[[:space:]]Explanations[[:space:]]Approach[[:space:]]for[[:space:]]Label[[:space:]]Distribution[[:space:]]Learning/0d64a5dc-89fa-45ee-b32f-ffe08624d4c5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1609 |
+
2025/LIVS_[[:space:]]A[[:space:]]Pluralistic[[:space:]]Alignment[[:space:]]Dataset[[:space:]]for[[:space:]]Inclusive[[:space:]]Public[[:space:]]Spaces/4d7a0b82-9e51-483b-b80f-53399a73ca38_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1610 |
+
2025/LLM[[:space:]]Alignment[[:space:]]as[[:space:]]Retriever[[:space:]]Optimization_[[:space:]]An[[:space:]]Information[[:space:]]Retrieval[[:space:]]Perspective/b02a5036-0d1e-4de5-880d-5ac648018b56_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1611 |
+
2025/LLM[[:space:]]Data[[:space:]]Selection[[:space:]]and[[:space:]]Utilization[[:space:]]via[[:space:]]Dynamic[[:space:]]Bi-level[[:space:]]Optimization/1b2f0082-1546-4951-9ad1-6d91fcce3ec7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1612 |
+
2025/LLM[[:space:]]Enhancers[[:space:]]for[[:space:]]GNNs_[[:space:]]An[[:space:]]Analysis[[:space:]]from[[:space:]]the[[:space:]]Perspective[[:space:]]of[[:space:]]Causal[[:space:]]Mechanism[[:space:]]Identification/b545c3ff-b5da-409b-8f36-444ecdfedc27_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1613 |
+
2025/LLM-Assisted[[:space:]]Semantically[[:space:]]Diverse[[:space:]]Teammate[[:space:]]Generation[[:space:]]for[[:space:]]Efficient[[:space:]]Multi-agent[[:space:]]Coordination/9f751dbf-a6db-472b-8f9b-378074481812_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1614 |
+
2025/LLM-Augmented[[:space:]]Chemical[[:space:]]Synthesis[[:space:]]and[[:space:]]Design[[:space:]]Decision[[:space:]]Programs/33821da1-d0ab-4f2f-a2da-fe0fae78fde3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1615 |
+
2025/LLM-SRBench_[[:space:]]A[[:space:]]New[[:space:]]Benchmark[[:space:]]for[[:space:]]Scientific[[:space:]]Equation[[:space:]]Discovery[[:space:]]with[[:space:]]Large[[:space:]]Language[[:space:]]Models/4a1a0d81-66f6-41da-8af0-89d714066134_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1616 |
+
2025/LLMScan_[[:space:]]Causal[[:space:]]Scan[[:space:]]for[[:space:]]LLM[[:space:]]Misbehavior[[:space:]]Detection/6c857e47-b97c-4f43-add2-2c52d2754539_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1617 |
+
2025/LLMs[[:space:]]Can[[:space:]]Reason[[:space:]]Faster[[:space:]]Only[[:space:]]If[[:space:]]We[[:space:]]Let[[:space:]]Them/1153897f-2e99-4a0c-bc31-6aa5ba46ac05_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1618 |
+
2025/LLMs[[:space:]]can[[:space:]]see[[:space:]]and[[:space:]]hear[[:space:]]without[[:space:]]any[[:space:]]training/cb810aa2-0311-40cc-89f1-87d90a97b909_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1619 |
+
2025/LLMs[[:space:]]on[[:space:]]the[[:space:]]Line_[[:space:]]Data[[:space:]]Determines[[:space:]]Loss-to-Loss[[:space:]]Scaling[[:space:]]Laws/331cd230-c898-48a8-88a6-de028e9e5385_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1620 |
+
2025/LLaVA-ReID_[[:space:]]Selective[[:space:]]Multi-image[[:space:]]Questioner[[:space:]]for[[:space:]]Interactive[[:space:]]Person[[:space:]]Re-Identification/cd5d65b1-00f8-4980-8f37-c80823a98cd9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1621 |
+
2025/LMAct_[[:space:]]A[[:space:]]Benchmark[[:space:]]for[[:space:]]In-Context[[:space:]]Imitation[[:space:]]Learning[[:space:]]with[[:space:]]Long[[:space:]]Multimodal[[:space:]]Demonstrations/8dccb952-1a3e-4b54-85a5-15afd7460a19_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1622 |
+
2025/LMRL[[:space:]]Gym_[[:space:]]Benchmarks[[:space:]]for[[:space:]]Multi-Turn[[:space:]]Reinforcement[[:space:]]Learning[[:space:]]with[[:space:]]Language[[:space:]]Models/8d43f279-494d-42fc-976a-114dd9dcbc5d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1623 |
+
2025/LOB-Bench_[[:space:]]Benchmarking[[:space:]]Generative[[:space:]]AI[[:space:]]for[[:space:]]Finance[[:space:]]-[[:space:]]an[[:space:]]Application[[:space:]]to[[:space:]]Limit[[:space:]]Order[[:space:]]Book[[:space:]]Data/669ddd09-a4fd-4b2f-b3c9-08d2588f1653_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1624 |
+
2025/LOCATE[[:space:]]3D_[[:space:]]Real-World[[:space:]]Object[[:space:]]Localization[[:space:]]via[[:space:]]Self-Supervised[[:space:]]Learning[[:space:]]in[[:space:]]3D/77801996-b78a-4088-90ca-5b5bc60baef3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1625 |
+
2025/LOGO[[:space:]]—[[:space:]]Long[[:space:]]cOntext[[:space:]]aliGnment[[:space:]]via[[:space:]]efficient[[:space:]]preference[[:space:]]Optimization/c0096040-1972-4d19-a09c-0eb945d2fed8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1626 |
+
2025/LRA-QViT_[[:space:]]Integrating[[:space:]]Low-Rank[[:space:]]Approximation[[:space:]]and[[:space:]]Quantization[[:space:]]for[[:space:]]Robust[[:space:]]and[[:space:]]Efficient[[:space:]]Vision[[:space:]]Transformers/d02db4cc-cdc0-4666-93c0-a68bf666e48d_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1627 |
+
2025/LSCD_[[:space:]]Lomb–Scargle[[:space:]]Conditioned[[:space:]]Diffusion[[:space:]]for[[:space:]]Time[[:space:]]series[[:space:]]Imputation/60f67135-9c7a-40a2-a84a-b1ccbea913b2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1628 |
+
2025/LV-XAttn_[[:space:]]Distributed[[:space:]]Cross-Attention[[:space:]]for[[:space:]]Long[[:space:]]Visual[[:space:]]Inputs[[:space:]]in[[:space:]]Multimodal[[:space:]]Large[[:space:]]Language[[:space:]]Models/ed5e27fd-f32b-45e1-b58f-88912aefc2f8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1629 |
+
2025/La[[:space:]]RoSA_[[:space:]]Enhancing[[:space:]]LLM[[:space:]]Efficiency[[:space:]]via[[:space:]]Layerwise[[:space:]]Rotated[[:space:]]Sparse[[:space:]]Activation/718b23f3-2da7-481f-bdb4-aad1181240b9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1630 |
+
2025/LaCache_[[:space:]]Ladder-Shaped[[:space:]]KV[[:space:]]Caching[[:space:]]for[[:space:]]Efficient[[:space:]]Long-Context[[:space:]]Modeling[[:space:]]of[[:space:]]Large[[:space:]]Language[[:space:]]Models/b011fa94-6e67-4504-8f43-a7815faae621_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1631 |
+
2025/LaMAGIC2_[[:space:]]Advanced[[:space:]]Circuit[[:space:]]Formulations[[:space:]]for[[:space:]]Language[[:space:]]Model-Based[[:space:]]Analog[[:space:]]Topology[[:space:]]Generation/04326da8-01ac-4a2b-b302-7ec3c12eb2a2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1632 |
+
2025/LaRA_[[:space:]]Benchmarking[[:space:]]Retrieval-Augmented[[:space:]]Generation[[:space:]]and[[:space:]]Long-Context[[:space:]]LLMs[[:space:]]–[[:space:]]No[[:space:]]Silver[[:space:]]Bullet[[:space:]]for[[:space:]]LC[[:space:]]or[[:space:]]RAG[[:space:]]Routing/6d2dcb8d-b152-469e-9182-97f11f31a51f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1633 |
+
2025/Label[[:space:]]Distribution[[:space:]]Propagation-based[[:space:]]Label[[:space:]]Completion[[:space:]]for[[:space:]]Crowdsourcing/553e257e-1835-44e1-b6e0-d4fb9bda9c37_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1634 |
+
2025/Ladder-Residual_[[:space:]]Parallelism-Aware[[:space:]]Architecture[[:space:]]for[[:space:]]Accelerating[[:space:]]Large[[:space:]]Model[[:space:]]Inference[[:space:]]with[[:space:]]Communication[[:space:]]Overlapping/868c3136-12c2-4079-a243-f805500c1a68_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1635 |
+
2025/LangDAug_[[:space:]]Langevin[[:space:]]Data[[:space:]]Augmentation[[:space:]]for[[:space:]]Multi-Source[[:space:]]Domain[[:space:]]Generalization[[:space:]]in[[:space:]]Medical[[:space:]]Image[[:space:]]Segmentation/d2cf4de2-6f87-4e3c-9fbb-e61a6e633714_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1636 |
+
2025/LangTime_[[:space:]]A[[:space:]]Language-Guided[[:space:]]Unified[[:space:]]Model[[:space:]]for[[:space:]]Time[[:space:]]Series[[:space:]]Forecasting[[:space:]]with[[:space:]]Proximal[[:space:]]Policy[[:space:]]Optimization/d1a2a570-702c-4b8e-891e-aa778ff7750f_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1637 |
+
2025/Language[[:space:]]Models[[:space:]]May[[:space:]]Verbatim[[:space:]]Complete[[:space:]]Text[[:space:]]They[[:space:]]Were[[:space:]]Not[[:space:]]Explicitly[[:space:]]Trained[[:space:]]On/387e2d3b-e9fc-452c-ac68-32b9bec2e985_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1638 |
+
2025/Language[[:space:]]Models[[:space:]]as[[:space:]]Implicit[[:space:]]Tree[[:space:]]Search/3253cf0d-1ceb-4108-a060-647c595b34d0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1639 |
+
2025/Language[[:space:]]Models[[:space:]]over[[:space:]]Canonical[[:space:]]Byte-Pair[[:space:]]Encodings/4f35b869-a5d9-4d2c-8c7e-6890bee8fc38_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1640 |
+
2025/LapSum[[:space:]]-[[:space:]]One[[:space:]]Method[[:space:]]to[[:space:]]Differentiate[[:space:]]Them[[:space:]]All_[[:space:]]Ranking,[[:space:]]Sorting[[:space:]]and[[:space:]]Top-k[[:space:]]Selection/e2fe238d-ef47-4bbb-9a71-05deb4569114_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1641 |
+
2025/Laplace[[:space:]]Transform[[:space:]]Based[[:space:]]Low-Complexity[[:space:]]Learning[[:space:]]of[[:space:]]Continuous[[:space:]]Markov[[:space:]]Semigroups/520e83ac-fdb0-4af9-93bd-54516996c418_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1642 |
+
2025/Large[[:space:]]Continual[[:space:]]Instruction[[:space:]]Assistant/2984852f-ae64-4898-9347-ddd6184cfdcd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 1643 |
+
2025/Large[[:space:]]Displacement[[:space:]]Motion[[:space:]]Transfer[[:space:]]with[[:space:]]Unsupervised[[:space:]]Anytime[[:space:]]Interpolation/fc05e525-a966-4707-8333-ed1692b7acaa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/3da4cb1f-645e-4571-bf44-20e8cec1728c_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3eed79438fffb580be6e2e07f611d6ac5583cf098ccb68fb48e91e246beb1aa5
|
| 3 |
+
size 1292321
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f721cbb25b47a62222c7c8fa5a2dedc0db3c05f2fd8c23858162c21be23dbc2
|
| 3 |
+
size 1289295
|
2025/Kandinsky Conformal Prediction_ Beyond Class- and Covariate-Conditional Coverage/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/3ca59662-131f-4471-aaa2-bb3e9d6de5ff_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5fbfe1c4348b5396e7a1557edc2dbdaaef4ee52377304c44bbdb247dd180518
|
| 3 |
+
size 779668
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6adb18c029a2566fd7610682ac20165e996796a0d5acb138c1cd62fea0120f3f
|
| 3 |
+
size 1514282
|
2025/Kernel Quantile Embeddings and Associated Probability Metrics/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/45585217-89dc-4396-8dd7-78e53e4324fa_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5eed271859feb5a85be4b3dd35e6de32616970fa4c7089e7d636353f31cb779d
|
| 3 |
+
size 1056780
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/full.md
ADDED
|
@@ -0,0 +1,522 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models
|
| 2 |
+
|
| 3 |
+
Shizhan Gong $^{1}$ Yankai Jiang $^{2}$ Qi Dou $^{1}$ Farzan Farnia $^{1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Vision-language models, such as CLIP, have achieved significant success in aligning visual and textual representations, becoming essential components of many multi-modal large language models (MLLMs) like LLaVA and OpenFlamingo. However, numerous studies have identified CLIP's limited fine-grained perception as a critical drawback, leading to substantial failures in downstream MLLMs. In contrast, vision-centric foundation models like DINOv2 demonstrate remarkable capabilities in capturing fine details from images. In this work, we propose a novel kernel-based method to align CLIP's visual representation with that of DINOv2, ensuring that the resulting embeddings maintain compatibility with text embeddings while enhancing perceptual capabilities. Our alignment objective is designed for efficient stochastic optimization. Following this image-only alignment fine-tuning, the visual encoder retains compatibility with the frozen text encoder and exhibits significant improvements in zero-shot object recognition, fine-grained spatial reasoning, and localization. By integrating the aligned visual encoder, downstream MLLMs also demonstrate enhanced performance. The code and models are available at https://github.com/peterant330/KUEA.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Vision-language Models (VLMs) have made significant strides and transformed the field of computer vision. A
|
| 12 |
+
|
| 13 |
+
$^{1}$ Department of Computer Science and Engineering, The Chinese University of Hong Kong, Hong Kong SAR, China $^{2}$ Shanghai Artificial Intelligence Laboratory, Shanghai, China. Correspondence to: Shizhan Gong <szgong22@cse.cuhk.edu.hk>, Yankai Jiang <jiangyankai@pjlab.org.cn>, Qi Dou <qidou@cuhk.edu.hk>, Farzan Farnia <farnia@cse.cuhk.edu.hk>.
|
| 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 |
+
notable example is CLIP (Radford et al., 2021) and its variants (Zhai et al., 2023; Sun et al., 2023), which are trained on extensive datasets of paired text and images to link images with their corresponding textual descriptions. These models demonstrate exceptional generalizability and zero-shot performance on various downstream tasks, including classification (Saha et al., 2024), segmentation (Yu et al., 2023), and object detection (Vidit et al., 2023). Beyond functioning as a standalone tool, CLIP's vision encoder has been incorporated into several Multi-modal Large Language Models (MLLMs), such as LLaVA (Liu et al., 2024), OpenFlamingo (Awadalla et al., 2023), BLIP-2 (Li et al., 2023a), and Qwen-VL (Bai et al., 2023), serving as an integral component for visual feature extraction.
|
| 18 |
+
|
| 19 |
+
However, because CLIP is trained with global supervision from image captions, it struggles to learn finer pixel-level details such as color (Thrush et al., 2022) and spatial relationship (Liu et al., 2023; Kamath et al., 2023). This limitation affects CLIP's performance on vision-focused tasks and can also impair the fine-grained perception capabilities of downstream MLLMs. Numerous studies have highlighted these issues (Yuksekgonul et al., 2023; Guo et al., 2024). For instance, Jiang et al. (2023) examined feature visualization from deeper layers and found that it emphasizes global image properties while neglecting intricate details. Similarly, Tong et al. (2024) reported that current MLLMs struggle with simple visual pattern questions, such as counting, color identification, and viewpoint recognition.
|
| 20 |
+
|
| 21 |
+
Vision-only self-supervised learning protocols, such as DINO (Caron et al., 2021) and MAE (He et al., 2022), produce vision-centric representations that are highly effective for visual grounding. Researchers are exploring these models to address the inherent limitations of CLIP. Some studies have combined multiple models as vision encoders for MLLMs (Jiang et al., 2023; Tong et al., 2024; Shi et al., 2024; Shen et al., 2024). However, this approach introduces considerable computational overhead. Other methods focus on using vision-only self-supervised learning to fine-tune the CLIP encoder (Wu et al., 2023; Covert et al., 2025), which can enhance its localization abilities. Nevertheless, these fine-tuning techniques risk disrupting the alignment between image and text representations, potentially under
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1. Main claim of this work. We propose a kernel-based alignment framework, which is able to enhance the visual representation of CLIP via image-only fine-tuning. Moreover, the improvement can be transferred to downstream multi-modal large language models.
|
| 25 |
+
|
| 26 |
+
mining CLIP's zero-shot performance. Additionally, there are efforts to integrate region-based task loss (Zhong et al., 2022; Wan et al., 2024) or distillation loss from vision models (Salehi et al., 2023) during CLIP's training, which requires re-training the models and incurs high computational costs. Most critically, all these methods produce visual embeddings that differ significantly from the original CLIP embeddings, leading to incompatibility with downstream models trained on the original embeddings. Consequently, all downstream models (e.g., MLLMs) would need to be re-tuned from scratch to align visual-text embeddings. The cost makes these solutions impractical in real applications.
|
| 27 |
+
|
| 28 |
+
In this paper, we present an innovative approach to address the limitations of CLIP embeddings by aligning them with embeddings from vision-centric models. Our method involves fine-tuning CLIP's vision branch to align with the representations of target models, such as DINOv2 (Oquab et al., 2024), while maintaining compatibility with CLIP's text embeddings, which is totally frozen and untouched (see Fig. 1). Given the significant differences between the feature spaces of target models and CLIP, a direct alignment of the visual representations could disrupt the alignment with text representations. Instead, we propose to align the embeddings in the kernel space, which preserves the integrity of the original feature space while allowing for flexible adjustments of similarities among samples based on their visual details. As a result, this alignment could enhance the vision encoder's ability to recognize fine-grained visual patterns. In addition, we design an optimization objective that can be handled by stochastic optimization, enabling our framework to scale effectively to real-world datasets with minimal computational hardware requirements.
|
| 29 |
+
|
| 30 |
+
We examine the enhancements achieved through the proposed alignment in both vision-centric tasks and visual question answering (VQA). Experiments conducted on multiple CLIP-benchmark (LAION-AI, 2022) and probing bench (Covert et al., 2025) reveal that the CLIP after alignment demonstrates improved accuracy in zero-shot classi
|
| 31 |
+
|
| 32 |
+
fication and dense prediction tasks, without requiring finetuning of the text encoder. Subsequently, we integrate the aligned CLIP vision encoder into two pre-trained MLLMs, LLaVA (Liu et al., 2024) and OpenFlamingo (Awadalla et al., 2023), evaluating their performance across several standard VQA benchmarks. This also results in significant enhancements over the original CLIP, even without finetuning the large language model (LLM) component. Our main contributions can be summarized as follows.
|
| 33 |
+
|
| 34 |
+
- We introduce a kernel-based alignment method that effectively aligns two sets of embeddings while preserving the integrity of the original representation space.
|
| 35 |
+
- We implement the alignment using CLIP and DINOv2. With minimal image-only fine-tuning, the aligned CLIP visual encoder shows substantial improvements while preserving compatibility with the text encoder and ensuring zero-shot generalizability.
|
| 36 |
+
- Evaluation across various vision-language benchmarks shows that the enhancements in visual representations can be effectively inherited to downstream MLLMs.
|
| 37 |
+
|
| 38 |
+
# 2. Related Work
|
| 39 |
+
|
| 40 |
+
Kernel Methods in Representation Learning. Kernel methods (Hofmann et al., 2008) are algorithms that use the kernel trick, which allows linear algorithms to work in high-dimensional feature spaces without explicit data transformation. It is widely used in deep representation learning. For example, He & Ozay (2022) utilized kernel-based metrics for evaluating the similarity between two embeddings. Several work (Allen-Zhu & Li, 2020; He & Ozay, 2022; Zhou et al., 2024) leveraged kernel functions for knowledge distillation. Dehdashtian et al. (2024) proposed to de-bias CLIP's image and text representations in reproducing kernel Hilbert spaces for better fairness. Kernel methods have also been applied to evaluating the fidelity (Binkowski et al., 2018), diversity (Friedman & Dieng, 2022; Jalali et al.,
|
| 41 |
+
|
| 42 |
+
2023; Rezaei et al., 2024; Ospanov & Farnia, 2024; Jalali et al., 2024; Ospanov et al., 2024a;b), and novelty (Zhang et al., 2024a;b) of generative models. Our method can be interpreted as aligning visual representations of CLIP and other vision models in the kernel space, through kernel trick.
|
| 43 |
+
|
| 44 |
+
Fine-tuning Vision-Language Models. Fine-tuning of VLMs has been widely applied to improve the model performance on specific downstream dataset (Zhou et al., 2022; Zhang et al., 2022; Gao et al., 2024) or domain-specific applications (Cao et al., 2024; Gong et al., 2024). Beyond the accuracy gain, studies have also discovered that well-designed fine-tuning scheme can promote some desired properties of the model, such as adversarial robustness (Mao et al., 2022; Schlarmann et al., 2024), fairness (Shen et al., 2023), and visual interpretability (Gong et al., 2025). In this work, we leverage fine-tuning to enhance the general visual ability of the VLMs. Instead of focusing on single datasets, we show the enhancement exhibit good generalizability.
|
| 45 |
+
|
| 46 |
+
Enhancement of CLIP Visual Representations. Several studies have proposed methods to address the limitations of CLIP's visual embeddings and enhance its fine-grained capabilities. For instance, Salehi et al. (2023) trained the CLIP encoder using multi-task losses supervised by pseudo labels generated from other vision encoders. Similarly, Jiang et al. (2023) and Tong et al. (2024) complemented CLIP with DINOv2 as the vision encoder for downstream MLLMs. Shi et al. (2024) and Shen et al. (2024) further expanded this approach to incorporate a wider variety of vision encoders. Currently, there are limited explorations focusing on the fine-tuning phase. Covert et al. (2025) applied masked fine-tuning to CLIP's vision encoder to enhance its localization capabilities. However, their fine-tuned vision encoders became incompatible with the text encoder and downstream LLMs. The method most closely related to ours is DIVA (Wang et al., 2025), which refines CLIP representations using only images with the help of diffusion models. Comparing to DIVA, our method demands significantly less computation and achieves better zero-shot performance.
|
| 47 |
+
|
| 48 |
+
# 3. Method
|
| 49 |
+
|
| 50 |
+
# 3.1. Kernel Function and Kernel Matrix
|
| 51 |
+
|
| 52 |
+
Consider a function $k: \mathbb{R}^d \times \mathbb{R}^d \to \mathbb{R}$ that assigns a similarity score $k(\mathbf{x}, \mathbf{y}) \in \mathbb{R}$ to every pair of vectors $\mathbf{x}, \mathbf{y} \in \mathbb{R}^d$ . The function $k$ qualifies as a kernel function if and only if, for any set of samples $\mathbf{x}_1, \dots, \mathbf{x}_n \in \mathbb{R}^d$ , the resulting kernel matrix $\mathbf{K} = [k(\mathbf{x}_i, \mathbf{x}_j)]_{1 \leq i,j \leq n}$ is positive semi-definite. This kernel matrix well captures the pairwise similarities among the samples. Common examples of kernel functions include Gaussian kernel, cosine kernel, and polynomial kernel. In this work, we mainly focus on the polynomial kernel
|
| 53 |
+
|
| 54 |
+
with coefficient $\gamma$ , constant offset $c$ , and degree $d$ :
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
k _ {\text {p o l y n o m i a l} (\gamma , c, d)} \left(\mathbf {x}, \mathbf {y}\right) := \left(\gamma \mathbf {x} ^ {T} \mathbf {y} + c\right) ^ {d}. \tag {1}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
We call a kernel function normalized if $k(\mathbf{x}, \mathbf{x}) = 1$ for any vector $\mathbf{x} \in \mathbb{R}^d$ . A kernel function can be normalized via:
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\tilde {k} (\mathbf {x}, \mathbf {y}) = \frac {k (\mathbf {x} , \mathbf {y})}{\sqrt {k (\mathbf {x} , \mathbf {x}) k (\mathbf {y} , \mathbf {y})}}. \tag {2}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
Note that for each valid kernel function $k$ , there exists a feature map $\phi : \mathbb{R}^d \to \mathbb{R}^s$ such that for every input vectors $\mathbf{x}, \mathbf{y}$ , the following holds:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
k (\mathbf {x}, \mathbf {y}) = \langle \phi (\mathbf {x}), \phi (\mathbf {y}) \rangle , \tag {3}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where $\langle \cdot, \cdot \rangle$ denotes the inner product in $\mathbb{R}^s$ . $s$ is usually much greater than $d$ , indicating that $\phi$ maps the input features into a higher-dimensional kernel space.
|
| 73 |
+
|
| 74 |
+
# 3.2. Kernel-based Embedding Alignment
|
| 75 |
+
|
| 76 |
+
CLIP consists of two components: an image encoder $f_{\theta}$ and a text encoder $f_{\varphi}$ . These encoders transform each language-image pair $(T_i, I_i)$ into their respective representations $f_{\theta}(I_i), f_{\varphi}(T_i) \in \mathbb{R}^d$ . The target model $g$ is a vision encoder (e.g., DINOv2) that generates the representation $g(I_i) \in \mathbb{R}^{d'}$ for the image $I_i$ . While CLIP effectively achieves visual-language alignment, it struggles to capture fine-grained visual details, an area where the target model excels. As noted by Tong et al. (2024), samples that carry similar semantic meanings but differ in visual details exhibit high similarity in the CLIP feature space, while showing low similarity in the DINOv2 feature space. The value of kernel function is a measure of similarity between two samples. The kernel matrix of the target model reflects how samples are arranged in feature spaces based on their visual similarities, whereas the kernel matrix of CLIP only captures semantic similarities. Consequently, it is a natural idea to align the kernel matrix of CLIP with that of the target model, as it can encourage the arrangement of samples in the feature space to better represent their visual patterns, thus alleviating the limitations of CLIP (as illustrated in Fig. 1). Due to the large sample size, directly minimizing the distance between the two kernel matrices can be computationally infeasible. To address this, we propose the following optimization objective for alignment fine-tuning:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\min _ {\theta} \underset {I _ {i}, I _ {j} \sim \mathcal {D} _ {\text {t r a i n}}} {\mathbb {E}} \left[ \left(k _ {1} \left(f _ {\theta} \left(I _ {i}\right), f _ {\theta} \left(I _ {j}\right)\right) - k _ {2} \left(g \left(I _ {i}\right), g \left(I _ {j}\right)\right)\right) ^ {2} \right], \tag {4}
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $k_{1}$ and $k_{2}$ are the kernel functions for CLIP and the target model, which may take different forms or with different parameters to reflect the variation in the feature space. According to Hoeffding's inequality (Hoeffding, 1994), the empirical estimate of the objective function is an unbiased estimator, and the following proposition implies that the gradient w.r.t $\theta$ can also be computed through limited samples.
|
| 83 |
+
|
| 84 |
+
Table 1. Accuracy evaluation on zero-shot image classification benchmarks of CLIP models w/wo alignment. Projection means training a linear layer to map DINOv2 representations into the CLIP feature space. Feature means directing aligning the representation pairs subjecting to a linear transformation. DIVA refers to the method proposed by Wang et al. (2025). Kernel is our proposed method.
|
| 85 |
+
|
| 86 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Alignment Strategies</td><td rowspan="2">ImageNet</td><td colspan="11">Zero-shot Datasets</td><td rowspan="2">Average Zero-shot</td></tr><tr><td>CIFAR10</td><td>CIFAR100</td><td>CalTech</td><td>FER</td><td>OxfordPeds</td><td>DTD</td><td>RESISC</td><td>EuroSAT</td><td>PCAM</td><td>ImageNet-S</td><td>ImageNet-O</td></tr><tr><td rowspan="4">ViT-B-16</td><td>CLIP</td><td>67.72</td><td>89.98</td><td>65.61</td><td>82.17</td><td>46.35</td><td>89.04</td><td>44.95</td><td>58.19</td><td>55.89</td><td>50.70</td><td>48.28</td><td>42.30</td><td>61.22</td></tr><tr><td>projection</td><td>68.96</td><td>96.24</td><td>75.30</td><td>73.67</td><td>27.19</td><td>80.70</td><td>34.26</td><td>33.27</td><td>40.44</td><td>50.02</td><td>54.73</td><td>30.00</td><td>54.17</td></tr><tr><td>feature</td><td>67.84</td><td>90.47</td><td>66.46</td><td>82.19</td><td>46.36</td><td>89.02</td><td>45.00</td><td>58.29</td><td>56.04</td><td>50.79</td><td>48.31</td><td>42.60</td><td>61.41</td></tr><tr><td>kernel</td><td>67.84</td><td>91.13</td><td>67.38</td><td>82.20</td><td>46.82</td><td>89.23</td><td>45.43</td><td>57.73</td><td>56.85</td><td>54.02</td><td>48.18</td><td>43.50</td><td>62.04</td></tr><tr><td rowspan="5">ViT-L-14</td><td>CLIP</td><td>74.90</td><td>95.20</td><td>71.08</td><td>83.30</td><td>50.00</td><td>93.21</td><td>55.21</td><td>63.35</td><td>62.65</td><td>52.00</td><td>59.59</td><td>32.25</td><td>65.26</td></tr><tr><td>projection</td><td>70.42</td><td>95.10</td><td>74.14</td><td>80.31</td><td>24.51</td><td>80.02</td><td>37.02</td><td>37.03</td><td>32.48</td><td>50.02</td><td>56.04</td><td>28.05</td><td>54.07</td></tr><tr><td>feature</td><td>75.16</td><td>95.77</td><td>75.13</td><td>83.58</td><td>49.62</td><td>93.35</td><td>55.73</td><td>63.13</td><td>63.11</td><td>51.34</td><td>58.08</td><td>34.20</td><td>65.73</td></tr><tr><td>DIVA</td><td>74.84</td><td>95.10</td><td>70.96</td><td>84.01</td><td>49.47</td><td>93.57</td><td>55.05</td><td>63.48</td><td>62.93</td><td>53.79</td><td>59.53</td><td>32.05</td><td>65.45</td></tr><tr><td>kernel</td><td>75.52</td><td>96.27</td><td>77.04</td><td>84.32</td><td>50.31</td><td>93.40</td><td>55.74</td><td>63.83</td><td>63.83</td><td>52.68</td><td>59.67</td><td>34.90</td><td>66.54</td></tr><tr><td rowspan="5">ViT-L-14-336</td><td>CLIP</td><td>75.82</td><td>94.49</td><td>71.11</td><td>83.42</td><td>49.04</td><td>93.70</td><td>55.64</td><td>63.73</td><td>61.46</td><td>60.68</td><td>61.03</td><td>32.75</td><td>66.10</td></tr><tr><td>projection</td><td>71.26</td><td>94.87</td><td>77.35</td><td>72.33</td><td>23.35</td><td>79.39</td><td>39.20</td><td>42.06</td><td>35.06</td><td>50.02</td><td>57.53</td><td>28.65</td><td>54.53</td></tr><tr><td>feature</td><td>75.36</td><td>95.45</td><td>74.16</td><td>83.45</td><td>50.24</td><td>93.79</td><td>56.22</td><td>64.37</td><td>61.22</td><td>59.82</td><td>60.40</td><td>32.55</td><td>66.52</td></tr><tr><td>DIVA</td><td>75.54</td><td>93.74</td><td>70.73</td><td>83.63</td><td>50.07</td><td>93.32</td><td>55.48</td><td>63.19</td><td>60.13</td><td>59.52</td><td>56.90</td><td>31.65</td><td>65.30</td></tr><tr><td>kernel</td><td>76.30</td><td>95.95</td><td>74.92</td><td>83.53</td><td>50.21</td><td>93.79</td><td>56.33</td><td>64.43</td><td>61.93</td><td>59.65</td><td>61.31</td><td>35.60</td><td>67.13</td></tr></table>
|
| 87 |
+
|
| 88 |
+
Proposition 3.1. Assume that both $k_{1}$ and $k_{2}$ take values in the range $[-1,1]$ . Let $(I_{m_1}, I_{m_2})$ for $1 \leq m \leq M$ represent $M$ pairs of images independently sampled from the data distribution. Assume $k_{1}(f_{\theta}(I_{m_1}), f_{\theta}(I_{m_2}))$ is $L$ -Lipschitz w.r.t. $\theta$ for any sampled pairs. Define the sample-wise gradient as
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\begin{array}{l} t (\theta ; I _ {m _ {1}}, I _ {m _ {2}}) \\ := \nabla_ {\theta} \left(k _ {1} \left(f _ {\theta} \left(I _ {m _ {1}}\right), f _ {\theta} \left(I _ {m _ {2}}\right)\right) - k _ {2} \left(g \left(I _ {m _ {1}}\right), g \left(I _ {m _ {2}}\right)\right)\right) ^ {2}, \\ \end{array}
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
and the true expected gradient is defined as $\mathbb{E}[t(\theta)]\coloneqq$ $\nabla_{\theta}\mathbb{E}_{I_i,I_j\sim \mathcal{D}_{train}}\left[\left(k_1(f_\theta (I_i),f_\theta (I_j)) - k_2(g(I_i),g(I_j))\right)^2\right].$
|
| 95 |
+
|
| 96 |
+
Then, for every $0 < \epsilon < 8L$ , we have
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\begin{array}{l} P \left(\left\| \frac {1}{M} \sum_ {m = 1} ^ {M} t \left(\theta ; I _ {m _ {1}}, I _ {m _ {2}}\right) - \mathbb {E} [ t (\theta) ] \right\| _ {2} \geq \epsilon\right) \\ \leq \exp \left(- \frac {M \epsilon^ {2}}{5 1 2 L ^ {2}} + \frac {1}{4}\right) \tag {5} \\ \end{array}
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
As a result, we can utilize stochastic optimization methods, such as mini-batch gradient descent, to solve the problem efficiently. In each iteration, we sample a batch of data pairs and minimize the difference in kernel functions specifically for those pairs. This approach enables the alignment framework to scale effectively to datasets of real-world size.
|
| 103 |
+
|
| 104 |
+
# 3.3. Regularization for Visual-language Alignment
|
| 105 |
+
|
| 106 |
+
To ensure the alignment with the text branch is preserved, we introduce a regularization to prevent the aligned features
|
| 107 |
+
|
| 108 |
+
from straying too far from their original direction. This term is represented by the $L_{2}$ distance between the visual representations before and after the alignment fine-tuning. The final optimization objective is expressed as follows:
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\begin{array}{l} \min _ {\theta} w \cdot \mathbb {E} _ {I _ {i}, I _ {j} \sim \mathcal {D} _ {\text {t r a i n}}} \left[ \left(k _ {1} \left(f _ {\theta} (I _ {i}), f _ {\theta} (I _ {j})\right) \right. \right. \tag {6} \\ \left. - k _ {2} \big (g (I _ {i}), g (I _ {j}) \big)\right) ^ {2} \biggr ] + \mathbb {E} _ {I _ {i} \sim \mathcal {D} _ {\mathrm {t r a i n}}} \left[ \left\| f _ {\theta} (I _ {i}) - f _ {\theta_ {0}} (I _ {i}) \right\| _ {2} ^ {2} \right], \\ \end{array}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
where $\theta_0$ is the parameters of the pre-trained CLIP and is frozen during the alignment phase. $w$ is a coefficient balancing the two loss terms. The regularization term ensures that the alignment process does not cause the aligned embeddings to deviate significantly from the original embeddings. The following proposition illustrates how this regularization helps preserve the language-image alignment.
|
| 115 |
+
|
| 116 |
+
Proposition 3.2. (Schlarmann et al., 2024) For every language-image pair $(T, I)$ , if $\| f_{\theta}(I) - f_{\theta_0}(I) \|_2 \leq \lambda$ holds, then we will have
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\begin{array}{l} \left| \cos \big (f _ {\theta_ {0}} (I), g (T) \big) - \cos \big (f _ {\theta} (I), g (T) \big) \right| \\ \leq \frac {2 \lambda}{\max \left\{\| f _ {\theta} (I) \| _ {2} , \| f _ {\theta_ {0}} (I) \| _ {2} \right\}} \\ \end{array}
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
The proposition shows this regularization helps preserve the language-image alignment without the need of incorporating any text data during the fine-tuning phase.
|
| 123 |
+
|
| 124 |
+
Table 2. Summary of zero-shot image-to-text and text-to-image retrieval performance on Flickr30K (Young et al., 2014) and COCO benchmark (Chen et al., 2015) datasets. Our alignment will not sacrifice the image-text alignment property of the original CLIP.
|
| 125 |
+
|
| 126 |
+
<table><tr><td rowspan="3"></td><td rowspan="3">Vision Encoder</td><td colspan="6">Image-to-Text Retrieval</td><td colspan="6">Text-to-Image Retrieval</td></tr><tr><td colspan="3">Flickr30K</td><td colspan="3">MSCOCO</td><td colspan="3">Flickr30K</td><td colspan="3">MSCOCO</td></tr><tr><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td><td>R@1</td><td>R@5</td><td>R@10</td></tr><tr><td rowspan="2">ViT-B-16</td><td>w/o align</td><td>77.90</td><td>94.30</td><td>97.40</td><td>48.36</td><td>72.68</td><td>81.76</td><td>60.64</td><td>83.82</td><td>90.36</td><td>31.80</td><td>55.91</td><td>66.97</td></tr><tr><td>w/ align</td><td>78.10</td><td>94.10</td><td>97.50</td><td>48.06</td><td>72.86</td><td>81.78</td><td>60.92</td><td>84.30</td><td>90.62</td><td>32.12</td><td>56.51</td><td>67.15</td></tr><tr><td rowspan="3">ViT-L-14</td><td>w/o align</td><td>81.40</td><td>96.20</td><td>98.70</td><td>50.64</td><td>74.20</td><td>82.96</td><td>63.62</td><td>86.36</td><td>91.86</td><td>34.51</td><td>59.21</td><td>69.37</td></tr><tr><td>DIVA</td><td>78.70</td><td>94.80</td><td>98.30</td><td>49.88</td><td>74.06</td><td>82.82</td><td>59.80</td><td>83.36</td><td>89.40</td><td>34.21</td><td>58.76</td><td>68.97</td></tr><tr><td>w/ align</td><td>83.00</td><td>96.90</td><td>99.00</td><td>51.72</td><td>75.52</td><td>83.30</td><td>64.78</td><td>87.20</td><td>92.32</td><td>35.98</td><td>61.08</td><td>71.02</td></tr><tr><td rowspan="3">ViT-L-14-336</td><td>w/o align</td><td>83.00</td><td>96.60</td><td>99.00</td><td>52.12</td><td>76.12</td><td>83.82</td><td>64.78</td><td>87.92</td><td>93.06</td><td>35.65</td><td>60.30</td><td>70.66</td></tr><tr><td>DIVA</td><td>80.20</td><td>95.90</td><td>98.30</td><td>52.34</td><td>76.48</td><td>84.16</td><td>61.20</td><td>84.72</td><td>90.80</td><td>35.77</td><td>60.29</td><td>70.44</td></tr><tr><td>w/ align</td><td>84.60</td><td>96.80</td><td>99.10</td><td>53.48</td><td>77.64</td><td>85.30</td><td>67.08</td><td>88.98</td><td>93.62</td><td>37.61</td><td>62.48</td><td>72.46</td></tr></table>
|
| 127 |
+
|
| 128 |
+
Table 3. Accuracy evaluation on counting, spatial reasoning, and caption recognition tasks of CLIP models w/wo alignment.
|
| 129 |
+
|
| 130 |
+
<table><tr><td></td><td>Vision Encoder</td><td>svhn</td><td>gtsrb</td><td>clevr distance</td><td>clevr counts</td></tr><tr><td rowspan="6">Zero-shot</td><td>ViT-B-16</td><td>31.31</td><td>43.34</td><td>22.37</td><td>21.21</td></tr><tr><td>+align</td><td>27.40</td><td>44.35</td><td>22.40</td><td>21.30</td></tr><tr><td>ViT-L-14</td><td>57.02</td><td>50.55</td><td>20.21</td><td>19.43</td></tr><tr><td>+align</td><td>59.63</td><td>52.53</td><td>23.39</td><td>21.11</td></tr><tr><td>ViT-L-14-336</td><td>56.03</td><td>52.41</td><td>18.93</td><td>20.05</td></tr><tr><td>+align</td><td>57.65</td><td>53.43</td><td>20.91</td><td>20.90</td></tr><tr><td rowspan="6">Linear Probe</td><td>ViT-B-16</td><td>45.02</td><td>57.13</td><td>31.19</td><td>23.68</td></tr><tr><td>+align</td><td>49.27</td><td>58.30</td><td>30.92</td><td>24.02</td></tr><tr><td>ViT-L-14</td><td>65.20</td><td>72.94</td><td>22.97</td><td>41.25</td></tr><tr><td>+align</td><td>69.39</td><td>74.51</td><td>30.82</td><td>49.67</td></tr><tr><td>ViT-L-14-336</td><td>61.49</td><td>70.17</td><td>28.43</td><td>53.07</td></tr><tr><td>+align</td><td>70.02</td><td>71.77</td><td>34.65</td><td>55.32</td></tr></table>
|
| 131 |
+
|
| 132 |
+
# 4. Experiments
|
| 133 |
+
|
| 134 |
+
# 4.1. Implementation Details
|
| 135 |
+
|
| 136 |
+
Models. The above framework is actually flexible enough to align any two sets of embeddings. In this study, we primarily examine the alignment of visual representations from CLIP and vision-focused models. We experiment with several versions of CLIP, including ViT-B-16, ViT-L-14, and ViT-L-14-336, all pre-trained by OpenAI. For the vision-centric target model, we employ DINOv2 (Oquab et al., 2024) with ViT-L-14 as the backbone, after registration (Darcet et al., 2024). This setup allows for aligned embedding pairs to originate from models with different architectures or to correspond to images of varying resolutions, demonstrating the flexibility and generalizability of our proposed framework.
|
| 137 |
+
|
| 138 |
+
Training data. We utilize the training set of ImageNet-1K (Deng et al., 2009) as our training data, which contains 1.28M images. Compared to the original training process
|
| 139 |
+
|
| 140 |
+
of CLIP, the incremental alignment step is quite lightweight and can be performed on image-only datasets.
|
| 141 |
+
|
| 142 |
+
Training Schemes. The kernel we use is the normalized polynomial kernel of degree 3, which has been commonly adopted by several well-known studies in the literature (Stein et al., 2023; Kang et al., 2023). We also explore different kernel choices in the ablation studies. For DINOv2, we set the hyper-parameter of kernel to $\gamma = 1 / dim_{emb}$ and $c = 1$ , while for CLIP, they are set as trainable. More detailed settings for each experiment can be found in the Appendix B.1. With two 4090 GPUs, the alignment of ViT-L-14 takes around 30 hours, which is efficient and hardware-friendly compared to the pre-training phase of CLIP.
|
| 143 |
+
|
| 144 |
+
# 4.2. Improvements on Vision-centric Tasks
|
| 145 |
+
|
| 146 |
+
We begin with vision-centric tasks, which can be done by CLIP alone, to verify whether alignment with DINOv2 embeddings can enhance the visual representation of CLIP.
|
| 147 |
+
|
| 148 |
+
Zero-shot Object Recognition. We first test the zero-shot accuracy of the aligned CLIP model on standard object recognition benchmarks. We experiments on a diverse benchmarks composed of 12 datasets, including (1) common objects: ImageNet (Deng et al., 2009), CIFAR-10, CIFAR-100 (Krizhevsky et al., 2009), Caltech101 (Fei-Fei et al., 2004); (2) fine-grained objects: OxfordPets (Parkhi et al., 2012), DTD (Cimpoi et al., 2014), FER2013 (Goodfellow et al., 2013); (3) domain-specific applications: PCAM (Veeling et al., 2018), RESISC45 (Cheng et al., 2017), EuroSAT (Helber et al., 2018); and (4) out-of-distribution benchmarks: ImageNet-O (Hendrycks et al., 2021), ImageNet-Sketch (Wang et al., 2019). We adopt the standard CLIP-Benchmark (LAION-AI, 2022) as the pipeline for evaluation. The results are presented in Table 1. For zero-shot object recognition, performance depends on both perceptual ability and compatibility with the text encoder. After aligning with DINOv2 representations, we
|
| 149 |
+
|
| 150 |
+
Table 4. Results on probing benchmark. We report macroaveraged recall for both local probing and global probing.
|
| 151 |
+
|
| 152 |
+
<table><tr><td colspan="2">Vision Encoder</td><td>local</td><td>global</td></tr><tr><td rowspan="2">ViT-B-16</td><td>w/o align</td><td>44.63</td><td>52.61</td></tr><tr><td>w/ align</td><td>45.25</td><td>52.94</td></tr><tr><td rowspan="2">ViT-L-14</td><td>w/o align</td><td>46.40</td><td>54.51</td></tr><tr><td>w/ align</td><td>47.44</td><td>55.33</td></tr><tr><td rowspan="2">ViT-14-336</td><td>w/o align</td><td>46.05</td><td>55.13</td></tr><tr><td>w/ align</td><td>46.65</td><td>56.09</td></tr></table>
|
| 153 |
+
|
| 154 |
+
observe improvements across most datasets. Specifically, the average zero-shot accuracy increases by $0.82\%$ , $1.28\%$ , and $1.03\%$ with alignment for ViT-B, ViT-L, and ViT-L-336, respectively. This indicates that our proposed alignment enhances visual representation while maintaining compatibility with the CLIP text encoder. The improvements are particularly notable for images with low resolution (e.g., CIFAR) or tiny objects (e.g., EuroSAT), highlighting enhanced fine-grained perception capabilities. Through experiments with different CLIP backbones, we find that these improvements are architecture-agnostic, consistently boosting classification accuracy. Furthermore, the enhancements hold for both the ImageNet dataset and zero-shot datasets, demonstrating that alignment does not compromise the generalizability of CLIP. Even when fine-tuned on relatively small training data, the model still exhibits strong zero-shot performance on out-of-distribution datasets.
|
| 155 |
+
|
| 156 |
+
To demonstrate the superiority of the proposed kernel-based alignment, we compare our method with two straightforward baselines: (1) a linear projector trained to map the DINOv2 representation into the CLIP representation space, and (2) replacing kernel-based alignment with feature-based alignment (details available in Appendix B.2). However, we observe limited improvements or even significant drops in zero-shot accuracy. The representation spaces of DINOv2 and CLIP can vary significantly, making it challenging to directly align them while preserving compatibility with the text embeddings. In contrast, our kernel-based alignment focuses on aligning the relative relationships among samples, which helps maintain the macro-structure of the feature space. We also compare our approach with DIVA (Wang et al., 2025), and the results indicate that our method achieves better zero-shot performance. Furthermore, DIVA and our proposed alignment are orthogonal, they can be combined for complementary benefits.
|
| 157 |
+
|
| 158 |
+
In Appendix C.2, we extend our framework to three additional models that incorporate an intermediate embedding layer linking modalities, albeit with implementations differing from CLIP: SigLIP (Zhai et al., 2023), DFN (Fang et al., 2023), and MetaCLIP (Xu et al., 2024). We also
|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
Figure 2. Visualization of CLIP encoder's attention maps. Attention maps can show more fine-grained details after alignment.
|
| 162 |
+
|
| 163 |
+
explore replacing DINOv2 with other vision models, such as MLCD (An et al., 2024). The results show improved zero-shot accuracy for all these pairs, demonstrating the generalizability of the proposed framework.
|
| 164 |
+
|
| 165 |
+
Image-to-text and Text-to-image Retrievals. To further demonstrate that the proposed alignment framework does not compromise the image-text alignment or the generalizability of CLIP, we present zero-shot image-to-text and text-to-image retrieval performance in Table 2. These experiments were conducted on both the Flicker30K (Young et al., 2014) and MSCOCO (Chen et al., 2015) datasets. The results indicate that CLIP maintains strong performance in both retrieval tasks even after alignment. This reinforces our assertion that the image-text alignment is effectively preserved, despite the improvements in visual capability.
|
| 166 |
+
|
| 167 |
+
As highlighted in the literature (Tong et al., 2024), the CLIP encoder often struggles with specific tasks, including counting, spatial relationship inference, and caption recognition, which serves as a major motivation for our work. To investigate how alignment with DINOv2 can alleviate these issues, we conduct experiments on four related benchmarks: (1) SVHN (Netzer et al., 2011), which composed of natural scene images with digits and numbers; (2) GTSRB (Stallkamp et al., 2012), a datasets for recognition of German traffic sign; (3) CLEVR Distance (Johnson et al., 2017), which composed of images with multiple objects and the task is to determine the distance between the closest objects; and (4) CLEVR Counts, a benchmark that requires the model to count the number of objects within the images. We again follow the evaluation protocol of CLIP-Benchmark, which formulates all four benchmarks as classification tasks. We assess the improvements through both zero-shot classification and linear probing. The results, presented in Table 3, indicate that alignment significantly enhances CLIP's performance on text or spatial-related tasks, particularly after linear probing. For example, when using ViT-L-14, alignment improves the average accuracy by $1.58\%$ for zero-shot classi
|
| 168 |
+
|
| 169 |
+
Table 5. Evaluation of LLaVA on vision-language benchmarks. The performance can be improved by using the CLIP after alignment as the visual encoder, and it can be further improved through parameter-efficient fine-tuning (peft) of the LLM.
|
| 170 |
+
|
| 171 |
+
<table><tr><td></td><td>Vision Encoder</td><td>AI2D</td><td>text-ocr</td><td>text-pure</td><td>pope</td><td>tallyQA</td><td>vsr</td><td>RefCOCOg</td><td>RefCOCO+</td><td>RefCOCO</td><td>vqa-v2</td><td>llava-wild</td><td>llava-coco</td><td>Average</td></tr><tr><td rowspan="4">ViT-L</td><td>baseline</td><td>52.91</td><td>55.37</td><td>41.16</td><td>84.64</td><td>60.39</td><td>51.47</td><td>13.89</td><td>12.73</td><td>15.16</td><td>75.07</td><td>44.13</td><td>75.07</td><td>48.50</td></tr><tr><td>+align</td><td>53.66</td><td>55.70</td><td>41.53</td><td>84.92</td><td>60.39</td><td>51.50</td><td>14.15</td><td>12.89</td><td>15.37</td><td>75.10</td><td>44.67</td><td>76.60</td><td>48.87</td></tr><tr><td>+peft</td><td>53.63</td><td>54.54</td><td>41.82</td><td>84.35</td><td>57.19</td><td>53.93</td><td>56.06</td><td>52.74</td><td>61.27</td><td>74.71</td><td>44.30</td><td>64.84</td><td>58.28</td></tr><tr><td>+both</td><td>54.79</td><td>55.03</td><td>42.13</td><td>84.37</td><td>59.87</td><td>58.02</td><td>56.47</td><td>52.82</td><td>62.25</td><td>74.87</td><td>43.70</td><td>65.33</td><td>59.14</td></tr><tr><td rowspan="4">ViT-L-336</td><td>baseline</td><td>53.27</td><td>57.82</td><td>48.63</td><td>85.45</td><td>61.45</td><td>51.47</td><td>55.19</td><td>51.97</td><td>60.49</td><td>76.40</td><td>42.97</td><td>75.60</td><td>60.06</td></tr><tr><td>+align</td><td>52.95</td><td>57.94</td><td>48.53</td><td>85.57</td><td>61.25</td><td>51.47</td><td>55.66</td><td>52.78</td><td>60.54</td><td>76.34</td><td>48.40</td><td>79.07</td><td>60.88</td></tr><tr><td>+peft</td><td>52.69</td><td>57.79</td><td>48.50</td><td>85.41</td><td>61.91</td><td>54.14</td><td>56.76</td><td>53.81</td><td>61.98</td><td>75.88</td><td>44.13</td><td>69.13</td><td>60.18</td></tr><tr><td>+both</td><td>52.78</td><td>58.18</td><td>48.87</td><td>85.70</td><td>62.21</td><td>56.22</td><td>57.68</td><td>55.74</td><td>63.37</td><td>75.93</td><td>44.90</td><td>78.83</td><td>61.70</td></tr></table>
|
| 172 |
+
|
| 173 |
+
fication and $5.51\%$ for linear probing. Compared to common object recognition, tasks like caption recognition, counting, and spatial reasoning rely more heavily on the quality of the visual representation. This is where vision-centric models such as DINOv2 significantly outperform CLIP. After alignment, the CLIP representation demonstrates enhanced visual capabilities, resulting in better performance on these tasks. Additionally, we include results from MMVP-VLM (Tong et al., 2024) in Appendix C.4, which provides insights from a more diverse but relatively smaller benchmark.
|
| 174 |
+
|
| 175 |
+
Localization Ability. We further evaluate the localization ability of CLIP visual encoders w/wo alignment. Specifically, we utilize the probing benchmark introduced by Covert et al. (2025). This evaluation involves freezing the visual encoder and training a classification head to predict the union of labels for each patch (local probing) or the entire image (global probing) using a binary cross-entropy loss. The experiments are conducted on the MSCOCO dataset (Lin et al., 2014). Following the original setup, we report the macro-averaged recall to account for class imbalances. The results, shown in Table 4, reveal that after alignment with DINOv2, the CLIP visual encoder demonstrates improved localization ability, achieving higher recall for both local and global probing. This enhancement can be attributed to the strong perceptual capabilities of the DINOv2 encoder, which are transferred to CLIP encoder via alignment. Furthermore, the improvements are consistent across different CLIP encoder architectures. While the gains may not be as significant compared to those reported by Covert et al. (2025), their approach disrupts the connection with text representations, leading to a loss of CLIP's zero-shot capability. In contrast, our method enhances performance without compromising the textual alignment.
|
| 176 |
+
|
| 177 |
+
We visualize the attention maps from the penultimate layer of the CLIP visual encoder for several examples in Fig 2.
|
| 178 |
+
|
| 179 |
+
The attention maps are generally similar w/wo alignment, as the regularization term prevents significant changes in the model's weights. However, we still observe that the attention maps after alignment are sharper and highlight more fine-grained features. This indicates that the aligned model is better at capturing details from the input image, resulting in improved localization ability.
|
| 180 |
+
|
| 181 |
+
# 4.3. Improvements on MLLMs
|
| 182 |
+
|
| 183 |
+
We then show that the enhancements in visual representation can be transferred to downstream tasks. Specifically, we replace the vision encoder of several MLLMs with the aligned CLIP encoder and evaluate improvements on relevant benchmarks. The LLM component can either be entirely frozen or fine-tuned. Importantly, our alignment maintains the similarity of visual representations before and after the process, eliminating the need for an additional vision-language alignment step. As a result, fine-tuning can be conducted efficiently using techniques such as LoRA (Hu et al., 2022).
|
| 184 |
+
|
| 185 |
+
Evaluation on LLaVA. We first conduct experiments on LLaVA-1.5-7B (Liu et al., 2024). We utilize diverse benchmarks which comprises of multiple tasks including (1) open-ended visual question answering: VQAv2 (Goyal et al., 2017) and TextVQA (Singh et al., 2019); (2) localization: RefCOCO, RefCOCO+, RefCOCOg (Kazemzadeh et al., 2014; Yu et al., 2016); and (3) closed-set prediction: VSR (Liu et al., 2023), TallyQA (Acharya et al., 2019), POPE (Li et al., 2023b), and AI2D (Kembhavi et al., 2016). We also perform GPT-aided evaluation, LLaVA-bench (Liu et al., 2024). We replace the visual encoder with our aligned version and experiment with both ViT-L-14 and ViT-L-14-336 versions of CLIP encoder. To better illustrate the enhancements, we further fine-tune the LLM component of the models. We skip the feature alignment step and conduct only visual instruction tuning using LoRA. For the training data,
|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
Figure 3. Ablation studies. Average zero-shot accuracy across 11 datasets are reported as evaluation metrics: (a) Effects of training epochs; (b) Effects of the regularization term; (c) Effects of the coefficients of alignment; (d) Effects of different kernel functions.
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
|
| 194 |
+

|
| 195 |
+
|
| 196 |
+
Table 6. Evaluation results on OpenFlamingo across seven vision-language datasets using 0, 4, and 16 in-context examples. The performance can be improved by using the CLIP visual encoder after alignment as the visual encoder, without fine-tuning the LLM part. We report CIDEr for COCO and Flicker-30K, ROC AUC for Hateful Memes, and VQA accuracy for the rest.
|
| 197 |
+
|
| 198 |
+
<table><tr><td>Shots</td><td>Vision Encoder</td><td>COCO</td><td>Flickr-30K</td><td>VQAv2</td><td>OK-VQA</td><td>TextVQA</td><td>VizWiz</td><td>Hateful Memes</td><td>Average</td></tr><tr><td rowspan="2">0</td><td>CLIP</td><td>74.40</td><td>54.15</td><td>43.54</td><td>28.72</td><td>25.42</td><td>17.80</td><td>51.03</td><td>42.15</td></tr><tr><td>+align</td><td>76.01</td><td>54.42</td><td>43.71</td><td>29.04</td><td>25.92</td><td>17.91</td><td>52.86</td><td>42.84</td></tr><tr><td rowspan="2">4</td><td>CLIP</td><td>82.56</td><td>58.72</td><td>45.40</td><td>31.81</td><td>29.03</td><td>23.05</td><td>48.24</td><td>45.54</td></tr><tr><td>+align</td><td>83.95</td><td>60.03</td><td>45.57</td><td>31.82</td><td>29.43</td><td>23.12</td><td>49.22</td><td>46.16</td></tr><tr><td rowspan="2">16</td><td>CLIP</td><td>90.42</td><td>62.68</td><td>45.59</td><td>32.12</td><td>29.83</td><td>35.22</td><td>50.62</td><td>49.45</td></tr><tr><td>+align</td><td>90.89</td><td>63.85</td><td>45.73</td><td>32.43</td><td>30.33</td><td>35.74</td><td>48.85</td><td>49.69</td></tr></table>
|
| 199 |
+
|
| 200 |
+
we utilize the LLaVA-1.5 data mixture (Liu et al., 2024), which contains 665k examples and is the tuning dataset for the original LLaVA. We also report metrics from performing the same fine-tuning on the original model to control for the effects of fine-tuning. The results, shown in Table 5, indicate improvements even when the vision encoder is simply replaced with our aligned version, without fine-tuning the LLM component. This suggests that the alignment lead to improvement while preserving the compatibility of CLIP with the LLM component. The improvements are further amplified when we fine-tune the LLM component, resulting in an average score increase of $1.66\%$ , for model with ViT-L-14-336 as the visual encoder. This is particularly evident in the localization benchmarks, with $3.05\%$ improvement on average. Furthermore, the enhancements cannot be solely attributed to LLM fine-tuning, as fine-tuning LLM alone does not yield such great gains. These experiments demonstrate that our proposed alignment enhances visual capabilities, especially fine-grained perception, and these improvements can be effectively transferred to downstream applications.
|
| 201 |
+
|
| 202 |
+
Evaluation on OpenFlamingo. We extend the evaluation to another popular MLLM, OpenFlamingo (Awadalla et al., 2023). We follow the evaluation pipeline of the original paper, which test the in-context-learning ability of the MLLMs in several VQA benchmarks, including COCO (Chen et al., 2015), Flicker-30K (Young et al., 2014), VQAv2 (Goyal et al., 2017), OK-VQA (Marino et al., 2019), TextVQA (Singh et al., 2019), VizWiz (Gurari et al., 2018),
|
| 203 |
+
|
| 204 |
+
and Hateful Memes (Kiela et al., 2020). For each dataset, we sample a few in-context demonstrations from the training split uniformly at random, and prompt the model to give answers to the test samples. We use the OpenFlamingo-3B (Instruct) version of the model. The results are shown in Table 6. For all experiments, we replace the visual encoder to our aligned version, without fine-tuning the LLM part. We discover the alignment improves most of the metrics, showing the generalization of our proposed framework.
|
| 205 |
+
|
| 206 |
+
# 4.4. Ablation Studies
|
| 207 |
+
|
| 208 |
+
We study the impact of various design choices through ablation studies, focusing on factors such as training epochs, loss function design, and the kernel functions utilized. Zeroshot object recognition accuracy serves as our evaluation metric, with results illustrated in Fig.3. Key takeaways include: (1) the method demonstrates optimal performance with a very short training duration; (2) the regularization term is crucial for preserving visual-language alignment; (3) the performance remains stable regardless of the coefficient $w$ ; and (4) different kernels all contribute positively, with the polynomial kernel yielding the best results. A more comprehensive analysis can be found in Appendix C.7.
|
| 209 |
+
|
| 210 |
+
# 5. Limitations & Conclusion
|
| 211 |
+
|
| 212 |
+
In this study, we introduce a novel kernel-based embedding alignment strategy designed to align two sets of embeddings.
|
| 213 |
+
|
| 214 |
+
Our evaluations on vision-centric tasks and MLLM benchmarks demonstrate that this alignment enhances the visual capabilities of CLIP, with benefits that inherit to downstream applications. Unlike most existing research which enhances the visual encoder but requires re-tuning of the LLM, our approach opens up a new research avenue to facilitate improvements through lightweight adaptation, making these advancements more accessible to a broader community.
|
| 215 |
+
|
| 216 |
+
Due to the lack of computational resources, we align the embedding on a relatively small-scale dataset, and only evaluate the performance on small MLLMs. It can be left as a future work to conduct the fine-tuning on a larger scale datasets (Gadre et al., 2024) and verify the effects on MLLMs with larger size (e.g., 70B). Another limitation is that this work focuses on the alignment between CLIP and DINOv2. There are MLLMs that utilize vision encoders other than CLIP (Chen et al., 2024), and other of vision-centric models (Bao et al., 2022) available. We would extend the current pipeline to help align other embeddings pairs and bring improvements to more MLLMs.
|
| 217 |
+
|
| 218 |
+
# Acknowledgements
|
| 219 |
+
|
| 220 |
+
The work of Farzan Farnia is partially supported by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China, Project 14209920, and is partially supported by CUHK Direct Research Grants with CUHK Project No. 4055164 and 4937054. Also, this work is supported in part by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China (Project No. T45-401/22-N). Finally, the authors would like to thank the anonymous reviewers for their insightful suggestions and feedback.
|
| 221 |
+
|
| 222 |
+
# Impact Statement
|
| 223 |
+
|
| 224 |
+
Our work enhances the capabilities of multi-modal large language models by improving visual perception through the alignment of visual representations. As shown in the experiments, we improve the performance on both general-purpose computer vision benchmarks and domain-specific applications including remote sensing and medical diagnosis. Therefore, Our method has the potential to significantly advance applications in areas such as autonomous systems and assistive technologies. This progress can lead to more accurate and context-aware AI systems, ultimately benefiting industries like healthcare, transportation, and education.
|
| 225 |
+
|
| 226 |
+
# References
|
| 227 |
+
|
| 228 |
+
Acharya, M., Kafle, K., and Kanan, C. Tallyqa: Answering complex counting questions. In Proceedings of the AAAI conference on artificial intelligence, volume 33, pp. 8076-
|
| 229 |
+
|
| 230 |
+
8084, 2019.
|
| 231 |
+
Allen-Zhu, Z. and Li, Y. Towards understanding ensemble, knowledge distillation and self-distillation in deep learning. arXiv preprint arXiv:2012.09816, 2020.
|
| 232 |
+
An, X., Yang, K., Dai, X., Feng, Z., and Deng, J. Multi-label cluster discrimination for visual representation learning. In European Conference on Computer Vision, pp. 428-444. Springer, 2024.
|
| 233 |
+
Awadalla, A., Gao, I., Gardner, J., Hessel, J., Hanafy, Y., Zhu, W., Marathe, K., Bitton, Y., Gadre, S., Sagawa, S., Jitsev, J., Kornblith, S., Koh, P. W., Ilharco, G., Wortman, M., and Schmidt, L. Openflamingo: An opensource framework for training large autoregressive vision-language models. arXiv preprint arXiv:2308.01390, 2023.
|
| 234 |
+
Bai, J., Bai, S., Yang, S., Wang, S., Tan, S., Wang, P., Lin, J., Zhou, C., and Zhou, J. Qwen-vl: A versatile vision-language model for understanding, localization, text reading, and beyond. arXiv preprint arXiv:2308.12966, 1(2): 3, 2023.
|
| 235 |
+
Bao, H., Dong, L., Piao, S., and Wei, F. BEit: BERT pretraining of image transformers. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=p-BhZSz59o4.
|
| 236 |
+
Binkowski, M., Sutherland, D. J., Arbel, M., and Gretton, A. Demystifying mmd gans. arXiv preprint arXiv:1801.01401, 2018.
|
| 237 |
+
Cao, Q., Xu, Z., Chen, Y., Ma, C., and Yang, X. Domain prompt learning with quaternion networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 26637-26646, 2024.
|
| 238 |
+
Caron, M., Touvron, H., Misra, I., Jégou, H., Mairal, J., Bojanowski, P., and Joulin, A. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 9650-9660, 2021.
|
| 239 |
+
Chen, X., Fang, H., Lin, T.-Y., Vedantam, R., Gupta, S., Dollar, P., and Zitnick, C. L. Microsoft coco captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015.
|
| 240 |
+
Chen, Z., Wu, J., Wang, W., Su, W., Chen, G., Xing, S., Zhong, M., Zhang, Q., Zhu, X., Lu, L., et al. Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 24185-24198, 2024.
|
| 241 |
+
|
| 242 |
+
Cheng, G., Han, J., and Lu, X. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865-1883, 2017.
|
| 243 |
+
Cimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., and Vedaldi, A. Describing textures in the wild. In Proceedings of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2014.
|
| 244 |
+
Covert, I., Sun, T., Zou, J., and Hashimoto, T. Locality alignment improves vision-language models. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=qssVptHTPN.
|
| 245 |
+
Darcet, T., Oquab, M., Mairal, J., and Bojanowski, P. Vision transformers need registers. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=2dnO3LLiJ1.
|
| 246 |
+
Dehdashtian, S., Wang, L., and Boddeti, V. N. Fairerclip: Debiasing clip's zero-shot predictions using functions in rkhss. arXiv preprint arXiv:2403.15593, 2024.
|
| 247 |
+
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248-255. IEEE, 2009.
|
| 248 |
+
Fang, A., Jose, A. M., Jain, A., Schmidt, L., Toshev, A., and Shankar, V. Data filtering networks. arXiv preprint arXiv:2309.17425, 2023.
|
| 249 |
+
Fei-Fei, L., Fergus, R., and Perona, P. Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories. Computer Vision and Pattern Recognition Workshop, 2004.
|
| 250 |
+
Friedman, D. and Dieng, A. B. The vendi score: A diversity evaluation metric for machine learning. arXiv preprint arXiv:2210.02410, 2022.
|
| 251 |
+
Gadre, S. Y., Ilharco, G., Fang, A., Hayase, J., Smyrnis, G., Nguyen, T., Marten, R., Wortzman, M., Ghosh, D., Zhang, J., et al. Datacomp: In search of the next generation of multimodal datasets. Advances in Neural Information Processing Systems, 36, 2024.
|
| 252 |
+
Gao, P., Geng, S., Zhang, R., Ma, T., Fang, R., Zhang, Y., Li, H., and Qiao, Y. Clip-adapter: Better vision-language models with feature adapters. International Journal of Computer Vision, 132(2):581-595, 2024.
|
| 253 |
+
Gong, S., Zhong, Y., Ma, W., Li, J., Wang, Z., Zhang, J., Heng, P.-A., and Dou, Q. 3dsam-adapter: Holistic adaptation of sam from 2d to 3d for promptable tumor segmentation. Medical Image Analysis, 98:103324, 2024.
|
| 254 |
+
|
| 255 |
+
Gong, S., Lei, H., Dou, Q., and Farnia, F. Boosting the visual interpretability of clip via adversarial fine-tuning. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=kuIvzxPRp.
|
| 256 |
+
Goodfellow, I. J., Erhan, D., Carrier, P. L., Courville, A., Mirza, M., Hammer, B., Cukierski, W., Tang, Y., Thaler, D., Lee, D.-H., et al. Challenges in representation learning: A report on three machine learning contests. In Neural information processing: 20th international conference, ICONIP 2013, daegu, korea, november 3-7, 2013. Proceedings, Part III 20, pp. 117-124. Springer, 2013.
|
| 257 |
+
Goyal, Y., Khot, T., Summers-Stay, D., Batra, D., and Parikh, D. Making the v in vqa matter: Elevating the role of image understanding in visual question answering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 6904-6913, 2017.
|
| 258 |
+
Gross, D. Recovering low-rank matrices from few coefficients in any basis. IEEE Transactions on Information Theory, 57(3):1548-1566, 2011.
|
| 259 |
+
Guo, Z., Xu, R., Yao, Y., Cui, J., Ni, Z., Ge, C., Chua, T.-S., Liu, Z., and Huang, G. Llava-uhd: an lmm perceiving any aspect ratio and high-resolution images. In European Conference on Computer Vision, pp. 390-406. Springer, 2024.
|
| 260 |
+
Gurari, D., Li, Q., Stangl, A. J., Guo, A., Lin, C., Grauman, K., Luo, J., and Bigham, J. P. Vizwiz grand challenge: Answering visual questions from blind people. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3608-3617, 2018.
|
| 261 |
+
He, B. and Ozay, M. Feature kernel distillation. In International Conference on Learning Representations, 2022.
|
| 262 |
+
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.
|
| 263 |
+
Helber, P., Bischke, B., Dengel, A., and Borth, D. Introducing eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. In IGARSS 2018-2018 IEEE International Geoscience and Remote Sensing Symposium, pp. 204-207. IEEE, 2018.
|
| 264 |
+
Hendrycks, D., Zhao, K., Basart, S., Steinhardt, J., and Song, D. Natural adversarial examples. CVPR, 2021.
|
| 265 |
+
Hoeffding, W. Probability inequalities for sums of bounded random variables. The collected works of Wassily Hoeffding, pp. 409-426, 1994.
|
| 266 |
+
|
| 267 |
+
Hofmann, T., Scholkopf, B., and Smola, A. J. Kernel methods in machine learning. 2008.
|
| 268 |
+
Hu, E. J., yelong shen, 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, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
|
| 269 |
+
Jalali, M., Li, C. T., and Farnia, F. An information-theoretic evaluation of generative models in learning multi-modal distributions. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.
|
| 270 |
+
Jalali, M., Li, C. T., and Farnia, F. An information-theoretic evaluation of generative models in learning multi-modal distributions. Advances in Neural Information Processing Systems, 36, 2024.
|
| 271 |
+
Jiang, D., Liu, Y., Liu, S., Zhao, J., Zhang, H., Gao, Z., Zhang, X., Li, J., and Xiong, H. From clip to dino: Visual encoders shout in multi-modal large language models. arXiv preprint arXiv:2310.08825, 2023.
|
| 272 |
+
Johnson, J., Hariharan, B., Van Der Maaten, L., Fei-Fei, L., Lawrence Zitnick, C., and Girshick, R. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2901-2910, 2017.
|
| 273 |
+
Kamath, A., Hessel, J., and Chang, K.-W. What's "up" with vision-language models? investigating their struggle with spatial reasoning. In The 2023 Conference on Empirical Methods in Natural Language Processing, 2023. URL https://openreview.net/forum?id=RN5KLlywT11.
|
| 274 |
+
Kang, M., Shin, J., and Park, J. Studiogan: A taxonomy and benchmark of gans for image synthesis. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(12):15725-15742, 2023. doi: 10.1109/TPAMI.2023.3306436.
|
| 275 |
+
Kazemzadeh, S., Ordonez, V., Matten, M., and Berg, T. Referitgame: Referring to objects in photographs of natural scenes. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 787-798, 2014.
|
| 276 |
+
Kembhavi, A., Salvato, M., Kolve, E., Seo, M., Hajishirzi, H., and Farhadi, A. A diagram is worth a dozen images. In Computer Vision-ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part IV 14, pp. 235-251. Springer, 2016.
|
| 277 |
+
|
| 278 |
+
Kiela, D., Firooz, H., Mohan, A., Goswami, V., Singh, A., Ringshia, P., and Testuggine, D. The hateful memes challenge: Detecting hate speech in multimodal memes. Advances in neural information processing systems, 33: 2611-2624, 2020.
|
| 279 |
+
Kohler, J. M. and Lucchi, A. Sub-sampled cubic regularization for non-convex optimization. In International Conference on Machine Learning, pp. 1895-1904. PMLR, 2017.
|
| 280 |
+
Krizhevsky, A., Hinton, G., et al. Learning multiple layers of features from tiny images. 2009.
|
| 281 |
+
LAION-AI. Clip benchmark: Clip-like model evaluation, 2022. URL https://github.com/LAION-AI/CLIP_benchmark.
|
| 282 |
+
Li, J., Li, D., Savarese, S., and Hoi, S. Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In International conference on machine learning, pp. 19730-19742. PMLR, 2023a.
|
| 283 |
+
Li, X., Grandvalet, Y., Davoine, F., Cheng, J., Cui, Y., Zhang, H., Belongie, S., Tsai, Y.-H., and Yang, M.-H. Transfer learning in computer vision tasks: Remember where you come from. Image and Vision Computing, 93: 103853, 2020.
|
| 284 |
+
Li, Y., Du, Y., Zhou, K., Wang, J., Zhao, X., and Wen, J.-R. Evaluating object hallucination in large vision-language models. In The 2023 Conference on Empirical Methods in Natural Language Processing, 2023b. URL https://openreview.net/forum?id=xozJw0kZXF.
|
| 285 |
+
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C. L. Microsoft coco: Common objects in context. In Computer Vision-ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13, pp. 740-755. Springer, 2014.
|
| 286 |
+
Liu, F., Emerson, G., and Collier, N. Visual spatial reasoning. Transactions of the Association for Computational Linguistics, 11:635-651, 2023.
|
| 287 |
+
Liu, H., Li, C., Wu, Q., and Lee, Y. J. Visual instruction tuning. Advances in neural information processing systems, 36, 2024.
|
| 288 |
+
Loshchilov, I. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
|
| 289 |
+
Mao, C., Geng, S., Yang, J., Wang, X., and Vondrick, C. Understanding zero-shot adversarial robustness for large-scale models. arXiv preprint arXiv:2212.07016, 2022.
|
| 290 |
+
|
| 291 |
+
Marino, K., Rastegari, M., Farhadi, A., and Mottaghi, R. Ok-vqa: A visual question answering benchmark requiring external knowledge. In Proceedings of the IEEE/cvf conference on computer vision and pattern recognition, pp. 3195-3204, 2019.
|
| 292 |
+
Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., Ng, A. Y., et al. Reading digits in natural images with unsupervised feature learning. In NIPS workshop on deep learning and unsupervised feature learning, volume 2011, pp. 4. Granada, 2011.
|
| 293 |
+
Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., et al. Dinov2: Learning robust visual features without supervision. Transactions on Machine Learning Research Journal, pp. 1-31, 2024.
|
| 294 |
+
Ospanov, A. and Farnia, F. On the statistical complexity of estimating vendi scores from empirical data. arXiv preprint arXiv:2410.21719, 2024.
|
| 295 |
+
Ospanov, A., Jalali, M., and Farnia, F. Dissecting clip: Decomposition with a schur complement-based approach. arXiv preprint arXiv:2412.18645, 2024a.
|
| 296 |
+
Ospanov, A., Zhang, J., Jalali, M., Cao, X., Bogdanov, A., and Farnia, F. Towards a scalable reference-free evaluation of generative models. Advances in Neural Information Processing Systems, 37:120892-120927, 2024b.
|
| 297 |
+
Parkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar, C. V. Cats and dogs. In IEEE Conference on Computer Vision and Pattern Recognition, 2012.
|
| 298 |
+
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. PMLR, 2021.
|
| 299 |
+
Ranzinger, M., Heinrich, G., Kautz, J., and Molchanov, P. Am-radio: Agglomerative vision foundation model reduce all domains into one. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12490-12500, 2024.
|
| 300 |
+
Rezaei, P., Farnia, F., and Li, C. T. Be more diverse than the most diverse: Online selection of diverse mixtures of generative models. arXiv preprint arXiv:2412.17622, 2024.
|
| 301 |
+
Saha, O., Van Horn, G., and Maji, S. Improved zero-shot classification by adapting vlms with text descriptions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17542-17552, 2024.
|
| 302 |
+
|
| 303 |
+
Salehi, M., Farajtabar, M., Horton, M., Faghri, F., Pouransari, H., Vemulapalli, R., Tuzel, O., Farhadi, A., Rastegari, M., and Mehta, S. Clip meets model zoo experts: Pseudo-supervision for visual enhancement. arXiv preprint arXiv:2310.14108, 2023.
|
| 304 |
+
Schlarmann, C., Singh, N. D., Croce, F., and Hein, M. Robust clip: Unsupervised adversarial fine-tuning of vision embeddings for robust large vision-language models. arXiv preprint arXiv:2402.12336, 2024.
|
| 305 |
+
Shen, L., Chen, G., Shao, R., Guan, W., and Nie, L. Mome: Mixture of multimodal experts for generalist multimodal large language models. arXiv preprint arXiv:2407.12709, 2024.
|
| 306 |
+
Shen, X., Du, C., Pang, T., Lin, M., Wong, Y., and Kankanhalli, M. Finetuning text-to-image diffusion models for fairness. arXiv preprint arXiv:2311.07604, 2023.
|
| 307 |
+
Shi, M., Liu, F., Wang, S., Liao, S., Radhakrishnan, S., Huang, D.-A., Yin, H., Sapra, K., Yacoob, Y., Shi, H., et al. Eagle: Exploring the design space for multimodal llms with mixture of encoders. arXiv preprint arXiv:2408.15998, 2024.
|
| 308 |
+
Singh, A., Natarajan, V., Shah, M., Jiang, Y., Chen, X., Batra, D., Parikh, D., and Rohrbach, M. Towards vqa models that can read. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 8317-8326, 2019.
|
| 309 |
+
Stallkamp, J., Schlipsing, M., Salmen, J., and Igel, C. Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition. Neural networks, 32: 323-332, 2012.
|
| 310 |
+
Stein, G., Cresswell, J., Hosseinzadeh, R., Sui, Y., Ross, B., Villecloze, V., Liu, Z., Caterini, A. L., Taylor, E., and Loaiza-Ganem, G. Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion models. Advances in Neural Information Processing Systems, 36:3732-3784, 2023.
|
| 311 |
+
Sun, Q., Fang, Y., Wu, L., Wang, X., and Cao, Y. Evaclip: Improved training techniques for clip at scale. arXiv preprint arXiv:2303.15389, 2023.
|
| 312 |
+
Thrush, T., Jiang, R., Bartolo, M., Singh, A., Williams, A., Kiela, D., and Ross, C. Winoground: Probing vision and language models for visio-linguistic compositionality. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5238-5248, June 2022.
|
| 313 |
+
Tong, S., Liu, Z., Zhai, Y., Ma, Y., LeCun, Y., and Xie, S. Eyes wide shut? exploring the visual shortcomings of multimodal llms. In Proceedings of the IEEE/CVF
|
| 314 |
+
|
| 315 |
+
Conference on Computer Vision and Pattern Recognition, pp. 9568-9578, 2024.
|
| 316 |
+
Veeling, B. S., Linmans, J., Winkens, J., Cohen, T., and Welling, M. Rotation equivariant CNNs for digital pathology. June 2018.
|
| 317 |
+
Vidit, V., Engilberge, M., and Salzmann, M. Clip the gap: A single domain generalization approach for object detection. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 3219-3229, 2023.
|
| 318 |
+
Wan, B., Tschannen, M., Xian, Y., Pavetic, F., Alab-dulmohsin, I., Wang, X., Pinto, A. S., Steiner, A. P., Beyer, L., and Zhai, X. Locca: Visual pretraining with location-aware captioners. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=jfHkAEgKwH.
|
| 319 |
+
Wang, H., Ge, S., Lipton, Z., and Xing, E. P. Learning robust global representations by penalizing local predictive power. Advances in Neural Information Processing Systems, 32, 2019.
|
| 320 |
+
Wang, W., Sun, Q., Zhang, F., Tang, Y., Liu, J., and Wang, X. Diffusion feedback helps clip see better. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id $\equiv$ tLFWU6izoA.
|
| 321 |
+
Wu, S., Zhang, W., Xu, L., Jin, S., Li, X., Liu, W., and Loy, C. C. Clipself: Vision transformer distills itself for open-vocabulary dense prediction. arXiv preprint arXiv:2310.01403, 2023.
|
| 322 |
+
Xu, H., Xie, S., Tan, X., Huang, P.-Y., Howes, R., Sharma, V., Li, S.-W., Ghosh, G., Zettlemoyer, L., and Feichtenhofer, C. Demystifying CLIP data. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=5BCF1nfE1g.
|
| 323 |
+
Xuhong, L., Grandvalet, Y., and Davoine, F. Explicit inductive bias for transfer learning with convolutional networks. In International conference on machine learning, pp. 2825-2834. PMLR, 2018.
|
| 324 |
+
Young, P., Lai, A., Hodosh, M., and Hockenmaier, J. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the Association for Computational Linguistics, 2:67-78, 2014.
|
| 325 |
+
Yu, L., Poirson, P., Yang, S., Berg, A. C., and Berg, T. L. Modeling context in referring expressions. In Computer
|
| 326 |
+
|
| 327 |
+
Vision-ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part II 14, pp. 69-85. Springer, 2016.
|
| 328 |
+
Yu, Q., He, J., Deng, X., Shen, X., and Chen, L.-C. Convolutions die hard: Open-vocabulary segmentation with single frozen convolutional clip. Advances in Neural Information Processing Systems, 36:32215-32234, 2023.
|
| 329 |
+
Yuksekgonul, M., Bianchi, F., Kalluri, P., Jurafsky, D., and Zou, J. When and why vision-language models behave like bags-of-words, and what to do about it? In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=KRLUvxh8uaX.
|
| 330 |
+
Zhai, X., Mustafa, B., Kolesnikov, A., and Beyer, L. Sigmoid loss for language image pre-training. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 11975-11986, 2023.
|
| 331 |
+
Zhang, J., Jalali, M., Li, C. T., and Farnia, F. Identification of novel modes in generative models via fourier-based differential clustering, 2024a. URL https://arxiv.org/abs/2405.02700.
|
| 332 |
+
Zhang, J., Li, C. T., and Farnia, F. An interpretable evaluation of entropy-based novelty of generative models. arXiv preprint arXiv:2402.17287, 2024b.
|
| 333 |
+
Zhang, R., Zhang, W., Fang, R., Gao, P., Li, K., Dai, J., Qiao, Y., and Li, H. Tip-adapter: Training-free adaption of clip for few-shot classification. In European conference on computer vision, pp. 493-510. Springer, 2022.
|
| 334 |
+
Zhong, Y., Yang, J., Zhang, P., Li, C., Codella, N., Li, L. H., Zhou, L., Dai, X., Yuan, L., Li, Y., et al. Regionclip: Region-based language-image pretraining. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 16793-16803, 2022.
|
| 335 |
+
Zhou, K., Yang, J., Loy, C. C., and Liu, Z. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337-2348, 2022.
|
| 336 |
+
Zhou, Z., Shen, Y., Shao, S., Gong, L., and Lin, S. Rethinking centered kernel alignment in knowledge distillation. arXiv preprint arXiv:2401.11824, 2024.
|
| 337 |
+
|
| 338 |
+
# A. Proofs of Propositions
|
| 339 |
+
|
| 340 |
+
# A.1. Proof of Proposition 3.1.
|
| 341 |
+
|
| 342 |
+
This is a conclusion derived from Vector Bernstein Inequality (Gross, 2011; Kohler & Lucchi, 2017), which shows that if $X_{1}, \dots, X_{M}$ are independent vector-valued random variables with common dimension $d$ and that each one is centered, uniformly bounded and also the variance is bounded above:
|
| 343 |
+
|
| 344 |
+
$$
|
| 345 |
+
\mathbb {E} \left[ x _ {m} \right] = 0 \text {a n d} \| X _ {m} \| _ {2} \leq \mu \text {a s w e l l a s} \mathbb {E} \left[ \| X _ {m} \| ^ {2} \right] \leq \sigma^ {2}. \tag {7}
|
| 346 |
+
$$
|
| 347 |
+
|
| 348 |
+
Let
|
| 349 |
+
|
| 350 |
+
$$
|
| 351 |
+
Z = \frac {1}{M} \sum_ {m = 1} ^ {M} X _ {m}, \tag {8}
|
| 352 |
+
$$
|
| 353 |
+
|
| 354 |
+
then we have for $0 < \epsilon < \sigma^2 /\mu$
|
| 355 |
+
|
| 356 |
+
$$
|
| 357 |
+
P \left(\| Z \| _ {2} \geq \epsilon\right) \leq \exp \left(- \frac {M \epsilon^ {2}}{8 \sigma^ {2}} + \frac {1}{4}\right). \tag {9}
|
| 358 |
+
$$
|
| 359 |
+
|
| 360 |
+
By plugging in $X_{m}$ with $t(\theta ;I_{m_1},I_{m_2}) - \mathbb{E}[t(\theta)]$ , we have
|
| 361 |
+
|
| 362 |
+
$$
|
| 363 |
+
\underset {I _ {m _ {1}}, I _ {m _ {2}} \sim \mathcal {D} _ {\mathrm {d a t a}}} {\mathbb {E}} [ t (\theta ; I _ {m _ {1}}, I _ {m _ {2}}) ] - \mathbb {E} [ t (\theta) ] = 0, \tag {10}
|
| 364 |
+
$$
|
| 365 |
+
|
| 366 |
+
$$
|
| 367 |
+
\left\| t \left(\theta ; I _ {m _ {1}}, I _ {m _ {2}}\right) - \mathbb {E} [ t (\theta) ] \right\| _ {2} \leq 8 L, \tag {11}
|
| 368 |
+
$$
|
| 369 |
+
|
| 370 |
+
$$
|
| 371 |
+
\mathbb {E} [ \| t (\theta ; I _ {m _ {1}}, I _ {m _ {2}}) - \mathbb {E} [ t (\theta) ] \| _ {2} ^ {2} ] \leq 6 4 L ^ {2}. \tag {12}
|
| 372 |
+
$$
|
| 373 |
+
|
| 374 |
+
Therefore, we have:
|
| 375 |
+
|
| 376 |
+
$$
|
| 377 |
+
P \left(\left\| \frac {1}{M} \sum_ {m = 1} ^ {M} t \left(\theta ; I _ {m _ {1}}, I _ {m _ {2}}\right) - \mathbb {E} [ t (\theta) ] \right\| _ {2} \geq \epsilon\right) \leq \exp \left(- \frac {M \epsilon^ {2}}{5 1 2 L ^ {2}} + \frac {1}{4}\right). \tag {13}
|
| 378 |
+
$$
|
| 379 |
+
|
| 380 |
+
# A.2. Proof of Proposition 3.2.
|
| 381 |
+
|
| 382 |
+
The proposition and the proof are adapted from (Schlarmann et al., 2024). We have
|
| 383 |
+
|
| 384 |
+
$$
|
| 385 |
+
\left| \cos \left(f _ {\theta_ {0}} (I), g (T)\right) - \cos \left(f _ {\theta} (I), g (T)\right) \right| = \left| \left\langle \frac {g (T)}{\| g (T) \| _ {2}}, \frac {f _ {\theta_ {0}} (I)}{\| f _ {\theta_ {0}} (I) \| _ {2}} - \frac {f _ {\theta} (I)}{\| f _ {\theta} (I) \| _ {2}} \right\rangle \right| \leq \left\| \frac {f _ {\theta_ {0}} (I)}{\| f _ {\theta_ {0}} (I) \| _ {2}} - \frac {f _ {\theta} (I)}{\| f _ {\theta} (I) \| _ {2}} \right\| _ {2}.
|
| 386 |
+
$$
|
| 387 |
+
|
| 388 |
+
For which we can get the two upper bounds:
|
| 389 |
+
|
| 390 |
+
$$
|
| 391 |
+
\left\| \frac {f _ {\theta_ {0}} (I)}{\| f _ {\theta_ {0}} (I) \| _ {2}} - \frac {f _ {\theta} (I)}{\| f _ {\theta} (I) \| _ {2}} \right\| _ {2} \leq \frac {1}{\| f _ {\theta} (I) \| _ {2}} \left[ \| f _ {\theta} (I) \| _ {2} - \| f _ {\theta_ {0}} (I) \| _ {2} \right] + \| f _ {\theta_ {0}} (I) - f _ {\theta} (I) \| _ {2}, \tag {14}
|
| 392 |
+
$$
|
| 393 |
+
|
| 394 |
+
$$
|
| 395 |
+
\left\| \frac {f _ {\theta_ {0}} (I)}{\| f _ {\theta_ {0}} (I) \| _ {2}} - \frac {f _ {\theta} (I)}{\| f _ {\theta} (I) \| _ {2}} \right\| _ {2} \leq \frac {1}{\| f _ {\theta_ {0}} (I) \| _ {2}} \left[ \| f _ {\theta} (I) \| _ {2} - \| f _ {\theta_ {0}} (I) \| _ {2} \right] + \| f _ {\theta_ {0}} (I) - f _ {\theta} (I) \| _ {2}. \tag {15}
|
| 396 |
+
$$
|
| 397 |
+
|
| 398 |
+
According the triangle inequality:
|
| 399 |
+
|
| 400 |
+
$$
|
| 401 |
+
\left| \left| \right| f _ {\theta_ {0}} (I) \right| _ {2} - \left| \left| \right| f _ {\theta} (I) \right| _ {2} | \leq \left| \left| \right| f _ {\theta_ {0}} (I) - f _ {\theta} (I) \right| _ {2}, \tag {16}
|
| 402 |
+
$$
|
| 403 |
+
|
| 404 |
+
therefore, the upper bound holds:
|
| 405 |
+
|
| 406 |
+
$$
|
| 407 |
+
\left| \cos \left(f _ {\theta_ {0}} (I), g (T)\right) - \cos \left(f _ {\theta} (I), g (T)\right) \right| \leq \min \left(\frac {2}{\| f _ {\theta} (I) \| _ {2}}, \frac {2}{\| f _ {\theta_ {0}} (I) \| _ {2}}\right) \| f _ {\theta_ {0}} (I) - f _ {\theta} (I) \| _ {2}. \tag {17}
|
| 408 |
+
$$
|
| 409 |
+
|
| 410 |
+
Remarks. This proposition demonstrates that minimizing the $L_{2}$ distance between the visual representations before and after the alignment fine-tuning help directly preserve the visual-text alignment. This is different from previous work such as Xuhong et al. (2018); Li et al. (2020), which penalizes the $L_{2}$ -norm of parameter changes during the fine-tuning phase. While their method effectively prevents overfitting to the target domain in transfer learning, our direct feature-based penalty measure aims to maintain zero-shot compatibility while enhancing fine-grained visual capabilities.
|
| 411 |
+
|
| 412 |
+
# B. More Implementation Details
|
| 413 |
+
|
| 414 |
+
# B.1. Hyper-parameters Setup.
|
| 415 |
+
|
| 416 |
+
Here we provide more information on the implementation details. Specifically, the hyper-parameters used for the alignment fine-tuning is listed in Table 7. All the experiments are conducted on NVIDIA GeForce RTX 4090 GPUs.
|
| 417 |
+
|
| 418 |
+
Table 7. Detailed hyper-parameter setups.
|
| 419 |
+
|
| 420 |
+
<table><tr><td>Hyper-parameters</td><td>ViT-B-16</td><td>ViT-L-14</td><td>ViT-L-14-336</td></tr><tr><td>coefficient w</td><td>0.5</td><td>0.5</td><td>1.0</td></tr><tr><td>number of GPUs</td><td>2</td><td>2</td><td>4</td></tr><tr><td>batch size</td><td>128</td><td>64</td><td>32</td></tr><tr><td>training epochs</td><td>2</td><td>2</td><td>4</td></tr><tr><td>optimizer</td><td colspan="3">AdamW (Loshchilov, 2017)</td></tr><tr><td>weight decay</td><td colspan="3">1e-4</td></tr><tr><td>β</td><td colspan="3">(0.9, 0.999)</td></tr><tr><td>learning rate</td><td colspan="3">1e-5</td></tr><tr><td>Scheduler</td><td colspan="3">CosineAnnealingLR</td></tr><tr><td>warm-up steps</td><td>1400</td><td>2800</td><td>5600</td></tr></table>
|
| 421 |
+
|
| 422 |
+
# B.2. Illustration on Feature-based Alignment.
|
| 423 |
+
|
| 424 |
+
A vanilla way to align the CLIP embedding $f_{\theta}(I_i)$ with the embedding of the target model $g(I_i)$ is to minimize the $L_2$ distance between $f_{\theta}(I_i)$ and $g(I_i)$ subject to a linear transformation $\mathbf{R} \in \mathbb{R}^{d \times d'}$ :
|
| 425 |
+
|
| 426 |
+
$$
|
| 427 |
+
\min _ {\theta , \mathbf {R}} \underset {I _ {i} \sim \mathcal {D} _ {\text {t r a i n}}} {\mathbb {E}} [ w \| f _ {\theta} (I _ {i}) - \mathbf {R} g (I _ {i}) \| _ {2} ^ {2} + \| f _ {\theta} (I _ {i}) - f _ {\theta_ {0}} (I _ {i}) \| _ {2} ^ {2} ]. \tag {18}
|
| 428 |
+
$$
|
| 429 |
+
|
| 430 |
+
We call this method feature-based embedding alignment. This approach also makes sense and leads to certain improvements compared with the original visual embeddings of CLIP. However, the representation space of CLIP and the target model often vary significantly, which can hardly be adjusted via linear transformation. As a result, it is an sub-optimal solution. On the contrary, our kernel-based embedding alignment provides a more flexible solution. Firstly, comparing with absolute position within the feature space, the relative position among samples is more important. We would like the embeddings of two samples with similar visual characteristics to be close to each other. Using kernel function as supervision can directive promote this effects. Secondly, kernel function measures the similarity in the high-dimensional kernel space. Alignment of embeddings within the kernel space will not lead to drastic changes of the embeddings in the original feature space, making the image embeddings after alignment still compatible with text encoder and downstream modules. Moreover, our kernel-based alignment can actually be interpreted as aligning the representations in the kernel space. The feature transformation $\phi$ for common kernels are usually non-linear. It renders more flexibility compared to the feature-based alignment which only use linear transformation.
|
| 431 |
+
|
| 432 |
+
# B.3. Implementation Details for LLM's Fine-tuning.
|
| 433 |
+
|
| 434 |
+
In this section, we elaborate on the implementation details of the LLM fine-tuning of LLaVA, which we used to further demonstrate the enhancement of the vision encoder with alignment. We employ the official implementation from LLaVA for LoRA fine-tuning. The training is conducted on a mixture of LLaVA-1.5 data for one epoch, using the following LoRA configuration: $r = 128$ and $\alpha = 256$ . The training is executed in bf16 format across four NVIDIA GeForce RTX 4090 GPUs, with a batch size of 1 per device. To address the small batch size, we apply a gradient accumulation step of 32. The optimizer used is AdamW (Loshchilov, 2017), set with a learning rate of 2e-4 and a weight decay of 0.
|
| 435 |
+
|
| 436 |
+
# C. Additional Experimental Results
|
| 437 |
+
|
| 438 |
+
# C.1. Loss Curve for the Alignment Term.
|
| 439 |
+
|
| 440 |
+
We visualize the alignment loss (with moving average smoothing) during the fine-tuning phase in Fig. 4. We discover the loss term is stably decreasing during the fine-tuning phase, showing that the alignment term is indeed effectively optimized to improve the similarity between CLIP and DINOv2 representations.
|
| 441 |
+
|
| 442 |
+

|
| 443 |
+
Figure 4. Visualization of the alignment loss curve. The alignment loss is stably decreasing during the alignment fine-tuning phase.
|
| 444 |
+
|
| 445 |
+
# C.2. Results for VLMs other than CLIP.
|
| 446 |
+
|
| 447 |
+
To evaluate the generalization of our proposed framework, we conducted experiments on three additional models that feature an intermediate embedding layer connecting modalities, but with implementations distinct from CLIP: SigLIP (Zhai et al., 2023), DFN (Fang et al., 2023), and MetaCLIP (Xu et al., 2024). For all the VLMs, we utilized the ViT-L-14 version, maintaining the same implementation details as those for CLIP ViT-L-14. We assessed zero-shot accuracy across 12 datasets as our evaluation metric, with results presented in Table 8. The findings indicate that our alignment fine-tuning enhances zero-shot performance for all three models, yielding average increases of $0.45\%$ , $0.48\%$ , and $0.87\%$ respectively. These results highlight the generalizability of our framework, demonstrating that the alignment is applicable to VLMs beyond CLIP. Despite ongoing advancements in CLIP research, our proposed alignment remains adaptable and beneficial for these more advanced VLMs.
|
| 448 |
+
|
| 449 |
+
Table 8. Accuracy evaluation on zero-shot image classification benchmarks of vision-language models w/wo alignment. We experiments with ViT-L-14 version of SigLIP (Zhai et al., 2023), DFN (Fang et al., 2023), and MetaCLIP (Xu et al., 2024).
|
| 450 |
+
|
| 451 |
+
<table><tr><td rowspan="2">Vision Encoder</td><td rowspan="2">ImageNet</td><td colspan="11">Zero-shot Datasets</td><td rowspan="2">Average Zero-shot</td></tr><tr><td>CIFAR10</td><td>CIFAR100</td><td>CaTech</td><td>FER</td><td>OxfordPets</td><td>DTD</td><td>RESISC</td><td>EuroSAT</td><td>PCAM</td><td>ImageNet-S</td><td>ImageNet-O</td></tr><tr><td>SigLip</td><td>82.02</td><td>96.87</td><td>84.27</td><td>86.01</td><td>49.90</td><td>95.31</td><td>71.06</td><td>72.59</td><td>62.65</td><td>50.55</td><td>74.02</td><td>29.60</td><td>70.26</td></tr><tr><td>+align</td><td>82.18</td><td>96.88</td><td>84.89</td><td>86.11</td><td>49.16</td><td>95.42</td><td>71.06</td><td>72.84</td><td>65.54</td><td>50.11</td><td>73.92</td><td>31.90</td><td>70.71</td></tr><tr><td>DFN</td><td>81.50</td><td>98.32</td><td>88.15</td><td>85.57</td><td>42.70</td><td>95.58</td><td>66.06</td><td>73.25</td><td>64.94</td><td>63.18</td><td>68.33</td><td>39.30</td><td>71.40</td></tr><tr><td>+align</td><td>81.28</td><td>98.12</td><td>87.82</td><td>85.49</td><td>44.27</td><td>95.39</td><td>66.70</td><td>73.76</td><td>65.44</td><td>62.90</td><td>68.40</td><td>42.35</td><td>71.88</td></tr><tr><td>MetaCLIP</td><td>75.58</td><td>95.67</td><td>77.72</td><td>85.74</td><td>37.96</td><td>93.81</td><td>62.34</td><td>68.52</td><td>60.41</td><td>70.35</td><td>65.05</td><td>28.90</td><td>67.86</td></tr><tr><td>+align</td><td>76.60</td><td>96.42</td><td>80.11</td><td>85.49</td><td>40.39</td><td>93.68</td><td>62.82</td><td>69.25</td><td>60.35</td><td>69.76</td><td>65.12</td><td>32.65</td><td>68.73</td></tr></table>
|
| 452 |
+
|
| 453 |
+
# C.3. Results for Other Target Models.
|
| 454 |
+
|
| 455 |
+
We also investigate the potential of replacing DINOv2 with alternative vision encoders to demonstrate the flexibility of our proposed framework. Specifically, we employed MLCD (An et al., 2024) as the target model, with results displayed in Table 9. The findings suggest that switching the target model from DINOv2 to other vision encoders can lead to significant improvements, highlighting the generalizability of our framework. As vision-centric self-supervised learning progresses and larger image datasets are developed, we expect to see the emergence of even more powerful vision encoders in the future. Our research establishes a foundation for utilizing these advanced encoders to enhance the performance of vision-language models and potentially benefit downstream MLLMs.
|
| 456 |
+
|
| 457 |
+
Table 9. Accuracy evaluation on zero-shot image classification benchmarks of CLIP models w/wo alignment. We use MLCD instead of DINOv2 as the target model for alignment. The results show the alignment still show improvement when using different target model.
|
| 458 |
+
|
| 459 |
+
<table><tr><td rowspan="2">Vision Encoder</td><td rowspan="2">ImageNet</td><td colspan="11">Zero-shot Datasets</td><td rowspan="2">Average Zero-shot</td></tr><tr><td>CIFAR10</td><td>CIFAR100</td><td>CalTech</td><td>FER</td><td>OxfordPets</td><td>DTD</td><td>RESISC</td><td>EuroSAT</td><td>PCAM</td><td>ImageNet-S</td><td>ImageNet-O</td></tr><tr><td>ViT-L-14</td><td>74.90</td><td>95.20</td><td>71.08</td><td>83.30</td><td>50.00</td><td>93.21</td><td>55.21</td><td>63.35</td><td>62.65</td><td>52.00</td><td>59.59</td><td>32.25</td><td>65.26</td></tr><tr><td>+align</td><td>75.32</td><td>96.03</td><td>74.90</td><td>83.86</td><td>49.67</td><td>93.43</td><td>55.59</td><td>64.62</td><td>63.44</td><td>52.28</td><td>59.99</td><td>34.70</td><td>66.26</td></tr><tr><td>ViT-L-14-336</td><td>75.82</td><td>94.49</td><td>71.11</td><td>83.42</td><td>49.04</td><td>93.70</td><td>55.64</td><td>63.73</td><td>61.46</td><td>60.68</td><td>61.03</td><td>32.75</td><td>66.10</td></tr><tr><td>+align</td><td>76.18</td><td>95.90</td><td>76.70</td><td>83.53</td><td>49.00</td><td>94.06</td><td>56.60</td><td>63.90</td><td>61.54</td><td>60.66</td><td>61.57</td><td>36.30</td><td>67.25</td></tr></table>
|
| 460 |
+
|
| 461 |
+
# C.4. Results on MMVP-VLM benchmarks.
|
| 462 |
+
|
| 463 |
+
We conduct experiments on the MMVP-VLM benchmarks (Tong et al., 2024). The benchmark consists of "CLIP-blind pair" images, which the CLIP vision encoder recognizes as similar, despite notable visual differences. It is designed to test whether the CLIP model can differentiate between these pairs. The pairs encompass a range of visual patterns, including orientation and direction, the presence of specific features, state and condition, quantity and count, positional and relational context, color and appearance, structural and physical characteristics, text, and viewpoint and perspective. The results are detailed in Table 10. Findings indicate that the proposed alignment improves accuracy by $2.97\%$ , $2.96\%$ , and $2.22\%$ for three variants of CLIP models. These results demonstrate that aligning with DINOv2 helps address the limitations of CLIP in these challenging cases.
|
| 464 |
+
|
| 465 |
+
Table 10. Performance of CLIP on various visual patterns of MMVP-VLM benchmark. Alignment with DINOv2 embeddings greatly overcomes CLIP's original shortcomings in terms of perceiving visual details. Symbols for visual patterns as (Tong et al., 2024) are inherited: $\bullet$ : Orientation and Direction, $\mathbf{Q}$ : Presence of Specific Features, $\mathbf{\Phi}$ : State and Condition, $\uparrow \uparrow$ : Quantity and Count, $\mathbf{\Phi}$ : Positional and Relational Context, $\mathbf{\Phi}$ : Color and Appearance, $\mathbf{\Phi}$ : Structural and Physical Characteristics, $\mathbf{A}$ : Texts, $\mathbf{\Phi}$ : Viewpoint and Perspective.
|
| 466 |
+
|
| 467 |
+
<table><tr><td colspan="2">Vision Encoder</td><td>Q</td><td>G</td><td>↑3</td><td>1</td><td>P</td><td>A</td><td>0</td><td>Average</td></tr><tr><td rowspan="2">ViT-B-16</td><td>w/o align</td><td>6.67</td><td>0.00</td><td>26.67</td><td>13.33</td><td>13.3</td><td>20.00</td><td>13.33</td><td>20.00</td></tr><tr><td>w/ align</td><td>6.67</td><td>0.00</td><td>20.00</td><td>13.33</td><td>20.00</td><td>26.67</td><td>26.67</td><td>26.67</td></tr><tr><td rowspan="2">ViT-L-14</td><td>w/o align</td><td>6.67</td><td>13.33</td><td>20.00</td><td>13.33</td><td>6.67</td><td>53.33</td><td>26.67</td><td>13.33</td></tr><tr><td>w/ align</td><td>13.33</td><td>20.00</td><td>20.00</td><td>20.00</td><td>6.67</td><td>53.33</td><td>33.33</td><td>20.00</td></tr><tr><td rowspan="2">ViT-L-14-336</td><td>w/o align</td><td>0.00</td><td>20.00</td><td>40.00</td><td>20.00</td><td>6.67</td><td>20.00</td><td>33.33</td><td>19.26</td></tr><tr><td>w/ align</td><td>6.67</td><td>26.67</td><td>40.00</td><td>13.33</td><td>6.67</td><td>40.00</td><td>26.67</td><td>21.48</td></tr></table>
|
| 468 |
+
|
| 469 |
+
# C.5. Results on MMVP benchmarks.
|
| 470 |
+
|
| 471 |
+
We also conducted experiments on the MMVP benchmarks (Tong et al., 2024), which are similar to the MMVP-VLM benchmark but evaluate through VQA on MLLMs. For this experiment, we used LLaVA-1.5-7B with CLIP ViT-L-14-336 as the visual encoder. The results are shown in Table 11. We found that the proposed alignment framework significantly
|
| 472 |
+
|
| 473 |
+
enhances the performance of LLaVA, leading to a marked reduction in error rates for these challenging cases. Improvements were observed simply by replacing the vision encoder with the aligned version, and the gains were even more pronounced when we fine-tuned the LLM component as well. These results further confirm that the enhanced visual capabilities of CLIP can be effectively transferred to downstream MLLMs.
|
| 474 |
+
|
| 475 |
+
Table 11. Performance of LLaVA on MMVP benchmark. The performance improves when we replace the visual encoder with the aligned version. This indicates that alignment enhances visual capabilities, and this effect can be carried over to downstream tasks.
|
| 476 |
+
|
| 477 |
+
<table><tr><td>Vision Encoder</td><td>CLIP</td><td>CLIP+align</td><td>CLIP+align+peft</td></tr><tr><td>Accuracy (%)</td><td>23.33</td><td>24.67</td><td>34.00</td></tr></table>
|
| 478 |
+
|
| 479 |
+
# C.6. Additional Baselines
|
| 480 |
+
|
| 481 |
+
In this section, we compare our method with two additional baselines, which also entail integrating knowledge from multiple experts to build a stronger visual encoder.
|
| 482 |
+
|
| 483 |
+
Comparison with AM-RADIO (Ranzinger et al., 2024). AM-RADIO distills knowledge from multiple teacher models into a student model, delivering strong performance across various downstream tasks. However, the original AM-RADIO model is trained on DataComp-1B, a dataset consisting of 13 billion samples. This training process requires computational resources comparable to the pre-training of CLIP, making it highly resource-intensive. In contrast, our proposed kernel-based alignment method achieves strong accuracy and generalizability through fine-tuning on relatively small datasets, such as ImageNet-1k, over just a few epochs. To provide a clearer comparison, we follow the AM-RADIO training protocol and train a model on ImageNet-1k using CLIP and DINOv2 as teacher models (both employing ViT-L-14 backbones), with another ViT-L-14 as the student model. We then evaluate its zero-shot classification performance, as shown in Table 12. The results reveal that AM-RADIO struggles to generalize to out-of-distribution datasets under this setup. In contrast, our alignment method achieves both strong performance and superior generalizability, even with limited data and computational resources.
|
| 484 |
+
|
| 485 |
+
Table 12. Comparison between our alignment fine-tuning and AM-RADIO. Our method represent better performance when the training data is limited.
|
| 486 |
+
|
| 487 |
+
<table><tr><td rowspan="2">Vision Encoder</td><td rowspan="2">ImageNet</td><td colspan="11">Zero-shot Datasets</td><td rowspan="2">Average Zero-shot</td></tr><tr><td>CIFAR10</td><td>CIFAR100</td><td>CaTech</td><td>FER</td><td>OxfordPeds</td><td>DTD</td><td>RESISC</td><td>EuroSAT</td><td>PCAM</td><td>ImageNet-S</td><td>ImageNet-O</td></tr><tr><td>AM-RADIO</td><td>75.38</td><td>95.04</td><td>71.48</td><td>78.47</td><td>25.66</td><td>83.62</td><td>45.37</td><td>38.48</td><td>31.35</td><td>50.02</td><td>51.34</td><td>69.45</td><td>58.21</td></tr><tr><td>Ours</td><td>75.52</td><td>96.27</td><td>77.04</td><td>84.32</td><td>50.31</td><td>93.40</td><td>55.74</td><td>63.83</td><td>63.83</td><td>52.68</td><td>59.67</td><td>34.90</td><td>66.54</td></tr></table>
|
| 488 |
+
|
| 489 |
+
Comparison with Additive-MoF (Tong et al., 2024). We also compare our method with Additive-MoF, a straightforward approach to combining visual representations from different visual encoders for MLLM applications. This comparison is conducted on vision-language benchmarks using the LLaVA implementation, with the results presented in Table 13. While Additive-MoF achieves better performance in certain tasks, such as object detection, it performs suboptimally in others, such as open-ended visual question answering. As highlighted in the original paper (Tong et al., 2024), simply combining CLIP and DINOv2 features involves an inherent trade-off between visual grounding accuracy and instruction-following capability. In contrast, our alignment fine-tuning approach enhances visual capabilities while maintaining strong alignment with the textual embedding space. Additionally, our framework does not require full re-tuning of the LLM component, making it particularly beneficial in resource-limited settings.
|
| 490 |
+
|
| 491 |
+
Table 13. Comparison between Additive-MoF and ours on vision-language benchmarks. Our alignment fine-tuning approach achieves enhanced visual capabilities without compromising alignment to the textual embedding space
|
| 492 |
+
|
| 493 |
+
<table><tr><td>Vision Encoder</td><td>A12D</td><td>text-ocr</td><td>text-Pure</td><td>pope</td><td>tallyQA</td><td>vSR</td><td>RefCOCOg</td><td>RefCOCO+</td><td>RefCOCO</td><td>vqa-v2</td><td>IIava-wild</td><td>IIava-coco</td><td>Average</td></tr><tr><td>Additive-MoF</td><td>51.36</td><td>45.93</td><td>18.66</td><td>86.58</td><td>63.18</td><td>51.47</td><td>68.44</td><td>65.34</td><td>69.69</td><td>75.12</td><td>41.54</td><td>74.50</td><td>59.32</td></tr><tr><td>Ours</td><td>53.95</td><td>58.89</td><td>50.51</td><td>86.05</td><td>62.14</td><td>52.55</td><td>58.68</td><td>57.74</td><td>65.79</td><td>76.97</td><td>52.20</td><td>78.90</td><td>62.86</td></tr></table>
|
| 494 |
+
|
| 495 |
+
# C.7. Analysis of Ablation Studies
|
| 496 |
+
|
| 497 |
+
We conduct several ablation studies to examine the effects of several design choices in our framework. The experiments are performed with CLIP ViT-L-14, and average zero-shot accuracy across 11 datasets are used as evaluation metrics.
|
| 498 |
+
|
| 499 |
+

|
| 500 |
+
Figure 5. Ablation studies. Average zero-shot accuracy across 11 datasets are reported as evaluation metrics: (a) Effects of training epochs; (b) Effects of the regularization term; (c) Effects of the coefficients of alignment; (d) Effects of different kernel functions.
|
| 501 |
+
|
| 502 |
+

|
| 503 |
+
|
| 504 |
+

|
| 505 |
+
|
| 506 |
+

|
| 507 |
+
|
| 508 |
+
Effects of Training Epochs. We experiments with fine-tuning for more epochs to see how it affects the performance. The results are shown in Fig. 5 (a). We find that the performance stabilizes after training for 2 epochs. Further training leads to no improvements. This finding highlights the effectiveness of our proposed method, which achieves strong performance with a minimal training time.
|
| 509 |
+
|
| 510 |
+
Effects of Regularization. We also conducted an ablation study on the regularization term in Eq. 6, specifically fine-tuning the CLIP model using only the kernel alignment term. The results are shown in Fig. 5 (b). Without this regularization term, we observe a significant drop in performance, with zero-shot accuracy even worse than that of the original CLIP model. This indicates that the regularization is crucial for maintaining alignment with the text embeddings. Only when both terms are utilized does the alignment phase achieve an effective balance between fine-grained visual capability and compatibility with text semantics.
|
| 511 |
+
|
| 512 |
+
Effects of Coefficients. We then tested various coefficients $w$ for the alignment term in Eq. 6, experimenting with values of 0.1, 0.5, 1.0, 5.0, and 10.0. The results are presented in Fig. 5 (c). We found that performance remains relatively stable across these coefficient changes. In our experiments, a coefficient of 1.0 yielded the best performance, effectively balancing alignment with the DINOv2 representation and compatibility with the text encoder.
|
| 513 |
+
|
| 514 |
+
Selection of Kernel Function. For the main experiment, we employed a normalized polynomial kernel for alignment and also tested the Gaussian kernel and cosine kernel, with results shown in Fig. 5 (d). Our findings indicate that all three kernels lead to performance improvements, with the polynomial kernel achieving the best results. The Gaussian kernel encounters gradient vanishing issues, complicating the optimization process, while the cosine kernel lacks additional parameters to flexibly address differences in feature dimensions and structures, making them sub-optimal compared to the polynomial kernel. One potential avenue for future improvement is to explore more diverse kernel functions or to combine multiple kernel functions as a compositional kernel for alignment.
|
| 515 |
+
|
| 516 |
+
Effects of the dataset size. We investigate how the size of the fine-tuning dataset impacts model performance. To this end,
|
| 517 |
+
|
| 518 |
+
we perform ablation studies using $25\%$ and $50\%$ of the ImageNet dataset for fine-tuning. The results, presented in Table 14, indicate that our alignment fine-tuning consistently enhances model performance, even when only $25\%$ of the samples are used, demonstrating the method's efficiency. Furthermore, the performance improvement grows as the amount of fine-tuning data increases, highlighting the potential for further gains when larger datasets are utilized.
|
| 519 |
+
|
| 520 |
+
Table 14. Ablation study in terms of fine-tuning data size. We conduct the alignment fine-tuning with different proportions of ImageNet data. The model demonstrates consistent performance gain, and the performance improves as more data is incorporated.
|
| 521 |
+
|
| 522 |
+
<table><tr><td rowspan="2">Proportion</td><td rowspan="2">ImageNet</td><td colspan="11">Zero-shot Datasets</td><td rowspan="2">Average Zero-shot</td></tr><tr><td>CIFAR10</td><td>CIFAR100</td><td>CaTech</td><td>FER</td><td>OxfordPets</td><td>DTD</td><td>RESISC</td><td>EuroSAT</td><td>PCAM</td><td>ImageNet-S</td><td>ImageNet-O</td></tr><tr><td>0%</td><td>74.90</td><td>95.20</td><td>71.08</td><td>83.30</td><td>50.00</td><td>93.21</td><td>55.21</td><td>63.35</td><td>62.65</td><td>52.00</td><td>59.59</td><td>32.25</td><td>65.26</td></tr><tr><td>25%</td><td>75.08</td><td>95.84</td><td>74.13</td><td>83.89</td><td>50.59</td><td>93.40</td><td>55.32</td><td>64.33</td><td>61.54</td><td>52.02</td><td>59.96</td><td>35.30</td><td>66.03</td></tr><tr><td>50%</td><td>75.34</td><td>95.87</td><td>76.05</td><td>83.91</td><td>50.29</td><td>93.59</td><td>55.90</td><td>64.41</td><td>64.00</td><td>52.53</td><td>59.98</td><td>34.75</td><td>66.48</td></tr><tr><td>100%</td><td>75.52</td><td>96.27</td><td>77.04</td><td>84.32</td><td>50.31</td><td>93.40</td><td>55.74</td><td>63.83</td><td>63.83</td><td>52.68</td><td>59.67</td><td>34.90</td><td>66.54</td></tr></table>
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dce7500c7949a164c59bb1ea1075087dd4fdb085acc764a0692746d4a19af6b
|
| 3 |
+
size 1190463
|
2025/Kernel-based Unsupervised Embedding Alignment for Enhanced Visual Representation in Vision-language Models/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/bbde1239-26d4-4f0a-ada7-61aae9fe3032_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bffa69272683e6caa1a126d240bbea83c803adbe5043c3b60d7c0461308ebf6a
|
| 3 |
+
size 3457705
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85873dc63ece37337b3aa1d64e96a1a4cf214b206d8de8da7f1baa375ddf5be8
|
| 3 |
+
size 3506355
|
2025/KernelBench_ Can LLMs Write Efficient GPU Kernels_/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/fc2388dc-2aed-439e-b69c-7502bf634cf6_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4871f51d663ac2d1e4cb264a8c282255566e8cbeb0cf4fdb1e3d414a841f56a6
|
| 3 |
+
size 10458003
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/full.md
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KinDEL: DNA-Encoded Library Dataset for Kinase Inhibitors
|
| 2 |
+
|
| 3 |
+
Benson Chen $^{*1}$ Tomasz Danel $^{*1}$ Gabriel H. S. Dreiman $^{1}$ Patrick J. McEnaney $^{1}$ Nikhil Jain $^{1}$ Kirill Novikov $^{1}$ Spurti Umesh Akki $^{1}$ Joshua L. Turnbull $^{1}$ Virja Atul Pandya $^{1}$ Boris P. Belotserkovskii $^{1}$ Jared Bryce Weaver $^{1}$ Ankita Biswas $^{1}$ Dat Nguyen $^{1}$ Kent Gorday $^{1}$ Mohammad Sultan $^{1}$ Nathaniel Stanley $^{1}$ Daniel M Whalen $^{1}$ Divya Kanichar $^{1}$ Christoph Klein $^{1}$ Emily Fox $^{1}$ R. Edward Watts
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
DNA-Encoded Libraries (DELs) represent a transformative technology in drug discovery, facilitating the high-throughput exploration of vast chemical spaces. Despite their potential, the scarcity of publicly available DEL datasets presents a bottleneck for the advancement of machine learning methodologies in this domain. To address this gap, we introduce KinDEL, one of the largest publicly accessible DEL datasets and the first one that includes binding poses from molecular docking experiments. Focused on two kinases, Mitogen-Activated Protein Kinase 14 (MAPK14) and Discoidin Domain Receptor Tyrosine Kinase 1 (DDR1), KinDEL includes 81 million compounds, offering a rich resource for computational exploration. Additionally, we provide comprehensive biophysical assay validation data, encompassing both on-DNA and off-DNA measurements, which we use to evaluate a suite of machine learning techniques, including novel structure-based probabilistic models. We hope that our benchmark, encompassing both 2D and 3D structures, will help advance the development of machine learning models for data-driven hit identification using DELs.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
DNA-Encoded Libraries (DEL) have emerged as a powerful tool in drug discovery, enabling highly efficient screens of small molecule libraries against therapeutically relevant targets (Yuen & Franzini, 2017; Gironda-Martínez et al., 2021; Kunig et al., 2021; Peterson & Liu, 2023). These massive libraries are efficiently constructed through combinatorial
|
| 12 |
+
|
| 13 |
+
*Equal contribution 1Insitro, South San Francisco, CA 94080, USA. Correspondence to: Benson Chen <benatorc@gmail.com>, Tomasz Danel <tomek@insitro.com>.
|
| 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: (Top) DELs are synthesized in a sequential manner; at every step, the DNA codon specifies the next building block (synthon) to be attached. (Bottom) An example of a fully synthesized DEL molecule, with the building blocks and codons colored-coded for visualizability. Typically, there is also a linker that connects the molecule to the DNA, which here is a 6-carbon chain.
|
| 19 |
+
|
| 20 |
+
synthesis of chemical building blocks, or synthons, with each resulting molecule being assigned a DNA barcode (see Figure 1). DELs are then used in selection experiments where they are mixed with proteins of interest bound to a matrix. Multiple rounds of washing are conducted to remove any weak binders, and the DNA tags of surviving molecules are sequenced as a measure of binding affinity. Data generated through these experiments are intrinsically noisy with various sources of bias arising from the DEL synthesis and selection processes, suggesting that modern machine learning methods may be needed to learn signal from the data. Unfortunately, there is still a lack of large, publicly available DEL datasets and benchmarking tasks to drive this important research area.
|
| 21 |
+
|
| 22 |
+
The growing interest in utilizing DEL data for modeling is evidenced by the many recent efforts to advance this area (Iqbal et al., 2024; Blevins et al., 2024; Gu et al., 2024). One of the primary reasons for this interest is that selection experiments using DELs alleviate some of the data limitations typical of the field; most chemistry problems in the machine learning domain lack consistent and sufficiently
|
| 23 |
+
|
| 24 |
+
high-quality labels. In particular, DELs can contain billions of compounds, and require fewer resources to run compared to more traditional high-throughput screens (Peterson & Liu, 2023). However, the process of DEL synthesis and selection introduces various sources of bias that can add noise to the observed data. For instance, DEL experiments measure the affinity of molecules while they are attached to a DNA barcode (hence, on-DNA binding). In contrast, during a real therapeutic campaign, drug-like molecules are tested without a DNA tag (off-DNA), meaning the DEL data is biased by the DNA and the molecule's attachment to it. Moreover, uncertainties in reaction yields and biases in polymerase chain reaction (PCR) amplification add additional noise to the process. These difficulties have fueled an increasing enthusiasm within the community for developing structured computational models to more effectively interpret the data signals.
|
| 25 |
+
|
| 26 |
+
Despite these challenges, several efforts have demonstrated successful applications of machine learning to DEL data (McCloskey et al., 2020). These early successes suggest that there is still much to explore in this domain. Currently, most methods have focused purely on discriminative modeling, which plays a crucial role in drug discovery campaigns by ranking prospective compounds in order to select potential hits. These prediction methods typically utilize established architectures, building upon both molecular fingerprints and more sophisticated graph convolutional networks (Duvenaud et al., 2015). More recently, efforts have been made to pose the problem in a probabilistic manner, directly incorporating experimental uncertainty in the model structure (Chen et al., 2024). These models leverage the fact that, while individual data points may be noisy, it is generally expected that groups of molecules with the same synthons or substructures will show enrichment, or signal, when analyzed collectively. Additionally, DEL data can be employed for generative modeling, providing weak supervision to navigate the complex chemical landscape, which is valuable for lead optimization steps of drug discovery.
|
| 27 |
+
|
| 28 |
+
To demonstrate the advantages of DEL data and promote development of the methods described above, we release KinDEL (Kinase Inhibitor DNA-Encoded Library) as library of 81 million small molecules tested against two kinase targets, MAPK14 and DDR1. Our dataset, distinguished by its high consistency across experimental replicates (see Appendix B), provides a large amount of supervised data for the machine learning community to develop methods for solving small molecule chemistry problems in drug discovery.
|
| 29 |
+
|
| 30 |
+
In addition to the KinDEL dataset, we provide a set of benchmark tasks validated using biophysical assay data, which we also release publicly. A major challenge in driving research in this area has been the dearth of benchmark
|
| 31 |
+
|
| 32 |
+
tasks to demonstrate the efficacy of using DEL data in deriving therapeutic insights. By releasing these benchmarks, we aim to facilitate the comparison of various modeling techniques currently applied to DELs. To seed these benchmarks, we survey computational methods from the literature and build predictive models, validated through biophysical data from compounds independently resynthesized both on- and off-DNA. Since DEL data primarily captures on-DNA binding events, but our interest lies in off-DNA binding affinity, these additional data are crucial for assessing the models' generalizability to diverse biophysical data. Our studies show that models built on DEL data can effectively characterize both on- and off-DNA affinities, highlighting the usefulness of DEL data in drug discovery. We hope that KinDEL serves as a public resource that can facilitate the iterative refinement of chemical models by providing supervised data in densely sampled chemical spaces. Data and code for our benchmarks can be found at https://github.com/insitro/kindel.
|
| 33 |
+
|
| 34 |
+
# 2. Dataset
|
| 35 |
+
|
| 36 |
+
We first introduce a high level summary of the dataset generation, and then provide an overview of the data that we publicly release. The data generation is divided into roughly three experimental processes, which are the synthesis of the DEL, the subsequent selection experiments against proteins of interest, and the biophysical assays to collect validation data. Specific experimental details can be found in Appendix A.
|
| 37 |
+
|
| 38 |
+
# 2.1. Data Generation
|
| 39 |
+
|
| 40 |
+
DEL Synthesis The DEL is built as a trisynthon library with 378 synthons in the A position, 1128 synthons in the B position, and 191 synthons in the C position. The synthesis is a sequential process, with each synthon specified by the DNA tag and added one at a time. Notably, each molecule does not have only a single encoding; instead, multiple encodings of DNA map to the same final molecular structure. These redundant encodings help mitigate potential biases during the subsequent DNA sequencing step. Rather than counting the total number of amplified DNA associated with a single molecule (which is subject to PCR noise), we count the number of different redundant encodings observed for each molecule. This library was designed to enhance scaffold uniqueness and chemical diversity, thereby exploring a broader region of chemical space. A simplified diagram of synthesis can be found in Figure 1.
|
| 41 |
+
|
| 42 |
+
DEL Selection DEL Selection was performed by combining the DEL with the target proteins, which were immobilized on beads, as well as a negative control without any protein. Multiple rounds of washes removed any weak binders in the solution. The molecules were then extracted via elution,
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
(a) Panning experiment
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
(b) Data structure
|
| 49 |
+
Figure 2: KinDEL data acquisition process. (a) DEL selection experiments are conducted by combining the DEL with the protein target of interest immobilized onto Streptavidin beads. After multiple rounds of washing, the tight binders are eluted off of the protein, and their corresponding DNA are sequenced to obtain the count data. (b) Molecules in the dataset are represented as separate synthons A, B, and C and the combined product. The labels for each compound include the pre-selection counts measured before panning and read counts for the targets and the matrix measured in triplicate.
|
| 50 |
+
|
| 51 |
+
and the subsequent samples were then amplified via PCR and sequenced to obtain the count data. Each selection was performed in triplicate with each protein. This process is visualized in Figure 2.
|
| 52 |
+
|
| 53 |
+
Biophysical Assay Validation Additional biophysical data on a small subset of molecules were collected both on- and off-DNA (see Appendix C for more details on how these molecules were selected). For on-DNA data, we use Fluorescence Polarization (FP), which utilizes polarized light to quantify binding affinity by measuring the dissociation constant $(K_{D})$ . For off-DNA data, we use Surface Plasmon Resonance (SPR), which also relies on light to measure the dissociation constant. The reason we collect both types of data is because on-DNA $K_{D}$ data reveals insights about the actual binding of the molecule in the DEL selection experiment, while off-DNA $K_{D}$ focuses on interactions of the molecules without a DNA barcode, which is the relevant setting for an actual drug candidate.
|
| 54 |
+
|
| 55 |
+
# 2.2. Data Overview
|
| 56 |
+
|
| 57 |
+
DEL Data KinDEL contains count data for more than 81M unique molecules used in selection experiments with two proteins MAPK14 and DDR1. Typically, DEL experiments are run with a negative control without the protein, so that non-specific binding events (such as binding directly to
|
| 58 |
+
|
| 59 |
+
bead) can be captured. In our dataset we provide three (3) replicates of data for each of the control and the protein target conditions. As mentioned earlier, raw DNA counts can be noisy due to PCR amplification bias (Aird et al., 2011; Kebschull & Zador, 2015), so we use the sequence count information as data, which measures the number of unique DNA sequences observed for each molecule.
|
| 60 |
+
|
| 61 |
+
Pre-selection Data Additionally, we provide data about the sequenced library itself, called pre-selection data, which provides a rough estimate of the relative abundance of each molecule prior to any experimental run. During the synthesis of the DNA-encoded library, not all molecules are produced in equal amounts. Variability can arise from differences in synthesis efficiency, coupling yields, or synthesis errors. Additionally, some molecules may precipitate or adhere to storage containers, resulting in loss and lower observed counts. Due to the size of the library, it is too costly to sequence the library deeply enough for an extremely accurate pre-selection estimate. However, because there is always some amount of synthesis noise, for instance using impure reactants or having incomplete reaction yields, achieving a precise measurement of the pre-selection data is not imperative. While this data is typically used to normalize counts, sequencing inaccuracies can lead to error propagation, especially for low-abundance molecules.
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
Figure 4: The 3D cube visualization of the dataset, where each axis corresponds to a different synthon in the DEL. Points in the plot are the most enriched compounds (measured using Poisson enrichment). The linear patterns can be interpreted as enriched disynthons, i.e. combinations of two synthons that often bind to the protein target.
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
Figure 3: The distributions of chemical properties in the KinDEL dataset. These selected properties are often used to assess the druglikeness of molecules. The light blue areas mark the 10th and 90th percentiles computed for all the FDA approved oral new chemical entities, as reported by Shultz (2018). QED: quantitative estimate of druglikeness (Bickerton et al., 2012).
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
|
| 83 |
+
Biophysical Assay Data We have collected data from 30-50 molecules using the aforementioned biophysical assays, FP and SPR, to validate our models. For molecules on-DNA, we have resynthesized molecules both from within and from outside our library. For off-DNA compounds, we have only resynthesized molecules that are within the DEL itself. These molecules were primarily selected from the top hits predicted from models trained on the DEL data.
|
| 84 |
+
|
| 85 |
+
Figure 3 illustrates various properties of the molecules in our dataset, comparing them to those of typical drug-like molecules. From this, we can see that KinDEL is well-posed within typical drug-like distributions according to an analysis by (Shultz, 2018). Notably, over $30\%$ of the molecules in our library fall within the property ranges of already approved drugs, as outlined by Schultz. While certain synthon combinations may result in compounds that fall outside these preferred ranges, DEL molecules primarily serve to provide initial hits for drug discovery campaigns. These initial hits undergo iterative refinement during the hit-to-lead optimization process.
|
| 86 |
+
|
| 87 |
+
# 3. Benchmarking
|
| 88 |
+
|
| 89 |
+
# 3.1. Experimental Setup
|
| 90 |
+
|
| 91 |
+
One primary use case of DEL data is building predictive models of binding affinity. To that end, we investigate commonly used models in DEL literature as benchmark models
|
| 92 |
+
|
| 93 |
+

|
| 94 |
+
(a) MAPK14
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
(b) DDR1
|
| 98 |
+
|
| 99 |
+
and compare their performance in modeling binding affinity. In this benchmark, all models were trained using the top 1M compounds with the highest counts from our KinDEL dataset. We publish the full library to enable construction of further benchmarks.
|
| 100 |
+
|
| 101 |
+
Held-out Test Set The observed count data in DEL experiments are an approximation of the true on-DNA binding affinity $(K_{D})$ . The count data are influenced by multiple sources of noise (see Section 4). We ultimately wish to rank molecules by binding affinity, so we use compounds with measured $K_{D}$ (from biophysical assays) as a test set. Performance on these compounds assesses if the models correctly rank compounds by $K_{D}$ . This can be viewed as measuring how well models can remove the noise inherent to DELs.
|
| 102 |
+
|
| 103 |
+
For both our targets, MAPK14 and DDR1, the selected compounds contained in the DEL library were resynthesized on- and off-DNA to create an in-library held-out test set. For hit finding, we would like to be able to predict off-DNA $K_{D}$ . This is challenging because the DEL data comes from DNA bound molecules, and is biased by the DNA. The on-DNA $K_{D}$ more closely aligns with DEL data since the molecules in the training data are bound to the same DNA in the same way. A few additional compounds were added from outside the library (and tagged with DNA) to create an additional held-out test set that we refer to as "Extended". The $K_{D}$ data from these biophysical assays are also released with our dataset. A UMAP visualization of the DEL including the in-library and external test set compounds is depicted in Figure 5.
|
| 104 |
+
|
| 105 |
+
Data Splits We split our datasets using three strategies, ensuring that all held-out compounds are placed in the test set and not used for training. The first type of data split is a random split, where a randomly selected $10\%$ of compounds
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 5: UMAP visualization of KinDEL constructed using Tanimoto distances between compounds. The compounds selected for the held-out testing set are depicted as orange diamonds (in-library) and green triangles (external).
|
| 109 |
+
|
| 110 |
+

|
| 111 |
+
Figure 6: Three data splitting strategies used to construct the testing set.
|
| 112 |
+
|
| 113 |
+
are placed in the validation set, and another randomly selected $10\%$ are placed in the test set. The second type of data split is a disynthon split, where we sample disynthon structures (molecules with the same 2 synthons), and put all compounds containing these sampled structures in the same subset using the same 80-10-10 ratio between the training, validation, and test sets. This data partitioning method is more challenging for the machine-learning models because some synthon combinations tend to have a binding profile distinct from the individual synthons they consist of (see Figure 4). The third approach is a cluster split based on compound similarity. The details about the clustering algorithm can be found in Appendix E. The types of data splits are illustrated in Figure 6. Each dataset is split five times for each splitting strategy, and the reported performance of the models is aggregated over five training runs.
|
| 114 |
+
|
| 115 |
+
Evaluation Metrics Models trained on DEL data typically predict an enrichment score, which can be regarded as a measure of binding affinity. To evaluate different baselines, we compare how well each method's predicted enrichment scores correlate with experimental $K_{D}$ values for the molecules in the held-out test set. Since different models
|
| 116 |
+
|
| 117 |
+
are trained with different losses, this is a consistent way to compare model performance. Here, we use Spearman correlation, because we are primarily concerned with the ability of a model to rank order molecules by their binding affinity.
|
| 118 |
+
|
| 119 |
+
# 3.2. Benchmark Models
|
| 120 |
+
|
| 121 |
+
In this benchmark, we compare models commonly used for DEL data in the literature. These methods follow a similar paradigm, in which the models try to learn the protein binding signal in the target data by subtracting out noise from the control data. Two baselines are included to gauge the alignment in the actual data, between the DEL counts and validation $K_{D}$ values. The first baseline, count enrichment, computes an enrichment score by subtracting the average control counts from the average target counts. The second baseline, Poisson enrichment, computes a ratio of fitted Poisson distributions of the target and control data (Gerry et al., 2019).
|
| 122 |
+
|
| 123 |
+
Next, we compare ML models trained on the data to predict the aforementioned Poisson enrichment using a mean-squared error (MSE) loss. These models include: random forest (RF) (Breiman, 2001), XGBoost (Chen & Guestrin, 2016), k-nearest neighbors (kNN) (Fix & Hodges, 1989), and a deep neural network (DNN) using Morgan fingerprints (radius=2, length=2048) (Rogers & Hahn, 2010) from RDKit (Landrum, 2010) as input features. We also tested two molecular graph models, Graph Isomorphism Network (GIN) (Xu et al., 2018) and Chemprop DMPNN (Heid et al., 2023). DEL-Compose (Chen et al., 2024) is a probabilistic model that uses Morgan fingerprints as input and predicts the parameters of a zero-inflated Poisson distribution to maximize the likelihood of the observed count data. We train two variants of DEL-Compose, one with only full molecule structures (DEL-Compose $^{(M)}$ ), and one with synthon structures (DEL-Compose $^{(S)}$ ). The hyperparameters of all the models used in this study are presented in Appendix D.
|
| 124 |
+
|
| 125 |
+
The architectures of the neural network models follow the implementation in the original publications. The DNN architecture contains multiple linear layers with ReLU activation, batch normalization, and dropouts after each layer except for the last one (see Appendix D). All neural networks were trained using the Adam optimizer until convergence with early stopping when the validation loss does not improve for more than 5 epochs.
|
| 126 |
+
|
| 127 |
+
# 3.3. Benchmark Results
|
| 128 |
+
|
| 129 |
+
Tables 1 and 2 show the performance of various models on MAPK14 and DDR1, respectively. The number of data points $(n)$ in each held-out test set is also reported in the tables. The Counts and Poisson enrichment baselines serve as an estimate of the alignment between DEL screening
|
| 130 |
+
|
| 131 |
+
Table 1: Model performance evaluation for MAPK14. The test loss column contains values of the loss function computed on test split. The performance for the on- and off-DNA "In-Library" is the negative Spearman correlation between model predictions and experimental $K_{D}$ for compounds resynthesized from the DEL. The performance for on-DNA "Extended" set includes additional compounds resynthesized on-DNA but not in the original DEL.
|
| 132 |
+
|
| 133 |
+
<table><tr><td rowspan="2">Split</td><td rowspan="2">Model</td><td rowspan="2">Test Loss ↓</td><td colspan="2">In-Library</td><td rowspan="2">Extended on-DNA Spearman's ρ ↑ n = 30 Spearman's ρ ↑ n = 33 Spearman's ρ ↑ n = 41</td></tr><tr><td>on-DNA Spearman's ρ ↑ n = 30</td><td>off-DNA Spearman's ρ ↑ n = 33</td></tr><tr><td></td><td>Counts</td><td>-</td><td>0.778</td><td>0.353</td><td>-</td></tr><tr><td></td><td>Poisson</td><td>-</td><td>0.737</td><td>0.166</td><td>-</td></tr><tr><td rowspan="8">random</td><td>RF</td><td>0.064 ± 0.003</td><td>0.694 ± 0.030</td><td>0.370 ± 0.111</td><td>0.453 ± 0.028</td></tr><tr><td>XGBoost</td><td>0.056 ± 0.002</td><td>0.477 ± 0.009</td><td>0.345 ± 0.036</td><td>0.196 ± 0.074</td></tr><tr><td>kNN</td><td>0.072 ± 0.002</td><td>0.649 ± 0.041</td><td>0.466 ± 0.103</td><td>0.464 ± 0.040</td></tr><tr><td>DNN</td><td>0.139 ± 0.010</td><td>0.582 ± 0.062</td><td>0.514 ± 0.071</td><td>0.351 ± 0.058</td></tr><tr><td>GIN</td><td>0.062 ± 0.004</td><td>0.511 ± 0.038</td><td>0.492 ± 0.139</td><td>0.174 ± 0.067</td></tr><tr><td>Chemprop</td><td>0.121 ± 0.008</td><td>0.693 ± 0.039</td><td>0.504 ± 0.093</td><td>0.462 ± 0.063</td></tr><tr><td>DEL-Compose(M)</td><td>3.017 ± 0.005</td><td>0.448 ± 0.054</td><td>0.756 ± 0.011</td><td>0.569 ± 0.048</td></tr><tr><td>DEL-Compose(S)</td><td>3.192 ± 0.167</td><td>0.420 ± 0.050</td><td>0.760 ± 0.018</td><td>-</td></tr><tr><td rowspan="8">cluster</td><td>RF</td><td>0.063 ± 0.015</td><td>0.697 ± 0.033</td><td>0.313 ± 0.071</td><td>0.472 ± 0.048</td></tr><tr><td>XGBoost</td><td>0.059 ± 0.013</td><td>0.486 ± 0.032</td><td>0.378 ± 0.091</td><td>0.176 ± 0.069</td></tr><tr><td>kNN</td><td>0.080 ± 0.018</td><td>0.575 ± 0.034</td><td>0.435 ± 0.094</td><td>0.421 ± 0.032</td></tr><tr><td>DNN</td><td>0.065 ± 0.011</td><td>0.565 ± 0.089</td><td>0.592 ± 0.065</td><td>0.284 ± 0.114</td></tr><tr><td>GIN</td><td>0.072 ± 0.015</td><td>0.411 ± 0.209</td><td>0.369 ± 0.054</td><td>0.123 ± 0.171</td></tr><tr><td>Chemprop</td><td>0.131 ± 0.047</td><td>0.713 ± 0.013</td><td>0.532 ± 0.070</td><td>0.485 ± 0.036</td></tr><tr><td>DEL-Compose(M)</td><td>3.038 ± 0.053</td><td>0.440 ± 0.045</td><td>0.730 ± 0.009</td><td>0.583 ± 0.032</td></tr><tr><td>DEL-Compose(S)</td><td>3.339 ± 0.114</td><td>0.369 ± 0.050</td><td>0.766 ± 0.012</td><td>-</td></tr><tr><td rowspan="8">disynthon</td><td>RF</td><td>0.154 ± 0.016</td><td>0.157 ± 0.138</td><td>0.505 ± 0.062</td><td>0.302 ± 0.096</td></tr><tr><td>XGBoost</td><td>0.148 ± 0.015</td><td>0.377 ± 0.054</td><td>0.482 ± 0.045</td><td>0.212 ± 0.126</td></tr><tr><td>kNN</td><td>0.165 ± 0.014</td><td>0.402 ± 0.074</td><td>0.266 ± 0.078</td><td>0.367 ± 0.043</td></tr><tr><td>DNN</td><td>0.160 ± 0.017</td><td>0.275 ± 0.135</td><td>0.429 ± 0.118</td><td>0.184 ± 0.146</td></tr><tr><td>GIN</td><td>0.153 ± 0.011</td><td>0.090 ± 0.084</td><td>0.483 ± 0.151</td><td>-0.080 ± 0.071</td></tr><tr><td>Chemprop</td><td>0.216 ± 0.007</td><td>0.390 ± 0.091</td><td>0.506 ± 0.093</td><td>0.228 ± 0.121</td></tr><tr><td>DEL-Compose(M)</td><td>3.177 ± 0.028</td><td>0.120 ± 0.070</td><td>0.716 ± 0.052</td><td>0.421 ± 0.054</td></tr><tr><td>DEL-Compose(S)</td><td>3.351 ± 0.040</td><td>0.128 ± 0.049</td><td>0.748 ± 0.024</td><td>-</td></tr></table>
|
| 134 |
+
|
| 135 |
+
results and experimental $K_{D}$ computed directly from the sequence count data, measuring how well the DEL data itself predicts the $K_{D}$ in the follow-up assays. For DDR1, we see that DEL-Compose, which views the data from a probabilistic perspective, is the most performant model in all but the "Extended on-DNA" set. For MAPK14, relatively simple models (RF and kNN) perform best for the in-library on-DNA validation while DEL-Compose performs better off-DNA. Recall that off-DNA is the task more reflective of the setting for selecting actual drug candidates. Interestingly, we find that DEL-Compose rank orders the validation compounds off-DNA better than using enrichment metrics of the DEL data itself (Counts, Poisson). This is true for both targets, and on all three splits of the data. As mentioned earlier, DEL data is only indirectly correlated to off-DNA data, so this demonstrates that these structure-based models may have regularization properties that can denoise the DEL data. Most models perform similarly in the cluster split compared to the random split, indicating that the cluster split created based on fingerprint cluster is not too much more challenging. However, we observe that almost all models perform
|
| 136 |
+
|
| 137 |
+
worse on the disynthon split compared to the random split. In particular, this change in performance is quite significant for the MAPK14 data, which might suggest that these models are overfitting to certain features. The disynthon split is a more challenging task, since we remove structures entirely from the training data, and the models have to infer based on chemical structures (out-of-distribution inference). Overall, these results demonstrate that models trained on DEL data can be used for hit selection, since models can predict enrichment scores that correlate well with on- and off-DNA biophysical data.
|
| 138 |
+
|
| 139 |
+
# 4. Discussion
|
| 140 |
+
|
| 141 |
+
Data Applicability and Limitations Our data and benchmarking tasks were designed to evaluate the ability to predict compounds within the DEL. Although we incorporated challenging splits of the data, such as disynthon splits, we have not evaluated the usefulness of this particular data for truly out-of-distribution sets. While we do include an extended held-out set with molecules from outside of the
|
| 142 |
+
|
| 143 |
+
Table 2: Model performance evaluation for DDR1. The test loss column contains values of the loss function computed on test split. The performance for the on- and off-DNA "In-Library" is the negative Spearman correlation between model predictions and experimental $K_{D}$ for compounds resynthesized from the DEL. The performance for on-DNA "Extended" set includes additional compounds resynthesized on-DNA but not in the original DEL.
|
| 144 |
+
|
| 145 |
+
<table><tr><td rowspan="2">Split</td><td rowspan="2">Model</td><td rowspan="2">Test Loss ↓</td><td colspan="2">In-Library</td><td>Extended on-DNA Spearman's ρ ↑ n = 49</td></tr><tr><td>on-DNA Spearman's ρ ↑ n = 39</td><td>off-DNA Spearman's ρ ↑ n = 49</td><td>Spearman's ρ ↑ n = 54</td></tr><tr><td></td><td>Counts</td><td>-</td><td>0.695</td><td>0.355</td><td>-</td></tr><tr><td></td><td>Poisson</td><td>-</td><td>0.779</td><td>0.441</td><td>-</td></tr><tr><td rowspan="8">random</td><td>RF</td><td>0.685 ± 0.011</td><td>0.578 ± 0.034</td><td>0.267 ± 0.022</td><td>0.608 ± 0.021</td></tr><tr><td>XGBoost</td><td>0.519 ± 0.011</td><td>0.553 ± 0.032</td><td>0.252 ± 0.031</td><td>0.587 ± 0.025</td></tr><tr><td>kNN</td><td>0.748 ± 0.010</td><td>0.599 ± 0.025</td><td>0.316 ± 0.026</td><td>0.508 ± 0.036</td></tr><tr><td>DNN</td><td>1.261 ± 0.057</td><td>0.703 ± 0.025</td><td>0.335 ± 0.009</td><td>0.668 ± 0.033</td></tr><tr><td>GIN</td><td>0.454 ± 0.012</td><td>0.572 ± 0.044</td><td>0.283 ± 0.028</td><td>0.579 ± 0.037</td></tr><tr><td>Chemprop</td><td>1.391 ± 0.043</td><td>0.729 ± 0.017</td><td>0.335 ± 0.004</td><td>0.680 ± 0.021</td></tr><tr><td>DEL-Compose(M)</td><td>2.873 ± 0.003</td><td>0.731 ± 0.016</td><td>0.509 ± 0.024</td><td>0.646 ± 0.024</td></tr><tr><td>DEL-Compose(S)</td><td>2.918 ± 0.057</td><td>0.689 ± 0.048</td><td>0.483 ± 0.044</td><td>-</td></tr><tr><td rowspan="8">cluster</td><td>RF</td><td>0.641 ± 0.190</td><td>0.586 ± 0.025</td><td>0.273 ± 0.017</td><td>0.615 ± 0.019</td></tr><tr><td>XGBoost</td><td>0.589 ± 0.164</td><td>0.569 ± 0.024</td><td>0.262 ± 0.009</td><td>0.599 ± 0.013</td></tr><tr><td>kNN</td><td>0.887 ± 0.189</td><td>0.581 ± 0.061</td><td>0.329 ± 0.063</td><td>0.489 ± 0.049</td></tr><tr><td>DNN</td><td>0.519 ± 0.150</td><td>0.708 ± 0.015</td><td>0.330 ± 0.022</td><td>0.673 ± 0.014</td></tr><tr><td>GIN</td><td>0.633 ± 0.142</td><td>0.524 ± 0.081</td><td>0.137 ± 0.047</td><td>0.599 ± 0.047</td></tr><tr><td>Chemprop</td><td>1.507 ± 0.363</td><td>0.732 ± 0.028</td><td>0.326 ± 0.014</td><td>0.690 ± 0.023</td></tr><tr><td>DEL-Compose(M)</td><td>2.891 ± 0.079</td><td>0.737 ± 0.041</td><td>0.467 ± 0.025</td><td>0.540 ± 0.037</td></tr><tr><td>DEL-Compose(S)</td><td>2.993 ± 0.065</td><td>0.686 ± 0.027</td><td>0.482 ± 0.019</td><td>-</td></tr><tr><td rowspan="8">disynthon</td><td>RF</td><td>1.151 ± 0.151</td><td>0.481 ± 0.120</td><td>0.330 ± 0.081</td><td>0.557 ± 0.082</td></tr><tr><td>XGBoost</td><td>0.989 ± 0.131</td><td>0.523 ± 0.071</td><td>0.241 ± 0.031</td><td>0.572 ± 0.046</td></tr><tr><td>kNN</td><td>1.109 ± 0.088</td><td>0.663 ± 0.043</td><td>0.363 ± 0.038</td><td>0.523 ± 0.036</td></tr><tr><td>DNN</td><td>0.977 ± 0.104</td><td>0.572 ± 0.063</td><td>0.265 ± 0.051</td><td>0.598 ± 0.055</td></tr><tr><td>GIN</td><td>0.966 ± 0.090</td><td>0.410 ± 0.020</td><td>0.070 ± 0.031</td><td>0.546 ± 0.023</td></tr><tr><td>Chemprop</td><td>1.690 ± 0.192</td><td>0.558 ± 0.061</td><td>0.310 ± 0.038</td><td>0.579 ± 0.037</td></tr><tr><td>DEL-Compose(M)</td><td>3.184 ± 0.025</td><td>0.663 ± 0.022</td><td>0.463 ± 0.023</td><td>0.492 ± 0.049</td></tr><tr><td>DEL-Compose(S)</td><td>3.110 ± 0.041</td><td>0.563 ± 0.084</td><td>0.429 ± 0.069</td><td>-</td></tr></table>
|
| 146 |
+
|
| 147 |
+
DEL, this extended set is limited in size. We envision that models trained on this data can be used to make predictions for molecules from purchased catalogues, but such applications will require further exploration, especially being cognizant of problems in this space such as domain of applicability (Weaver & Gleeson, 2008).
|
| 148 |
+
|
| 149 |
+
One limitation of DEL data is that it only measures on-DNA binding events, and on- and off-DNA binding are only loosely correlated (Hackler et al., 2019). While we have shown in our experiments that machine learning models can have nice regularization properties and learn some correlations to off-DNA binding, DEL data needs to be combined with additional 3-D structural data to fully understand these different binding modalities. To that end, we also publicly release docked 3-D poses of our library molecules to the target proteins to aid future model development by the community (see Appendix F). Additionally, DEL screens are sometimes run with an additional experimental condition to distinguish potential allosteric binders from orthosteric binders (Gironda-Martínez et al., 2021). This is usually
|
| 150 |
+
|
| 151 |
+
achieved by running the experiment with a known inhibitor doped in at high concentrations. Because our data lacks this condition, it can be difficult to discern non-specific binding modes. We also recognize that one limitation of the dataset is that the two targets we provide are kinases. In order to make this dataset more broadly applicable for modeling DEL data, we additionally release our data on another well studied target, Bovine Carbonic Anhydrase (BCA), using the same library.
|
| 152 |
+
|
| 153 |
+
Challenges and Future Directions DEL data is powerful in that it specifically densely samples particular chemical spaces, which can be leveraged to learn more powerful representations. However, DEL data suffers from experimental noise. In particular, there are unobserved factors such as synthesis noise that makes it difficult to separate out signal from noise in the data (Zhu et al., 2021). Additionally, since our observations are sequencing read counts rather than actual binding affinity, the measurements also suffer from PCR bias (Aird et al., 2011). While we have presented several benchmark methods that try to learn a denoised
|
| 154 |
+
|
| 155 |
+
enrichment from structure-based models, how best to do this is still an open question in the field, and we hope that our dataset release will enable the development of more denoising methods.
|
| 156 |
+
|
| 157 |
+
Furthermore, our benchmark primarily focuses on building purely predictive models, which encapsulates most of the published work in this field currently. However, KinDEL holds significant potential for use in generative frameworks. Many generative modeling approaches in the small-molecule space lack sufficient supervised data to learn interesting sampling distributions. However, this is exactly the data that DEL provides, densely sampling around particular synthon or di-synthon structures. Therefore, we hope that DEL data combined with provided docking poses can be used to train or fine-tune generative models on specific protein targets.
|
| 158 |
+
|
| 159 |
+
# 5. Related Work
|
| 160 |
+
|
| 161 |
+
# 5.1. Current datasets
|
| 162 |
+
|
| 163 |
+
To the best of the authors' knowledge, only a limited number of DEL datasets have been released publicly. While KinDEL is not the largest library tested, our dataset is evaluated on two distinct targets in the Kinase family and contains comprehensive and consistently replicated raw experimental data (see Appendix B) in addition to orthogonal, non-DEL based binding affinity data for validation.
|
| 164 |
+
|
| 165 |
+
Iqbal et al. (2024) released three DEL datasets tested against two targets, Casein Kinase $1\alpha/\delta$ . Their libraries span a range of chemical size and diversity, and they demonstrated the efficacy of a suite of machine learning methods to model binding affinities. Like our work, they experimentally validated some of their machine learning derived molecule predictions with biophysical assay data. However, they only tested off-DNA binding affinities, whereas we have synthesized our compounds both on- and off-DNA. Having both kinds of data is important because on-DNA data bridges the gap between DEL data and off-DNA data. Additionally, they have not investigated probabilistic models in their benchmarking tasks, which we find to be empirically useful.
|
| 166 |
+
|
| 167 |
+
Another recent dataset release is from Leash Bio, who released their data as a Kaggle competition (Blevins et al., 2024). Their dataset has a single DEL screened against on three different proteins, but their data has been preprocessed from raw count to a binary label. This process is often used to denoise DEL data, but it removes information from the data. We show through our experiments that it is possible to learn over discrete count data through probabilistic approaches.
|
| 168 |
+
|
| 169 |
+
Gerry et al. (2019) and Hou et al. (2023) have released libraries tested against well-studied targets Horseradish Per
|
| 170 |
+
|
| 171 |
+
oxidase and members of the Carbonic Anhydrase family. In both cases, the DELs were synthesized with specific chemotypes known to bind to their targets. As a result, evaluation in each is primarily limited to comparing relative enrichment for compounds containing known binders. These papers serve as excellent case-studies but with their targeted library construction and limited library size $\sim 100\mathrm{k}$ (Gerry et al., 2019) and $\sim 7\mathrm{M}$ (Hou et al., 2023), they are unlikely to serve as generalizable benchmarks for DEL ML methods.
|
| 172 |
+
|
| 173 |
+
The AIRCHECK database facilitates the public release of large-scale DEL datasets, notably including a 3-billion-molecule library screened against WDR91 (Wellnitz et al., 2024). However, chemical structures are masked with fingerprints in these commercial-sized libraries, which inherently limits the range of applicable modeling approaches.
|
| 174 |
+
|
| 175 |
+
# 5.2. Computational Methods on DEL Data
|
| 176 |
+
|
| 177 |
+
Computational efforts on DEL data have evolved over time. One of the major concerns with DEL data is its intrinsic noisiness. Firstly, the synthesis of a DEL is optimized for scale, and not precision, which results in uncertainty in the composition of the library. For instance, DEL synthesis will result in forming partial or truncated products (Gironda-Martínez et al., 2021; Binder et al., 2022), which has some causal effect on the observed data that cannot easily be measured. Additionally, the final data measurement is obtained by sequencing PCR-amplified DNA barcodes; however, the PCR process itself does not uniformly sample from the surviving members of the selection experiment (Aird et al., 2011).
|
| 178 |
+
|
| 179 |
+
Computational methodology for DEL data is still a nascent area, largely due to a lack of publicly available data. Current works typically directly apply fingerprint and graph neural network approaches that are popular within property prediction models. Due to the noisiness intrinsic to the data, many methods bin the labeled data into a binary classification to avoid overfitting on the raw data. For instance, McCloskey et al. (2020) trained classification models on disynths using variants of typical graph neural networks. This approach was applied by Ahmad et al. (2023) to find first-in-class WD Repeat Domain 91 ligands, using molecules from buyable catalogues. Torng et al. (2023) follows up on this work and uses Weave GCN for hit identification of CA-IX. However, the true binding process is observed on a discrete scale, so more recent works have focused on building probabilistic models of binding. Lim et al. (2022) proposed a new uncertainty-based loss function for training regression models, and demonstrated the efficacy of their method using various graph neural network models. (Shmilovich et al., 2023) takes this process one step further and incorporates 3-D docked poses to leverage the scale of DEL data by us
|
| 180 |
+
|
| 181 |
+
ing multiple-instance learning to learn over poses. Other works exploit compositionality of DELs as inductive biases of the models. (Binder et al., 2022) tries to explicitly model the partial products, while (Chen et al., 2024) computes a hierarchical representation of DEL molecules and incorporates a probabilistic loss. (Koziarski et al., 2024) explores generative models of DEL molecules using GFlowNets. Many of these developments are relatively new, and we hope that KinDEL will enable the further development of these methodologies in the field.
|
| 182 |
+
|
| 183 |
+
# 6. Conclusion
|
| 184 |
+
|
| 185 |
+
DELs have emerged as a high-throughput technology that enables screenings of large combinatorial small molecule libraries. However, DEL data has many sources of intrinsic noise stemming from synthesis and selection experiments, necessitating the right machine learning tools to extract the correct signal in the data. We introduce KinDEL as a 81M molecule dataset with selection data from two targets, MAPK14 and DDR1, in order to highlight the ability to model DEL data to find potent binders. Our DEL is built with chemical diversity in mind, and many of the molecules in the library have properties within the range of approved drugs. We additionally release biophysical data for molecules synthesized both on- and off-DNA to validate our models trained on DEL data. We hope that our public data release and benchmarking will engender more interest in DEL data as an important chemical modality for machine learning research in the future.
|
| 186 |
+
|
| 187 |
+
# Impact Statement
|
| 188 |
+
|
| 189 |
+
The broader impact of this work includes the potential to accelerate the identification of novel therapies, ultimately benefiting public health. However, as with many datasets in the chemical and biological sciences, there is a potential risk of misuse, such as designing harmful substances. While there are inherent societal implications with advancing drug discovery, we do not anticipate any specific ethical concerns that must be highlighted beyond the established consequences of advancing machine learning techniques in this domain.
|
| 190 |
+
|
| 191 |
+
# References
|
| 192 |
+
|
| 193 |
+
Ahmad, S., Xu, J., Feng, J. A., Hutchinson, A., Zeng, H., Ghiabi, P., Dong, A., Centrella, P. A., Clark, M. A., Guie, M.-A., et al. Discovery of a first-in-class small-molecule ligand for wdr91 using DNA-encoded chemical library selection followed by machine learning. Journal of Medicinal Chemistry, 66(23):16051-16061, 2023.
|
| 194 |
+
Aiguadé, J., Balagué, C., Carranco, I., Caturla, F.,
|
| 195 |
+
|
| 196 |
+
Dominguez, M., Eastwood, P., Esteve, C., Gonzalez, J., Lumeras, W., Orellana, A., et al. Novel triazolopyridylbenzamides as potent and selective $\mathsf{p}38\alpha$ inhibitors. Bioorganic & medicinal chemistry letters, 22(10):3431-3436, 2012.
|
| 197 |
+
Aird, D., Ross, M. G., Chen, W.-S., Danielsson, M., Fennell, T., Russ, C., Jaffe, D. B., Nusbaum, C., and Gnirke, A. Analyzing and minimizing pcr amplification bias in illumina sequencing libraries. Genome biology, 12:1-14, 2011.
|
| 198 |
+
Bemis, G. W. and Murcko, M. A. The properties of known drugs. 1. molecular frameworks. Journal of Medicinal Chemistry, 39(15):2887-2893, 1996. doi: 10.1021/jm9602928. URL https://doi.org/10.1021/jm9602928. PMID: 8709122.
|
| 199 |
+
Bickerton, G. R., Paolini, G. V., Besnard, J., Muresan, S., and Hopkins, A. L. Quantifying the chemical beauty of drugs. Nature chemistry, 4(2):90-98, 2012.
|
| 200 |
+
Binder, P., Lawler, M., Grady, L., Carlson, N., Leelananda, S., Belyanskaya, S., Franklin, J., Tilmans, N., and Palacci, H. Partial product aware machine learning on DNA-encoded libraries. arXiv preprint arXiv:2205.08020, 2022.
|
| 201 |
+
Blevins, A., Quigley, I. K., Halverson, B. J., Wilkinson, N., Levin, R. S., Pulapaka, A., Reade, W., and Howard, A. Neurips 2024 - predict new medicines with BELKA, 2024. URL https://kaggle.com/competitions/leash-BELKA.
|
| 202 |
+
Breiman, L. Random forests. 45(1):5-32, 2001. doi: 10.1023/A:1010933404324.
|
| 203 |
+
Butina, D. Unsupervised data base clustering based on daylight's fingerprint and tanimoto similarity: A fast and automated way to cluster small and large data sets. Journal of Chemical Information and Computer Sciences, 39(4):747-750, 1999. doi: 10.1021/ci9803381. URL https://doi.org/10.1021/ci9803381.
|
| 204 |
+
Chen, B., Sultan, M. M., and Karaletsos, T. Compositional deep probabilistic models of DNA-encoded libraries. Journal of Chemical Information and Modeling, 64(4):1123-1133, 2024.
|
| 205 |
+
Chen, T. and Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pp. 785-794, 2016.
|
| 206 |
+
Cheng, R., Barker, J., and Whittaker, M. Structure of human p38alpha with n-[4-methyl-3-(6-[2-(1-methylpyrrolidin-2-yl)ethyl]aminopyridine-3-amido)phenyl]-2-(morpholin-4-yl)pyridine-4-carboxamide. https://doi.org/10.2210/pdb3kq7/pdb, 2009.
|
| 207 |
+
|
| 208 |
+
Duvenaud, D. K., Maclaurin, D., Iparraguirre, J., Bombarell, R., Hirzel, T., Aspuru-Guzik, A., and Adams, R. P. Convolutional networks on graphs for learning molecular fingerprints. In Cortes, C., Lawrence, N., Lee, D., Sugiyama, M., and Garnett, R. (eds.), Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. URL https://proceedings.neurips.cc/paper_files/paper/2015/file/f9be311e65d81a9ad8150a60844bb94c-Paper.pdf.
|
| 209 |
+
Fix, E. and Hodges, J. L. Discriminatory analysis. nonparametric discrimination: Consistency properties. International Statistical Review / Revue Internationale de Statistique, 57(3):238-247, 1989. ISSN 03067734, 17515823. URL http://www.jstor.org/stable/1403797.
|
| 210 |
+
Gerry, C. J., Wawer, M. J., Clemons, P. A., and Schreiber, S. L. DNA barcoding a complete matrix of stereoisomeric small molecules. Journal of the American Chemical Society, 141(26):10225-10235, 2019.
|
| 211 |
+
Gironda-Martínez, A., Donckele, E. J., Samain, F., and Neri, D. DNA-encoded chemical libraries: a comprehensive review with successful stories and future challenges. ACS Pharmacology & Translational Science, 4(4):1265-1279, 2021.
|
| 212 |
+
Gu, C., He, M., Cao, H., Chen, G., Hsieh, C.-y., and Heng, P. A. Unlocking potential binders: Multimodal pretraining DEL-fusion for denoising dna-encoded libraries. arXiv preprint arXiv:2409.05916, 2024.
|
| 213 |
+
Hackler, A. L., FitzGerald, F. G., Dang, V. Q., Satz, A. L., and Paegel, B. M. Off-DNA DNA-encoded library affinity screening. ACS combinatorial science, 22(1):25-34, 2019.
|
| 214 |
+
Heid, E., Greenman, K. P., Chung, Y., Li, S.-C., Graff, D. E., Vermeire, F. H., Wu, H., Green, W. H., and McGill, C. J. Chemprop: a machine learning package for chemical property prediction. Journal of Chemical Information and Modeling, 64(1):9-17, 2023.
|
| 215 |
+
Hou, R., Xie, C., Gui, Y., Li, G., and Li, X. Machine-learning-based data analysis method for cell-based selection of DNA-encoded libraries. ACS omega, 8(21): 19057-19071, 2023.
|
| 216 |
+
Iqbal, S., Jiang, W., Hansen, E., Aristotelous, T., Liu, S., Reidenbach, A., Raffier, C., Leed, A., Chen, C., Chung, L., et al. DEL+ ML paradigm for actionable hit discovery—a cross DEL and cross ML model assessment. ChemRxiv doi:10.26434/chemrxiv-2024-2xrx4, 2024.
|
| 217 |
+
|
| 218 |
+
Kaieda, A., Takahashi, M., Takai, T., Goto, M., Miyazaki, T., Hori, Y., Unno, S., Kawamoto, T., Tanaka, T., Itono, S., et al. Structure-based design, synthesis, and biological evaluation of imidazo [1, 2-b] pyridazine-based p38 map kinase inhibitors. Bioorganic & Medicinal Chemistry, 26 (3):647-660, 2018.
|
| 219 |
+
Kebschull, J. M. and Zador, A. M. Sources of pcr-induced distortions in high-throughput sequencing data sets. *Nu-cleic acids research*, 43(21):e143-e143, 2015.
|
| 220 |
+
Koziarski, M., Abukalam, M., Shah, V., Vaillancourt, L., Schuetz, D. A., Jain, M., van der Sloot, A., Bourgey, M., Marinier, A., and Bengio, Y. Towards DNA-encoded library generation with GFlowNets. arXiv preprint arXiv:2404.10094, 2024.
|
| 221 |
+
Kunig, V. B., Potowski, M., Klika Škopić, M., and Brunschweiger, A. Scanning protein surfaces with DNA-encoded libraries. *ChemMedChem*, 16(7):1048-1062, 2021.
|
| 222 |
+
Landrum, G. RDKit: Open-source cheminformatics. http://www.rdkit.org, 2010.
|
| 223 |
+
Lim, K. S., Reidenbach, A. G., Hua, B. K., Mason, J. W., Gerry, C. J., Clemons, P. A., and Coley, C. W. Machine learning on DNA-encoded library count data using an uncertainty-aware probabilistic loss function. Journal of chemical information and modeling, 62(10):2316-2331, 2022.
|
| 224 |
+
McCloskey, K., Sigel, E. A., Kearnes, S., Xue, L., Tian, X., Moccia, D., Gikunju, D., Bazzaz, S., Chan, B., Clark, M. A., et al. Machine learning on DNA-encoded libraries: a new paradigm for hit finding. Journal of Medicinal Chemistry, 63(16):8857-8866, 2020.
|
| 225 |
+
McInnes, L., Healy, J., and Astels, S. hdbscan: Hierarchical density based clustering. Journal of Open Source Software, 2(11):205, 2017. URL https://doi.org/10.21105/joss.00205.
|
| 226 |
+
McInnes, L., Healy, J., Saul, N., and Großberger, L. UMAP: Uniform manifold approximation and projection. Journal of Open Source Software, 3(29):861, 2018. URL https://doi.org/10.21105/joss.00861.
|
| 227 |
+
Peterson, A. A. and Liu, D. R. Small-molecule discovery through DNA-encoded libraries. Nature Reviews Drug Discovery, 22(9):699-722, 2023.
|
| 228 |
+
Rappe, A. K., Casewit, C. J., Colwell, K., Goddard III, W. A., and Skiff, W. M. UFF, a full periodic table force field for molecular mechanics and molecular dynamics simulations. Journal of the American chemical society, 114(25):10024-10035, 1992.
|
| 229 |
+
|
| 230 |
+
Richter, H., Satz, A. L., Bedoucha, M., Buettelmann, B., Petersen, A. C., Harmeyer, A., Hermosilla, R., Hochstrasser, R., Burger, D., Gsell, B., et al. DNA-encoded library-derived DDR1 inhibitor prevents fibrosis and renal function loss in a genetic mouse model of alport syndrome. ACS chemical biology, 14(1):37-49, 2018.
|
| 231 |
+
Rogers, D. and Hahn, M. Extended-connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742-754, 2010. doi: 10.1021/ci100050t. URL https://doi.org/10.1021/ci100050t. PMID: 20426451.
|
| 232 |
+
Rohm, S., Berger, B.-T., Schroder, M., Chaikuad, A., Winkel, R., Hekking, K. F., Benningshof, J. J., Muller, G., Tesch, R., Kudolo, M., et al. Fast iterative synthetic approach toward identification of novel highly selective p38 MAP kinase inhibitors. Journal of medicinal chemistry, 62(23):10757-10782, 2019.
|
| 233 |
+
Shelley, J. C., Cholleti, A., Frye, L. L., Greenwood, J. R., Timlin, M. R., and Uchimaya, M. Epik: a software program for pK a prediction and protonation state generation for drug-like molecules. Journal of computer-aided molecular design, 21:681-691, 2007.
|
| 234 |
+
Shmilovich, K., Chen, B., Karaletsos, T., and Sultan, M. M. DEL-Dock: Molecular docking-enabled modeling of DNA-encoded libraries. Journal of Chemical Information and Modeling, 63(9):2719-2727, 2023.
|
| 235 |
+
Shultz, M. D. Two decades under the influence of the rule of five and the changing properties of approved oral drugs: miniperspective. Journal of Medicinal Chemistry, 62(4): 1701-1714, 2018.
|
| 236 |
+
Torng, W., Biancofiore, I., Oehler, S., Xu, J., Xu, J., Watson, I., Masina, B., Prati, L., Favalli, N., Bassi, G., et al. Deep learning approach for the discovery of tumor-targeting small organic ligands from DNA-encoded chemical libraries. ACS omega, 8(28):25090-25100, 2023.
|
| 237 |
+
Trott, O. and Olson, A. J. Autodock vina: improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading. Journal of computational chemistry, 31(2):455-461, 2010.
|
| 238 |
+
Wang, S., Witek, J., Landrum, G. A., and Riniker, S. Improving conformer generation for small rings and macrocycles based on distance geometry and experimental torsional-angle preferences. Journal of chemical information and modeling, 60(4):2044-2058, 2020.
|
| 239 |
+
Wang, Y., Sun, Y., Cao, R., Liu, D., Xie, Y., Li, L., Qi, X., and Huang, N. In silico identification of a novel hinge-binding scaffold for kinase inhibitor discovery. Journal of Medicinal Chemistry, 60(20):8552-8564, 2017.
|
| 240 |
+
|
| 241 |
+
Weaver, S. and Gleeson, M. P. The importance of the domain of applicability in QSAR modeling. Journal of Molecular Graphics and Modelling, 26(8):1315-1326, 2008.
|
| 242 |
+
Wellnitz, J., Ahmad, S., Begale, N., Joseph, J., Zeng, H., Bolotokova, A., Dong, A., Reza, S., Ghiabi, P., Elisa, G., et al. Enabling open machine learning of DNA encoded library selections to accelerate the discovery of small molecule protein binders. 2024.
|
| 243 |
+
Xu, K., Hu, W., Leskovec, J., and Jegelka, S. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
|
| 244 |
+
Yu, Y., Cai, C., Wang, J., Bo, Z., Zhu, Z., and Zheng, H. Uni-Dock: GPU-accelerated docking enables ultralarge virtual screening. Journal of chemical theory and computation, 19(11):3336-3345, 2023.
|
| 245 |
+
Yuen, L. H. and Franzini, R. M. Achievements, challenges, and opportunities in DNA-encoded library research: An academic point of view. *ChemBioChem*, 18(9):829-836, 2017.
|
| 246 |
+
Zhu, H., Foley, T. L., Montgomery, J. I., and Stanton, R. V. Understanding data noise and uncertainty through analysis of replicate samples in DNA-encoded library selection. Journal of Chemical Information and Modeling, 62(9): 2239-2247, 2021.
|
| 247 |
+
|
| 248 |
+
# A. Experimental Protocols
|
| 249 |
+
|
| 250 |
+
# A.1. DEL Synthesis
|
| 251 |
+
|
| 252 |
+
Library Design The design of DNA-encoded libraries (DELs) often grapples with limited diversity and availability of bifunctional building blocks compared to their monofunctional counterparts. In order to expand structural diversity of the first two synthons of a three-step linear library, we implemented a hybrid design that combines trifunctional and monofunctional building blocks within one step of synthesis, to form a bifunctional synthon, by using DEL synthesis on solid supports. This strategy significantly expands the chemical space and diversity of our DELs, offering a robust pathway to discovering novel compounds with enhanced biological activity.
|
| 253 |
+
|
| 254 |
+
Library Build The DEL is built as a trisynthon library, comprised of 378 synthons in the A position, 1128 synthons in the B position (the terminal, capping step), and 191 synthons in the C position. This resulted in a DNA encoded library comprised of roughly 81 million unique members. The first two steps are done either by acylation with N-protected (Boc or Fmoc) amino acid, followed by deprotection, or by immobilization of the DNA to a solid support (DEAE sepharose resin) followed by a series of chemical transformations: acylation with trifunctional building block (Boc-amino acid with protected side chain: Fmoc-amine, ester or ketone), deprotection (if necessary) of the side chain protecting group, reaction (amide coupling, reductive amination/alkylation) with the monofunctional building block (amine, aldehyde or acid), and lastly eluting the DNA off the DEAE sepharose and cleavage of the Boc group. In the final step, the downstream amino groups were reacted with monofunctional acids or aldehydes. Each of the steps described herein is encoded by the attached DNA strand allowing for ready deconvolution of the sequence of chemical steps taken for any given member.
|
| 255 |
+
|
| 256 |
+
# A.2. DEL Selection
|
| 257 |
+
|
| 258 |
+
The DEL selection was performed using an Agilent Bravo for all handling steps. To immobilize the protein 1 nanomole of the protein of interest (Avi-tagged MAPK14 or DDR1). were incubated through gentle aspiration through streptavidin-coated beads housed within PhyTips (Cat. #PTV-92-20-05). This was performed in technical triplicate for each protein. Following immobilization, any unbound proteins were washed away using Buffer A (45 mM HEPES, 45 mM Tris-HCl, 150 mM NaCl, 5 mM MgCl $_2$ , pH 8.1).
|
| 259 |
+
|
| 260 |
+
Subsequently, the immobilized proteins were incubated through gentle aspiration and dispersion over a period of 30 minutes with the Naive DEL library (at 500K copies of each member) in solution of Buffer A supplemented with $0.1\mathrm{mg / ml}$ sheared salmon sperm DNA to minimize non-specific binding. To eliminate noise and unbound library compounds, the Phynexus tips were washed six independent times with Buffer B (45 mM HEPES, 45 mM Tris-HCl, 425 mM NaCl, 5 mM $\mathrm{MgCl}_2$ , pH 8.1, $0.03\%$ Tween).
|
| 261 |
+
|
| 262 |
+
Post-washing procedure. Any compounds remaining (the binders) were eluted by $5\mathrm{x}$ aspiration through the tip of hot water at $90^{\circ}\mathrm{C}$ . The material eluted is termed 'Elution Round 1'. Following this the used Phytips were disposed, and fresh streptavidin PhyTip were used to capture a fresh 1 nanomole of avi-tagged protein of interest, and the process described above repeated, but, the Naive DEL Library is instead the $90\%$ of the eluent from Round 1 (Elution Round 1) as the source of library. This procedure is repeated a final time with the Elution Round 2 sample to generate an Elution Round 3 sample.
|
| 263 |
+
|
| 264 |
+
From the $10\%$ of eluates conserved from round 2 and the round 3 eluate were taken $5\mu \mathrm{L}$ of sample that was subsequently PCR amplified in $50~\mu \mathrm{L}$ reactions using New England BioLabs 2x Q5 mastermix (Cat. #M0492S) and custom designed barcode primers to differentiate both the round, target and experiment. Following this $1\mu \mathrm{L}$ of the amplified material is transferred to a $25~\mu \mathrm{L}$ PCR reaction with Q5 and custom P5 and P7 primers to install the relevant sequencing primers. The PCR mixture is purified using a QIAquick PCR Purification Kit (Cat. #28104), this sample is then further purified to remove any DNA products of incorrect size using a PippenHT. The purified samples are submitted to next-generation sequencing utilizing the Novaseq platform with a 2x150 BP S4 kit. The sequencing depth (number of read counts/sequence counts) is 514.5M/65.8M for MAPK14, 296.5M/49.8M for DDR1, and 440.7M/52M for BCA in all three replicates.
|
| 265 |
+
|
| 266 |
+
# A.3. Biophysical Assays
|
| 267 |
+
|
| 268 |
+
# A.3.1. MOLECULAR BIOLOGY
|
| 269 |
+
|
| 270 |
+
hMAPK14-1 (1-360, WT) gene was cloned into pET-28a expression vector (Novagen) by polymerase chain reaction (PCR). An N-terminal His-TEV-Avi tag was added by using the forward primer $5^{\prime}$ -CTTTAAGAAGGAGATATACCATGGGCCATCATCACCATCACCAC-3' and the reverse primer $5^{\prime}$ -
|
| 271 |
+
|
| 272 |
+
TTCGTGCCATTCAATTTCTG-3'. The forward primer included the restriction site NcoI. The hMAPK14 (1-360, WT) gene was cloned using the forward primer 5'-CTCAGAAAATTGAATGGCACGAAATGTCTCAGGAGAGGCCCACG-3' and the reverse primer 5'-GTGGTGGTGGTGGTGGTGCTCGAGTTAGGACTCCATCTCTTCTTGGTCA-3'. The reverse primer included the restriction site XhoI. This generated plasmid pET28a-His-TEV-avi-hMAPK14-1 (1-360, WT).
|
| 273 |
+
|
| 274 |
+
hMAPK14-2 (1-360, WT) gene was cloned into pET-28a expression vector (Novagen) by PCR. An N-terminal His-TEV tag was added by using the forward primer $5^{\prime}$ -CTTTAAGAAGGAGATATACCATGGGCCATCATCACCATCACCAC-3' and the reverse primer $5^{\prime}$ -GCCCTGGAAGTACAGGTTCTC-3'. The forward primer included the restriction site NcoI. The hMAPK14 (1-360, WT) gene was cloned using the forward primer $5^{\prime}$ -GAGAACCTGTACTTCCAGGGCATGTCTCAGGAGAGGCCACG-3' and the reverse primer $5^{\prime}$ -GTGGTGGTGGTGGTGGTGCTCGAGTTAGGACTCCATCTCTTCTTGGTCA-3'. The reverse primer included the restriction site XhoI. This generated plasmid pET28a-His-TEV-hMAPK14-2 (1-360, WT).
|
| 275 |
+
|
| 276 |
+
hDDR1-1 (593-913, $\Delta 730 - 735$ ) gene was cloned into pFastBac1 expression vector by PCR. An N-terminal His-TEV tag was added by using the forward primer $5^{\prime}$ -GGTCCGAAGCGCGCGGAATTCACCATGCACCATCACCATCACCAC $3^{\prime}$ and the reverse primer $5^{\prime}$ -ACCTTGGAAGTACAGGTTCTC- $3^{\prime}$ . The forward primer included the restriction site EcoRI. The hDDR1-1 (593-913, $\Delta 730 - 735$ ) gene was cloned using the forward primer $5^{\prime}$ -GAGAACCTGTACTTCCAAGGTCCTGGTGCTGTGGGTGACGGT- $3^{\prime}$ and the reverse primer $5^{\prime}$ -GGCTCTAGATTCGAAAGCGGCCGCTTACACAGTGTCAGAGCGTC- $3^{\prime}$ . The reverse primer included the restriction site NotI. This generated plasmid pFastBac1-His-TEV-hDDR1-1 [593-913 ( $\Delta 730 - 735$ ), WT].
|
| 277 |
+
|
| 278 |
+
hDDR1-2 (593-913, $\Delta 730 - 735$ ) gene was cloned into pFastBac1 expression vector by PCR. An N-terminal His-TEV-Avi tag was added by using the forward primer $5^{\prime}$ -GGTCCGAAGCGCGCGGAATTCACCATGCATCATCACCATCACCAC3' and the reverse primer $5^{\prime}$ -TTCGTGCCATTCAATTTTCTG-3'. The forward primer included the restriction site EcoRI. The hDDR1-2 (593-913, $\Delta 730 - 735$ ) gene was cloned using the forward primer $5^{\prime}$ -CTCAGAAAATTGAATGGCACGAACCTGGTGCTGTGGGTGACGGT-3' and the reverse primer $5^{\prime}$ -GGCTCTAGATTCGAAAGCGGCCGCTTACACAGTGTCAGAGCGTC-3'. The reverse primer included the restriction site NotI. This generated plasmidpFastBac1-His-TEV-Avi-hDDR1-2 [593-913 ( $\Delta 730 - 735$ ), WT].
|
| 279 |
+
|
| 280 |
+
BCA2-1 (1-260, WT) gene was cloned into pET28a expression vector by PCR. An N-terminal His-TEV-Avi tag was added by using the forward primer 5'-CTTTAAGAAGGAGATATACCATGGGCCATCATCACCATCACCAC3' and the reverse primer 5'-TTCGTGCCATTCAATTTTCTG-3'. The forward primer included the restriction site NcoI. The BCA2-1 (1-260, WT) gene was cloned using the forward primer 5'-CTCAGAAAATTGAATGGCACGAAATGAGCCATCATTGGGGCTATGGCAAAC-3' and the reverse primer 5'-GTGGTGGTGGTGGTGGTGCTCGAGTTATTTCGGAAAGCCGCGCACT-3'. The reverse primer included the restriction site XhoI. This generated plasmid pET28a-His-TEV-Avi-BCA2(1-260,WT).
|
| 281 |
+
|
| 282 |
+
All cloning was performed using the Beyotime Seamless Cloning kit (D7010M). All plasmids were amplified using $\mathrm{DH5}\alpha$ cells followed by DNA extraction. Insertion of the genes were verified by sequencing.
|
| 283 |
+
|
| 284 |
+
# A.3.2. PROTEIN PRODUCTION
|
| 285 |
+
|
| 286 |
+
# MAPK14
|
| 287 |
+
|
| 288 |
+
MAPK14 plasmid [either pET28a-His-TEV-avi-hMAPK14-1 (1-360, WT) or pET28a-His-TEV-hMAPK14-2 (1-360, WT)] was transformed into BL21-Gold (DE3) competent cells (Agilent, 230132) and plated on LB/agar/kanamycin $(50\mu \mathrm{g} / \mathrm{mL})$ medium then left to grow at $37^{\circ}\mathrm{C}$ . Fresh colonies from transformed BL21-Gold cells were picked and used to inoculate 100 mL of LB medium (10 g tryptone, 10 g NaCl, 5 g yeast extract per liter water) supplemented with $(50\mu \mathrm{g} / \mathrm{mL})$ kanamycin and cultured overnight at 250 rpm $37^{\circ}\mathrm{C}$ . The overnight culture was added to 2 L LB/kanamycin $(50\mu \mathrm{g} / \mathrm{mL}))$ and grown at 250 rpm $37^{\circ}\mathrm{C}$ until OD600 reached 0.600. Isopropyl β-D-1-thiogalactopyranoside (IPTG) was then added (final concentration 0.3 mM) and the culture was left to continue to grow at $16^{\circ}\mathrm{C}$ , 250 rpm overnight.
|
| 289 |
+
|
| 290 |
+
Cells were harvested the following day at $8,000~\mathrm{rpm}$ at $4^{\circ}\mathrm{C}$ and stored at $-20^{\circ}\mathrm{C}$ . Cell pellets were resuspended in lysis buffer (50 mM Tris, 500 mM NaCl, 1 mM TCEP, 10% glycerol, pH 8.0 and 0.5 μL Benzonase) and lysed using a high pressure cell homogenizer. Lysate was centrifuged at 13,000 rpm for 30 minutes at $4^{\circ}\mathrm{C}$ , twice, to remove cell debris. Lysate supernatant was then applied to 6 mL of Ni-Resin (which had been pre-equilibrated with lysis buffer) and the lysate/Ni mixture was incubated for 1 hr at $4^{\circ}\mathrm{C}$ . Resin was then loaded into a column and the column was washed with wash buffer (50 mM Tris, 500 mM NaCl, 1 mM TCEP, 10% glycerol, pH 8.0) and eluted with elution buffer (50 mM Tris, 500 mM NaCl, 1 mM
|
| 291 |
+
|
| 292 |
+
TCEP, $10\%$ glycerol, pH 8.0 and $250~\mathrm{mM}$ imidazole). Eluted protein was cleaved with TEV protease at a 1:10 (w/w) ratio and dialyzed against dialysis buffer (50 mM Tris, 100 mM NaCl, 1 mM TCEP, 7.5 mM MgCl2, pH 8.0) at $4^{\circ}\mathrm{C}$ overnight.
|
| 293 |
+
|
| 294 |
+
Protein was loaded onto a Ni-resin column, pre-equilibrated with lysis buffer and the cleaved protein was collected in the flow-through (cleaved-tag left on the column). In the case of Avi-tagged protein (MAPK14-1), the dialyzed protein was incubated at $18^{\circ}\mathrm{C}$ for 4 hrs with ATP $(1\mathrm{mM})$ , Biotin $(0.5\mathrm{mM})$ , and BirA $(200\mathrm{nM})$ , prior to loading onto Ni-resin to remove cleaved hexahistidine tags.
|
| 295 |
+
|
| 296 |
+
Protein was collected and concentrated with a $10\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit. Concentrated protein was loaded onto a Superdex 200 column pre-equilibrated with SEC buffer. Protein was collected according to UV-vis signal and follow-up SDS-PAGE verification. Protein fractions were pooled and concentrated with a $10\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit and exchanged into a final buffer containing $10\mathrm{mM}$ HEPES, $200\mathrm{mMNaCl}$ , $1\mathrm{mM}$ TCEP at $\mathrm{pH}7.5$ . A final purified protein yield of $19\mathrm{mg/L}$ cell culture was obtained.
|
| 297 |
+
|
| 298 |
+
# DDR1
|
| 299 |
+
|
| 300 |
+
DDR1 plasmid (either pFastBac1-His-TEV-Avi-hDDR1-2 [593-913 ( $\Delta$ 730-735), WT] or pFastBac1-His-TEV-hDDR1-1 [593-913 ( $\Delta$ 730-735), WT]) was transformed into DH10Bac competent cells (Agilent) and plated on LB/agar plates containing $50\mu \mathrm{g} / \mathrm{mL}$ kanamycin, $7\mu \mathrm{g} / \mathrm{mL}$ gentamicin, $10\mu \mathrm{g} / \mathrm{mL}$ tetracycline, $100\mu \mathrm{g} / \mathrm{mL}$ X-gal and $40\mu \mathrm{g} / \mathrm{mL}$ IPTG then left to grow at $37^{\circ}\mathrm{C}$ for 48 hours. Fresh colonies from transformed DH10Bac competent cells were picked and used to inoculate $5\mathrm{mL}$ of LB medium ( $10\mathrm{g}$ tryptone, $10\mathrm{gNaCl}$ , $5\mathrm{g}$ yeast extract per liter water) supplemented with $50\mu \mathrm{g} / \mathrm{mL}$ kanamycin, $7\mu \mathrm{g} / \mathrm{mL}$ gentamicin, $10\mu \mathrm{g} / \mathrm{mL}$ tetracycline and cultured overnight at $37^{\circ}\mathrm{C}$ . An aliquot of each cell culture was verified to contain the recombinant bacmid by PCR analysis.
|
| 301 |
+
|
| 302 |
+
Transfection. In a 6-well plate, Sf9 cells were grown in $2\mathrm{mL}$ cultures to a cell density of $2\times 106$ cells/mL in SF900II medium at $27^{\circ}\mathrm{C}$ . The culture medium was then exchanged with fresh SF900II medium followed by inoculation with the recombinant bacmid:lipid (Cellfectin II reagent) complexes. The bacmid infected cells were incubated at $27^{\circ}\mathrm{C}$ for 5 days. The cell culture medium was collected as P1 virus and cell pellet was used for western blot analysis.
|
| 303 |
+
|
| 304 |
+
P2 baculovirus generation and scale-up protein expression. Sf9 cells were grown in a $50~\mathrm{mL}$ culture medium to a cell density of $2\times 106$ cells/mL followed by infection with P1 virus in the ratio 1:200. Incubate the P1 infected Sf9 cells at $27^{\circ}C$ for 3 days. The cell culture medium was collected as P2 virus and the cell pellet from $1\mathrm{mL}$ cell culture was used for western blot analysis. For scale-up expression, Sf9 cells were grown in a $12\mathrm{L}$ culture medium to a cell density of $2\times 106$ cells/mL followed by infection with P2 virus in the ratio 1:200. For N-Avi tagged hDDR1-2, BirA was co-expressed (infection ratio 1:500, biotin $40~\mu \mathrm{M}$ ) with the P2 infected Sf9 cells. The P2 infected Sf9 cells were incubated at $27^{\circ}C$ for 3 days.
|
| 305 |
+
|
| 306 |
+
Cells were harvested after 3 days at $8,000\mathrm{rpm}$ at $4^{\circ}\mathrm{C}$ and stored at $-20^{\circ}\mathrm{C}$ . Cell pellets were resuspended in lysis buffer (50 mM HEPES, 300 mM NaCl, 2 mM TCEP, 10 mM $\mathrm{MgCl}_2$ , 10% saccharose, cocktail, 100U/mL Benzonase, pH 8.0) and Protease Inhibitor Cocktail Tablet was added until a final concentration of 1 tablet/L. Cells were sonicated to lyse in repeating periods of 3 seconds on, 3 seconds off for 10 minutes. This cycle was then repeated for an additional 10 minutes. A color change of cell lysate was used to help indicate if cell lysis was sufficient, if no color change from pre-lysed cells was observed, cell lysis was allowed to continue. Cell lysate was centrifuged at 13,000 rpm for 30 minutes at $4^{\circ}\mathrm{C}$ , twice, to remove cell debris. Lysate supernatant was then applied to 6 mL of Ni-Resin (which had been pre-equilibrated with lysis buffer) and the lysate/Ni resin mixture was incubated for 1 hr at $4^{\circ}\mathrm{C}$ . Resin was then loaded into a column and the column was washed with wash buffer (50 mM HEPES, 300 mM NaCl, 2 mM TCEP, 10 mM $\mathrm{MgCl}_2$ , pH 8.0) and eluted with elution buffer (50 mM HEPES, 300 mM NaCl, 2 mM TCEP, 10 mM $\mathrm{MgCl}_2$ , pH 8.0, 50 mM imidazole). Eluted protein was cleaved with TEV protease at a 1:10 (w/w) ratio and dialyzed against dialysis buffer (50 mM HEPES, 300 mM NaCl, 2 mM TCEP, 10 mM $\mathrm{MgCl}_2$ , pH 8.0) at $4^{\circ}\mathrm{C}$ overnight.
|
| 307 |
+
|
| 308 |
+
Protein was loaded onto a Ni-resin column, pre-equilibrated with lysis buffer and the cleaved protein was collected in the flow-through (cleaved-tag left on the column). Protein was collected and concentrated with a $30\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit. Concentrated protein was loaded onto a Superdex 200 column pre-equilibrated with SEC buffer. Protein was collected according to UV-vis signal and follow-up SDS-PAGE verification. Protein fractions were pooled and concentrated with a $30\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit and exchanged into a final buffer containing $20\mathrm{mM}$ HEPES, $200\mathrm{mMNaCl}$ , $1\mathrm{mM}$ TCEP, $5\%$ glycerol at $\mathsf{pH}7.5$ . A final purified protein yield of $1.8\mathrm{mg / L}$ cell culture was obtained.
|
| 309 |
+
|
| 310 |
+
# BCA2
|
| 311 |
+
|
| 312 |
+
The BCA plasmid, pET28a-His-TEV-Avi-BCA2(1-260,WT), was transformed into BL21-Gold (DE3) competent cells (Agilent, 230132) and plated on LB/agar/kanamycin $(50\mu \mathrm{g} / \mathrm{mL})$ medium then left to grow at $37^{\circ}\mathrm{C}$ . Fresh colonies from transformed BL21-Gold cells were picked and used to inoculate $100~\mathrm{mL}$ of LB medium (10 g tryptone, 10 g NaCl, 5 g yeast extract per liter water) supplemented with $50~\mu \mathrm{g} / \mathrm{mL}$ kanamycin and cultured overnight at 220 rpm $37^{\circ}\mathrm{C}$ . The overnight culture was added to 10 L LB/kanamycin $(50~\mu \mathrm{g} / \mathrm{mL})$ and grown at 180 rpm $37^{\circ}\mathrm{C}$ until OD600 reached 0.600. Isopropyl $\beta$ -D-1-thiogalactopyranoside (IPTG) was then added (final concentration $0.3\mathrm{mM}$ ) and the culture was left to continue to grow at $16^{\circ}\mathrm{C}$ , 160 rpm overnight.
|
| 313 |
+
|
| 314 |
+
Cells were harvested the following day at $8,000~\mathrm{rpm}$ at $4^{\circ}\mathrm{C}$ and stored at $-20^{\circ}\mathrm{C}$ . Cell pellets were resuspended in lysis buffer (50 mM Tris, 500 mM NaCl, 1 mM TCEP, 1 mM PMSF, 10% glycerol, pH 8.0 and 100 U/mL Benzonase) and lysed using a high pressure cell homogenizer. Lysate was centrifuged at 13,000 rpm for 30 minutes at $4^{\circ}\mathrm{C}$ , twice, to remove cell debris. Lysate supernatant was then applied to 5 mL of Ni-Resin (which had been pre-equilibrated with lysis buffer) and the lysate/Ni mixture was incubated for 1 hr at $4^{\circ}\mathrm{C}$ . Resin was then loaded into a column and the column was washed with wash buffer (50 mM Tris, 500 mM NaCl, 1 mM TCEP, 10% glycerol, pH 8.0) and eluted with elution buffer (50 mM Tris, 500 mM NaCl, 1 mM TCEP, 10% glycerol, pH 8.0 and 250 mM imidazole). Eluted protein was cleaved with TEV protease at a 1:10 (w/w) ratio and dialyzed against dialysis buffer (50 mM Tris, 100 mM NaCl, 1 mM TCEP, 7.5 mM MgCl2, 5% glycerol, pH 8.0) at $4^{\circ}\mathrm{C}$ overnight.
|
| 315 |
+
|
| 316 |
+
The dialyzed protein was incubated at $18^{\circ}\mathrm{C}$ for 4 hrs with ATP (1 mM), Biotin (0.5 mM), and BirA (200 nM), prior to loading onto Ni-resin to remove cleaved hexahistidine tags. Protein was loaded onto a Ni-resin column, pre-equilibrated with lysis buffer and the cleaved protein was collected in the flow-through (cleaved-tag left on the column).
|
| 317 |
+
|
| 318 |
+
Protein was collected and concentrated with a $30\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit. Concentrated protein was loaded onto a Superdex 75 column pre-equilibrated with SEC buffer. Protein was collected according to UV-vis signal and follow-up SDS-PAGE verification. Protein fractions were pooled and concentrated with a $30\mathrm{kDa}$ Millipore Amicon Ultra-15 centrifugal filter unit and exchanged into a final buffer containing $25\mathrm{mM}$ HEPES, $200\mathrm{mMNaCl}$ , $1\mathrm{mM}$ TCEP at $\mathsf{pH}7.5$ . A final purified protein yield of $8.38\mathrm{mg / L}$ cell culture was obtained.
|
| 319 |
+
|
| 320 |
+
BCA used for fluorescence polarization assay was obtained from Sigma-Aldrich (Product No. C2522).
|
| 321 |
+
|
| 322 |
+
# A.3.3. BIOPHYSICAL METHODS
|
| 323 |
+
|
| 324 |
+
# Fluorescence Polarization
|
| 325 |
+
|
| 326 |
+
Annealing of DNA tagged DEL molecules. DEL small molecule hits are attached to the DNA oligo, Za (GCAGGCGGAGACCTGCAGTCTG). Fluorescein (Integrated DNA Technologies, /3FluorT/) tagged complementary DNA oligo Za' (CAGACTGCAGGTCTCCGCCTG/3FluorT/) was annealed to Za-tagged DEL compounds using a thermocycler (Bio-Rad, 1851148).
|
| 327 |
+
|
| 328 |
+
Assay setup. In a 384 well black small volume microplate (Greiner Bio-One, 784900), the annealed compounds were dispensed using Echo650 (Labcyte) at a constant final concentration of $4\mathrm{nM}$ in $137\mathrm{mMNaCl}$ , $2.7\mathrm{mM}$ KCl, $9.8\mathrm{mM}$ Phosphate buffer, $0.01\%$ Tween-20. MAPK14-2, DDR1-1, and BCA were each serially diluted 1:1 starting from a top dose of $50\mu \mathrm{M}$ in $137\mathrm{mMNaCl}$ , $2.7\mathrm{mM}$ KCl, $9.8\mathrm{mM}$ Phosphate buffer, $0.01\%$ Tween-20 for a total 16-point dilution and were transferred to the 384 well black small volume microplate containing the annealed compounds using Agilent Bravo G5563A. The final assay concentration was $2\mathrm{nM}$ the annealed compound and $25\mu \mathrm{M}$ top dose of the protein. The final assay volume was $10\mu \mathrm{L}$ . The serially diluted protein was incubated with the annealed DEL compounds and then the fluorescence polarization was measured using PerkinElmer EnVision 2105 in milli-P (mP), where $mP = 1000\times (S - GP) / (S + GP)$ ( $S$ and $P$ are background subtracted fluorescence count rates, and $G$ is an instrument and assay dependent factor). The dose-response curves ( $mP$ vs. [Protein]) were fit in GraphPad Prism using the equation, $Y = Bmax\times X / (K_{D} + X) + NS\times X + Background$ , where $Y$ is $mP$ , $X$ is [Protein], $Bmax$ is the maximum specific binding in the same units as $Y$ , $K_{D}$ is the equilibrium dissociation constant, in the same units as $X$ , $NS$ is the slope of nonspecific binding in $Y$ units divided by $X$ units, Background is the amount of nonspecific binding with no added radioligand.
|
| 329 |
+
|
| 330 |
+

|
| 331 |
+
(a) Correlation between experimental replicates for MAPK14.
|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
(b) Correlation between experimental replicates for DDR1.
|
| 339 |
+
|
| 340 |
+

|
| 341 |
+
|
| 342 |
+

|
| 343 |
+
|
| 344 |
+

|
| 345 |
+
(c) Correlation between experimental replicates for BCA.
|
| 346 |
+
|
| 347 |
+

|
| 348 |
+
|
| 349 |
+

|
| 350 |
+
|
| 351 |
+

|
| 352 |
+
(d) Correlation between experimental replicates for the control.
|
| 353 |
+
|
| 354 |
+

|
| 355 |
+
Figure 7: Correlation between experimental replicates. Binding to each target and the control was measured in three replicates, which are included in the published dataset.
|
| 356 |
+
|
| 357 |
+

|
| 358 |
+
|
| 359 |
+
# Surface Plasmon Resonance
|
| 360 |
+
|
| 361 |
+
Compounds were tested using Surface Plasmon Resonance (SPR) using a Biacore T200 and a Biacore S200 (Cytiva Life Sciences). N-terminally biotinylated DDR1 [593-913 ( $\Delta$ 730-735)], MAPK14 (1-360), and BCA2-1 (1-260, WT) were immobilized to a streptavidin coated SPR chip (Series S SA, Cytiva, 29699621). Approximately 4400 RU of hDDR1-2, 4900 RU of MAPK14-1, and 3300 RU of BCA2-1 were immobilized for dose response assays using 1xHBS-P+ (10 mM HEPES, 150 mM NaCl, 0.05% v/v Surfactant P20; pH 7.4). 1xHBS-P+ was prepared by mixing 10xHBS-P+ (Cytiva, BR100671) with HPLC-grade water (Fisher Scientific, W51).
|
| 362 |
+
|
| 363 |
+
Compounds were diluted in the SPR running buffer which consisted of 1xHBS-P+ supplemented with $5\%$ DMSO (VWR, 76177-938). Multi-cycle kinetics was used to determine compound affinities. Compounds were injected in a series of increasing concentrations with a $30~\mu \mathrm{L / min}$ flow rate, a $60~s$ contact time and a $300~s$ dissociation time. Compound sensorgrams were processed and fit using Biacore Evaluation software, with DMSO correction applied during sensorgram processing. Binding and dissociation curves for each compound were globally fit to obtain an on- and off-rate kinetic constant ( $\mathrm{k_a}$ and $\mathrm{k_d}$ , respectively) which were used to determine the overall binding constant ( $\mathrm{K_D}$ ) for each compound.
|
| 364 |
+
|
| 365 |
+
# B. Experimental Replicability
|
| 366 |
+
|
| 367 |
+
DEL experiments suffer from the substantial noise that stems from the large scale of combinatorial libraries screened simultaneously within a single tube. Key sources of this noise include inconsistent control over the quantities of each compound in the mixture, synthesis-related challenges such as the introduction of side products and low synthetic yields, as well as errors during DNA sequencing. Figure 7 illustrates the strong correlation between experimental replicates in our DEL experiments, underscoring the reproducibility of the panning procedures we conducted.
|
| 368 |
+
|
| 369 |
+
# C. Validation Set Selection
|
| 370 |
+
|
| 371 |
+
We selected validation compounds to cover a range of $K_{D}$ values and chemical diversity, allowing us to better assess the models' ability to rank molecules across diverse binding affinities. To achieve this, we used an ensemble of models described in Section 3, and then clustered the molecules based on chemical similarity via Butina clustering using Morgan fingerprints. This constituted the molecules in the "in-library" set. Figure 8 shows the distributions of the $\mathrm{pK}_{D}$ values of the selected compounds. We also surveyed literature for tool compounds, which we also re-synthesized on-DNA. This made up the additional molecules found in the "extended" set.
|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
(a) MAPK14 on-DNA
|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
(b) MAPK14 off-DNA
|
| 378 |
+
|
| 379 |
+

|
| 380 |
+
(c) DDR1 on-DNA
|
| 381 |
+
Figure 8: Distributions of $\mathbf{pK}_D$ values in the in-library held-out sets.
|
| 382 |
+
|
| 383 |
+

|
| 384 |
+
(d) DDR1 off-DNA
|
| 385 |
+
|
| 386 |
+
# D. Model Hyperparameters
|
| 387 |
+
|
| 388 |
+
This section describes the hyperparameters used to train the models presented in this study. Random Forest and XGBoost used 100 decision trees trained with the squared error criterion, and the depth of decision trees was not restricted. The k-Nearest Neighbors model used 5 nearest neighbors.
|
| 389 |
+
|
| 390 |
+
The final architecture of the DNN model consisted of 5 linear layers with the ReLU activation functions except for the last one. Batch norm and dropout layers (with the probability of zeroing an element equal to $20\%$ ) were applied after each layer before the activation layers. The hidden dimension size was set to 512 for all layers.
|
| 391 |
+
|
| 392 |
+
The GIN model has 5 GIN convolutional layers with hidden dimension size equal to 256. The graph convolutional layers are followed by the global average pooling layer and two linear layers with a ReLU activation layer between them. The first linear layer reduces the dimensionality from 256 to 128 before the second layer produces the model prediction.
|
| 393 |
+
|
| 394 |
+
Chemprop uses three layers of bond message passing with the hidden dimension of 300. Then, the information is aggregated using a global average pooling layer, and one linear layer is used to make predictions. The model is trained using the default Chemprop optimization procedure, which employs the Adam optimizer with a Noam learning rate scheduler and 2 epochs of warmup.
|
| 395 |
+
|
| 396 |
+
The DEL-Compose model was used in two modes of molecule encoding: synthon-based encoding (denoted DEL-Compose $^{(S)}$ ) and full molecule encoding (denoted DEL-Compose $^{(M)}$ ). The full molecule encoding uses four linear layers with ReLU activation functions to learn the encoding of the molecule based on its Morgan fingerprint. The synthon-based mode embeds each synthon separately using the same 4-layer MLP. Next, combinations of synthon embeddings (AB, BC, AC, ABC) are further processed by 2-layer MLPs, and finally all embeddings are aggregated using a 4-head attention pooling. The output distribution was set to zero-inflated Poisson distribution. The learning rate used to train DEL-Compose was 5e-5, and the batch size was 64.
|
| 397 |
+
|
| 398 |
+
# E. Dataset Splitting
|
| 399 |
+
|
| 400 |
+
It is often difficult to ensure that information from the test set does not leak into train. One popular method is calculating Bemis-Murcko scaffolds (Bemis & Murcko, 1996) for each compound in a dataset and assigning compounds to a split by scaffold. Unfortunately, this method often fails for DEL data. Below we calculate Bemis-Murcko scaffolds for the top million compounds in the MAPK14 dataset using rdkit (Landrum, 2010). There are $\sim 300,000$ unique scaffolds calculated for these compounds, implying many compounds have a unique scaffold (see Fig. 9a). Additionally the common scaffolds are often trivial (see Fig. 9b). The most common scaffold is a simple benzene, and the next five most common are also extremely common molecular building blocks. Given these shortcomings, we do not use a scaffold split.
|
| 401 |
+
|
| 402 |
+
An alternative method is a similarity split based on clustering with fingerprints. A classic method for this is Butina Clustering (Butina, 1999). Unfortunately, it does not scale well to large datasets. We have developed an internal method that scales to large datasets. Our two step method first uses UMAP (McInnes et al., 2018) to reduce 1024 ECFP4 fingerprints (Rogers & Hahn, 2010) to length 10 float vectors. Then HDBSCAN (McInnes et al., 2017) is used to cluster compounds, in a GPU implementation from NVIDIA (cuml) this runs in a few hours on a single Tesla T4. Clusters are assigned to splits using a waterfall method, at each step assigning the largest remaining cluster to the smallest current split. The following settings were used:
|
| 403 |
+
|
| 404 |
+
UMAP(n_components=10, metric="jaccard", n_neighbors=30, min_dist=0.0, n_epochs=1000)
|
| 405 |
+
|
| 406 |
+
HDBSCAN(min_cluster_size=10, min_samples=None, metric='euclidean', prediction_data=True, cluster_selection_method='eom')
|
| 407 |
+
|
| 408 |
+

|
| 409 |
+
(a) Number of occurrences for the 100 most common scaffolds in the top one million compounds for MAPK14. The number of compounds assigned to each scaffold declines rapidly, and many scaffolds are unique.
|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
10061 counts
|
| 413 |
+
|
| 414 |
+

|
| 415 |
+
2476 counts
|
| 416 |
+
|
| 417 |
+

|
| 418 |
+
1927 counts
|
| 419 |
+
|
| 420 |
+
1894 counts
|
| 421 |
+

|
| 422 |
+
(b) The top six most frequent scaffolds are common structures that are not pharmacologically "interesting".
|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
1859 counts
|
| 426 |
+
|
| 427 |
+

|
| 428 |
+
1670 counts
|
| 429 |
+
Figure 9: Bemis-Murcko scaffolds in KinDEL. The high number of unique scaffolds and the simplicity of the most common scaffolds indicate that a scaffold-based split is not challenging enough for our benchmark.
|
| 430 |
+
|
| 431 |
+

|
| 432 |
+
(a) DDR1
|
| 433 |
+
|
| 434 |
+

|
| 435 |
+
(b) MAPK14
|
| 436 |
+
Figure 10: Example ligands from the KinDEL datasets docked to our selected kinases; (a) example pose of a library member docked to a DFG-out conformation of DDR1 (PDB: 6FEX), forming extensive hinge interactions. Beta-1 and -2 hidden for clarity; (b) example pose of a library member docked to a DFG-out conformation of MAPK14 (PDB: 3KQ7), bridging the activation loop and C-alpha glutamate.
|
| 437 |
+
|
| 438 |
+
# F. Molecular Docking Procedure
|
| 439 |
+
|
| 440 |
+
Tautomer and protonation state selection was performed using Epik Classic (Shelley et al., 2007) from Schrödinger Suite 2024-4 at pH 7.4. For each library member, a random subset of stereoisomers was enumerated using rdkit 2023.09.2 (up to 32), then 4 conformers per stereoisomer were generated using ETKDGv3 (Wang et al., 2020). Up to 8 of the lowest-energy conformers under the UFF force field (Rappé et al., 1992) (max 1 per stereoisomer) were retained, for compounds with UFF parameters for all atoms (otherwise, up to 8 random conformers). Docking was performed using the Vina scoring function (Trott & Olson, 2010) in Uni-Dock 1.1.2 (Yu et al., 2023) with exhaustiveness 128 and max_step 20, saving the top three poses per receptor. All of these 234k ligand states were docked against all six receptor models, using a fixed 20 Å docking box centered on the orthosteric pocket.
|
| 441 |
+
|
| 442 |
+
One receptor model represents the major conformation of DDR1 in available experimental structures, the DFG-out, C-helix-in PDB: 6FEX (Richter et al., 2018). Five receptor models were chosen to represent most experimental structures of MAPK14, with a variety of activation loop and P-loop conformations, PDB: 3KQ7, 3S3I, 5WJJ, 5XYY, and 6SFI (Cheng et al., 2009; Aiguadé et al., 2012; Kaieda et al., 2018; Wang et al., 2017; Rohm et al., 2019). All receptors were prepared using the Protein Preparation Wizard from Schrödinger Suite 2023-4, capping termini with neutral ends, and aligned into a common frame.
|
| 443 |
+
|
| 444 |
+
Docked poses are provided in SDF format with "molecule_hash" and "receptor" properties. Example poses are shown in Figure 10, where the hinge binding motif that is characteristic for kinases can be observed.
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba9724927e461862c075fb2c4d9b9a6cd9455fab0b6b69534e3832785f3be802
|
| 3 |
+
size 892624
|
2025/KinDEL_ DNA-Encoded Library Dataset for Kinase Inhibitors/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/c092d8c8-7940-4757-9534-4cfb4204a51b_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29a31a7098a51028066b3879208b27c411ea3d65e6342a3e32cd4a6d0e0a5fa4
|
| 3 |
+
size 3240310
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/full.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23e7cef3c9650e5af77dda35a5daa7471265620f82f72aa2da8fdc4e2e6a87a3
|
| 3 |
+
size 1033424
|
2025/Kinetic Langevin Diffusion for Crystalline Materials Generation/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/0fbd114c-7300-4386-a59c-ad72cc56259e_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ca3103af027607661b6fb5f30e044e7cfa67ca0ca0eb99c4fcea3c59118cbb7
|
| 3 |
+
size 7372869
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/full.md
ADDED
|
@@ -0,0 +1,574 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Knowledge Retention in Continual Model-Based Reinforcement Learning
|
| 2 |
+
|
| 3 |
+
Haotian Fu $^{*1}$ Yixiang Sun $^{*1}$ Michael Littman $^{1}$ George Konidaris $^{1}$
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
We propose DRAGO, a novel approach for continual model-based reinforcement learning aimed at improving the incremental development of world models across a sequence of tasks that differ in their reward functions but not the state space or dynamics. DRAGO comprises two key components: Synthetic Experience Rehearsal, which leverages generative models to create synthetic experiences from past tasks, allowing the agent to reinforce previously learned dynamics without storing data, and Regaining Memories Through Exploration, which introduces an intrinsic reward mechanism to guide the agent toward revisiting relevant states from prior tasks. Together, these components enable the agent to maintain a comprehensive and continually developing world model, facilitating more effective learning and adaptation across diverse environments. Empirical evaluations demonstrate that DRAGO is able to preserve knowledge across tasks, achieving superior performance in various continual learning scenarios.
|
| 8 |
+
|
| 9 |
+
# 1. Introduction
|
| 10 |
+
|
| 11 |
+
Model-based Reinforcement Learning (MBRL) aims to enhance decision-making by developing a world model that captures the underlying dynamics of the environment. A robust world model allows an agent to predict future states, plan actions, and adapt to new situations with minimal real-world trial and error. For MBRL to be effective in dynamic, real-world applications, the world model must incrementally learn and adapt, continually integrating new information as the agent encounters diverse environments and tasks.
|
| 12 |
+
|
| 13 |
+
Imagine an agent initially exploring a small, confined part of a complex world, like a home-assistance robot learning to navigate a kitchen. At first, the robot masters dynamics
|
| 14 |
+
|
| 15 |
+
specific to that environment, such as avoiding countertops and maneuvering around chairs. When deployed to a new household, it must adapt to unfamiliar layouts while retaining its understanding of prior environments. Over time, as the robot encounters diverse settings—homes with varying furniture arrangements, hospitals with strict privacy constraints, or factories with evolving machinery—it must incrementally integrate new dynamics without forgetting earlier knowledge. This process aligns with the principles of continual learning, where agents progressively acquire new skills across tasks while preserving past experiences (Lange et al., 2022). However, real-world constraints often prohibit storing raw interaction data from prior tasks due to: 1. Storage limitations: Robots or embodied agents cannot indefinitely retain growing datasets (Hadsell et al., 2020). 2. Privacy regulations: Healthcare or service robots handling sensitive data may be restricted from archiving task-specific interactions (Kemker et al., 2018). 3. On-device deployment: Deployed AI systems (e.g., smartphones) often rely on pre-trained models where the original training data is proprietary or privacy-sensitive.
|
| 16 |
+
|
| 17 |
+
In principle, continual MBRL would enable agents to learn a generalizable world model supporting a universal set of tasks. If data from all previous tasks are available, multitask learning strategies (Fu et al., 2022) could solve this by leveraging shared dynamics. However, in storage- or privacy-constrained settings, agents lack access to prior task data, rendering such approaches infeasible. In practice, we actually always have bounded storage. If we consider the hardest case, where no previous data is available: as shown in Figure 1 and our experiments, naive MBRL suffers catastrophic forgetting, overwriting critical dynamics (e.g., a robot forgetting kitchen layouts after learning living rooms). To address this, we need strategies that retain essential knowledge without storing past data, enabling agents to build increasingly complete world models across tasks.
|
| 18 |
+
|
| 19 |
+
Specifically, we propose DRAGO, a novel continual MBRL approach designed to address catastrophic forgetting and incomplete world models in the absence of prior task data. DRAGO consists of two key components: Synthetic Experience Rehearsal and Regaining Memories Through Exploration. Synthetic Experience Rehearsal uses a continually learned generative model to enable the agent to simulate and learn from synthetic experiences that resemble those
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1. Comparison between the world model learned by naive continual MBRL and MBRL without forgetting. Each task requires the agent to move from the corner of one room to a specific point in the same room. Shaded areas represent the world model's coverage after finishing each task. Naively continually training MBRL (Left) tends to suffer the catastrophic forgetting problem—the agent forgets almost everything about the first room after training in the second room (our experimental results support this claim). Our project identifies a method (Right) that helps the world model preserve the knowledge of previous tasks even when the old data is no longer available.
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
|
| 26 |
+
from prior tasks. This process allows the agent to synthesize representative transitions that resemble prior experience, reinforcing its understanding of previously learned dynamics without requiring access to past data. In the Regaining Memories Through Exploration component, we introduce an intrinsic reward mechanism that encourages the agent to actively explore states where the previous transition model performs well. This exploration bridges the gap between tasks by discovering connections within the environment, leading to a more comprehensive and cohesive world model. To sum up, we make the following contributions:
|
| 27 |
+
|
| 28 |
+
1. We introduce DRAGO, a new approach for continual model-based reinforcement learning that addresses catastrophic forgetting while incrementally learning a world model across sequential tasks without retaining any past data.
|
| 29 |
+
2. We propose a generative replay mechanism that synthesizes "old" transitions using a learned generative model alongside a frozen copy of the previously trained world model.
|
| 30 |
+
3. We design an intrinsic reward signal that nudges the agent toward revisiting states that the old model explained well—effectively "reconnecting" current experiences with previously learned transitions.
|
| 31 |
+
4. Through experiments on MiniGrid and DeepMind Control Suite domains, we show that DRAGO substantially improves knowledge retention compared to standard continual MBRL baselines and achieves higher transfer performance, allowing faster adaptation to entirely new (but related) tasks. Code is available at https://github.com/YixiangSun/drago.
|
| 32 |
+
|
| 33 |
+
# 2. Background
|
| 34 |
+
|
| 35 |
+
In reinforcement learning, an agent interacts with an environment modeled as a Markov Decision Process (MDP). An MDP is defined by a tuple $< S, \mathcal{A}, T, r, \gamma >$ , where $S$ is the state space, $\mathcal{A}$ is the action space, $T(s' \mid s, a)$ represents the transition dynamics, $r(s, a)$ is the reward function, and $\gamma \in [0,1)$ denotes the discount factor. Throughout this paper, $T$ is the parametric transition model (the learned dynamics predictor) and $p$ denotes a probability or distribution.
|
| 36 |
+
|
| 37 |
+
In continual model-based reinforcement learning, the agent is presented with a sequence of tasks $\mathcal{T}_1,\mathcal{T}_2,\ldots ,\mathcal{T}_n$ . We assume the agent knows when the task switches. Each task $\mathcal{T}_i$ is associated with its own MDP, $\mathcal{M}_i = (\mathcal{S},\mathcal{A},T,r_i,\rho_i,\gamma)$ , where $r_i(s,a)$ is the task-specific reward function, and $\rho_{i}(s)$ denotes the initial state distribution for task $\mathcal{T}_i$ . Importantly, all tasks share the same transition function $T(s^{\prime}\mid s,a)$ , which defines the probability of reaching state $s^\prime \in S$ from state $s\in S$ after taking action $a\in \mathcal{A}$ . In this paper, we consider the case where, in each task, the agent tends to be exposed to distinct aspects of the transition dynamics and different termination states.
|
| 38 |
+
|
| 39 |
+
The objective in continual MBRL is to efficiently solve the sequence of tasks, while learning a world model $T_{\psi}(s' \mid s, a)$ , parameterized by $\psi$ , that captures the shared dynamics across all tasks, allowing the agent to adapt to the task-specific objectives defined by $r_i$ and $\rho_i$ . A challenge arises because, during training on a new task $\mathcal{T}_i$ , the agent in our setting only has access to the replay buffer $\mathcal{B}_i = \{(s, a, s')\}$ .
|
| 40 |
+
|
| 41 |
+
# 3. DRAGO
|
| 42 |
+
|
| 43 |
+
The central question in this paper is: how do we aggregate the knowledge from previous tasks and learn a increasingly complete world model without forgetting, while trying to solve a sequence of tasks using MBRL? As shown in previous works (Fu et al., 2022), the agent can easily learn a general world model in a multitask/meta-learning way as long as the access to previous tasks' memories is given. Thus, a straightforward way is to figure out an approach that is able to regain the old memories that had to be discarded. We propose DRAGO, a continual MBRL approach is composed of two main components: dreaming and rehearsing old memories while training on new tasks ( $\S 3.1$ ), and regaining memories via actively exploration ( $\S 3.2$ ). Then we introduce the overall algorithm in $\S 3.3$ .
|
| 44 |
+
|
| 45 |
+
# 3.1. Synthetic Experience Rehearsal
|
| 46 |
+
|
| 47 |
+
To help the agent retain knowledge from previous tasks without direct access to past data, we introduce a method called Synthetic Experience Rehearsal. This approach enables the agent to internally generate and learn from synthetic experiences that resemble those from prior tasks, effectively reinforcing its understanding of the environment's dynamics and mitigating catastrophic forgetting.
|
| 48 |
+
|
| 49 |
+
The concept of Synthetic Experience Rehearsal draws inspiration from how humans and animals replay and consolidate memories during sleep (Wilson & McNaughton, 1994). Just as dreaming allows for the consolidation of memories and learning in biological systems, our method helps the agent retain and reinforce knowledge of previous dynamics by generating and learning from synthetic experiences. Imagine a robot that has navigated through several rooms in a building. As it progresses to new rooms, it may begin to forget the layouts and navigation strategies of earlier ones due to limited memory capacity and the inability to revisit those rooms. By internally generating and rehearsing synthetic experiences that mimic its interactions in earlier rooms, the robot can maintain and reinforce its knowledge of how to navigate them. This internal rehearsal helps it integrate past experiences with new ones, ensuring a more comprehensive understanding of the entire environment.
|
| 50 |
+
|
| 51 |
+
Our method leverages a generative model (which is also continually learned) to produce synthetic data that aids in training the dynamics model, thereby preventing forgetting of previously learned dynamics. Note that for real-world tasks, retaining the model (neural nets) usually costs much less than retaining all the training transitions, especially when the task number grows larger and larger.
|
| 52 |
+
|
| 53 |
+
Specifically, we employ a generative model $G$ that encodes and decodes both states and actions, capturing the joint distribution of state-action pairs encountered in previous tasks.
|
| 54 |
+
|
| 55 |
+
Including actions is crucial, especially in continuous action spaces where randomly sampled actions may not correspond to meaningful behaviors. Throughout the continual learning process, we also keep one copy of the old world model learned after finishing the last task (one for all previous tasks, not one for each). Then after generating the state-action pair, we feed it into this frozen old model $T_{\mathrm{old}}$ and generate a synthetic next state. The synthetic data used for training the model is generated through the following steps:
|
| 56 |
+
|
| 57 |
+
$$
|
| 58 |
+
\hat {s} ^ {\prime} = T _ {\text {o l d}} (\hat {s}, \hat {a}), (\hat {s}, \hat {a}) \sim p _ {G} (s, a; \theta), \tag {1}
|
| 59 |
+
$$
|
| 60 |
+
|
| 61 |
+
where $p_G(s, a; \theta)$ is the distribution modeled by the generative model $G_{\theta}$ with parameters $\theta$ . $T_{\mathrm{old}}$ is the frozen old world model, capturing the dynamics up to a previous task.
|
| 62 |
+
|
| 63 |
+
We can express the likelihood of the entire dataset, including both real data $\mathcal{D}_i$ for current task $\mathcal{T}_i$ and synthetic data $\hat{\mathcal{D}}$ , given the parameters $\psi$ and $\theta$ , as follows:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
p (\mathcal {D} _ {i}, \hat {\mathcal {D}} \mid \psi , \theta) =
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\prod_ {(s, a, s ^ {\prime}) \in \mathcal {D} _ {i}} p \left(s ^ {\prime} \mid s, a; \psi\right) \prod_ {(\hat {s}, \hat {a}, \hat {s} ^ {\prime}) \in \hat {\mathcal {D}}} p _ {G} (\hat {s}, \hat {a}; \theta) p \left(\hat {s} ^ {\prime} \mid \hat {s}, \hat {a}; \psi\right), \tag {2}
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
where $p(s' \mid s, a; \psi)$ is the likelihood of observing $s'$ given $s$ and $a$ under the transition model $T_{\psi}$ , $p_G(\hat{s}, \hat{a}; \theta)$ is the likelihood of generating synthetic state-action pairs from the generative model $G_{\theta}$ . This joint likelihood captures the dependencies of the synthetic data on both the generative model parameters $\theta$ and the frozen transition model $T_{\mathrm{old}}$ .
|
| 74 |
+
|
| 75 |
+
The posterior distribution over the transition model parameters $\psi$ and the generative model parameters $\theta$ is given by Bayes' theorem:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
p (\psi , \theta \mid \mathcal {D} _ {i}, \hat {\mathcal {D}}) \propto p (\mathcal {D} _ {i}, \hat {\mathcal {D}} \mid \psi , \theta) p (\psi) p (\theta), \tag {3}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where $p(\psi)$ and $p(\theta)$ are the prior distributions over the parameters.
|
| 82 |
+
|
| 83 |
+
Taking the negative logarithm of the posterior (and ignoring constants independent of $\psi$ and $\theta$ ), we obtain the joint loss function:
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\begin{array}{l} \mathcal {L} _ {\text {t o t a l}} (\psi , \theta) = - \log p (\mathcal {D} _ {i}, \hat {\mathcal {D}} \mid \psi , \theta) - \log p (\psi) - \log p (\theta) \\ = -\log p(\psi) - \log p(\theta)\underbrace{-\sum_{(s,a,s^{\prime})\in\mathcal{D}_{i}}\log p(s^{\prime}\mid s,a;\psi)}_{\text{Loss on current task data}} \\ - \underbrace {\sum_ {(\hat {s} , \hat {a})} \log p _ {G} (\hat {s} , \hat {a} ; \theta) - \sum_ {(\hat {s} , \hat {a})} \log p \left(\hat {s} ^ {\prime} \mid \hat {s} , \hat {a} ; \psi\right)} _ {\text {S y n t h e t i c d a t a l i k e l i h o o d}}. \tag {4} \\ \end{array}
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
The dynamics model is trained by minimizing the prediction loss over the combined dataset:
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\begin{array}{l} \mathcal {L} _ {\mathrm {d y n}} (\psi) = \mathbb {E} _ {(s, a, s ^ {\prime}) \sim \mathcal {D} _ {i}} \left[ \| s ^ {\prime} - T _ {i} (s, a; \psi) \| ^ {2} \right] \tag {5} \\ + \lambda \mathbb {E} _ {(\hat {s}, \hat {a}) \sim p _ {G} (s, a; \theta)} \left[ \left\| T _ {\mathrm {o l d}} (\hat {s}, \hat {a}) - T _ {i} (\hat {s}, \hat {a}; \psi) \right\| ^ {2} \right], \\ \end{array}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
where $\lambda$ is a weighting factor controlling the importance of the synthetic data loss. While this enables the agent to learn from synthetic old experience, the generative model itself (minimizing $-\sum \log p_{G}(\hat{s},\hat{a};\theta)$ in Eqn 4) also requires accumulating the knowledge of different tasks as the training goes on. Retaining such a generative model for every task will also introduces huge additional cost.
|
| 96 |
+
|
| 97 |
+
Continual learning for the generative model. To prevent forgetting within the generative model itself, we adopt a continual training strategy. We generate synthetic state-action pairs using the previous generative model $G_{i-1}$ :
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
(\tilde {s}, \tilde {a}) = G _ {i - 1} (\tilde {z}), \tilde {z} \sim p (z),
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
and combine these with real data from the current task to form the training dataset for the new generative model: $\mathcal{D}_{\mathrm{gen}} = \mathcal{D}_i\cup \tilde{\mathcal{D}}$ , where $\tilde{\mathcal{D}} = \{(\tilde{s},\tilde{a})\}$ . The new generative model $G_{i}$ - we use Variational AutoEncoder (VAE) (Kingma & Welling, 2014) - is then trained by minimizing the loss over $\mathcal{D}_{\mathrm{gen}}$ ..
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
\begin{array}{l} \mathcal {L} _ {\text {g e n}} \left(\theta_ {i}\right) = \mathbb {E} _ {(s, a) \sim \mathcal {D} _ {\text {g e n}}} \left[ - \mathbb {E} _ {z \sim q _ {\theta_ {i}} (z | s, a)} \left[ \log p _ {\theta_ {i}} (s, a \mid z) \right] \right. \tag {6} \\ \left. + \operatorname {K L} \left(q _ {\theta_ {i}} (z \mid s, a) \| p (z)\right) \right]. \\ \end{array}
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
This continual learning procedure ensures that the generative model retains its ability to produce state-action pairs representative of all previous tasks.
|
| 110 |
+
|
| 111 |
+
Our method is general and can be applied with other types of generative models. Additionally, integrating more sophisticated generative models, such as diffusion models, could further enhance the quality of synthetic experiences and improve knowledge retention in high-dimensional environments. We leave this for future work.
|
| 112 |
+
|
| 113 |
+
# 3.2. Regaining Memories Through Exploration
|
| 114 |
+
|
| 115 |
+
While generating synthetic data via a generative model helps mitigate forgetting, it may not fully capture the richness of real experiences and it is subject to model error. In the meantime, to eventually build a complete world model, we would like to find a way that can "connect" knowledge gained from different tasks if they are disjoint. Thus, to further enhance the agent's retention of prior knowledge and make the world model more complete, we propose an intrinsic reward mechanism that encourages the agent to actively explore states where the previous transition model performs well, effectively "regaining" forgotten memories through real interaction with the environment, and fill in the gap between knowledge of different tasks.
|
| 116 |
+
|
| 117 |
+
Our approach is inspired by the need to complement the generation-based rehearsal method with actual exploration that bridges the gap between different tasks. The generative model can produce states from prior tasks, but these imagined states might not be naturally encountered or connected
|
| 118 |
+
|
| 119 |
+
within the current task. Consider the earlier example of a robot exploring different rooms within a building. The method introduced in the last section can generate imagined states from previously visited rooms, but without actual exploration, the robot might not find the doorways or corridors connecting these rooms to its current location. Our intrinsic reward incentivizes the robot to search for these connections, enabling it to discover pathways that link the new room to the old ones. Without exploring the actual environment to find these connections, the agent's world model remains fragmented, lacking a cohesive understanding of how different regions relate. To overcome this, we propose an intrinsic reward that guides the agent to:
|
| 120 |
+
|
| 121 |
+
- Revisit Familiar States: Encourage exploration of states where the previous model $T_{i - 1}$ predicts accurately, indicating familiarity from earlier tasks.
|
| 122 |
+
- Discover New Connections: Incentivize the agent to find paths that connect current and previous task environments, enriching the world model's completeness.
|
| 123 |
+
- Balance Learning Dynamics: Deter the agent from spending excessive time in regions where the current model $T_{i}$ already performs well.
|
| 124 |
+
|
| 125 |
+
Specifically, during training on task $\mathcal{T}_i$ , we introduce an intrinsic reward $r_{\mathrm{cont}}^i$ designed to guide the agent towards states that are familiar to the previous transition model $T_{i-1}$ (trained and froze after task $\mathcal{T}_{i-1}$ ) but less familiar to the current model $T_i$ . The intrinsic reward is defined as:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\begin{array}{l} r _ {\text {c o n t}} ^ {i} \left(s _ {t}, a _ {t}, s _ {t + 1}\right) := \sigma (- \log \left| T _ {i - 1} \left(s _ {t}, a _ {t}\right) - s _ {t + 1} \right|) \tag {7} \\ - \alpha \cdot \sigma (- \log | T _ {i} (s _ {t}, a _ {t}) - s _ {t + 1} |), \\ \end{array}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
where $\sigma$ denotes the sigmoid function, and $\alpha$ is a weighting coefficient that balances the two terms.
|
| 132 |
+
|
| 133 |
+
Intuitively the first term assigns higher rewards when the previous transition model $T_{i-1}$ predicts the next state $s_{t+1}$ accurately. This incentivizes the agent to revisit states that were well-understood in previous tasks. The second term penalizes the agent for visiting states where the current model $T_i$ already has low prediction error. This encourages the agent to explore less familiar areas to improve the current model's understanding.
|
| 134 |
+
|
| 135 |
+
By actively exploring and connecting different regions, the agent's world model becomes more comprehensive, capturing the dynamics across tasks more effectively. Revisiting familiar states reinforces prior knowledge, reducing the tendency of the model to forget previously learned information. This approach complements the synthetic data generation in Section 3.1 by providing actual experience that reinforces the agent's knowledge.
|
| 136 |
+
|
| 137 |
+

|
| 138 |
+
Figure 2. The two-step process of how DRAGO retain and aggregate the knowledge learned from prior tasks for the world model. Step 1 involves Synthetic Experience Rehearsal, where synthetic state-action pairs are generated from the previous tasks' generative model $G_{i-1}(z)$ , and next states $\hat{s}'$ are predicted using the previous transition model $T_{i-1}$ . Step 2 introduces Regaining Memories through Exploration, where an intrinsic reward $r_{\text{cont}}^i$ encourages the agent to explore states where the previous transition model $T_{i-1}$ performs well, while penalizing states that the current model $T_i$ already predicts accurately. Together, these components allow the agent to retain and transfer knowledge across tasks.
|
| 139 |
+
|
| 140 |
+
# 3.3. Overall Algorithm
|
| 141 |
+
|
| 142 |
+
We implement DRAGO on top of TDMPC (Hansen et al., 2022) and the overall algorithm is described in Algorithm 1. Compared to regular TDMPC algorithm, we additionally train an encoder and decoder for the state-action pair as part of the generative model in §3.1. To integrate the intrinsic reward for regaining memories proposed in §3.2, we train an additional reward model, value model, and policy as a "reviewer" that aims to maximize the cumulative intrinsic reward, besides the original "learner" that aims to maximize the cumulative environmental reward. Note that the reviewer and the learner share the same world model, which is also trained using data from both.
|
| 143 |
+
|
| 144 |
+
During the inference step, DRAGO leverages Model Predictive Path Integral (Williams et al., 2015) as the planning method. Given an initial state and task $\mathcal{T}_i$ , DRAGO samples $N$ trajectories with the world model $T_{i}$ and estimates the total return $J_{\tau}$ of each sampled trajectory $\tau$ as:
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
J _ {\tau} := \mathbb {E} _ {\tau} \left[ \sum_ {t = 0} ^ {H - 1} \gamma^ {t} R _ {s _ {t}, a _ {t}} + \gamma^ {H} Q \left(s _ {H}, a _ {H}\right) \right], s _ {t + 1} \sim T _ {i} \left(s _ {t}, a _ {t}; \psi\right), \tag {8}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
where $Q(\cdot)$ is the learned value function. Then a trajectory with the highest return is picked and the agent will execute the first action in the trajectory.
|
| 151 |
+
|
| 152 |
+
During training, the dynamics model and the generative model are trained together with the reward&value prediction of the learner and reviewer. At the beginning of each new task, for each new test task, we randomly initialize the reward, policy and value models and reuse only the world model (dynamics). Moreover, unlike TDMPC, the gradients from updating Q function and reward model are detached for updating the dynamics model in DRAGO. More implementation details can be found in the appendix.
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
Figure 3. Visualization of the evaluated domains. Task names in Blue denote the continual training tasks; Task names in Red denote the test tasks. We train and test all the tasks in the order of left to right as in the figure. E.g., we train the cheetah agent in the order of run, jump and backward. And after training on jump, we test on jump2run and jump&run.
|
| 156 |
+
|
| 157 |
+
# 4. Experiments
|
| 158 |
+
|
| 159 |
+
We evaluated DRAGO on three continual learning domains. For each domain, we let the agent train on a sequence of tasks, where the tasks share the same transition dynamics but different reward functions. Although the transition dynamics are the same, the training tasks are designed in a way such that to solve each task only part of the state space's transition dynamics needs to be learned and different tasks involve learning transition dynamics corresponding to different parts of the state space with a small overlap. We evaluate the agent's continual learning performance on test tasks by measuring the agent's training performance on them, using the retained world model as an initiation. The test tasks require the combination of knowledge from more than one previously learned tasks. For example, to better transfer on Cheetah jump2run the agent is expected to still remember the knowledge learned in Cheetah run even after continual training on Cheetah jump. These transfer tasks
|
| 160 |
+
|
| 161 |
+
are designed to test the agent's ability to retain knowledge from previous tasks, as solving them requires understanding multiple tasks.
|
| 162 |
+
|
| 163 |
+
MiniGrid. We evaluated the performance of DRAGO in the MiniGrid (Chevalier-Boisvert et al., 2023) domain using a sequence of four tasks, each set in one of the four rooms of a $27 \times 27$ gridworld. In each task, the agent starts from a fixed corner of one room, with the objective of reaching a specified goal position within that room. The obstacles vary across tasks and the agent can only access other rooms by passing through a door located at the center of the gridworld, which creates a bottleneck that the agent must learn to navigate effectively in transfer tasks. Each task requires exploring a small and mostly non-overlapping portion of the world, ensuring that knowledge from one task does not directly overlap with others. To assess transfer performance, we evaluated the models learned at different stages of the continual learning process (i.e., after completing 2, 3, and 4 tasks). The evaluation was conducted on four new tasks that require the agent to move between different rooms (e.g., start in room 1 and move to the goal position in room 2). The tasks are designed such that solving them requires understanding multiple rooms.
|
| 164 |
+
|
| 165 |
+
Deepmind Control Suite. We also evaluated the performance of DRAGO in the Cheetah and Walker domains from the Deepmind Control Suite (Tassa et al., 2018). For each domain, we define a sequence of tasks that share the same dynamics but with different task goals, which requires the agent to learn different parts of the state space of dynamics. Similarly, to assess transfer performance, we evaluated the models learned at different stages of the continual learning process. The evaluation was conducted on several new tasks that require the agent to quickly change to different locomotion modes from another mode (jump, run, etc.), except for two tasks: jump and runforward & jump and runbackward, where the agent will get the maximum reward if it runs forward/backward and jumps at the same time.
|
| 166 |
+
|
| 167 |
+
We compared to baselines including: Training TDMPC from scratch for each task, continual TDMPC, where we initialize the world model with the one learned in the previous task at the beginning of the new task and train it with the task reward, and EWC, a regularization-based continual learning method as we introduced in the related work section. We use TDMPC as the base model-based reinforcement learning (MBRL) algorithm for all the baselines. More experimental results can be found in appendix E & D.
|
| 168 |
+
|
| 169 |
+
# 4.1. Qualitative Results
|
| 170 |
+
|
| 171 |
+
In Figure 4, we also visualize the prediction accuracy of the learned world models across the whole gridworld, comparing just naively continually training TDMPC and our method. The prediction score is calculated based on the
|
| 172 |
+
|
| 173 |
+
states predictions' mean square error (MSE). The results are aligned with our intuition. Without other counter-forgetting techniques, world models easily forget almost everything learned in previous tasks and are only accurate in the transition space related to the current task. By contrast, DRAGO is able to retain most of the knowledge learned in previous tasks and have a increasingly complete world model as training continues, leading to the performance gain on new tasks shown in Figure 5. Note that DRAGO's performance without Synthetic Experience Rehearsal (so only has the Regaining Memories Through Exploration Component) drops a bit compared to the full version, but it still exhibits better knowledge retention to some extent in post-task3 and post-task4, compared to naive continual TDMPC. As we also show in the ablation study, combining two components of DRAGO eventually achieves the best overall performance.
|
| 174 |
+
|
| 175 |
+
# 4.2. Overall Performance
|
| 176 |
+
|
| 177 |
+
As shown in Figure 5, we find that the proposed method DRAGO achieves the best overall performance compared to all the other approaches across three domains. The results demonstrate its advantage in continual learning settings by effectively retaining knowledge from previous tasks and transferring it to new ones. We can also see that naively continual Model-based RL may suffer from severe plasticity loss: Continual TDMPC constantly performs worse than learning from scratch baseline. Equipped with EWC, it can achieve better overall performance but still not as good as DRAGO. But DRAGO does not fully alleviate the plasticity loss, in Cheetah Jump and runbackward (Last plot in the mid row of Figure 5), learning from scratch still has the best performance, but we can see that DRAGO still improves a lot compared to Continual TDMPC.
|
| 178 |
+
|
| 179 |
+
# 4.3. Ablation Study
|
| 180 |
+
|
| 181 |
+
This section evaluates the essentiality of DRAGO's components. Specifically, we evaluate DRAGO's performance without Synthetic Experience Rehearsal and Regaining Memories Through Exploration (reviewer) separately in four transfer tasks of Cheetah and MiniGrid. As we show in Figure 7, while DRAGO w/o. Rehearsal achieves similar performance with the full version in Cheetah-jumpandrunforward, the full DRAGO still has the best overall performance across domains. If we compare the performance with Continua TDMPC shown in Figure 5, one single component of DRAGO consistently improves continual learning performance. These results highlight the complementary roles of both components and demonstrate that each contributes significantly to mitigating forgetting and enhancing transfer capabilities in continual model-based RL settings.
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
|
| 185 |
+

|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
|
| 195 |
+

|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 4. DRAGO reduces the catastrophic forgetting from previous tasks, illustrated by the prediction score of the learned world models across the entire gridworld after each task. Light color indicates higher prediction accuracy. The heatmaps compare the performance of naive continual training of TDMPC (top row), DRAGO without Synthetic Experience Rehearsal (mid row), with our proposed full DRAGO method (bottom row) after Tasks 1 to 4. The results show that continual MBRL suffers from significant forgetting, maintaining accuracy only in regions relevant to the current task, whereas DRAGO effectively retains knowledge from previous tasks.
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
|
| 210 |
+

|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
|
| 220 |
+

|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 5. We evaluate the continual learning transfer performance on 12 tasks (3 domains, 4 tasks each) that are not seen during the agent's previous training. Each plot corresponds to a single test task, and the agent's performance is tracked as it learns that task from scratch, using the retained world model. For each test task of MiniGrid, the agent starts in one room and have to move to the goal in another room. E.g., Transfer 3to4 after 4 means that after sequentially training on four tasks, the agent is tested on a new task where it starts in room 3 and the target position is in room 4. For each test task of Cheetah & Walker, the agent has to start from a state in one locomotion mode and the goal is to switch to another mode. E.g., Jump2runforward after Jump means that after training on Cheetah-Jump, the agent is tested on a new task where it starts in one state of the jumping mode, and the goal is to run forward.
|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
|
| 229 |
+

|
| 230 |
+
|
| 231 |
+

|
| 232 |
+
|
| 233 |
+

|
| 234 |
+
Figure 6. Comparison of DRAGO with (1) Replay-based MBRL, which stores a bounded replay buffer for past tasks (using the same memory size as DRAGO's generative model), and (2) Pseudo-rehearsal MBRL (Ketz et al., 2019), which generates old data via a pretrained VAE model, without continual training of the generative model as well as our intrinsic reward mechanism. Each plot shows Minigrid transfer performance (average return vs. environment steps) on a new task after sequentially training on earlier tasks. DRAGO consistently achieves higher or faster-improving returns, suggesting stronger knowledge retention and quicker adaptation to the transfer tasks.
|
| 235 |
+
|
| 236 |
+

|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
Figure 7. Ablation study results on four transfer tasks in the Cheetah and MiniGrid domains, comparing the performance of DRAGO without individual components (Synthetic Experience Rehearsal and Regaining Memories Through Exploration) to the full method. While removing Rehearsal results in competitive performance in the Cheetah-jumpandrunforward task, the full version of DRAGO achieves superior overall performance across all tasks.
|
| 244 |
+
|
| 245 |
+

|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
|
| 249 |
+

|
| 250 |
+
|
| 251 |
+
# 4.4. Few-shot Transfer Performance
|
| 252 |
+
|
| 253 |
+
We also evaluated the agent's few-shot transfer performance during the continual learning process and compared the results of DRAGO with the other baselines. The setting is useful and common in real world tasks, especially for robotics, where the number of steps to interact with the environment is limited. Specifically, for each test task in Cheetah and Walker domains, we let the agent train by interacting with the environment for only 20 episodes and evaluate its average cumulative reward after training. As shown in Table 1, DRAGO outperforms the other baselines in 6 out of 8 tasks. In the two tasks where DRAGO does not outperform, it remains competitive, highlighting its robustness and efficiency in continual learning scenarios.
|
| 254 |
+
|
| 255 |
+
# 5. Related Work
|
| 256 |
+
|
| 257 |
+
Continual reinforcement learning (CRL) aims to develop agents that can learn from a sequence of tasks, retaining knowledge from previous tasks while efficiently adapting to new ones (Khetarpal et al., 2022; Abel et al., 2023; Anand & Precup, 2023; Baker et al., 2023). Many recent papers investigate the plasticity loss in continual learning (Lyle et al., 2023; Abbas et al., 2023; Dohare et al., 2024). This paper focuses more on how we better retain and aggregate knowledge learned from previous tasks in Continual MBRL, which is related to another central challenge in CRL,
|
| 258 |
+
|
| 259 |
+
catastrophic forgetting, where learning new tasks causes the agent's performance on earlier tasks to degrade due to the overwriting of important knowledge (McCloskey & Cohen, 1989). To address catastrophic forgetting, several strategies have been proposed: Regularization-Based Methods (Kirkpatrick et al., 2016; Li & Hoiem, 2016; Zenke et al., 2017; Nguyen et al., 2017; Yu et al., 2020a): these approaches introduce constraints during training to prevent significant changes to parameters important for previous tasks. Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2016) is a prominent example that uses the Fisher Information Matrix to estimate parameter importance and penalize updates accordingly. However regularization-based methods often struggles in practice, especially in reinforcement learning scenarios, due to challenges in accurately estimating parameter importance and scalability issues with large neural networks (Huszár, 2017; Farquhar & Gal, 2018). Replay-Based methods (Riemer et al., 2019; Rolnick et al., 2019; Oh et al., 2022; Henning et al., 2021; Lampinen et al., 2021): these methods typically assume unbounded storage, which is usually not feasible in practice. Our work is therefore focused on the hardest case — alleviating the catastrophic forgetting problem and learn a complete world model without prior data. Generative replay-based methods (Shin et al., 2017; Triki et al., 2017; Rao et al., 2019) share some similar high-level idea with our work. However, none of them has been applied on MBRL or World Models. In terms of Continual MBRL specifically, Fu et al. (2022) show that the
|
| 260 |
+
|
| 261 |
+
<table><tr><td>Average Reward</td><td>DRAGO</td><td>EWC</td><td>Continual TDMPC</td><td>Scratch</td></tr><tr><td>Cheetah jump2run</td><td>106.78 ± 32.01</td><td>54.72 ± 62.72</td><td>93.96 ± 39.29</td><td>26.54 ± 2.67</td></tr><tr><td>Cheetah jump&run</td><td>248.92 ± 15.38</td><td>156.98 ± 99.68</td><td>128.58 ± 100.14</td><td>182.77 ± 28.58</td></tr><tr><td>Cheetah jump2back</td><td>331.85 ± 11.05</td><td>29.93 ± 7.15</td><td>73.98 ± 38.45</td><td>45.15 ± 4.92</td></tr><tr><td>Cheetah jump&back</td><td>147.30 ± 34.29</td><td>117.92 ± 1.20</td><td>140.82 ± 28.00</td><td>129.75 ± 20.44</td></tr><tr><td>Walker walk2run</td><td>332.38 ± 20.07</td><td>287.02 ± 37.80</td><td>229.14 ± 33.71</td><td>52.11 ± 3.41</td></tr><tr><td>Walker run2back</td><td>145.98 ± 17.96</td><td>150.19 ± 2.77</td><td>128.56 ± 9.47</td><td>60.49 ± 9.40</td></tr><tr><td>Walker back2run</td><td>229.79 ± 9.77</td><td>254.09 ± 70.29</td><td>241.39 ± 42.64</td><td>40.76 ± 18.34</td></tr><tr><td>Walker stand2run</td><td>265.50 ± 8.40</td><td>177.02 ± 62.48</td><td>182.71 ± 30.74</td><td>64.02 ± 31.54</td></tr></table>
|
| 262 |
+
|
| 263 |
+
Table 1. Comparison of few-shot transfer performance on eight test tasks in Cheetah and Walker. We report the mean and standard deviation of the cumulative reward at the end of training. Bold value indicates the best result.
|
| 264 |
+
|
| 265 |
+
agent can benefit from a joint world model for adapting to new individual tasks. Similarly, Nagabandi et al. (2019) propose a meta-learning approach where a dynamics model is trained to adapt quickly to new tasks by learning a prior over models. Hypernetwork-based methods (Huang et al., 2021) have been proposed to minimize forgetting while learning task-specific parameters in the multitask setting. Liu et al. (2024) introduces locality-sensitive sparse encoding to learn world models incrementally in a single task online setting. Kessler et al. (2023) investigate how different experience replay methods will affect the performance of MBRL. Related work for model-based RL in general can be found in Appendix B.
|
| 266 |
+
|
| 267 |
+
# 6. Conclusion
|
| 268 |
+
|
| 269 |
+
We proposed DRAGO, a novel approach for continual MBRL that effectively mitigates catastrophic forgetting and enhances the transfer of knowledge across sequential tasks. By integrating Synthetic Experience Rehearsal and Regaining Memories Through Exploration, DRAGO retains and consolidates knowledge from previous tasks without requiring access to past data, resulting in a progressively more complete world model. Our empirical evaluations demonstrate that DRAGO performs well in terms of knowledge retention and transferability, making it a promising solution for complex continual learning scenarios. Future work will explore extending DRAGO to larger-scale environments and more diverse task distributions.
|
| 270 |
+
|
| 271 |
+
# 7. Limitations
|
| 272 |
+
|
| 273 |
+
We only maintain one generative model throughout the continual training process, and this could potentially have mode collapse problem as the number of the tasks grows. The generative model is expected to capture the distribution of all prior tasks, which also relies on its own generated data. Thus the forgetting issue of the generative model will appear as its memory becomes "blurry" when the task number grows. To some extent, mixing the synthetic data with real world data will help mitigate this (note that the real world data can also come from the data collected by our reviewer,
|
| 274 |
+
|
| 275 |
+
which connects to the previous tasks), but the question of how we can better do continual learning for generative models remains and we leave it for future works. The current tasks tested in the paper are not highly complex, and there is a limited number of tasks, which can be the reason why we do not observe this problem in our setting. Developing continual generative models can be much more challenging, but also rewarding towards the goal of real continual agent.
|
| 276 |
+
|
| 277 |
+
# Impact Statement
|
| 278 |
+
|
| 279 |
+
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.
|
| 280 |
+
|
| 281 |
+
# Acknowledgement
|
| 282 |
+
|
| 283 |
+
This work was supported by the Office of Naval Research (ONR) under grant #N00014-22-12592. Partial funding was also provided by The Robotics and AI Institute. The authors would like to thank David Abel, Lijing Yu, and Jingwen Zhang for their help and feedbacks on this project. This work was conducted using computational resources and services at the Center for Computation and Visualization, Brown University.
|
| 284 |
+
|
| 285 |
+
# References
|
| 286 |
+
|
| 287 |
+
Abbas, Z., Zhao, R., Modayil, J., White, A., and Machado, M. C. Loss of plasticity in continual deep reinforcement learning. In Conference on Lifelong Learning Agents, 22-25 August 2023, volume 232 of Proceedings of Machine Learning Research, pp. 620-636. PMLR, 2023.
|
| 288 |
+
Abel, D., Barreto, A., Roy, B. V., Precup, D., van Hasselt, H. P., and Singh, S. A definition of continual reinforcement learning. In Oh, A., Naumann, T., Globerson, A., Saenko, K., Hardt, M., and Levine, S. (eds.), Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, 2023.
|
| 289 |
+
|
| 290 |
+
Anand, N. and Precup, D. Prediction and control in continual reinforcement learning. In Oh, A., Naumann, T., Globerson, A., Saenko, K., Hardt, M., and Levine, S. (eds.), Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, 2023.
|
| 291 |
+
Baker, M. M., New, A., Aguilar-Simon, M., Al-Halah, Z., Arnold, S. M. R., Ben-Iwhiwhu, E., Brna, A. P., Brooks, E. A., Brown, R. C., Daniels, Z. A., Daram, A. R., Delattre, F., Dellana, R., Eaton, E., Fu, H., Grauman, K., Hostetler, J., Iqbal, S., Kent, C., Ketz, N. A., Kolouri, S., Konidaris, G. D., Kudithipudi, D., Learned-Miller, E. G., Lee, S., Littman, M. L., Madireddy, S., Mendez, J. A. M., Nguyen, E. Q., Piatko, C. D., Pilly, P. K., Raghavan, A., Rahman, A., Ramakrishnan, S. K., Ratzlaff, N., Soltoggio, A., Stone, P., Sur, I., Tang, Z., Tiwari, S., Vedder, K., Wang, F., Xu, Z., Yanguas-Gil, A., Yedidsion, H., Yu, S., and Vallabha, G. K. A domain-agnostic approach for characterization of lifelong learning systems. Neural networks : the official journal of the International Neural Network Society, 160:274–296, 2023.
|
| 292 |
+
Chevalier-Boisvert, M., Dai, B., Towers, M., de Lazcano, R., Willems, L., Lahlou, S., Pal, S., Castro, P. S., and Terry, J. Minigrid & miniworld: Modular & customizable reinforcement learning environments for goal-oriented tasks. CoRR, abs/2306.13831, 2023.
|
| 293 |
+
Chua, K., Calandra, R., McAllister, R., and Levine, S. Deep reinforcement learning in a handful of trials using probabilistic dynamics models. In Bengio, S., Wallach, H. M., Larochelle, H., Grauman, K., Cesa-Bianchi, N., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, pp. 4759-4770, 2018.
|
| 294 |
+
Dohare, S., Hernandez-Garcia, J. F., Lan, Q., Rahman, P., Mahmood, A. R., and Sutton, R. S. Loss of plasticity in deep continual learning. Nat., 632(8026):768-774, 2024.
|
| 295 |
+
Ebert, F., Finn, C., Dasari, S., Xie, A., Lee, A. X., and Levine, S. Visual foresight: Model-based deep reinforcement learning for vision-based robotic control. CoRR, abs/1812.00568, 2018.
|
| 296 |
+
Farquhar, S. and Gal, Y. Towards robust evaluations of continual learning. CoRR, abs/1805.09733, 2018.
|
| 297 |
+
Fu, H., Yu, S., Littman, M., and Konidaris, G. Model-based lifelong reinforcement learning with bayesian exploration. In Koyejo, S., Mohamed, S., Agarwal, A., Belgrave, D., Cho, K., and Oh, A. (eds.), Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, 2022.
|
| 298 |
+
|
| 299 |
+
Ha, D. and Schmidhuber, J. Recurrent world models facilitate policy evolution. In Bengio, S., Wallach, H. M., Larochelle, H., Grauman, K., Cesa-Bianchi, N., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, pp. 2455-2467, 2018.
|
| 300 |
+
Hadsell, R., Rao, D., Rusu, A. A., and Pascanu, R. Embracing change: Continual learning in deep neural networks. Trends in Cognitive Sciences, 24:1028-1040, 2020.
|
| 301 |
+
Hafner, D., Lillicrap, T. P., Fischer, I., Villegas, R., Ha, D., Lee, H., and Davidson, J. Learning latent dynamics for planning from pixels. In Chaudhuri, K. and Salakhutdinov, R. (eds.), Proceedings of the 36th International Conference on Machine Learning, ICML 2019, volume 97 of Proceedings of Machine Learning Research, pp. 2555-2565. PMLR, 2019.
|
| 302 |
+
Hafner, D., Lillicrap, T. P., Ba, J., and Norouzi, M. Dream to control: Learning behaviors by latent imagination. In ICLR. OpenReview.net, 2020.
|
| 303 |
+
Hafner, D., Lillicrap, T. P., Norouzi, M., and Ba, J. Mastering atari with discrete world models. In 9th International Conference on Learning Representations, ICLR 2021. OpenReview.net, 2021.
|
| 304 |
+
Hafner, D., Pasukonis, J., Ba, J., and Lillicrap, T. P. Mastering diverse domains through world models. CoRR, abs/2301.04104, 2023.
|
| 305 |
+
Hansen, N., Su, H., and Wang, X. Temporal difference learning for model predictive control. In Chaudhuri, K., Jegelka, S., Song, L., Szepesvári, C., Niu, G., and Sabato, S. (eds.), International Conference on Machine Learning, ICML 2022, 17-23 July 2022, volume 162 of Proceedings of Machine Learning Research, pp. 8387-8406. PMLR, 2022.
|
| 306 |
+
Hansen, N., Su, H., and Wang, X. TD-MPC2: scalable, robust world models for continuous control. In The Twelfth International Conference on Learning Representations, ICLR 2024. OpenReview.net, 2024.
|
| 307 |
+
Henning, C., Cervera, M. R., D'Angelo, F., von Oswald, J., Traber, R., Ehret, B., Kobayashi, S., Grewe, B. F., and Sacramento, J. Posterior meta-replay for continual learning. In Ranzato, M., Beygelzimer, A., Dauphin, Y. N., Liang, P., and Vaughan, J. W. (eds.), Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, pp. 14135-14149, 2021.
|
| 308 |
+
|
| 309 |
+
Huang, Y., Xie, K., Bharadhwaj, H., and Shkurti, F. Continual model-based reinforcement learning with hypernetworks. In IEEE International Conference on Robotics and Automation, ICRA 2021, pp. 799-805. IEEE, 2021.
|
| 310 |
+
Huszár, F. Note on the quadratic penalties in elastic weight consolidation. Proceedings of the National Academy of Sciences, 115:E2496 - E2497, 2017.
|
| 311 |
+
Janner, M., Fu, J., Zhang, M., and Levine, S. When to trust your model: Model-based policy optimization. In NeurIPS, pp. 12498-12509, 2019.
|
| 312 |
+
Kaiser, L., Babaeizadeh, M., Milos, P., Osinski, B., Campbell, R. H., Czechowski, K., Erhan, D., Finn, C., Kozakowski, P., Levine, S., Mohiuddin, A., Sepassi, R., Tucker, G., and Michalewski, H. Model based reinforcement learning for atari. In ICLR. OpenReview.net, 2020.
|
| 313 |
+
Kemker, R., McClure, M., Abitino, A., Hayes, T. L., and Kanan, C. Measuring catastrophic forgetting in neural networks. In McIlraith, S. A. and Weinberger, K. Q. (eds.), Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), 2018, pp. 3390-3398. AAAI Press, 2018.
|
| 314 |
+
Kessler, S., Ostaszewski, M., Bortkiewicz, M. P., Zarski, M., Wolczyk, M., Parker-Holder, J., Roberts, S. J., and Milos, P. The effectiveness of world models for continual reinforcement learning. In Chandar, S., Pascanu, R., Sedghi, H., and Precup, D. (eds.), Conference on Lifelong Learning Agents, 22-25 August 2023, McGill University, Montreal, Quebec, Canada, volume 232 of Proceedings of Machine Learning Research, pp. 184-204. PMLR, 2023.
|
| 315 |
+
Ketz, N., Kolouri, S., and Pilly, P. K. Using world models for pseudo-rehearsal in continual learning. CoRR, abs/1903.02647, 2019.
|
| 316 |
+
Khetarpal, K., Riemer, M., Rish, I., and Precup, D. Towards continual reinforcement learning: A review and perspectives. J. Artif. Intell. Res., 75:1401-1476, 2022.
|
| 317 |
+
Kingma, D. P. and Welling, M. Auto-encoding variational bayes. In Bengio, Y. and LeCun, Y. (eds.), 2nd International Conference on Learning Representations, ICLR 2014, 2014.
|
| 318 |
+
Kirkpatrick, J., Pascanu, R., Rabinowitz, N. C., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., Hassabis, D., Clopath, C., Kumaran, D., and Hadsell, R. Overcoming catastrophic forgetting in neural networks. CoRR, abs/1612.00796, 2016.
|
| 319 |
+
|
| 320 |
+
Lampinen, A. K., Chan, S. C. Y., Banino, A., and Hill, F. Towards mental time travel: a hierarchical memory for reinforcement learning agents. In Ranzato, M., Beygelzimer, A., Dauphin, Y. N., Liang, P., and Vaughan, J. W. (eds.), Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, pp. 28182-28195, 2021.
|
| 321 |
+
Lange, M. D., Aljundi, R., Masana, M., Parisot, S., Jia, X., Leonardis, A., Slabaugh, G. G., and Tuytelaars, T. A continual learning survey: Defying forgetting in classification tasks. IEEE Trans. Pattern Anal. Mach. Intell., 44 (7):3366-3385, 2022.
|
| 322 |
+
Li, Z. and Hoiem, D. Learning without forgetting. In Leibe, B., Matas, J., Sebe, N., and Welling, M. (eds.), Computer Vision - ECCV 2016 - 14th European Conference, volume 9908 of Lecture Notes in Computer Science, pp. 614-629. Springer, 2016.
|
| 323 |
+
Liu, Z., Du, C., Lee, W. S., and Lin, M. Locality sensitive sparse encoding for learning world models online. In The Twelfth International Conference on Learning Representations, ICLR 2024. OpenReview.net, 2024.
|
| 324 |
+
Lowrey, K., Rajeswaran, A., Kakade, S. M., Todorov, E., and Mordatch, I. Plan online, learn offline: Efficient learning and exploration via model-based control. In ICLR (Poster). OpenReview.net, 2019.
|
| 325 |
+
Lyle, C., Zheng, Z., Nikishin, E., Pires, B. Á., Pascanu, R., and Dabney, W. Understanding plasticity in neural networks. In Krause, A., Brunskill, E., Cho, K., Engelhardt, B., Sabato, S., and Scarlett, J. (eds.), International Conference on Machine Learning, ICML 2023, volume 202 of Proceedings of Machine Learning Research, pp. 23190-23211. PMLR, 2023.
|
| 326 |
+
McCloskey, M. and Cohen, N. J. Catastrophic interference in connectionist networks: The sequential learning problem. Psychology of Learning and Motivation, 24: 109-165, 1989.
|
| 327 |
+
Nagabandi, A., Clavera, I., Liu, S., Fearing, R. S., Abbeel, P., Levine, S., and Finn, C. Learning to adapt in dynamic, real-world environments through meta-reinforcement learning. In 7th International Conference on Learning Representations, ICLR 2019. OpenReview.net, 2019.
|
| 328 |
+
Nguyen, C. V., Li, Y., Bui, T. D., and Turner, R. E. Variational continual learning. CoRR, abs/1710.10628, 2017.
|
| 329 |
+
Nguyen, T. D., Shu, R., Pham, T., Bui, H., and Ermon, S. Temporal predictive coding for model-based planning in latent space. In ICML, volume 139 of Proceedings of Machine Learning Research, pp. 8130-8139. PMLR, 2021.
|
| 330 |
+
|
| 331 |
+
Oh, Y., Shin, J., Yang, E., and Hwang, S. J. Model-augmented prioritized experience replay. In The Tenth International Conference on Learning Representations, ICLR 2022. OpenReview.net, 2022.
|
| 332 |
+
Pong, V., Gu, S., Dalal, M., and Levine, S. Temporal difference models: Model-free deep RL for model-based control. In ICLR (Poster). OpenReview.net, 2018.
|
| 333 |
+
Rao, D., Visin, F., Rusu, A. A., Teh, Y. W., Pascanu, R., and Hadsell, R. Continual unsupervised representation learning. In Neural Information Processing Systems, 2019.
|
| 334 |
+
Riemer, M., Cases, I., Ajemian, R., Liu, M., Rish, I., Tu, Y., and Tesauro, G. Learning to learn without forgetting by maximizing transfer and minimizing interference. In 7th International Conference on Learning Representations, ICLR 2019. OpenReview.net, 2019.
|
| 335 |
+
Rolnick, D., Ahuja, A., Schwarz, J., Lillicrap, T. P., and Wayne, G. Experience replay for continual learning. In Wallach, H. M., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E. B., and Garnett, R. (eds.), Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, pp. 348-358, 2019.
|
| 336 |
+
Rubinstein, R. Y. Optimization of computer simulation models with rare events. European Journal of Operational Research, 99:89-112, 1997.
|
| 337 |
+
Schrittwieser, J., Antonoglou, I., Hubert, T., Simonyan, K., Sifre, L., Schmitt, S., Guez, A., Lockhart, E., Hassabis, D., Graepel, T., Lillicrap, T. P., and Silver, D. Mastering atari, go, chess and shogi by planning with a learned model. Nat., 588(7839):604-609, 2020.
|
| 338 |
+
Sekar, R., Rybkin, O., Daniilidis, K., Abbeel, P., Hafner, D., and Pathak, D. Planning to explore via self-supervised world models. In ICML, volume 119 of Proceedings of Machine Learning Research, pp. 8583-8592. PMLR, 2020.
|
| 339 |
+
Shin, H., Lee, J. K., Kim, J., and Kim, J. Continual learning with deep generative replay. In Neural Information Processing Systems, 2017.
|
| 340 |
+
Sutton, R. S. Dyna, an integrated architecture for learning, planning, and reacting. SIGART Bull., 2(4):160-163, 1991.
|
| 341 |
+
Tassa, Y., Doron, Y., Muldal, A., Erez, T., Li, Y., de Las Casas, D., Budden, D., Abdelmaleki, A., Merel, J., Lefrancq, A., Lillicrap, T. P., and Riedmiller, M. A. Deepmind control suite. CoRR, abs/1801.00690, 2018.
|
| 342 |
+
Triki, A., Aljundi, R., Blaschko, M. B., and Tuytelaars, T. Encoder based lifelong learning. 2017 IEEE International
|
| 343 |
+
|
| 344 |
+
Conference on Computer Vision (ICCV), pp. 1329-1337, 2017.
|
| 345 |
+
Williams, G., Aldrich, A., and Theodorou, E. A. Model predictive path integral control using covariance variable importance sampling. CoRR, abs/1509.01149, 2015.
|
| 346 |
+
Wilson, M. and McNaughton, B. L. Reactivation of hippocampal ensemble memories during sleep. Science, 265 5172:676-9, 1994.
|
| 347 |
+
Yu, T., Kumar, S., Gupta, A., Levine, S., Hausman, K., and Finn, C. Gradient surgery for multi-task learning. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H. (eds.), Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, 2020a.
|
| 348 |
+
Yu, T., Thomas, G., Yu, L., Ermon, S., Zou, J. Y., Levine, S., Finn, C., and Ma, T. MOPO: model-based offline policy optimization. In NeurIPS, 2020b.
|
| 349 |
+
Zenke, F., Poole, B., and Ganguli, S. Continual learning through synaptic intelligence. In Precup, D. and Teh, Y. W. (eds.), Proceedings of the 34th International Conference on Machine Learning, ICML 2017, volume 70 of Proceedings of Machine Learning Research, pp. 3987-3995. PMLR, 2017.
|
| 350 |
+
Zhang, M., Vikram, S., Smith, L. M., Abbeel, P., Johnson, M. J., and Levine, S. SOLAR: deep structured latent representations for model-based reinforcement learning. CoRR, abs/1808.09105, 2018.
|
| 351 |
+
Zhang, R., Fu, H., Miao, Y., and Konidaris, G. Model-based reinforcement learning for parameterized action spaces. In *Forty-first International Conference on Machine Learning*, ICML 2024. OpenReview.net, 2024.
|
| 352 |
+
|
| 353 |
+
Algorithm 1 DRAGO (Training process for each task)
|
| 354 |
+
Require: $\psi, \psi^{-}, \theta, \phi, \phi^{-}$ : randomly initialized network parameters
|
| 355 |
+
$T_{old}, E_{old}, G_{old}$ : transition network and VAE up to the previous task
|
| 356 |
+
$\eta, \tau, \lambda, \mathcal{B}^l, \mathcal{B}^r$ : learning rate, coefficients, learner buffer, reviewer buffer
|
| 357 |
+
1: $T_{\psi} \gets T_{old}$ {load transition model from the previous task}
|
| 358 |
+
2: $E_{\theta} \gets E_{old}$ {load VAE encoder from the previous task}
|
| 359 |
+
3: $G_{\theta} \gets G_{old}$ {load VAE decoder from the previous task}
|
| 360 |
+
4: while not tired do
|
| 361 |
+
5: // Collect episode with learner and reviewer models from $s_0 \sim p_0$ :
|
| 362 |
+
6: for step $t = 0, \dots, \tau$ do
|
| 363 |
+
7: $a_t \sim \Pi_\theta^l(\cdot|s_t)$ {Sample with learner model}
|
| 364 |
+
8: $(s_{t+1}, r_t) \sim ENV(s_t, a_t)$ {Step environment}
|
| 365 |
+
9: $\mathcal{B}^l \gets \mathcal{B}^l \cup (s_t, a_t, r_t, s_{t+1})$ {Add to learner buffer}
|
| 366 |
+
10: end for
|
| 367 |
+
11: for step $t = 0, \dots, \tau$ do
|
| 368 |
+
12: $a_t \sim \Pi_\theta^r(\cdot|s_t)$ {Sample with reviewer model}
|
| 369 |
+
13: $(s_{t+1}, -) \sim ENV(s_t, a_t)$ {Step environment}
|
| 370 |
+
14: $r_t = \text{calculate\_intrinsic\_reward}(s_t, a_t, s_{t+1})$ {Equation 7}
|
| 371 |
+
15: $\mathcal{B}^r \gets \mathcal{B}^r \cup (s_t, a_t, r_t, s_{t+1})$ {Add to reviewer buffer}
|
| 372 |
+
16: end for
|
| 373 |
+
17: update_learning_and_reviewer( $\mathcal{B}^l, \mathcal{B}^r, \theta, \phi, \psi, \eta, \tau, \lambda$ ) {Algorithm 2}
|
| 374 |
+
18: update_vae( $\theta, G_{old}, \mathcal{B}^l$ ) {Algorithm 3}
|
| 375 |
+
19: update_transition_from_synthetic_data( $\psi, T_{old}, G_{old}$ ) {Algorithm 4}
|
| 376 |
+
20: end while
|
| 377 |
+
|
| 378 |
+
# A. Algorithm Details
|
| 379 |
+
|
| 380 |
+
The DRAGO algorithm combines synthetic experience rehearsal and exploration-driven memory regaining to facilitate continual learning in model-based reinforcement learning (MBRL). This section provides a detailed, step-by-step breakdown of DRAGO, outlining how it maintains and updates both the dynamics and generative models throughout a sequence of tasks. For the first task, DRAGO exclusively trains the learner model and the rehearsal encoder-decoder pair using only online data.
|
| 381 |
+
|
| 382 |
+
# A.0.1. INITIALIZATION
|
| 383 |
+
|
| 384 |
+
For each task $\mathcal{T}_i$ , DRAGO begins by randomly initializing the policy networks $\pi^{l,r}i$ , the Q networks $Q_{i}^{l,r}$ , and the reward networks $R_{i}^{l,r}$ for both the learner and reviewer models. These components are initialized separately, but they share a common transition network $T_{i}$ .
|
| 385 |
+
|
| 386 |
+
The transition network $T_{i}$ , along with the synthetic experience rehearsal encoder $E_{i}$ and decoder $G_{i}$ , are initially randomly initialized for the first task. For subsequent tasks, these networks are loaded with the weights from the previous task's networks $(T_{i-1}, E_{i-1}, \text{and } D_{i-1})$ . Notably, these previously trained components $(T_{i-1}, E_{i-1}, \text{and } D_{i-1})$ are employed as fixed modules for generating synthetic data, thereby supporting the rehearsal process without further updates.
|
| 387 |
+
|
| 388 |
+
# A.0.2. DATA COLLECTION
|
| 389 |
+
|
| 390 |
+
During each episode, both the learner agent and reviewer agent interact with the environment for the same number of time steps. The experiences $(s,a,s^{\prime},r)$ encountered by each agent are stored in separate replay buffers: $\mathcal{B}_i^l$ for the learner and $\mathcal{B}_i^r$ for the reviewer. While the learner agent's rewards are directly sourced from the environment, the reviewer agent's intrinsic rewards are computed using the methodology outlined in Equation 7. This intrinsic reward mechanism drives the reviewer's exploration and memory regaining.
|
| 391 |
+
|
| 392 |
+
Algorithm 2 update_learner_and reviewer
|
| 393 |
+
Require: $\mathcal{B}^l,\mathcal{B}^r$ :Learner and reviewer buffers $\psi ,\psi^{-},\theta ,\phi ,\phi^{-}$ : Network parameters $\eta ,\tau ,\lambda$ : Learning rate, coefficients
|
| 394 |
+
1: $\{s_t^l,a_t^l,r_t^l,s_{t + 1}^l\}_{t:t + H}\sim \mathcal{B}^l$ {Sample trajectory from learner buffer}
|
| 395 |
+
2: $\{s_t^r,a_t^r,r_t^r,s_{t + 1}^r\}_{t:t + H}\sim \mathcal{B}^r$ {Sample trajectory from reviewer buffer}
|
| 396 |
+
3: $r_{t:t + H}^{l^{\prime}}\gets$ calculate reviewerreward $(r_{t:t + H}^{l})$
|
| 397 |
+
4: $J_{\theta},J_{\phi},J_{\psi}\gets 0,0,0$ {Initialize loss accumulation}
|
| 398 |
+
5: $\hat{q}_1^l = Q_\theta^l (s_1^l,a_1^l)$
|
| 399 |
+
6: $\hat{q}_1^r = Q_\theta^r (s_1^r,a_1^r)$
|
| 400 |
+
7: $\hat{q}_1^{\prime} = Q_\theta^r (s_1^{\prime},a_1^{\prime})$
|
| 401 |
+
8: $L_{Q} = \mathcal{L}_{\mathrm{value}}(\hat{q}_1^l) + \mathcal{L}_{\mathrm{value}}(\hat{q}_1^r) + \mathcal{L}_{\mathrm{value}}(\hat{q}_1^{\prime})$ {Calculate value loss at the first observation}
|
| 402 |
+
9: $\hat{r}_1^l = R_\phi^l (\hat{s}_1^l,a_1^l)$
|
| 403 |
+
10: $\hat{r}_1^r = R_\phi^r (\hat{s}_1^r,a_1^r)$
|
| 404 |
+
11: $\hat{r}_1^{l'} = R_\phi^r (\hat{s}_1^l,a_1^l)$
|
| 405 |
+
12: $L_{R} = \mathcal{L}_{\mathrm{reward}}(\hat{r}_{1}^{l}) + \mathcal{L}_{\mathrm{reward}}(\hat{r}_{1}^{r}) + \mathcal{L}_{\mathrm{reward}}(\hat{r}_{1}^{l'})$ {Calculate reward loss at the first observation}
|
| 406 |
+
13: $J_{\theta}\gets J_{\theta} + L_{Q} + L_{R}$ {Only update reward and value functions at the first step}
|
| 407 |
+
14: $\hat{s}_1^l = s_1^l,\hat{s}_1^r = s_1^r$ {Initialize the estimated first observations}
|
| 408 |
+
15: for $i = t,\ldots ,t + H$ do
|
| 409 |
+
16: $\hat{s}_{i + 1}^{l} = t_{\psi}(\hat{s}_{i}^{l},a_{i}^{l})$
|
| 410 |
+
17: $\hat{s}_{i + 1}^{r} = t_{\psi}(\hat{s}_{i}^{r},a_{i}^{r})$
|
| 411 |
+
18: $\hat{a}_i^l = \pi_\phi^l (\hat{s}_i^l,s_i^l)$
|
| 412 |
+
19: $\hat{a}_i^r = \pi_\phi^r (\hat{s}_i^r,s_i^r)$
|
| 413 |
+
20: $J_{\phi}\gets J_{\phi} + \lambda^{i - t}(\mathcal{L}_{\pi}(\hat{a}_i^l) + \mathcal{L}_{\pi}(\hat{a}_i^r))$
|
| 414 |
+
21: $J_{\psi}\leftarrow J_{\psi} + \lambda^{i - t}(\mathcal{L}_{\mathrm{dynamics}}(\hat{s}_{i + 1}^{l}) + \mathcal{L}_{\mathrm{dynamics}}(\hat{s}_{i + 1}^{r}))$
|
| 415 |
+
22: end for
|
| 416 |
+
23: $\phi \gets \phi -\frac{\eta}{H}\nabla_{\phi}J_{\phi}$ {Update online network}
|
| 417 |
+
24: $\psi \gets \psi -\frac{\eta}{H}\nabla_{\psi}J_{\psi}$ {Update online network}
|
| 418 |
+
25: $\phi^{-}\gets (1 - \tau)\phi^{-} + \tau \phi$ {Update target network}
|
| 419 |
+
26: $\psi^{-}\gets (1 - \tau)\psi^{-} + \tau \psi$ {Update target network}
|
| 420 |
+
|
| 421 |
+
Algorithm 3 update_vae
|
| 422 |
+
Require: $\theta$ : VAE parameters
|
| 423 |
+
$G_{old}$ : Previously trained VAE decoder
|
| 424 |
+
$\mathcal{B}^l$ : Replay buffer of the learner
|
| 425 |
+
1: $h \sim \mathcal{N}(0,1)$
|
| 426 |
+
2: $(s^{\mathrm{synth}}, a^{\mathrm{synth}}) \gets G_{old}(h)$
|
| 427 |
+
3: $h^{\mathrm{synth}} \gets E_\theta(s^{\mathrm{synth}}, a^{\mathrm{synth}})$
|
| 428 |
+
4: $(\hat{s}^{\mathrm{synth}}, \hat{a}^{\mathrm{synth}}) \gets G_\theta(h^{\mathrm{synth}})$
|
| 429 |
+
5: $\{s_t^l, a_t^l, r_t^l, s_{t+1}^l\}_{t:t+H} \sim \mathcal{B}^l$
|
| 430 |
+
6: $h \gets E_\theta(s_1^l, a_1^l)$
|
| 431 |
+
7: $(\hat{s}, \hat{a}) \gets G_\theta(h)$
|
| 432 |
+
8: $J_\theta = J_\theta + \mathcal{L}_{gen}(\hat{s}, \hat{a}) + \mathcal{L}_{gen}(\hat{s}^{\mathrm{synth}}, \hat{a}^{\mathrm{synth}})$
|
| 433 |
+
9: $\theta \gets \theta - \frac{\eta}{H} \nabla_\theta J_\theta$
|
| 434 |
+
{update VAE parameters}
|
| 435 |
+
|
| 436 |
+
Algorithm 4 update_transition_from_synthetic_data
|
| 437 |
+
Require: $\psi$ Transition network parameters $T_{\mathrm{old}}$ : Previously trained transition network $G_{\mathrm{old}}$ : Previously trained VAE decoder
|
| 438 |
+
1: $h\sim \mathcal{N}(0,1)$
|
| 439 |
+
2: $(s^{\mathrm{synth}},a^{\mathrm{synth}})\gets G^{\mathrm{old}}(h)$ {Generate synthetic observations and actions}
|
| 440 |
+
3: $s' = T^{\mathrm{old}}(s^{\mathrm{synth}},a^{\mathrm{synth}})$ {generate next observation from old transition model}
|
| 441 |
+
4: $\hat{s}^{\prime} = T_{\psi}(s^{\mathrm{synth}},a^{\mathrm{synth}})$
|
| 442 |
+
5: $J_{\psi}\gets J_{\psi} + \mathcal{L}_{\mathrm{dynamics}}(\hat{s}',s')$
|
| 443 |
+
6: $\psi \gets \psi -\frac{\eta}{H}\nabla_{\theta}J_{\psi}$ {Update online network}
|
| 444 |
+
|
| 445 |
+
# A.0.3. INFERENCE
|
| 446 |
+
|
| 447 |
+
The inference process in DRAGO is inspired by TD-MPC (Hansen et al., 2022), utilizing the Cross-Entropy Method (CEM) (Rubinstein, 1997) for action selection. During this process, a fixed number of trajectories of predetermined length are sampled and simulated using the current transition model $T_{i}$ . For each trajectory, the cumulative return is calculated. The trajectories with the highest returns, referred to as elite trajectories, are selected to reshape the distribution of the initial actions. This iterative process is repeated for a fixed number of iterations, ultimately yielding a refined distribution over actions, which informs the final action selection. All the hyperparameters related to the CEM algorithms is the same with TD-MPC (Hansen et al., 2022).
|
| 448 |
+
|
| 449 |
+
# A.0.4. UPDATING
|
| 450 |
+
|
| 451 |
+
DRAGO updates after each episode of rollouts for the same iterations as the number of rollout time-steps. The updates tries to minimize the training objective, which is the sum of several losses weighted temporally by a discount factor $\lambda$ . Below is a detailed description of the loss functions used in the updates:
|
| 452 |
+
|
| 453 |
+
The transition model is updated using data from both the learner agent and the reviewer agent, as well as the synthetic observation-action pairs generated by the previous VAE decoder $(G_{i - 1})$ and the subsequent observations generated by the previous transition model $(T_{i - 1})$ . This process maintains the transition model's accuracy for transitions encountered in previous tasks, thereby mitigating catastrophic forgetting of the world model. Given an observation $s$ , an action $a$ , and a target next state $s'$ , the loss function calculates the mse between the predicted next observation using the transition model $T$ and the next state provided:
|
| 454 |
+
|
| 455 |
+
$$
|
| 456 |
+
\mathcal {L} _ {\mathrm {d y n a m i c s}} = c _ {1} \| T _ {\psi} (s, a) - s ^ {\prime} \| _ {2} ^ {2}
|
| 457 |
+
$$
|
| 458 |
+
|
| 459 |
+
However, synthetic data updates for $T_{i}$ only occur at fixed intervals of steps to cope with the noise arising from inaccuracies in $G_{i-1}$ and $T_{i-1}$ . This periodic updating strategy helps avoid noisy updates that can result from relying on outdated or inaccurate synthetic data.
|
| 460 |
+
|
| 461 |
+
Continual learning of the VAE $(E_{i}$ and $G_{i})$ occurs concurrently with the agent's updates. Data for this learning comes from both the state-action pairs obtained from the learner model's rollouts and the generated state-action pairs from $G_{i - 1}$ . The associated loss function for the VAE $\mathcal{L}_{gen}$ is shown in Equation 6.
|
| 462 |
+
|
| 463 |
+
The reward function $R$ which estimates the immediate reward from a given observation. The reward model enables the agent to estimate total return from a trajectory, and stabilizes the update for Q functions. It is updated using the following loss function:
|
| 464 |
+
|
| 465 |
+
$$
|
| 466 |
+
\mathcal {L} _ {\text {r e w a r d}} = c _ {2} \| R _ {\phi} \left(z _ {i}, a _ {i}\right) - r _ {i} \| _ {2} ^ {2}
|
| 467 |
+
$$
|
| 468 |
+
|
| 469 |
+
Additionally, the $Q$ functions for both agents are updated using the TD-objective shown as follows:
|
| 470 |
+
|
| 471 |
+
$$
|
| 472 |
+
\mathcal {L} _ {\text {v a l u e}} = c _ {3} \left\| Q _ {\phi} \left(s _ {i}, a _ {i}\right) - \left(r _ {i} + \gamma Q _ {\phi^ {-}} \left(s _ {i + 1}, \pi_ {\phi} \left(s _ {i + 1}\right)\right)\right) \right\| _ {2} ^ {2}
|
| 473 |
+
$$
|
| 474 |
+
|
| 475 |
+
$Q$ and $R$ update only using the first steps of the horizons sampled, rather than using the complete horizon as in the original TD-MPC algorithm. This reduces the risk of noisy updates resulting from inaccuracies in the initial transition model.
|
| 476 |
+
|
| 477 |
+
The policy networks for both learner and reviewer agents are updated to maximize the expected $Q$ value using
|
| 478 |
+
|
| 479 |
+
$$
|
| 480 |
+
\mathcal {L} _ {\pi} = - Q _ {\phi} (s, \pi_ {\phi} (s))
|
| 481 |
+
$$
|
| 482 |
+
|
| 483 |
+
In the above loss functions, $c_{1}, c_{2}, c_{3}$ are hyper parameters as weights for each losses.
|
| 484 |
+
|
| 485 |
+
# A.1. Hyperparameters
|
| 486 |
+
|
| 487 |
+
<table><tr><td>Hyperparameter</td><td>Value (minigrid, cheetah, walker)</td></tr><tr><td>action repeat</td><td>1, 4, 2</td></tr><tr><td>discount factor</td><td>0.99</td></tr><tr><td>batch size</td><td>512</td></tr><tr><td>maximum steps</td><td>100, 1000, 1000</td></tr><tr><td>planning horizon</td><td>10, (25, 15), 15</td></tr><tr><td>policy fraction</td><td>0.05</td></tr><tr><td>temperature</td><td>0.5</td></tr><tr><td>momentum</td><td>0.1</td></tr><tr><td>reward loss coef</td><td>0.5</td></tr><tr><td>value coef</td><td>0.1</td></tr><tr><td>consistency loss coef</td><td>2</td></tr><tr><td>vae recon loss coef</td><td>1</td></tr><tr><td>vae kl loss coef</td><td>0.02</td></tr><tr><td>temporal loss discount (ρ)</td><td>0.5</td></tr><tr><td>learning rate</td><td>1e-3</td></tr><tr><td>sampling technique</td><td>PER(0.6, 0.4)</td></tr><tr><td>target networks update freq</td><td>40, 2, 2</td></tr><tr><td>temperature (τ)</td><td>0.01</td></tr><tr><td>cost coef for reviewer reward (α)</td><td>0.5</td></tr><tr><td>vae latent dim</td><td>64, 256, 256</td></tr><tr><td>vae encoding dim</td><td>128</td></tr><tr><td>mlp latent dim</td><td>512</td></tr><tr><td>gumble softmax temp</td><td>1.0</td></tr><tr><td>steps per synthetic data rehearsal</td><td>10, 20</td></tr></table>
|
| 488 |
+
|
| 489 |
+
Table 2. Here we list the hyperparameters used for MiniGrid World, DM-Control cheetah, and DM-Control walker. Unlisted hyperparameters are all identical to the default parameters in TD-MPC.
|
| 490 |
+
|
| 491 |
+
# B. Related Work (Model-Based Reinforcement Learning)
|
| 492 |
+
|
| 493 |
+
Model-based reinforcement learning (MBRL) focuses on learning a predictive model of the environment's dynamics (Sutton, 1991). Learning world models (Ha & Schmidhuber, 2018; Hafner et al., 2019) specifically enables agents to accumulate knowledge about the environment's dynamics and generalize to new tasks or situations. By utilizing this model to simulate future states, agents can plan and make informed decisions without excessive real-world interactions. Most MBRL approaches can be categorized into two main categories in terms of how the learned model is used. The first category consists of methods that use the learned model to generate additional data and explicitly train a policy (Sutton, 1991; Pong et al., 2018; Ha & Schmidhuber, 2018; Sekar et al., 2020; Hafner et al., 2020; 2021; 2023), these approaches leverage the learned dynamics model to simulate experiences, which are then used to augment real data for policy optimization; the second category includes methods that learn the dynamics model and use it directly for planning to assign credit to actions (Ebert et al., 2018; Zhang et al., 2018; Janner et al., 2019; Hafner et al., 2019; Lowrey et al., 2019; Kaiser et al., 2020; Yu et al., 2020b; Schrittwieser et al., 2020; Nguyen et al., 2021; Zhang et al., 2024). These methods perform online planning by simulating future trajectories using the learned model to select actions without explicitly learning a policy. Recent approaches (Hansen et al., 2022; 2024) combine both techniques and achieves superior performance on various continuous control tasks. TD-MPC2 (Hansen et al., 2024) especially demonstrates the possibility of train a single world model on multiple tasks at once using MBRL.
|
| 494 |
+
|
| 495 |
+
# C. Tasks Specifications
|
| 496 |
+
|
| 497 |
+
Here we describe the specifications of the tasks included in this paper:
|
| 498 |
+
|
| 499 |
+
For MiniGrid World domain, all the tasks are to reach a goal. The pre-training tasks are dense-reward, and all fine-tuning tasks are sparse-reward.
|
| 500 |
+
|
| 501 |
+
- Room1to2: In this task we initialize the agent inside room 1 (top left, [11, 8]) and the goal inside room 2 (top right, [14, 9]).
|
| 502 |
+
- Room1to3: In this task we initialize the agent inside room 1 (top left, [8, 11]) and the goal inside room 3 (bottom left, [9, 14]).
|
| 503 |
+
- Room3to4: In this task we initialize the agent inside room 3 (bottom left, [11, 18]) and the goal inside room 4 (bottom right, [14, 17]).
|
| 504 |
+
|
| 505 |
+
For Deep Mind Control domain, all the pre-training tasks are from TD-MPC2 (Hansen et al., 2024), and the new fine-tune tasks are described below:
|
| 506 |
+
|
| 507 |
+
- cheetah jump2run: In this task we initialize the observation as a random state when the agent is performing the task "jump", then initialize the objective to be "cheetah run".
|
| 508 |
+
- cheetah jump2back: In this task, we initialize the observation as a random state when the agent is performing "jump", then initialize the objective to be "cheetah run backwards".
|
| 509 |
+
- walker walk2run: In this task, we initialize the observation as a random state when the agent is performing the task "walk", then initialize the objective to be "walker run".
|
| 510 |
+
- walker run2back: In this task, we initialize the observation as a random state when the agent is performing the task "run," then initialize the objective to be "walker run backwards".
|
| 511 |
+
- walker back2run: In this task, we initialize the observation as a random state when the agent is performing "run backwards", then initialize the objective to be "walker run".
|
| 512 |
+
- walker stand2run: In this task, we initialize the observation as a random state when the agent is performing the task "stand", then initialize the objective to be "walker run".
|
| 513 |
+
- cheetah jump&run In this tasks we encourage the agent to move forward in a high speed while their feet are both above the ground for a longer period of time. We averaged the rewards from cheetah run and cheetah jump with a lower threshold for speed and height.
|
| 514 |
+
- cheetah jump&back In this tasks we encourage the agent to move backwards in a high speed while their feet are both above the ground for a longer period of time. We averaged the rewards from cheetah run backwards and cheetah jump with a lower threshold for speed and height.
|
| 515 |
+
|
| 516 |
+
# D. Additional Results of Continual Training
|
| 517 |
+
|
| 518 |
+
We investigate whether the two components we proposed have side effect on the continual training tasks, where each two of them has relatively small overlap of transition dynamics and covers different state space. As shown in Table 3, DRAGO achieves similar performance with Continual TDMPC in all the training tasks, which is the MBRL baseline it is built upon, demonstrating that the proposed approaches will not deteriorate the training performance or induce more plasticity loss.
|
| 519 |
+
|
| 520 |
+
<table><tr><td>Episode Reward</td><td>Cheetah run</td><td>Cheetah jump</td><td>Cheetah backward</td></tr><tr><td>DRAGO</td><td>652.53</td><td>587.24</td><td>624.09</td></tr><tr><td>Continual TDMPC</td><td>675.31</td><td>646.30</td><td>580.59</td></tr><tr><td>Walker run</td><td>Walker walk</td><td>Walker backward</td><td>Walker stand</td></tr><tr><td>708.74</td><td>954.56</td><td>953.8</td><td>972.46</td></tr><tr><td>693.61</td><td>959.31</td><td>956.42</td><td>982.69</td></tr></table>
|
| 521 |
+
|
| 522 |
+
Table 3. Average Episode Return of the Continual training tasks after training for 1M steps.
|
| 523 |
+
|
| 524 |
+
# E. More Ablation Study Results
|
| 525 |
+
|
| 526 |
+
When trying the continual learning version for TDMPC, we find two interesting results. As shown in Figure 8 left, since we only transfer the dynamics model not the Q function, we thought excluding the Q value estimation in the planning process may yield better transfer results, but the result is the opposite. Without using the Q value in the planning process causes a performance drop. Moreover, in the original TDMPC implementation, a multi-step ahead prediction loss is used for updating the Q function and reward model, in the continual learning setting, we find that one-step prediction is better in complex environments like Deep Mind Control Suite as shown in the results of Cheetah-jump, which is the second one in Cheetah's continual training tasks.
|
| 527 |
+
|
| 528 |
+
We also investigate the influence of the frequency of synthetic experience rehearsal, the results are shown in Figure 8's second subfigure (from left to right).
|
| 529 |
+
|
| 530 |
+
In Figure 8's third subfigure, we show that if we also load Cheetah run's policy&value&reward, our method can reach even better results. However, this in practice requires prior knowledge that jump2run's reward function is similar to that of cheetah run. So it's not a scalable approach for now.
|
| 531 |
+
|
| 532 |
+
In Figure 8's last subfigure, we show a comparison of the effect of the planning horizon to the performance of DRAGO on Cheetah jump2back.
|
| 533 |
+
|
| 534 |
+

|
| 535 |
+
Figure 8. More ablation study results for continual TDMPC and DRAGO.
|
| 536 |
+
|
| 537 |
+

|
| 538 |
+
|
| 539 |
+

|
| 540 |
+
|
| 541 |
+

|
| 542 |
+
|
| 543 |
+
In Table 4, we compare with another baseline: Continual TDMPC + Curiosity, where we add the curiosity-based intrinsic reward to the continual TDMPC policy to increase exploration. We can see that DRAGO still outperforms this new continual MBRL baseline in all the four tasks. We should note that while this is a reasonable baseline, the comparison is a little unfair for our method as DRAGO can also be combined with any exploration method in a straightforward way. Specifically, while we have a separate reviewer model that aims to maximize our proposed intrinsic reward, our learner model that aims to solve each specific task can also be directly added with any intrinsic reward method like curiosity to encourage exploration, which does not contradict with the intrinsic reward of the separate reviewer.
|
| 544 |
+
|
| 545 |
+
We also try directly calculating the intrinsic reward of the reviewer and adding to the total reward of the learner, thus we do not need an additional reviewer model. As shown in Table 5, we see a large drop of performance for the continual training
|
| 546 |
+
|
| 547 |
+
<table><tr><td>Average Reward</td><td>DRAGO</td><td>Curiosity + Continual TDMPC</td><td>EWC</td><td>Continual TDMPC</td><td>Scratch</td></tr><tr><td>Cheetah jump2run</td><td>106.78 ± 32.01</td><td>88.36 ± 25.81</td><td>54.72 ± 62.72</td><td>93.96 ± 39.29</td><td>26.54 ± 2.67</td></tr><tr><td>Cheetah jump&run</td><td>248.92 ± 15.38</td><td>165.35 ± 67.01</td><td>156.98 ± 99.68</td><td>128.58 ± 100.14</td><td>182.77 ± 28.58</td></tr><tr><td>Cheetah jump2back</td><td>331.85 ± 11.05</td><td>133.81 ± 23.07</td><td>29.93 ± 7.15</td><td>73.98 ± 38.45</td><td>45.15 ± 4.92</td></tr><tr><td>Cheetah jump&back</td><td>147.30 ± 34.29</td><td>138.77 ± 45.55</td><td>117.92 ± 1.20</td><td>140.82 ± 28.00</td><td>129.75 ± 20.44</td></tr></table>
|
| 548 |
+
|
| 549 |
+
tasks, and this performance gap becomes larger and larger as the agent encounters more tasks, since it is encouraged to visit more and more possibly irrelevant states. Directly adding our intrinsic reward to the external reward and training only one single learner model makes it hard for the agent to complete the original task goal. If we only have one agent model (one policy), the intrinsic reward can have a side effect that 1. discourages the agent to visit places that it is already familiar with, thus hinders it to find the optimal solution to solve the task. 2. Encourages it to visit places that the previous mode is familiar with, which could be completely irrelevant for solving the current task. By having a separate reviewer policy that maximizes the intrinsic reward, we decouple the objectives. The learner policy focuses on maximizing the external reward to solve the current task effectively, while the reviewer policy explores states that help in retaining knowledge and connecting different regions of the state space. This separation allows both policies to operate without hindering each other's performance.
|
| 550 |
+
|
| 551 |
+

|
| 552 |
+
Figure 9. Prediction score heatmaps for replay-based method (limited storage). The heatmaps illustrates the accuracy of the dynamics model during continual learning by keeping a fixed part of the previous replay buffer (capped to a similar memory size as our generative model). Compared to DRAGO's performance in Figure 4, this method does not achieve the same qualitative result.
|
| 553 |
+
|
| 554 |
+

|
| 555 |
+
|
| 556 |
+

|
| 557 |
+
|
| 558 |
+

|
| 559 |
+
|
| 560 |
+
Table 4. Comparison of few-shot transfer performance on four test tasks in Cheetah. We report the mean and standard deviation of the cumulative reward at the end of training.
|
| 561 |
+
|
| 562 |
+
<table><tr><td>Episode Reward</td><td>Cheetah run</td><td>Cheetah jump</td><td>Cheetah backward</td></tr><tr><td>DRAGO</td><td>652.53</td><td>587.24</td><td>624.09</td></tr><tr><td>DRAGO (Learner w. reviewer reward)</td><td>583.13</td><td>403.70</td><td>330.73</td></tr></table>
|
| 563 |
+
|
| 564 |
+
Table 5. Average Episode Return of the Continual training tasks after training for 1M steps.
|
| 565 |
+
|
| 566 |
+
While in all our experiments above we evaluated DRAGO using TDMPC as the MBRL baseline, we also tried to combine DRAGO with another popular model-based RL baseline PETS (Chua et al., 2018), and show the preliminary results on the same MiniGrid tasks but with dense reward (we are not able to make PETS work on sparse reward settings unfortunately) in Table 7. DRAGO-PETS outperforms the baseline in 3 out of 4 tested tasks. Although we select finetune tasks that encourage the agent to perform in the union of sub observation spaces it has seen in previous tasks, we want to showcase the ability of DRAGO to retain knowledge by also comparing the few shot performance of pretrain tasks from only loading the world models of DRAGO and naive continual learning. Here, both world models are from a continual training of all four tasks in the Walker environment, in the order of Walker-Run, Walker-Walk, Walker-Stand, and Walker-Walk-Backwards.
|
| 567 |
+
|
| 568 |
+
<table><tr><td>Average Reward (Dense)</td><td>DRAGO-PETS</td><td>Continual PETS</td></tr><tr><td>MiniGrid1to3 after3</td><td>233.21 ± 21.07</td><td>150.84 ± 62.37</td></tr><tr><td>MiniGrid1to2 after2</td><td>101.03 ± 116.21</td><td>161.70 ± 44.31</td></tr><tr><td>MiniGrid1to3 after4</td><td>138.26 ± 99.05</td><td>43.04 ± 111.93</td></tr><tr><td>MiniGrid3to4 after4</td><td>234.65 ± 41.71</td><td>147.80 ± 105.84</td></tr></table>
|
| 569 |
+
|
| 570 |
+
Table 6. Comparison of few-shot transfer performance of PETS based methods on four test tasks in MiniGrid. We report the mean and standard deviation of the cumulative reward at the end of training.
|
| 571 |
+
|
| 572 |
+
<table><tr><td>Average Reward</td><td>DRAGO</td><td>Naive TDMPC</td></tr><tr><td>walker-run</td><td>371.46 ± 12.79</td><td>300.52 ± 27.07</td></tr><tr><td>walker-walk</td><td>740.89 ± 54.90</td><td>685.66 ± 43.05</td></tr><tr><td>walker-stand</td><td>871.17 ± 55.07</td><td>463.60 ± 107.12</td></tr></table>
|
| 573 |
+
|
| 574 |
+
Table 7. Comparison of few-shot performance of DRAGO and naive TDMPC continual learning by loading the world model at the end of pretraining on Walker tasks. We report the mean and standard deviation of the reward at 40k steps into the training.
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfbd826c9703d57de81abf5a33812db60984ba1af874e9152b99eb0bead6103b
|
| 3 |
+
size 953413
|
2025/Knowledge Retention in Continual Model-Based Reinforcement Learning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_content_list.json
ADDED
|
@@ -0,0 +1,1730 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Mingyu Xing $^{1}$ Lechao Cheng $^{1}$ Shengeng Tang $^{1}$ Yaxiong Wang $^{1}$ Zhun Zhong $^{1,2}$ Meng Wang",
|
| 5 |
+
"bbox": [
|
| 6 |
+
130,
|
| 7 |
+
178,
|
| 8 |
+
839,
|
| 9 |
+
196
|
| 10 |
+
],
|
| 11 |
+
"page_idx": 0
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"type": "text",
|
| 15 |
+
"text": "Abstract",
|
| 16 |
+
"text_level": 1,
|
| 17 |
+
"bbox": [
|
| 18 |
+
241,
|
| 19 |
+
223,
|
| 20 |
+
320,
|
| 21 |
+
238
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "We introduce Knowledge Swapping, a novel task designed to selectively regulate knowledge of a pretrained model by enabling the forgetting of user-specified information, retaining essential knowledge, and acquiring new knowledge simultaneously. By delving into the analysis of knock-on feature hierarchy, we find that incremental learning typically progresses from low-level representations to higher-level semantics, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features. Building upon this, we propose to benchmark the knowledge swapping task with the strategy of Learning Before Forgetting. Comprehensive experiments on various tasks like image classification, object detection, and semantic segmentation validate the effectiveness of the proposed strategy. The source code is available at https://github.com/xingmingyu123456/KnowledgeSwapping",
|
| 28 |
+
"bbox": [
|
| 29 |
+
117,
|
| 30 |
+
244,
|
| 31 |
+
447,
|
| 32 |
+
561
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "1. Introduction",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
86,
|
| 42 |
+
589,
|
| 43 |
+
217,
|
| 44 |
+
604
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "The proliferation of deep learning has led to the widespread adoption of pretrained models (Han et al., 2021), which are typically fine-tuned using task-specific data to achieve parameter-efficient adaptation. In the context of streaming tasks, researchers have increasingly explored methods for continuously optimizing and adapting pretrained models to new tasks (Lin et al., 2023; Chen et al., 2024; Zhu et al., 2023), a paradigm referred to as continual learning (Wang et al., 2024). However, in practical applications, as deep models integrate more knowledge, they often encounter additional requirements, such as the need to continuously",
|
| 51 |
+
"bbox": [
|
| 52 |
+
84,
|
| 53 |
+
614,
|
| 54 |
+
475,
|
| 55 |
+
781
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "$^{1}$ School of Computer Science and Information Engineering, Hefei University of Technology $^{2}$ School of Computer Science, University of Nottingham. Correspondence to: Lechao Cheng <chenglc@h Fut.edu.cn>, Zhun Zhong <zhunzhong007@gmail.com>.",
|
| 62 |
+
"bbox": [
|
| 63 |
+
84,
|
| 64 |
+
789,
|
| 65 |
+
473,
|
| 66 |
+
854
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).",
|
| 73 |
+
"bbox": [
|
| 74 |
+
84,
|
| 75 |
+
864,
|
| 76 |
+
473,
|
| 77 |
+
905
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "image",
|
| 83 |
+
"img_path": "images/66ce1fb2c5ad22475beb12c546cd15bdb40245219f85998b41c345f38660a054.jpg",
|
| 84 |
+
"image_caption": [],
|
| 85 |
+
"image_footnote": [],
|
| 86 |
+
"bbox": [
|
| 87 |
+
504,
|
| 88 |
+
223,
|
| 89 |
+
624,
|
| 90 |
+
369
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "image",
|
| 96 |
+
"img_path": "images/e2a2e19494bf94112bb19ce57886797aba48e879ae2c4f6016ee16bad393d857.jpg",
|
| 97 |
+
"image_caption": [],
|
| 98 |
+
"image_footnote": [
|
| 99 |
+
"Retained Knowledge"
|
| 100 |
+
],
|
| 101 |
+
"bbox": [
|
| 102 |
+
635,
|
| 103 |
+
223,
|
| 104 |
+
751,
|
| 105 |
+
369
|
| 106 |
+
],
|
| 107 |
+
"page_idx": 0
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"type": "image",
|
| 111 |
+
"img_path": "images/43931a935edc24835685dbcfe40477f81e936978b3db594fae10ed0bb719e50f.jpg",
|
| 112 |
+
"image_caption": [],
|
| 113 |
+
"image_footnote": [],
|
| 114 |
+
"bbox": [
|
| 115 |
+
763,
|
| 116 |
+
223,
|
| 117 |
+
883,
|
| 118 |
+
369
|
| 119 |
+
],
|
| 120 |
+
"page_idx": 0
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"type": "image",
|
| 124 |
+
"img_path": "images/b471aff170cd2d3303d20acfae081727686cd05162725d160e2870bd3d5d3973.jpg",
|
| 125 |
+
"image_caption": [
|
| 126 |
+
"Figure 1. Comparisons of three tasks: Continuous Learning, Machine Unlearning, and our Knowledge Swapping."
|
| 127 |
+
],
|
| 128 |
+
"image_footnote": [
|
| 129 |
+
"Removed Knowledge",
|
| 130 |
+
"New Knowledge"
|
| 131 |
+
],
|
| 132 |
+
"bbox": [
|
| 133 |
+
503,
|
| 134 |
+
377,
|
| 135 |
+
751,
|
| 136 |
+
455
|
| 137 |
+
],
|
| 138 |
+
"page_idx": 0
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"type": "text",
|
| 142 |
+
"text": "block or forget certain sensitive content. Recent works, such as machine unlearning (Liu et al., 2024c; Wang et al., 2025; Zhang et al., 2024b), have begun to address the unilateral forgetting of specific content within pretrained models. Nonetheless, approaches that simultaneously enable the learning of new knowledge and the forgetting of specific content remain underexplored.",
|
| 143 |
+
"bbox": [
|
| 144 |
+
495,
|
| 145 |
+
550,
|
| 146 |
+
887,
|
| 147 |
+
656
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "Inspired by this insight, we propose a novel task termed Knowledge Swapping, which enables the selective forgetting of specific categories of knowledge while preserving others, tailored to the requirements of new tasks. As depicted in Figure 1, continual learning (Cheng et al., 2024a;b; Zhang et al., 2024a; Huang et al., 2024a;b; Wu et al., 2025) aims to integrate new task knowledge into an existing pretrained model. Current mainstream approaches (Li et al., 2024; Wang et al., 2022b) often involve attaching a new adapter for each task and fine-tuning it, yet the need to forget outdated or less relevant knowledge remains an underexplored challenge. Recent advancements (Liu et al., 2024b; Wang et al., 2025) in machine unlearning have demonstrated that isolating or removing specific knowledge from a pretrained model necessitates an explicit unlearning process. In contrast, our proposed Knowledge Swapping task facili-",
|
| 154 |
+
"bbox": [
|
| 155 |
+
495,
|
| 156 |
+
662,
|
| 157 |
+
888,
|
| 158 |
+
905
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 0
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "header",
|
| 164 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 165 |
+
"bbox": [
|
| 166 |
+
227,
|
| 167 |
+
109,
|
| 168 |
+
746,
|
| 169 |
+
132
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 0
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "page_number",
|
| 175 |
+
"text": "1",
|
| 176 |
+
"bbox": [
|
| 177 |
+
480,
|
| 178 |
+
922,
|
| 179 |
+
491,
|
| 180 |
+
934
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 0
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "tates the learning of new tasks while simultaneously forgetting less important prior knowledge or sensitive data that requires protection, thereby preserving the core capabilities of the pretrained model.",
|
| 187 |
+
"bbox": [
|
| 188 |
+
84,
|
| 189 |
+
85,
|
| 190 |
+
475,
|
| 191 |
+
145
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "We further delve into how to perform knowledge swapping more effectively by leveraging empirical insights. Intuitively, this process can be divided into two stages: forgetting specific knowledge and learning novel knowledge. A natural assumption might be that the model should first forget less important or potentially detrimental priors in order to \"free up\" the capacity for new information. We conduct a set of straightforward experiments to analyze, in isolation, how incremental learning and targeted forgetting each influence model parameters. Our findings indicate that incremental learning typically progresses from low-level representations to higher-level semantic features, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features. This contrast provides valuable insights for designing strategies for knowledge swapping task. Specifically, if we perform targeted forgetting first, we may complete the forgetting of high-level semantics before any major adjustments occur in the low-level feature space. Once we begin introducing new content afterward, these low-level changes may no longer align with the previously forgotten high-level semantic representations, thereby creating potential conflicts. Conversely, if we first learn the new task (thus updating the low-level feature distribution), and only then conduct targeted forgetting, the process is more likely to remain confined to higher-level semantics. As a result, the updated low-level distributions are less likely to be perturbed during the forgetting stage, which helps to maintain the integrity of previously acquired knowledge. We empirically show learning new tasks first, followed by selective forgetting of specific knowledge, leads to significantly better results. Our contributions are summarized as follows:",
|
| 198 |
+
"bbox": [
|
| 199 |
+
86,
|
| 200 |
+
151,
|
| 201 |
+
477,
|
| 202 |
+
636
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "list",
|
| 208 |
+
"sub_type": "text",
|
| 209 |
+
"list_items": [
|
| 210 |
+
"- We propose the concept of Knowledge Swapping, a novel task that facilitates the learning of new tasks while simultaneously forgetting less important prior knowledge and preserving essential pretrained capabilities.",
|
| 211 |
+
"- We uncover that incremental learning progresses from low-level to higher-level semantic features, whereas targeted forgetting begins at high-level semantics and works downward. This directional contrast provides key insights into how to design effective knowledge swapping procedures.",
|
| 212 |
+
"- Building upon the insight from feature-hierarchy interplay, we propose to achieve knowledge swapping by sequential learning-then-forgetting principle. Comprehensive experiments also demonstrate that the pro"
|
| 213 |
+
],
|
| 214 |
+
"bbox": [
|
| 215 |
+
104,
|
| 216 |
+
654,
|
| 217 |
+
477,
|
| 218 |
+
906
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "posed strategy significantly improves overall performance.",
|
| 225 |
+
"bbox": [
|
| 226 |
+
529,
|
| 227 |
+
85,
|
| 228 |
+
887,
|
| 229 |
+
113
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "2. Related Work",
|
| 236 |
+
"text_level": 1,
|
| 237 |
+
"bbox": [
|
| 238 |
+
496,
|
| 239 |
+
133,
|
| 240 |
+
638,
|
| 241 |
+
150
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 1
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "2.1. Continual Learning",
|
| 248 |
+
"text_level": 1,
|
| 249 |
+
"bbox": [
|
| 250 |
+
496,
|
| 251 |
+
160,
|
| 252 |
+
669,
|
| 253 |
+
176
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 1
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "Continual learning, also known as lifelong learning, aims to enable models to learn new tasks incrementally while mitigating catastrophic forgetting. Existing approaches can be broadly categorized into Regularization-Based Methods (Kirkpatrick et al., 2017; Li & Hoiem, 2017; Zhu et al., 2021; Liu & Liu, 2022; Wang et al., 2023), Memory-Based Methods (Rebuffi et al., 2017; Ashok et al., 2022; Chaudhry et al., 2021; Zhou et al., 2022; Sun et al., 2023; Yang et al., 2023), and Architecture-Based Methods (Rusu et al., 2016; Douillard et al., 2022; Wang et al., 2022a; Lu et al., 2024).",
|
| 260 |
+
"bbox": [
|
| 261 |
+
495,
|
| 262 |
+
183,
|
| 263 |
+
887,
|
| 264 |
+
335
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 1
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "Regularization-based methods introduce constraints in the loss function to retain past knowledge. For instance, EWC (Kirkpatrick et al., 2017) distills knowledge from old models to new ones for prediction consistency. Memory-based methods maintain an external memory to store or generate past knowledge. BMKP (Sun et al., 2023) introduces a bilevel memory framework, where a working memory adapts to new tasks and a long-term memory retains compact knowledge representations. Architecture-based methods expand the model to accommodate new tasks. Progressive Neural Networks(Rusu et al., 2016) expands the model using gradient boosting and compresses it via knowledge distillation. ArchCraft (Lu et al., 2024) leverages neural architecture search (NAS) to balance stability and plasticity, generating architectures that enhance knowledge retention with minimal parameter overhead. Our proposed method shares the goal of balancing retention and learning with continual learning approaches. However, knowledge swapping introduces an additional challenge of selective forgetting, which is not explicitly addressed in traditional continual learning methods.",
|
| 271 |
+
"bbox": [
|
| 272 |
+
495,
|
| 273 |
+
342,
|
| 274 |
+
888,
|
| 275 |
+
659
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 1
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "2.2. Machine Unlearning",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
496,
|
| 285 |
+
676,
|
| 286 |
+
674,
|
| 287 |
+
691
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "Machine unlearning (Koh & Liang, 2017; Kurmanji et al., 2024; Liu et al., 2024a) focuses on efficiently removing specific data or knowledge from a trained model without requiring full retraining, which is crucial for data privacy compliance. One of the earliest approaches is fine-tuning, which exploits catastrophic forgetting by retraining the model on a retention dataset, though it may leave residual traces of forgotten data. This method forms the foundation for subsequent unlearning techniques. Building on this, Influence Functions (Koh & Liang, 2017) emerged, whistimates the influence of individual data points on model parameters, providing a more precise and computationally efficient method for data removal without retraining the entire model. Later,",
|
| 294 |
+
"bbox": [
|
| 295 |
+
495,
|
| 296 |
+
699,
|
| 297 |
+
888,
|
| 298 |
+
896
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 1
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "header",
|
| 304 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 305 |
+
"bbox": [
|
| 306 |
+
323,
|
| 307 |
+
56,
|
| 308 |
+
648,
|
| 309 |
+
71
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 1
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "page_number",
|
| 315 |
+
"text": "2",
|
| 316 |
+
"bbox": [
|
| 317 |
+
480,
|
| 318 |
+
922,
|
| 319 |
+
491,
|
| 320 |
+
934
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 1
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "more sophisticated methods are introduced. NegGrad+ (Kurmanji et al., 2024) balances the loss on the forgotten set and the retention dataset, offering a more controlled trade-off in the unlearning process. To further refine the removal of specific knowledge, L1-Sparse (Liu et al., 2024a) introduces the use of L1-regularization to zero out parameters associated with forgotten data, effectively eliminating their influence on the model. Additionally, Relabeling techniques, such as Saliency Unlearning (Feldman, 2020) disrupts the model's memory of forgotten data by altering its labels, focusing on modifying key parameters that store the data's influence. Unlike conventional unlearning methods, which primarily focus on individual data points, our proposed framework introduces a novel approach for category-level forgetting. By integrating the processes of learning, retention, and forgetting into a unified system, this framework offers more flexibility and control over knowledge management, marking a significant advancement in this area of research.",
|
| 327 |
+
"bbox": [
|
| 328 |
+
88,
|
| 329 |
+
84,
|
| 330 |
+
475,
|
| 331 |
+
357
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "3. Knowledge Swapping",
|
| 338 |
+
"text_level": 1,
|
| 339 |
+
"bbox": [
|
| 340 |
+
84,
|
| 341 |
+
376,
|
| 342 |
+
292,
|
| 343 |
+
393
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "3.1. Task Definition",
|
| 350 |
+
"text_level": 1,
|
| 351 |
+
"bbox": [
|
| 352 |
+
84,
|
| 353 |
+
402,
|
| 354 |
+
225,
|
| 355 |
+
416
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 2
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "We introduce a novel task, referred to as Knowledge Swapping, which aims to selectively regulate a model's knowledge by employing specific swapping mechanisms to achieve three primary objectives: (1) forgetting userspecified knowledge, (2) retaining core knowledge, and (3) simultaneously learning new knowledge.",
|
| 362 |
+
"bbox": [
|
| 363 |
+
84,
|
| 364 |
+
425,
|
| 365 |
+
473,
|
| 366 |
+
516
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "Let $\\mathcal{D}_p = (X_p,Y_p)$ be the pretraining dataset on which an initial model $M_0$ has been trained. We define three additional sets:",
|
| 373 |
+
"bbox": [
|
| 374 |
+
84,
|
| 375 |
+
523,
|
| 376 |
+
473,
|
| 377 |
+
568
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "list",
|
| 383 |
+
"sub_type": "text",
|
| 384 |
+
"list_items": [
|
| 385 |
+
"- Retaining Set: $\\mathcal{D}_r = (X_r, Y_r)$ , which contains the knowledge that must be preserved.",
|
| 386 |
+
"- Forgetting Set: $\\mathcal{D}_f = (X_f, Y_f)$ , containing the knowledge that the model needs to forget.",
|
| 387 |
+
"- Learning Set: $\\mathcal{D}_l = (X_l, Y_l)$ , comprising new knowledge to acquire."
|
| 388 |
+
],
|
| 389 |
+
"bbox": [
|
| 390 |
+
104,
|
| 391 |
+
584,
|
| 392 |
+
473,
|
| 393 |
+
691
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 2
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "In general, both $\\mathcal{D}_r$ and $\\mathcal{D}_f$ are subsets of the pretraining dataset $\\mathcal{D}_p$ , i.e., $\\mathcal{D}_r, \\mathcal{D}_f \\subseteq \\mathcal{D}_p$ , while $\\mathcal{D}_l$ could represent an entirely new task or domain.",
|
| 400 |
+
"bbox": [
|
| 401 |
+
84,
|
| 402 |
+
708,
|
| 403 |
+
473,
|
| 404 |
+
753
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 2
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "Objectives: We seek to train an updated model $M_{1}$ such that:",
|
| 411 |
+
"bbox": [
|
| 412 |
+
84,
|
| 413 |
+
761,
|
| 414 |
+
473,
|
| 415 |
+
790
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 2
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "list",
|
| 421 |
+
"sub_type": "text",
|
| 422 |
+
"list_items": [
|
| 423 |
+
"1. For each $x_r \\in X_r$ , $M_1$ correctly predicts its label $y_r$ . Formally, $P\\big(M_1(x_r) = y_r\\big) \\approx 1$ , $\\forall x_r \\in X_r$ . (Retention)",
|
| 424 |
+
"2. For each $x_{f}\\in X_{f}$ , $M_1$ does not correctly predict its label $y_{f}$ . Formally, $P\\big(M_1(x_f) = y_f\\big)\\approx 0,\\quad \\forall x_f\\in X_f$ . (Forgetting)"
|
| 425 |
+
],
|
| 426 |
+
"bbox": [
|
| 427 |
+
98,
|
| 428 |
+
806,
|
| 429 |
+
473,
|
| 430 |
+
905
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "3. For each $x_{l} \\in X_{l}$ , $M_{1}$ correctly predicts its label $y_{l}$ . Formally, $P\\big(M_1(x_l) = y_l\\big) \\approx 1$ , $\\forall x_{l} \\in X_{l}$ (Learning)",
|
| 437 |
+
"bbox": [
|
| 438 |
+
509,
|
| 439 |
+
84,
|
| 440 |
+
887,
|
| 441 |
+
130
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 2
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "Here, $P(\\cdot)$ denotes the probability of the corresponding event under the trained model. The objectives are then to promote or discourage each of these criteria accordingly.",
|
| 448 |
+
"bbox": [
|
| 449 |
+
496,
|
| 450 |
+
148,
|
| 451 |
+
885,
|
| 452 |
+
194
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 2
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "3.2. To Forget Before Learning, or to Learn Before Forgetting?",
|
| 459 |
+
"text_level": 1,
|
| 460 |
+
"bbox": [
|
| 461 |
+
496,
|
| 462 |
+
210,
|
| 463 |
+
852,
|
| 464 |
+
239
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 2
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Revisiting that we have already provided a comprehensive definition of the knowledge swapping task, we note that—based on its criteria—it can be naturally divided into two core phases: forgetting and learning. This highlights a pivotal question: should a model first forget certain existing knowledge before learning new information (which seems intuitively appealing), or should it learn new content first and then perform forgetting? The way we answer this sequence dilemma directly informs how we design a robust knowledge swapping benchmark. Although intuitively, forgetting old knowledge first appears to free up capacity for accommodating the new, is this really the optimal approach? To explore this, we conduct two sets of experiments on dense prediction tasks such as semantic segmentation, each corresponding to one of these two learning orders. We then examine how the neural network's parameters, across various layers, evolve under each approach (see Figure 2).",
|
| 471 |
+
"bbox": [
|
| 472 |
+
495,
|
| 473 |
+
248,
|
| 474 |
+
887,
|
| 475 |
+
505
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 2
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "Knock-on Feature Hierarchy In this section, we directly evaluate the weight norms and parameter differences at each stage of the process. Specifically, $L \\to F$ denotes Learning Before Forgetting, while $F \\to L$ indicates Learning After Forgetting. The superscript $W$ represents the weight norms at different stages under each sequence. We aggregate results from multiple image segmentation tasks and observe that when following the $L \\to F$ sequence, the majority of parameter updates occur in the latter layers of the neural network—those responsible for generating semantic-level features. Conversely, in the $F \\to L$ sequence, the principal changes are concentrated in the earlier layers, which produce low-level features. Based on these results, we found:",
|
| 482 |
+
"bbox": [
|
| 483 |
+
495,
|
| 484 |
+
512,
|
| 485 |
+
887,
|
| 486 |
+
709
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 2
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "Discovery-I: Incremental learning typically progresses from low-level representations to higher-level semantic features, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features.",
|
| 493 |
+
"bbox": [
|
| 494 |
+
495,
|
| 495 |
+
717,
|
| 496 |
+
887,
|
| 497 |
+
792
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 2
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "Remark. What is the practical significance of this seemingly intuitive finding? Clearly, its hierarchical feature implications offer valuable insights for designing knowledge swapping strategies. Specifically, if we conduct targeted forgetting first, we may erase high-level semantic parameters before making any substantial adjustments to the low-level feature parameter space. However, once we subsequently",
|
| 504 |
+
"bbox": [
|
| 505 |
+
495,
|
| 506 |
+
799,
|
| 507 |
+
887,
|
| 508 |
+
905
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 2
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "header",
|
| 514 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 515 |
+
"bbox": [
|
| 516 |
+
323,
|
| 517 |
+
56,
|
| 518 |
+
651,
|
| 519 |
+
71
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 2
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "page_number",
|
| 525 |
+
"text": "3",
|
| 526 |
+
"bbox": [
|
| 527 |
+
480,
|
| 528 |
+
922,
|
| 529 |
+
491,
|
| 530 |
+
934
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 2
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "image",
|
| 536 |
+
"img_path": "images/6eb6bde45338fe565778f1f548379c3f43b442fd344ce7386df3bf06aa08c484.jpg",
|
| 537 |
+
"image_caption": [
|
| 538 |
+
"(a) Learning Before Forgetting $(L\\to F)$"
|
| 539 |
+
],
|
| 540 |
+
"image_footnote": [],
|
| 541 |
+
"bbox": [
|
| 542 |
+
147,
|
| 543 |
+
84,
|
| 544 |
+
830,
|
| 545 |
+
251
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "image",
|
| 551 |
+
"img_path": "images/5d307344405c3fe0e9200551ab3aa46cec42b0e5992cdc71eaf6bc6fd60a9fd3.jpg",
|
| 552 |
+
"image_caption": [
|
| 553 |
+
"(b) Learning After Forgetting $(F\\to L)$",
|
| 554 |
+
"Figure 2. $\\mathcal{L}_2$ norm for each parameter under $L\\to F$ and $F\\rightarrow L$ . The superscript $W$ denotes the weight norm value at the current stage. The figure illustrates that (a) during the Learning Before Forgetting phase, changes in parameter norms are predominantly concentrated in layers responsible for high-level semantic representations. Conversely, (b) in the Learning After Forgetting phase, parameter norm changes primarily occur in layers associated with low-level feature representations."
|
| 555 |
+
],
|
| 556 |
+
"image_footnote": [],
|
| 557 |
+
"bbox": [
|
| 558 |
+
145,
|
| 559 |
+
282,
|
| 560 |
+
823,
|
| 561 |
+
448
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 3
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "introduce new content, further modifications to the low-level parameters can cause inconsistencies in the high-level semantics (breaking the forgetting pipeline owing to altering low-level parameters), potentially leading to conflicts. By contrast, if we begin by learning a new task (thereby updating the low-level parameters) and then perform targeted forgetting, the forgetting process is more likely confined to the high-level semantic parameters.",
|
| 568 |
+
"bbox": [
|
| 569 |
+
84,
|
| 570 |
+
563,
|
| 571 |
+
475,
|
| 572 |
+
685
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 3
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "Principle: Learning Before Forgetting. Recall that we demonstrate that initiating the forgetting process before learning disrupts the intended forgetting due to alterations in low-level feature learning. This raises the question: does conducting the learning process before forgetting similarly interfere with previously acquired knowledge? We also measure the average gradient changes across two primary sequences, $L \\rightarrow F$ and $F \\rightarrow L$ , as shown in Figure 4. The superscript $G$ means the log average gradient at the current stage. First, parameter changes during the learning phases ( $L^G \\rightarrow F$ and $F \\rightarrow L^G$ ) are consistently more significant, indicating that the Learning process is relatively challenging; second, in the $L \\rightarrow F^G$ phase, the final updates to forgetting gradients remain consistently small, suggesting",
|
| 579 |
+
"bbox": [
|
| 580 |
+
84,
|
| 581 |
+
691,
|
| 582 |
+
477,
|
| 583 |
+
905
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 3
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "that Learning Before Forgetting is more stable.",
|
| 590 |
+
"bbox": [
|
| 591 |
+
496,
|
| 592 |
+
563,
|
| 593 |
+
808,
|
| 594 |
+
579
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 3
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "4. Benchmark",
|
| 601 |
+
"text_level": 1,
|
| 602 |
+
"bbox": [
|
| 603 |
+
496,
|
| 604 |
+
598,
|
| 605 |
+
620,
|
| 606 |
+
614
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 3
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "4.1. Overview",
|
| 613 |
+
"text_level": 1,
|
| 614 |
+
"bbox": [
|
| 615 |
+
496,
|
| 616 |
+
625,
|
| 617 |
+
599,
|
| 618 |
+
638
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 3
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "As illustrated in Figure 3, we employ the Low-Rank Adaptation (LoRA) technique (Hu et al., 2021) to fine-tune the pretrained model $M_0$ (Sec. 4.2). Additionally, we leverage group sparse regularization to constrain the selective learning and forgetting of specific knowledge (Sec. 4.3).",
|
| 625 |
+
"bbox": [
|
| 626 |
+
495,
|
| 627 |
+
647,
|
| 628 |
+
888,
|
| 629 |
+
724
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 3
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "4.2. LoRA-Based Fine-Tuning",
|
| 636 |
+
"text_level": 1,
|
| 637 |
+
"bbox": [
|
| 638 |
+
496,
|
| 639 |
+
739,
|
| 640 |
+
712,
|
| 641 |
+
755
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 3
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "Building on the findings in (Geva et al., 2020), which demonstrate that the linear layers within Transformers encapsulate a substantial amount of the model's knowledge, we employ the Low-Rank Adaptation (LoRA) technique (Hu et al., 2021) to fine-tune only these linear layers. Let $\\mathbf{X}$ denote the input to the Feed-Forward Network (FFN) of the $k$ -th Transformer block after the $t$ -th gradient update. The weights and biases of the first linear layer are represented by $W_{k1}^{t}$ and $b_{k1}^{t}$ , respectively, while those of",
|
| 648 |
+
"bbox": [
|
| 649 |
+
495,
|
| 650 |
+
763,
|
| 651 |
+
888,
|
| 652 |
+
902
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 3
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "header",
|
| 658 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 659 |
+
"bbox": [
|
| 660 |
+
323,
|
| 661 |
+
56,
|
| 662 |
+
651,
|
| 663 |
+
71
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "page_number",
|
| 669 |
+
"text": "4",
|
| 670 |
+
"bbox": [
|
| 671 |
+
480,
|
| 672 |
+
922,
|
| 673 |
+
491,
|
| 674 |
+
934
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 3
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "image",
|
| 680 |
+
"img_path": "images/454a88b82cdab7ce214d080f2954a2479817bde03220d39d21f4f676167b36bc.jpg",
|
| 681 |
+
"image_caption": [
|
| 682 |
+
"Figure 3. Benchmark Framework. First, we decouple knowledge swapping into separate learning and forgetting processes. We observed that the learning process progresses from low-level features to high-level features, while the forgetting process proceeds in the opposite direction—from high-level features to low-level features. Therefore, a two-stage strategy of Learning Before Forgetting is adopted. In general, we adopt LoRA to fine-tune the linear layers in each Transformer block, with all other parameters frozen to enable selective regulation of the model knowledge."
|
| 683 |
+
],
|
| 684 |
+
"image_footnote": [],
|
| 685 |
+
"bbox": [
|
| 686 |
+
88,
|
| 687 |
+
80,
|
| 688 |
+
883,
|
| 689 |
+
280
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 4
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "image",
|
| 695 |
+
"img_path": "images/f47201d74a0ca57d2803745a9d73f4d66239ae2c046841f6d2c0895fd6765047.jpg",
|
| 696 |
+
"image_caption": [
|
| 697 |
+
"Figure 4. Logarithm of the Average Gradient. We compute the logarithm of cumulative average gradient changes at different stages in the $L \\to F$ and $F \\to L$ processes. We observe two key phenomena: first, parameter changes during the learning phases ( $L^G \\to F$ and $F \\to L^G$ ) are consistently more significant, indicating that the Learning process is relatively challenging; second, in the $L \\to F^G$ phase, the final updates to forgetting gradients remain consistently small, suggesting that Learning Before Forgetting is more stable."
|
| 698 |
+
],
|
| 699 |
+
"image_footnote": [],
|
| 700 |
+
"bbox": [
|
| 701 |
+
124,
|
| 702 |
+
380,
|
| 703 |
+
849,
|
| 704 |
+
561
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 4
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "the second linear layer are denoted by $\\pmb{W}_{k2}^{t}$ and $\\pmb{b}_{k2}^{t}$ . The computation performed by the FFN can be expressed as:",
|
| 711 |
+
"bbox": [
|
| 712 |
+
84,
|
| 713 |
+
656,
|
| 714 |
+
473,
|
| 715 |
+
686
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 4
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "equation",
|
| 721 |
+
"text": "\n$$\n\\operatorname {F F N} _ {k} ^ {t} (\\boldsymbol {X}) = \\operatorname {R e L U} \\left(\\boldsymbol {X} \\boldsymbol {W} _ {k 1} ^ {t} + \\boldsymbol {b} _ {k 1} ^ {t}\\right) \\boldsymbol {W} _ {k 2} ^ {t} + \\boldsymbol {b} _ {k 2} ^ {t}. \\tag {1}\n$$\n",
|
| 722 |
+
"text_format": "latex",
|
| 723 |
+
"bbox": [
|
| 724 |
+
104,
|
| 725 |
+
696,
|
| 726 |
+
475,
|
| 727 |
+
715
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 4
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "Using LoRA, the weights are decomposed into their original pretrained components and learnable low-rank adaptations:",
|
| 734 |
+
"bbox": [
|
| 735 |
+
84,
|
| 736 |
+
724,
|
| 737 |
+
475,
|
| 738 |
+
755
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 4
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "equation",
|
| 744 |
+
"text": "\n$$\n\\boldsymbol {W} _ {k 1} ^ {t} = \\boldsymbol {W} _ {k 1} ^ {0} + \\Delta \\boldsymbol {W} _ {k 1} ^ {t}, \\quad \\Delta \\boldsymbol {W} _ {k 1} ^ {t} = \\boldsymbol {A} _ {k 1} ^ {t} \\boldsymbol {B} _ {k 1} ^ {t}. \\tag {2}\n$$\n",
|
| 745 |
+
"text_format": "latex",
|
| 746 |
+
"bbox": [
|
| 747 |
+
124,
|
| 748 |
+
763,
|
| 749 |
+
475,
|
| 750 |
+
782
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 4
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "equation",
|
| 756 |
+
"text": "\n$$\n\\boldsymbol {W} _ {k 2} ^ {t} = \\boldsymbol {W} _ {k 2} ^ {0} + \\Delta \\boldsymbol {W} _ {k 2} ^ {t}, \\quad \\Delta \\boldsymbol {W} _ {k 2} ^ {t} = \\boldsymbol {A} _ {k 2} ^ {t} \\boldsymbol {B} _ {k 2} ^ {t}. \\tag {3}\n$$\n",
|
| 757 |
+
"text_format": "latex",
|
| 758 |
+
"bbox": [
|
| 759 |
+
125,
|
| 760 |
+
791,
|
| 761 |
+
473,
|
| 762 |
+
810
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 4
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "In these equations, $\\pmb{W}_{k1}^{0}$ and $\\pmb{W}_{k2}^{0}$ represent the original pretrained weights, while $\\Delta W_{k1}^{t}$ and $\\Delta W_{k2}^{t}$ are the low-rank updates at time step $t$ , parameterized by the matrices $\\pmb{A}$ and $\\pmb{B}$ . This approach ensures efficient adaptation by focusing solely on the linear layers of the Transformer, which are hypothesized to store the majority of the model's knowledge.",
|
| 769 |
+
"bbox": [
|
| 770 |
+
84,
|
| 771 |
+
814,
|
| 772 |
+
477,
|
| 773 |
+
906
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 4
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "Although the biases $\\pmb{b}_{k1}^{t}$ and $\\pmb{b}_{k2}^{t}$ may also be fine-tuned, they typically involve fewer parameters compared to the weights. By restricting updates to low-rank matrices, LoRA enables efficient fine-tuning with reduced computational and storage overhead while preserving the knowledge embedded in the original pretrained weights.",
|
| 780 |
+
"bbox": [
|
| 781 |
+
496,
|
| 782 |
+
656,
|
| 783 |
+
887,
|
| 784 |
+
748
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 4
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "4.3. Sparse Constraint",
|
| 791 |
+
"text_level": 1,
|
| 792 |
+
"bbox": [
|
| 793 |
+
496,
|
| 794 |
+
763,
|
| 795 |
+
660,
|
| 796 |
+
779
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 4
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "We employ Group Coefficient Regularization to selectively retain specific knowledge within the Feed-Forward Network (FFN) modules. Specifically, we adopt the Lasso strategy (Liu et al., 2015; Wen et al., 2016; Yuan & Lin, 2006) for group sparse regularization. Lasso achieves the selective retention of knowledge by zeroing out the $A$ and $B$ matrices of irrelevant FFN modules within LoRA, thereby enabling",
|
| 803 |
+
"bbox": [
|
| 804 |
+
495,
|
| 805 |
+
787,
|
| 806 |
+
887,
|
| 807 |
+
893
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 4
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "header",
|
| 813 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 814 |
+
"bbox": [
|
| 815 |
+
323,
|
| 816 |
+
56,
|
| 817 |
+
651,
|
| 818 |
+
71
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 4
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "page_number",
|
| 824 |
+
"text": "5",
|
| 825 |
+
"bbox": [
|
| 826 |
+
480,
|
| 827 |
+
922,
|
| 828 |
+
491,
|
| 829 |
+
934
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 4
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "table",
|
| 835 |
+
"img_path": "images/e0a1c7bf07e052447069672801a80db9136dbc63921146305ab0de191997b5ec.jpg",
|
| 836 |
+
"table_caption": [
|
| 837 |
+
"Table 1. Image classification results on Imagenet100 under Learning Before Forgetting. $L$ and $F$ are short for Learning and Forgetting, respectively. ${\\mathrm{{Acc}}}_{r},{\\mathrm{{Acc}}}_{l}$ and ${\\mathrm{{Acc}}}_{f}$ represent the accuracy of the retaining set,the learning set,and the forgetting set."
|
| 838 |
+
],
|
| 839 |
+
"table_footnote": [],
|
| 840 |
+
"table_body": "<table><tr><td rowspan=\"2\">Stages</td><td colspan=\"3\">Cub</td><td colspan=\"3\">Resisc45</td><td colspan=\"3\">Oxford-pet</td><td colspan=\"3\">Plantvillage</td></tr><tr><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td></tr><tr><td colspan=\"13\">Learning Set: 5 classes, Forgetting Set: 5 classes, Retaining Set: 95 classes</td></tr><tr><td>Start</td><td>88.08</td><td>0</td><td>84.4</td><td>88.08</td><td>0.2</td><td>84.4</td><td>88.08</td><td>0.4</td><td>84.4</td><td>88.08</td><td>0</td><td>84.4</td></tr><tr><td>F</td><td>86.63</td><td>0</td><td>0.4</td><td>86.63</td><td>0.4</td><td>0.4</td><td>86.63</td><td>0.4</td><td>0.4</td><td>86.63</td><td>0</td><td>0.4</td></tr><tr><td>F → L</td><td>86.94</td><td>94.04</td><td>80.8</td><td>87.62</td><td>99</td><td>70.8</td><td>88.48</td><td>93.6</td><td>77.2</td><td>88.06</td><td>99.13</td><td>74.8</td></tr><tr><td>L</td><td>86.67</td><td>94.04</td><td>82.44</td><td>87.93</td><td>98.8</td><td>82.0</td><td>87.83</td><td>94.4</td><td>82.8</td><td>87.97</td><td>99.56</td><td>82.4</td></tr><tr><td>L → F</td><td>86.4</td><td>91.66</td><td>0</td><td>86.77</td><td>99.2</td><td>0</td><td>87.01</td><td>93.6</td><td>0</td><td>87.26</td><td>99.78</td><td>0</td></tr><tr><td colspan=\"13\">Learning Set: 10 classes, Forgetting Set: 10 classes, Retaining Set: 90 classes</td></tr><tr><td>Start</td><td>87.75</td><td>0</td><td>89.2</td><td>87.75</td><td>0.1</td><td>89.2</td><td>87.75</td><td>1.8</td><td>89.2</td><td>87.75</td><td>0</td><td>89.2</td></tr><tr><td>F</td><td>85.22</td><td>0</td><td>0</td><td>85.22</td><td>0.2</td><td>0</td><td>85.2</td><td>2</td><td>0</td><td>85.22</td><td>0</td><td>0</td></tr><tr><td>F → L</td><td>86.84</td><td>96.27</td><td>82</td><td>87.2</td><td>98.7</td><td>82</td><td>88</td><td>96</td><td>83</td><td>87.66</td><td>98.55</td><td>82.2</td></tr><tr><td>L</td><td>85.06</td><td>95.03</td><td>83.6</td><td>86.84</td><td>98.9</td><td>84.4</td><td>87.0</td><td>95.8</td><td>85.2</td><td>87.35</td><td>98.86</td><td>85.4</td></tr><tr><td>L → F</td><td>84.68</td><td>93.78</td><td>0</td><td>85.97</td><td>98.7</td><td>0.6</td><td>86.22</td><td>95.2</td><td>0.2</td><td>85.48</td><td>98.65</td><td>0</td></tr></table>",
|
| 841 |
+
"bbox": [
|
| 842 |
+
107,
|
| 843 |
+
121,
|
| 844 |
+
864,
|
| 845 |
+
324
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 5
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "targeted learning and forgetting. The Lasso regularization loss $\\mathcal{L}_{\\mathrm{re}}$ is defined as:",
|
| 852 |
+
"bbox": [
|
| 853 |
+
84,
|
| 854 |
+
349,
|
| 855 |
+
473,
|
| 856 |
+
378
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 5
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "equation",
|
| 862 |
+
"text": "\n$$\n\\mathcal {L} _ {\\mathrm {r e}} = \\sum_ {k = 1} ^ {n} \\left(\\| \\boldsymbol {A} _ {k} \\| _ {F} ^ {2} + \\| \\boldsymbol {B} _ {k} \\| _ {F} ^ {2}\\right), \\tag {4}\n$$\n",
|
| 863 |
+
"text_format": "latex",
|
| 864 |
+
"bbox": [
|
| 865 |
+
169,
|
| 866 |
+
383,
|
| 867 |
+
475,
|
| 868 |
+
422
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 5
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "where $\\| \\cdot \\| _F$ denotes the Frobenius norm, calculated as the square root of the sum of the squared elements of a matrix, and $n$ represents the number of FFN groups.",
|
| 875 |
+
"bbox": [
|
| 876 |
+
84,
|
| 877 |
+
428,
|
| 878 |
+
475,
|
| 879 |
+
474
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 5
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "Remark. Sparse constraints enhance parameter efficiency by limiting non-zero parameters, reducing computational and storage overhead, and accelerating inference. In knowledge swapping tasks, they enable the selective retention of crucial parameters for the current task while suppressing redundant ones, thereby preventing conflicts between new and existing knowledge. Additionally, parameter sparsification mitigates interference from irrelevant variables during learning and forgetting (similar idea in model pruning), allowing the model to focus on important information. Specifically, Lasso regularization penalizes the Frobenius norms of matrices, promoting group sparsification that selectively retains and forgets at the module level and maintains stability in low-level feature parameters when introducing new knowledge. Consequently, the model preserves new knowledge while maintaining the stability of existing representations. Overall, sparse constraints effectively manage parameters in knowledge swapping, enabling efficient adaptation to new tasks and maintaining previously acquired knowledge, thereby supporting scalable continual learning.",
|
| 886 |
+
"bbox": [
|
| 887 |
+
84,
|
| 888 |
+
481,
|
| 889 |
+
475,
|
| 890 |
+
784
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 5
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "4.4. Training and Inference Protocol",
|
| 897 |
+
"text_level": 1,
|
| 898 |
+
"bbox": [
|
| 899 |
+
84,
|
| 900 |
+
800,
|
| 901 |
+
344,
|
| 902 |
+
814
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 5
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "In the learning phase, the objective is for the model to acquire new knowledge while retaining essential existing knowledge. Accordingly, the loss function for this phase is defined as follows.",
|
| 909 |
+
"bbox": [
|
| 910 |
+
84,
|
| 911 |
+
823,
|
| 912 |
+
475,
|
| 913 |
+
883
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 5
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "equation",
|
| 919 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {r e t a i n}} = \\mathcal {L} \\left(f \\left(\\boldsymbol {X} _ {r}\\right), \\boldsymbol {Y} _ {r}\\right), \\tag {5}\n$$\n",
|
| 920 |
+
"text_format": "latex",
|
| 921 |
+
"bbox": [
|
| 922 |
+
192,
|
| 923 |
+
888,
|
| 924 |
+
473,
|
| 925 |
+
906
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 5
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "equation",
|
| 931 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {l e a r n}} = \\mathcal {L} \\left(f \\left(\\boldsymbol {X} _ {l}\\right), \\boldsymbol {Y} _ {l}\\right), \\tag {6}\n$$\n",
|
| 932 |
+
"text_format": "latex",
|
| 933 |
+
"bbox": [
|
| 934 |
+
609,
|
| 935 |
+
348,
|
| 936 |
+
885,
|
| 937 |
+
364
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 5
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "equation",
|
| 943 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {a l l}} = \\mathcal {L} _ {\\text {r e t a i n}} + \\beta \\mathcal {L} _ {\\text {l e a r n}} + \\alpha \\mathcal {L} _ {\\text {r e}}, \\tag {7}\n$$\n",
|
| 944 |
+
"text_format": "latex",
|
| 945 |
+
"bbox": [
|
| 946 |
+
578,
|
| 947 |
+
371,
|
| 948 |
+
885,
|
| 949 |
+
387
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 5
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "where $(\\mathbf{X}_r,\\mathbf{Y}_r)$ denotes the data from the retention set, $(\\mathbf{X}_l,\\mathbf{Y}_l)$ denotes the data from the learning set, and $\\alpha$ and $\\beta$ are hyperparameters that balance the contributions of the different loss components.",
|
| 956 |
+
"bbox": [
|
| 957 |
+
496,
|
| 958 |
+
393,
|
| 959 |
+
885,
|
| 960 |
+
455
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 5
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "In the forgetting phase, the goal is to eliminate specific knowledge while retaining both the original and newly acquired knowledge. This involves minimizing $\\mathcal{L}(f(\\boldsymbol{X}_r),\\boldsymbol{Y}_r)$ and $\\mathcal{L}(f(\\boldsymbol{X}_l),\\boldsymbol{Y}_l)$ , while maximizing $\\mathcal{L}(f(\\boldsymbol{X}_f),\\boldsymbol{Y}_f)$ . However, directly maximizing the negative loss (i.e., minimizing $-\\mathcal{L}(f(\\boldsymbol{X}_f),\\boldsymbol{Y}_f))$ can result in unbounded loss growth, leading to optimization instability. To address this issue, we introduce a boundary constraint (BND) to stabilize the loss. The final loss function for the forgetting phase is defined as:",
|
| 967 |
+
"bbox": [
|
| 968 |
+
496,
|
| 969 |
+
462,
|
| 970 |
+
888,
|
| 971 |
+
599
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 5
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "equation",
|
| 977 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {f o r g e t}} = \\operatorname {R e L U} (\\mathrm {B N D} - \\mathcal {L} (f (\\boldsymbol {X} _ {f}), \\boldsymbol {Y} _ {f})), \\tag {8}\n$$\n",
|
| 978 |
+
"text_format": "latex",
|
| 979 |
+
"bbox": [
|
| 980 |
+
547,
|
| 981 |
+
611,
|
| 982 |
+
885,
|
| 983 |
+
628
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 5
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "equation",
|
| 989 |
+
"text": "\n$$\n\\mathcal {L} _ {\\text {a l l}} = \\mathcal {L} _ {\\text {r e t a i n}} + \\mathcal {L} _ {\\text {l e a r n}} + \\beta \\mathcal {L} _ {\\text {f o r g e t}} + \\alpha \\mathcal {L} _ {\\text {r e}}, \\tag {9}\n$$\n",
|
| 990 |
+
"text_format": "latex",
|
| 991 |
+
"bbox": [
|
| 992 |
+
545,
|
| 993 |
+
638,
|
| 994 |
+
885,
|
| 995 |
+
656
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 5
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "where BND defines the forgetting boundary, and $(X_{f},Y_{f})$ represents the data from the forgetting set.",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
496,
|
| 1004 |
+
662,
|
| 1005 |
+
885,
|
| 1006 |
+
693
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 5
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "5. Experiments",
|
| 1013 |
+
"text_level": 1,
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
496,
|
| 1016 |
+
712,
|
| 1017 |
+
629,
|
| 1018 |
+
729
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 5
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "5.1. Experimental Setup",
|
| 1025 |
+
"text_level": 1,
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
496,
|
| 1028 |
+
738,
|
| 1029 |
+
669,
|
| 1030 |
+
753
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 5
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "All experiments are conducted on a hardware setup comprising $2 \\times$ RTX 4090 GPUs, with the software environment configured as Python 3.12, PyTorch 2.5.1, and CUDA 12.4. The AdamW optimizer is employed for all training and forgetting phases.",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
495,
|
| 1039 |
+
762,
|
| 1040 |
+
885,
|
| 1041 |
+
838
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 5
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "For image classification tasks, the learning set includes: CUB-200-2011 (Wah et al., 2011), Oxford-IIIT Pet (Parkhi et al., 2012), RESISC45 (Cheng et al., 2017) and PlantVillage (Geetharamani & Pandian, 2019). Both the retention",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
495,
|
| 1050 |
+
845,
|
| 1051 |
+
887,
|
| 1052 |
+
905
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 5
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "header",
|
| 1058 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
323,
|
| 1061 |
+
56,
|
| 1062 |
+
651,
|
| 1063 |
+
71
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 5
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "page_number",
|
| 1069 |
+
"text": "6",
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
480,
|
| 1072 |
+
922,
|
| 1073 |
+
491,
|
| 1074 |
+
934
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 5
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "image",
|
| 1080 |
+
"img_path": "images/fbc555cc2d7c889cedc6ad4e1f48b4377b8df8db681a278083689a5e82339408.jpg",
|
| 1081 |
+
"image_caption": [
|
| 1082 |
+
"The forgotten classes are lamp and scope. The learned class is cow. The retained classes are all remaining classes."
|
| 1083 |
+
],
|
| 1084 |
+
"image_footnote": [],
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
109,
|
| 1087 |
+
88,
|
| 1088 |
+
359,
|
| 1089 |
+
217
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 6
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "image",
|
| 1095 |
+
"img_path": "images/a29d0ec0e273b96b045e327f854446a6d5283de817572ec8305dc9f8f6adee11.jpg",
|
| 1096 |
+
"image_caption": [],
|
| 1097 |
+
"image_footnote": [],
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
361,
|
| 1100 |
+
88,
|
| 1101 |
+
609,
|
| 1102 |
+
217
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 6
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "image",
|
| 1108 |
+
"img_path": "images/60bd93b6b1f2635a64565a7c51452f3dc09813f6ad62cc519d7f9c71d1973512.jpg",
|
| 1109 |
+
"image_caption": [],
|
| 1110 |
+
"image_footnote": [],
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
611,
|
| 1113 |
+
88,
|
| 1114 |
+
861,
|
| 1115 |
+
217
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 6
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "image",
|
| 1121 |
+
"img_path": "images/8a2bcbaf00c83ca0b18b3b4fe4a7581864cb6c42f12e439347f14f3c89202ba6.jpg",
|
| 1122 |
+
"image_caption": [
|
| 1123 |
+
"Pretrained"
|
| 1124 |
+
],
|
| 1125 |
+
"image_footnote": [],
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
109,
|
| 1128 |
+
237,
|
| 1129 |
+
359,
|
| 1130 |
+
382
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 6
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "image",
|
| 1136 |
+
"img_path": "images/1bf15f8e96c91fff381c403fb60c383fda2f75712636490651146e04ed4b53e8.jpg",
|
| 1137 |
+
"image_caption": [
|
| 1138 |
+
"Learning"
|
| 1139 |
+
],
|
| 1140 |
+
"image_footnote": [],
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
361,
|
| 1143 |
+
237,
|
| 1144 |
+
609,
|
| 1145 |
+
382
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 6
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "image",
|
| 1151 |
+
"img_path": "images/4a42a7f3905a49d64e2787628d9c84b44981b36df0342180e929293c0460819b.jpg",
|
| 1152 |
+
"image_caption": [
|
| 1153 |
+
"Forgetting After Learning",
|
| 1154 |
+
"Figure 5. Qualitative results on semantic segmentation. The forgotten classes are marked with red dotted lines, and the learned class is marked with dark green dotted lines."
|
| 1155 |
+
],
|
| 1156 |
+
"image_footnote": [],
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
611,
|
| 1159 |
+
237,
|
| 1160 |
+
861,
|
| 1161 |
+
382
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 6
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "set and the forgetting set are selected from ImageNet-100. During the training phase, the hyperparameters are set to $\\alpha = 0.05$ and $\\beta = 0.2$ , while BND = 105 in the forgetting phase. The classification performance is evaluated using accuracy as the primary metric.",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
84,
|
| 1170 |
+
443,
|
| 1171 |
+
475,
|
| 1172 |
+
518
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 6
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "For object detection tasks, the learning set consists of CUB-200-2011 and Stanford Dogs (Dataset, 2011). Both the retention set and the forgetting set are sourced from the COCO (Lin et al., 2014) dataset. The learning phase employs $\\alpha = 0.01$ and $\\beta = 0.9$ , while the forgetting phase uses $\\mathrm{BND} = 15$ , $\\alpha = 0.01$ , and $\\beta = 0.2$ . The detection capability is assessed using the mean Average Precision (mAP) metric.",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
84,
|
| 1181 |
+
526,
|
| 1182 |
+
475,
|
| 1183 |
+
647
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 6
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "For semantic segmentation tasks, the learning set includes: Pascal VOC (Hoiem et al., 2009), COCO, Oxford-IIIT Pet (Parkhi et al., 2012), and DeepGlobe Land (Demir et al., 2018). These datasets cover a diverse range of segmentation domains. The learning phase is configured with $\\alpha = 0.01$ and $\\beta = 0.9$ while the forgetting phase is set to BND $= 115$ , $\\alpha = 0.01$ , and $\\beta = 0.2$ . The segmentation accuracy is evaluated using the mean Intersection over Union (mIoU) metric.",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
84,
|
| 1192 |
+
654,
|
| 1193 |
+
477,
|
| 1194 |
+
776
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 6
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "5.2. Classification Results",
|
| 1201 |
+
"text_level": 1,
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
84,
|
| 1204 |
+
791,
|
| 1205 |
+
269,
|
| 1206 |
+
806
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 6
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "We use VIT-B16 model pretrained on ImageNet100 as the base model. As shown in Table 1, under the Learning Before Forgetting setting, the accuracy of the learning set consistently increases from approximately $0\\%$ to over $90\\%$ , demonstrating effective knowledge acquisition. Concur",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
84,
|
| 1215 |
+
815,
|
| 1216 |
+
475,
|
| 1217 |
+
891
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 6
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "rently, the forgetting phase appears to be more straightforward, as the accuracy of the forgetting set decreases from approximately $80\\%$ to $0\\%$ , indicating successful forgetting. Besides, the retaining set can also be well preserved even though there exist limited negative impacts on the whole phase. We further evaluate the reverse order (Learning After Forgetting) in the same setting. We observe that although the accuracy of the forgetting set initially drops significantly during the forgetting phase, the subsequent learning phase induces substantial changes in the model's lower-level parameters. This renders the previously forgotten higher-level parameters ineffective, resulting in an increase in the accuracy of the forgetting set during the later stages. These findings confirm the validity of our hypothesis.",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
495,
|
| 1226 |
+
443,
|
| 1227 |
+
888,
|
| 1228 |
+
655
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 6
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "5.3. Semantic Segmentation Results",
|
| 1235 |
+
"text_level": 1,
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
496,
|
| 1238 |
+
671,
|
| 1239 |
+
750,
|
| 1240 |
+
686
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 6
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "We select the pretrained Mask2Former(Cheng et al., 2021) model on ADE20K as the pretraining model. The results in Table 2 demonstrate that under the Learning Before Forgetting strategy, the mIoU of the retention set remains stable, ensuring effective memory retention. In contrast, the mIoU of the forgetting set decreases from $68.31\\%$ to nearly $0\\%$ , indicating complete forgetting. Concurrently, the learning set achieves a high mIoU, confirming successful knowledge acquisition. Figure 5 further illustrates this process, where the classes lamp and sconce are successfully forgotten and blended into the wall, while the learned class cow remains well retained even after the forgetting phase. In contrast, under the Learning After Forgetting setting (Table 2), al",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
495,
|
| 1249 |
+
694,
|
| 1250 |
+
888,
|
| 1251 |
+
891
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 6
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "header",
|
| 1257 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
323,
|
| 1260 |
+
56,
|
| 1261 |
+
651,
|
| 1262 |
+
71
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 6
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "page_number",
|
| 1268 |
+
"text": "7",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
480,
|
| 1271 |
+
922,
|
| 1272 |
+
491,
|
| 1273 |
+
934
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 6
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "table",
|
| 1279 |
+
"img_path": "images/9b19728dd4a9ab97cf345b1eeaa1211bdd737415d5107fa42792dfa25425c268.jpg",
|
| 1280 |
+
"table_caption": [
|
| 1281 |
+
"Table 2. Semantic segmentation results on four datasets. For each dataset, the learning set and forgetting set include randomly selected 5 classes. The retaining set includes all other classes from ADE20K."
|
| 1282 |
+
],
|
| 1283 |
+
"table_footnote": [],
|
| 1284 |
+
"table_body": "<table><tr><td rowspan=\"2\">procedure</td><td colspan=\"3\">VOC</td><td colspan=\"3\">Oxford-pet</td><td colspan=\"3\">COCO</td><td colspan=\"3\">Deep globe Land</td></tr><tr><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td></tr><tr><td>Start</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td></tr><tr><td>F</td><td>50.36</td><td>0</td><td>2.26</td><td>50.61</td><td>0</td><td>3.48</td><td>50.24</td><td>0</td><td>2.41</td><td>50.66</td><td>0</td><td>3.65</td></tr><tr><td>F → L</td><td>50.7</td><td>85.45</td><td>49.42</td><td>50.28</td><td>59.45</td><td>53.67</td><td>51.03</td><td>90.87</td><td>54.47</td><td>50.38</td><td>54.33</td><td>60.25</td></tr><tr><td>F → L → F</td><td>50.98</td><td>88.07</td><td>0.15</td><td>50.17</td><td>61.85</td><td>0.33</td><td>50.64</td><td>94.64</td><td>0.39</td><td>50.87</td><td>63.86</td><td>0.27</td></tr><tr><td>L</td><td>50.2</td><td>84.97</td><td>60.67</td><td>48.92</td><td>62.21</td><td>65.5</td><td>50.54</td><td>93.46</td><td>61.85</td><td>50.96</td><td>59.8</td><td>64.61</td></tr><tr><td>L → F</td><td>50.57</td><td>85.43</td><td>0.12</td><td>49.87</td><td>69.55</td><td>0.08</td><td>50.35</td><td>93.36</td><td>0.71</td><td>49.54</td><td>58.34</td><td>0.4</td></tr><tr><td>L → F → L</td><td>50.5</td><td>95.83</td><td>45.51</td><td>50.97</td><td>86.98</td><td>53.87</td><td>50.41</td><td>97.27</td><td>50.03</td><td>50.54</td><td>69.18</td><td>57.25</td></tr></table>",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
88,
|
| 1287 |
+
121,
|
| 1288 |
+
883,
|
| 1289 |
+
233
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 7
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "image",
|
| 1295 |
+
"img_path": "images/1115b0cbb74ffac4d64ed33bdefb866bba14194aef80c3ff997b8d0d983b3b2f.jpg",
|
| 1296 |
+
"image_caption": [
|
| 1297 |
+
"Figure 6. $\\mathcal{L}_2$ norm of weights in $F\\to L\\to F$"
|
| 1298 |
+
],
|
| 1299 |
+
"image_footnote": [],
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
133,
|
| 1302 |
+
247,
|
| 1303 |
+
836,
|
| 1304 |
+
421
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 7
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "though both the retention and learning sets perform well, the mIoU of the forgetting set increases after learning due to significant changes in low-level parameters, rendering previously tuned high-level forgetting parameters ineffective. Figure 7 highlights this issue, showing that mountain, which is initially erased and blended into sand, re-emerges after learning, demonstrating the instability of this approach.",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
84,
|
| 1313 |
+
446,
|
| 1314 |
+
475,
|
| 1315 |
+
551
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 7
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "5.4. Object Detection Results",
|
| 1322 |
+
"text_level": 1,
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
84,
|
| 1325 |
+
569,
|
| 1326 |
+
292,
|
| 1327 |
+
583
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 7
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "For the object detection task, we use DINO (Zhang et al., 2022) pretrained on the COCO dataset as the base model. The forgetting set consists of five randomly selected classes: person, teddy bear, toilet, bench, and bed, while all remaining classes form the retention set. The learning sets consist of 5 classes: Black-footed Albatross, Laysan Albatross, Sooty Albatross, Groove-billed Ani, and Brewer Blackbird for CUB-200-2011 and Chihuahua, Maltese Dog, Basset, American Staffordshire Terrier, and Norwich Terrier for Stanford Dogs, respectively.",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
84,
|
| 1336 |
+
592,
|
| 1337 |
+
475,
|
| 1338 |
+
743
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 7
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "table",
|
| 1344 |
+
"img_path": "images/33d233742d210508609c7dd26db57d7be6c478da4ceced44c54bf01935df7ede.jpg",
|
| 1345 |
+
"table_caption": [
|
| 1346 |
+
"Table 3. Object Detection Results on COCO."
|
| 1347 |
+
],
|
| 1348 |
+
"table_footnote": [],
|
| 1349 |
+
"table_body": "<table><tr><td rowspan=\"2\">procedure</td><td colspan=\"3\">Cub</td><td colspan=\"3\">Stanford Dogs</td></tr><tr><td>mAPr↑</td><td>mAPl↑</td><td>mAPf↓</td><td>mAPr↑</td><td>mAPl↑</td><td>mAPf↓</td></tr><tr><td>Start</td><td>55.4</td><td>0</td><td>44.5</td><td>55.4</td><td>0</td><td>44.5</td></tr><tr><td>F</td><td>54.9</td><td>16.8</td><td>3.4</td><td>54.8</td><td>9.7</td><td>3.4</td></tr><tr><td>F → L</td><td>55</td><td>65.4</td><td>7.7</td><td>54.6</td><td>78.5</td><td>11.1</td></tr><tr><td>L</td><td>55.3</td><td>64.3</td><td>37.6</td><td>54.5</td><td>67.5</td><td>37.5</td></tr><tr><td>L → F</td><td>55.5</td><td>62.2</td><td>0.5</td><td>55</td><td>80.1</td><td>0.6</td></tr></table>",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
89,
|
| 1352 |
+
763,
|
| 1353 |
+
485,
|
| 1354 |
+
847
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 7
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "The quantitative results in Table 3 demonstrate the effectiveness of our Learning Before Forgetting strategy, as the mAP of the retention set remains stable at around $55\\%$ , the for",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
84,
|
| 1363 |
+
859,
|
| 1364 |
+
478,
|
| 1365 |
+
905
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 7
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "image",
|
| 1371 |
+
"img_path": "images/e448c30299874e4747b2b49c70994c1dd247c49b570179b406a8692b03afef99.jpg",
|
| 1372 |
+
"image_caption": [
|
| 1373 |
+
"Figure 7. Semantic segmentation results for Learning After Forgetting on ADE20K."
|
| 1374 |
+
],
|
| 1375 |
+
"image_footnote": [],
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
516,
|
| 1378 |
+
450,
|
| 1379 |
+
870,
|
| 1380 |
+
558
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 7
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "getting set drops from $44.5\\%$ to below $1\\%$ , and the learning set improves from 0 to a satisfactory level, confirming the success of our approach. In contrast, it also shows that in the Learning After Forgetting $(F \\rightarrow L)$ setting, the forgetting set retains a relatively high mAP, indicating ineffective forgetting. This supports our hypothesis that learning progresses from low-level to high-level features, while forgetting follows the opposite direction, from high-level to low-level features.",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
495,
|
| 1389 |
+
608,
|
| 1390 |
+
888,
|
| 1391 |
+
743
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 7
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "text",
|
| 1397 |
+
"text": "5.5. Insights and Discussion",
|
| 1398 |
+
"text_level": 1,
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
496,
|
| 1401 |
+
761,
|
| 1402 |
+
694,
|
| 1403 |
+
776
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 7
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "To further validate the effectiveness of our strategy, we conduct an additional experiment involving a Forget-Learn-Forget sequence. As shown in Table 2, although the mIoU of the forgetting set remains high after the initial forgetting and subsequent learning phases, it is significantly reduced after the second forgetting phase. This result demonstrates the robustness of the Learn Before Forget strategy. The results $L \\to F \\to L$ further provide indirect evidence that",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
495,
|
| 1412 |
+
784,
|
| 1413 |
+
887,
|
| 1414 |
+
905
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 7
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "header",
|
| 1420 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
323,
|
| 1423 |
+
56,
|
| 1424 |
+
651,
|
| 1425 |
+
71
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 7
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "page_number",
|
| 1431 |
+
"text": "8",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
480,
|
| 1434 |
+
922,
|
| 1435 |
+
491,
|
| 1436 |
+
934
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 7
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "positioning the learning phase at the end influences the content that was previously forgotten. We analyze the $\\mathcal{L}_2$ norm of model parameters at different stages, as illustrated in Figure 6. The red line represents parameter changes from $F$ to $F\\rightarrow L$ , while the black line indicates changes from $F\\rightarrow L$ to $F\\rightarrow L\\rightarrow F$ . The results show that learning-induced parameter changes are primarily concentrated in the early layers of the model, whereas forgetting-related changes are more prominent in the later layers. These observations align well with our previous findings.",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
84,
|
| 1445 |
+
85,
|
| 1446 |
+
475,
|
| 1447 |
+
238
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 8
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "6. Conclusion and Future Works",
|
| 1454 |
+
"text_level": 1,
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
84,
|
| 1457 |
+
255,
|
| 1458 |
+
362,
|
| 1459 |
+
272
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 8
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "We proposed Knowledge Swapping, a novel task that enables selective regulation of model knowledge by achieving three goals: forgetting user-specified knowledge, retaining essential knowledge, and learning new knowledge. To accomplish this, we introduced a two-stage training strategy based on the Learning Before Forgetting principle, which decouples learning and forgetting to mitigate catastrophic forgetting effectively. We benchmark our Learning Before Forgetting with various experiments. However, our experiments also reveal that the difficulty of learning new knowledge for different categories and forgetting old knowledge varies. An interesting direction for future research is to explore and analyze the difficulty of forgetting specific knowledge and learning new knowledge of categories.",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
84,
|
| 1468 |
+
281,
|
| 1469 |
+
475,
|
| 1470 |
+
492
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 8
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Acknowledgements",
|
| 1477 |
+
"text_level": 1,
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
86,
|
| 1480 |
+
512,
|
| 1481 |
+
253,
|
| 1482 |
+
529
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 8
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "This work has been supported by the New Cornerstone Science Foundation through the XPLORER PRIZE. This work was funded by the National Natural Science Foundation of China (No. 72188101 & No. 62472139 & No. 62302140) and the Fundamental Research Funds for the Central Universities (No. JZ2024HGTB0261 & No. JZ2024HGTA0178). The computation is completed on the HPC Platform of Hefei University of Technology.",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
84,
|
| 1491 |
+
537,
|
| 1492 |
+
477,
|
| 1493 |
+
659
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 8
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Impact Statement",
|
| 1500 |
+
"text_level": 1,
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
86,
|
| 1503 |
+
678,
|
| 1504 |
+
240,
|
| 1505 |
+
695
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 8
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"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.",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
84,
|
| 1514 |
+
704,
|
| 1515 |
+
475,
|
| 1516 |
+
765
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 8
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "References",
|
| 1523 |
+
"text_level": 1,
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
86,
|
| 1526 |
+
782,
|
| 1527 |
+
181,
|
| 1528 |
+
799
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 8
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "list",
|
| 1534 |
+
"sub_type": "ref_text",
|
| 1535 |
+
"list_items": [
|
| 1536 |
+
"Ashok, A., Joseph, K., and Balasubramanian, V. N. Class incremental learning with cross-space clustering and controlled transfer. In European Conference on Computer Vision, pp. 105-122. Springer, 2022.",
|
| 1537 |
+
"Chaudhry, A., Gordo, A., Dokania, P., Torr, P., and Lopez-"
|
| 1538 |
+
],
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
86,
|
| 1541 |
+
808,
|
| 1542 |
+
477,
|
| 1543 |
+
906
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 8
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "list",
|
| 1549 |
+
"sub_type": "ref_text",
|
| 1550 |
+
"list_items": [
|
| 1551 |
+
"Paz, D. Using hindsight to anchor past knowledge in continual learning. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pp. 6993-7001, 2021.",
|
| 1552 |
+
"Chen, K., Du, Y., You, T., Islam, M., Guo, Z., Jin, Y., Chen, G., and Heng, P.-A. Llm-assisted multi-teacher continual learning for visual question answering in robotic surgery. arXiv preprint arXiv:2402.16664, 2024.",
|
| 1553 |
+
"Cheng, B., Schwing, A., and Kirillov, A. Per-pixel classification is not all you need for semantic segmentation. Advances in neural information processing systems, 34: 17864-17875, 2021.",
|
| 1554 |
+
"Cheng, D., Ji, Y., Gong, D., Li, Y., Wang, N., Han, J., and Zhang, D. Continual all-in-one adverse weather removal with knowledge replay on a unified network structure. IEEE Transactions on Multimedia, 2024a.",
|
| 1555 |
+
"Cheng, D., Zhao, Y., Wang, N., Li, G., Zhang, D., and Gao, X. Efficient statistical sampling adaptation for exemplar-free class incremental learning. IEEE Transactions on Circuits and Systems for Video Technology, 2024b.",
|
| 1556 |
+
"Cheng, G., Han, J., and Lu, X. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865-1883, 2017.",
|
| 1557 |
+
"Dataset, E. Novel datasets for fine-grained image categorization. In First Workshop on Fine Grained Visual Categorization, CVPR. Citeseer. Citeseer. Citeseer, volume 5, pp. 2. Citeseer, 2011.",
|
| 1558 |
+
"Demir, I., Koperski, K., Lindenbaum, D., Pang, G., Huang, J., Basu, S., Hughes, F., Tuia, D., and Raskar, R. Deep-globe 2018: A challenge to parse the earth through satellite images. In Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp. 172-181, 2018.",
|
| 1559 |
+
"Douillard, A., Rame, A., Couairon, G., and Cord, M. Dytox: Transformers for continual learning with dynamic token expansion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9285-9295, 2022.",
|
| 1560 |
+
"Feldman, V. Does learning require memorization? a short tale about a long tail. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pp. 954-959, 2020.",
|
| 1561 |
+
"Geetharamani, G. and Pandian, A. Identification of plant leaf diseases using a nine-layer deep convolutional neural network. Computers & Electrical Engineering, 76:323-338, 2019."
|
| 1562 |
+
],
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
500,
|
| 1565 |
+
85,
|
| 1566 |
+
888,
|
| 1567 |
+
904
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 8
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "header",
|
| 1573 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
323,
|
| 1576 |
+
56,
|
| 1577 |
+
648,
|
| 1578 |
+
71
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 8
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "page_number",
|
| 1584 |
+
"text": "9",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
480,
|
| 1587 |
+
922,
|
| 1588 |
+
491,
|
| 1589 |
+
934
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 8
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "list",
|
| 1595 |
+
"sub_type": "ref_text",
|
| 1596 |
+
"list_items": [
|
| 1597 |
+
"Geva, M., Schuster, R., Berant, J., and Levy, O. Transformer feed-forward layers are key-value memories. arXiv preprint arXiv:2012.14913, 2020.",
|
| 1598 |
+
"Han, X., Zhang, Z., Ding, N., Gu, Y., Liu, X., Huo, Y., Qiu, J., Yao, Y., Zhang, A., Zhang, L., et al. Pre-trained models: Past, present and future. AI Open, 2:225-250, 2021.",
|
| 1599 |
+
"Hoiem, D., Divvala, S. K., and Hays, J. H. Pascal voc 2008 challenge. World Literature Today, 24(1):1-4, 2009.",
|
| 1600 |
+
"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. arXiv preprint arXiv:2106.09685, 2021.",
|
| 1601 |
+
"Huang, L., An, Z., Zeng, Y., Xu, Y., et al. Kfc: Knowledge reconstruction and feedback consolidation enable efficient and effective continual generative learning. In The Second Tiny Papers Track at ICLR 2024, 2024a.",
|
| 1602 |
+
"Huang, L., Zeng, Y., Yang, C., An, Z., Diao, B., and Xu, Y. etag: Class-incremental learning via embedding distillation and task-oriented generation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 12591-12599, 2024b.",
|
| 1603 |
+
"Kirkpatrick, J., Pascanu, R., Rabinowitz, N., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521-3526, 2017.",
|
| 1604 |
+
"Koh, P. W. and Liang, P. Understanding black-box predictions via influence functions. In International conference on machine learning, pp. 1885-1894. PMLR, 2017.",
|
| 1605 |
+
"Kurmanji, M., Triantafillou, P., Hayes, J., and Triantafillou, E. Towards unbounded machine unlearning. Advances in neural information processing systems, 36, 2024.",
|
| 1606 |
+
"Langley, P. Crafting papers on machine learning. In Langley, P. (ed.), Proceedings of the 17th International Conference on Machine Learning (ICML 2000), pp. 1207-1216, Stanford, CA, 2000. Morgan Kaufmann.",
|
| 1607 |
+
"Li, H., Tan, Z., Li, X., and Huang, W. Atlas: Adapter-based multi-modal continual learning with a two-stage learning strategy. arXiv preprint arXiv:2410.10923, 2024.",
|
| 1608 |
+
"Li, Z. and Hoiem, D. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935-2947, 2017.",
|
| 1609 |
+
"Lin, H., Zhang, B., Feng, S., Li, X., and Ye, Y. Pcr: Proxy-based contrastive replay for online class-incremental continual learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 24246-24255, 2023."
|
| 1610 |
+
],
|
| 1611 |
+
"bbox": [
|
| 1612 |
+
86,
|
| 1613 |
+
84,
|
| 1614 |
+
475,
|
| 1615 |
+
904
|
| 1616 |
+
],
|
| 1617 |
+
"page_idx": 9
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"type": "list",
|
| 1621 |
+
"sub_type": "ref_text",
|
| 1622 |
+
"list_items": [
|
| 1623 |
+
"Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollar, P., and Zitnick, C. L. Microsoft coco: Common objects in context. In Computer Vision-ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13, pp. 740-755. Springer, 2014.",
|
| 1624 |
+
"Liu, B., Wang, M., Foroosh, H., Tappen, M., and Pensky, M. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 806-814, 2015.",
|
| 1625 |
+
"Liu, H. and Liu, H. Continual learning with recursive gradient optimization. arXiv preprint arXiv:2201.12522, 2022.",
|
| 1626 |
+
"Liu, J., Ram, P., Yao, Y., Liu, G., Liu, Y., SHARMA, P., Liu, S., et al. Model sparsity can simplify machine unlearning. Advances in Neural Information Processing Systems, 36, 2024a.",
|
| 1627 |
+
"Liu, S., Yao, Y., Jia, J., Casper, S., Baracaldo, N., Hase, P., Yao, Y., Liu, C. Y., Xu, X., Li, H., et al. Rethinking machine unlearning for large language models. arXiv preprint arXiv:2402.08787, 2024b.",
|
| 1628 |
+
"Liu, Z., Dou, G., Tan, Z., Tian, Y., and Jiang, M. Towards safer large language models through machine unlearning. arXiv preprint arXiv:2402.10058, 2024c.",
|
| 1629 |
+
"Lu, A., Feng, T., Yuan, H., Song, X., and Sun, Y. Revisiting neural networks for continual learning: An architectural perspective. arXiv preprint arXiv:2404.14829, 2024.",
|
| 1630 |
+
"Parkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar, C. Cats and dogs. In 2012 IEEE conference on computer vision and pattern recognition, pp. 3498-3505. IEEE, 2012.",
|
| 1631 |
+
"Rebuffi, S.-A., Kolesnikov, A., Sperl, G., and Lampert, C. H. icarl: Incremental classifier and representation learning. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pp. 2001-2010, 2017.",
|
| 1632 |
+
"Rusu, A. A., Rabinowitz, N. C., Desjardins, G., Soyer, H., Kirkpatrick, J., Kavukcuoglu, K., Pascanu, R., and Hadsell, R. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016.",
|
| 1633 |
+
"Sun, W., Li, Q., Zhang, J., Wang, W., and Geng, Y.-a. Decoupling learning and remembering: A bilevel memory framework with knowledge projection for task-incremental learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20186-20195, 2023.",
|
| 1634 |
+
"Wah, C., Branson, S., Welinder, P., Perona, P., and Belongie, S. The caltech-ucsd birds-200-2011 dataset. 2011."
|
| 1635 |
+
],
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
500,
|
| 1638 |
+
84,
|
| 1639 |
+
887,
|
| 1640 |
+
904
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 9
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"type": "header",
|
| 1646 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
323,
|
| 1649 |
+
56,
|
| 1650 |
+
648,
|
| 1651 |
+
71
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 9
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "page_number",
|
| 1657 |
+
"text": "10",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
477,
|
| 1660 |
+
922,
|
| 1661 |
+
495,
|
| 1662 |
+
934
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 9
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "list",
|
| 1668 |
+
"sub_type": "ref_text",
|
| 1669 |
+
"list_items": [
|
| 1670 |
+
"Wang, F.-Y., Zhou, D.-W., Ye, H.-J., and Zhan, D.-C. Foster: Feature boosting and compression for class-incremental learning. In European conference on computer vision, pp. 398-414. Springer, 2022a.",
|
| 1671 |
+
"Wang, H., Lin, J., Chen, B., Yang, Y., Tang, R., Zhang, W., and Yu, Y. Towards efficient and effective unlearning of large language models for recommendation. Frontiers of Computer Science, 19(3):193327, 2025.",
|
| 1672 |
+
"Wang, L., Zhang, X., Su, H., and Zhu, J. A comprehensive survey of continual learning: theory, method and application. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.",
|
| 1673 |
+
"Wang, W., Hu, Y., Chen, Q., and Zhang, Y. Task difficulty aware parameter allocation & regularization for lifelong learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7776-7785, 2023.",
|
| 1674 |
+
"Wang, Z., Zhang, Z., Lee, C.-Y., Zhang, H., Sun, R., Ren, X., Su, G., Perot, V., Dy, J., and Pfister, T. Learning to prompt for continual learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 139-149, 2022b.",
|
| 1675 |
+
"Wen, W., Wu, C., Wang, Y., Chen, Y., and Li, H. Learning structured sparsity in deep neural networks. Advances in neural information processing systems, 29, 2016.",
|
| 1676 |
+
"Wu, F., Cheng, L., Tang, S., Zhu, X., Fang, C., Zhang, D., and Wang, M. Navigating semantic drift in task-agnostic class-incremental learning. arXiv preprint arXiv:2502.07560, 2025.",
|
| 1677 |
+
"Yang, Y., Cui, Z., Xu, J., Zhong, C., Zheng, W.-S., and Wang, R. Continual learning with bayesian model based on a fixed pre-trained feature extractor. Visual Intelligence, 1(1):5, 2023.",
|
| 1678 |
+
"Yuan, M. and Lin, Y. Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society Series B: Statistical Methodology, 68 (1):49-67, 2006.",
|
| 1679 |
+
"Zhang, D., Li, Y., Cheng, D., Wang, N., and Han, J. Center-sensitive kernel optimization for efficient on-device incremental learning. arXiv preprint arXiv:2406.08830, 2024a.",
|
| 1680 |
+
"Zhang, H., Li, F., Liu, S., Zhang, L., Su, H., Zhu, J., Ni, L. M., and Shum, H.-Y. Dino: Detr with improved denoising anchor boxes for end-to-end object detection. arXiv preprint arXiv:2203.03605, 2022.",
|
| 1681 |
+
"Zhang, Y., Chen, X., Jia, J., Zhang, Y., Fan, C., Liu, J., Hong, M., Ding, K., and Liu, S. Defensive unlearning with"
|
| 1682 |
+
],
|
| 1683 |
+
"bbox": [
|
| 1684 |
+
86,
|
| 1685 |
+
84,
|
| 1686 |
+
475,
|
| 1687 |
+
905
|
| 1688 |
+
],
|
| 1689 |
+
"page_idx": 10
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "list",
|
| 1693 |
+
"sub_type": "ref_text",
|
| 1694 |
+
"list_items": [
|
| 1695 |
+
"adversarial training for robust concept erasure in diffusion models. arXiv preprint arXiv:2405.15234, 2024b.",
|
| 1696 |
+
"Zhou, D.-W., Wang, Q.-W., Ye, H.-J., and Zhan, D.-C. A model or 603 exemplars: Towards memory-efficient class-incremental learning. arXiv preprint arXiv:2205.13218, 2022.",
|
| 1697 |
+
"Zhu, F., Zhang, X.-Y., Wang, C., Yin, F., and Liu, C.-L. Prototype augmentation and self-supervision for incremental learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5871-5880, 2021.",
|
| 1698 |
+
"Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Continual semantic segmentation with automatic memory sample selection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3082-3092, 2023."
|
| 1699 |
+
],
|
| 1700 |
+
"bbox": [
|
| 1701 |
+
498,
|
| 1702 |
+
84,
|
| 1703 |
+
887,
|
| 1704 |
+
356
|
| 1705 |
+
],
|
| 1706 |
+
"page_idx": 10
|
| 1707 |
+
},
|
| 1708 |
+
{
|
| 1709 |
+
"type": "header",
|
| 1710 |
+
"text": "Knowledge Swapping via Learning and Unlearning",
|
| 1711 |
+
"bbox": [
|
| 1712 |
+
323,
|
| 1713 |
+
56,
|
| 1714 |
+
648,
|
| 1715 |
+
71
|
| 1716 |
+
],
|
| 1717 |
+
"page_idx": 10
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "page_number",
|
| 1721 |
+
"text": "11",
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
477,
|
| 1724 |
+
922,
|
| 1725 |
+
493,
|
| 1726 |
+
934
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 10
|
| 1729 |
+
}
|
| 1730 |
+
]
|
2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge Swapping via Learning and Unlearning/42119951-aa7c-46d8-9251-22d58ac37d54_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd4ab4f952523ae2d8f1f7448ee55aa947fa12a1f6254f069554354c1d03145a
|
| 3 |
+
size 2838895
|
2025/Knowledge Swapping via Learning and Unlearning/full.md
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Mingyu Xing $^{1}$ Lechao Cheng $^{1}$ Shengeng Tang $^{1}$ Yaxiong Wang $^{1}$ Zhun Zhong $^{1,2}$ Meng Wang
|
| 2 |
+
|
| 3 |
+
# Abstract
|
| 4 |
+
|
| 5 |
+
We introduce Knowledge Swapping, a novel task designed to selectively regulate knowledge of a pretrained model by enabling the forgetting of user-specified information, retaining essential knowledge, and acquiring new knowledge simultaneously. By delving into the analysis of knock-on feature hierarchy, we find that incremental learning typically progresses from low-level representations to higher-level semantics, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features. Building upon this, we propose to benchmark the knowledge swapping task with the strategy of Learning Before Forgetting. Comprehensive experiments on various tasks like image classification, object detection, and semantic segmentation validate the effectiveness of the proposed strategy. The source code is available at https://github.com/xingmingyu123456/KnowledgeSwapping
|
| 6 |
+
|
| 7 |
+
# 1. Introduction
|
| 8 |
+
|
| 9 |
+
The proliferation of deep learning has led to the widespread adoption of pretrained models (Han et al., 2021), which are typically fine-tuned using task-specific data to achieve parameter-efficient adaptation. In the context of streaming tasks, researchers have increasingly explored methods for continuously optimizing and adapting pretrained models to new tasks (Lin et al., 2023; Chen et al., 2024; Zhu et al., 2023), a paradigm referred to as continual learning (Wang et al., 2024). However, in practical applications, as deep models integrate more knowledge, they often encounter additional requirements, such as the need to continuously
|
| 10 |
+
|
| 11 |
+
$^{1}$ School of Computer Science and Information Engineering, Hefei University of Technology $^{2}$ School of Computer Science, University of Nottingham. Correspondence to: Lechao Cheng <chenglc@h Fut.edu.cn>, Zhun Zhong <zhunzhong007@gmail.com>.
|
| 12 |
+
|
| 13 |
+
Proceedings of the $42^{nd}$ International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Retained Knowledge
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
Figure 1. Comparisons of three tasks: Continuous Learning, Machine Unlearning, and our Knowledge Swapping.
|
| 23 |
+

|
| 24 |
+
Removed Knowledge
|
| 25 |
+
New Knowledge
|
| 26 |
+
|
| 27 |
+
block or forget certain sensitive content. Recent works, such as machine unlearning (Liu et al., 2024c; Wang et al., 2025; Zhang et al., 2024b), have begun to address the unilateral forgetting of specific content within pretrained models. Nonetheless, approaches that simultaneously enable the learning of new knowledge and the forgetting of specific content remain underexplored.
|
| 28 |
+
|
| 29 |
+
Inspired by this insight, we propose a novel task termed Knowledge Swapping, which enables the selective forgetting of specific categories of knowledge while preserving others, tailored to the requirements of new tasks. As depicted in Figure 1, continual learning (Cheng et al., 2024a;b; Zhang et al., 2024a; Huang et al., 2024a;b; Wu et al., 2025) aims to integrate new task knowledge into an existing pretrained model. Current mainstream approaches (Li et al., 2024; Wang et al., 2022b) often involve attaching a new adapter for each task and fine-tuning it, yet the need to forget outdated or less relevant knowledge remains an underexplored challenge. Recent advancements (Liu et al., 2024b; Wang et al., 2025) in machine unlearning have demonstrated that isolating or removing specific knowledge from a pretrained model necessitates an explicit unlearning process. In contrast, our proposed Knowledge Swapping task facili-
|
| 30 |
+
|
| 31 |
+
tates the learning of new tasks while simultaneously forgetting less important prior knowledge or sensitive data that requires protection, thereby preserving the core capabilities of the pretrained model.
|
| 32 |
+
|
| 33 |
+
We further delve into how to perform knowledge swapping more effectively by leveraging empirical insights. Intuitively, this process can be divided into two stages: forgetting specific knowledge and learning novel knowledge. A natural assumption might be that the model should first forget less important or potentially detrimental priors in order to "free up" the capacity for new information. We conduct a set of straightforward experiments to analyze, in isolation, how incremental learning and targeted forgetting each influence model parameters. Our findings indicate that incremental learning typically progresses from low-level representations to higher-level semantic features, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features. This contrast provides valuable insights for designing strategies for knowledge swapping task. Specifically, if we perform targeted forgetting first, we may complete the forgetting of high-level semantics before any major adjustments occur in the low-level feature space. Once we begin introducing new content afterward, these low-level changes may no longer align with the previously forgotten high-level semantic representations, thereby creating potential conflicts. Conversely, if we first learn the new task (thus updating the low-level feature distribution), and only then conduct targeted forgetting, the process is more likely to remain confined to higher-level semantics. As a result, the updated low-level distributions are less likely to be perturbed during the forgetting stage, which helps to maintain the integrity of previously acquired knowledge. We empirically show learning new tasks first, followed by selective forgetting of specific knowledge, leads to significantly better results. Our contributions are summarized as follows:
|
| 34 |
+
|
| 35 |
+
- We propose the concept of Knowledge Swapping, a novel task that facilitates the learning of new tasks while simultaneously forgetting less important prior knowledge and preserving essential pretrained capabilities.
|
| 36 |
+
- We uncover that incremental learning progresses from low-level to higher-level semantic features, whereas targeted forgetting begins at high-level semantics and works downward. This directional contrast provides key insights into how to design effective knowledge swapping procedures.
|
| 37 |
+
- Building upon the insight from feature-hierarchy interplay, we propose to achieve knowledge swapping by sequential learning-then-forgetting principle. Comprehensive experiments also demonstrate that the pro
|
| 38 |
+
|
| 39 |
+
posed strategy significantly improves overall performance.
|
| 40 |
+
|
| 41 |
+
# 2. Related Work
|
| 42 |
+
|
| 43 |
+
# 2.1. Continual Learning
|
| 44 |
+
|
| 45 |
+
Continual learning, also known as lifelong learning, aims to enable models to learn new tasks incrementally while mitigating catastrophic forgetting. Existing approaches can be broadly categorized into Regularization-Based Methods (Kirkpatrick et al., 2017; Li & Hoiem, 2017; Zhu et al., 2021; Liu & Liu, 2022; Wang et al., 2023), Memory-Based Methods (Rebuffi et al., 2017; Ashok et al., 2022; Chaudhry et al., 2021; Zhou et al., 2022; Sun et al., 2023; Yang et al., 2023), and Architecture-Based Methods (Rusu et al., 2016; Douillard et al., 2022; Wang et al., 2022a; Lu et al., 2024).
|
| 46 |
+
|
| 47 |
+
Regularization-based methods introduce constraints in the loss function to retain past knowledge. For instance, EWC (Kirkpatrick et al., 2017) distills knowledge from old models to new ones for prediction consistency. Memory-based methods maintain an external memory to store or generate past knowledge. BMKP (Sun et al., 2023) introduces a bilevel memory framework, where a working memory adapts to new tasks and a long-term memory retains compact knowledge representations. Architecture-based methods expand the model to accommodate new tasks. Progressive Neural Networks(Rusu et al., 2016) expands the model using gradient boosting and compresses it via knowledge distillation. ArchCraft (Lu et al., 2024) leverages neural architecture search (NAS) to balance stability and plasticity, generating architectures that enhance knowledge retention with minimal parameter overhead. Our proposed method shares the goal of balancing retention and learning with continual learning approaches. However, knowledge swapping introduces an additional challenge of selective forgetting, which is not explicitly addressed in traditional continual learning methods.
|
| 48 |
+
|
| 49 |
+
# 2.2. Machine Unlearning
|
| 50 |
+
|
| 51 |
+
Machine unlearning (Koh & Liang, 2017; Kurmanji et al., 2024; Liu et al., 2024a) focuses on efficiently removing specific data or knowledge from a trained model without requiring full retraining, which is crucial for data privacy compliance. One of the earliest approaches is fine-tuning, which exploits catastrophic forgetting by retraining the model on a retention dataset, though it may leave residual traces of forgotten data. This method forms the foundation for subsequent unlearning techniques. Building on this, Influence Functions (Koh & Liang, 2017) emerged, whistimates the influence of individual data points on model parameters, providing a more precise and computationally efficient method for data removal without retraining the entire model. Later,
|
| 52 |
+
|
| 53 |
+
more sophisticated methods are introduced. NegGrad+ (Kurmanji et al., 2024) balances the loss on the forgotten set and the retention dataset, offering a more controlled trade-off in the unlearning process. To further refine the removal of specific knowledge, L1-Sparse (Liu et al., 2024a) introduces the use of L1-regularization to zero out parameters associated with forgotten data, effectively eliminating their influence on the model. Additionally, Relabeling techniques, such as Saliency Unlearning (Feldman, 2020) disrupts the model's memory of forgotten data by altering its labels, focusing on modifying key parameters that store the data's influence. Unlike conventional unlearning methods, which primarily focus on individual data points, our proposed framework introduces a novel approach for category-level forgetting. By integrating the processes of learning, retention, and forgetting into a unified system, this framework offers more flexibility and control over knowledge management, marking a significant advancement in this area of research.
|
| 54 |
+
|
| 55 |
+
# 3. Knowledge Swapping
|
| 56 |
+
|
| 57 |
+
# 3.1. Task Definition
|
| 58 |
+
|
| 59 |
+
We introduce a novel task, referred to as Knowledge Swapping, which aims to selectively regulate a model's knowledge by employing specific swapping mechanisms to achieve three primary objectives: (1) forgetting userspecified knowledge, (2) retaining core knowledge, and (3) simultaneously learning new knowledge.
|
| 60 |
+
|
| 61 |
+
Let $\mathcal{D}_p = (X_p,Y_p)$ be the pretraining dataset on which an initial model $M_0$ has been trained. We define three additional sets:
|
| 62 |
+
|
| 63 |
+
- Retaining Set: $\mathcal{D}_r = (X_r, Y_r)$ , which contains the knowledge that must be preserved.
|
| 64 |
+
- Forgetting Set: $\mathcal{D}_f = (X_f, Y_f)$ , containing the knowledge that the model needs to forget.
|
| 65 |
+
- Learning Set: $\mathcal{D}_l = (X_l, Y_l)$ , comprising new knowledge to acquire.
|
| 66 |
+
|
| 67 |
+
In general, both $\mathcal{D}_r$ and $\mathcal{D}_f$ are subsets of the pretraining dataset $\mathcal{D}_p$ , i.e., $\mathcal{D}_r, \mathcal{D}_f \subseteq \mathcal{D}_p$ , while $\mathcal{D}_l$ could represent an entirely new task or domain.
|
| 68 |
+
|
| 69 |
+
Objectives: We seek to train an updated model $M_{1}$ such that:
|
| 70 |
+
|
| 71 |
+
1. For each $x_r \in X_r$ , $M_1$ correctly predicts its label $y_r$ . Formally, $P\big(M_1(x_r) = y_r\big) \approx 1$ , $\forall x_r \in X_r$ . (Retention)
|
| 72 |
+
2. For each $x_{f}\in X_{f}$ , $M_1$ does not correctly predict its label $y_{f}$ . Formally, $P\big(M_1(x_f) = y_f\big)\approx 0,\quad \forall x_f\in X_f$ . (Forgetting)
|
| 73 |
+
|
| 74 |
+
3. For each $x_{l} \in X_{l}$ , $M_{1}$ correctly predicts its label $y_{l}$ . Formally, $P\big(M_1(x_l) = y_l\big) \approx 1$ , $\forall x_{l} \in X_{l}$ (Learning)
|
| 75 |
+
|
| 76 |
+
Here, $P(\cdot)$ denotes the probability of the corresponding event under the trained model. The objectives are then to promote or discourage each of these criteria accordingly.
|
| 77 |
+
|
| 78 |
+
# 3.2. To Forget Before Learning, or to Learn Before Forgetting?
|
| 79 |
+
|
| 80 |
+
Revisiting that we have already provided a comprehensive definition of the knowledge swapping task, we note that—based on its criteria—it can be naturally divided into two core phases: forgetting and learning. This highlights a pivotal question: should a model first forget certain existing knowledge before learning new information (which seems intuitively appealing), or should it learn new content first and then perform forgetting? The way we answer this sequence dilemma directly informs how we design a robust knowledge swapping benchmark. Although intuitively, forgetting old knowledge first appears to free up capacity for accommodating the new, is this really the optimal approach? To explore this, we conduct two sets of experiments on dense prediction tasks such as semantic segmentation, each corresponding to one of these two learning orders. We then examine how the neural network's parameters, across various layers, evolve under each approach (see Figure 2).
|
| 81 |
+
|
| 82 |
+
Knock-on Feature Hierarchy In this section, we directly evaluate the weight norms and parameter differences at each stage of the process. Specifically, $L \to F$ denotes Learning Before Forgetting, while $F \to L$ indicates Learning After Forgetting. The superscript $W$ represents the weight norms at different stages under each sequence. We aggregate results from multiple image segmentation tasks and observe that when following the $L \to F$ sequence, the majority of parameter updates occur in the latter layers of the neural network—those responsible for generating semantic-level features. Conversely, in the $F \to L$ sequence, the principal changes are concentrated in the earlier layers, which produce low-level features. Based on these results, we found:
|
| 83 |
+
|
| 84 |
+
Discovery-I: Incremental learning typically progresses from low-level representations to higher-level semantic features, whereas forgetting tends to occur in the opposite direction—starting from high-level semantics and moving down to low-level features.
|
| 85 |
+
|
| 86 |
+
Remark. What is the practical significance of this seemingly intuitive finding? Clearly, its hierarchical feature implications offer valuable insights for designing knowledge swapping strategies. Specifically, if we conduct targeted forgetting first, we may erase high-level semantic parameters before making any substantial adjustments to the low-level feature parameter space. However, once we subsequently
|
| 87 |
+
|
| 88 |
+

|
| 89 |
+
(a) Learning Before Forgetting $(L\to F)$
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
(b) Learning After Forgetting $(F\to L)$
|
| 93 |
+
Figure 2. $\mathcal{L}_2$ norm for each parameter under $L\to F$ and $F\rightarrow L$ . The superscript $W$ denotes the weight norm value at the current stage. The figure illustrates that (a) during the Learning Before Forgetting phase, changes in parameter norms are predominantly concentrated in layers responsible for high-level semantic representations. Conversely, (b) in the Learning After Forgetting phase, parameter norm changes primarily occur in layers associated with low-level feature representations.
|
| 94 |
+
|
| 95 |
+
introduce new content, further modifications to the low-level parameters can cause inconsistencies in the high-level semantics (breaking the forgetting pipeline owing to altering low-level parameters), potentially leading to conflicts. By contrast, if we begin by learning a new task (thereby updating the low-level parameters) and then perform targeted forgetting, the forgetting process is more likely confined to the high-level semantic parameters.
|
| 96 |
+
|
| 97 |
+
Principle: Learning Before Forgetting. Recall that we demonstrate that initiating the forgetting process before learning disrupts the intended forgetting due to alterations in low-level feature learning. This raises the question: does conducting the learning process before forgetting similarly interfere with previously acquired knowledge? We also measure the average gradient changes across two primary sequences, $L \rightarrow F$ and $F \rightarrow L$ , as shown in Figure 4. The superscript $G$ means the log average gradient at the current stage. First, parameter changes during the learning phases ( $L^G \rightarrow F$ and $F \rightarrow L^G$ ) are consistently more significant, indicating that the Learning process is relatively challenging; second, in the $L \rightarrow F^G$ phase, the final updates to forgetting gradients remain consistently small, suggesting
|
| 98 |
+
|
| 99 |
+
that Learning Before Forgetting is more stable.
|
| 100 |
+
|
| 101 |
+
# 4. Benchmark
|
| 102 |
+
|
| 103 |
+
# 4.1. Overview
|
| 104 |
+
|
| 105 |
+
As illustrated in Figure 3, we employ the Low-Rank Adaptation (LoRA) technique (Hu et al., 2021) to fine-tune the pretrained model $M_0$ (Sec. 4.2). Additionally, we leverage group sparse regularization to constrain the selective learning and forgetting of specific knowledge (Sec. 4.3).
|
| 106 |
+
|
| 107 |
+
# 4.2. LoRA-Based Fine-Tuning
|
| 108 |
+
|
| 109 |
+
Building on the findings in (Geva et al., 2020), which demonstrate that the linear layers within Transformers encapsulate a substantial amount of the model's knowledge, we employ the Low-Rank Adaptation (LoRA) technique (Hu et al., 2021) to fine-tune only these linear layers. Let $\mathbf{X}$ denote the input to the Feed-Forward Network (FFN) of the $k$ -th Transformer block after the $t$ -th gradient update. The weights and biases of the first linear layer are represented by $W_{k1}^{t}$ and $b_{k1}^{t}$ , respectively, while those of
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 3. Benchmark Framework. First, we decouple knowledge swapping into separate learning and forgetting processes. We observed that the learning process progresses from low-level features to high-level features, while the forgetting process proceeds in the opposite direction—from high-level features to low-level features. Therefore, a two-stage strategy of Learning Before Forgetting is adopted. In general, we adopt LoRA to fine-tune the linear layers in each Transformer block, with all other parameters frozen to enable selective regulation of the model knowledge.
|
| 113 |
+
|
| 114 |
+

|
| 115 |
+
Figure 4. Logarithm of the Average Gradient. We compute the logarithm of cumulative average gradient changes at different stages in the $L \to F$ and $F \to L$ processes. We observe two key phenomena: first, parameter changes during the learning phases ( $L^G \to F$ and $F \to L^G$ ) are consistently more significant, indicating that the Learning process is relatively challenging; second, in the $L \to F^G$ phase, the final updates to forgetting gradients remain consistently small, suggesting that Learning Before Forgetting is more stable.
|
| 116 |
+
|
| 117 |
+
the second linear layer are denoted by $\pmb{W}_{k2}^{t}$ and $\pmb{b}_{k2}^{t}$ . The computation performed by the FFN can be expressed as:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\operatorname {F F N} _ {k} ^ {t} (\boldsymbol {X}) = \operatorname {R e L U} \left(\boldsymbol {X} \boldsymbol {W} _ {k 1} ^ {t} + \boldsymbol {b} _ {k 1} ^ {t}\right) \boldsymbol {W} _ {k 2} ^ {t} + \boldsymbol {b} _ {k 2} ^ {t}. \tag {1}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
Using LoRA, the weights are decomposed into their original pretrained components and learnable low-rank adaptations:
|
| 124 |
+
|
| 125 |
+
$$
|
| 126 |
+
\boldsymbol {W} _ {k 1} ^ {t} = \boldsymbol {W} _ {k 1} ^ {0} + \Delta \boldsymbol {W} _ {k 1} ^ {t}, \quad \Delta \boldsymbol {W} _ {k 1} ^ {t} = \boldsymbol {A} _ {k 1} ^ {t} \boldsymbol {B} _ {k 1} ^ {t}. \tag {2}
|
| 127 |
+
$$
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
\boldsymbol {W} _ {k 2} ^ {t} = \boldsymbol {W} _ {k 2} ^ {0} + \Delta \boldsymbol {W} _ {k 2} ^ {t}, \quad \Delta \boldsymbol {W} _ {k 2} ^ {t} = \boldsymbol {A} _ {k 2} ^ {t} \boldsymbol {B} _ {k 2} ^ {t}. \tag {3}
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
In these equations, $\pmb{W}_{k1}^{0}$ and $\pmb{W}_{k2}^{0}$ represent the original pretrained weights, while $\Delta W_{k1}^{t}$ and $\Delta W_{k2}^{t}$ are the low-rank updates at time step $t$ , parameterized by the matrices $\pmb{A}$ and $\pmb{B}$ . This approach ensures efficient adaptation by focusing solely on the linear layers of the Transformer, which are hypothesized to store the majority of the model's knowledge.
|
| 134 |
+
|
| 135 |
+
Although the biases $\pmb{b}_{k1}^{t}$ and $\pmb{b}_{k2}^{t}$ may also be fine-tuned, they typically involve fewer parameters compared to the weights. By restricting updates to low-rank matrices, LoRA enables efficient fine-tuning with reduced computational and storage overhead while preserving the knowledge embedded in the original pretrained weights.
|
| 136 |
+
|
| 137 |
+
# 4.3. Sparse Constraint
|
| 138 |
+
|
| 139 |
+
We employ Group Coefficient Regularization to selectively retain specific knowledge within the Feed-Forward Network (FFN) modules. Specifically, we adopt the Lasso strategy (Liu et al., 2015; Wen et al., 2016; Yuan & Lin, 2006) for group sparse regularization. Lasso achieves the selective retention of knowledge by zeroing out the $A$ and $B$ matrices of irrelevant FFN modules within LoRA, thereby enabling
|
| 140 |
+
|
| 141 |
+
Table 1. Image classification results on Imagenet100 under Learning Before Forgetting. $L$ and $F$ are short for Learning and Forgetting, respectively. ${\mathrm{{Acc}}}_{r},{\mathrm{{Acc}}}_{l}$ and ${\mathrm{{Acc}}}_{f}$ represent the accuracy of the retaining set,the learning set,and the forgetting set.
|
| 142 |
+
|
| 143 |
+
<table><tr><td rowspan="2">Stages</td><td colspan="3">Cub</td><td colspan="3">Resisc45</td><td colspan="3">Oxford-pet</td><td colspan="3">Plantvillage</td></tr><tr><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td><td>Accr↑</td><td>Accl↑</td><td>Accf↓</td></tr><tr><td colspan="13">Learning Set: 5 classes, Forgetting Set: 5 classes, Retaining Set: 95 classes</td></tr><tr><td>Start</td><td>88.08</td><td>0</td><td>84.4</td><td>88.08</td><td>0.2</td><td>84.4</td><td>88.08</td><td>0.4</td><td>84.4</td><td>88.08</td><td>0</td><td>84.4</td></tr><tr><td>F</td><td>86.63</td><td>0</td><td>0.4</td><td>86.63</td><td>0.4</td><td>0.4</td><td>86.63</td><td>0.4</td><td>0.4</td><td>86.63</td><td>0</td><td>0.4</td></tr><tr><td>F → L</td><td>86.94</td><td>94.04</td><td>80.8</td><td>87.62</td><td>99</td><td>70.8</td><td>88.48</td><td>93.6</td><td>77.2</td><td>88.06</td><td>99.13</td><td>74.8</td></tr><tr><td>L</td><td>86.67</td><td>94.04</td><td>82.44</td><td>87.93</td><td>98.8</td><td>82.0</td><td>87.83</td><td>94.4</td><td>82.8</td><td>87.97</td><td>99.56</td><td>82.4</td></tr><tr><td>L → F</td><td>86.4</td><td>91.66</td><td>0</td><td>86.77</td><td>99.2</td><td>0</td><td>87.01</td><td>93.6</td><td>0</td><td>87.26</td><td>99.78</td><td>0</td></tr><tr><td colspan="13">Learning Set: 10 classes, Forgetting Set: 10 classes, Retaining Set: 90 classes</td></tr><tr><td>Start</td><td>87.75</td><td>0</td><td>89.2</td><td>87.75</td><td>0.1</td><td>89.2</td><td>87.75</td><td>1.8</td><td>89.2</td><td>87.75</td><td>0</td><td>89.2</td></tr><tr><td>F</td><td>85.22</td><td>0</td><td>0</td><td>85.22</td><td>0.2</td><td>0</td><td>85.2</td><td>2</td><td>0</td><td>85.22</td><td>0</td><td>0</td></tr><tr><td>F → L</td><td>86.84</td><td>96.27</td><td>82</td><td>87.2</td><td>98.7</td><td>82</td><td>88</td><td>96</td><td>83</td><td>87.66</td><td>98.55</td><td>82.2</td></tr><tr><td>L</td><td>85.06</td><td>95.03</td><td>83.6</td><td>86.84</td><td>98.9</td><td>84.4</td><td>87.0</td><td>95.8</td><td>85.2</td><td>87.35</td><td>98.86</td><td>85.4</td></tr><tr><td>L → F</td><td>84.68</td><td>93.78</td><td>0</td><td>85.97</td><td>98.7</td><td>0.6</td><td>86.22</td><td>95.2</td><td>0.2</td><td>85.48</td><td>98.65</td><td>0</td></tr></table>
|
| 144 |
+
|
| 145 |
+
targeted learning and forgetting. The Lasso regularization loss $\mathcal{L}_{\mathrm{re}}$ is defined as:
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
\mathcal {L} _ {\mathrm {r e}} = \sum_ {k = 1} ^ {n} \left(\| \boldsymbol {A} _ {k} \| _ {F} ^ {2} + \| \boldsymbol {B} _ {k} \| _ {F} ^ {2}\right), \tag {4}
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
where $\| \cdot \| _F$ denotes the Frobenius norm, calculated as the square root of the sum of the squared elements of a matrix, and $n$ represents the number of FFN groups.
|
| 152 |
+
|
| 153 |
+
Remark. Sparse constraints enhance parameter efficiency by limiting non-zero parameters, reducing computational and storage overhead, and accelerating inference. In knowledge swapping tasks, they enable the selective retention of crucial parameters for the current task while suppressing redundant ones, thereby preventing conflicts between new and existing knowledge. Additionally, parameter sparsification mitigates interference from irrelevant variables during learning and forgetting (similar idea in model pruning), allowing the model to focus on important information. Specifically, Lasso regularization penalizes the Frobenius norms of matrices, promoting group sparsification that selectively retains and forgets at the module level and maintains stability in low-level feature parameters when introducing new knowledge. Consequently, the model preserves new knowledge while maintaining the stability of existing representations. Overall, sparse constraints effectively manage parameters in knowledge swapping, enabling efficient adaptation to new tasks and maintaining previously acquired knowledge, thereby supporting scalable continual learning.
|
| 154 |
+
|
| 155 |
+
# 4.4. Training and Inference Protocol
|
| 156 |
+
|
| 157 |
+
In the learning phase, the objective is for the model to acquire new knowledge while retaining essential existing knowledge. Accordingly, the loss function for this phase is defined as follows.
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\mathcal {L} _ {\text {r e t a i n}} = \mathcal {L} \left(f \left(\boldsymbol {X} _ {r}\right), \boldsymbol {Y} _ {r}\right), \tag {5}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
$$
|
| 164 |
+
\mathcal {L} _ {\text {l e a r n}} = \mathcal {L} \left(f \left(\boldsymbol {X} _ {l}\right), \boldsymbol {Y} _ {l}\right), \tag {6}
|
| 165 |
+
$$
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
\mathcal {L} _ {\text {a l l}} = \mathcal {L} _ {\text {r e t a i n}} + \beta \mathcal {L} _ {\text {l e a r n}} + \alpha \mathcal {L} _ {\text {r e}}, \tag {7}
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
where $(\mathbf{X}_r,\mathbf{Y}_r)$ denotes the data from the retention set, $(\mathbf{X}_l,\mathbf{Y}_l)$ denotes the data from the learning set, and $\alpha$ and $\beta$ are hyperparameters that balance the contributions of the different loss components.
|
| 172 |
+
|
| 173 |
+
In the forgetting phase, the goal is to eliminate specific knowledge while retaining both the original and newly acquired knowledge. This involves minimizing $\mathcal{L}(f(\boldsymbol{X}_r),\boldsymbol{Y}_r)$ and $\mathcal{L}(f(\boldsymbol{X}_l),\boldsymbol{Y}_l)$ , while maximizing $\mathcal{L}(f(\boldsymbol{X}_f),\boldsymbol{Y}_f)$ . However, directly maximizing the negative loss (i.e., minimizing $-\mathcal{L}(f(\boldsymbol{X}_f),\boldsymbol{Y}_f))$ can result in unbounded loss growth, leading to optimization instability. To address this issue, we introduce a boundary constraint (BND) to stabilize the loss. The final loss function for the forgetting phase is defined as:
|
| 174 |
+
|
| 175 |
+
$$
|
| 176 |
+
\mathcal {L} _ {\text {f o r g e t}} = \operatorname {R e L U} (\mathrm {B N D} - \mathcal {L} (f (\boldsymbol {X} _ {f}), \boldsymbol {Y} _ {f})), \tag {8}
|
| 177 |
+
$$
|
| 178 |
+
|
| 179 |
+
$$
|
| 180 |
+
\mathcal {L} _ {\text {a l l}} = \mathcal {L} _ {\text {r e t a i n}} + \mathcal {L} _ {\text {l e a r n}} + \beta \mathcal {L} _ {\text {f o r g e t}} + \alpha \mathcal {L} _ {\text {r e}}, \tag {9}
|
| 181 |
+
$$
|
| 182 |
+
|
| 183 |
+
where BND defines the forgetting boundary, and $(X_{f},Y_{f})$ represents the data from the forgetting set.
|
| 184 |
+
|
| 185 |
+
# 5. Experiments
|
| 186 |
+
|
| 187 |
+
# 5.1. Experimental Setup
|
| 188 |
+
|
| 189 |
+
All experiments are conducted on a hardware setup comprising $2 \times$ RTX 4090 GPUs, with the software environment configured as Python 3.12, PyTorch 2.5.1, and CUDA 12.4. The AdamW optimizer is employed for all training and forgetting phases.
|
| 190 |
+
|
| 191 |
+
For image classification tasks, the learning set includes: CUB-200-2011 (Wah et al., 2011), Oxford-IIIT Pet (Parkhi et al., 2012), RESISC45 (Cheng et al., 2017) and PlantVillage (Geetharamani & Pandian, 2019). Both the retention
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
The forgotten classes are lamp and scope. The learned class is cow. The retained classes are all remaining classes.
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
Pretrained
|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
Learning
|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
Forgetting After Learning
|
| 208 |
+
Figure 5. Qualitative results on semantic segmentation. The forgotten classes are marked with red dotted lines, and the learned class is marked with dark green dotted lines.
|
| 209 |
+
|
| 210 |
+
set and the forgetting set are selected from ImageNet-100. During the training phase, the hyperparameters are set to $\alpha = 0.05$ and $\beta = 0.2$ , while BND = 105 in the forgetting phase. The classification performance is evaluated using accuracy as the primary metric.
|
| 211 |
+
|
| 212 |
+
For object detection tasks, the learning set consists of CUB-200-2011 and Stanford Dogs (Dataset, 2011). Both the retention set and the forgetting set are sourced from the COCO (Lin et al., 2014) dataset. The learning phase employs $\alpha = 0.01$ and $\beta = 0.9$ , while the forgetting phase uses $\mathrm{BND} = 15$ , $\alpha = 0.01$ , and $\beta = 0.2$ . The detection capability is assessed using the mean Average Precision (mAP) metric.
|
| 213 |
+
|
| 214 |
+
For semantic segmentation tasks, the learning set includes: Pascal VOC (Hoiem et al., 2009), COCO, Oxford-IIIT Pet (Parkhi et al., 2012), and DeepGlobe Land (Demir et al., 2018). These datasets cover a diverse range of segmentation domains. The learning phase is configured with $\alpha = 0.01$ and $\beta = 0.9$ while the forgetting phase is set to BND $= 115$ , $\alpha = 0.01$ , and $\beta = 0.2$ . The segmentation accuracy is evaluated using the mean Intersection over Union (mIoU) metric.
|
| 215 |
+
|
| 216 |
+
# 5.2. Classification Results
|
| 217 |
+
|
| 218 |
+
We use VIT-B16 model pretrained on ImageNet100 as the base model. As shown in Table 1, under the Learning Before Forgetting setting, the accuracy of the learning set consistently increases from approximately $0\%$ to over $90\%$ , demonstrating effective knowledge acquisition. Concur
|
| 219 |
+
|
| 220 |
+
rently, the forgetting phase appears to be more straightforward, as the accuracy of the forgetting set decreases from approximately $80\%$ to $0\%$ , indicating successful forgetting. Besides, the retaining set can also be well preserved even though there exist limited negative impacts on the whole phase. We further evaluate the reverse order (Learning After Forgetting) in the same setting. We observe that although the accuracy of the forgetting set initially drops significantly during the forgetting phase, the subsequent learning phase induces substantial changes in the model's lower-level parameters. This renders the previously forgotten higher-level parameters ineffective, resulting in an increase in the accuracy of the forgetting set during the later stages. These findings confirm the validity of our hypothesis.
|
| 221 |
+
|
| 222 |
+
# 5.3. Semantic Segmentation Results
|
| 223 |
+
|
| 224 |
+
We select the pretrained Mask2Former(Cheng et al., 2021) model on ADE20K as the pretraining model. The results in Table 2 demonstrate that under the Learning Before Forgetting strategy, the mIoU of the retention set remains stable, ensuring effective memory retention. In contrast, the mIoU of the forgetting set decreases from $68.31\%$ to nearly $0\%$ , indicating complete forgetting. Concurrently, the learning set achieves a high mIoU, confirming successful knowledge acquisition. Figure 5 further illustrates this process, where the classes lamp and sconce are successfully forgotten and blended into the wall, while the learned class cow remains well retained even after the forgetting phase. In contrast, under the Learning After Forgetting setting (Table 2), al
|
| 225 |
+
|
| 226 |
+
Table 2. Semantic segmentation results on four datasets. For each dataset, the learning set and forgetting set include randomly selected 5 classes. The retaining set includes all other classes from ADE20K.
|
| 227 |
+
|
| 228 |
+
<table><tr><td rowspan="2">procedure</td><td colspan="3">VOC</td><td colspan="3">Oxford-pet</td><td colspan="3">COCO</td><td colspan="3">Deep globe Land</td></tr><tr><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td><td>mIoUr↑</td><td>mIoUl↑</td><td>mIoUf↓</td></tr><tr><td>Start</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td><td>50.51</td><td>0</td><td>68.31</td></tr><tr><td>F</td><td>50.36</td><td>0</td><td>2.26</td><td>50.61</td><td>0</td><td>3.48</td><td>50.24</td><td>0</td><td>2.41</td><td>50.66</td><td>0</td><td>3.65</td></tr><tr><td>F → L</td><td>50.7</td><td>85.45</td><td>49.42</td><td>50.28</td><td>59.45</td><td>53.67</td><td>51.03</td><td>90.87</td><td>54.47</td><td>50.38</td><td>54.33</td><td>60.25</td></tr><tr><td>F → L → F</td><td>50.98</td><td>88.07</td><td>0.15</td><td>50.17</td><td>61.85</td><td>0.33</td><td>50.64</td><td>94.64</td><td>0.39</td><td>50.87</td><td>63.86</td><td>0.27</td></tr><tr><td>L</td><td>50.2</td><td>84.97</td><td>60.67</td><td>48.92</td><td>62.21</td><td>65.5</td><td>50.54</td><td>93.46</td><td>61.85</td><td>50.96</td><td>59.8</td><td>64.61</td></tr><tr><td>L → F</td><td>50.57</td><td>85.43</td><td>0.12</td><td>49.87</td><td>69.55</td><td>0.08</td><td>50.35</td><td>93.36</td><td>0.71</td><td>49.54</td><td>58.34</td><td>0.4</td></tr><tr><td>L → F → L</td><td>50.5</td><td>95.83</td><td>45.51</td><td>50.97</td><td>86.98</td><td>53.87</td><td>50.41</td><td>97.27</td><td>50.03</td><td>50.54</td><td>69.18</td><td>57.25</td></tr></table>
|
| 229 |
+
|
| 230 |
+

|
| 231 |
+
Figure 6. $\mathcal{L}_2$ norm of weights in $F\to L\to F$
|
| 232 |
+
|
| 233 |
+
though both the retention and learning sets perform well, the mIoU of the forgetting set increases after learning due to significant changes in low-level parameters, rendering previously tuned high-level forgetting parameters ineffective. Figure 7 highlights this issue, showing that mountain, which is initially erased and blended into sand, re-emerges after learning, demonstrating the instability of this approach.
|
| 234 |
+
|
| 235 |
+
# 5.4. Object Detection Results
|
| 236 |
+
|
| 237 |
+
For the object detection task, we use DINO (Zhang et al., 2022) pretrained on the COCO dataset as the base model. The forgetting set consists of five randomly selected classes: person, teddy bear, toilet, bench, and bed, while all remaining classes form the retention set. The learning sets consist of 5 classes: Black-footed Albatross, Laysan Albatross, Sooty Albatross, Groove-billed Ani, and Brewer Blackbird for CUB-200-2011 and Chihuahua, Maltese Dog, Basset, American Staffordshire Terrier, and Norwich Terrier for Stanford Dogs, respectively.
|
| 238 |
+
|
| 239 |
+
Table 3. Object Detection Results on COCO.
|
| 240 |
+
|
| 241 |
+
<table><tr><td rowspan="2">procedure</td><td colspan="3">Cub</td><td colspan="3">Stanford Dogs</td></tr><tr><td>mAPr↑</td><td>mAPl↑</td><td>mAPf↓</td><td>mAPr↑</td><td>mAPl↑</td><td>mAPf↓</td></tr><tr><td>Start</td><td>55.4</td><td>0</td><td>44.5</td><td>55.4</td><td>0</td><td>44.5</td></tr><tr><td>F</td><td>54.9</td><td>16.8</td><td>3.4</td><td>54.8</td><td>9.7</td><td>3.4</td></tr><tr><td>F → L</td><td>55</td><td>65.4</td><td>7.7</td><td>54.6</td><td>78.5</td><td>11.1</td></tr><tr><td>L</td><td>55.3</td><td>64.3</td><td>37.6</td><td>54.5</td><td>67.5</td><td>37.5</td></tr><tr><td>L → F</td><td>55.5</td><td>62.2</td><td>0.5</td><td>55</td><td>80.1</td><td>0.6</td></tr></table>
|
| 242 |
+
|
| 243 |
+
The quantitative results in Table 3 demonstrate the effectiveness of our Learning Before Forgetting strategy, as the mAP of the retention set remains stable at around $55\%$ , the for
|
| 244 |
+
|
| 245 |
+

|
| 246 |
+
Figure 7. Semantic segmentation results for Learning After Forgetting on ADE20K.
|
| 247 |
+
|
| 248 |
+
getting set drops from $44.5\%$ to below $1\%$ , and the learning set improves from 0 to a satisfactory level, confirming the success of our approach. In contrast, it also shows that in the Learning After Forgetting $(F \rightarrow L)$ setting, the forgetting set retains a relatively high mAP, indicating ineffective forgetting. This supports our hypothesis that learning progresses from low-level to high-level features, while forgetting follows the opposite direction, from high-level to low-level features.
|
| 249 |
+
|
| 250 |
+
# 5.5. Insights and Discussion
|
| 251 |
+
|
| 252 |
+
To further validate the effectiveness of our strategy, we conduct an additional experiment involving a Forget-Learn-Forget sequence. As shown in Table 2, although the mIoU of the forgetting set remains high after the initial forgetting and subsequent learning phases, it is significantly reduced after the second forgetting phase. This result demonstrates the robustness of the Learn Before Forget strategy. The results $L \to F \to L$ further provide indirect evidence that
|
| 253 |
+
|
| 254 |
+
positioning the learning phase at the end influences the content that was previously forgotten. We analyze the $\mathcal{L}_2$ norm of model parameters at different stages, as illustrated in Figure 6. The red line represents parameter changes from $F$ to $F\rightarrow L$ , while the black line indicates changes from $F\rightarrow L$ to $F\rightarrow L\rightarrow F$ . The results show that learning-induced parameter changes are primarily concentrated in the early layers of the model, whereas forgetting-related changes are more prominent in the later layers. These observations align well with our previous findings.
|
| 255 |
+
|
| 256 |
+
# 6. Conclusion and Future Works
|
| 257 |
+
|
| 258 |
+
We proposed Knowledge Swapping, a novel task that enables selective regulation of model knowledge by achieving three goals: forgetting user-specified knowledge, retaining essential knowledge, and learning new knowledge. To accomplish this, we introduced a two-stage training strategy based on the Learning Before Forgetting principle, which decouples learning and forgetting to mitigate catastrophic forgetting effectively. We benchmark our Learning Before Forgetting with various experiments. However, our experiments also reveal that the difficulty of learning new knowledge for different categories and forgetting old knowledge varies. An interesting direction for future research is to explore and analyze the difficulty of forgetting specific knowledge and learning new knowledge of categories.
|
| 259 |
+
|
| 260 |
+
# Acknowledgements
|
| 261 |
+
|
| 262 |
+
This work has been supported by the New Cornerstone Science Foundation through the XPLORER PRIZE. This work was funded by the National Natural Science Foundation of China (No. 72188101 & No. 62472139 & No. 62302140) and the Fundamental Research Funds for the Central Universities (No. JZ2024HGTB0261 & No. JZ2024HGTA0178). The computation is completed on the HPC Platform of Hefei University of Technology.
|
| 263 |
+
|
| 264 |
+
# Impact Statement
|
| 265 |
+
|
| 266 |
+
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.
|
| 267 |
+
|
| 268 |
+
# References
|
| 269 |
+
|
| 270 |
+
Ashok, A., Joseph, K., and Balasubramanian, V. N. Class incremental learning with cross-space clustering and controlled transfer. In European Conference on Computer Vision, pp. 105-122. Springer, 2022.
|
| 271 |
+
Chaudhry, A., Gordo, A., Dokania, P., Torr, P., and Lopez-
|
| 272 |
+
|
| 273 |
+
Paz, D. Using hindsight to anchor past knowledge in continual learning. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pp. 6993-7001, 2021.
|
| 274 |
+
Chen, K., Du, Y., You, T., Islam, M., Guo, Z., Jin, Y., Chen, G., and Heng, P.-A. Llm-assisted multi-teacher continual learning for visual question answering in robotic surgery. arXiv preprint arXiv:2402.16664, 2024.
|
| 275 |
+
Cheng, B., Schwing, A., and Kirillov, A. Per-pixel classification is not all you need for semantic segmentation. Advances in neural information processing systems, 34: 17864-17875, 2021.
|
| 276 |
+
Cheng, D., Ji, Y., Gong, D., Li, Y., Wang, N., Han, J., and Zhang, D. Continual all-in-one adverse weather removal with knowledge replay on a unified network structure. IEEE Transactions on Multimedia, 2024a.
|
| 277 |
+
Cheng, D., Zhao, Y., Wang, N., Li, G., Zhang, D., and Gao, X. Efficient statistical sampling adaptation for exemplar-free class incremental learning. IEEE Transactions on Circuits and Systems for Video Technology, 2024b.
|
| 278 |
+
Cheng, G., Han, J., and Lu, X. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865-1883, 2017.
|
| 279 |
+
Dataset, E. Novel datasets for fine-grained image categorization. In First Workshop on Fine Grained Visual Categorization, CVPR. Citeseer. Citeseer. Citeseer, volume 5, pp. 2. Citeseer, 2011.
|
| 280 |
+
Demir, I., Koperski, K., Lindenbaum, D., Pang, G., Huang, J., Basu, S., Hughes, F., Tuia, D., and Raskar, R. Deep-globe 2018: A challenge to parse the earth through satellite images. In Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp. 172-181, 2018.
|
| 281 |
+
Douillard, A., Rame, A., Couairon, G., and Cord, M. Dytox: Transformers for continual learning with dynamic token expansion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9285-9295, 2022.
|
| 282 |
+
Feldman, V. Does learning require memorization? a short tale about a long tail. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pp. 954-959, 2020.
|
| 283 |
+
Geetharamani, G. and Pandian, A. Identification of plant leaf diseases using a nine-layer deep convolutional neural network. Computers & Electrical Engineering, 76:323-338, 2019.
|
| 284 |
+
|
| 285 |
+
Geva, M., Schuster, R., Berant, J., and Levy, O. Transformer feed-forward layers are key-value memories. arXiv preprint arXiv:2012.14913, 2020.
|
| 286 |
+
Han, X., Zhang, Z., Ding, N., Gu, Y., Liu, X., Huo, Y., Qiu, J., Yao, Y., Zhang, A., Zhang, L., et al. Pre-trained models: Past, present and future. AI Open, 2:225-250, 2021.
|
| 287 |
+
Hoiem, D., Divvala, S. K., and Hays, J. H. Pascal voc 2008 challenge. World Literature Today, 24(1):1-4, 2009.
|
| 288 |
+
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. arXiv preprint arXiv:2106.09685, 2021.
|
| 289 |
+
Huang, L., An, Z., Zeng, Y., Xu, Y., et al. Kfc: Knowledge reconstruction and feedback consolidation enable efficient and effective continual generative learning. In The Second Tiny Papers Track at ICLR 2024, 2024a.
|
| 290 |
+
Huang, L., Zeng, Y., Yang, C., An, Z., Diao, B., and Xu, Y. etag: Class-incremental learning via embedding distillation and task-oriented generation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pp. 12591-12599, 2024b.
|
| 291 |
+
Kirkpatrick, J., Pascanu, R., Rabinowitz, N., Veness, J., Desjardins, G., Rusu, A. A., Milan, K., Quan, J., Ramalho, T., Grabska-Barwinska, A., et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521-3526, 2017.
|
| 292 |
+
Koh, P. W. and Liang, P. Understanding black-box predictions via influence functions. In International conference on machine learning, pp. 1885-1894. PMLR, 2017.
|
| 293 |
+
Kurmanji, M., Triantafillou, P., Hayes, J., and Triantafillou, E. Towards unbounded machine unlearning. Advances in neural information processing systems, 36, 2024.
|
| 294 |
+
Langley, P. Crafting papers on machine learning. In Langley, P. (ed.), Proceedings of the 17th International Conference on Machine Learning (ICML 2000), pp. 1207-1216, Stanford, CA, 2000. Morgan Kaufmann.
|
| 295 |
+
Li, H., Tan, Z., Li, X., and Huang, W. Atlas: Adapter-based multi-modal continual learning with a two-stage learning strategy. arXiv preprint arXiv:2410.10923, 2024.
|
| 296 |
+
Li, Z. and Hoiem, D. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935-2947, 2017.
|
| 297 |
+
Lin, H., Zhang, B., Feng, S., Li, X., and Ye, Y. Pcr: Proxy-based contrastive replay for online class-incremental continual learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 24246-24255, 2023.
|
| 298 |
+
|
| 299 |
+
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollar, P., and Zitnick, C. L. Microsoft coco: Common objects in context. In Computer Vision-ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13, pp. 740-755. Springer, 2014.
|
| 300 |
+
Liu, B., Wang, M., Foroosh, H., Tappen, M., and Pensky, M. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 806-814, 2015.
|
| 301 |
+
Liu, H. and Liu, H. Continual learning with recursive gradient optimization. arXiv preprint arXiv:2201.12522, 2022.
|
| 302 |
+
Liu, J., Ram, P., Yao, Y., Liu, G., Liu, Y., SHARMA, P., Liu, S., et al. Model sparsity can simplify machine unlearning. Advances in Neural Information Processing Systems, 36, 2024a.
|
| 303 |
+
Liu, S., Yao, Y., Jia, J., Casper, S., Baracaldo, N., Hase, P., Yao, Y., Liu, C. Y., Xu, X., Li, H., et al. Rethinking machine unlearning for large language models. arXiv preprint arXiv:2402.08787, 2024b.
|
| 304 |
+
Liu, Z., Dou, G., Tan, Z., Tian, Y., and Jiang, M. Towards safer large language models through machine unlearning. arXiv preprint arXiv:2402.10058, 2024c.
|
| 305 |
+
Lu, A., Feng, T., Yuan, H., Song, X., and Sun, Y. Revisiting neural networks for continual learning: An architectural perspective. arXiv preprint arXiv:2404.14829, 2024.
|
| 306 |
+
Parkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar, C. Cats and dogs. In 2012 IEEE conference on computer vision and pattern recognition, pp. 3498-3505. IEEE, 2012.
|
| 307 |
+
Rebuffi, S.-A., Kolesnikov, A., Sperl, G., and Lampert, C. H. icarl: Incremental classifier and representation learning. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pp. 2001-2010, 2017.
|
| 308 |
+
Rusu, A. A., Rabinowitz, N. C., Desjardins, G., Soyer, H., Kirkpatrick, J., Kavukcuoglu, K., Pascanu, R., and Hadsell, R. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016.
|
| 309 |
+
Sun, W., Li, Q., Zhang, J., Wang, W., and Geng, Y.-a. Decoupling learning and remembering: A bilevel memory framework with knowledge projection for task-incremental learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 20186-20195, 2023.
|
| 310 |
+
Wah, C., Branson, S., Welinder, P., Perona, P., and Belongie, S. The caltech-ucsd birds-200-2011 dataset. 2011.
|
| 311 |
+
|
| 312 |
+
Wang, F.-Y., Zhou, D.-W., Ye, H.-J., and Zhan, D.-C. Foster: Feature boosting and compression for class-incremental learning. In European conference on computer vision, pp. 398-414. Springer, 2022a.
|
| 313 |
+
Wang, H., Lin, J., Chen, B., Yang, Y., Tang, R., Zhang, W., and Yu, Y. Towards efficient and effective unlearning of large language models for recommendation. Frontiers of Computer Science, 19(3):193327, 2025.
|
| 314 |
+
Wang, L., Zhang, X., Su, H., and Zhu, J. A comprehensive survey of continual learning: theory, method and application. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
|
| 315 |
+
Wang, W., Hu, Y., Chen, Q., and Zhang, Y. Task difficulty aware parameter allocation & regularization for lifelong learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7776-7785, 2023.
|
| 316 |
+
Wang, Z., Zhang, Z., Lee, C.-Y., Zhang, H., Sun, R., Ren, X., Su, G., Perot, V., Dy, J., and Pfister, T. Learning to prompt for continual learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 139-149, 2022b.
|
| 317 |
+
Wen, W., Wu, C., Wang, Y., Chen, Y., and Li, H. Learning structured sparsity in deep neural networks. Advances in neural information processing systems, 29, 2016.
|
| 318 |
+
Wu, F., Cheng, L., Tang, S., Zhu, X., Fang, C., Zhang, D., and Wang, M. Navigating semantic drift in task-agnostic class-incremental learning. arXiv preprint arXiv:2502.07560, 2025.
|
| 319 |
+
Yang, Y., Cui, Z., Xu, J., Zhong, C., Zheng, W.-S., and Wang, R. Continual learning with bayesian model based on a fixed pre-trained feature extractor. Visual Intelligence, 1(1):5, 2023.
|
| 320 |
+
Yuan, M. and Lin, Y. Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society Series B: Statistical Methodology, 68 (1):49-67, 2006.
|
| 321 |
+
Zhang, D., Li, Y., Cheng, D., Wang, N., and Han, J. Center-sensitive kernel optimization for efficient on-device incremental learning. arXiv preprint arXiv:2406.08830, 2024a.
|
| 322 |
+
Zhang, H., Li, F., Liu, S., Zhang, L., Su, H., Zhu, J., Ni, L. M., and Shum, H.-Y. Dino: Detr with improved denoising anchor boxes for end-to-end object detection. arXiv preprint arXiv:2203.03605, 2022.
|
| 323 |
+
Zhang, Y., Chen, X., Jia, J., Zhang, Y., Fan, C., Liu, J., Hong, M., Ding, K., and Liu, S. Defensive unlearning with
|
| 324 |
+
|
| 325 |
+
adversarial training for robust concept erasure in diffusion models. arXiv preprint arXiv:2405.15234, 2024b.
|
| 326 |
+
Zhou, D.-W., Wang, Q.-W., Ye, H.-J., and Zhan, D.-C. A model or 603 exemplars: Towards memory-efficient class-incremental learning. arXiv preprint arXiv:2205.13218, 2022.
|
| 327 |
+
Zhu, F., Zhang, X.-Y., Wang, C., Yin, F., and Liu, C.-L. Prototype augmentation and self-supervision for incremental learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5871-5880, 2021.
|
| 328 |
+
Zhu, L., Chen, T., Yin, J., See, S., and Liu, J. Continual semantic segmentation with automatic memory sample selection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3082-3092, 2023.
|
2025/Knowledge Swapping via Learning and Unlearning/images.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9bfcce70a8813f9d1e6ac7038af61b2e356fc1b0898fc935708310ef80f505c
|
| 3 |
+
size 723841
|
2025/Knowledge Swapping via Learning and Unlearning/layout.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2025/Knowledge-Guided Wasserstein Distributionally Robust Optimization/51c7a391-df7c-4324-8964-1d50bd205a7b_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|